JPH088977A - Data communication equipment - Google Patents

Data communication equipment

Info

Publication number
JPH088977A
JPH088977A JP15678694A JP15678694A JPH088977A JP H088977 A JPH088977 A JP H088977A JP 15678694 A JP15678694 A JP 15678694A JP 15678694 A JP15678694 A JP 15678694A JP H088977 A JPH088977 A JP H088977A
Authority
JP
Japan
Prior art keywords
buffer
optical communication
communication
area
transmission data
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.)
Withdrawn
Application number
JP15678694A
Other languages
Japanese (ja)
Inventor
Nobuyoshi Furuhata
信義 降旗
Junichi Shimizu
純一 清水
Koji Suzuki
公司 鈴木
Masahiro Watanabe
政博 渡辺
Takami Shiromizu
隆美 白水
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.)
Hitachi Microcomputer System Ltd
Hitachi Ltd
Victor Company of Japan Ltd
Original Assignee
Hitachi Microcomputer System Ltd
Hitachi Ltd
Victor Company of Japan 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 Hitachi Microcomputer System Ltd, Hitachi Ltd, Victor Company of Japan Ltd filed Critical Hitachi Microcomputer System Ltd
Priority to JP15678694A priority Critical patent/JPH088977A/en
Publication of JPH088977A publication Critical patent/JPH088977A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To improve efficiency of a buffer and to improve cost performance by optimizing the ratio of an area where the transmission data of the buffer is stored and an area where the reception data is stored according to a communication form. CONSTITUTION:The communication processing part NPU of an optical communication-modem OMOD is provided with two channels as a multiprotocol serial communication interface MSCI and an asynchronous serial communication interface CSIO and is provided with a DMA controller DMAC. The NPU selectively switches the volume ratio of an area to be used as the transmission data buffer TDB of the buffer memory BH of a RAM and an area to be used as a reception data buffer RDB and optimizes the ratio, according to the function or the communication form of a device in use and an opposite device.

Description

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

【0001】[0001]

【産業上の利用分野】この発明はデータ通信装置に関
し、例えば、その伝送経路として赤外線を利用した光通
信システムの光通信モデムに利用して特に有効な技術に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication device, and more particularly to a technique which is particularly effective when applied to an optical communication modem of an optical communication system using infrared rays as its transmission path.

【0002】[0002]

【従来の技術】送信データ又は受信データが一時的に格
納されるバッファを備え、複数の通信プロトコルに対応
しうる通信用LSI(大規模集積回路装置)がある。ま
た、このような通信用LSIを含み、その伝送経路に赤
外線を用いた光通信システムの網インタフェース装置と
して設けられる光通信モデムがある。
2. Description of the Related Art There is a communication LSI (large-scale integrated circuit device) which has a buffer for temporarily storing transmission data or reception data and is compatible with a plurality of communication protocols. Further, there is an optical communication modem including such a communication LSI and provided as a network interface device of an optical communication system using infrared rays in its transmission path.

【0003】バッファを備える通信用LSIについて
は、例えば、平成2年7月、株式会社日立製作所発行の
『HD64570 SCAハードウエアマニュアル』第
3頁〜第6頁に記載されている。
A communication LSI provided with a buffer is described, for example, on pages 3 to 6 of "HD64570 SCA Hardware Manual" issued by Hitachi, Ltd. in July, 1990.

【0004】[0004]

【発明が解決しようとする課題】上記に記載される従来
の通信用LSI等において、送信データ又は受信データ
が格納されるバッファは、図6に示されるように、例え
ばランダムアクセスメモリRAMのバッファメモリBM
として割り当てられた所定容量の領域を用いることによ
り実現される。このバッファメモリBMは、通信用LS
Iが含まれる光通信モデム又は対応する端末装置等の機
能及び通信形態にかかわらず、その二分の一が固定的に
送信データ格納用の送信データバッファTDBとされ、
二分の一が受信データ格納用の受信データバッファRD
Bとされる。このため、例えば光通信モデム又は対応す
る端末装置が送信専用又は受信専用装置とされる場合、
バッファメモリBMの二分の一の領域は全く使用されな
い無駄なものとなる。この結果、バッファメモリBMの
使用効率が低下し、光通信モデムひいては光通信システ
ム等のコスト・パフォーマンス比が低下するという問題
が生じる。
In the conventional communication LSI or the like described above, the buffer for storing the transmission data or the reception data is, for example, a buffer memory of a random access memory RAM as shown in FIG. BM
It is realized by using an area of a predetermined capacity allocated as This buffer memory BM is an LS for communication.
Regardless of the function and communication form of the optical communication modem including I or the corresponding terminal device, one half thereof is fixed as the transmission data buffer TDB for storing transmission data,
Half the received data buffer RD for storing received data
B. Therefore, for example, when the optical communication modem or the corresponding terminal device is a transmission-only or reception-only device,
A half area of the buffer memory BM is wasted because it is not used at all. As a result, the use efficiency of the buffer memory BM is reduced, and the cost / performance ratio of the optical communication modem and eventually the optical communication system is deteriorated.

【0005】この発明の目的は、バッファの使用効率を
高め、光通信モデムひいては光通信システム等のコスト
・パフォーマンス比を高めることにある。
An object of the present invention is to improve the use efficiency of the buffer and to improve the cost / performance ratio of the optical communication modem and eventually the optical communication system.

【0006】この発明の前記ならびにその他の目的と新
規な特徴は、この明細書の記述及び添付図面から明らか
になるであろう。
The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

【0007】[0007]

【課題を解決するための手段】本願において開示される
発明のうち代表的なものの概要を簡単に説明すれば、次
の通りである。すなわち、バッファを備える光通信モデ
ム等のデータ通信装置において、バッファの送信データ
が格納される領域と受信データが格納される領域との容
量比率を、自装置又は相手装置の機能又は通信形態に応
じて選択的に切り換えるとともに、自装置又は相手装置
の機能及び通信形態を、その識別コードにより判定しあ
るいは両装置間のネゴシェーションにより決定する。
The outline of the representative one of the inventions disclosed in the present application will be briefly described as follows. That is, in a data communication device such as an optical communication modem equipped with a buffer, the capacity ratio between the area where the transmission data of the buffer is stored and the area where the reception data is stored depends on the function or communication form of the own device or the partner device. In addition to the selective switching, the function and communication form of the own device or the other device is determined by its identification code or by negotiation between both devices.

【0008】[0008]

【作用】上記した手段によれば、バッファの送信データ
が格納される領域と受信データが格納される領域との容
量比率を、自装置又は相手装置の機能又は通信形態に応
じて最適化できるため、例えば自装置又は相手装置が送
信専用装置又は受信専用装置とされる場合でも、バッフ
ァの全領域を無駄なく使用することができる。この結
果、バッファの使用効率を高め、光通信モデムひいては
光通信システム等のコスト・パフォーマンス比を高める
ことができる。
According to the above-mentioned means, the capacity ratio of the area of the buffer in which the transmission data is stored and the area of the buffer in which the reception data is stored can be optimized in accordance with the function or communication mode of the own device or the other device. For example, even when the own device or the partner device is the transmission-only device or the reception-only device, the entire area of the buffer can be used without waste. As a result, the use efficiency of the buffer can be improved, and the cost / performance ratio of the optical communication modem and the optical communication system can be improved.

【0009】[0009]

【実施例】図1には、この発明が適用された光通信モデ
ムを含む光通信システムの一実施例のシステム構成図が
示されている。同図をもとに、まずこの実施例の光通信
モデムを含む光通信システムの構成及び動作の概要につ
いて説明する。
1 is a system configuration diagram of an embodiment of an optical communication system including an optical communication modem to which the present invention is applied. An outline of the configuration and operation of an optical communication system including the optical communication modem of this embodiment will be described first with reference to FIG.

【0010】図1において、この実施例の光通信システ
ムは、特に制限されないが、その伝送経路として赤外線
を用いた光通信網ONW1をその基本構成要素とする。
この光通信網ONW1には、赤外線による光通信回線O
Lを介して6個の光通信モデムOMODが結合され、こ
れらの光通信モデムOMODには、RS−232Cイン
タフェース(RS−232C)を介して、対応する端末
装置つまりパーソナルコンピュータPC1及びPC2,
ワークステーションWS1,XYプロッタXYP,ゲー
トウェイGW1ならびにプリンタPR1がそれぞれ結合
される。これにより、これらの端末装置は物理的なケー
ブルを介することなく互いに結合され、一つのローカル
エリアネットワークを構成する。
In FIG. 1, the optical communication system of this embodiment is not particularly limited, but has an optical communication network ONW1 which uses infrared rays as its transmission path as its basic constituent element.
This optical communication network ONW1 has an infrared optical communication line O.
Six optical communication modems OMOD are coupled via L, and these optical communication modems OMOD are connected to corresponding terminal devices, that is, personal computers PC1 and PC2, via an RS-232C interface (RS-232C).
The workstations WS1, XY plotter XYP, gateway GW1 and printer PR1 are respectively connected. As a result, these terminal devices are coupled to each other without a physical cable to form one local area network.

【0011】この実施例において、ゲートウェイGW1
は、特に制限されないが、上記ワークステーションWS
と同等な端末装置によって構成され、例えばディジタル
通信網DNW等のような他の通信網とのインタフェース
装置として機能する。ゲートウェイGW1の他方は、デ
ィジタル通信回線DLを介してディジタル通信網DNW
に結合され、さらにこのディジタル通信網DNWは、デ
ィジタル通信回線DLを介してもう一つの光通信網ON
W2を構成するゲートウェイGW2に結合される。ゲー
トウェイGW2は、その他方においてRS−232Cイ
ンタフェースを介して対応する光通信モデムOMODに
結合され、この光通信モデムは、対応する光通信回線O
Lを介して光通信網ONW2に結合される。光通信網O
NW2には、さらに3個の光通信モデムOMODが結合
され、これらの光通信モデムOMODには、RS−23
2Cインタフェースを介してパーソナルコンピュータP
C3及びPC4ならびにプリンタPR2がそれぞれ結合
される。
In this embodiment, the gateway GW1
Is not particularly limited, but the workstation WS
It is constituted by a terminal device equivalent to, and functions as an interface device with another communication network such as a digital communication network DNW. The other side of the gateway GW1 is connected to the digital communication network DNW via the digital communication line DL.
And the digital communication network DNW is connected to another optical communication network via the digital communication line DL.
It is coupled to the gateway GW2 that constitutes W2. The gateway GW2 is otherwise coupled via an RS-232C interface to a corresponding optical communication modem OMOD, which corresponds to the corresponding optical communication line OMOD.
It is coupled to the optical communication network ONW2 via L. Optical communication network O
Three optical communication modems OMOD are further coupled to the NW2, and RS-23 and RS-23 are connected to these optical communication modems OMOD.
Personal computer P via 2C interface
C3 and PC4 and printer PR2 are respectively coupled.

【0012】図2には、図1の光通信システムに含まれ
る光通信モデムOMODの一実施例のブロック図が示さ
れている。同図をもとに、この実施例の光通信モデムO
MODの構成及び動作の概要について説明する。なお、
光通信モデムOMODの各ブロックを構成する回路素子
は、特に制限されないが、所定の組み合わせをもって数
個の半導体基板上に形成され、これらの半導体基板を基
本に構成される複数の集積回路装置は、共通のボード上
に搭載される。
FIG. 2 is a block diagram of an embodiment of the optical communication modem OMOD included in the optical communication system of FIG. Based on the figure, the optical communication modem O of this embodiment
An outline of the configuration and operation of the MOD will be described. In addition,
The circuit elements forming each block of the optical communication modem OMOD are not particularly limited, but a plurality of integrated circuit devices formed on a plurality of semiconductor substrates with a predetermined combination and configured based on these semiconductor substrates are It is mounted on a common board.

【0013】図2において、この実施例の光通信モデム
OMODは、いわゆるストアドプログラム方式の通信処
理部NPUをその基本構成要素とする。この通信処理部
NPUは、マルチプロトコルシリアル通信インタフェー
スMSCIと、非同期シリアル通信インタフェースAS
CI又はクロックドシリアル入出力インタフェースCS
IOとして兼用される二つのチャンネルを備え、さらに
DMA(ダイレクトメモリアクセス)コントローラDM
ACを備える。このうち、非同期シリアル通信インタフ
ェースASCIは、RS−232Cインタフェースを介
して対応する端末装置つまりパーソナルコンピュータP
C1等に結合され、クロックドシリアル入出力インタフ
ェースCSIOは、光通信モデムOMODの動作モード
や識別コードID等を記憶するためのEEPROM(電
気的に消去・書き換え可能なリードオンリーメモリ)に
結合される。
In FIG. 2, the optical communication modem OMOD of this embodiment has a so-called stored program type communication processing unit NPU as its basic constituent element. The communication processing unit NPU includes a multi-protocol serial communication interface MSCI and an asynchronous serial communication interface AS.
CI or clocked serial I / O interface CS
Equipped with two channels that are also used as IO, and DMA (Direct Memory Access) controller DM
Equipped with AC. Among them, the asynchronous serial communication interface ASCI is a corresponding terminal device, that is, the personal computer P via the RS-232C interface.
The clocked serial input / output interface CSIO is coupled to C1 and the like, and is coupled to an EEPROM (electrically erasable / rewritable read-only memory) for storing the operation mode of the optical communication modem OMOD, the identification code ID, and the like. .

【0014】一方、DMAコントローラDMACは、光
通信モデムOMODの内部バスIBUSに結合され、こ
の内部バスIBUSには、特に制限されないが、さらに
リードオンリーメモリROM,ランダムアクセスメモリ
RAM,スイッチSW1ならびに周辺制御部PECが結
合される。周辺制御部PECは、光変復調部MODに結
合されるとともに、スイッチSW2,液晶表示部LED
ならびにブザーBUZに結合される。また、マルチプロ
トコルシリアル通信インタフェースMSCIは光変復調
部MODに結合され、この光変復調部MODは、上記周
辺制御部PECに結合されるとともに、発光部OT及び
受光部ORに結合される。
On the other hand, the DMA controller DMAC is coupled to the internal bus IBUS of the optical communication modem OMOD, and the internal bus IBUS is not particularly limited, but the read-only memory ROM, the random access memory RAM, the switch SW1 and the peripheral control are further provided. The parts PEC are combined. The peripheral control unit PEC is coupled to the optical modulation / demodulation unit MOD and also includes the switch SW2 and the liquid crystal display unit LED.
And the buzzer BUZ. Further, the multi-protocol serial communication interface MSCI is coupled to the optical modulation / demodulation unit MOD, and this optical modulation / demodulation unit MOD is coupled to the peripheral control unit PEC, and is also coupled to the light emitting unit OT and the light receiving unit OR.

【0015】ここで、通信処理部NPUは、予めリード
オンリーメモリROMに格納された制御プログラムに従
ってプロトコル制御や通信制御を行うとともに、光通信
モデムOMODの各部を制御・統轄する。また、リード
オンリーメモリROMは、所定の記憶容量を有するマス
クROM等からなり、通信処理部NPUのプロトコル制
御や通信制御に必要な制御プログラム及び固定データ等
を格納する。さらに、ランダムアクセスメモリRAM
は、所定の記憶容量を有するスタティック型RAM等か
らなり、後述するように、送信データ又は受信データを
一時的に格納するためのバッファメモリBMやそのポイ
ンタとなるワークメモリWMに供される。さらに、スイ
ッチSW1は、通信処理部NPUの動作を強制的に停止
するためのブレークスイッチや動作再開のためのリスタ
ートスイッチ等を含み、周辺制御部PECは、ディップ
スイッチからなるスイッチSW2や液晶表示部LED,
ブザーBUZならびに光変復調部MOD等との間の入出
力制御を行う。
Here, the communication processing unit NPU performs protocol control and communication control according to a control program stored in advance in the read-only memory ROM, and also controls and controls each unit of the optical communication modem OMOD. Further, the read-only memory ROM is composed of a mask ROM or the like having a predetermined storage capacity, and stores control programs and fixed data necessary for protocol control and communication control of the communication processing unit NPU. Furthermore, random access memory RAM
Is composed of a static RAM or the like having a predetermined storage capacity, and is used as a buffer memory BM for temporarily storing transmission data or reception data and a work memory WM as a pointer thereof as described later. Further, the switch SW1 includes a break switch for forcibly stopping the operation of the communication processing unit NPU, a restart switch for restarting the operation, and the like, and the peripheral control unit PEC includes a switch SW2 including a dip switch and a liquid crystal display. LED,
Input / output control is performed between the buzzer BUZ and the optical modulator / demodulator MOD.

【0016】一方、光変復調部MODは、通信処理部N
PUから供給される送信データを変調した後、発光部O
Tから赤外線信号URとして光通信網ONW1等に出力
するとともに、光通信網ONW1等から受光部ORを介
して入力される受信データを復調し、通信処理部NPU
に伝達する。
On the other hand, the optical modulation / demodulation unit MOD includes a communication processing unit N.
After modulating the transmission data supplied from the PU, the light emitting unit O
The infrared signal UR is output from T to the optical communication network ONW1 and the like, and the received data input from the optical communication network ONW1 and the like via the light receiving unit OR is demodulated, and the communication processing unit NPU
To communicate.

【0017】ところで、ランダムアクセスメモリRAM
は、前述のように、送信データ及び受信データが一時的
に格納されるバッファメモリBMを含み、このバッファ
メモリBMは、送信データが格納される送信データバッ
ファTDBと、受信データが格納される受信データバッ
ファRDBとに分割される。この実施例において、通信
処理部NPUは、後述するように、ランダムアクセスメ
モリRAMのバッファメモリBMの送信データバッファ
TDBとして用いられる領域と受信データバッファRD
Bとして用いられる領域との容量比率を自装置又は相手
装置の機能又は通信形態に応じて選択的に切り換えるた
めの機能を備える。
By the way, random access memory RAM
As described above, includes the buffer memory BM in which the transmission data and the reception data are temporarily stored. The buffer memory BM includes the transmission data buffer TDB in which the transmission data is stored and the reception data in which the reception data is stored. It is divided into a data buffer RDB. In this embodiment, as will be described later, the communication processing unit NPU has an area used as a transmission data buffer TDB of the buffer memory BM of the random access memory RAM and a reception data buffer RD.
A function is provided for selectively switching the capacity ratio with the area used as B according to the function or communication mode of the own device or the other device.

【0018】図3には、図2の光通信モデムOMODの
バッファ割付処理の第1実施例のフロー図が示されてい
る。また、図4には、図3のバッファ割付処理を説明す
るための概念図が示されている。これらの図をもとに、
この実施例の光通信モデムのバッファ割付処理の概要と
その特徴について説明する。
FIG. 3 shows a flow chart of the first embodiment of the buffer allocation process of the optical communication modem OMOD of FIG. Further, FIG. 4 shows a conceptual diagram for explaining the buffer allocation process of FIG. Based on these figures,
The outline and the features of the buffer allocation process of the optical communication modem of this embodiment will be described.

【0019】この実施例の光通信モデムOMODは、前
述のように、ランダムアクセスメモリRAMを備え、ラ
ンダムアクセスメモリRAMの所定の領域は、送信デー
タ及び受信データが一時的に格納されるバッファメモリ
BMとして供される。バッファメモリBMは、所定の容
量とされ、その記憶領域は、送信データが格納される送
信データバッファTDBと、受信データが格納される受
信データバッファRDBとに分割されていた。しかし、
この実施例において、光通信モデムOMODの通信処理
部NPUは、自装置つまりは光通信モデムOMOD又は
これが結合される端末装置あるいは相手装置つまりは通
信相手となる光通信モデムOMOD又はそれが結合され
る端末装置の機能又は通信形態に応じて、バッファメモ
リBMの送信データバッファTDBとして用いられる領
域と受信データバッファRDBとして用いられる領域と
の容量比率を選択的に切り換える機能を有する。
The optical communication modem OMOD of this embodiment is provided with the random access memory RAM as described above, and the predetermined area of the random access memory RAM is the buffer memory BM in which the transmission data and the reception data are temporarily stored. Served as. The buffer memory BM has a predetermined capacity, and its storage area is divided into a transmission data buffer TDB for storing transmission data and a reception data buffer RDB for storing reception data. But,
In this embodiment, the communication processing unit NPU of the optical communication modem OMOD is its own device, that is, the optical communication modem OMOD, or a terminal device to which it is connected, or a partner device, that is, the optical communication modem OMOD that is a communication partner, or it is connected to it. It has a function of selectively switching the capacity ratio between the area used as the transmission data buffer TDB and the area used as the reception data buffer RDB of the buffer memory BM according to the function or communication form of the terminal device.

【0020】すなわち、通信処理部NPUは、図3に示
されるように、まずステップST11により、EEPR
OMから自装置の識別コードIDを読み出し、ステップ
ST12により、読み出された識別コードIDをもとに
自装置の機能及び通信形態を判定する。この結果、自装
置が送信専用装置とされる場合、ステップST13によ
り、送信データバッファTDBと受信データバッファR
DBの容量比率を100:0とし、図4(A)に示され
るように、バッファメモリBMの全領域を送信データバ
ッファTDBとして割り付ける。また、自装置が送信及
び受信装置とされる場合、ステップST14により、送
信データバッファTDBと受信データバッファRDBの
容量比率を50:50とし、図4(B)に示されるよう
に、バッファメモリBMの記憶領域を送信データバッフ
ァTDB及び受信データバッファRDBに二等分して割
り付ける。そして、自装置が受信専用装置とされる場合
には、ステップST15により、送信データバッファT
DBと受信データバッファRDBの容量比率を0:10
0とし、図4(C)に示されるように、バッファメモリ
BMの全領域を受信データバッファRDBとして割り付
ける。
That is, as shown in FIG. 3, the communication processing unit NPU first executes EEPR in step ST11.
The identification code ID of the own device is read from the OM, and in step ST12, the function and communication form of the own device are determined based on the read identification code ID. As a result, when the device is a transmission-only device, the transmission data buffer TDB and the reception data buffer R are processed in step ST13.
Assuming that the DB capacity ratio is 100: 0, the entire area of the buffer memory BM is allocated as the transmission data buffer TDB as shown in FIG. Further, when the own device is the transmission and reception device, the capacity ratio of the transmission data buffer TDB and the reception data buffer RDB is set to 50:50 in step ST14, and the buffer memory BM is set as shown in FIG. The storage area of is divided into the transmission data buffer TDB and the reception data buffer RDB, and is divided into two equal parts. Then, when the own device is set as the reception-only device, the transmission data buffer T
Set the capacity ratio between DB and receive data buffer RDB to 0:10.
As shown in FIG. 4C, the entire area of the buffer memory BM is allocated as the reception data buffer RDB.

【0021】一方、自装置の識別コードIDによって送
信データバッファTDB及び受信データバッファRDB
の容量比率を50:50とした通信処理部NPUは、さ
らに相手装置が決定した段階で、ステップST16によ
り、例えば相手装置の光通信モデムOMODのEEPR
OMから光通信網ONW1を介して相手装置の識別コー
ドIDを抽出し、ステップST17により、抽出された
識別コードIDをもとに相手装置の機能及び通信形態を
判定する。この結果、相手装置が受信専用装置とされる
場合、ステップST18により、送信データバッファT
DBと受信データバッファRDBの容量比率を100:
0として、自身のバッファメモリBMの全領域を送信デ
ータバッファTDBとして割り付けしなおす。また、相
手装置が送信専用装置とされる場合には、ステップST
19により、送信データバッファTDBと受信データバ
ッファRDBの容量比率を0:100とし、自身のバッ
ファメモリBMの全領域を受信データバッファRDBと
して割り付けしなおす。なお、相手装置が送信及び受信
装置とされる場合、送信データバッファTDB及び受信
データバッファRDBの容量比率はそのまま50:50
とされる。
On the other hand, a transmission data buffer TDB and a reception data buffer RDB according to the identification code ID of the own device.
The communication processing unit NPU having the capacity ratio of 50:50, at the stage when the partner device is further determined, executes, in step ST16, for example, the EEPR of the optical communication modem OMOD of the partner device.
The identification code ID of the partner device is extracted from the OM via the optical communication network ONW1, and in step ST17, the function and communication form of the partner device are determined based on the extracted identification code ID. As a result, when the partner device is a reception-only device, the transmission data buffer T
The capacity ratio between the DB and the reception data buffer RDB is 100:
As a result, the entire area of its own buffer memory BM is reassigned as the transmission data buffer TDB. If the partner device is a transmission-only device, step ST
By 19, the capacity ratio between the transmission data buffer TDB and the reception data buffer RDB is set to 0: 100, and the entire area of its own buffer memory BM is reallocated as the reception data buffer RDB. When the partner device is the transmission and reception device, the capacity ratio of the transmission data buffer TDB and the reception data buffer RDB remains 50:50.
It is said.

【0022】以上の結果、この実施例の光通信モデムO
MODでは、バッファメモリBMの送信データバッファ
TDBとして用いられる領域と受信データバッファRD
Bとして用いられる領域との容量比率を、自装置又は相
手装置の機能又は通信形態に応じて最適化できるため、
例えば自装置又は相手装置が送信専用装置又は受信専用
装置とされる場合でも、バッファの全領域を無駄なく使
用することができる。この結果、バッファの使用効率を
高め、光通信モデムひいては光通信システム等のコスト
・パフォーマンス比を高めることができるものである。
As a result of the above, the optical communication modem O of this embodiment is
In the MOD, the area used as the transmission data buffer TDB of the buffer memory BM and the reception data buffer RD
Since the capacity ratio with the area used as B can be optimized according to the function or communication form of the own device or the other device,
For example, even when the own device or the partner device is a transmission-only device or a reception-only device, the entire area of the buffer can be used without waste. As a result, the use efficiency of the buffer can be improved, and the cost / performance ratio of the optical communication modem and the optical communication system can be improved.

【0023】以上の本実施例に示されるように、この発
明をその伝送経路として赤外線を用いた光通信システム
の光通信モデム等のデータ通信装置に適用することで、
次のような作用効果が得られる。すなわち、 (1)バッファを備える光通信モデム等のデータ通信装
置において、バッファの送信データが格納される領域と
受信データが格納される領域との容量比率を、自装置又
は相手装置の機能又は通信形態に応じて選択的に切り換
えるとともに、自装置又は相手装置の機能及び通信形態
を、その識別コードにより判定しあるいは両装置間のネ
ゴシェーションにより決定することで、バッファの送信
データが格納される領域と受信データが格納される領域
との容量比率を、自装置又は相手装置の機能又は通信形
態に応じて最適化できるという効果が得られる。 (2)上記(1)項により、例えば自装置又は相手装置
が送信専用装置又は受信専用装置とされる場合でも、バ
ッファの全領域を無駄なく使用することができるという
効果が得られる。 (3)上記(1)項及び(2)項により、バッファの使
用効率を高め、光通信モデムひいては光通信システム等
のコスト・パフォーマンス比を高めることができるとい
う効果が得られる。
As shown in the above embodiment, the present invention is applied to a data communication device such as an optical communication modem of an optical communication system using infrared rays as its transmission path.
The following effects can be obtained. That is, (1) In a data communication device such as an optical communication modem equipped with a buffer, the capacity ratio between the region in the buffer where transmission data is stored and the region where reception data is stored is defined as the function or communication of the own device or the partner device. The transmission data in the buffer is stored by selectively switching according to the form and determining the function and communication form of the own device or the partner device by its identification code or by negotiating between the two devices. It is possible to obtain the effect that the capacity ratio between the area and the area in which the received data is stored can be optimized according to the function or communication mode of the own device or the other device. (2) According to the above item (1), it is possible to obtain the effect that the entire area of the buffer can be used without waste even when the own device or the partner device is the transmission-only device or the reception-only device. (3) According to the above items (1) and (2), it is possible to improve the efficiency of use of the buffer and increase the cost / performance ratio of the optical communication modem and the optical communication system.

【0024】以上、本発明者によってなされた発明を実
施例に基づき具体的に説明したが、この発明は、上記実
施例に限定されるものではなく、その要旨を逸脱しない
範囲で種々変更可能であることは言うまでもない。例え
ば、図1において、光通信システムは、その伝送経路と
して赤外線以外の光通信手段を用いることができる。ま
た、各光通信モデムOMODと対応する端末装置との間
の結合には、RS−232C以外のインタフェース規格
を用いることができる。光通信モデムOMODのそれぞ
れは、対応する端末装置に内蔵されるものとしてもよ
い。光通信システムは、ゲートウェイGW1及びGW2
を介してディジタル通信網DNWに結合されることを必
須条件とはしないし、複数の光通信網を含む必要もな
い。さらに、光通信システムの網構成や各光通信網に結
合される端末装置の種別及び数ならびにその接続形式等
は、この実施例による制約を受けない。
The invention made by the inventor of the present invention has been specifically described based on the embodiments, but the invention is not limited to the above-mentioned embodiments, and various modifications can be made without departing from the scope of the invention. Needless to say. For example, in FIG. 1, the optical communication system can use optical communication means other than infrared rays as its transmission path. Also, an interface standard other than RS-232C can be used for coupling between each optical communication modem OMOD and the corresponding terminal device. Each of the optical communication modems OMOD may be built in a corresponding terminal device. The optical communication system includes gateways GW1 and GW2.
It is not essential to be coupled to the digital communication network DNW via the network, and it is not necessary to include a plurality of optical communication networks. Furthermore, the network configuration of the optical communication system, the type and number of terminal devices coupled to each optical communication network, the connection format, and the like are not restricted by this embodiment.

【0025】図2において、光通信モデムOMODは、
バッファメモリBMとして専用化されたランダムアクセ
スメモリを含むことができる。また、通信処理部NPU
は、任意数のチャンネルを備えることができるし、光通
信モデムOMODのブロック構成や接続形式等は、種々
の実施形態を採りうる。
In FIG. 2, the optical communication modem OMOD is
The buffer memory BM may include a dedicated random access memory. Also, the communication processing unit NPU
Can have an arbitrary number of channels, and the block configuration and connection format of the optical communication modem OMOD can adopt various embodiments.

【0026】図3及び図4において、ステップST14
における送信データバッファTDB及び受信データバッ
ファRDBの容量比率は、例えば自装置及び相手装置の
伝送レートやデータ量に応じて任意に設定することがで
きる。また、自装置及び相手装置の機能及び通信形態の
判定は、図5のステップST26及びST27に例示さ
れるように、相手装置との協議つまりネゴシェーション
によって行うことができる。送信データバッファTDB
及び受信データバッファRDBの容量比率は、例えば制
御レジスタの特定ビットを書き換えることにより切り換
えられるようにしてもよい。さらに、ステップST12
又はST22における自装置の機能及び通信形態の判定
は、ディップスイッチ等によりハードウエア的に行うこ
とができるし、バッファ割付処理の具体的手順は、種々
の実施形態を採りうる。
3 and 4, step ST14
The capacity ratio between the transmission data buffer TDB and the reception data buffer RDB in can be set arbitrarily according to the transmission rate and the data amount of the own device and the partner device, for example. Further, the determination of the function and communication form of the own device and the partner device can be performed by consultation with the partner device, that is, negotiation, as illustrated in steps ST26 and ST27 of FIG. Transmission data buffer TDB
The capacity ratio of the reception data buffer RDB may be switched by, for example, rewriting a specific bit of the control register. Furthermore, step ST12
Alternatively, the determination of the function and communication form of the own device in ST22 can be performed by hardware using a DIP switch or the like, and the concrete procedure of the buffer allocation process can adopt various embodiments.

【0027】以上の説明では、主として本発明者によっ
てなされた発明をその背景となった利用分野である光通
信システムの光通信モデムに適用した場合について説明
したが、それに限定されるものではなく、例えば、物理
的なケーブルを伝送経路とする各種の通信システムやそ
のデータ通信装置にも適用できる。この発明は、少なく
とも送信データ又は受信データが格納されるバッファを
備えるデータ通信装置ならびにこのようなデータ通信装
置を含むシステムに広く適用できる。
In the above description, the case where the invention made by the present inventor is mainly applied to the optical communication modem of the optical communication system which is the background field of application has been described, but the present invention is not limited thereto. For example, it can be applied to various communication systems using a physical cable as a transmission path and data communication devices thereof. INDUSTRIAL APPLICABILITY The present invention can be widely applied to a data communication device including a buffer in which at least transmission data or reception data is stored, and a system including such a data communication device.

【0028】[0028]

【発明の効果】本願において開示される発明のうち代表
的なものによって得られる効果を簡単に説明すれば、下
記の通りである。すなわち、バッファを備える光通信モ
デム等のデータ通信装置において、バッファの送信デー
タが格納される領域と受信データが格納される領域の容
量比率を、自装置又は相手装置の機能又は通信形態に応
じて選択的に切り換えるとともに、自装置又は相手装置
の機能及び通信形態を、その識別コードにより判定しあ
るいは両装置間のネゴシェーションにより決定すること
で、バッファの送信データが格納される領域と受信デー
タが格納される領域との容量比率を、自装置又は相手装
置の機能又は通信形態に応じて最適化することができる
ため、例えば自装置又は相手装置が送信専用装置又は受
信専用装置とされる場合でも、バッファの全領域を無駄
なく使用することができる。この結果、バッファの使用
効率を高め、光通信モデムひいては光通信システム等の
コスト・パフォーマンス比を高めることができる。
The effects obtained by the typical ones of the inventions disclosed in the present application will be briefly described as follows. That is, in a data communication device such as an optical communication modem equipped with a buffer, the capacity ratio of the region of the buffer where transmission data is stored and the region where reception data is stored is determined according to the function or communication mode of the own device or the partner device. By selectively switching and determining the function and communication mode of the own device or the other device by its identification code or by negotiating between the two devices, the area where the transmission data of the buffer is stored and the reception data Since the capacity ratio with the area where is stored can be optimized according to the function or communication form of the own device or the other device, for example, when the own device or the other device is a transmission-only device or a reception-only device However, the entire area of the buffer can be used without waste. As a result, the use efficiency of the buffer can be improved, and the cost / performance ratio of the optical communication modem and the optical communication system can be improved.

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

【図1】この発明が適用された光通信モデムを含む光通
信システムの一実施例を示すシステム構成図である。
FIG. 1 is a system configuration diagram showing an embodiment of an optical communication system including an optical communication modem to which the present invention is applied.

【図2】図1の光通信システムに含まれる光通信モデム
の一実施例を示すブロック図である。
2 is a block diagram showing an embodiment of an optical communication modem included in the optical communication system of FIG.

【図3】図2の光通信モデムのバッファ割付処理の第1
実施例を示すフロー図である。
FIG. 3 is a first buffer allocation process of the optical communication modem shown in FIG.
It is a flowchart which shows an Example.

【図4】図3のバッファ割付処理を説明するための概念
図である。
FIG. 4 is a conceptual diagram for explaining the buffer allocation process of FIG.

【図5】図2の光通信モデムのバッファ割付処理の第2
実施例を示すフロー図である。
5 is a second buffer allocation process of the optical communication modem shown in FIG.
It is a flowchart which shows an Example.

【図6】この発明に先立って本願発明者等が開発した光
通信モデムのバッファ割付処理を説明するための概念図
である。
FIG. 6 is a conceptual diagram for explaining buffer allocation processing of the optical communication modem developed by the inventors of the present application prior to the present invention.

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

ONW1〜ONW2・・・光通信網、OL・・・光通信
回線、OMOD・・・光通信モデム、RS−232C・
・・RS−232Cインタフェース、DNW・・・ディ
ジタル通信網、DL・・・ディジタル通信回線、PC1
〜PC4・・・パーソナルコンピュータ、WS・・・ワ
ークステーション、XYP・・・XYプロッタ、PR1
〜PR2・・・プリンタ、GW1〜GW2・・・ゲート
ウェイ。NPU・・・通信処理部、MSCI・・・マル
チプロトコルシリアル通信インタフェース、ASCI・
・・非同期シリアル通信インタフェース、CSIO・・
・クロックドシリアル入出力インタフェース、DMAC
・・・DMAコントローラ、EEPROM・・・電気的
に消去・書き換え可能なリードオンリーメモリ、IBU
S・・・内部バス、ROM・・・リードオンリーメモ
リ、RAM・・・ランダムアクセスメモリ、PEC・・
・周辺制御部、SW1〜SW2・・・スイッチ、LED
・・・液晶表示部、BUZ・・・ブザー、MOD・・・
光変復調部、OT・・・発光部、OR・・・受光部、U
R・・・赤外線信号。TDB・・・送信データバッフ
ァ、RDB・・・受信データバッファ、WM・・・ワー
クメモリ。
ONW1 to ONW2 ... optical communication network, OL ... optical communication line, OMOD ... optical communication modem, RS-232C.
..RS-232C interface, DNW ... Digital communication network, DL ... Digital communication line, PC1
-PC4 ... Personal computer, WS ... Workstation, XYP ... XY plotter, PR1
-PR2 ... Printer, GW1-GW2 ... Gateway. NPU ... communication processing unit, MSCI ... multi-protocol serial communication interface, ASCI
..Asynchronous serial communication interface, CSIO ...
・ Clocked serial I / O interface, DMAC
... DMA controller, EEPROM ... Electrically erasable and rewritable read-only memory, IBU
S ... Internal bus, ROM ... Read only memory, RAM ... Random access memory, PEC ...
・ Peripheral controller, SW1 to SW2 ... Switch, LED
... Liquid crystal display, BUZ ... Buzzer, MOD ...
Optical modulation / demodulation unit, OT ... Light emitting unit, OR ... Light receiving unit, U
R ... Infrared signal. TDB ... Transmission data buffer, RDB ... Reception data buffer, WM ... Work memory.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 降旗 信義 東京都小平市上水本町5丁目22番1号 株 式会社日立マイコンシステム内 (72)発明者 清水 純一 東京都小平市上水本町5丁目22番1号 株 式会社日立マイコンシステム内 (72)発明者 鈴木 公司 東京都小平市上水本町5丁目22番1号 株 式会社日立マイコンシステム内 (72)発明者 渡辺 政博 神奈川県横浜市神奈川区守屋町3丁目12番 地 日本ビクター株式会社内 (72)発明者 白水 隆美 神奈川県横浜市神奈川区守屋町3丁目12番 地 日本ビクター株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Nobuyoshi Furihata 5-22-1, Kamisuihoncho, Kodaira-shi, Tokyo Inside Hitachi Microcomputer System Co., Ltd. (72) Inventor Junichi Shimizu 5-chome, Mizumizuhoncho, Kodaira-shi, Tokyo 22-1 No. 1 in Hitachi Microcomputer System Co., Ltd. (72) Inventor, Kouji Suzuki, No. 5-22, Kamimizuhoncho, Kodaira-shi, Tokyo Inside Hitachi Microcomputer System Co., Ltd. (72) Masahiro Watanabe Kanagawa Yokohama, Kanagawa 3-12 Moriya-cho, Ward within Victor Company of Japan, Ltd. (72) Inventor Takami Shiramizu 3-12-12 Moriya-cho, Kanagawa Ward, Yokohama City, Kanagawa Within Victor Company of Japan, Ltd.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 送信データ又は受信データが一時的に格
納される所定容量のバッファを具備し、上記バッファの
送信データが格納される領域と受信データが格納される
領域との容量比率が所定の条件に応じて選択的に切り換
えられることを特徴とするデータ通信装置。
1. A buffer having a predetermined capacity for temporarily storing the transmission data or the reception data is provided, and a capacity ratio of the area of the buffer for storing the transmission data and the area for storing the reception data is predetermined. A data communication device characterized by being selectively switched according to conditions.
【請求項2】 上記バッファの容量比率は、自装置又は
相手装置の機能又は通信形態に応じて選択的に切り換え
られるものであることを特徴とする請求項1のデータ通
信装置。
2. The data communication device according to claim 1, wherein the capacity ratio of the buffer is selectively switched according to the function or communication mode of the own device or the other device.
【請求項3】 上記機能及び通信形態は、自装置又は相
手装置の識別コードにより判定されるものであることを
特徴とする請求項2のデータ通信装置。
3. The data communication device according to claim 2, wherein the function and the communication form are determined by an identification code of the own device or the partner device.
【請求項4】 上記機能及び通信形態は、自装置及び相
手装置間の協議により決定されるものであることを特徴
とする請求項2のデータ通信装置。
4. The data communication device according to claim 2, wherein the function and the communication form are determined by consultation between the own device and the other device.
JP15678694A 1994-06-15 1994-06-15 Data communication equipment Withdrawn JPH088977A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15678694A JPH088977A (en) 1994-06-15 1994-06-15 Data communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15678694A JPH088977A (en) 1994-06-15 1994-06-15 Data communication equipment

Publications (1)

Publication Number Publication Date
JPH088977A true JPH088977A (en) 1996-01-12

Family

ID=15635284

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15678694A Withdrawn JPH088977A (en) 1994-06-15 1994-06-15 Data communication equipment

Country Status (1)

Country Link
JP (1) JPH088977A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002518892A (en) * 1998-06-11 2002-06-25 アイレディー コーポレイション TCP / IP / PPP modem
KR100366049B1 (en) * 1996-04-18 2003-03-28 삼성탈레스 주식회사 Device for direct memory access using serial communication controller
USRE40497E1 (en) 1996-04-16 2008-09-09 Silicon Laboratories Inc. Communication system which dynamically switches sizes of sample buffer between first size for quick response time and second size for robustness to interrupt latency

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE40497E1 (en) 1996-04-16 2008-09-09 Silicon Laboratories Inc. Communication system which dynamically switches sizes of sample buffer between first size for quick response time and second size for robustness to interrupt latency
KR100366049B1 (en) * 1996-04-18 2003-03-28 삼성탈레스 주식회사 Device for direct memory access using serial communication controller
JP2002518892A (en) * 1998-06-11 2002-06-25 アイレディー コーポレイション TCP / IP / PPP modem

Similar Documents

Publication Publication Date Title
US6195359B1 (en) Intelligent router for remote internet access
CA2034911A1 (en) Integrated data link controller with autonomous logical elements
JPH0331027B2 (en)
JPH088977A (en) Data communication equipment
JPH0595385A (en) Processor for communication
US6178180B1 (en) Communications adapter for processing ATM and ISDN data
JPS6074842A (en) Local area network
JP2570744B2 (en) Inter-station communication control method
JPS615361A (en) Communication interface circuit
KR100448866B1 (en) E1 Board Having Multi Protocol
JPH0392056A (en) Plural protocols coexistence system
US20060114929A1 (en) Contention resolution covering all ports of a data switch
KR100493267B1 (en) PSTN, ISDN common interface device
JPH0371744A (en) Network address system
JPS61288538A (en) Dynamic protocol load system
JPH05191474A (en) Communication protocol processor
KR100440199B1 (en) Method for Providing Status Information for Management in Router System
KR100281084B1 (en) How to increase internal line capacity in integrated service system
JPS59207762A (en) Information transmitting device
JPS6326905B2 (en)
KR100445708B1 (en) Management method of router using loopback address
JPH04335455A (en) Communication system between computers of different code systems
JPH0637842A (en) Layer-2 protocol processing lsi
JPH0359756U (en)
JPH07107135A (en) Communication control interface board

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010904