Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3786638B2 - Frame data identification device - Google Patents
[go: Go Back, main page]

JP3786638B2 - Frame data identification device - Google Patents

Frame data identification device Download PDF

Info

Publication number
JP3786638B2
JP3786638B2 JP2002292549A JP2002292549A JP3786638B2 JP 3786638 B2 JP3786638 B2 JP 3786638B2 JP 2002292549 A JP2002292549 A JP 2002292549A JP 2002292549 A JP2002292549 A JP 2002292549A JP 3786638 B2 JP3786638 B2 JP 3786638B2
Authority
JP
Japan
Prior art keywords
data
frame
reference data
output
extracted
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
JP2002292549A
Other languages
Japanese (ja)
Other versions
JP2004129057A (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.)
Anritsu Corp
Original Assignee
Anritsu 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 Anritsu Corp filed Critical Anritsu Corp
Priority to JP2002292549A priority Critical patent/JP3786638B2/en
Publication of JP2004129057A publication Critical patent/JP2004129057A/en
Application granted granted Critical
Publication of JP3786638B2 publication Critical patent/JP3786638B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Time-Division Multiplex Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、シリアル入力されるフレームデータのうち、指定した位置に指定されたデータが挿入されているフレームデータを識別するフレームデータ識別装置において、小規模なハードウエア構成で高速なフレームデータを識別できるようにするための技術に関する。
【0002】
【従来の技術】
例えばネットワークの試験を行なう場合、その試験対象のネットワークに試験用のフレームデータを出力し、これをネットワークから受信して、送信したフレームデータと受信したフレームデータの内容を比較したり、伝達遅延時間等を検出している。
【0003】
このような試験を行なう場合、ネットワーク上を伝送する他のフレームデータと試験用のフレームデータとを識別できるように、そのフレーム中の所定位置に所定のデータを挿入して送出し、受信側では、入力されるフレームデータの所定位置に所定データが挿入されているか否かを調べて、試験用のフレームデータか否かを識別している。
【0004】
このような目的で用いられるフレームデータ識別装置としては、フレームデータの任意の位置に挿入されたデータを抽出する必要があるが、高速なシリアルのフレームデータに対してこのような処理をリアルタイムに行なうことは困難であるため、通常はシリアル入力されるフレームデータを所定ビット幅のパラレルデータに変換して、比較対象のデータの抽出を行ない、その抽出したデータと参照データとを比較している。
【0005】
ここで、比較対象のデータの先頭位置が一つのパラレルデータの最上位ビットに一致していて、しかもその比較対象のデータが一つのパラレルデータ内にある場合には、そのパラレルデータと参照データとを単純に比較することができるが、比較対象のデータの先頭位置が一つのパラレルデータの最上位ビットに一致しておらず、しかもその比較対象のデータが2つ以上のパラレルデータにまたがって存在しているような場合には、パラレルデータと参照データと単純に比較することができない。
【0006】
このため、従来では、比較対象のデータが含まれているパラレルデータに対するシフト処理を行なってから、参照データとの比較を行なっている。
【0007】
図4は、このような目的で使用される従来のフレームデータ識別装置10の構成を示している。
【0008】
図4において、インタフェース11は例えばネットワーク1に接続され、ネットワーク1をシリアル伝送するフレームデータDを取り込んで、所定ビット幅Wのパラレルデータd(1)、d(2)、…に変換して出力する。ここで、インタフェース11が出力する各パラレルデータd(i)のビット幅Wは、取り込むフレーム長の複数分の1とする。
【0009】
位置指定手段12は、入力されるフレームデータ中の一致判定の対象となるデータの先頭位置Pを指定するためのものであり、例えばフレームデータの先頭からのビット数やバイト数等で指定する。
また、参照データ設定手段13は、一致判定の基準となる参照データdrを設定するためのものである。
【0010】
データ抽出手段14は、インタフェース11から出力されるパラレルデータd(i)から、位置指定手段12によって指定された位置のデータdxを抽出する。
【0011】
抽出データシフト手段15は、データ抽出手段14が抽出するデータdxの配列がそのデータdxのシリアル状態での入力順と異なるような位置指定が位置指定手段12によってなされたとき、そのデータdxの配列を入力順となるようにシフトして出力し、データ抽出手段14が抽出するデータdxの配列がそのデータdxのシリアル状態での入力順と一致するような位置指定が位置指定手段12によってなされたときには、その抽出データdxをそのまま出力する。
【0012】
判定手段16は、参照データ設定手段13によって設定された参照データdrのパターンと抽出データシフト手段15から出力されたデータdx′のパターンとが一致するか否かを判定する。
【0013】
次にこのフレームデータ識別装置10の動作を説明する。なお、ここでは、参照データdrのビット長が、パラレルデータd(i)のビット幅Wに等しい場合について説明する。
【0014】
例えば、図5の(a)に示すフレームデータDがビットデータb(0)から順に入力されると、インタフェース11からは、図5(b)のように、例えば128ビット幅(W=128)のパラレルデータd(1)、d(2)、……が順次出力される。
【0015】
ここで、予め位置指定手段12によって、フレームの先頭からパラレルデータd(i)の出力ビット幅W(ここでは128ビット)の整数倍に等しい位置P、例えばビット単位でP=128が指定されている場合、データ抽出手段14は、図5の(c)のように、インタフェース11から出力されるパラレルデータのうち、P+1ビット目、即ち、129ビット目のビットデータb(128)から256(P+L)ビット目のビットデータb(255)までがその入力順に並んだ2番目のパラレルデータd(2)を抽出して抽出データシフト手段15に出力する。
【0016】
この抽出データdx(=d(2))の配列は、そのデータdxのシリアル入力時の入力順と一致しているので、抽出データシフト手段15からは、図5の(d)のように、抽出データdxと等しいデータdx′が判定手段16に出力され、参照データdrと一致するか否かが判定される。
【0017】
また、位置指定手段12によって、フレームの先頭からパラレルデータd(i)の出力ビット幅W(ここでは128ビット)の整数倍と等しくない位置P、例えばビット単位でP=8が指定された状態で、図6の(a)のように前記同様のフレームデータDが入力されて、インタフェース11から図6の(b)のように128ビット幅のパラレルデータd(i)が出力されたとき、データ抽出手段14は、図6の(c)のように、インタフェース11から出力されるパラレルデータのうち、1番目のパラレルデータd(1)に含まれる9(=P+1)ビット目から128ビット目までのビットデータb(8)〜b(127)と、2番目のパラレルデータd(2)に含まれる129ビット目から136(=P+L)ビット目までのビットデータb(128)〜b(135)とからなる128ビットのデータを抽出データdxとして出力する。
【0018】
この抽出データdxは、シリアル入力時に入力されたビットデータb(8)〜b(127)よりも、後から入力されたビットデータb(128)〜b(135)の方が上位に配列されていて、シリアル状態での入力順と一致していない。
【0019】
このため、抽出データシフト手段15は、図6の(d)のように、この抽出データdxを、8ビット分循環的にシフトして、シリアル状態での入力順と一致させ、そのシフトした抽出データdx′を判定手段16に出力する。
【0020】
判定手段16は、このシフトされた抽出データdx′と参照データdrとが一致するか否かを判定する。
【0021】
このように構成されたフレームデータ識別装置10では、データ抽出手段14が出力する抽出データdxの配列が、シリアル状態の入力順と一致していない場合に、抽出データをシフトしてシリアル状態の入力順に合わせてから参照データdrとの比較を行なうようにしているので、フレーム中の任意の位置のデータの一致判定が行なえる。
【0022】
【発明が解決しようとする課題】
しかしながら、上記のように抽出データdxに対するシフト処理を行なう従来のフレームデータ識別装置10では、フレームデータが入力される度に抽出データシフト手段15によるシフト処理を毎回行なう必要があり、パラレルデータd(i)の出力ビット幅が多くなると、そのシフト処理の時間が長くなって、高速なフレームデータに対応できず、その識別が困難になる。
【0023】
また、出力ビット幅の増加に伴って、抽出データシフト手段15のハードウェア構成が膨大化するという問題があった。
【0024】
本発明は、この問題を解決し、小規模なハードウェア構成で高速なフレームデータを識別できるフレームデータ識別装置を提供することを目的としている。
【0025】
【課題を解決するための手段】
前記目的を達成するために、本発明のフレームデータ識別装置は、
シリアル入力されるフレームデータのうち、指定した位置に指定されたデータが挿入されているフレームデータを識別するためのフレームデータ識別装置において、
前記シリアル入力されるフレームデータを所定ビット幅のパラレルデータに分けて時系列に出力するインタフェース(21)と、
前記フレームデータ中の位置を指定するための位置指定手段(22)と、
参照データを設定するための参照データ設定手段(23)と、
前記インタフェースから出力されるパラレルデータから、前記位置指定手段によって指定された位置のデータを前記参照データと等しいビット数分抽出するデータ抽出手段(24)と、
前記データ抽出手段が抽出するデータの配列がシリアル入力時の入力順と一致するような位置指定が前記位置指定手段によってなされたとき、前記参照データ設定手段によって設定された参照データの配列を変えずに出力し、前記データ抽出手段が抽出するデータの配列がシリアル入力時の入力順と異なるような位置指定が前記位置指定手段によってなされたとき、前記データ抽出手段が抽出するデータの配列に合わせて前記参照データ設定手段によって設定された参照データの配列を変更して出力する参照データ配列変更手段(25)と
前記参照データ配列変更手段から出力された参照データのパターンと前記データ抽出手段によって抽出されたデータのパターンとが一致するか否かを判定する判定手段(26)とを備えたことを特徴としている。
【0026】
【発明の実施の形態】
以下、図面に基づいて本発明の実施の形態を説明する。
図1は、本発明を適用したフレームデータ識別装置20の構成を示している。
【0027】
図1において、インタフェース21は例えばネットワーク1に接続され、ネットワーク1をシリアル伝送するフレームデータDを取り込んで、所定ビット幅Wのパラレルデータd(1)、d(2)、…に変換して出力する。ここで、インタフェース21が出力する各パラレルデータd(i)のビット幅Wは、取り込むフレームのビット長の複数分の1とする。
【0028】
位置指定手段22は、入力されるフレームデータ中の一致判定の対象となるデータの先頭位置Pを指定するためのものであり、例えばフレームデータの先頭からのビット数やバイト数等で指定する。
また、参照データ設定手段23は、一致判定の基準となる参照データdrを設定するためのものである。
【0029】
データ抽出手段24は、インタフェース21から出力されるパラレルデータd(i)から、位置指定手段22によって指定された位置のデータdxを抽出する。
【0030】
参照データ配列変更手段25は、データ抽出手段24が抽出するデータdxの配列がそのデータdxのシリアル入力時の入力順と異なるような位置指定が位置指定手段22によってなされたとき、参照データ設定手段23によって設定されている参照データdrの配列を抽出データdxの配列に合わせて変更して、判定手段26に出力するものであり、ここでは参照データdrに対する循環的なシフト処理によってその配列を変更する場合について説明する。
【0031】
また、データ抽出手段24が抽出するデータdxの配列がそのデータdxのシリアル入力時の入力順と一致するような位置指定が位置指定手段22によってなされたときには、参照データ設定手段23によって設定されている参照データdrをそのまま判定手段26に出力する。
【0032】
判定手段26は、参照データ配列変更手段25から出力される参照データdr′のパターンとデータ抽出手段25から出力されたデータdxのパターンとが一致するか否かを判定する。
【0033】
次に、このフレームデータ識別装置20の動作を説明する。なお、ここでは、参照データdrのビット長が、パラレルデータd(i)のビット幅Wに等しい場合について説明する。
【0034】
例えば、図2の(a)に示すフレームデータDがビットデータb(0)から順に入力されると、インタフェース21からは、図2(b)のように、例えば128ビット幅(W=128)のパラレルデータd(1)、d(2)、……が順次出力される。
【0035】
ここで、予め位置指定手段22によって、フレームの先頭からパラレルデータd(i)の出力ビット幅W(ここでは128ビット)の整数倍に等しい位置P、例えばビット単位でP=128が指定されている場合、データ抽出手段24は、図2の(c)のように、インタフェース21から出力されるパラレルデータのうち、P+1ビット目、即ち、129ビット目のビットデータb(128)から256(P+L)ビット目のビットデータb(255)までがその入力順に並んだ2番目のパラレルデータd(2)を抽出して判定手段26に出力する。
【0036】
この抽出データdx(=d(2))の配列は、そのデータdxのシリアル入力時の入力順と一致している。
【0037】
このように、抽出データdxのビット配列がシリアル状態での入力順と一致するような位置指定がなされた場合、参照データ配列変更手段25は、図2の(d)のように、参照データ設定手段23によって設定された参照データdrと等しいデータdr′を判定手段26に出力し、判定手段26によって、このデータdr′と抽出データdxのパターンが一致するか否かが判定される。なお、参照データdrは、ビットデータbr(0)〜br(127)で構成されている。
【0038】
また、予め位置指定手段22によって、フレームの先頭からパラレルデータd(i)の出力ビット幅W(ここでは128ビット)の整数倍と等しくない位置P、例えばビット単位でP=8が指定された状態で、図3の(a)のように前記同様のフレームデータDが入力されて、インタフェース21から図3の(b)のように128ビット幅のパラレルデータd(i)が出力されたとき、データ抽出手段24は、図3の(c)のように、インタフェース21から出力されるパラレルデータのうち、1番目のパラレルデータd(1)に含まれる9(=P+1)ビット目から128ビット目までのビットデータb(8)〜b(127)と、2番目のパラレルデータd(2)に含まれる129ビット目から136(=P+L)ビット目までのビットデータb(128)〜b(135)とからなる128ビットのデータを抽出データdxとして出力する。
【0039】
この抽出データdxは、シリアル入力時に早く入力されたビットデータb(8)〜b(127)よりも、後から入力されたビットデータb(128)〜b(135)の方が上位に配列されていて、シリアル状態での入力順と一致していない。
【0040】
このように、抽出データdxのビット配列がシリアル状態で入力されたときの入力順と一致しないような位置指定がなされた場合、参照データ配列変更手段25は、図3の(d)のように、参照データ設定手段23によって設定されている参照データdrを、8ビット分循環的にシフトして、抽出データdxの配列に合わせ、そのシフトした参照データdr′を判定手段26に出力する。
【0041】
判定手段26は、このシフトされた参照データdr′と抽出データdxとが一致するか否かを判定する。
【0042】
このように、実施形態のフレームデータ識別装置20では、データ抽出手段24が出力する抽出データdxの配列が、シリアル状態の入力順と一致しないような位置指定がなされた場合に、その抽出データdxの配列に合わせて参照データdrをシフトして、このシフトした参照データdr′と抽出データdxとの比較を行なうようにしている。
【0043】
このため、抽出データdxに対するシフト処理が不要となり、装置全体の処理時間を大幅に短縮でき、高速なフレームデータの識別が可能となる。
【0044】
参照データdrに対するシフト処理は、位置指定手段22によって指定された位置Pが変更されたときのみ行なえばよく、ソフトウエア処理で実現でき、装置全体を小規模に構成することができる。
【0045】
なお、上記説明では、データ抽出手段24が出力した抽出データdxの配列が、シリアル状態の入力順と一致しないような位置指定がなされた場合に、参照データ配列変更手段25が、抽出データdxの配列に合わせて参照データdrをシフトしていたが、この参照データdrに対する配列の変更処理は、データ抽出手段24の抽出構造に対応していればよく、上記した循環的なシフト処理だけでなく、データの入れ換え処理、あるいはシフト処理と入れ換え処理とを組合せたものであってもよい。
【0046】
【発明の効果】
以上説明したように、本発明のフレームデータ識別装置は、データ抽出手段が抽出するデータの配列が、シリアル状態の入力順と一致しないような位置指定がなされた場合に、その抽出データの配列に合わせて参照データの配列を変更し、その配列変更した参照データと抽出データとの比較を行なうようにしている。
【0047】
このため、抽出データに対するシフト処理が不要となり、装置全体の処理時間を大幅に短縮でき、高速なフレームデータの識別が可能となる。
【0048】
また、参照データに対する配列変更処理は、位置指定手段によって指定された位置が変更されたときのみ行なえばよく、ソフトウエア処理で実現でき、装置全体を小規模に構成することができる。
【図面の簡単な説明】
【図1】本発明の実施形態の構成を示す図
【図2】実施形態の動作を説明するための図
【図3】実施形態の動作を説明するための図
【図4】従来装置の構成を示す図
【図5】従来装置の動作を説明するための図
【図6】従来装置の動作を説明するための図
【符号の説明】
1……ネットワーク、20……フレームデータ識別装置、21……インタフェース、22……位置指定手段、23……参照データ設定手段、24……データ抽出手段、25……参照データ配列変更手段、26……判定手段
[0001]
BACKGROUND OF THE INVENTION
The present invention is a frame data identification device for identifying frame data in which specified data is inserted at a specified position from serially input frame data, and identifies high-speed frame data with a small hardware configuration. It relates to technology to make it possible.
[0002]
[Prior art]
For example, when performing a network test, output test frame data to the network under test, receive it from the network, compare the transmitted frame data with the content of the received frame data, or transfer delay time. Etc. are detected.
[0003]
When performing such a test, in order to distinguish the other frame data transmitted on the network from the test frame data, the predetermined data is inserted and transmitted at a predetermined position in the frame. Then, it is checked whether or not predetermined data is inserted at a predetermined position of the input frame data to identify whether or not it is frame data for testing.
[0004]
As a frame data identification device used for such a purpose, it is necessary to extract data inserted at an arbitrary position of the frame data. However, such processing is performed in real time on high-speed serial frame data. Since this is difficult, usually, serially input frame data is converted into parallel data having a predetermined bit width, data to be compared is extracted, and the extracted data is compared with reference data.
[0005]
Here, when the head position of the data to be compared matches the most significant bit of one parallel data and the data to be compared is in one parallel data, the parallel data and the reference data However, the start position of the data to be compared does not match the most significant bit of one parallel data, and the data to be compared exists across two or more parallel data If to have such can not be simply compared with the reference data and the parallel data.
[0006]
For this reason, conventionally, the parallel data including the data to be compared is subjected to a shift process, and then compared with the reference data.
[0007]
FIG. 4 shows a configuration of a conventional frame data identification device 10 used for such a purpose.
[0008]
4, an interface 11 is connected to the network 1, for example, takes in frame data D that is serially transmitted over the network 1, converts it into parallel data d (1), d (2),. To do. Here, the bit width W of each parallel data d (i) output from the interface 11 is set to one-multiple of the frame length to be captured.
[0009]
The position specifying means 12 is for specifying the head position P of the data to be matched in the input frame data. For example, the position specifying means 12 is specified by the number of bits or the number of bytes from the head of the frame data.
The reference data setting means 13 is for setting reference data dr that is a criterion for coincidence determination.
[0010]
The data extracting unit 14 extracts the data dx at the position specified by the position specifying unit 12 from the parallel data d (i) output from the interface 11.
[0011]
The extracted data shift means 15 is arranged when the position designation means 12 makes a position designation such that the arrangement of the data dx extracted by the data extraction means 14 is different from the input order in the serial state of the data dx. The position designation means 12 performs position designation so that the arrangement of the data dx extracted by the data extraction means 14 matches the input order in the serial state of the data dx. Sometimes, the extracted data dx is output as it is.
[0012]
The determination unit 16 determines whether or not the pattern of the reference data dr set by the reference data setting unit 13 matches the pattern of the data dx ′ output from the extracted data shift unit 15.
[0013]
Next, the operation of the frame data identification device 10 will be described. Here, a case where the bit length of the reference data dr is equal to the bit width W of the parallel data d (i) will be described.
[0014]
For example, when the frame data D shown in FIG. 5A is input in order from the bit data b (0), the interface 11 receives, for example, a 128-bit width (W = 128) as shown in FIG. 5B. Parallel data d (1), d (2),... Are sequentially output.
[0015]
Here, a position P equal to an integer multiple of the output bit width W (128 bits in this case) of the parallel data d (i) from the beginning of the frame, for example, P = 128 in bit units is specified by the position specifying means 12 in advance. 5, the data extraction unit 14, as shown in FIG. 5C, out of the parallel data output from the interface 11, the P + 1 bit, that is, the 129th bit data b (128) to 256 (P + L). ) The second parallel data d (2) in which the bit data b (255) up to the bit is arranged in the input order is extracted and output to the extracted data shift means 15.
[0016]
Since the arrangement of the extracted data dx (= d (2)) coincides with the input order at the time of serial input of the data dx, the extracted data shift means 15 receives the data as shown in (d) of FIG. Data dx ′ equal to the extracted data dx is output to the determination means 16 to determine whether or not it matches the reference data dr.
[0017]
Further, a position P that is not equal to an integer multiple of the output bit width W (128 bits in this case) of the parallel data d (i) from the head of the frame, for example, P = 8 in bit units is specified by the position specifying means 12 Then, when the same frame data D is input as shown in FIG. 6A and 128-bit parallel data d (i) is output from the interface 11 as shown in FIG. 6B, As shown in FIG. 6C, the data extracting unit 14 includes the 9th (= P + 1) th bit to the 128th bit included in the first parallel data d (1) among the parallel data output from the interface 11. Bit data from bit 129 to bit 136 (= P + L) included in bit data b (8) to b (127) and second parallel data d (2) (128) outputs ~b and the 128-bit data consisting of (135) as the extraction data dx.
[0018]
In this extracted data dx, bit data b (128) to b (135) inputted later are arranged higher than bit data b (8) to b (127) inputted at the time of serial input. The input order in the serial state is not consistent.
[0019]
Therefore, the extracted data shift means 15 cyclically shifts this extracted data dx by 8 bits to match the input order in the serial state, as shown in FIG. Data dx ′ is output to determination means 16.
[0020]
The determination unit 16 determines whether or not the shifted extracted data dx ′ matches the reference data dr.
[0021]
In the frame data identification device 10 configured as described above, when the arrangement of the extracted data dx output from the data extracting unit 14 does not match the input order of the serial state, the extracted data is shifted to input the serial state. Since the comparison with the reference data dr is performed after matching in order, it is possible to determine the coincidence of data at an arbitrary position in the frame.
[0022]
[Problems to be solved by the invention]
However, in the conventional frame data identification apparatus 10 that performs the shift process on the extracted data dx as described above, it is necessary to perform the shift process by the extracted data shift means 15 every time frame data is input, and the parallel data d ( If the output bit width of i) is increased, the time for the shift process becomes longer, it is impossible to cope with high-speed frame data, and the identification becomes difficult.
[0023]
Further, there is a problem that the hardware configuration of the extracted data shift means 15 becomes enormous as the output bit width increases.
[0024]
An object of the present invention is to solve this problem and provide a frame data identification device capable of identifying high-speed frame data with a small hardware configuration.
[0025]
[Means for Solving the Problems]
In order to achieve the above object, the frame data identification device of the present invention provides:
In the frame data identification device for identifying the frame data in which the designated data is inserted at the designated position among the serially inputted frame data,
An interface (21) for outputting a time series frame data the serial input is divided into parallel data of a predetermined bit width,
Position specifying means (22) for specifying a position in the frame data;
Reference data setting means (23) for setting reference data;
Data extraction means (24) for extracting, from the parallel data output from the interface, data at a position designated by the position designation means by the number of bits equal to the reference data ;
When the position designation means makes a position specification such that the data arrangement extracted by the data extraction means matches the input order at the time of serial input, the reference data arrangement set by the reference data setting means is not changed. output to, when said sequence of data that the data extracting means for extracting is made the input order is different from such a position specified at the time of the serial input by said position specifying means, in accordance with the sequence of data to which the data extracting means extracts Reference data array changing means (25) for changing and outputting the reference data array set by the reference data setting means ;
Are as characterized by a determination means for determining whether or not the pattern data extracted by the pattern and the data extraction means of the output reference data is consistent (26) from the reference data sequence changing means .
[0026]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 shows the configuration of a frame data identification device 20 to which the present invention is applied.
[0027]
In FIG. 1, an interface 21 is connected to, for example, the network 1, takes in frame data D that is serially transmitted over the network 1, converts it into parallel data d (1), d (2),. To do. Here, the bit width W of each parallel data d (i) output from the interface 21 is set to one-multiple of the bit length of the frame to be captured.
[0028]
The position specifying means 22 is for specifying the head position P of the data to be matched in the input frame data. For example, the position specifying means 22 is specified by the number of bits or the number of bytes from the head of the frame data.
The reference data setting means 23 is for setting reference data dr that is a criterion for coincidence determination.
[0029]
The data extracting unit 24 extracts the data dx at the position specified by the position specifying unit 22 from the parallel data d (i) output from the interface 21.
[0030]
The reference data arrangement changing means 25 is configured to perform reference data setting means when the position designation means 22 performs position designation such that the arrangement of the data dx extracted by the data extraction means 24 is different from the input order at the time of serial input of the data dx. 23 changes the arrangement of the reference data dr set in accordance with the arrangement of the extracted data dx and outputs it to the determination means 26. Here, the arrangement is changed by cyclic shift processing on the reference data dr. The case where it does is demonstrated.
[0031]
In addition, when the position designation unit 22 performs position designation so that the arrangement of the data dx extracted by the data extraction unit 24 matches the input order at the time of serial input of the data dx, it is set by the reference data setting unit 23. The reference data dr is output to the determination means 26 as it is.
[0032]
The determination unit 26 determines whether or not the pattern of the reference data dr ′ output from the reference data arrangement changing unit 25 matches the pattern of the data dx output from the data extraction unit 25.
[0033]
Next, the operation of the frame data identification device 20 will be described. Here, a case where the bit length of the reference data dr is equal to the bit width W of the parallel data d (i) will be described.
[0034]
For example, when the frame data D shown in FIG. 2A is sequentially input from the bit data b (0), the interface 21 receives, for example, a 128-bit width (W = 128) as shown in FIG. 2B. Parallel data d (1), d (2),... Are sequentially output.
[0035]
Here, a position P equal to an integer multiple of the output bit width W (128 bits in this case) of the parallel data d (i) is designated in advance by the position designating means 22, for example, P = 128 in bit units. 2, the data extraction means 24, as shown in FIG. 2C, out of the parallel data output from the interface 21, the bit data b (128) to 256 (P + L) of the P + 1 bit, that is, the 129 bit. ) The second parallel data d (2) in which the bit data b (255) up to the bit is arranged in the input order is extracted and output to the determination means 26.
[0036]
The arrangement of the extracted data dx (= d (2)) matches the input order when the data dx is serially input.
[0037]
In this way, when the position designation is made such that the bit arrangement of the extracted data dx matches the input order in the serial state, the reference data arrangement changing means 25 sets the reference data setting as shown in FIG. Data dr ′ equal to the reference data dr set by the means 23 is output to the determining means 26, and the determining means 26 determines whether or not the pattern of the data dr ′ and the extracted data dx match. The reference data dr is composed of bit data br (0) to br (127).
[0038]
Further, a position P that is not equal to an integer multiple of the output bit width W (128 bits in this case) of the parallel data d (i) from the beginning of the frame, for example, P = 8 in bit units is specified by the position specifying means 22 in advance. In the state, when the same frame data D is input as shown in FIG. 3A, and parallel data d (i) having a 128-bit width is output from the interface 21 as shown in FIG. 3B. As shown in FIG. 3 (c), the data extraction means 24 is 128 bits from the 9th (= P + 1) th bit included in the first parallel data d (1) among the parallel data output from the interface 21. Bit data from bit 129 to bit 136 (= P + L) included in bit data b (8) to b (127) up to the eye and second parallel data d (2) And outputs the 128-bit data consisting of the data b (128) ~b (135) as the extraction data dx.
[0039]
In this extracted data dx, bit data b (128) to b (135) inputted later are arranged higher than bit data b (8) to b (127) inputted earlier at the time of serial input. And the input order in the serial state does not match.
[0040]
In this way, when the position designation is made such that the bit sequence of the extracted data dx does not match the input order when it is input in the serial state, the reference data sequence changing means 25 is as shown in FIG. Then, the reference data dr set by the reference data setting means 23 is cyclically shifted by 8 bits to match the extracted data dx array, and the shifted reference data dr ′ is output to the determination means 26.
[0041]
The determination unit 26 determines whether or not the shifted reference data dr ′ matches the extracted data dx.
[0042]
As described above, in the frame data identification device 20 of the embodiment, when the position designation is made such that the arrangement of the extraction data dx output from the data extraction unit 24 does not match the input order of the serial state, the extraction data dx The reference data dr is shifted in accordance with the arrangement, and the shifted reference data dr ′ is compared with the extracted data dx.
[0043]
This eliminates the need for shift processing on the extracted data dx, greatly reduces the processing time of the entire apparatus, and enables high-speed frame data identification.
[0044]
The shift process for the reference data dr need only be performed when the position P designated by the position designating unit 22 is changed, can be realized by software processing, and the entire apparatus can be configured on a small scale.
[0045]
In the above description, when the position designation is made such that the sequence of the extracted data dx output by the data extracting unit 24 does not match the input order of the serial state, the reference data sequence changing unit 25 Although the reference data dr is shifted in accordance with the array, the array changing process for the reference data dr only needs to correspond to the extraction structure of the data extracting unit 24. In addition to the cyclic shift process described above, Alternatively, data replacement processing or a combination of shift processing and replacement processing may be used.
[0046]
【The invention's effect】
As described above, the frame data identification device according to the present invention uses the extracted data array when the position of the data array extracted by the data extracting means is specified so as not to match the input order of the serial state. At the same time, the arrangement of the reference data is changed, and the reference data with the changed arrangement is compared with the extracted data.
[0047]
This eliminates the need for shift processing on the extracted data, greatly reduces the processing time of the entire apparatus, and enables high-speed frame data identification.
[0048]
The arrangement changing process for the reference data may be performed only when the position specified by the position specifying unit is changed, and can be realized by software processing, and the entire apparatus can be configured on a small scale.
[Brief description of the drawings]
FIG. 1 is a diagram showing the configuration of an embodiment of the present invention. FIG. 2 is a diagram for explaining the operation of the embodiment. FIG. 3 is a diagram for explaining the operation of the embodiment. FIG. 5 is a diagram for explaining the operation of the conventional apparatus. FIG. 6 is a diagram for explaining the operation of the conventional apparatus.
DESCRIPTION OF SYMBOLS 1 ... Network, 20 ... Frame data identification device, 21 ... Interface, 22 ... Position designation means, 23 ... Reference data setting means, 24 ... Data extraction means, 25 ... Reference data arrangement change means, 26 …… Judgment means

Claims (1)

シリアル入力されるフレームデータのうち、指定した位置に指定されたデータが挿入されているフレームデータを識別するためのフレームデータ識別装置において、
前記シリアル入力されるフレームデータを所定ビット幅のパラレルデータに分けて時系列に出力するインタフェース(21)と、
前記フレームデータ中の位置を指定するための位置指定手段(22)と、
参照データを設定するための参照データ設定手段(23)と、
前記インタフェースから出力されるパラレルデータから、前記位置指定手段によって指定された位置のデータを前記参照データと等しいビット数分抽出するデータ抽出手段(24)と、
前記データ抽出手段が抽出するデータの配列がシリアル入力時の入力順と一致するような位置指定が前記位置指定手段によってなされたとき、前記参照データ設定手段によって設定された参照データの配列を変えずに出力し、前記データ抽出手段が抽出するデータの配列がシリアル入力時の入力順と異なるような位置指定が前記位置指定手段によってなされたとき、前記データ抽出手段が抽出するデータの配列に合わせて前記参照データ設定手段によって設定された参照データの配列を変更して出力する参照データ配列変更手段(25)と
前記参照データ配列変更手段から出力された参照データのパターンと前記データ抽出手段によって抽出されたデータのパターンとが一致するか否かを判定する判定手段(26)とを備えたことを特徴とするフレームデータ識別装置。
In the frame data identification device for identifying the frame data in which the designated data is inserted at the designated position among the serially inputted frame data,
An interface (21) for outputting a time series frame data the serial input is divided into parallel data of a predetermined bit width,
Position specifying means (22) for specifying a position in the frame data;
Reference data setting means (23) for setting reference data;
Data extraction means (24) for extracting, from the parallel data output from the interface, data at a position designated by the position designation means by the number of bits equal to the reference data ;
When the position designation means makes a position specification such that the data arrangement extracted by the data extraction means matches the input order at the time of serial input, the reference data arrangement set by the reference data setting means is not changed. output to, when said sequence of data that the data extracting means for extracting is made the input order is different from such a position specified at the time of the serial input by said position specifying means, in accordance with the sequence of data to which the data extracting means extracts Reference data array changing means (25) for changing and outputting the reference data array set by the reference data setting means ;
Characterized by comprising a determining means for determining whether a pattern of data extracted matches the pattern and the data extraction means of the output reference data (26) from the reference data sequence changing means Frame data identification device.
JP2002292549A 2002-10-04 2002-10-04 Frame data identification device Expired - Fee Related JP3786638B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002292549A JP3786638B2 (en) 2002-10-04 2002-10-04 Frame data identification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002292549A JP3786638B2 (en) 2002-10-04 2002-10-04 Frame data identification device

Publications (2)

Publication Number Publication Date
JP2004129057A JP2004129057A (en) 2004-04-22
JP3786638B2 true JP3786638B2 (en) 2006-06-14

Family

ID=32283770

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002292549A Expired - Fee Related JP3786638B2 (en) 2002-10-04 2002-10-04 Frame data identification device

Country Status (1)

Country Link
JP (1) JP3786638B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5665300B2 (en) * 2009-10-19 2015-02-04 横河電機株式会社 Transmission characteristic measuring device

Also Published As

Publication number Publication date
JP2004129057A (en) 2004-04-22

Similar Documents

Publication Publication Date Title
EP2860658B1 (en) Classifying malware by order of network behavior artifacts
US6374388B1 (en) Equivalent time capture scheme for bit patterns within high data rate signals
WO2013176329A1 (en) Device and method for recognizing content using audio signals
CN109389153A (en) A kind of holographic false proof code check method and device
CN106254370B (en) A kind of network equipment fingerprint generation method and detecting devices
EP2485432B1 (en) A method and apparatus for communications analysis
JP6340668B2 (en) Stream recognition and filtering
CN105591835B (en) A kind of detection method and device of link-quality
US20020150127A1 (en) Data detection in parallel data streams
JP2000228721A5 (en)
CN115017519A (en) Data sealing regularity detecting method and device
CN113176992A (en) A/B experiment shunting method, device, equipment and computer readable storage medium
KR20210073391A (en) Method and apparatus for detecting malicious traffic using machine learning, computer program and computer-readable record mediun for the same
JP3786638B2 (en) Frame data identification device
CN111787074A (en) A file synchronization method and terminal
CN115150181B (en) Forged malicious encrypted traffic detection method based on refined statistical feature analysis
CN114491594A (en) A Multiple Encrypted Data Encryption System
CN109584889A (en) Audio frequency transmission method and device and storage medium
JP2002198978A (en) Waveform measuring instrument
CN118841019A (en) Method for adding audio watermark, method for extracting audio watermark and related products
CN109086624A (en) login method and device
CN108494759A (en) A kind of access request processing method, system, equipment and storage medium
US20020009165A1 (en) Method and system for fast synchronization multiframe structures using periodic signatures
CN113242160A (en) Protocol identification method based on state machine
CN110311835B (en) A Content Template-Based Compliance Verification Method for Electric Power IEC Protocol

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050531

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050729

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060320

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090331

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100331

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100331

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110331

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110331

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120331

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120331

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130331

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130331

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140331

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees