JPH0715437A - Distributed controller - Google Patents

Distributed controller

Info

Publication number
JPH0715437A
JPH0715437A JP5144530A JP14453093A JPH0715437A JP H0715437 A JPH0715437 A JP H0715437A JP 5144530 A JP5144530 A JP 5144530A JP 14453093 A JP14453093 A JP 14453093A JP H0715437 A JPH0715437 A JP H0715437A
Authority
JP
Japan
Prior art keywords
command
execution
controlled
header
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
JP5144530A
Other languages
Japanese (ja)
Inventor
Koji Shima
浩司 志摩
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 JP5144530A priority Critical patent/JPH0715437A/en
Publication of JPH0715437A publication Critical patent/JPH0715437A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To conduct the processing different from each controlled section at a high speed simultaneously in the distributed controller in which one main control section control plural controlled sections through data communication. CONSTITUTION:A command text transmission means 10 broadcasts a command statement including a header representing simultaneous execution or not and a command to be conducted by each controlled section altogether, a header analysis means 12 analyzes the header and a command recognition means 13 recognizes the command executed by itself and when the header indicates simultaneous execution, a command execution means 15 conducts a command after an execution wait means 14 awaits the end of the reception of the command statement. Thus, the processing is fast because the command is simultaneously transmitted in a broadcast way and commands to each controlled section are integrated into the command statement simultaneously through execution wait to conduct different processing to each controlled section.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、分散型制御装置に関
し、特に一つの主制御部が複数の被制御部をデータ通信
によって制御する分散型制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distributed control device, and more particularly to a distributed control device in which one main control unit controls a plurality of controlled units by data communication.

【0002】[0002]

【従来の技術】従来、この種の分散型制御装置は、大規
模な処理や複雑な処理を行うために、部分処理を行うモ
ジュール(被制御部)を複数使用し、それを一つの中央
制御モジュール(主制御部)で制御するという分散処理
を行っている。
2. Description of the Related Art Conventionally, a distributed control device of this type uses a plurality of modules (controlled parts) for performing partial processing in order to perform large-scale processing or complicated processing, and uses them as one central control. Distributed processing is performed by controlling with a module (main control unit).

【0003】このような分散型制御装置では、障害発生
時の保護切替や、従属障害の通知の抑止などの処理で
は、複数の被制御部を同時に制御したり、高速で制御し
たりする必要がある。
In such a distributed control device, it is necessary to control a plurality of controlled parts simultaneously or at high speed in processes such as protection switching when a failure occurs and suppression of notification of a dependent failure. is there.

【0004】図4は、複数の被制御部を同時に制御する
場合のフローチャートである。一つの主制御部が、N個
の被制御部i(i=1〜N)を制御するものとする。
FIG. 4 is a flow chart for controlling a plurality of controlled parts simultaneously. It is assumed that one main control unit controls N controlled units i (i = 1 to N).

【0005】主制御部は、被制御部iへコマンドiを送
信し(ステップS41)、被制御部iはそれを受信し
(ステップS42)、受付けたことをレスポンスとして
送信し(ステップS43)、主制御部はそれを受信する
(ステップS44)。これを、N個の被制御部に対して
繰り返す。被制御部iは、コマンドを同時に実行させる
ためのトリガ待ちとなる(ステップS46)。
The main control section transmits the command i to the controlled section i (step S41), the controlled section i receives it (step S42), and transmits the acceptance as a response (step S43). The main controller receives it (step S44). This is repeated for N controlled parts. The controlled unit i waits for a trigger to execute commands simultaneously (step S46).

【0006】主制御部は、全被制御部に対するブロード
キャストにて、実行トリガを送信する(ステップS4
5)。各被制御部iは、それを受けて、実行トリガ待ち
を解除し、コマンドを実行する(ステップS26)。コ
マンド実行の結果として、各被制御部iは、結果を送信
し(ステップS27)、主制御部はそれを受信して(ス
テップS28)一連の処理を終わる。
The main control unit transmits an execution trigger by broadcasting to all controlled units (step S4).
5). Receiving it, each controlled part i releases the execution trigger wait and executes the command (step S26). As a result of command execution, each controlled part i transmits the result (step S27), and the main control part receives it (step S28) to end the series of processes.

【0007】また、図5は、複数の被制御部を高速で制
御する場合のフローチャートである。
FIG. 5 is a flowchart for controlling a plurality of controlled parts at high speed.

【0008】この場合は、主制御部は、全被制御部iに
対して、ブロードキャストで一括してコマンドを送信し
(ステップS51)、各被制御部iはコマンドを受信し
(ステップS52)、コマンドを実行し(ステップS2
6)、結果を送信する(ステップS27)。主制御部
は、結果を受信する(ステップS28)。
In this case, the main control unit transmits the command by broadcast to all the controlled units i (step S51), and each controlled unit i receives the command (step S52). Execute the command (step S2
6) The result is transmitted (step S27). The main control unit receives the result (step S28).

【0009】[0009]

【発明が解決しようとする課題】この従来の分散型制御
装置では、同時制御の場合には、複数の被制御部と各々
送受信を行うため高速で処理することができず、また、
高速制御の場合には、処理の同期がとれず同時制御がで
きないという問題点があった。
In this conventional distributed control device, in the case of simultaneous control, high-speed processing cannot be performed because transmission and reception are performed with a plurality of controlled parts, respectively.
In the case of high-speed control, there is a problem that the processing cannot be synchronized and simultaneous control cannot be performed.

【0010】また、全被制御部に同一のコマンドしか送
れないため、各被制御部毎に異なる処理が必要な場合に
は使用できないという問題点があった。
Further, since only the same command can be sent to all controlled units, there is a problem that it cannot be used when different processing is required for each controlled unit.

【0011】本発明の目的は、このような問題点を解決
した分散型制御装置を提供することにある。
An object of the present invention is to provide a distributed control device that solves the above problems.

【0012】[0012]

【課題を解決するための手段】本発明は、複数の被制御
部を制御するためのコマンド送信手段と、その実行結果
を受けとる受信手段とを有する一つの主制御部と、コマ
ンドを受けとるための受信手段と、そのコマンドを実行
するための実行手段と、その実行結果を送るための送信
手段とをそれぞれ有する複数の被制御部とで構成される
分散型制御装置において、前記コマンド送信手段は、複
数の被制御部に同時にかつ異なるコマンドを送るための
コマンド伝文をブロードキャストで送るコマンド伝文送
信手段であり、前記各被制御部は、コマンド伝文中のヘ
ッダを分析するヘッダ分析手段と、コマンド伝文中の自
分へのコマンドを認識するためのコマンド認識手段と、
同時実行するための実行待ち手段とをさらに備える、こ
とを特徴とする。
SUMMARY OF THE INVENTION According to the present invention, one main control unit having a command transmitting unit for controlling a plurality of controlled units and a receiving unit for receiving the execution result thereof, and a main control unit for receiving a command. In a distributed control device comprising a plurality of controlled units each having a receiving unit, an executing unit for executing the command, and a transmitting unit for transmitting the execution result, the command transmitting unit is A command message sending means for sending a command message for sending simultaneously and different commands to a plurality of controlled parts by broadcast, wherein each controlled part analyzes the header in the command message, and a command analyzing means, Command recognition means to recognize the command to yourself in the message,
It is further characterized by further comprising execution waiting means for simultaneous execution.

【0013】[0013]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0014】図1は本発明の一実施例を示すブロック図
である。この分散型制御装置は、一つの主制御部1とN
個の被制御部2(図ではi個目の被制御部のみを示す)
とから構成される。
FIG. 1 is a block diagram showing an embodiment of the present invention. This distributed control device has one main control unit 1 and N
Controlled parts 2 (only i-th controlled part is shown in the figure)
Composed of and.

【0015】主制御部1は、コマンド伝文送信手段10
と、受信手段17とを有している。
The main control unit 1 includes a command message transmission means 10
And a receiving means 17.

【0016】また、被制御部(i)2は、コマンド伝文
を受信する受信手段11と、コマンド伝文中のヘッダを
分析するヘッダ分析手段12と、コマンド認識するコマ
ンドi認識手段13と、同時実行の場合の実行の同期を
とるための実行待ち手段14と、コマンドi実行手段1
5、コマンドの実行結果を送信する送信手段16とを有
している。
The controlled unit (i) 2 also includes a receiving means 11 for receiving a command message, a header analyzing means 12 for analyzing a header in the command message, and a command i recognizing means 13 for recognizing a command. Execution waiting means 14 for synchronizing execution in the case of execution, and command i execution means 1
5, the transmission means 16 for transmitting the execution result of the command.

【0017】次に、本実施例の動作について説明する。
図2は、本実施例の動作を説明するフローチャートであ
る。また図3は、コマンド伝文の構成である。
Next, the operation of this embodiment will be described.
FIG. 2 is a flow chart for explaining the operation of this embodiment. FIG. 3 shows the structure of the command message.

【0018】主制御部1はN個の被制御部i(i=1〜
N)2に対してブロードキャストで一括して、コマンド
伝文3を送信する(ステップS20)。
The main control unit 1 includes N controlled parts i (i = 1 to 1).
N) The command message 3 is transmitted in a batch to 2 (step S20).

【0019】ここでコマンド伝文3は、図3に示すよう
に、その制御が同時実行か否かを示す同時実行フラグ3
2を含んだヘッダ30と、各被制御部i(i=1〜N)
の各々に対するコマンドi(i=1〜N)から構成され
る。
Here, the command message 3 is, as shown in FIG. 3, a simultaneous execution flag 3 indicating whether or not the control is simultaneous execution.
Header 30 including 2 and each controlled part i (i = 1 to N)
Of each command i (i = 1 to N).

【0020】各被制御部(i)2は、コマンド伝文3を
受信開始する(ステップS21)。ヘッダ分析手段12
は、コマンド伝文3のヘッダ30を読み取り、同時実行
フラグの内容を分析する(ステップS22)。
Each controlled unit (i) 2 starts receiving the command message 3 (step S21). Header analysis means 12
Reads the header 30 of the command message 3 and analyzes the content of the simultaneous execution flag (step S22).

【0021】コマンドi認識手段13は、コマンドi
(i=1〜N)を読み取り,自分に対するコマンドiを
認識する(ステップS23)。ここで、コマンド伝文3
のコマンドiの認識方法としては、各コマンドiの長さ
を一定値としておく(固定長方式)や、各コマンドiの
末尾に区切り印(デリミッタ)を入れておく(可変長方
式)などがある。
The command i recognizing means 13 uses the command i
(I = 1 to N) is read and the command i for itself is recognized (step S23). Here, command message 3
As a method of recognizing the command i, there is a method in which the length of each command i is set to a fixed value (fixed length method), or a delimiter is added to the end of each command i (variable length method). .

【0022】ヘッダ分析(ステップS22)の結果か
ら、コマンドi認識手段13は同時実行か否かを判断し
(ステップS24)、同時実行であれば、実行待ち手段
14により実行待ち状態となり(ステップS25)、そ
うでなければ、コマンドi実行手段15によりコマンド
実行する(ステップS26)。
From the result of the header analysis (step S22), the command i recognizing means 13 judges whether or not the simultaneous execution is performed (step S24). If the simultaneous execution is performed, the execution waiting means 14 enters the execution waiting state (step S25). ), Otherwise, the command i executing means 15 executes the command (step S26).

【0023】同時実行を行うタイミングは、コマンドi
認識手段13がコマンド伝文3の受信終了を認識するこ
と(ステップS25)で行い、受信終了後自動的にコマ
ンドi実行手段15がコマンド実行する(ステップS2
6)。その後は、送信手段16がコマンド実行の結果を
送信し(ステップS27)、主制御部1の受信手段17
は、それを受信し(ステップS28)、一連の処理を終
了する。
The timing for performing the simultaneous execution is the command i
The recognition means 13 recognizes the end of reception of the command message 3 (step S25), and the command i execution means 15 automatically executes the command after the end of reception (step S2).
6). After that, the transmitting unit 16 transmits the result of command execution (step S27), and the receiving unit 17 of the main control unit 1
Receives it (step S28) and ends the series of processes.

【0024】[0024]

【発明の効果】以上説明したように本発明の分散型制御
装置は各被制御部に対するコマンドをひとまとめにした
コマンド伝文をブロードキャストで送信し、送信終了の
タイミングでコマンド実行を行うようにしたため、高速
制御かつ同時制御が可能であり、さらに各被制御部毎に
異なる処理ができるという効果がある。
As described above, the distributed control apparatus of the present invention broadcasts a command message in which a command for each controlled unit is grouped, and executes the command at the timing when the transmission ends. High-speed control and simultaneous control are possible, and there is an effect that different processing can be performed for each controlled unit.

【0025】また、コマンド伝文内に、同時制御か否か
を指示する情報を添付したため、従来通りの同時制御を
行わない制御も可能である。
Since the command message is accompanied by the information indicating whether or not the simultaneous control is performed, it is possible to perform the control without the conventional simultaneous control.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】図1に示した実施例の動作を示すフローチャー
トである。
FIG. 2 is a flowchart showing the operation of the embodiment shown in FIG.

【図3】図1に示した実施例のコマンド伝文のフォーマ
ットである。
FIG. 3 is a format of a command message in the embodiment shown in FIG.

【図4】同時制御の場合の従来例の動作を示すフローチ
ャートである。
FIG. 4 is a flowchart showing an operation of a conventional example in the case of simultaneous control.

【図5】高速制御の場合の従来例の動作を示すフローチ
ャートである。
FIG. 5 is a flowchart showing an operation of a conventional example in the case of high speed control.

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

1 主制御部 2 被制御部 10 コマンド伝文送信手段 11 受信手段 12 ヘッダ分析手段 13 コマンドi認識手段 14 実行待ち手段 15 コマンドi実行手段 16 送信手段 17 受信手段 DESCRIPTION OF SYMBOLS 1 main control part 2 controlled part 10 command message transmission means 11 receiving means 12 header analysis means 13 command i recognition means 14 execution waiting means 15 command i execution means 16 transmission means 17 reception means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】複数の被制御部を制御するためのコマンド
送信手段と、その実行結果を受けとる受信手段とを有す
る一つの主制御部と、 コマンドを受けとるための受信手段と、そのコマンドを
実行するための実行手段と、その実行結果を送るための
送信手段とをそれぞれ有する複数の被制御部とで構成さ
れる分散型制御装置において、 前記コマンド送信手段は、複数の被制御部に同時にかつ
異なるコマンドを送るためのコマンド伝文をブロードキ
ャストで送るコマンド伝文送信手段であり、 前記各被制御部は、 コマンド伝文中のヘッダを分析するヘッダ分析手段と、 コマンド伝文中の自分へのコマンドを認識するためのコ
マンド認識手段と、 同時実行するための実行待ち手段とをさらに備える、 ことを特徴とする分散型制御装置。
1. A main control unit having a command transmitting unit for controlling a plurality of controlled units and a receiving unit for receiving the execution result, a receiving unit for receiving the command, and executing the command. In the distributed control device comprising a plurality of controlled units each having an executing unit for transmitting the execution result and a transmitting unit for transmitting the execution result, the command transmitting unit is configured to simultaneously control the plurality of controlled units and It is a command message sending means for sending a command message for sending a different command by broadcasting, wherein each of the controlled parts is a header analyzing means for analyzing a header in the command message and a command for the self in the command message. A distributed control device further comprising command recognition means for recognition and execution waiting means for simultaneous execution.
【請求項2】前記コマンド伝文は、その制御が同時実行
か否かを示す同時実行フラグを含んだヘッダを有するこ
とを特徴とする請求項1記載の分散型制御装置。
2. The distributed control device according to claim 1, wherein the command message has a header including a concurrency flag indicating whether or not the control is concurrency control.
JP5144530A 1993-06-16 1993-06-16 Distributed controller Pending JPH0715437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5144530A JPH0715437A (en) 1993-06-16 1993-06-16 Distributed controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5144530A JPH0715437A (en) 1993-06-16 1993-06-16 Distributed controller

Publications (1)

Publication Number Publication Date
JPH0715437A true JPH0715437A (en) 1995-01-17

Family

ID=15364468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5144530A Pending JPH0715437A (en) 1993-06-16 1993-06-16 Distributed controller

Country Status (1)

Country Link
JP (1) JPH0715437A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS545188A (en) * 1977-06-15 1979-01-16 Hitachi Ltd Tele-monitoring controller
JPS5913491A (en) * 1982-07-15 1984-01-24 Matsushita Electric Works Ltd Remote controlling device
JPS6069932A (en) * 1983-09-26 1985-04-20 Matsushita Electric Ind Co Ltd Controlling method of transmission
JPH01297999A (en) * 1988-05-26 1989-12-01 Matsushita Electric Works Ltd Time division multiplex remote control system
JPH0242891A (en) * 1988-08-01 1990-02-13 Nec Corp Supervisory equipment
JPH0512839A (en) * 1991-07-06 1993-01-22 Sony Corp Method for controlling audio or video equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS545188A (en) * 1977-06-15 1979-01-16 Hitachi Ltd Tele-monitoring controller
JPS5913491A (en) * 1982-07-15 1984-01-24 Matsushita Electric Works Ltd Remote controlling device
JPS6069932A (en) * 1983-09-26 1985-04-20 Matsushita Electric Ind Co Ltd Controlling method of transmission
JPH01297999A (en) * 1988-05-26 1989-12-01 Matsushita Electric Works Ltd Time division multiplex remote control system
JPH0242891A (en) * 1988-08-01 1990-02-13 Nec Corp Supervisory equipment
JPH0512839A (en) * 1991-07-06 1993-01-22 Sony Corp Method for controlling audio or video equipment

Similar Documents

Publication Publication Date Title
JP3030490B2 (en) Synchronous control method and device
JPH0715437A (en) Distributed controller
JP3067414B2 (en) Communication line monitor
JP2595221B2 (en) Data input device
JP2839384B2 (en) Programmable controller
KR100427789B1 (en) Data input / output method
JP3226527B2 (en) Exchange control information transmission / reception method
JPH06232882A (en) Time division multiplex communication system
JPS61294506A (en) High-speed pio transmission method for programmable controller
JP4633378B2 (en) Elevator control information transmission control circuit
JPS61194559A (en) Simultaneous use control unit for interactive processing
JPH07212863A (en) Data transmission system
JPH06332866A (en) Inter-program communication system
JPH0519812A (en) Parallel control system
JPH04243451A (en) File transmission system
JPH0635828A (en) Processing branching method
KR960020392A (en) Multiple remote control receiver of TV
JPS6327942A (en) Message input device
JPH11168482A (en) Data reception equipment with multi-address communication receiving function
JPH0444145A (en) Recognition system for terminal constitution
JPH01183752A (en) Method and device for input/output control of data
JPH10207655A (en) Printing device
JPH0589042A (en) Data processing system
JPH04149716A (en) Information processor
JPS6134653A (en) Bus controlling circuit