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
JP2563671B2 - Data monitoring device - Google Patents
[go: Go Back, main page]

JP2563671B2 - Data monitoring device - Google Patents

Data monitoring device

Info

Publication number
JP2563671B2
JP2563671B2 JP2304311A JP30431190A JP2563671B2 JP 2563671 B2 JP2563671 B2 JP 2563671B2 JP 2304311 A JP2304311 A JP 2304311A JP 30431190 A JP30431190 A JP 30431190A JP 2563671 B2 JP2563671 B2 JP 2563671B2
Authority
JP
Japan
Prior art keywords
flip
flop
unit
signal
control unit
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
JP2304311A
Other languages
Japanese (ja)
Other versions
JPH04175042A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2304311A priority Critical patent/JP2563671B2/en
Publication of JPH04175042A publication Critical patent/JPH04175042A/en
Application granted granted Critical
Publication of JP2563671B2 publication Critical patent/JP2563671B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明はデータモニタ装置に係り、特に、高速多チャ
ネル回線のデータフレームを高速に収録して通信処理を
行うに好適なデータモニタ装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data monitor device, and more particularly to a data monitor device suitable for recording a data frame of a high speed multi-channel line at high speed and performing communication processing.

従来の技術 従来、ISDN回線のような高速多重回線をモニタするに
際しては、例えばS/T点では2B+Dのデータを分離して
それぞれフレームに分解し、これをCRT表示に可能とな
るようにフォーマット変換してダイレクトメモリアクセ
ス(以下、DMAと称する)方式でキャプチャメモリに回
線データをストアする方式が採用されている。
2. Description of the Related Art Conventionally, when monitoring a high-speed multiplex line such as an ISDN line, for example, at the S / T point, 2B + D data is separated and divided into frames, and the format is converted so that it can be displayed on a CRT. Then, a method of storing line data in a capture memory by a direct memory access (hereinafter, referred to as DMA) method is adopted.

発明が解決しようとする課題 しかしながら、従来の方式では、特に、高速多チャネ
ル回線のデータをDMA方式でストアする場合、データを
転送している間はCPUのバスがフローティング状態にな
るため、所定のプログラム処理が一時停止状態となる。
特に、キー入力等のヒューマンインターフェース等の処
理が不能になり、その上外部制御入力等のポートを有す
る場合等はCPUがロック状態になるという欠点があっ
た。この傾向は高速でかつ多チャネルの収録の際に顕著
であり、CPUが略ホールド状態になるという問題があっ
た。
However, in the conventional method, in particular, when the data of the high-speed multi-channel line is stored by the DMA method, the bus of the CPU is in a floating state while the data is being transferred. Program processing is suspended.
In particular, there has been a drawback that the CPU is locked when the processing such as a human interface such as a key input is disabled and the external control input is provided. This tendency is remarkable at the time of high-speed and multi-channel recording, and there is a problem that the CPU is almost in the hold state.

具体的には、第2図及び第3図に示されるように、通
信回線上のデータは通信制御部LSI部1によって処理さ
れ、MAIN CPU部2に対しDMA要求をする。そしてHOLD信
号をアクティブにしてバスホールド要求に応答し、HLDA
信号がアクティブになってCPUを止めた状態にしてDMA転
送によってCRT表示部3に回線データを転送して表示デ
バイスに表示する。この時キーボード4もしくは外部制
御部5からアクセスがかかった場合には、CPUはホール
ド状態のため上記所定の処理が不可能となる。
Specifically, as shown in FIGS. 2 and 3, the data on the communication line is processed by the communication control unit LSI unit 1 to make a DMA request to the MAIN CPU unit 2. Then, it activates the HOLD signal and responds to the bus hold request.
When the signal becomes active and the CPU is stopped, the line data is transferred to the CRT display unit 3 by DMA transfer and displayed on the display device. At this time, if an access is made from the keyboard 4 or the external control section 5, the CPU is in the hold state and the above-described predetermined processing cannot be performed.

本発明の目的は、通信回線データをDMA方式によって
キャプチャメモリにストアしても演算部がホールドする
ことなく、回線データを高速に転送し、通信処理の高速
化が実現できるデータモニタ装置を提供することにあ
る。
An object of the present invention is to provide a data monitor device capable of transferring communication line data at high speed and storing the communication line data in a capture memory by a DMA method without being held by an arithmetic unit, thereby speeding up communication processing. Especially.

課題を解決するための手段 本発明は上記目的を達成するために、通信回線のフレ
ーム処理を行う通信制御部と、通信制御部からバスライ
ンを介して回線データを入力するキャプチャメモリ部
と、キャプチャメモリ部とバスラインを介してデータの
授受を行う演算部と、キャプチャメモリ部のバスライン
を指令に応答して通信制御部側または演算部側に切り換
える切換部と、通信制御部からのデータ転送要求により
通信制御部選択指令を、演算部からのアクセス要求によ
り演算部選択指令をそれぞれ切換部に出力し、両者の要
求が競合したときには通信制御部選択指令を優先して出
力する制御部とを備えているデータモニタ装置を構成し
たものである。
Means for Solving the Problems To achieve the above object, the present invention provides a communication control unit that performs frame processing of a communication line, a capture memory unit that inputs line data from the communication control unit via a bus line, and a capture unit. An arithmetic unit that exchanges data with the memory unit via the bus line, a switching unit that switches the bus line of the capture memory unit to the communication control unit side or the arithmetic unit side in response to a command, and data transfer from the communication control unit A communication control unit selection command is output by a request, and an operation unit selection command is output by an operation unit access request to the switching unit. When there is a conflict between the requests, the communication control unit selection command is output with priority. This is a configuration of a data monitor device provided.

さらに本発明は、第1の装置を含む第2の装置とし
て、制御部は、通信制御部からのデータ転送要求を入力
する第1フリップフロップと、キャプチャメモリ部へQ
信号を出力する第2フリップフロップと、演算部からの
アクセス要求を入力する第3フリップフロップと、切換
部へQ信号を出力する第4フリップフロップと、第1フ
リップフロップのQ信号と第4フリップフロップの信
号との論理積を条件とする信号を第2フリップフロップ
へ出力する第1ANDゲートと、第1フリップフロップの
信号と第3フリップフロップのQ信号との論理積を条件
とする信号を第4フリップフロップへ出力する第2ANDゲ
ートとから構成されているデータモニタ装置を構成した
ものである。
Further, according to the present invention, as a second device including the first device, the control unit includes a first flip-flop for inputting a data transfer request from the communication control unit and a Q for the capture memory unit.
A second flip-flop that outputs a signal, a third flip-flop that inputs an access request from the arithmetic unit, a fourth flip-flop that outputs a Q signal to the switching unit, a Q signal of the first flip-flop, and a fourth flip-flop. A first AND gate that outputs a signal that is logically ANDed to the second flip-flop to the second flip-flop, and a signal that is logically ANDed to the signal of the first flip-flop and the Q signal of the third flip-flop. The data monitor device comprises a second AND gate for outputting to four flip-flops.

作用 従って、本発明によれば、通信制御部からの配線デー
タをキャプチャメモリ部へストアする際、キャプチャメ
モリ部のバスラインが通信制御部側に切り替えられる。
よって、回線データをキャップチャメモリ部へDMA転送
する際、演算部は何等の関わりがなく、ホールドされな
いので、高速データ転送が行われる。また演算部からの
アクセス要求によってキャプチャメモリ部の回線データ
を参照する際には、キャプチャメモリ部のバスラインが
演算部側に切り替えられる。そして通信制御部からのデ
ータ転送要求と演算部からのアクセス要求が競合したと
きには通信制御部側が優先して選択されるので、回線の
データが欠落することなく、キャプチャメモリ部にデー
タが蓄積される。
Therefore, according to the present invention, when the wiring data from the communication control unit is stored in the capture memory unit, the bus line of the capture memory unit is switched to the communication control unit side.
Therefore, when the line data is DMA-transferred to the capture memory unit, the arithmetic unit has nothing to do with it and is not held. Therefore, high-speed data transfer is performed. Further, when referring to the line data of the capture memory unit by the access request from the arithmetic unit, the bus line of the capture memory unit is switched to the arithmetic unit side. When the data transfer request from the communication control unit and the access request from the arithmetic unit conflict with each other, the communication control unit side is preferentially selected, so that the data in the line is not lost and the data is accumulated in the capture memory unit. .

実施例 第1図は本発明の一実施例であるデータモニタ装置の
ブロック図を示すものである。
Embodiment 1 FIG. 1 is a block diagram of a data monitor device according to an embodiment of the present invention.

第1図において、データモニタ装置は通信制御部FEP1
1、キャプチャメモリ部12、CPU13、アドレスカウンタ1
4、マルチプレクサ15,16、Dフリップフロップ17a,17b,
17c,17d、ANDゲート18a,18bを備えて構成されている。
In FIG. 1, the data monitor device is a communication control unit FEP1.
1, capture memory unit 12, CPU 13, address counter 1
4, multiplexers 15 and 16, D flip-flops 17a and 17b,
17c, 17d and AND gates 18a, 18b.

FEP11は多チャネル高速回線のフレーム処理等を行う
ように構成されており、回線データをマルチプレクサ16
を介してキャプチャメモリ部12へ転送すると共にDMA要
求をフリップフロップ17aへ出力するように構成されて
いる。CPU13はマルチプレクサ16を介してキャプチャメ
モリ部12の回線データを参照し、参照したデータを基に
各種の処理を行う演算部として構成されている。マルチ
プレクサ15はアドレスカウンタ14とキャプチャメモリ部
12とを結ぶアドレスラインを指令に応じて切り替える切
換部を構成し、マルチプレクサ16はキャプチャメモリ部
12とCPU13とを結ぶバスライン及びキャプチャメモリ部1
2と通信制御部FEP11とを結ぶバスライン、制御バスライ
ン等を指令に応じて切り替える切換部を構成するように
なっている。
The FEP11 is configured to perform frame processing for multi-channel high-speed lines, etc.
It is configured to transfer the DMA request to the flip-flop 17a while transferring to the capture memory unit 12 via the. The CPU 13 is configured as an arithmetic unit that refers to the line data of the capture memory unit 12 via the multiplexer 16 and performs various processes based on the referred data. The multiplexer 15 is an address counter 14 and a capture memory unit.
The switching unit that switches the address line connecting with 12 according to a command is configured, and the multiplexer 16 is a capture memory unit.
Bus line connecting 12 and CPU 13 and capture memory unit 1
A switching unit that switches a bus line connecting the 2 and the communication control unit FEP11, a control bus line, and the like according to a command is configured.

フリップフロップ17aはFEP11からのDMA要求を入力
し、フリップフロップ17cはCPU13からのアクセス要求を
入力するように構成されており、フリップフロップ17a
のQ信号がANDゲート18aに、信号がANDゲート18bに出
力されるようになっている。またフリップフロップ17c
のQ信号がANDゲート18bに入力されるようになってい
る。またフリップフロップ17bはANDゲート18aからの信
号によってQ信号をキャプチャメモリ部12へ出力し、フ
リップフロップ17dはANDゲート18bからの信号によりQ
信号をマルチプレクサ15,16へ出力し、信号をANDゲー
ト18aへ出力するように構成されている。
The flip-flop 17a is configured to input the DMA request from the FEP 11, and the flip-flop 17c is configured to input the access request from the CPU 13.
The Q signal is output to the AND gate 18a, and the signal is output to the AND gate 18b. Also flip-flop 17c
The Q signal of is input to the AND gate 18b. The flip-flop 17b outputs a Q signal to the capture memory unit 12 in response to the signal from the AND gate 18a, and the flip-flop 17d receives the Q signal in response to the signal from the AND gate 18b.
The signal is output to the multiplexers 15 and 16, and the signal is output to the AND gate 18a.

次に、データモニタ装置の作用を説明する。 Next, the operation of the data monitor device will be described.

まずFEP11からDMA要求が発生した場合、フリップフロ
ップ17aがセットされる。このときCPU13からアクセス要
求が発生していないときにはフリップフロップ17dがリ
セット状態にあり、ANDゲート18aのゲートが開きフリッ
プフロップ17bがセットされる。フリップフロップ17dが
リセット状態にあると、マルチプレクサ15,16がFEP11側
に切り替えられFEP11からの回線データがマルチプレク
サ16を介してキャプチャメモリ部12に転送される。この
回線データはCPU13の動作とは無関係にキャプチャメモ
リ部12に書き込まれる。
First, when the FEP 11 issues a DMA request, the flip-flop 17a is set. At this time, when the access request is not issued from the CPU 13, the flip-flop 17d is in the reset state, the gate of the AND gate 18a is opened, and the flip-flop 17b is set. When the flip-flop 17d is in the reset state, the multiplexers 15 and 16 are switched to the FEP 11 side and the line data from the FEP 11 is transferred to the capture memory unit 12 via the multiplexer 16. This line data is written in the capture memory unit 12 regardless of the operation of the CPU 13.

次に、FEP11からDMA要求の発生がなくCPU13からアク
セス要求が発生したときには、フリップフロップ17cが
セットされ、フリップフロップ17aがリセット状態とな
る。これによりANDゲート18bのゲートが開きフリップフ
ロップ17dがセットされ、マルチプレクサ15,16にセット
信号としてのQ信号が出力されると共に、CPU13にはデ
ータ転送アクノリッジDTACK信号が出力される。これに
よりマルチプレクサ15,16がCPU13側へ切り替えられCPU1
3とキャプチャメモリ部12とがマルチプレクサ16を介し
て接続され、CPU13とキャプチャメモリ部12間でデータ
の授受が行われる。即ち、CPU13はキャプチャメモリ部1
2に対してリード/ライトが可能となる。
Next, when the FEP 11 does not generate a DMA request and the CPU 13 issues an access request, the flip-flop 17c is set and the flip-flop 17a is reset. As a result, the gate of the AND gate 18b is opened, the flip-flop 17d is set, the Q signal as the set signal is output to the multiplexers 15 and 16, and the data transfer acknowledge DTACK signal is output to the CPU 13. As a result, the multiplexers 15 and 16 are switched to the CPU13 side and the CPU1
3 and the capture memory unit 12 are connected via a multiplexer 16, and data is exchanged between the CPU 13 and the capture memory unit 12. That is, the CPU 13 is the capture memory unit 1
Read / write to 2 is possible.

次に、CPU13からアクセス要求が発生しているときにF
EP11からDMA要求が発生した場合には、CPU13からのアク
セス要求によってフリップフロップ17cがセット状態に
あり、かつCPU13がキャプチャメモリ部12をアクセスし
ている状態にあるので、フリップフロップ17dがセット
状態になっている。このときFEP11からのDMA要求によっ
てフリップフロップ17aがセットされるが、フリップフ
ロップ17dの信号によってANDゲート18aのゲートが閉
じているので、フリップフロップ17dがリセットされる
までDMA要求による実行は待機させられる。そしてCPU13
がキャプチャメモリ部12へのアクセスを終了した時点で
フリップフロップ17dがリセットされ、ANDゲート18aの
ゲートが開いてフリップフロップ17bがセットされるこ
とによってDMA要求に伴う実行が開始される。
Next, when an access request is issued from CPU13, F
When the DMA request is generated from the EP11, the flip-flop 17c is in the set state by the access request from the CPU 13, and the CPU 13 is in the state of accessing the capture memory unit 12. Has become. At this time, the flip-flop 17a is set by the DMA request from the FEP 11, but since the gate of the AND gate 18a is closed by the signal of the flip-flop 17d, the execution by the DMA request is made to wait until the flip-flop 17d is reset. . And CPU13
When the access to the capture memory unit 12 is completed, the flip-flop 17d is reset, the gate of the AND gate 18a is opened, and the flip-flop 17b is set to start the execution in response to the DMA request.

一方、DMAの実行中にCPU13からのアクセス要求が発生
したときには、DMA要求によってフリップフロップ17aが
セットされANDゲート17bのゲートが閉じているので、フ
リップフロップ17aがリセットされるまでCPU13のアクセ
スによる実行は待機させられる。即ち、フリップフロッ
プ17aがリセットされるまではCPU13にはDTACK信号が入
力されないため、DMAサイクルが終了するまでCPU13のア
クセス要求は待機させられることになる。
On the other hand, when an access request is issued from the CPU 13 during execution of DMA, the flip-flop 17a is set by the DMA request and the gate of the AND gate 17b is closed, so execution by access of the CPU 13 until the flip-flop 17a is reset. Is made to wait. That is, since the DTACK signal is not input to the CPU 13 until the flip-flop 17a is reset, the access request of the CPU 13 is made to wait until the DMA cycle ends.

発明の効果 本発明は上記実施例より明らかなように、通信制御部
からのDMA要求と演算部からのアクセス要求とを分離独
立してキャプチャメモリ部のバスラインを制御するよう
にしたため、通信制御部からのデータ転送を示すDMA転
送中でも演算部をホールドすることなく回線データを高
速に転送することができ、通信処理の高速化が実現でき
るという効果を有する。
EFFECTS OF THE INVENTION As apparent from the above embodiment, the present invention controls the bus line of the capture memory unit independently of the DMA request from the communication control unit and the access request from the arithmetic unit. Even in the DMA transfer indicating the data transfer from the unit, the line data can be transferred at high speed without holding the arithmetic unit, and the communication processing can be speeded up.

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

第1図は本発明の一実施例であるデータモニタ装置のブ
ロック図、第2図は従来例のブロック図、第3図は従来
例のタイミングチャートである。 11……通信制御部FEP、12……キャプチャメモリ部、13
……CPU、14……アドレスカウンタ、15,16……マルチプ
レクサ、17a,17b,17c,17d……Dフリップフロップ、18
a,18b……ANDゲート。
FIG. 1 is a block diagram of a data monitor apparatus which is an embodiment of the present invention, FIG. 2 is a block diagram of a conventional example, and FIG. 3 is a timing chart of the conventional example. 11 …… Communication control unit FEP, 12 …… Capture memory unit, 13
... CPU, 14 ... address counter, 15, 16 ... multiplexer, 17a, 17b, 17c, 17d ... D flip-flop, 18
a, 18b …… AND gate.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】通信回線のフレーム処理を行う通信制御部
と、通信制御部からバスラインを介して回線データを入
力するキャプチャメモリ部と、キャプチャメモリ部とバ
スラインを介してデータの授受を行う演算部と、キャプ
チャメモリ部のバスラインを指令に応答して通信制御部
側または演算部側に切り換える切換部と、通信制御部か
らのデータ転送要求により通信制御部選択指令を、演算
部からのアクセス要求により演算部選択指令をそれぞれ
切換部に出力し、両者の要求が競合したときには通信制
御部選択指令を優先して出力する制御部とを備えている
データモニタ装置。
1. A communication control unit for performing frame processing of a communication line, a capture memory unit for inputting line data from the communication control unit via a bus line, and data transfer between the capture memory unit and the bus line. The operation unit, the switching unit that switches the bus line of the capture memory unit to the communication control unit side or the operation unit side in response to the command, and the communication control unit selection command from the operation unit in response to the data transfer request from the communication control unit. A data monitor device comprising: a control unit that outputs a calculation unit selection command to a switching unit in response to an access request, and preferentially outputs a communication control unit selection command when both requests conflict.
【請求項2】制御部は、通信制御部からのデータ転送要
求を入力する第1フリップフロップと、キャプチャメモ
リ部へQ信号を出力する第2フリップフロップと、演算
部からのアクセス要求を入力する第3フリップフロップ
と、切換部へQ信号を出力する第4フリップフロップ
と、第1フリップフロップのQ信号と第4フリップフロ
ップの信号との論理積を条件とする信号を第2フリッ
プフロップへ出力する第1ANDゲートと、第1フリップフ
ロップの信号と第3フリップフロップのQ信号との論
理積を条件とする信号を第4フリップフロップへ出力す
る第2ANDゲートとから構成されている請求項(1)記載
のデータモニタ装置。
2. The control unit inputs a first flip-flop for inputting a data transfer request from the communication control unit, a second flip-flop for outputting a Q signal to the capture memory unit, and an access request for the arithmetic unit. The third flip-flop, the fourth flip-flop that outputs the Q signal to the switching unit, and the signal that is conditional on the logical product of the Q signal of the first flip-flop and the signal of the fourth flip-flop are output to the second flip-flop. And a second AND gate for outputting a signal conditioned on the logical product of the signal of the first flip-flop and the Q signal of the third flip-flop to the fourth flip-flop. ) The data monitoring device described above.
JP2304311A 1990-11-08 1990-11-08 Data monitoring device Expired - Fee Related JP2563671B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2304311A JP2563671B2 (en) 1990-11-08 1990-11-08 Data monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2304311A JP2563671B2 (en) 1990-11-08 1990-11-08 Data monitoring device

Publications (2)

Publication Number Publication Date
JPH04175042A JPH04175042A (en) 1992-06-23
JP2563671B2 true JP2563671B2 (en) 1996-12-11

Family

ID=17931502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2304311A Expired - Fee Related JP2563671B2 (en) 1990-11-08 1990-11-08 Data monitoring device

Country Status (1)

Country Link
JP (1) JP2563671B2 (en)

Also Published As

Publication number Publication date
JPH04175042A (en) 1992-06-23

Similar Documents

Publication Publication Date Title
JP2563671B2 (en) Data monitoring device
US3319230A (en) Data processing machine including program interrupt feature
JPS6136845A (en) single chip microcomputer
JPH07104845B2 (en) Parallel processor
JP2917659B2 (en) Information processing device
JPS6160163A (en) Data transfer system
JP2767811B2 (en) Video data processing device
JP2776125B2 (en) Image playback device
JPH04132548U (en) parallel processing arithmetic unit
JP2830239B2 (en) Input display control device
JPH02211571A (en) Information processor
JPH0375959A (en) Data transfer device for multiprocessor
JPS62293365A (en) Data transfer system
JPS63155254A (en) Information processor
JPH0247751A (en) Channel control system
JPH03282954A (en) Device for transferring direct memory access data
JPS61117651A (en) Interface device
JPH0465777A (en) Image data transfer system
JPH0399317A (en) Image processor
JPS62241057A (en) Circuit for increasing input/output processing speed
JPH0553976A (en) Parallel data transfer method between computers and bus adapter
JPH07244631A (en) Data transfer device
JPH0642229B2 (en) Information processing equipment
JPH0468459A (en) Digital signal processor
JPH05204826A (en) Data processing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees