JPH0361388B2 - - Google Patents
Info
- Publication number
- JPH0361388B2 JPH0361388B2 JP60099201A JP9920185A JPH0361388B2 JP H0361388 B2 JPH0361388 B2 JP H0361388B2 JP 60099201 A JP60099201 A JP 60099201A JP 9920185 A JP9920185 A JP 9920185A JP H0361388 B2 JPH0361388 B2 JP H0361388B2
- Authority
- JP
- Japan
- Prior art keywords
- line
- control
- processing
- address
- control operation
- 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
Links
Landscapes
- Communication Control (AREA)
Description
【発明の詳細な説明】
〔概要〕
本発明は通信制御装置における回線走査処理の
高速化のため次に走査すべき回線の処理要求等の
情報を先行して取得して処理し、また、上位装置
からの指示を受けて前記回線の走査処理とは別個
に特定回線に対する制御動作を行なう回線走査機
構において、該制御動作と前記先行動作との競合
を生じて論理的な矛盾を生ずることを防止するた
め制御動作を指示された回線が現在処理中の回線
の次に走査すべき回線であるとき該制御動作を当
該回線の処理が終了するまで保留する如く制御す
るものである。[Detailed Description of the Invention] [Summary] The present invention acquires and processes information such as processing requests for the next line to be scanned in advance in order to speed up line scanning processing in a communication control device. In a line scanning mechanism that receives instructions from a device and performs a control operation for a specific line separately from the line scanning process, it is possible to prevent logical contradictions from occurring due to conflict between the control operation and the preceding operation. Therefore, when the line for which the control operation is instructed is the line to be scanned next to the line currently being processed, the control operation is held on hold until the processing of the line is completed.
本発明は複数のデータ通信回線とデータ処理装
置との間に位置してその間のデータ転送を制御す
る通信制御装置の回線走査機構の制御に関するも
のであつて、特に回線走査処理の高速化のために
次に走査すべき回線の状態情報等を先行的に取得
する方式を採る回線走査機構における回線走査処
理と該回線走査処理と非同期的に発生する上位装
置からの回線制御指示に係る動作との競合が起き
た場合の論理矛盾の発生を防止する制御に関する
ものである。
The present invention relates to the control of a line scanning mechanism of a communication control device that is located between a plurality of data communication lines and a data processing device and controls data transfer therebetween, and particularly relates to the control of a line scanning mechanism of a communication control device that is located between a plurality of data communication lines and a data processing device and controls data transfer therebetween. A line scanning process in a line scanning mechanism that adopts a method of proactively acquiring state information etc. of the line to be scanned next, and an operation related to a line control instruction from a higher-level device that occurs asynchronously with the line scanning process. This relates to control to prevent logical contradictions from occurring when conflicts occur.
通信制御装置の回線走査機構においては、該通
信制御装置に接続されている複数の通信回線を走
査してデータの転送等を行なう回線走査処理と、
これとは非同期的に発生する上位装置からの指示
による特定回線の制御に係る処理を行なつてい
る。
A line scanning mechanism of a communication control device includes a line scanning process of scanning a plurality of communication lines connected to the communication control device to transfer data, etc.;
Processing related to control of a specific line based on instructions from a higher-level device, which occurs asynchronously, is performed.
これらの回線関係の処理は回線情報の読み出
し、回線処理、および回線情報設定等の動作を行
なうものであり、後者の上位装置からの指示によ
る特定回線の制御の例としては受信のリセツト指
示や送信の開始指示等がある。 These line-related processes perform operations such as reading line information, line processing, and setting line information. Examples of the latter control of a specific line based on instructions from a higher-level device include reception reset instructions and transmission. There are instructions to start.
回線走査処理に係る上記回線情報の読み出しや
回線処理および回線情報設定等の動作は、従来、
直列的に行なわれていたが、近年、回線走査処理
を高速化するため、現在処理している回線の次に
走査されるべき回線の回線情報を現在の回線の処
理中に先行して読み出して置く制御方式が採られ
ることが多くなつた。 Operations such as reading line information, line processing, and setting line information related to line scanning processing are conventionally performed.
This used to be done serially, but in recent years, in order to speed up the line scanning process, the line information of the line to be scanned next to the line currently being processed is read out in advance while the current line is being processed. Increasingly, a control system based on
上述の次に走査されるべき回線の回線情報を先
行して取得するような制御方式を採つている場合
は、回線走査処理と、これとは非同期的に発生す
る上位装置からの指示による制御動作とをそのま
ま実行すると競合を生じて論理矛盾を生ずる場合
がある。
If a control method is adopted in which the line information of the line to be scanned next is acquired in advance as described above, the line scanning process and the control operation based on instructions from the higher-level device that occur asynchronously with this are performed. If executed as is, a conflict may occur and a logical contradiction may occur.
この論理矛盾について説明すると例えば、ある
回線の文字処理要求を含む回線情報の先行読み出
しを行なつたときに、この回線情報が使用される
前に、上位装置からの指示が発生して該回線のリ
セツトを実行したような場合があり、この場合に
は次の回線走査処理において、リセツトした筈の
回線から文字処理要求が検出されるために論理矛
盾となる。 To explain this logical contradiction, for example, when pre-reading line information including a character processing request for a certain line, an instruction from the host device is generated before this line information is used, and In some cases, a reset may have been executed, and in this case, in the next line scanning process, a character processing request is detected from the line that was supposed to have been reset, resulting in a logical contradiction.
従来は、このような論理矛盾の発生を防ぐた
め、上位装置からの指示があつても直ちに制御動
作を行なうことなく、該制御動作を次の該回線の
走査時に実行したり、あるいは一連の回線走査が
終了して次の回線走査が始まる迄の間に該制御動
作を実行すると言うような方法が採られていた。 Conventionally, in order to prevent the occurrence of such logical contradictions, even if an instruction is received from a higher-level device, the control operation is not performed immediately, but the control operation is executed when the next line is scanned, or when a series of lines are scanned. A method has been adopted in which the control operation is executed between the end of a scan and the start of the next line scan.
しかし、このような方法においては、上位装置
からの指示があつても、該当する制御を直ちに実
行することが出来ないと言う問題点があつた。 However, this method has a problem in that even if an instruction is received from a higher-level device, the corresponding control cannot be executed immediately.
本発明は、このような従来の問題点に鑑み、回
線走査処理を高速化するため、次に走査されるべ
き回線の回線情報を先行して取得すると共に、上
位装置からの指示に対しては、速やかに応ずるこ
とが可能で、論理矛盾を生ずることのない回線走
査機構の制御方式を提供することを目的としてい
る。 In view of such conventional problems, in order to speed up the line scanning process, the present invention acquires line information of the line to be scanned next in advance, and also responds to instructions from the host device. It is an object of the present invention to provide a control system for a line scanning mechanism that can respond quickly and without causing logical contradictions.
そしてこの目的は本発明によれば特許請求の範
囲に記載のとおり、複数の回線を順次走査し回線
からの処理要求を検出してその処理を行なう回線
走査処理と、上位装置から特定の回線に対する制
御動作を指示されたとき実行中の回線走査処理を
回線単位の区切りで中断して指示された制御動作
を行なう通信制御装置の回線走査機構において、
回線走査処理に際して現在処理中の回線の次に走
査されるべき回線の処理要求を含む状態情報を先
行的に読み出す手段を設け、回線走査処理の実行
中に上位装置から特定の回線に対する制御動作を
指示されたとき、該回線のアドレスと次に走査さ
れるべき回線のアドレスが一致した場合は上位装
置からの指示による制御動作の実行を保留し、前
記両アドレスが一致しない場合は該制御動作を実
行することを特徴とする回線走査機構制御方式に
より達成される。
According to the present invention, as described in the claims, the purpose is to perform a line scanning process in which a plurality of lines are sequentially scanned, a processing request from the line is detected, and the process is performed, and a request from a host device to a specific line. In a line scanning mechanism of a communication control device that, when a control operation is instructed, interrupts the line scanning process being executed at line-by-line divisions and performs the instructed control operation,
During line scanning processing, a means is provided for preemptively reading status information including a processing request for a line to be scanned next to the line currently being processed, and a control operation for a specific line from a host device is performed during execution of line scanning processing. When instructed, if the address of the line and the address of the line to be scanned next match, execution of the control operation in accordance with the instruction from the host device is suspended, and if the addresses do not match, the control operation is carried out. This is achieved by a line scanning mechanism control method characterized by implementation.
第1図は本発明の1実施例の制御を示す流れ図
である。
FIG. 1 is a flowchart showing control of one embodiment of the present invention.
第1図に示すように、本実施例においては、通
常、図中の記号1で示すように、ある回線の回線
処理と該回線の次の回線の情報読み出しが並行的
に行なわれ、その後回線情報を設定することによ
り、回線走査に係る1回線分の処理を終え、この
間に上位装置からの特定回線に対する制御指示が
なければ、走査すべき回線アドレスを更新して次
の回線走査処理1を実行している。 As shown in FIG. 1, in this embodiment, normally, as shown by symbol 1 in the figure, line processing of a certain line and information reading of the next line are performed in parallel, and then the line By setting the information, processing for one line related to line scanning is completed, and if there is no control instruction for a specific line from the host device during this time, the line address to be scanned is updated and the next line scanning process 1 is started. Running.
そして、上位装置から特定回線に対する制御を
指示されたとき、その回線アドレスが、直前の回
線走査処理で先行的に回線情報を読み出してある
回線(図ではi回線)であるときは、上位指示さ
れた回線制御処理を直ちに実行せず、これを一時
保留しておいて、上記回線(i回線)に係る回線
走査処理(図中に2で示す)を行なつてから、そ
れまで保留しておいた回線制御処理(図中に3で
示す)を実行する。その後走査用回線アドレスを
更新して通常の走査処理に戻る。この場合、回線
制御処理3に示すjの値はiに等しく、また走査
用回線アドレスの更新値はi+1になる。 When a higher-level device instructs control of a specific line, if the line address is a line (line i in the figure) for which line information has been previously read in the previous line scanning process, the upper-level device will control the specified line. Do not immediately execute the line control process, but temporarily suspend it, perform the line scanning process (indicated by 2 in the diagram) for the line (i line), and then hold it until then. The line control processing (indicated by 3 in the figure) is executed. Thereafter, the scanning line address is updated and normal scanning processing is resumed. In this case, the value of j shown in line control processing 3 is equal to i, and the updated value of the scanning line address is i+1.
一方、上位装置から制御を指示された回線が、
直前の走査処理で先行的に回線情報を読み出して
置いた回線とは異なる回線である場合には、直ち
に指示された回線(j回線)に対する制御動作を
行なつた後、走査用回線アドレスを更新(この場
合の更新値はi)して次の回線の走査処理を移行
する。 On the other hand, the line that is instructed to be controlled by the host device is
If the line is different from the line for which the line information was previously read in the previous scanning process, the line address for scanning is updated after immediately performing a control operation for the instructed line (line j). (In this case, the updated value is i) and the scanning process for the next line is started.
上記、回線制御処理3は図に示すように、回線
情報の読み出し、回線処理、回線情報の設定動作
が3段階に分けて行なわれる(先行的な動作は行
なわない)。 As shown in the figure, in the above-mentioned line control processing 3, line information reading, line processing, and line information setting operations are performed in three stages (preliminary operations are not performed).
本発明においては、このように先行的に回線情
報を読み出した回線に対しての制御動作が指示さ
れた場合、該回線に係る走査処理を完結させてか
ら、上位装置からの指示による制御動作を実行し
ているので論理的な矛盾が発生することはない。 In the present invention, when a control operation is instructed for a line whose line information has been read in advance in this way, the control operation according to the instruction from the host device is performed after completing the scanning process for the line. Since it is executed, no logical contradiction occurs.
第2図は本発明を実施する装置の例を示す図で
ある。 FIG. 2 is a diagram showing an example of an apparatus for implementing the present invention.
第2図において、制御記憶4は回線走査機構の
動作を制御するマイクロプログラムを格納する。
マイクロプロセツサ5は制御記憶4からマイクロ
プログラムを読み出して実行することにより、回
線走査機構全体の動作を制御している。 In FIG. 2, control memory 4 stores microprograms that control the operation of the line scanning mechanism.
The microprocessor 5 reads a microprogram from the control memory 4 and executes it, thereby controlling the operation of the entire line scanning mechanism.
共通バスインターフエース制御部6は回線走査
機構と共通バスとの間のデータ転送を制御する。
作業用RAM7には回線ごとの制御情報と送受信
データの1部が格納される。走査アドレス作成部
8はN個の回線アダプタを走査するための回線ア
ドレスを作成する。制御アドレス保持部9は上位
装置から指示された回線制御処理を行なうべき回
線アドレスを保持する。アダプタインタフエース
制御部10はマイクロプロセツサ5の指示によつ
て、回線アダプタ141〜14oとの間のデータ転
送を制御する。先行読み出し制御部11はマイク
ロプロセツサからの指示により次回線アドレスで
指定される回線アダプタから情報を先行して読み
出して保持する。この情報は次の回線走査処理時
にマイクロプロセツサが使用する。 The common bus interface controller 6 controls data transfer between the line scanning mechanism and the common bus.
The working RAM 7 stores control information for each line and a portion of transmission/reception data. The scanning address creation unit 8 creates a line address for scanning N line adapters. The control address holding unit 9 holds a line address for performing line control processing instructed by a higher-level device. The adapter interface control unit 10 controls data transfer between the line adapters 14 1 to 14 o according to instructions from the microprocessor 5. The pre-read control unit 11 pre-reads and holds information from the line adapter specified by the next line address according to instructions from the microprocessor. This information is used by the microprocessor during the next line scan process.
アドレス切替え回路12は回線走査処理実行中
において、先行読出し制御部11が先行読出しを
行なう場合には走査アドレス作成部が作成した次
回線アドレスを、その他の場合には現回線アドレ
スを選択して回線アドレスバスに送出する。ま
た、回線制御処理実行中は制御アドレス保持部が
保持している回線アドレスを選択する。 During line scanning processing, the address switching circuit 12 selects the next line address created by the scanning address creation unit when the advance readout control unit 11 performs advance readout, and selects the current line address in other cases to switch the line. Send to address bus. Also, during execution of line control processing, the line address held by the control address holding unit is selected.
データ切替え回路13は先行読出し制御部11
が先行読出しを行なう場合には先行読出し制御部
11を、その他の場合にはアダプタインタフエー
ス制御部10を回線データバス18に接続する。 The data switching circuit 13 is the advance read control section 11
When performing advance reading, the advance read control section 11 is connected to the line data bus 18, and in other cases, the adapter interface control section 10 is connected to the line data bus 18.
回線アドレスバス17はN個の回線アダプタの
内の1個を指定するための回線アドレスを伝達す
る。回線データバス18は、上記回線アドレスバ
ス17上の回線アドレスで指定された回線アダプ
タと回線走査機構との間でデータ転送を行なうた
めの双方向バスである。そして、このバスによる
データ転送の方向は回線アダプタからの情報の読
出しの場合と、回線アダプタへの情報の設定の場
合の2種類がある。 Line address bus 17 conveys a line address for designating one of the N line adapters. The line data bus 18 is a bidirectional bus for transferring data between the line adapter designated by the line address on the line address bus 17 and the line scanning mechanism. There are two types of data transfer directions via this bus: reading information from the line adapter and setting information to the line adapter.
回線アダプタ141〜14oは回線に対するビツ
ト直列の送受信データの文字分解組立て機能を持
つている。回線からの受信データの文字組立てが
完了したら受信文字処理要求を発生させて回線走
査機構に処理を要求する。また、回線へ送出すべ
き送信データの文字分解が完了したら送信文字処
理要求を発生させて回線走査機構に処理を要求す
る。 The line adapters 14 1 to 14 o have a character disassembly and assembly function for transmitting and receiving data in bit series for the line. When the character assembly of the received data from the line is completed, a received character processing request is generated to request processing from the line scanning mechanism. Furthermore, when the character decomposition of the transmission data to be sent to the line is completed, a transmission character processing request is generated to request the line scanning mechanism to perform the processing.
第3図は処理の時間的な関係を説明するための
タイムチヤートであつて、図中に表示したAの時
間帯に上位装置からj回線に対する制御の指示が
あつた場合を示している。図において、回線デー
タバスの信号は上段が回線アダプタから回線走査
機構への信号を、また、下段が回線走査機構から
回線アダプタへの信号を示している。 FIG. 3 is a time chart for explaining the temporal relationship of processing, and shows a case where an instruction to control line j is issued from a host device during time period A shown in the figure. In the figure, the upper row of the line data bus signals shows the signal from the line adapter to the line scanning mechanism, and the lower row shows the signal from the line scanning mechanism to the line adapter.
以上詳細に説明したように本発明の方式によれ
ば、次に走査されるべき回線の回線情報を先行的
に取得して処理の高速化を図る如く構成された通
信制御装置の回線走査機構において、回線走査処
理とは非同期的に発生する上位装置からの回線制
御処理の指示に係る処理を迅速に実行することが
可能で、また、この指示によつて回線情報を先行
的に取得してある回線が指定された場合であつて
も論理的な矛盾を生ずることが無い。従つて高速
な回線走査処理が可能で、しかも、上位装置から
の指示による特定回線に対する制御動作を迅速に
実行することの可能な通信制御装置を容易に実現
出来るので効果は大きい。
As explained in detail above, according to the method of the present invention, in a line scanning mechanism of a communication control device configured to obtain line information of a line to be scanned next in advance to speed up processing. , it is possible to quickly execute processing related to a line control processing instruction from a higher-level device that occurs asynchronously with line scanning processing, and line information is obtained in advance based on this instruction. Even if a line is specified, no logical contradiction will occur. Therefore, it is possible to easily realize a communication control device that is capable of high-speed line scanning processing and can quickly execute control operations for a specific line based on instructions from a host device, which is highly effective.
第1図は本発明の1実施例の制御を示す流れ
図、第2図は本発明を実施する装置の例を示す
図、第3図はタイムチヤートである。
1,2……回線走査処理、3……回線制御処
理、4……制御記憶、5……マイクロプロセツ
サ、6……共通バスインタフエース制御部、7…
…作業用RAM、8……走査アドレス作成部、9
……制御アドレス保持部、10……アダプタイン
タフエース制御部、11……先行読出し制御部、
12……アドレス切替え回路、13……データ切
替え回路、141〜14o……回線アダプタ、15
……現回線アドレス、16……次回線アドレス、
17……回線アドレスバス、18……回線データ
バス。
FIG. 1 is a flowchart showing control of one embodiment of the present invention, FIG. 2 is a diagram showing an example of an apparatus implementing the present invention, and FIG. 3 is a time chart. 1, 2...Line scanning processing, 3...Line control processing, 4...Control memory, 5...Microprocessor, 6...Common bus interface control unit, 7...
...Working RAM, 8...Scanning address creation section, 9
...Control address holding unit, 10...Adapter interface control unit, 11...Preliminary reading control unit,
12... Address switching circuit, 13... Data switching circuit, 14 1 to 14 o ... Line adapter, 15
...Current line address, 16...Next line address,
17... Line address bus, 18... Line data bus.
Claims (1)
を検出してその処理を行なう回線走査処理と、上
位装置から特定の回線に対する制御動作を指示さ
れたとき実行中の回線走査処理を回線単位の区切
りで中断して指示された制御動作を行なう通信制
御装置の回線走査機構において、回線走査処理に
際して現在処理中の回線の次に走査されるべき回
線の処理要求を含む状態情報を先行的に読み出す
手段を設け、回線走査処理の実行中に上位装置か
ら特定の回線に対する制御動作を指示されたと
き、該回線のアドレスと次に走査されるべき回線
のアドレスが一致した場合は上位装置からの指示
による制御動作の実行を保留し、前記両アドレス
が一致しない場合は該制御動作を実行することを
特徴とする回線走査機構制御方式。1 Line scanning processing that sequentially scans multiple lines to detect and process processing requests from the lines, and line scanning processing that is currently being executed when a control operation for a specific line is instructed from a higher-level device. In a line scanning mechanism of a communication control device that performs an instructed control operation by interrupting at a break, during line scanning processing, state information including a processing request for a line to be scanned next to the line currently being processed is read in advance. When a higher-level device instructs a control operation for a specific line during execution of line scanning processing, if the address of the line matches the address of the next line to be scanned, the instruction from the higher-level device 1. A line scanning mechanism control method, wherein execution of a control operation is suspended, and when the two addresses do not match, the control operation is executed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60099201A JPS61257044A (en) | 1985-05-10 | 1985-05-10 | Line scanning mechanism control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60099201A JPS61257044A (en) | 1985-05-10 | 1985-05-10 | Line scanning mechanism control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61257044A JPS61257044A (en) | 1986-11-14 |
| JPH0361388B2 true JPH0361388B2 (en) | 1991-09-19 |
Family
ID=14241034
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60099201A Granted JPS61257044A (en) | 1985-05-10 | 1985-05-10 | Line scanning mechanism control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS61257044A (en) |
-
1985
- 1985-05-10 JP JP60099201A patent/JPS61257044A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61257044A (en) | 1986-11-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0386935B1 (en) | Apparatus capable of varying number of wait states for access | |
| KR890015114A (en) | Graphic display device in graphic display system | |
| JPS623362A (en) | Data reception system | |
| JPH0361388B2 (en) | ||
| JPS61257045A (en) | Line scanning mechanism control system | |
| JPS6240751B2 (en) | ||
| JPH01269565A (en) | printing device | |
| JPH09114969A (en) | Image reading device | |
| JPS6356737B2 (en) | ||
| JP2605273B2 (en) | Data processing method | |
| JP2516917B2 (en) | Facsimile device modem control method | |
| JPH0435764B2 (en) | ||
| JPH059832B2 (en) | ||
| JP2002259324A (en) | Data processing device | |
| JP3253115B2 (en) | Printer | |
| JPH05120201A (en) | Data processing device | |
| JPH024182B2 (en) | ||
| JPH03158924A (en) | Printer controller | |
| JPH06250971A (en) | I/o device | |
| JPH03237526A (en) | Printing device | |
| JPH03294951A (en) | High speed data transfer system in personal computer system | |
| JPH01108665A (en) | Dma transfer control system | |
| JPH10326249A (en) | Control method for dma transfer area and device therefor | |
| JPS5942335B2 (en) | Interrupt method for character processing | |
| JPH05204829A (en) | Data transfer device |