JP2000251187A - Communication system - Google Patents

Communication system

Info

Publication number
JP2000251187A
JP2000251187A JP11052573A JP5257399A JP2000251187A JP 2000251187 A JP2000251187 A JP 2000251187A JP 11052573 A JP11052573 A JP 11052573A JP 5257399 A JP5257399 A JP 5257399A JP 2000251187 A JP2000251187 A JP 2000251187A
Authority
JP
Japan
Prior art keywords
unit
spare
master unit
slave
identifier
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
JP11052573A
Other languages
Japanese (ja)
Inventor
Kunihito Watanabe
邦仁 渡辺
Kazuhiro Kamei
和宏 亀井
Shigenori Tanabe
重徳 田辺
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.)
Kokusai Electric Corp
Original Assignee
Kokusai Electric 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 Kokusai Electric Corp filed Critical Kokusai Electric Corp
Priority to JP11052573A priority Critical patent/JP2000251187A/en
Publication of JP2000251187A publication Critical patent/JP2000251187A/en
Pending legal-status Critical Current

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication system capable of quickly and easily changing the communicating party of a slave unit without the need of changing the communicating party in the slave unit at a slave unit installed place at the time of fault of a master unit. SOLUTION: For this communication system, a present ID, a slave ID and a spare ID are held in a master unit 1, a present ID, a master ID and a spare ID are held in the slave unit 2 and a present ID, a slave ID and a spare ID are held in a spare master unit 4. Then, at the time of the fault of the master unit 1, the slave unit 2 transmits a sensor change report c to the spare master unit which corresponds to the spare ID held by the slave unit 2. When the spare master unit 4 which receives the sensor change report c transmits a confirmation response d including the spare ID held by the master unit 4 to the slave unit 2, the slave unit 2 changes the master ID and the spare ID and changes the communicating party.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、親機に複数の子機
が接続する通信システムに係り、特に、親機の故障時の
復旧を迅速且つ簡易に行うことができる通信システムに
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication system in which a plurality of slave units are connected to a master unit, and more particularly to a communication system capable of quickly and easily recovering from a failure of a master unit.

【0002】[0002]

【従来の技術】親機に複数の子機が有線又は無線にて接
続して、子機からのデータを親機に送信する通信システ
ムは、現在、広く知られているところである。特に、子
機にセンサを接続し、当該センサで検知されたデータを
親機に送信して、親機にて当該データを統合的に管理す
る通信システムは公知のものとなっている。
2. Description of the Related Art Communication systems in which a plurality of slave units are connected to a master unit by wire or wirelessly and data from the slave units are transmitted to the master unit are now widely known. In particular, a communication system in which a sensor is connected to a slave unit, data detected by the sensor is transmitted to the master unit, and the master unit integrally manages the data is known.

【0003】従来の通信システムの一例について図5を
用いて説明する。図5は、従来の通信システムの構成ブ
ロック図である。従来の通信システムは、図5に示すよ
うに、親機1′と、センサ3を備える子機2′とから構
成されている。尚、1つの親機1′には、複数の子機
2′が接続する場合があり、また、親機1′を複数備え
るような大規模な通信システムも考えられる。但し、図
5では、説明を簡単にするために一台の親機1′と一台
の子機2′の構成例を図示している。
An example of a conventional communication system will be described with reference to FIG. FIG. 5 is a configuration block diagram of a conventional communication system. As shown in FIG. 5, the conventional communication system includes a master unit 1 'and a slave unit 2' having a sensor 3. A plurality of slave units 2 'may be connected to one master unit 1', and a large-scale communication system including a plurality of master units 1 'is also conceivable. However, FIG. 5 shows a configuration example of one master unit 1 'and one slave unit 2' for simplicity of explanation.

【0004】以下、従来の通信システムの各部を具体的
に説明する。親機1′は、子機2′から送信されるデー
タを受信し、当該データの管理、または当該データに基
づく処理を行うものである。また、親機1′は、内部に
自機の識別子(自ID)と接続先の子機2′の識別子
(子ID)とが初期パラメータとして設定され、これら
IDを保持している。特に、子IDは通信相手の子機の
識別子となっている。更に、親機1′は、子機2′から
のセンサ変更通知aに対して確認応答b′を返送し、セ
ンサ変更通知aを受信したことを子機2′に通知する。
[0004] Hereinafter, each part of the conventional communication system will be described in detail. The parent device 1 'receives data transmitted from the child device 2' and manages the data or performs processing based on the data. In addition, the parent device 1 'has its own identifier (child ID) and the identifier (child ID) of the child device 2' to be connected set as initial parameters, and holds these IDs. In particular, the child ID is an identifier of the child device of the communication partner. Further, the master unit 1 'returns an acknowledgment b' to the sensor change notification a from the slave unit 2 ', and notifies the slave unit 2' that the sensor change notification a has been received.

【0005】子機2′は、センサ3を備え、センサ3か
ら変更事項が入力されると、センサ変更事項の内容(デ
ータ)をセンサ変更通知aとして親機1′に通知するも
のである。そして、親機1′からの確認応答b′を受信
して、送信したセンサ変更通知aが親機1′に受信され
たことを認識し、その後の通信相手として、親機1′を
特定する。また、子機2′は、内部に自機の識別子(自
ID)と接続先の親機1′の識別子(親ID)とが初期
パラメータとして設定され、これらIDを保持してい
る。特に、親IDは通信相手の親機の識別子となってい
る。通常、子機2′は、電池駆動となっているため、電
源をオフとした状態となっており、センサ3からの変更
事項の入力がある場合に、センサ3からの制御により電
源オンの状態となり、親機1′との通信が可能となるも
のである。
[0005] The slave unit 2 'is provided with a sensor 3, and when a change item is input from the sensor 3, notifies the master unit 1' of the content (data) of the sensor change item as a sensor change notification a. Then, upon receiving the confirmation response b 'from the base unit 1', it recognizes that the transmitted sensor change notification a has been received by the base unit 1 ', and specifies the base unit 1' as a subsequent communication partner. . The slave 2 'has its own identifier (own ID) and the identifier (parent ID) of the parent device 1' to be connected as initial parameters, and holds these IDs. In particular, the parent ID is an identifier of the parent device of the communication partner. Normally, since the slave unit 2 ′ is driven by a battery, the power is turned off. When a change item is input from the sensor 3, the slave unit 2 ′ is turned on by the control from the sensor 3. Thus, communication with the master unit 1 'becomes possible.

【0006】センサ3は、例えば、温度センサ、圧力セ
ンサ等のセンサであり、検知する事項(温度、圧力等)
に変化があるとセンサ変更事項を出力する。また、セン
サ3は、センサ変更事項を出力する際に、子機2′に電
源オンの制御信号を出力して、子機2′が電源オンとな
った状態でセンサ変更事項を出力するようになってい
る。
[0006] The sensor 3 is, for example, a sensor such as a temperature sensor or a pressure sensor, and items to be detected (temperature, pressure, etc.).
If there is a change in, the sensor change items are output. Also, the sensor 3 outputs a power-on control signal to the slave unit 2 ′ when outputting the sensor change items, and outputs the sensor change items when the slave unit 2 ′ is turned on. Has become.

【0007】次に、上記従来の通信システムの動作につ
いて説明する。まず、前提として、親機1′には、自I
D=1、子ID=2が設定され、子機2′には、自ID
=2、親ID=1が初期パラメータとして設定されてい
る。また、通常、子機2′は電源オフの状態となってい
る。センサ3で検知事項の変動があると、センサ3は子
機2′を電源オン状態とすると共にセンサ変更事項を出
力する。センサ変更事項を入力された子機2′は、その
変更事項を内部設定の親IDが示す親機1′に送信デー
タとしてセンサ変更通知aを送信し、親機1′からの確
認応答b′の返信を待つ。
Next, the operation of the conventional communication system will be described. First, it is assumed that the parent device 1 'has its own I
D = 1 and child ID = 2 are set, and the child device 2 'has its own ID.
= 2 and parent ID = 1 are set as initial parameters. In addition, the slave unit 2 'is normally in a power-off state. When there is a change in the detection items of the sensor 3, the sensor 3 turns on the power of the slave unit 2 'and outputs the sensor change items. The slave unit 2 'having received the sensor change item transmits the sensor change notification a as transmission data to the master unit 1' indicated by the parent ID of the internal setting, and the confirmation response b 'from the master unit 1'. Wait for a reply.

【0008】次に、センサ変更通知aを受信した親機
1′は、当該データを取り込むと共に、内部設定の子I
Dが示す子機2′に対してデータ受信を知らせる確認応
答b′を送信する。子機2′は、確認応答b′を受信す
ると、通信相手として親機1′を特定し、次のセンサ変
更通知も当該親機1′に送信することになる。
Next, upon receiving the sensor change notification a, the master unit 1 'fetches the data and sets the child I of the internal setting.
An acknowledgment b 'for notifying the data reception to the slave unit 2' indicated by D is transmitted. Upon receiving the confirmation response b ', the child device 2' specifies the parent device 1 'as a communication partner, and transmits the next sensor change notification to the parent device 1'.

【0009】上記従来の通信システムにおいて、親機が
故障した場合の復旧処理を説明する。従来の通信システ
ムで、親機1′が故障すると、親機1′は別の親機に交
換されることになる。この場合、子機2′が保持してい
る親機IDを変更する必要があるが、この変更作業は
人手により行う必要がある。これは、子機2′が通常電
源オフの状態にあるため、別の親機から子機2′の電源
をオンにして通信により親IDの設定を変更できないた
めである。
In the above-mentioned conventional communication system, a description will be given of a recovery process when a parent machine fails. In the conventional communication system, when the master unit 1 'fails, the master unit 1' is replaced with another master unit. In this case, it is necessary to change the master unit ID held by the slave unit 2 '.
It must be done manually. This is because the child device 2 'is normally in the power-off state, so that the setting of the parent ID cannot be changed by communication with another child device turning on the power of the child device 2'.

【0010】尚、子機にセンサを設置し、無線にて親機
との通信を行う従来技術として、平成5年(1993
年)5月25日公開の特願平5−128387号公報
「無線式アナログ感知器」(出願人:ホーチキ株式会
社、発明者:島裕史)がある。この従来技術は、無線に
より温度等の検出信号を子器から離れた親器に送信する
ものであり、検知する温度が予め設定された値以上とな
った場合にのみ子器から親器に送信するもので、電池寿
命を損なうことなく必要なデータを送信できるものであ
る。
[0010] As a conventional technique of installing a sensor in a slave unit and communicating with the master unit wirelessly, a conventional technology is disclosed in 1993 (1993).
Japanese Patent Application No. 5-128387 published on May 25, "Wireless Analog Sensor" (applicant: Hochiki Co., Ltd., inventor: Hiroshi Shima). According to this conventional technique, a detection signal such as a temperature is wirelessly transmitted to a parent device remote from the child device, and is transmitted from the child device to the parent device only when the detected temperature is equal to or higher than a preset value. That is, necessary data can be transmitted without impairing the battery life.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、上記従
来の通信システムでは、子機が保持する親IDを変更す
る作業を人手によって行う必要があるため、子機が遠隔
地に設置されている場合には、多大な時間と費用がかか
るという問題点があった。
However, in the above-mentioned conventional communication system, it is necessary to manually change the parent ID held by the child device, so that when the child device is installed in a remote place, However, there is a problem that it takes a lot of time and cost.

【0012】本発明は上記実情に鑑みて為されたもの
で、親機故障時における親機の交換を行う際に、子機に
おける親IDの変更を、子機の設置場所に出向くことな
く、簡易に行うことができる通信システムを提供するこ
とを目的とする。
The present invention has been made in view of the above circumstances, and when replacing a master unit in the event of a failure of the master unit, it is possible to change the parent ID of the slave unit without going to the installation location of the slave unit. An object of the present invention is to provide a communication system that can be easily performed.

【0013】[0013]

【課題を解決するための手段】上記従来例の問題点を解
決するための本発明は、子機に、親機故障時の代替機と
なる予備親機の識別子を保持させ、親機故障時に子機は
保持する予備親機の識別子の予備親機宛にセンサの検知
結果を通知するものであり、親機故障時の子機の通信切
り換えを迅速かつ簡易に行うことができるものである。
SUMMARY OF THE INVENTION The present invention for solving the above-mentioned problems of the prior art has a feature that allows a slave unit to hold an identifier of a spare master unit as an alternative unit when a master unit fails, and The slave unit notifies the spare master unit of the identifier of the held spare master unit to the result of the sensor detection, and can quickly and easily switch the communication of the slave unit when the master unit fails.

【0014】上記従来例の問題点を解決するための本発
明は、上記発明の通信システムにおいて、予備親機は、
受信確認の応答の際に、次の予備親機の識別子を含め、
受信確認の応答を受信した子機は、内部設定の予備親機
の識別子を受信確認の応答に含まれる次の予備親機の識
別子で更新するものであり、親機故障時の子機の通信切
り換えを迅速かつ容易に行うことができると共に、予備
親機の故障時にも次の予備親機への切り換えを可能とし
ている。
The present invention for solving the problems of the above conventional example is a communication system according to the present invention, wherein
In the response of the receipt confirmation, include the identifier of the next spare master unit,
The slave unit that has received the response to the reception confirmation updates the identifier of the spare parent unit set in the internal configuration with the identifier of the next spare parent unit included in the response to the reception confirmation. Switching can be performed quickly and easily, and switching to the next spare master unit is possible even when the spare master unit fails.

【0015】[0015]

【発明の実施の形態】本発明の実施の形態について図面
を参照しながら説明する。尚、以下で説明する機能実現
手段は、当該機能を実現できる手段であれば、どのよう
な回路又は装置であっても構わず、また機能の一部又は
全部をソフトウェアで実現することも可能である。更
に、機能実現手段を複数の回路によって実現してもよ
く、複数の機能実現手段を単一の回路で実現してもよ
い。
Embodiments of the present invention will be described with reference to the drawings. Note that the function realizing means described below may be any circuit or device as long as the function can be realized, and some or all of the functions may be realized by software. is there. Further, the function realizing means may be realized by a plurality of circuits, or the plurality of function realizing means may be realized by a single circuit.

【0016】本発明の実施の形態に係る通信システム
は、センサを備え、センサの検知結果を通知する子機
と、当該子機からの通知を受信し、受信確認を子機に応
答する親機とを有する通信システムであって、親機故障
時の代替機となる予備親機のIDを親機、子機共に保持
し、親機故障時には、子機が保持する予備親機のIDの
予備親機宛にセンサの検知結果を通知する手段を有する
ものである。これにより、親機故障時に親機を交換した
場合に、対応する子機の通信相手の変更を、子機設置場
所に出向くことなく、容易に実現できるものである。
A communication system according to an embodiment of the present invention comprises a sensor, a slave unit for notifying a detection result of the sensor, and a master unit for receiving a notification from the slave unit and responding to the slave unit with a reception confirmation. In the communication system, the ID of the spare master unit serving as a substitute unit when the master unit fails is held in both the master unit and the slave unit, and when the master unit fails, the ID of the spare master unit held by the slave unit is reserved. It has means for notifying the master unit of the detection result of the sensor. Thus, when the master unit is replaced when the master unit fails, the communication partner of the corresponding slave unit can be easily changed without visiting the slave unit installation location.

【0017】また、本発明の実施の形態に係る通信シス
テムは、子機からセンサの検知結果の通知を受けた予備
親機は受信確認の知らせに次の予備親機のIDを含めて
送信し、子機は内部設定の予備親機のIDをこの知らせ
に含まれる予備親機のIDで更新するようにしているの
で、親機の代替機である予備親機が更に故障しても、次
の予備親機に交換可能であり、次の故障にも迅速かつ容
易に対応できる。
Further, in the communication system according to the embodiment of the present invention, the spare master unit that has received the notification of the sensor detection result from the slave unit transmits the notification of the reception confirmation including the ID of the next spare master unit. Since the slave unit updates the ID of the spare master unit set in the internal unit with the ID of the spare master unit included in the notification, even if the spare master unit which is a substitute for the master unit further fails, the next Can be replaced quickly and easily with the next failure.

【0018】つまり、本発明の実施の形態に係る通信シ
ステムは、予め子機に予備親機(親機が故障した場合の
代替機)の識別子(予備ID)を設定しておき、親機故
障時に予備親機から次の予備ID(次に予備親機が故障
した場合の代替機の識別子)を含む確認応答を子機が受
信すると、子機は、予め設定されている予備IDを親機
IDに変更すると共に、予め設定されている予備IDを
次の予備IDに変更して、親機故障時の子機の親機の識
別子(親ID)の変更を、子機設置場所に出向くことな
く、簡易に実現できるものである。
That is, in the communication system according to the embodiment of the present invention, the identifier (spare ID) of the spare master unit (alternate machine when the master unit has failed) is set in advance in the slave unit, and When the slave receives an acknowledgment including the next spare ID from the spare master at the same time (the identifier of the alternative machine when the spare master fails next), the slave sets the preset spare ID to the master. ID and the preset spare ID are changed to the next spare ID, and the change of the identifier (parent ID) of the parent device of the child device when the parent device fails is sent to the child device installation location. And can be easily realized.

【0019】本発明の実施の形態に係る通信システムを
図1を用いて説明する。図1は、本発明の実施の形態に
係る通信システムの構成ブロック図である。尚、図5と
同様の構成をとる部分については同一の符号を付して説
明しており、また、説明を簡略化するために1台の親機
と1台の子機から成る構成を示している。本発明の実施
の形態に係る通信システムは、図1に示すように、親機
1と、センサ3を備える子機2と、予備親機4とから構
成されている。尚、1つの親機1には、複数の子機2が
接続する場合があり、また、親機1を複数備えるような
大規模な通信システムも考えられる。
A communication system according to an embodiment of the present invention will be described with reference to FIG. FIG. 1 is a configuration block diagram of a communication system according to an embodiment of the present invention. Note that parts having the same configuration as in FIG. 5 are denoted by the same reference numerals and described. In addition, in order to simplify the description, a configuration including one master unit and one slave unit is shown. ing. As shown in FIG. 1, the communication system according to the embodiment of the present invention includes a master unit 1, a slave unit 2 having a sensor 3, and a spare master unit 4. A plurality of slave units 2 may be connected to one master unit 1, and a large-scale communication system including a plurality of master units 1 may be considered.

【0020】以下、本発明の実施の形態に係る通信シス
テムの各部を具体的に説明する。親機1は、子機2から
送信されるデータを受信し、当該データの管理、または
当該データに基づく処理を行うものである。また、親機
1は、内部に自機の識別子(自ID)と接続先の子機2
の識別子(子ID)と故障時の代替機となる予備親機4
の識別子(予備ID)とが初期パラメータとして設定さ
れ、これらIDを保持している。特に、子IDは通信相
手の子機の識別子となっている。更に、親機1は、子機
2からのセンサ変更通知aに対して確認応答bを返送
し、センサ変更通知aを受信したことを子機2に通知す
る。尚、この確認応答bには、親機1が保持する予備I
Dが含まれる。
Hereinafter, each unit of the communication system according to the embodiment of the present invention will be specifically described. The master unit 1 receives data transmitted from the slave unit 2 and manages the data or performs processing based on the data. The base unit 1 also has its own identifier (own ID) and the slave unit 2 to be connected to.
Identifier (child ID) and spare master unit 4 as a substitute in case of failure
(Preliminary IDs) are set as initial parameters, and hold these IDs. In particular, the child ID is an identifier of the child device of the communication partner. Further, the base unit 1 returns an acknowledgment b to the sensor change notification a from the slave unit 2 and notifies the slave unit 2 that the sensor change notification a has been received. Note that this confirmation response b includes the spare I
D is included.

【0021】子機2は、センサ3を備え、センサ3から
変更事項が入力されると、センサ変更事項の内容(デー
タ)をセンサ変更通知aとして親機1に通知するもので
ある。そして、親機1からの確認応答bを受信して、送
信したセンサ変更通知aが親機1に受信されたことを認
識し、その後の通信相手として、親機1を特定する。ま
た、子機2は、内部に自機の識別子(自ID)と接続先
の親機1の識別子(親ID)と親機故障時の代替機とな
る予備親機の識別子(予備ID)とが初期パラメータと
して設定され、これらIDを保持している。特に、親I
Dは通信相手の親機の識別子となっている。通常、子機
2は、電池駆動となっているため、電源オフの状態とな
っており、センサ3からの変更事項の入力がある場合
に、センサ3からの制御により電源をオンした状態とな
り、親機1との通信が可能となるものである。
The slave unit 2 has a sensor 3 and, when a change item is input from the sensor 3, notifies the master unit 1 of the content (data) of the sensor change item as a sensor change notification a. Then, upon receiving an acknowledgment b from the base unit 1, it recognizes that the transmitted sensor change notification a has been received by the base unit 1, and identifies the base unit 1 as a subsequent communication partner. The slave unit 2 also internally stores its own identifier (own ID), the identifier of the master unit 1 (parent ID) of the connection destination, and the identifier (spare ID) of the spare master unit as an alternative unit when the master unit fails. Are set as initial parameters and hold these IDs. In particular, parent I
D is the identifier of the master unit of the communication partner. Normally, since the slave unit 2 is driven by a battery, it is in a power-off state, and when there is an input of a change item from the sensor 3, the power is turned on under the control of the sensor 3, Communication with the master unit 1 becomes possible.

【0022】センサ3は、例えば、温度センサ、圧力セ
ンサ等のセンサであり、検知する事項(温度、圧力等)
に変化があるとセンサ変更事項を子機2に出力する。本
発明において検知する事項は、特に限定するものではな
く、その他、湿度、濃度、速度、強度、明るさ等であっ
ても構わない。また、センサ3は、センサ変更事項を出
力する際に、子機2に電源オンの制御信号を出力して、
子機2が電源オンとなった状態でセンサ変更事項を出力
するようになっている。
The sensor 3 is, for example, a sensor such as a temperature sensor or a pressure sensor, and the items to be detected (temperature, pressure, etc.)
If there is a change, the sensor change item is output to the slave unit 2. Items detected in the present invention are not particularly limited, and may be humidity, density, speed, intensity, brightness, and the like. Also, when outputting the sensor change items, the sensor 3 outputs a power-on control signal to the slave unit 2,
When the slave unit 2 is powered on, the sensor change items are output.

【0023】次に、本発明の実施の形態に係る通信シス
テムの動作について図1、図2を用いて説明する。図2
は、本発明の実施の形態に係る通信システムの親機故障
時の復旧処理を示す説明図である。予め、親機1には、
自ID=1、子ID=2、予備ID=3が初期パラメー
タとして設定され、子機2には、自ID=2、親ID=
1、予備ID=3が初期パラメータとして設定され、ま
た、予備親機4には、自ID=3、子ID=2、予備I
D=4が初期パラメータとして設定されている。また、
通常、子機2は電源オフの状態となっている。
Next, the operation of the communication system according to the embodiment of the present invention will be described with reference to FIGS. FIG.
FIG. 7 is an explanatory diagram showing a recovery process when a parent device fails in the communication system according to the embodiment of the present invention. In advance, master unit 1
The own ID = 1, the child ID = 2, and the spare ID = 3 are set as initial parameters, and the own device = 2 and the parent ID =
1, the spare ID = 3 is set as an initial parameter, and the spare parent device 4 has its own ID = 3, child ID = 2,
D = 4 is set as an initial parameter. Also,
Normally, the child device 2 is in a power-off state.

【0024】そして、センサ3で検知事項の変動がある
と、センサ3は子機2を電源オン状態とすると共にセン
サ変更事項を出力する。センサ変更事項を入力された子
機2は、その変更事項を内部設定の親IDが示す親機1
に送信データとしてセンサ変更通知aを送信し、親機1
からの確認応答bの返信を待つ。
Then, when there is a change in the detected item at the sensor 3, the sensor 3 turns on the power of the slave unit 2 and outputs the changed item of the sensor. The slave unit 2 to which the sensor change item is input is the master unit 1 indicating the change item by the parent ID of the internal setting.
To the parent device 1
Waits for a response b from the server.

【0025】次に、センサ変更通知aを受信した親機1
は、当該データを取り込むと共に、内部設定の子IDが
示す子機2に対してデータ受信を知らせる確認応答bを
送信する。この確認応答bには予備IDを含んでいる。
子機2は、確認応答bを受信すると、通信相手として親
機1を特定し、次のセンサ変更通知も当該親機1に送信
することになる。
Next, the master unit 1 that has received the sensor change notification a
Transmits the acknowledgment b notifying the reception of data to the child device 2 indicated by the child ID of the internal setting, while taking in the data. This confirmation response b includes the preliminary ID.
Upon receiving the confirmation response b, the child device 2 specifies the parent device 1 as a communication partner, and also transmits the next sensor change notification to the parent device 1.

【0026】次に、親機1が故障した場合の復旧処理を
説明する。親機1が故障した場合には、親機1は予備親
機4の電源をオンにする。そして、親機1の故障状態で
子機2がセンサ変更通知aを親機1に送信しても、親機
1からの返信はない。親機1からの確認応答を受信でき
ない子機2は、内部にパラメータとして保持している予
備ID宛にセンサ変更通知cを送信する。
Next, a description will be given of a recovery process in the case where the parent machine 1 has failed. When the main unit 1 fails, the main unit 1 turns on the power of the spare main unit 4. Then, even when the slave unit 2 transmits the sensor change notification a to the master unit 1 in the failure state of the master unit 1, there is no reply from the master unit 1. The slave unit 2 that cannot receive the confirmation response from the master unit 1 transmits the sensor change notification c to the spare ID held as a parameter inside.

【0027】子機2からのセンサ変更通知cを受信した
予備親機4は、次に代替機となる予備親機の予備IDを
確認応答dに含めて子機2宛に送信する。その確認応答
dを受信した子機2は、内部設定のパラメータの変更を
行う。具体的には、自IDはそのままで、親ID=3、
予備ID=4とするもので、親IDを予備IDで更新
し、今までの予備IDを確認応答dに含まれていた予備
IDで更新するものである。以降、子機2は、親機とし
て予備親機4を特定し、次の予備親機として予備ID=
4の機器を認識するものである。
The spare master unit 4 that has received the sensor change notification c from the slave unit 2 transmits the spare ID of the spare master unit serving as the substitute unit to the slave unit 2 in the acknowledgment d. The slave unit 2 that has received the confirmation response d changes the parameter of the internal setting. Specifically, the parent ID = 3,
The spare ID is set to 4, the parent ID is updated with the spare ID, and the previous spare ID is updated with the spare ID included in the confirmation response d. Thereafter, the slave unit 2 specifies the spare master unit 4 as the master unit, and sets the spare ID =
4 is recognized.

【0028】上記処理における子機2内部の処理を図3
を用いて説明する。図3は、親機故障復旧時の子機2に
おける処理を示すフローチャート図である。子機2は、
親機1にセンサ変更通知aを送信する(S1)。次に、
当該センサ変更通知aに対する親機1からの確認応答b
が有るかどうか判定し(S2)、確認応答bが有れば
(Yesの場合)、処理を終了する。また、確認応答b
がなければ(Noの場合)、予備IDが示す予備親機4
にセンサ変更通知cを送信する(S3)。
FIG. 3 shows the processing inside the slave unit 2 in the above processing.
This will be described with reference to FIG. FIG. 3 is a flowchart showing processing in slave unit 2 at the time of master unit failure recovery. Slave unit 2
The sensor change notification a is transmitted to the master unit 1 (S1). next,
Confirmation response b from master unit 1 to sensor change notification a
Is determined (S2), and if there is a confirmation response b (Yes), the process ends. Confirmation response b
If there is no (No), the spare master unit 4 indicated by the spare ID
To the sensor change notification c (S3).

【0029】そして、子機2は、当該センサ変更通知c
に対する予備親機4からの確認応答dが有るかどうか判
定し(S4)、確認応答dが有れば(Yesの場合)、
親ID、予備IDの変更を行う(S5)。具体的には、
親IDを予備IDで更新し、予備IDを確認応答dに含
まれる予備IDで更新する。また、確認応答dがなけれ
ば(Noの場合)、親機1の切り換えに失敗したとして
親機切換異常を報告し(S6)、処理を終了する。
Then, the slave unit 2 sends the sensor change notification c.
It is determined whether there is an acknowledgment response d from the backup master unit 4 (S4). If there is an acknowledgment response d (Yes),
The parent ID and the spare ID are changed (S5). In particular,
The parent ID is updated with the spare ID, and the spare ID is updated with the spare ID included in the confirmation response d. If there is no acknowledgment d (in the case of No), it is determined that the switching of the base unit 1 has failed, and a base unit switching abnormality is reported (S6), and the process is terminated.

【0030】尚、判定処理S4で確認応答dがない場
合、親機切換異常報告の処理S6を行ったが、確認応答
dには、新たな予備IDが含まれているため、今度は、
この予備IDを用いてセンサ変更通知を送信して、更に
次の予備親機に切り換えるようにしてもよい。
If there is no acknowledgment d in the determination process S4, the process S6 of the master unit switching abnormality report is performed. However, since the acknowledgment d includes a new spare ID, this time,
A sensor change notification may be transmitted using this spare ID to switch to the next spare master unit.

【0031】次に、複数の子機からのデータを複数の親
機が受信して処理を行う通信システムの場合の一つの親
機の故障時の復旧処理について図4を用いて説明する。
図4は、本発明の実施の形態に係る通信システムにおい
て複数親機を有する場合の構成ブロック図である。尚、
図4の場合は、2つの親機1a,1bが負荷分散を行っ
て処理を行っている例である。図4に示す通信システム
では、親機1a,1bと、子機2a,2b,2c,2d
とから構成され、子機2a,2bが親機1aの管理グル
ープに属し、子機2c,2dが親機1bの管理グループ
に属するものである。
Next, a description will be given, with reference to FIG. 4, of a recovery process performed when one master unit fails in a communication system in which a plurality of master units receive and process data from a plurality of slave units.
FIG. 4 is a configuration block diagram in a case where the communication system according to the embodiment of the present invention has a plurality of master units. still,
FIG. 4 shows an example in which two master units 1a and 1b perform processing by performing load distribution. In the communication system shown in FIG. 4, master units 1a, 1b and slave units 2a, 2b, 2c, 2d
The slaves 2a and 2b belong to the management group of the master 1a, and the slaves 2c and 2d belong to the management group of the master 1b.

【0032】そして、親機1aには予備ID=親機1b
が設定され、親機1bには予備ID=親機1aが設定さ
れ、また、子機2a,2bには予備ID=親機1bが設
定され、子機2c,2dには予備ID=親機1aが設定
されている。
The spare ID is equal to the master unit 1b.
Is set, the spare ID = master 1a is set in the master 1b, the spare ID = master 1b is set in the slaves 2a, 2b, and the spare ID = master is set in the slaves 2c, 2d. 1a is set.

【0033】ここで、親機1aが故障した場合には、上
記復旧処理に従って、子機2a,2bは予備IDが示す
親機1bに対してセンサ変更通知を送信し、親機1bは
当該センサ変更通知を受信して子機2a,2bに確認応
答を返送する。これにより親機1bは、親機1aの管理
グループに属する子機2a,2bとの通信を行うもので
ある。
If the master unit 1a fails, the slave units 2a and 2b send a sensor change notification to the master unit 1b indicated by the spare ID in accordance with the above-described recovery processing. Upon receiving the change notification, it returns an acknowledgment to the slave units 2a and 2b. Thereby, the master unit 1b communicates with the slave units 2a and 2b belonging to the management group of the master unit 1a.

【0034】本発明の実施の形態に係る通信システムに
よれば、子機2に予め予備親機4の識別子(予備ID)
を設定しておき、親機1が故障した場合には、その予備
IDの予備親機4に子機2がセンサ変更通知cを送信
し、予備親機4から次の予備IDを含む確認応答dを受
信すると、子機2は親IDを予備IDで更新し、予備I
Dを次の予備IDで更新して、親機の交換及び子機2に
おける設定変更を行うようにしているので、子機2の設
置場所に出向いて子機2の設定を変更する必要がなくな
り、人手を要することなく、簡易に子機2の親IDの変
更を行うことができる効果がある。
According to the communication system according to the embodiment of the present invention, an identifier (spare ID) of spare master device 4 is assigned to slave device 2 in advance.
Is set, and when the base unit 1 fails, the slave unit 2 transmits a sensor change notification c to the standby base unit 4 of the standby ID, and an acknowledgment including the next standby ID from the standby base unit 4 d, the handset 2 updates the parent ID with the spare ID,
Since D is updated with the next spare ID to exchange the master unit and change the setting in the slave unit 2, it is not necessary to go to the installation location of the slave unit 2 and change the setting of the slave unit 2. There is an effect that the parent ID of the child device 2 can be easily changed without requiring any manpower.

【0035】[0035]

【発明の効果】本発明によれば、親機故障時に子機は保
持する予備親機の識別子の予備親機宛にセンサの検知結
果を通知する通信システムとしているので、親機故障時
の子機の通信切り換えを迅速かつ簡易に行うことができ
る効果がある。
According to the present invention, the slave unit has a communication system for notifying the result of the sensor detection to the spare master unit having the identifier of the spare master unit held when the master unit has failed. There is an effect that communication switching between the devices can be performed quickly and easily.

【0036】また、本発明によれば、予備親機から次の
予備親機の識別子を含む受信確認の応答を子機が受信す
ると、内部設定の予備親機の識別子を当該応答に含まれ
る次の予備親機の識別子で更新する上記発明の通信シス
テムとしているので、親機故障時の子機の通信切り換え
を迅速かつ容易に行うことができると共に、予備親機の
故障時にも次の予備親機への切り換えを容易にできる効
果がある。
Further, according to the present invention, when the slave unit receives a response of acknowledgment including the identifier of the next spare master unit from the spare master unit, the identifier of the internally set spare master unit is included in the response. Since the communication system of the present invention is updated with the identifier of the spare master unit, the communication of the slave unit can be quickly and easily switched when the master unit fails, and the next spare master unit can be switched even when the spare master unit fails. There is an effect that the switching to the machine can be easily performed.

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

【図1】本発明の実施の形態に係る通信システムの構成
ブロック図である。
FIG. 1 is a configuration block diagram of a communication system according to an embodiment of the present invention.

【図2】本発明の実施の形態に係る通信システムの親機
故障時の復旧処理を示す説明図である。
FIG. 2 is an explanatory diagram showing a recovery process when a parent device fails in the communication system according to the embodiment of the present invention.

【図3】親機故障復旧時の子機2における処理を示すフ
ローチャート図である。
FIG. 3 is a flowchart showing a process in the slave unit 2 at the time of recovery from a master unit failure.

【図4】本発明の実施の形態に係る通信システムにおい
て複数親機を有する場合の構成ブロック図である。
FIG. 4 is a configuration block diagram in a case where the communication system according to the embodiment of the present invention has a plurality of master units.

【図5】従来の通信システムの構成ブロック図である。FIG. 5 is a configuration block diagram of a conventional communication system.

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

1,1′…親機、 2,2′…子機、 3…センサ、
4…予備親機、 a…センサ変更通知、 b,b′…確
認応答、 c…センサ変更通知、 d…確認応答
1, 1 ': master unit, 2, 2': slave unit, 3: sensor,
4: spare master unit, a: sensor change notification, b, b ': confirmation response, c: sensor change notification, d: confirmation response

フロントページの続き (72)発明者 田辺 重徳 東京都中野区東中野三丁目14番20号 国際 電気株式会社内 Fターム(参考) 2F073 AA21 AB01 BB01 BC02 CC01 CC20 DD02 GG01 GG08 Continued on the front page (72) Inventor Shigenori Tanabe 3-14-20 Higashinakano, Nakano-ku, Tokyo International Electric Co., Ltd. F-term (reference) 2F073 AA21 AB01 BB01 BC02 CC01 CC20 DD02 GG01 GG08

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 センサを備え、前記センサでの検知結果
を通知する子機と、前記子機からの通知を受信し、受信
確認を前記子機に応答する親機とを有する通信システム
において、 前記子機には、前記親機故障時の代替機となる予備親機
の識別子を保持させ、 前記子機は、前記親機の故障時に前記保持する予備親機
の識別子の予備親機宛に前記センサの検知結果を通知す
る子機であることを特徴とする通信システム。
1. A communication system comprising a sensor, a slave unit notifying a detection result of the sensor, and a master unit receiving a notification from the slave unit and responding to the slave unit with a reception confirmation, The slave unit holds an identifier of a spare master unit serving as a substitute unit when the master unit fails, and the slave unit sends the identifier of the spare master unit to be held to the spare master unit when the master unit fails. A communication system, being a slave unit for notifying a detection result of the sensor.
【請求項2】 予備親機は、子機からのセンサの検知結
果の通知に対して、受信確認を応答する際に、次の予備
親機の識別子を含めて応答する予備親機であり、 前記子機は、前記予備親機からの受信確認の応答を受信
すると、内部設定の予備親機の識別子を前記受信確認の
応答に含まれる次の予備親機の識別子で更新する子機で
あることを特徴とする請求項1記載の通信システム。
2. The spare master unit is a spare master unit that responds to the notification of the detection result of the sensor from the slave unit, including the identifier of the next spare master unit, when responding to the reception confirmation. The slave unit is a slave unit that, upon receiving a response to the reception confirmation from the spare master unit, updates the identifier of the spare master unit in the internal setting with the identifier of the next spare master unit included in the response to the receipt confirmation. The communication system according to claim 1, wherein:
【請求項3】 検知事項に変動があると当該検知事項を
出力するセンサと、前記センサから検知事項が入力され
る場合に電源オンとなり、前記検知事項に基づくセンサ
変更通知を送信する子機と、前記センサ変更通知を受信
し、受信確認の確認応答を前記子機に送信する親機とを
有する通信システムにおいて、 前記親機は、内部設定として、自機の識別子、前記子機
の識別子、当該親機の代替機となる予備親機の識別子を
保持し、前記子機からのセンサ変更通知に対して前記予
備親機の識別子を含む確認応答を前記子機に送信する親
機であり、 前記子機は、内部設定として、自機の識別子、前記親機
の識別子、前記予備親機の識別子を保持し、送信したセ
ンサ変更通知に対して前記親機から確認応答を得られな
い場合に、前記予備親機の識別子の予備親機宛に前記セ
ンサ変更通知を送信し、前記予備親機から確認応答を受
信すると、前記親機の識別子を前記予備親機の識別子で
更新して、前記親機から前記予備親機に通信の切り換え
を行う子機であり、 前記予備親機は、前記子機からセンサ変更通知を受信す
ると前記子機宛に確認応答を送信する予備親機であるこ
とを特徴とする通信システム。
3. A sensor that outputs a detected item when there is a change in the detected item, and a slave unit that is turned on when a detected item is input from the sensor and transmits a sensor change notification based on the detected item. In a communication system having a master unit that receives the sensor change notification and transmits a confirmation response of reception confirmation to the slave unit, the master unit has, as an internal setting, an identifier of the own device, an identifier of the slave device, A master that holds an identifier of a spare master as an alternative to the master and transmits an acknowledgment including the identifier of the spare master to the sensor change notification from the slave to the slave, The slave unit holds, as an internal setting, the identifier of the own unit, the identifier of the master unit, and the identifier of the spare master unit, and in a case where an acknowledgment cannot be obtained from the master unit in response to the transmitted sensor change notification. , Identification of the spare master unit Transmitting the sensor change notification to the spare master unit and receiving an acknowledgment from the spare master unit, updates the identifier of the master unit with the identifier of the spare master unit, and transmits the spare master unit from the master unit. The communication system according to claim 1, wherein the spare master unit is a spare master unit that transmits an acknowledgment response to the slave unit upon receiving a sensor change notification from the slave unit.
【請求項4】 予備親機は、子機からのセンサ変更通知
に対する確認応答に、次の代替機となる次の予備親機の
識別子を含めて前記子機宛に送信する予備親機であり、 前記子機は、前記確認応答を受信すると、内部に設定さ
れている親機の識別子を予備親機の識別子で更新すると
共に、前記予備親機の識別子を前記確認応答に含まれる
次の予備親機の識別子で更新して、前記親機から前記予
備親機に通信の切り換えを行うと共に、次の予備親機へ
の切り換えを可能とした子機であることを特徴とする請
求項3記載の通信システム。
4. The spare master unit is a spare master unit that transmits an acknowledgment to the sensor change notification from the slave unit to the slave unit, including an identifier of the next spare master unit as a next alternative unit. Upon receiving the acknowledgment, the slave updates the identifier of the master set therein with the identifier of the spare master, and updates the identifier of the spare master to the next spare included in the acknowledgment. 4. The slave unit, which is updated with an identifier of the master unit, switches communication from the master unit to the spare master unit, and enables switching to the next spare master unit. Communication system.
JP11052573A 1999-03-01 1999-03-01 Communication system Pending JP2000251187A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11052573A JP2000251187A (en) 1999-03-01 1999-03-01 Communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11052573A JP2000251187A (en) 1999-03-01 1999-03-01 Communication system

Publications (1)

Publication Number Publication Date
JP2000251187A true JP2000251187A (en) 2000-09-14

Family

ID=12918564

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11052573A Pending JP2000251187A (en) 1999-03-01 1999-03-01 Communication system

Country Status (1)

Country Link
JP (1) JP2000251187A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006245638A (en) * 2005-02-28 2006-09-14 Saxa Inc Alliance method between master unit and slave unit
JP2006303943A (en) * 2005-04-21 2006-11-02 Sharp Corp Radio data communications system
JP2015139075A (en) * 2014-01-22 2015-07-30 シャープ株式会社 Radio data communication system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006245638A (en) * 2005-02-28 2006-09-14 Saxa Inc Alliance method between master unit and slave unit
JP4534145B2 (en) * 2005-02-28 2010-09-01 サクサ株式会社 How to connect the master unit and slave unit
JP2006303943A (en) * 2005-04-21 2006-11-02 Sharp Corp Radio data communications system
JP4580811B2 (en) * 2005-04-21 2010-11-17 シャープ株式会社 Wireless data communication system
JP2015139075A (en) * 2014-01-22 2015-07-30 シャープ株式会社 Radio data communication system

Similar Documents

Publication Publication Date Title
JP2006510181A (en) System and method for lighting control network recovery from master failure
JPH09168053A (en) Method for transmitting maintenance information to remote device and apparatus for receiving maintenance information
JP2000251187A (en) Communication system
JP3372569B2 (en) Multiplex transmission equipment
JP5199470B2 (en) Absolute control of virtual switches
JP2962062B2 (en) Processor monitoring method
CN113625853B (en) Power supply switching device
JPS63187797A (en) Home control device
JP2694412B2 (en) Data transmission system
JPH05252221A (en) Remote power supply applying system
US7394360B2 (en) Method for commissioning radio-based emergency alarm systems
JP3294256B2 (en) Data communication method and device
KR100408253B1 (en) Method for exchanging, disconnecting, and connecting network station of plc network in operating process
JPH0662471A (en) Process control system
JPH0764472A (en) Remote i/o system of programmable controller
JPH1011177A (en) Remote power supply control system
JP2007184742A (en) Wireless telemeter system
JP2529992B2 (en) Method of collecting data of interception stations in polling
JPH05189685A (en) Remote monitoring system
JPH09130340A (en) Remote supervisory and controlling system
JP2621779B2 (en) Connection test method for distributed system
JPH10322371A (en) Distributed control system
JP2869497B2 (en) Multiple parallel remote device power-on method
JP2000092079A (en) Information processing system
JP5622656B2 (en) Wireless communication system