JPH0683289B2 - Communication control device - Google Patents
Communication control deviceInfo
- Publication number
- JPH0683289B2 JPH0683289B2 JP62209174A JP20917487A JPH0683289B2 JP H0683289 B2 JPH0683289 B2 JP H0683289B2 JP 62209174 A JP62209174 A JP 62209174A JP 20917487 A JP20917487 A JP 20917487A JP H0683289 B2 JPH0683289 B2 JP H0683289B2
- Authority
- JP
- Japan
- Prior art keywords
- channel
- control
- logical channel
- control table
- logical
- 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 - Lifetime
Links
Landscapes
- Communication Control (AREA)
- Computer And Data Communications (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は、通信制御装置に関し、特にマイクロプログラ
ム制御方式の通信制御装置に関する。TECHNICAL FIELD The present invention relates to a communication control device, and more particularly to a communication control device of a micro program control system.
[従来の技術] 従来、この種の通信制御装置は、プログラム制御テーブ
ルのうち、上位装置とのインターフェースであるロジカ
ルチャネルを制御するための情報が格納された第1の制
御テーブルと、通信回線とのインターフェースであるフ
ィジカルチャネルを制御するための情報が格納された第
2の制御テーブルとを一義的に対応づけることと、制御
プログラムによる任意な時点での変更は、行われない構
成となっていた。[Prior Art] Conventionally, a communication control device of this type includes a first control table in a program control table in which information for controlling a logical channel that is an interface with a host device is stored, and a communication line. The second control table that stores information for controlling the physical channel, which is the interface of the above, is uniquely associated with and the control program does not change at any time. .
ここで、ロジカルチャネルの制御とは、上位装置との間
での指令の受取り、指令に対する応答等の通信回線を直
接アクセスしない制御のことをいう。また、フィジカル
チャネルの制御とは、上記制御とは異なり、データの送
受信等の通信回線を直接アクセスする制御のことをい
う。Here, the control of the logical channel refers to the control such as receiving a command with the host device and responding to the command without directly accessing the communication line. Further, unlike the above control, the control of the physical channel refers to control of directly accessing a communication line such as transmission / reception of data.
[発明が解決しようとする問題点] 従って、従来の通信制御装置は、各制御テーブルの構成
から見ると、ロジカルチャネルを制御する機能とフィジ
カルチャネルを制御する機能を合せ持った単位として存
在している。そのため、例えば、半二重回線の場合は、
指令が一対のロジカルチャネルのうち、予め設定された
一つのロジカルチャネルのみに送信、受信の両指令が発
行されるので、一対のフィジカルチャネルのうちの送信
チャネル又は受信チャネルのロジカルチャネルとの対応
づけが複雑になる等により、制御プログラムが複雑にな
るという欠点がある。[Problems to be Solved by the Invention] Therefore, the conventional communication control device exists as a unit having both a function of controlling a logical channel and a function of controlling a physical channel in view of the configuration of each control table. There is. So, for example, for a half-duplex line,
Correspondence with the logical channel of the transmission channel or the reception channel of the pair of physical channels, as both the transmission and reception commands are issued only to one preset logical channel of the pair of logical channels. However, there is a drawback that the control program becomes complicated due to the complexity of.
[問題点を解決するための手段] 本発明による通信制御装置は、通信回線に接続され、該
通信回線との間でデータの送信を行う送信チャネルと前
記通信回線との間でデータの受信を行う受信チャネルと
の一対のフィジカルチャネルにより構成されたフィジカ
ルチャネル部と、上位装置に接続され、該上位装置との
間で指令及びデータの転送を行う機能をもつ一対のロジ
カルチャネルにより構成されるロジカルチャネル部と、
前記一対のロジカルチャネルの中の一つと前記送信チャ
ネル又は受信チャネルを一義的に対応させ、前記ロジカ
ルチャネル毎に前記上位装置より発行される指令に基づ
いて前記通信回線との間でのデータ転送を制御プログラ
ムの制御の下で行う制御部とを有する通信制御装置であ
って、 前記制御部は、 前記制御プログラムが使用する情報の内、前記ロジカル
チャネルに属する情報を、存在するロジカルチャネル毎
に格納するロジカルチャネル制御テーブルと、 前記制御プログラムが使用する情報の内、前記フィジカ
ルチャネルに属する情報を、存在するフィジカルチャネ
ル毎に格納するフィジカルチャネル制御テーブルとを有
し、 指令が発行されたロジカルチャネルの前記ロジカルチャ
ネル制御テーブル内に、指令が実行されるフィジカルチ
ャネルの前記フィジカルチャネル制御テーブルを指示す
る第1のリンクポインタを有し、 指令が実行されるフィジカルチャネルの前記フィジカル
チャネル制御テーブル内に、指令が発行されたロジカル
チャネルの前記ロジカルチャネル制御テーブルを指示す
る第2のリンクポインタを有し、 前記制御部は、更に、 前記第1及び第2のリンクポインタを任意の時点での変
更可能な手段を持つことを特徴とする。[Means for Solving Problems] A communication control device according to the present invention is connected to a communication line and receives data between a transmission channel for transmitting data to and from the communication line. A physical channel section configured by a pair of physical channels with a reception channel to be performed, and a logical channel configured by a pair of logical channels connected to a host device and having a function of transferring commands and data to the host device. Channel part,
One of the pair of logical channels is uniquely associated with the transmission channel or the reception channel, and data transfer between the communication channel is performed based on a command issued by the host device for each logical channel. A communication control device having a control unit that is performed under the control of a control program, wherein the control unit stores information belonging to the logical channel among information used by the control program for each existing logical channel. A logical channel control table for storing the information belonging to the physical channel among the information used by the control program, the physical channel control table storing each physical channel that exists, and The physical channel in which the command is executed in the logical channel control table. Has a first link pointer pointing to the physical channel control table of the channel, and pointing to the logical channel control table of the logical channel for which the command was issued in the physical channel control table of the physical channel on which the command is executed. The control unit further includes a unit that can change the first and second link pointers at any time.
[実施例] 次に、本発明の実施例について図面を参照して説明す
る。[Embodiment] Next, an embodiment of the present invention will be described with reference to the drawings.
第1図は、本発明の一実施例による通信制御装置の構成
を示すブロック図である。FIG. 1 is a block diagram showing the configuration of a communication control device according to an embodiment of the present invention.
ロジカルチャネル11、12は上位装置とのインターフェー
スであり、送信チャネル13及び受信チャネル14は一対の
フィジカルチャネルを構成し、通信回線とのインターフ
ェースである。制御部15は、制御プログラムが格納され
たメモリと、後述するような制御情報が格納された各種
制御テーブルと、制御プログラムと制御情報に基づいて
制御を行うプロセッサとを有し、本通信制御装置を制御
する。各種制御テーブルには、後述するようにロジカル
チャネル制御テーブルとフィジカルチャネル制御テーブ
ルとが含まれる。The logical channels 11 and 12 are interfaces with a host device, and the transmission channel 13 and the reception channel 14 form a pair of physical channels and are interfaces with communication lines. The control unit 15 has a memory in which a control program is stored, various control tables in which control information as described later is stored, and a processor which controls based on the control program and the control information. To control. The various control tables include a logical channel control table and a physical channel control table as described later.
上位装置から発行された指令は、ロジカルチャネル11又
は12を通じ制御部15へ送られる。制御部15はこの指令を
制御プログラムによって解析、実行し、これによって送
信チャネル13又は受信チャネル14とロジカルチャネル11
又は12の間でデータ転送が行われる。The command issued from the host device is sent to the control unit 15 through the logical channel 11 or 12. The control unit 15 analyzes and executes this command by the control program, and as a result, the transmission channel 13 or the reception channel 14 and the logical channel 11 are analyzed.
Alternatively, data transfer is performed between 12 or 12.
ここで、データは送信データと受信データからなる。送
信データは上位装置から送信チャネル13へ流れ、受信デ
ータは受信チャネル14から上位装置へ流れる。Here, the data consists of transmission data and reception data. The transmission data flows from the host device to the transmission channel 13, and the reception data flows from the reception channel 14 to the host device.
又、回線の種類としては、全二重回線と半二重回線とが
ある。全二重回線の場合、送信はロジカルチャネル11
で、受信はロジカルチャネル12で行われる。半二重回線
の場合、送信及び受信共にロジカルチャネル11で行われ
る。There are full-duplex lines and half-duplex lines as the types of lines. For full-duplex line, transmission is logical channel 11
Then, the reception is performed on the logical channel 12. In the case of a half-duplex line, both transmission and reception are performed on the logical channel 11.
第2図は通常時における制御テーブルの関係を示す図で
ある。制御テーブル21はロジカルチャネル11に属する情
報を格納するロジカルチャネル制御テーブルであり、制
御テーブル22はロジカルチャネル12に属する情報を格納
するロジカルチャネル制御テーブルである。又、制御テ
ーブル23は送信チャネル13に属する情報を格納するフィ
ジカルチャネル制御テーブルであり、制御テーブル24は
受信チャネル14に属する情報を格納するフィジカルチャ
ネル制御テーブルである。ロジカルチャネル制御テーブ
ルポインタ21内のリンクポインタ25は、フィジカルチャ
ネル制御テーブル23を指示し、ロジカルチャネル制御テ
ーブルポインタ22内のリンクポインタ26は、フィジカル
チャネル制御テーブル24を指示する。一方、フィジカル
チャネル制御テーブル23内のリンクポインタ27は、ロジ
カルチャネル制御テーブルポインタ21を指示し、フィジ
カルチャネル制御テーブル24内のリンクポインタ28は、
ロジカルチャネル制御テーブルポインタ22を指示する。FIG. 2 is a diagram showing the relationship of the control table at the normal time. The control table 21 is a logical channel control table that stores information that belongs to the logical channel 11, and the control table 22 is a logical channel control table that stores information that belongs to the logical channel 12. The control table 23 is a physical channel control table that stores information that belongs to the transmission channel 13, and the control table 24 is a physical channel control table that stores information that belongs to the reception channel 14. The link pointer 25 in the logical channel control table pointer 21 points to the physical channel control table 23, and the link pointer 26 in the logical channel control table pointer 22 points to the physical channel control table 24. On the other hand, the link pointer 27 in the physical channel control table 23 points to the logical channel control table pointer 21, and the link pointer 28 in the physical channel control table 24 is
Point the logical channel control table pointer 22.
第3図は半二重回線を制御する場合のうち、受信チャネ
ル14を制御する指令を実行する時における制御テーブル
の関係を示す図である。制御テーブル31、32、33、及び
34は、それぞれ第2図の制御テーブル21、22、23、及び
24と同種のものである。ロジカルチャネル制御テーブル
ポインタ31内のリンクポインタ35は、フィジカルチャネ
ル制御テーブル34を指示し、ロジカルチャネル制御テー
ブルポインタ32内のリンクポインタ36は、フィジカルチ
ャネル制御テーブル33を指示する。一方、フィジカルチ
ャネル制御テーブル33内のリンクポインタ37は、ロジカ
ルチャネル制御テーブルポインタ32を指示し、フィジカ
ルチャネル制御テーブル34内のリンクポインタ38は、ロ
ジカルチャネル制御テーブルポインタ31を指示する。FIG. 3 is a diagram showing the relationship of the control table when executing the command for controlling the reception channel 14 in the case of controlling the half-duplex line. Control tables 31, 32, 33, and
34 is the control tables 21, 22, 23, and 23 of FIG. 2, respectively.
Similar to 24. The link pointer 35 in the logical channel control table pointer 31 points to the physical channel control table 34, and the link pointer 36 in the logical channel control table pointer 32 points to the physical channel control table 33. On the other hand, the link pointer 37 in the physical channel control table 33 points to the logical channel control table pointer 32, and the link pointer 38 in the physical channel control table 34 points to the logical channel control table pointer 31.
全二重回線を制御する場合、指令が発行されるロジカル
チャネルは、既に述べたように、送信ならばロジカルチ
ャネル11、受信ならばロジカルチャネル12である。従っ
て、第2図に示す制御テーブルのリンクを行っていれ
ば、リンクポインタを辿ることにより、ロジカルチャネ
ル制御テーブル内のロジカルチャネル情報と、フィジカ
ルチャネル制御テーブル内の送信あるいは受信のフィジ
カルチャネル情報の対応が容易に行なえる。When controlling a full-duplex line, the logical channel to which a command is issued is the logical channel 11 for transmission and the logical channel 12 for reception, as described above. Therefore, if the control tables shown in FIG. 2 are linked, the correspondence between the logical channel information in the logical channel control table and the physical channel information of transmission or reception in the physical channel control table can be obtained by following the link pointer. Can be done easily.
一方、半二重回線を制御する場合、送信チャネル13を制
御する指令ならば、制御テーブルのリンクは第2図に示
す状態でよい。受信チャネル14を制御する指令ならば、
制御テーブルのリンクを第2図に示す状態から第3図に
示す状態へ変更する。これにより、全二重回線の時と同
様に、ロジカルチャネル制御テーブル内のロジカルチャ
ネル情報とフィジカルチャネル制御テーブル内のフィジ
カルチャネル情報とを容易に対応づけることができる。On the other hand, when controlling the half-duplex line, the link of the control table may be in the state shown in FIG. 2 as long as it is a command for controlling the transmission channel 13. If it is a command to control the reception channel 14,
The link of the control table is changed from the state shown in FIG. 2 to the state shown in FIG. This makes it possible to easily associate the logical channel information in the logical channel control table with the physical channel information in the physical channel control table, as in the case of the full-duplex line.
[発明の効果] 以上説明したように、本発明は、ロジカルチャネル制御
テーブルとフィジカルチャネル制御テーブルとを分離
し、両制御テーブルの対応づけを動的に変更可能な構成
とすることにより、ロジカルチャネルの制御とフィジカ
ルチャネルの制御を独立して扱うことができ、制御プロ
グラムが簡潔になるという効果がある。[Effects of the Invention] As described above, according to the present invention, the logical channel control table and the physical channel control table are separated, and the correspondence between the two control tables is dynamically changeable. And control of the physical channel can be handled independently, which has the effect of simplifying the control program.
第1図は本発明の一実施例による通信制御装置の構成を
示すブロック図、第2図は通常時の制御テーブルの関係
を示す図、第3図は半二重回線で受信チャネルを制御す
る時の制御テーブルの関係を示す図である。 11、12……ロジカルチャネル、13……送信チャネル、14
……受信チャネル、15……制御部、21、22、31、32……
ロジカルチャネル制御テーブル、23、24、33、34……フ
ィジカルチャネル制御テーブル、25、26、27、28、35、
36、37、38……リンクポインタ。FIG. 1 is a block diagram showing a configuration of a communication control device according to an embodiment of the present invention, FIG. 2 is a diagram showing a relation of a control table at a normal time, and FIG. 3 is a half-duplex line for controlling a receiving channel. It is a figure which shows the relationship of the control table at the time. 11, 12 …… logical channel, 13 …… sending channel, 14
...... Reception channel, 15 ...... Control section, 21, 22, 31, 32 ......
Logical channel control table, 23, 24, 33, 34 ... Physical channel control table, 25, 26, 27, 28, 35,
36, 37, 38 ... Link pointer.
Claims (1)
データの送信を行う送信チャネルと前記通信回線との間
でデータの受信を行う受信チャネルとの一対のフィジカ
ルチャネルにより構成されたフィジカルチャネル部と、
上位装置に接続され、該上位装置との間で指令及びデー
タの転送を行う機能をもつ一対のロジカルチャネルによ
り構成されるロジカルチャネル部と、前記一対のロジカ
ルチャネルの中の一つと前記送信チャネル又は受信チャ
ネルを一義的に対応させ、前記ロジカルチャネル毎に前
記上位装置より発行される指令に基づいて前記通信回線
との間でのデータ転送を制御プログラムの制御の下で行
う制御部とを有する通信制御装置であって、 前記制御部は、 前記制御プログラムが使用する情報の内、前記ロジカル
チャネルに属する情報を、存在するロジカルチャネル毎
に格納するロジカルチャネル制御テーブルと、 前記制御プログラムが使用する情報の内、前記フィジカ
ルチャネルに属する情報を、存在するフィジカルチャネ
ル毎に格納するフィジカルチャネル制御テーブルとを有
し、 指令が発行されたロジカルチャネルの前記ロジカルチャ
ネル制御テーブル内に、指令が実行されるフィジカルチ
ャネルの前記フィジカルチャネル制御テーブルを指示す
る第1のリンクポインタを有し、 指令が発行されるフィジカルチャネルの前記フィジカル
チャネル制御テーブル内に、指令が実行されたロジカル
チャネルの前記ロジカルチャネル制御テーブルを指示す
る第2のリンクポインタを有し、 前記制御部は、更に、 前記第1及び第2のリンクポインタを任意の時点で変更
可能な 手段を持つことを特徴とする通信制御装置。1. A pair of physical channels, which are connected to a communication line and configured to transmit data to and from the communication line and a reception channel to receive data from the communication line. Physical channel part,
A logical channel unit that is connected to a host device and is configured by a pair of logical channels having a function of transferring commands and data to and from the host device; one of the pair of logical channels and the transmission channel or Communication having a control unit that uniquely associates a receiving channel and performs data transfer with the communication line under the control of a control program based on a command issued from the host device for each logical channel In the control device, the control unit, among the information used by the control program, information belonging to the logical channel, a logical channel control table for storing each existing logical channel, and information used by the control program Of the physical channels that store the information belonging to the physical channel for each existing physical channel. And a first link pointer that points to the physical channel control table of the physical channel on which the command is executed, in the logical channel control table of the logical channel to which the command is issued, In the physical channel control table of the physical channel to which the command is issued, there is a second link pointer that points to the logical channel control table of the logical channel for which the command has been executed, and the control unit further includes: A communication control device having means for changing the first and second link pointers at any time.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62209174A JPH0683289B2 (en) | 1987-08-25 | 1987-08-25 | Communication control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62209174A JPH0683289B2 (en) | 1987-08-25 | 1987-08-25 | Communication control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6453655A JPS6453655A (en) | 1989-03-01 |
| JPH0683289B2 true JPH0683289B2 (en) | 1994-10-19 |
Family
ID=16568556
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62209174A Expired - Lifetime JPH0683289B2 (en) | 1987-08-25 | 1987-08-25 | Communication control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0683289B2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5860347A (en) * | 1981-10-06 | 1983-04-09 | Fujitsu Ltd | Communication controller |
| JPS62151009A (en) * | 1985-12-25 | 1987-07-06 | Nec Corp | Digital notch filter |
-
1987
- 1987-08-25 JP JP62209174A patent/JPH0683289B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6453655A (en) | 1989-03-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5063494A (en) | Programmable data communications controller | |
| JPS5668859A (en) | Communication system between computer systems | |
| US5163156A (en) | Method for distributing messages through a mapping table which includes for each originating device a sequential list of corresponding destination devices | |
| KR920008452B1 (en) | Bus architecture apt to data communication | |
| JPH0683289B2 (en) | Communication control device | |
| KR910008451B1 (en) | Method for data exchange between a first and second processor | |
| JPS63314045A (en) | Communication controller | |
| JPS6133296B2 (en) | ||
| JPH02168758A (en) | Communication controller | |
| JPH055414B2 (en) | ||
| CA1328928C (en) | Computer communication arrangement | |
| JPS63173948U (en) | ||
| JPS5934748A (en) | Executing system of transmitting statement | |
| JPS62132456A (en) | data transmission equipment | |
| JPH0467823B2 (en) | ||
| JPH0775345B2 (en) | Serial interface | |
| EP0390085A3 (en) | Method and system for controlling transmission of image data | |
| JPS6055463A (en) | Multiprocessor system | |
| JPS6468156A (en) | Data transfer system | |
| JPS57178533A (en) | Data transmission controlling interface with memory | |
| JPH0227843A (en) | Programmable controller | |
| JPS60135905U (en) | programmable controller system | |
| JPH0334148U (en) | ||
| JPH01232856A (en) | Communication control device | |
| JPS55147057A (en) | Communication controlling system |