JPS63228853A - Control system for text flow rate - Google Patents

Control system for text flow rate

Info

Publication number
JPS63228853A
JPS63228853A JP62063121A JP6312187A JPS63228853A JP S63228853 A JPS63228853 A JP S63228853A JP 62063121 A JP62063121 A JP 62063121A JP 6312187 A JP6312187 A JP 6312187A JP S63228853 A JPS63228853 A JP S63228853A
Authority
JP
Japan
Prior art keywords
text
processing system
response
blocking buffer
post
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.)
Pending
Application number
JP62063121A
Other languages
Japanese (ja)
Inventor
Masanori Nagasawa
長沢 真紀
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP62063121A priority Critical patent/JPS63228853A/en
Publication of JPS63228853A publication Critical patent/JPS63228853A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To carry out the output of a text with high efficiency and in a short communication time by performing the output to an output device and the transmission of the text in parallel with each other after providing a transmitting text memory part to a post-processing part and a blocking buffer and a receiving text control part to a pre-processing system respectively. CONSTITUTION:When a text is sent to a terminal equipment 7 from a text memory part 6, the text stored in the part 6 is successively read out by a transmitting text control part 5 and sent to a pre-conversation processing system 1 in a post-conversation processing system 2. The part 5 stops temporarily to read the text out of the part 6 for each transmission of a fixed processing unit number. Then a response request text for restart of transmission is sent to a receiving text control part 3 of the system 1 and this response is awaited. The part 3 checks the received text and stores it temporarily in a blocking buffer 4 if the text is not equal to a response request text. Then the text is outputted successively to the equipment 7 at and after the head part of the text.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はテキスト流量制御方式に関し、特に通信手段で
結合された複数処理システムにおけるテキスト流量制御
方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a text flow control method, and more particularly to a text flow control method in a multiple processing system coupled by communication means.

〔従来の技術〕[Conventional technology]

従来のテキスト流量制御方式では、後置処理システムか
らテキストの分割された一つの処理単位を受信するごと
に、前置処理システムはこれを受信速度に比べて出力速
度が遅い端末装置などの出力装置へ出、力し、この出力
が終ると次の処理単位を受信してこれを繰り返している
In the conventional text flow rate control method, each time a divided processing unit of text is received from the post-processing system, the pre-processing system transfers it to an output device such as a terminal device whose output speed is slower than the receiving speed. When this output is completed, the next processing unit is received and this process is repeated.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のテキスト流量制御方式では、前置処理シ
ステムはテキストの処理単位ごとに後置処理システムか
らの受信と出力装置への出力を交互に行うので、テキス
トの受信動作と出力装置への出力動作は直列に行われ、
出力速度が遅い装置への出力中は後置処理システムから
のテキストを受信することができない。
In the conventional text flow rate control method described above, the pre-processing system alternately receives data from the post-processing system and outputs it to the output device for each text processing unit, so the text reception operation and the output to the output device are The operation is done in series,
It is not possible to receive text from the post-processing system while outputting to a device with a slow output speed.

また、テキストの処理単位ごとに出力装置への出力が完
了した時点で後置処理システムからの受信を行うために
、受信待ち時間(前置処理システム、後置処理システム
または通信回線が他の動作中であれば待たされる)がテ
キストの処理単位ごとに必要であり、後置処理システム
から前置処理システムへのテキストの送信速度は処理単
位をまとめて送れば速いにもかかわらずこの伝送速度が
十分に生かされていないという問題点がある。
In addition, in order to receive data from the post-processing system when the output to the output device is completed for each text processing unit, the reception waiting time (pre-processing system, post-processing system, or communication line ) is required for each unit of text processing, and even though the text transmission speed from the post-processing system to the pre-processing system is faster if the processing units are sent all at once, this transmission speed is The problem is that they are not being fully utilized.

本発明の目的は、複数処理システムにおいてテキストの
処理単位ごとにテキストの送信が他の動作中で待たされ
ることはなく、出力装置への出力とテキストの送信が並
行して行えるようにして、通信時間が短くテキストの出
力を効率良く実行できるテキスト流量制御方式を提供す
ることである。
SUMMARY OF THE INVENTION An object of the present invention is to enable text transmission for each text processing unit in a multi-processing system to be performed in parallel without having to wait during other operations, and to enable communication. An object of the present invention is to provide a text flow rate control method that can efficiently output text in a short time.

〔問題点を解決するための手段〕 本発明のテキスト流量制御方式は、通信手段で結合され
た前置処理システムと後置処理システムとを含む複数処
理システムのテキスト流量制御方式において、前記後置
処理システムから前記前置処理システムへ処理単位に分
割されたテキストを一定処理単位数分連続的に送信する
ごとに次の連続した一定処理単位数分を送信することが
可能かどうかの応答を求める応答要求テキストを送信し
てこの応答要求テキストに対する応答を待つ送信テキス
ト制御部を前記後置処理システムに備え、前記後置処理
システムから受信したテキストを出力装置に出力するま
で一時記憶するブロッキングバッファと、このブロッキ
ングバッファを制御しそのブロッキングバッファの空き
状態を調べて前記応答要求テキストに対する応答を前記
送信テキスト制御部へ送信する受信テキスト制御部とを
前記前置処理システムに備えて構成されている。
[Means for Solving the Problems] The text flow rate control method of the present invention is a text flow rate control method for a plurality of processing systems including a preprocessing system and a postprocessing system connected by a communication means. Every time a certain number of processing units of text divided into processing units are continuously sent from the processing system to the pre-processing system, a response is obtained as to whether it is possible to send the next continuous number of processing units. The post-processing system includes a transmission text control unit that transmits a response request text and waits for a response to the response request text, and a blocking buffer that temporarily stores the text received from the post-processing system until it is output to an output device. , and a reception text control unit that controls the blocking buffer, checks the empty state of the blocking buffer, and transmits a response to the response request text to the transmission text control unit.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示す会話処理システムのブ
ロック図である。第1図において、前置会話処理システ
ム1は通信回線を介して後置会話処理システム2に結合
しており、受信テキスト制御部3とブロッキングバッフ
ァ4とを備えている。後置会話処理システム2は送信テ
キスト制御部5とテキスト記憶部6とを含んで構成され
ている。また、端末装置7は前置会話処理システム1に
接続されている。
FIG. 1 is a block diagram of a conversation processing system showing one embodiment of the present invention. In FIG. 1, a prefix conversation processing system 1 is coupled to a postconversation processing system 2 via a communication line, and includes a received text control section 3 and a blocking buffer 4. As shown in FIG. The post-conversation processing system 2 includes a transmission text control section 5 and a text storage section 6. Further, the terminal device 7 is connected to the prefix conversation processing system 1.

次に、テキストがテキスト記憶部6がら端末装置7へ送
られる動作を詳細に説明する。
Next, the operation of sending text from the text storage section 6 to the terminal device 7 will be explained in detail.

後置会話処理システム2において、テキスト記憶部6に
記憶しているテキストは送信テキスト制御部5により、
順次読出されて通信回線を通じて前置会話処理システム
1に送られる。送信テキスト制御部5は一定処理単位数
を送信するごとにテキスト記憶部6からの読出しを一時
中断して、送信再開についての応答要求テキストを前置
会話処理システム1の受信テキスト制御部3に送信して
、その応答待ちとなる。
In the postscript conversation processing system 2, the text stored in the text storage section 6 is sent by the transmission text control section 5.
The information is sequentially read out and sent to the pre-conversation processing system 1 via a communication line. The transmission text control unit 5 temporarily suspends reading from the text storage unit 6 every time a certain number of processing units are transmitted, and transmits a response request text for resuming transmission to the reception text control unit 3 of the prefix conversation processing system 1. and waits for the response.

受信テキスト制御部3は受信されたテキストを調べ応答
要求テキストでなければブロッキングバッファ4に一時
記憶させ、テキストの先頭部分から順に端末装置7への
出力を実施する。
The received text control unit 3 checks the received text, and if it is not a response request text, temporarily stores it in the blocking buffer 4, and outputs the text to the terminal device 7 in order from the beginning.

第2図は受信テキスト制御部3の処理手順を示す流れ図
であり、上記の動作を説明している。
FIG. 2 is a flowchart showing the processing procedure of the received text control section 3, and explains the above operation.

第2図において、ステップ31.は受信テキスト制御部
3が送信テキスト制御部5よりテキス1−の一つの処理
単位を受信する動作を示しており、受信した内容はまず
ステップ32で終了がどうがか調べられ、終了でない(
NO)ならば次にステップ33で一つの処理単位で構成
される応答要求テキストかどうかが調べられるが、応答
要求テキストでない(NO)ならば出力情報のテキスト
であるとして、次にステップ34でブロッキングバッフ
ァ4がフル状態かどうかが調べられる。
In FIG. 2, step 31. shows the operation in which the received text control unit 3 receives one processing unit of text 1- from the transmitted text control unit 5, and the received content is first checked in step 32 to see if it is finished, and if it is not finished (
If NO), then in step 33 it is checked whether the response request text consists of one processing unit, but if it is not a response request text (NO), it is assumed that it is an output information text, and then in step 34 blocking is performed. It is checked whether buffer 4 is full.

ブロッキングバッファ4が−っの処理単位も入らないフ
ル状態である(YES)ならば第2図に示すように一定
時間待ちをして繰り返して調べられる。ブロッキングバ
ッファ4が受信また処理単位を収容できる空き領域があ
りフル状態でない(NO)ならばステップ35で受信し
たテキストの処理単位はブロッキングバッファ4に一時
記憶(ブロッキングバッファにブロッキング)されて端
末装置7への出力待ちとなり、テキストの次の処理単位
に対する受信動作に移る。
If the blocking buffer 4 is in a full state (YES), the blocking buffer 4 is in a full state in which not even a single processing unit can be accommodated, then the checking is repeated after waiting for a certain period of time as shown in FIG. If the blocking buffer 4 has a free space that can accommodate the received or processed unit and is not full (NO), the received text processing unit is temporarily stored in the blocking buffer 4 (blocked in the blocking buffer) and sent to the terminal device 7. The process waits for output to the text, and moves on to the reception operation for the next processing unit of text.

受信テキスト制御部3は受信テキストの中に応答要求テ
キストを検出すればブロッキングバッファ4の空き領域
を調べ十分な空き領域があれば後置会話処理システム2
の送信テキスト制御部5への応答を行う。
When the received text control unit 3 detects a response request text in the received text, it checks the free space in the blocking buffer 4 and if there is enough free space, the postfix conversation processing system 2
A response is made to the transmission text control unit 5.

第2図および第3図においてこの動作を説明する。第3
図はブロッキングバッファの空き領域と一定処理単位数
のテキストが占める領域との関係を示す説明図である。
This operation will be explained in FIGS. 2 and 3. Third
The figure is an explanatory diagram showing the relationship between the free area of the blocking buffer and the area occupied by a certain number of processing units of text.

第2図のステップ33で応答要求テキストである(YE
S)ことを検出した場合には、ステップ36でブロッキ
ングバッファ4が十分に空いているかすなわちテキスト
の一定処理単位数以上の空き領域を持っているかどうか
が調べられる。
In step 33 of FIG. 2, the response request text (YE
If S) is detected, it is checked in step 36 whether the blocking buffer 4 is sufficiently empty, that is, whether it has an empty area equal to or more than a certain number of text processing units.

第3図において、ブロッキングバッファ領域61で空き
領域の大きさがM文字であることを示し、テキストの一
定処理単位数62でこのテキストの一定処理単位数がm
単位および一つの処理単位がn文字であることを示して
いる0M(mXnである(すなわちステップ36がNo
)ならば第2図のように一定時間待ちをして編り返して
調べられる0M≧mXnである(すなわちステップ36
がYES)ならばステップ37で、受信テキスト制御部
3は送信テキスト制御部5へ一定処理単位数(m単位)
のテキストを送ることができる旨の応答を行い、テキス
トの次の処理単位に対する受信動作に移る。
In FIG. 3, it is shown that the size of the free space in the blocking buffer area 61 is M characters, and the number of fixed processing units of text 62 indicates that the number of fixed processing units of this text is m.
0M (mXn) indicating that the unit and one processing unit is n characters (i.e. step 36 is No
), then 0M≧mXn, which can be checked by waiting for a certain period of time as shown in Fig. 2 (i.e., step 36
is YES), in step 37, the reception text control unit 3 sends a fixed number of processing units (in units of m) to the transmission text control unit 5.
A response is made to the effect that the text can be sent, and the process moves on to the reception operation for the next processing unit of text.

送信テキスト制御部5はこの応答を受ければ次の一定処
理単位数のテキストに関する送信を再開する。
When the transmission text control unit 5 receives this response, it resumes transmission regarding the next fixed number of processing units of text.

これらの動作に並行して、ブロッキングバッファ4に一
時記憶されたテキストは先に受信したテキストの処理単
位から順に端末装置7へ出力される。
In parallel with these operations, the text temporarily stored in the blocking buffer 4 is output to the terminal device 7 in order from the processing unit of the previously received text.

上記の実施例では、後置会話処理システム2から前置会
話処理システム1へ、ブロッキングバッファ領域61の
空き領域がM(mXnになるまで、m単位分のテキスト
がまとめて効率良く送られるとともに、これに並行して
端末装置7への出力動作が行われる。
In the above embodiment, m units of text are efficiently sent from the postfix conversation processing system 2 to the prefix conversation processing system 1 until the free space in the blocking buffer area 61 becomes M(mXn), and In parallel with this, an output operation to the terminal device 7 is performed.

なお、上記の実施例は会話処理システムの場合を示して
いるがこれに限定されるものではなく、文書処理システ
ムやテキスト処理システムなど種々の用途に使用できる
Note that although the above-described embodiments show the case of a conversation processing system, the present invention is not limited to this, and can be used in various applications such as a document processing system and a text processing system.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明のテキスト流量制御方式は
、テキストの通信動作と出力装置への出力動作を並行し
て行うとともに、テキストの一定処理単位数を出力装置
への出力契機にとられれずに連続して高速に送信するの
で、テキストの処理単位ごとに前置処理システム、後置
処理システムまたは通信回線が他の動作中のために待た
されることはなく、通信時間が短く効率の良いテキスト
出力の制御方式を提供するという効果を有する。
As explained above, the text flow rate control method of the present invention performs the text communication operation and the output operation to the output device in parallel, and does not take a fixed number of processing units of text as an opportunity to output to the output device. Since the text is sent continuously and at high speed, the pre-processing system, post-processing system, or communication line does not have to wait for each unit of text processing due to other operations, and the communication time is short and the text is sent efficiently. This has the effect of providing an output control method.

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

第1図は本発明の一実施例を示す会話処理システムのブ
ロック図、第2図は受信テキスト制御部の処理手順を示
す流れ図、第3図はブロッキングバ・ソファの空き領域
と受信テキストの一定処理単位数が占める領域との関係
を示す説明図である。 l・・・前置会話処理システム、2・・・後置会話処理
システム、3・・・受信テキスト制御部、4・・・ブロ
ッキングバッファ、5・・・送信テキスト制御部、6・
・・テキスト記憶部、7・・・端末装置。 ・くッ・ 第31 77領域
Fig. 1 is a block diagram of a conversation processing system showing an embodiment of the present invention, Fig. 2 is a flowchart showing the processing procedure of the received text control section, and Fig. 3 shows the free area of the blocking bar/sofa and the constantness of the received text. FIG. 6 is an explanatory diagram showing the relationship between the number of processing units and the area occupied. l... Prefix conversation processing system, 2... Postfix conversation processing system, 3... Reception text control unit, 4... Blocking buffer, 5... Transmission text control unit, 6.
...Text storage unit, 7...Terminal device.・Damn・ 31st 77th area

Claims (1)

【特許請求の範囲】[Claims] 通信手段で結合された前置処理システムと後置処理シス
テムとを含む複数処理システムのテキスト流量制御方式
において、前記後置処理システムから前記前置処理シス
テムへ処理単位に分割されたテキストを一定処理単位数
分連続的に送信するごとに次の連続した一定処理単位数
分を送信することが可能かどうかの応答を求める応答要
求テキストを送信してこの応答要求テキストに対する応
答を待つ送信テキスト制御部を前記後置処理システムに
備え、前記後置処理システムから受信したテキストを出
力装置に出力するまで一時記憶するブロッキングバッフ
ァと、このブロッキングバッファを制御しそのブロッキ
ングバッファの空き状態を調べて前記応答要求テキスト
に対する応答を前記送信テキスト制御部へ送信する受信
テキスト制御部とを前記前置処理システムに備えること
を特徴とするテキスト流量制御方式。
In a text flow rate control method for a plurality of processing systems including a pre-processing system and a post-processing system connected by a communication means, text divided into processing units is processed in a constant manner from the post-processing system to the pre-processing system. A transmission text control unit that transmits a response request text requesting a response as to whether or not it is possible to transmit the next consecutive fixed number of processing units every time a unit of continuous transmission is performed, and waits for a response to this response request text. is provided in the post-processing system, and includes a blocking buffer that temporarily stores the text received from the post-processing system until it is output to an output device, and a blocking buffer that controls the blocking buffer and checks the empty state of the blocking buffer to request the response. A text flow control method characterized in that the preprocessing system includes a reception text control section that transmits a response to the text to the transmission text control section.
JP62063121A 1987-03-17 1987-03-17 Control system for text flow rate Pending JPS63228853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62063121A JPS63228853A (en) 1987-03-17 1987-03-17 Control system for text flow rate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62063121A JPS63228853A (en) 1987-03-17 1987-03-17 Control system for text flow rate

Publications (1)

Publication Number Publication Date
JPS63228853A true JPS63228853A (en) 1988-09-22

Family

ID=13220134

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62063121A Pending JPS63228853A (en) 1987-03-17 1987-03-17 Control system for text flow rate

Country Status (1)

Country Link
JP (1) JPS63228853A (en)

Similar Documents

Publication Publication Date Title
JPS63280365A (en) Control system for direct memory access order contention
US5228129A (en) Synchronous communication interface for reducing the effect of data processor latency
JPS61100046A (en) Loop transmission method
JPS63228853A (en) Control system for text flow rate
US4679045A (en) Sequencing data transmission process
JP3230339B2 (en) Communication control device
EP0285335A2 (en) Data communication system and method
JPS61294506A (en) High-speed pio transmission method for programmable controller
EP1119141A1 (en) Real-time communication device and system
JPH03255558A (en) Communication processor control system
JPS62247441A (en) Batch transfer system for transmission message
JPH0758762A (en) Data transfer system
JPH03250939A (en) Polling control system for multi-point line
JPH05175996A (en) Distributed line selection method
JPH1021178A (en) Data transmitter
JPS63191459A (en) Image data transmission system
JPS6028348A (en) Data file transmission system
JPH01261953A (en) Data output system
JPH0766361B2 (en) Data transfer method
JPH0437370A (en) Data compression device
JPH04102150A (en) Telegraphic message editing and transmitting system
JPS61180353A (en) Data transfer control system
JPS6364151A (en) Message output system
JPH0468729A (en) Text transmission reception processing system
JPH0667842A (en) Method for controlling transmitting/receiving buffer memory