JPS62247441A - Batch transfer system for transmission message - Google Patents
Batch transfer system for transmission messageInfo
- Publication number
- JPS62247441A JPS62247441A JP61090895A JP9089586A JPS62247441A JP S62247441 A JPS62247441 A JP S62247441A JP 61090895 A JP61090895 A JP 61090895A JP 9089586 A JP9089586 A JP 9089586A JP S62247441 A JPS62247441 A JP S62247441A
- Authority
- JP
- Japan
- Prior art keywords
- transmission
- message
- frame
- buffer
- messages
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 88
- 238000000034 method Methods 0.000 claims abstract description 24
- 238000004891 communication Methods 0.000 claims description 8
- 230000004044 response Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野〕
本発明は送信メツセージ一括転送方式に関し、特に複数
の送信メツセージを送信用バッファ上に伝送手順形式の
送信フレームとして生成して一括転送する方式に関する
。[Detailed Description of the Invention] (Industrial Application Field) The present invention relates to a method for batch transfer of transmitted messages, and particularly relates to a method for generating a plurality of transmitted messages as transmission frames in a transmission procedure format on a transmission buffer and transferring them all at once. .
従来、送信メツセージ転送方式は、メツセージ待ち行列
からメツセージ待ち行列管理手段によりlメツセージを
取り出し、主記憶管理手段により管理された送信用バッ
ファ上にその1メツセージだけの伝送手順形式の送信フ
レームを生成して、この送信フレームをフレーム送信手
段により端末に送信するようになっていた。Conventionally, in a transmission message transfer method, a message queue management means extracts one message from a message queue, and a transmission frame in a transmission procedure format for only that one message is generated on a transmission buffer managed by a main memory management means. Then, this transmission frame was transmitted to the terminal by a frame transmission means.
上述した従来の送信メソセージ転送方式は、端末が長い
メツセージ受信能力を有していても、メツセージ待ち行
列上のメッセージ長のまま1メツセージ毎に送信を行う
ので、伝送効率が低下して端末のメツセージ受信時間が
長くなるという欠点がある。In the conventional transmission message transfer method described above, even if the terminal has the ability to receive long messages, it transmits each message while keeping the length of the message on the message queue, so the transmission efficiency decreases and the terminal's message is The disadvantage is that the reception time is long.
本発明の目的は、上述の点に鑑み、複数の送信メツセー
ジを1回の伝送手順で一括転送することができる送信メ
ツセージ一括転送方式を提供することにある。SUMMARY OF THE INVENTION In view of the above-mentioned points, an object of the present invention is to provide a method for collectively transferring a plurality of transmitted messages in a single transmission procedure.
本発明の送信メツセージ一括転送方式は、メツセージ待
ち行列から送信メツセージを取り出し送信用バッファ上
に伝送手順形式の送信フレームを生成して端末に送信す
るデータ通信システムにおいて、連続した送信メツセー
ジを受信する能力を有する前記端末と、プログラムから
送出された送信メツセージを前記メツセージ待ち行列に
格納して管理するメツセージ待ち行列管理手段と、前記
送信用バッファを管理する主記憶管理手段と、前記メツ
セージ待ち行列より前記端末が受信しうる最大メッセー
ジ長までの複数の送信メツセージを取り出してこれら複
数の送信メツセージによって前記送信用バッファ上に伝
送手順形式の前記送信フレームを生成する一括フレーム
生成手段と、この一括フレーム生成手段により生成され
た前記送信フレームを前記端末に送信するフレーム送信
手段とを有する。The transmitted message batch transfer method of the present invention has the ability to receive consecutive transmitted messages in a data communication system that extracts transmitted messages from a message queue, generates a transmission frame in a transmission procedure format on a transmission buffer, and transmits it to a terminal. Message queue management means for storing and managing transmission messages sent from a program in the message queue; main memory management means for managing the transmission buffer; a batch frame generation means for extracting a plurality of transmission messages up to a maximum message length that can be received by a terminal and generating the transmission frame in a transmission procedure format on the transmission buffer using the plurality of transmission messages, and the batch frame generation means and frame transmitting means for transmitting the transmission frame generated by the above to the terminal.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は、本発明の一実施例の送信メツセージ一括転送
方式を通用するデータ通信システムを示すブロック図で
ある。このデータ通信システムは、ホストコンピュータ
10が通信回&1116を介して端末17に接続されて
構成されている。FIG. 1 is a block diagram illustrating a data communication system that uses a sent message batch transfer method according to an embodiment of the present invention. This data communication system includes a host computer 10 connected to a terminal 17 via a communication line &1116.
ホストコンピュータ10は、プログラム11と、このプ
ログラム11から送出されたメツセージをメツセージ待
ち行列20(第2図参照)に格納するメツセージ待ち行
列管理手段12と、メツセージ待ち行列20内の複数の
メツセージを取り出して送信用バッファ23(第2図参
照)上に伝送手順形式の送信フレームを生成する一括フ
レーム生成手段13と、生成された送信フレームを通信
回線16を介して端末17に送信するフレーム送信手段
14と、送信用バッファ23を管理する主記憶管理手段
15とから構成されている。The host computer 10 includes a program 11, a message queue management means 12 that stores messages sent from the program 11 in a message queue 20 (see FIG. 2), and a message queue management means 12 that retrieves a plurality of messages from the message queue 20. a batch frame generation means 13 that generates a transmission frame in a transmission procedure format on a transmission buffer 23 (see FIG. 2); and a frame transmission means 14 that transmits the generated transmission frame to a terminal 17 via a communication line 16. and a main memory management means 15 that manages the transmission buffer 23.
端末17は、連続した送信メツセージを受信しうるデー
タ端末装置である。Terminal 17 is a data terminal device capable of receiving successive transmitted messages.
第2図を参照すると、メツセージ待ち行列20内の複数
のメツセージ21および22は、1つの送信用バッファ
23上に伝送制御キャラクタSTX (Start
of Text)と伝送制御キャラクタETX (E
nd of Text)によって挟まれた1つの送
信フレームとして生成される。Referring to FIG. 2, a plurality of messages 21 and 22 in the message queue 20 are stored on one sending buffer 23 with a transmission control character STX (Start
of Text) and transmission control character ETX (E
nd of Text) as one transmission frame.
第3図を参照すると、第1図中に示した一括フレーム生
成手段13における処理は、送信用バッファ獲得ステッ
プ31と、1メツセージ入カステツプ32と、メツセー
ジ獲得判断ステップ33と、フレーム生成ステップ34
と、送信用バッファ内未使用領域存在判断ステップ35
と、フレーム送信手段起動ステップ36とからなる。Referring to FIG. 3, the processing in the batch frame generation means 13 shown in FIG.
And unused area existence determination step 35 in the transmission buffer
and a frame transmitting means activation step 36.
次に、このように構成された本実施例の送信メツセージ
一括転送方式の動作について説明する。Next, the operation of the transmitted message batch transfer system of this embodiment configured as described above will be explained.
いま、第2図に示すように、プログラム11から送出さ
れたメツセージ21および22が、メツセージ待ち行列
管理手段12によりメツセージ待ち行列20に順次キュ
ーイングされているものとする。Assume now that messages 21 and 22 sent from the program 11 are sequentially queued in a message queue 20 by the message queue management means 12, as shown in FIG.
一括フレーム生成手段13は、まず主記憶管理手段15
により端末17が受信しうる最大メッセージ長の送信用
バッファ23を確保する(ステップ31)0次に、メツ
セージ待ち行列管理手段12によりメツセージ待ち行列
20内のメツセージ21が得られる(ステップ32)、
Mいて、メツセージが得られたかどうかの判定が行われ
(ステップ33)、いまの場合にはメツセージ21が得
られたので、次にこのメツセージ21を入力として送信
用バッファ23上に伝送手順形式の送信フレームが生成
される(ステップ34)。The batch frame generation means 13 first starts with the main memory management means 15.
The transmission buffer 23 with the maximum message length that can be received by the terminal 17 is secured (step 31). Next, the message 21 in the message queue 20 is obtained by the message queue management means 12 (step 32).
Then, it is determined whether or not a message has been obtained (step 33). In this case, message 21 has been obtained, so next, using this message 21 as input, a transmission procedure format is stored on the transmission buffer 23. A transmission frame is generated (step 34).
次に、送信用バッファ23上に未使用領域が存在するか
どうかが判定され(ステップ35)、いまの場合には未
使用領域があるので、再度1メツセージ入カステツプ3
2に制御が渡される。Next, it is determined whether or not there is an unused area on the sending buffer 23 (step 35).
Control is passed to 2.
ステップ32では、メツセージ待ち行列管理手段12に
よりメツセージ待ち行列20内のメツセージ22が得ら
れる0次に、メツセージが得られたかどうかが判定され
(ステップ33)、いまの場合にはメツセージ22が°
得られたので、先はど生成された伝送手順形式の送信フ
レーム中のメツセージ21の直後からメツセージ22の
先頭が始まる形式で伝送手順形式の送信フレームが送信
用バッファ23上に生成される(ステップ34)。In step 32, the message queue management means 12 determines whether or not the message 22 in the message queue 20 is obtained (step 33).
As a result, a transmission frame in the transmission procedure format is generated on the transmission buffer 23 in such a format that the beginning of the message 22 starts immediately after the message 21 in the transmission frame in the transmission procedure format previously generated (step 34).
次に、送信用バッファ23上に未使用領域が存在するか
どうかが判定され(ステップ35)、いまの場合には送
信用バッファ23上に2つの送信メツセージ21および
22だけが送信フレームとして生成されており送信用バ
ッファ23上の未使用領域がいまだ存在するとすると、
再びステップ32に制御が渡される。Next, it is determined whether there is an unused area on the transmission buffer 23 (step 35), and in this case, only the two transmission messages 21 and 22 are generated as transmission frames on the transmission buffer 23. Assuming that there is still unused space on the transmission buffer 23,
Control is again passed to step 32.
ステップ32ではメツセージ待ち行列管理手段12によ
りメツセージ待ち行列20内のメツセージを読み出そう
とするが、もう読み出すべきメツセージがないのでメツ
セージが得られず、次のステップ33の判定でフレーム
送信手段起動ステップ36に制御が渡される。このため
、起動されたフレーム送信手段14により送信用バッフ
ァ23上の送信フレームが通信回m16を介して端末1
7に送信される。In step 32, the message queue management means 12 attempts to read out the message in the message queue 20, but since there are no more messages to read out, no message can be obtained, and in the next step 33, a frame transmission means activation step is performed. Control is passed to 36. Therefore, the activated frame transmitting means 14 transmits the transmission frame on the transmission buffer 23 to the terminal 1 via the communication circuit m16.
Sent on 7.
なお、上記実施例の動作の説明ではメツセージ待ち行列
20内に2つのメツセージ21および22がキューイン
グされており、メッセージ長の総和が送信用バッファ2
3の最大メッセージ長より小さいとして説明したが、メ
ツセージ待ち行列20内にキューイングされているメツ
セージのメッセージ長の総和が送信用バンファ23の最
大メッセージ長より大きい場合には、ステップ35にお
いて送信用バッファ23上に未使用領域が存在しなくな
るときまで一括フレーム生成の動作を繰り返すことによ
り、メツセージ待ち行列20内の複数(単数であること
もある)のメツセージが端末17の受信しうる最大メッ
セージ長まで送信用バッファ23上に伝送手順形式の送
信フレームとして生成されて端末17に送信される。こ
の場合、メツセージ待ち行列20内にキューイングされ
ていまだ送信されていないメツセージは、新たに第3図
に示す処理を繰り返すことで端末17に送信される。In addition, in the explanation of the operation of the above embodiment, two messages 21 and 22 are queued in the message queue 20, and the total message length is
Although the message length of the messages queued in the message queue 20 is larger than the maximum message length of the transmission buffer 23, in step 35, the transmission buffer is By repeating the batch frame generation operation until there is no unused area on the message queue 23, the messages in the message queue 20 (sometimes a single message) reach the maximum message length that the terminal 17 can receive. A transmission frame in a transmission procedure format is generated on the transmission buffer 23 and transmitted to the terminal 17. In this case, messages queued in the message queue 20 but not yet transmitted are transmitted to the terminal 17 by newly repeating the process shown in FIG. 3.
また、メツセージ待ち行列20内にキューイングされて
いるメツセージのメッセージ長の総和が送信用バッファ
23の最大メッセージ長より小さい場合(本実施例の場
合も含まれる)には、ステップ33においてメツセージ
が得られな(なるときまで一括フレーム生成の動作を繰
り返すことにより、メツセージ待ち行列20内の複数(
単数であることもある)のメツセージが端末17の受信
能力を効率良く生かすように送信用バッファ23上に伝
送手順形式の送信フレームとして生成されて端末17に
送信される。Further, if the total message length of the messages queued in the message queue 20 is smaller than the maximum message length of the sending buffer 23 (this includes the case of this embodiment), the message is received in step 33. By repeating the batch frame generation operation until the message queue 20 becomes
A message (which may be singular) is generated as a transmission frame in a transmission procedure format on the transmission buffer 23 and transmitted to the terminal 17 so as to make efficient use of the reception capability of the terminal 17.
以上説明したように本発明は、複数の送信メツセージを
1回の伝送手順で一括転送することにより、伝送フレー
ム数の削減によるフレーム送信手段の負荷の軽減、伝送
効率の向上およびオンラインレスポンスタイムの向上を
図ることができるという効果がある。As explained above, the present invention reduces the load on frame transmitting means by reducing the number of transmission frames, improves transmission efficiency, and improves online response time by collectively transmitting a plurality of transmitted messages in one transmission procedure. This has the effect of making it possible to achieve the following.
第1図は本発明の一実施例を示すブロック図、第2図は
メツセージ待ち行列と送信用バッファとのメツセージ対
応図、
第3図は第1図中に示した一括フレーム生成手段におけ
る処理を示す流れ図である。
図において、
10・・・ホストコンピュータ、
11・・・プログラム、
12・・・メツセージ待ち行列管理手段、13・・・一
括フレーム生成手段、
14・・・フレーム送信手段、
15・・・主記憶管理手段、
16・・・通信回線、
17・・・端末、
20・・・メツセージ待ち行列、
21.22・・・メツセージ、
23・・・送信用バッファである。FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a message correspondence diagram between a message queue and a sending buffer, and FIG. 3 shows processing in the batch frame generation means shown in FIG. FIG. In the figure, 10... host computer, 11... program, 12... message queue management means, 13... batch frame generation means, 14... frame transmission means, 15... main memory management Means: 16... Communication line; 17... Terminal; 20... Message queue; 21. 22... Message; 23... Transmission buffer.
Claims (1)
用バッファ上に伝送手順形式の送信フレームを生成して
端末に送信するデータ通信システムにおいて、 連続した送信メッセージを受信する能力を有する前記端
末と、 プログラムから送出された送信メッセージを前記メッセ
ージ待ち行列に格納して管理するメッセージ待ち行列管
理手段と、 前記送信用バッファを管理する主記憶管理手段と、 前記メッセージ待ち行列より前記端末が受信しうる最大
メッセージ長までの複数の送信メッセージを取り出して
これら複数の送信メッセージによって前記送信用バッフ
ァ上に伝送手順形式の前記送信フレームを生成する一括
フレーム生成手段と、この一括フレーム生成手段により
生成された前記送信フレームを前記端末に送信するフレ
ーム送信手段と、 を有することを特徴とする送信メッセージ一括転送方式
。[Scope of Claims] In a data communication system in which a transmission message is extracted from a message queue, a transmission frame in a transmission procedure format is generated on a transmission buffer, and the frame is transmitted to a terminal, the terminal has the ability to receive successive transmission messages. Message queue management means for storing and managing transmission messages sent from a program in the message queue; main memory management means for managing the transmission buffer; and messages received by the terminal from the message queue. a batch frame generation means for extracting a plurality of transmission messages up to a maximum message length and generating the transmission frame in a transmission procedure format on the transmission buffer using the plurality of transmission messages; A transmission message batch transfer system comprising: frame transmission means for transmitting the transmission frame to the terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61090895A JPS62247441A (en) | 1986-04-18 | 1986-04-18 | Batch transfer system for transmission message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61090895A JPS62247441A (en) | 1986-04-18 | 1986-04-18 | Batch transfer system for transmission message |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62247441A true JPS62247441A (en) | 1987-10-28 |
Family
ID=14011138
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61090895A Pending JPS62247441A (en) | 1986-04-18 | 1986-04-18 | Batch transfer system for transmission message |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62247441A (en) |
-
1986
- 1986-04-18 JP JP61090895A patent/JPS62247441A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0472428B2 (en) | ||
JPS62247441A (en) | Batch transfer system for transmission message | |
JPS622747A (en) | Reception control system | |
JPS62172840A (en) | Transferring system for data | |
JPS5824253A (en) | Packet synthesizing system | |
JP3230339B2 (en) | Communication control device | |
JPS61294506A (en) | High-speed pio transmission method for programmable controller | |
JPH1091554A (en) | Communication speed-up system | |
JP3067155B2 (en) | Data transfer device | |
JPS63228853A (en) | Control system for text flow rate | |
JPS62199142A (en) | Data transmission system | |
JPS60123950A (en) | Communication controlling system | |
JPH03108930A (en) | Asynchronous communication system | |
JPS63227149A (en) | Communication control method in loop communication system | |
JPS63164548A (en) | Transmission equipment | |
JPS61186046A (en) | System for controlling terminal equipment connection | |
JPH05308391A (en) | Code conversion system of communication processor | |
JPS59205848A (en) | Priority control system | |
JPH0478249A (en) | Communication control method | |
JPS6110345A (en) | Transmission waiting control system in loop communication system | |
JPH0666807B2 (en) | Loop communication system | |
JPH03255558A (en) | Communication processor control system | |
JPH04261244A (en) | Lan multiplexer | |
JPH02259858A (en) | Data transfer processing system | |
JPH09168040A (en) | Protocol processing method |