JPH02110760A - Traffic control system between on-line processing systems - Google Patents

Traffic control system between on-line processing systems

Info

Publication number
JPH02110760A
JPH02110760A JP26443388A JP26443388A JPH02110760A JP H02110760 A JPH02110760 A JP H02110760A JP 26443388 A JP26443388 A JP 26443388A JP 26443388 A JP26443388 A JP 26443388A JP H02110760 A JPH02110760 A JP H02110760A
Authority
JP
Japan
Prior art keywords
priority
message
time
online processing
storage area
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
JP26443388A
Other languages
Japanese (ja)
Other versions
JP2890420B2 (en
Inventor
Masako Hirano
平野 万佐子
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 JP63264433A priority Critical patent/JP2890420B2/en
Publication of JPH02110760A publication Critical patent/JPH02110760A/en
Application granted granted Critical
Publication of JP2890420B2 publication Critical patent/JP2890420B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To improve traffic controlability by automatically changing the priority when the necessity to change the priority of an on-line processing system with a certain time as boundary can be predicted beforehand. CONSTITUTION:Besides on-line processing systems 12A and 12B, a computer system 21 is provided with a system execution monitoring means 13, a constant time elapsing informing means 14, a time interval designating means 15, a priority information storing area 16, a time-classified priority changing means 17, a time informing means 18, a priority information storing area 19 with time and a priority designating means 20 with time. The time information is given to the priority information of respective on-line processing systems 12A and 12B and the change of the priority due to the time can be carried out. Even in the system in which the priority of respective on-line processing systems is reversed with a certain time as a boundary, the priority of respective on-line processing systems can be automatically changed during the operation of the system. Thus, the soft traffic control can be carried out.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、オンライン処理システム間のトラフィック制
御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a traffic control scheme between online processing systems.

(従来の技術) 従来、各オンライン処理システムの優先順位はシステム
構築時、もしくは、外部からの指定により固定となり、
システム稼働中にオンライン処理システム間のトラフィ
ック制御の優先順位を変更するには、−基オンライン処
理システムを止め、該優先順位情報を変更して、再度立
ち上げ直すか、もしくは、外部からの指定により直接変
更する以外に方法はなかった。
(Prior art) Conventionally, the priority order of each online processing system was fixed at the time of system construction or specified from an external source.
To change the priority of traffic control between online processing systems while the system is running, either stop the online processing system, change the priority information, and restart it, or specify it from an external source. There was no other way than to change it directly.

(発明が解決しようとする課題) 上述した従来のオンライン処理システムにおける各オン
ライン処理システムのトランザクションメツセージに対
する処理は、システム構築の際に設定された優先順位の
もとに処理され、−旦設定された優先順位情報によるト
ラフィック制御を変更するには、オンライン処理システ
ムを止め、再度立ち上げ直すか、もしくは外部からの指
定により直接変更する以外に方法はなく、ある時刻を境
にオンライン処理システムの優先順位を変更する必要が
予め予測できても、優先順位を自動的に変更することが
できないという欠点がある。
(Problem to be Solved by the Invention) Processing of transaction messages in each online processing system in the above-mentioned conventional online processing system is performed based on priorities set at the time of system construction. To change traffic control based on priority information, there is no other way than to stop the online processing system and restart it, or to change it directly based on external specifications. Even if it is possible to predict in advance the need to change the priorities, there is a drawback that the priorities cannot be changed automatically.

本発明の目的は、上記欠点を除去したオンライン処理シ
ステム間のトラフィック制御方式を提案することにある
An object of the present invention is to propose a traffic control method between online processing systems that eliminates the above-mentioned drawbacks.

(課題を解決するための手段) 本発明のオンライン処理システム間のトラフィック制御
方式は、 端末装置からトランザクション処理要求のためのメツセ
ージを受信するメツセージ受信手段と、該メツセージを
一時的に格納しておく、メツセージ格納領域と、 該メツセージをアプリケーションプログラムに渡し、該
アプリケーションプログラムに従ったトランザクション
処理の実行を制御するトランザクション実行制御手段と
、 メツセージ、を端末装置に送信するメツセージ送信手段
と を有するオンライン処理システムが複数存在する計算機
システムにおいて、該オンライン処理システム間のトラ
フィックを制御する方式であって、ある時刻以降の該オ
ンライン処理システムの優先順位を示す時刻付優先順位
情報を格納する時刻付優先順位情報格納領域と、 該オンライン処理システムの時刻付優先順位情報を該時
刻付優先順位情報格納領域に格納し、該時刻付優先順位
情報の時刻を別の手段に通知する時刻付優先順位指定手
段と、 該時刻付優先順位指定手段で指定された時刻になったら
、その旨の通知を他の手段に対して行う時刻通知手段と
、 該各オンライン処理システムの優先順位を格納する優先
順位情報格納領域と、 該時刻通知手段から前記通知を受け、時刻付優先順位情
報格納領域を参照し、システムの優先順位を変更する時
刻を検索し、該時刻通知手段から通知された該時刻に対
応する優先順位を該優先順位情報格納領域に格納する時
刻付優先順位指定手段と、 該オンライン処理システムで、オンライン処理の実行を
許可するか否かの情報を格納する実行許可情報格納領域
と、 該メツセージ受信手段からメツセージ受信の通知をうけ
、該実行許可情報格納領域を参照し、オンライン処理の
実行の許可が有るならばその旨を他に通知し、該オンラ
イン処理の実行の許可がないならば、メツセージを実行
しない旨を他に通知する実行許可判別手段と、 該オンライン処理システムの負荷情報を格納する負荷情
報格納領域と、 該オンライン処理の実行許可の通知を該実行許可判別手
段から受け、該オンライン処理システムの負荷状態を判
別し、結果を該負荷情報格納領域に格納し、かつ他に通
知する負荷状態判別手段と、該実行許可判別手段または
該負荷状態判別手段からメツセージを実行しない旨を通
知された場合、該メツセージ送信手段に渡してメツセー
ジを折り返し、メツセージを実行する旨の通知があった
場合、該メツセージ格納領域に格納されたメツセージを
該トランザクション実行制御手段に渡してトランザクシ
ョン処理を行うメツセージ振分手段と、一定時間経過通
知のための時間間隔を指定する時間間隔指定手段と、 該時間間隔指定手段で指定された時間間隔の経過を、周
期的に他に通知する一定時間経過通知手段と、 該一定時間経過通知手段からの通知をうけ、該優先順位
情報格納領域に格納されている優先順位情報と、各オン
ライン処理システムの該負荷情報格納領域の負荷情報と
を参照し、優先順位の高いオンライン処理システムから
順に過負荷状態か否かを判断し、過負荷状態に入ってい
ないオンライン処理システムの実行許可情報格納領域に
はメツセージの実行許可情報を格納し、過負荷状態のオ
ンライン処理システムが存在した時点で、該実行許可情
報格納領域に実行を許可する情報を格納した後、該過負
荷状態のオンライン処理システムの優先順位より低い優
先順位を持ち、且つ、負荷状態に入っていないオンライ
ン処理システムのうち、最も低い優先順位のオンライン
処理システムの実行許可情報格納領域に実行を許可しな
い情報を格納するシステム実行監視手段とを有して成る
(Means for Solving the Problems) The traffic control method between online processing systems of the present invention includes a message receiving unit that receives a message for a transaction processing request from a terminal device, and a message receiving unit that temporarily stores the message. , a message storage area, transaction execution control means for passing the message to an application program and controlling execution of transaction processing according to the application program, and message transmission means for transmitting the message to a terminal device. A method for controlling traffic between online processing systems in a computer system in which a plurality of online processing systems exist, the timed priority information storage storing timed priority information indicating the priority of the online processing systems after a certain time. a timed priority order specifying means for storing timed priority order information of the online processing system in the timed priority order information storage area and notifying another means of the time of the timed priority order information; a time notification means for notifying other means of the time when the time specified by the timed priority order specification means; a priority information storage area for storing the priority order of each online processing system; Upon receiving the notification from the time notification means, refer to the timed priority information storage area, search for the time at which the priority of the system is to be changed, and change the priority corresponding to the time notified from the time notification means. Timed priority specifying means stored in a priority information storage area; Execution permission information storage area storing information on whether or not execution of online processing is permitted in the online processing system; Upon receiving the reception notification, refer to the execution permission information storage area, and if there is permission to execute the online process, notify others to that effect, and if there is no permission to execute the online process, do not execute the message. a load information storage area for storing load information of the online processing system; and a load information storage area for storing load information of the online processing system; A load state determining means that determines the load state, stores the result in the load information storage area, and notifies others, and when it is notified from the execution permission determining means or the load state determining means that the message will not be executed. , message distribution means that passes the message to the message transmission means, returns the message, and when there is a notification to execute the message, passes the message stored in the message storage area to the transaction execution control means for transaction processing. a time interval specifying means for specifying a time interval for notification of the elapse of a certain period of time; and a certain period of time elapse notification means for periodically notifying others of the passage of the time interval specified by the time interval specifying means; Upon receiving the notification from the specified time elapse notification means, the priority information stored in the priority information storage area and the load information in the load information storage area of each online processing system are referred to, and the online processing system with the highest priority is selected. It is determined whether or not the processing system is overloaded in order, and message execution permission information is stored in the execution permission information storage area of the online processing system that is not in the overloaded state, and there is an online processing system that is overloaded. At that point, after storing execution permission information in the execution permission information storage area, the online processing system that has a lower priority than the priority of the overloaded online processing system and is not in the overloaded state. and system execution monitoring means for storing information that does not permit execution in the execution permission information storage area of the online processing system having the lowest priority.

(実施例) 次に、本発明について、図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を適用してなる計算機システ
ムを示す構成図である。この計算機システム21は2つ
のオンライン処理システムを備えている。より詳しく述
べると、計算機システム21におけるオンライン処理シ
ステム12A。
FIG. 1 is a configuration diagram showing a computer system to which an embodiment of the present invention is applied. This computer system 21 includes two online processing systems. More specifically, the online processing system 12A in the computer system 21.

12Bは、端末装置IA、IB、メツセージ受信手段2
A、2B、メツセージ格納領域3A、3B。
12B, terminal devices IA, IB, message receiving means 2;
A, 2B, message storage areas 3A, 3B.

実行許可判別手段4A、4B、実行許可情報格納領域5
A、5B、負荷状態判別手段6A、 6B。
Execution permission determination means 4A, 4B, execution permission information storage area 5
A, 5B, load condition determination means 6A, 6B.

負荷情報格納領域7A、 7B、メツセージ振分手段8
A、8B、)ランザクジョン実行制御手段9A、  9
B、アプリケーションプログラム10A。
Load information storage areas 7A, 7B, message distribution means 8
A, 8B,) ranzaktion execution control means 9A, 9
B. Application program 10A.

10B、メツセージ送信手段11A、11.B、をそれ
ぞれ有している。工1算機システム21は、オンライン
処理システム12A、12Bの他に、システム実行監視
手段13と、一定時間経過通知手段14と、時間間隔指
定手段15と、優先順位情報格納領域16と、時刻別便
先順位変更手段17と、時刻通知手段18と、時刻付優
先順位情報格納領域19と、時刻付優先順位指定手段2
oとを有している。
10B, message transmitting means 11A, 11. B, respectively. The computer system 21 includes, in addition to the online processing systems 12A and 12B, a system execution monitoring means 13, a certain time elapse notification means 14, a time interval designation means 15, a priority information storage area 16, and a time-based delivery system. Priority change means 17, time notification means 18, timed priority information storage area 19, and timed priority designation means 2
It has o.

第2図は時刻付優先順位指定手段20に指定する優先順
位情報の例を示し、第3図は時刻付優先順位指定手段の
処理の一例を示し、第4図は時刻通知手段の処理の一例
を示し、第5図は時刻別便先順位変更手段の処理の一例
を示し、第6図は時間間隔指定手段の処理の一例を示し
、第7図は一定時間経過通知手段の処理の一例を示し、
第8図はシステム実行監視手段の処理の一例を示し、第
9図は実行許可判別手段の処理の一例を示し、第10図
は負荷状態判別手段の処理の一例を示し、第11図はメ
ツセージ振分手段の処理の一例を示し、第12図はトラ
ンザクション実行制御手段の処理の一例を示している。
FIG. 2 shows an example of priority information specified to the timed priority order designation means 20, FIG. 3 shows an example of the processing of the timed priority order designation means, and FIG. 4 shows an example of the processing of the time notification means. FIG. 5 shows an example of the process of the time-specific flight destination order changing means, FIG. 6 shows an example of the process of the time interval designation means, and FIG. 7 shows an example of the process of the fixed time elapse notification means. ,
FIG. 8 shows an example of the processing of the system execution monitoring means, FIG. 9 shows an example of the processing of the execution permission determination means, FIG. 10 shows an example of the processing of the load state determination means, and FIG. An example of processing by the distribution means is shown, and FIG. 12 shows an example of processing by the transaction execution control means.

次に、第1図実施例の動作について説明する。Next, the operation of the embodiment shown in FIG. 1 will be explained.

計算機システム21は、システム起動時に時刻付優先順
位指定手段20を実行させる。時刻付優先順位指定手段
20は、指定された時刻付優先順位情報を時刻付優先順
位情報格納領域19に格納し、該情報の時刻を識別し、
時刻通知手段18に識別した時刻を通知する。時刻通知
手段18はシステム起動時に時刻付優先順位指定手段2
0から時刻を通知された時から、システム終了時まで作
動し、時刻付優先順位指定手段20から通知された時刻
が現在の時刻と一致すると、時刻別便先順位変更手段1
7に通知し、該時刻を渡す処理をし続ける。また、オン
ライン処理システム12A。
The computer system 21 causes the timed priority designation means 20 to be executed when the system is started. The timed priority order designation means 20 stores specified timed priority order information in the timed priority order information storage area 19, identifies the time of the information,
The identified time is notified to the time notification means 18. The time notifying means 18 is configured to notify the timed priority order specifying means 2 at the time of system startup.
It operates from the time when the time is notified from 0 until the end of the system, and when the time notified from the timed priority order designation means 20 matches the current time, the time-based flight destination order change means 1
7 and continues processing to pass the time. Also, an online processing system 12A.

12B各々の実行許可情報格納領域5A、5Bに格納さ
れている実行許可フラグは各オンライン処理システム起
動時にはオンになっている。以下において、ある時刻t
oからある時刻tl間で優先的に処理したいシステムを
オンライン処理システムAとし、ある時刻t1からある
時刻to間で優先的に処理したいシステムをオンライン
処理システム12Bとする。第2図は、時刻tO,tl
において優先順位を変更するように時刻付優先順位指定
手段20に指定する情報を表に示したものである。
The execution permission flags stored in the execution permission information storage areas 5A and 5B of each of the 12B are turned on when each online processing system is started. In the following, a certain time t
Let us say that the system that we want to process preferentially between o and a certain time tl is an online processing system A, and the system that we want to preferentially process between a certain time t1 and a certain time to is an online processing system 12B. FIG. 2 shows time tO, tl
The table shows the information to be specified to the timed priority order designation means 20 so as to change the priority order.

時刻付優先順位指定手段20は、第3図のステップ31
において時刻付優先順位情報を時刻付優先順位情報格納
領域に格納し、ステップ32で時刻tO,tlを識別し
、ステップ33で時刻通知手段18に時刻tO,tlを
通知する。
The timed priority designation means 20 performs step 31 in FIG.
In step 32, timed priority information is stored in the timed priority information storage area, time tO and tl are identified in step 32, and time tO and tl are notified to time notification means 18 in step 33.

時刻通知手段18は第4図のステップ41において、現
在の時刻を識別し、ステップ42で時刻付優先順位指定
手段20から通知された時刻to。
The time notifying means 18 identifies the current time in step 41 of FIG.

tlを順に検索していき、ステップ43で最後まで検索
する。ステップ44で現在の時刻とステップ42で検索
した時刻toもしくは、tlとの差を求め、タイマー機
能45に算出した時間を通知する。タイマー機能45は
通知された時間が経過したことをステップ46に通知す
る。ステップ46はタイマー機能45より通知を受は取
ると、ステップ47で24時間後に再通知を行うようタ
イマー機能45に通知する。ステップ48で時刻別便先
順位変更手段17にステップ42で検索した時刻toも
しくは、tlを通知し、時刻別便先順位変更手段17を
実行させる。ステップ49でシステムが終了するまでス
テップ45−48を処理し続ける。
tl is searched in order until the end in step 43. In step 44, the difference between the current time and the time to or tl searched in step 42 is determined, and the timer function 45 is notified of the calculated time. The timer function 45 notifies step 46 that the notified time has elapsed. In step 46, when the notification is received from the timer function 45, in step 47, the timer function 45 is notified to re-notify in 24 hours. In step 48, the time to or tl retrieved in step 42 is notified to the time-specific flight destination ranking changing means 17, and the time-based flight destination ranking changing means 17 is executed. Steps 45-48 continue processing until the system terminates at step 49.

時刻別便先順位変更手段17は、第5図のステップ51
において時刻通知手段18から渡された時刻toもしく
は、tlをもとに時刻付優先順位情報格納領域19を順
に検索していき、ステップ52で最後まで検索して、該
当情報が無かった場合、なにもせず処理を終了する。ス
テップ53で渡された時刻toもしくは、tlと一致す
る場合、ステップ54で第2図の表1に示しであるとお
り A にtOが通知された場合は、オンライン処理システムA
の優先順位を1にし、オンライン処理システムBの優先
順位を2にし、逆にtlが通知された場合は、オンライ
ン処理システムAの優先順位を2にし、オンライン処理
システムBの優先順位を1にする情報を優先順位情報格
納領域16に格納する。
The time-specific flight destination order changing means 17 performs step 51 in FIG.
In step 52, the timed priority information storage area 19 is sequentially searched based on the time to or tl passed from the time notification means 18, and if the search reaches the end in step 52 and no corresponding information is found, no information is searched. Terminates the process without doing anything. If the time to or tl passed in step 53 matches, and if to is notified to A in step 54 as shown in Table 1 of FIG. 2, then the online processing system A
The priority of online processing system B is set to 1, and the priority of online processing system B is set to 2. Conversely, when tl is notified, the priority of online processing system A is set to 2, and the priority of online processing system B is set to 1. The information is stored in the priority information storage area 16.

時間間隔指定手段15は、第6図のステップ61で指定
された時間間隔を一定時間経過通知手段14に通知する
。一定時間経過通知手段14は第7図のステップ71で
通知された時間間隔が0か否かを判別し、0の場合はス
テップ72でオンライン処理システム間のトラフィック
制御を解除する旨をシステム実行監視手段13に通知す
る。
The time interval specifying means 15 notifies the fixed time elapse notification means 14 of the time interval specified in step 61 of FIG. The fixed time elapse notification means 14 determines whether the time interval notified in step 71 of FIG. Notify means 13.

ステップ71で通知された時間間隔がOでなかった場合
、ステップ73でタイマー機能74に通知された時間間
隔を通知し、ステップ75でタイマー機能74より通知
を受は取ると、ステップ76でシステム実行監視手段1
3にオンライン処理システム間のトラフィック制御を行
う旨を通知する。
If the time interval notified at step 71 is not O, the time interval notified is notified to the timer function 74 at step 73, and when the notification is received from the timer function 74 at step 75, the system is executed at step 76. Monitoring means 1
3 of the intention to control traffic between online processing systems.

システム実行監視手段13は、第8図のステップ81で
一定時間経過通知手段14から通知を受け、ステップ8
2でオンライン処理システム間でのトラフィック制御を
解除するか否かを判別し、トラフィック制御を解除する
通知の場合、ステップ83で計算機システム21のオン
ライン処理システム12A、12B、すべての実行許可
情報格納領域8A、8B、の実行許可フラグをオンにす
る。ステップ82で、オンライン処理システム間でのト
ラフィック制御を行う通知の場合、ステップ85で優先
順位情報格納領域16に格納されている、優先順位の高
いオンライン処理システム12Aから、順に一つずつ検
索し、ステップ84で検索するべきオンライン処理シス
テムがなければ、処理を終了する。
The system execution monitoring means 13 receives a notification from the certain time elapse notification means 14 in step 81 of FIG.
In step 2, it is determined whether or not to cancel traffic control between online processing systems, and in the case of a notification to cancel traffic control, in step 83, the online processing systems 12A, 12B of the computer system 21, all execution permission information storage areas are Turn on the execution permission flags of 8A and 8B. In step 82, in the case of a notification for controlling traffic between online processing systems, in step 85, the online processing systems 12A stored in the priority information storage area 16 are searched one by one starting from the highest priority online processing systems 12A, If there is no online processing system to search in step 84, the process ends.

ステップ86でステップ85で検索した、オンライン処
理システム12Aの、負荷情報格納領域7Aを参照し、
ステップ87でオンライン処理システム12Aが過負荷
か否か判別し、過負荷でないならば、ステップ89でオ
ンライン処理システム12Aの実行許可情報格納領域5
Aの実行許可フラグをオンにして、ステップ84.85
で、次に、優先順位の高いオンライン処理システム12
Bを検索する。
In step 86, refer to the load information storage area 7A of the online processing system 12A searched in step 85,
In step 87, it is determined whether the online processing system 12A is overloaded, and if it is not overloaded, in step 89, the execution permission information storage area 5 of the online processing system 12A is
Turn on the execution permission flag of A and proceed to step 84.85.
Then, the online processing system 12 with the highest priority
Search B.

ステップ87でオンライン処理システム12Aが過負荷
ならば、ステップ88でオンライン処理システム12A
の実行許可情報格納領域5Aの実行許可フラグをオンに
し、ステップ8Bで優先順位の低い順から、一つずつ検
索する。ステップ8Cでステップ88で検索した次の優
先順位のオンライン処理システムまでを検索し、検索す
るべきオンライン処理システムがなければ、ステップ8
Aで処理を終了する。
If online processing system 12A is overloaded in step 87, online processing system 12A is overloaded in step 88.
The execution permission flag in the execution permission information storage area 5A is turned on, and in step 8B, the search is performed one by one in descending order of priority. In step 8C, the online processing systems with the next priority searched in step 88 are searched, and if there is no online processing system to be searched, step 8
End the process with A.

ステップ87でオンライン処理システム12Aが、過負
荷の場合、ステップ8B、8Cでオンライン処理システ
ム12Bを検索し、ステップ8Dでオンライン処理シス
テム12Bの負荷情報格納領域7Bを参照し、ステップ
8Eでオンライン処理システム12Bが過負荷か否か判
別し、過負荷でないならば、ステップ8Fでオンライン
処理システム12Bの実行許可情報格納領域8Bの実行
許可フラグをオフにする。
If the online processing system 12A is overloaded in step 87, the online processing system 12B is searched for in steps 8B and 8C, the load information storage area 7B of the online processing system 12B is referred to in step 8D, and the online processing system 12B is overloaded, and if not overloaded, the execution permission flag in the execution permission information storage area 8B of the online processing system 12B is turned off in step 8F.

計算機システム21内において、時間間隔指定手段15
で0を指定していない場合でかっ、tOt1間でオンラ
イン処理システム12Bより高い優先順位を指定されて
いるオンライン処理システム12Aにおいて、 メツセージ受信手段2Aは端末装置IAからメツセージ
を受信すると、実行許可判別手段4Aを実行する。
Within the computer system 21, a time interval designation means 15
In the case where 0 is not specified in the online processing system 12A, which is specified with a higher priority than the online processing system 12B during tOt1, when the message receiving means 2A receives a message from the terminal device IA, it determines whether execution is permitted. Execute means 4A.

実行許可判別手段4Aは、第9図ステップ91で実行許
可情報格納領域5Aを参照し、ステップ92で実行許可
フラグがオンになっているか否かを判断する。実行許可
フラグがオンになっていれば、ステップ93で負荷状態
判別手段6Aを実行し、実行許可フラグがオフになって
いれば、ステップ94でメツセージを実行しない通知を
して、メツセージ振分手段8Aを実行する。オンライン
処理システム12Aは、オンライン処理システム12B
より、優先順位の高いシステムなので、実行許可情報格
納領域5Aの実行許可フラグは、この場合オフにならな
い。このため、オンライン処理システム12Aにおいて
は必ず、負荷状態判別手段6Aを実行する。
The execution permission determination means 4A refers to the execution permission information storage area 5A at step 91 in FIG. 9, and determines whether the execution permission flag is turned on at step 92. If the execution permission flag is on, the load state determination means 6A is executed in step 93, and if the execution permission flag is off, in step 94, a notification is given that the message will not be executed, and the message distribution means 6A is executed. Execute 8A. The online processing system 12A is the online processing system 12B.
Since the system has a higher priority, the execution permission flag in the execution permission information storage area 5A does not turn off in this case. Therefore, in the online processing system 12A, the load state determining means 6A is always executed.

負荷状態判別手段6Aは第10図ステップ101でオン
ライン処理システム12Aの負荷状態をチエツクし、ス
テップ102で過負荷と判断した場合、ステップ103
で負荷情報格納領域7Aに、過負荷の情報を格納し、ス
テップ104でメツセージを実行しない通知をし、メツ
セージ振分手段8Aを実行する。ステップ102で過負
荷ではないと判断した場合、ステップ105でメツセー
ジを実行する通知をして、メツセージ振分手段8Aを実
行する。
The load state determination means 6A checks the load state of the online processing system 12A at step 101 in FIG.
At step 104, overload information is stored in the load information storage area 7A, and at step 104, a notification is given that the message will not be executed, and the message distribution means 8A is executed. If it is determined in step 102 that there is no overload, a notification to execute the message is issued in step 105, and the message distribution means 8A is executed.

メツセージ振分手段8Aは、第11図ステップ111で
メツセージを実行するか否かの通知をチエツクし、ステ
ップ111でメツセージを実行しないと判断した場合、
ステップ112でメツセージが受は付けられなかった旨
の通知をメツセージ送信手段11Aにし、ステップ11
1でメツセージを実行すると判断した場合、ステップ1
13でメツセージを実行する通知をし、トランザクショ
ン実行制御手段9Aを実行する。
The message distribution means 8A checks the notification as to whether or not to execute the message at step 111 in FIG. 11, and if it is determined at step 111 that the message is not executed,
In step 112, a notification that the message was not accepted is sent to the message sending means 11A, and in step 11
If you decide to execute the message in step 1, proceed to step 1.
At step 13, a notification to execute the message is given, and the transaction execution control means 9A is executed.

トランザクション実行制御手段9Aは、第12図ステッ
プ121でメツセージ格納領域9Aよりメツセージを取
り出し、ステップ122でトランザクション開始処理を
行い、ステップ123でアプリケーションプログラムI
OAを実行させ、ステップ124でトランザクション終
了処理を行い、ステップ125でメツセージ送信手段1
1Aにトランザクション処理結果を通知する。
The transaction execution control means 9A retrieves the message from the message storage area 9A at step 121 in FIG. 12, performs transaction start processing at step 122, and executes the application program I at step 123.
OA is executed, transaction end processing is performed in step 124, and message sending means 1 is executed in step 125.
1A is notified of the transaction processing result.

メツセージ送信手段11Aは、トランザクション処理結
果もしくは、前記メツセージ振分手段から渡されたメツ
セージが受は付けられなかった旨を、端末装置1Aに表
示する。
The message transmitting means 11A displays on the terminal device 1A the transaction processing result or the fact that the message passed from the message sorting means was not accepted.

計算機システム21内において、時間間隔指定手段15
で0を指定していない場合で、かつ、tO−t1間でオ
ンライン処理システム12Aより低い優先順位を指定さ
れている、オンライン処理システム12Bにおいて、 メツセージ受信手段2Bは、端末装置IBからメツセー
ジを受信すると、実行許可判別手段4Bを実行する。
Within the computer system 21, a time interval designation means 15
In the case where 0 is not specified in the online processing system 12B and a lower priority than the online processing system 12A is specified between tO and t1, the message receiving means 2B receives a message from the terminal device IB. Then, the execution permission determining means 4B is executed.

実行許可判別手段4Bは、第6図ステップ61で実行許
可情報格納領域5Bを参照し、ステップ62で実行許可
フラグがオンになっているか否かを判断する。実行許可
フラグがオンになっていれば、ステップ62で負荷状態
判別手段6Bを実行し、実行許可フラグがオフになって
いれば、メツセージを実行しない通知をして、メツセー
ジ振分手段8Bを実行する。オンライン処理システム1
2Bは、オンライン処理システム12Aより、優先順位
の低いシステムなので、実行許可情報格納領域5Bの実
行許可フラグは、オンライン処理システム12Aが過負
荷になった場合にオフになる。
The execution permission determination means 4B refers to the execution permission information storage area 5B at step 61 in FIG. 6, and determines whether the execution permission flag is turned on at step 62. If the execution permission flag is on, the load state determination means 6B is executed in step 62, and if the execution permission flag is off, a notification is given that the message will not be executed, and the message distribution means 8B is executed. do. Online processing system 1
Since the system 2B has a lower priority than the online processing system 12A, the execution permission flag in the execution permission information storage area 5B is turned off when the online processing system 12A becomes overloaded.

負荷状態判別手段6Bは、第10図ステップ101でオ
ンライン処理システム12Bの負荷状態をチエツクし、
ステップ102で過負荷と判断した場合、ステップ10
3で負荷情報格納領域7Bに、過負荷の情報を格納し、
ステップ104でメツセージを実行しない通知をし、メ
ツセージ振分手段8Bを実行する。ステップ102で過
負荷ではないと判断した場合、ステップ105でメツセ
ージを実行する通知をして、メツセージ振分手段8Bを
実行する。
The load state determination means 6B checks the load state of the online processing system 12B at step 101 in FIG.
If it is determined in step 102 that there is an overload, step 10
3 stores overload information in the load information storage area 7B,
In step 104, a notification is given that the message will not be executed, and the message distribution means 8B is executed. If it is determined in step 102 that there is no overload, a notification to execute the message is issued in step 105, and the message distribution means 8B is executed.

メツセージ振分手段8Bは、第11図ステップ111で
メツセージを実行するか否かの通知をチエツクし、ステ
ップ111でメツセージを実行しないと判断した場合、
ステップ112でメツセージが受は付けられなかった旨
の通知をメツセージ送信手段11Bにし、ステップ11
1でメツセージを実行すると判断した場合、ステップ1
13でメツセージを実行する通知をし、トランザクショ
ン実行制御手段9Bを実行する。
The message distribution means 8B checks the notification as to whether or not to execute the message at step 111 in FIG. 11, and if it is determined at step 111 that the message is not executed,
In step 112, a notification that the message was not accepted is sent to the message sending means 11B, and in step 11
If you decide to execute the message in step 1, proceed to step 1.
At step 13, a notification to execute the message is given, and the transaction execution control means 9B is executed.

トランザクション実行制御手段9Bは、第12図ステッ
プ121でメツセージ格納領域9Bよりメツセージを取
り出し、ステップ122でトランザクション開始処理を
行い、ステップ123でアプリケーションプログラムI
OBを実行させ、ステップ124でトランザクション終
了処理を行い、ステップ125でメツセージ送信手段1
1Bにトランザクション処理結果を通知する。
The transaction execution control means 9B retrieves the message from the message storage area 9B at step 121 in FIG. 12, performs transaction start processing at step 122, and executes the application program I at step 123.
OB is executed, transaction end processing is performed in step 124, and message sending means 1 is executed in step 125.
Notify 1B of the transaction processing result.

メツセージ送信手段11Bは、トランザクション処理結
果、もしくは、前記メツセージ振分手段から渡されたメ
ツセージが受は付けられなかった旨を、端末装置IBに
表示する。
The message transmitting means 11B displays the transaction processing result or the fact that the message passed from the message sorting means was not accepted on the terminal device IB.

計算機システム21内において、時間間隔指定手段15
で0を指定している場合は、オンライン処理システム1
2A、12Bそれぞれの実行i’l’ ”’1情報格納
領域5A、5B、の実行許可フラグはオンになったまま
となるため、優先順位情報格納領域16に優先順位情報
が格納されていても、オンライン処理システム12A、
12Bは、それぞれ各々の負荷状態によってのみ、トラ
ンザクション処理を実行し、他のオンライン処理システ
ムの負荷状態による、トラフィック制御を行わない。
Within the computer system 21, a time interval designation means 15
If 0 is specified in , online processing system 1
2A and 12B, the execution permission flags of the information storage areas 5A and 5B remain on, even if priority information is stored in the priority information storage area 16. , online processing system 12A,
Each of the online processing systems 12B executes transaction processing only according to its own load status, and does not perform traffic control based on the load status of other online processing systems.

(発明の効果) 以上に説明したように本発明では、複数オンライン処理
の存在するシステムにおいて、各オンライン処理システ
ムの優先順位情報に時刻情報を付与し、時刻による優先
順位の変更を可能にしている。そこで、本発明方式によ
れば、各オンライン処理システムの優先順位がある時刻
を境に逆転するようなシステムにおいても、システム稼
働中に人手を介さずに各オンライン処理システムの優先
順位が自動的に変更でき、より柔軟なトラフィック制御
を行うことができる。本発明にはこのような効果がある
(Effects of the Invention) As explained above, in the present invention, in a system where multiple online processes exist, time information is added to the priority information of each online processing system, making it possible to change the priority order based on time. . Therefore, according to the method of the present invention, even in a system where the priority of each online processing system is reversed at a certain time, the priority of each online processing system can be automatically changed without human intervention during system operation. This allows for more flexible traffic control. The present invention has such effects.

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

第1図は本発明の一実施例の方式を適用した計算機シス
テムの構成図、第2図は時刻付優先順位指定手段20に
指定する優先順位情報の例を示す図、第3図は時刻付優
先順位指定手段の処理の一例を示す流れ図、第4図は時
刻通知手段の処理の一例を示す流れ図、第5図は時刻別
優先順位変更手段の処理の一例を示す流れ図、第6図は
時間間隔指定手段の処理の一例を示す流れ図、第7図は
一定時間経過通知手段の処理の一例を示す流れ図、第8
図はシステム実行監視手段の処理の一例を示す流れ図、
第9図は実行許可判別手段の処理の一例を示す流れ図、
第10図は負荷状態判別手段の処理の一例を示す流れ図
、第11図はメツセージ振分手段の処理の一例を示す流
れ図、第12図はトランザクション実行制御手段の処理
の一例を示す流れ図である。 1・・・端末装置、2・・・メツセージ受信手段、3・
・・メツセージ格納領域、4・・・実行許可判別手段、
5・・・実行許可情報格納領域、6・・・負荷状態判別
手段、7・・・負荷情報格納領域、8・・・メツセージ
振分手段、9・・・トランザクション実行制御手段、1
0・・・アプリケーションプログラム、11・・・メツ
セージ送信手段、12・・・オンライン処理システム、
13・・・システム実行監視手段、14・・・一定時間
経過通知手段、15・・・時間間隔指定手段、16・・
・優先順位情報格納領域、17・・・時刻別優先順位変
更手段、18・・・時刻通知手段、19・・・時刻付優
先順位情報格納領域、20・・・時刻付優先順位指定手
段、21・・・計算機システム。 AXオンライン処涯シヌテム12A B;オンライン勿〃シヌテム12B #M##免II信M定f:Sの隈E 勇:5N
FIG. 1 is a configuration diagram of a computer system to which a system according to an embodiment of the present invention is applied, FIG. 2 is a diagram showing an example of priority information specified to the time-based priority order designation means 20, and FIG. 4 is a flowchart showing an example of the processing of the time notification means; FIG. 5 is a flowchart showing an example of the processing of the time-specific priority changing means; FIG. FIG. 7 is a flowchart showing an example of the processing of the interval specifying means; FIG.
The figure is a flowchart showing an example of the processing of the system execution monitoring means,
FIG. 9 is a flowchart showing an example of the processing of the execution permission determining means;
FIG. 10 is a flow chart showing an example of the processing of the load state determining means, FIG. 11 is a flow chart showing an example of the processing of the message distribution means, and FIG. 12 is a flow chart showing an example of the processing of the transaction execution control means. 1... Terminal device, 2... Message receiving means, 3.
...message storage area, 4...execution permission determination means,
5... Execution permission information storage area, 6... Load status determination means, 7... Load information storage area, 8... Message distribution means, 9... Transaction execution control means, 1
0... Application program, 11... Message sending means, 12... Online processing system,
13... System execution monitoring means, 14... Certain time elapse notification means, 15... Time interval designation means, 16...
・Priority information storage area, 17... Time-based priority order changing means, 18... Time notification means, 19... Timed priority information storage area, 20... Timed priority order designation means, 21 ...Computer system. AX online treatment sinutem 12A B; online course sinutem 12B #M ##men II Shin M set f: S no Kuma E Yuu: 5N

Claims (1)

【特許請求の範囲】 端末装置からトランザクション処理要求のためのメッセ
ージを受信するメッセージ受信手段と、該メッセージを
一時的に格納しておく、メッセージ格納領域と、 該メッセージをアプリケーションプログラムに渡し、該
アプリケーションプログラムに従ったトランザクション
処理の実行を制御するトランザクション実行制御手段と
、 メッセージを端末装置に送信するメッセージ送信手段と を有するオンライン処理システムが複数存在する計算機
システムにおいて、該オンライン処理システム間のトラ
フィックを制御する方式であって、ある時刻以降の該オ
ンライン処理システムの優先順位を示す時刻付優先順位
情報を格納する時刻付優先順位情報格納領域と、 該オンライン処理システムの時刻付優先順位情報を該時
刻付優先順位情報格納領域に格納し、該時刻付優先順位
情報の時刻を別の手段に通知する時刻付優先順位指定手
段と、 該時刻付優先順位指定手段で指定された時刻になったら
、その旨の通知を他の手段に対して行う時刻通知手段と
、 該各オンライン処理システムの優先順位を格納する優先
順位情報格納領域と、 該時刻通知手段から前記通知を受け、時刻付優先順位情
報格納領域を参照し、システムの優先順位を変更する時
刻を検索し、該時刻通知手段から通知された該時刻に対
応する優先順位を該優先順位情報格納領域に格納する時
刻別優先順位変更手段と、 該オンライン処理システムで、オンライン処理の実行を
許可するか否かの情報を格納する実行許可情報格納領域
と、 該メッセージ受信手段からメッセージ受信の通知をうけ
、該実行許可情報格納領域を参照し、オンライン処理の
実行の許可が有るならばその旨を他に通知し、該オンラ
イン処理の実行の許可がないならば、メッセージを実行
しない旨を他に通知する実行許可判別手段と、 該オンライン処理システムの負荷情報を格納する負荷情
報格納領域と、 該オンライン処理の実行許可の通知を該実行許可判別手
段から受け、該オンライン処理システムの負荷状態を判
別し、結果を該負荷情報格納領域に格納し、かつ他に通
知する負荷状態判別手段と、該実行許可判別手段または
該負荷状態判別手段からメッセージを実行しない旨を通
知された場合、該メッセージ送信手段に渡してメッセー
ジを折り返し、メッセージを実行する旨の通知があった
場合、該メッセージ格納領域に格納されたメッセージを
該トランザクション実行制御手段に渡してトランザクシ
ョン処理を行うメッセージ振分手段と、一定時間経過通
知のための時間間隔を指定する時間間隔指定手段と、 該時間間隔指定手段で指定された時間間隔の経過を、周
期的に他に通知する一定時間経過通知手段と、 該一定時間経過通知手段からの通知をうけ、該優先順位
情報格納領域に格納されている優先順位情報と、各オン
ライン処理システムの該負荷情報格納領域の負荷情報と
を参照し、優先順位の高いオンライン処理システムから
順に過負荷状態か否かを判断し、過負荷状態に入ってい
ないオンライン処理システムの実行許可情報格納領域に
はメッセージの実行許可情報を格納し、過負荷状態のオ
ンライン処理システムが存在した時点で、該実行許可情
報格納領域に実行を許可する情報を格納した後、該過負
荷状態のオンライン処理システムの優先順位より低い優
先順位を持ち、且つ、負荷状態に入っていないオンライ
ン処理システムのうち、最も低い優先順位のオンライン
処理システムの実行許可情報格納領域に実行を許可しな
い情報を格納するシステム実行監視手段と を具備することを特徴とするオンライン処理システム間
のトラフィック制御方式。
[Scope of Claims] Message receiving means for receiving a message for a transaction processing request from a terminal device; a message storage area for temporarily storing the message; and a message storage area for temporarily storing the message; In a computer system where there is a plurality of online processing systems each having a transaction execution control means that controls the execution of transaction processing according to a program and a message transmission means that sends a message to a terminal device, traffic between the online processing systems is controlled. The method includes: a timed priority information storage area for storing timed priority information indicating the priority of the online processing system after a certain time; a timed priority specification means for storing the timed priority information in a priority information storage area and notifying another means of the time of the timed priority information; and a time specified by the timed priority specification means; a time notification means for notifying other means; a priority information storage area for storing the priority of each online processing system; and a priority information storage area with time for receiving the notification from the time notification means. a time-based priority change means for searching for a time at which the system priority is to be changed, and storing the priority corresponding to the time notified from the time notification means in the priority information storage area; In an online processing system, an execution permission information storage area is provided for storing information on whether or not execution of online processing is permitted; Execution permission determination means for notifying others that the message will not be executed if there is permission to execute the process; and for notifying others that the message will not be executed if there is no permission to execute the online process; a load information storage area for storing load information; receiving a notification of execution permission for the online processing from the execution permission determination means, determining a load state of the online processing system, and storing the result in the load information storage area; and a load state determining means for notifying others, and when the execution permission determining means or the load state determining means notifies the user that the message will not be executed, the message is passed to the message transmitting means, the message is returned, and the message is executed. message distribution means for passing the message stored in the message storage area to the transaction execution control means for transaction processing when there is a notification; and a time interval specification for specifying a time interval for notification of the elapse of a certain period of time. means for notifying others of the passage of the time interval specified by the time interval specifying means; The priority information stored in the online processing system and the load information in the load information storage area of each online processing system are referenced to determine whether or not the online processing system is overloaded in order from the highest priority to the overloaded state. Execution permission information for the message is stored in the execution permission information storage area of the online processing system that is not in the system, and when an overloaded online processing system exists, information that permits execution is stored in the execution permission information storage area. After storage, the execution permission information storage area of the lowest priority online processing system among the online processing systems that have a lower priority than the priority of the online processing system in the overloaded state and are not in the loaded state. 1. A system for controlling traffic between online processing systems, comprising: a system execution monitoring means for storing information that is not permitted to be executed.
JP63264433A 1988-10-20 1988-10-20 Traffic control method between online processing systems Expired - Lifetime JP2890420B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63264433A JP2890420B2 (en) 1988-10-20 1988-10-20 Traffic control method between online processing systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63264433A JP2890420B2 (en) 1988-10-20 1988-10-20 Traffic control method between online processing systems

Publications (2)

Publication Number Publication Date
JPH02110760A true JPH02110760A (en) 1990-04-23
JP2890420B2 JP2890420B2 (en) 1999-05-17

Family

ID=17403120

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63264433A Expired - Lifetime JP2890420B2 (en) 1988-10-20 1988-10-20 Traffic control method between online processing systems

Country Status (1)

Country Link
JP (1) JP2890420B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7055824B2 (en) 1999-06-18 2006-06-06 Nok Corporation Lip-type high pressure seal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7055824B2 (en) 1999-06-18 2006-06-06 Nok Corporation Lip-type high pressure seal

Also Published As

Publication number Publication date
JP2890420B2 (en) 1999-05-17

Similar Documents

Publication Publication Date Title
JP4367856B2 (en) Process control system and control method thereof
KR0128273B1 (en) Scalable system interrupt structure for a multi-proccessing system
US6349321B1 (en) Data processing system and scheduling method
JP3588485B2 (en) Process scheduling method
JP2002183106A (en) System and method for service switching
US20220083375A1 (en) Method and apparatus for scheduling task processing entity
US6408324B1 (en) Operating system having a non-interrupt cooperative multi-tasking kernel and a method of controlling a plurality of processes with the system
JPH02110760A (en) Traffic control system between on-line processing systems
JPH0749837A (en) Management system for batch job start-up from on-line terminal
JP2868447B2 (en) Transaction processing task number control method
JP2004213122A (en) Stable operation method of control system by client/server and program therefor
JPH11338703A (en) Firmware download system
JPH03144845A (en) Traffic control system for computer system
JPS63158655A (en) Traffic control system between on-line processing systems
JP2002297535A (en) Method of system setting change and program thereof in transaction processing system
JPH0512205A (en) Computer system
JPH0452942A (en) File transfer system
JPH10289188A (en) Server-client communication priority controller
JPS6385938A (en) Controller for multiplex parallel operation of program
JPH0240723A (en) Message transmission/reception control system
JP2500446B2 (en) Collective message processing system with intermittent operation function
JPH08241212A (en) Task management device and its control method
JPH06103116A (en) Operation time monitor-processing system
JP2000259374A (en) Printing control method and printing system
JPH06230982A (en) Transaction processing control system