JP2011076442A - System for managing program version number, transmission method, method for managing program version number and management program - Google Patents

System for managing program version number, transmission method, method for managing program version number and management program Download PDF

Info

Publication number
JP2011076442A
JP2011076442A JP2009228212A JP2009228212A JP2011076442A JP 2011076442 A JP2011076442 A JP 2011076442A JP 2009228212 A JP2009228212 A JP 2009228212A JP 2009228212 A JP2009228212 A JP 2009228212A JP 2011076442 A JP2011076442 A JP 2011076442A
Authority
JP
Japan
Prior art keywords
program
version
firmware
management
version number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009228212A
Other languages
Japanese (ja)
Inventor
Minoru Fukushige
稔 福重
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2009228212A priority Critical patent/JP2011076442A/en
Publication of JP2011076442A publication Critical patent/JP2011076442A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent increase in wastefulness and load, when an program is to be updated, and to perform smooth and sure updating. <P>SOLUTION: A transmission device 10 includes a firmware file storage part 101 which stores original firmware which is preliminarily incorporated so as to cause a main signal package 12 to function, and the firmware is the same in version number as or is different in version number from the original firmware; a firmware version data storage part 105, which stores the version numbers of the stored firmware, the version numbers of firmware which another transmission device stores, and the version numbers of firmware which a firmware management device F stores; a firmware comparison section 106, which compares the original version numbers relative to the original firmware with these version numbers; and a firmware processing part 104, which incorporates firmware which is acquired from a device having a program of latest version number into the main signal package 12. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、ファームウェア等のバーション管理を行うためのプログラム版数管理システム、伝送装置、プログラム版数の管理方法及び管理プログラムに関する。   The present invention relates to a program version management system, a transmission apparatus, a program version management method, and a management program for version management of firmware and the like.

SDH(Synchronous Digital Hierarchy)、SONET(Synchronous Optical NETwork)、WDM(Wavelength Division Multiplexing)等の各種伝送装置においては、装置自体や伝送ネットワークの管理のため、いわゆるオペレーションシステムが利用されている。
オペレーションシステムは、各種管理装置を有し、各伝送装置の遠隔監視や遠隔保守を可能とする。
In various transmission apparatuses such as SDH (Synchronous Digital Hierarchy), SONET (Synchronous Optical NETwork), and WDM (Wavelength Division Multiplexing), a so-called operation system is used for managing the apparatus itself and a transmission network.
The operation system has various management devices, and enables remote monitoring and remote maintenance of each transmission device.

例えば、図14は、ファームウェア版数の管理に関する一般的なシステムの概略構成を示した図である。
同図に示すように、オペレーションシステム1aは、各伝送装置(10a〜50a)に搭載される主信号パッケージのファームウェアをバージョン管理するためのファームウェア管理装置Faを備えている。
なお、同図は、伝送装置10a〜50aとファームウェア管理装置Faからなるネットワークを形成しているが、各装置はこのような数に限定されるものではなく、また、ネットワーク形態もこのような形態に限定されるものではない。
For example, FIG. 14 is a diagram illustrating a schematic configuration of a general system related to firmware version management.
As shown in the figure, the operation system 1a includes a firmware management device Fa for managing the version of the firmware of the main signal package mounted on each transmission device (10a to 50a).
In the figure, a network including the transmission apparatuses 10a to 50a and the firmware management apparatus Fa is formed. However, the number of apparatuses is not limited to such a number, and the network form is also such a form. It is not limited to.

ファームウェア管理装置Faを含む各管理装置と各伝送装置とはオペレーションシステム接続網n1aを介して接続され、制御信号や警報通知等、比較的データ量の少ない信号が送受される。
したがって、一般的に、オペレーションシステム接続網n1aは、狭帯域の回線で構成される。
Each management device including the firmware management device Fa and each transmission device are connected via the operation system connection network n1a, and signals with a relatively small amount of data such as control signals and alarm notifications are transmitted and received.
Therefore, in general, the operation system connection network n1a is composed of a narrowband line.

ここで、このようなオペレーションシステム1aの一機能であるファームウェアのバージョンアップ方法について図15を参照して説明する。
ここでは、主信号パッケージ12aを伝送装置10aに新たに搭載した場合の手順について説明する。
Here, a firmware version upgrade method as one function of the operation system 1a will be described with reference to FIG.
Here, a procedure when the main signal package 12a is newly installed in the transmission device 10a will be described.

前提として、ファームウェア管理装置Faは、主信号パッケージのファームウェアファイルの基準となるマスターファイルを有する。したがって、新たにファームウェアが開発された場合には、まず、ファームウェア管理装置Faに保管され、当該装置から各伝送装置に展開されることとなる。
また、伝送装置10aは、装置管理パッケージ11aと主信号パッケージ12a(13a)とからなり、装置管理パッケージ11aのファームウェアファイル保管部101aには主信号パッケージの最新バージョンのファームウェアが保管されるとともに、ファームウェアバージョン比較部106aにはそのファームウェアのバージョンデータが保管されている。
As a premise, the firmware management apparatus Fa has a master file that serves as a reference for the firmware file of the main signal package. Therefore, when new firmware is developed, it is first stored in the firmware management apparatus Fa and deployed from the apparatus to each transmission apparatus.
The transmission device 10a includes a device management package 11a and a main signal package 12a (13a). The firmware file storage unit 101a of the device management package 11a stores the latest version firmware of the main signal package, and firmware. The version comparison unit 106a stores version data of the firmware.

まず、主信号パッケージ12aが伝送装置10aに搭載されたとすると、主信号パッケージ12aの起動処理が行われる。
主信号パッケージ12aの起動を確認したファームウェア処理部104aは、ファームウェアバージョン比較部106aに対し所定の命令を行う。
この命令に応じ、ファームウェアバージョン比較部106aは、主信号パッケージ12a(ファームウェアファイル保管部109a)からそのパッケージに当初から組み込まれているファームウェアのバージョンデータを取り出すとともに、ファームウェアバージョンデータ保管部105aから、装置管理パッケージ11a(ファームウェアファイル保管部101a)が管理するファームウェアファイルのバージョンデータを取り出し、両者の比較を行わせる。
First, assuming that the main signal package 12a is mounted on the transmission apparatus 10a, the main signal package 12a is activated.
The firmware processing unit 104a that has confirmed the activation of the main signal package 12a issues a predetermined command to the firmware version comparison unit 106a.
In response to this instruction, the firmware version comparison unit 106a retrieves the version data of the firmware built in the package from the main signal package 12a (firmware file storage unit 109a) from the beginning, and from the firmware version data storage unit 105a, the device The version data of the firmware file managed by the management package 11a (firmware file storage unit 101a) is taken out, and both are compared.

この比較の結果、両者が不一致であれば、主信号パッケージ12aのファームウェアを更新する。
ファームウェアの更新は、ファームウェア処理部104aが、ファームウェアファイル保管部101aに保管されているファームウェアを取り出し、装置内通信部107a、装置内通信部108aを介して主信号パッケージ12aに転送し、ファームウェアファイル保管部109aに保管することによって行う。
他方、ファームウェアバージョン比較部106aによる比較の結果、両者が一致すれば、ファームウェアの更新は不必要と判断して特段の処理は行わない。
If the result of this comparison is that they do not match, the firmware of the main signal package 12a is updated.
For firmware update, the firmware processing unit 104a takes out the firmware stored in the firmware file storage unit 101a, transfers it to the main signal package 12a via the in-device communication unit 107a and the in-device communication unit 108a, and stores the firmware file. This is performed by storing in the unit 109a.
On the other hand, as a result of comparison by the firmware version comparison unit 106a, if both match, it is determined that firmware update is unnecessary, and no special processing is performed.

つまり、装置管理パッケージ11aが管理するファームウェアのバージョンと主信号パッケージ12aに組み込まれているファームウェアのバージョンとが異なる場合には、装置管理パッケージ11aが管理するファームウェアを新しいものとみなし、そのファームウェアにもとづいて主信号パッケージ12aを機能させることとしていた。   That is, when the version of the firmware managed by the device management package 11a is different from the version of the firmware incorporated in the main signal package 12a, the firmware managed by the device management package 11a is regarded as new, and based on the firmware. Therefore, the main signal package 12a is supposed to function.

したがって、装置管理パッケージ11aのファームウェアファイル保管部101aには常に最新のファームウェアが保管されていることが求められていた。
具体的には、オペレーションシステム1a(ファームウェア管理装置Fa)において最新のファームウェアが更新されるたびに、そのファームウェアファイルがオペレーションシステム接続網n1aを介し、すべての伝送装置に対し一斉にダウンロードされる。
そして、これをファームウェアファイル保管部101aに保管した後、対象の主信号パッケージに転送し、ファームウェアファイル保管部109aに保管して更新するようにしていた。
Accordingly, it is required that the latest firmware is always stored in the firmware file storage unit 101a of the device management package 11a.
Specifically, every time the latest firmware is updated in the operation system 1a (firmware management device Fa), the firmware file is downloaded to all the transmission devices simultaneously via the operation system connection network n1a.
This is stored in the firmware file storage unit 101a, then transferred to the target main signal package, stored in the firmware file storage unit 109a, and updated.

ところが、近年、装置やサービスの多機能化や高機能化に伴い更新するファームウェアのサイズも大きくなり、このようなファームウェアのダウンロードのために回線の輻輳や管理装置等の負荷がかさみ、遅滞等の問題が発生していた。
例えば、一装置のバージョンアップに要する時間が数十分に及ぶ場合もあり、さらに、係る処理が数百台の規模に達する場合、ファームウェアのバージョンアップだけで数ヶ月を要する場合もあった。
また、このようなバージョンアップについて調査すると、装置毎に搭載されるパッケージの種類にバラツキがあるが、後々の保守性や作業効率等を考慮してすべての装置に一括してダウンロードが行われていた。
したがって、最新のファームウェアを必要としない伝送装置に対する無用なダウンロードやこれに係るアクセスについても解消すべき課題となっていた。
However, in recent years, the size of firmware to be updated has increased with the increase in functionality and functionality of devices and services, and the download of such firmware has increased the congestion of the line and the load on the management device, resulting in delays, etc. There was a problem.
For example, the time required to upgrade one device may be several tens of minutes. Furthermore, when such processing reaches a scale of several hundred units, it may take several months to upgrade the firmware.
In addition, when investigating such version upgrades, there are variations in the types of packages installed in each device, but all devices are downloaded in a batch in consideration of the maintainability and work efficiency later. It was.
Therefore, useless downloads and access related to transmission devices that do not require the latest firmware have been issues to be solved.

このような問題に対し、特許文献1には、ファームウェアの適切なバージョンを予め問い合わせ、主信号パッケージに組み込まれているファームウェアのバーションが適切なバージョンではない場合に必要なファームウェアをダウンロードする技術が開示されている。
また、特許文献2には、ネットワークに接続された複数の装置において、自装置のプログラムのバージョンと他装置のプログラムのバージョンとを比較し、自装置が有するプログラムが新しければ自装置が有するプログラムを他装置に送信し、他装置が有するプログラムが新しければ他装置が有するプログラムを自装置に送信する技術が開示されている。
With respect to such a problem, Japanese Patent Application Laid-Open No. H10-228688 inquires about an appropriate version of firmware in advance and downloads necessary firmware when the firmware version incorporated in the main signal package is not an appropriate version. It is disclosed.
In Patent Document 2, in a plurality of devices connected to a network, the version of the program of the own device is compared with the version of the program of the other device, and if the program that the own device has is new, the program that the own device has Is transmitted to the other device, and if the program of the other device is new, the technology of transmitting the program of the other device to the own device is disclosed.

特開2004−282347号公報JP 2004-282347 A 特開2003−125146号公報JP 2003-125146 A

しかしながら、特許文献1に開示されている技術によれば、ファームウェアファイルに関するダウンロードの無駄を無くすことはできるが、ファームウェアファイルの取得先が限られているため、やはり通信が集中して同様の問題を生ずる可能性が高い。
例えば、多数の伝送装置からファームウェア管理装置Faに対し同時にバージョンの問い合わせがあり、また、これらの伝送装置に対し同時にファイル転送が行われた場合、オペレーションシステム接続網n1aやファームウェア管理装置Faに高負荷がかかることとなる。
特に、バグの改修等、各伝送装置の搭載パッケージが対象となる場合には、一斉にファームウェアのダウンロードが行われるため、このような問題が顕著に表れる。
However, according to the technique disclosed in Patent Document 1, it is possible to eliminate the waste of downloading related to the firmware file, but since the acquisition source of the firmware file is limited, communication is concentrated and the same problem is caused. It is likely to occur.
For example, when there is a version inquiry from a large number of transmission devices to the firmware management device Fa at the same time, and file transfer is performed simultaneously for these transmission devices, the operation system connection network n1a and the firmware management device Fa are heavily loaded. Will take.
In particular, when a package of each transmission device is targeted, such as bug repair, firmware is downloaded all at once, and such a problem appears remarkably.

また、特許文献2に開示されている技術は、センタマシンから個別にプログラムをダウンロードしなくてもプログラム更新を行うことができるが、装置間の回線に異常があった場合を想定して迂回路を含む複合的な通信網を構成する必要がある。
このため、通信網全体の設計に係る手間・時間、迂回路に係るコストの上昇等といった別の問題が生ずることとなる。
The technique disclosed in Patent Document 2 can update a program without individually downloading a program from a center machine, but it is assumed that there is an abnormality in a line between devices. It is necessary to construct a complex communication network including
For this reason, other problems such as labor and time related to the design of the entire communication network, an increase in costs related to the detour, and the like arise.

本発明の目的は、上述した課題、すなわち、ファームウェア等のプログラム更新の際に発生する無駄と負荷の上昇を防ぎつつ、円滑かつ確実な更新を可能とするプログラム版数管理システム、伝送装置、プログラム版数の管理方法及び管理プログラムを提供することにある。   An object of the present invention is to provide a program version management system, a transmission device, and a program that enable smooth and reliable updating while preventing the above-described problems, that is, waste and load increase that occur when updating a program such as firmware It is to provide a version number management method and management program.

上記目的を達成するため、本発明のプログラム版数管理システムは、所定のネットワークを形成する一又は二以上の伝送装置と、各伝送装置と通信可能に接続された管理装置とからなり、各伝送装置は、当該伝送装置に搭載されるモジュールを機能させるために当該モジュールに予め組み込まれている元のプログラムとその版数が同一又は異なるプログラムを保管するプログラム保管部と、前記プログラム保管部が保管する前記プログラムに係る第一の版数、他の伝送装置が保管する前記プログラムに係る第二の版数及び前記管理装置が保管する前記プログラムに係る第三の版数を保管するバージョン保管部と、前記元のプログラムに係る原版数を前記第一乃至第三の版数のいずれか一以上と比較するバージョン比較部と、前記比較の結果にもとづき、当該伝送装置、前記他の伝送装置又は前記管理装置のうち、最も新しい版数のプログラムを有する装置から取得したプログラムを前記モジュールに組み込むことによってその元のプログラムを更新する制御処理部とを備えた構成としてある。   In order to achieve the above object, a program version number management system of the present invention comprises one or two or more transmission devices forming a predetermined network and a management device communicably connected to each transmission device. The apparatus stores a program storage unit that stores a program whose version number is the same as or different from an original program pre-installed in the module so that the module mounted on the transmission device functions, and the program storage unit stores the program A version storage unit for storing a first version number related to the program, a second version number related to the program stored in another transmission apparatus, and a third version number related to the program stored in the management apparatus; A version comparison unit that compares the original version number of the original program with one or more of the first to third version numbers, and a result of the comparison And a control processing unit that updates the original program by incorporating the program acquired from the device having the latest version of the transmission device, the other transmission device, or the management device, into the module. It is set as the structure provided with.

また、本発明の伝送装置は、一又は二以上の伝送装置と接続されるとともに、所定の管理装置と通信可能に接続され、当該伝送装置に搭載されるモジュールを機能させるために当該モジュールに予め組み込まれている元のプログラムとその版数が同一又は異なるプログラムを保管するプログラム保管部と、前記プログラム保管部が保管する前記プログラムに係る第一の版数と、他の伝送装置が保管する前記プログラムに係る第二の版数と、前記管理装置が保管する前記プログラムに係る第三の版数とを保管するバージョン保管部と、前記元のプログラムに係る原版数を前記第一乃至第三の版数のいずれか一以上と比較するバージョン比較部と、前記比較の結果にもとづき、当該伝送装置、前記他の伝送装置又は前記管理装置のうち、最も新しい版数のプログラムを有する装置から取得したプログラムを前記モジュールに組み込むことによって前記元のプログラムを更新する制御処理部とを備えた構成としてある。   In addition, the transmission device of the present invention is connected to one or more transmission devices and is connected to a predetermined management device so as to be communicable. A program storage unit that stores a program whose version number is the same as or different from the original program incorporated therein, a first version number related to the program stored by the program storage unit, and the other storage device that stores the first version number A version storage unit for storing a second version number related to the program and a third version number related to the program stored by the management device; and an original version number related to the original program as the first to third numbers. A version comparison unit for comparing with at least one of the version numbers, and based on the result of the comparison, the most recent of the transmission device, the other transmission device, or the management device. There a program acquired from the device with the version of the program as a configuration in which a control processing unit that updates the source program by incorporating the module.

また、本発明のプログラム版数の管理方法は、一の装置に搭載されるモジュールを機能させるために当該モジュールに予め組み込まれている元のプログラムとその版数が同一又は異なるプログラムを保管するステップと、前記保管した前記プログラムに係る第一の版数と、前記一の装置とは異なる他の装置が保管した前記プログラムに係る第二の版数と、前記管理装置が保管した前記プログラムに係る第三の版数とを保管するステップと、前記元のプログラムに係る原版数を前記第一乃至第三の版数のいずれか一以上と比較するステップと、前記比較の結果にもとづき、前記一の装置、前記他の装置又は前記管理装置のうち、最も新しい版数のプログラムを有する装置から取得したプログラムを前記モジュールに組み込むことによって前記元のプログラムを更新するステップとを有するとしてある。   Further, the program version number management method of the present invention is a step of storing a program whose version number is the same as or different from the original program pre-installed in the module in order to make the module mounted in one apparatus function. And the first version number related to the stored program, the second version number related to the program stored in another device different from the one device, and the program stored in the management device. A step of storing a third version number, a step of comparing the original version number of the original program with any one or more of the first to third version numbers, and based on the result of the comparison, Of the above-mentioned device, the other device, or the management device, the program obtained from the device having the latest version of the program is incorporated into the module. There as a step of updating the program.

また、本発明のプログラム版数の管理プログラムは、所定のネットワークを形成するとともに、所定の管理装置と通信可能に接続された伝送装置のコンピュータを、当該伝送装置に搭載されるモジュールを機能させるために当該モジュールに予め組み込まれている元のプログラムとその版数が同一又は異なるプログラムを保管するプログラム保管手段、前記プログラム保管手段によって保管される前記プログラムに係る第一の版数と、他の伝送装置が保管する前記プログラムに係る第二の版数と、前記管理装置が保管する前記プログラムに係る第三の版数とを保管するバージョン保管手段、前記元のプログラムに係る原版数を前記第一乃至第三の版数のいずれか一以上と比較するバージョン比較手段、及び、前記比較の結果にもとづき、当該伝送装置、前記他の伝送装置又は前記管理装置のうち、最も新しい版数のプログラムを有する装置から取得したプログラムを前記モジュールに組み込むことによって前記元のプログラムを更新する制御処理部手段として機能させるためのプログラムとしてある。   Also, the program version management program of the present invention forms a predetermined network and allows a computer of a transmission apparatus connected to be communicable with a predetermined management apparatus to function a module mounted on the transmission apparatus. A program storage means for storing a program whose version number is the same as or different from the original program previously incorporated in the module, a first version number related to the program stored by the program storage means, and other transmissions Version storage means for storing a second version number related to the program stored in the apparatus and a third version number related to the program stored in the management apparatus, and the original version number related to the original program as the first version number To version comparison means for comparing with any one of the third edition number and the result of the comparison, In order to function as a control processing unit that updates the original program by incorporating a program acquired from a device having the latest version of the transmission device, the other transmission device, or the management device into the module As a program.

本発明のプログラム版数管理システム、伝送装置、プログラム版数の管理方法及び管理プログラムによれば、ファームウェア等のプログラムを円滑に更新することができる。   According to the program version management system, transmission apparatus, program version management method, and management program of the present invention, programs such as firmware can be smoothly updated.

本発明の一実施形態に係るファームウェア版数管理システムの概略と当該システムを構成する伝送装置の構成を示すブロック図である。1 is a block diagram showing an outline of a firmware version number management system according to an embodiment of the present invention and a configuration of a transmission apparatus constituting the system. 本実施形態に係る伝送装置のファームウェアファイル保管部のメモリマップを示した図である。It is the figure which showed the memory map of the firmware file storage part of the transmission apparatus which concerns on this embodiment. 本実施形態に係る伝送装置のアドレスデータ保管部のメモリマップを示した図である。It is the figure which showed the memory map of the address data storage part of the transmission apparatus which concerns on this embodiment. 本実施形態に係る伝送装置のファームウェアバージョンデータ保管部のメモリマップを示した図である。It is the figure which showed the memory map of the firmware version data storage part of the transmission apparatus which concerns on this embodiment. 本実施形態に係るバージョンデータの比較処理とその比較結果に応じたファームウェアの更新方法を示したフローチャートである。It is the flowchart which showed the update method of the firmware according to the comparison process of the version data which concerns on this embodiment, and the comparison result. 本実施形態に係る制御フレームの基本フォーマットを示す図である。It is a figure which shows the basic format of the control frame which concerns on this embodiment. ファームウェアファイル取得に関する制御フレームを示した図である。It is the figure which showed the control frame regarding firmware file acquisition. ファームウェアバージョンデータ配布に関する制御フレームを示した図である。It is the figure which showed the control frame regarding firmware version data distribution. 本実施形態に係るファームウェア更新手順を示した第一のフローチャートである。It is the 1st flowchart which showed the firmware update procedure which concerns on this embodiment. 本実施形態に係るファームウェア更新手順を示した第二のフローチャートである。It is the 2nd flowchart which showed the firmware update procedure which concerns on this embodiment. 本実施形態に係るファームウェア更新手順を示した第三のフローチャートである。It is the 3rd flowchart which showed the firmware update procedure which concerns on this embodiment. 本実施形態に係るファームウェア更新手順を示した第四のフローチャートである。It is the 4th flowchart which showed the firmware update procedure concerning this embodiment. 本実施形態に係るファームウェアのバージョンデータ配布手順を示したフローチャートである。5 is a flowchart showing a firmware version data distribution procedure according to the present embodiment. ファームウェア版数の管理に関する一般的なシステムの概略構成を示した図である。It is the figure which showed schematic structure of the general system regarding management of firmware version number. ファームウェア版数の管理に関する一般的なシステムの詳細構成を示した図である。1 is a diagram illustrating a detailed configuration of a general system related to firmware version management. FIG.

以下、本発明のプログラム版数管理システムの好ましい実施形態の説明を行う。
ここで、後述する本実施形態のプログラム版数管理システム及びプログラム版数の管理方法は、プログラム(ソフトウェア)の命令によりコンピュータで実行される処理,手段,機能によって実現される。プログラムは、コンピュータの各構成要素に指令を送り、以下に示すような所定の処理・機能を行わせる。すなわち、本実施形態のプログラム版数管理システム及びプログラム版数の管理方法における各処理・手段は、プログラム版数の管理プログラムとコンピュータとが協働した具体的手段によって実現される。
なお、プログラムの全部又は一部は、例えば、磁気ディスク,光ディスク,半導体メモリ,その他任意のコンピュータで読取り可能な記録媒体により提供され、記録媒体から読み出されたプログラムがコンピュータにインストールされて実行される。また、プログラムは、記録媒体を介さず、通信回線を通じて直接にコンピュータにロードし実行することもできる。
Hereinafter, a preferred embodiment of the program version number management system of the present invention will be described.
Here, a program version number management system and a program version number management method according to the present embodiment, which will be described later, are realized by processes, means, and functions executed by a computer in accordance with instructions of a program (software). The program sends a command to each component of the computer to perform predetermined processing and functions as shown below. That is, each processing / means in the program version management system and the program version management method of the present embodiment is realized by specific means in which the program version management program and the computer cooperate.
Note that all or part of the program is provided by, for example, a magnetic disk, optical disk, semiconductor memory, or any other computer-readable recording medium, and the program read from the recording medium is installed in the computer and executed. The The program can also be loaded and executed directly on a computer through a communication line without using a recording medium.

図1は、本発明の一実施形態に係るファームウェア版数管理システムの概略と当該システムを構成する伝送装置の構成を示すブロック図である
図1に示すように、本実施形態に係るファームウェア版数管理システムは、主に、オペレーションシステム1と各伝送装置(伝送装置10、20、30等)とからなる。なお、システム全体は、前述した一般的な構成と同様である(図14参照)。
FIG. 1 is a block diagram showing an outline of a firmware version management system according to an embodiment of the present invention and a configuration of a transmission apparatus constituting the system. As shown in FIG. 1, the firmware version number according to the embodiment is shown. The management system mainly includes an operation system 1 and transmission devices (transmission devices 10, 20, 30, etc.). The entire system is the same as the general configuration described above (see FIG. 14).

オペレーションシステム1は、ファームウェア管理装置Fを備え、オペレーションシステム接続網n1を介し各伝送装置と接続されている。
また、同図に示すように、各伝送装置は、主信号伝送路n2又はオペレーションシステム接続網n1を介して相互に接続されている。
オペレーションシステム接続網n1としては、低速のTDM専用網等が用いられ、主信号伝送路n2としては、DCC(Data Communication Channels)やイーサネット(登録商標)網が用いられる。
The operation system 1 includes a firmware management device F and is connected to each transmission device via an operation system connection network n1.
Further, as shown in the figure, the transmission apparatuses are connected to each other via a main signal transmission line n2 or an operation system connection network n1.
A low speed TDM dedicated network or the like is used as the operation system connection network n1, and a DCC (Data Communication Channels) or Ethernet (registered trademark) network is used as the main signal transmission path n2.

伝送装置10は、一の装置管理パッケージ11と一以上の主信号パッケージを備える。なお、本実施形態においては、主信号パッケージ12と主信号パッケージ13の二つのパッケージ(モジュール)が搭載されているものとする。   The transmission device 10 includes one device management package 11 and one or more main signal packages. In the present embodiment, it is assumed that two packages (modules) of the main signal package 12 and the main signal package 13 are mounted.

(装置管理パッケージ11)
装置管理パッケージ(管理モジュール)11は、さらに、ファームウェアファイル保管部101と、アドレスデータ保管部102と、装置外通信部103と、ファームウェア処理部104と、ファームウェアバージョンデータ保管部105と、ファームウェアバージョン比較部106と、装置内通信部107とを備える。
(Device management package 11)
The device management package (management module) 11 further includes a firmware file storage unit 101, an address data storage unit 102, an external device communication unit 103, a firmware processing unit 104, a firmware version data storage unit 105, and a firmware version comparison. Unit 106 and in-device communication unit 107.

ファームウェアファイル保管部(プログラム保管部)101は、メモリデバイスであり、搭載する主信号パッケージのファームウェアファイル(プログラム)をパッケージ種別ごとに予め保管する。
このため、ファームウェアファイル保管部101は、主信号パッケージを新たに搭載した場合に、そのパッケージにインストールするための最新のファームウェア(マスターファイル)を保管する。
例えば、図2は、ファームウェアファイル保管部のメモリマップを示した図である。
同図は、ファームウェアファイル保管部101が、パッケージ♯Aに対応したファームウェアであって、バージョン(版数)「xx.xx」のファームウェアファイルを保管していることを示している。
A firmware file storage unit (program storage unit) 101 is a memory device, and stores a firmware file (program) of a main signal package to be mounted in advance for each package type.
For this reason, when the main signal package is newly installed, the firmware file storage unit 101 stores the latest firmware (master file) to be installed in the package.
For example, FIG. 2 is a diagram showing a memory map of the firmware file storage unit.
The figure shows that the firmware file storage unit 101 stores firmware files of version (version number) “xx.xx”, which are firmware corresponding to the package #A.

ここで、ファームウェアファイル保管部101は、所定の場合には、他の伝送装置やオペレーションシステム1から受け取ったファームウェアファイルを保管し、マスターファイルを更新する動作を行う。
具体的には、ファームウェアファイル保管部101は、ファームウェアファイルに関する書き込み制御信号が装置外通信部103又は装置内通信部107から入力されると、この制御信号に応じて装置外通信部103又は装置内通信部107から入力されたファームウェアファイルを保管して更新する動作を行う。
また、ファームウェアファイル保管部101は、ファームウェアファイルに関する読み出し制御信号が装置外通信部103又は装置内通信部107から入力されると、この制御信号に対応したファームウェアファイルを取り出して装置外通信部103又は装置内通信部107に出力する動作を行う。
Here, in a predetermined case, the firmware file storage unit 101 stores firmware files received from other transmission apparatuses and the operation system 1 and performs an operation of updating the master file.
Specifically, when a write control signal related to a firmware file is input from the external device communication unit 103 or the internal device communication unit 107, the firmware file storage unit 101 receives the control signal according to the control signal. The firmware file input from the communication unit 107 is stored and updated.
Further, when a read control signal related to the firmware file is input from the external device communication unit 103 or the internal device communication unit 107, the firmware file storage unit 101 takes out the firmware file corresponding to the control signal and extracts the firmware file corresponding to the control signal. An operation of outputting to the in-device communication unit 107 is performed.

アドレスデータ保管部(アドレス保管部)102は、他の伝送装置やファームウェア管理装置Fのアドレスデータを保管するためのメモリデバイスである。
アドレスデータ保管部102によって保管されたアドレスデータは、ファームウェアのバージョンデータを配布する際の宛先として使用される。
例えば、図3は、アドレスデータ保管部のメモリマップを示した図である。
同図は、他装置♯Aのアドレスが「yyyyyyyy」、オペレーションシステム1(ファームウェア管理装置F)のアドレスが「zzzzzzzz」、自装置のアドレスが「ABCDEFGH」であることを示している。
アドレスデータ保管部102は、読み出し制御信号が装置外通信部103又は装置内通信部107から入力されると、この制御信号に応じたアドレスデータを取り出して装置外通信部103又は装置内通信部107に出力する。
The address data storage unit (address storage unit) 102 is a memory device for storing address data of other transmission apparatuses and firmware management apparatuses F.
The address data stored by the address data storage unit 102 is used as a destination when distributing firmware version data.
For example, FIG. 3 is a diagram showing a memory map of the address data storage unit.
This figure shows that the address of the other device #A is “yyyyyyyy”, the address of the operation system 1 (firmware management device F) is “zzzzzzzz”, and the address of its own device is “ABCDEFGH”.
When a read control signal is input from the external communication unit 103 or the internal communication unit 107, the address data storage unit 102 extracts address data corresponding to the control signal and extracts the external data communication unit 103 or the internal communication unit 107. Output to.

装置外通信部103は、オペレーションシステム接続網n1との通信インタフェースであり、ファームウェア管理装置Fや他の伝送装置との間で送受される制御フレームやファームウェアファイルの受け渡しを行うとともに、自装置内でやり取りされるデータの受け渡しを行う。   The external device communication unit 103 is a communication interface with the operation system connection network n1, and exchanges control frames and firmware files sent to and received from the firmware management device F and other transmission devices. Deliver exchanged data.

例えば、装置外通信部103は、ファームウェア処理部104から、ファームウェア管理装置Fに対する「ファームウェアファイル取得」の命令を入力すると、アドレスデータ保管部102に対し読み出し制御信号を出力する。
他方、装置外通信部103は、これに対するアドレスデータ保管部102からの出力アドレスデータを入力すると、そのアドレスにもとづく「ファームウェアファイル取得」の要求に係る制御フレームを生成してオペレーションシステム接続網n1に出力する。
For example, when an external device communication unit 103 inputs a “firmware file acquisition” command to the firmware management device F from the firmware processing unit 104, the external device communication unit 103 outputs a read control signal to the address data storage unit 102.
On the other hand, when the external communication unit 103 receives the output address data from the address data storage unit 102 in response to this, it generates a control frame related to a “firmware file acquisition” request based on the address and sends it to the operation system connection network n1. Output.

また、装置外通信部103は、ファームウェア処理部104から、他の伝送装置に対する「ファームウェアファイル取得」の命令を入力すると、アドレスデータ保管部102に対し読み出し制御信号を出力する。
他方、装置外通信部103は、これに対するアドレスデータ保管部102からの出力アドレスデータを入力すると、そのアドレスにもとづく「ファームウェアファイル取得」の要求に係る制御フレームを生成してオペレーションシステム接続網n1に出力する。
Further, the external device communication unit 103 outputs a read control signal to the address data storage unit 102 when a “firmware file acquisition” command for another transmission device is input from the firmware processing unit 104.
On the other hand, when the external communication unit 103 receives the output address data from the address data storage unit 102 in response to this, it generates a control frame related to a “firmware file acquisition” request based on the address and sends it to the operation system connection network n1. Output.

さらに、装置外通信部103は、オペレーションシステム接続網n1を介し、オペレーションシステム1や他の伝送装置からファームウェアファイルを入力するとファームウェアファイル保管部101に対し、入力したファームウェアファイルと書き込み制御信号を出力する。
その後、装置外通信部103は、ファームウェアバージョンデータ保管部105に対し、そのファームウェアファイルのバージョンデータと書き込み制御信号を出力する。
装置外通信部103は、ファームウェアファイルの更新やそのバージョンデータの更新が終了すると、ファームウェア処理部104にその結果を通知する。
Further, when the firmware file is input from the operation system 1 or another transmission device via the operation system connection network n1, the external device communication unit 103 outputs the input firmware file and a write control signal to the firmware file storage unit 101. .
Thereafter, the external device communication unit 103 outputs the firmware file version data and a write control signal to the firmware version data storage unit 105.
When the update of the firmware file and the update of the version data are completed, the external device communication unit 103 notifies the firmware processing unit 104 of the result.

なお、装置外通信部103の機能は、後述する装置内通信部107と同じである。このため、本実施形態では装置内通信部107が行う制御フレームの生成も可能であり、他の伝送装置に対する制御フレームの送受についても、オペレーションシステム接続網n1を介して通信可能である。   The function of the external communication unit 103 is the same as that of the internal communication unit 107 described later. For this reason, in the present embodiment, the control frame generated by the in-device communication unit 107 can be generated, and the control frame can be transmitted to and received from other transmission devices via the operation system connection network n1.

ファームウェア処理部(制御処理部)104は、各構成部と電気的に接続され、ファームウェアファイルに関する各種制御処理を行ういわゆるCPU(Central Processing Unit)である。
例えば、ファームウェアバージョンデータ比較部106に対するバージョンの比較命令、外部からのファイル取得に係るルート決定、装置外通信部103や装置内通信部107に対する制御フレームの生成命令等を行う。
The firmware processing unit (control processing unit) 104 is a so-called CPU (Central Processing Unit) that is electrically connected to each component unit and performs various control processes related to the firmware file.
For example, a version comparison command for the firmware version data comparison unit 106, a route determination related to file acquisition from the outside, a control frame generation command for the external communication unit 103 and the internal communication unit 107, and the like are performed.

ファームウェアバージョンデータ保管部(バージョン保管部)105は、自装置のファームウェアファイル保管部101に保管されているファームウェアのバージョンデータ(第一の版数)、他の伝送装置が保管するファームウェアのバージョンデータ(第二の版数)及びオペレーションシステム1が有するファームウェア(すなわち、ファームウェア管理装置Fが保管する最新のファームウェアファイル)のバージョンデータ(第三の版数)を保管するためのメモリデバイスである。   The firmware version data storage unit (version storage unit) 105 stores firmware version data (first version number) stored in the firmware file storage unit 101 of its own device, firmware version data stored in another transmission device ( This is a memory device for storing the version data (third version number) of the firmware (that is, the latest firmware file stored by the firmware management apparatus F) of the operation system 1 and the second version number).

例えば、図4は、ファームウェアバージョンデータ保管部のメモリマップを示した図である。
同図は、パッケージ♯Aに関し、オペレーションシステム1が管理する「最新のファームウェアバージョン」が「aa.aa」であり、「自装置のファームウェアバージョン」が「bb.bb」であり、「他装置♯Aのファームウェアバージョン」が「cc.cc」であることを示している。
For example, FIG. 4 is a diagram showing a memory map of the firmware version data storage unit.
In the figure, regarding the package #A, the “latest firmware version” managed by the operation system 1 is “aa.aa”, the “firmware version of its own device” is “bb.bb”, and the “other device #” "A firmware version" is "cc.cc".

すなわち、同図は、ファームウェア管理装置Fに保管されているパッケージ♯Aのファームウェアファイルのバージョンが「aa.aa」であり、伝送装置10のファームウェアファイル保管部101に保管されているパッケージ♯Aのファームウェアファイルのバージョンが「bb.bb」であり、伝送装置♯A(伝送装置20)のファームウェアファイル保管部に保管されているパッケージ♯Aのファームウェアファイルのバージョンが「cc.cc」であることを示している。   That is, in the figure, the version of the firmware file of the package #A stored in the firmware management apparatus F is “aa.aa”, and the package #A stored in the firmware file storage unit 101 of the transmission apparatus 10 The firmware file version is “bb.bb”, and the firmware file version of the package #A stored in the firmware file storage unit of the transmission apparatus #A (transmission apparatus 20) is “cc.cc”. Show.

ファームウェアバージョン比較部(バージョン比較部)106は、ファームウェア処理部104からの命令にもとづき、主信号パッケージから抽出した当該パッケージのファームウェアのバージョンデータ(原版数)と、自装置又は他装置に予め保管されているファームウェアのバージョンデータとを比較する処理を行う。
ここで、ファームウェアバージョン比較部106が行う比較処理とその比較結果に応じたファームウェアの更新方法について、図5を参照しながら説明する。
図5は、本実施形態に係るバージョンデータの比較処理とその比較結果に応じたファームウェアの更新方法を示したフローチャートである。
The firmware version comparison unit (version comparison unit) 106 stores the version data (original version number) of the firmware of the package extracted from the main signal package based on an instruction from the firmware processing unit 104 and is stored in advance in the own device or another device. The process of comparing with the version data of the firmware is performed.
Here, a comparison process performed by the firmware version comparison unit 106 and a firmware update method according to the comparison result will be described with reference to FIG.
FIG. 5 is a flowchart showing a version data comparison process and a firmware update method according to the comparison result according to the present embodiment.

同図に示すように、主信号パッケージが伝送装置に搭載されると、まず、その主信号パッケージに当初から組み込まれているファームウェアのバージョンデータとオペレーションシステム1が管理する最新ファームウェアのバージョンデータとの比較を行う(S1)。
なお、主信号パッケージに組み込まれているファームウェアのバージョンデータについては、この主信号パッケージにアクセスして取得することができる。
また、最新のファームウェアのバージョンデータについては、ファームウェアバージョンデータ保管部105に予め保管されているのでここから取得する。
As shown in the figure, when the main signal package is mounted on the transmission device, first, the version data of the firmware incorporated in the main signal package from the beginning and the version data of the latest firmware managed by the operation system 1 Comparison is performed (S1).
The firmware version data incorporated in the main signal package can be obtained by accessing the main signal package.
Further, since the latest firmware version data is stored in advance in the firmware version data storage unit 105, it is acquired from here.

この比較の結果、両者のデータが一致すると(S1:一致)、ファームウェアを更新する必要がないものと判断され、ファームウェア処理部104は、処理を終了する(S2)。
つまり、この場合は、主信号パッケージ12に組み込まれているファームウェアは最新バージョンのものであると判断するものである。
一方、この比較の結果、両者のデータが一致しなかった場合(S1:不一致)、次いで、ファームウェアバージョン比較部106は、最新ファームウェアのバージョンデータと自装置のファームウェアのバージョンデータとの比較を行う(S3)。
なお、自装置のファームウェアのバージョンデータは、ファームウェアバージョンデータ保管部105に予め保管されているのでここから取得する。
As a result of this comparison, if the two data match (S1: match), it is determined that there is no need to update the firmware, and the firmware processing unit 104 ends the process (S2).
That is, in this case, it is determined that the firmware incorporated in the main signal package 12 is the latest version.
On the other hand, as a result of this comparison, if the two data do not match (S1: mismatch), then the firmware version comparison unit 106 compares the version data of the latest firmware with the version data of the firmware of its own device ( S3).
Note that the firmware version data of its own device is stored in advance in the firmware version data storage unit 105 and is acquired from here.

S3の比較の結果、両者のデータが一致すると(S3:一致)、ファームウェア処理部104は、自装置が保管するファームウェアによってファームウェアが更新されるよう制御を行う(S4)。
具体的には、その比較結果に応じ、ファームウェア処理部104が、ファームウェアファイル保管部101からファームウェアファイルを取り出し主信号パッケージに転送する制御を行う。
一方、この比較の結果、両者のデータが一致しなかった場合(S3:不一致)、次に、ファームウェアバージョン比較部106は、最新ファームウェアのバージョンデータと他の伝送装置(♯n)のファームウェアのバージョンデータとの比較を行う(S5)。
なお、他装置のファームウェアのバージョンデータは、ファームウェアバージョンデータ保管部105に予め保管されているのでここから取得する。
As a result of the comparison in S3, if the two data match (S3: match), the firmware processing unit 104 performs control so that the firmware is updated by the firmware stored in the own device (S4).
Specifically, according to the comparison result, the firmware processing unit 104 performs control to take out the firmware file from the firmware file storage unit 101 and transfer it to the main signal package.
On the other hand, as a result of this comparison, if the two data do not match (S3: mismatch), then the firmware version comparison unit 106 determines that the latest firmware version data and the firmware version of the other transmission device (#n) Comparison with the data is performed (S5).
Note that the firmware version data of the other device is stored in advance in the firmware version data storage unit 105, and is acquired from here.

S5における比較の結果、両者のデータが一致すると(S5:一致)、Fa0六ウェア処理部104は、伝送装置(♯n)が保管するファームウェアによってファームウェアが更新されるよう制御を行う(S6)。
一方、比較の結果、両者のデータが一致しなかった場合(S5:不一致)、伝送装置(♯n)以外の他の伝送装置についてS5の処理を行う(S7:YES)。
そして、他のすべての伝送装置のファームウェアのバージョンデータが、最新ファームウェアのバージョンと一致しなかった場合(S7:NO)、ファームウェア処理部104は、オペレーションシステム1が有するファームウェアによってファームウェアが更新されるよう制御を行う(S8)。
As a result of the comparison in S5, if the two data match (S5: match), the Fa0 6 hardware processing unit 104 performs control so that the firmware is updated by the firmware stored in the transmission device (#n) (S6).
On the other hand, as a result of the comparison, if the two data do not match (S5: mismatch), the process of S5 is performed for other transmission apparatuses other than the transmission apparatus (#n) (S7: YES).
If the firmware version data of all other transmission apparatuses does not match the latest firmware version (S7: NO), the firmware processing unit 104 updates the firmware with the firmware of the operation system 1. Control is performed (S8).

図1に示すように、装置内通信部107は、主信号パッケージ12,13とのインタフェースである。
装置内通信部107は、他の伝送装置との間で送受される制御フレームの生成、制御フレームやファームウェアファイルの送受信、装置管理パッケージ11内の各構成部間で送受されるデータの中継等を行う。
具体的には、装置内通信部107は、ファームウェア処理部104からの「ファームウェアファイル転送要求」の命令を入力すると、ファームウェアファイル保管部101に対し読み出し制御信号を出力する。
装置内通信部107は、これに対するファームウェアファイル保管部101からの出力ファームウェアファイルを入力すると、これを装置内通信部108に出力する。
As shown in FIG. 1, the in-device communication unit 107 is an interface with the main signal packages 12 and 13.
The in-device communication unit 107 generates control frames transmitted / received to / from other transmission devices, transmits / receives control frames and firmware files, relays data transmitted / received between each component in the device management package 11, and the like. Do.
Specifically, when the “firmware file transfer request” command is input from the firmware processing unit 104, the in-device communication unit 107 outputs a read control signal to the firmware file storage unit 101.
When the output firmware file from the firmware file storage unit 101 corresponding to this is input, the in-device communication unit 107 outputs this to the in-device communication unit 108.

また、装置内通信部107は、ファームウェア処理部104から他の伝送装置に対する「ファームウェアファイル取得」の命令を入力すると、アドレスデータ保管部102に対し読み出し制御信号を出力する。
装置内通信部107は、これに対するアドレスデータ保管部102からの出力アドレスデータを入力すると、このアドレスデータを宛先とした「ファームウェアファイル取得」の要求に係る制御フレームを生成して、装置内通信部108又は装置内通信部112に出力する。
Further, the intra-device communication unit 107 outputs a read control signal to the address data storage unit 102 when a “firmware file acquisition” command for another transmission device is input from the firmware processing unit 104.
When the output address data from the address data storage unit 102 is input to the in-device communication unit 107, the in-device communication unit 107 generates a control frame related to a request for “acquisition of firmware file” with the address data as a destination. 108 or the in-device communication unit 112.

さらに、装置内通信部107は、主信号パッケージ12の装置内通信部108からのファームウェアファイルを入力すると、ファームウェアファイル保管部101に対し、入力したファームウェアファイルと書き込み制御信号を出力する。
そして、ファームウェアファイルの書き込みが終了すると、装置内通信部108は、ファームウェア処理部104にその結果を通知する。
Further, when the in-device communication unit 107 inputs the firmware file from the in-device communication unit 108 of the main signal package 12, the in-device communication unit 107 outputs the input firmware file and a write control signal to the firmware file storage unit 101.
When the writing of the firmware file is completed, the in-device communication unit 108 notifies the firmware processing unit 104 of the result.

加えて、装置内通信部107は、ファームウェア処理部104からの「ファームウェアバージョンデータ配布要求」の命令を入力すると、アドレスデータ保管部102とファームウェアバージョンデータ保管部105に対し、読み出し制御信号を出力する。
装置内通信部107は、これに対するアドレスデータ保管部102からの出力アドレスデータやこれに対するファームウェアバージョンデータ保管部105からのファームウェアバージョンデータにもとづき、「ファームウェアバージョンデータ配布要求」を要求する旨の制御フレームを生成して、装置内通信部108又は装置内通信部112に出力する。
In addition, when the “firmware version data distribution request” command is input from the firmware processing unit 104, the in-device communication unit 107 outputs a read control signal to the address data storage unit 102 and the firmware version data storage unit 105. .
The in-device communication unit 107 requests a “firmware version data distribution request” based on the output address data from the address data storage unit 102 and the firmware version data from the firmware version data storage unit 105 corresponding thereto. Is output to the in-device communication unit 108 or the in-device communication unit 112.

なお、装置内通信部107又は装置外通信部103によって生成される上述の制御フレームは、図6に示す基本フレームにもとづいて形成される。
同図に示すように、制御フレームの基本フレームは、「宛先アドレス」フィールド、「自アドレス」フィールド、「コマンド種別」フィールド、「コマンド制御」フィールド及び「データ部」フィールドによって構成される。
ここで、「ファームウェアファイル取得」の制御フレームは、要求フレームcf1と応答フレームcf2の二種類がある。
Note that the above-described control frame generated by the in-device communication unit 107 or the out-of-device communication unit 103 is formed based on the basic frame shown in FIG.
As shown in the figure, the basic frame of the control frame includes a “destination address” field, a “self address” field, a “command type” field, a “command control” field, and a “data part” field.
Here, there are two types of control frames for “acquire firmware file”: request frame cf1 and response frame cf2.

要求フレームcf1は、図7(a)に示すように、「宛先アドレス」フィールドに他装置(伝送装置20)のアドレス、「自アドレス」フィールドに自装置(伝送装置10)のアドレス、「コマンド種別」フィールドに「ファームウェアファイル取得」、「コマンド制御」フィールドに「コマンド要求」、「データ部」フィールドに求めるファームウェアバージョンデータ(パッケージ種別とそのバージョンを含む)をそれぞれ格納する。   As shown in FIG. 7A, the request frame cf1 includes the address of the other device (transmission device 20) in the “destination address” field, the address of the own device (transmission device 10) in the “own address” field, and the “command type”. “Firmware file acquisition” in the “field” field, “command request” in the “command control” field, and firmware version data (including the package type and its version) to be calculated in the “data part” field.

応答フレームcf2は、図7(b)に示すように、「宛先アドレス」フィールドに自装置(伝送装置10)のアドレス、「自アドレス」フィールドに要求フレームcf1の送信元装置(伝送装置10)のアドレス、「コマンド種別」フィールドに「ファームウェアファイル取得」、「コマンド制御」フィールドに「コマンド応答」、「データ部」フィールドに返信するファームウェアファイル(要求フレームcf1のデータ部に格納するファームウェアバージョンデータに対応したもの)をそれぞれ格納する。   As shown in FIG. 7B, the response frame cf2 includes the address of the own device (transmission device 10) in the “destination address” field, and the transmission source device (transmission device 10) of the request frame cf1 in the “own address” field. Address, “Firmware file acquisition” in “Command type” field, “Command response” in “Command control” field, Firmware file returned in “Data part” field (corresponding to firmware version data stored in data part of request frame cf1) Each of them).

「ファームウェアバージョンデータ配布」の制御フレームは、通知フレームcf3と応答フレームcf4の二種類がある。
通知フレームcf3は、図8(a)に示すように、「宛先アドレス」フィールドに他装置(伝送装置20)のアドレス、「自アドレス」フィールドに自装置のアドレス(伝送装置10)、「コマンド種別」フィールドに「ファームウェアバージョンデータ配布」、「コマンド制御」フィールドに「コマンド要求」、「データ部」フィールドにバージョン通知先の装置の識別符号(例えば、装置IDや装置番号など)、通知対象のファームウェアファイルバージョンデータ(パッケージ種別とそのバージョン含む)を格納する。
応答フレームcf4は、図8(b)に示すように、「宛先アドレス」フィールドに自装置(伝送装置10)のアドレス、「自アドレス」フィールドに通知フレームcf3の送信元装置(伝送装置10)のアドレス、「コマンド種別」フィールドに「ファームウェアバージョンデータ配布」、「コマンド制御」フィールドに「コマンド応答」を格納する。
There are two types of control frames for “firmware version data distribution”: a notification frame cf3 and a response frame cf4.
As shown in FIG. 8A, the notification frame cf3 includes an address of the other device (transmission device 20) in the “destination address” field, an address of the own device (transmission device 10), “command type” in the “own address” field. "Firmware version data distribution" in the "field", "command request" in the "command control" field, the identification code of the version notification destination device (eg, device ID and device number) in the "data part" field, and the firmware to be notified Stores file version data (including package type and version).
As shown in FIG. 8B, the response frame cf4 includes the address of the own device (transmission device 10) in the “destination address” field and the transmission source device (transmission device 10) of the notification frame cf3 in the “own address” field. “Firmware version data distribution” is stored in the “command type” field, and “command response” is stored in the “command control” field.

(主信号パッケージ12)
主信号パッケージ(処理モジュール)12は、図1に示すように、装置内通信部108と、ファームウェアファイル保管部109と、パッケージ処理部110と、主信号処理部111とを備える。
(Main signal package 12)
As shown in FIG. 1, the main signal package (processing module) 12 includes an in-device communication unit 108, a firmware file storage unit 109, a package processing unit 110, and a main signal processing unit 111.

装置内通信部108は、パッケージ処理部110からの制御にもとづき、装置管理パッケージ11との間で送受されるファームウェアファイルや制御フレーム等の中継を行う通信インタフェースである。   The in-device communication unit 108 is a communication interface that relays firmware files, control frames, and the like transmitted to and received from the device management package 11 based on control from the package processing unit 110.

ファームウェアファイル保管部(原プログラム保管部)109は、当該主信号パッケージ12を機能させるためのファームウェアファイルを予め保管するメモリデバイスである。
ただし、本実施形態に係るファームウェアファイル保管部109は、所定の場合には、装置管理パッケージ11から転送されるファームウェアファイルを保管して更新する処理を行う。
The firmware file storage unit (original program storage unit) 109 is a memory device that stores in advance a firmware file for causing the main signal package 12 to function.
However, the firmware file storage unit 109 according to the present embodiment performs processing to store and update the firmware file transferred from the device management package 11 in a predetermined case.

パッケージ処理部(実処理部)110は、各構成部と電気的に接続され、ファームウェアファイルに関する各種の処理を行ういわゆるCPUである。   The package processing unit (actual processing unit) 110 is a so-called CPU that is electrically connected to each component unit and performs various processes related to the firmware file.

主信号処理部111は、装置間伝送フレームのオーバーヘッド部(付加情報領域)に制御フレームを挿入して他の伝送装置に主信号伝送路n2を介して出力する動作を行う。
また、主信号処理部111は、パッケージ処理部110からの制御にもとづき、装置間伝送フレームのオーバーヘッド部から制御フレームを分離して抽出する処理を行う。
The main signal processing unit 111 performs an operation of inserting a control frame into an overhead part (additional information area) of an inter-device transmission frame and outputting it to another transmission device via the main signal transmission line n2.
The main signal processing unit 111 performs processing for separating and extracting the control frame from the overhead part of the inter-device transmission frame based on the control from the package processing unit 110.

次に、以上のような構成からなる本実施形態のファームウェア版数管理システムにおけるファームウェアの更新方法について図9〜図12を参照しながら説明する。
図9〜図12は、本実施形態に係るファームウェアの更新手順を示したフローチャートである。
なお、ここでは、伝送装置10に主信号パッケージ12が新たに搭載された場合の手順について説明する。
Next, a firmware update method in the firmware version management system of the present embodiment configured as described above will be described with reference to FIGS.
9 to 12 are flowcharts showing a firmware update procedure according to the present embodiment.
Here, the procedure when the main signal package 12 is newly installed in the transmission apparatus 10 will be described.

まず、伝送装置10に主信号パッケージ12が搭載されてから、ファームウェアバージョン比較部106によってファームウェアのバージョンの比較が行われるまでについて図9を参照しながら説明する。
図9に示すように、主信号パッケージ12が伝送装置10に搭載されると、主信号パッケージ12の起動処理が自動的に行われ、パッケージ処理部110がこれを検知する。
ここで、パッケージ処理部110は、ファームウェアファイル保管部109にアクセスし、ファームウェアファイル保管部109に現在保管されているファームウェアのバージョンデータを読み出し(A1)、これを装置内通信部108に出力する(A2)。
次いで、装置内通信部108は、入力したファームウェアファイルのバージョンデータを、装置管理パッケージ11の装置内通信部107に出力する(A3)。
First, the process from when the main signal package 12 is mounted on the transmission apparatus 10 until the firmware version comparison unit 106 compares the firmware versions will be described with reference to FIG.
As shown in FIG. 9, when the main signal package 12 is mounted on the transmission apparatus 10, the main signal package 12 is automatically activated, and the package processing unit 110 detects this.
Here, the package processing unit 110 accesses the firmware file storage unit 109, reads the version data of the firmware currently stored in the firmware file storage unit 109 (A1), and outputs this to the in-device communication unit 108 ( A2).
Next, the in-device communication unit 108 outputs the version data of the input firmware file to the in-device communication unit 107 of the device management package 11 (A3).

装置内通信部108は、装置内通信部107からファームウェアファイルのバージョンデータを受信するとこれをファームウェアバージョン比較部106に出力する(A4)とともに、ファームウェア処理部104に通知する(A5)。
この通知を受けたファームウェア処理部104は、ファームウェアバージョン比較部106に所定の命令信号を出力する(A6)。
これを受け、ファームウェアバージョン比較部106は、ファームウェアバージョンデータ保管部105にアクセスし(A7)、主信号パッケージ12に関する自装置のファームウェアのバージョン、他装置のファームウェアのバージョン及びオペレーションシステム1が有するファームウェアのバージョンを取り出す(A8)。
Upon receiving the firmware file version data from the in-device communication unit 107, the in-device communication unit 108 outputs this to the firmware version comparison unit 106 (A4) and notifies the firmware processing unit 104 (A5).
Receiving this notification, the firmware processing unit 104 outputs a predetermined command signal to the firmware version comparison unit 106 (A6).
In response to this, the firmware version comparison unit 106 accesses the firmware version data storage unit 105 (A7), and updates the firmware version of its own device related to the main signal package 12, the firmware version of the other device, and the firmware of the operation system 1. The version is taken out (A8).

続いて、ファームウェアバージョン比較部106は、ステップA4で入力したバージョンデータとステップA8で取り出した各バージョンとを、図5とともに前述した手順にしたがって比較する(A9)。
そして、ファームウェアバージョン比較部106は、比較の結果を、ファームウェア処理部104に通知する(A10)。
Subsequently, the firmware version comparison unit 106 compares the version data input in step A4 with the versions extracted in step A8 according to the procedure described above with reference to FIG. 5 (A9).
Then, the firmware version comparison unit 106 notifies the comparison result to the firmware processing unit 104 (A10).

次に、ファームウェアバージョン比較部106によるファームウェアのバージョン比較が行われた結果、主信号パッケージ12のファームウェアのバージョンと最新ファームウェアのバージョンとは一致しないが、最新ファームウェアのバージョンと伝送装置10のファームウェアのバージョンとが一致した場合(図5のS4参照)のファームウェアの更新手順について図10を参照しながら説明する。
つまり、ここでは、自装置に予め保管しているファームウェアファイルを用いて更新する場合の手順について説明する。
Next, as a result of the firmware version comparison performed by the firmware version comparison unit 106, the firmware version of the main signal package 12 does not match the latest firmware version, but the latest firmware version and the firmware version of the transmission apparatus 10 are not matched. Will be described with reference to FIG. 10 for a firmware update procedure in the case where “and” match (see S4 in FIG. 5).
That is, here, a procedure for updating using a firmware file stored in advance in its own device will be described.

上述の比較結果の通知を受けたファームウェア処理部104は、図10に示すように、まず、装置内通信部107に対し、「ファームウェアファイル転送」の命令を出力する(B1)。
これを受け、装置内通信部107は、ファームウェアファイル保管部101にアクセスし(B2)、ファームウェアファイル保管部101によって保管されている主信号パッケージ12のファームウェアファイルを取得する(B3)。
Upon receiving the notification of the comparison result, the firmware processing unit 104 first outputs a “firmware file transfer” command to the in-device communication unit 107 (B1) as shown in FIG.
In response to this, the in-device communication unit 107 accesses the firmware file storage unit 101 (B2), and acquires the firmware file of the main signal package 12 stored by the firmware file storage unit 101 (B3).

次に、装置内通信部107は、取得したファームウェアファイルを、主信号パッケージ12の装置内通信部108に出力する(B4)。
装置内通信部108は、装置内通信部107から入力したファームウェアファイルをパッケージ処理部110に出力し(B5)、これをパッケージ処理部110がファームウェアファイル保管部109に出力する(B6)。
続いて、ファームウェアファイル保管部109は、装置内通信部107から入力したファームウェアファイルを保管する(B7)。これにより、主信号パッケージ12のファームウェアファイルは更新される。
Next, the in-device communication unit 107 outputs the acquired firmware file to the in-device communication unit 108 of the main signal package 12 (B4).
The in-device communication unit 108 outputs the firmware file input from the in-device communication unit 107 to the package processing unit 110 (B5), and the package processing unit 110 outputs it to the firmware file storage unit 109 (B6).
Subsequently, the firmware file storage unit 109 stores the firmware file input from the in-device communication unit 107 (B7). As a result, the firmware file of the main signal package 12 is updated.

なお、このファームウェアファイルの更新後、ファームウェアファイル保管部109は、その結果をパッケージ処理部110に通知し(B8)、パッケージ処理部110は、これを装置内通信部108に転送する(B9)。
そして、装置内通信部108が、その通知を装置管理パッケージ11の装置内通信部107に転送し(B10)、さらに、ファームウェア処理部104に転送される(B11)。
これにより、自装置のファームウェアファイル保管部101に保管されているファームウェアの転送によるファームウェアファイルの更新が完了する。
After updating the firmware file, the firmware file storage unit 109 notifies the result to the package processing unit 110 (B8), and the package processing unit 110 transfers this to the in-device communication unit 108 (B9).
Then, the in-device communication unit 108 transfers the notification to the in-device communication unit 107 of the device management package 11 (B10), and further forwards to the firmware processing unit 104 (B11).
Thereby, the update of the firmware file by the transfer of the firmware stored in the firmware file storage unit 101 of the own apparatus is completed.

次に、ファームウェアバージョン比較部106によるファームウェアのバージョン比較が行われた結果、主信号パッケージ12のファームウェアのバージョンと最新ファームウェアのバージョンとが一致せず、加えて、最新ファームウェアのバージョンと伝送装置10のファームウェアのバージョンとが一致しないが、最新ファームウェアのバージョンと他の伝送装置のファームウェアのバージョンとが一致した場合(図5のS6参照)のファームウェアの更新手順について図11を参照しながら説明する。
つまり、ここでは、他の伝送装置からファームウェアファイルを取得して更新する場合の手順について説明する。
Next, as a result of the firmware version comparison performed by the firmware version comparison unit 106, the firmware version of the main signal package 12 does not match the latest firmware version, and in addition, the latest firmware version and the transmission device 10 The firmware update procedure when the firmware version does not match but the latest firmware version matches the firmware version of another transmission apparatus (see S6 in FIG. 5) will be described with reference to FIG.
That is, here, a procedure for obtaining and updating a firmware file from another transmission apparatus will be described.

上述の比較結果を受けたファームウェア処理部104は、図11に示すように、まず、アドレスデータ保管部102にアクセスし(C1)、その比較の対象となった他の伝送装置のアドレスデータを取得する(C2)。つまり、ファームウェアの取得先である伝送装置のアドレスデータを取得する。   Upon receiving the comparison result, the firmware processing unit 104 first accesses the address data storage unit 102 as shown in FIG. 11 (C1), and acquires the address data of the other transmission device that is the comparison target. (C2). That is, the address data of the transmission apparatus that is the firmware acquisition destination is acquired.

次いで、ファームウェア処理部104は、取得したアドレスデータにもとづき、ファームウェアファイルを取得するルートを決定する(C3)。
具体的には、装置外通信部103(すなわち、オペレーションシステム接続網n1)を介したルートとするか、装置内通信部107(すなわち、主信号伝送路n2)を介したルートとするか、を決定する。
このルートは、例えば、通信量や優先度に応じて動的に決定しても良く、また、他の伝送装置に応じて予め対応付けたルートとしてもよい。
なお、本実施形態においては、装置内通信部107(すなわち、主信号伝送路n2)を介したルートが決定されたものとする。
Next, the firmware processing unit 104 determines a route for acquiring the firmware file based on the acquired address data (C3).
Specifically, whether the route is through the external communication unit 103 (that is, the operation system connection network n1) or the route is through the in-device communication unit 107 (that is, the main signal transmission line n2). decide.
For example, this route may be dynamically determined according to the communication amount or priority, or may be a route associated in advance with another transmission apparatus.
In the present embodiment, it is assumed that a route via the in-device communication unit 107 (that is, the main signal transmission line n2) is determined.

次に、ファームウェア処理部104は、装置内通信部107に対し、「ファームウェアファイル取得」の命令を出力する(C4)。
これを受け、装置内通信部107は、アドレスデータ保管部102にアクセスし(C5)、アドレスデータ保管部102に保管されている他の伝送装置のアドレスデータを取得する(C6)。
続いて、装置内通信部107は、制御フレームとしてファイル取得に係る要求フレームcf1を生成し(C7)、主信号パッケージ13の装置内通信部112に出力する(C8)。
Next, the firmware processing unit 104 outputs a “firmware file acquisition” command to the in-device communication unit 107 (C4).
In response to this, the in-device communication unit 107 accesses the address data storage unit 102 (C5), and acquires the address data of other transmission devices stored in the address data storage unit 102 (C6).
Subsequently, the in-device communication unit 107 generates a request frame cf1 related to file acquisition as a control frame (C7), and outputs it to the in-device communication unit 112 of the main signal package 13 (C8).

具体的には、「宛先アドレス」フィールドに伝送装置20のアドレスデータ、「自アドレス」フィールドに伝送装置10のアドレスデータ、「コマンド種別」フィールドに「ファームウェアファイル取得」を示すデータ、「コマンド制御」フィールドに「コマンド要求」を示すデータ、「データ部」フィールドにファームウェアバージョンデータを格納して作成した制御フレーム(要求フレーム)cf1を送信する。   Specifically, the address data of the transmission device 20 is stored in the “destination address” field, the address data of the transmission device 10 is stored in the “own address” field, the data indicating “acquire firmware file” is displayed in the “command type” field, and “command control”. A control frame (request frame) cf1 created by storing data indicating “command request” in the field and firmware version data in the “data portion” field is transmitted.

装置内通信部112は、入力した制御フレームをパッケージ処理部113に出力し(C9)、パッケージ処理部113はこれを主信号処理部115に転送する(C10)。
主信号処理部115は、入力した制御フレームを、主信号の付加情報領域を用いて多重化し、伝送装置20に出力する(C11)。
伝送装置20の主信号パッケージ22の主信号処理部211は、伝送装置10から入力した主信号の付加情報領域から制御フレームを分離し、分離された制御フレームはパッケージ処理部210に出力する(C12)。
The in-device communication unit 112 outputs the input control frame to the package processing unit 113 (C9), and the package processing unit 113 transfers this to the main signal processing unit 115 (C10).
The main signal processing unit 115 multiplexes the input control frame using the additional information area of the main signal, and outputs the multiplexed control frame to the transmission apparatus 20 (C11).
The main signal processing unit 211 of the main signal package 22 of the transmission device 20 separates the control frame from the additional information area of the main signal input from the transmission device 10, and outputs the separated control frame to the package processing unit 210 (C12 ).

パッケージ処理部210は、入力した制御フレームを装置内通信部208に転送し(C13)、装置内通信部208は、これを装置管理パッケージ21の装置内通信部207に出力する(C14)。
装置内通信部207は、入力した制御フレーム(すなわち、要求フレームcf1)を解釈し、「コマンド種別」フィールドと「コマンド制御」フィールドからその制御フレームがファームウェアファイル取得を要求するものであることを認識することができる。
The package processing unit 210 transfers the input control frame to the in-device communication unit 208 (C13), and the in-device communication unit 208 outputs this to the in-device communication unit 207 of the device management package 21 (C14).
The in-device communication unit 207 interprets the input control frame (that is, the request frame cf1), and recognizes that the control frame requests acquisition of the firmware file from the “command type” field and the “command control” field. can do.

ここで、装置内通信部207は、アドレスデータ保管部202から自装置のアドレスデータを取得するとともに(C15)、ファームウェアファイル保管部201にアクセスして(C16)、入力した制御フレームの「データ部」フィールドに格納されている「ファームウェアバージョンデータ」に対応したファームウェアファイルを取得する(C17)。
そして、装置内通信部207は、制御フレームとして応答フレームcf2を生成し(C18)、主信号パッケージ22の装置内通信部208に出力する(C19)。
Here, the in-device communication unit 207 acquires the address data of the own device from the address data storage unit 202 (C15), accesses the firmware file storage unit 201 (C16), and inputs the “data part” of the input control frame. The firmware file corresponding to the “firmware version data” stored in the “” field is acquired (C17).
Then, the in-device communication unit 207 generates a response frame cf2 as a control frame (C18) and outputs it to the in-device communication unit 208 of the main signal package 22 (C19).

具体的には、「宛先アドレス」フィールドに伝送装置10のアドレスデータ、「自アドレス」フィールドに伝送装置20のアドレスデータ、「コマンド種別」フィールドに「ファームウェアファイル取得」を示すデータ、「コマンド制御」フィールドに「コマンド応答」を示すデータ、「データ部」フィールドに対応するファームウェアファイルを格納して作成した制御フレーム(応答フレーム)cf2を送信する。   Specifically, the address data of the transmission device 10 is stored in the “destination address” field, the address data of the transmission device 20 is displayed in the “own address” field, the data indicating “acquire firmware file” is displayed in the “command type” field, and “command control”. A control frame (response frame) cf2 created by storing data indicating “command response” in the field and a firmware file corresponding to the “data portion” field is transmitted.

装置内通信部208は、入力した制御フレームをパッケージ処理部210に出力し(C20)、パッケージ処理部210は、これを主信号処理部211に転送する(C21)。
主信号処理部211は、入力した制御フレームを、主信号の付加情報領域を用いて多重化し、伝送装置10に出力する(C22)。
The in-device communication unit 208 outputs the input control frame to the package processing unit 210 (C20), and the package processing unit 210 transfers this to the main signal processing unit 211 (C21).
The main signal processing unit 211 multiplexes the input control frame using the additional information area of the main signal and outputs it to the transmission apparatus 10 (C22).

これを受け、伝送装置10の主信号パッケージ13の主信号処理部115は、伝送装置20から入力した主信号の付加情報領域から制御フレームを分離し、分離された制御フレームはパッケージ処理部113に出力する(C23)。
そして、パッケージ処理部113は、この制御フレームを装置内通信部112に転送し(C24)、装置内通信部112は、制御フレームを装置管理パッケージ11の装置内通信部107に出力する(C25)。
In response, the main signal processing unit 115 of the main signal package 13 of the transmission apparatus 10 separates the control frame from the additional information area of the main signal input from the transmission apparatus 20, and the separated control frame is sent to the package processing unit 113. Output (C23).
Then, the package processing unit 113 transfers this control frame to the in-device communication unit 112 (C24), and the in-device communication unit 112 outputs the control frame to the in-device communication unit 107 of the device management package 11 (C25). .

装置内通信部107は、制御フレームを解釈し、「コマンド種別」フィールドと「コマンド制御」フィールドからその制御フレームがファームウェアファイルの取得要求に応答するものであることを認識することができる。
このため、装置内通信部107は、その制御フレームの「データ部」フィールドからファームウェアファイルを取り出し、ファームウェアファイル保管部101に出力する(C26)とともに、そのバージョンデータをファームウェアバージョンデータ保管部105に出力する(C27)。
The in-device communication unit 107 can interpret the control frame and recognize from the “command type” field and the “command control” field that the control frame responds to the firmware file acquisition request.
For this reason, the in-device communication unit 107 extracts the firmware file from the “data part” field of the control frame, outputs the firmware file to the firmware file storage unit 101 (C26), and outputs the version data to the firmware version data storage unit 105. (C27).

ファームウェアファイル保管部101は、入力したファームウェアファイルを保管して最新のファームウェアに更新する(C28)。
また、ファームウェアバージョンデータ保管部105は、入力したバージョンデータを保管して更新し(C29)、その結果をファームウェア処理部104に通知する(C30)。
The firmware file storage unit 101 stores the input firmware file and updates it to the latest firmware (C28).
The firmware version data storage unit 105 stores and updates the input version data (C29), and notifies the firmware processing unit 104 of the result (C30).

ファームウェアファイルのバージョンが更新された旨(すなわち、ファームウェアファイルが更新された旨)の通知を受けたファームウェア処理部104は、次に、装置内通信部107に対し、ファームウェアファイル転送の命令を出力する(C31)。
これを受け、装置内通信部107は、ファームウェアファイル保管部101にアクセスし(C32)、ファームウェアファイル保管部101によって保管され、先に更新された主信号パッケージ12のファームウェアファイルを取得する(C33)。
Receiving the notification that the version of the firmware file has been updated (that is, that the firmware file has been updated), the firmware processing unit 104 then outputs a firmware file transfer command to the in-device communication unit 107. (C31).
In response, the in-device communication unit 107 accesses the firmware file storage unit 101 (C32), and acquires the firmware file of the main signal package 12 stored by the firmware file storage unit 101 and updated earlier (C33). .

次に、装置内通信部107は、取得したファームウェアファイルを、主信号パッケージ12の装置内通信部108に出力する(C34)。
装置内通信部108は、装置内通信部107から入力したファームウェアファイルをパッケージ処理部110に転送し(C35)、パッケージ処理部110はこれをファームウェアファイル保管部109に出力する(C36)。
続いて、ファームウェアファイル保管部109は、装置内通信部107から入力したファームウェアファイルを保管する(C37)。これにより、主信号パッケージ12のファームウェアファイルは更新される。
Next, the in-device communication unit 107 outputs the acquired firmware file to the in-device communication unit 108 of the main signal package 12 (C34).
The in-device communication unit 108 transfers the firmware file input from the in-device communication unit 107 to the package processing unit 110 (C35), and the package processing unit 110 outputs this to the firmware file storage unit 109 (C36).
Subsequently, the firmware file storage unit 109 stores the firmware file input from the in-device communication unit 107 (C37). As a result, the firmware file of the main signal package 12 is updated.

なお、このファームウェアファイルの更新後、ファームウェアファイル保管部109は、その結果をパッケージ処理部110に通知し(C38)、パッケージ処理部110は、これを装置内通信部108に転送する(C39)。
そして、装置内通信部108が、その通知を装置管理パッケージ11の装置内通信部107に転送し(C40)、さらに、ファームウェア処理部104に転送される(C41)。
以上により、伝送装置10の主信号パッケージ12に対し、伝送装置20から取得したファームウェアファイルによる更新が完了する。
After updating the firmware file, the firmware file storage unit 109 notifies the result to the package processing unit 110 (C38), and the package processing unit 110 transfers this to the in-device communication unit 108 (C39).
Then, the in-device communication unit 108 transfers the notification to the in-device communication unit 107 of the device management package 11 (C40), and further forwards to the firmware processing unit 104 (C41).
Thus, the update of the main signal package 12 of the transmission apparatus 10 with the firmware file acquired from the transmission apparatus 20 is completed.

次に、ファームウェアバージョン比較部106によるファームウェアのバージョン比較が行われた結果、主信号パッケージ12のファームウェアのバージョンと最新ファームウェアのバージョンとが一致せず、また、最新ファームウェアのバージョンと伝送装置10のファームウェアのバージョンとが一致せず、さらに、最新ファームウェアのバージョンと他の伝送装置のファームウェアのバージョンとが一致しない場合(図5のS8参照)のファームウェアの更新手順について図12を参照しながら説明する。
つまり、ここでは、オペレーションシステム1(ファームウェア管理装置F)からファームウェアファイルを取得して更新する場合の手順について説明する。
Next, as a result of the firmware version comparison performed by the firmware version comparison unit 106, the firmware version of the main signal package 12 does not match the latest firmware version, and the latest firmware version and the firmware of the transmission apparatus 10 The firmware update procedure in the case where the latest firmware version does not match the firmware version of another transmission device (see S8 in FIG. 5) will be described with reference to FIG.
That is, here, a procedure for obtaining and updating a firmware file from the operation system 1 (firmware management apparatus F) will be described.

上述の比較結果を受けたファームウェア処理部104は、図12に示すように、まず、装置外通信部103に対し、「ファームウェアファイル取得」の命令を出力する(D1)。
これを受け、装置外通信部103は、アドレスデータ保管部102にアクセスし(D2)、アドレスデータ保管部102に保管されているファームウェア管理装置Fのアドレスデータを取得する(D3)。
Upon receiving the comparison result, the firmware processing unit 104 first outputs a “firmware file acquisition” command to the external communication unit 103 as shown in FIG. 12 (D1).
In response to this, the external device communication unit 103 accesses the address data storage unit 102 (D2), and acquires the address data of the firmware management device F stored in the address data storage unit 102 (D3).

続いて、装置外通信部103は、制御フレームとしてファイル取得に係る要求フレームcf1を生成し(D4)、オペレーションシステム接続網n1を介してファームウェア管理装置Fに出力する(D5)。
具体的には、「宛先アドレス」フィールドにファームウェア管理装置Fのアドレスデータ、「自アドレス」フィールドに伝送装置10のアドレスデータ、「コマンド種別」フィールドにファームウェアファイル取得」を示すデータ、「コマンド制御」フィールドに「コマンド要求」を示すデータ、「データ部」フィールドにファームウェアバージョンデータを格納した要求フレームcf1を生成して出力する。
なお、この要求フレームcf1は、オペレーションシステム接続網n1を介しオペレーションシステム1のファームウェア管理装置Fに入力される。
Subsequently, the external device communication unit 103 generates a request frame cf1 related to file acquisition as a control frame (D4), and outputs it to the firmware management device F via the operation system connection network n1 (D5).
Specifically, the address data of the firmware management apparatus F is stored in the “destination address” field, the address data of the transmission apparatus 10 is stored in the “own address” field, the firmware file acquisition is acquired in the “command type” field, and “command control”. A request frame cf1 in which data indicating “command request” in the field and firmware version data in the “data portion” field is generated and output.
The request frame cf1 is input to the firmware management apparatus F of the operation system 1 via the operation system connection network n1.

ファームウェア管理装置Fは、入力した制御フレームを解釈し、ファイル取得要求に応答する制御フレームとして応答フレームcf2を生成する(D6)。
具体的には、「宛先アドレス」フィールドに伝送装置10のアドレスデータ、「自アドレス」フィールドにファームウェア管理装置Fのアドレスデータ、「コマンド種別」フィールドにファームウェアファイル取得」を示すデータ、「コマンド制御」フィールドに「コマンド要求」を示すデータ、「データ部」フィールドにファームウェアバージョンデータを格納した応答フレームを生成する。
そして、ファームウェア管理装置Fは生成した制御フレームを伝送装置10に送信する(D7)。
The firmware management apparatus F interprets the input control frame and generates a response frame cf2 as a control frame in response to the file acquisition request (D6).
Specifically, the address data of the transmission apparatus 10 is stored in the “destination address” field, the address data of the firmware management apparatus F is stored in the “own address” field, the firmware file acquisition is displayed in the “command type” field, and “command control”. A response frame is generated in which data indicating “command request” is stored in the field and firmware version data is stored in the “data portion” field.
Then, the firmware management apparatus F transmits the generated control frame to the transmission apparatus 10 (D7).

伝送装置10の装置外通信部103は、ファームウェア管理装置Fから受信した制御フレームを解釈し、「コマンド種別」フィールドと「コマンド制御」フィールドからその制御フレームがファームウェアファイルの取得要求に対する応答であることを認識することができる。
このため、装置外通信部103は、その制御フレームの「データ部」フィールドからファームウェアファイルを取り出し、ファームウェアファイル保管部101に出力する(D8)とともに、そのバージョンデータをファームウェアバージョンデータ保管部105に出力する(D9)。
The external device communication unit 103 of the transmission apparatus 10 interprets the control frame received from the firmware management apparatus F, and the control frame is a response to the firmware file acquisition request from the “command type” field and the “command control” field. Can be recognized.
Therefore, the external device communication unit 103 extracts the firmware file from the “data part” field of the control frame, outputs the firmware file to the firmware file storage unit 101 (D8), and outputs the version data to the firmware version data storage unit 105. (D9).

ファームウェアファイル保管部101は、入力したファームウェアファイルを保管してファームウェアを更新する(D10)。
また、ファームウェアバージョンデータ保管部105は、入力したバージョンデータを保管して更新し(D11)、その結果をファームウェア処理部104に通知する(D12)。
The firmware file storage unit 101 stores the input firmware file and updates the firmware (D10).
The firmware version data storage unit 105 stores and updates the input version data (D11), and notifies the firmware processing unit 104 of the result (D12).

ファームウェアファイルのバージョンが更新された旨(すなわち、ファームウェアファイルが更新された旨)の通知を受けたファームウェア処理部104は、装置内通信部107に対し、「ファームウェアファイル転送」の命令を出力する(D13)。
これを受け、装置内通信部107は、ファームウェアファイル保管部101にアクセスし(D14)、ファームウェアファイル保管部101によって保管され、先に更新された主信号パッケージ12のファームウェアファイルを取得する(D15)。
Upon receiving the notification that the version of the firmware file has been updated (that is, that the firmware file has been updated), the firmware processing unit 104 outputs a “firmware file transfer” command to the in-device communication unit 107 ( D13).
In response to this, the in-device communication unit 107 accesses the firmware file storage unit 101 (D14), and acquires the firmware file of the main signal package 12 stored by the firmware file storage unit 101 and updated earlier (D15). .

次に、装置内通信部107は、取得したファームウェアファイルを、主信号パッケージ12の装置内通信部108に出力する(D16)。
装置内通信部108は、装置内通信部107から入力したファームウェアファイルをパッケージ処理部110に出力し(D17)、パッケージ処理部110は、これをファームウェアファイル保管部109に出力する(D18)。
続いて、ファームウェアファイル保管部109は、装置内通信部107から入力したファームウェアファイルを保管する(D19)。これにより、主信号パッケージ12のファームウェアファイルは更新される。
Next, the in-device communication unit 107 outputs the acquired firmware file to the in-device communication unit 108 of the main signal package 12 (D16).
The in-device communication unit 108 outputs the firmware file input from the in-device communication unit 107 to the package processing unit 110 (D17), and the package processing unit 110 outputs this to the firmware file storage unit 109 (D18).
Subsequently, the firmware file storage unit 109 stores the firmware file input from the in-device communication unit 107 (D19). As a result, the firmware file of the main signal package 12 is updated.

なお、このファームウェアファイルの更新後、ファームウェアファイル保管部109は、その結果をパッケージ処理部110に通知し(D20)、パッケージ処理部110は、これを装置内通信部108に転送する(D21)。
そして、装置内通信部108が、その通知を装置管理パッケージ11の装置内通信部107に転送し(D22)、さらに、ファームウェア処理部104に転送される(D23)。
以上により、伝送装置10の主信号パッケージ12に対し、オペレーションシステム1のファームウェア管理装置Fから取得したファームウェアファイルによる更新が完了する。
After updating the firmware file, the firmware file storage unit 109 notifies the package processing unit 110 of the result (D20), and the package processing unit 110 transfers this to the in-device communication unit 108 (D21).
Then, the in-device communication unit 108 transfers the notification to the in-device communication unit 107 of the device management package 11 (D22), and further forwards to the firmware processing unit 104 (D23).
Thus, the update of the main signal package 12 of the transmission apparatus 10 with the firmware file acquired from the firmware management apparatus F of the operation system 1 is completed.

ここで、本実施形態においては、他の伝送装置又はファームウェア管理装置Fからファームウェアファイルを取得してファームウェアファイルの更新を行った場合、その更新に係るファームウェアのバージョンデータを近隣の伝送装置(具体的には、ファームウェアファイルの取得先となった伝送装置を除く他のすべての伝送装置)に配布して通知する処理を行う。
これは、各伝送装置が実際に保管するファームウェアのバージョンと、他の伝送装置が認識するそのファームウェアのバージョンとを一致させておく必要があるからである。つまり、ファームウェア更新を行うバージョンの比較を正確に実行するためである。
そこで、このファイル取得後のバージョンデータ配布方法について、図13を参照しながら詳細に説明する。
なお、説明の便宜上、伝送装置10の主信号パッケージ12は、他の伝送装置20〜50のうち伝送装置50から取得したファームウェアファイルによって更新されたものとする。
したがって、伝送装置10において更新されたファームウェアファイルのバージョンデータは伝送装置20〜40に配布されるが、ここでは、伝送装置20に配布する例について説明する。
Here, in this embodiment, when the firmware file is updated by acquiring the firmware file from another transmission apparatus or the firmware management apparatus F, the version data of the firmware related to the update is transmitted to the neighboring transmission apparatus (specifically, Are distributed and notified to all other transmission devices except the transmission device from which the firmware file was acquired.
This is because the firmware version actually stored by each transmission apparatus needs to match the firmware version recognized by the other transmission apparatus. In other words, this is for accurately executing a comparison of versions for firmware update.
The version data distribution method after file acquisition will be described in detail with reference to FIG.
For convenience of explanation, it is assumed that the main signal package 12 of the transmission apparatus 10 is updated by a firmware file acquired from the transmission apparatus 50 among the other transmission apparatuses 20 to 50.
Therefore, the version data of the firmware file updated in the transmission device 10 is distributed to the transmission devices 20 to 40. Here, an example of distribution to the transmission device 20 will be described.

図13は、本実施形態に係るファームウェアのバージョンデータ配布手順を示したフローチャートである。
同図に示すように、ファームウェアバージョンデータ保管部105からファイル更新の結果通知を受けたファームウェア処理部104は、装置内通信部107に対し「ファームウェアバージョンデータ配布」の命令を出力する(E1)。
FIG. 13 is a flowchart showing a firmware version data distribution procedure according to this embodiment.
As shown in the figure, the firmware processing unit 104 that has received the file update result notification from the firmware version data storage unit 105 outputs a “firmware version data distribution” command to the in-device communication unit 107 (E1).

これを受け、装置内通信部107は、アドレスデータ保管部102にアクセスし(E2)、アドレスデータ保管部102によって保管されている伝送装置(少なくとも伝送装置20)のアドレスデータを取得する(E3)。
続いて、装置内通信部107は、ファームウェアバージョンデータ保管部105にアクセスし(E4)、ファームウェアバージョンデータ保管部105によって保管され、先に更新された主信号パッケージ12のファームウェアファイルのバージョンデータを取得する(E5)。
In response, the in-device communication unit 107 accesses the address data storage unit 102 (E2), and acquires the address data of the transmission device (at least the transmission device 20) stored by the address data storage unit 102 (E3). .
Subsequently, the in-device communication unit 107 accesses the firmware version data storage unit 105 (E4), and acquires the version data of the firmware file of the main signal package 12 stored by the firmware version data storage unit 105 and updated earlier. (E5).

次に、装置内通信部107は、バージョン配布に係る制御フレームとして通知フレームcf3を生成し(E6)、主信号パッケージ13の装置内通信部112に出力する(E7)。
具体的には、「宛先アドレス」フィールドに他装置(伝送装置20)のアドレスデータ、「自アドレス」フィールドに自装置(伝送装置10)のアドレスデータ、「コマンド種別」フィールドに「ファームウェアバージョンデータ配布」を示すデータ、「コマンド制御」フィールドに「コマンド要求」を示すデータ、「データ部」フィールドに配布するファームウェアバージョンデータを格納した通知フレームcf3を生成して出力する。
Next, the in-device communication unit 107 generates a notification frame cf3 as a control frame related to version distribution (E6) and outputs it to the in-device communication unit 112 of the main signal package 13 (E7).
Specifically, the address data of the other device (transmission device 20) is displayed in the “destination address” field, the address data of the own device (transmission device 10) is displayed in the “own address” field, and “firmware version data distribution” is displayed in the “command type” field. ”, A data indicating“ command request ”in the“ command control ”field, and firmware version data to be distributed in the“ data part ”field are generated and output.

装置内通信部112は、入力された制御フレームをパッケージ処理部113に出力し(E8)、パッケージ処理部113がこれを主信号処理部115に転送する(E9)。
主信号処理部115は、入力した制御フレームを、主信号の付加情報領域を用いて多重化し、伝送装置20に出力する(E10)。
The in-device communication unit 112 outputs the input control frame to the package processing unit 113 (E8), and the package processing unit 113 transfers this to the main signal processing unit 115 (E9).
The main signal processing unit 115 multiplexes the input control frame using the additional information area of the main signal, and outputs it to the transmission apparatus 20 (E10).

伝送装置20の主信号パッケージ22の主信号処理部211は、伝送装置10から入力した主信号の付加情報領域から制御フレームを分離し、分離された制御フレームはパッケージ処理部210に出力する(E11)。
そして、パッケージ処理部210は、この制御フレームを装置内通信部208に転送し(E12)、装置内通信部208は、制御フレームを装置管理パッケージ21の装置内通信部207に送信する(E13)。
装置内通信部207は、制御フレームを解釈し、「コマンド種別」フィールドと「コマンド制御」フィールドから、その制御フレームが、ファームウェアバージョンデータ配布を要求するものであることを認識することができる。
The main signal processing unit 211 of the main signal package 22 of the transmission device 20 separates the control frame from the additional information area of the main signal input from the transmission device 10, and outputs the separated control frame to the package processing unit 210 (E11). ).
Then, the package processing unit 210 transfers this control frame to the in-device communication unit 208 (E12), and the in-device communication unit 208 transmits the control frame to the in-device communication unit 207 of the device management package 21 (E13). .
The in-device communication unit 207 can interpret the control frame and recognize from the “command type” field and the “command control” field that the control frame requests firmware version data distribution.

このため、装置内通信部207は、その制御フレームの「データ部」フィールドからファームウェアバージョンデータを取り出し、ファームウェアバージョンデータ保管部205に出力する(E14)。
そして、ファームウェアバージョンデータ保管部205は、入力したファームウェアバージョンデータを保管する(E15)。これにより、伝送装置20のファームウェアバージョンデータ保管部205によって管理されている伝送装置10の主信号パッケージ12のファームウェアファイルのバージョンは更新される。
Therefore, the in-device communication unit 207 retrieves the firmware version data from the “data part” field of the control frame and outputs it to the firmware version data storage unit 205 (E14).
Then, the firmware version data storage unit 205 stores the input firmware version data (E15). Thereby, the version of the firmware file of the main signal package 12 of the transmission apparatus 10 managed by the firmware version data storage unit 205 of the transmission apparatus 20 is updated.

なお、装置内通信部207は、アドレスデータ保管部202にアクセスし(E16)、自装置のアドレスを抽出する(E17)。
そして、装置内通信部207は、バージョン配布の応答に係る制御フレームとして応答フレームcf4を生成し(E18)、装置内通信部208に出力する(E19)。
具体的には、「宛先アドレス」フィールドに自装置(伝送装置10)のアドレスデータ、「自アドレス」フィールドに伝送装置50のアドレスデータ、「コマンド種別」フィールドに「ファームウェアバージョンデータ配布」を示すデータ、「コマンド制御」フィールドに「コマンド応答」を示すデータを格納した応答フレームcf4を生成して出力する。
The in-device communication unit 207 accesses the address data storage unit 202 (E16) and extracts the address of the own device (E17).
Then, the in-device communication unit 207 generates a response frame cf4 as a control frame related to the version distribution response (E18), and outputs it to the in-device communication unit 208 (E19).
Specifically, the address data of the own device (transmission device 10) in the “destination address” field, the address data of the transmission device 50 in the “own address” field, and the data indicating “firmware version data distribution” in the “command type” field. Then, a response frame cf4 in which data indicating “command response” is stored in the “command control” field is generated and output.

装置内通信部208は、入力した制御フレームをパッケージ処理部210に転送し(E20)、パッケージ処理部210がこれを主信号処理部211に出力する(E21)。
主信号処理部211は、入力した制御フレームを、主信号の付加情報領域を用いて多重化し、伝送装置10に出力する(E22)。
The in-device communication unit 208 transfers the input control frame to the package processing unit 210 (E20), and the package processing unit 210 outputs this to the main signal processing unit 211 (E21).
The main signal processing unit 211 multiplexes the input control frame using the additional information area of the main signal and outputs it to the transmission apparatus 10 (E22).

伝送装置10の主信号パッケージ13の主信号処理部115は、伝送装置20から入力した主信号の付加情報領域から制御フレームを分離し、分離された制御フレームはパッケージ処理部113に出力する(E23)。
パッケージ処理部113は、この制御フレームを装置内通信部112に転送し(E24)、装置内通信部112は、制御フレームを装置管理パッケージ11の装置内通信部107に出力する(E25)。
そして、装置内通信部107は、入力した制御フレームをファームウェア処理部104に転送する(E26)。
The main signal processing unit 115 of the main signal package 13 of the transmission device 10 separates the control frame from the additional information area of the main signal input from the transmission device 20, and outputs the separated control frame to the package processing unit 113 (E23). ).
The package processing unit 113 transfers this control frame to the in-device communication unit 112 (E24), and the in-device communication unit 112 outputs the control frame to the in-device communication unit 107 of the device management package 11 (E25).
Then, the in-device communication unit 107 transfers the input control frame to the firmware processing unit 104 (E26).

以上説明したように、本実施形態のファームウェア版数管理システムによれば、そのシステムを構成する各伝送装置がファームウェアバージョン比較部を備え、対象となる主信号パッケージのファームウェアのバージョンが新規なものかどうかを判断する。
バージョンデータ比較部は、対象となる主信号パッケージに当初から組み込まれているファームウェアのバージョンと、自装置、他装置又はオペレーションシステムが有するファームウェアのバージョンとを所定の方法で比較する。
As described above, according to the firmware version management system of this embodiment, whether each transmission device constituting the system includes a firmware version comparison unit and whether the firmware version of the target main signal package is new. Judge whether.
The version data comparison unit compares the firmware version incorporated in the target main signal package from the beginning with the firmware version of the own device, another device, or the operation system by a predetermined method.

そして、その結果、対象のファームウェアのバージョンが最新のものでない場合には、自装置が有するファームウェアのマスターファイルを利用するか、他の伝送装置が有するファイルを利用するか、オペレーションシステムが有するファイルを利用するか、を判断し、その判断に応じたファイルの転送制御や取得制御を行うようにしている。
具体的には、ファームウェアファイルを取得先の優先度を、自装置→他装置→オペレーションシステムと設定することにより、オペレーションシステムに極力負荷が集中ないようにしつつ、ファイルを短時間で取得することができる。
As a result, if the target firmware version is not the latest, use the master file of the firmware that the device itself has, use the file that the other transmission device has, or use the file that the operation system has. Whether to use the file is determined, and file transfer control and acquisition control are performed according to the determination.
Specifically, by setting the priority of the acquisition destination of the firmware file as own device → other device → operation system, it is possible to acquire the file in a short time while minimizing the load on the operation system. it can.

また、他装置からファームウェアファイルを取得する場合に用いられる制御フレームやファームウェアファイルの送受信については、主信号伝送路を利用して通信することができる。
このため、オペレーションシステムのみならず、オペレーションシステム接続網n1に対する負荷も抑えることができる。
Further, transmission / reception of control frames and firmware files used when acquiring firmware files from other devices can be performed using the main signal transmission path.
For this reason, not only the operation system but also the load on the operation system connection network n1 can be suppressed.

なお、ファームウェアファイルの取得先の優先度は、変更することが可能である。
このため、例えば、係る優先度を、自装置→オペレーションシステム→他装置とすることにより、主信号伝送路に対する負荷を抑えることもできる。
Note that the priority of the firmware file acquisition destination can be changed.
For this reason, for example, the load on the main signal transmission line can be suppressed by setting the priority to the own device → the operation system → the other device.

また、本発明によれば、最新のファームウェアファイルを各伝送装置がマスターファイルとして保有する必然性から解放されるため、オペレーションシステムと各伝送装置間の通信量を大幅に削減して負荷を抑えるだけでなく、各伝送装置におけるハードウェア資源の有効活用や負荷低減に貢献することができる。   In addition, according to the present invention, since the latest firmware file is released from the necessity of having each transmission device as a master file, the amount of communication between the operation system and each transmission device can be greatly reduced to reduce the load. Therefore, it is possible to contribute to effective use of hardware resources and load reduction in each transmission apparatus.

以上、本発明のプログラム版数管理システムについて、好ましい実施形態を示して説明したが、本発明にかかるプログラム版数管理システムは、上述した実施形態にのみ限定されるものではなく、本発明の範囲で種々の変更実施が可能であることは言うまでもない。
例えば、ファームウェアファイルや制御フレームを他装置との間で送受する場合に、主信号伝送路を経由する態様について説明したが、このような主信号伝送路を使用せず、専用の伝送路を設けて通信処理を行うようにしてもよい。
The program version number management system of the present invention has been described with reference to the preferred embodiment. However, the program version number management system according to the present invention is not limited to the above-described embodiment, and the scope of the present invention. Needless to say, various modifications can be made.
For example, when a firmware file or a control frame is transmitted / received to / from another device, the mode via the main signal transmission path has been described. However, such a main signal transmission path is not used and a dedicated transmission path is provided. Communication processing may be performed.

また、伝送装置に限らず通信処理機能を備えた一般的な通信装置や当該通信装置によって形成されるネットワーク等に応用することができる。
また、ファームウェアに限らず、バージョン管理が必要で、各装置又はこれに付属する装置の一部又は全部を機能させるために必要な他のプログラムを本発明の対象とすることもできる。
Further, the present invention can be applied not only to a transmission apparatus but also to a general communication apparatus having a communication processing function, a network formed by the communication apparatus, and the like.
In addition to firmware, version management is necessary, and other programs necessary for causing each device or a part or all of the devices attached thereto to function can be the subject of the present invention.

本発明は、バージョン管理が必要なプログラムを有する複数の装置からなるシステムに好適に利用することができる。   The present invention can be suitably used for a system including a plurality of devices having programs that require version management.

1 オペレーションシステム
n1 オペレーションシステム接続網
n2 主信号伝送路
F ファームウェア管理装置
10,20 伝送装置
11 装置管理パッケージ(管理モジュール)
12 主信号パッケージ(処理モジュール)
101 ファームウェアファイル保管部(プログラム保管部)
102 アドレスデータ保管部(アドレス保管部)
103 装置外通信部
104 ファームウェア処理部(制御処理部)
105 ファームウェアバージョンデータ保管部(バージョン保管部)
106 ファームウェアバージョン比較部(バージョン比較部)
107,108 装置内通信部
109 ファームウェアファイル保管部(原プログラム保管部)
110 パッケージ処理部(実処理部)
111 主信号処理部
DESCRIPTION OF SYMBOLS 1 Operation system n1 Operation system connection network n2 Main signal transmission path F Firmware management apparatus 10,20 Transmission apparatus 11 Apparatus management package (management module)
12 Main signal package (processing module)
101 Firmware file storage (program storage)
102 Address data storage (address storage)
103 External communication unit 104 Firmware processing unit (control processing unit)
105 Firmware version data storage (version storage)
106 Firmware version comparison unit (version comparison unit)
107, 108 In-device communication unit 109 Firmware file storage unit (original program storage unit)
110 Package processing unit (actual processing unit)
111 Main signal processor

Claims (20)

所定のネットワークを形成する一又は二以上の伝送装置と、各伝送装置と通信可能に接続された管理装置とからなり、
各伝送装置は、
当該伝送装置に搭載されるモジュールを機能させるために当該モジュールに予め組み込まれている元のプログラムとその版数が同一又は異なるプログラムを保管するプログラム保管部と、
前記プログラム保管部が保管する前記プログラムに係る第一の版数、他の伝送装置が保管する前記プログラムに係る第二の版数及び前記管理装置が保管する前記プログラムに係る第三の版数を保管するバージョン保管部と、
前記元のプログラムに係る原版数を前記第一乃至第三の版数のいずれか一以上と比較するバージョン比較部と、
前記比較の結果にもとづき、当該伝送装置、前記他の伝送装置又は前記管理装置のうち、最も新しい版数のプログラムを有する装置から取得したプログラムを前記モジュールに組み込むことによってその元のプログラムを更新する制御処理部とを備える
ことを特徴とするプログラム版数管理システム。
One or two or more transmission devices forming a predetermined network, and a management device communicably connected to each transmission device,
Each transmission device
A program storage unit for storing a program whose version number is the same as or different from the original program preinstalled in the module in order to make the module mounted on the transmission device function;
A first version number related to the program stored by the program storage unit; a second version number related to the program stored by another transmission apparatus; and a third version number related to the program stored by the management apparatus. A version storage section to store;
A version comparison unit that compares the original version number of the original program with one or more of the first to third version numbers;
Based on the result of the comparison, the original program is updated by incorporating the program acquired from the transmission device, the other transmission device, or the management device having the latest version of the program into the module. A program version management system comprising a control processing unit.
前記制御処理部は、
前記比較の結果、少なくとも当該伝送装置に係る前記プログラム保管部に保管されているプログラムが最も新しいと判断された場合には、そのプログラムを前記モジュールに転送して組み込むことによって元のプログラムを更新する請求項1記載のプログラム版数管理システム。
The control processing unit
As a result of the comparison, if it is determined that at least the program stored in the program storage unit of the transmission apparatus is the newest, the original program is updated by transferring the program to the module and incorporating it. The program version management system according to claim 1.
前記制御処理部は、
前記比較の結果、前記他の伝送装置又は前記管理装置に保管されているプログラムが最も新しいと判断された場合には、そのプログラムを取得して前記プログラム保管部に保管し、そのプログラムを前記モジュールに転送して組み込むことによって元のプログラムを更新する請求項1又は2記載のプログラム版数管理システム。
The control processing unit
As a result of the comparison, when it is determined that the program stored in the other transmission device or the management device is the newest, the program is acquired and stored in the program storage unit, and the program is stored in the module. 3. The program version management system according to claim 1 or 2, wherein the original program is updated by being transferred to and incorporated in the program.
前記制御処理部は、
前記比較の結果に応じ前記他の伝送装置又は前記管理装置から前記プログラムを取得して前記プログラム保管部に保管した場合には、そのプログラムの版数を前記バージョン保管部に保管することによりそのプログラムに係る前記第一の版数を更新する請求項3記載のプログラム版数管理システム。
The control processing unit
When the program is acquired from the other transmission device or the management device according to the comparison result and stored in the program storage unit, the program version number is stored in the version storage unit. The program version management system according to claim 3, wherein the first version is updated.
前記バージョン比較部は、
前記原版数と前記第三の版数とを照合する第一の比較を行い、前記原版数と前記第三の版数とが一致しない場合に前記第三の版数と前記第一の版数とを照合する第二の比較を行い、前記第三の版数と前記第一の版数とが一致しない場合に、前記第三の版数と前記第二の版数とを照合する第三の比較を行い、
前記制御処理部は、
前記第一の比較の結果、前記原版数と前記第三の版数とが一致した場合には前記元のプログラムの更新は行わず、前記第二の比較の結果、前記前記第三の版数と前記第一の版数とが一致した場合に当該伝送装置のプログラム保管部が保管するプログラムを取得して対応するモジュールに組み込み、前記第三の比較の結果、前記第三の版数と前記第二の版数とが一致した場合に前記他の伝送装置が保管するプログラムを取得して対応するモジュールに組み込み、前記第三の版数と前記第二の版数とが一致しない場合に前記第三の装置が保管するプログラムを取得して対応するモジュールに組み込む請求項1乃至4のいずれか一項記載のプログラム版数管理システム。
The version comparison unit
A first comparison for comparing the original plate number and the third plate number is performed, and when the original plate number and the third plate number do not match, the third plate number and the first plate number A third comparison that compares the third edition number with the second edition number when the third edition number and the first edition number do not match. Comparison of
The control processing unit
As a result of the first comparison, when the original version number and the third version number coincide with each other, the original program is not updated, and as a result of the second comparison, the third version number And when the first version number matches, the program stored by the program storage unit of the transmission device is acquired and incorporated in the corresponding module, and as a result of the third comparison, the third version number and the first version number When the second version number matches, the program stored in the other transmission device is acquired and incorporated in the corresponding module, and when the third version number and the second version number do not match, The program version number management system according to any one of claims 1 to 4, wherein a program stored in the third device is acquired and incorporated in a corresponding module.
前記制御処理部は、
前記比較の結果に応じて前記他の伝送装置又は前記管理装置から前記プログラムを取得した場合に、当該他の伝送装置を除く前記所定のネットワーク内の伝送装置に対し、その取得したプログラムの版数と前記自己のアドレスとを通知する請求項1乃至5のいずれか一項記載のプログラム版数管理システム。
The control processing unit
When the program is acquired from the other transmission device or the management device according to the comparison result, the version number of the acquired program for the transmission device in the predetermined network excluding the other transmission device 6. The program version number management system according to claim 1, wherein the program version number management system is notified of the address and the self address.
前記制御処理部は、
他の伝送装置から通知されたプログラムの版数を、当該プログラムとともに通知を受けたアドレスに対応付けて前記バージョン保管部に保管させる請求項6記載のプログラム版数管理システム。
The control processing unit
7. The program version management system according to claim 6, wherein the version number of the program notified from another transmission apparatus is stored in the version storage unit in association with the address notified with the program.
前記各伝送装置は、一の管理モジュールと一又は二以上の処理モジュールとからなり、
前記管理モジュールは、
前記プログラム保管部と、前記バージョン保管部と、前記バージョン比較部と、前記制御処理部とを備え、
前記制御処理部は、
前記比較の結果にもとづき、当該伝送装置のプログラム保管部、前記他の伝送装置又は前記管理装置のうち、最も新しい版数のプログラムを有するものから取得したプログラムを前記処理モジュールに転送し、
前記処理モジュールは、
前記元のプログラムを予め保管する原プログラム保管部と、
前記管理モジュールから転送されたプログラムを前記原プログラム保管部に保管させることによってそのプログラムを当該管理モジュールに組み込ませる実処理部とを備える
ことを特徴とする請求項1乃至7のいずれか一項記載のプログラム版数管理システム。
Each transmission device comprises one management module and one or more processing modules,
The management module is
The program storage unit, the version storage unit, the version comparison unit, and the control processing unit,
The control processing unit
Based on the result of the comparison, the program obtained from the program storage unit of the transmission device, the other transmission device or the management device having the latest version of the program is transferred to the processing module,
The processing module is
An original program storage unit for storing the original program in advance;
8. An actual processing unit that causes the program transferred from the management module to be stored in the original program storage unit, and that causes the program to be incorporated into the management module. 9. Program version management system.
各伝送装置は、
少なくとも前記他の伝送装置のアドレスを当該他の伝送装置が保管するプログラムの識別情報に対応付けて保管するアドレス保管部を備え、
前記制御処理部は、
前記第三の比較の結果、前記第三の版数と前記第二の版数とが一致した場合に、その比較の対象であるプログラムの識別情報及び所定のプログラム要求情報を内容とする制御フレームを、発信元を当該伝送装置のアドレス、宛先を前記プログラムを保管する他の伝送装置のアドレスとして送信する請求項5乃至8のいずれか一項記載のプログラム版数管理システム。
Each transmission device
An address storage unit that stores at least the address of the other transmission device in association with identification information of a program stored in the other transmission device;
The control processing unit
As a result of the third comparison, when the third version number and the second version number coincide with each other, a control frame containing the identification information of the program to be compared and predetermined program request information 9. The program version management system according to claim 5, wherein the source is an address of the transmission device and the destination is an address of another transmission device that stores the program.
前記アドレス保管部は、少なくとも前記管理装置のアドレスを当該管理装置が保管するプログラムの識別情報に対応付けて保管し、
前記制御処理部は、
前記第三の比較の結果、前記第三の版数と前記第二の版数とが一致しない場合に、その比較の対象であるプログラムの識別情報及び所定のプログラム要求情報を内容とする制御フレームを、発信元を当該伝送装置のアドレス、宛先を前記管理装置のアドレスとして送信する請求項5乃至9のいずれか一項記載のプログラム版数管理システム。
The address storage unit stores at least the address of the management device in association with identification information of a program stored in the management device,
The control processing unit
As a result of the third comparison, if the third version number and the second version number do not match, the control frame contains the identification information of the program to be compared and predetermined program request information. 10. The program version management system according to claim 5, wherein the source is an address of the transmission device and the destination is an address of the management device.
前記制御処理部は、
受信した制御フレームの宛先が当該伝送装置のアドレスであり、当該制御フレームに前記プログラム要求情報が含まれる場合に、その制御フレームに含まれる前記識別情報に対応するプログラム及び所定のプログラム要求応答情報を内容とする制御フレームを、発信元を前記自己のアドレス、宛先を当該制御フレームの発信元のアドレスとして送信する請求項9又は10に記載のプログラム版数管理システム。
The control processing unit
When the destination of the received control frame is the address of the transmission device and the program request information is included in the control frame, a program corresponding to the identification information included in the control frame and predetermined program request response information are The program version number management system according to claim 9 or 10, wherein the control frame as content is transmitted with the source as the address of the self and the destination as the address of the source of the control frame.
前記制御処理部は、
受信した制御フレームの宛先が当該伝送装置のアドレスであり、当該制御フレームに前記プログラム要求応答情報が含まれている場合に、その制御フレームに含まれるプログラムを前記プログラム保管部に保管させるとともに、当該プログラムを対応する処理モジュールの前記原プログラム保管部に保管させる請求項11記載のプログラム版数管理システム。
The control processing unit
When the destination of the received control frame is the address of the transmission apparatus and the control frame includes the program request response information, the program included in the control frame is stored in the program storage unit, and 12. The program version management system according to claim 11, wherein the program is stored in the original program storage unit of the corresponding processing module.
前記制御処理部は、
前記管理装置又は前記他の伝送装置から受信した制御フレームに含まれるプログラムが前記プログラム保管部によって保管された場合には、少なくともそのプログラムの版数及び所定のバージョン配布情報を内容とする制御フレームを、発信元を前記自己のアドレス、宛先を前記アドレス保管部に保管されているアドレスの中から前記他の伝送装置を除いた伝送装置のアドレスとして送信する請求項9乃至12のいずれか一項記載のプログラム版数管理システム。
The control processing unit
When a program included in a control frame received from the management apparatus or the other transmission apparatus is stored by the program storage unit, a control frame containing at least the version number of the program and predetermined version distribution information is included. The transmission source is transmitted as the address of the own device, and the destination is transmitted as the address of the transmission device excluding the other transmission device from the addresses stored in the address storage unit. Program version management system.
前記制御処理部は、
受信した制御フレームに前記バージョン配布情報が含まれ、その制御フレームの発信元が当該伝送装置のアドレスである場合に、その制御フレーム含まれるプログラムの版数をその発信元のアドレスに対応付けて前記バージョン保管部に保管する請求項13に記載のプログラム版数管理システム。
The control processing unit
When the received version of the control frame includes the version distribution information and the source of the control frame is the address of the transmission device, the version number of the program included in the control frame is associated with the address of the source. 14. The program version management system according to claim 13, which is stored in a version storage unit.
一又は二以上の伝送装置と接続されるとともに、所定の管理装置と通信可能に接続され、
当該伝送装置に搭載されるモジュールを機能させるために当該モジュールに予め組み込まれている元のプログラムとその版数が同一又は異なるプログラムを保管するプログラム保管部と、
前記プログラム保管部が保管する前記プログラムに係る第一の版数と、他の伝送装置が保管する前記プログラムに係る第二の版数と、前記管理装置が保管する前記プログラムに係る第三の版数とを保管するバージョン保管部と、
前記元のプログラムに係る原版数を前記第一乃至第三の版数のいずれか一以上と比較するバージョン比較部と、
前記比較の結果にもとづき、当該伝送装置、前記他の伝送装置又は前記管理装置のうち、最も新しい版数のプログラムを有する装置から取得したプログラムを前記モジュールに組み込むことによって前記元のプログラムを更新する制御処理部とを備える
ことを特徴とする伝送装置。
It is connected to one or more transmission devices, and is connected to be able to communicate with a predetermined management device,
A program storage unit for storing a program whose version number is the same as or different from the original program preinstalled in the module in order to make the module mounted on the transmission device function;
A first version number related to the program stored by the program storage unit; a second version number related to the program stored by another transmission apparatus; and a third version related to the program stored by the management apparatus. A version storage unit for storing numbers;
A version comparison unit that compares the original version number of the original program with one or more of the first to third version numbers;
Based on the result of the comparison, the original program is updated by incorporating in the module a program acquired from the transmission device, the other transmission device, or the management device having the latest version of the program. A transmission apparatus comprising: a control processing unit.
前記制御処理部は、
前記比較の結果に応じ前記他の伝送装置又は前記管理装置から前記プログラムを取得した場合には、そのプログラムを前記プログラム保管部に保管させるとともに、当該プログラムを前記モジュールに組み込むことにより前記元のプログラムを更新する請求項15記載の伝送装置。
The control processing unit
When the program is acquired from the other transmission device or the management device according to the comparison result, the program is stored in the program storage unit, and the original program is incorporated into the module. 16. The transmission apparatus according to claim 15, wherein the transmission apparatus is updated.
一の装置に搭載されるモジュールを機能させるために当該モジュールに予め組み込まれている元のプログラムとその版数が同一又は異なるプログラムを保管するステップと、
前記保管した前記プログラムに係る第一の版数と、前記一の装置とは異なる他の装置が保管した前記プログラムに係る第二の版数と、前記管理装置が保管した前記プログラムに係る第三の版数とを保管するステップと、
前記元のプログラムに係る原版数を前記第一乃至第三の版数のいずれか一以上と比較するステップと、
前記比較の結果にもとづき、前記一の装置、前記他の装置又は前記管理装置のうち、最も新しい版数のプログラムを有する装置から取得したプログラムを前記モジュールに組み込むことによって前記元のプログラムを更新するステップとを有する
ことを特徴とするプログラム版数の管理方法。
Storing a program whose version number is the same as or different from the original program pre-installed in the module in order to make the module mounted in one apparatus function;
The first version number related to the stored program, the second version number related to the program stored by another device different from the one device, and the third version related to the program stored by the management device. Storing the version number of
Comparing the original version number of the original program with any one or more of the first to third version numbers;
Based on the result of the comparison, the original program is updated by incorporating into the module a program acquired from the device having the latest version of the one device, the other device, or the management device. And a program version management method.
前記比較の結果に応じ前記他の装置又は前記管理装置から前記プログラムを取得した場合には、そのプログラムを前記一の装置に保管させるとともに、当該プログラムを前記モジュールに組み込むことにより前記元のプログラムを更新するステップを有する請求項17記載のプログラム版数の管理方法。   If the program is acquired from the other device or the management device according to the comparison result, the program is stored in the one device, and the original program is installed by incorporating the program into the module. 18. The program version management method according to claim 17, further comprising a step of updating. 所定のネットワークを形成するとともに、所定の管理装置と通信可能に接続された伝送装置のコンピュータを、
当該伝送装置に搭載されるモジュールを機能させるために当該モジュールに予め組み込まれている元のプログラムとその版数が同一又は異なるプログラムを保管するプログラム保管手段、
前記プログラム保管手段によって保管される前記プログラムに係る第一の版数と、他の伝送装置が保管する前記プログラムに係る第二の版数と、前記管理装置が保管する前記プログラムに係る第三の版数とを保管するバージョン保管手段、
前記元のプログラムに係る原版数を前記第一乃至第三の版数のいずれか一以上と比較するバージョン比較手段、及び、
前記比較の結果にもとづき、当該伝送装置、前記他の伝送装置又は前記管理装置のうち、最も新しい版数のプログラムを有する装置から取得したプログラムを前記モジュールに組み込むことによって前記元のプログラムを更新する制御処理部手段として機能させる
ことを特徴とするプログラム版数の管理プログラム。
While forming a predetermined network, a computer of a transmission device connected to be able to communicate with a predetermined management device,
A program storage means for storing a program whose version number is the same as or different from the original program pre-installed in the module in order to make the module mounted on the transmission device function;
A first version number related to the program stored by the program storage means; a second version number related to the program stored by another transmission apparatus; and a third version related to the program stored by the management apparatus. Version storage means for storing the version number,
Version comparison means for comparing the original version number of the original program with any one or more of the first to third version numbers; and
Based on the result of the comparison, the original program is updated by incorporating in the module a program acquired from the transmission device, the other transmission device, or the management device having the latest version of the program. A program version management program which functions as a control processing means.
前記制御処理手段を、
前記比較の結果に応じ前記他の伝送装置又は前記管理装置から前記プログラムを取得した場合には、そのプログラムを前記プログラム保管手段に保管させるとともに、当該プログラムを前記モジュールに組み込むことにより前記元のプログラムを更新する手段として機能させるための請求項19記載のプログラム版数の管理プログラム。
The control processing means;
When the program is acquired from the other transmission device or the management device according to the comparison result, the program is stored in the program storage unit, and the original program is incorporated into the module. 20. The program version management program according to claim 19, wherein said program version number management program is made to function as a means for updating the program.
JP2009228212A 2009-09-30 2009-09-30 System for managing program version number, transmission method, method for managing program version number and management program Pending JP2011076442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009228212A JP2011076442A (en) 2009-09-30 2009-09-30 System for managing program version number, transmission method, method for managing program version number and management program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009228212A JP2011076442A (en) 2009-09-30 2009-09-30 System for managing program version number, transmission method, method for managing program version number and management program

Publications (1)

Publication Number Publication Date
JP2011076442A true JP2011076442A (en) 2011-04-14

Family

ID=44020347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009228212A Pending JP2011076442A (en) 2009-09-30 2009-09-30 System for managing program version number, transmission method, method for managing program version number and management program

Country Status (1)

Country Link
JP (1) JP2011076442A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662699A (en) * 2012-03-27 2012-09-12 惠州Tcl移动通信有限公司 Method for updating NFC (Near Field Communication) firmware of mobile terminal and mobile terminal
WO2020111243A1 (en) * 2018-11-29 2020-06-04 本田技研工業株式会社 Battery utilization system, storage device, battery utilization method, program, and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662699A (en) * 2012-03-27 2012-09-12 惠州Tcl移动通信有限公司 Method for updating NFC (Near Field Communication) firmware of mobile terminal and mobile terminal
WO2020111243A1 (en) * 2018-11-29 2020-06-04 本田技研工業株式会社 Battery utilization system, storage device, battery utilization method, program, and storage medium
JPWO2020111243A1 (en) * 2018-11-29 2021-09-27 本田技研工業株式会社 Battery utilization systems, storage devices, battery utilization methods, programs, and storage media
EP3885178A4 (en) * 2018-11-29 2022-01-26 Honda Motor Co., Ltd. Battery utilization system, storage device, battery utilization method, program, and storage medium

Similar Documents

Publication Publication Date Title
US10649761B2 (en) Application upgrade method and apparatus
US8499294B2 (en) Persisting the changes for managed components in an application server
JP5682996B2 (en) Client program, terminal, server device, server program, system and method
CN108876619B (en) Processing method, device, equipment and medium based on block chain intelligent contract
JP5476834B2 (en) Information processing apparatus, workflow system, workflow management method, program, and recording medium
CN109684335B (en) Key value pair-based data structure implementation method, device, equipment and storage medium
CN110162334B (en) Code management method, device and storage medium
CN111427701A (en) Workflow engine system and business processing method
CN100583043C (en) System and method for providing shared web modules
CN112612449A (en) Method, device, equipment and storage medium for synchronizing webpage
US20210216301A1 (en) Algorithm update method and apparatus
CN111399860B (en) Light application deployment method, light application deployment device, computer equipment and storage medium
CN111464646A (en) Information processing method, information processing apparatus, electronic device, and medium
US20210049001A1 (en) Application execution device, application execution method, and recording medium
JP2011076442A (en) System for managing program version number, transmission method, method for managing program version number and management program
CN111338717B (en) Interface calling method, application program upgrading method, server and client
JP2019160105A (en) Interface conversion program, interface conversion method, and information processing device
US11706156B2 (en) Method and system for changing resource state, terminal, and storage medium
CN112835606B (en) Gray release method and device, electronic equipment and medium
CN111447279B (en) Server and interface analysis service package generation method
CN115993979A (en) Configuration conversion method, smooth upgrading method, device, equipment and storage medium
CN113448609A (en) Container upgrading method, device, equipment and storage medium
JP2002288145A (en) Information communication system and its event processing method and recording medium with event processing program recorded thereon in information communication system
CN101630334A (en) Data-updating method in distributed system
CN107040580B (en) The method of management server system, upgrade-system and upgrade-system