JP4690055B2 - Firmware update method and firmware update system - Google Patents
Firmware update method and firmware update system Download PDFInfo
- Publication number
- JP4690055B2 JP4690055B2 JP2005007131A JP2005007131A JP4690055B2 JP 4690055 B2 JP4690055 B2 JP 4690055B2 JP 2005007131 A JP2005007131 A JP 2005007131A JP 2005007131 A JP2005007131 A JP 2005007131A JP 4690055 B2 JP4690055 B2 JP 4690055B2
- Authority
- JP
- Japan
- Prior art keywords
- plc
- firmware update
- management device
- firmware
- connection
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Description
この発明は、電灯線/配電線をインタネット、アクセス回線として利用する高速データ通信や、電灯線による家電製品間LAN等に用いられているPLC(Power Line Communications)装置に関するものであり、特にマスタスレーブ方式のPLC装置のファームウェア更新方法およびその更新システムに係るものである。 The present invention relates to a PLC (Power Line Communications) device used for high-speed data communication using a power line / distribution line as an Internet or an access line, a LAN between home electric appliances using a power line, and in particular, a master slave. The present invention relates to a firmware update method and an update system for a PLC system.
複数の通信機器を遠隔から集約監視制御するオペレーションシステムにおいて、通信機器を構成する装置に関する設備情報、ファームウェアファイル、ファームウェアファイル付属情報を管理し、この管理情報に基づいて自動的にファームウェアファイル更新対象となる装置を選び出すと共に、新ファームウェアファイルを伝送した後、前記通信機器に対してシナリオ実行命令を伝送してファームウェアファイルの更新を指示し、通信機器には更新手順を表したシナリオを蓄積し、オペレーションシステムから新ファームウェアファイルとシナリオ実行命令を受信した後、前記シナリオを実行して更新対象となる装置のファームウェアを更新するファームウェア更新制御方法が示されている(特許文献1参照)。 In an operation system that remotely monitors and controls multiple communication devices, it manages equipment information, firmware files, and firmware file attached information related to the devices that make up the communication devices, and automatically updates the firmware file based on this management information. After the new firmware file is transmitted, a scenario execution command is transmitted to the communication device to instruct the firmware file to be updated, and the communication device stores the scenario indicating the update procedure and operates. A firmware update control method is described in which after a new firmware file and a scenario execution command are received from a system, the scenario is executed to update the firmware of a device to be updated (see Patent Document 1).
前記特許文献1に示されたファームウェア更新技術は、ファームウェア更新対象の通信機器がデータ伝送回線に並列に設置された場合について記載されていて、この技術をマスタスレーブ方式のPLC装置のファームウェア更新に応用することは以下の観点から問題点がある。 The firmware update technique disclosed in Patent Document 1 describes a case where a communication device to be updated is installed in parallel on a data transmission line, and this technique is applied to firmware update of a master-slave PLC device. There are problems from the following viewpoints.
電灯線を介したマスタースレーブ方式のPLC装置のネットワークは上位の高圧向け装置を根、家庭内に設置されるような末端のPLC装置を葉とするツリー状の接続トポロジとして表わされる。各装置はツリーの上下の装置と1対1で接続されることとなる為、ツリー途上のPLC装置の通信が停止した場合、その装置以下のPLC装置も通信ができなくなってしまうという特性がある。
現在適用されているファームウェアと通信の互換性がない新しいファームウェアを装置に対して適用する場合、管理装置を基点として、更新作業を行うべき該当装置を経由したネットワークの先にファームウェア未更新の装置が存在しないことを確認する必要がある。未更新の装置が該当装置以遠にあるまま、該当装置のファームウェアを更新してしまうと、管理装置から未更新装置へ接続できなくなり、遠隔でファームウェア更新ができなくなるという問題点を有している。
A network of master-slave PLC devices via power lines is expressed as a tree-like connection topology with a high-order high-voltage device as a root and a terminal PLC device installed in a home as a leaf. Since each device is connected to the devices above and below the tree in a one-to-one relationship, when communication of a PLC device in the middle of the tree stops, the PLC device below that device also cannot communicate. .
When new firmware that is not compatible with the currently applied firmware is applied to the device, the device that has not been updated on the network via the corresponding device that should be updated, starting from the management device. It is necessary to confirm that it does not exist. If the firmware of the corresponding device is updated while the unupdated device is far away from the corresponding device, the management device cannot connect to the unupdated device, and the firmware cannot be updated remotely.
また、ネットワーク全体で行われるファームウェア更新作業にかかる時間を短縮する為、無作為に複数のPLC装置の更新作業が並行して行われると、直結される二つのPLC装置に対して同時に更新作業が行われる場合が発生する。このような場合において、下位装置が管理装置より送られるファームウェアプログラムを受信している最中に、上位装置が更新処理により通信停止してしまうと、下位装置のファームウェア更新が完全に行われないで終了してしまうという問題があった。 In addition, in order to shorten the time required for the firmware update work performed in the entire network, when the update work of a plurality of PLC devices is performed in parallel, the update work is simultaneously performed on two directly connected PLC devices. When it happens. In such a case, if the host device stops communication due to the update process while the lower device is receiving the firmware program sent from the management device, the firmware of the lower device is not completely updated. There was a problem that it ended.
この発明は前記のような課題を解決するためになされたものであり、事前にネツトワークトポロジに基づく更新作業順番を計画することにより、複数の更新対象装置のファームウェア更新作業を確実に実行するとともに、作業を一括して実行することで全体の更新作業時間を短縮することを目的としている。 The present invention has been made to solve the above-described problems, and by planning the update operation order based on the network topology in advance, the firmware update operation of a plurality of update target devices can be reliably executed. The purpose is to shorten the entire update work time by executing the work in a batch.
第1の発明に係わるマスタスレーブ方式のネットワークを形成するPLC装置のファームウェア更新方法は、
ネットワーク上位基幹部分に接続されている管理装置は、ファームウェア更新対象エリア内のPLC装置に関するアドレスと管理装置からの距離の情報から接続トポロジの作成を行い、管理装置から遠い距離にあるPLC装置から順にファームウェアの更新を行うものである。
The firmware update method for the PLC device forming the master-slave network according to the first invention is as follows:
The management device connected to the upper network part of the network creates a connection topology from the address about the PLC device in the firmware update target area and the distance information from the management device, and in order from the PLC device that is far away from the management device. The firmware is updated.
また、第2の発明に係わるマスタスレーブ方式のネットワークを形成する複数のPLC装置のファームウェア更新システムは、PLC装置はネットワークを介して伝送される情報をファームウェアを基に中継するものであり、
ネットワークの上位基幹部に設けられた管理装置は、管理装置に接続されるファームウェア更新対象エリア内の複数のPLC装置の事前情報から、管理装置に最も近い距離にあるPLC装置を始点とし、このPLC装置に接続される親ノード以外のノードをリスト化し、このリストの現ノードにつながるノードの有無を確かめるPLC装置接続確認処理を再帰的に実行して、ファームウェア更新対象エリア内の全てのPLC装置のアドレス情報と、管理装置から各PLC装置までの距離情報を収集することによって接続トポロジを作成するとともに、接続トポロジ上の遠いPLC装置からファームウェア更新処理を行うものである。
In addition, the firmware update system for a plurality of PLC devices forming a master-slave network according to the second invention is a relay device that relays information transmitted through the network based on the firmware.
The management device provided in the upper trunk of the network starts from the PLC device closest to the management device based on the prior information of the plurality of PLC devices in the firmware update target area connected to the management device. List the nodes other than the parent node connected to the device, recursively execute the PLC device connection confirmation process for confirming the presence or absence of a node connected to the current node in this list, and check all the PLC devices in the firmware update target area. A connection topology is created by collecting address information and distance information from the management device to each PLC device, and firmware update processing is performed from a remote PLC device on the connection topology.
この第1の発明に係るマスタスレーブ方式のネットワークを形成するPLC装置のファームウェア更新方法は、ネットワーク上位基幹部分に接続されている管理装置が、ファームウェア更新対象エリア内PLC装置に関するアドレスと管理装置からの距離の情報から、接続トポロジの作成を行い、遠い距離にあるPLC装置から順にファームウェアの更新を行うので、従来のような更新処理実施前に更新対象のPLC装置より以遠に未更新装置の有無を確認する作業を必要とせず、全てのPLC装置のファームウェア更新処理が確実に行えるという効果がある。 A firmware update method for a PLC device that forms a master-slave network according to the first aspect of the present invention is such that a management device connected to an upper network part of the network sends an address related to a PLC device in the firmware update target area, Since the connection topology is created from the distance information, and the firmware is updated in order from the PLC device at a long distance, the presence or absence of an unupdated device beyond the PLC device to be updated before the execution of the update processing as in the past is performed. There is an effect that the firmware update process of all the PLC devices can be surely performed without the need for confirmation work.
また、第2の発明に係るマスタスレーブ方式のネットワークを形成するPLC装置のファームウェア更新システムは、ネットワークの上位基幹部に設けられた管理装置が、ファームウェア更新対象エリア内のPLC装置の事前情報から、管理装置に最も近い距離にあるPLC装置を始点とし、このPLC装置に接続される親ノード以外のノードをリスト化し、このリストの現ノードにつながるノードの有無を確かめるPLC装置接続確認処理を再帰的に実行して、ファームウェア更新対象エリア内の全てのPLC装置のアドレス情報と、管理装置から各PLC装置までの距離情報を収集することによって接続トポロジを作成するとともに、接続トポロジ上の距離の遠いPLC装置からファームウェア更新処理を行うものであるので、前記と同様にファームウェアの更新処理が確実に行えるという効果がある。 In addition, the firmware update system for a PLC device that forms a master-slave network according to the second aspect of the present invention is a management device provided in a higher-ranking part of the network, from the prior information of the PLC device in the firmware update target area, The PLC device connection confirmation process is performed recursively, starting from the PLC device closest to the management device, listing nodes other than the parent node connected to this PLC device, and checking whether there is a node connected to the current node in this list. The connection topology is created by collecting the address information of all the PLC devices in the firmware update target area and the distance information from the management device to each PLC device, and the PLC having a long distance on the connection topology The firmware update process is performed from the device. The firmware update process is there is an effect that certainly can be performed to.
実施の形態1.
以下、この発明の実施の形態1を図に基づいて説明する。
図1はこの実施の形態1によるマスタスレーブ方式のネットワークを形成するPLC装置のファームウェア更新システム100を示す図である。PLC装置はネットワークを介して伝送される情報を内蔵するファームウェアに基づき中継するものである。
管理装置50は後述するPLC装置1〜14で構成されるネットワークの上位基幹部分に接続される。基幹部分に接続されることで、ネットワーク上にあるPLC装置1〜14すべてに対して管理作業を可能としている。基幹部分に置かれるPLC装置1、2は高電圧線下での通信に対応した機器であり、高圧線を通して、各地の変電所経由で低圧対応PLC装置3に接続される。PLC装置5、6は柱上電線等を介して、一般家庭に配置される宅内PLC装置7〜11が接続される。オフィス、工場では施設内の電灯線を介してさらに複数のPLC装置4、12〜14が接続されている。尚、図1の点線枠内に示されてたエリア110にファームウェア更新対象のPLC装置が設置されている。
Embodiment 1 FIG.
Embodiment 1 of the present invention will be described below with reference to the drawings.
FIG. 1 is a diagram showing a
The
次に、動作について説明する。
ファームウェア更新は基幹部分に配置される任意のPLC装置以下をファームウェア更新を行うべき装置群のまとまりとして扱う。この実施の形態1の場合、図1に示すファームウェア更新対象エリア110内のPLC装置2に接続されるPLC装置群3〜14を更新対象エリアとしている。
図2にファームウェア更新の処理フローを示す。以下、フローに従って説明する。
ST1において管理装置50はファームウェア更新作業を行うにあたって、ST2で対象エリア110内のPLC装置2〜14から相互接続情報を収集し接続トポロジを作成する。その詳細は後述する。
情報の収集はグループ内すべてのPLC装置について行う。PLC装置は通常の通信を中継する前に、電灯線を介して直接接続される装置を確認することで通信路を確保する仕様となっている。この為、あるPLC装置内の情報を取得すれば、そこに接続されるPLC装置についての情報がそのまま得られる。よって、PLC装置2を始点として、接続情報を元に自身に接続されるPLC装置を辿っていくことでグループ内のPLC装置を網羅することができる。装置から別の装置へ辿る際に、PLC装置から得られる情報とは別に、管理装置50からその装置までに経由したPLC装置の数を併せて記録する。この経由数を管理装置50からの「距離」と呼ぶ。例えば、図1中のPLC装置6は、PLC装置1、2、3、5を経由するため、距離は4となる。
ST3で前記管理装置50から遠いPLC装置からファームウェア更新処理順番を決定する。
ST4でファームウェアを更新し、ST5で更新終了となる。なおその後、接続確認がなされるが、その説明は省略する。
Next, the operation will be described.
Firmware update treats the following PLC devices arranged in the backbone as a group of devices that should be updated. In the case of the first embodiment, the PLC device groups 3 to 14 connected to the
FIG. 2 shows a process flow of firmware update. Hereinafter, it demonstrates according to a flow.
In ST1, when performing the firmware update operation, the
Information is collected for all PLC devices in the group. The PLC device has a specification for securing a communication path by confirming a device directly connected via a power line before relaying normal communication. For this reason, if the information in a certain PLC apparatus is acquired, the information about the PLC apparatus connected there can be obtained as it is. Accordingly, the PLC devices in the group can be covered by tracing the PLC device connected to itself based on the connection information, starting from the
In ST3, the firmware update processing order is determined from the PLC device far from the
The firmware is updated in ST4, and the update is completed in ST5. Thereafter, the connection is confirmed, but the description thereof is omitted.
次に、接続トポロジ作成を図に基づいて説明する。
図3は管理装置50がPLC装置2〜14の接続トポロジを作成する際の処理フローを示す。処理フローは情報取得されるPLC装置から再帰的に適用されていき、その上位への接続以外の接続情報が無くなったら、そのPLC装置のアドレス、距離が記録される。その後、処理フローを再開するということを再帰的に繰り返す。
図1に示したような接続構成のとき、図3のフローに従うと以下のような処理となる。ST1で管理装置50が接続トポロジ作成を行うためPLC装置接続確認を開始する。前記管理装置50は、ファームウェアを更新する必要のあるエリア内の複数のPLC装置に関する事前情報から、管理装置50に最も近い距離にあるPLC装置を接続トポロジ作成上の始点とする。ST2で始点はPLC装置2であるから、現ノードCをPLC装置2と置く。そして現ノードCに接続される親ノードP以外のノードLをリスト化する。すなわちこの実施の形態1ではPLC装置2に接続される装置は、PLC装置1とPLC装置3であるが、PLC装置1はPLC装置2にとって上位装置(親ノード)となり、対象外になる為、現ノードCに接続されるノードLとしては、接続リストに残るのはPLC装置3のみとなる。
Next, connection topology creation will be described with reference to the drawings.
FIG. 3 shows a processing flow when the
In the connection configuration as shown in FIG. 1, the following processing is performed according to the flow of FIG. In ST1, the
ST3で接続リストに現ノードCに接続されるLノードを確認するする。このとき接続リストにはPLC装置3が有りのため、ST4に進む。ここで、前記PLC装置3には上位装置である前記PLC装置2にプラス1した距離が設定される。管理装置50は、今度はPLC装置3について本処理フローのST1〜ST3の処理を再度適用したPLC装置接続確認処理を再帰的に実行する。よって今度はST1にて現ノードCをPLC装置3とし、前記ST2、ST3の処理を行う。そしてPLC装置3の接続リスト中のノードLはPLC装置4とPLC装置5となり、ST4ではまずPLC装置4について再度現ノードCが入れ替わり、今度はPLC装置4について本処理フローST1〜ST3の処理を再度適用したPLC装置接続確認処理を再帰的に実行する。引き続きST5では、接続リスト中にまだ残っているノードがあるか否かを確認し、有りのとき前記ST4に再帰し、無しのとき、ST8に進んで接続リストからノードLを削除する。
In ST3, the L node connected to the current node C is confirmed in the connection list. At this time, since there is the PLC device 3 in the connection list, the process proceeds to ST4. Here, the PLC apparatus 3 is set to a distance that is plus 1 to the
前記ST3において、現ノードCに接続されるLノードが無しのとき、ST6に進み、前記PLC装置の接続確認処理が完了し管理装置50は、前記PLC装置のアドレスと距離を記録する。なお、前記ST3は、再帰的処理を行ったとき発生するLノード無しの場合も含んでいる。ST7では、前記管理装置50は前記処理完了したPLC装置との間で部分的な接続トポロジを作成する。その後再びST4に進み、再帰的実行が行われる。
In ST3, when there is no L node connected to the current node C, the process proceeds to ST6, the connection confirmation processing of the PLC device is completed, and the
このように順に下位装置へと繰り返し処理を適用することによって、末端のPLC装置に辿りつく。より理解し易くするため、先の例の続きで、PLC装置12が現ノードCとなったときを説明する。PLC装置12には下位に接続されるPLC装置が無い為、ST3からST6に進み、PLC装置12のアドレスと距離を管理装置50が記録する。ST7でPLC装置12と管理装置50との部分の接続トポロジ作成処理は終了し、ひとつ前の処理フローのST4に進むこととなる。この場合ひとつ前の処理とは、PLC装置4が現ノードCのときの処理フローとなる。ST5においてPLC装置4の接続リストには、PLC装置12、13、14の3つあるが、PLC装置12についての処理は終了したので、このリストからPLC装置12は消される(ST8)。そして、前記ST5でPLC装置13とPLC装置14とが残っているのでST4に戻り、リストに残っているPLC装置13を取り出して、ST4でPLC装置13を現ノードとする処理フローが再帰的に行われることになる。
よって、管理装置50が接続情報であるアドレスと距離を取得する(ST7が実施される)順番は、PLC装置12→PLC装置13→PLC装置14→PLC装置10→PLC装置11→PLC装置6→・・・というようになる。
In this way, the end PLC device is reached by applying the iterative processing to the lower devices in order. To make it easier to understand, the case where the
Therefore, the order in which the
このように処理フローの繰り返しを実行することで、開始点であるPLC装置2の接続情報を取得した時点で、つまりPLC装置2につながるノードLがすべて削除された時点で管理装置50はPLC装置2以下に接続される全てのPLC装置の接続情報を収集できたことになる。
収集した情報から管理装置50は、図4に示すようなツリー状の接続トポロジ図を内部で作成する。
図4に示すように管理装置50を基点として、PLC装置2以下に接続されるPLC装置の相互接続情報を元に作成されている。すべてのPLC装置は、上位に位置する装置と1対1で接続される。
By repeating the processing flow in this manner, the
From the collected information, the
As shown in FIG. 4, the
ファームウェア更新対象装置の選択が確定した段階で、前記接続トポロジを参照して選択されたPLC装置の距離を比較し、距離が管理装置50から遠いものから処理するように作業順番を決定する。決定された作業順番に基づきファームウェア更新作業を順次実行する。この際、旧ファームウェアに替わる新ファームウェアを更新対象のPLC装置毎に伝送後ファームウェア更新処理の手順であってもよく、また新ファームウェアを全PLC装置に伝送後、更新処理を行ってもよい。前者の場合、各装置の実態稼働時間に合わせた更新が可能となり、後者の場合、管理の信頼性が向上する。
このように、この実施の形態1によるファームウェア更新は、管理装置から遠いPLC装置から処理を行うので、装置間の接続が損なわれることなく、ファームウェア更新が漏れなく行うことができる。
When the selection of the firmware update target device is confirmed, the distances of the selected PLC devices are compared with reference to the connection topology, and the work order is determined so that processing is performed from the one far from the
As described above, since the firmware update according to the first embodiment is performed from a PLC device far from the management device, the firmware update can be performed without omission without losing the connection between the devices.
実施の形態2.
上記実施の形態1で作成されたトポロジから同じ距離の更新対象装置間では、個々の更新作業中においても他の装置の更新による影響が無いことが保障される。図5は同距離のPLC装置、例えば距離3のPLC装置4とPLC装置5をグループ化した図である。このようにトポロジを作成することによって明確となった同一距離を有するPLC装置をグループ化して、図6の処理フローのように更新作業を同時並行に実行することで、更新作業にかかる時間を短縮できることを図8に示す。
図8は、前記実施の形態1とこの実施の形態2および後述の実施の形態3において、PLC装置5〜PLC装置11を例として、ファームウェア転送、更新処理、接続確認に必要とする作業時間の比較を示している。図8に示すように、実施の形態1に比較し、この実施の形態2のファームウェア転送、更新処理に要する時間が短縮され、さらに接続確認とを合わせた作業時間が大幅に短縮可能となる。
It is ensured that there is no influence due to the update of other devices even during update operations between update target devices having the same distance from the topology created in the first embodiment. FIG. 5 is a diagram in which PLC devices of the same distance, for example, a PLC device 4 and a PLC device 5 of distance 3, are grouped. By grouping PLC devices having the same distance, which are clarified by creating the topology in this way, the update work is executed in parallel as shown in the processing flow of FIG. 6, thereby reducing the time required for the update work. What can be done is shown in FIG.
FIG. 8 shows an example of work time required for firmware transfer, update processing, and connection confirmation in the first embodiment, the second embodiment, and the third embodiment described later, using the PLC device 5 to the PLC device 11 as an example. A comparison is shown. As shown in FIG. 8, compared with the first embodiment, the time required for the firmware transfer and update processing of the second embodiment is shortened, and the work time combined with the connection confirmation can be greatly shortened.
実施の形態3.
ファームウェア更新処理は、新ファームウェア転送、更新処理、接続確認の3ステップで行われる。このステップのうち、この実施の形態3では前述した実施の形態2の同距離の装置を同一グループすることに加えてファームウェア転送のみを各PLC装置に対して先に行うようにする。ファームウェア転送だけでは、PLC装置間の接続には影響しない為、作業順番に関わらず可能な限り並行して実行する。すべての転送が完了したら、ファームウェアを更新する処理命令を更新順番に基づいて連続して発行する。処理フローを図7に示す。これにより前述した図8に示す如くこの実施の形態3は、前記実施の形態1、2に比較して通信に影響を与える時間を最低限にして更新を実行できる。ここで、図8の実施の形態3の接続確認作業がPLC装置5〜PLC装置11へと、実施の形態1、2のそれとは逆になっているのは、この接続確認は上位PLC装置が仮に未接続の場合は、下位PLC装置は通信できない。従って、上位PLC装置→下位PLC装置の順となっている。尚、このファームウェア転送は、前記グループ化の有無にかかわらず実施してもよい。
Embodiment 3 FIG.
The firmware update process is performed in three steps: new firmware transfer, update process, and connection confirmation. Of these steps, in this third embodiment, in addition to grouping the devices of the same distance of the above-described second embodiment into the same group, only the firmware transfer is performed for each PLC device first. Only the firmware transfer does not affect the connection between the PLC devices, and therefore, execution is performed in parallel as much as possible regardless of the work order. When all the transfers are completed, processing instructions for updating the firmware are continuously issued based on the update order. The processing flow is shown in FIG. As a result, as shown in FIG. 8 described above, the third embodiment can execute the update while minimizing the time that affects the communication as compared with the first and second embodiments. Here, the connection confirmation work of the third embodiment of FIG. 8 is reversed to the PLC device 5 to the PLC device 11 as compared with the first and second embodiments. This connection confirmation is performed by the host PLC device. If it is not connected, the lower PLC device cannot communicate. Therefore, the order is higher order PLC device → lower order PLC device. This firmware transfer may be performed regardless of the presence or absence of the grouping.
実施の形態4.
この実施の形態4では、前述した実施の形態3に追加して、ファームウェア伝送完了後に発行されるファームウェア更新処理命令を、図9に示すように、任意に設定された時刻に発令する。このようにこの実施の形態4によると、ファームウェア更新作業が、例えば深夜等の利用者の少ない時間に実行できるという効果がある。
Embodiment 4 FIG.
In this fourth embodiment, in addition to the third embodiment described above, a firmware update processing command issued after the completion of firmware transmission is issued at an arbitrarily set time as shown in FIG. As described above, according to the fourth embodiment, there is an effect that the firmware update work can be executed at a time when there are few users such as midnight.
実施の形態5.
前記実施の形態1〜4では、ファームウェアを更新する場合を例として説明したが、これに限定されることなく、PLC装置のアドレスの変更や課金の変更等についてもこの発明は適用できることは言うまでもない。
Embodiment 5 FIG.
In the first to fourth embodiments, the case where the firmware is updated has been described as an example. However, the present invention is not limited to this, and it goes without saying that the present invention can also be applied to a change in the address of the PLC device, a change in billing, and the like. .
この発明は、電灯線/配電線をインタネット、アクセス回線として利用する高速データ通信や、電灯線による家電製品間LAN等に用いられているPLC装置に適用可能である。 The present invention can be applied to a PLC device used for high-speed data communication using a power line / distribution line as an Internet or an access line, or a home appliance LAN using a power line.
1〜14 PLC装置、50 管理装置、100 ファームウェア更新システム、
110 ファームウェア更新対象エリア。
1-14 PLC device, 50 management device, 100 firmware update system,
110 Firmware update target area.
Claims (7)
前記ネットワーク上位基幹部分に接続されている管理装置は、ファームウェア更新対象エリア内の前記複数のPLC装置に関するアドレスと前記管理装置からの距離の情報から接続トポロジの作成を行い、前記管理装置から遠い距離にあるPLC装置から順にファームウェアの更新を行うことを特徴とするファームウェア更新方法。 A firmware update method for a plurality of PLC devices forming a master-slave network,
The management device connected to the upper network backbone part creates a connection topology from the information about the addresses of the plurality of PLC devices in the firmware update target area and the distance from the management device, and is far from the management device. A firmware update method comprising: updating firmware in order from a PLC device in
ステップ1.前記管理装置はファームウェア更新対象エリア内の前記PLC装置の事前情報から、前記管理装置に最も近い距離にあるPLC装置を接続トポロジの始点のPLC装置とすると共に、距離1のPLC装置として定め、該PLC装置に接続されるPLC装置の接続確認を行うステップ。
ステップ2.前記PLC装置の現ノードに接続される親ノード以外のノードをリスト化するステップ。
ステップ3.前記リストから、前記現ノードに接続ノードの有無を確かめるステップ。
ステップ4.前記ステップ3において、接続ノードが有りのとき、前記始点のPLC装置に相当する上位PLC装置に定められた距離にプラス1を設定するとともに、前記接続ノード有りのPLC装置のノードを現ノードとし、前記リスト中の残る接続ノードについて前記ステップ1〜ステップ3を再度適用したPLC装置接続確認の再帰的処理を実行するステップ。
ステップ5.ステップ4におけるリスト中にまだ残る接続ノードの有無を確かめ、前記現ノードに接続される接続ノードが有りのとき、前記ステップ4に進み、無しのときステップ8に進むステップ。
ステップ6.前記ステップ3において、接続ノード無しのとき、前記管理装置は前記現ノードを有するPLC装置のアドレスと距離を記録するステップ。
ステップ7.前記管理装置は、前記ステップ6で記録したPLC装置との間で部分的な接続トポロジを作成後、再び前記ステップ4に進むステップ。
ステップ8.前記ステップ5において、前記現ノードに接続される接続ノードが無しのときに、前記リストからノードを削除するステップ。 The firmware update method according to claim 1, wherein the connection topology is created by the management device acquiring information on addresses of the plurality of PLC devices and distances from the management device through the following steps.
Step 1. The management device determines, from the prior information of the PLC device in the firmware update target area, the PLC device that is closest to the management device as the PLC device at the start point of the connection topology and the PLC device at the distance 1, A step of confirming the connection of the PLC device connected to the PLC device.
Step 2. Listing nodes other than the parent node connected to the current node of the PLC device.
Step 3. Confirming from the list whether the current node has a connection node;
Step 4. In the step 3, when there is a connection node, a plus 1 is set to the distance determined by the host PLC device corresponding to the PLC device at the start point, and the node of the PLC device with the connection node is set as the current node, Executing a recursive process of PLC device connection confirmation in which the steps 1 to 3 are applied again to the remaining connection nodes in the list.
Step 5. Checking whether there is any connection node still remaining in the list in step 4, and if there is a connection node connected to the current node, proceed to step 4; otherwise, proceed to step 8.
Step 6. In the step 3, when there is no connection node, the management device records the address and distance of the PLC device having the current node.
Step 7. The management device creates a partial connection topology with the PLC device recorded in step 6 and then proceeds to step 4 again.
Step 8. Deleting a node from the list when there is no connection node connected to the current node in the step 5;
前記ネットワークの上位基幹部に設けられた管理装置は、該管理装置に接続されるファームウェア更新対象エリア内の前記複数のPLC装置の事前情報から、前記管理装置に最も近い距離にあるPLC装置を始点とし、該PLC装置に接続される親ノード以外のノードをリスト化し、このリストの現ノードにつながるノードの有無を確かめるPLC装置接続確認処理を再帰的に実行して、前記ファームウェア更新対象エリア内の全ての前記複数のPLC装置のアドレス情報と、前記管理装置から前記各PLC装置までの距離情報を収集することによって接続トポロジを作成するとともに、前記接続トポロジ上の前記管理装置からの距離の遠いPLC装置からファームウェア更新処理を行うことを特徴とするファームウェア更新システム。
A firmware update system for a plurality of PLC devices forming a master-slave network, wherein the PLC device relays information transmitted via the network based on the firmware,
The management device provided in the higher-order backbone of the network starts from the PLC device that is closest to the management device based on the prior information of the plurality of PLC devices in the firmware update target area connected to the management device. A list of nodes other than the parent node connected to the PLC device, recursively executing a PLC device connection confirmation process for confirming the presence or absence of a node connected to the current node in the list, and in the firmware update target area A connection topology is created by collecting address information of all the plurality of PLC devices and distance information from the management device to each PLC device, and a PLC having a long distance from the management device on the connection topology A firmware update system for performing firmware update processing from an apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005007131A JP4690055B2 (en) | 2005-01-14 | 2005-01-14 | Firmware update method and firmware update system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005007131A JP4690055B2 (en) | 2005-01-14 | 2005-01-14 | Firmware update method and firmware update system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006195766A JP2006195766A (en) | 2006-07-27 |
JP4690055B2 true JP4690055B2 (en) | 2011-06-01 |
Family
ID=36801810
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005007131A Expired - Fee Related JP4690055B2 (en) | 2005-01-14 | 2005-01-14 | Firmware update method and firmware update system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4690055B2 (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8209677B2 (en) | 2007-05-21 | 2012-06-26 | Sony Corporation | Broadcast download system via broadband power line communication |
JP5211586B2 (en) * | 2007-08-31 | 2013-06-12 | カシオ計算機株式会社 | Data management apparatus and program |
JP5624943B2 (en) * | 2011-05-27 | 2014-11-12 | 富士フイルム株式会社 | Electronic device and method for updating program module of electronic device |
JP5565486B2 (en) * | 2013-02-26 | 2014-08-06 | カシオ計算機株式会社 | Data management apparatus and program |
CN105849700A (en) | 2013-12-03 | 2016-08-10 | 三菱电机株式会社 | Engineering tool program and network program |
JP6369539B2 (en) * | 2014-04-28 | 2018-08-08 | オムロン株式会社 | Design support apparatus, design support method, and program |
JP2017021566A (en) * | 2015-07-10 | 2017-01-26 | 日本電気株式会社 | Network management device, communication device, program update system, and program update method |
JP6380461B2 (en) * | 2016-06-02 | 2018-08-29 | 住友電気工業株式会社 | Relay device, program update system, and program update method |
DE102017107277B4 (en) | 2017-04-05 | 2024-06-13 | Hanon Systems | Procedure for updating control software in a high-voltage control unit |
JP6562134B2 (en) * | 2018-07-31 | 2019-08-21 | 住友電気工業株式会社 | Relay device, program update system, and program update method |
JP6562133B2 (en) * | 2018-07-31 | 2019-08-21 | 住友電気工業株式会社 | Relay device, program update system, and program update method |
EP3770422A1 (en) * | 2019-07-23 | 2021-01-27 | Siemens Gamesa Renewable Energy A/S | Updating software and/or firmware of a plurality of wind turbine devices |
CN111104143B (en) * | 2019-12-26 | 2021-08-31 | 北谷电子有限公司上海分公司 | Firmware upgrading method and upgrading device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07295943A (en) * | 1994-04-27 | 1995-11-10 | Sharp Corp | Method for updating program |
JP2000082051A (en) * | 1999-08-30 | 2000-03-21 | Hitachi Ltd | Program distribution system |
JP2000259419A (en) * | 1999-03-05 | 2000-09-22 | Mitsubishi Electric Corp | Automatic software distribution system |
-
2005
- 2005-01-14 JP JP2005007131A patent/JP4690055B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07295943A (en) * | 1994-04-27 | 1995-11-10 | Sharp Corp | Method for updating program |
JP2000259419A (en) * | 1999-03-05 | 2000-09-22 | Mitsubishi Electric Corp | Automatic software distribution system |
JP2000082051A (en) * | 1999-08-30 | 2000-03-21 | Hitachi Ltd | Program distribution system |
Also Published As
Publication number | Publication date |
---|---|
JP2006195766A (en) | 2006-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4690055B2 (en) | Firmware update method and firmware update system | |
CN102420785B (en) | Relay server and relay communication system | |
US20170169144A1 (en) | Method and device for generating engineering topology of digital substation | |
CN108847979A (en) | A kind of adaptive configuration system and method based on SCADA | |
WO2013118889A1 (en) | Transformer substation automation system and automatic recognition method for terminal | |
CN109654666B (en) | Method, device and equipment for debugging unit | |
CN105071948B (en) | The automatic deployment method and device of a kind of access switch | |
CN104978391A (en) | System and method for automated substation design and configuration | |
CN111158680A (en) | Page construction method, device, equipment and storage medium | |
CN109218462B (en) | IP distribution method of physical host of cloud data center | |
CN110706426A (en) | Method and system for managing USB tax control disk | |
CN108228186B (en) | Substation five-prevention locking rule expression verification method based on responsibility chain mode | |
CN114443294A (en) | Big data service component deployment method, system, terminal and storage medium | |
CN108768726A (en) | A kind of upgrade method and device of server cluster | |
CN101785165A (en) | Method for parameterizing a switchgear assembly | |
CN106773790B (en) | multi-iteration power and communication joint simulation method based on global event axis synchronization | |
CN1427584A (en) | Household network communication device and method using internet | |
CN102404154A (en) | Method for webmaster for batch repairing of service faults | |
CN104092590A (en) | Creation method and system for testing environment | |
CN109495597A (en) | System and method, the equipment on-line management method of online modification device target address | |
CN103827762B (en) | For the system and method for control program coding is provided | |
JP5289587B2 (en) | Routing information generating apparatus, routing information generating method, and routing information generating program | |
CN103619032A (en) | Wireless routing equipment optimizing method and device | |
CN106506504A (en) | A kind of intelligent protocol conversion method and device | |
JP2005243001A (en) | Method for updating controller, control system and input-output device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071015 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110125 |
|
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: 20110215 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110217 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140225 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |