JPH04273363A - Message store/transmission control system - Google Patents

Message store/transmission control system

Info

Publication number
JPH04273363A
JPH04273363A JP3033826A JP3382691A JPH04273363A JP H04273363 A JPH04273363 A JP H04273363A JP 3033826 A JP3033826 A JP 3033826A JP 3382691 A JP3382691 A JP 3382691A JP H04273363 A JPH04273363 A JP H04273363A
Authority
JP
Japan
Prior art keywords
message
transmission
buffer
messages
capacity
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
JP3033826A
Other languages
Japanese (ja)
Inventor
Katsunori Kigami
木上 勝則
Takashi Hoshina
星名 隆
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.)
NIIGATA NIPPON DENKI SOFTWARE KK
NEC Corp
NEC Software Niigata Ltd
Original Assignee
NIIGATA NIPPON DENKI SOFTWARE KK
NEC Corp
NEC Software Niigata 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 NIIGATA NIPPON DENKI SOFTWARE KK, NEC Corp, NEC Software Niigata Ltd filed Critical NIIGATA NIPPON DENKI SOFTWARE KK
Priority to JP3033826A priority Critical patent/JPH04273363A/en
Publication of JPH04273363A publication Critical patent/JPH04273363A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the processing efficiency in the system by limiting the using capacity of a message transmission buffer, storing the messages in a message store control file if the messages exceed the limited using capacity of the buffer so as not to secure the unnecessary buffers, and setting an output message transmission buffer in a main storage only. CONSTITUTION:The capacity is limited for a message transmission buffer 8 which is controlled by a message control part 7 in an on-line system. When the messages exceed the limited capacity of the buffer 8, a message store control file 6 stores the messages. Then a message store processing part 4 is added to control the store of the transmission messages to the file 6 together with a message selection processing part 5 which selects a message in accordant with transmission, and a message transmission processing part 3 which controls the transmission of messages based on the using state of the buffer 8.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はメッセージ蓄積送信制御
方式に関し、特にオンラインシステムにおけるメッセー
ジ送信制御についてメッセージの蓄積制御を行うことに
よりメッセージの送信を制御するメッセージ蓄積送信制
御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a message storage and transmission control system, and more particularly to a message storage and transmission control system for controlling message transmission in an online system by controlling message storage.

【0002】0002

【従来の技術】従来、オンラインシステムのメッセージ
送信に関しては、図4に示すように業務処理プログラム
13からのメッセージ送信要求に対し、OSのメッセー
ジ管理部14がこれを引き受け端末への送信を行う。こ
の際に、OSのメッセージ送信用バッファ15にメッセ
ージは蓄積されるが、業務処理プログラム13からのメ
ッセージ送信要求が集中すると多量のメッセージが一時
的にOSのメッセージ送信用バッファ15に滞留する。 このため、OSのメッセージ送信用バッファ15の容量
は、最大メッセージ滞留時を考慮して確保しておく形態
となっていた。
2. Description of the Related Art Conventionally, regarding message transmission in an online system, as shown in FIG. 4, in response to a message transmission request from a business processing program 13, a message management section 14 of an OS transmits the request to an accepting terminal. At this time, messages are accumulated in the message transmission buffer 15 of the OS, but when message transmission requests from the business processing program 13 concentrate, a large amount of messages temporarily stay in the message transmission buffer 15 of the OS. For this reason, the capacity of the message transmission buffer 15 of the OS has been secured in consideration of the maximum message retention.

【0003】0003

【発明が解決しようとする課題】上述した従来のオンラ
インシステムのメッセージ送信制御では、業務処理プロ
グラムからの送信要求が発生した時点で、OSの資源に
蓄積されることとなり、端末数の多いシステムや多量の
メッセージが発生するシステムでは、OSのメッセージ
送信用バッファの容量を大きく設定しなければならない
という欠点がある。また、メッセージ送信用バッファを
主記憶装置の外の外部記憶装置に確保するような措置が
とられるが、外部記憶装置を使用した場合には、主記憶
装置と比べると、OSのメッセージ管理の処理効率が低
下するという欠点がある。
[Problems to be Solved by the Invention] In the message transmission control of the conventional online system described above, when a transmission request from a business processing program occurs, it is accumulated in the OS resources, which is problematic in systems with a large number of terminals. A system in which a large number of messages are generated has the disadvantage that the capacity of the message transmission buffer of the OS must be set large. Additionally, measures are taken to secure message sending buffers in external storage devices outside the main storage device, but when using external storage devices, the message management processing of the OS is more difficult than in the main storage device. The disadvantage is that efficiency is reduced.

【0004】0004

【課題を解決するための手段】本発明のメッセージ蓄積
送信制御方式は、オンラインシステムにおいて、OS(
オペレーティング・システム)のメッセージ管理で所有
するメッセージ送信用のバッファの容量を限定しメッセ
ージ送信用バッファに収容できない時に送信メッセージ
の蓄積を行うメッセージ蓄積管理ファイルと、メッセー
ジ管理ファイルへの送信メッセージの蓄積を制御する手
段と、蓄積されたメッセージの中から送信に適合したメ
ッセージを選択する手段と、OSのメッセージ送信用バ
ッファの使用状況によりメッセージの送信を制御する手
段とを備えて構成される。
[Means for Solving the Problems] The message storage and transmission control method of the present invention provides a method for controlling OS (OS) in an online system.
A message storage management file that limits the capacity of message sending buffers owned by the operating system (operating system) and stores sent messages when they cannot be stored in the message sending buffer, and a message storage management file that stores sent messages in the message management file. The system is configured to include controlling means, means for selecting a message suitable for transmission from among the accumulated messages, and means for controlling message transmission according to the usage status of the message transmission buffer of the OS.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0006】図1は本発明の一実施例の構成を示すブロ
ック図である。図中、1はメッセージ蓄積送信制御部、
2は業務処理プログラム、3はメッセージ送信処理部、
4はメッセージ蓄積処理部、5はメッセージ選択処理部
、6はメッセージ蓄積管理ファイルとしての磁気ディス
ク装置、7はOSのメッセージ管理部、8はOSの使用
するメッセージ送信用のバッファを表わす。そして、こ
の動作として業務処理プログラム2からのメッセージ送
信要求をメッセージ蓄積送信制御部1に引き渡すことに
より、メッセージ送信用バッファ8を有効に使用するよ
うにしている。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, 1 is a message storage and transmission control unit;
2 is a business processing program, 3 is a message transmission processing section,
Reference numeral 4 represents a message storage processing section, 5 a message selection processing section, 6 a magnetic disk device as a message storage management file, 7 a message management section of the OS, and 8 a buffer for message transmission used by the OS. As part of this operation, the message transmission buffer 8 is effectively used by passing the message transmission request from the business processing program 2 to the message storage and transmission control section 1.

【0007】業務処理プログラム2からの送信メッセー
ジは、メッセージ蓄積処理部4に受け渡される。メッセ
ージ蓄積処理部4では受け渡された送信メッセージを一
定の長さのブロックに分割する。メッセージ蓄積送信制
御部1内では、この送信メッセージを分割したブロック
単位に制御を行う。メッセージ蓄積処理部4は、出力メ
ッセージ送信用バッファ8に一定量の空があれば、事前
に設定した個数の送信メッセージブロックをメッセージ
送信処理部3に受け渡す。残りの送信メッセージブロッ
クは、メッセージ蓄積管理ファイル6に蓄積する。
[0007] The message sent from the business processing program 2 is delivered to the message storage processing section 4 . The message storage processing section 4 divides the transmitted message into blocks of a certain length. Within the message storage and transmission control section 1, control is performed in units of blocks into which this transmission message is divided. If there is a certain amount of empty space in the output message transmission buffer 8, the message storage processing section 4 delivers a preset number of transmission message blocks to the message transmission processing section 3. The remaining transmission message blocks are stored in the message storage management file 6.

【0008】メッセージ選択処理部5は、メッセージ送
信用バッファ8に一定量の空が生じた時に動作し、メッ
セージ蓄積管理ファイル8に蓄積されたメッセージの中
から送信に適合したメッセージを選択し、メッセージ送
信処理部3に受け渡す。メッセージ選択処理部5の動作
契機は出力メッセージ送信用バッファ8に一定量の空が
生じた時点でメッセージ管理部7からメッセージ送信処
理部3に通知され、メッセージ選択処理部5へ制御が渡
るようになっている。
[0008] The message selection processing section 5 operates when a certain amount of empty space occurs in the message transmission buffer 8, selects a message suitable for transmission from among the messages stored in the message storage management file 8, and selects a message suitable for transmission. It is delivered to the transmission processing section 3. The trigger for the operation of the message selection processing section 5 is such that when a certain amount of space becomes available in the output message transmission buffer 8, the message management section 7 notifies the message transmission processing section 3, and control is passed to the message selection processing section 5. It has become.

【0009】メッセージ送信処理部3は、メッセージ蓄
積処理部4またはメッセージ選択処理部5から送信メッ
セージブロックを受け渡されると、この送信メッセージ
ブロックをメッセージ管理部7に送信要求を行う。メッ
セージ管理部7では、送信メッセージブロックをメッセ
ージ送信用バッファ8に蓄積し、端末に送信完了すると
メッセージ送信用バッファ8から消去する。この際、メ
ッセージ送信用バッファ8に一定量の空が生じたら、メ
ッセージ送信処理部3へ通知するよう設定しておく。メ
ッセージ送信処理部3は、この通知をメッセージ蓄積処
理部4及びメッセージ選択処理部5に通知するようにな
っている。
When the message transmission processing section 3 receives a transmission message block from the message storage processing section 4 or the message selection processing section 5, it requests the message management section 7 to transmit the transmission message block. The message management section 7 stores the transmission message block in the message transmission buffer 8, and deletes it from the message transmission buffer 8 when the transmission to the terminal is completed. At this time, the message transmission processing section 3 is set to be notified if a certain amount of space becomes available in the message transmission buffer 8. The message transmission processing section 3 notifies the message storage processing section 4 and the message selection processing section 5 of this notification.

【0010】送信メッセージブロックの流れとメッセー
ジ送信用バッファ8の使用形態との詳細を次に説明する
The flow of the transmission message block and the usage pattern of the message transmission buffer 8 will now be described in detail.

【0011】図2は、送信メッセージの制御方式の説明
図である。図中、6はメッセージ蓄積ファイル、8はO
Sのメッセージ送信用バッファであり、図中の(1)〜
(8)はメッセージ送信用の出力メッセージ用バッファ
の時間の変化に伴う状態を示し、9は業務処理プログラ
ム2から受け渡された送信メッセージであり、図中の[
1]〜[6]は送信メッセージブロックを表わす。以下
にメッセージ送信用バッファ8の状態(1)〜(8)に
対応して、メッセージ蓄積送信制御の処理方式を(1)
〜(8)で説明する。なお、図2の例では、メッセージ
送信用バッファ8は送信メッセージブロックが3ブロッ
ク納まる容量を設定し、メッセージブロックの送信は2
ブロック、メッセージ送信用バッファ8に2ブロック分
の空が生じた時点で通知が発生するように設定したもの
である。 (1)  送信メッセージ9はメッセージ選択処理部5
にて、一定長のブロックに分割される(図中の[1]〜
[6]のブロック)。出力メッセージ用バッファ8に空
があるのでブロック[1][2]はメッセージ送信処理
部3を介して出力メッセージ用バッファ8に蓄積される
。メッセージ管理部7はブロック[1]を端末へ送信す
る。メッセージ選択処理部5は残りのブロック[3]〜
[6]をメッセージ蓄積管理ファイル6に蓄積する。 (2)  ブロック[1]の送信が完了すると出力メッ
セージ用バッファ8からブロック[1]が消去される。 この時、メッセージ送信用バッファの空が2ブロックと
なるため、メッセージ管理部7からメッセージ送信処理
部3を介してメッセージ選択処理部5に選択要求がなさ
れる。ブロック[2]は端末へ送信される。 (3)  メッセージ選択処理部5は、メッセージ蓄積
管理ファイル6からブロック[3][4]を選択し、メ
ッセージ送信処理部3を介して出力メッセージ用バッフ
ァ8に蓄積される。 (4)  ブロック[2]が送信完了すると、出力メッ
セージ用バッファ8からブロック[2]が消去され、ブ
ロック[3]が端末へ送信される。 (5)  ブロック[3]が送信完了すると(2)と同
様の制御により、メッセージ選択処理部5に選択要求が
なされ、同時にブロック[4]が端末へ送信される。 (6)  ブロック[5][6]が(3)と同様な制御
でメッセージ蓄積管理ファイル8に蓄積される。 (7)  ブロック[4]が送信完了するとブロック[
5]が端末へ送信される。この際にメッセージ選択処理
部5へ選択要求がされるので、同一送信先の送信メッセ
ージがメッセージ蓄積管理ファイル6に蓄積されていれ
ば、これを選択し、送信するようになっている。 (8)  ブロック[6]が端末へ送信される。
FIG. 2 is an explanatory diagram of a transmission message control system. In the figure, 6 is the message storage file, 8 is O
This is a message sending buffer for S, and (1) to
(8) shows the status of the output message buffer for message transmission as time changes; 9 is the transmission message passed from the business processing program 2;
1] to [6] represent transmission message blocks. Below, the processing method for message storage and transmission control is (1) corresponding to the states (1) to (8) of the message transmission buffer 8.
This will be explained in (8). In the example of FIG. 2, the capacity of the message transmission buffer 8 is set to accommodate three transmission message blocks, and the message transmission buffer 8 is set to have a capacity that can accommodate three transmission message blocks.
The notification is set to occur when two blocks become empty in the block/message transmission buffer 8. (1) The transmission message 9 is sent by the message selection processing section 5
It is divided into blocks of a certain length ([1] to
[6] block). Since the output message buffer 8 is empty, blocks [1] and [2] are stored in the output message buffer 8 via the message transmission processing section 3. The message management unit 7 transmits block [1] to the terminal. The message selection processing unit 5 uses the remaining blocks [3] to
[6] is stored in the message storage management file 6. (2) When the transmission of block [1] is completed, block [1] is deleted from the output message buffer 8. At this time, since there are two empty blocks in the message transmission buffer, a selection request is made from the message management section 7 to the message selection processing section 5 via the message transmission processing section 3. Block [2] is sent to the terminal. (3) The message selection processing unit 5 selects blocks [3] and [4] from the message storage management file 6, and stores them in the output message buffer 8 via the message transmission processing unit 3. (4) When the transmission of block [2] is completed, block [2] is deleted from the output message buffer 8, and block [3] is transmitted to the terminal. (5) When the transmission of block [3] is completed, a selection request is made to the message selection processing unit 5 under the same control as in (2), and at the same time, block [4] is transmitted to the terminal. (6) Blocks [5] and [6] are stored in the message storage management file 8 under the same control as in (3). (7) When block [4] completes transmission, block [
5] is sent to the terminal. At this time, a selection request is made to the message selection processing section 5, so that if a message to be sent to the same destination is stored in the message storage management file 6, it is selected and sent. (8) Block [6] is sent to the terminal.

【0012】このようにして、各送信メッセージブロッ
クは送信されるが、この時のメッセージ蓄積管理ファイ
ルの使用形態を次に説明する。
Each transmission message block is transmitted in this manner, and the manner in which the message storage management file is used at this time will be described below.

【0013】図3は、メッセージ蓄積管理ファイルのデ
ータ構造図を表わすものである。図中、10は送信先管
理レコード、11A・11Bはメッセージ管理レコード
、12A〜12Dはメッセージブロックレコードを表わ
す。
FIG. 3 shows a data structure diagram of the message storage management file. In the figure, 10 represents a destination management record, 11A and 11B represent message management records, and 12A to 12D represent message block records.

【0014】送信メッセージブロックは、送信先毎に蓄
積管理できるようにし、送信メッセージブロックの蓄積
または選択処理時の検索効率が向上するようにしている
。このため、送信先毎に送信先管理レコード10を設定
し、各送信メッセージブロックをメッセージブロックレ
コード12A〜12Dとして格納する。この時、送信先
に複数のメッセージが発生しても効率良く制御できるよ
うに、業務処理プログラムからメッセージを受け渡す際
にメッセージの優先順位を設定するようにし、メッセー
ジ管理レコード11A・11Bを優先順位毎に作成する
ようにしている。これにより、業務処理要求にあった順
序でメッセージの送信制御が行えるよう考慮している。
[0014] Transmission message blocks can be stored and managed for each destination, thereby improving search efficiency during storage or selection processing of transmission message blocks. For this reason, a destination management record 10 is set for each destination, and each transmitted message block is stored as message block records 12A to 12D. At this time, in order to efficiently control even if multiple messages occur at the destination, message priorities are set when passing messages from the business processing program, and message management records 11A and 11B are set in priority order. I try to create it every time. This allows for message transmission control to be performed in the order that meets business processing requests.

【0015】[0015]

【発明の効果】以上説明したように本発明は、オンライ
ンシステムにおいて、OSのメッセージ管理で所有する
メッセージ送信用のバッファの使用量を限定し、この容
量を超える場合はメッセージ蓄積管理ファイルに蓄積す
ることにより、余分なメッセージ送信用バッファを確保
する必要がないという効果がある。また、OSのメッセ
ージ管理で所有するメッセージ送信用バッファを主記憶
内のみで設定することにより、OSの処理効率を向上さ
せるという効果がある。
[Effects of the Invention] As explained above, the present invention limits the amount of message sending buffers owned by the OS message management in an online system, and when this capacity is exceeded, the messages are accumulated in the message storage management file. This has the effect that there is no need to reserve an extra buffer for message transmission. Further, by setting the message transmission buffer owned by the OS message management only in the main memory, there is an effect of improving the processing efficiency of the OS.

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

【図1】本発明の一実施例の構成を示すブロック図FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図
2】本発明の一実施例の送信メッセージの制御方式の説
明図
FIG. 2 is an explanatory diagram of a transmission message control method according to an embodiment of the present invention.

【図3】図1のメッセージ蓄積管理ファイルのデータ構
造図
[Figure 3] Data structure diagram of the message storage management file in Figure 1

【図4】従来の技術によるメッセージ蓄積送信制御方式
の構成を示すブロック図
[Fig. 4] Block diagram showing the configuration of a message storage and transmission control system according to conventional technology

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

1    メッセージ蓄積送信制御部 2    業務処理プログラム 3    メッセージ送信処理部 4    メッセージ蓄積処理部 5    メッセージ選択処理部 6    メッセージ蓄積管理ファイル7    OS
のメッセージ管理 8    (OSの使用する)出力メッセージ用バッフ
ァ9    (業務処理プログラムから受け渡された)
送信メッセージ 10    送信先管理レコード 11A〜11C    メッセージ管理レコード12A
〜12D    メッセージブロックレコード13  
  業務処理プログラム
1 Message accumulation and transmission control section 2 Business processing program 3 Message transmission processing section 4 Message accumulation processing section 5 Message selection processing section 6 Message accumulation management file 7 OS
Message management 8 (used by the OS) Output message buffer 9 (passed from the business processing program)
Transmission message 10 Destination management records 11A to 11C Message management record 12A
~12D Message block record 13
Business processing program

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  オンラインシステムにおいて、OS(
オペレーティング・システム)のメッセージ管理で所有
するメッセージ送信用のバッファの容量を限定しメッセ
ージ送信用バッファに収容できない時に送信メッセージ
の蓄積を行うメッセージ蓄積管理ファイルと、メッセー
ジ管理ファイルへの送信メッセージの蓄積を制御する手
段と、蓄積されたメッセージの中から送信に適合したメ
ッセージを選択する手段と、OSのメッセージ送信用バ
ッファの使用状況によりメッセージの送信を制御する手
段とを備えて成ることを特徴とするメッセージ蓄積送信
制御方式。
Claim 1: In an online system, an OS (
A message storage management file that limits the capacity of message sending buffers owned by the operating system (operating system) and stores sent messages when they cannot be stored in the message sending buffer, and a message storage management file that stores sent messages in the message management file. The present invention is characterized by comprising means for controlling, means for selecting a message suitable for transmission from among the accumulated messages, and means for controlling message transmission according to the usage status of the message transmission buffer of the OS. Message storage and transmission control method.
JP3033826A 1991-02-28 1991-02-28 Message store/transmission control system Pending JPH04273363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3033826A JPH04273363A (en) 1991-02-28 1991-02-28 Message store/transmission control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3033826A JPH04273363A (en) 1991-02-28 1991-02-28 Message store/transmission control system

Publications (1)

Publication Number Publication Date
JPH04273363A true JPH04273363A (en) 1992-09-29

Family

ID=12397297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3033826A Pending JPH04273363A (en) 1991-02-28 1991-02-28 Message store/transmission control system

Country Status (1)

Country Link
JP (1) JPH04273363A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102011079255A1 (en) 2010-07-29 2012-02-02 Denso Corporation ANGLE DETECTOR
US8278916B2 (en) 2009-09-24 2012-10-02 Jtekt Corporation Rotational angle sensor, motor, rotational angle detector, and electric power steering system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8278916B2 (en) 2009-09-24 2012-10-02 Jtekt Corporation Rotational angle sensor, motor, rotational angle detector, and electric power steering system
DE102011079255A1 (en) 2010-07-29 2012-02-02 Denso Corporation ANGLE DETECTOR

Similar Documents

Publication Publication Date Title
US5257374A (en) Bus flow control mechanism
JP3563541B2 (en) Data storage device and data storage method
EP0317466B1 (en) Reverse flow control mechanism and method
JPH09224044A (en) Distribution system
EP0317481A2 (en) Remote storage management mechanism and method
US7545746B2 (en) Computer system for controlling routed data amount
EP0317468A2 (en) Bus flow control system
JPH04273363A (en) Message store/transmission control system
EP0729104A2 (en) A data transfer control device for controlling data transfer between shared memories of clusters
CN112748883B (en) IO request pipeline processing device, method, system and storage medium
JPH08106443A (en) Data processing system and parallel computer
JPH08305677A (en) Information processor
JP2000122953A (en) Data distribution managing method, server system and recording medium recording data distribution managing program
JP2697588B2 (en) Communication task management method
US5796949A (en) Video data sending device and data high-rate returning device for sending a data through a computer network
US5875299A (en) disk access apparatus for performing a stride processing of data
KR20010095103A (en) An intelligent bus interconnect unit
JPH02253457A (en) Host computer
JPS61195439A (en) Remote file access system
JPH03296841A (en) Cache control system
EP1256050B1 (en) High speed data transfer mechanism
EP0713308A2 (en) Video data sending and receiving device
JPH09146882A (en) Login computer selection system
JPH08328907A (en) State monitor system for compound computer system
JP3839965B2 (en) Broadcast communication method and communication apparatus