JPH0467223B2 - - Google Patents

Info

Publication number
JPH0467223B2
JPH0467223B2 JP62174294A JP17429487A JPH0467223B2 JP H0467223 B2 JPH0467223 B2 JP H0467223B2 JP 62174294 A JP62174294 A JP 62174294A JP 17429487 A JP17429487 A JP 17429487A JP H0467223 B2 JPH0467223 B2 JP H0467223B2
Authority
JP
Japan
Prior art keywords
data
station
file
transmission
buffer
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
Application number
JP62174294A
Other languages
Japanese (ja)
Other versions
JPS6417142A (en
Inventor
Noriaki Goto
Tatsu Ogasawara
Yoshinori Kano
Koichi Muraki
Osamu Niwa
Hirohito Ito
Seiji Morishita
Shinzo Mizuno
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP62174294A priority Critical patent/JPS6417142A/en
Publication of JPS6417142A publication Critical patent/JPS6417142A/en
Publication of JPH0467223B2 publication Critical patent/JPH0467223B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

本発明は、ある端局のコンピユータがあるジヨ
ブを実行している最中にも、その端局のコンピユ
ータの有する外部記憶装置に形成されたデータフ
アイルを、他の端局のコンピユータからアクセス
可能としたコンピユータ通信システムに関する。
The present invention makes it possible to access a data file created in an external storage device of a computer of a terminal station from a computer of another terminal station even while a computer of a terminal station is executing a certain job. This invention relates to a computer communication system.

【従来技術】[Prior art]

従来のコンピユータ通信システムにおいて、所
謂パーソナルコンピユータといわれる簡易型のコ
ンピユータは、単独で使用されるか、センタに設
置された大型コンピユータと通信網を介して接続
し、そのセンタのコンピユータに対する端末とし
て用いられていた。通信端末として利用する場合
には、センタのコンピユータに対するデータの送
受信を専門的に行うものであり、端局独自のジヨ
ブの実行中には、そのジヨブの実行と並行してデ
ータ通信を行うことができなかつた。 また、通信機能を有するパーソナルコンピユー
タも存在するが、通常は、その2つのパーソナル
コンピユータを直接又は電話回線を介して接続
し、それら2つのパーソナルコンピユータに専用
の通信制御プログラムをロードして実行しなけれ
ば、データの送受信を行うことが出来ない。 このため現状では、各端局のコンピユータがそ
れぞれデータフアイルを保持しており、その端局
のコンピユータが任意のジヨブを実行している際
にも、そのデータフアイルを他の端局のコンピユ
ータから自由に読み書きできるようにしたパーソ
ナルコンピユータによるネツトワークシステムは
存在しない。
In conventional computer communication systems, a simple computer called a personal computer is used alone or connected to a large computer installed at a center via a communication network and used as a terminal for the computer at the center. was. When used as a communication terminal, it is specialized for sending and receiving data to and from the center computer, and while the end station is executing its own job, it is possible to perform data communication in parallel with the execution of that job. I couldn't do it. There are also personal computers that have communication functions, but normally two personal computers must be connected directly or via a telephone line, and a dedicated communication control program must be loaded and executed on the two personal computers. For example, data cannot be sent or received. For this reason, currently, each terminal station's computer holds its own data file, and even when that terminal station's computer is executing an arbitrary job, that data file can be freely accessed from the computers of other terminal stations. There is no network system in which personal computers can read and write data.

【発明が解決しようとする問題点】[Problems to be solved by the invention]

したがつて、1つの端局のパーソナルコンピユ
ータが1つのジヨブを実行している場合に、他の
端局のパーソナルコンピユータからデータの送受
信を要求された場合には、そのジヨブを一旦中断
した上で、双方のパーソナルコンピユータが通信
制御プログラムをロードして他のパーソナルコン
ピユータと通信を行う必要があつた。また、相互
通信を行うための始動連絡は、オペレータ間の電
話連絡等により行う必要があつた。 また、上記のように有機的に結合したコンピユ
ータネツトワークシステムが構成できないため、
各端局で保持されるデータフアイルが有効に使用
できないという欠点があつた。このため、データ
フアイルの形成された外部記憶媒体自体を各端局
間で移動させるか、各端局で同一のデータフアイ
ルを保持するというデータフアイル管理上の無駄
があつた。
Therefore, if the personal computer of one terminal station is executing one job and the personal computer of another terminal station requests data transmission/reception, the job must be temporarily interrupted and the job executed. , it was necessary for both personal computers to load a communication control program to communicate with the other personal computer. In addition, starting communication for mutual communication had to be carried out by telephone communication between operators. In addition, since it is not possible to construct a computer network system that is organically connected as described above,
The disadvantage was that the data files held at each terminal station could not be used effectively. For this reason, there is waste in data file management, as the external storage medium itself containing the data file must be moved between each terminal station, or each terminal station must hold the same data file.

【問題点を解決するための手段】[Means to solve the problem]

上記問題点を解決するための発明の構成は、デ
ータフアイルの形成される外部記憶装置とデータ
を入力するキーボードと中央処理装置と端局間で
送受信されるデータを入力する送受信バツフアを
有するコンピユータと、該コンピユータの出力デ
ータをシリアル信号に変換するシリアルインタフ
エースと、該シリアル信号とアナログ信号との間
で変復調するモデムとで構成される端局と、 複数の前記端局のモデムが接続される同軸伝送
路と、 前記伝送路に接続され、前記端局から出力され
る送信の周波数帯域を受信の周波数帯域に変換す
る周波数変換装置とから成り、 前記コンピユータにおいて、 前記各端局の送受信バツフア間で、割り込み処
理によるバツクグランドジヨブとしてデータの送
受信を行う通信制御手段と、 前記コンピユータがキーボードから入力された
キーコードデータの読込み処理の実行過程におい
て、前記送受信バツフアにおける受信データの有
無を判定し、その受信データに応じて前記データ
フアイルをアクセスし、前記送受信バツフアと前
記データフアイル間でデータの交換を行うキー入
力制御手段と、 を備えることを特徴とするものである。
The configuration of the invention for solving the above problems includes a computer having an external storage device in which data files are formed, a keyboard for inputting data, a central processing unit, and a transmitting/receiving buffer for inputting data transmitted and received between terminal stations. , a terminal station comprising a serial interface that converts output data of the computer into a serial signal, and a modem that modulates and demodulates between the serial signal and the analog signal, and the modems of the plurality of terminal stations are connected. It comprises a coaxial transmission line, and a frequency conversion device connected to the transmission line and converting a transmission frequency band output from the terminal station into a reception frequency band, and in the computer, between the transmission and reception buffers of each terminal station. a communication control means for transmitting and receiving data as a background job by interrupt processing; and a communication control means for determining whether there is reception data in the transmitting/receiving buffer in the process of executing reading processing of key code data input by the computer from the keyboard. , and key input control means for accessing the data file according to the received data and exchanging data between the transmission/reception buffer and the data file.

【作用】[Effect]

上記の通信システムの同軸伝送路では、送信と
受信を周波数帯域を分けることにより端局間の双
方向通信を可能としている。端局から送出された
送信帯域の周波数変調された信号は、同軸伝送路
に接続された周波数変換装置により受信帯域の周
波数の信号に変換され、各端局で受信可能とな
る。 通信制御手段は、各端局の送受信バツフア間
で、割り込み処理によるバツクグランドジヨブと
してデータの送受信を行なつている。また、キー
入力制御手段は、コンピユータがキーボードから
入力されたキーコードデータの読込み処理の実行
過程において、送受信バツフアにおける受信デー
タの有無を判定し、その受信データに応じてデー
タフアイルをアクセスし、送受信バツフアとデー
タフアイル間でデータの交換を行う。 キーボードから入力されたキーデータを読み取
る基本入出力ルーチンにおいては、フアイルをア
クセスする基本入出力ルーチンは起動されない
し、そのキーデータを読み取る基本入出力ルーチ
ンが実行される前にアクセスされたフアイルは閉
じた状態となつている。 したがつて、このようなオペレーテイングシス
テムでは、1つの端局のコンピユータがあるジヨ
ブを実行している時に、このキーデータを読み取
る基本入出力ルーチンが実行された時には、その
コンピユータのデータフアイルを他のコンピユー
タからアクセスすることが可能となる。 そこで、本発明では、コンピユータがキーボー
ドから入力されたキーコードデータの読込み処理
の実行過程において、送受信バツフアにおける受
信データの有無を判定し、その受信データに応じ
てデータフアイルをアクセスし、送受信バツフア
とデータフアイル間でデータの交換を行うキー入
力制御手段を設けることにより、1つの端局Aの
コンピユータがあるジヨブの実行中に、キーボー
ドからデータを入力する状態となつた時に、同軸
伝送路を介して他の端局Bのコンピユータから、
端局Aのコンピユータのフアイルに対するデータ
の読み書きが、端局Aのコンピユータのキー入力
処理と並行して、実行可能となる。 オペレータにより入力されたキーデータの読込
処理では、キー入力待ち時間も多いので、CPU
から見るとかなりの空き時間があることになる。
このため、上記のキーコードデータの読込処理の
実行過程で、送受信バツフアのデータの有無の判
定及びフアイルと送受信バツフア間で一定長のデ
ータの転送を行うことが可能となる。よつて、フ
アイルと送受信バツフア間で一度に転送するデー
タ長を短くすれば、オペレータによるキーデータ
の入力速度を低下させることなく、キー入力処理
中に他の端局のコンピユータからフアイルのアク
セスが可能となる。
In the coaxial transmission line of the above-mentioned communication system, two-way communication between terminal stations is made possible by separating frequency bands for transmission and reception. A frequency modulated signal in a transmission band sent from a terminal station is converted into a signal in a frequency in a reception band by a frequency conversion device connected to a coaxial transmission line, and can be received by each terminal station. The communication control means transmits and receives data between the transmitting and receiving buffers of each terminal station as a background job using interrupt processing. Further, the key input control means determines the presence or absence of received data in the transmission/reception buffer in the process of reading the key code data input by the computer from the keyboard, accesses the data file according to the received data, and performs the transmission/reception. Data is exchanged between buffer and data file. In the basic input/output routine that reads key data input from the keyboard, the basic input/output routine that accesses the file is not started, and the file that was accessed before the basic input/output routine that reads the key data is executed is closed. It is in a state of Therefore, in such an operating system, when a basic input/output routine that reads this key data is executed while a computer at one end station is executing a job, the data file of that computer is transferred to another computer. It can be accessed from any computer. Therefore, in the present invention, in the process of reading key code data input from the keyboard, the computer determines the presence or absence of received data in the transmitting/receiving buffer, accesses the data file according to the received data, and transfers the data to the transmitting/receiving buffer. By providing a key input control means for exchanging data between data files, when the computer of one terminal station A becomes ready to input data from the keyboard while executing a certain job, it is possible to input data via the coaxial transmission line. from the computer of another terminal B,
Reading and writing data to a file on the computer of terminal station A can be executed in parallel with key input processing on the computer of terminal station A. In the process of reading key data input by the operator, there is a lot of waiting time for key input, so the CPU
From the looks of it, there is a lot of free time.
Therefore, in the process of executing the above key code data reading process, it is possible to determine the presence or absence of data in the transmission/reception buffer and to transfer a certain length of data between the file and the transmission/reception buffer. Therefore, by reducing the length of data transferred at one time between the file and the sending/receiving buffer, the file can be accessed from a computer at another terminal station during key input processing without reducing the key data input speed by the operator. becomes.

【実施例】【Example】

以下、本発明を具体的な実施例に基づいて説明
する。 第1図は、本発明の具体的な一実施例に係るコ
ンピユータ通信システムの構成図である。 A1〜An、中央処理装置(以下「CPU」とい
う)であり、B1〜BnはCPUに接続された
RS232C規格のインタフエースであり、C1〜Cn
は同軸伝送路Dに接続されるモデム(変復調装
置)であり、Eは低群帯域を高群帯域に変換する
周波数変換装置である。また、各CPUA1〜An
には、デイスク駆動装置F1〜Fnが接続されて
おり、そのデイスク駆動装置F1〜Fnにはデイ
スクG1〜Gnが載置されており、デイスクG1
〜Gnにデータフアイルが形成されている。 各モデムは、低群を送信帯域とし、高群を受信
帯域としている。したがつて、低群で出力された
信号は、周波数変換装置Eにより高群帯域に周波
数変換され、各モデムで受信可能となる。 回線の接続方法は次の手順で実行される。 CPUA1を送信端局と仮定する。CPUA1から
RS232CインタフエースB1を介して、送信要求
信号RSがモデムC1に出力されると、モデムは
伝送路Dに低群のキヤリアの存在の有無を判別
し、キヤリアが存在すれば、伝送路Dは使用中で
あるので、送信要求信号RSを拒絶する。また、
伝送路Dに低群のキヤリアが存在しない場合に
は、低群のキヤリアが伝送路Dに送出され、その
キヤリアは周波数変換装置Eにより高群のキヤリ
アに変換される。そして、各モデムC1〜Cnで
高群のキヤリアが受信されると、モデムC1を除
く他のモデムからはデータを送信することが出来
なくなる。また、モデムC1は高群のキヤリアを
受信すると、CPUA1にRS232Cインタフエース
B1を介して送信可能信号CSを出力する。この
状態になつた時、CPUA1の端局は伝送路Dに対
して送信権を獲得したことになり、他の端局から
は送信することができない。次に、CPUA1の端
局からは送受信バツフアを介して受信局のアドレ
スを指定したデータフレームが出力され、アドレ
ス指定された相手局、例えば、CPUA3の端局で
データフレームが受信され、その端局の送受信バ
ツフアに入力される。 次に、CPUA1のデータの送信が完了すると、
送信要求信号RSをオフとし、低群のキヤリアを
消滅させ伝送路Dを開放する。そして、CPUA1
からのデータの受信局であるCPUA3の端局は、
データの受信を完了した後、直ちに、モデムC3
に送信要求信号RSを出力する。この送信要求信
号RSを入力したモデムC3は、同様にして、伝
送路Dにおける低群のキヤリアの有無を検出す
る。伝送路Dが空状態の場合には、モデムC3
は、伝送路Dに低群のキヤリアを送出し、周波数
変換装置Eにより変換された高群のキヤリアを受
信すると、送信可能信号CSをRS232Cインタフエ
ースB3を介してCPUA3に出力し、CPUA3が
送信権を獲得する。そして、自己局のアドレスを
指定したCPUA1から受信したデータに対し
ACKデータをCPUA1の端局のアドレスを指定
して出力しデータの受信完了をCPUA1に通知す
る。 このような手順により各端局間の相互通信が可
能となる。 このような処理を行うのが通信制御手段であ
り、CPUA1等のプログラム制御により実行され
る。本実施例では、この通信制御手段を通信プリ
プロセツサという。この通信プリプロセツサは第
3図のタイミングチヤートに示すように、アプリ
ケーシヨンプログラムとの間で時分割処理される
ことにより、アプリケーシヨンプログラムと並行
して実行される。 1つの端局の情報処理装置は第2図に示すよう
に構成されている。即ち、キーボード2から出力
されるキーコードはシリアル/パラレル変換器3
を介してキーコードバツフア4に入力される。キ
ーコードバツフア4にキーコードが入力される
と、CPUA1は割り込み処理によりキーコードを
RAM6に形成されたキー入力バツフア61に入
力する。キー入力バツフア61はFIFO構成とな
つている。また、CPUA1には、ROM5や
RAM6が接続されており、RAM6には基本入
出力システム(以下「BIOS」という)を含むオ
ペレーテイングシステム(以下「OS」という)
や、キー入力バツフア61、受信バツフア62、
送信バツフア63、端局の各モードを示すモード
フラグ64〜69、呼出フアイル名記憶領域7
0、読込/書込アドレス記憶領域71、作業フア
イル72等が形成されている。また、CPUA1に
はデイスク駆動装置F1を介してデイスクG1が
接続されており、そのデイスクG1にはフアイル
が形成されている。 第4図は、CPUA1の処理手順のうち、キーコ
ードをキー入力バツフア61から読み込むための
BIOS(以下「KBBIOS」という)の処理手順を
示している。アプリケーシヨンプログラムにおい
て、キーボードリード命令により、この
KBBIOSが呼び出され実行される。ステツプ100
では、キー入力バツフア61からデータが1文字
読み込まれ、次のステツプ102でその1文字のキ
ーコードが所定領域に格納される。そして、ステ
ツプ104へ移行して、着呼局モードフラグ65が
オンか否かが判定される。着呼局モードフラグ6
5は、自己局が着呼局に指定されているか否かを
記憶するフラグである。ステツプ104の判定結果
がNOの場合には、ステツプ108へ移行して、発
呼局モードフラグ64がオンか否かが判定され
る。この発呼局モードフラグ64は自己局が発呼
局に指定されているか否かを判定するフラグであ
る。ステツプ108の判定結果がNOの場合には、
ステツプ112へ移行して、受信バツフア62に呼
出コマンドが有るか否かが判定される。呼出コマ
ンドは自己局を着呼局に指定する発呼局から送信
されるコマンドである。ステツプ112の判定結果
がNOの場合には、ステツプ122へ移行してキー
入力バツフア61から読込まれたキーコードが通
信要求コードか否かが判定される。通信要求コー
ドは、自己局を発呼局に指定するためのコードで
あり、例えば、キーボード2の所定のフアンクシ
ヨンキーが押下された時に出力されるコードであ
る。そして、ステツプ122の判定結果がNOの場
合には、本処理が完了され、呼出元のアプリケー
シヨンプログラムに復帰する。従来のKBBIOS
では、ステツプ104〜122の判定がなく、単にキー
コードを所定領域に読み込む処理をするだけであ
り、キーコードがキー入力バツフア61に存在し
ない場合には、その旨を復帰情報とし、呼出元プ
ログラムに復帰する。 上記処理において、ステツプ112で受信バツフ
ア62に呼出コマンド有りと判定されると、ステ
ツプ114へ移行して、着呼局モードフラグ65が
オンにセツトされ、ステツプ116で受信バツフア
62に入力されているデータに基づいて発呼局名
データと呼出フアイル名データがRAM6の所定
領域に記憶され、フアイルの読込か書込かの指定
に応じて読込/書込モードフラグ66がセツト、
リセツトされ、通信の継続を指定する継続フラグ
68がオンにセツトされる。次に、ステツプ118
でACKデータを送信バツフア63にセツトし、
ステツプ120で送信フラグ67がオンにセツトさ
れ、呼出元プログラムに復帰する。送信フラグ6
7がオンにセットされていると、通信プリプロセ
ツサにより送信バツフア63に設定されているデ
ータはアプリケーシヨンプログラムの実行と並行
して発呼局のアドレスを付加したデータフレーム
の形式で発呼局に応答送信される。 また、ステツプ122でキー入力されたキーコー
ドが通信要求コードと判定された場合には、ステ
ツプ124へ移行して、発呼局モードフラグ64が
オンにセツトされ、次のステツプ126で、送信先
の着呼局名データ、呼出コマンド、呼出フアイル
名データ、フアイルの読込か書込かを指定する読
込/書込コマンドが送信バツフア63にセツトさ
れ、次のステツプ128で送信フラグ67がオンに
セツトされる。そして、送信フラグ67がオンに
セツトされていると、通信プリプロセツサによ
り、送信バツフア63に設定されているデータは
アプリケーシヨンプログラムの実行と並行して着
呼局のアドレスを付加したデータフレームの形式
で着呼局に呼出送信される。 このようにして、自己局が着呼局か発呼局かが
設定され、その他の呼出フアイル名、読込/書込
モード等の諸データが設定された後、次に、この
KBBIOSが再度呼び出されると、ステツプ104と
ステツプ108の判定が実行され、自己局が着呼局
モードの場合には、ステツプ106へ移行して第5
図に示すフアイルアクセス受付プログラムが実行
され、自己局が発呼局である場合には、ステツプ
110へ移行して第6図に示すフアイルアクセス要
求プログラムが実行される。上記の処理により、
フアイルデータの送受信の初期設定が完了され
る。 (1) 自己局が着呼局の場合 上記したように呼出コマンドを発呼局から受信
し、KBBIOS実行過程のステツプ112,114〜120
の処理により自己局が着呼局に指定されると共に
呼出フアイル等の諸データ及びモードが設定さ
れ、着呼局としての準備が完了すると、発呼局に
対しACKデータが送信される。その後、発呼局
はフアイルデータの読込モードの時には、フアイ
ルデータの受信準備が完了したことを示すACK
データを着呼局に送信する。 ステツプ200では受信バツフア62にACKデー
タが有るか否かが判定され、ACKデータが存在
する場合には、ステツプ202へ移行して継続フラ
グ68がオンか否が判定される。継続フラグ68
がオンの場合には、通信の継続を意味しているの
で、次のステツプ204へ移行して、呼出フアイル
名記憶領域70に入力されている呼出フアイルが
アクセスされる。次に、ステツプ206で呼出フア
イルの存在の有無が判定され、呼出フアイルが存
在する場合には、次のステツプ208で読込/書込
モードフラグ66の状態が判定される。 (a) フアイル読込の場合 ステツプ208で読込モードと判定された場合に
は、ステツプ210へ移行して、呼出フアイルの所
定アドレスから記憶されているデータが送信バツ
フア63に転送される。そして、次のステツプ
212で転送データがデータエンドか否かが判定さ
れ、データエンドでない場合いは、次に継続して
送信データがあることを意味しており、ステツプ
252へ移行して次のデータの転送元フアイルアド
レスが読込/書込アドレス記憶領域71に記憶さ
れ、次のステツプ254で再度、継続フラグ68が
オンにセツトされる。そして、ステツプ218へ移
行して送信データ長が送信バツフア63にセツト
され、ステツプ220で送信フラグ67がオンにセ
ツトされ、KBBIOSは呼出元プログラムに復帰
する。すると、通信プリプロセツサはアプリケー
シヨンプログラムの実行と並行して、送信フラグ
67がオンの場合には、送信バツフア63にセツ
トされているデータを発呼局アドレスを付加した
データフレームに構成して送信する。送信が完了
すると送信フラグ67はオフとされる。 そして、発呼局は呼出フアイルデータの受信を
完了すると着呼局に対しACKデータを出力する。 このKBBIOSが、再度、アプリケーシヨンプ
ログラムから呼び出されると(通常、1文字分の
データをキー入力バツフア61から読み込む毎に
呼び出される)、ステツプ200で発呼局からの
ACKデータの受信を監視しており、ACKデータ
を受信していない場合には、ステツプ222におい
て、書込モードでないと判定され、ステツプ224
へ移行して、通信プリプロセツサがデータの送信
を完了した時にセツトされるタイマのタイムオー
バか否かが判定される。タイムオーバでない場合
には、呼出元プログラムに復帰する。そして、そ
の後のKBBIOS呼出時のステツプ200で、セツト
タイム内で受信バツフア62にACKデータを受
信した場合には、上記と同様の処理が繰り返され
る。即ち、ステツプ202で継続フラグ68がオン
と判定され、ステツプ204で呼出フアイルがアク
セスされ、ステツプ210で読込/書込アドレス記
憶領域71に記憶された継続して転送されるデー
タのアドレスからフアイルデータが送信バツフア
63に転送される処理が実行される。 このようにして、フアイルデータの送信がキー
データの入力中に並行して順次実行された後、ス
テツプ212でフアイルの転送されるデータがデー
タエンドと判定されると、ステツプ214へ移行し
て転送データの最後にデータエンドコマンドを付
加した送信データが送信バツフア63に形成され
る。そして、ステツプ216で継続フラグ68がオ
フとされ、ステツプ218で送信データ長がセツト
され、ステツプ220で送信フラグ67がセツトさ
れることにより発呼局へのデータの送信が行われ
る。 次に、その後のKBBIOS実行時のステツプ200
でACKデータの受信を確認した場合には、ステ
ツプ202へ移行して継続フラグ68がオンか否か
が判定されるが、呼出フアイルの全てのデータの
送信が完了した場合には、継続フラグ68がオフ
となつているため、ステツプ244へ移行して、発
呼局と着呼局との間のデータの送受信を完結する
ための処理が実行される。即ち、ステツプ244で
着呼局モードフラグ65がオフにリセツトされ、
ステツプ246でACKデータが送信バツフア63に
セツトされ、ステツプ248で送信フラグ67がオ
ンにセツトされ、ACKデータは発呼局に送信さ
れてフアイルデータの読込通信が完了される。 (b) フアイル書込の場合 発呼局は着呼局からステツプ118で出力される
ACKデータを受信すると書込フアイルデータを
直ちに出力する。着呼局は、呼出フアイルへ受信
バツフア62で受信された受信データを書込むた
めの書込モードに読込/書込モードフラグ66が
セツトされている場合には、直ちに、受信データ
のフアイル書込処理が実行される。即ち、ステツ
プ200での判定がNOとなり、ステツプ222の判定
がYESとなり、ステツプ223で受信バツフア62
に受信データ有と判定されると、ステツプ230で
受信バツフア62の受信データが呼出フアイルの
所定アドレスから書込まれる。次に、ステツプ
232へ移行して書込データがデータエンドか否か
が判定され、データエンドでない場合には、ステ
ツプ238でフアイルの次の継続する書込アドレス
が読込/書込アドレス記憶領域71に記憶され、
ステツプ240で継続フラグ68が再度オンにセツ
トされる。そして、次に、ステツプ236へ移行し
て、受信データのフアイルへの書込が終了したこ
とを示すACKデータが送信バツフア63にセツ
トされ、ステツプ242で送信フラグ67がオンに
セツトされることにより、発呼局にACKデータ
が送信される。発呼局はこのACKデータを受信
して、継続した送信データのある場合には、次の
書込データを送信し、継続した送信データが存在
しない場合には送信完了の手順が実行される。 また、ステツプ232で書込データがデータエン
ドと判定された場合には、ステツプ234で継続フ
ラグ68がオフにリセツトされ、同様に、ステツ
プ236で受信データのフアイルへの書込が終了し
たことを示すACKデータが送信バツフア63に
セツトされ、ステツプ242で送信フラグ67がオ
ンにセツトされることにより、発呼局にACKデ
ータが送信される。 継続フラグ68がオフとなると、後の
KBBIOSの実行時のステツプ202の判定がNOと
なり、上記したステツプ244以下の受信完結手順
が実行される。 尚、本システムでは、データフアイル読込の場
合には、発呼局はデータの受信可能状態を着呼局
に知らせるため、データを受信するとACKデー
タを着呼局に送信している。着呼局はそのACK
データを確認して次のフアイルデータの送信を行
うようにしている。 また、逆に、フアイルデータ書込の場合には、
着呼局がフアイルデータの受信可能状態を発呼局
へ知らせるためにACKデータを発呼局に出力し、
発呼局はACKデータを受信してフアイルデータ
を着呼局に送信するようにしている。 そこで、着呼局は、フアイル読込モードでは、
発呼局へデータ送信の完了後一定時間経つても、
発呼局からACKデータを受信しない場合には、
タイムオーバエラーとしてステツプ225以下の処
理が実行される。また、書込モードの場合には、
ACKデータを発呼局に送信後、一定時間内にフ
アイルデータを受信しないときは、タイムオーバ
エラーとしてステツプ225以下の処理が実行され
る。即ち、ステツプ225で発呼局との通信を放棄
するため、アボートコマンドが送信バツフア63
にセツトされ、ステツプ226で送信フラグ67が
オンにセツトされることにより、アボートコマン
ドが発呼局に送信され、ステツプ228で着呼局モ
ードフラグ65がオフにセツトされ、通信手順が
完結する。 また、ステツプ206で呼出フアイルが存在しな
いと判定された場合には、ステツプ250へ移行し
て、呼出フアイル無のコマンドが送信バツフア6
3にセツトされると共にステツプ225へ移行して
アボート処理が実行される。 また、逆に発呼局からアボートコマンドが送信
されてくると、ステツプ201の判断がYESとなり
ステツプ244以下の通信完了処理が実行される。 (2) 自己局が発呼局の場合 上記したようにKBBIOS実行過程のステツプ
122,124〜128の処理により自己局が発呼局に指
定されると共に、キー入力等により呼出フアイル
名、モードデータ等の諸データが着呼局に送信さ
れ、発呼局からの呼出コマンド等により着呼局の
モード設定等の準備が完了すると、着呼局から発
呼局に対しACKデータが送信される(着呼局に
おけるステツプ114〜120の処理)。 発呼局では、発呼局モードフラグ64がオンに
設定されていると、その後のKBBIOS実行時に
おいて、ステツプ108の判定がYESとなり、ステ
ツプ110へ移行して第6図に示すフアイルアクセ
ス要求プログラムが実行される。 発呼要求コマンドを着呼局に送信し、着呼局が
通信可能となると着呼局からACKデータが送信
されてくる。ステツプ300で受信バツフア62の
受信データの有無が判定され、受信データが存在
する場合にはステツプ301,302へ移行して、ステ
ツプ302で発呼受付フラグ69がオンか否かが判
定される。発呼受付フラグ69は着呼局が通信可
能となつた時に送信されるACKデータを受信し
てオンにセツトされる。即ち、最初は発呼受付フ
ラグ69はオフにリセツトされており、ステツプ
306でACKデータが受信されたと判定された時
に、ステツプ306でオンにセツトされ、ステツプ
308で通信の継続を示す継続フラグ68がオンに
セツトされる。そして、ステツプ309で読込/書
込モードフラグ66が調査され、読込モードの場
合にはステツプ346へ移行して、ACKデータが送
信バツフア62にセツトされ、ステツプ322で送
信フラグ67がオンにセツトされることにより、
フアイルデータの受信が可能であることを示す
ACKデータが着呼局に送信され、本KBBIOSは
呼出元プログラムに復帰する。以後、発呼局は、
フアイルデータの受信が可能な状態となる。 また、ステツプ309の判断がNO、即ち、書込
モードの場合には、ステツプ330以下に移行して
書込用のフアイルデータの第1回目の送信手順が
実行される。 次にKBBIOSが起動されると、ステツプ300で
受信バツフア63の受信データの有無が判定され
る。受信データが存在しない場合には、ステツプ
336へ移行してタイムオーバか否かが判定され、
タイムオーバでない場合には、このKBBIOSは
呼出元プログラムに復帰する。また、タイムオー
バの場合には、ステツプ338へ移行して、着呼局
で示した第5図の手順(ステツプ225〜228)と同
様なアボート処理が実行される。尚、タイムオー
バを判定するタイマは通信プリプロセツサにより
データの送信が完了した時にセツトされる。 ステツプ300で受信バツフア63に受信データ
有りと判定された場合には、ステツプ301,302へ
移行し、ステツプ302で発呼受付フラグ69がオ
ンか否かが判定される。この時、通信可能状態と
なつているので、発呼受付フラグ69はオンとな
つており、ステツプ310へ移行して継続フラグ6
8がオンか否かが判定される。この時も継続フラ
グ68はオンとなつているので、ステツプ312へ
移行して読込/書込モードフラグ66の状態が判
定される。 (a) フアイル読込の場合 ステツプ312で読込/書込モードフラグ66が
読込モードに設定されている場合には、ステツプ
314以下の相手の着呼局から送られてくるデータ
の入力処理が実行される。即ち、ステツプ314で
受信バツフア62に記憶されているデータは作業
フアイル72に転送される。そして、次のステツ
プ316で受信したデータがデータエンドか否かが
判定され、データエンドでない場合にはステツプ
318へ移行して作業領域書込アドレス記憶領域7
3に記憶されている書込アドレスが更新される。
次に、ステツプ320へ移行してACKデータが送信
バツフア63にセツトされ、ステツプ322で送信
フラグ67がオンにセツトされることにより、フ
アイルデータを正常に受信した旨のACKデータ
が着呼局に送信される。 そして、着呼局は前述したように、発呼局から
のACKデータを所定時間内に受信し、送信デー
タの継続があると、次のフアイルデータを発呼局
に送信する。 発呼局は、KBBIOSが呼び出され実行される
毎に、受信バツフア62の受信データをステツプ
300で調べ、受信データが存在する場合は、継続
フラグ68がオンである間、上記したステツプに
より順次、受信されたフアイルデータが作業フア
イルに転送される。 そして、受信されたフアイルデータにデータエ
ンドが存在するとステツプ316で判定されると、
ステツプ344へ移行して継続フラグ68がオフに
リセツトされ、ステツプ346で応答のACKデータ
を送信バツフア62にセツトし、次のステツプ
322で送信フラグ67がオンにセツトされ、ACK
データは着呼局に送信される。 その後、このKBBIOSが呼び出されると、通
常は、着呼局からACKデータを受信することに
なり、ステツプ300の判定がYES、ステツプ301
の判定がNO、ステツプ302の判定がYESとなり、
ステツプ310の判定がNOとなり、ステツプ324へ
移行して、発呼受付フラグ69がオフにリセツト
され、ステツプ326で発呼局モードフラグ64が
オフにリセツトされることにより、着呼局からの
フアイルデータの読込処理が完了する。 (b) フアイル書込の場合 また、フアイル書込の場合には、呼出コマンド
に応答して着呼局から送信されるACKデータを
受信すると、ステツプ300〜309が実行され、ステ
ツプ309の判断がNOとなり、ステツプ330へ移行
して書込用のフアイルデータの第1回目の送信手
順が実行される。 即ち、ステツプ330で作業フアイル72の送信
データとそのデータ長とが送信バツフア63にセ
ツトされる。そして、次のステツプ332で送信デ
ータがデータエンドか否かが判定され、データエ
ンドでない場合には、ステツプ334へ移行して、
次の作業フアイル読込アドレス記憶領域74に記
憶された作業領域の読込アドレスが更新され、ス
テツプ322で送信フラグ67がオンにセツトされ
る。 また、ステツプ322でデータエンドと判定され
た場合には、ステツプ340へ移行して、継続フラ
グ68がオフにリセツトされ、次のステツプ342
で、データエンドコマンドが送信バツフア63に
セツトされ、ステツプ322で送信フラグ67がオ
ンにセツトされる。 次に、1回のフアイルデータの着呼局への送信
が完了すると、着呼局が次のデータの受信が可能
状態になつたことを示すACKデータが発呼局に
送信されてくるが、継続フラグ68がオンの場合
には、次のKBBIOS実行時においては、ステツ
プ300の判断がYES、ステツプ301の判断がNO、
ステツプ302の判断がYES、ステツプ310の判断
がYES、ステツプ312の判断がNOとなり、ステ
ツプ328へ移行する。そして、受信バツフア62
に着呼局からACKデータを受信している場合に
は、ステツプ330へ移行して、作業フアイル72
の次に送信データとそのデータ長とを送信バツフ
ア63にセツトされる。そして、次のステツプ
332で送信データがデータエンドか否かが判定さ
れ、データエンドでない場合には、ステツプ334
へ移行して、次の作業領域の読込アドレスが更新
され、ステツプ322で送信フラグ67がオンにセ
ツトされる。 また、ステツプ322でデータエンドと判定され
た場合には、ステツプ340へ移行して、継続フラ
グ68がオフにリセツトされ、次のステツプ342
で、データエンドコマンドが送信バツフア63に
セツトされ、ステツプ322で送信フラグ67がオ
ンにセツトされる。 また、ステツプ328でACKデータを受信してい
ない場合には、ステツプ336でタイムオーバか否
かが判定され、タイムオーバでなければ
KBBIOSの呼出元プログラムに復帰する。また、
タイムオーバが発生した場合には、ステツプ338
へ移行して、第5図のステツプ225〜228で示した
のと同様のアボート処理が実行される。 また、ステツプ322で送信されるフアイルデー
タがデータエンドと判定された場合には、ステツ
プ340で継続フラグ68がオフとされるので、次
にKBBIOSが実行された時には、ステツプ310の
判断がNOとなり、ステツプ324へ移行して、発
呼受付フラグ69がオフにリセツトされ、ステツ
プ326で発呼局モードフラグ64がオフにリセツ
トされ、データの送信手順が完了する。 尚、着呼局からアボートコマンドを受信した場
合には、ステツプ301の判断がYESとなり、ステ
ツプ324以下の処理が実行されて、データの送信
手順が完了する。
The present invention will be described below based on specific examples. FIG. 1 is a block diagram of a computer communication system according to a specific embodiment of the present invention. A1 to An are central processing units (hereinafter referred to as "CPU"), and B1 to Bn are connected to the CPU.
It is an interface of RS232C standard, and C1 to Cn
is a modem (modulator/demodulator) connected to the coaxial transmission line D, and E is a frequency converter that converts a low frequency band to a high frequency band. In addition, each CPUA1~An
are connected to disk drive devices F1 to Fn, and disks G1 to Gn are mounted on the disk drive devices F1 to Fn.
A data file has been created in ~Gn. Each modem has a transmission band in the low group and a reception band in the high group. Therefore, the signal output in the low band is frequency-converted by the frequency conversion device E to the high band, and can be received by each modem. The line connection method is performed in the following steps. Assume that CPUA1 is the transmitting terminal station. From CPUA1
When the transmission request signal RS is output to the modem C1 via the RS232C interface B1, the modem determines whether there is a carrier in the low group on the transmission path D, and if a carrier exists, the transmission path D is used. Since the transmission request signal RS is in the middle, the transmission request signal RS is rejected. Also,
If there is no low group carrier on the transmission path D, the low group carrier is sent to the transmission path D, and the carrier is converted by the frequency conversion device E into a high group carrier. When each modem C1 to Cn receives a large number of carriers, data cannot be transmitted from any modem other than modem C1. Moreover, when the modem C1 receives a high number of carriers, it outputs a transmittable signal CS to the CPUA1 via the RS232C interface B1. When this state is reached, the terminal station of CPUA1 has acquired the right to transmit to transmission path D, and cannot transmit from other terminal stations. Next, the data frame specifying the address of the receiving station is output from the terminal station of CPUA1 via the transmission/reception buffer, and the data frame is received by the specified destination station, for example, the terminal station of CPUA3. input into the transmit/receive buffer of Next, when the data transmission of CPUA1 is completed,
The transmission request signal RS is turned off, the low group carriers are eliminated, and the transmission path D is opened. And CPUA1
The terminal station of CPUA3, which is the receiving station for data from
Immediately after completing the reception of data, modem C3
Outputs a transmission request signal RS to. The modem C3 having received the transmission request signal RS similarly detects the presence or absence of a low group carrier on the transmission line D. When transmission line D is empty, modem C3
sends the low group carrier to the transmission path D, and when it receives the high group carrier converted by the frequency converter E, it outputs the send ready signal CS to the CPUA3 via the RS232C interface B3, and the CPUA3 transmits. acquire the right. Then, for the data received from CPUA1 that specified the address of its own station,
Outputs ACK data by specifying the address of the terminal station of CPUA1, and notifies CPUA1 of completion of data reception. Such a procedure enables mutual communication between each terminal station. The communication control means performs such processing, and is executed under program control of the CPUA 1 or the like. In this embodiment, this communication control means is called a communication preprocessor. As shown in the timing chart of FIG. 3, this communication preprocessor is executed in parallel with the application program by time-sharing processing with the application program. The information processing device of one terminal station is configured as shown in FIG. That is, the key code output from the keyboard 2 is sent to the serial/parallel converter 3.
The code is input to the key code buffer 4 via the key code buffer 4. When a keycode is input to keycode buffer 4, CPUA1 inputs the keycode by interrupt processing.
It is input to the key input buffer 61 formed in the RAM 6. The key input buffer 61 has a FIFO configuration. CPUA1 also includes ROM5 and
RAM6 is connected, and RAM6 has an operating system (hereinafter referred to as "OS") including a basic input/output system (hereinafter referred to as "BIOS").
, key input buffer 61, reception buffer 62,
Transmission buffer 63, mode flags 64 to 69 indicating each mode of the terminal station, calling file name storage area 7
0, a read/write address storage area 71, a work file 72, etc. are formed. Further, a disk G1 is connected to the CPUA1 via a disk drive device F1, and a file is formed on the disk G1. FIG. 4 shows the procedure for reading the key code from the key input buffer 61 among the processing steps of the CPUA1.
It shows the processing procedure of BIOS (hereinafter referred to as "KBBIOS"). In the application program, this can be done using the keyboard read command.
KBBIOS is called and executed. step 100
Then, one character of data is read from the key input buffer 61, and in the next step 102, the key code of that one character is stored in a predetermined area. The process then proceeds to step 104, where it is determined whether the called station mode flag 65 is on. Called station mode flag 6
5 is a flag that stores whether or not the own station is designated as a called station. If the determination result in step 104 is NO, the process moves to step 108, where it is determined whether the calling station mode flag 64 is on. This calling station mode flag 64 is a flag for determining whether or not the own station is designated as a calling station. If the judgment result in step 108 is NO,
Proceeding to step 112, it is determined whether or not there is a call command in the reception buffer 62. A paging command is a command sent from a calling station that designates its own station as a called station. If the determination result in step 112 is NO, the process proceeds to step 122, where it is determined whether the key code read from the key input buffer 61 is a communication request code. The communication request code is a code for designating the own station as a calling station, and is, for example, a code output when a predetermined function key on the keyboard 2 is pressed. If the determination result in step 122 is NO, this process is completed and the process returns to the calling application program. Traditional KBBIOS
In this case, there is no determination in steps 104 to 122, and the key code is simply read into a predetermined area. If the key code does not exist in the key input buffer 61, this is used as return information and the calling program to return to. In the above process, if it is determined in step 112 that there is a calling command in the reception buffer 62, the process moves to step 114, where the called station mode flag 65 is set on, and in step 116, the call command is input to the reception buffer 62. Based on the data, calling station name data and calling file name data are stored in a predetermined area of RAM 6, and a read/write mode flag 66 is set depending on whether the file is to be read or written.
The continuation flag 68, which designates continuation of communication, is set on. Next, step 118
Set the ACK data to the transmission buffer 63 with
At step 120, the send flag 67 is set on and the program returns to the calling program. Transmission flag 6
7 is set on, the data set in the transmission buffer 63 by the communication preprocessor is sent to the calling station in the form of a data frame with the address of the calling station added in parallel with the execution of the application program. Sent. Furthermore, if the key code inputted in step 122 is determined to be a communication request code, the process moves to step 124, where the calling station mode flag 64 is set on, and in the next step 126, the destination The called station name data, the calling command, the calling file name data, and the read/write command specifying whether to read or write the file are set in the sending buffer 63, and in the next step 128, the sending flag 67 is set on. be done. When the transmission flag 67 is set on, the communication preprocessor converts the data set in the transmission buffer 63 into a data frame with the address of the called station added in parallel with the execution of the application program. The call is sent to the called station. In this way, after setting whether the local station is a called station or a calling station, and setting various other data such as the calling file name and read/write mode, next
When KBBIOS is called again, the judgments in steps 104 and 108 are executed, and if the local station is in the called station mode, the process moves to step 106 and the fifth step is executed.
When the file access acceptance program shown in the figure is executed and the local station is the calling station, the step
The process moves to 110, and the file access request program shown in FIG. 6 is executed. With the above processing,
Initial settings for sending and receiving file data are completed. (1) When the own station is the called station As described above, the paging command is received from the calling station, and steps 112, 114 to 120 of the KBBIOS execution process are executed.
Through the process described above, the own station is designated as the called station, various data such as a paging file, and the mode are set, and when the preparation as the called station is completed, ACK data is transmitted to the calling station. After that, when the calling station is in file data reading mode, it sends an ACK message indicating that it is ready to receive file data.
Send the data to the called station. At step 200, it is determined whether or not there is ACK data in the reception buffer 62. If there is ACK data, the process moves to step 202 and it is determined whether or not the continuation flag 68 is on. Continuation flag 68
If it is on, it means that communication is to be continued, so the process moves to the next step 204, and the call file input in the call file name storage area 70 is accessed. Next, in step 206, it is determined whether or not a call file exists. If a call file exists, in the next step 208, the state of the read/write mode flag 66 is determined. (a) In the case of file reading If the read mode is determined in step 208, the process moves to step 210, and the stored data is transferred to the transmission buffer 63 from a predetermined address of the calling file. And the next step
In step 212, it is determined whether the transferred data is the data end or not. If it is not the data end, it means that there is next continuous data to be sent, and the step is started.
At step 252, the transfer source file address of the next data is stored in the read/write address storage area 71, and at the next step 254, the continuation flag 68 is set on again. Then, the process moves to step 218, where the transmission data length is set in the transmission buffer 63, and the transmission flag 67 is set on at step 220, and KBBIOS returns to the calling program. Then, in parallel with the execution of the application program, if the transmission flag 67 is on, the communication preprocessor configures the data set in the transmission buffer 63 into a data frame with the calling station address added and transmits it. . When the transmission is completed, the transmission flag 67 is turned off. Then, when the calling station completes receiving the paging file data, it outputs ACK data to the called station. When this KBBIOS is called again from the application program (normally, it is called every time data for one character is read from the key input buffer 61), in step 200, the KBBIOS is called from the calling station.
The reception of ACK data is monitored, and if ACK data has not been received, it is determined in step 222 that the write mode is not present, and the process proceeds to step 224.
Then, it is determined whether the timer set when the communication preprocessor completes data transmission has timed out. If the time has not expired, the program returns to the calling program. If ACK data is received in the reception buffer 62 within the set time in step 200 during subsequent KBBIOS calling, the same process as described above is repeated. That is, the continuation flag 68 is determined to be on in step 202, the calling file is accessed in step 204, and the file data is read from the address of the data stored in the read/write address storage area 71 to be continuously transferred in step 210. A process is executed in which the data is transferred to the transmission buffer 63. In this way, after the file data is transmitted sequentially in parallel while inputting the key data, when it is determined in step 212 that the data to be transferred in the file is at the data end, the process moves to step 214 and the data is transferred. Transmission data with a data end command added to the end of the data is formed in the transmission buffer 63. The continuation flag 68 is then turned off in step 216, the transmission data length is set in step 218, and the transmission flag 67 is set in step 220, thereby transmitting data to the calling station. Then step 200 during subsequent KBBIOS runs
If the reception of the ACK data is confirmed in step 202, it is determined whether the continuation flag 68 is on or not. However, if the transmission of all the data in the calling file is completed, the continuation flag 68 is turned on. Since this is off, the process moves to step 244, where processing is executed to complete the data transmission and reception between the calling station and the called station. That is, in step 244, the called station mode flag 65 is reset to OFF.
In step 246, ACK data is set in the transmission buffer 63, and in step 248, the transmission flag 67 is set on, and the ACK data is transmitted to the calling station, completing the file data read communication. (b) In the case of file writing, the calling station is output from the called station in step 118.
When ACK data is received, write file data is immediately output. If the read/write mode flag 66 is set to the write mode for writing the received data received by the receive buffer 62 to the calling file, the called station immediately writes the received data to the file. Processing is executed. That is, the determination at step 200 is NO, the determination at step 222 is YES, and the reception buffer 62 is cleared at step 223.
If it is determined that there is received data, then in step 230 the received data in the receive buffer 62 is written from a predetermined address in the calling file. Next, step
In step 232, it is determined whether or not the write data is at the data end. If not, in step 238, the next continuous write address of the file is stored in the read/write address storage area 71.
At step 240, the continuation flag 68 is again set on. Then, the process moves to step 236, where ACK data indicating that writing of the received data to the file has been completed is set in the transmission buffer 63, and the transmission flag 67 is set on in step 242. , ACK data is sent to the calling station. The calling station receives this ACK data, and if there is continuous transmission data, it transmits the next write data, and if there is no continuous transmission data, a transmission completion procedure is executed. If it is determined in step 232 that the write data is at the data end, the continuation flag 68 is reset to OFF in step 234, and similarly, in step 236, it is determined that writing of the received data to the file has been completed. The ACK data indicated is set in the transmission buffer 63, and the transmission flag 67 is set on in step 242, thereby transmitting the ACK data to the calling station. When the continuation flag 68 turns off, the subsequent
When KBBIOS is executed, the determination at step 202 is NO, and the reception completion procedure from step 244 described above is executed. In this system, when reading a data file, the calling station sends ACK data to the called station upon receiving data in order to notify the called station of the data receivable state. The called station receives the ACK
The data is checked and the next file data is sent. Conversely, when writing file data,
The called station outputs ACK data to the calling station to notify the calling station that it is ready to receive file data.
The calling station receives the ACK data and sends file data to the called station. Therefore, the called station, in file reading mode,
Even after a certain period of time has passed after data transmission to the calling station is completed,
If ACK data is not received from the calling station,
Processing from step 225 onwards is executed as a time-over error. Also, in write mode,
If file data is not received within a certain period of time after transmitting the ACK data to the calling station, a time-over error is detected and the processes from step 225 onwards are executed. That is, in order to abandon communication with the calling station in step 225, the abort command is sent to the sending buffer 63.
By setting the transmission flag 67 to ON in step 226, an abort command is transmitted to the calling station, and the called station mode flag 65 is set to OFF in step 228, completing the communication procedure. If it is determined in step 206 that there is no call file, the process moves to step 250, and the command with no call file is sent to the sending buffer 6.
3 and the process moves to step 225, where abort processing is executed. Conversely, when an abort command is transmitted from the calling station, the determination in step 201 is YES, and the communication completion process in step 244 and subsequent steps is executed. (2) When the own station is the calling station The steps in the KBBIOS execution process as described above
Through the processes in steps 122 and 124 to 128, the own station is designated as the calling station, and various data such as the calling file name and mode data are sent to the called station by key input, etc., and the calling station receives a calling command, etc. When preparations such as mode setting of the called station are completed, ACK data is transmitted from the called station to the calling station (processing of steps 114 to 120 at the called station). In the calling station, if the calling station mode flag 64 is set to ON, the determination at step 108 will be YES during subsequent execution of KBBIOS, and the process will proceed to step 110, where the file access request program shown in FIG. 6 will be executed. is executed. A call request command is sent to the called station, and when the called station becomes able to communicate, the called station sends ACK data. At step 300, it is determined whether or not there is reception data in the reception buffer 62. If there is reception data, the process moves to steps 301 and 302, and at step 302, it is determined whether or not the call acceptance flag 69 is on. The call acceptance flag 69 is set on upon receiving ACK data transmitted when the called station becomes communicable. That is, initially, the call acceptance flag 69 is reset to OFF, and the
When it is determined that ACK data has been received in step 306, it is set on in step 306 and the step
At 308, a continuation flag 68 indicating continuation of communication is set on. Then, in step 309, the read/write mode flag 66 is checked, and if it is the read mode, the process moves to step 346, where ACK data is set in the transmission buffer 62, and in step 322, the transmission flag 67 is set on. By doing so,
Indicates that file data can be received
The ACK data is sent to the called station, and this KBBIOS returns to the calling program. From then on, the calling station
It becomes possible to receive file data. Further, if the determination in step 309 is NO, that is, in the case of write mode, the process moves to step 330 and subsequent steps, and the first transmission procedure of the file data for writing is executed. Next, when KBBIOS is activated, it is determined in step 300 whether there is any data received in the reception buffer 63. If there is no received data, the step
336, it is determined whether the time is over or not,
If it is not timed out, this KBBIOS returns to the calling program. Further, in the case of time over, the process moves to step 338, and an abort process similar to the procedure shown in FIG. 5 (steps 225 to 228) for the called station is executed. Note that the timer for determining time-over is set by the communication preprocessor when data transmission is completed. If it is determined in step 300 that there is received data in the reception buffer 63, the process moves to steps 301 and 302, and in step 302 it is determined whether or not the call acceptance flag 69 is on. At this time, since communication is possible, the call acceptance flag 69 is on, and the process moves to step 310, where the continuation flag 6 is turned on.
8 is on or not. Since the continuation flag 68 is still on at this time, the process moves to step 312 and the state of the read/write mode flag 66 is determined. (a) For file reading If the read/write mode flag 66 is set to read mode in step 312, the step
Input processing of data sent from the called station of the other party of 314 or less is executed. That is, in step 314, the data stored in receive buffer 62 is transferred to work file 72. Then, in the next step 316, it is determined whether the received data is the data end or not, and if it is not the data end, the step 316 is performed.
318 and work area write address storage area 7
The write address stored in 3 is updated.
Next, in step 320, the ACK data is set in the transmission buffer 63, and in step 322, the transmission flag 67 is set on, so that ACK data indicating that the file data has been successfully received is sent to the called station. Sent. Then, as described above, the called station receives the ACK data from the calling station within a predetermined time, and if the transmission data continues, it transmits the next file data to the calling station. The calling station steps through the received data in the receive buffer 62 every time KBBIOS is called and executed.
If the received data is checked in step 300, the received file data is sequentially transferred to the work file through the steps described above while the continuation flag 68 is on. Then, when it is determined in step 316 that the received file data has a data end,
The process moves to step 344, where the continuation flag 68 is reset to OFF, and the response ACK data is set in the transmission buffer 62 at step 346, and the next step is started.
At 322, the send flag 67 is set on and the ACK is sent.
The data is sent to the called station. After that, when this KBBIOS is called, it will normally receive ACK data from the called station, and if the decision in step 300 is YES, then the call will be made in step 301.
The judgment in step 302 is NO, the judgment in step 302 is YES,
If the determination in step 310 is NO, the process moves to step 324, where the call acceptance flag 69 is reset to OFF, and the calling station mode flag 64 is reset to OFF in step 326, so that the file from the called station is not accepted. The data reading process is completed. (b) In the case of file writing In the case of file writing, when the ACK data sent from the called station in response to the paging command is received, steps 300 to 309 are executed and the judgment in step 309 is If the answer is NO, the process moves to step 330 and the first transmission procedure of the file data for writing is executed. That is, in step 330, the transmission data of the work file 72 and its data length are set in the transmission buffer 63. Then, in the next step 332, it is determined whether the transmitted data is the data end, and if it is not the data end, the process moves to step 334,
The read address of the work area stored in the next work file read address storage area 74 is updated, and the transmission flag 67 is set on in step 322. If it is determined at step 322 that the data has ended, the process moves to step 340, where the continuation flag 68 is reset to OFF, and the process proceeds to the next step 342.
Then, the data end command is set in the transmission buffer 63, and the transmission flag 67 is set on in step 322. Next, when one transmission of file data to the called station is completed, ACK data indicating that the called station is ready to receive the next data is sent to the calling station. If the continuation flag 68 is on, the next time KBBIOS is executed, the determination in step 300 is YES, the determination in step 301 is NO,
The determination in step 302 is YES, the determination in step 310 is YES, the determination in step 312 is NO, and the process moves to step 328. And the reception buffer 62
If ACK data is received from the called station, the process moves to step 330 and the work file 72 is
Next, the transmission data and its data length are set in the transmission buffer 63. And the next step
In step 332, it is determined whether the transmitted data is the data end or not. If it is not the data end, step 334 is performed.
At step 322, the read address of the next work area is updated, and the transmission flag 67 is set on. If it is determined at step 322 that the data has ended, the process moves to step 340, where the continuation flag 68 is reset to OFF, and the process proceeds to the next step 342.
Then, the data end command is set in the transmission buffer 63, and the transmission flag 67 is set on in step 322. Furthermore, if ACK data has not been received in step 328, it is determined in step 336 whether or not the time has expired.
Return to the calling program of KBBIOS. Also,
If a timeover occurs, step 338
Then, the abort processing similar to that shown in steps 225 to 228 in FIG. 5 is executed. Furthermore, if it is determined in step 322 that the file data to be transmitted is the data end, the continuation flag 68 is turned off in step 340, so the next time KBBIOS is executed, the determination in step 310 will be NO. Then, the process advances to step 324, where the call acceptance flag 69 is reset to off, and at step 326, the calling station mode flag 64 is reset to off, completing the data transmission procedure. Note that when an abort command is received from the called station, the determination at step 301 becomes YES, and the processes from step 324 onwards are executed, completing the data transmission procedure.

【発明の効果】【Effect of the invention】

上記したように、本発明のコンピユータ通信シ
ステムは、周波数変換装置の接続された同軸伝送
路にモデム等を介してコンピユータを接続し、そ
のコンピユータにおいて、各端局の送受信バツフ
ア間で、割り込み処理によるバツクグランドジヨ
ブとしてデータの送受信を行う通信制御手段と、
キーボードから入力されたキーコードデータの読
込み処理の実行過程において、送受信バツフアに
おける受信データの有無を判定し、その受信デー
タに応じてデータフアイルをアクセスし、送受信
バツフアとデータフアイル間でデータの交換を行
うキー入力制御手段とを設けたことを特徴として
いるので、1つの端局のコンピユータがキーデー
タの入力処理を実行している際にそのコンピユー
タのフアイルを、そのデータの入力処理と並行し
て、他の端局のコンピユータからアクセスするこ
とが可能となる。 したがつて、端局間のフアイルアクセスの作業
性が向上すると共に、任意の1つの端局に保有さ
れているデータフアイルを各端局間で有効に使用
することができ、データフアイルの有効利用が図
られる。
As described above, the computer communication system of the present invention connects a computer to a coaxial transmission line connected to a frequency converter via a modem, etc., and uses interrupt processing to communicate between the transmitting and receiving buffers of each terminal station in the computer. a communication control means for transmitting and receiving data as a background job;
In the process of reading key code data input from the keyboard, it determines the presence or absence of received data in the send/receive buffer, accesses the data file according to the received data, and exchanges data between the send/receive buffer and the data file. Since the key input control means is provided, when the computer of one terminal station is executing key data input processing, the file of that computer is inputted in parallel with the data input processing. , it becomes possible to access it from computers at other terminal stations. Therefore, the workability of file access between terminal stations is improved, and the data file held in any one terminal station can be used effectively between each terminal station, resulting in effective use of data files. is planned.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の具体的の一実施例に係るコン
ピユータ通信システムを示した構成図。第2図は
そのシステムにおける1つの端局の構成を示した
ブロツクダイヤグラム。第3図は1つの端局のコ
ンピユータで実行されるアプリケーシヨンプログ
ラムと通信プリプロセツサとの実行関係を示した
タイミングチヤート。第4図、第5図、第6図は
各端局のCPUの処理手順を示したフローチヤー
トである。
FIG. 1 is a configuration diagram showing a computer communication system according to a specific embodiment of the present invention. FIG. 2 is a block diagram showing the configuration of one terminal station in the system. FIG. 3 is a timing chart showing the execution relationship between an application program executed on a computer of one terminal station and a communication preprocessor. FIG. 4, FIG. 5, and FIG. 6 are flowcharts showing the processing procedure of the CPU of each terminal station.

Claims (1)

【特許請求の範囲】 1 データフアイルの形成される外部記憶装置と
データを入力するキーボードと中央処理装置と端
局間で送受信されるデータを入力する送受信バツ
フアを有するコンピユータと、該コンピユータの
出力データをシリアル信号に変換するシリアルイ
ンタフエースと、該シリアル信号とアナログ信号
との間で変復調するモデムとで構成される端局
と、 複数の前記端局のモデムが接続される同軸伝送
路と、 前記伝送路に接続され、前記端局から出力され
る送信の周波数帯域を受信の周波数帯域に変換す
る周波数変換装置とから成り、 前記コンピユータにおいて、 前記各端局の送受信バツフア間で、割り込み処
理によるバツクグランドジヨブとしてデータの送
受信を行う通信制御手段と、 前記コンピユータがキーボードから入力された
キーコードデータの読込み処理の実行過程におい
て、前記送受信バツフアにおける受信データの有
無を判定し、その受信データに応じて前記データ
フアイルをアクセスし、前記送受信バツフアと前
記データフアイル間でデータの交換を行うキー入
力制御手段と、 を備えることを特徴とするコンピユータ通信シス
テム。
[Scope of Claims] 1. A computer having an external storage device in which a data file is formed, a keyboard for inputting data, a transmitting/receiving buffer for inputting data transmitted and received between a central processing unit and a terminal station, and output data of the computer. a terminal station comprising a serial interface that converts the serial signal into a serial signal, and a modem that modulates and demodulates the serial signal and the analog signal; a coaxial transmission line to which the modems of the plurality of terminal stations are connected; a frequency converter connected to a transmission line and converting a transmission frequency band outputted from the terminal station into a reception frequency band; a communication control means for transmitting and receiving data as a ground job; and the computer determines whether or not there is received data in the transmitting/receiving buffer in the process of reading key code data input from the keyboard, and transmits data according to the received data. A computer communication system comprising: key input control means for accessing the data file and exchanging data between the transmission/reception buffer and the data file.
JP62174294A 1987-07-13 1987-07-13 Computer communication system Granted JPS6417142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62174294A JPS6417142A (en) 1987-07-13 1987-07-13 Computer communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62174294A JPS6417142A (en) 1987-07-13 1987-07-13 Computer communication system

Publications (2)

Publication Number Publication Date
JPS6417142A JPS6417142A (en) 1989-01-20
JPH0467223B2 true JPH0467223B2 (en) 1992-10-27

Family

ID=15976156

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62174294A Granted JPS6417142A (en) 1987-07-13 1987-07-13 Computer communication system

Country Status (1)

Country Link
JP (1) JPS6417142A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0359939U (en) * 1989-05-19 1991-06-12
CA2037868A1 (en) * 1990-03-12 1991-09-13 David Stephen Murcko Sheet feeder

Also Published As

Publication number Publication date
JPS6417142A (en) 1989-01-20

Similar Documents

Publication Publication Date Title
JPH086880A (en) Method and equipment for provision of communication
JPH0467223B2 (en)
US5734918A (en) Computer system with an input/output processor which enables direct file transfers between a storage medium and a network
JPH0467222B2 (en)
US6449364B2 (en) Programmable hands free telephone system
JPH055414B2 (en)
JPS6126706B2 (en)
JPS5921051B2 (en) Communication control device
JPH0535487A (en) System for loading operation system
JPS61141063A (en) Suspension resumption system of file transfer
JPS615361A (en) Communication interface circuit
JP2948380B2 (en) Data communication device
JPH02170644A (en) Priority transmitting method for multimedia communication system
JPH03141439A (en) Computer system
JPH01174042A (en) Line control system
JPS63108452A (en) Inter-processor communication control system
JPH05282225A (en) Intra-terminal data communication equipment
JPS6029987B2 (en) Data transfer control method
JPH0589000A (en) Real time information transfer control system
JPS62262541A (en) Common memory access exclusive control system
JPS63234649A (en) Communication control system
JPS59174055A (en) Transmitting and receiving system of block data
JPH02224164A (en) File transfer system
JPS61105658A (en) Communication terminal device
JPH04238566A (en) Inter-multi-processor bus communication system

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees