JPH02105252A - Lock processing system - Google Patents
Lock processing systemInfo
- Publication number
- JPH02105252A JPH02105252A JP25703488A JP25703488A JPH02105252A JP H02105252 A JPH02105252 A JP H02105252A JP 25703488 A JP25703488 A JP 25703488A JP 25703488 A JP25703488 A JP 25703488A JP H02105252 A JPH02105252 A JP H02105252A
- Authority
- JP
- Japan
- Prior art keywords
- lock
- information
- system control
- processing
- control device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 claims description 9
- 230000010365 information processing Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multi Processors (AREA)
- Lock And Its Accessories (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、複数の処理装置に接続されたロック機能を有
するシステム制御装置に関し、特に、システム制御装置
を複数接続させた場合のロック処理方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a system control device having a lock function that is connected to a plurality of processing devices, and in particular, a lock processing method when a plurality of system control devices are connected. Regarding.
[従来の技術〕
従来、この種のロック処理方式は、ロックの処理を行な
う度に必要な情報の全てを、お互いに接続されたシステ
ム制御装置間で伝達し合うように構成されていた。[Prior Art] Conventionally, this type of lock processing method has been configured such that all necessary information is transmitted between mutually connected system control devices each time lock processing is performed.
以下、第3図を参照して従来のロック処理方式について
説明する。第1のシステム制御装置40におけるロック
処理の場合、ロックデータ41とロック指定42によっ
てロック処理が指示され、ロックの判定は、ロック指定
42とロックバイト43とでロック判定回路44により
判定される。Hereinafter, a conventional lock processing method will be explained with reference to FIG. In the case of lock processing in the first system control device 40, the lock processing is instructed by the lock data 41 and the lock designation 42, and the lock determination circuit 44 determines the lock based on the lock designation 42 and the lock byte 43.
第2のシステム制御装置50を、反映させるために、シ
ステム制御装置50のロックバイト53、ロック指定5
2を、システム制御装置40に伝達して、ロック一致制
御回路45で制御して、システム制御装置40における
ロック処理に反映させる。In order to reflect the second system control device 50, the lock byte 53 of the system control device 50, the lock specification 5
2 is transmitted to the system control device 40, controlled by the lock coincidence control circuit 45, and reflected in the lock processing in the system control device 40.
ただし、システム制御装置50のデータをロック一致制
御回路45に伝達するのに時間がかかり、ロックバイト
53などのデータと一致していないデータとなって伝達
されることもありえるので、ロック一致制御回路45は
それを回避する制御をする。However, it takes time to transmit the data from the system control device 50 to the lock coincidence control circuit 45, and the data may be transmitted as data that does not match the data such as the lock byte 53, so the lock coincidence control circuit 45 performs control to avoid this.
[発明が解決しようとする課題]
上述した従来のロック処理の方式では、システム制御装
置はそれぞれ接続された処理装置のみのロックの情報し
か保持しておらず、片方のみではロック全体の状態を把
握できないため、ロックの度そのロックの状態を他方へ
伝達しなければならず、伝達のためのハードウェアが大
きくなるという欠点があった。又、ロックの処理を行な
うために、それぞれのシステム制御装置のロックバイト
を全て調べるため、時間がかかり、制御も複雑であった
。さらに、ロックの状態の装置間の伝達の時間がかかる
ため、必ずしも伝達されたロックの情報と伝達先のロッ
ク情報が一致しなくなる事態が有りうるために、連続的
にロックは出来ないという欠点を持っていた。[Problems to be Solved by the Invention] In the conventional lock processing method described above, each system control device only holds lock information for each connected processing device, and only one of them can grasp the entire lock status. Therefore, the lock state must be transmitted to the other device each time a lock is generated, which has the drawback of increasing the size of the hardware required for the transmission. Furthermore, in order to perform lock processing, all lock bytes of each system control device are checked, which is time consuming and complicated to control. Furthermore, since it takes time to transmit the lock state between devices, there is a possibility that the transmitted lock information and the lock information of the transmission destination do not necessarily match, so locking cannot be performed continuously. had.
[課題を解決するための手段]
本発明によるロック処理方式は、複雑の処理装置に接続
されて排他制御を行うためのロック機能を有するシステ
ム制御装置が複数個接続され、前記システム制御装置の
各々は、自システム制御装置に接続された処理装置のロ
ック情報を第1のロック情報として保持する第1のロッ
ク情報保持手段と、自システム制御装置に接続された他
システム制御装置との間で、それぞれのシステム制御装
置に接続された処理装置のロック情報をお互いに伝達し
合う手段とを有する情報処理装置において、前記システ
ム制御装置の各々は、他システム制御装置に接続された
処理装置のロック情報の写しを第2のロック情報として
保持する第2のロック情報保持手段と、前期節1のロッ
ク情報と第2のロック情報よりそれぞれのロック処理を
行う手段とを有する。[Means for Solving the Problems] A lock processing method according to the present invention includes a plurality of system control devices connected to a complex processing device and having a locking function for performing exclusive control, and each of the system control devices between a first lock information holding means that holds lock information of a processing device connected to the own system control device as first lock information, and another system control device connected to the own system control device, In an information processing apparatus having means for mutually transmitting lock information of processing apparatuses connected to each system control apparatus, each of the system control apparatuses transmits lock information of processing apparatuses connected to other system control apparatuses. The second lock information holding means holds a copy of the second lock information as the second lock information, and the second lock information holding means holds a copy of the first section 1 as second lock information, and means performs respective lock processing based on the lock information of the previous section 1 and the second lock information.
[実施例] 次に本発明について図面を参照して説明する。[Example] Next, the present invention will be explained with reference to the drawings.
第2図はシステム制御装置10.11と、入出力装置(
IOP)25,26,35.36と、演算処理装置(E
PU)23,24,33.34を接続したマルチプロセ
ッサ装置の構成であり、入出力装置25,26,35.
36と演算処理装置23.24.33.34がロックを
要求した、システム制御装置10.11はその要求を受
けてロック処理を行なう。Figure 2 shows the system control device 10.11 and the input/output device (
IOP) 25, 26, 35.36 and arithmetic processing unit (E
This is a multiprocessor device configuration in which PU) 23, 24, 33.34 are connected, and input/output devices 25, 26, 35.
36 and the processing unit 23, 24, 33, 34 have requested locking, and the system control unit 10.11 receives the request and performs the locking process.
ロック処理方式としては、システム制御装置10.11
は、接続された処理袋!23.24゜25.26,33
.34,35.36のロック要求をお互いに伝達し合い
、それぞれのロック判別とロック情報の保持を行なう。As a lock processing method, system controller 10.11
A connected processing bag! 23.24゜25.26,33
.. The lock requests of 34, 35, and 36 are transmitted to each other, and each lock is determined and lock information is held.
第1図はシステム制御装置10.11をお互いに接続し
たときのブロック図である。システム制御装置10を自
系、システム制御装置11を他系として、自系を中心に
説明する。FIG. 1 is a block diagram of system controllers 10 and 11 connected to each other. The description will be focused on the own system, with the system control device 10 as the own system and the system control device 11 as the other system.
処理装置からロックの要求が自系10にきたとき、ロッ
ク指定10−2と自系のロック情報を保持するロックバ
イト10−6と他系のロック情報を保持する他系ロック
情報10−7から、自系ロック判別回路10−8でロッ
クの判別を行なう。When a lock request comes from the processing device to the local system 10, the lock specification 10-2, the lock byte 10-6 that holds the lock information of the local system, and the other system lock information 10-7 that holds the lock information of the other system are used. , the lock is determined by the own system lock determination circuit 10-8.
ロックが成功すると、ロックデータ10−1がロック指
定10−2に従ってロックバイト10−6に書き込まれ
る。If the lock is successful, lock data 10-1 is written to lock byte 10-6 according to lock specification 10-2.
他系11に接続された処理装置のロック要求は、他系に
おいてロック処理を行うが、自系に反映するために、他
系11のロック指定11−2を自系10に送り、自系1
0内の他系ロック指定10−3で受ける。ロックバイト
10−6と他系ロック情報10−7と他系ロック指定1
0−3から、他系ロック判別回路10−9で他系のロッ
クの判別を行う。ロックが成功すると、他系ロック情報
1O−7と他系ロック指定10−3から他系ロックデー
タ作成回路10−5で作られたデータを他系ロック情報
10−7に書き込む。A lock request from a processing device connected to the other system 11 is processed by the other system, but in order to be reflected in the own system, the lock specification 11-2 of the other system 11 is sent to the own system 10, and the lock request from the processing device connected to the other system 11 is sent to the own system 10.
Received with other system lock specification 10-3 in 0. Lock byte 10-6, other system lock information 10-7, and other system lock specification 1
From 0-3 onwards, the other system lock determination circuit 10-9 determines whether the other system is locked. When the lock is successful, data created by the other-system lock data creation circuit 10-5 from the other-system lock information 10-7 and the other-system lock designation 10-3 is written into the other-system lock information 10-7.
自系10に接続された処理装置がアンロックを要求する
と、ロック指定10−2に従ってロックデータ10−1
がロックバイト10−6に書き込まれる。When the processing device connected to the own system 10 requests unlocking, the lock data 10-1 is released according to the lock specification 10-2.
is written to lock byte 10-6.
他系11でアンロックが要求されると、ロックと同様に
データを送り、自系10では、他系ロック指定10−3
と他系ロック情報10−7から他系ロックデータ作成回
路10−5で作られたデータを、他系ロック情報10−
7に書き込む。When the other system 11 requests unlocking, it sends data in the same way as locking, and the own system 10 sends the other system lock specification 10-3.
The data created by the other-system lock data creation circuit 10-5 from the other-system lock information 10-7 is converted into the other-system lock information 10-.
Write to 7.
自系と他系とで同時にロックの要求がある場合、ロック
指定10−2と他系ロック指定10−3から競合判別回
路10−4で判別を行ない、同系のロック要求と判明す
ると、競合として自系と他系と優先されている方のロッ
クの判別を行い、優先されない方は、ロック不成功とす
る。二の優先をつける手段として、フリップフロップ(
図示せず)で、優先の目印として競合が起こる度に、自
系と他系の優先が入れ変わるように、フリップフロップ
を反転させる。If there is a lock request from the own system and another system at the same time, the conflict determination circuit 10-4 makes a determination based on the lock specification 10-2 and the other system lock specification 10-3, and if it is determined that the lock request is from the same system, it is determined as a conflict. It determines which locks are prioritized, the own system and other systems, and those that are not prioritized are considered unsuccessful locks. As a means of prioritizing the second, flip-flop (
(not shown), the flip-flops are reversed so that the priorities of the own system and the other system are switched each time a conflict occurs as a mark of priority.
競合がない場合、自系、他系のロック判別をそれぞれ行
う。If there is no conflict, the locks of the local system and other systems are determined separately.
ロックとアンロックの要求が自系と他系で同時にある場
合、競合が起こると、ロックは不成功としてアンロック
の処理を行なう。競合がない場合は、それぞれの処理を
行なう。When lock and unlock requests are made simultaneously on the local system and on the other system, if a conflict occurs, the lock is deemed unsuccessful and the unlock process is performed. If there is no conflict, each process is performed.
[発明の効果]
以上説明したように本発明は、システム制御装置それぞ
れに、自装置に接続された処理装置のロックのみならず
、接続された他システム制御装置に接続された処理装置
のロックを保持し、そこでロックの判別をする手段によ
り、ロックのために伝達するデータは少なくなり、伝達
のためのハードウェア量が少なくてすむ。また、−台の
システム制御装置を調べれば、システム全体のロックの
状態が確認できるので、高速に確認が可能で、制御も簡
単である。また、保持しているロック情報は、転送など
の時間がないため、常に最新であり、連続的なロックが
可能である。[Effects of the Invention] As explained above, the present invention allows each system control device to lock not only the processing device connected to itself but also the processing devices connected to other connected system control devices. By holding and determining locks there, less data is communicated for locks, and less hardware is required for the transfer. Furthermore, the lock status of the entire system can be confirmed by checking the second system control device, so confirmation can be made quickly and control is simple. In addition, the held lock information is always up-to-date because there is no time for transfer, etc., and continuous locking is possible.
第1図は本発明の一実施例によるロック処理方式の構成
を示すブロック図、第2図は本発明が適用される情報処
理システムのブロック図、第3図は従来のロック処理方
式の構成を示すブロック図である。
10.11・・・システム制御装置、10−1゜11−
1・・・ロックデータ、10−2.11−2・・・ロッ
ク指定、10−3.11−3・・・他系ロック指定、1
0−4.11−4・・・競合判別回路、10−5.11
−5・・・他系ロックデータ作成回路、10−6.11
−6・・・ロックバイト、10−7゜11−7・・・他
系ロック情報、10−8.11−8・・・自系ロック判
別回路、10−9.11−9・・・他系ロック判別回路
。
第2図
どご
:jυFIG. 1 is a block diagram showing the configuration of a lock processing method according to an embodiment of the present invention, FIG. 2 is a block diagram of an information processing system to which the present invention is applied, and FIG. 3 is a block diagram showing the configuration of a conventional lock processing method. FIG. 10.11...System control device, 10-1゜11-
1...Lock data, 10-2.11-2...Lock specification, 10-3.11-3...Other system lock specification, 1
0-4.11-4...Conflict determination circuit, 10-5.11
-5...Other system lock data creation circuit, 10-6.11
-6...Lock byte, 10-7゜11-7...Other system lock information, 10-8.11-8...Self system lock determination circuit, 10-9.11-9...Others System lock determination circuit. Figure 2: jυ
Claims (1)
ロック機能を有するシステム制御装置が複数個接続され
、前記システム制御装置の各々は、自システム制御装置
に接続された処理装置のロック情報を第1のロック情報
として保持する第1のロック情報保持手段と、自システ
ム制御装置に接続された他システム制御装置との間で、
それぞれのシステム制御装置に接続された処理装置のロ
ック情報をお互いに伝達し合う手段とを有する情報処理
装置において、 前記システム制御装置の各々は、他システム制御装置に
接続された処理装置のロック情報の写しを保持する第2
のロック情報保持手段と、前記第1のロック情報と前記
第2のロック情報よりそれぞれのロック処理を行う手段
とを有するロック処理方式。[Claims] 1. A plurality of system control devices are connected to a plurality of processing devices and have a locking function for exclusive control, and each of the system control devices is connected to its own system control device. between a first lock information holding means that holds lock information of the processing device that has been acquired as first lock information, and another system control device connected to the own system control device;
In an information processing device having means for mutually transmitting lock information of processing devices connected to each system control device, each of the system control devices transmits lock information of processing devices connected to other system control devices. the second holding a copy of
A lock processing method comprising: a lock information holding means; and a means for performing respective lock processing based on the first lock information and the second lock information.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25703488A JPH02105252A (en) | 1988-10-14 | 1988-10-14 | Lock processing system |
FR8913429A FR2637998B1 (en) | 1988-10-14 | 1989-10-13 | LOCK PROCESSING SYSTEM |
US07/812,853 US5175861A (en) | 1988-10-14 | 1991-12-23 | Lock processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25703488A JPH02105252A (en) | 1988-10-14 | 1988-10-14 | Lock processing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02105252A true JPH02105252A (en) | 1990-04-17 |
Family
ID=17300824
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP25703488A Pending JPH02105252A (en) | 1988-10-14 | 1988-10-14 | Lock processing system |
Country Status (2)
Country | Link |
---|---|
JP (1) | JPH02105252A (en) |
FR (1) | FR2637998B1 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62197858A (en) * | 1986-02-26 | 1987-09-01 | Hitachi Ltd | Inter-system data base sharing system |
JPH0731662B2 (en) * | 1986-07-15 | 1995-04-10 | 富士通株式会社 | Multiprocessor system |
-
1988
- 1988-10-14 JP JP25703488A patent/JPH02105252A/en active Pending
-
1989
- 1989-10-13 FR FR8913429A patent/FR2637998B1/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
FR2637998B1 (en) | 1992-12-11 |
FR2637998A1 (en) | 1990-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA1239227A (en) | Method of and arrangement for ordering of multiprocessor operations in a multiprocessor system | |
US4862354A (en) | Multiprocessor system with interrupt notification and verification unit | |
US4975833A (en) | Multiprocessor system which only allows alternately accessing to shared memory upon receiving read and write request signals | |
CA1247249A (en) | System bus means for inter-processor communication | |
US5666515A (en) | Information processing system having multiple modules and a memory on a bus, where any module can lock an addressable portion of the memory by sending retry signals to other modules that try to read at the locked address | |
KR920001552B1 (en) | Local area network system with multiple computer systems | |
JPH061458B2 (en) | Distribution arbitration apparatus and method for shared bus | |
JPH07311660A (en) | Data processing method of software control system for early detection of fault | |
JPH056223B2 (en) | ||
US5051946A (en) | Integrated scannable rotational priority network apparatus | |
US5432915A (en) | Interprocessor communication system in an information processing system enabling communication between execution processor units during communication between other processor units | |
US5353414A (en) | Bus lock control apparatus capable of controlling without stopping bus arbiters | |
JPH02105252A (en) | Lock processing system | |
JP2680208B2 (en) | Memory access control device | |
US5175861A (en) | Lock processing system | |
JPH0528856B2 (en) | ||
JP3345102B2 (en) | Method of resetting a combined module and system using this method | |
JPH09288608A (en) | File sharing controller in distributed processing system | |
KR100199021B1 (en) | A multi-interrupt control device and method by interrupt order on pci bus | |
JP2783547B2 (en) | Storage controller | |
JP2824890B2 (en) | SCSI protocol controller | |
JPS5975354A (en) | Processor device | |
JP2837522B2 (en) | I / O instruction control method | |
JPH03235152A (en) | Bus control system | |
JPS6224828B2 (en) |