JPS63147254A - System for setting access priority to shared dasd file - Google Patents

System for setting access priority to shared dasd file

Info

Publication number
JPS63147254A
JPS63147254A JP61295531A JP29553186A JPS63147254A JP S63147254 A JPS63147254 A JP S63147254A JP 61295531 A JP61295531 A JP 61295531A JP 29553186 A JP29553186 A JP 29553186A JP S63147254 A JPS63147254 A JP S63147254A
Authority
JP
Japan
Prior art keywords
file
access
priority
job
control unit
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
JP61295531A
Other languages
Japanese (ja)
Inventor
Akio Oomura
大村 贇雄
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61295531A priority Critical patent/JPS63147254A/en
Publication of JPS63147254A publication Critical patent/JPS63147254A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/18Handling requests for interconnection or transfer for access to memory bus based on priority control

Abstract

PURPOSE:To suppress the accesses of a secondary system and to increase the processing efficiency of a main system by giving higher priorities to the accesses of the main system than those of the secondary system. CONSTITUTION:A control part setting means 11 sets previously the priority right information at access control parts 120 and 121 to designate the priorities of a 1st system #0 and a 2nd system #1 with respect to the files A in the shared DASD file devices 2-n respectively. When jobs are started in both systems #0 and #1, the job start display devices 130 and 131 are turned on. The conflict state display devices 140 and 141 are turned on when both devices 130 and 131 are kept on. The access frequency counting parts 150 and 151 count the access frequencies of those files A. Then the parts 120 and 121 control the priority right from the count results of the parts 150 and 151 and based on the priority right information given from the means 11 while both devices 140 and 141 are kept on. In such a way, the processing efficiency is improved.

Description

【発明の詳細な説明】 (概要〕 システム#Oとシステム#1が共用DASDファイル装
置にアクセスするシステムに於いて、共用DASDファ
イル装置内のファイル毎にシステム#0とシステム#l
の優先順序を指定する優先権情報を設定する制御部設定
手段を設け、両システムのデータチャンネル同士をシス
テム間通信装置を介して接続し、両システムに夫々制御
部設定手段により入力された優先権情報に基づき優先権
制御を行うアクセス制御部と、両システムに於いて夫々
実行されるジョブが起動したか否かを表示するジョブ起
動表示器と、特定ファイルに対するアクセスが競合して
いるか否かを表示する競合状態表示器と、ジョブの特定
ファイルに対する単位時間内に於けるアクセス回数を計
数するアクセス回数計数部を夫々設ける。
DETAILED DESCRIPTION OF THE INVENTION (Summary) In a system in which system #O and system #1 access a shared DASD file device, system #0 and system #1
The data channels of both systems are connected to each other via an inter-system communication device, and the priority information input to both systems by the control unit setting means is provided. An access control unit that performs priority control based on information, a job startup indicator that displays whether or not a job to be executed in each system has started, and a job startup indicator that displays whether or not there is conflicting access to a specific file. A conflict status indicator for displaying the content and an access count counter for counting the number of accesses to a specific file of a job within a unit time are provided.

〔産業上の利用分野〕[Industrial application field]

本発明は共用DASDファイルに対するアクセスの優先
順位設定方式に関するものである。
The present invention relates to a method for prioritizing access to shared DASD files.

〔従来の技術〕[Conventional technology]

DASDとは直接アクセス記憶装置の略号であり、従来
比のDASDファイルに対して二つのシステムからアク
セスする場合、即ち、共用DASDファイルに対してア
クセスする場合には下記の方式が使用されていた。
DASD is an abbreviation for direct access storage device, and in the past, when a DASD file was accessed by two systems, that is, when a shared DASD file was accessed, the following method was used.

第3図は共用DASDファイルに対する従来のアクセス
方式の一例を示す図である。
FIG. 3 is a diagram showing an example of a conventional access method for a shared DASD file.

図中、#0、#1は夫々システム、2〜4は共用DAS
Dファイル装置である。尚以下企図を通じ同一記号は同
一対象物を表す。
In the diagram, #0 and #1 are respective systems, and 2 to 4 are shared DAS
It is a D file device. The same symbols represent the same objects throughout the following discussion.

従来銀行事務システム等に於いて、システム#Oとシス
テム#1が共に共用DASDファイル装置2〜4を使用
する場合が多い。即ち、システム#0で実行中のジョブ
αが共用DASDファイル装置2上のファイルAを使用
し、システム#1で実行中のジョブβも共用DASDフ
ァイル装置2上のファイルAを使用する場合、従来方式
では時間的に早い方のジョブが優先的にファイルAを使
用する様になっている。
In conventional bank office systems and the like, both system #O and system #1 often use shared DASD file devices 2-4. That is, if job α running on system #0 uses file A on shared DASD file device 2, and job β running on system #1 also uses file A on shared DASD file device 2, the conventional In this method, the job that is earlier in time uses file A preferentially.

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

然しなから例えばシステム#0のジョブαが既に共用D
ASDファイル装置2上のファイルAを使用しており、
而も可なり時間がかかる時、システム#1のジョブβが
短時間だけ共用DASDファイル装置2上のファイルA
の使用を希望してもジョブαが終了する迄待たなければ
ならないと云う問題がある。
However, for example, job α on system #0 is already shared D.
I am using file A on ASD file device 2,
However, when it takes a considerable amount of time, job β on system #1 only uses file A on shared DASD file device 2 for a short time.
There is a problem in that even if a user wishes to use the job α, he or she must wait until job α is completed.

〔問題点を解決するための手段〕[Means for solving problems]

上記問題点は第1図の原理図に示す様に第1システム#
0と第2システム#lが共用DASDファイル装置2〜
nにアクセスするシステムに於いて、第1システム#0
のデータチャンネル160と第2システム#1のデータ
チャンネル16Iをシステム間通信装置17を介して接
続し、共用DASDファイル装置2〜n内のファイルA
に対する第1システム#0と第2システム#1の優先順
序を指定する優先権情報を設定する制御部設定手段11
を設け、更に第1システム#0及び第2システム#1に
夫々、夫々優先権情報に基づき優先権制御を行うアクセ
ス制御部120と128、ジョブ起動表示器130と1
33、競合状態表示器140と141、アクセス回数計
数部150と151を設けることにより解決される。
The above problem is solved by the first system # as shown in the principle diagram in Figure 1.
0 and the second system #l share the DASD file device 2~
In the system accessing n, the first system #0
The data channel 160 of the second system #1 and the data channel 16I of the second system #1 are connected via the intersystem communication device 17, and the files A in the shared DASD file devices 2 to n are connected.
control unit setting means 11 for setting priority information specifying the priority order of the first system #0 and the second system #1;
Further, the first system #0 and the second system #1 are provided with access control units 120 and 128 that perform priority control based on priority information, respectively, and job start indicators 130 and 1.
33, the problem can be solved by providing conflict status indicators 140 and 141 and access count units 150 and 151.

〔作用〕[Effect]

本発明に依ると、予め制御部設定手段11により共用D
ASDファイル装置2〜n内のファイルAに対する第1
システム#Oと第2システム#1の優先順序を指定する
優先権情報をアクセス制御部120と121 に設定し
て置き、第1システム#0と第2システム#1に於いて
ジョブが起動すると、ジョブ起動表示器130と131
をオンとし、ジョブ起動表示器130と131が共にオ
ンの時は競合状態表示器140と141をオンとして夫
々のファイルAに対するアクセス回数をアクセス回数計
数部150と151により計数し、制御部設定手段11
により入力された優先権情報に基づきアクセス制?ff
11部120と12.が優先権制御を行う。
According to the present invention, the shared D
The first file for file A in ASD file devices 2 to n
Priority information specifying the priority order of system #O and second system #1 is set in the access control units 120 and 121, and when a job is started in the first system #0 and second system #1, Job start indicators 130 and 131
is turned on, and when the job start indicators 130 and 131 are both turned on, the race condition indicators 140 and 141 are turned on, and the access count units 150 and 151 count the number of accesses to each file A, and the control unit setting means 11
Access control based on priority information entered by ? ff
11 parts 120 and 12. performs priority control.

〔実施例〕〔Example〕

本発明は同時アクセス時、より合理的な優先順位決定法
を外部から設定し、此の優先順位決定法に従いアクセス
の制御を行うものである。
The present invention externally sets a more rational priority determination method during simultaneous access, and controls access according to this priority determination method.

第2図は本発明に依る共用DASDファイルへのアクセ
ス優先順位設定方式の一実施例を示す図である。
FIG. 2 is a diagram illustrating an embodiment of the access priority setting method for a shared DASD file according to the present invention.

図中、10はパンチカード、11は制御部設定手段、工
2゜、12.は共にアクセス制御部、130、131 
は共にジョブ起動表示器、140、141は共に競合状
態表示器、150、151は共にアクセス回数計数部、
160はシステム#Oのデータチャンネル、16.はシ
ステム#1のデータチャンネル、17はシステム間通信
装置(FSI)、20゜はシステム#Oの主制御部、2
0.はシステム#1の主制御部である。
In the figure, 10 is a punch card, 11 is a control section setting means, 2 degrees, 12. are both access control units, 130 and 131
are both job start indicators, 140 and 141 are both conflict status indicators, 150 and 151 are both access count counters,
160 is the data channel of system #O; 16. is the data channel of system #1, 17 is the intersystem communication device (FSI), 20° is the main control unit of system #O, 2
0. is the main control unit of system #1.

本発明に依ると、共用DASDファイル装置2〜n内に
格納されているファイル毎に優先権の%表示を行う。尚
共用DASDファイル装置2〜nは簡単の為共用DAS
Dファイル装置2のみを図示し、他は省略した。
According to the present invention, the percent priority is displayed for each file stored in the shared DASD file devices 2-n. Note that the shared DASD file devices 2 to n are shared DASD file devices for simplicity.
Only the D file device 2 is illustrated, and the others are omitted.

例えば共用DASDファイル装置2内に格納されている
ファイルAに対するシステム#0の優先権を70%、同
じファイルAに対するシステム#1の優先権を30%と
仮定すると、単位時間内に於けるシステム#0のファイ
ルAに対するリード回数と、システム#1のファイルA
に対するリード回数との比を7=3となる様に制御する
For example, assuming that the priority of system #0 for file A stored in the shared DASD file device 2 is 70%, and the priority of system #1 for the same file A is 30%, then system #0 within a unit time Read count for file A in 0 and file A in system #1
The ratio of the number of reads to the number of reads is controlled so that 7=3.

(al此の様な制御を行うために、優先権情報を例えば
パンチカード10にバンチして制御部設定手段11にセ
ットする。
(In order to perform such control, priority information is bunched onto a punch card 10 and set in the control unit setting means 11, for example.

制御部設定手段11はパンチカード10の優先権情報を
読取り、ハードウェアシステム#0内に設けられたアク
セス制御部120に優先権情報をセットする。
The control unit setting means 11 reads the priority information of the punch card 10 and sets the priority information in the access control unit 120 provided in the hardware system #0.

同様に制御部設定手段11はハードウェアシステム#1
内のアクセス制御部12+に同じ優先権情報をセントす
る。
Similarly, the control section setting means 11 is the hardware system #1.
The same priority information is sent to the access control unit 12+ within the access control unit 12+.

此の様に予めアクセス制御部12oとアクセス制御部1
2+ に優先権情報をセットして置く。
In this way, the access control unit 12o and the access control unit 1 are connected in advance.
Set priority information to 2+.

(b)今システム#0に於いて、主制御部20゜がジョ
ブαを起動すると、ジョブαはジョブαの起動をアクセ
ス制御部120に通知する。
(b) Now in system #0, when the main control unit 20° starts job α, job α notifies the access control unit 120 of the activation of job α.

此の通知を受けると、アクセス制御部120は先づジョ
ブ起動表示器工3゜をオンとし、次にデータチャンネル
16o〜システム間通信装置17〜データチャンネル1
6+の経路(以下経路Zと云う)でアクセス制御部12
.にアクセスし、システム#1側で既にジョブβがジョ
ブ起動表示器131をオンしているか否かを調べる。
Upon receiving this notification, the access control unit 120 first turns on the job start indicator 3°, and then turns on the data channel 16o to the intersystem communication device 17 to the data channel 1.
Access control unit 12 via the 6+ route (hereinafter referred to as route Z)
.. , and checks whether job β has already turned on the job start indicator 131 on the system #1 side.

若しジョブ起動表示器13.がオフの時は、競合状態で
はないので競合状態表示器140をオフの侭とする。
If job start indicator 13. When is off, there is no conflict, so the conflict status indicator 140 is turned off.

若しジョブ起動表示器131がオンの時は、競合状態で
あるので競合状態表示器140、141を共にオンとし
、アクセス回数計数部150、151を共に初期化して
計数可能状態とする。
If the job activation indicator 131 is on, there is a conflict, so both the conflict status indicators 140 and 141 are turned on, and the access count units 150 and 151 are both initialized to a countable state.

尚競合状態表示器14.をオンとする操作、及びアクセ
ス回数計数部151を初期化して計数可能状態とする操
作は共にアクセス制御部120は経路Zでアクセス制御
部12.にアクセスして行う。
In addition, the competition status indicator 14. For both the operation of turning on the access count counter 151 and the operation of initializing the access count counter 151 to enable counting, the access control unit 120 uses the access control unit 12. This is done by accessing.

上記処理を行った状態に於いて、ジョブ起動表示器13
0がオン、ジョブ起動表示器131がオフの場合、競合
状態ではないのでアクセス制御部120は優先権処理を
行わない。従ってファイルAに対しジョブαからアクセ
スしても監視対象外のファイルと同様な手順で処理され
る。
In the state where the above processing is performed, the job start indicator 13
If 0 is on and the job start indicator 131 is off, there is no conflict, so the access control unit 120 does not perform priority processing. Therefore, even if file A is accessed by job α, it will be processed in the same procedure as a file not to be monitored.

ジョブ起動表示器130とジョブ起動表示器131が共
にオンの場合、即ち、競合状態表示器140と141が
共にオンの場合、アクセス制御部120とアクセス制御
部12.は優先権処理を行う。
When both the job activation indicator 130 and the job activation indicator 131 are on, that is, when the conflict status indicators 140 and 141 are both on, the access control unit 120 and the access control unit 12. performs priority processing.

(C)ジョブαが実行中にファイルにアクセスする場合
、ジョブαはアクセスするファイルが監視対象のファイ
ルであるか否かをチェックし、監視対象外のファイルで
ある時は通常ファイルに対するアクセスと同一の動作を
行うが、若し監視対象のファイルAである時は先づアク
セス制御部120にアクセスする。
(C) When job α accesses a file during execution, job α checks whether the accessed file is a monitored file, and if it is a non-monitored file, it is the same as accessing a normal file. However, if the file A is to be monitored, the access control unit 120 is accessed first.

アクセス制御部120は前述した様に競合状態表示器1
40と14+が共にオンの場合にのみ、優先権制御を行
う。
The access control unit 120 has the contention status indicator 1 as described above.
Priority control is performed only when both 40 and 14+ are on.

アクセス制御部120、は経路Zを通りアクセス制御部
12+にアクセスしてシステム#l側のジョブβがファ
イル八にアクセス中であるか否かを調べる。
The access control unit 120 accesses the access control unit 12+ via route Z and checks whether job β on the system #l side is accessing file 8.

若しアクセス中でなければ、ジョブαはファイルAに対
するアクセスを行い、終了したらアクセス回数計数部1
50を+1する。
If the access is not in progress, job α accesses file A, and when it is finished, access count counter 1
Add 1 to 50.

若しアクセス中であれば、優先権制御を行う。If access is in progress, priority control is performed.

優先権制御の処理はアクセス回数計数部150の計数値
n0とアクセス回数計数部151の計数値n。
The priority control process uses the count value n0 of the access count counter 150 and the count value n of the access count count unit 151.

を読取り、noX(#Oの%)とn、x (#tの%)
の大小を比較し、大きい方に優先権を与えるもので、若
しnoX(#Oの%)が小さい時は待機し、no X 
(#0の%)が大きい時はジョブβのブロック処理の終
了を待って割り込みをかけ、ファイルAにアクセスし、
終了したらアクセス回数計数部150を+1する。
Read noX (% of #O) and n, x (% of #t)
It compares the size of and gives priority to the larger one.If noX (% of #O) is small, it waits and no
When (% of #0) is large, wait for the end of block processing of job β, issue an interrupt, access file A,
Upon completion, the access count counter 150 is incremented by 1.

尚上記説明に於いて、システムは#Oと#1の2システ
ムであるが、システムが2システム以上の場合でも同様
に優先権を付与することが可能であり、又ジョブに対し
優先権を付与することが可能である。
In the above explanation, there are two systems #O and #1, but even if there are two or more systems, priority can be given in the same way, and priority can be given to jobs. It is possible to do so.

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

以上詳細に説明した様に本発明によれば、主たるシステ
ム系からのアクセスを優先することにより副次系のアク
セスを抑え、主たる系の処理効率を高めることが可能と
なると云う大きい効果がある。
As described above in detail, the present invention has the great effect that by prioritizing access from the main system, it is possible to suppress access from the secondary system and improve the processing efficiency of the main system.

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

第1図は本発明の原理図である。 第2図は本発明に依る共用DA’SDファイルへのアク
セス優先順位設定方式の一実施例を示す図である。 第3図は共用DASDファイルに対する従来のアクセス
方式の一例を示す図である。 図中、#0、#1は夫々システム、2.3.4〜には夫
々共用DASDファイル装置、10はパンチカード、1
1は制御部設定手段、120、121 は共にアクセス
制御部、130、131は共にジョブ起動表示器、14
0、14.は共に競合状態表示器、150、151は共
にアクセス回数計数部、160はシステム#0のデータ
チャンネル、161はシステム#lのデータチャンネル
、17はシステム間通信装置(FSI)、20゜はシス
テム#0の主制御部、20、はシステム#lの主制御部
である。 テ (幻
FIG. 1 is a diagram showing the principle of the present invention. FIG. 2 is a diagram showing an embodiment of the access priority setting method for a shared DA'SD file according to the present invention. FIG. 3 is a diagram showing an example of a conventional access method for a shared DASD file. In the figure, #0 and #1 are respective systems, 2.3.4~ are respective shared DASD file devices, 10 is a punch card, 1
1 is a control unit setting means; 120 and 121 are both access control units; 130 and 131 are both job starting indicators;
0, 14. are both race condition indicators, 150 and 151 are both access count counters, 160 is the data channel of system #0, 161 is the data channel of system #l, 17 is the intersystem communication device (FSI), and 20° is the system #1. The main control unit 0, 20, is the main control unit of system #l. Te (phantom)

Claims (1)

【特許請求の範囲】 第1システム(#0)と第2システム(#1)が共用D
ASDファイル装置(2〜n)にアクセスするシステム
に於いて、 該第1システム(#0)のデータチャンネル(16_0
)と該第2システム(#1)のデータチャンネル(16
_1)をシステム間通信装置(17)を介して接続し、 該共用DASDファイル装置(2〜n)内のファイル(
A)に対する該第1システム(#0)と該第2システム
(#1)の優先順序を指定する優先権情報を設定する制
御部設定手段(11)を設け、該第1及び第2システム
(#0、#1)に夫々、該制御部設定手段(11)によ
り入力された該優先権情報に基づき優先権制御を行うア
クセス制御部(12_0、12_1)と、 該第1及び第2システム(#0、#1)に於いて夫々実
行されるジョブが起動したか否かを表示するジョブ起動
表示器(13_0、13_1)と、該ジョブの該ファイ
ル(A)に対するアクセスが競合しているか否かを表示
する競合状態表示器(14_0、14_1)と、 該ジョブの該ファイル(A)に対する単位時間内に於け
るアクセス回数を計数するアクセス回数計数部(15_
0、15_1)を夫々設けたことを特徴とする共用DA
SDファイルへのアクセス優先順位設定方式。
[Claims] The first system (#0) and the second system (#1) share D
In the system accessing the ASD file device (2 to n), the data channel (16_0) of the first system (#0)
) and the data channel (16
_1) is connected via the intersystem communication device (17), and the files (
A control section setting means (11) is provided for setting priority information specifying the priority order of the first system (#0) and the second system (#1) with respect to A), #0, #1), respectively, access control units (12_0, 12_1) that perform priority control based on the priority information input by the control unit setting means (11); and the first and second systems ( Job start indicators (13_0, 13_1) that display whether the jobs executed in #0, #1) have started, respectively, and whether or not there is a conflict between accesses of the jobs to the file (A). and an access count counter (15_0, 14_1) that counts the number of accesses to the file (A) of the job within a unit time.
0, 15_1) respectively.
Access priority setting method for SD files.
JP61295531A 1986-12-10 1986-12-10 System for setting access priority to shared dasd file Pending JPS63147254A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61295531A JPS63147254A (en) 1986-12-10 1986-12-10 System for setting access priority to shared dasd file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61295531A JPS63147254A (en) 1986-12-10 1986-12-10 System for setting access priority to shared dasd file

Publications (1)

Publication Number Publication Date
JPS63147254A true JPS63147254A (en) 1988-06-20

Family

ID=17821833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61295531A Pending JPS63147254A (en) 1986-12-10 1986-12-10 System for setting access priority to shared dasd file

Country Status (1)

Country Link
JP (1) JPS63147254A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5452421A (en) * 1992-09-23 1995-09-19 International Business Machines Corporation System for using register sets and state machines sets to communicate between storage controller and devices by using failure condition activity defined in a request
JPH0981435A (en) * 1995-09-13 1997-03-28 Nec Corp File managing device of network system
JP2002358224A (en) * 2001-05-31 2002-12-13 Tsubasa System Co Ltd Job execution control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5452421A (en) * 1992-09-23 1995-09-19 International Business Machines Corporation System for using register sets and state machines sets to communicate between storage controller and devices by using failure condition activity defined in a request
JPH0981435A (en) * 1995-09-13 1997-03-28 Nec Corp File managing device of network system
JP2002358224A (en) * 2001-05-31 2002-12-13 Tsubasa System Co Ltd Job execution control system

Similar Documents

Publication Publication Date Title
JPS60112164A (en) Dynamically alterable interrupt preference circuit
US5825359A (en) Method and system for improved arbitration of a display screen in a computer system
JPS62162146A (en) Testing system for multiprocessor system
JPS63147254A (en) System for setting access priority to shared dasd file
JPH06187312A (en) Processing method and its device in multi-cpu system
JP3227069B2 (en) I / O processing system
JP2903525B2 (en) Job management method
JPH01154237A (en) Executing device for time-division task
JP2585905B2 (en) Multitask execution device
JPH03189746A (en) System controller
JPH0375832A (en) Virtual machine control system
JPS6148747B2 (en)
JPS6115450B2 (en)
JPH05150953A (en) Console device
JPS6174056A (en) Synchronizing control system
JPH04133128A (en) System console driver
JPH0298744A (en) Interruption processing system
JPH06326747A (en) Communication controller
JPH0462093B2 (en)
JPS58168168A (en) Swap-in and swap-out system of terminal
JP2003186666A (en) Microcomputer and dma control circuit
JPH03282629A (en) Task scheduling method
JPS62168254A (en) Bus control system
JPH04115752A (en) Line adaptor
JPS6020260A (en) Channel control system