JP2002024075A - Data processing system - Google Patents

Data processing system

Info

Publication number
JP2002024075A
JP2002024075A JP2000209470A JP2000209470A JP2002024075A JP 2002024075 A JP2002024075 A JP 2002024075A JP 2000209470 A JP2000209470 A JP 2000209470A JP 2000209470 A JP2000209470 A JP 2000209470A JP 2002024075 A JP2002024075 A JP 2002024075A
Authority
JP
Japan
Prior art keywords
data
data processing
control right
notification
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
JP2000209470A
Other languages
Japanese (ja)
Inventor
Akio Yamamiya
明男 山宮
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 Telecom Networks Ltd
Original Assignee
Fujitsu Telecom Networks 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 Telecom Networks Ltd filed Critical Fujitsu Telecom Networks Ltd
Priority to JP2000209470A priority Critical patent/JP2002024075A/en
Publication of JP2002024075A publication Critical patent/JP2002024075A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Small-Scale Networks (AREA)
  • Bus Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform exclusive assess control of a shared data storage part regarding a data processing system including the shared data storage part and plural data processing parts. SOLUTION: An exclusive control means such as a control part 3 is provided in any of the shared data storage part or data processing parts 1-1 to 1-6, a count value of a notification counter from a control right notification data processing part 3a is set as 1 by referring to a management table 3b of the control part 3, control right notification data formed by setting device IDs of the data processing parts 1-1 to 1-6 is transmitted to positions to be specified by the count value of the notification counter, transmission and reception processing parts 4-1 to 4-6 of the control right notification data of the data processing part 1-1 to 1-6 are provided with functions to compare the device ID at the position to be specified by the count value of the notification counter with the present device ID, to access the shared data storage part as acquisition of the control right when the devices IDs coincide and to transfer the data by defining the count value of the notification counter as +1 by completion of access.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、各種のデータの送
受信処理,表示処理,操作入力処理等を行う複数のデー
タ処理部を含み、これらのデータ処理部からアクセスし
てデータの書込みや読出しを行う共通データ格納部を有
し、この共通データ格納部に対して排他制御を行うデー
タ処理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention includes a plurality of data processing units for performing various kinds of data transmission / reception processing, display processing, operation input processing, and the like, and accesses these data processing units to write and read data. The present invention relates to a data processing system having a common data storage unit for performing exclusive control on the common data storage unit.

【0002】[0002]

【従来の技術】比較的大容量のメモリからなる共通デー
タ格納部を有し、又例えば、キーボード等の入力操作部
からの入力データを処理する操作入力データ処理部と、
表示部に表示する制御を行う表示データ処理部と、端末
装置との間でデータの送受信を行う端末データ処理部
と、プリンタや各種の装置を制御する為の制御データ処
理部等の複数のデータ処理部を含むデータ処理システム
が、例えば、遠隔監視システムや警備システム等に適用
されている。
2. Description of the Related Art An operation input data processing unit having a common data storage unit composed of a relatively large-capacity memory and processing input data from an input operation unit such as a keyboard is provided.
A plurality of data such as a display data processing unit for controlling display on the display unit, a terminal data processing unit for transmitting and receiving data to and from a terminal device, and a control data processing unit for controlling a printer and various devices. A data processing system including a processing unit is applied to, for example, a remote monitoring system or a security system.

【0003】このようなデータ処理システムに於いて
は、共通データ格納部は、複数のデータ処理部に対して
共通のデータを格納するものであるから、排他制御によ
りデータの保証を行う必要がある。その為に、従来は、
例えば、共通データ格納部に排他管理手段として排他管
理領域を設け、データ処理部は、アクセス開始前に共通
データ格納部の排他管理領域に使用中状態の設定がなけ
れば、排他管理領域に使用中状態を設定し、そして、共
通データ格納部に対するデータの書込み,読出しのアク
セスを開始し、このアクセスの完了により、排他管理領
域の使用中状態をクリアする。それにより、他のデータ
処理部が共通データ格納部に対してアクセス可能の状態
となる。このように、共通データ格納部が使用中か否か
を表示することにより、排他制御を行う手段が知られて
いる。
In such a data processing system, since the common data storage unit stores data common to a plurality of data processing units, it is necessary to guarantee data by exclusive control. . Therefore, conventionally,
For example, an exclusion management area is provided as an exclusion management means in the common data storage unit, and the data processing unit is in use in the exclusion management area unless the in-use state is set in the exclusion management area of the common data storage unit before the access starts. A state is set, and data write / read access to the common data storage unit is started, and upon completion of this access, the busy state of the exclusive management area is cleared. As a result, another data processing unit can access the common data storage unit. As described above, means for performing exclusive control by displaying whether or not the common data storage unit is in use is known.

【0004】又共通バスに複数のデータ処理部や共通デ
ータ格納部が接続されたデータ処理システムに於いて、
共通バスを獲得することによりアクセス権を得る場合、
共通バス調停手段を設け、アクセス要求に対して優先順
位等を基に調停して共通バスのアクセス権を与える共通
バス構成のシステムも知られている。そして、共通バス
調停手段の制御によりアクセス権を獲得したデータ処理
部は、共通データ格納部に対してデータの書込み又は読
出しの為のアクセスを行うことができる。
In a data processing system in which a plurality of data processing units and a common data storage unit are connected to a common bus,
If you get access by acquiring a common bus,
There is also known a system having a common bus configuration in which a common bus arbitration unit is provided, and arbitration is performed on an access request based on a priority order and the like, and an access right to the common bus is given. Then, the data processing unit that has acquired the access right under the control of the common bus arbitration unit can access the common data storage unit for writing or reading data.

【0005】又排他制御の従来例として、アクセス権を
トークンによって受渡しするトークンパッシング(to
ken passing)方式が知られている。このト
ークンパッシング方式には、バス接続構成の場合のトー
クンバス方式と、リング接続構成のトークンリング方式
とがある。この場合のトークンの例えば物理層制御フィ
ールドに形成されたトークンビットを“0”としたフリ
ートークンを受け取ることにより、アクセス権を獲得し
て、そのトークンビットを“1”とする。そして、アク
セス権を他のデータ処理部に渡す時は、そのトークンビ
ットを“0”とするものである。
[0005] As a conventional example of exclusive control, token passing (to pass access right by token) is used.
A ken passing method is known. The token passing scheme includes a token bus scheme in a bus connection configuration and a token ring scheme in a ring connection configuration. In this case, an access right is acquired by receiving a free token in which the token bit formed in, for example, the physical layer control field is "0", and the token bit is set to "1". When the access right is passed to another data processing unit, the token bit is set to "0".

【0006】[0006]

【発明が解決しようとする課題】従来例の排他管理領域
を設けて、共通データ格納部の排他制御を行う構成は、
アクセス頻度が低い場合には充分に排他制御の機能を発
揮することができるが、アクセス頻度が高くなると、排
他管理領域に使用中状態が設定された状態が繰り返され
て、アクセス待ちの時間が長くなる問題がある。
A configuration in which a conventional exclusive management area is provided to perform exclusive control of a common data storage unit is as follows.
When the access frequency is low, the exclusive control function can be sufficiently performed.However, when the access frequency is high, the state in which the in-use state is set in the exclusive management area is repeated, and the access wait time becomes longer. There is a problem.

【0007】又共通バス調停手段の機能を利用した場
合、データ処理部の優先順位を加味して、アクセス権を
与えることも可能であるが、その場合、優先順位が低い
データ処理部のアクセス待ち時間が長くなる問題があ
り、且つデータ処理部をリング状に接続した構成には適
用できないものである。
When the function of the common bus arbitration means is used, it is possible to give an access right in consideration of the priority of the data processing section. This method has a problem that it takes a long time and cannot be applied to a configuration in which the data processing units are connected in a ring shape.

【0008】又トークンパッシング方式は、ノード(デ
ータ処理部)のアドレステーブルをそれぞれ保持し、フ
リートークンに次ノードアドレスを付加して転送するも
のであり、ノード(データ処理部)の増設や撤去時に
は、それぞれのアドレステーブルを更新する必要があ
り、システムの拡張性に欠ける問題がある。本発明は、
従来例の欠点を改善し、最低のアクセス頻度の場合でも
確実に共通データ格納部に対するアクセスを可能とし、
且つシステム構成の変更にも容易に対処可能とすること
を目的とする。
In the token passing method, an address table of a node (data processing unit) is held, and a free token is transferred with a next node address added thereto. When a node (data processing unit) is added or removed, However, each address table needs to be updated, and there is a problem that the system lacks expandability. The present invention
Improve the disadvantages of the conventional example, ensure access to the common data storage even at the lowest access frequency,
It is another object of the present invention to easily deal with a change in the system configuration.

【0009】[0009]

【課題を解決するための手段】本発明のデータ処理シス
テムは、(1)複数のデータ処理部と共通データ格納部
とを有し、制御権を獲得したデータ処理部が共通データ
格納部に対してアクセスするデータ処理システムであっ
て、複数のデータ処理部と共通データ格納部との何れか
に排他制御手段を設け、この排他制御手段は、通知カウ
ンタとこの通知カウンタのカウント値により指定される
位置の装置識別番号とを含む制御権通知データを作成し
て送出する構成を備え、複数のデータ処理部は、制御権
通知データの前記通知カウンタのカウント値により指定
される位置の装置識別番号が自装置を示す時に制御権を
獲得して共通データ格納部に対してアクセスし、このア
クセスの完了により、通知カウンタのカウントアップを
行って制御権通知データを転送する構成を備えている。
A data processing system according to the present invention comprises: (1) a plurality of data processing units and a common data storage unit, wherein the data processing unit that has obtained the control right controls the common data storage unit; A data processing system for accessing by means of a plurality of data processing units and a common data storage unit, wherein an exclusive control unit is provided, and the exclusive control unit is designated by a notification counter and a count value of the notification counter. And a control right notification data including a device identification number of a position, and transmitting the control right notification data. When the self device is indicated, the control right is acquired and the common data storage unit is accessed, and upon completion of this access, the notification counter is counted up and the control right is notified. And a structure for transferring over data.

【0010】又(2)排他制御手段は、制御権通知デー
タの通知カウンタの最終カウント値により指定される位
置に自手段を示す識別番号を設定し、且つ複数のデータ
処理部の前記共通データ格納部に対するアクセス頻度を
管理し、このアクセス頻度に対応して、制御権通知デー
タの装置識別番号を複数設定する構成を有するものであ
る。
(2) The exclusive control means sets an identification number indicating the own means at a position designated by the final count value of the notification counter of the control right notification data, and stores the common data in a plurality of data processing units. The access frequency to the unit is managed, and a plurality of device identification numbers of the control right notification data are set in accordance with the access frequency.

【0011】又(3)排他制御手段は、制御権通知デー
タの通知カウンタの最終カウント値により指定される位
置に自手段を示す識別番号を設定し、且つ複数のデータ
処理部の前記共通データ格納部に対するアクセス頻度を
管理し、一定周期で送出する制御権通知データに前記ア
クセス頻度に対応したデータ処理部の装置識別番号を設
定して送出する構成を有するものである。
(3) The exclusive control means sets an identification number indicating the own means at a position designated by the final count value of the notification counter of the control right notification data, and stores the common data in a plurality of data processing units. The apparatus has a configuration in which the frequency of access to the unit is managed, and the control right notification data transmitted at a constant cycle is set with the device identification number of the data processing unit corresponding to the access frequency and transmitted.

【0012】又(4)排他制御手段は、制御権通知デー
タの送出後のタイマ等による設定時間経過後、この制御
権通知データの通知カウンタのカウント値が、自手段の
装置識別番号の位置を示すものではない時に、この通知
カウンタのカウント値により指定される位置の装置識別
番号対応のデータ処理部の障害と判定する構成を有する
ものである。
(4) After the lapse of a set time set by a timer or the like after the transmission of the control right notification data, the exclusive control means sets the count value of the notification counter of the control right notification data to the position of the device identification number of the own means. When it is not shown, it is configured to determine that a failure has occurred in the data processing unit corresponding to the device identification number at the position specified by the count value of the notification counter.

【0013】[0013]

【発明の実施の形態】図1は本発明の実施の形態の説明
図であり、1−1〜1−6はデータ処理部、2は共通デ
ータ格納部、3は排他制御手段を構成する制御部、3a
は制御権通知データ処理部、3bは管理テーブル、4−
1〜4−6は制御権通知データ送受信処理部、5−1〜
5−6はバッファ部、6はデータ記憶部、7はバッファ
部を示す。なお、複数のデータ処理部1−1〜1−6と
共通データ格納部2との間の接続は、データの流れとし
て示しているが、リング伝送路又は共通バスによって接
続することができる。又各データ処理部1−1〜1−6
をそれぞれプロセッサにより構成することにより、マル
チプロセッサ・システムと同様な構成となる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is an explanatory diagram of an embodiment of the present invention, wherein 1-1 to 1-6 are data processing units, 2 is a common data storage unit, and 3 is a control unit constituting exclusive control means. Part, 3a
Is a control right notification data processing unit, 3b is a management table,
1 to 4-6 are control right notification data transmission / reception processing units;
Reference numeral 5-6 denotes a buffer unit, 6 denotes a data storage unit, and 7 denotes a buffer unit. Although the connection between the plurality of data processing units 1-1 to 1-6 and the common data storage unit 2 is shown as a data flow, they can be connected by a ring transmission line or a common bus. Also, each data processing section 1-1 to 1-6
Are each configured by a processor, thereby achieving a configuration similar to that of a multiprocessor system.

【0014】又複数のデータ処理部1−1〜1−6は、
機能分散システムや負荷分散システム等のシステム構成
に対応して、それぞれ同一の機能或いは異なる機能を持
たせることができるものである。それぞれ異なる機能と
したシステムの場合、例えば、データ処理部1−1は、
図示を省略した送受信部を介してデータを収集して処理
する構成とし、データ処理部1−2は、図示を省略した
各種の設備を制御する為のデータを処理する構成とし、
データ処理部1−3は、図示を省略した端末装置との間
でデータの送受信処理を行う構成とし、データ処理部1
−4は、図示を省略したキーボード等の入力操作部から
のデータを処理する構成とし、データ処理部1−5は、
図示を省略した表示装置に対する表示データを処理する
構成とし、データ処理部1−6は、図示を省略した上位
装置と間のデータの送受信処理を行う構成とすることが
できる。
The plurality of data processing units 1-1 to 1-6 include:
According to the system configuration such as a function distribution system or a load distribution system, they can have the same function or different functions. In the case of systems having different functions, for example, the data processing unit 1-1
The data processing unit 1-2 is configured to collect and process data via a transmitting / receiving unit (not shown), and the data processing unit 1-2 is configured to process data for controlling various facilities (not shown),
The data processing unit 1-3 is configured to perform data transmission / reception processing with a terminal device (not shown).
-4 is a configuration for processing data from an input operation unit such as a keyboard not shown, and a data processing unit 1-5
The configuration may be such that display data for a display device (not shown) is processed, and the data processing unit 1-6 may perform a process of transmitting and receiving data to and from a higher-level device (not shown).

【0015】又排他制御手段を構成する制御部3は、共
通データ格納部2に設けた場合を示すが、複数のデータ
処理部1−1〜1−6の何れかに設けることができる。
例えば、制御部3を設けたデータ処理部をマスタ・デー
タ処理部として、他のデータ処理部を監視することがで
きる。又制御権通知データ処理部3aは、管理テーブル
3bを参照して制御権通知データを作成して送出し、又
制御権を獲得して共通データ格納部2にアクセスしたデ
ータ処理部1−1〜1−6からの制御権通知データを監
視する。
Although the control unit 3 constituting the exclusive control means is shown in the case where it is provided in the common data storage unit 2, it can be provided in any of the plurality of data processing units 1-1 to 1-6.
For example, the data processing unit provided with the control unit 3 can be used as a master data processing unit to monitor other data processing units. The control right notification data processing unit 3a creates and sends control right notification data with reference to the management table 3b, and obtains the control right and accesses the common data storage unit 2 to access the data processing units 1-1 to 1-1. The control right notification data from 1-6 is monitored.

【0016】又管理テーブル3bは、データ処理部1−
1〜1−6の共通データ格納部2に対するアクセス頻度
情報等を保持するものであり、データ処理部1−1〜1
−6からの要求或いは保守端末装置等からの設定入力に
より、データ処理部1−1〜1−6対応のアクセス頻度
情報を格納する。このアクセス頻度情報は、例えば、頻
度種別として、一定周期内の回数指定、時間間隔指定、
時刻指定等があり、アクセス頻度として、例えば、一定
周期毎に2回、或いは2周期で1回等の回数を指定する
ことができる。又時間間隔指定として300ms等のア
クセス時間間隔を指定することができる。又時刻指定
は、1〜24時の時刻毎の指定をすることができる。又
データ処理部1−1〜1−6の動作状態に対応してアク
セス頻度の更新要求を行うこともできる。又データ処理
部1−1〜1−6の優先順位を基にしたアクセス頻度と
することも可能である。
The management table 3b stores the data processing unit 1-
It holds access frequency information and the like for the common data storage units 1 to 1-6, and includes data processing units 1-1 to 1-1.
The access frequency information corresponding to the data processing units 1-1 to 1-6 is stored in response to a request from -6 or a setting input from a maintenance terminal device or the like. This access frequency information includes, for example, as a frequency type, the number of times specified within a certain period, the time interval specified,
There is a time designation and the like, and as the access frequency, for example, it is possible to designate the number of times such as twice in a fixed cycle or once in two cycles. An access time interval such as 300 ms can be specified as the time interval. The time can be specified for each time from 1 to 24:00. It is also possible to issue an access frequency update request in accordance with the operation state of the data processing units 1-1 to 1-6. The access frequency may be based on the priority of the data processing units 1-1 to 1-6.

【0017】又データ処理部1−1〜1−6の制御権通
知データ送受信処理部4−1〜4−6は、リング伝送路
を介して接続されている場合は、制御部3の制御権通知
データ処理部3aからの制御権通知データを自装置宛か
否かを判定して、順次転送することになり、又共通バス
に接続されている場合は、共通バス上の制御権通知デー
タを各制御権通知データ送受信処理部4−1〜4−6に
於いて自装置宛か否かを判定することになる。そして、
自装置宛の場合に制御権を獲得して、共通データ格納部
2に対してアクセスし、そのアクセス完了により、制御
権通知データ送受信処理部4−1〜4−6は、制御権通
知データの通知カウンタを+1して、リング伝送路の場
合は、次のデータ処理部へ転送し、又共通バスの場合
は、一斉同報として送出する。
When the control right notification data transmission / reception processing units 4-1 to 4-6 of the data processing units 1-1 to 1-6 are connected via a ring transmission line, the control right of the control unit 3 is controlled. It is determined whether the control right notification data from the notification data processing unit 3a is addressed to the own device or not, and sequentially transferred. If the control right notification data is connected to the common bus, the control right notification data on the common bus is transmitted. Each of the control right notification data transmission / reception processing units 4-1 to 4-6 determines whether or not the data is addressed to the own device. And
When the control right notification data is transmitted to the own device, the control right notification data transmission / reception processing units 4-1 to 4-6 acquire the control right and access the common data storage unit 2, and upon completion of the access, transmit the control right notification data. The notification counter is incremented by one, and is transferred to the next data processing unit in the case of a ring transmission path, and is transmitted as simultaneous broadcast in the case of a common bus.

【0018】図2は伝送フォーマットの説明図であり、
(A)は一般のデータのフォーマットを示し、データ種
別と、データ長と、送信先と、送信元と、データとを含
むものである。例えば、データ処理部間のデータ転送、
及びデータ処理部と共通データ格納部との間のデータ転
送は、このフォーマットを用いて転送することができ
る。又(B)は制御権通知データのフォーマットを示
し、制御権を示すデータ種別と、通知カウンタと、装置
ID(識別番号)との領域を有し、通知カウンタの領域
は、アクセス完了したデータ処理部1−1〜1−6の制
御権通知データ処理部4−1〜4−6に於いて順次+1
したカウント値とするものである。このカウント値によ
り指定される位置に、装置IDを設定する。
FIG. 2 is an explanatory diagram of a transmission format.
(A) shows a general data format, which includes a data type, a data length, a transmission destination, a transmission source, and data. For example, data transfer between data processing units,
Data transfer between the data processing unit and the common data storage unit can be performed using this format. (B) shows the format of the control right notification data, which has an area of a data type indicating the control right, a notification counter, and a device ID (identification number). The control right notification data processing units 4-1 to 4-6 of the units 1-1 to 1-6 sequentially increase the value by +1.
This is the count value obtained. The device ID is set at the position specified by the count value.

【0019】この場合の設定装置IDは、管理テーブル
3bのアクセス頻度等を参照して設定するものである。
又制御権通知データを制御部3から送出する時に、通知
カウンタのカウント値を「1」とし、又最終カウント値
により指定される位置に、排他制御手段を構成する制御
部3の装置IDを設定する。即ち、リング伝送路の場合
は、一巡した制御権通知データが制御部3宛となるよう
に構成し、又バス形式の場合は、バス上の制御権通知デ
ータを監視し、通知カウンタのカウント値を監視し、最
終カウント値又はそれにより指定される装置IDによ
り、制御部3宛となったことを識別する。
The setting device ID in this case is set with reference to the access frequency and the like in the management table 3b.
When the control right notification data is transmitted from the control unit 3, the count value of the notification counter is set to "1", and the device ID of the control unit 3 constituting the exclusive control means is set at a position designated by the final count value. I do. That is, in the case of a ring transmission line, the control right notification data that has been cycled is addressed to the control unit 3. In the case of a bus format, the control right notification data on the bus is monitored, and the count value of the notification counter is counted. Is monitored, and it is identified that the packet is addressed to the control unit 3 by the final count value or the device ID specified thereby.

【0020】又データ処理部1−1〜1−6の制御権通
知データ送受信処理部4−1〜4−6は、データ種別が
制御権通知を示す時に、通知カウンタのカウント値によ
って指定された位置の装置IDを抽出し、自装置IDと
照合し、照合一致の時に、自装置宛の制御権通知データ
と判定して、共通データ格納部2に対するアクセスを行
う。そして、このアクセスの完了により、通知カウンタ
のカウント値を+1した制御権通知データを、リング伝
送路の場合は次のデータ処理部へ転送し、共通バスの場
合は、一斉同報的に共通バスへ送出する。
The control right notification data transmission / reception processing units 4-1 to 4-6 of the data processing units 1-1 to 1-6 are designated by the count value of the notification counter when the data type indicates the control right notification. The device ID of the position is extracted, collated with the own device ID, and when the collation matches, it is determined that the control right notification data is addressed to the own device, and the common data storage unit 2 is accessed. Upon completion of this access, the control right notification data obtained by incrementing the count value of the notification counter by one is transferred to the next data processing unit in the case of a ring transmission line, and is broadcasted simultaneously in the case of a common bus. Send to

【0021】例えば、データ処理部1−1〜1−6の装
置IDを、ID1〜ID6とし、制御部3の装置IDを
ID0とした場合、制御権通知データの装置IDを、図
2の(C)に示すように、通知カウンタのカウント値1
〜7により指定される位置に、装置IDとして、ID1
〜ID6,ID0を設定し、制御部3の制御権通知デー
タ処理部3aから、通知カウンタのカウント値を「1」
として送出する。データ処理部1−1は、制御権通知デ
ータ送受信部4−1に於いてこの通知カウンタの「1」
により指定される位置、即ち、No.1の装置IDの
「ID1」を抽出し、自装置の装置IDの「ID1」と
照合する。この場合、照合一致となるから、自装置宛の
制御権通知データと判定し、共通データ格納部2に対す
るアクセスを行う。
For example, when the device IDs of the data processing units 1-1 to 1-6 are ID1 to ID6 and the device ID of the control unit 3 is ID0, the device ID of the control right notification data is represented by ( As shown in C), the count value of the notification counter is 1
The device ID is set to a position designated by
~ ID6 and ID0 are set, and the control right notification data processing unit 3a of the control unit 3 sets the count value of the notification counter to "1".
Is sent out. In the control right notification data transmitting / receiving section 4-1, the data processing section 1-1 sets the notification counter to "1".
, Ie, No. The device ID “ID1” of the device ID of the first device is extracted and collated with the device ID “ID1” of the own device. In this case, since the collation matches, it is determined that the control right notification data is addressed to the own device, and the common data storage unit 2 is accessed.

【0022】例えば、データ書込みを行う場合、データ
処理部1−1のバッファ部5−1に一時保持したデータ
を共通データ格納部2のバッファ部7に転送する。共通
データ格納部2のデータ記憶部6に直接的にデータの書
込みを行う構成とすることも可能であるが、高速処理で
きるバッファ部7を介してデータの書込みを行うことに
より、システム動作の高速化を図ることができる。又バ
ッファ部7からデータ記憶部6に対しては、一定時間毎
や、データ処理部からのデータ転送後の確定情報により
データの書込みを行うことができる。この処理の完了に
より、通知カウンタのカウント値を+1して、リング伝
送路の場合は次のデータ処理部へ転送し、共通バスの場
合は一斉同報的に共通バスへ送出する。
For example, when writing data, the data temporarily stored in the buffer unit 5-1 of the data processing unit 1-1 is transferred to the buffer unit 7 of the common data storage unit 2. It is possible to write data directly to the data storage unit 6 of the common data storage unit 2. However, by writing data via the buffer unit 7, which can perform high-speed processing, high-speed system operation can be achieved. Can be achieved. Further, data can be written from the buffer unit 7 to the data storage unit 6 at fixed time intervals or based on the fixed information after data transfer from the data processing unit. Upon completion of this processing, the count value of the notification counter is incremented by one, and is transferred to the next data processing unit in the case of a ring transmission path, and is simultaneously broadcast to the common bus in the case of a common bus.

【0023】又データ処理部1−2の制御権通知データ
送受信部4−2は、制御権通知データを識別し、その通
知カウンタのカウント値がカウントアップされて「2」
となっており、このカウント値「2」により指定される
位置、即ち、No.2の装置IDの「ID2」を抽出
し、自装置の装置IDの「ID2」と照合する。この場
合、照合一致となるから、自装置宛の制御権通知データ
と判定し、共通データ格納部2に対するアクセスを行
い、このアクセス完了により、通知カウンタのカウント
値を+1して転送する。
The control right notification data transmitting / receiving unit 4-2 of the data processing unit 1-2 identifies the control right notification data, and the count value of the notification counter is counted up to "2".
The position designated by the count value “2”, that is, No. Then, “ID2” of the device ID of the second device is extracted and collated with “ID2” of the device ID of the own device. In this case, since the collation matches, it is determined that the control right notification data is addressed to the own device, access to the common data storage unit 2 is performed, and upon completion of this access, the count value of the notification counter is incremented by one and transferred.

【0024】以下同様にしてデータ処理部1−3〜1−
6は制御権獲得により、共通データ格納部2に対するア
クセスが可能とある。そして、通知カウンタのカウント
値が「7」となると、それにより指定される位置、即
ち、No.7の装置IDは「ID0」で、制御部3を示
すことになり、従って、制御部3は、制御権通知データ
が、通知カウンタのカウント値により指定される位置に
設定された装置IDのデータ処理部に総て受信されたこ
とを確認することができる。そして、一定周期毎等の設
定内容に従って、次の制御権通知データの送出の制御を
行う。
In the same manner, the data processing units 1-3 to 1-
6 can access the common data storage unit 2 by acquiring the control right. Then, when the count value of the notification counter becomes “7”, the position designated thereby, that is, No. 7 is “ID0” and indicates the control unit 3. Therefore, the control unit 3 transmits the control right notification data to the data of the device ID set at the position specified by the count value of the notification counter. It is possible to confirm that all data has been received by the processing unit. Then, in accordance with the setting contents such as at regular intervals, transmission of the next control right notification data is controlled.

【0025】制御部3に於いて一定周期で制御権通知デ
ータを作成して送出する場合は、図2の(C)に示す制
御権通知データの装置IDの設定とすると、データ処理
部1−1〜1−6は、同一のアクセス頻度で共通データ
格納部2に対するアクセスが可能となる。又図2の
(D)に示す制御権通知データの場合は、通知カウンタ
のカウント値1〜3により指定される位置の設定装置I
Dは、ID1〜ID3であるから、データ処理部1−1
〜1−3に対して制御権を与えることになる。
When the control unit 3 creates and sends control right notification data at a fixed period, the device ID of the control right notification data shown in FIG. 1 to 1-6 can access the common data storage unit 2 at the same access frequency. In the case of the control right notification data shown in FIG. 2D, the setting device I at the position specified by the count values 1 to 3 of the notification counter is used.
Since D is ID1 to ID3, the data processing unit 1-1
1-3 are given control rights.

【0026】又図2の(E)に示す場合は、通知カウン
タのカウント値1〜5により指定される位置の設定装置
IDはID1,ID2,ID4〜ID6であるから、デ
ータ処理部1−1,1−2,1−4〜1−6に対して制
御権を与えることになる。そこで、図2の(D),
(E)の制御権通知データを交互に送出すると、データ
処理部1−1,1−2のアクセス頻度を他のデータ処理
部1−3〜1−6の2倍とすることができる。又図2の
(F)に示す制御権通知データは、図2の(D),
(E)の2回に分けた制御権通知データを1回にまとめ
た場合に相当することになる。従って、管理テーブル3
bに、各データ処理部1−1〜1−6の共通データ格納
部2に対するアクセス頻度情報を保持させることによ
り、制御権通知データ処理部3aは、このアクセス頻度
情報を基に制御権通知データの装置IDの設定を行うこ
とができる。
In the case shown in FIG. 2E, the setting device IDs at the positions designated by the count values 1 to 5 of the notification counter are ID1, ID2, ID4 to ID6. , 1-2, 1-4 to 1-6. Then, (D) of FIG. 2,
When the control right notification data of (E) is transmitted alternately, the access frequency of the data processing units 1-1 and 1-2 can be twice as high as that of the other data processing units 1-3 to 1-6. The control right notification data shown in (F) of FIG.
This corresponds to the case where the control right notification data divided in (E) is combined into one. Therefore, the management table 3
b stores the access frequency information to the common data storage unit 2 of each of the data processing units 1-1 to 1-6, so that the control right notification data processing unit 3a uses the control right notification data based on the access frequency information. Device ID can be set.

【0027】又制御部3は、制御権通知データを一定周
期で送出し、且つ送出時にタイマを起動し、設定時間経
過によるタイムアウトとなっても、通知カウンタのカウ
ント値が、「ID0」の位置を示すカウント値とならな
い場合、制御権通知データによって指定されたデータ処
理部が共通データ格納部に対してアクセスを完了してい
ないことになる。従って、その時点の通知カウンタのカ
ウント値により指定される位置の装置IDのデータ処理
部に障害が発生していると判定し、管理テーブル3bを
更新し、次の制御権通知データには、この障害発生のデ
ータ処理部を指定しない制御権通知データを作成する。
それにより、自律的に障害発生のデータ処理部を切り離
すことができる。又データ処理部の増設,撤去等の場
合、管理テーブル3bを更新するだけで済むので、シス
テム構成変更時の処理が簡単となる利点がある。
The control unit 3 transmits the control right notification data at regular intervals, starts a timer when the control right notification data is transmitted, and keeps the count value of the notification counter at the position of "ID0" even if the time-out occurs due to the elapse of the set time. Is not reached, it means that the data processing unit specified by the control right notification data has not completed access to the common data storage unit. Therefore, it is determined that a failure has occurred in the data processing unit of the device ID at the position specified by the count value of the notification counter at that time, the management table 3b is updated, and the next control right notification data includes Create control right notification data that does not specify a data processing unit in which a failure has occurred.
Thereby, the data processing unit in which a failure has occurred can be autonomously separated. In addition, in the case of adding or removing a data processing unit, it is only necessary to update the management table 3b, so that there is an advantage that processing when the system configuration is changed is simplified.

【0028】又共通データ格納部2のバッファ部7は、
記憶容量の大きいメモリからなるデータ記憶部6にデー
タを書込む場合の一時記憶メモリに相当し、データ記憶
部6に対するデータの書込時や更新時に、確定情報を受
信した時に、バッファ部7に一時保持したデータをデー
タ記憶部6に転送する為のものであり、データ記憶部6
に記憶されたデータの信頼性の確保と、データ処理部か
らみた時の高速処理化とを図ることができる。又キャッ
シュメモリとしての機能を持たせて、メモリアクセスの
高速化を図ることも可能である。
The buffer unit 7 of the common data storage unit 2
This is equivalent to a temporary storage memory when data is written to the data storage unit 6 composed of a memory having a large storage capacity. This is for transferring the temporarily held data to the data storage unit 6, and the data storage unit 6
In this case, it is possible to secure the reliability of the data stored in the storage device and to increase the processing speed as viewed from the data processing unit. It is also possible to increase the speed of memory access by providing a function as a cache memory.

【0029】図3は制御権通知データの処理フローチャ
ートを示し、図1を参照して説明すると、制御部3の制
御権通知データ処理部3aは、管理テーブル3bに保持
された管理データを基に制御権通知データを作成する
(A1)。そして、通知カウンタのカウント値を「1」
として送出する(A2)。そして、タイマを起動し、タ
イムアウトか否かを判定し(A3)、タイムアウトでな
い場合は、制御権通知データの通知カウンタのカウント
値が制御部3の装置IDの位置を示すか否かを判定する
(A4)。例えば、図2の(C)の制御権通知データの
場合、通知カウンタのカウント値が「7」となったか否
かを判定する。この通知カウンタのカウント値が制御部
3の装置IDの位置を示していない時は、ステップ(A
3)に移行し、示している時は、正常終了と判定する
(A5)。
FIG. 3 is a flowchart showing the processing of the control right notification data. Referring to FIG. 1, the control right notification data processing section 3a of the control section 3 performs processing based on the management data held in the management table 3b. The control right notification data is created (A1). Then, the count value of the notification counter is set to “1”.
(A2). Then, the timer is started and it is determined whether or not a timeout has occurred (A3). If not, it is determined whether or not the count value of the notification counter of the control right notification data indicates the position of the device ID of the control unit 3. (A4). For example, in the case of the control right notification data of FIG. 2C, it is determined whether or not the count value of the notification counter has become “7”. When the count value of the notification counter does not indicate the position of the device ID of the control unit 3, the step (A)
The process proceeds to 3), and when it is indicated, it is determined that the process is completed normally (A5).

【0030】又ステップ(A3)に於いて、タイムアウ
トとなると、制御権通知データの通知カウンタのカウン
ト値を抽出し(A6)、そのカウント値により指定され
る位置の装置IDを抽出し、その装置ID対応のデータ
処理部の障害と判定する(A7)。例えば、図2の
(C)に示す制御権通知データの場合に、タイムアウト
時の通知カウンタのカウント値が例えば「4」であると
すると、装置IDがID4のデータ処理装置1−4に障
害が発生したと判定することができる。この場合、管理
テーブル3bのデータ処理部対応の領域に、障害発生と
設定することにより、制御権データ処理部3aは、この
障害発生のデータ処理部に対する装置IDを、制御権通
知データに設定しないように制御することができる。
In step (A3), when a timeout occurs, the count value of the notification counter of the control right notification data is extracted (A6), and the device ID at the position designated by the count value is extracted. It is determined that a failure has occurred in the data processing unit corresponding to the ID (A7). For example, in the case of the control right notification data shown in FIG. 2C, if the count value of the notification counter at the time of timeout is, for example, “4”, a failure occurs in the data processing device 1-4 whose device ID is ID4. It can be determined that this has occurred. In this case, by setting the occurrence of a failure in the area corresponding to the data processing unit of the management table 3b, the control right data processing unit 3a does not set the device ID for the data processing unit in which the failure has occurred in the control right notification data. Can be controlled as follows.

【0031】図4は制御権通知データ受信処理のフロー
チャートであり、図1を参照して説明すると、データ処
理部1−1〜1−6の制御権通知データ送受信部4−1
〜4−6は、制御権通知データであるか否かをデータ種
別情報によって判定する(B1)。制御権通知データと
判定すると、その通知カウンタのカウント値により指定
される位置の装置IDが自装置IDか否かを判定し(B
2)、自装置IDとは異なる場合、リング伝送路ではそ
の制御権通知データをそのまま次のデータ処理部へ転送
する(B6)。又共通バスの場合は、その制御権通知デ
ータを無視する。
FIG. 4 is a flowchart of the control right notification data receiving process. Referring to FIG. 1, the control right notification data transmitting / receiving unit 4-1 of the data processing units 1-1 to 1-6 will be described.
4-6 determine whether the data is control right notification data based on the data type information (B1). If it is determined that the data is the control right notification data, it is determined whether or not the device ID at the position specified by the count value of the notification counter is its own device ID (B
2) If it is different from the own device ID, the control right notification data is transferred to the next data processing unit as it is on the ring transmission path (B6). In the case of a common bus, the control right notification data is ignored.

【0032】又制御権通知データの通知カウンタのカウ
ント値により指定される位置の装置IDが、自装置ID
と一致する場合、例えば、図2の(C)に示す制御権通
知データの通知カウンタのカウント値が「2」である
と、それにより指定される位置、即ち、No.2の装置
IDの「ID2」により、データ処理部1−2は、自装
置宛の制御権通知データと判定することができる。これ
により、制御権を獲得した例えばデータ処理部1−2
は、共通データ格納部2に対してアクセスする(B
3)。そして、アクセス完了か否かを判定し(B4)、
アクセス完了により、制御権通知データの通知カウンタ
のカウント値を+1として転送する(B5)。前述のよ
うに、データ処理部1−2が制御権を獲得し、共通デー
タ格納部2に対してアクセスし、そのアクセス完了によ
り、制御権通知データ送受信処理部4−2に於いて通知
カウンタのカウント値を+1して「3」とする。そし
て、、リング伝送路では次のデータ処理部へ制御権通知
データを転送し、又共通バスでは、一斉同報的に共通バ
スへ送出する。
The device ID at the position specified by the count value of the notification counter of the control right notification data is the own device ID.
If the count value of the notification counter of the control right notification data shown in (C) of FIG. The data processing unit 1-2 can determine the control right notification data addressed to the own device based on the device ID “ID2” of the second device. Thereby, for example, the data processing unit 1-2 which has obtained the control right
Accesses the common data storage unit 2 (B
3). Then, it is determined whether the access is completed (B4),
When the access is completed, the count value of the notification counter of the control right notification data is transferred as +1 (B5). As described above, the data processing unit 1-2 acquires the control right, accesses the common data storage unit 2, and upon completion of the access, the control right notification data transmission / reception processing unit 4-2 checks the notification counter. The count value is incremented by 1 to “3”. Then, on the ring transmission line, the control right notification data is transferred to the next data processing unit, and on the common bus, the control right notification data is simultaneously transmitted to the common bus.

【0033】[0033]

【発明の効果】以上説明したように、本発明は、複数の
データ処理部1−1〜1−6と共通データ格納部2との
何れかに制御部3等の排他制御手段を設け、この排他制
御手段の管理テーブル3bを参照して制御権通知データ
処理部3aに於いて通知カウンタとそのカウント値によ
り指定される位置に設定した装置IDとを含む制御権通
知データを作成して送出し、データ処理部1−1〜1−
6の制御権通知データ送受信処理部4−1〜4−6に於
いて制御権通知データを受信識別し、通知カウンタのカ
ウント値により指定される位置の装置IDが自装置ID
か否かを判定し、自装置IDの場合に制御権獲得と判定
して、共通データ格納部2に対するアクセスを行い、そ
のアクセス完了により通知カウンタのカウント値を+1
として転送するものであり、制御権通知データの転送に
よって、共通データ格納部2に対する各データ処理部1
−1〜1−6の排他制御が可能となる。
As described above, according to the present invention, exclusive control means such as the control unit 3 is provided in any one of the plurality of data processing units 1-1 to 1-6 and the common data storage unit 2. Referring to the management table 3b of the exclusive control means, the control right notification data processing section 3a creates and sends control right notification data including a notification counter and a device ID set at a position designated by the count value. , Data processing units 1-1 to 1--1
6, the control right notification data transmission / reception processing units 4-1 to 4-6 receive and identify the control right notification data, and the device ID at the position specified by the count value of the notification counter is the own device ID.
Is determined, the control right is determined to be acquired in the case of the own device ID, the access to the common data storage unit 2 is performed, and the count value of the notification counter is incremented by +1 when the access is completed.
Each of the data processing units 1 to the common data storage unit 2 is transferred by transferring the control right notification data.
Exclusive control of -1 to 1-6 becomes possible.

【0034】従って、システム構成の変更時には、デー
タ処理部1−1〜1−6のアクセス頻度等を管理する管
理テーブル3bを更新することにより、容易に対処する
ことができる。又アクセス頻度の低いデータ処理部に対
しても、確実に制御権を渡して、共通データ格納部2に
対するアクセスを可能とすることができる。又障害発生
のデータ処理部の検出も制御権通知データの通知カウン
タのカウント値を基に容易に識別することができる。
Therefore, when the system configuration is changed, it can be easily dealt with by updating the management table 3b for managing the access frequency and the like of the data processing units 1-1 to 1-6. Further, the control right can be reliably transferred to the data processing unit having a low access frequency, and the common data storage unit 2 can be accessed. Further, the detection of the data processing unit in which the failure has occurred can be easily identified based on the count value of the notification counter of the control right notification data.

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

【図1】本発明の実施の形態の説明図である。FIG. 1 is an explanatory diagram of an embodiment of the present invention.

【図2】伝送フォーマットの説明図である。FIG. 2 is an explanatory diagram of a transmission format.

【図3】制御権通知データの処理フローチャートであ
る。
FIG. 3 is a processing flowchart of control right notification data.

【図4】制御権通知データ受信処理のフローチャートで
ある。
FIG. 4 is a flowchart of a control right notification data receiving process.

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

1−1〜1−6 データ処理部 2 共通データ格納部 4−1〜4−6 制御権通知データ送受信部 5−1〜5−6 バッファ部 6 データ記憶部 7 バッファ部 1-1 to 1-6 Data processing unit 2 Common data storage unit 4-1 to 4-6 Control right notification data transmitting / receiving unit 5-1 to 5-6 Buffer unit 6 Data storage unit 7 Buffer unit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数のデータ処理部と共通データ格納部
とを有し、制御権を獲得したデータ処理部が前記共通デ
ータ格納部に対してアクセスするデータ処理システムに
於いて、 前記複数のデータ処理部と前記共通データ格納部との何
れかに排他制御手段を設け、 該排他制御手段は、通知カウンタと該通知カウンタのカ
ウント値により指定される位置の装置識別番号とを含む
制御権通知データを作成して送出する構成を備え、 前記複数のデータ処理部は、前記制御権通知データの前
記通知カウンタのカウント値により指定される位置の装
置識別番号が自装置を示す時に制御権を獲得して前記共
通データ格納部に対してアクセスし、該アクセスの完了
により前記通知カウンタのカウントアップを行って制御
権通知データを転送する構成を備えたことを特徴とする
データ処理システム。
1. A data processing system having a plurality of data processing units and a common data storage unit, wherein the data processing unit having acquired control right accesses the common data storage unit. Exclusive control means is provided in one of a processing unit and the common data storage unit, the exclusive control means comprising: a control right notification data including a notification counter and a device identification number at a position designated by the count value of the notification counter. The plurality of data processing units acquire the control right when the device identification number of the position specified by the count value of the notification counter of the control right notification data indicates the own device. The common data storage unit is accessed by the control unit, and upon completion of the access, the notification counter is counted up and the control right notification data is transferred. And a data processing system.
【請求項2】 前記排他制御手段は、前記制御権通知デ
ータの通知カウンタの最終カウント値により指定される
位置に自手段を示す識別番号を設定し、且つ前記複数の
データ処理部の前記共通データ格納部に対するアクセス
頻度を管理し、該アクセス頻度に対応して、前記制御権
通知データの装置識別番号を複数設定する構成を有する
ことを特徴とする請求項1記載のデータ処理システム。
2. The exclusive control unit sets an identification number indicating its own unit at a position designated by a final count value of a notification counter of the control right notification data, and sets the common data of the plurality of data processing units. 2. The data processing system according to claim 1, wherein an access frequency to the storage unit is managed, and a plurality of device identification numbers of the control right notification data are set according to the access frequency.
【請求項3】 前記排他制御手段は、前記制御権通知デ
ータの通知カウンタの最終カウント値により指定される
位置に自手段を示す識別番号を設定し、且つ前記複数の
データ処理部の前記共通データ格納部に対するアクセス
頻度を管理し、一定周期で送出する前記制御権通知デー
タに前記アクセス頻度に対応したデータ処理部の装置識
別番号を設定して送出する構成を有することを特徴とす
る請求項1記載のデータ処理システム。
3. The exclusive control unit sets an identification number indicating its own unit at a position designated by a final count value of a notification counter of the control right notification data, and sets the common data of the plurality of data processing units. 2. The apparatus according to claim 1, wherein an access frequency to a storage unit is managed, and a device identification number of a data processing unit corresponding to the access frequency is set in the control right notification data to be transmitted at a constant cycle, and transmitted. Data processing system as described.
【請求項4】 前記排他制御手段は、前記制御権通知デ
ータの送出後の設定時間経過後、該制御権通知データの
通知カウンタのカウント値が、自手段の装置識別番号の
位置を示すものではない時に、該通知カウンタのカウン
ト値により指定される位置の装置識別番号対応のデータ
処理部の障害と判定する構成を有することを特徴とする
請求項1記載のデータ処理システム。
4. The exclusive control means according to claim 1, wherein, after a lapse of a set time after the transmission of the control right notification data, the count value of the notification counter of the control right notification data indicates the position of the device identification number of the own means. 2. The data processing system according to claim 1, wherein when there is no data, the data processing system is configured to determine that a failure has occurred in the data processing unit corresponding to the device identification number at the position designated by the count value of the notification counter.
JP2000209470A 2000-07-11 2000-07-11 Data processing system Pending JP2002024075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000209470A JP2002024075A (en) 2000-07-11 2000-07-11 Data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000209470A JP2002024075A (en) 2000-07-11 2000-07-11 Data processing system

Publications (1)

Publication Number Publication Date
JP2002024075A true JP2002024075A (en) 2002-01-25

Family

ID=18705876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000209470A Pending JP2002024075A (en) 2000-07-11 2000-07-11 Data processing system

Country Status (1)

Country Link
JP (1) JP2002024075A (en)

Similar Documents

Publication Publication Date Title
EP3614253B1 (en) Data processing method and storage system
JP3807250B2 (en) Cluster system, computer and program
EP0333593A2 (en) A data processing system capable of fault diagnosis
JP2633900B2 (en) Common bus control method
JPS58502027A (en) Peripherals adapted to monitor low data rate serial input/output interfaces
US20030065735A1 (en) Method and apparatus for transferring packets via a network
CN116126613A (en) Position detection method and device of PCIe (peripheral component interconnect express) equipment, electronic equipment and storage medium
JP3247074B2 (en) Address setting method and communication system to which the address setting method is applied
JP2734246B2 (en) Pipeline bus
JP2002024075A (en) Data processing system
JP3446653B2 (en) Data transfer device
US11316710B2 (en) Control system and control method
JPS633351B2 (en)
US7600041B2 (en) Industrial or domestic local network
JP3797049B2 (en) Communication device between control nodes
JP2576934B2 (en) Memory-mapped interrupt method
JPS5917445B2 (en) Data transfer method
JP3317898B2 (en) Bus failure handling method and bus failure handling method
JPS62237558A (en) Initialization control system for shared memory
JPH0120819B2 (en)
JPS60146354A (en) Information processing system
JP2009169599A (en) Bus device
JPH11232241A (en) Method and device for data communication
JPS6072439A (en) Variable period transmitter
JP2000269979A (en) Communication unit and its method