JPH02280264A - Message block control system - Google Patents

Message block control system

Info

Publication number
JPH02280264A
JPH02280264A JP10200789A JP10200789A JPH02280264A JP H02280264 A JPH02280264 A JP H02280264A JP 10200789 A JP10200789 A JP 10200789A JP 10200789 A JP10200789 A JP 10200789A JP H02280264 A JPH02280264 A JP H02280264A
Authority
JP
Japan
Prior art keywords
message
message block
block
small
blocks
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
JP10200789A
Other languages
Japanese (ja)
Inventor
Takeshi Ohata
大畑 毅
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 JP10200789A priority Critical patent/JPH02280264A/en
Publication of JPH02280264A publication Critical patent/JPH02280264A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To effectively use the resource of a system by using a message block with size defined in the system uniformly by dividing into small message blocks with smaller size. CONSTITUTION:A message control table 3 stores the control information of the small message block in which the message block 4 is divided into the blocks with proscribed size. A message block reconstitution means 1 divides the message block 4 into the small message blocks with prescribed size based on the request of a transaction processing system 5, and registers the control information of the small block messages on the message control table 3. A message allocation means 2 secures the small message block from the transaction processing system 5 by a small message block securing request based on the message control table 3, and delivers it to the transaction processing system 5. Thus, the resource of the system can be effectively used.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は1−ランザクジョン処理システムにおいテメッ
セージブロックを管理するメツモージブ1コツク管理方
式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a one-time management system for managing message blocks in a one-run transaction processing system.

〔従来の技術〕[Conventional technology]

トランザクション処理システムは、一般に、同一サイズ
の複数メツセージブロックをシスデム内に設け、このメ
ツセージブロックに入力したメ・ソセージ格納したり、
メツ七−ジブロック内のメツセージを出力したりしてい
る。
Generally, transaction processing systems provide multiple message blocks of the same size within the system, and store input messages in these message blocks.
It also outputs messages in the 7-di block.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところで、トランザクション処理システムにおけるメツ
セージブロックのサイズは、一般に、1・ランザクジョ
ン処理システムが出力するシステムメツセージのサイズ
に比べて大きい場合が多い。
Incidentally, the size of a message block in a transaction processing system is generally larger than the size of a system message output by the transaction processing system.

しかし、従来のトランザクション処理システムではシス
テムで統一的に定義された一つのサイズのメツセージブ
ロックで全てのメツセージの入出力を行っている。従っ
て、記憶装置などのシステム資源を有効に活用すること
ができなかった。また、トランデクジョン処理システム
がメツセージブロックを使用しようとしても、メツセー
ジブロックを確保できない場合がある。このように従来
のメツセージ管理方式には解決すべき課題があった。
However, in conventional transaction processing systems, all messages are input and output using message blocks of one size that are uniformly defined in the system. Therefore, it has not been possible to effectively utilize system resources such as storage devices. Further, even if the trandiction processing system attempts to use a message block, it may not be able to secure the message block. As described above, conventional message management systems have problems that need to be resolved.

本発明は、このような事□hfに鑑みてなされたもので
あり、その目的は、システム資源を有効利用することが
できるメツセージブロック管理方式を提0(することに
ある。
The present invention has been made in view of these circumstances, and its purpose is to provide a message block management system that can effectively utilize system resources.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のメツセージブロック管理方式は、上記目的を達
成するために、入力されたメツセージをメツセージブロ
ックに格納したりメツセージブロック内のメツセージを
出力したりしているトランザクション処理システムにお
いて、 前記メツセージブロックが所定の大きさに分割された小
メツセージブロックの管理情報を記憶するメツセージ管
理デープルと、 前記トランザクション処理システムの要求により前記メ
ツセージブロックを前記所定の大きさの小メツセージブ
ロックに分割し、該小メツセージブロックの管理情報を
前記メツセージ管理テーブルに登録するメツセージブロ
ック再構成手段と、前記トランザクション処理システム
から小メ・・lセージ確保要求により、前記メツセージ
管理テーブルに基づいて前記小メツセージブロックを確
保して前記トランザクション処理システムに渡すメツセ
ージブロック割り付け手段とを有する。
In order to achieve the above object, the message block management method of the present invention provides a transaction processing system that stores an input message in a message block and outputs a message in a message block, in which the message block is stored in a predetermined manner. a message management table for storing management information of small message blocks divided into the predetermined size; A message block reconfiguring means registers management information in the message management table, and a small message reservation request from the transaction processing system secures the small message block based on the message management table and processes the transaction. and message block allocation means for passing to the system.

〔作用〕[Effect]

本発明のメツセージブロック管理方式においては、メツ
セージ管理テーブルか、メツセージブロックが所定の大
きさに分割された小メツセージブロックの管理情報を記
憶し、メツセージプロ・・Iり再構成手段が、トランザ
クション処理システムの要求によりメツセージブロック
を所定の大きさの小メツセージブロックに分割し、この
小メツセージブロックの管理情報をメツセージ管理テー
ブルに登録する。そして、メツセージブロック割り付け
手段が、トランザクション処理システムから小メツセー
ジ確保要求により、メツセージ管理テーブルに基づいて
小メツセージブロックを確保してトランザクション処理
システムに渡す。
In the message block management method of the present invention, the message management table or the management information of small message blocks obtained by dividing the message block into predetermined sizes is stored, and the message processor reconfiguration means is used in the transaction processing system. Upon request, the message block is divided into small message blocks of a predetermined size, and the management information of the small message blocks is registered in the message management table. In response to a small message securing request from the transaction processing system, the message block allocating means secures a small message block based on the message management table and delivers it to the transaction processing system.

〔実施例〕〔Example〕

次に、本発明の実線例について図面を参照して詳細に説
明する。
Next, a solid line example of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例の構成図である。同図におい
て、1はメツセージブロック再構成手段、2はメツセー
ジブロック割り付け手段、3はメ・ツセージブロック管
理テーブル、4はメツセージブロック11−1〜4−n
からなるメ・ソセージブロック「Y、5はトランザクシ
ョン処理システムである。
FIG. 1 is a block diagram of an embodiment of the present invention. In the figure, 1 is a message block reconfiguration means, 2 is a message block allocation means, 3 is a message block management table, and 4 is a message block 11-1 to 4-n.
The message block "Y, 5" is a transaction processing system.

第2図はメツセージプロ・ツク群内の一つのメツセージ
ブロック例えば4− nの構成例および、このメツセー
ジブロック4−nを所定のサイズに分割した小メツセー
ジブロックの構成例を示したものである。同図において
は、メツセージブロック/1− nが4つの小メツセー
ジブロック4−n−1〜4−n−4に分割されている。
FIG. 2 shows an example of the structure of one message block, for example 4-n, in a message block group, and an example of the structure of small message blocks obtained by dividing this message block 4-n into predetermined sizes. In the figure, message block /1-n is divided into four small message blocks 4-n-1 to 4-n-4.

小メツセージブロック4−n−1〜4−n−4は、次の
小メツセージブロックの先頭、アドレスを示すポインタ
とメツセージを格納するデータエリアから成る。
The small message blocks 4-n-1 to 4-n-4 consist of a pointer indicating the start and address of the next small message block and a data area for storing the message.

第3図はメツセージブロック管理テーブル3の内容例お
よび、メツセージブロック管理、テーブル3と小メツセ
ージブロック4−n −1〜4−n−4との関係を示し
たものである。小メツセージブロック4−n−1〜4−
 n −4は、リスト構造を構成している。メツセージ
ブロック管理デープル3は、小メツセージブロックの数
を示すプロ・・lり数エリア31、リスト構造の最初の
小メツセージブロックのアドレスを示すポインタエリア
32、およびリスト4fA造の最後の小メツセージブロ
ックのアドレス示すポインタエリア33から構成されて
いる。
FIG. 3 shows an example of the contents of the message block management table 3, message block management, and the relationship between the table 3 and the small message blocks 4-n-1 to 4-n-4. Small message block 4-n-1~4-
n-4 constitutes a list structure. The message block management table 3 includes a number area 31 indicating the number of small message blocks, a pointer area 32 indicating the address of the first small message block in the list structure, and a pointer area 32 indicating the address of the first small message block in the list structure 4fA. It consists of a pointer area 33 that indicates an address.

第4図はメツセージブロック再構成手段1の処理例を、
第5図はメツセージブロック割り付け手段2の処理例を
それぞれ示す流れ図である。
FIG. 4 shows a processing example of the message block reconstruction means 1.
FIG. 5 is a flowchart showing an example of processing by the message block allocation means 2.

以下、各図を用いて本発明の実施例の動作を説明する。Hereinafter, the operation of the embodiment of the present invention will be explained using each figure.

外部よりトランザクション処理システム5が起動される
と、トランザクション処理システム5は、初期処理にお
いてメツセージブロック再構成手段1に小メツセージブ
ロックサイズおよび小メツセージブロック個数を渡して
起動する。
When the transaction processing system 5 is started from the outside, the transaction processing system 5 passes the small message block size and the number of small message blocks to the message block reconfiguring means 1 in initial processing, and starts the transaction processing system 5.

起動されたメツセージブロック再構成手段lは、第4図
に示すように、ステップSIOでメツセージブロックを
一つ例えばメツセージブロック4−nを取り出す。そし
て、ステップSllでメツセージブロックのサイズに1
℃ってメツセージブロック4− nから一つの小メツセ
ージブロック例えば小メツセージブロック4−n−1を
取り出す。次に、この小メツセージブロック4−n−1
をメツセージブロック管理テーブル3にリンクする。即
ち、メツセージブロック管理テーブル3のポインタエリ
ア32に小メツセージブロック4−n−1の先頭アドレ
スを設定する0次いで、ステップS13でメツセージブ
ロック管理テーブル3のブロック数エリア31に小メツ
セージブロックの個数を設定する。次に、ステップS1
4でブロック数エリア31の個数が指定された個数と等
しいか否かを判定し、ステップS15で取り出したメツ
セージブロックが小メツセージブロックに分割可能か否
かを判定する。ブロック数エリア31内の個数が指定さ
れた個数と等しくなく、且つメツセージブロックが小メ
ツセージブロックへ分割可能のときは、ステップ311
に戻って上述した処理を繰り返す。一方、ブロック数エ
リア31内の個数が指定された個数に等しいが、又はメ
ツセージブロックを小メツセージブロックに分割できな
いときは、処理を終える。このような処理の結果、第3
図に示すようにメッセージブロック4−nが小メツセー
ジブロック4−n−1〜4−n−4に分割される。
The activated message block reconstruction means 1 extracts one message block, for example, message block 4-n, in step SIO, as shown in FIG. Then, in step Sll, set the size of the message block to 1.
℃, one small message block, for example, small message block 4-n-1 is taken out from message block 4-n. Next, this small message block 4-n-1
is linked to the message block management table 3. That is, the start address of the small message block 4-n-1 is set in the pointer area 32 of the message block management table 3.Next, in step S13, the number of small message blocks is set in the block number area 31 of the message block management table 3. do. Next, step S1
In step S4, it is determined whether the number of blocks in the block number area 31 is equal to the specified number, and in step S15, it is determined whether the extracted message block can be divided into small message blocks. If the number in the block number area 31 is not equal to the specified number and the message block can be divided into small message blocks, step 311
Return to and repeat the process described above. On the other hand, if the number in the number of blocks area 31 is equal to the specified number, or if the message block cannot be divided into small message blocks, the process ends. As a result of such processing, the third
As shown in the figure, message block 4-n is divided into small message blocks 4-n-1 to 4-n-4.

メツセージブロック再構成手段1の処理が終了すると、
トランザクション処理システム5は、トランザクション
処理を開始する。そして、メッセージブロックが必要に
なるとメツセージブロック割り付け手段2にメツセージ
ブロックを要求する。
When the processing of the message block reconstruction means 1 is completed,
Transaction processing system 5 starts transaction processing. When a message block is needed, it requests the message block allocation means 2 for a message block.

この要求を営は取ったメyセージブロック割り付け手段
2は、第5図に示すように、ステップS20で要求がシ
ステムメツセージ用か否かを判定する。システムメツセ
ージ用のときは、ステップS21でメツセージブロック
管理テーブル3を参照して小メツセージブロックを取り
出し、トランザクション処理システム5に渡す。反対に
、システムメツセージ用以外のときは、メツセージブロ
ック群4の内から一つのメツセージブロックを取り出し
て1−ランザクジョン処理システム5に渡す。
The message block allocation means 2 which received this request determines whether the request is for a system message or not in step S20, as shown in FIG. If it is for a system message, the message block management table 3 is referred to in step S21, a small message block is taken out, and it is passed to the transaction processing system 5. On the other hand, when the message block is not for a system message, one message block is taken out from the message block group 4 and passed to the 1-run processing system 5.

このように処理することにより、システムメツセージ用
には小メツセージブロックを使用することができる。
By processing in this way, small message blocks can be used for system messages.

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

以上に説明したように、本発明のメツセージブロック管
理方式は、システムで統一的に定義されているサイズの
メツセージブロックをより小さいサイズの小メツセージ
ブロックに分割して使用する。そこで本発明のメツセー
ジブロック管理方式を採用すれば、■そのメツセージに
合ったサイズのメツセージブロックを1重用するので、
システム資源を有効に活用することかでき、また■メツ
セージブロックの不足状態の発生を回避することができ
る。
As described above, the message block management method of the present invention divides a message block of a size uniformly defined in the system into small message blocks of smaller size. Therefore, if the message block management method of the present invention is adopted, ■ a single message block of the size suitable for the message is used,
System resources can be used effectively, and the occurrence of message block shortage can be avoided.

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

第1図は本発明の実施例の構成図、 第2図はメツセージブロックおよび小メツセージブロッ
クの椙成例を示す図、 第3図はメツセージブロック管理テーブル3と小メツセ
ージブロックとの関係を示す図、第11図はメツセージ
ブロック再構成手段1の処理例を示す流れ図、 第5図はメツセージブロック割り付け手段2の処理を示
す流れ図である。 1・・・メツセージブロック再構成手段、2・・・メツ
セージブロック割り付け手段、3・・・メツセージブロ
ック管理テーブル、4・・・メツセージブロック群、・
・トランザクション処理システム。
FIG. 1 is a block diagram of an embodiment of the present invention. FIG. 2 is a diagram showing an example of the formation of message blocks and small message blocks. FIG. 3 is a diagram showing the relationship between the message block management table 3 and small message blocks. , FIG. 11 is a flowchart showing an example of the processing of the message block reconstruction means 1, and FIG. 5 is a flowchart showing the processing of the message block allocation means 2. DESCRIPTION OF SYMBOLS 1... Message block reconfiguration means, 2... Message block allocation means, 3... Message block management table, 4... Message block group, .
・Transaction processing system.

Claims (1)

【特許請求の範囲】 入力されたメッセージをメッセージブロックに格納した
りメッセージブロツク内のメッセージを出力したりして
いるトランザクション処理システムにおいて、 前記メッセージブロックが所定の大きさに分割された小
メッセージブロックの管理情報を記憶するメッセージ管
理テーブルと、 前記トランザクション処理システムの要求により前記メ
ッセージブロックを前記所定の大きさの小メッセージブ
ロックに分割し、該小メッセージブロックの管理情報を
前記メッセージ管理テーブルに登録するメッセージブロ
ック再構成手段と、前記トランザクション処理システム
から小メッセージ確保要求により、前記メッセージ管理
テーブルに基づいて前記小メッセージブロックを確保し
て前記トランザクション処理システムに渡すメッセージ
ブロック割り付け手段と を設けたことを特徴とするメッセージブロック管理方式
[Claims] In a transaction processing system that stores input messages in a message block and outputs messages in a message block, the message block is divided into small message blocks of a predetermined size. a message management table for storing management information; and a message for dividing the message block into small message blocks of the predetermined size according to a request from the transaction processing system, and registering the management information of the small message blocks in the message management table. The present invention is characterized by further comprising a block reconfiguration means and a message block allocation means that secures the small message block based on the message management table in response to a small message reservation request from the transaction processing system and delivers it to the transaction processing system. Message block management method.
JP10200789A 1989-04-21 1989-04-21 Message block control system Pending JPH02280264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10200789A JPH02280264A (en) 1989-04-21 1989-04-21 Message block control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10200789A JPH02280264A (en) 1989-04-21 1989-04-21 Message block control system

Publications (1)

Publication Number Publication Date
JPH02280264A true JPH02280264A (en) 1990-11-16

Family

ID=14315723

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10200789A Pending JPH02280264A (en) 1989-04-21 1989-04-21 Message block control system

Country Status (1)

Country Link
JP (1) JPH02280264A (en)

Similar Documents

Publication Publication Date Title
US5530905A (en) Temporary state preservation for a distributed file service which purges virtual circuit control information after expiration of time limit of inactivity
US5687372A (en) Customer information control system and method in a loosely coupled parallel processing environment
US7246167B2 (en) Communication multiplexor using listener process to detect newly active client connections and passes to dispatcher processes for handling the connections
CN109886693B (en) Consensus realization method, device, equipment and medium for block chain system
US5682507A (en) Plurality of servers having identical customer information control procedure functions using temporary storage file of a predetermined server for centrally storing temporary data records
EP0747814A1 (en) Customer information control system and method with transaction serialization control functions in a loosely coupled parallel processing environment
EP0747812A2 (en) Customer information control system and method with API start and cancel transaction functions in a loosely coupled parallel processing environment
CN119718539B (en) Memory hot-plug control method and electronic device for server-unaware security container
CN104735109A (en) Medical image data storing system
JPH0644191A (en) Buffer control method
JP2693773B2 (en) Exclusive control method for drawing information
JPS61109160A (en) Area control system for inter-system share volume
US20040246910A1 (en) Group synchronization by subgroups
JPS6125249A (en) Exclusive control system
JP3014112B2 (en) Message communication method in multiprocessor system
JPH0586574B2 (en)
JPH02112030A (en) System for exclusive control
JPH03138751A (en) Method of controlling resource
JPH05189390A (en) Transaction scheduling system
JPH04295935A (en) Data processor
JPH07120305B2 (en) Database processing method by multiprocessor
JPS63208924A (en) Multiplexed volume control method
JPH08339336A (en) Resource release system
JPH01169562A (en) Common use system for temporary file in loosely coupled multiprocessor system
JPS61226842A (en) Resources control system for electronic computer system