Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7618607B2 - Elevator system and firmware transmission method - Google Patents
[go: Go Back, main page]

JP7618607B2 - Elevator system and firmware transmission method - Google Patents

Elevator system and firmware transmission method Download PDF

Info

Publication number
JP7618607B2
JP7618607B2 JP2022030614A JP2022030614A JP7618607B2 JP 7618607 B2 JP7618607 B2 JP 7618607B2 JP 2022030614 A JP2022030614 A JP 2022030614A JP 2022030614 A JP2022030614 A JP 2022030614A JP 7618607 B2 JP7618607 B2 JP 7618607B2
Authority
JP
Japan
Prior art keywords
controller
firmware
elevator
sub
transmission
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.)
Active
Application number
JP2022030614A
Other languages
Japanese (ja)
Other versions
JP2023127066A (en
Inventor
英光 納谷
貴大 羽鳥
訓 鳥谷部
祐太 助川
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2022030614A priority Critical patent/JP7618607B2/en
Priority to PCT/JP2022/043113 priority patent/WO2023166795A1/en
Priority to CN202280077187.8A priority patent/CN118284573A/en
Publication of JP2023127066A publication Critical patent/JP2023127066A/en
Application granted granted Critical
Publication of JP7618607B2 publication Critical patent/JP7618607B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B66HOISTING; LIFTING; HAULING
    • B66BELEVATORS; ESCALATORS OR MOVING WALKWAYS
    • B66B3/00Applications of devices for indicating or signalling operating conditions of elevators
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B66HOISTING; LIFTING; HAULING
    • B66BELEVATORS; ESCALATORS OR MOVING WALKWAYS
    • B66B5/00Applications of checking, fault-correcting, or safety devices in elevators
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Indicating And Signalling Devices For Elevators (AREA)
  • Maintenance And Inspection Apparatuses For Elevators (AREA)
  • Stored Programmes (AREA)

Description

本発明は、エレベーターシステム及びファームウェア送信方法に関する。 The present invention relates to an elevator system and a firmware transmission method.

従来、エレベーターシステム100は、複数の制御コントローラから構成されている。そして、任意の1台の制御コントローラが、複数の制御コントローラのプログラムを更新する、1対Nの構成でプログラム更新するシステムが知られている。 Conventionally, an elevator system 100 is composed of multiple controllers. A system is known in which any one controller updates the programs of multiple controllers in a 1:N configuration.

特許文献1には、「サーバは、複数のエレベーターの中の予め定められた1台の代表エレベーターに対して、代表エレベーター上にある更新前の版の制御プログラムと、更新すべき最新版の制御プログラムとの差分情報を含む更新データを通信回線を介して配信し、代表エレベーターは、サーバから受信した更新データに基づいて自己の制御プログラムを更新するとともに、予め定められた転送順番に従って次に転送すべきエレベーターに対して、更新データをネットワークを介して送信する」と記載されている。 Patent document 1 states that "the server distributes update data, including difference information between the pre-update version of the control program on the representative elevator and the latest version of the control program to be updated, to one predetermined representative elevator among multiple elevators via a communication line, and the representative elevator updates its own control program based on the update data received from the server, and transmits the update data via the network to the elevator to which the data should be transferred next in accordance with a predetermined transfer order."

特許文献2には、「伝送手順制御手段は、伝送路を介して複数の制御装置へ更新用の運転制御プログラムを伝送する伝送時間と、複数の制御装置が更新用の運転制御プログラムに書き換える書換時間とからエレベーターの停止時間を算出し、算出した停止時間に基づいて複数の制御装置へ更新用の運転制御プログラムを伝送する順番を選択する」と記載されている。 Patent document 2 states that "the transmission procedure control means calculates the elevator stop time from the transmission time for transmitting the update operation control program to the multiple control devices via the transmission path and the rewrite time for the multiple control devices to rewrite it to the update operation control program, and selects the order in which to transmit the update operation control program to the multiple control devices based on the calculated stop time."

特許第4963292号Patent No. 4963292 特許第5072411号Patent No. 5072411

特許文献1に記載されているように、予め1台の代表エレベーターを定め、且つ予め更新データの転送順番を定めている場合、代表エレベーター以外のエレベーターから更新データを更新することはできない。代表エレベーターに不具合が発生すると、代表エレベーターの処理の負荷が高い場合等、データの更新処理を実施できない場合があった。さらに、予め定められた順番でしか更新処理を実行できないため、順番が決められた全てのエレベーターが更新処理を実行できる状態でしかエレベーターが更新処理を完遂することができなかった。例えば、1基のエレベーターのみが不具合発生や保守作業中であっても、制御処理が高負荷であると、更新処理を受け付けないため、通信処理に遅延又は通信遮断が起きる等の課題があった。 As described in Patent Document 1, when one representative elevator is designated in advance and the transfer order of update data is determined in advance, update data cannot be updated from elevators other than the representative elevator. If a malfunction occurs in the representative elevator, data update processing may not be possible if the processing load of the representative elevator is high. Furthermore, because update processing can only be performed in a predetermined order, an elevator can only complete update processing when all elevators in the designated order are able to perform the update processing. For example, even if only one elevator has a malfunction or is undergoing maintenance, if the control processing is under high load, the elevator will not accept the update processing, resulting in issues such as delays in communication processing or communication interruptions.

また、特許文献2には、伝送時間と書換時間とに基づいてエレベーターの停止時間を算出することが記載されている。しかし、プログラム容量、通信デバイス性能、及び、記憶デバイス書換性能は、予め定められた条件に該当しなければならない。特許文献1に記載された技術と同じく、実際の運用状態に適していない場合もあった。 Patent Document 2 also describes calculating the elevator stop time based on the transmission time and rewrite time. However, the program capacity, communication device performance, and storage device rewrite performance must meet predefined conditions. As with the technology described in Patent Document 1, this technology may not be suitable for actual operating conditions.

本発明はこのような状況に鑑みて成されたものであり、エレベーターの運行状態に応じてファームウェアを更新するコントローラの順番を変更することを目的とする。 The present invention was made in consideration of these circumstances, and aims to change the order in which controllers update firmware depending on the elevator's operating status.

本発明に係るエレベーターシステムは、ファームウェアを送信するマスタコントローラと、ファームウェアを受信してファームウェアを更新するサブコントローラとを備える。マスタコントローラは、エレベーターの運行状態に応じて、複数のサブコントローラに対するファームウェアの送信順番を生成し、送信順番が優先されるサブコントローラに対して、ファームウェア及び送信順番を含む第1送信データを送信する。送信順番が優先されるサブコントローラは、マスタコントローラから第1送信データを受信してファームウェアの更新を行い、送信順番が次に優先されるサブコントローラに第1送信データを送信する。 The elevator system according to the present invention comprises a master controller that transmits firmware, and a sub-controller that receives the firmware and updates the firmware. The master controller generates a firmware transmission order for a plurality of sub-controllers according to the operating state of the elevator, and transmits first transmission data including the firmware and the transmission order to the sub-controller whose transmission order has priority. The sub-controller whose transmission order has priority receives the first transmission data from the master controller, updates the firmware, and transmits the first transmission data to the sub-controller whose transmission order has the next priority.

本発明によれば、エレベーターの運行状態に応じてファームウェアの送信順番を生成するため、予めファームウェアの送信順番を決める必要がない。
上記した以外の課題、構成及び効果は、以下の実施形態の説明により明らかにされる。
According to the present invention, the firmware transmission order is generated according to the elevator operation status, so there is no need to determine the firmware transmission order in advance.
Problems, configurations and effects other than those described above will become apparent from the following description of the embodiments.

本発明の一実施形態に係るエレベーターシステムの全体構成例を示す図である。1 is a diagram showing an example of the overall configuration of an elevator system according to an embodiment of the present invention; 本発明の一実施形態に係るコントローラのハードウェア構成例を示すブロック図である。FIG. 2 is a block diagram showing an example of a hardware configuration of a controller according to an embodiment of the present invention. 本発明の一実施形態に係るマスタコントローラとサブコントローラを含むパケット通信システムの基本構成例を示すブロック図である。1 is a block diagram showing an example of a basic configuration of a packet communication system including a master controller and a sub-controller according to an embodiment of the present invention. 本発明の一実施形態に係るパケットの基本構成例を示す図である。図4Aは、パケットの内部構成例を示す図である。図4Bは、マスタコントローラと、各サブコントローラとで生成されるパケットの例を示す図である。Fig. 4A is a diagram showing an example of a basic configuration of a packet according to an embodiment of the present invention, Fig. 4B is a diagram showing an example of an internal configuration of a packet, Fig. 4A is a diagram showing an example of a packet generated by a master controller and each sub-controller, 本発明の一実施形態に係るパケット通信システムの正常通信処理の例を示すフローチャートである。10 is a flowchart illustrating an example of normal communication processing in the packet communication system according to an embodiment of the present invention. 本発明の一実施形態に係るサブコントローラの処理の例を示すフローチャートである。10 is a flowchart illustrating an example of processing of a sub-controller according to an embodiment of the present invention. 本発明の一実施形態に係る異常通知メッセージのパケット構成例を示す図である。10 is a diagram illustrating an example of a packet configuration of an abnormality notification message according to an embodiment of the present invention. FIG. 本発明の一実施形態に係るサブコントローラが異常の発生を通知する処理の例を示すフローチャートである。10 is a flowchart illustrating an example of a process in which a subcontroller according to an embodiment of the present invention notifies the occurrence of an abnormality. 本発明の一実施形態に係るサブコントローラがパケット送信の失敗時に行われる異常対応処理の一例を示すフローチャートである。10 is a flowchart showing an example of an abnormality handling process performed by a sub-controller according to an embodiment of the present invention when packet transmission fails. 本発明の一実施形態に係る通信エラーが発生したサブコントローラをスキップして、ファームイメージの更新処理を継続する処理の例を示すフローチャートである。11 is a flowchart illustrating an example of a process for skipping a subcontroller in which a communication error has occurred and continuing firmware image update processing according to an embodiment of the present invention. 本発明の一実施形態に係るエレベーターコントローラと、複数のフロアコントローラと、で構成されたツリー構造の例を示すブロック図である。FIG. 2 is a block diagram showing an example of a tree structure including an elevator controller and a plurality of floor controllers according to an embodiment of the present invention. 本発明の一実施形態に係るフロアの呼び登録の有無に応じた順番の生成処理の例を示すフローチャートである。13 is a flowchart illustrating an example of a process for generating a sequence according to the presence or absence of a call registration on a floor according to 本発明の一実施形態に係るフロアの滞在人数に応じた順番の生成処理の例を示すフローチャートである。13 is a flowchart illustrating an example of a process for generating an order according to the number of visitors on a floor according to an embodiment of the present invention. 本発明の一実施形態に係る群管理コントローラと、複数のエレベーターコントローラと、で構成されるツリー構造の例を示すブロック図である。FIG. 2 is a block diagram showing an example of a tree structure including a group management controller and a plurality of elevator controllers according to an embodiment of the present invention. 本発明の一実施形態に係るエレベーターの呼びの割当数に応じた順番の生成処理の例を示すフローチャートである。10 is a flowchart illustrating an example of a process for generating a sequence according to the number of assigned elevator calls in accordance with an embodiment of the present invention. 本発明の一実施形態に係る通信コントローラと、複数の群管理コントローラと、で構成されるツリー構造の例を示すブロック図である。1 is a block diagram showing an example of a tree structure including a communication controller and a plurality of group management controllers according to an embodiment of the present invention. 本発明の一実施形態に係るエレベーターへの呼びの割当数と、割当処理状態に応じた順番の生成処理の例を示すフローチャートである。11 is a flowchart showing an example of a process for generating the number of calls to be assigned to an elevator and a sequence according to the status of the assignment process in one embodiment of the present invention. 本発明の一実施形態に係る群管理コントローラがファームイメージを適用するための再起動を判断する処理の例を示すフローチャートである。10 is a flowchart illustrating an example of a process in which a group management controller according to an embodiment of the present invention determines whether to reboot in order to apply a firmware image. 本発明の一実施形態に係るエレベーターコントローラがファームイメージを適用するための再起動を判断する処理の例を示すフローチャートである。10 is a flowchart illustrating an example of a process in which an elevator controller in one embodiment of the present invention determines whether to reboot in order to apply a firmware image. 本発明の一実施形態に係るフロアコントローラがファームイメージを適用するために再起動する処理の例を示すフローチャートである。11 is a flowchart illustrating an example of a process in which a floor controller according to an embodiment of the present invention reboots to apply a firmware image.

以下、本発明を実施するための形態に係るエレベーターシステム及びファームウェア送信方法の一例について、添付図面を参照して説明する。本明細書及び図面において、実質的に同一の機能又は構成を有する構成要素については、同一の符号を付することにより重複する説明を省略する。なお、本発明は以下の実施形態に限定されるものではない。 Below, an example of an elevator system and a firmware transmission method according to an embodiment of the present invention will be described with reference to the accompanying drawings. In this specification and the drawings, components having substantially the same functions or configurations are denoted by the same reference numerals, and duplicated descriptions will be omitted. Note that the present invention is not limited to the following embodiment.

[一実施形態]
図1は、本発明の一実施形態に係るエレベーターシステム100の全体構成例を示す図である。
図1では、エレベーターシステム100の説明を簡略化するために、1基のエレベーター15の詳細な構成要素を図示しており、他のエレベーター15については詳細な構成要素の図示を省略する。
[One embodiment]
FIG. 1 is a diagram showing an example of the overall configuration of an elevator system 100 according to an embodiment of the present invention.
In FIG. 1 , in order to simplify the explanation of the elevator system 100 , detailed components of one elevator 15 are illustrated, and detailed components of the other elevators 15 are not illustrated.

エレベーターシステム100は、複数のエレベーター15を管理し、運行を監視し、保守するために、例えば、エレベーター15から遠隔に設置されているセンタ1を有する。また、エレベーターシステム100は、通信コントローラ3、群管理コントローラ4、エレベーターコントローラ5、かごコントローラ10、フロアコントローラ11及び保守端末19を有する。 The elevator system 100 has a center 1 that is installed, for example, remotely from the elevators 15 to manage multiple elevators 15, monitor their operation, and perform maintenance. The elevator system 100 also has a communication controller 3, a group management controller 4, an elevator controller 5, a car controller 10, a floor controller 11, and a maintenance terminal 19.

センタ1は、専用回線のような有線又は無線による閉回路網やインターネットのような公衆回線である通信網2を経由して通信コントローラ3に接続されている。
通信コントローラ3は、センタ1とエレベーターとの間のデータ転送、遠隔操作及び遠隔保守を実行するための通信を担うコントローラである。通信コントローラ3は、通信路17を介して、群管理コントローラ4に接続されている。通信コントローラ3は、複数のエレベーターコントローラ5の動作を制御する複数の群管理コントローラ4に対する通信を制御する。
The center 1 is connected to a communication controller 3 via a communication network 2, which may be a wired or wireless closed circuit network such as a dedicated line, or a public line such as the Internet.
The communication controller 3 is a controller responsible for communications for performing data transfer, remote operation, and remote maintenance between the center 1 and the elevators. The communication controller 3 is connected to the group management controller 4 via a communication path 17. The communication controller 3 controls communications with multiple group management controllers 4 which control the operations of multiple elevator controllers 5.

群管理コントローラ4は、エレベーター15の動作を制御する複数のエレベーターコントローラ5の動作を制御する。そこで、群管理コントローラ4は、複数のエレベーター15をエレベーターグループ18としてまとめて運行制御する。群管理コントローラ4は、複数のエレベーターコントローラ5と、通信路16を介して接続されている。 The group management controller 4 controls the operation of multiple elevator controllers 5, which in turn control the operation of elevators 15. The group management controller 4 then controls the operation of multiple elevators 15 as an elevator group 18. The group management controller 4 is connected to the multiple elevator controllers 5 via a communication path 16.

エレベーター15は、エレベーターコントローラ5、かごコントローラ10及びフロアコントローラ11を備える。 The elevator 15 includes an elevator controller 5, a car controller 10, and a floor controller 11.

エレベーターコントローラ5は、エレベーター15の動作を制御しており、かご7の上下移動及び停止の制御を実現することで利用者に上下移動のサービスを提供する。このサービスを提供するため、エレベーターコントローラ5は、主機であるモーター6を制御して、かご7と、カウンターウェイト8と、を連結しているロープ9の動きを操作する。エレベーターコントローラ5は、1台のかごコントローラ10と、複数のフロアコントローラ11と、通信路12を経由して接続されている。 The elevator controller 5 controls the operation of the elevator 15, and provides users with an up and down movement service by controlling the up and down movement and stopping of the car 7. To provide this service, the elevator controller 5 controls the motor 6, which is the main engine, to operate the movement of the rope 9 connecting the car 7 and the counterweight 8. The elevator controller 5 is connected to one car controller 10 and multiple floor controllers 11 via a communication path 12.

かごコントローラ10は、かご7内に設置されている行先階ボタン及びドア開閉ボタン13の、利用者による操作状況に対応して、かごドアの開閉動作を行い、エレベーターコントローラ5にかご状況の変化を伝える。 The car controller 10 opens and closes the car doors in response to the user's operation of the destination floor button and door open/close button 13 installed in the car 7, and notifies the elevator controller 5 of changes in the car status.

フロアコントローラ11は、エレベーター15が昇降するフロアごとに設けられ、フロアの状況をエレベーターコントローラ5に伝える。例えば、フロアコントローラ11は、各階床に設置される上下ボタン14の、各階における利用者による操作状況を監視して、エレベーターコントローラ5にフロアの状況変化を伝える。上下ボタン14の代わりに、乗客がかごへの乗車前に行先階を登録可能な行先階登録装置を具備するエレベーターシステムもある。 A floor controller 11 is provided for each floor on which the elevator 15 ascends and descends, and communicates the floor status to the elevator controller 5. For example, the floor controller 11 monitors the operation status of the up and down buttons 14 installed on each floor by users on each floor, and communicates changes in the floor status to the elevator controller 5. Some elevator systems are equipped with a destination floor registration device instead of the up and down buttons 14, which allows passengers to register their destination floor before getting into the car.

図1を示して説明したように、エレベーターシステム100は、複数のコントローラが1対N構成であるツリー構造が多段に階層化されたシステムである。また、同一種別のコントローラが複数存在する場合には、当該コントローラの任意の一台をツリー構造のルートとし、残りのコントローラをツリー構造のリーフとしてツリー構造を構成することも可能である。 As explained with reference to FIG. 1, elevator system 100 is a system in which a tree structure in which multiple controllers are configured in a 1:N configuration is arranged in multiple hierarchical stages. In addition, when there are multiple controllers of the same type, it is also possible to configure the tree structure with any one of the controllers as the root of the tree structure and the remaining controllers as leaves of the tree structure.

センタ1は、各コントローラで用いられるファームウェアをファームイメージ31(後述する図3を参照)として不図示の記憶部に保持している。センタ1は、通信網2、通信路12、16、17と、通信路に接続されている各種のコントローラと、を経由することにより、任意のコントローラにファームウェアを送信することが可能である。 The center 1 stores the firmware used by each controller as a firmware image 31 (see FIG. 3 described later) in a storage unit (not shown). The center 1 can transmit firmware to any controller via the communication network 2, communication paths 12, 16, and 17, and various controllers connected to the communication paths.

通信網2に接続される保守端末19は、センタ1からファームウェアをコピーすることができる。保守端末19は、ファームウェアをコピーした後、任意のコントローラに接続されることで、保守端末19が保持するファームウェアを、接続したコントローラに出力可能である。このため、保守端末19は、保守端末19に接続したコントローラにファームウェアを保持させることができる。また、ファームウェアを保持したコントローラは、自身のファームウェアをアップデートしたり、他のコントローラにファームウェアを送信したりすることができる。 A maintenance terminal 19 connected to the communication network 2 can copy firmware from the center 1. After copying the firmware, the maintenance terminal 19 can be connected to any controller and output the firmware held by the maintenance terminal 19 to the connected controller. Therefore, the maintenance terminal 19 can cause the controller connected to the maintenance terminal 19 to hold the firmware. In addition, a controller that holds the firmware can update its own firmware or send the firmware to other controllers.

なお、各コントローラがファームウェアを更新する方法としては、ファームウェアの全体イメージを用いた全体更新の場合と、新旧のファームウェアの差分イメージを用いて部分的に差分更新する場合と、がある。 The methods by which each controller updates firmware include a full update using a full firmware image, and a partial update using a difference image between the old and new firmware.

<コントローラのハードウェア構成例>
次に、エレベーターシステム100が備える各コントローラ20のハードウェア構成について、図2を参照して説明する。ここでは、通信コントローラ3、群管理コントローラ4,エレベーターコントローラ5、かごコントローラ10,フロアコントローラ11が備える計算機のハードウェア構成を説明する。これらを総称してコントローラ20と呼ぶ。
<Controller hardware configuration example>
Next, the hardware configuration of each controller 20 provided in the elevator system 100 will be described with reference to Fig. 2. Here, the hardware configuration of the computers provided in the communication controller 3, the group management controller 4, the elevator controller 5, the car controller 10, and the floor controller 11 will be described. These are collectively referred to as the controllers 20.

図2は、コントローラ20のハードウェア構成例を示すブロック図である。
コントローラ20は、システムバス21に、それぞれ接続されたMPU(Micro Processing Unit)22、ROM(Read Only Memory)23、RAM(Random Access Memory)24、及び通信インタフェース25を備える。なお、MPUに類する演算装置の上位概念としてCPU(Central Processing Unit)がある。
FIG. 2 is a block diagram showing an example of the hardware configuration of the controller 20.
The controller 20 includes an MPU (Micro Processing Unit) 22, a ROM (Read Only Memory) 23, a RAM (Random Access Memory) 24, and a communication interface 25, which are all connected to a system bus 21. Note that a CPU (Central Processing Unit) is a higher-level concept of a computing device similar to an MPU.

MPU22、ROM23、RAM24は、処理部を構成する。MPU22は、本実施形態の形態で、係る各機能を実現するプログラムコードのバイナリデータであるファームイメージ31(後述する図3を参照)はROM23に記録されており、ROM23からリードしてRAM24にロードし、プログラムコードを実行する。また、MPU22は、プログラムコードをROM23から直接リードしてそのままプログラムコードを実行する場合もある。 The MPU 22, ROM 23, and RAM 24 constitute a processing unit. In this embodiment, a firmware image 31 (see FIG. 3 described later), which is binary data of program code that realizes each of the relevant functions, is recorded in the ROM 23, and the MPU 22 reads it from the ROM 23, loads it into the RAM 24, and executes the program code. The MPU 22 may also read the program code directly from the ROM 23 and execute the program code as is.

RAM24には、MPU22で行われる処理の実行途中で発生した変数やパラメータ等が一時的に書き込まれ、これらの変数及びパラメータ等がMPU22から適宜読み出される。 Variables, parameters, etc. that arise during the execution of processing performed by the MPU 22 are temporarily written to the RAM 24, and these variables, parameters, etc. are read out by the MPU 22 as appropriate.

コントローラ20は、通信インタフェース25を通じて、複数のコントローラ20間でデータを送受信することが可能である。各コントローラ20間を接続する通信路として、例えば、RS-485のようなマルチドロップ形態のシリアル通信デバイスや、イーサネット(登録商標)のような複数のトポロジを提供する有線の通信路であるLAN(Local Area Network)、WAN(Wide Area Network)、さらには無線の通信路であるRAN(Radio Area Network)がある。各コントローラ20は、例えば、Wi-Fi(登録商標)のような無線や、インフラ無線通信によって、各コントローラのデータを装置間で送受信することが可能となる。 The controllers 20 can transmit and receive data between the multiple controllers 20 through the communication interface 25. The communication paths connecting the controllers 20 include, for example, a multi-drop serial communication device such as RS-485, a wired communication path such as Ethernet (registered trademark) that provides multiple topologies, a Local Area Network (LAN), a Wide Area Network (WAN), and even a wireless communication path such as a Radio Area Network (RAN). The controllers 20 can transmit and receive data between devices, for example, wirelessly, such as Wi-Fi (registered trademark), or through infrastructure wireless communication.

なお、ROM23へのデータの書換時に生じる不具合に対処するために、コントローラ20が複数のROM23を搭載する場合がある。この構成であれば、一方のROM23に現在のファームイメージ31(ファームウェアの一例)が記録され、他方のROM23に新規のファームイメージ31が記録される。後者のROM23に対する新規のファームイメージ31の書換時に不具合が発生しても、前者のROM23には、現在のファームイメージ31が残っているので、現状復帰が可能である。また、コントローラ20は、ROM23が複数ある場合には、所望のファームイメージ31が記憶されているROM23を選択して起動する。 In order to deal with problems that may occur when data is rewritten to the ROM 23, the controller 20 may be equipped with multiple ROMs 23. In this configuration, the current firmware image 31 (an example of firmware) is recorded in one ROM 23, and a new firmware image 31 is recorded in the other ROM 23. Even if a problem occurs when rewriting the new firmware image 31 to the latter ROM 23, the current firmware image 31 remains in the former ROM 23, making it possible to restore the current state. Furthermore, when there are multiple ROMs 23, the controller 20 selects the ROM 23 in which the desired firmware image 31 is stored and starts it up.

<マスタコントローラとサブコントローラの基本システム構成>
次に、図1に示したエレベーターシステム100の実施形態に基づいて、本発明の実施形態に係るマスタコントローラとサブコントローラの基本システム構成について説明する。
図3は、マスタコントローラ30とサブコントローラ40を含むパケット通信システム200の基本構成例を示すブロック図である。
<Basic system configuration of master controller and sub-controller>
Next, a basic system configuration of a master controller and a sub-controller according to an embodiment of the present invention will be described based on the embodiment of the elevator system 100 shown in FIG.
FIG. 3 is a block diagram showing an example of a basic configuration of a packet communication system 200 including a master controller 30 and a sub-controller 40. As shown in FIG.

パケット通信システム200は、ファームイメージ31を送信するマスタコントローラ30と、ファームイメージ31を受信してファームイメージ31を更新するサブコントローラ40とを備えるエレベーターシステム100の一形態である。図1に示したように、エレベーターシステム100は、複数のコントローラが1対Nで接続されるツリー構造が、多重に組み合わさっている大規模なシステムである。ここでは、1台のコントローラ20をマスタコントローラ30、N台のコントローラ20をサブコントローラ40としたパケット通信システム200について説明する。また、パケット通信システム200では、同階層、又は異なる階層のコントローラ20をマスタとサブの関係としている。マスタとサブの関係は、隣接する階層だけでなく、一又は複数の階層をまたいでもよい。例えば、一つの群管理コントローラ4をマスタコントローラ30とし、エレベーターコントローラ5をまたいで、複数のフロアコントローラ11をサブコントローラ40とすることも可能である。 The packet communication system 200 is one form of the elevator system 100 that includes a master controller 30 that transmits a firmware image 31 and a sub-controller 40 that receives the firmware image 31 and updates the firmware image 31. As shown in FIG. 1, the elevator system 100 is a large-scale system in which a tree structure in which multiple controllers are connected in a 1:N ratio is multiplexed. Here, a packet communication system 200 in which one controller 20 is the master controller 30 and N controllers 20 are the sub-controllers 40 will be described. In addition, in the packet communication system 200, controllers 20 in the same hierarchy or different hierarchy have a master-sub relationship. The master-sub relationship may be not only between adjacent hierarchies, but also across one or more hierarchies. For example, it is also possible to use one group management controller 4 as the master controller 30 and multiple floor controllers 11 as the sub-controllers 40 across elevator controllers 5.

マスタコントローラ30は、エレベーター15の運行状態に応じて、複数のサブコントローラ40に対するファームイメージ31の送信順番を生成する。そして、マスタコントローラ30は、送信順番が優先されるサブコントローラ40に対して、ファームイメージ31及び送信順番を含むパケット50を送信する。マスタコントローラ30は、通信路37を介して、サブコントローラ40に接続されている。マスタコントローラ30からパケット50が直接送信されるサブコントローラ40は、送信順番が最先であることが多い。ただし、パケット50を受信するサブコントローラ40に異常が生じた場合、マスタコントローラ30は、異常が生じたサブコントローラ40の次の送信順番であるサブコントローラ40を優先してパケット50を送信することがある。このようにマスタコントローラ30は、送信順番が優先されるサブコントローラ40にパケット50を送信するので、送信順番が優先されるサブコントローラ40がパケット50を受信できる。また、パケット50を受信したサブコントローラ40は、送信順番が次に優先されるサブコントローラ40にパケット50を送信するので、パケット50が複数のサブコントローラ40を転送されることとなる。このため、マスタコントローラ30が複数のサブコントローラ40にパケット50を一斉配信する場合に比べて、各サブコントローラ40にパケット50を確実に送信することが可能となる。 The master controller 30 generates a transmission order of the firmware image 31 for the multiple subcontrollers 40 according to the operating state of the elevator 15. Then, the master controller 30 transmits a packet 50 including the firmware image 31 and the transmission order to the subcontroller 40 whose transmission order is to be prioritized. The master controller 30 is connected to the subcontrollers 40 via a communication path 37. The subcontroller 40 to which the packet 50 is directly transmitted from the master controller 30 is often the first in the transmission order. However, if an abnormality occurs in the subcontroller 40 that receives the packet 50, the master controller 30 may transmit the packet 50 by giving priority to the subcontroller 40 whose transmission order is next to the abnormal subcontroller 40. In this way, the master controller 30 transmits the packet 50 to the subcontroller 40 whose transmission order is to be prioritized, so that the subcontroller 40 whose transmission order is to be prioritized can receive the packet 50. In addition, the subcontroller 40 that receives the packet 50 transmits the packet 50 to the subcontroller 40 whose transmission order is to be prioritized next, so that the packet 50 is transferred to multiple subcontrollers 40. This makes it possible to reliably transmit packets 50 to each sub-controller 40, compared to when the master controller 30 simultaneously distributes packets 50 to multiple sub-controllers 40.

このマスタコントローラ30は、ファームイメージ31、イメージ分割部32、運行状態取得部33、順番生成部34、パケット生成部35及びマスタ通信部36を備える。 This master controller 30 includes a firmware image 31, an image division unit 32, an operation status acquisition unit 33, a sequence generation unit 34, a packet generation unit 35, and a master communication unit 36.

ファームイメージ31は、ファームウェアの実体である。ファームウェアは、コントローラ20の動作を制御するプログラムの一例である。ファームイメージ31は、マスタコントローラ30に設けられたROM23等に保存される。 The firmware image 31 is the actual firmware. Firmware is an example of a program that controls the operation of the controller 20. The firmware image 31 is stored in the ROM 23 or the like provided in the master controller 30.

イメージ分割部32は、ファームイメージ31を分割するファームウェア分割部の一例として用いられる。イメージ分割部32がファームイメージ31を分割するため、1回当たりの通信でサブコントローラ40に送信されるパケット50のバイナリデータ57(後述する図4Aを参照)のデータ量が減少する。マスタコントローラ30とサブコントローラ40との間の通信路37の通信効率を向上させることができる。 The image dividing unit 32 is used as an example of a firmware dividing unit that divides the firmware image 31. Because the image dividing unit 32 divides the firmware image 31, the amount of binary data 57 (see FIG. 4A described later) of the packet 50 transmitted to the subcontroller 40 in each communication is reduced. The communication efficiency of the communication path 37 between the master controller 30 and the subcontroller 40 can be improved.

運行状態取得部33は、エレベーターの運行状態を取得する。エレベーター15の運行状態は、例えば、かご状態、呼びの割当状態等を含む。運行状態取得部33は、かごコントローラ10、フロアコントローラ11等から運行状態を取得できる。 The operation status acquisition unit 33 acquires the operation status of the elevator. The operation status of the elevator 15 includes, for example, the car status, the call allocation status, etc. The operation status acquisition unit 33 can acquire the operation status from the car controller 10, the floor controller 11, etc.

順番生成部34は、イメージ分割部32により分割されたファームイメージ31の送信先であるサブコントローラ40の送信順番を、運行状態取得部33が取得したエレベーター15の運行状態に応じて生成する。なお、ファームイメージ31のファイルサイズが十分に小さい場合、分割されないファームイメージ31がサブコントローラ40に送信されることがある。 The sequence generation unit 34 generates the transmission sequence of the sub-controller 40, which is the destination of the firmware image 31 divided by the image division unit 32, according to the operation status of the elevator 15 acquired by the operation status acquisition unit 33. Note that if the file size of the firmware image 31 is sufficiently small, the firmware image 31 may be transmitted to the sub-controller 40 without being divided.

パケット生成部35(第1送信データ生成部の一例)は、順番生成部34が生成した送信順番にしたがってマスタコントローラ30がサブコントローラ40にファームイメージ31を送信するためのパケット50を生成する。パケット50は、第1送信データの一例として用いられる。後述する図4に示すように、パケット生成部35は、パケット50の送信元であるマスタコントローラ30を識別する情報(送信元51)と、パケット50の送信先であるサブコントローラ40を識別する情報(送信先52)と、送信順番(送信順番53)と、分割されたファームイメージ31の構築順番(番号56)と、分割されたファームイメージ31(バイナリデータ57)とを含むパケット50を生成する。 The packet generator 35 (an example of a first transmission data generator) generates a packet 50 for the master controller 30 to transmit the firmware image 31 to the sub-controller 40 according to the transmission order generated by the order generator 34. The packet 50 is used as an example of the first transmission data. As shown in FIG. 4 described later, the packet generator 35 generates a packet 50 including information (source 51) identifying the master controller 30 that is the source of the packet 50, information (destination 52) identifying the sub-controller 40 that is the destination of the packet 50, the transmission order (transmission order 53), the construction order (number 56) of the divided firmware image 31, and the divided firmware image 31 (binary data 57).

マスタ通信部36は、順番生成部34により生成された送信順番が最先であるサブコントローラ40に対して、パケット生成部35により生成されたパケット50を送信する。 The master communication unit 36 transmits the packet 50 generated by the packet generation unit 35 to the sub-controller 40 that has the earliest transmission order generated by the order generation unit 34.

送信順番が優先されるサブコントローラ40は、マスタコントローラ30からパケット50を受信してファームイメージ31の更新を行い、送信順番が次に優先されるサブコントローラ40にパケット50を送信する。このサブコントローラ40は、サブ通信部41、パケット解釈部42、送信先抽出部43、パケット生成部44、イメージ構築部45及びファームイメージ記憶部46を備える。 The sub-controller 40 that has priority in the transmission order receives a packet 50 from the master controller 30, updates the firmware image 31, and transmits the packet 50 to the sub-controller 40 that has the next priority in the transmission order. This sub-controller 40 includes a sub-communication unit 41, a packet interpretation unit 42, a destination extraction unit 43, a packet generation unit 44, an image construction unit 45, and a firmware image storage unit 46.

サブ通信部41は、通信路37に接続されている。このサブ通信部41は、通信路37を介してマスタコントローラ30、又はパケット50の送信元である他のサブコントローラ40からパケット50を受信する第2通信部の一例として用いられる。 The sub-communication unit 41 is connected to the communication path 37. This sub-communication unit 41 is used as an example of a second communication unit that receives packets 50 from the master controller 30 or another sub-controller 40 that is the source of the packets 50 via the communication path 37.

パケット解釈部42は、サブ通信部41が受信したパケット50を解釈するデータ解釈部の一例として用いられる。パケット50の解釈は、規定のパケットフォーマットに従って、パケット50からデータを取り出し、所定の出力先にデータを出力する処理である。パケット解釈部42が解釈したファームイメージ31の分割されたイメージデータは、イメージ構築部45に出力される。また、パケット解釈部42によるパケット50の解釈結果は送信先抽出部43に出力される。 The packet interpretation unit 42 is used as an example of a data interpretation unit that interprets the packet 50 received by the sub-communication unit 41. The interpretation of the packet 50 is a process of extracting data from the packet 50 according to a specified packet format and outputting the data to a specified output destination. The divided image data of the firmware image 31 interpreted by the packet interpretation unit 42 is output to the image construction unit 45. In addition, the interpretation result of the packet 50 by the packet interpretation unit 42 is output to the destination extraction unit 43.

送信先抽出部43は、パケット解釈部42が解釈した送信順番に基づいて、パケット50の次の送信先であるサブコントローラ40を抽出する。 The destination extraction unit 43 extracts the sub-controller 40 that is the next destination of the packet 50 based on the transmission order interpreted by the packet interpretation unit 42.

パケット生成部44は、パケット50の次の送信先であるサブコントローラ40にファームイメージ31を送信するためのパケット50(第2送信データの一例)を生成する第2送信データ生成部の一例として用いられる。例えば、パケット生成部44は、パケット解釈部42によるパケット50の解釈結果と、送信先抽出部43により抽出されたパケットの送信先である残りのサブコントローラ40の送信順番とに基づいて、新たなパケット50を生成する。パケット生成部44が生成するパケット50に含まれるファームイメージ31の分割されたイメージデータは、基本的には、サブ通信部41が受信したパケット50に含まれる、ファームイメージ31の分割されたイメージデータと同じである。パケット生成部44によりパケット50が生成されると、サブ通信部41が、パケット50に格納された送信順番に基づいて、次の送信先であるサブコントローラ40にパケット50を送信する。 The packet generation unit 44 is used as an example of a second transmission data generation unit that generates a packet 50 (an example of second transmission data) for transmitting the firmware image 31 to the sub-controller 40, which is the next destination of the packet 50. For example, the packet generation unit 44 generates a new packet 50 based on the interpretation result of the packet 50 by the packet interpretation unit 42 and the transmission order of the remaining sub-controllers 40, which are the destinations of the packet extracted by the destination extraction unit 43. The divided image data of the firmware image 31 contained in the packet 50 generated by the packet generation unit 44 is basically the same as the divided image data of the firmware image 31 contained in the packet 50 received by the sub-communication unit 41. When the packet generation unit 44 generates the packet 50, the sub-communication unit 41 transmits the packet 50 to the sub-controller 40, which is the next destination, based on the transmission order stored in the packet 50.

イメージ構築部45は、パケット解釈部42が解釈した、分割されたファームイメージ31を構築順番に従って元のファームイメージ31に構築するファームウェア構築部の一例として用いられる。イメージ構築部45は、パケット解釈部42から受け取った、分割されたファームイメージ31を溜めるバッファ(不図示)を有する。そして、分割されたファームイメージ31がバッファに十分溜まると、ファームイメージ31を再構築する。 The image construction unit 45 is used as an example of a firmware construction unit that constructs the divided firmware images 31 interpreted by the packet interpretation unit 42 into the original firmware image 31 according to the construction order. The image construction unit 45 has a buffer (not shown) that stores the divided firmware images 31 received from the packet interpretation unit 42. Then, when a sufficient amount of the divided firmware images 31 has accumulated in the buffer, the firmware image 31 is reconstructed.

ファームイメージ記憶部46は、イメージ構築部45により構築されたファームイメージ31を記憶する。サブコントローラ40が更新するファームイメージ31は、ファームイメージ記憶部46から読み出されたものである。ファームイメージ記憶部46には、複数のファームイメージ31がバージョンごとに世代管理されてもよい。このため、仮に更新が失敗した場合には、以前のファームイメージ31に戻すことができる。 The firmware image storage unit 46 stores the firmware image 31 constructed by the image construction unit 45. The firmware image 31 updated by the subcontroller 40 is read from the firmware image storage unit 46. The firmware image storage unit 46 may store multiple firmware images 31 in generation management for each version. Therefore, if an update fails, it is possible to revert to the previous firmware image 31.

サブコントローラ40の各部の処理が繰り返し行われることで、エレベーター15の運行状況に応じた効率のよいサブコントローラ40の送信順番に基づいてファームイメージ31の送信が実現される。 By repeatedly performing processing in each part of the subcontroller 40, the firmware image 31 is transmitted based on the most efficient transmission order of the subcontroller 40 according to the operating status of the elevator 15.

運行状態が、例えば深夜時間帯のようにエレベーターシステム100全体が待機状態である場合には、コントローラ20の順番が更新処理に与える影響は少ない。このため、パケット生成部44は、パケット50がサブコントローラ40に送信される順番を、階床数に応じた昇順/降順の順番、コントローラ20に割り当てられているシリアル番号の順番、又は乱数を用いて決定してもよい。 When the elevator system 100 is in standby mode, such as during late night hours, the order of the controllers 20 has little effect on the update process. For this reason, the packet generator 44 may determine the order in which the packets 50 are sent to the sub-controllers 40 using ascending/descending order based on the number of floors, the order of the serial numbers assigned to the controllers 20, or random numbers.

マスタコントローラ30とサブコントローラ40の関係は、保守端末19を使用するユーザが決定してもよい。また、保守端末19からファームイメージ31をダウンロードしたコントローラをマスタコントローラ30とし、他のコントローラをサブコントローラ40として自動的に決定してもよい。 The relationship between the master controller 30 and the sub-controllers 40 may be determined by a user using the maintenance terminal 19. Alternatively, the controller that downloaded the firmware image 31 from the maintenance terminal 19 may be automatically determined as the master controller 30, and the other controllers as the sub-controllers 40.

<パケットの基本構成>
次に、図3に示したパケット通信システム200において生成されるパケット50の基本構成について図4を用いて説明する。
図4は、パケット50の基本構成例を示す図である。
<Basic packet structure>
Next, the basic structure of the packet 50 generated in the packet communication system 200 shown in FIG. 3 will be described with reference to FIG.
FIG. 4 is a diagram showing an example of a basic structure of a packet 50. As shown in FIG.

図4Aは、パケット50の内部構成例を示す図である。
パケット50は、パケット50の送信元51のデータと、パケット50の送信先52のデータと、パケット50の送信順番53のデータと、ファームイメージ31を分割したイメージデータ54と、パケット50のデータ不整合を確認するためのチェックデータ55と、から構成される。
FIG. 4A is a diagram showing an example of the internal structure of a packet 50. As shown in FIG.
Packet 50 is composed of data on the sender 51 of packet 50, data on the destination 52 of packet 50, data on the transmission order 53 of packet 50, image data 54 divided from firmware image 31, and check data 55 for checking for data inconsistencies in packet 50.

イメージデータ54は、図3に示したイメージ分割部32によってファームイメージ31が分割された複数のイメージデータの一つである。このため、イメージデータ54は、ファームイメージ31が分割された構築順番を示す番号56と、分割されたイメージの実体であるバイナリデータ57と、から構成される。このようにパケット50の構造を定義することにより、マスタコントローラ30及びサブコントローラ40は、順番生成部34で生成された複数のサブコントローラ40の順番通りにファームイメージ31を送信できる。このため、各サブコントローラ40は、ファームイメージ31を受信した順番でファームイメージ31を更新することができる。 The image data 54 is one of the multiple image data into which the firmware image 31 is divided by the image division unit 32 shown in FIG. 3. Therefore, the image data 54 is composed of a number 56 indicating the construction order in which the firmware image 31 is divided, and binary data 57 which is the actual entity of the divided image. By defining the structure of the packet 50 in this manner, the master controller 30 and the subcontrollers 40 can transmit the firmware image 31 in the order of the multiple subcontrollers 40 generated by the order generation unit 34. Therefore, each subcontroller 40 can update the firmware image 31 in the order in which it was received.

なお、イメージデータ54又はバイナリデータ57には、通信コントローラ3、群管理コントローラ4、エレベーターコントローラ5、フロアコントローラ11のうち、どのコントローラに対応したファームウェアなのかを示す識別データが含まれている。よって、マスタコントローラ30である場合に各コントローラに搭載されるイメージ構築部45は、識別データによって、別のコントローラ向けのファームウェアを識別することが可能である。 The image data 54 or binary data 57 includes identification data indicating which of the communication controller 3, group management controller 4, elevator controller 5, and floor controller 11 the firmware corresponds to. Therefore, when the controller is the master controller 30, the image construction unit 45 installed in each controller can identify firmware intended for another controller by the identification data.

図4Bは、マスタコントローラ30と、各サブコントローラ40とによって生成されるパケット50の構成例を示す図である。ここでは、4階床の建屋に設けられたエレベーター15を想定する。マスタコントローラ30がエレベーターコントローラ5に対応し、サブコントローラ40がフロアコントローラ11に対応する。そして、送信順番53が、4階―2階―3階―1階の順番として生成された場合を示している。ここで、番号56に格納される「1」は、分割されたファームイメージ31のうち、1番目のバイナリデータであることを表している。 Figure 4B is a diagram showing an example of the configuration of a packet 50 generated by the master controller 30 and each sub-controller 40. Here, we consider an elevator 15 installed in a four-story building. The master controller 30 corresponds to the elevator controller 5, and the sub-controller 40 corresponds to the floor controller 11. In addition, a case is shown in which the transmission order 53 is generated as the order 4th floor - 2nd floor - 3rd floor - 1st floor. Here, the "1" stored in number 56 indicates that this is the first binary data of the divided firmware image 31.

マスタコントローラ30は、送信元51に自身のID番号「0」を設定し、送信先52に送信順番53の最初のID番号「4」を設定し、送信順番53にID番号「4」より後の順番「2-3-1」を設定したパケット50(1)を生成する。このため、送信順番53が最先である4階のフロアコントローラ11にパケット50(1)が送信される。 The master controller 30 generates a packet 50(1) by setting its own ID number "0" in the source 51, setting the first ID number "4" in the transmission order 53 in the destination 52, and setting the order 53 to "2-3-1" after the ID number "4". As a result, the packet 50(1) is transmitted to the floor controller 11 on the fourth floor, which has the highest transmission order 53.

4階のフロアコントローラ11は、パケット50(1)を受信すると、送信元51に自身のID番号「4」を設定し、送信先52に送信順番53の最初のID番号「2」を設定し、送信順番53にID番号「2」より後の順番「3-1」を設定したパケット50(2)を生成する。このため、送信順番53が最先である2階のフロアコントローラ11にパケット50(2)が送信される。 When the floor controller 11 on the fourth floor receives packet 50(1), it sets its own ID number "4" in the source 51, sets the first ID number "2" in the transmission order 53 in the destination 52, and generates packet 50(2) with the order "3-1" after ID number "2" in the transmission order 53. As a result, packet 50(2) is transmitted to the floor controller 11 on the second floor, which has the highest transmission order 53.

2階のフロアコントローラ11は、パケット50(2)を受信すると、送信元51に自身のID番号「2」を設定し、送信先52に送信順番53の最初のID番号「3」を設定し、送信順番53にID番号「3」より後の順番「1」を設定したパケット50(3)を生成する。このため、送信順番53が最先である3階のフロアコントローラ11にパケット50(3)が送信される。 When the floor controller 11 on the second floor receives packet 50(2), it sets its own ID number "2" in the source 51, sets the first ID number "3" in the transmission order 53 in the destination 52, and generates packet 50(3) with the transmission order 53 set to "1" after the ID number "3". As a result, packet 50(3) is transmitted to the floor controller 11 on the third floor, which has the highest transmission order 53.

3階のフロアコントローラ11は、パケット50(3)を受信すると、送信元51に自身のID番号「3」を設定し、送信先52に送信順番53の最初のID番号「1」を設定し、自身が送信順番の最後となるので送信順番53を無設定にしたパケット50(4)を生成する。このため、送信順番53が最先である1階のフロアコントローラ11にパケット50(4)が送信される。 When the floor controller 11 on the third floor receives packet 50(3), it sets its own ID number "3" in source 51, sets the first ID number in transmission order 53 "1" in destination 52, and generates packet 50(4) with no transmission order 53 set because it is the last in the transmission order. Therefore, packet 50(4) is transmitted to the floor controller 11 on the first floor, which has the highest transmission order 53.

パケット50をこのような構造にすることで、マスタコントローラ30から送信されたパケット50が、エレベーター15の運行状態に応じた送信順番53に基づいて、複数のサブコントローラ40を順番に経由して送信される。このため、マスタコントローラ30の処理の負荷を軽減できるとともに、サブコントローラ40もエレベーター15の運行状態に基づいて効率よく処理を実行することが可能となる。また、本実施の形態に係る通信方法は、マスタコントローラ30から複数のサブコントローラ40にパケットを一斉配信するブロードキャストに比べてネットワークを占有しなくて済む。また、マスタコントローラ30は、ファームイメージ31の送信順番の割当てを管理しやすくなる。 By structuring the packet 50 in this way, the packet 50 sent from the master controller 30 is sent through the multiple sub-controllers 40 in order based on a transmission order 53 according to the operating status of the elevator 15. This reduces the processing load on the master controller 30, and also enables the sub-controllers 40 to efficiently execute processing based on the operating status of the elevator 15. Furthermore, the communication method according to this embodiment does not occupy the network as much as broadcasting, which distributes packets from the master controller 30 to multiple sub-controllers 40 all at once. Furthermore, it becomes easier for the master controller 30 to manage the allocation of the transmission order of the firmware image 31.

なお、多くのコントローラ20が待機状態の場合、例えば利用が少ない深夜等の場合には、運転状態によるコントローラ20の状態に差異が少ない。このため、送信順番53を、単純に、コントローラ20のID順に、またはフロア番号順にしても構わない。 When many controllers 20 are in standby mode, for example late at night when usage is low, there is little difference in the state of the controllers 20 depending on the operating state. For this reason, the transmission order 53 may simply be in order of the IDs of the controllers 20 or in order of the floor numbers.

また、任意のサブコントローラ40から、マスタコントローラ30に直接通信することを想定した場合には、送信元51と、送信先52に加えて、マスタコントローラ30に相当するパケットの送信源の項目をパケットに追加してもよい。サブコントローラ40からマスタコントローラ30への通信は、例えば、サブコントローラ40が管理する範囲のエレベーター15の運行状況をマスタコントローラ30に通知するために行われる。また、サブコントローラ40からマスタコントローラ30への通信は、エレベーター15の通常運転における状態通知に使われる。また、サブコントローラ40が、複数のサブコントローラ40を逆に辿らずに、マスタコントローラ30に対して直接不具合情報を送るためにも使われる。 In addition, when it is assumed that any subcontroller 40 will communicate directly with the master controller 30, an item indicating the source of the packet corresponding to the master controller 30 may be added to the packet in addition to the source 51 and destination 52. Communication from the subcontroller 40 to the master controller 30 is performed, for example, to notify the master controller 30 of the operating status of the elevators 15 within the range managed by the subcontroller 40. Communication from the subcontroller 40 to the master controller 30 is used to notify the status of the elevators 15 during normal operation. It is also used for the subcontroller 40 to send malfunction information directly to the master controller 30 without tracing back through multiple subcontrollers 40.

<正常時の通信処理>
次に、図3に示したパケット通信システム200における処理(ファームウェア送信方法の一例)について、図5以降のフローチャートを参照して説明する。
図5は、パケット通信システム200の正常通信処理の例を示すフローチャートである。図5は、マスタコントローラ30が、ファームイメージ31を分割し、エレベーター15の運行状態に基づいて生成した順番でパケット50を送信することで、全てのサブコントローラ40にファームイメージ31を配布する処理を表している。
<Normal communication process>
Next, the process (one example of a firmware transmission method) in the packet communication system 200 shown in FIG. 3 will be described with reference to the flowcharts in FIG. 5 and subsequent figures.
Fig. 5 is a flowchart showing an example of normal communication processing of the packet communication system 200. Fig. 5 shows processing in which the master controller 30 divides the firmware image 31 and distributes the firmware image 31 to all the sub-controllers 40 by transmitting packets 50 in the order in which they were generated based on the operating status of the elevator 15.

始めに、マスタコントローラ30のイメージ分割部32(図3参照)は、ファームイメージ31を通信に適したサイズに分割する(S1)。イメージ分割部32は、ファームイメージ31を分割する時に、分割順が分かるように、例えば昇順とした番号56(図4参照)も生成する。なお、最後の分割したファームイメージ31の番号は特別な終端番号とする場合がある。この終端番号を、パケット50の受信側のコントローラ20が共有していれば、分割されたファームイメージ31の個数が多くても、コントローラ20が最後まで受信することができる。 First, the image division unit 32 (see FIG. 3) of the master controller 30 divides the firmware image 31 into sizes suitable for communication (S1). When dividing the firmware image 31, the image division unit 32 also generates a number 56 (see FIG. 4), for example in ascending order, so that the division order can be determined. Note that the number of the last divided firmware image 31 may be a special terminal number. If this terminal number is shared by the controller 20 on the receiving side of the packet 50, the controller 20 can receive all the divided firmware images 31 to the end, even if there are a large number of them.

次に、運行状態取得部33は、エレベーター15の運行状態を取得する(S2)。次に、順番生成部34は、運行状態に基づいて、分割されたファームイメージ31を通信する、サブコントローラ40の順番を生成する(S3)。次に、パケット生成部35は、順番生成部34により生成された順番に従って、次のサブコントローラ40へ送信するパケット50を生成する(S4)。そして、マスタ通信部36は、生成されたパケット50を、順番に従って、次のサブコントローラ40に送信する(S5)。 Next, the operation status acquisition unit 33 acquires the operation status of the elevator 15 (S2). Next, the sequence generation unit 34 generates the sequence of the sub-controllers 40 that communicate the divided firmware images 31 based on the operation status (S3). Next, the packet generation unit 35 generates a packet 50 to be sent to the next sub-controller 40 according to the sequence generated by the sequence generation unit 34 (S4). Then, the master communication unit 36 sends the generated packet 50 to the next sub-controller 40 according to the sequence (S5).

マスタ通信部36は、パケット50の送信が成功したか否かを確認する(S6)。パケット50の送信が失敗した場合(S6のNO)、マスタ通信部36は、サブコントローラ40からの異常通知を受信した後(S7)、本処理を終了する。なお、一定時間後、マスタコントローラ30は、パケット50を再送信するために、本処理を再実行する。 The master communication unit 36 checks whether the transmission of the packet 50 was successful (S6). If the transmission of the packet 50 has failed (NO in S6), the master communication unit 36 ends this process after receiving an abnormality notification from the sub-controller 40 (S7). After a certain period of time, the master controller 30 re-executes this process to resend the packet 50.

一方、パケット50の送信が成功した場合(S6のYES)、マスタ通信部36は、ファームイメージ31を分割した残りが存在するか否かを確認する(S8)。ファームイメージ31を分割した残りが有る場合には(S8のYES)、マスタコントローラ30は、ステップS1に戻って、処理を繰り返す。残りが無い場合には(S8のNO)、マスタコントローラ30は、本処理を終了する。 On the other hand, if the transmission of the packet 50 is successful (YES in S6), the master communication unit 36 checks whether or not there is any remaining divided firmware image 31 (S8). If there is any remaining divided firmware image 31 (YES in S8), the master controller 30 returns to step S1 and repeats the process. If there is no remaining divided firmware image (NO in S8), the master controller 30 ends this process.

次に、サブコントローラ40の処理について、図6を参照して説明する。
図6は、サブコントローラ40の処理の例を示すフローチャートである。
Next, the processing of the sub-controller 40 will be described with reference to FIG.
FIG. 6 is a flowchart showing an example of the process of the sub-controller 40.

始めに、サブコントローラ40のサブ通信部41は、マスタコントローラ30又は一つ前の順番のサブコントローラ40からパケット50を受信する(S11)。 First, the sub-communication unit 41 of the sub-controller 40 receives a packet 50 from the master controller 30 or the immediately preceding sub-controller 40 (S11).

次に、パケット解釈部42は、サブ通信部41が受信したパケット50を解釈し(S12)、送信元51、送信先52、送信順番53、分割されたイメージデータ54、チェックデータ55のそれぞれを識別する。ステップS12のパケット50を解釈する処理は、後述する図8に詳細な例が示される。 Next, the packet interpretation unit 42 interprets the packet 50 received by the sub-communication unit 41 (S12) and identifies the sender 51, the destination 52, the transmission order 53, the divided image data 54, and the check data 55. A detailed example of the process of interpreting the packet 50 in step S12 is shown in FIG. 8, which will be described later.

次に、送信先抽出部43は、パケット解釈部42が識別した送信順番53から次の送信先を抽出する(S13)。また、イメージ構築部45は、分割されたイメージデータ54からファームイメージ31を順次構築する(S14)。ステップS13,S14の処理は、並列処理としているが、逐次処理としてもよい。 Next, the destination extraction unit 43 extracts the next destination from the transmission order 53 identified by the packet interpretation unit 42 (S13). The image construction unit 45 also sequentially constructs the firmware image 31 from the divided image data 54 (S14). The processes of steps S13 and S14 are parallel processes, but may be sequential processes.

次に、送信先抽出部43は、分割されたイメージデータ54を送る次の送信先が存在するか否かを送信順番53で確認する(S15)。 Next, the destination extraction unit 43 checks in the transmission order 53 whether there is a next destination to which the divided image data 54 should be sent (S15).

次の送信先が存在する場合(S15のYES)、パケット生成部44は、新たに送信先52を次のサブコントローラ40に変更したパケット50を生成する(S16)。サブ通信部41は、生成したパケット50を次のサブコントローラ40に送信し(S17)、パケット50の送信が成功したか否かを確認する(S18)。 If a next destination exists (YES in S15), the packet generation unit 44 generates a packet 50 in which the destination 52 is changed to the next sub-controller 40 (S16). The sub-communication unit 41 transmits the generated packet 50 to the next sub-controller 40 (S17) and checks whether the transmission of the packet 50 was successful (S18).

パケット50の送信が失敗した場合(S18のNO)、サブコントローラ40は、後述する図7又は図10に示す異常対応処理を行う(S19)。ステップS19は、後述する図9と図10に示すように異なる行先がある。 If the transmission of packet 50 fails (NO in S18), the subcontroller 40 performs an abnormality response process (S19) as shown in FIG. 7 or FIG. 10, which will be described later. Step S19 has different destinations as shown in FIG. 9 and FIG. 10, which will be described later.

一方、パケット50の送信が成功した場合(S18のYES)、又は、ステップS15にて分割されたイメージデータ54を送る次のサブコントローラ40が存在しないと判定した場合(S15のNO)、パケット解釈部42は、イメージデータ54がファームイメージ31の終端であるか否かを確認する(S20)。 On the other hand, if the transmission of the packet 50 is successful (YES in S18), or if it is determined in step S15 that there is no next subcontroller 40 to which the divided image data 54 can be sent (NO in S15), the packet interpretation unit 42 checks whether the image data 54 is the end of the firmware image 31 (S20).

ファームイメージ31の終端であれば(S20のYES)、パケット解釈部42がイメージ構築部45によるファームイメージ31の構築が終了したかを確認した後、サブコントローラ40は、本処理を終了する。一方、ファームイメージ31の終端でなければ(S20のNO)、ステップS11に戻って、サブコントローラ40が処理を繰り返す。 If it is the end of the firmware image 31 (YES in S20), the packet interpretation unit 42 checks whether the image construction unit 45 has finished constructing the firmware image 31, and then the subcontroller 40 ends this process. On the other hand, if it is not the end of the firmware image 31 (NO in S20), the process returns to step S11, and the subcontroller 40 repeats the process.

なお、サブ通信部41は、分割されたイメージデータ54を含むパケット50を受信する度に、パケット解釈部42が解釈した送信元51を記憶しておいてもよい。この場合、サブ通信部41は、パケット50の順番を逆に辿って通信することで、マスタコントローラ30と、通信することも可能となる。例えば、サブ通信部41は、サブコントローラ40の不具合発生をマスタコントローラ30に通知することも可能となる。 The sub-communication unit 41 may store the sender 51 interpreted by the packet interpretation unit 42 each time it receives a packet 50 including divided image data 54. In this case, the sub-communication unit 41 can communicate with the master controller 30 by communicating in reverse order of the packets 50. For example, the sub-communication unit 41 can notify the master controller 30 of the occurrence of a malfunction in the sub-controller 40.

図5と図6に示した処理フローにより、マスタコントローラ30は、エレベーター15の運行状態に応じた順番の最初のサブコントローラ40にパケット50を送信するだけで、ファームイメージ31を複数のサブコントローラ40全てに対して自ら配信することなく、ファームイメージ31の更新が可能となる。複数のサブコントローラ40は、マスタコントローラ30が生成した順番に従って、他のサブコントローラ40にファームイメージ31を通信する。このようにマスタコントローラ30は、効率の良い通信処理を組み合わせることで、全てのサブコントローラ40のファームイメージ31を更新することが可能となる。 The process flows shown in Figures 5 and 6 allow the master controller 30 to update the firmware image 31 without distributing the firmware image 31 to all of the subcontrollers 40 itself, simply by sending a packet 50 to the first subcontroller 40 in the order according to the operating status of the elevator 15. The subcontrollers 40 communicate the firmware image 31 to the other subcontrollers 40 in the order generated by the master controller 30. In this way, the master controller 30 can update the firmware images 31 of all of the subcontrollers 40 by combining efficient communication processes.

なお、ファームイメージ31のサイズが小さい、又は差分アップデートで差分イメージのデータサイズが小さい場合には、イメージ分割せずにパケット50を通信することがある。この場合、1回の通信でマスタコントローラ30とサブコントローラ40の処理が終了する場合もある。 Note that if the size of the firmware image 31 is small, or if the data size of the differential image in a differential update is small, the packet 50 may be communicated without dividing the image. In this case, the processing of the master controller 30 and the sub-controller 40 may be completed in one communication.

<通信異常の通知処理>
次に、通信異常が発生した時にサブコントローラ40がマスタコントローラ30に異常の発生を通知する処理について、図7~図10を用いて説明する。
<Communication abnormality notification process>
Next, a process in which the sub-controller 40 notifies the master controller 30 of the occurrence of a communication abnormality when such an abnormality occurs will be described with reference to FIGS.

始めに、本処理で用いられる異常通知メッセージの構成例を説明する。
図7は、異常通知メッセージのパケット構成例を示す図である。
First, a configuration example of an abnormality notification message used in this process will be described.
FIG. 7 is a diagram illustrating an example of a packet configuration of an abnormality notification message.

パケット50を受信した時に通信異常を検知したサブコントローラ40は、パケット50の送信元である前段のサブコントローラ40に対して異常通知メッセージを送信する。この異常通知メッセージは、図7に示すように、送信元51のデータと、送信先52のデータと、イメージデータ54のデータと、チェックデータ55とで構成される。なお、送信順番53にはデータが記憶されない。 When a subcontroller 40 detects a communication abnormality when it receives a packet 50, it sends an abnormality notification message to the preceding subcontroller 40 that is the source of the packet 50. As shown in FIG. 7, this abnormality notification message is composed of data for the source 51, data for the destination 52, data for the image data 54, and check data 55. Note that no data is stored in the transmission order 53.

そして、イメージデータ54は、コマンド58と、このコマンド58に対応するコマンドデータ59とで構成される。本実施形態においては、コマンド58に「異常発生通知コマンド」が格納され、コマンドデータ59には通信異常が発生したコントローラ20のIDが格納される。 The image data 54 is composed of a command 58 and command data 59 corresponding to the command 58. In this embodiment, the command 58 stores an "abnormality notification command," and the command data 59 stores the ID of the controller 20 in which the communication abnormality occurred.

図8は、サブコントローラ40が異常の発生を通知する処理の例を示すフローチャートである。ここでは、図6のステップS12に示したパケット解釈処理の詳細な例を説明する。 Figure 8 is a flowchart showing an example of the process in which the subcontroller 40 notifies the occurrence of an abnormality. Here, a detailed example of the packet interpretation process shown in step S12 of Figure 6 is described.

始めに、任意のコントローラ20のパケット解釈部42は、パケット50を解釈して、送信順番53のデータを確認する(S21)。次に、パケット解釈部42は、送信順番53のデータに送信先のサブコントローラ40のIDが、パケット50の送信順番で格納されているか否かを確認する(S22)。送信順番53のデータにサブコントローラ40のIDが送信順番で格納されている場合(S22のYES)、本処理を抜けて、図6のステップS13に移る。 First, the packet interpretation unit 42 of any controller 20 interprets the packet 50 and checks the data of the transmission order 53 (S21). Next, the packet interpretation unit 42 checks whether the data of the transmission order 53 stores the ID of the sub-controller 40 of the transmission destination in the transmission order of the packet 50 (S22). If the data of the transmission order 53 stores the ID of the sub-controller 40 in the transmission order (YES in S22), this process is terminated and the process proceeds to step S13 in FIG. 6.

一方、送信順番53のデータにサブコントローラ40のIDが送信順番で格納されていない場合には(S22のNO)、イメージ構築部45によるファームイメージ31の更新途中に異常が発生している。この場合、サブ通信部41は、異常に関する情報を含むデータを、送信順番とは逆順でマスタコントローラ30に送信する。このため、マスタコントローラ30は、サブコントローラ40で発生した異常を直ちに把握し、パケット50の送信停止等の指示等を対処できる。 On the other hand, if the ID of the sub-controller 40 is not stored in the transmission order in the data of the transmission order 53 (NO in S22), an abnormality has occurred while the image construction unit 45 was updating the firmware image 31. In this case, the sub-communication unit 41 transmits data including information about the abnormality to the master controller 30 in the reverse order of the transmission order. Therefore, the master controller 30 can immediately grasp the abnormality that has occurred in the sub-controller 40 and take action, such as issuing an instruction to stop transmitting packets 50.

例えば、パケット解釈部42は、イメージデータ54から、図7に示したコマンド58と、コマンド58に対応したコマンドデータ59を解釈する(S23)。そして、パケット解釈部42は、送信元51を、本処理を実行するサブコントローラ40自身とし、送信先52を、パケット50を送信した前のサブコントローラ40とに置き換えた異常通知メッセージを生成する(S24)。 For example, the packet interpretation unit 42 interprets the command 58 shown in FIG. 7 and the command data 59 corresponding to the command 58 from the image data 54 (S23). Then, the packet interpretation unit 42 generates an abnormality notification message in which the source 51 is the subcontroller 40 that executes this process itself, and the destination 52 is replaced with the previous subcontroller 40 that sent the packet 50 (S24).

サブコントローラ40のサブ通信部41は、異常通知メッセージを、送信順番が前のサブコントローラ40に送信する(S25)。その後、イメージ構築部45は、今までに構築してきたファームイメージ31を消去して(S26)、処理を終了する。このため、図6のステップS13,S14以降の処理は行われない。 The sub-communication unit 41 of the sub-controller 40 transmits an abnormality notification message to the sub-controller 40 that is next in line for transmission (S25). After that, the image construction unit 45 erases the firmware image 31 that has been constructed up to that point (S26) and ends the process. Therefore, the processes after steps S13 and S14 in FIG. 6 are not performed.

図7に示す異常通知の処理フローにより、サブコントローラ40は、通信異常が発生した時には処理途中のファームイメージ31を消去できる。また、サブコントローラ40は、異常通知メッセージをマスタコントローラ30に通知することができる。 The abnormality notification processing flow shown in FIG. 7 allows the subcontroller 40 to erase the firmware image 31 in the middle of processing when a communication abnormality occurs. The subcontroller 40 can also notify the master controller 30 of an abnormality notification message.

<異常時の通信処理>
次に、通信エラーが発生した異常時において、パケット50を受信したサブコントローラ40が構築途中のイメージを消去する場合と、通信エラーが発生したサブコントローラ40をスキップする場合の各処理について、図9と図10を用いて説明する。
<Communication processing during abnormality>
Next, using Figures 9 and 10, we will explain the processes that are performed when, in an abnormal situation where a communication error occurs, the sub-controller 40 that receives the packet 50 erases the image that is being constructed, and when the sub-controller 40 where the communication error occurred is skipped.

<第1の異常通知処理>
図9は、サブコントローラ40がパケット50送信の失敗時に行われる異常対応処理の一例を示すフローチャートである。この異常対応処理では、サブコントローラ40が、パケット50の送信失敗時に、これまで送信先のサブコントローラ40に送信してきたイメージデータ54を消去する処理が行われる。なお、ステップS17より前の処理は、図6に示した通りであるため、詳細な説明を省略する。
<First abnormality notification process>
9 is a flow chart showing an example of anomaly handling process performed when the sub-controller 40 fails to transmit the packet 50. In this anomaly handling process, when the sub-controller 40 fails to transmit the packet 50, the sub-controller 40 erases the image data 54 that has been transmitted to the destination sub-controller 40. Note that the process before step S17 is as shown in FIG. 6, and therefore a detailed description thereof will be omitted.

図6に示したように、任意のコントローラ20のサブ通信部41は、生成したパケット50を次のコントローラ20に送信する(S17)。任意のコントローラ20として、例えば、通信コントローラ3、群管理コントローラ4、エレベーターコントローラ5、かごコントローラ10、フロアコントローラ11がある。次に、サブ通信部41は、パケット50の送信が成功したか否かを確認する(S18)。 As shown in FIG. 6, the sub-communication unit 41 of the arbitrary controller 20 transmits the generated packet 50 to the next controller 20 (S17). The arbitrary controller 20 may be, for example, a communication controller 3, a group management controller 4, an elevator controller 5, a car controller 10, or a floor controller 11. Next, the sub-communication unit 41 checks whether the transmission of the packet 50 was successful (S18).

パケット50の送信が成功した場合(S18のYES)、コントローラ20は、図6のステップS20以降の処理に移る。一方、パケット50の送信が失敗した場合(S18のNO)、イメージ構築部45によるファームイメージ31の更新途中に異常が発生する。この場合、サブ通信部41は、異常に関する情報を含むデータを、送信順番とは逆順でマスタコントローラ30に送信する。このため、マスタコントローラ30は、サブコントローラ40で発生した異常を直ちに把握し、パケット50の送信停止等の指示等を対処できる。また、サブコントローラ40は、ファームイメージ31の更新途中に異常が発生した場合に、イメージ構築部45が構築していたファームイメージ31を消去する。このため、サブコントローラ40では、不正確なファームイメージ31による更新処理が行われない。 If the transmission of the packet 50 is successful (YES in S18), the controller 20 proceeds to the process of step S20 and subsequent steps in FIG. 6. On the other hand, if the transmission of the packet 50 fails (NO in S18), an abnormality occurs during the update of the firmware image 31 by the image construction unit 45. In this case, the sub-communication unit 41 transmits data including information about the abnormality to the master controller 30 in the reverse order of the transmission order. This allows the master controller 30 to immediately grasp the abnormality that has occurred in the sub-controller 40 and to take action such as issuing an instruction to stop transmitting the packet 50. Furthermore, if an abnormality occurs during the update of the firmware image 31, the sub-controller 40 erases the firmware image 31 that the image construction unit 45 has constructed. This prevents the sub-controller 40 from performing an update process using an inaccurate firmware image 31.

例えば、コントローラ20のパケット生成部44は、前の順番のコントローラ20に通信異常を通知するための異常通知メッセージのパケット50を生成する(S31)。次に、サブ通信部41は、前の順番のコントローラ20に異常通知メッセージのパケット50を送信する(S32)。そして、イメージ構築部45は、これまでに構築してきたファームイメージ31を消去し(S33)、本処理を終了する。 For example, the packet generation unit 44 of the controller 20 generates an abnormality notification message packet 50 for notifying the previous controller 20 of a communication abnormality (S31). Next, the sub-communication unit 41 transmits the abnormality notification message packet 50 to the previous controller 20 (S32). Then, the image construction unit 45 erases the firmware image 31 that has been constructed up to that point (S33), and ends this process.

<第2の異常通知処理>
図10は、通信エラーが発生したサブコントローラ40をスキップして、ファームイメージ31の更新処理を継続する処理の例を示すフローチャートである。この異常対応処理では、通信エラーが発生していないサブコントローラ40に対して優先してパケット50の送信が行われる。例えば、コントローラ20がサブコントローラ40であることを想定する。この場合、サブコントローラ40は、パケット50の次の送信先であるサブコントローラ40からファームイメージ31の更新途中に発生した異常に関する情報を含むデータを受信した場合に、異常に関する情報を含むデータを送信したサブコントローラ40をスキップして、後続のサブコントローラ40にパケット50を送信する。この結果、異常が発生したサブコントローラ40の更新処理を後回しにして、他のサブコントローラ40の更新処理が先に行われる。このため、サブコントローラ40の更新処理の完了率を早期に高めることができる。なお、ステップS16より前の処理は、図6に示した通りであるため、詳細な説明を省略する。
<Second abnormality notification process>
FIG. 10 is a flowchart showing an example of a process for skipping the subcontroller 40 in which a communication error has occurred and continuing the update process of the firmware image 31. In this abnormality handling process, the packet 50 is transmitted preferentially to the subcontroller 40 in which no communication error has occurred. For example, it is assumed that the controller 20 is the subcontroller 40. In this case, when the subcontroller 40 receives data including information about an abnormality that has occurred during the update of the firmware image 31 from the subcontroller 40 that is the next destination of the packet 50, the subcontroller 40 skips the subcontroller 40 that transmitted the data including information about the abnormality and transmits the packet 50 to the subsequent subcontroller 40. As a result, the update process of the subcontroller 40 in which the abnormality has occurred is postponed, and the update process of the other subcontrollers 40 is performed first. Therefore, the completion rate of the update process of the subcontroller 40 can be increased early. Note that the process before step S16 is as shown in FIG. 6, and therefore a detailed description will be omitted.

図6に示したように、任意のコントローラ20のパケット生成部44がパケット50を生成し(S16)、サブ通信部41がパケット50を送信する(S17)。次に、サブ通信部41は、パケット50の送信が成功したか否かを確認する(S18)。 As shown in FIG. 6, the packet generation unit 44 of any controller 20 generates a packet 50 (S16), and the sub-communication unit 41 transmits the packet 50 (S17). Next, the sub-communication unit 41 checks whether the transmission of the packet 50 was successful (S18).

パケット50の送信が成功した場合(S18のYES)、コントローラ20は、図6のステップS20以降の処理に移る。一方、パケット50の送信が失敗した場合(S18のNO)、コントローラ20は、ステップS19の異常対応処理を行う。 If the transmission of packet 50 is successful (YES in S18), the controller 20 proceeds to the process of step S20 and subsequent steps in FIG. 6. On the other hand, if the transmission of packet 50 is unsuccessful (NO in S18), the controller 20 performs the abnormality response process of step S19.

そこで、コントローラ20のパケット生成部44は、通信異常が発生したコントローラ20の次の順番のコントローラ20に通信異常を通知するための異常通知メッセージのパケット50を生成する(S41)。本処理では、コマンド58が「スキップ発生通知コマンド」、コマンドデータ59が「通信異常が発生したコントローラ20のID」となる。 The packet generator 44 of the controller 20 then generates an abnormality notification message packet 50 to notify the controller 20 next in line to the controller 20 in which the communication abnormality occurred of the communication abnormality (S41). In this process, the command 58 is a "skip occurrence notification command" and the command data 59 is the "ID of the controller 20 in which the communication abnormality occurred."

次に、サブ通信部41は、通信異常が発生したコントローラ20の次の順番のコントローラ20に異常通知メッセージのパケット50を送信する(S42)。そして、イメージ構築部45は、パケット50の送信に失敗したコントローラ20をスキップした送信順番53にデータを更新し(S43)、ステップS16に移る。 Next, the sub-communication unit 41 transmits an abnormality notification message packet 50 to the controller 20 next in order to the controller 20 in which the communication abnormality occurred (S42). The image construction unit 45 then updates the data to a transmission order 53 that skips the controller 20 that failed to transmit the packet 50 (S43), and proceeds to step S16.

その後、コントローラ20は、更新した送信順番53を基にステップS16でパケット50を生成する。このパケット50は、コントローラ20が、スキップ先のコントローラ20に改めてファームイメージ31を送信し直すものであり、ステップS17で送信されるパケット50の送信先は、スキップ先のコントローラ20である。 Then, in step S16, the controller 20 generates a packet 50 based on the updated transmission order 53. This packet 50 is used by the controller 20 to resend the firmware image 31 to the skip destination controller 20, and the destination of the packet 50 sent in step S17 is the skip destination controller 20.

このような処理フローにより、通信異常の発生時においても、マスタコントローラ30は、サブコントローラ40に対するファームイメージ31の更新を継続できる。また、サブコントローラ40は、この通信異常によってスキップしたサブコントローラ40の情報をマスタコントローラ30に通知することができる。このため、マスタコントローラ30は、図10に示した処理フローによりスキップされたサブコントローラ40に対して再度、ファームイメージ31の更新を実行できる。 This process flow allows the master controller 30 to continue updating the firmware image 31 for the sub-controller 40 even when a communication abnormality occurs. The sub-controller 40 can also notify the master controller 30 of information about the sub-controller 40 that was skipped due to this communication abnormality. Therefore, the master controller 30 can re-execute updating of the firmware image 31 for the sub-controller 40 that was skipped by the process flow shown in FIG. 10.

なお、マスタコントローラ30が再度、ファームイメージ31の更新を実行する際には、マスタコントローラ30からサブコントローラ40に対して、コマンド58を「イメージ消去コマンド」としたパケット50を送る必要がある。イメージ消去コマンドは、サブコントローラ40にファームイメージ31の残骸が残っている場合、マスタコントローラ30がサブコントローラ40に対して、ファームイメージ31の残骸の消去を指示するために用いられる。 When the master controller 30 updates the firmware image 31 again, the master controller 30 must send a packet 50 with command 58 set as an "image erase command" to the subcontroller 40. The image erase command is used by the master controller 30 to instruct the subcontroller 40 to erase the remnants of the firmware image 31 if any remnants of the firmware image 31 remain in the subcontroller 40.

[ツリー構造]
次に、図1に示したエレベーターシステム100からマスタコントローラ30とサブコントローラ40の関係となるコントローラを抽出した、様々なツリー構造について説明する。
[Tree structure]
Next, various tree structures will be described in which controllers in the relationship between the master controller 30 and the sub-controller 40 are extracted from the elevator system 100 shown in FIG.

<エレベーターコントローラ+フロアコントローラの構成>
まず、エレベーターコントローラ5と、複数のフロアコントローラ11と、で構成されるツリー構造について、図11を用いて説明する。
図11は、エレベーターコントローラ5と、複数のフロアコントローラ11と、で構成されたツリー構造の例を示すブロック図である。
<Elevator controller + floor controller configuration>
First, a tree structure formed by the elevator controller 5 and a plurality of floor controllers 11 will be described with reference to FIG.
FIG. 11 is a block diagram showing an example of a tree structure made up of an elevator controller 5 and a plurality of floor controllers 11.

1基のエレベーター15は、一つのエレベーターコントローラ5と、階床数M分だけ存在するフロアコントローラ11(1)~11(M)とが、通信路12で接続されたツリー構造である。 One elevator 15 has a tree structure in which one elevator controller 5 and floor controllers 11(1) to 11(M) for the number of floors M are connected by communication paths 12.

上位の群管理コントローラ4からエレベーターコントローラ5にファームイメージ31がダウンロードされた場合を想定する。そして、エレベーターコントローラ5又は複数のフロアコントローラ11のうち、ファームイメージ31が記憶されている一つがマスタコントローラ30であり、他がサブコントローラ40である構成とする。例えば、エレベーターコントローラ5がマスタコントローラ30となり、フロアコントローラ11がサブコントローラ40となる。マスタコントローラ30は、送信順番を含むパケット50をサブコントローラ40に送信し、パケット50を受信したサブコントローラ40は、ファームイメージ31を更新する。このようにエレベーターコントローラ5と、複数のフロアコントローラ11(1)~11(M)とをマスタコントローラ30とサブコントローラ40の関係とすることで、一つのコントローラに限定されることなく、サブコントローラ40のファームイメージ31の更新処理を行うことが可能となる。 Assume that the firmware image 31 is downloaded from the upper group management controller 4 to the elevator controller 5. Then, among the elevator controller 5 or the multiple floor controllers 11, one in which the firmware image 31 is stored is the master controller 30, and the others are the sub-controllers 40. For example, the elevator controller 5 is the master controller 30, and the floor controller 11 is the sub-controller 40. The master controller 30 transmits a packet 50 including the transmission order to the sub-controller 40, and the sub-controller 40 that receives the packet 50 updates the firmware image 31. In this way, by making the elevator controller 5 and the multiple floor controllers 11 (1) to 11 (M) into a master controller 30 and sub-controller 40 relationship, it becomes possible to perform the update process of the firmware image 31 of the sub-controller 40 without being limited to one controller.

なお、エレベーターコントローラ5を経由して、任意のフロアコントローラ11がファームイメージ31をダウンロードする場合がある。この場合には、一つのフロアコントローラ11がマスタコントローラ30となり、それ以外のフロアコントローラ11及びエレベーターコントローラ5とがサブコントローラ40となる。このような構成とした場合、ツリー構造の下位のコントローラ(フロアコントローラ11)がマスタコントローラ30、上位のコントローラ(エレベーターコントローラ5)がサブコントローラ40となる。このため、マスタコントローラ30となるフロアコントローラ11が、エレベーターコントローラ5から各フロアの呼び登録情報を取得できる。逆に、エレベーターコントローラ5が各フロアコントローラ11から呼び登録情報を取得することもできる。このため、本実施の形態によれば、ツリー構造の上位、下位の区別による限定なく、パケット通信システム200が動作することが可能となる。 In addition, there are cases where an arbitrary floor controller 11 downloads the firmware image 31 via the elevator controller 5. In this case, one floor controller 11 becomes the master controller 30, and the other floor controllers 11 and the elevator controller 5 become the sub-controllers 40. In such a configuration, the lower controller (floor controller 11) in the tree structure becomes the master controller 30, and the higher controller (elevator controller 5) becomes the sub-controller 40. Therefore, the floor controller 11 that becomes the master controller 30 can obtain the call registration information of each floor from the elevator controller 5. Conversely, the elevator controller 5 can also obtain the call registration information from each floor controller 11. Therefore, according to this embodiment, the packet communication system 200 can operate without being limited by the distinction between the upper and lower parts of the tree structure.

また、保守端末19に接続されてファームイメージ31をダウンロードしたコントローラ20がマスタコントローラ30となる場合、このコントローラ20と同一セグメントに接続されている他のコントローラ20がサブコントローラ40となる。ここで、同一セグメントに接続されているその他のコントローラ20とは、マスタコントローラ30が通信コントローラ3の場合には、群管理コントローラ4である。また、マスタコントローラ30が群管理コントローラ4の場合には、エレベーターコントローラ5である。また、マスタコントローラ30がエレベーターコントローラ5の場合は、かごコントローラ10及びフロアコントローラ11である。 When the controller 20 that is connected to the maintenance terminal 19 and has downloaded the firmware image 31 becomes the master controller 30, the other controllers 20 connected to the same segment as this controller 20 become sub-controllers 40. Here, the other controllers 20 connected to the same segment are the group management controller 4 when the master controller 30 is the communication controller 3. Also, when the master controller 30 is the group management controller 4, they are the elevator controller 5. Also, when the master controller 30 is the elevator controller 5, they are the car controller 10 and the floor controller 11.

<フロアの呼び登録の有無に応じた順番の生成処理>
次に、エレベーターコントローラ5が、運行状態の一つである各フロアにおける呼び登録を基にして、送信順番53のデータを生成する処理について、図12を用いて説明する。
図12は、フロアの呼び登録の有無に応じた順番の生成処理の例を示すフローチャートである。
<Processing for generating order according to presence or absence of call registration on floor>
Next, a process in which the elevator controller 5 generates data of the transmission order 53 based on the call registration at each floor, which is one of the operation states, will be described with reference to FIG. 12.
FIG. 12 is a flowchart showing an example of a process for generating an order according to the presence or absence of call registration for a floor.

ここでは、マスタコントローラ30として用いられるエレベーターコントローラ5は、フロアコントローラ11から運行状態として取得した、各フロアの呼び登録の状況に応じて送信順番を生成し、フロアの滞在人数の状況に応じて、送信順番を並べ替える。このため、フロアコントローラ11の呼び登録による処理の負荷に応じた送信順番が生成される。また、フロアの滞在人数の状況に応じてエレベーター15のフロア毎の稼働状況が判明するので、フロアコントローラ11への送信順番を並べ替えることで、負荷が低いフロアコントローラ11から順にファームイメージ31が更新されるようになる。 Here, the elevator controller 5 used as the master controller 30 generates a transmission order according to the call registration status of each floor obtained from the floor controller 11 as the operation status, and rearranges the transmission order according to the number of people on each floor. Therefore, a transmission order is generated according to the processing load due to call registration on the floor controller 11. Also, since the operating status of each floor of the elevator 15 is determined according to the number of people on each floor, rearranging the transmission order to the floor controller 11 allows the firmware image 31 to be updated in order starting from the floor controller 11 with the lowest load.

始めに、エレベーターコントローラ5の運行状態取得部33は、各フロアのフロアコントローラ11から、各フロアの呼び登録情報を取得する(S51)。次に、エレベーターコントローラ5は、全てのフロアの呼び登録情報を取得できたか否かを判断する(S52)。 First, the operation status acquisition unit 33 of the elevator controller 5 acquires call registration information for each floor from the floor controller 11 of each floor (S51). Next, the elevator controller 5 determines whether or not it has acquired call registration information for all floors (S52).

全てのフロアの呼び登録情報を取得できた場合(S52のYES)、エレベーターコントローラ5の順番生成部34は、取得された呼び登録情報に応じて、フロアコントローラ11の送信順を並び替えて送信順番53のデータを生成し(S53)、本処理を終了する。送信順の並び替えは、呼び登録の有無、及び呼び登録の昇順とする。 If the call registration information for all floors has been acquired (YES in S52), the sequence generation unit 34 of the elevator controller 5 rearranges the transmission sequence of the floor controllers 11 according to the acquired call registration information to generate data for the transmission sequence 53 (S53), and ends this process. The transmission sequence is rearranged according to the presence or absence of call registration, and in ascending order of call registration.

一方、呼び登録情報を取得できていないフロアが残っている場合(S52のNO)、エレベーターコントローラ5は、再びステップS51に戻って、全てのフロアの呼び登録情報を取得するまでステップS51,S52の処理を続ける。 On the other hand, if there are any floors for which call registration information has not been obtained (NO in S52), the elevator controller 5 returns to step S51 and continues processing steps S51 and S52 until call registration information for all floors has been obtained.

ここで、呼び登録情報を取得できていないフロアでは、フロアコントローラ11に処理が割り付けられていない。ここで、上下の呼びの一方に登録がある場合には、処理が割り当てられている。さらに、上下両方の呼びの登録がある場合には、処理の負荷が一番大きくなる。 At this point, for floors where call registration information has not been acquired, no processing is assigned to the floor controller 11. Here, processing is assigned when there is registration for either up or down calls. Furthermore, when there are registrations for both up and down calls, the processing load is the heaviest.

このため、順番生成部34は、フロアへの呼び登録情報の割り当てに応じた送信順番53のデータを生成することで、処理割り当ての無いフロアコントローラ11を先の順番とし、処理割り当てが多いフロアコントローラ11を後の順番としてファームイメージ31を適用することができる。なお、群管理コントローラ4が各フロアの呼び登録情報を一括して管理している場合には、エレベーターコントローラ5が群管理コントローラ4から各フロアの呼び登録情報を一括して取得してもよい。 Therefore, the sequence generation unit 34 generates data on the transmission sequence 53 according to the allocation of call registration information to floors, and can apply the firmware image 31 so that floor controllers 11 with no processing allocations are placed first and floor controllers 11 with many processing allocations are placed later. Note that if the group management controller 4 collectively manages the call registration information of each floor, the elevator controller 5 may collectively acquire the call registration information of each floor from the group management controller 4.

また、順番生成部34は、ファームイメージ31の送信順を、エレベーター15の運行情報に応じた順番にすることで、処理割り当ての無いフロアコントローラ11からファームイメージ31を更新できる。このため、エレベーターコントローラ5は、効率よく更新データを通信することが可能となる。また、エレベーターコントローラ5はフロアコントローラ11に更新された新しいファームイメージ31を適用するために、フロアコントローラ11をすぐに再起動できる可能性が向上する。 The sequence generation unit 34 also sets the order of transmission of the firmware images 31 according to the operation information of the elevator 15, thereby enabling the firmware images 31 to be updated from floor controllers 11 that are not assigned a process. This allows the elevator controller 5 to communicate update data efficiently. Furthermore, the elevator controller 5 applies the updated new firmware image 31 to the floor controller 11, improving the possibility that the floor controller 11 can be restarted immediately.

<各フロアの滞在人数に応じた順番の生成処理>
次に、エレベーターコントローラ5が、運行状態の一つである各フロアの滞在人数を基にして、送信順番53のデータを生成する処理について、図13を用いて説明する。ここで、滞在人数とは、各フロアにいると予想される人数である。かごからフロアに乗降した人数をフロアごとに算出することで滞在人数を求めることができる。
図13は、フロアの滞在人数に応じた順番の生成処理の例を示すフローチャートである。
<Generating order according to the number of people staying on each floor>
Next, the process in which the elevator controller 5 generates data for the transmission order 53 based on the number of people on each floor, which is one of the operation states, will be described with reference to Fig. 13. Here, the number of people on each floor is the number of people expected to be on each floor. The number of people on each floor can be found by calculating the number of people who have got on and off the car at each floor.
FIG. 13 is a flowchart showing an example of a process for generating an order according to the number of people visiting a floor.

始めに、エレベーターコントローラ5の運行状態取得部33は、他のエレベーターコントローラ5、又は各フロアのフロアコントローラ11から、各フロアの滞在人数を取得する(S61)。 First, the operation status acquisition unit 33 of the elevator controller 5 acquires the number of people on each floor from other elevator controllers 5 or the floor controllers 11 of each floor (S61).

次に、エレベーターコントローラ5は、全フロアの滞在人数を取得したか否かを確認する(S62)。滞在人数を取得できていないフロアが存在する場合(S62のNO)、エレベーターコントローラ5は、再びステップS61に戻って、全てのフロアの滞在人数を取得するまでステップS61,S62の処理を続ける。 Next, the elevator controller 5 checks whether the number of visitors on all floors has been acquired (S62). If there is a floor for which the number of visitors has not been acquired (NO in S62), the elevator controller 5 returns to step S61 and continues the processing of steps S61 and S62 until the number of visitors on all floors has been acquired.

一方、全フロアの滞在人数を取得できた場合(S62のYES)、エレベーターコントローラ5の順番生成部34は、各フロアの滞在人数に応じて、フロアコントローラ11へのパケット50の送信順を並べ替えて(S63)、送信順番53のデータを生成する。その後、本処理を終了する。 On the other hand, if the number of people visiting all floors has been obtained (YES in S62), the sequence generation unit 34 of the elevator controller 5 rearranges the transmission order of the packets 50 to the floor controller 11 according to the number of people visiting each floor (S63), and generates data for the transmission sequence 53. After that, this process ends.

並べ替えの送信順は、例えば、滞在人数の昇順とする。滞在人数が多い方が、呼び発生の確率が高くなるので、処理の負荷が大きくなる可能性が高くなる。逆に滞在人数が少ないと、呼び発生の確率が低くなるので、処理に余裕がある可能性が高くなる。 The order in which the data is sorted and sent is, for example, ascending order of the number of visitors. The greater the number of visitors, the higher the probability of calls occurring, and the greater the likelihood of the processing load being heavy. Conversely, the smaller the number of visitors, the lower the probability of calls occurring, and the greater the likelihood that there will be spare processing capacity.

よって、この滞在人数に応じた送信順番53のデータを生成することで、処理に余裕のあるフロアコントローラ11を最初とし、処理の負荷が大きくなる可能性のあるフロアコントローラ11を最後とする順番にファームイメージ31を適用することができる。なお、各フロアの滞在人数を、群管理コントローラ4が一括して管理している場合には、エレベーターコントローラ5が群管理コントローラ4から各フロアの滞在人数を取得してもよい。また、エレベーターコントローラ5自身が各フロアの滞在人数を管理している場合には、その管理データを利用してもよい。 Therefore, by generating data for the transmission order 53 according to this number of visitors, the firmware image 31 can be applied in an order that places the floor controller 11 with processing capacity at the beginning and the floor controller 11 with the possibility of a large processing load at the end. Note that if the number of visitors on each floor is collectively managed by the group management controller 4, the elevator controller 5 may obtain the number of visitors on each floor from the group management controller 4. Also, if the elevator controller 5 itself manages the number of visitors on each floor, that management data may be used.

このようにエレベーターコントローラ5は、エレベーター15の運行情報(各フロアの滞在人数)に応じてフロアコントローラ11への送信順を並べ替えることで、処理に余裕のあるフロアコントローラ11からファームイメージ31を更新できる。このため、エレベーターコントローラ5は、ファームイメージ31の更新データをフロアコントローラ11に効率よく送信することが可能となる。また、ファームイメージ31の更新データを受信したフロアコントローラ11は、更新された新しいファームイメージ31を適用するために、すぐに再起動できる可能性が向上する。 In this way, the elevator controller 5 can rearrange the order of transmission to the floor controllers 11 according to the elevator 15 operation information (the number of people on each floor), thereby updating the firmware image 31 from the floor controller 11 that has the most processing capacity. This allows the elevator controller 5 to efficiently transmit update data for the firmware image 31 to the floor controller 11. Furthermore, the floor controller 11 that receives the update data for the firmware image 31 is more likely to be able to restart immediately in order to apply the new updated firmware image 31.

<群管理コントローラ+エレベーターコントローラ>
次に、複数のエレベーター15と、群管理コントローラ4とが通信路16で接続されて構成されるツリー構造について、図14を用いて説明する。
図14は、群管理コントローラ4と、複数のエレベーターコントローラ5と、で構成されるツリー構造の例を示すブロック図である。ここでは、図1に示したエレベーターグループ18が、1台の群管理コントローラ4と、任意の数だけ存在するエレベーター15(1)~15(M)にそれぞれ対応して設けられた複数のエレベーターコントローラ5とを含んでいる。
<Group management controller + elevator controller>
Next, a tree structure formed by connecting a plurality of elevators 15 and the group management controller 4 via communication paths 16 will be described with reference to FIG.
Fig. 14 is a block diagram showing an example of a tree structure made up of a group controller 4 and multiple elevator controllers 5. Here, the elevator group 18 shown in Fig. 1 includes one group controller 4 and multiple elevator controllers 5 provided corresponding to any number of elevators 15(1) to 15(M), respectively.

ここでは、群管理コントローラ4又は複数のエレベーターコントローラ5のうち、ファームイメージ31が記憶されている一つがマスタコントローラ30であり、他がサブコントローラ40とする。この場合、マスタコントローラ30が送信順番を含むパケット50をサブコントローラ40に送信し、パケット50を受信したサブコントローラ40がファームイメージ31を更新する。 Here, of the group management controller 4 or multiple elevator controllers 5, one in which the firmware image 31 is stored is the master controller 30, and the others are sub-controllers 40. In this case, the master controller 30 transmits a packet 50 including the transmission order to the sub-controller 40, and the sub-controller 40 that receives the packet 50 updates the firmware image 31.

そこで、上位の通信コントローラ3から群管理コントローラ4にファームイメージ31がダウンロードされた場合を想定する。この場合には、群管理コントローラ4がマスタコントローラ30となり、複数のエレベーターコントローラ5がサブコントローラ40となる構成である。このように群管理コントローラ4と、複数のエレベーターコントローラ5とをマスタコントローラ30とサブコントローラ40の関係とすることで、一つのコントローラに限定されることなく、サブコントローラ40のファームイメージ31の更新処理を行うことが可能となる。 Therefore, let us consider a case where a firmware image 31 is downloaded from a higher-level communication controller 3 to a group management controller 4. In this case, the group management controller 4 becomes the master controller 30, and the multiple elevator controllers 5 become sub-controllers 40. By configuring the group management controller 4 and the multiple elevator controllers 5 in this manner as a master controller 30 and sub-controller 40, it becomes possible to perform update processing of the firmware image 31 of the sub-controller 40 without being limited to a single controller.

なお、群管理コントローラ4を経由して、任意のエレベーターコントローラ5がファームイメージ31をダウンロードする場合がある。この場合、一つのエレベーターコントローラ5がマスタコントローラ30となり、それ以外のエレベーターコントローラ5及び群管理コントローラ4とがサブコントローラ40となる構成である。本実施の形態に係る構成であれば、マスタコントローラ30となる一つのエレベーターコントローラ5が、サブコントローラ40となる群管理コントローラ4又は他のエレベーターコントローラ5から、各エレベーターコントローラ5に割り当てた呼びの呼び数を取得できる。 In addition, any elevator controller 5 may download the firmware image 31 via the group controller 4. In this case, one elevator controller 5 becomes the master controller 30, and the other elevator controllers 5 and the group controller 4 become sub-controllers 40. In the configuration according to this embodiment, one elevator controller 5 that becomes the master controller 30 can obtain the number of calls assigned to each elevator controller 5 from the group controller 4 or other elevator controllers 5 that become the sub-controllers 40.

また、保守端末19に接続されてファームイメージ31をダウンロードしたコントローラ20がマスタコントローラ30となる場合、このコントローラ20と同一セグメントに接続されているその他のコントローラ20がサブコントローラ40となる。ここで、ファームイメージ31をダウンロードしたコントローラ20として、例えば、エレベーターコントローラ5、かごコントローラ10、又はフロアコントローラ11が想定される。 In addition, when the controller 20 that is connected to the maintenance terminal 19 and has downloaded the firmware image 31 becomes the master controller 30, the other controllers 20 that are connected to the same segment as this controller 20 become sub-controllers 40. Here, the controller 20 that has downloaded the firmware image 31 is assumed to be, for example, the elevator controller 5, the car controller 10, or the floor controller 11.

<エレベーターの呼びの割当の有無及び大小に応じた順番の生成処理>
次に、群管理コントローラ4が、運行状態の一つであるエレベーター15の呼びの割当数を基にして、送信順番53のデータを生成する処理について、図15を用いて説明する。
図15は、エレベーター15の呼びの割当数に応じた順番の生成処理の例を示すフローチャートである。この処理では、マスタコントローラ30の順番生成部34は、運行状態として取得した、複数のエレベーター15への呼びの割当の状況に応じて送信順番を生成する。このため、エレベーターコントローラ5の処理の負荷に応じた送信順番が生成される。
<Processing for generating order according to the presence or absence of elevator call assignment and the size of the call>
Next, the process in which the group controller 4 generates data on the transmission order 53 based on the number of calls assigned to the elevator 15, which is one of the operation states, will be described with reference to FIG.
15 is a flowchart showing an example of a process for generating a transmission order according to the number of calls assigned to the elevator 15. In this process, the sequence generation unit 34 of the master controller 30 generates a transmission order according to the status of call assignment to the multiple elevators 15, acquired as the operation status. Therefore, a transmission order is generated according to the processing load of the elevator controller 5.

始めに、群管理コントローラ4の運行状態取得部33は、各エレベーター15に割り当てられた呼びの割当数を取得する(S71)。次に、群管理コントローラ4の順番生成部34は、呼びの割当数に応じてエレベーターコントローラ5の送信順を並べ替えて送信順番53のデータを生成し(S72)、本処理を終了する。 First, the operation status acquisition unit 33 of the group management controller 4 acquires the number of calls assigned to each elevator 15 (S71). Next, the sequence generation unit 34 of the group management controller 4 rearranges the transmission sequence of the elevator controllers 5 according to the number of calls assigned, generates data for the transmission sequence 53 (S72), and ends this process.

送信順の並べ替えは、呼びの割当数の昇順とする。呼びの割当数が多い方が、呼びの割り当てられたフロアへのかご7の移動、停止、出発の処理回数が多くなるので、エレベーターコントローラ5の処理の負荷も大きくなる可能性がある。逆に、呼びの割当数が少ない方が、エレベーターコントローラ5の処理の負荷が少ない。また、エレベーターコントローラ5が、停止つまり待機状態に遷移する可能性が高くなる。 The transmission order is sorted in ascending order of the number of calls assigned. The greater the number of calls assigned, the greater the number of times the car 7 moves to, stops at, and departs from floors to which calls are assigned, and this may result in a greater processing load on the elevator controller 5. Conversely, the smaller the number of calls assigned, the less the processing load on the elevator controller 5. Also, the elevator controller 5 is more likely to stop, i.e. transition to a standby state.

また、群管理コントローラ4の順番生成部34は、エレベーターコントローラ5へのファームイメージ31の送信順を、エレベーター15の運行状態に応じた順番にすることで、処理に余裕がある、又は直近で待機状態になる可能性が高いエレベーターコントローラ5からファームイメージ31を更新できる。このため、エレベーターコントローラ5は、効率よく更新データの通信が可能となる。また、群管理コントローラ4は、エレベーターコントローラ5に更新された新しいファームイメージ31を適用するために、すぐにエレベーターコントローラ5を再起動できる可能性が向上する。 In addition, the sequence generation unit 34 of the group management controller 4 sets the order in which the firmware images 31 are sent to the elevator controllers 5 according to the operation status of the elevators 15, so that the firmware image 31 can be updated from the elevator controller 5 that has processing capacity or is likely to enter a standby state soon. This allows the elevator controller 5 to communicate update data efficiently. In addition, the group management controller 4 is more likely to be able to immediately restart the elevator controller 5 in order to apply the updated new firmware image 31 to the elevator controller 5.

<通信コントローラ+群管理コントローラ>
次に、複数のエレベーターグループ18と、通信コントローラ3とが通信路17で接続されるツリー構造について、図16を用いて説明する。
図16は、通信コントローラ3と、複数の群管理コントローラ4と、で構成されるツリー構造の例を示すブロック図である。ここでは、図1に示した1台の通信コントローラ3と、任意の数だけ存在するエレベーターグループ18(1)~18(M)にそれぞれ対応して設けられた複数の群管理コントローラ4とを示す。なお、図11、図14、図16に示したコントローラ、グループの数を表すMの値はそれぞれ異なってよい。
<Communication controller + group management controller>
Next, a tree structure in which a plurality of elevator groups 18 and the communication controller 3 are connected via communication paths 17 will be described with reference to FIG.
Fig. 16 is a block diagram showing an example of a tree structure made up of a communication controller 3 and multiple group management controllers 4. Here, there is shown one communication controller 3 shown in Fig. 1, and multiple group management controllers 4 provided corresponding to any number of elevator groups 18(1) to 18(M). Note that the values of M, which indicate the number of controllers and groups, shown in Figs. 11, 14, and 16 may be different.

この処理では、通信コントローラ3又は複数の群管理コントローラ4のうち、ファームイメージ31が記憶されている一つがマスタコントローラ30であり、他がサブコントローラ40である。そして、マスタコントローラ30が送信順番を含むパケット50をサブコントローラ40に送信し、パケット50を受信したサブコントローラ40がファームイメージ31を更新する。このように通信コントローラ3と、複数の群管理コントローラ4とをマスタコントローラ30とサブコントローラ40の関係とすることで、一つのコントローラに限定されることなく、サブコントローラ40のファームイメージ31の更新処理を行うことが可能となる。 In this process, of the communication controller 3 or multiple group management controllers 4, one in which the firmware image 31 is stored is the master controller 30, and the others are sub-controllers 40. The master controller 30 then transmits a packet 50 including the transmission order to the sub-controller 40, and the sub-controller 40 that receives the packet 50 updates the firmware image 31. In this way, by forming the relationship between the communication controller 3 and multiple group management controllers 4 as the master controller 30 and the sub-controller 40, it becomes possible to perform the update process of the firmware image 31 of the sub-controller 40 without being limited to a single controller.

そこで、上位の通信コントローラ3から群管理コントローラ4にファームイメージ31がダウンロードされた場合を想定する。この場合には、通信コントローラ3がマスタコントローラ30となり、複数の群管理コントローラ4がサブコントローラ40となる構成になる。 Let us now consider a case where a firmware image 31 is downloaded from a higher-level communication controller 3 to a group management controller 4. In this case, the communication controller 3 becomes the master controller 30, and multiple group management controllers 4 become sub-controllers 40.

また、通信コントローラ3を経由して、任意の群管理コントローラ4がファームイメージ31をダウンロードする場合がある。この場合には、一つの群管理コントローラ4がマスタコントローラ30となり、それ以外の群管理コントローラ4及び通信コントローラ3がサブコントローラ40となる構成になる。この構成とした場合、一つの群管理コントローラ4が通信コントローラ3及び他の群管理コントローラ4にファームイメージ31を送信することも可能である。 In addition, any group management controller 4 may download the firmware image 31 via the communication controller 3. In this case, one group management controller 4 becomes the master controller 30, and the other group management controllers 4 and the communication controller 3 become sub-controllers 40. In this configuration, it is also possible for one group management controller 4 to transmit the firmware image 31 to the communication controller 3 and the other group management controllers 4.

また、保守端末19に接続されてファームイメージ31をダウンロードしたコントローラ20がマスタコントローラ30となる場合、このコントローラ20と同一セグメントに接続されているその他のコントローラ20がサブコントローラ40となる。ここで、ファームイメージ31をダウンロードしたコントローラ20として、例えば、通信コントローラ3が想定される。 In addition, when the controller 20 that is connected to the maintenance terminal 19 and has downloaded the firmware image 31 becomes the master controller 30, the other controllers 20 that are connected to the same segment as this controller 20 become sub-controllers 40. Here, the controller 20 that has downloaded the firmware image 31 is assumed to be, for example, the communication controller 3.

<群管理コントローラの割当数に応じた順番の生成処理>
次に、通信コントローラ3の順番生成部34は、運行状態の一つである群管理コントローラ4の割当処理の結果である複数の群管理コントローラ4への呼びの割当回数の状況、つまりエレベーター15への呼びの割当数と、割当処理状態とを元に、送信順番53のデータを生成する処理について、図17を用いて説明する。ここでは、このため、群管理コントローラ4への呼びの割当回数の状況による処理の負荷に応じた送信順番が生成される。
図17は、エレベーター15への呼びの割当数と、割当処理状態に応じた順番の生成処理の例を示すフローチャートである。
<Processing for generating order according to the number of assigned group management controllers>
Next, the process in which the sequence generation unit 34 of the communication controller 3 generates data for the transmission sequence 53 based on the status of the number of calls assigned to a plurality of group management controllers 4, which is the result of the assignment process of the group management controller 4, which is one of the operation states, that is, the number of calls assigned to the elevators 15, and the assignment process state, will be described with reference to Fig. 17. For this reason, here, a transmission sequence is generated according to the processing load due to the status of the number of calls assigned to the group management controller 4.
FIG. 17 is a flowchart showing an example of a process for generating the number of calls to be assigned to the elevator 15 and a sequence according to the status of the assignment process.

始めに、通信コントローラ3の運行状態取得部33は、各群管理コントローラ4から呼びの割当数及び割当処理状態を取得する(S81)。次に、運行状態取得部33は、全ての群管理コントローラ4から呼びの割当数及び割当処理状態を取得したか否かを確認する(S82)。全ての群管理コントローラ4から取得してない場合(S82のNO)、運行状態取得部33は、ステップS81に戻って、呼びの割当数及び割当処理状態の取得を繰り返す。 First, the operation status acquisition unit 33 of the communication controller 3 acquires the number of call allocations and the allocation processing status from each group management controller 4 (S81). Next, the operation status acquisition unit 33 checks whether the number of call allocations and the allocation processing status have been acquired from all group management controllers 4 (S82). If the number of call allocations and the allocation processing status have not been acquired from all group management controllers 4 (NO in S82), the operation status acquisition unit 33 returns to step S81 and repeats the acquisition of the number of call allocations and the allocation processing status.

一方、全ての群管理コントローラ4について取得した場合には(S82のYES)、通信コントローラ3の順番生成部34は、運行状態取得部33が取得した割当数及び割当処理状態に応じて群管理コントローラ4の送信順を並べ替えて送信順番53のデータを生成し(S83)、本処理を終了する。 On the other hand, if the data has been acquired for all group management controllers 4 (YES in S82), the sequence generation unit 34 of the communication controller 3 rearranges the transmission sequence of the group management controllers 4 according to the number of allocations and the allocation processing status acquired by the operation status acquisition unit 33 to generate data for the transmission sequence 53 (S83), and then ends this process.

送信順の並べ替えは、呼びの割当処理の有無及び割当数の昇順とする。呼びの割当処理が終了した群管理コントローラ4は、処理の負荷に余裕がある。呼びの割り当て処理が終了している群管理コントローラ4であっても、呼びの割当数が多い群管理コントローラ4の方が、割当できる選択肢が少ないために、群管理コントローラ4の処理の負荷が増える可能性が低い。つまり、呼びが割当てられる選択肢が少ないので、群管理コントローラ4の処理の負荷が増加する可能性が低くなる。 The transmission order is sorted in ascending order according to whether or not a call has been assigned and the number of assignments. A group management controller 4 for which call assignment processing has been completed has a margin of processing load. Even for a group management controller 4 for which call assignment processing has been completed, a group management controller 4 with a large number of call assignments has fewer options to assign, and therefore is less likely to have an increased processing load on the group management controller 4. In other words, because there are fewer options to which calls can be assigned, there is less possibility that the processing load on the group management controller 4 will increase.

一方、呼びの割当処理中の群管理コントローラ4は、割当処理が終了した群管理コントローラ4よりも処理の負荷が大きい。呼びの割当処理中の群管理コントローラ4であっても、既に割り当てられた呼びの割当数が少ない群管理コントローラ4の方が、これから呼びが割当られる選択肢が多いために、群管理コントローラ4の処理の負荷が増える可能性が高い。 On the other hand, a group management controller 4 in the process of allocating calls has a greater processing load than a group management controller 4 that has completed the allocation process. Even for a group management controller 4 in the process of allocating calls, a group management controller 4 with a smaller number of already allocated calls has more options for future call allocations, and therefore is more likely to experience an increase in the processing load of the group management controller 4.

このため、順番生成部34は、呼びの割当処理か否かという点、及び呼びの割当数の大小に応じて送信順番53のデータを生成することで、割当処理が終了した群管理コントローラ4を最初とし、処理中で且つ割当数が少ない処理の負荷の大きい群管理コントローラ4を最後とする順番にファームイメージ31を適用することができる。 For this reason, the sequence generation unit 34 generates data for the transmission sequence 53 depending on whether or not a call is being assigned and the number of calls assigned, so that the firmware image 31 can be applied in an order that places the group management controller 4 that has completed the assignment process first and the group management controller 4 that is currently processing and has a large processing load with a small number of assignments last.

このような運行情報に応じた順番にすることで、処理に余裕のある群管理コントローラ4からファームイメージ31を効率よく更新できる。このため、通信コントローラ3は、更新された新しいファームイメージ31を群管理コントローラ4に適用するために、すぐに群管理コントローラ4を再起動できる可能性が向上する。 By following this order according to the operation information, the firmware image 31 can be updated efficiently from the group management controller 4 that has processing capacity. This increases the likelihood that the communication controller 3 can immediately restart the group management controller 4 in order to apply the updated new firmware image 31 to the group management controller 4.

<各コントローラの再起動の処理>
次に、群管理コントローラ4、エレベーターコントローラ5、フロアコントローラ11がそれぞれファームイメージ31を適用するための再起動の処理について、図18~図20を用いて説明する。
<Restart process for each controller>
Next, the restart processing for the group management controller 4, elevator controller 5, and floor controller 11 to apply the firmware image 31 will be described with reference to FIGS. 18 to 20.

<群管理コントローラの再起動(割り当て済み)>
まず、群管理コントローラ4が、運行状態の一つである呼びの割当処理状態に応じて、更新されたファームイメージ31を適用するために再起動する処理について、図18を用いて説明する。
図18は、群管理コントローラ4がファームイメージ31を適用するための再起動を判断する処理の例を示すフローチャートである。この処理では、群管理コントローラ4に対するファームイメージ31の更新が完了した時点で呼びの割当処理が実行されていない場合に、ファームイメージ31の更新が完了した群管理コントローラ4のイメージ構築部45が再起動を実施する。このため、群管理コントローラ4が管理するエレベーター15で利用者のいない時間帯に群管理コントローラ4が再起動されることとなり、利用者に不便を生じさせない。
<Restarting group management controller (allocated)>
First, the process in which the group management controller 4 restarts itself to apply the updated firmware image 31 in accordance with the call allocation processing state, which is one of the operation states, will be described with reference to FIG.
18 is a flowchart showing an example of a process in which the group management controller 4 determines whether to restart in order to apply the firmware image 31. In this process, if a call allocation process is not being executed at the time when the update of the firmware image 31 for the group management controller 4 is completed, the image construction unit 45 of the group management controller 4 for which the update of the firmware image 31 has been completed performs the restart. Therefore, the group management controller 4 is restarted during a time period when there are no users in the elevators 15 managed by the group management controller 4, which does not cause inconvenience to users.

始めに、群管理コントローラ4は、呼びの割当処理の実行状態を取得する(S91)。群管理コントローラ4は、呼びの割当処理が実行中か否かを確認する(S92)。呼びの割当処理が実行中であれば(S92のYES)、再起動は実行せず、本処理を終了する。一定時間後、群管理コントローラ4は、ステップS91から処理を再開する。一方、呼びの割当処理が実行中でない、すなわち呼びの割当処理が終了し、呼びが割当済みであれば(S92のNO)、群管理コントローラ4を再起動し(S93)、本処理を終了する。 First, the group management controller 4 acquires the execution status of the call allocation process (S91). The group management controller 4 checks whether the call allocation process is running or not (S92). If the call allocation process is running (YES in S92), restart is not performed and this process ends. After a certain period of time, the group management controller 4 resumes the process from step S91. On the other hand, if the call allocation process is not running, that is, if the call allocation process has ended and the call has been assigned (NO in S92), the group management controller 4 is restarted (S93) and this process ends.

このような処理により、群管理コントローラ4は、ファームイメージ31を更新した際に、保守モードのように特別なモードや作業時間を確保することなく、新たなファームイメージ31を適用するための再起動をすることが可能となる。 By performing this process, when the firmware image 31 is updated, the group management controller 4 can be restarted to apply the new firmware image 31 without having to set aside a special mode or work time, such as a maintenance mode.

<エレベーターコントローラの再起動(次回到着前に停止モードを予約)>
次に、エレベーターコントローラ5が、運行状態の一つである行先階情報に応じて、更新されたファームイメージ31を適用するために再起動する処理について、図19を用いて説明する。
図19は、エレベーターコントローラ5がファームイメージ31を適用するための再起動を判断する処理の例を示すフローチャートである。この処理では、エレベーターコントローラ5のイメージ構築部45が、エレベーターコントローラ5のファームイメージ31の更新が完了した時点でエレベーター15の行先階が登録された場合に、エレベーターコントローラ5の新たな呼びの受付を保留とする。そして、エレベーターコントローラ5のイメージ構築部45は、行先階にかごが到着した後に、かごの安全状態を確認できた場合に、エレベーターコントローラ5の再起動を実施する。このため、利用者のいないエレベーター15でエレベーターコントローラ5が再起動されることとなり、利用者に不便を生じさせない。
<Restarting the elevator controller (reserving stop mode before the next arrival)>
Next, the process in which the elevator controller 5 restarts itself to apply the updated firmware image 31 in accordance with destination floor information, which is one of the operation states, will be described with reference to FIG. 19.
19 is a flowchart showing an example of a process in which the elevator controller 5 determines whether to restart the elevator 15 in order to apply the firmware image 31. In this process, the image construction unit 45 of the elevator controller 5 suspends the acceptance of new calls from the elevator controller 5 if the destination floor of the elevator 15 is registered at the time when the update of the firmware image 31 of the elevator controller 5 is completed. Then, the image construction unit 45 of the elevator controller 5 restarts the elevator controller 5 if the safety state of the elevator 15 can be confirmed after the elevator car has arrived at the destination floor. As a result, the elevator controller 5 is restarted in an elevator 15 that has no users, which does not cause inconvenience to users.

始めに、エレベーターコントローラ5は、運行状態の一つである行先階情報を取得する(S101)。次に、エレベーターコントローラ5は、行先階情報を判定する(S102)。行先階が複数登録されている場合には、エレベーター15の運行を継続する必要があるため再起動することはできない。一方、行先階に一つの階が登録されている、又は行先階が登録されていない場合には(S102のNO)、エレベーターコントローラ5は、新たに呼びの登録が発生しないように呼び登録をマスクする(S103)。そこで、エレベーターコントローラ5は、新たな呼びを受け付けないモードに遷移すると共に、かご7が行先階に到着した際に再起動できる運行モードとして、例えば保守モードにするように処理する。 First, the elevator controller 5 acquires destination floor information, which is one of the operation states (S101). Next, the elevator controller 5 judges the destination floor information (S102). If multiple destination floors are registered, the elevator 15 cannot be restarted because it is necessary to continue operating. On the other hand, if one floor is registered as the destination floor or no destination floor is registered (NO in S102), the elevator controller 5 masks the call registration so that no new call registration occurs (S103). Therefore, the elevator controller 5 transitions to a mode that does not accept new calls, and processes to enter, for example, a maintenance mode, as an operation mode that can be restarted when the car 7 arrives at the destination floor.

次に、エレベーターコントローラ5は、かご7が行先階に到着したか否かを確認し(S104)、かご7が行先階に到着したか否かを判定する(S105)。かご7が行先階に到着していなければ(S105のNO)、エレベーターコントローラ5は、ステップS104に戻ってかご7の到着の確認を継続する。 Next, the elevator controller 5 checks whether the car 7 has arrived at the destination floor (S104) and determines whether the car 7 has arrived at the destination floor (S105). If the car 7 has not arrived at the destination floor (NO in S105), the elevator controller 5 returns to step S104 and continues checking for the arrival of the car 7.

一方、かご7が行先階に到着した場合には(S105のYES)、エレベーターコントローラ5は、かご状態を取得する(S106)。次に、エレベーターコントローラ5は、取得したかご状態が、少なくとも乗客に対して安全な状態であるか否かを判定する(S107)。 On the other hand, if the car 7 has arrived at the destination floor (YES in S105), the elevator controller 5 acquires the car state (S106). Next, the elevator controller 5 determines whether the acquired car state is at least a safe state for passengers (S107).

かご7に乗客が乗っておらず且つドアが閉じている状態が一番安全な状態である。安全状態でないと判定した場合(S107のNO)、エレベーターコントローラ5は、本処理を終了する。一定時間後、エレベーターコントローラ5は、ステップS101から処理を再開する。一方、安全状態と判定した場合には(S107のYES)、エレベーターコントローラ5は、自身の再起動を実行し(S108)、本処理を終了する。 The safest state is when there are no passengers in the car 7 and the doors are closed. If it is determined that the state is not safe (NO in S107), the elevator controller 5 ends this process. After a certain period of time, the elevator controller 5 resumes the process from step S101. On the other hand, if it is determined that the state is safe (YES in S107), the elevator controller 5 restarts itself (S108) and ends this process.

このような処理により、エレベーターコントローラ5は、ファームイメージ31を更新した際に、保守モードのように特別なモードや作業時間を確保することなく、新たなファームイメージ31を適用するための再起動をすることが可能となる。 By performing this process, when the firmware image 31 is updated, the elevator controller 5 can be restarted to apply the new firmware image 31 without having to set aside a special mode or work time, such as a maintenance mode.

<フロアコントローラの再起動(呼び登録の確認)>
次に、フロアコントローラ11が、運行状態の一つである上下呼びの登録に応じて、更新されたファームイメージ31を適用するために再起動する処理について、図20を用いて説明する。ここでは、フロアコントローラ11のイメージ構築部45が、フロアコントローラ11のファームイメージ31の更新が完了した時点で呼びの登録を確認し、呼びが登録されていない場合に、フロアコントローラ11の再起動を実施する。このため、利用者のいないフロアでフロアコントローラ11が再起動されることとなり、利用者に不便を生じさせない。
図20は、フロアコントローラ11がファームイメージ31を適用するために再起動する処理の例を示すフローチャートである。
<Restarting the floor controller (checking call registration)>
Next, the process of restarting the floor controller 11 to apply the updated firmware image 31 in response to the registration of an up/down call, which is one of the operation states, will be described with reference to Fig. 20. Here, the image construction unit 45 of the floor controller 11 checks the call registration at the time when the update of the firmware image 31 of the floor controller 11 is completed, and restarts the floor controller 11 if the call is not registered. Therefore, the floor controller 11 is restarted on a floor where there are no users, which does not cause inconvenience to the users.
FIG. 20 is a flowchart showing an example of a process in which the floor controller 11 is rebooted to apply the firmware image 31.

始めに、フロアコントローラ11は、上下呼びの登録の状態を取得する(S111)。次に、フロアコントローラ11は、上下呼びの登録の有無を判定する(S112)。上下呼びの登録が有る場合(S112のYES)、エレベーター15の運転が継続しているので再起動できない。したがって、本処理はここで終了し、一定時間後、フロアコントローラ11は、ステップS111から処理を再開する。 First, the floor controller 11 acquires the status of up/down call registration (S111). Next, the floor controller 11 determines whether up/down calls are registered (S112). If up/down calls are registered (YES in S112), the elevator 15 is still operating and cannot be restarted. Therefore, this process ends here, and after a certain period of time, the floor controller 11 resumes the process from step S111.

一方、上下呼びの登録が無い場合(S112のNO)、エレベーター15の運行状態から当該フロアのフロアコントローラ11が一時的に切り離された状態に相当するので、フロアコントローラ11は、再起動を実行し(S113)、本処理を終了する。 On the other hand, if no up or down calls are registered (NO in S112), this corresponds to a state in which the floor controller 11 for that floor is temporarily disconnected from the operation state of the elevator 15, so the floor controller 11 executes a restart (S113) and ends this process.

このような処理により、フロアコントローラ11は、ファームイメージ31を更新した際に、保守モードのように特別なモードや作業時間を確保することなく、新たなファームイメージ31を適用するための再起動をすることが可能となる。 By performing this process, when the firmware image 31 is updated, the floor controller 11 can be restarted to apply the new firmware image 31 without having to set aside a special mode or work time, such as a maintenance mode.

なお、本発明は上述した各実施形態に限られるものではなく、特許請求の範囲に記載した本発明の要旨を逸脱しない限りその他種々の応用例、変形例を取り得ることは勿論である。
例えば、上述した各実施形態は本発明を分かりやすく説明するために装置及びシステムの構成を詳細かつ具体的に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されない。また、ここで説明した実施形態の構成の一部を他の実施形態の構成に置き換えることは可能であり、さらにはある実施形態の構成に他の実施形態の構成を加えることも可能である。また、各実施形態の構成の一部について、他の構成の追加、削除、置換をすることも可能である。
また、制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。実際には殆ど全ての構成が相互に接続されていると考えてもよい。
It should be noted that the present invention is not limited to the above-described embodiments, and various other applications and modifications are possible without departing from the gist of the present invention as set forth in the claims.
For example, the above-mentioned embodiments have described the configuration of the device and system in detail and specifically in order to explain the present invention in an easily understandable manner, and are not necessarily limited to those having all of the configurations described. In addition, it is possible to replace a part of the configuration of the embodiment described here with the configuration of another embodiment, and it is also possible to add the configuration of another embodiment to the configuration of one embodiment. In addition, it is also possible to add, delete, or replace a part of the configuration of each embodiment with another configuration.
In addition, the control lines and information lines shown are those that are considered necessary for the explanation, and not all control lines and information lines in the product are necessarily shown. In reality, it can be considered that almost all components are connected to each other.

1…センタ、3…通信コントローラ、4…群管理コントローラ、5…エレベーターコントローラ、10…かごコントローラ、11…フロアコントローラ、18…エレベーターグループ、19…保守端末、20…コントローラ、30…マスタコントローラ、31…ファームイメージ、32…イメージ分割部、33…運行状態取得部、34…順番生成部、35…パケット生成部、36…マスタ通信部、40…サブコントローラ、41…サブ通信部、42…パケット解釈部、43…送信先抽出部、44…パケット生成部、45…イメージ構築部、50…パケット、100…エレベーターシステム、200…パケット通信システム 1...center, 3...communication controller, 4...group management controller, 5...elevator controller, 10...car controller, 11...floor controller, 18...elevator group, 19...maintenance terminal, 20...controller, 30...master controller, 31...firm image, 32...image division unit, 33...operation status acquisition unit, 34...sequence generation unit, 35...packet generation unit, 36...master communication unit, 40...subcontroller, 41...subcommunication unit, 42...packet interpretation unit, 43...destination extraction unit, 44...packet generation unit, 45...image construction unit, 50...packet, 100...elevator system, 200...packet communication system

Claims (15)

ファームウェアを送信するマスタコントローラと、前記ファームウェアを受信して前記ファームウェアを更新するサブコントローラとを備えるエレベーターシステムであって、
前記マスタコントローラは、前記エレベーターの運行状態に応じて、複数の前記サブコントローラに対する前記ファームウェアの送信順番を生成し、前記送信順番が優先される前記サブコントローラに対して、前記ファームウェア及び前記送信順番を含む第1送信データを送信し、
前記送信順番が優先される前記サブコントローラは、前記マスタコントローラから前記第1送信データを受信して前記ファームウェアの更新を行い、前記送信順番が次に優先される前記サブコントローラに前記第1送信データを送信する
エレベーターシステム。
An elevator system comprising a master controller that transmits firmware and a sub-controller that receives the firmware and updates the firmware,
the master controller generates a transmission order of the firmware for the plurality of sub-controllers according to an operation state of the elevator, and transmits first transmission data including the firmware and the transmission order to the sub-controller having a priority in the transmission order;
the sub-controller having the priority in the transmission order receives the first transmission data from the master controller, updates the firmware, and transmits the first transmission data to the sub-controller having the next priority in the transmission order.
前記マスタコントローラは、
エレベーターの運行状態を取得する運行状態取得部と、
前記ファームウェアの送信先である前記サブコントローラの送信順番を前記運行状態に応じて生成する順番生成部と、
前記ファームウェアを分割するファームウェア分割部と、
前記送信順番にしたがって前記サブコントローラに前記ファームウェアを送信するための第1送信データを生成する第1送信データ生成部と、
前記送信順番が最先である前記サブコントローラに前記第1送信データを送信する第1通信部と、を備え、
前記第1送信データ生成部は、前記マスタコントローラを識別する情報と、前記サブコントローラを識別する情報と、前記送信順番と、分割された前記ファームウェアの構築順番と、分割された前記ファームウェアとを含む前記第1送信データを生成する
請求項1に記載のエレベーターシステム。
The master controller:
an operation status acquisition unit for acquiring an operation status of the elevator;
an order generating unit that generates an order of transmission of the firmware to the sub-controllers to which the firmware is to be transmitted in accordance with the operating state;
a firmware division unit that divides the firmware;
a first transmission data generating unit that generates first transmission data for transmitting the firmware to the sub-controller in accordance with the transmission order;
a first communication unit that transmits the first transmission data to the sub-controller that has the first order of transmission,
2. The elevator system according to claim 1, wherein the first transmission data generation unit generates the first transmission data including information identifying the master controller, information identifying the sub-controller, the transmission order, a construction order of the divided firmware, and the divided firmware.
前記サブコントローラは、前記マスタコントローラ、又は前記第1送信データの送信元である前記サブコントローラから前記第1送信データを受信する第2通信部と、
前記第1送信データを解釈するデータ解釈部と、
前記データ解釈部が解釈した、分割された前記ファームウェアを前記構築順番に従って元の前記ファームウェアに構築するファームウェア構築部と、
前記データ解釈部が解釈した、前記送信順番に基づいて、前記第1送信データの次の送信先である前記サブコントローラを抽出する送信先抽出部と、
前記第1送信データの次の送信先である前記サブコントローラに前記ファームウェアを送信するための第2送信データを生成する第2送信データ生成部と、を有し、
前記第2通信部は、前記第2送信データを次の送信先である前記サブコントローラに送信する
請求項2に記載のエレベーターシステム。
a second communication unit that receives the first transmission data from the master controller or the sub-controller that is a source of the first transmission data;
a data interpretation unit that interprets the first transmission data;
a firmware construction unit that constructs the divided firmware interpreted by the data interpretation unit into the original firmware in accordance with the construction order;
a destination extraction unit that extracts the sub-controller that is a next destination of the first transmission data based on the transmission order interpreted by the data interpretation unit;
a second transmission data generating unit that generates second transmission data for transmitting the firmware to the sub-controller that is a next destination of the first transmission data,
The elevator system according to claim 2 , wherein the second communication unit transmits the second transmission data to the sub-controller which is a next transmission destination.
前記ファームウェア構築部による前記ファームウェアの更新途中に異常が発生した場合に、前記第2通信部は、前記異常に関する情報を含むデータを、前記送信順番とは逆順で前記マスタコントローラに送信する
請求項3に記載のエレベーターシステム。
4. The elevator system according to claim 3, wherein when an abnormality occurs during updating of the firmware by the firmware construction unit, the second communication unit transmits data including information regarding the abnormality to the master controller in a reverse order to the transmission order.
前記ファームウェア構築部は、前記ファームウェアの更新途中に異常が発生した場合に、前記ファームウェア構築部が構築していた前記ファームウェアを消去する
請求項4に記載のエレベーターシステム。
The elevator system according to claim 4 , wherein the firmware construction unit erases the firmware that the firmware construction unit has constructed when an abnormality occurs during the firmware update.
前記第2通信部は、前記第1送信データの次の送信先である前記サブコントローラから前記ファームウェアの更新途中に発生した異常に関する情報を含むデータを受信した場合に、前記異常に関する情報を含むデータを送信した前記サブコントローラをスキップして、後続の前記サブコントローラに前記第2送信データを送信する
請求項3に記載のエレベーターシステム。
The elevator system according to claim 3, wherein when the second communication unit receives data including information regarding an abnormality that occurred during the firmware update from the subcontroller that is the next destination of the first transmission data, the second communication unit skips the subcontroller that transmitted the data including information regarding the abnormality and transmits the second transmission data to the subsequent subcontroller.
前記エレベーターの動作を制御するエレベーターコントローラと、
前記エレベーターが昇降するフロアごとに設けられ、前記フロアの状況を前記エレベーターコントローラに伝える複数のフロアコントローラと、を備え、
前記エレベーターコントローラ又は複数のフロアコントロ―ラのうち、前記ファームウェアが記憶されている一つがマスタコントローラであり、他がサブコントローラである場合に、前記マスタコントローラが前記送信順番を含む前記第1送信データを前記サブコントローラに送信し、前記第1送信データを受信した前記サブコントローラが前記ファームウェアを更新する
請求項3に記載のエレベーターシステム。
An elevator controller for controlling the operation of the elevator;
a plurality of floor controllers provided for each floor on which the elevator ascends and descends, and which notify the elevator controller of the status of the floor;
4. The elevator system according to claim 3, wherein, when one of the elevator controller or a plurality of floor controllers in which the firmware is stored is a master controller and the others are sub-controllers, the master controller transmits the first transmission data including the transmission order to the sub-controller, and the sub-controller receiving the first transmission data updates the firmware.
前記マスタコントローラは、前記運行状態として取得した、各フロアの呼び登録の状況に応じて前記送信順番を生成し、前記フロアの滞在人数の状況に応じて、前記送信順番を並べ替える
請求項7に記載のエレベーターシステム。
8. The elevator system according to claim 7, wherein the master controller generates the transmission order according to a call registration status for each floor acquired as the operation status, and rearranges the transmission order according to a status of a number of people staying on the floor.
前記ファームウェア構築部は、前記フロアコントローラのファームウェアの更新が完了した時点で呼びの登録を確認し、呼びが登録されていない場合に、前記フロアコントローラの再起動を実施する
請求項7に記載のエレベーターシステム。
The elevator system according to claim 7, wherein the firmware construction unit checks whether a call has been registered when the firmware update of the floor controller is completed, and if no call has been registered, restarts the floor controller.
前記エレベーターの動作を制御する複数のエレベーターコントローラの動作を制御する群管理コントローラと、
複数のエレベーターコントローラと、を備え、
前記群管理コントローラ又は複数のエレベーターコントロ―ラのうち、前記ファームウェアが記憶されている一つがマスタコントローラであり、他がサブコントローラである場合に、前記マスタコントローラが前記送信順番を含む前記第1送信データを前記サブコントローラに送信し、前記第1送信データを受信した前記サブコントローラが前記ファームウェアを更新する
請求項3に記載のエレベーターシステム。
A group management controller that controls the operation of a plurality of elevator controllers that control the operation of the elevator;
a plurality of elevator controllers;
4. The elevator system according to claim 3, wherein, when one of the group management controller or a plurality of elevator controllers in which the firmware is stored is a master controller and the others are sub-controllers, the master controller transmits the first transmission data including the transmission order to the sub-controller, and the sub-controller receiving the first transmission data updates the firmware.
前記順番生成部は、前記運行状態として取得した、複数の前記エレベーターへの呼びの割当の状況に応じて前記送信順番を生成する
請求項10に記載のエレベーターシステム。
The elevator system according to claim 10, wherein the sequence generation unit generates the transmission sequence according to a situation of call allocation to the plurality of elevators acquired as the operation status.
前記ファームウェア構築部は、前記エレベーターコントローラの前記ファームウェアの更新が完了した時点で前記エレベーターの行先階が登録された場合に、前記エレベーターコントローラの新たな呼びの受付を保留とし、前記行先階にかごが到着した後に、前記かごの安全状態を確認できた場合に、前記エレベーターコントローラが再起動を実施する
請求項10に記載のエレベーターシステム。
11. The elevator system according to claim 10, wherein the firmware construction unit suspends acceptance of new calls by the elevator controller when a destination floor of the elevator is registered at the time when updating of the firmware of the elevator controller is completed, and when a safety condition of the car can be confirmed after the car arrives at the destination floor, the elevator controller performs a restart.
複数のエレベーターコントローラの動作を制御する複数の群管理コントローラに対する通信を制御する通信コントローラと、
複数の前記群管理コントローラと、を備え、
前記通信コントローラ又は複数の前記群管理コントロ―ラのうち、前記ファームウェアが記憶されている一つがマスタコントローラであり、他がサブコントローラである場合に、前記マスタコントローラが前記送信順番を含む前記第1送信データを前記サブコントローラに送信し、前記第1送信データを受信した前記サブコントローラが前記ファームウェアを更新する
請求項3に記載のエレベーターシステム。
a communication controller that controls communications with a plurality of group management controllers that control operations of a plurality of elevator controllers;
A plurality of the group management controllers,
4. The elevator system according to claim 3, wherein when one of the communication controller or the plurality of group control controllers in which the firmware is stored is a master controller and the others are sub-controllers, the master controller transmits the first transmission data including the transmission order to the sub-controller, and the sub-controller receiving the first transmission data updates the firmware.
前記順番生成部は、前記運行状態として取得した、複数の前記群管理コントローラへの呼びの割当回数の状況に応じて前記送信順番を生成し、
前記ファームウェア構築部は、前記群管理コントローラに対する前記ファームウェアの更新が完了した時点で呼びの割当処理が実行されていない場合に、前記ファームウェアの更新が完了した群管理コントローラが再起動を実施する
請求項13に記載のエレベーターシステム。
the sequence generation unit generates the transmission sequence in accordance with a status of a number of times that calls are assigned to the plurality of group management controllers, the status being acquired as the operation status;
The elevator system according to claim 13, wherein the firmware construction unit restarts the group management controller for which the firmware update has been completed if a call allocation process is not being executed at the time when the firmware update for the group management controller is completed.
ファームウェアを送信するマスタコントローラと、前記ファームウェアを受信して前記ファームウェアを更新するサブコントローラとを備えるエレベーターシステムで行われるファームウェア送信方法であって、
前記マスタコントローラが、前記エレベーターの運行状態に応じて、複数の前記サブコントローラに対する前記ファームウェアの送信順番を生成し、前記送信順番が優先される前記サブコントローラに対して、前記ファームウェア及び前記送信順番を含む第1送信データを送信する処理と、
前記送信順番が優先される前記サブコントローラは、前記マスタコントローラから前記第1送信データを受信して前記ファームウェアの更新を行い、前記送信順番が次に優先される前記サブコントローラに前記第1送信データを送信する処理と、を含む
ファームウェア送信方法。
A firmware transmission method performed in an elevator system including a master controller that transmits firmware and a sub-controller that receives the firmware and updates the firmware, comprising:
a process in which the master controller generates a transmission order of the firmware for the plurality of sub-controllers according to the operation state of the elevator, and transmits first transmission data including the firmware and the transmission order to the sub-controller having a priority in the transmission order;
The sub-controller having priority in the transmission order receives the first transmission data from the master controller, updates the firmware, and transmits the first transmission data to the sub-controller having the next priority in the transmission order.
JP2022030614A 2022-03-01 2022-03-01 Elevator system and firmware transmission method Active JP7618607B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2022030614A JP7618607B2 (en) 2022-03-01 2022-03-01 Elevator system and firmware transmission method
PCT/JP2022/043113 WO2023166795A1 (en) 2022-03-01 2022-11-22 Elevator system and firmware transmission method
CN202280077187.8A CN118284573A (en) 2022-03-01 2022-11-22 Elevator system and firmware sending method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022030614A JP7618607B2 (en) 2022-03-01 2022-03-01 Elevator system and firmware transmission method

Publications (2)

Publication Number Publication Date
JP2023127066A JP2023127066A (en) 2023-09-13
JP7618607B2 true JP7618607B2 (en) 2025-01-21

Family

ID=87883569

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022030614A Active JP7618607B2 (en) 2022-03-01 2022-03-01 Elevator system and firmware transmission method

Country Status (3)

Country Link
JP (1) JP7618607B2 (en)
CN (1) CN118284573A (en)
WO (1) WO2023166795A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025083831A1 (en) * 2023-10-18 2025-04-24 株式会社日立製作所 Elevator control system, elevator control method, and elevator

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007091330A1 (en) 2006-02-10 2007-08-16 Mitsubishi Denki Kabushiki Kaisha Remote updating system for elevator control programs
JP2008254885A (en) 2007-04-05 2008-10-23 Mitsubishi Electric Corp Elevator control system
CN104973466A (en) 2015-05-25 2015-10-14 广州日滨科技发展有限公司 Remote updating method and system for elevator control program
JP2016143359A (en) 2015-02-05 2016-08-08 シャープ株式会社 Electronic device and firmware update method
JP2017186146A (en) 2016-04-08 2017-10-12 株式会社日立製作所 Function change method of group management elevator device and call registration device
US20200283266A1 (en) 2017-10-27 2020-09-10 Inventio Ag Safety system for building-related passenger transportation system
JP2021130534A (en) 2020-02-19 2021-09-09 株式会社日立製作所 Elevator control device and elevator control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007091330A1 (en) 2006-02-10 2007-08-16 Mitsubishi Denki Kabushiki Kaisha Remote updating system for elevator control programs
JP2008254885A (en) 2007-04-05 2008-10-23 Mitsubishi Electric Corp Elevator control system
JP2016143359A (en) 2015-02-05 2016-08-08 シャープ株式会社 Electronic device and firmware update method
CN104973466A (en) 2015-05-25 2015-10-14 广州日滨科技发展有限公司 Remote updating method and system for elevator control program
JP2017186146A (en) 2016-04-08 2017-10-12 株式会社日立製作所 Function change method of group management elevator device and call registration device
US20200283266A1 (en) 2017-10-27 2020-09-10 Inventio Ag Safety system for building-related passenger transportation system
JP2021130534A (en) 2020-02-19 2021-09-09 株式会社日立製作所 Elevator control device and elevator control method

Also Published As

Publication number Publication date
CN118284573A (en) 2024-07-02
JP2023127066A (en) 2023-09-13
WO2023166795A1 (en) 2023-09-07

Similar Documents

Publication Publication Date Title
CN101365642B (en) Remote updating system for elevator control program
CN109936473B (en) Deep learning prediction-based distributed computing system and operation method thereof
CN112910937B (en) Object scheduling method, device, server and container cluster in container cluster
CN113849264B (en) Method for orchestrating container-based applications on a terminal device
CN104486394B (en) In-service Software Upgrade method and device
CN111274033B (en) A resource deployment method, device, server and storage medium
CN106790092A (en) Remote procedure call services end control system and method
JP7618607B2 (en) Elevator system and firmware transmission method
CN112612604B (en) Task scheduling method and device based on Actor model
CN110247980B (en) Gateway control method in local area network and gateway
JP5396766B2 (en) Control system for distributed power system
CN103825789B (en) Bus system and its operation method and the fluidic system with bus system
EP1843520B1 (en) A method and device for controlling the configuration of configuration parameter set of the remote device
CN106685688A (en) Cluster computer device synchronous upgrade method
JP2021062852A (en) Electronic interlocking device
CN115123886A (en) Elevator system and control method of elevator system
CN118555217B (en) Data transmission method, device, gateway node, storage medium and system
JP5473346B2 (en) Elevator group management control device
US20210037093A1 (en) Device state synchronization method and common capability component
JP7443481B1 (en) elevator system
CN112532454A (en) FC switching network system network management method
JP7595518B2 (en) Software rewriting system and software rewriting method
CN115448116A (en) Elevator cloud control system
CN110620679B (en) Method for making configuration changes to a connected network
CN109257221B (en) Data management control method, network controller and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240603

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20241224

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250108

R150 Certificate of patent or registration of utility model

Ref document number: 7618607

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150