JP7087876B2 - Communication device and setting method of communication device - Google Patents
Communication device and setting method of communication device Download PDFInfo
- Publication number
- JP7087876B2 JP7087876B2 JP2018177929A JP2018177929A JP7087876B2 JP 7087876 B2 JP7087876 B2 JP 7087876B2 JP 2018177929 A JP2018177929 A JP 2018177929A JP 2018177929 A JP2018177929 A JP 2018177929A JP 7087876 B2 JP7087876 B2 JP 7087876B2
- Authority
- JP
- Japan
- Prior art keywords
- setting information
- type
- program
- program module
- update
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Description
本発明は、通信装置及び通信装置の設定方法に関する。 The present invention relates to a communication device and a method for setting a communication device.
特許文献1には、ネットワーク装置の構成情報として、現在稼動している構成情報(running-config)と、再起動時に有効となる構成情報(startup-config)とを記憶するネットワーク装置が開示されている。 Patent Document 1 discloses a network device that stores configuration information (running-config) currently in operation and configuration information (startup-config) that is valid at restart as configuration information of the network device. There is.
通信装置の制御プログラムを更新する場合、通信装置は、自装置を再起動して更新後の制御プログラム全体を一過性メモリであるRAMに展開し、設定情報(特許文献1におけるstartup-config)をCPUが読み出して更新後の制御プログラム全体の構成を設定する。通信装置の再起動が行われる間、通信装置の機能は停止する。しかし、高い信頼性を要求される通信装置では、制御プログラムを更新する間も通信装置の機能を停止させないことが求められる。 When updating the control program of the communication device, the communication device restarts its own device, expands the entire updated control program into RAM, which is a transient memory, and sets information (startup-config in Patent Document 1). Is read by the CPU to set the configuration of the entire control program after the update. While the communication device is restarted, the function of the communication device is stopped. However, in a communication device that requires high reliability, it is required that the function of the communication device is not stopped even while the control program is updated.
本開示は、以下の発明を含む。但し、本発明は、特許請求の範囲によって定められるものである。 The present disclosure includes the following inventions. However, the present invention is defined by the scope of claims.
本発明の一態様に係る通信装置は、通信のための制御プログラムに含まれる第1の種類のプログラムモジュールと第2の種類のプログラムモジュールとが起動処理中に参照する設定情報である起動設定情報を記憶する非一過性メモリと、前記第1の種類のプログラムモジュールと前記第2の種類のプログラムモジュールとが稼働中に参照する設定情報である稼働設定情報を記憶する一過性メモリと、プロセッサと、を備え、前記プロセッサは、自装置を稼働させたまま前記制御プログラムを更新する場合に、前記稼働設定情報の一部又は全部を前記起動設定情報に複写する処理と、前記稼働設定情報に基づいて、更新された前記第1の種類のプログラムモジュールを設定する処理と、前記稼働設定情報の一部又は全部が複写された前記起動設定情報に基づいて、更新された前記第2の種類のプログラムモジュールを設定する処理と、を実行する。 The communication device according to one aspect of the present invention is start setting information which is setting information referred to by the first type program module and the second type program module included in the control program for communication during the start process. A non-transient memory that stores the operation setting information, which is setting information that the first type program module and the second type program module refer to during operation, and a transient memory that stores the operation setting information. A processor is provided, and the processor copies a part or all of the operation setting information to the activation setting information when updating the control program while the own device is operating, and the operation setting information. Based on the process of setting the updated program module of the first type and the start setting information in which a part or all of the operation setting information is copied, the second type is updated. Executes the process of setting the program module of.
本発明の一態様に係る通信装置の設定方法は、通信のための制御プログラムに含まれる第1の種類のプログラムモジュールと第2の種類のプログラムモジュールとが起動処理中に参照する設定情報である起動設定情報を記憶する非一過性メモリと、前記第1の種類のプログラムモジュールと前記第2の種類のプログラムモジュールとが稼働中に参照する設定情報である稼働設定情報を記憶する一過性メモリと、プロセッサと、を備える通信装置の設定方法であって、前記通信装置を稼働させたまま前記制御プログラムを更新する場合に、前記プロセッサが、前記稼働設定情報の一部又は全部を前記起動設定情報に複写し、前記プロセッサが、前記稼働設定情報に基づいて、更新された前記第1の種類のプログラムモジュールを設定し、前記プロセッサが、前記稼働設定情報の一部又は全部が複写された前記起動設定情報に基づいて、更新された前記第2の種類のプログラムモジュールを設定する。 The setting method of the communication device according to one aspect of the present invention is setting information referred to by the first type program module and the second type program module included in the control program for communication during the startup process. A non-transient memory that stores startup setting information, and a transient memory that stores operation setting information that is setting information that the first type of program module and the second type of program module refer to during operation. A method of setting a communication device including a memory and a processor. When the control program is updated while the communication device is running, the processor activates a part or all of the operation setting information. Copied to the setting information, the processor set the updated program module of the first type based on the operation setting information, and the processor copied a part or all of the operation setting information. Based on the activation setting information, the updated program module of the second type is set.
本発明は、上記のような特徴的な処理部を備える通信装置として実現することができるだけでなく、かかる特徴的な処理をステップとする通信装置の設定方法として実現したり、かかるステップをコンピュータに実行させるためのコンピュータプログラムとして実現したりすることができる。また、通信装置の一部又は全部を半導体集積回路として実現したり、通信装置を含む通信システムとして実現したりすることができる。 The present invention can be realized not only as a communication device provided with a characteristic processing unit as described above, but also as a setting method of a communication device having such a characteristic process as a step, or to perform such a step on a computer. It can be realized as a computer program for execution. Further, a part or all of the communication device can be realized as a semiconductor integrated circuit, or can be realized as a communication system including the communication device.
本発明によれば、装置の機能を停止させずに制御プログラムの更新を行うことができる。 According to the present invention, the control program can be updated without stopping the function of the device.
<本発明の実施形態の概要>
以下、本発明の実施形態の概要を列記して説明する。
(1) 本実施形態に係る通信装置は、通信のための制御プログラムに含まれる第1の種類のプログラムモジュールと第2の種類のプログラムモジュールとが起動処理中に参照する設定情報である起動設定情報を記憶する非一過性メモリと、前記第1の種類のプログラムモジュールと前記第2の種類のプログラムモジュールとが稼働中に参照する設定情報である稼働設定情報を記憶する一過性メモリと、プロセッサと、を備え、前記プロセッサは、自装置を稼働させたまま前記制御プログラムを更新する場合に、前記稼働設定情報の一部又は全部を前記起動設定情報に複写する処理と、前記稼働設定情報に基づいて、更新された前記第1の種類のプログラムモジュールを設定する処理と、前記稼働設定情報の一部又は全部が複写された前記起動設定情報に基づいて、更新された前記第2の種類のプログラムモジュールを設定する処理と、を実行する。これにより、制御プログラムが更新される場合に、通信装置を停止させることなく、第1の種類のプログラムモジュール及び第2の種類のプログラムモジュールのそれぞれを設定することができる。また、起動設定情報に稼働設定情報の一部又は全部が複写されるため、第1の種類及び第2の種類のそれぞれのプログラムモジュールに用いられる設定情報において不整合の発生を抑制することができる。なお、ここでいう「プログラムモジュール」とは、実行可能形式の部分的プログラムであり、オブジェクトモジュールである。また、「プログラム」とは、互いに連結された複数のプログラムモジュールの集合体であり、オブジェクトプログラムである。
<Outline of Embodiment of the present invention>
Hereinafter, the outlines of the embodiments of the present invention will be described in a list.
(1) The communication device according to the present embodiment is a start setting which is setting information referred to by the first type program module and the second type program module included in the control program for communication during the start process. A non-transient memory that stores information, and a transient memory that stores operation setting information that is setting information that the first type program module and the second type program module refer to during operation. , And the processor, when updating the control program while the own device is operating, a process of copying a part or all of the operation setting information to the activation setting information, and the operation setting. The second type of update based on the process of setting the updated program module of the first type based on the information and the start setting information in which a part or all of the operation setting information is copied. Executes the process of setting the type of program module. Thereby, when the control program is updated, each of the first type program module and the second type program module can be set without stopping the communication device. Further, since a part or all of the operation setting information is copied to the start setting information, it is possible to suppress the occurrence of inconsistency in the setting information used for each of the first type and the second type program modules. .. The "program module" here is an executable partial program and is an object module. Further, a "program" is a collection of a plurality of program modules connected to each other, and is an object program.
(2) また、本実施形態に係る通信装置において、前記プロセッサは、前記第1の種類のプログラムモジュールを更新する場合、更新前の前記第1の種類のプログラムモジュールを停止する前に、更新後の前記第1の種類のプログラムモジュールを起動する処理と、前記稼働設定情報に基づいて、前記更新後の第1の種類のプログラムモジュールを設定する処理と、前記更新前の第1の種類のプログラムモジュールを停止する処理と、を実行し、前記プロセッサは、前記第2の種類のプログラムモジュールを更新する場合、更新前の前記第2の種類のプログラムモジュールを停止する処理と、前記更新前の第2の種類のプログラムモジュールを停止した後に、更新後の前記第2の種類のプログラムモジュールを起動する処理と、前記稼働設定情報の一部又は全部が複写された前記起動設定情報に基づいて、前記更新後の第2の種類のプログラムモジュールを設定する処理と、を実行してもよい。これにより、第1の種類のプログラムモジュールは停止することなく更新される。このため、装置の機能を停止させずに制御プログラムの更新を行うことができる。 (2) Further, in the communication device according to the present embodiment, when the processor updates the program module of the first type, before stopping the program module of the first type before the update, after the update. The process of starting the first type of program module, the process of setting the first type of program module after the update based on the operation setting information, and the process of setting the first type of program before the update. When the processor updates the second type of program module by executing the process of stopping the module, the process of stopping the second type of program module before the update and the process of stopping the second type of program module before the update are executed. The above is based on the process of starting the updated second type of program module after stopping the two types of program modules and the start setting information in which a part or all of the operation setting information is copied. The process of setting the second type of program module after the update may be executed. As a result, the first type of program module is updated without stopping. Therefore, the control program can be updated without stopping the function of the device.
(3) また、本実施形態に係る通信装置において、前記第1の種類のプログラムモジュールは、前記一過性メモリに記憶された設定情報により設定されることが可能なプログラムモジュールであり、前記第2の種類のプログラムモジュールは、前記非一過性メモリに記憶された設定情報により設定されるプログラムモジュールであってもよい。これにより、第1の種類の更新モジュールを、一過性メモリに記憶された稼働設定情報に基づき設定することができ、第2の種類の更新モジュールを、非一過性メモリに記憶された起動設定情報に基づき設定することができる。 (3) Further, in the communication device according to the present embodiment, the first type of program module is a program module that can be set by the setting information stored in the transient memory, and is the first type. The two types of program modules may be program modules set by the setting information stored in the non-transient memory. As a result, the first type of update module can be set based on the operation setting information stored in the transient memory, and the second type of update module can be started up stored in the non-transient memory. It can be set based on the setting information.
(4) また、本実施形態に係る通信装置において、前記第1の種類のプログラムモジュールは、通信の制御を実行するプログラムモジュールであり、前記第2の種類のプログラムモジュールは、通信の制御以外の処理を実行するプログラムモジュールであってもよい。これにより、通信の制御を停止させることなく、制御プログラムを更新することができる。 (4) Further, in the communication device according to the present embodiment, the first type of program module is a program module that executes communication control, and the second type of program module is other than communication control. It may be a program module that executes processing. As a result, the control program can be updated without stopping the control of communication.
(5) また、本実施形態に係る通信装置において、前記複写する処理は、前記稼働設定情報のうち前記起動設定情報とは異なる情報を、前記起動設定情報に複写する処理であってもよい。これにより、稼働設定情報の全てを一括して起動設定情報に複写しなくても、稼働設定情報と起動設定情報とを整合させることができる。 (5) Further, in the communication device according to the present embodiment, the copying process may be a process of copying the operation setting information different from the activation setting information to the activation setting information. As a result, the operation setting information and the activation setting information can be matched without copying all the operation setting information to the activation setting information at once.
(6) また、本実施形態に係る通信装置において、前記プロセッサは、所定の更新条件が成立した場合に、前記複写する処理を実行してもよい。これにより、更新条件の成立により、制御プログラムの更新を開始することができる。 (6) Further, in the communication device according to the present embodiment, the processor may execute the copying process when a predetermined update condition is satisfied. As a result, the update of the control program can be started when the update condition is satisfied.
(7) また、本実施形態に係る通信装置において、前記更新条件は、前記稼働設定情報と前記起動設定情報との差分が所定量以上となること、前記稼働設定情報が変更されること、制御プログラムの更新指示が与えられること、予め決められた更新時刻に到達すること、及び、前記稼働設定情報に含まれる複数の分類に属する情報のうち特定の分類に属する情報が変更されること、の少なくとも1つであってもよい。これにより、様々な条件を更新条件に設定することができる。 (7) Further, in the communication device according to the present embodiment, the update condition is that the difference between the operation setting information and the activation setting information is a predetermined amount or more, the operation setting information is changed, and control. A program update instruction is given, a predetermined update time is reached, and information belonging to a specific category among the information belonging to a plurality of categories included in the operation setting information is changed. There may be at least one. This makes it possible to set various conditions as update conditions.
(8) また、本実施形態に係る通信装置において、前記プロセッサは、前記制御プログラムが更新される間に異常を検出した場合、稼働中の前記プログラムモジュールの全てを停止した後、更新前の前記プログラムモジュールのそれぞれを起動し、起動された前記更新前のプログラムモジュールを前記起動設定情報に基づいて設定する処理を実行してもよい。これにより、通信装置に異常が発生した場合、更新前の制御プログラムに戻すことで、異常から復帰することができる。 (8) Further, in the communication device according to the present embodiment, when the processor detects an abnormality while the control program is updated, after stopping all of the operating program modules, the processor before the update is described. You may start each of the program modules and execute the process of setting the started program module before the update based on the start setting information. As a result, when an abnormality occurs in the communication device, it is possible to recover from the abnormality by returning to the control program before the update.
(9) また、本実施形態に係る通信装置において、前記異常は、通信エラーを含んでもよい。制御プログラムの更新が適切に行われなかった場合、正常な通信が行われず、通信エラーが発生する可能性がある。上記構成とすることにより、通信エラーが生じた場合に、更新前の制御プログラムに戻すことで、通信エラーを解消できる可能性がある。 (9) Further, in the communication device according to the present embodiment, the abnormality may include a communication error. If the control program is not updated properly, normal communication may not be performed and a communication error may occur. With the above configuration, if a communication error occurs, it may be possible to eliminate the communication error by returning to the control program before the update.
(10) 本実施形態に係る通信装置の設定方法は、通信のための制御プログラムに含まれる第1の種類のプログラムモジュールと第2の種類のプログラムモジュールとが起動処理中に参照する設定情報である起動設定情報を記憶する非一過性メモリと、前記第1の種類のプログラムモジュールと前記第2の種類のプログラムモジュールとが稼働中に参照する設定情報である稼働設定情報を記憶する一過性メモリと、プロセッサと、を備える通信装置の設定方法であって、前記通信装置を稼働させたまま前記制御プログラムを更新する場合に、前記プロセッサが、前記稼働設定情報の一部又は全部を前記起動設定情報に複写し、前記プロセッサが、前記稼働設定情報に基づいて、更新された前記第1の種類のプログラムモジュールを設定し、前記プロセッサが、前記稼働設定情報の一部又は全部が複写された前記起動設定情報に基づいて、更新された前記第2の種類のプログラムモジュールを設定する。これにより、制御プログラムが更新される場合に、通信装置を停止させることなく、第1の種類のプログラムモジュール及び第2の種類のプログラムモジュールのそれぞれを設定することができる。また、起動設定情報に稼働設定情報の一部又は全部が複写されるため、第1の種類及び第2の種類のそれぞれのプログラムモジュールに用いられる設定情報において不整合の発生を抑制することができる。 (10) The setting method of the communication device according to the present embodiment is the setting information referred to by the first type program module and the second type program module included in the control program for communication during the startup process. A non-transient memory that stores certain startup setting information, and a temporary memory that stores operation setting information that is setting information that the first type of program module and the second type of program module refer to during operation. A method of setting a communication device including a sex memory and a processor, in which the processor updates a part or all of the operation setting information while the communication device is running. Copying to the startup setting information, the processor sets the updated program module of the first type based on the operation setting information, and the processor copies a part or all of the operation setting information. Based on the activation setting information, the updated second type program module is set. Thereby, when the control program is updated, each of the first type program module and the second type program module can be set without stopping the communication device. Further, since a part or all of the operation setting information is copied to the start setting information, it is possible to suppress the occurrence of inconsistency in the setting information used for each of the first type and the second type program modules. ..
<本発明の実施形態の詳細>
以下、図面を参照しつつ、本発明の実施形態の詳細を説明する。なお、以下に記載する実施形態の少なくとも一部を任意に組み合わせてもよい。
<Details of the Embodiment of the present invention>
Hereinafter, the details of the embodiment of the present invention will be described with reference to the drawings. In addition, at least a part of the embodiments described below may be arbitrarily combined.
以下の実施形態では、通信装置を、光通信用の局側装置とした例について説明する。しかし、通信装置は光通信装置に限定されない。本実施形態に係る通信装置は、無線通信装置、有線通信装置等、光通信装置以外の通信装置であってもよい。 In the following embodiment, an example in which the communication device is a station-side device for optical communication will be described. However, the communication device is not limited to the optical communication device. The communication device according to the present embodiment may be a communication device other than the optical communication device, such as a wireless communication device and a wired communication device.
[1.通信システムの構成]
図1は、本実施形態に係る通信システムの全体構成の一例を示す図である。図1に示すように、通信システム10は、光アクセスシステムであり、局側装置(OLT: Optical Network Unit)11と、複数の宅側装置(ONU: Optical Line Terminal)12と、PON回線13とを備える。
[1. Communication system configuration]
FIG. 1 is a diagram showing an example of the overall configuration of the communication system according to the present embodiment. As shown in FIG. 1, the
OLT11のL2スイッチ23(図2参照)には、インターネット等の上位ネットワーク50が接続される。
An
ONU12のUNIポート(図示せず)には、イーサネット(登録商標)通信が可能なユーザ通信装置を接続可能である。ONU12に接続されるユーザ通信装置の数及び種類は特に限定されない。例えば、ユーザ通信装置はパーソナルコンピュータ等の端末であっても、ルータ又はゲートウェイ等の中継装置であってもよい。つまり、ONU12には、中継装置を介してネットワークが接続されてもよい。
A user communication device capable of Ethernet (registered trademark) communication can be connected to the UNI port (not shown) of the
PON回線13は、光スプリッタ14と光ファイバ15,16とを備える光通信回線である。PON回線13は、1つの幹線光ファイバ15と複数の支線光ファイバ16とを含む。光スプリッタ14には、各光ファイバ15,16が接続される。OLT11から送信された光信号は、PON回線13の幹線光ファイバ15を通って光スプリッタ14によって分岐される。分岐した光信号は、支線光ファイバ16を通って各ONU12に伝送される。
The
各ONU12から送信された光信号は、それぞれ支線光ファイバ16を通って光スプリッタ14によって集束される。集束された光信号は、幹線光ファイバ15を通ってOLT11に伝送される。PON回線13に用いられる光スプリッタ14は、外部からの電源供給を必要とせず、入力された光信号から受動的に光信号を分岐又は多重する。
The optical signal transmitted from each
OLT11とONU12との接続確立後は、ユーザ通信装置がONU12及びOLT11を介して上位ネットワーク50へアクセスすることが可能となる。支線光ファイバ16に伝送される上り方向の光信号は、光スプリッタ14において合流する。従って、同じ波長の光信号が合流後に衝突しないための多重化が必要である。通信システム10では、MPCPに則った時分割多重化が行われる。具体的には、OLT11は、各ONU12から送信された制御フレーム(レポート)に基づいて、ONU12の内部に蓄積されたデータの上り方向の送信開始時刻及び送信許可量を演算する。
After the connection between the
次に、OLT11は、指示信号を挿入した制御フレーム(グラント)を、PON回線13を介してそれぞれのONU12に送信する。各ONU12は、グラントにより指定された時刻に、自己のバッファ内のデータの長さをレポートでOLT11に通知する。各ONU12は、指示信号が挿入されたグラントをOLT11から受信する。その指示信号に基づいて、各ONU12は、自己のバッファ内のデータをレポートとともにOLT11に送信する。
Next, the
[2.OLTの内部構成]
図2は、OLT11の内部構成の一例を示すブロック図である。
図2に示すように、OLT11は、光トランシーバ21と、PON処理部22と、L2スイッチ23と、制御部24と、通信インタフェース26とを備える。
[2. Internal configuration of OLT]
FIG. 2 is a block diagram showing an example of the internal configuration of the
As shown in FIG. 2, the
光トランシーバ21は、光信号を送受信する回路を含む光デバイス(例えば、プラガブル光トランシーバ)よりなる。光トランシーバ21は、幹線光ファイバ15(図1参照)に光学的に接続され、PON処理部22に電気的に接続される。
光トランシーバ21は、光信号と電気信号を相互に変換する。すなわち、光トランシーバ21は、ONU12からの光信号よりなる上り信号を電気信号に変換する。光トランシーバ21は、PON処理部22のからの電気信号よりなる下り信号を光信号に変換する。
The
The
PON処理部22は、PONの通信規格に則った所定の通信処理などを実行する集積回路よりなる。
PON処理部22は、上り信号がONU12からの制御フレーム(レポート)である場合、当該ONU12についての上り方向の送信開始時刻及び送信許可量を決定し、制御フレーム(グラント)を当該ONU12に通知する。
The PON processing unit 22 includes an integrated circuit that executes predetermined communication processing or the like in accordance with the PON communication standard.
When the uplink signal is a control frame (report) from the
PON処理部22は、上り信号に含まれるフレームが上位ネットワーク50へのデータフレームである場合、そのフレームをL2スイッチ23に送信する。
PON処理部22は、下り信号に含まれるフレームがONU12へのデータフレームである場合、そのフレームを光トランシーバ21に送信させる。
When the frame included in the uplink signal is a data frame to the
When the frame included in the downlink signal is a data frame to the
L2スイッチ23は、受信したL2レイヤのフレームの宛先に応じて送信ポートを決定する集積回路よりなる。
L2スイッチ23は、上位ネットワーク50からの下り信号に含まれるフレームがONU12宛てである場合、そのフレームを自装置のPON処理部22に送信する。
The
When the frame included in the downlink signal from the
L2スイッチ23は、PON処理部22からの上り信号に含まれるフレームが上位ネットワーク50へのデータフレームである場合、そのフレームを上位ネットワーク50に送信する。
L2スイッチ23は、PON処理部22からの上り信号に含まれるフレームが制御部24宛ての管理フレームである場合、そのフレームを制御部24に送信する。
When the frame included in the uplink signal from the PON processing unit 22 is a data frame to the
When the frame included in the uplink signal from the PON processing unit 22 is a management frame addressed to the
制御部24は、L2スイッチ23の専用ポートに接続されており、PON回線13を用いてONU12の制御部と通信することができる。制御部24は、パーソナルコンピュータ(PC)等よりなる外部装置25と通信可能に接続される。
The
制御部24は、ハードウェアプロセッサであるCPU241と、フラッシュメモリ、ハードディスク等の非一過性メモリ242と、RAMである一過性メモリ243とを備える。
The
非一過性メモリ242には、制御プログラム300が記憶(インストール)される。制御プログラム300は、L2スイッチ23を制御することで、OLT11による通信を制御するためのプログラムである。制御プログラム300は、N個のプログラムモジュール(第1モジュール300_1、第2モジュール300_2、第3モジュール300_3、…、第Nモジュール300_N)を有する。
The
非一過性メモリ242には、起動設定情報350が記憶される。起動設定情報350は、制御プログラム300の起動処理において読み出され、制御プログラム300の設定に用いられる設定情報である。
The
CPU241は、制御プログラム300を実行する。制御プログラム300の起動時には、第1モジュール300_1、第2モジュール300_2、第3モジュール300_3、…、第Nモジュール300_Nが非一過性メモリ242から読み出され、一過性メモリ243に展開される。つまり、制御プログラム300は、一過性メモリ243にロードされ、展開された制御プログラム400として一過性メモリ243に記憶される。制御プログラム400には、N個のプログラムモジュール(第1モジュール400_1、第2モジュール400_2、第3モジュール400_3、…、第Nモジュール400_N)が含まれる。
The
一過性メモリ243には、稼働設定情報450が記憶される。稼働設定情報450は、稼働中の制御プログラム400において読み出され、制御プログラム400の設定に用いられる設定情報である。
The
非一過性メモリ242には、制御プログラムの更新及び各プログラムモジュールの設定を行うための更新設定プログラム370が記憶される。OLT11は、コンピュータを備えて構成され、OLT11の制御プログラムの更新及び各プログラムモジュールの設定機能は、前記コンピュータの記憶装置に記憶されたコンピュータプログラムである更新設定プログラム370がCPU241によって実行されることで発揮される。更新設定プログラム370は、CD-ROMなどの記録媒体に記憶させることができる。CPU241は、更新設定プログラム370を実行することができる。CPU241が更新設定プログラム370を実行することにより、OLT11は後述するようなプログラム更新処理及び異常監視処理を実行することができる。
The
[3.制御プログラムの更新]
本実施形態に係るOLT11における制御プログラムの更新について説明する。
[3. Control program update]
The update of the control program in
図3は、制御プログラム400の起動直後における非一過性メモリ242及び一過性メモリ243の構成の一例を示す模式図である。図3の例では、第1モジュール400_1用のパラメータP1の初期値がSV1であり、第2モジュール400_2用のパラメータP2の初期値がSV2であり、第3モジュール400_3用のパラメータP3の初期値がSV3である。起動設定情報350には、P1=SV1,P2=SV2,P3=SV3,…が格納される。第1モジュール400_1,第2モジュール400_2,第3モジュール400_3,…の起動処理において、CPU241は起動設定情報350を読み出し、P1=SV1,P2=SV2,P3=SV3,…に設定する。各モジュール400_1、400_2、400_3、…の設定が行われた後、起動設定情報350が稼働設定情報450に複写される。このため、制御プログラム400の起動直後における稼働設定情報450は、起動設定情報350と一致する。
FIG. 3 is a schematic diagram showing an example of the configuration of the
図4は、稼働中の制御プログラム400の設定情報が変更される場合の非一過性メモリ242及び一過性メモリ243の構成の一例を示す模式図である。制御プログラム400が実行されOLT11が稼働している間、制御プログラム400における設定情報が変更されることがある。稼働中の制御プログラム400が設定情報を取得する場合、非一過性メモリ242内の起動設定情報350ではなく、一過性メモリ243内の稼働設定情報450を参照する。このため、稼働中の制御プログラム400の新たな設定情報は、起動設定情報350ではなく、稼働設定情報450に書き込まれる。
FIG. 4 is a schematic diagram showing an example of the configuration of the
図4の例では、パラメータP1の値SV1は変更されず、パラメータP2の値はSV2からSV20へ変更され、パラメータP3の値はSV3からSV30へ変更されている。このため、稼働設定情報450においては、P1=SV1,P2=SV20,P3=SV30となる。他方、起動設定情報350においては、P1=SV1,P2=SV2,P3=SV3である。このように、稼働設定情報450と起動設定情報350とは互いに異なる。
In the example of FIG. 4, the value SV1 of the parameter P1 is not changed, the value of the parameter P2 is changed from SV2 to SV20, and the value of the parameter P3 is changed from SV3 to SV30. Therefore, in the
本実施形態に係るOLT11は、自装置を再起動させることなく制御プログラムを更新する無停止更新処理を実行することができる。また、OLT11は、自装置を再起動させて制御プログラムを更新する通常更新処理も実行することができる。制御プログラムを更新する場合、更新前の制御プログラム(以下、「更新前プログラム」という)400が稼働している間に、例えば、外部装置25又は上位ネットワーク50のサーバから、新たな制御プログラム(以下、「更新プログラム」という)がOLT11に送信される。
The
図5は、OLT11に更新プログラムが与えられた直後における非一過性メモリ242及び一過性メモリ243の構成の一例を示す模式図である。OLT11は、更新前プログラム300を残したまま、更新プログラム330を非一過性メモリ242にインストールする。これにより、非一過性メモリ242には、更新前プログラム300と、更新プログラム330とが併存する。
FIG. 5 is a schematic diagram showing an example of the configuration of the
図6は、稼働設定情報450が起動設定情報350に複写されない場合の非一過性メモリ242及び一過性メモリ243の構成の一例を示す模式図である。
FIG. 6 is a schematic diagram showing an example of the configuration of the
本実施の形態においては、更新プログラム430に含まれるプログラムモジュールには2種類が存在する。第1の種類のプログラムモジュールは、一過性メモリ243に記憶された設定情報により設定することが可能なプログラムモジュールである。本実施形態では、第1の種類のプログラムモジュールの設定情報が、稼働設定情報450から一過性メモリ243の稼働設定情報450とは異なる領域に構成引継情報として複写され、その領域のアドレスが当該モジュールに通知される。CPU241は、通知されたアドレスから設定情報を読み出して、第1の種類のプログラムモジュールを設定する。
In the present embodiment, there are two types of program modules included in the
更新前プログラム400における第1の種類のプログラムモジュールが起動した状態で、更新プログラム430における第1の種類のプログラムモジュールは起動する。つまり、更新前プログラム400における第1の種類のプログラムモジュールが一過性メモリ243に展開された状態で、更新プログラム430における第1の種類のプログラムモジュールも一過性メモリ243に展開される。
The first type of program module in the
更新プログラム430における第1の種類のプログラムモジュールが構成引継情報によって設定されている間、更新前プログラム400における第1の種類のプログラムモジュールも実行され続ける。図6の例では、第1の種類のプログラムモジュールは、第1モジュール及び第2モジュールである。更新前プログラム400における第1モジュール400_1が稼働している間、第1モジュール400_1用の設定情報であるパラメータP1の設定値が、一過性メモリ243における稼働設定情報450とは別の領域に構成引継情報として格納される。さらに、第1モジュール400_1が稼働している間、更新プログラム430における第1モジュール430_1が構成引継情報によって設定される。つまり、第1モジュール430_1の設定の間、更新前の第1モジュール400_1と更新後の第1モジュール430_1とが同時に実行される。同様に、更新前プログラム400における第2モジュール400_2が稼働している間、更新プログラム430における第2モジュール430_2が、稼働設定情報450とは別の領域に格納された構成引継情報(P2の設定値)によって設定される。このようにすることにより、1つのCPU241によって、第1モジュール及び第2モジュールにより実現される機能が停止することなく、第1モジュール及び第2モジュールを更新することができる。なお、更新後の第1モジュール430_1の設定の後、更新前の第1モジュール400_1は停止され、一過性メモリ243の第1モジュール400_1の領域が開放される。同様に、更新後の第2モジュール430_2の設定の後、更新前の第2モジュール400_2は停止され、一過性メモリ243の第2モジュール400_2の領域が開放される。
While the first type program module in the
第1の種類のプログラムモジュールは、通信の制御を実行するプログラムモジュールである。このため、OLT11の通信機能が停止することなく、第1の種類のプログラムモジュールが更新される。
The first type of program module is a program module that executes communication control. Therefore, the first type of program module is updated without stopping the communication function of the
なお、第1の種類のプログラムモジュールを設定する場合に、稼働設定情報450における、当該モジュールの設定情報のアドレスを当該モジュールに通知し、稼働設定情報450から直接読み出された設定情報により、当該モジュールが設定されてもよい。つまり、第1モジュール430_1の設定において、稼働設定情報450におけるパラメータP1の設定値のアドレスを第1モジュール430_1に通知し、CPU241が、当該アドレスにおけるP1の設定値によって第1モジュール430_1を設定することができる。同様に、第2モジュール430_2の設定において、稼働設定情報450におけるパラメータP2の設定値のアドレスを第2モジュール430_2に通知し、CPU241が、当該アドレスにおけるP2の設定値によって第2モジュール430_2を設定することができる。
When setting the first type of program module, the address of the setting information of the module in the
第2の種類のプログラムモジュールは、非一過性メモリ242に記憶された設定情報により設定されるプログラムモジュールである。本実施形態では、CPU241は、非一過性メモリ242から起動設定情報350を読み出して、第2の種類のプログラムモジュールを設定する。
The second type of program module is a program module set by the setting information stored in the
更新前プログラム400における第2の種類のプログラムモジュールが停止した後に、更新プログラム430における第2の種類のプログラムモジュールが起動され、当該モジュールが起動設定情報350によって設定される。つまり、更新前プログラム400における第2の種類のプログラムモジュールの一過性メモリ243での領域が開放された後、更新プログラム430における第2の種類のプログラムモジュールが一過性メモリ243に展開される。図6の例では、第2の種類のプログラムモジュールは、第3モジュールである。更新前プログラム400における第3モジュール400_3が停止され、その後、更新プログラム430における第3モジュール430_3が起動される。第3モジュール430_3用の設定情報であるパラメータP3の設定値が、非一過性メモリ242における起動設定情報350から読み出され、第3モジュール430_3が設定される。更新前後の第3モジュール400_3及び430_3は、同時には実行されない。このようにすることにより、更新前の第3モジュール400_3とは同時に実行できない更新後の第3モジュール430_3を設定することができる。
After the second type of program module in the
第2の種類のプログラムモジュールは、通信の制御以外の処理を実行するプログラムモジュールである。通信の制御以外の処理は、例えば、OLT11の保守機能に関する処理である。このため、通信の制御を停止させることなく、第2の種類のプログラムモジュールが更新される。
The second type of program module is a program module that executes processing other than communication control. The processing other than the communication control is, for example, the processing related to the maintenance function of the
しかし、稼働設定情報450が変更されていると、起動設定情報350と稼働設定情報450とが異なった状態となる。よって、この状態で更新プログラム430の各プログラムモジュールの設定を行うと、第1の種類のプログラムモジュールは稼働設定情報450から得られた設定情報によって設定され、第2の種類のプログラムモジュールは起動設定情報350から得られた設定情報によって設定されるため、両モジュール間で設定の不整合が発生する。つまり、第3モジュール430_3は、稼働設定情報450に含まれるP3=SV30で設定される必要があるが、起動設定情報350に含まれるP3=SV3で設定されてしまう。
However, when the
本実施形態に係るOLT11では、更新後のプログラムモジュールの設定を行う前に、稼働設定情報450の一部又は全部を起動設定情報350に複写し、稼働設定情報450と起動設定情報350とを整合させる。これにより、第1の種類のプログラムモジュールと第2の種類のプログラムモジュールとの間における設定の不整合を防止することができる。
In the
図7は、稼働設定情報450が起動設定情報350に複写された場合の非一過性メモリ242及び一過性メモリ243の構成の一例を示す模式図である。図7の例では、稼働設定情報450及び起動設定情報350の両方において、P1=SV1,P2=SV20,P3=SV30,…となっている。つまり、起動設定情報350が、稼働設定情報450に一致している。このような状態において、更新プログラム430の各プログラムモジュールの設定を行うと、第1の種類のプログラムモジュールと、第2の種類のプログラムモジュールとの間で設定の不整合が防止される。つまり、第1モジュール430_1は稼働設定情報450に含まれるP1=SV1で設定され、第2モジュール430_2は稼働設定情報450に含まれるP2=SV20で設定され、第3モジュール430_3は起動設定情報350に含まれるP3=SV30で設定される。
FIG. 7 is a schematic diagram showing an example of the configuration of the
[4.OLT11の制御プログラム更新における動作]
本実施形態に係るOLT11における制御プログラムの更新の動作について説明する。
[4. Operation in updating the control program of OLT11]
The operation of updating the control program in
CPU241は、更新設定プログラム370(図2参照)を実行することにより、プログラム更新処理を実行する。図8は、プログラム更新処理の手順を示すフローチャートである。
The
プログラム更新処理において、まずCPU241は、更新条件が成立したか否かを判定する(ステップS101)。更新条件は、制御プログラム300の更新を行う場合の条件である。更新条件は、次の(1)~(5)の条件から選択されてもよい。また、(1)~(5)のうちの複数の条件を組み合わせて更新条件としてもよい。例えば、(1)~(5)の中から選択された複数の条件が全て成立することを更新条件の成立としてもよいし、(1)~(5)の中から選択された複数の条件のいずれか1つが成立することを更新条件の成立としてもよい。
(1)稼働設定情報450と起動設定情報350との差分が所定量以上である。
(2)稼働設定情報450の少なくとも一部が変更される。
(3)制御プログラム300の更新指示が与えられる。
(4)予め定められた更新時刻に到達する。
(5)稼働設定情報450に含まれる複数の分類に属する情報のうち、特定の分類に属する情報が変更される。
In the program update process, the
(1) The difference between the
(2) At least a part of the
(3) An update instruction for the
(4) The predetermined update time is reached.
(5) Among the information belonging to a plurality of classifications included in the
(1)において、差分が所定量以上とは、例えば、稼働設定情報450と起動設定情報350との間で異なる設定値の数が所定値以上とすることができ、また、異なる設定値のデータ容量が所定値以上とすることができる。また、(3)において、更新指示は、例えば外部装置25又は上位ネットワーク50のサーバから与えられることができる。また、(4)において、通信トラフィックが少ない夜間の時刻(例えば、2時)を更新時刻とすることができる。
In (1), the difference is equal to or more than a predetermined amount, for example, the number of different set values between the
(5)において、設定情報を複数種類に分類することができる。例えば、通信に関する設定情報は「通信」に分類され、保守に関する設定情報は「保守」に分類されてもよい。このようにして分類された設定情報のうち、特定の分類(例えば、「通信」)に属する情報が変更されれば、(5)の条件が成立する。また、(2)の条件と(5)の条件とは一部が重複するため、更新条件にはいずれか1つが含まれてもよい。 In (5), the setting information can be classified into a plurality of types. For example, the setting information related to communication may be classified into "communication", and the setting information related to maintenance may be classified into "maintenance". If the information belonging to a specific classification (for example, "communication") is changed among the setting information classified in this way, the condition (5) is satisfied. Further, since the condition (2) and the condition (5) partially overlap, any one of the update conditions may be included.
更新条件が成立しない場合(ステップS101においてNO)、CPU241は、ステップS101を再度実行する。
If the update condition is not satisfied (NO in step S101), the
更新条件が成立した場合(ステップS101においてYES)、CPU241は、無停止更新処理を実行するか否かを判定する(ステップS102)。無停止更新処理を実行するか否かの判定には、例えば、与えられた更新指示における無停止更新処理が指定の有無が用いられる。
When the update condition is satisfied (YES in step S101), the
無停止更新処理を実行すると判定された場合(ステップS102においてYES)、CPU241は、無停止更新処理を実行する(ステップS103)。無停止更新処理を実行すると判定されなかった場合(ステップS102においてNO)、CPU241は、通常更新処理を実行する(ステップS104)。通常更新処理は、OLT11を再起動させて制御プログラムを更新する処理である。無停止更新処理又は通常更新処理が終了すると、CPU241は、プログラム更新処理を終了する。
When it is determined to execute the non-stop update process (YES in step S102), the
以下、無停止更新処理について説明する。図9は、無停止更新処理の手順を示すフローチャートである。 Hereinafter, the non-stop update process will be described. FIG. 9 is a flowchart showing the procedure of the non-stop update process.
無停止更新処理において、まずCPU241は、稼働設定情報450の一部又は全部を起動設定情報350に複写する(ステップS201)。これにより、起動設定情報350が、稼働設定情報450と整合する。この処理では、稼働設定情報450のうち、起動設定情報350とは異なる差分情報を、起動設定情報350に複写してもよい。また、稼働設定情報450の全てを起動設定情報350に複写してもよい。
In the non-stop update process, the
CPU241は、非一過性メモリ242に更新前プログラム300が記憶された状態で、更新プログラム330をインストールする(ステップS202)。つまり、非一過性メモリ242では、更新前プログラム300に更新プログラム330が上書きされるのではなく、更新前プログラム300とは別に、更新プログラム330が追加される。
The
CPU241は、更新前プログラム400の第1モジュール400_1、第2モジュール400_2、第3モジュール400_3、…、第Nモジュール400_Nの全てに対して、終了の告知を行う(ステップS203)。
The
次にCPU241は、更新前プログラム400の第1モジュール400_1、第2モジュール400_2、第3モジュール400_3、…、第Nモジュール400_Nのうち、一過性メモリ243に記憶された設定情報により設定することが可能なプログラムモジュール、つまり、第1の種類のプログラムモジュールについて、更新前のモジュールから更新後のモジュールへと引き継ぐ設定情報(構成引継情報)を一過性メモリ243に記憶する(ステップS204)。この処理では、稼働設定情報450のうち、第1の種類のプログラムの設定情報が構成引継情報として一過性メモリ243に記憶される。
Next, the
CPU241は、プログラムモジュールのインデックスである変数Mの値を初期化(M=1)する(ステップS205)。CPU241は、変数Mの値が、制御プログラムにおけるモジュール数N以下であるか否かを判定する(ステップS206)。
The
N≧Mの場合(ステップS206においてYES)、CPU241は、更新前の第Mモジュールから更新後の第Mモジュールへ引き継がれる設定情報があるか否か、即ち、第Mモジュールが第1の種類のプログラムモジュールであるか否かを判定する(ステップS207)。
When N ≧ M (YES in step S206), the
更新前の第Mモジュール400_Mから更新後の第Mモジュール430_Mへ引き継がれる設定情報がある、即ち、第Mモジュールが第1の種類のプログラムモジュールである場合(ステップS207においてYES)、CPU241は、更新前プログラムの第Mモジュール400_Mを停止することなく、更新プログラム430の第Mモジュール430_Mを起動する(ステップS208)。つまり、一過性メモリ243において、更新前プログラム400の第Mモジュール400_Mが展開されている状態で、更新プログラム430の第Mモジュール430_Mが展開される。
When there is setting information inherited from the M module 400_M before the update to the M module 430_M after the update, that is, when the M module is the first type of program module (YES in step S207), the
CPU241は、第Mモジュールの設定情報の引継を行う(ステップS209)。この処理では、一過性メモリ243から更新引継情報がCPU241によって読み出され、更新プログラム430の第Mモジュール430_Mが設定される。
The
CPU241は、更新前プログラム400の第Mモジュール400_Mを停止する(ステップS210)。これにより、一過性メモリ243における更新前プログラム400の第Mモジュール400_Mの領域が開放される。
The
次にCPU241は変数Mの値をインクリメントし(ステップS214)、処理をステップS206へ移す。
Next, the
他方、更新前の第Mモジュール400_Mから更新後の第Mモジュール430_Mへ引き継がれる設定情報がない、即ち、第Mモジュールが第2の種類のプログラムモジュールである場合(ステップS207においてNO)、CPU241は、更新前プログラム400の第Mモジュール400_Mを停止する(ステップS211)。これにより、一過性メモリ243における更新前プログラム400の第Mモジュール400_Mの領域が開放される。
On the other hand, when there is no setting information to be inherited from the M module 400_M before the update to the M module 430_M after the update, that is, when the M module is a second type program module (NO in step S207), the
その後、CPU241は、更新プログラム430の第Mモジュール430_Mを起動する(ステップS212)。つまり、一過性メモリ243において、更新前プログラム400の第Mモジュール400_Mが存在しない状態で、更新プログラム430の第Mモジュール430_Mが展開される。
After that, the
CPU241は、起動設定情報350から第Mモジュール430_M用の設定情報を読み出し、第Mモジュール430_Mを設定する(ステップS213)。
The
次にCPU241は変数Mの値をインクリメントし(ステップS214)、処理をステップS206へ移す。
Next, the
以上により、第Nモジュールまで設定が行われる。MがNより大きい場合(ステップS206においてNO)、CPU241は、非一過性メモリ242の起動設定情報350を、一過性メモリ243の稼働設定情報450へ複写する(ステップS215)。これにより、更新プログラム430の起動時における起動設定情報350と稼働設定情報450との同一性が担保される。以上で、無停止更新処理が終了する。
With the above, the setting is performed up to the Nth module. When M is larger than N (NO in step S206), the
上記のような無停止更新処理の途中で、OLT11に異常が発生した場合、制御プログラムを正常な状態に復帰させる必要がある。このため、本実施形態にかかるOLT11は、異常監視処理を実行する。以下、異常監視処理について説明する。
If an abnormality occurs in the
図10は、異常監視処理の手順を示すフローチャートである。異常監視処理は、無停止更新処理と並行して実行される。 FIG. 10 is a flowchart showing the procedure of abnormality monitoring processing. The error monitoring process is executed in parallel with the non-stop update process.
OLT11の制御プログラムには、異常検知機能が設けられる。この異常検知機能は、制御プログラムにおける処理の異常、通信エラー等、OLT11において生じる異常を検知する機能である。異常監視処理において、まずCPU241は、OLT11の異常を検出したか否かを判定する(ステップS301)。
The control program of the
異常が検出されない場合(ステップS301においてNO)、CPU241は、再度ステップS301の処理を実行する。
If no abnormality is detected (NO in step S301), the
他方、異常が検出された場合(ステップS301においてYES)、CPU241は、プログラム更新処理へ中断を指示する(ステップS302)。これにより、プログラム更新処理が中断される。
On the other hand, when an abnormality is detected (YES in step S301), the
次にCPU241は、稼働中の全てのプログラムモジュールを停止させる(ステップS303)。さらにCPU241は、更新前プログラム400の第1モジュール400_1、第2モジュール400_2、第3モジュール400_3、…、第Nモジュール400_Nの全てを起動する(ステップS304)。
Next, the
CPU241は、起動設定情報350を非一過性メモリ242から読み出し、更新前プログラム400の第1モジュール400_1、第2モジュール400_2、第3モジュール400_3、…、第Nモジュール400_Nの全てを起動設定情報350によって設定する(ステップS305)。以上で、異常監視処理が終了する。
The
このような異常監視処理により、無停止更新処理の実行中に、OLT11に異常が発生した場合に、更新前プログラム400が復帰される。
By such an abnormality monitoring process, if an error occurs in the
以上のような構成により、本実施形態に係るOLT11は、CPU241が、更新前プログラム400を更新プログラム430に更新する場合に、稼働設定情報の一部又は全部を起動設定情報に複写する処理を実行する。また、CPU241は、稼働設定情報に基づいて更新された第1の種類のプログラムモジュールを設定し、稼働設定情報の一部又は全部が複写された起動設定情報に基づいて、更新された第2の種類のプログラムモジュールを設定する処理と、を実行する。これにより、制御プログラムが更新される場合に、OLT11を停止させることなく、第1の種類のプログラムモジュール及び第2の種類のプログラムモジュールのそれぞれを設定することができる。また、起動設定情報に稼働設定情報の一部又は全部が複写されるため、第1の種類及び第2の種類のそれぞれのプログラムモジュールに用いられる設定情報において不整合の発生を抑制することができる。
With the above configuration, the
また、CPU241は、更新前プログラム400のモジュールが第1の種類のプログラムモジュールである場合、当該モジュールを停止する前に、対応する更新プログラム430のモジュールを起動し、起動されたモジュールを稼働設定情報に基づく構成引継情報によって設定し、更新前モジュールを停止する処理を実行する。また、CPU241は、更新前プログラム400のモジュールが第2の種類のプログラムモジュールである場合、当該モジュールを停止した後に、対応する更新プログラム430のモジュールを起動し、起動されたモジュールを起動設定情報に基づいて設定する処理を実行する。これにより、第1の種類のプログラムモジュールは停止することなく更新される。このため、OLT11の機能を停止させずに制御プログラムの更新を行うことができる。
Further, when the module of the
また、第1の種類のプログラムモジュールは、一過性メモリ243に記憶された設定情報により設定されることが可能なプログラムモジュールであり、第2の種類のプログラムモジュールは、非一過性メモリ242に記憶された設定情報により設定されるプログラムモジュールであってもよい。これにより、第1の種類のモジュールを、一過性メモリ243に記憶された稼働設定情報450に基づく構成引継情報により設定することができ、第2の種類のモジュールを、非一過性メモリ242に記憶された起動設定情報350に基づき設定することができる。
The first type of program module is a program module that can be set by the setting information stored in the
また、第1の種類のプログラムモジュールは、通信の制御を実行するプログラムモジュールであり、第2の種類のプログラムモジュールは、通信の制御以外の処理を実行するプログラムモジュールであってもよい。これにより、通信の制御を停止させることなく、制御プログラムを更新することができる。 Further, the first type of program module may be a program module that executes communication control, and the second type of program module may be a program module that executes processing other than communication control. As a result, the control program can be updated without stopping the control of communication.
また、稼働設定情報450のうち起動設定情報350とは異なる差分情報を、起動設定情報350に複写してもよい。これにより、稼働設定情報450の全てを一括して起動設定情報350に複写しなくても、稼働設定情報450と起動設定情報350とを整合させることができる。
Further, the difference information of the
また、所定の更新条件が成立した場合に、稼働設定情報450の一部又は全部を起動設定情報350に複写する処理を実行してもよい。これにより、更新条件の成立により、制御プログラムの更新を開始することができる。
Further, when a predetermined update condition is satisfied, a process of copying a part or all of the
また、更新条件は、稼働設定情報450と起動設定情報350との差分が所定量以上となること、稼働設定情報450が変更されること、制御プログラム300の更新指示が与えられること、予め決められた更新時刻に到達すること、及び、稼働設定情報450に含まれる複数の分類に属する情報のうち特定の分類に属する情報が変更されること、の少なくとも1つであってもよい。これにより、様々な条件を更新条件に設定することができる。
Further, the update conditions are determined in advance that the difference between the
また、制御プログラムが更新される間に異常を検出した場合、稼働中の全モジュールを停止した後、更新前プログラム400のモジュールのそれぞれを起動し、起動されたモジュールを起動設定情報350に基づいて設定する異常監視処理を実行してもよい。これにより、OLT11に異常が発生した場合、更新前の制御プログラム300に戻すことで、異常から復帰することができる。
If an abnormality is detected while the control program is updated, all the running modules are stopped, each of the modules of the
異常は、通信エラーを含んでもよい。制御プログラムの更新が適切に行われなかった場合、正常な通信が行われず、通信エラーが発生する可能性がある。通信エラーが生じた場合に、更新前の制御プログラムに戻すことで、通信エラーを解消できる可能性がある。 The anomaly may include a communication error. If the control program is not updated properly, normal communication may not be performed and a communication error may occur. If a communication error occurs, it may be possible to eliminate the communication error by returning to the control program before the update.
[6.補記]
今回開示された実施の形態はすべての点で例示であって、制限的ではない。本発明の権利範囲は、上述の実施形態ではなく特許請求の範囲によって示され、特許請求の範囲と均等の意味及びその範囲内でのすべての変更が含まれる。
[6. Supplement]
The embodiments disclosed this time are exemplary in all respects and are not restrictive. The scope of rights of the present invention is shown by the scope of claims, not the embodiments described above, and includes the meaning equivalent to the scope of claims and all modifications within the scope thereof.
10 通信システム
11 局側装置(通信装置)
12 宅側装置
13 PON回線
14 光スプリッタ
15 幹線光ファイバ
16 支線光ファイバ
21 光トランシーバ
22 PON処理部
23 L2スイッチ
24 制御部
25 外部装置
26 通信インタフェース
50 上位ネットワーク
241 CPU
242 非一過性メモリ
243 一過性メモリ
300,330,400,430 制御プログラム
300_1,300_2,300_3,… プログラムモジュール
330_1,330_2,330_3,… プログラムモジュール
350 起動設定情報
370 更新設定プログラム
400_1,400_2,400_3,… プログラムモジュール
430_1,430_2,430_3,… プログラムモジュール
450 稼働設定情報
10
12 Home-
242
Claims (10)
前記第1の種類のプログラムモジュールと前記第2の種類のプログラムモジュールとが稼働中に参照する設定情報である稼働設定情報を記憶する一過性メモリと、
プロセッサと、
を備え、
前記プロセッサは、自装置を稼働させたまま前記制御プログラムを更新する場合に、
前記稼働設定情報の一部又は全部を前記起動設定情報に複写する処理と、
前記稼働設定情報に基づいて、更新された前記第1の種類のプログラムモジュールを設定する処理と、
前記稼働設定情報の一部又は全部が複写された前記起動設定情報に基づいて、更新された前記第2の種類のプログラムモジュールを設定する処理と、
を実行する、
通信装置。 A non-transient memory that stores startup setting information, which is setting information that the first type of program module and the second type of program module included in the control program for communication refer to during the startup process, and
A transient memory for storing operation setting information, which is setting information referred to by the first type program module and the second type program module during operation, and
With the processor
Equipped with
When the processor updates the control program while the own device is running, the processor updates the control program.
A process of copying a part or all of the operation setting information to the activation setting information,
The process of setting the updated program module of the first type based on the operation setting information, and
A process of setting an updated program module of the second type based on the start setting information in which a part or all of the operation setting information is copied.
To execute,
Communication device.
更新前の前記第1の種類のプログラムモジュールを停止する前に、更新後の前記第1の種類のプログラムモジュールを起動する処理と、
前記稼働設定情報に基づいて、前記更新後の第1の種類のプログラムモジュールを設定する処理と、
前記更新前の第1の種類のプログラムモジュールを停止する処理と、
を実行し、
前記プロセッサは、前記第2の種類のプログラムモジュールを更新する場合、
更新前の前記第2の種類のプログラムモジュールを停止する処理と、
前記更新前の第2の種類のプログラムモジュールを停止した後に、更新後の前記第2の種類のプログラムモジュールを起動する処理と、
前記稼働設定情報の一部又は全部が複写された前記起動設定情報に基づいて、前記更新後の第2の種類のプログラムモジュールを設定する処理と、
を実行する、
請求項1に記載の通信装置。 When the processor updates the first type of program module,
Before stopping the program module of the first type before the update, the process of starting the program module of the first type after the update, and
The process of setting the first type of program module after the update based on the operation setting information, and
The process of stopping the first type of program module before the update, and
And run
When the processor updates the second type of program module,
The process of stopping the second type of program module before the update, and
After stopping the second type of program module before the update, the process of starting the second type of program module after the update, and
A process of setting a second type of program module after the update based on the start setting information in which a part or all of the operation setting information is copied.
To execute,
The communication device according to claim 1.
前記第2の種類のプログラムモジュールは、前記非一過性メモリに記憶された設定情報により設定されるプログラムモジュールである、
請求項1又は2に記載の通信装置。 The first type of program module is a program module that can be set by the setting information stored in the transient memory.
The second type of program module is a program module set by the setting information stored in the non-transient memory.
The communication device according to claim 1 or 2.
前記第2の種類のプログラムモジュールは、通信の制御以外の処理を実行するプログラムモジュールである、
請求項1から請求項3のいずれか1項に記載の通信装置。 The first type of program module is a program module that executes communication control.
The second type of program module is a program module that executes processing other than communication control.
The communication device according to any one of claims 1 to 3.
請求項1から請求項4のいずれか1項に記載の通信装置。 The copying process is a process of copying information different from the activation setting information among the operation setting information to the activation setting information.
The communication device according to any one of claims 1 to 4.
請求項1から請求項5のいずれか1項に記載の通信装置。 The processor executes the copying process when a predetermined update condition is satisfied.
The communication device according to any one of claims 1 to 5.
請求項6に記載の通信装置。 The update conditions are that the difference between the operation setting information and the activation setting information is a predetermined amount or more, the operation setting information is changed, an update instruction of the control program is given, and a predetermined update. At least one of reaching the time and changing the information belonging to a specific classification among the information belonging to the plurality of classifications included in the operation setting information.
The communication device according to claim 6.
請求項1から請求項7のいずれか1項に記載の通信装置。 When the processor detects an abnormality while the control program is updated, the processor stops all of the running program modules, then starts each of the program modules before the update, and is started before the update. Executes the process of setting the program module of
The communication device according to any one of claims 1 to 7.
請求項8に記載の通信装置。 The abnormality includes a communication error.
The communication device according to claim 8.
前記通信装置を稼働させたまま前記制御プログラムを更新する場合に、
前記プロセッサが、前記稼働設定情報の一部又は全部を前記起動設定情報に複写し、
前記プロセッサが、前記稼働設定情報に基づいて、更新された前記第1の種類のプログラムモジュールを設定し、
前記プロセッサが、前記稼働設定情報の一部又は全部が複写された前記起動設定情報に基づいて、更新された前記第2の種類のプログラムモジュールを設定する、
通信装置の設定方法。
A non-transient memory for storing startup setting information, which is setting information referred to by the first type program module and the second type program module included in the control program for communication during the startup process, and the above-mentioned A method of setting a communication device including a transient memory for storing operation setting information, which is setting information referred to by the first type of program module and the second type of program module during operation, and a processor. There,
When updating the control program while the communication device is operating,
The processor copies a part or all of the operation setting information to the activation setting information.
The processor sets up the updated program module of the first type based on the operation setting information.
The processor sets the updated program module of the second type based on the boot setting information in which a part or all of the operation setting information is copied.
How to set up the communication device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018177929A JP7087876B2 (en) | 2018-09-21 | 2018-09-21 | Communication device and setting method of communication device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018177929A JP7087876B2 (en) | 2018-09-21 | 2018-09-21 | Communication device and setting method of communication device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2020052453A JP2020052453A (en) | 2020-04-02 |
| JP7087876B2 true JP7087876B2 (en) | 2022-06-21 |
Family
ID=69997077
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2018177929A Active JP7087876B2 (en) | 2018-09-21 | 2018-09-21 | Communication device and setting method of communication device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7087876B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2022091406A1 (en) * | 2020-11-02 | 2022-05-05 | 三菱電機株式会社 | Software update device, software update method, and software update program |
| JP7655066B2 (en) | 2021-04-22 | 2025-04-02 | 住友電気工業株式会社 | COMMUNICATION DEVICE, SOFTWARE UPDATE METHOD, AND COMPUTER PROGRAM |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5023009B2 (en) * | 2008-07-10 | 2012-09-12 | 株式会社日立製作所 | Network device management device |
| JP6683566B2 (en) * | 2016-07-29 | 2020-04-22 | 日本電信電話株式会社 | Communication device, design method, and computer program |
-
2018
- 2018-09-21 JP JP2018177929A patent/JP7087876B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2020052453A (en) | 2020-04-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10762033B2 (en) | Method and apparatus for updating server firmware in server, and server | |
| US10437680B2 (en) | Relay apparatus, relay method, and computer program product | |
| KR20100066576A (en) | Firmware image update and management | |
| CN112612524A (en) | Method, device and equipment for starting Linux system and storage medium | |
| US20230169172A1 (en) | Resilient software update architecture for embedded systems | |
| EP2642388B1 (en) | Standby system device, control method, and program thereof | |
| CN111176703A (en) | In-band firmware upgrade method, device, computer system and storage medium | |
| CN112579114B (en) | Program upgrading method and device of Internet of things equipment and Internet of things equipment | |
| JP7087876B2 (en) | Communication device and setting method of communication device | |
| JP2008299709A (en) | Firmware updating system, network connection apparatus, firmware updating method, and program | |
| US9794121B2 (en) | System upgrade method and device | |
| US9720755B2 (en) | Information processing device | |
| CN112788441A (en) | Mode control method, device, storage medium and equipment of optical network unit | |
| CN104580360A (en) | System and method for updating firmware through heterogeneous network | |
| CN111344962A (en) | Network interface switching method of optical network unit and optical network unit | |
| JP7581667B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION CONTROL DEVICE, AND CONTROL PROGRAM UPDATE METHOD | |
| CN113923543A (en) | ONU (optical network Unit) self-adaptive switching method, ONU, equipment and storage medium | |
| US10491544B2 (en) | Consistency control of a logical path passing through a relay device | |
| CN103634710B (en) | A kind of method and apparatus of load application version file | |
| EP4086756A1 (en) | Method and apparatus for processing virtual machine component | |
| US10396890B2 (en) | Information processing apparatus, method and non-transitory computer-readable storage medium | |
| CN113190246A (en) | Software program upgrading method and device, readable storage medium and electronic equipment | |
| JP2021019236A (en) | Communication device, setting method, and computer program | |
| JP7747910B2 (en) | Downstream signal synchronization method and system | |
| JP2017005608A (en) | Optical transceiver and optical transceiver control method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210421 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20220510 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220523 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7087876 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |