JPS63206053A - Control system for transmission buffer - Google Patents

Control system for transmission buffer

Info

Publication number
JPS63206053A
JPS63206053A JP62038939A JP3893987A JPS63206053A JP S63206053 A JPS63206053 A JP S63206053A JP 62038939 A JP62038939 A JP 62038939A JP 3893987 A JP3893987 A JP 3893987A JP S63206053 A JPS63206053 A JP S63206053A
Authority
JP
Japan
Prior art keywords
data
buffer
transmission buffer
host computer
terminal device
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.)
Granted
Application number
JP62038939A
Other languages
Japanese (ja)
Other versions
JPH0521458B2 (en
Inventor
Kunihito Tsutsumi
堤 邦仁
Shinichi Yoshinaga
吉永 伸一
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62038939A priority Critical patent/JPS63206053A/en
Publication of JPS63206053A publication Critical patent/JPS63206053A/en
Publication of JPH0521458B2 publication Critical patent/JPH0521458B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate need for stop a terminal equipment by printing out a data in a transmission buffer onto a printer before a new data is inputted if the transmission buffer is occupied. CONSTITUTION:After a data inputted from a terminal equipment 11 is stored once in a transmission buffer 13, the data is sent to a host computer 12. Moreover, a detection means 19 detecting the occupied transmission buffer 13 is provided and when the detection means 19 detects the occupied transmission buffer 13, before a new data is inputted to the transmission buffer 13, the data in the buffer 13 is printed out by controlling a buffer controller 14.

Description

【発明の詳細な説明】 〔概要〕 本発明は、端末装置からホストコンピュータに送信する
オンラインシステムにおいて、ホストコンピュータがビ
ジーとなり、しかも送信バッファもフルになったとき、
取引の中断が起ることを回避するため、データが入力す
るバッファ内のデータを印字することによって、引きつ
づき送信バッファに新しいデータを入力することができ
るようにしたものである。
[Detailed Description of the Invention] [Summary] The present invention provides an online system for sending data from a terminal device to a host computer, when the host computer becomes busy and the sending buffer becomes full.
In order to avoid interrupting transactions, the data in the buffer into which data is input is printed so that new data can be subsequently input into the transmission buffer.

(産業上の利用分野) この発明は、端末装置からホストコンピュータに送信す
るオンラインシステムにおいて、ホストコンピュータが
ビジーで、しかも送信バッファがフルになったときも、
取引の中断が起ることを回避するための、送信バッファ
の制御方式に関する。
(Industrial Application Field) This invention provides an online system for sending data from a terminal device to a host computer, even when the host computer is busy and the sending buffer is full.
This invention relates to a transmission buffer control method to avoid transaction interruption.

(従来の技術) 従来小売業等におけるPO8端末装置から、ホストコン
ピュータに取引データ等を送信する場合には、例えば、
第3図に示すように端末装置1とホストコンピュータ2
との間にバッファメモリ3を置き、ホストコンピュータ
2がビジーとなっても、その間はバッファ3にデータを
一時記憶させてあとで送信するようにし、端末装置1に
おける取引の中断が起らないようになっている。
(Prior Art) Conventionally, when transmitting transaction data etc. from a PO8 terminal device in a retail business etc. to a host computer, for example,
As shown in FIG. 3, a terminal device 1 and a host computer 2
A buffer memory 3 is placed between the host computer 2 and the host computer 2, so that even if the host computer 2 is busy, data is temporarily stored in the buffer 3 and transmitted later, so that the transaction at the terminal device 1 is not interrupted. It has become.

(発明が解決しようとする問題点) しかしながら、このような従来のバッファ3にあっては
、ホストコンピュータへの送信待ちによって送信バッフ
ァがフルとなったときは、これにデータを入力すること
ができないから、端末装置が使えなくなって、POSの
所にいる顧客を待たせてしまうという問題点があった。
(Problem to be Solved by the Invention) However, in such a conventional buffer 3, when the transmission buffer becomes full due to waiting for transmission to the host computer, data cannot be input to it. Therefore, there was a problem in that the terminal device became unusable and the customer at the POS was kept waiting.

この発明は、このような従来の問題点に着目してなされ
たもので、送信バッファがフルになっても、端末装置を
引きつづき使用することができるように、バッファを制
御できるようにすることをその目的とする。
The present invention was made by focusing on such conventional problems, and it is an object of the present invention to make it possible to control the buffer so that the terminal device can continue to be used even if the transmission buffer becomes full. is its purpose.

(問題点を解決するための手段) この目的を達成するため本発明の構成は、端末装置11
から入力されたデータを送信バッファ13に一旦格納し
た後、ホストコンピュータ12に前記データを送信する
オンラインシステムに於いて、送信バッファ13がフル
になったことを検出する検出手段19を設け、該検出手
段19が該送信バッファ13がフルになったことを検出
したとき、新しいデータを該送信バッファ13に入力す
る前に、バッファ内のデータを印字するようにバッファ
制御装置14を制御するものである。
(Means for Solving the Problem) In order to achieve this object, the configuration of the present invention is such that the terminal device 11
In an online system for transmitting data to the host computer 12 after temporarily storing data input from the transmitter buffer 13 in the transmitting buffer 13, a detecting means 19 is provided to detect when the transmitting buffer 13 becomes full. When the means 19 detects that the transmission buffer 13 is full, it controls the buffer controller 14 to print the data in the buffer before inputting new data into the transmission buffer 13. .

(作用) これによって第1図に示すように、端末装置11の送信
バッファ13がフルになっても、それは検出装置19に
よって検出され、新しいデータが入力される前に送信バ
ッファ13内のデータはプリンタ22に印字されるから
、引きつづきデータを入力しつづけることができる。よ
って端末装置を休止させる必要がなく、顧客との取引が
中断することがなくなる。
(Function) As a result, as shown in FIG. 1, even if the transmission buffer 13 of the terminal device 11 becomes full, it will be detected by the detection device 19, and the data in the transmission buffer 13 will be cleared before new data is input. Since the data is printed on the printer 22, it is possible to continue inputting data. Therefore, there is no need to suspend the terminal device, and transactions with customers are not interrupted.

〔実施例〕〔Example〕

以下、この発明の実施例を図面に基づいて説明する。 Embodiments of the present invention will be described below based on the drawings.

第2図は本発明の実施例の端末装置のブロック図で、端
末装置11からホストコンピュータ12にデータを送信
するオンラインシステムに於いて、端末装置11には、
入力装置11a、入力装置11aからのデータをまず入
力する電文編集処理回路15があり、またホストコンピ
ュータ12へ出力するための回線制御回路16がある。
FIG. 2 is a block diagram of a terminal device according to an embodiment of the present invention. In an online system that transmits data from the terminal device 11 to a host computer 12, the terminal device 11 includes
There is an input device 11a, a message editing processing circuit 15 for first inputting data from the input device 11a, and a line control circuit 16 for outputting data to the host computer 12.

そして電文編集処理回路15と回線制御回路16とを、
送信バッファ13に連接してデータを授受するための、
送信バッファ制御装置14がある。送信バッファ制御装
置14は格納ポインタ17、処理ポインタ18、それら
を判定して送信バッファがフルになりたことを検出する
検出装置19とから構成されている。電文編集処理回路
15から、送信バッファ13への伝送は、格納ポインタ
17によって制御され、回線制御回路16への伝送は処
理ポインタ18によって制御されるようになっている。
Then, the message editing processing circuit 15 and the line control circuit 16,
For transmitting and receiving data in connection with the transmission buffer 13,
There is a transmit buffer control device 14 . The transmission buffer control device 14 includes a storage pointer 17, a processing pointer 18, and a detection device 19 that determines these points and detects that the transmission buffer is full. The transmission from the message editing processing circuit 15 to the transmission buffer 13 is controlled by the storage pointer 17, and the transmission to the line control circuit 16 is controlled by the processing pointer 18.

判定を行う検出装置19には出力器20が接続しており
、出力器20にはデータを印字するための出力制御装置
21とプリンタ22が接続する。
An output device 20 is connected to the detection device 19 that performs the determination, and an output control device 21 and a printer 22 for printing data are connected to the output device 20.

入力装置11aから入力されたデータは、まず電文編集
処理回路15に送られ、送信バッファ13から回線制御
回路16を経てホストコンピュータ12に送られる。こ
のとき送信バッファ制御装置14の検出装置19は、格
納ポインタ17および処理ポインタ18の指示している
バッファメモリの位置が一致しているかどうかを判定し
、一致していなければ格納OKの信号を出して、電文編
集処理回路15のデータを、送信バッファ13に格納す
る。同時に格納ボインンタ17の指示値を+1とし、次
のバッファメモリにデータを送るようにする。このよう
にして格納ポインタ17の指示位置が処理ポインタ18
の指示位置と一致しない間は、送信バッファ13に電文
編集処理回路15からデータが送りつづけられる。一方
送信バッファ13からは、回線制御回路16を経てホス
トコンピュータ12にデータが送られるが、ホストコン
ピュータがビジーであれば、送信は一時停止して、送信
バッファにデータが蓄積される。
Data input from the input device 11a is first sent to the message editing processing circuit 15, and then sent from the transmission buffer 13 to the host computer 12 via the line control circuit 16. At this time, the detection device 19 of the transmission buffer control device 14 determines whether the buffer memory locations indicated by the storage pointer 17 and the processing pointer 18 match, and if they do not match, outputs a storage OK signal. Then, the data of the message editing processing circuit 15 is stored in the transmission buffer 13. At the same time, the instruction value of the storage pointer 17 is set to +1 to send the data to the next buffer memory. In this way, the indicated position of the storage pointer 17 is changed to the processing pointer 18.
As long as the data does not match the designated position, data continues to be sent from the message editing processing circuit 15 to the transmission buffer 13. On the other hand, data is sent from the transmission buffer 13 to the host computer 12 via the line control circuit 16, but if the host computer is busy, transmission is temporarily stopped and the data is accumulated in the transmission buffer.

そうすると送信バッファ13にはデータがだんだん蓄積
されて、遂にバッファがフルとなり、これ以上データを
入れることができなくなる。このとき格納ポインタ17
と処理ポインタ18の指示位置は一致しており、両者の
指示位置が一致していることは、検出装置19によって
判別することができる。そうすると従来はそこでデータ
の入力ができなくなりPO8端末での取引が中断してい
たが、本実施例では、両者のポインタが一致した場合に
は、格納ポインタ17の指示するバッファのデータを、
出力器20から出力制御装置21を駆動して、プリンタ
22に印字して出力する。出力を終了したならば、その
あとに次のデータを入力することができ、端末装置は停
止せず、取引が中断されることがない。またそのときバ
ッファ制御装置14によって格納ポインタ17の指示値
を+1とし、処理ポインタ18の指示値も同時に+1と
する。これはオフラインがオンラインに戻ったとき、格
納ポインタの示すエリアの一つ先のエリアを常に処理ポ
インタが指示して、そのデータから送信するようにする
ためである。
As a result, data gradually accumulates in the transmission buffer 13 until the buffer becomes full and no more data can be input. At this time, storage pointer 17
The indicated positions of the processing pointer 18 and the processing pointer 18 match, and it can be determined by the detection device 19 that the indicated positions of the two match. Conventionally, this would make it impossible to input data and the transaction at the PO8 terminal would be interrupted, but in this embodiment, if the two pointers match, the data in the buffer pointed to by the storage pointer 17 is
The output device 20 drives the output control device 21 to print and output to the printer 22. Once the output is finished, the next data can be input after that, and the terminal device will not stop and the transaction will not be interrupted. At this time, the buffer control device 14 sets the storage pointer 17 to +1, and the processing pointer 18 to +1 at the same time. This is so that when the offline state returns to the online state, the processing pointer always points to the next area beyond the area indicated by the storage pointer, and the data is transmitted starting from that area.

(発明の効果) 以上説明したように、この発明によれば多数の端末装置
からホストコンピュータにデータを送信するオンライン
システムに於て、ホストコンピュータがビジーであり、
しかも端末装置の送信バッファもフルになった場合でも
、端末装置での取引を中断することなく、データの入力
を継続して行うことができる。よって顧客を待たせるこ
ともなくなる。
(Effects of the Invention) As explained above, according to the present invention, in an online system in which data is transmitted from a large number of terminal devices to a host computer, when the host computer is busy,
Moreover, even if the transmission buffer of the terminal device becomes full, data can be input continuously without interrupting the transaction at the terminal device. Therefore, customers will not be kept waiting.

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

第1図は本発明の原理を示すブロック図、第2図は本発
明の一実施例に係る端末装置のブロック図、第3図は従
来の端末装置からホストコンピュータにデータを送信す
るオンラインシステムのブロック図である。 11 ・・・端末装置 12 ・・・ホストコンピュータ 13 ・・・送信バッファ 14 ・・・送信バッファ制御装置 19 ・・・検出装置 ヘ J−骨θ目の7f′哩図 第1図 恢平のオ浅 第3図
FIG. 1 is a block diagram showing the principle of the present invention, FIG. 2 is a block diagram of a terminal device according to an embodiment of the present invention, and FIG. 3 is a block diagram of a conventional online system for transmitting data from a terminal device to a host computer. It is a block diagram. 11...Terminal device 12...Host computer 13...Transmission buffer 14...Transmission buffer control device 19...Detection device shallow figure 3

Claims (1)

【特許請求の範囲】 端末装置(11)から入力されたデータを送信バッファ
(13)に一旦格納した後、ホストコンピュータ(12
)に前記データを送信するオンラインシステムに於いて
、 前記送信バッファ(13)がフルになったことを検出す
る検出手段(19)を設け、該検出手段(19)が該送
信バッファ(13)がフルになったことを検出したとき
、新しいデータを該送信バッファ(13)に入力する前
に、バッファ内のデータを印字するようにバッファ制御
装置(14)を制御することを特徴とする送信バッファ
の制御方式。
[Claims] After the data input from the terminal device (11) is temporarily stored in the transmission buffer (13), the data input from the terminal device (11) is sent to the host computer (12
), a detection means (19) is provided for detecting when the transmission buffer (13) is full, and the detection means (19) detects when the transmission buffer (13) is full. A transmitting buffer characterized in that when it is detected that the transmitting buffer is full, the buffer controller (14) is controlled to print the data in the buffer before inputting new data into the transmitting buffer (13). control method.
JP62038939A 1987-02-20 1987-02-20 Control system for transmission buffer Granted JPS63206053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62038939A JPS63206053A (en) 1987-02-20 1987-02-20 Control system for transmission buffer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62038939A JPS63206053A (en) 1987-02-20 1987-02-20 Control system for transmission buffer

Publications (2)

Publication Number Publication Date
JPS63206053A true JPS63206053A (en) 1988-08-25
JPH0521458B2 JPH0521458B2 (en) 1993-03-24

Family

ID=12539195

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62038939A Granted JPS63206053A (en) 1987-02-20 1987-02-20 Control system for transmission buffer

Country Status (1)

Country Link
JP (1) JPS63206053A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02209047A (en) * 1989-02-09 1990-08-20 Nec Corp Text repeater

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02209047A (en) * 1989-02-09 1990-08-20 Nec Corp Text repeater

Also Published As

Publication number Publication date
JPH0521458B2 (en) 1993-03-24

Similar Documents

Publication Publication Date Title
US4145755A (en) Information transferring apparatus
JPS63206053A (en) Control system for transmission buffer
JP3115390B2 (en) Print data receiving method and printer using the method
US6292266B1 (en) Printing apparatus with facsimile function
JP2828005B2 (en) Printer device
JP2001260493A (en) Network printer system
JPS617922A (en) Processing method of image data
JP3303264B2 (en) Printer device
JPS61270952A (en) Data transmitting system
JP3254814B2 (en) Data transfer method
JP3007404B2 (en) Printing apparatus and printing method
JPH02258358A (en) Communication controller in laser printer
JPS599925B2 (en) Priority processing method
KR20000043347A (en) Data input/output device
JPH064229A (en) Information transmitting method by parallel interface
JPH0235500B2 (en)
JPH056284A (en) Error control system
JPH056250A (en) Printer device
JPH04126468A (en) Image forming device
JPH0484315A (en) Printer controller
JPH0615884A (en) Printer
JPH06309245A (en) Scsi interface system device
KR19990029549U (en) Alarm sound printer
JPH03270334A (en) Reception controller in start-stop synchronizing communication
JPH0897956A (en) Printer interface for video printer

Legal Events

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