JP2014078784A - Station side device, station side device control method and program - Google Patents

Station side device, station side device control method and program Download PDF

Info

Publication number
JP2014078784A
JP2014078784A JP2012223998A JP2012223998A JP2014078784A JP 2014078784 A JP2014078784 A JP 2014078784A JP 2012223998 A JP2012223998 A JP 2012223998A JP 2012223998 A JP2012223998 A JP 2012223998A JP 2014078784 A JP2014078784 A JP 2014078784A
Authority
JP
Japan
Prior art keywords
processing unit
function
unit
firmware
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.)
Granted
Application number
JP2012223998A
Other languages
Japanese (ja)
Other versions
JP5938833B2 (en
Inventor
Toru Inoue
井上  徹
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.)
Sumitomo Electric Networks Inc
Original Assignee
Sumitomo Electric Networks Inc
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 Sumitomo Electric Networks Inc filed Critical Sumitomo Electric Networks Inc
Priority to JP2012223998A priority Critical patent/JP5938833B2/en
Publication of JP2014078784A publication Critical patent/JP2014078784A/en
Application granted granted Critical
Publication of JP5938833B2 publication Critical patent/JP5938833B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technique to allow a function of a station side device to be updated while keeping communication continuing.SOLUTION: A station side device (OLT) 101 includes an upper-level processing unit 11 and a basic communication unit 12. The upper-level processing unit 11 includes an update unit 21, an information acquisition unit 22, a function setting unit 23, a lower-level control unit 24, and a storage unit 25. The update unit 21 updates firmware included in the upper-level processing unit 11 to new firmware. The information acquisition unit 22 acquires information related to a function set by the upper-level processing unit 11 from the basic communication unit 12. The function setting unit 23 sets a function of the basic communication unit 12 on the basis of the information acquired from the basic communication unit 12 through the information acquisition unit 22 after the update of the firmware. The lower-level control unit 24 reads out a parameter after the update from the storage unit 25 after the update of the firmware and controls the basic communication unit 12 according to the parameter.

Description

本発明は、局側装置、局側装置の制御方法およびプログラムに関する。   The present invention relates to a station-side device, a station-side device control method, and a program.

各家庭までのネットワークアクセスサービスを光ファイバによって提供するFTTH(Fiber To The Home)を実現する形態のひとつにPON(Passive Optical Network)がある。PONの特長は、宅側装置(ONU(Optical Network Unit))と局側装置(OLT(Optical Line Terminal))との間を結ぶ光ファイバの一部を共有して通信を行なうことにより、低コストで光アクセスサービスを提供できることである。   One form of realizing FTTH (Fiber To The Home) that provides a network access service to each home by optical fiber is PON (Passive Optical Network). PON features low cost by sharing part of the optical fiber that connects between the home side equipment (ONU (Optical Network Unit)) and the station side equipment (OLT (Optical Line Terminal)). Can provide optical access services.

FTTHを含めたネットワークシステムでは、新たな機能の追加および問題点の改善を行なう機能を求められることが多い。このような機能の実現方法としては、ネットワーク機器内のCPU(Central Processing Unit)が実行するソフトウェアプログラム、あるいはネットワーク機器内のFPGA(Field Programmable Gate Array)の設計データをダウンロードする方法がある。なお、この明細書では、「ファームウェア」とは、通信機器(OLT,ONUを問わない)の内部のCPUが実行するプログラムコードおよびFPGAのコンフィグレーションコードを含むものとする。   In a network system including FTTH, a function for adding a new function and improving a problem is often required. As a method for realizing such a function, there is a method of downloading a software program executed by a CPU (Central Processing Unit) in a network device or a design data of an FPGA (Field Programmable Gate Array) in the network device. In this specification, “firmware” includes a program code executed by a CPU inside a communication device (regardless of OLT or ONU) and an FPGA configuration code.

たとえば特許文献1(特開2010−252176号公報)は、OLTが複数のONUへ、複数のONU自身によってダウンロードされるべきデータをブロードキャストするように構成された通信システムを開示する。複数のONU自身によってダウンロードされるべきデータは、複数のONUの各々に実装されたファームウェアを更新するためのファームウェアを含みうる。上記の構成によれば、PONに接続された複数のONUによるダウンロードを短時間で実行することができる。   For example, Patent Document 1 (Japanese Patent Application Laid-Open No. 2010-252176) discloses a communication system configured such that an OLT broadcasts data to be downloaded by a plurality of ONUs themselves to a plurality of ONUs. The data to be downloaded by the plurality of ONUs themselves can include firmware for updating the firmware installed in each of the plurality of ONUs. According to said structure, the download by the some ONU connected to PON can be performed in a short time.

特開2010−252176号公報JP 2010-252176 A

特許文献1(特開2010−252176号公報)は、ONUのファームウェアを更新する方法を開示するものの、OLTのファームウェアを更新するための具体的な方法は開示していない。   Japanese Patent Laid-Open No. 2010-252176 discloses a method for updating ONU firmware, but does not disclose a specific method for updating OLT firmware.

OLTのファームウェアを更新する場合、たとえば以下の方法が考えられる。すなわち、外部からOLTに新しいファームウェアが供給され、OLTは、その内部の不揮発性メモリに、その新しいファームウェアを格納する。OLTを再起動することによって不揮発性メモリから新しいファームウェアが読み出される。これによりOLTのファームウェアが更新される。   When updating the OLT firmware, for example, the following method can be considered. In other words, new firmware is supplied to the OLT from the outside, and the OLT stores the new firmware in its internal nonvolatile memory. New firmware is read from the non-volatile memory by restarting the OLT. As a result, the OLT firmware is updated.

しかしながら、OLTのファームウェアの更新中の間、OLTの処理が停止する可能性がある。OLTの処理が停止した場合には、ONUおよびその配下の端末による通信が停止することが起こりうる。   However, the OLT process may stop while the OLT firmware is being updated. When the OLT process is stopped, the communication by the ONU and the terminals under control thereof may stop.

近年では、アクセス系ネットワークにおいては、インターネットを経由したデータ通信だけでなく、VoIP(Voice over Internet Protocol)サービスおよび映像データの配信等といった各種の通信も行なわれている。このため通信が停止することによる影響は大きくなりつつある。   In recent years, in an access network, not only data communication via the Internet but also various communication such as VoIP (Voice over Internet Protocol) service and video data distribution are performed. For this reason, the effect of communication interruption is increasing.

したがって、OLTとONUとの間のデータ通信を継続しながらOLTのファームウェアを更新することが好ましいと考えられる。1つの解決方法は、OLTの構成を、データ通信を担う基本通信部と、それ以外の機能を担う上位処理部とに分けて、上位処理部のファームウェアを更新することである。   Therefore, it is considered preferable to update the OLT firmware while continuing data communication between the OLT and the ONU. One solution is to divide the OLT configuration into a basic communication unit responsible for data communication and a higher-level processing unit responsible for other functions, and update the firmware of the higher-level processing unit.

しかしながら、OLTが一旦起動した後に上位処理部のファームウェアが更新された場合に、更新された機能を基本通信部に反映されることが課題となる。たとえば局側装置の起動時に基本通信部が初期化されると、基本通信部は、初期設定に従って通信を継続する。したがって局側装置の起動後に上位処理部の機能が更新された場合には、その更新された機能が基本通信部に反映されない可能性がある。   However, when the firmware of the upper processing unit is updated after the OLT is once activated, the updated function is reflected in the basic communication unit. For example, when the basic communication unit is initialized when the station-side device is activated, the basic communication unit continues communication according to the initial setting. Therefore, when the function of the host processing unit is updated after the station side device is activated, the updated function may not be reflected in the basic communication unit.

本発明の目的は、局側装置を停止させることなく、その機能を更新することを可能にするための技術を提供することである。   An object of the present invention is to provide a technique for making it possible to update the function of a station-side device without stopping it.

本発明のある局面に係る局側装置は、上位処理部と、下位処理部とを備える。上位処理部は、ファームウェアを有し、ファームウェアに従う処理を実行する。下位処理部は、機能に関する設定を上位処理部から受ける。下位処理部は、上位処理部のファームウェアの更新中にも設定に従う動作を維持可能である。上位処理部は、上位処理部が有するファームウェアを更新する更新部と、下位処理部から、設定に関する情報を取得する情報取得部と、取得された情報に基づいて、ファームウェアの更新後における下位処理部の機能を設定する機能設定部と、設定された機能に従う動作を下位処理部に実行させる下位制御部とを備える。   A station apparatus according to an aspect of the present invention includes an upper processing unit and a lower processing unit. The host processing unit has firmware and executes processing according to the firmware. The lower processing unit receives settings related to functions from the upper processing unit. The lower processing unit can maintain the operation according to the setting even during the firmware update of the upper processing unit. The upper processing unit includes an updating unit that updates firmware included in the upper processing unit, an information acquisition unit that acquires information about settings from the lower processing unit, and a lower processing unit after updating the firmware based on the acquired information. A function setting unit that sets the function of the above and a lower-level control unit that causes the lower-level processing unit to execute an operation according to the set function.

この構成によれば、局側装置を停止させることなく、その機能を更新することができる。情報取得部は、下位処理部から、ファームウェアの更新前における設定に関する情報を取得する。この情報は、たとえば、機能を設定するためのパラメータを含む。機能設定部は、取得された情報に基づいて、ファームウェアの更新後における下位処理部の機能を設定する。したがって、下位処理部の機能が更新される。すなわち上位処理部の機能の更新が下位処理部にも反映される。   According to this configuration, the function can be updated without stopping the station apparatus. The information acquisition unit acquires information related to the settings before updating the firmware from the lower processing unit. This information includes, for example, parameters for setting functions. The function setting unit sets the function of the lower processing unit after updating the firmware based on the acquired information. Therefore, the function of the lower processing unit is updated. That is, the function update of the upper processing unit is reflected in the lower processing unit.

「機能の更新」とは、機能の追加、機能の修正、機能の削除(たとえば不要な機能を無効化することを含む)を含む。さらに、「機能の更新」は、変更の必要のない機能をそのまま維持することを含んでもよい。   “Updating functions” includes adding functions, correcting functions, and deleting functions (including disabling unnecessary functions, for example). Furthermore, “function update” may include maintaining functions that do not need to be changed.

好ましくは、上位処理部は、ファームウェアの更新前の設定を保存する記憶部をさらに含む。下位制御部は、ファームウェアの更新中に更新前の設定に従って下位処理部を制御する。   Preferably, the host processing unit further includes a storage unit that stores a setting before updating the firmware. The lower-level control unit controls the lower-level processing unit according to the setting before update during firmware update.

この構成によれば、上位処理部11のファームウェアを更新している間にも通信を維持することができる。   According to this configuration, communication can be maintained while the firmware of the upper processing unit 11 is being updated.

好ましくは、上位処理部は、さらに、宅側装置の局側装置への論理的な接続に対応して宅側装置の機能を設定する。情報取得部は、宅側装置から、ファームウェアの更新前の設定に関する情報を取得する。機能設定部は、宅側装置から取得された情報に基づいて、宅側装置の機能を設定する。   Preferably, the host processing unit further sets the function of the home device corresponding to the logical connection of the home device to the station device. The information acquisition unit acquires information related to the settings before the firmware update from the home device. The function setting unit sets the function of the home device based on the information acquired from the home device.

この構成によれば、宅側装置と局側装置との間の論理的な接続をやり直す必要なく、宅側装置の機能を更新することができる。なお、「論理的な接続」は、局側装置が宅側装置を認証する処理を含んでもよい。   According to this configuration, the function of the home-side device can be updated without having to redo the logical connection between the home-side device and the station-side device. The “logical connection” may include a process in which the station side device authenticates the home side device.

好ましくは、機能設定部は、情報取得部により取得された情報が、ファームウェアの更新後における設定に一致しない場合には、機能を再度設定する。   Preferably, the function setting unit sets the function again when the information acquired by the information acquisition unit does not match the setting after updating the firmware.

この構成によれば、より確実に、局側装置の下位処理部および/または宅側装置の機能を更新することができる。   According to this configuration, it is possible to more reliably update the functions of the lower processing unit and / or the home device of the station device.

好ましくは、更新部、情報取得部、機能設定部、および下位制御部は、更新にかかるファームウェアで実行される。   Preferably, the update unit, the information acquisition unit, the function setting unit, and the lower-level control unit are executed by firmware for update.

この構成によれば、各機能を実現する手段をファームウェアによって実現することが可能となる。   According to this configuration, means for realizing each function can be realized by firmware.

本発明の他の局面によれば、局側装置の制御方法であって、局側装置の上位処理部が有するファームウェアを更新するステップと、上位処理部から機能に関する設定を受ける下位処理部から、設定に関する情報を取得するステップと、取得された情報に基づいて、ファームウェアの更新後における下位処理部の機能を設定するステップと、設定された機能に従って下位処理部が動作するように下位処理部を制御するステップとを備える。   According to another aspect of the present invention, there is provided a control method for a station-side device, the step of updating the firmware included in the host processing unit of the station-side device, and the lower processing unit that receives settings related to functions from the host processing unit, A step of acquiring information relating to the setting; a step of setting a function of the lower processing unit after the firmware update based on the acquired information; and a lower processing unit configured to operate the lower processing unit according to the set function Controlling.

この構成によれば、局側装置を停止させることなく、その機能を更新することができる。   According to this configuration, the function can be updated without stopping the station apparatus.

本発明のさらに他の局面によれば、プログラムであって、局側装置に、局側装置の上位処理部が有するファームウェアを更新するステップと、上位処理部から機能に関する設定を受ける下位処理部から、設定に関する情報を取得するステップと、取得された情報に基づいて、ファームウェアの更新後における下位処理部の機能を設定するステップと、設定された機能に従って下位処理部が動作するように下位処理部を制御するステップとを実行させる。   According to still another aspect of the present invention, there is provided a program comprising: a step of updating firmware of a higher-level processing unit of a station-side device to a station-side device; and a lower-level processing unit that receives settings related to functions from the higher-level processing unit A step of acquiring information relating to the setting, a step of setting a function of the lower processing unit after the firmware update based on the acquired information, and a lower processing unit so that the lower processing unit operates according to the set function And a step of controlling.

この構成によれば、局側装置を停止させることなく、その機能を更新することができる。   According to this configuration, the function can be updated without stopping the station apparatus.

本発明によれば、局側装置を停止させることなく、その機能を更新することを可能にするための技術を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the technique for enabling it to update the function, without stopping a station side apparatus can be provided.

本発明の実施の形態に係るPONシステムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the PON system which concerns on embodiment of this invention. 図1に示したONUに接続されるユーザ端末の構成の一例を示した図である。It is the figure which showed an example of the structure of the user terminal connected to ONU shown in FIG. 図1に示したOLTの機能ブロック図である。It is a functional block diagram of OLT shown in FIG. 図3に示した上位処理部の機能ブロック図である。FIG. 4 is a functional block diagram of an upper processing unit shown in FIG. 3. 図4に示したOLTのハードウェア構成例を模式的に示した図である。It is the figure which showed typically the hardware structural example of OLT shown in FIG. ファームウェアの更新前における、上位処理部による基本通信部の初期化処理を説明するためのシーケンス図である。It is a sequence diagram for explaining the initialization processing of the basic communication unit by the host processing unit before the firmware update. ファームウェアの更新後における、上位処理部による基本通信部の初期化処理を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the initialization process of the basic communication part by the high-order process part after the firmware update. OLTの起動後にファームウェアを更新した場合に生じうる課題を説明するための図である。It is a figure for demonstrating the subject which may arise when firmware is updated after starting of OLT. 本発明の第1の実施の形態による、OLTの機能の更新処理を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the update process of the function of OLT by the 1st Embodiment of this invention. OLTの起動時の処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process at the time of starting of OLT. 無瞬断のファームウェア更新による、基本通信部の機能の更新処理を説明するためのフローチャートである。It is a flowchart for demonstrating the update process of the function of a basic communication part by the firmware update without interruption. ファームウェアの更新前における、上位処理部による基本通信部およびONUの初期化処理を説明するためのシーケンス図である。It is a sequence diagram for explaining the basic communication unit and ONU initialization processing by the host processing unit before the firmware update. ファームウェアの更新後における、上位処理部による基本通信部およびONUの初期化処理を説明するためのシーケンス図である。FIG. 10 is a sequence diagram for explaining basic communication unit and ONU initialization processing by a higher-level processing unit after firmware update. 無瞬断のファームウェア更新によるONUの機能の更新に関する課題を説明するための図である。It is a figure for demonstrating the subject regarding the update of the function of ONU by the firmware update without interruption. 本発明の第2の実施の形態による、OLTの基本通信部および、ONUの機能の更新処理を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the update process of the basic communication part of OLT and the function of ONU by the 2nd Embodiment of this invention. 無瞬断のファームウェア更新による、基本通信部およびONUの機能の更新処理を説明するためのフローチャートである。It is a flowchart for demonstrating the update process of the function of a basic communication part and ONU by the firmware update without interruption. 本発明の第3の実施の形態による、OLTの基本通信部および、ONUの機能の更新処理を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the update process of the basic communication part of OLT and the function of ONU by the 3rd Embodiment of this invention. OLTの上位処理部による、設定すべきパラメータの再問い合わせ処理を説明するためのフローチャートである。It is a flowchart for demonstrating the re-query process of the parameter which should be set by the high-order process part of OLT.

以下、本発明の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals and description thereof will not be repeated.

図1は、本発明の実施の形態に係るPONシステム100の概略構成を示すブロック図である。図1を参照して、PONシステム100は、局側装置(OLT)101と、宅側装置(ONU)102−1,102−2,・・・,102−nと、PON回線104と、スプリッタ105とを備える。   FIG. 1 is a block diagram showing a schematic configuration of a PON system 100 according to an embodiment of the present invention. Referring to FIG. 1, a PON system 100 includes a station side device (OLT) 101, home side devices (ONUs) 102-1, 102-2, ..., 102-n, a PON line 104, a splitter. 105.

OLT101は、たとえば電話局に設置される。ONU102−1〜102−nの各々は、たとえばネットワークアクセスサービスの加入者の宅内に設置される。   The OLT 101 is installed in a telephone station, for example. Each of the ONUs 102-1 to 102-n is installed, for example, in the home of a network access service subscriber.

ONU102−1〜102−nの各々にはユーザ端末111が接続される。各ONU102に接続されるユーザ端末111の数は特に限定されるものではない。たとえば1つのONUに複数のユーザ端末が接続されていてもよい。また、ユーザ端末111の種類も特に限定されるものではない。   A user terminal 111 is connected to each of the ONUs 102-1 to 102-n. The number of user terminals 111 connected to each ONU 102 is not particularly limited. For example, a plurality of user terminals may be connected to one ONU. In addition, the type of the user terminal 111 is not particularly limited.

PON回線104は光ファイバにより構成される。OLT101から送信された光信号は、PON回線104を通り、スプリッタ105によってONU102−1〜102−nへと分岐される。一方、ONU102−1〜102−nから送信された光信号は、スプリッタ105によって集束されるとともにPON回線104を通ってOLT101に送られる。スプリッタ105は、外部からの電源供給を特に必要とすることなく、入力された信号から受動的に信号を分岐または多重する。   The PON line 104 is constituted by an optical fiber. The optical signal transmitted from the OLT 101 passes through the PON line 104 and is branched to the ONUs 102-1 to 102-n by the splitter 105. On the other hand, the optical signals transmitted from the ONUs 102-1 to 102-n are converged by the splitter 105 and sent to the OLT 101 through the PON line 104. The splitter 105 passively branches or multiplexes the signal from the input signal without particularly requiring external power supply.

OLT101は、上位ネットワーク109を介してデータを受信するとともに、そのデータをPON回線104に出力する。PONの物理的構成によれば、ONU102−1〜102−nのすべてが、OLT101から送信されたデータを受信可能である。このためOLT101は、送信フレームのプリアンブル部分に、その送信フレームを受信すべきONUを特定する識別子LLID(Logical Link ID)を挿入する。各ONUは、OLT101から受信したフレームに含まれるLLIDを、予めOLT101から通知された自己のLLIDと照合する。フレームに含まれるLLIDが自己のLLIDに一致する場合には、ONUはそのフレームを受信し、そうでない場合には、ONUは、そのフレームを破棄する。   The OLT 101 receives data via the host network 109 and outputs the data to the PON line 104. According to the physical configuration of the PON, all of the ONUs 102-1 to 102-n can receive the data transmitted from the OLT 101. Therefore, the OLT 101 inserts an identifier LLID (Logical Link ID) that identifies an ONU that should receive the transmission frame in the preamble portion of the transmission frame. Each ONU collates the LLID included in the frame received from the OLT 101 with its own LLID notified from the OLT 101 in advance. If the LLID included in the frame matches its own LLID, the ONU receives the frame; otherwise, the ONU discards the frame.

一方、各ONUから送信される光信号はスプリッタ105において合流する。このため、各ONUからの信号(上り信号)がスプリッタ105で合流した後に衝突しないための制御が必要となる。OLT101は、ONU102−1〜102−nから送信された制御フレーム(レポート)に基づいて、ONU102−1〜102−n内のバッファに蓄積されているデータの送信開始時刻および送信許可量を演算する。次に、OLT101は、指示信号を挿入した制御フレーム(グラント)を、PON回線104およびスプリッタ105を介してONU102−1〜102−nに送信する。   On the other hand, the optical signals transmitted from the respective ONUs merge at the splitter 105. For this reason, it is necessary to control so that the signals (upstream signals) from the ONUs do not collide after being joined by the splitter 105. Based on the control frame (report) transmitted from the ONUs 102-1 to 102-n, the OLT 101 calculates the transmission start time and permitted transmission amount of the data stored in the buffers in the ONUs 102-1 to 102-n. . Next, the OLT 101 transmits the control frame (grant) in which the instruction signal is inserted to the ONUs 102-1 to 102-n via the PON line 104 and the splitter 105.

たとえば、ONU102−1は、宅側ネットワーク110を介してユーザ端末111から上り情報フレームを受信する。ONU102−1は、上り情報フレームをバッファに一旦蓄積する。ONU102−1は、グラントによって指定された時刻に、自己のバッファ内のデータの長さをレポートでOLT101に通知する。ONU102−1は、指示信号が挿入されたグラントをOLT101から受信するとともに、その指示信号に基づいて、自己のバッファ内のデータをレポートとともにOLT101に送信する。   For example, the ONU 102-1 receives an uplink information frame from the user terminal 111 via the home network 110. The ONU 102-1 temporarily stores the uplink information frame in the buffer. The ONU 102-1 notifies the OLT 101 of the length of data in its own buffer by a report at the time designated by the grant. The ONU 102-1 receives the grant with the instruction signal inserted from the OLT 101, and based on the instruction signal, transmits the data in its own buffer together with the report to the OLT 101.

図2は、図1に示したONUに接続されるユーザ端末の構成の一例を示した図である。図2を参照して、ONU102−1に接続されたユーザ端末111は、パーソナルコンピュータ(PC)111aと、セットトップボックス(STB)111bと、テレビジョン受像機(TV)111cと、電話機111dと、接続機器111eとを含む。   FIG. 2 is a diagram illustrating an example of a configuration of a user terminal connected to the ONU illustrated in FIG. Referring to FIG. 2, a user terminal 111 connected to the ONU 102-1 includes a personal computer (PC) 111a, a set top box (STB) 111b, a television receiver (TV) 111c, a telephone 111d, Connection device 111e.

図2に示した構成例では、パーソナルコンピュータ111a、セットトップボックス111bおよび接続機器111e(たとえばアダプタ、ルータ等と呼ばれる)がONU102−1に接続される。テレビジョン受像機(TV)111cはセットトップボックス111bを介してONU102−1に接続される。   In the configuration example shown in FIG. 2, a personal computer 111a, a set top box 111b, and a connection device 111e (referred to as an adapter, a router, etc.) are connected to the ONU 102-1. A television receiver (TV) 111c is connected to the ONU 102-1 via a set top box 111b.

一方、映像配信サーバ112が上位ネットワーク109(たとえばインターネット)に接続される。映像配信サーバ112は、PONシステム100を経由して、テレビジョン受像機111cのユーザに多チャネル配信サービスを提供する。   On the other hand, the video distribution server 112 is connected to the upper network 109 (for example, the Internet). The video distribution server 112 provides a multi-channel distribution service to the user of the television receiver 111c via the PON system 100.

セットトップボックス111bは、多チャンネルの中からユーザの好みのチャネルを選択するためのチューナとして機能する。ユーザは、図示しないリモコン等によってセットトップボックス111bを操作することにより、多チャネルの中から自己の所望する番組に対応するチャネルを選択する。この場合、セットトップボックス111bからONU102−1に、チャンネル選択リクエストが送られる。ONU102−1は、このチャンネル選択リクエストをPON回線104を経由してOLT101に送信する。   The set top box 111b functions as a tuner for selecting a user's favorite channel from among multiple channels. The user operates the set top box 111b with a remote controller or the like (not shown) to select a channel corresponding to his / her desired program from multiple channels. In this case, a channel selection request is sent from the set top box 111b to the ONU 102-1. The ONU 102-1 transmits this channel selection request to the OLT 101 via the PON line 104.

OLT101は、ONU102−1からのチャンネル選択リクエストを受付ける。OLT101は、映像配信サーバ112から上位ネットワーク109を経由して送られてきた多チャネルの映像データのうち、チャンネル選択リクエストに対応するチャネルの映像データに対して、ONU102−1を特定する識別子LLIDを付与する。OLT101が、多チャネルの映像データをPON回線104に送出すると、ONU102−1は、自己に対応する識別子LLIDが付与された映像データのみを取得する。これによりユーザは、所望の番組を視聴することができる。   The OLT 101 receives a channel selection request from the ONU 102-1. The OLT 101 assigns an identifier LLID for identifying the ONU 102-1 to the video data of the channel corresponding to the channel selection request among the multi-channel video data sent from the video distribution server 112 via the upper network 109. Give. When the OLT 101 transmits multi-channel video data to the PON line 104, the ONU 102-1 acquires only the video data to which the identifier LLID corresponding to itself is assigned. Thereby, the user can view a desired program.

電話機111dは、接続機器111eを介してONU102−1に接続される。これにより、ユーザは、たとえばVoIPサービスといった通話サービスを利用することができる。   The telephone 111d is connected to the ONU 102-1 via the connection device 111e. Thus, the user can use a call service such as a VoIP service.

ユーザ端末111の構成は図2に示したように限定されるものではなく、ユーザが所望するサービスに応じて、図2に示した構成から変形可能である。たとえば、ONUに接続される機器は、任意に選択可能である。別の例では、宅側ネットワーク110を構築するために、他のネットワーク機器(たとえばハブ(HUB)、ルータ等)が用いられてもよい。さらに別の例では、テレビジョン受像機111cがセットトップボックス111bの機能を有していてもよい。   The configuration of the user terminal 111 is not limited as shown in FIG. 2, and can be modified from the configuration shown in FIG. 2 according to the service desired by the user. For example, a device connected to the ONU can be arbitrarily selected. In another example, other network devices (eg, a hub (HUB), a router, etc.) may be used to construct the home network 110. In yet another example, the television receiver 111c may have the function of the set top box 111b.

図3は、図1に示したOLTの機能ブロック図である。図3を参照して、OLT101は、上位処理部11と、基本通信部12とを含む。   FIG. 3 is a functional block diagram of the OLT shown in FIG. Referring to FIG. 3, OLT 101 includes an upper processing unit 11 and a basic communication unit 12.

上位処理部11は、たとえば、階層化された通信プロトコルの上位レイヤを司る。基本通信部12は、たとえば階層化された通信プロトコルの下位レイヤを司る。基本通信部12は、上位処理部11によって制御される下位処理部である。基本通信部12は、上位処理部11の一部あるいは全部の処理が一時的に停止した場合にも、通信を継続できるように構成される。   The upper processing unit 11 controls, for example, an upper layer of a layered communication protocol. The basic communication unit 12 manages, for example, a lower layer of a layered communication protocol. The basic communication unit 12 is a lower processing unit controlled by the upper processing unit 11. The basic communication unit 12 is configured to continue communication even when part or all of the processing of the upper processing unit 11 is temporarily stopped.

本発明の実施の形態では、階層化された通信プロトコルは、OSI(Open Systems Interconnection)参照モデルに従う通信プロトコルであり、「上位レイヤ」とは、たとえば、第3層(ネットワーク層)およびそれより上の階層である。一方、「下位レイヤ」とは、たとえば、OSI参照モデルの第1層(物理層)および第2層(データリンク層)である。「下位レイヤ」(特にデータリンク層)のプロトコルは、MPCP(Multi-Point Control Protocol)およびOAM(Operations, Administration and Maintenance)プロトコルを含むがこれらに限定されない。   In the embodiment of the present invention, the layered communication protocol is a communication protocol in accordance with an OSI (Open Systems Interconnection) reference model, and the “upper layer” is, for example, the third layer (network layer) and higher. It is a hierarchy of. On the other hand, the “lower layer” is, for example, the first layer (physical layer) and the second layer (data link layer) of the OSI reference model. "Lower layer" (especially data link layer) protocols include, but are not limited to, MPCP (Multi-Point Control Protocol) and OAM (Operations, Administration and Maintenance) protocols.

基本通信部12は、光インターフェイス(IF)部15と、通信処理部16と、上位インターフェイス(IF)部18とを含む。   The basic communication unit 12 includes an optical interface (IF) unit 15, a communication processing unit 16, and an upper interface (IF) unit 18.

上位処理部11と通信処理部16とは互いに通信を行なう。上位処理部11および通信処理部16の間の通信に用いられるプロトコルは、たとえばTCP/IPである。   The host processing unit 11 and the communication processing unit 16 communicate with each other. A protocol used for communication between the host processing unit 11 and the communication processing unit 16 is, for example, TCP / IP.

光インターフェイス部15は、PON回線104(光ファイバ)と接続される。光インターフェイス部15は、PON回線104から受信した光信号(上り信号)を電気信号に変換する一方、入力される電気信号(下り信号)を光信号に変換してPON回線104にその光信号を送出する。   The optical interface unit 15 is connected to the PON line 104 (optical fiber). The optical interface unit 15 converts the optical signal (upstream signal) received from the PON line 104 into an electrical signal, while converting the input electrical signal (downstream signal) into an optical signal and sends the optical signal to the PON line 104. Send it out.

通信処理部16は、ONUからOLT101に送られた上り信号がデータ信号であると判別すると、当該データ信号をOLT101から上位ネットワーク109へと送信するための各種の処理を実行する。また、通信処理部16は、上位ネットワーク109からOLT101に送られた下り信号(データ信号)を、PON回線104を通じてONUに送信するための各種の処理を実行する。   When the communication processing unit 16 determines that the uplink signal transmitted from the ONU to the OLT 101 is a data signal, the communication processing unit 16 executes various processes for transmitting the data signal from the OLT 101 to the upper network 109. Further, the communication processing unit 16 executes various processes for transmitting a downstream signal (data signal) transmitted from the upper network 109 to the OLT 101 to the ONU through the PON line 104.

さらに通信処理部16は、OLT101に制御フレームが伝送された場合には、当該制御フレームを上位処理部11に送信する。また、OLT101からONUに制御フレームを伝送すべき場合、通信処理部16は、ONUに送出されるべき制御フレームを上位処理部11から受信して、当該制御フレームをPON回線104へと送出するための処理を実行する。   Further, when a control frame is transmitted to the OLT 101, the communication processing unit 16 transmits the control frame to the upper processing unit 11. Further, when a control frame is to be transmitted from the OLT 101 to the ONU, the communication processing unit 16 receives the control frame to be sent to the ONU from the host processing unit 11 and sends the control frame to the PON line 104. Execute the process.

上位処理部11にはファームウェアが実装される。新たな機能の追加、および問題点の改修などの理由により、上位処理部11のファームウェアが新しいファームウェアに更新されることがある。上位処理部11のファームウェアの更新期間中は上位処理部11の少なくとも一部の処理が停止される。ファームウェアの更新による上位処理部11の停止期間は、たとえば数秒間であるがこれに限定されない。   Firmware is mounted on the host processing unit 11. The firmware of the host processing unit 11 may be updated to new firmware for reasons such as addition of a new function or modification of a problem. During the firmware update period of the upper processing unit 11, at least a part of the processing of the upper processing unit 11 is stopped. The stop period of the upper processing unit 11 due to the firmware update is, for example, several seconds, but is not limited thereto.

上位処理部11の少なくとも一部の処理を一時的に停止している間であっても下位処理部13は動作を継続する。これによって、OLTとONUとの間のデータ通信が途絶えることを防ぐことができる。基本通信部12による通信を可能にしながら上位処理部11のファームウェアを更新することを、以下では「無瞬断ファームウェア更新」と呼ぶ。   Even when at least part of the processing of the upper processing unit 11 is temporarily stopped, the lower processing unit 13 continues to operate. Thereby, it is possible to prevent the data communication between the OLT and the ONU from being interrupted. Updating the firmware of the host processing unit 11 while enabling communication by the basic communication unit 12 is hereinafter referred to as “non-instantaneous firmware update”.

無瞬断ファームウェア更新が実行されている間も、下位処理部13は、初期の設定に従って通信を継続する。「初期の設定」とは、たとえばOLT101の起動時の設定である。上位処理部11のファームウェアが更新された場合には、その更新を基本通信部12の動作に反映させる必要がある。   While the uninterruptible firmware update is being executed, the lower processing unit 13 continues communication according to the initial setting. The “initial setting” is, for example, a setting when the OLT 101 is activated. When the firmware of the host processing unit 11 is updated, the update needs to be reflected in the operation of the basic communication unit 12.

本発明の実施の形態によれば、上位処理部11のファームウェアが更新されると、上位処理部11は、基本通信部12の機能を設定する。「機能の設定」は、たとえば、新しい機能の追加、既存の機能の修正、変更の必要のない機能の維持、不要な機能の削除(機能の無効化)などを含むがこれらに限定されるものではない。以下、基本通信部12の機能の設定に関する各実施の形態を詳細に説明する。   According to the embodiment of the present invention, when the firmware of the upper processing unit 11 is updated, the upper processing unit 11 sets the function of the basic communication unit 12. “Function setting” includes, but is not limited to, adding new functions, modifying existing functions, maintaining functions that do not need to be changed, deleting unnecessary functions (disabling functions), etc. is not. Hereinafter, each embodiment regarding the setting of the function of the basic communication unit 12 will be described in detail.

[実施の形態1]
図4は、図3に示した上位処理部11の機能ブロック図である。図4を参照して、上位処理部11は、更新部21と、情報取得部22と、機能設定部23と、下位制御部24と、記憶部25とを含む。
[Embodiment 1]
FIG. 4 is a functional block diagram of the upper processing unit 11 shown in FIG. With reference to FIG. 4, the upper processing unit 11 includes an update unit 21, an information acquisition unit 22, a function setting unit 23, a lower control unit 24, and a storage unit 25.

更新部21は、上位処理部11が有するファームウェアを、新しいファームウェアへと更新する。具体的には、更新部21は、OLT101の外部から新しいファームウェアを取得する。新しいファームウェアは、ネットワークを通じて、あるいは、CD−ROM、DVD等の記録媒体を通じてOLT101に提供される。更新部21は、たとえば、新しいファームウェアを記憶部25に一旦格納する。次に、更新部21は、たとえばオペレータの指示に従って、記憶部25から新しいファームウェアを読み出すとともに、現在のファームウェアを、その新しいファームウェアに更新する。ファームウェアの更新中には、上位処理部11の少なくとも一部の機能が停止する。   The update unit 21 updates the firmware included in the host processing unit 11 to new firmware. Specifically, the update unit 21 acquires new firmware from outside the OLT 101. The new firmware is provided to the OLT 101 through a network or a recording medium such as a CD-ROM or DVD. The update unit 21 temporarily stores new firmware in the storage unit 25, for example. Next, the updating unit 21 reads out new firmware from the storage unit 25, for example, in accordance with an operator instruction, and updates the current firmware to the new firmware. During the firmware update, at least some of the functions of the upper processing unit 11 are stopped.

情報取得部22は、基本通信部12から、上位処理部11によって設定された機能に関する情報を取得する。情報取得部22により取得された情報は、ファームウェアの更新前に設定された基本通信部12の機能に関する情報である。情報取得部22により取得された情報は、たとえば記憶部25に格納される。   The information acquisition unit 22 acquires information related to the function set by the upper processing unit 11 from the basic communication unit 12. The information acquired by the information acquisition unit 22 is information related to the function of the basic communication unit 12 set before updating the firmware. The information acquired by the information acquisition unit 22 is stored in the storage unit 25, for example.

機能設定部23は、ファームウェアの更新前には、記憶部25に記憶された情報に基づいて、基本通信部12の機能に関する設定を行なう。さらに、機能設定部23は、ファームウェアの更新後には、情報取得部22を通じて基本通信部12から取得された情報に基づいて、基本通信部12の機能を設定する。すなわち、機能設定部23は、ファームウェアの更新後に、基本通信部12の機能を再設定する。   The function setting unit 23 performs settings related to the function of the basic communication unit 12 based on the information stored in the storage unit 25 before updating the firmware. Furthermore, the function setting unit 23 sets the function of the basic communication unit 12 based on the information acquired from the basic communication unit 12 through the information acquisition unit 22 after the firmware is updated. That is, the function setting unit 23 resets the function of the basic communication unit 12 after updating the firmware.

下位制御部24は、ファームウェアの更新前および更新中には、記憶部25から更新前のパラメータを読出して、そのパラメータに従って基本通信部12を制御する。下位制御部24は、ファームウェアの更新後には、記憶部25から更新後のパラメータを読出して、そのパラメータに従って基本通信部12を制御する。   The lower control unit 24 reads out the parameters before the update from the storage unit 25 before and during the firmware update, and controls the basic communication unit 12 according to the parameters. After the firmware is updated, the lower control unit 24 reads the updated parameter from the storage unit 25 and controls the basic communication unit 12 according to the parameter.

記憶部25は、上位処理部11の機能の更新に関する各種の情報およびデータを記憶する。さらに、記憶部25は、上位処理部11の更新前の機能に関する各種の情報およびデータを記憶する。たとえばOLT101の起動時にファームウェアが起動される。ファームウェアの起動により、更新前の機能に関する各種の情報およびデータが、記憶部25に格納される。したがって、ファームウェアが更新されるまでは、OLT101の起動時に、更新前の機能に関する各種の情報およびデータが、記憶部25に格納される。   The storage unit 25 stores various types of information and data related to the function update of the upper processing unit 11. Furthermore, the storage unit 25 stores various types of information and data related to the functions of the host processing unit 11 before being updated. For example, the firmware is activated when the OLT 101 is activated. By starting the firmware, various types of information and data related to the function before the update are stored in the storage unit 25. Therefore, until the firmware is updated, various types of information and data related to the function before the update are stored in the storage unit 25 when the OLT 101 is activated.

図5は、図4に示したOLTのハードウェア構成例を模式的に示した図である。図5を参照して、OLT101は、CPU31と、制御LSI(Large Scale Integrated circuit)32と、光送受信回路33と、不揮発性メモリ34と、RAM35と、不揮発性メモリ36と、RAM37と、送受信回路38とを備える。   FIG. 5 is a diagram schematically illustrating a hardware configuration example of the OLT illustrated in FIG. Referring to FIG. 5, an OLT 101 includes a CPU 31, a control LSI (Large Scale Integrated circuit) 32, an optical transceiver circuit 33, a nonvolatile memory 34, a RAM 35, a nonvolatile memory 36, a RAM 37, and a transceiver circuit. 38.

CPU31にはファームウェアが実装されている。ファームウェアに従う処理をCPUが実行することにより、CPU31は、図3および図4に示した上位処理部11を実現する。   Firmware is mounted on the CPU 31. When the CPU executes processing according to the firmware, the CPU 31 realizes the upper processing unit 11 illustrated in FIGS. 3 and 4.

CPU31のファームウェアを更新することで、OLT101の高機能化、OLT101の機能の拡張等に柔軟に対応することができる。新しいファームウェアは、たとえばFTP等のプロトコルによって、ネットワーク115を通じて管理用インターフェイス39に送られる。CPU101は、管理用インターフェイス39を介して新しいファームウェアを受信すると、そのファームウェアを不揮発性メモリ34に格納する。   By updating the firmware of the CPU 31, it is possible to flexibly cope with the enhancement of the functionality of the OLT 101, the expansion of the functions of the OLT 101, and the like. The new firmware is sent to the management interface 39 through the network 115 by a protocol such as FTP. When the CPU 101 receives new firmware via the management interface 39, the CPU 101 stores the firmware in the nonvolatile memory 34.

CPU101に実装されたファームウェアを新しいファームウェアに更新するため、CPU101が再起動される。たとえばネットワーク115に接続されたコンピュータから送られたコマンドをCPU101が受信すると、CPU101は再起動を行なうとともに不揮発性メモリ34に格納されたファームウェアを読み出す。これによってファームウェアが更新される。   In order to update the firmware installed in the CPU 101 with new firmware, the CPU 101 is restarted. For example, when the CPU 101 receives a command sent from a computer connected to the network 115, the CPU 101 restarts and reads the firmware stored in the nonvolatile memory 34. As a result, the firmware is updated.

RAM35は、CPU31の処理の際にデータを一時的に格納する。たとえば図4に示した記憶部25をRAM35によって実現できる。記憶部25に記憶された情報が失われないように、CPU31は、適切なタイミングで、記憶部25に記憶された情報を不揮発性メモリ34あるいは他の不揮発性メモリに格納してもよい。   The RAM 35 temporarily stores data when the CPU 31 performs processing. For example, the storage unit 25 shown in FIG. The CPU 31 may store the information stored in the storage unit 25 in the non-volatile memory 34 or another non-volatile memory at an appropriate timing so that the information stored in the storage unit 25 is not lost.

制御LSI32は、たとえば通信処理部16(図3を参照)を実現する。RAM37は、制御LSI32の処理の際にデータを一時的に格納する。光送受信回路33は、光インターフェイス部15を実現する。同じく送受信回路38は、上位インターフェイス部18を実現する。   The control LSI 32 implements, for example, the communication processing unit 16 (see FIG. 3). The RAM 37 temporarily stores data when the control LSI 32 performs processing. The optical transmission / reception circuit 33 implements the optical interface unit 15. Similarly, the transmission / reception circuit 38 implements the upper interface unit 18.

図6は、ファームウェアの更新前における、上位処理部11による基本通信部12の初期化処理を説明するためのシーケンス図である。図7は、ファームウェアの更新後における、上位処理部11による基本通信部12の初期化処理を説明するためのシーケンス図である。   FIG. 6 is a sequence diagram for explaining the initialization processing of the basic communication unit 12 by the upper processing unit 11 before the firmware is updated. FIG. 7 is a sequence diagram for explaining the initialization processing of the basic communication unit 12 by the host processing unit 11 after the firmware is updated.

図6および図7を参照して、OLT(装置)が起動されると、上位処理部11は、基本通信部12の初期化を実行する。ファームウェアの更新前において、上位処理部11は、OLTの起動後に、基本通信部12に対して、機能A,B,Cについて、それぞれ、X,Y,Zという設定を実行する。なお、設定X,Y,Zは、たとえば、機能A,B,Cをそれぞれ実行するためのパラメータであってもよく、あるいは、パラメータの設定であってもよい。   With reference to FIGS. 6 and 7, when the OLT (apparatus) is activated, the upper processing unit 11 initializes the basic communication unit 12. Prior to the firmware update, the upper processing unit 11 performs settings of X, Y, and Z for the functions A, B, and C with respect to the basic communication unit 12 after the OLT is activated. The settings X, Y, and Z may be parameters for executing the functions A, B, and C, respectively, or may be parameter settings.

ファームウェアの更新によって、機能Aが修正される(たとえばプログラムのバグフィックスなど)。さらに、機能Dが追加される。機能Dは、たとえば基本通信部12が元来有しているが、更新前のファームウェアでは使用されていなかった機能である。   The function A is corrected by updating the firmware (for example, a bug fix of the program). Furthermore, function D is added. The function D is a function that the basic communication unit 12 originally has, for example, but was not used in the firmware before the update.

なお、機能A〜Dは特に限定されるものではない。基本通信部12の設定の例として、たとえば帯域の設定(Service Level Agreement)あるいはネットワークモデルの設定などを挙げることができる。   The functions A to D are not particularly limited. As an example of the setting of the basic communication unit 12, for example, a band setting (Service Level Agreement) or a network model setting can be cited.

上位処理部11は、OLTの起動後に、基本通信部12に対して、機能A,B,C,Dについて、それぞれ、X’,Y,Z,Wという設定を実行する。つまり、設定XがX’に修正されるとともに、設定Wが追加される。   After the OLT is activated, the upper processing unit 11 performs settings of X ′, Y, Z, and W for the functions A, B, C, and D with respect to the basic communication unit 12, respectively. That is, the setting X is corrected to X ′ and the setting W is added.

図6および図7に示すように、OLT101を再起動することにより機能を更新することができる。しかし、OLT101を再起動すると、OLTの処理が一時的に停止する。このため通信システムへの影響が大きくなる。したがって、OLT101を停止させることなくファームウェアを更新することが必要となる。ただし、OLT101の起動後にファームウェアを更新しただけでは、次に説明するような課題が発生する可能性がある。   As shown in FIGS. 6 and 7, the function can be updated by restarting the OLT 101. However, when the OLT 101 is restarted, the OLT process temporarily stops. For this reason, the influence on a communication system becomes large. Therefore, it is necessary to update the firmware without stopping the OLT 101. However, if only the firmware is updated after the OLT 101 is activated, the following problems may occur.

図8に示すように、OLT101の起動時には、更新前のファームウェアにより、機能A,B,Cが、それぞれX,Y,Zに設定される。この状態で、OLT101を停止させることなく(無瞬断で)ファームウェアが更新される。本来は、設定XがX’に修正されるとともに、設定Wが追加されなければならない。しかし基本通信部12の設定は、OLT101の起動時のままである。ファームウェアが更新されたにもかかわらず、基本通信部12の機能はファームウェアの更新前のままであるため、期待される動作が実行されない。   As shown in FIG. 8, when the OLT 101 is activated, the functions A, B, and C are set to X, Y, and Z, respectively, by the firmware before update. In this state, the firmware is updated without stopping the OLT 101 (without interruption). Originally, setting X must be modified to X 'and setting W must be added. However, the setting of the basic communication unit 12 remains when the OLT 101 is activated. Although the firmware is updated, the function of the basic communication unit 12 remains the same as before the firmware update, and thus the expected operation is not performed.

図9は、本発明の第1の実施の形態による、OLTの機能の更新処理を説明するためのシーケンス図である。図9を参照して、ファームウェアの更新前と更新後で実施される基本通信部12の初期化は、図6および図7でそれぞれ示された初期化処理と同じである。   FIG. 9 is a sequence diagram for explaining OLT function update processing according to the first embodiment of the present invention. Referring to FIG. 9, the initialization of basic communication unit 12 performed before and after the firmware update is the same as the initialization process shown in FIGS. 6 and 7, respectively.

まずOLT101の起動時に、上位処理部11は、基本通信部12の初期化を実行する。上位処理部11は、基本通信部12に対して、機能A,B,Cについて、それぞれ、パラメータX,Y,Zを設定する。   First, when the OLT 101 is activated, the upper processing unit 11 initializes the basic communication unit 12. The host processing unit 11 sets parameters X, Y, and Z for the functions A, B, and C, respectively, with respect to the basic communication unit 12.

次に、ファームウェアが更新される。ファームウェアが更新される間、上位処理部11が停止するものの、基本通信部12は動作している。なお、上位処理部11の全体が停止していなくてもよい。たとえば下位制御部24(図4参照)のみが基本通信部12の制御のために動作し続けていてもよい。   Next, the firmware is updated. While the upper processing unit 11 is stopped while the firmware is updated, the basic communication unit 12 is operating. Note that the entire upper processing unit 11 does not have to be stopped. For example, only the lower control unit 24 (see FIG. 4) may continue to operate for the control of the basic communication unit 12.

ファームウェアの更新によって、機能A,B,C,Dが実行可能となる。ファームウェアの更新が完了すると、上位処理部11は基本通信部12から、機能に関するパラメータを情報として取得する。   The functions A, B, C, and D can be executed by updating the firmware. When the update of the firmware is completed, the upper processing unit 11 acquires a parameter related to the function from the basic communication unit 12 as information.

具体的には上位処理部11は、基本通信部12に対して、機能A,B,C,Dの各々に関するパラメータを問い合わせる。基本通信部12は、上位処理部11からの問い合わせに応答して、各機能のパラメータを上位処理部11に送信する。   Specifically, the upper processing unit 11 inquires of the basic communication unit 12 about parameters regarding each of the functions A, B, C, and D. In response to the inquiry from the upper processing unit 11, the basic communication unit 12 transmits parameters of each function to the upper processing unit 11.

この例では、上位処理部11は、たとえば機能A,B,C,Dの順に、基本通信部12に対してパラメータを問い合わせる。基本通信部12は、機能AのパラメータであるXを上位処理部11に送信する。   In this example, the upper processing unit 11 inquires of the basic communication unit 12 about parameters in the order of functions A, B, C, and D, for example. The basic communication unit 12 transmits X, which is a parameter of the function A, to the upper processing unit 11.

更新後のファームウェアでは機能AのパラメータがX’に設定される。基本通信部12から上位処理部11に送られたパラメータXは、X’と異なる。したがって、上位処理部11は、機能AのパラメータをX’に更新するとともに、そのパラメータX’を基本通信部12に伝送する。   In the updated firmware, the parameter of function A is set to X ′. The parameter X sent from the basic communication unit 12 to the upper processing unit 11 is different from X ′. Accordingly, the upper processing unit 11 updates the parameter of the function A to X ′ and transmits the parameter X ′ to the basic communication unit 12.

基本通信部12は、パラメータX’を用いて機能Aに対応する動作を実行することができる。したがって機能Aの修正が基本通信部12に反映される。   The basic communication unit 12 can execute an operation corresponding to the function A using the parameter X ′. Therefore, the correction of the function A is reflected in the basic communication unit 12.

同じように、上位処理部11は、機能B,Cのパラメータについて基本通信部12に問い合わせる。基本通信部12は、問い合わせに応答して、機能BのパラメータYおよび機能CのパラメータZを上位処理部11に送信する。更新後のファームウェアでは、機能B,Cは変更されていない。つまり、機能B,Cのパラメータは、それぞれY,Zのままである。基本通信部12から上位処理部11に送られたパラメータと、更新後のファームウェアにより設定されるべきパラメータとが一致しているので、上位処理部11は機能B,Cのパラメータを更新しない。   Similarly, the upper processing unit 11 inquires of the basic communication unit 12 about the parameters of the functions B and C. In response to the inquiry, the basic communication unit 12 transmits the parameter Y of the function B and the parameter Z of the function C to the upper processing unit 11. In the updated firmware, the functions B and C are not changed. That is, the parameters of functions B and C remain Y and Z, respectively. Since the parameter sent from the basic communication unit 12 to the upper processing unit 11 matches the parameter to be set by the updated firmware, the upper processing unit 11 does not update the parameters of the functions B and C.

さらに、上位処理部11は、機能Dのパラメータについて基本通信部12に問い合わせる。機能Dは、更新後のファームウェアにより追加された機能である。基本通信部12は、上位処理部11からの問い合わせに応答して、機能Dのパラメータが設定されていないことを上位処理部11に通知する。この場合、基本通信部12は、パラメータが設定されていないことを示す所定値(たとえばデフォルト値)を上位処理部11に送信してもよい。   Further, the upper processing unit 11 inquires of the basic communication unit 12 about the parameter of the function D. Function D is a function added by the updated firmware. In response to the inquiry from the upper processing unit 11, the basic communication unit 12 notifies the upper processing unit 11 that the function D parameter is not set. In this case, the basic communication unit 12 may transmit a predetermined value (for example, a default value) indicating that no parameter is set to the upper processing unit 11.

上位処理部11は、設定のパラメータが異なる場合(機能Aについての問い合わせの場合)と同様に、機能DのパラメータWを基本通信部12に送る。基本通信部12は、パラメータWを用いて機能Dに対応する動作を実行することができる。したがって、基本通信部12に機能Dが追加される。   The host processing unit 11 sends the parameter W of the function D to the basic communication unit 12 as in the case where the setting parameters are different (in the case of an inquiry about the function A). The basic communication unit 12 can execute an operation corresponding to the function D using the parameter W. Therefore, the function D is added to the basic communication unit 12.

なお、基本通信部12のある特定の機能を別の機能に置き換えてもよい。この場合、上位処理部11は、現存の機能を無効化するためのパラメータと、新しい機能を有効化するためのパラメータとを送ることができる。また、上位処理部11は、現存のある機能を廃止するためのパラメータを基本通信部12に送ってもよい。   A specific function of the basic communication unit 12 may be replaced with another function. In this case, the upper processing unit 11 can send a parameter for invalidating the existing function and a parameter for validating the new function. Further, the upper processing unit 11 may send a parameter for abolishing an existing function to the basic communication unit 12.

図10は、OLT101の起動時の処理を説明するためのフローチャートである。図10を参照して、ステップS1において、上位処理部11は、ファームウェアを起動する。ステップS2において、上位処理部11は、基本通信部12を初期化する。具体的には、上位処理部11(たとえば下位制御部24)は、各機能に対応するパラメータを記憶部25(図4を参照)から読み出すとともに、そのパラメータを基本通信部12に設定する。   FIG. 10 is a flowchart for explaining processing at the time of starting the OLT 101. Referring to FIG. 10, in step S1, upper processing unit 11 activates firmware. In step S <b> 2, the upper processing unit 11 initializes the basic communication unit 12. Specifically, the upper processing unit 11 (for example, the lower control unit 24) reads out parameters corresponding to each function from the storage unit 25 (see FIG. 4) and sets the parameters in the basic communication unit 12.

ステップS3において、上位処理部11は、基本通信部12を動作させる。基本通信部12は、起動時に設定された機能を実行することができる。ステップS3以後、基本通信部12は、定常運転を行なう。ステップS3の処理によって、起動時の処理が完了する。   In step S <b> 3, the upper processing unit 11 operates the basic communication unit 12. The basic communication unit 12 can execute the function set at the time of activation. After step S3, the basic communication unit 12 performs steady operation. The process at the start is completed by the process of step S3.

図11は、無瞬断のファームウェア更新による、基本通信部12の機能の更新処理を説明するためのフローチャートである。   FIG. 11 is a flowchart for explaining the update process of the function of the basic communication unit 12 by the firmware update without interruption.

図4および図11を参照して、ステップS11において、上位処理部11は、無瞬断のファームウェア更新を実行するかどうかを判断する。たとえば、ファームウェアの更新のためのコマンドを更新部21が受信する。この場合、更新部21は、無瞬断のファームウェア更新を実行すると判断する。一方、新しいファームウェア、あるいは、ファームウェアの更新のためのコマンドを更新部21が受信していない場合には、更新部21は、無瞬断のファームウェア更新を実行しないと判断する。   Referring to FIGS. 4 and 11, in step S <b> 11, upper processing unit 11 determines whether to perform uninterrupted firmware update. For example, the update unit 21 receives a command for updating the firmware. In this case, the update unit 21 determines to perform uninterrupted firmware update. On the other hand, when the update unit 21 has not received new firmware or a command for updating the firmware, the update unit 21 determines not to perform uninterrupted firmware update.

更新部21が、無瞬断のファームウェア更新を実行すると判断した場合(ステップS11においてYES)、更新部21は、ファームウェアを更新する(ステップS12)。一方、更新部21が、無瞬断のファームウェア更新を実行しないと判断した場合(ステップS11においてNO)、全体の処理は終了する。この場合、たとえば一定の周期の経過後にステップS11の処理が実行されてもよい。   When the update unit 21 determines to perform uninterrupted firmware update (YES in step S11), the update unit 21 updates the firmware (step S12). On the other hand, when the update unit 21 determines not to perform uninterrupted firmware update (NO in step S11), the entire process ends. In this case, for example, the process of step S11 may be executed after a certain period has elapsed.

ファームウェアが更新された(ステップS12)後、ステップS13において、情報取得部22は、基本通信部12から、ある機能に関するパラメータを取得する。ステップS14において、機能設定部23は、取得されたパラメータが、設定すべきパラメータと一致しているかどうかを判断する。   After the firmware is updated (step S12), in step S13, the information acquisition unit 22 acquires a parameter related to a certain function from the basic communication unit 12. In step S14, the function setting unit 23 determines whether the acquired parameter matches the parameter to be set.

取得されたパラメータが、設定すべきパラメータと一致している場合(ステップS14においてYES)、ステップS16において、機能設定部23は、更新後のファームウェアの各機能に対応するパラメータをすべてチェックしたかどうかを判定する。図9に示された例では、機能BのパラメータYは、ファームウェアの更新前のパラメータと同じである。したがって機能設定部23は、更新後のファームウェアの他の機能もチェックしたかどうかを判定する(ステップS16)。   If the acquired parameter matches the parameter to be set (YES in step S14), in step S16, whether function setting unit 23 has checked all parameters corresponding to each function of the updated firmware. Determine. In the example shown in FIG. 9, the parameter Y of the function B is the same as the parameter before updating the firmware. Therefore, the function setting unit 23 determines whether other functions of the updated firmware are also checked (step S16).

一方、取得されたパラメータが、設定すべきパラメータと異なる場合(ステップS14においてNO)、ステップS15において、機能設定部23は、取得されたパラメータを、設定すべきパラメータに更新する。下位制御部24は、その更新されたパラメータを基本通信部12へと伝送する。これにより、基本通信部12において、更新されたパラメータが設定される。   On the other hand, when the acquired parameter is different from the parameter to be set (NO in step S14), in step S15, the function setting unit 23 updates the acquired parameter to the parameter to be set. The lower control unit 24 transmits the updated parameter to the basic communication unit 12. Thereby, the updated parameter is set in the basic communication unit 12.

図9に示された例では、ファームウェアの更新によって、機能AのパラメータはXからX’に変更される。取得されたパラメータはXであり、設定すべきパラメータはX’である。この場合には、機能設定部23は、機能AのパラメータをX’に設定する。機能設定部23は、パラメータX’を基本通信部12へと伝送する。これにより基本通信部12は、更新された機能Aを実行するように動作することができる。   In the example shown in FIG. 9, the parameter of the function A is changed from X to X ′ by updating the firmware. The acquired parameter is X, and the parameter to be set is X '. In this case, the function setting unit 23 sets the parameter of the function A to X ′. The function setting unit 23 transmits the parameter X ′ to the basic communication unit 12. As a result, the basic communication unit 12 can operate to execute the updated function A.

また、機能Dは、更新されたファームウェアによって追加される。機能Dの場合、設定すべきパラメータはWであるのに対して、取得されたパラメータは、たとえばデフォルト値(機能Dが設定されていないことを示す値)である。あるいは、機能設定部23は、パラメータを取得することができない。この場合には機能設定部23は、機能DのパラメータをWに設定するとともに、パラメータWを基本通信部12へと伝送する。これにより基本通信部12は、追加された機能Dを実行するように動作することができる。   Function D is added by updated firmware. In the case of the function D, the parameter to be set is W, whereas the acquired parameter is, for example, a default value (a value indicating that the function D is not set). Or the function setting part 23 cannot acquire a parameter. In this case, the function setting unit 23 sets the parameter of the function D to W and transmits the parameter W to the basic communication unit 12. As a result, the basic communication unit 12 can operate to execute the added function D.

ステップS15の処理が実行された後、機能設定部23は、更新後のファームウェアの他の機能もチェックしたかどうかを判定する(ステップS16)。ステップS16において、更新後のファームウェアの各機能に対応するパラメータがすべてチェックされたと判定された場合(ステップS16においてYES)、処理はステップS17に進む。ステップS17において、下位制御部24は、基本通信部12を、設定されたパラメータに従って定常運転させる。   After the process of step S15 is executed, the function setting unit 23 determines whether other functions of the updated firmware are also checked (step S16). If it is determined in step S16 that all parameters corresponding to the functions of the updated firmware have been checked (YES in step S16), the process proceeds to step S17. In step S <b> 17, the lower control unit 24 causes the basic communication unit 12 to perform a steady operation according to the set parameters.

以上説明するように、本発明の第1の実施の形態によれば、上位処理部11は、ファームウェアの更新後に、更新後の機能に関する情報(パラメータ)を、基本通信部12から取得する。上位処理部11は、この取得された情報(パラメータ)を設定すべき情報(パラメータ)へと更新して、基本通信部12に、更新後のパラメータを伝送する。これにより、基本通信部12は、更新後の機能を実行可能なように動作する。本発明の第1の実施の形態によれば、基本通信部12を停止させることなく、初期化処理を行なった状態と同様の状態を得ることができる。したがって、局側装置を停止させることなく、その機能を更新することができる。   As described above, according to the first embodiment of the present invention, the host processing unit 11 acquires information (parameters) related to the updated function from the basic communication unit 12 after updating the firmware. The upper processing unit 11 updates the acquired information (parameter) to information (parameter) to be set, and transmits the updated parameter to the basic communication unit 12. Thereby, the basic communication part 12 operate | moves so that the function after an update can be performed. According to the first embodiment of the present invention, a state similar to the state in which the initialization process is performed can be obtained without stopping the basic communication unit 12. Therefore, the function can be updated without stopping the station side device.

さらに第1の実施の形態によれば、下位制御部24は、ファームウェアの更新中に、更新前の設定に従って基本通信部12を制御する。これにより、上位処理部11のファームウェアを更新している間にも通信を維持することができる。   Furthermore, according to the first embodiment, the lower-level control unit 24 controls the basic communication unit 12 according to the setting before the update during the firmware update. Thereby, it is possible to maintain communication while updating the firmware of the upper processing unit 11.

[実施の形態2]
本発明の第2の実施の形態によれば、上位処理部11は、基本通信部12だけでなく、ONUに対する機能設定を実行する。この点で第2の実施の形態は第1の実施の形態と異なる。なお、第2の実施の形態に係るOLTは、図4および図5に示した構成を有する。したがって第2の実施の形態に係るOLTの構成については以後の説明を繰り返さない。
[Embodiment 2]
According to the second embodiment of the present invention, the upper processing unit 11 performs function setting for not only the basic communication unit 12 but also the ONU. In this respect, the second embodiment is different from the first embodiment. Note that the OLT according to the second embodiment has the configuration shown in FIGS. Therefore, the following description is not repeated for the configuration of the OLT according to the second embodiment.

ONU102がOLT101と論理的につながった(リンクアップした)後、あるいはOLT101がONU102を認証した後に、上位処理部11は基本通信部12およびONU102に対して機能に関するパラメータの設定を行なう。なお、この明細書では、ONUの「論理的接続」とは、上記のリンクアップおよびOLTによるONUの認証の両方を包含する。   After the ONU 102 is logically connected (linked up) with the OLT 101 or after the OLT 101 authenticates the ONU 102, the upper processing unit 11 sets parameters related to functions for the basic communication unit 12 and the ONU 102. In this specification, the “logical connection” of the ONU includes both the link-up and the ONU authentication by the OLT.

図12は、ファームウェアの更新前における、上位処理部11による基本通信部12およびONU102の初期化処理を説明するためのシーケンス図である。図13は、ファームウェアの更新後における、上位処理部11による基本通信部12およびONU102の初期化処理を説明するためのシーケンス図である。   FIG. 12 is a sequence diagram for explaining the initialization processing of the basic communication unit 12 and the ONU 102 by the upper processing unit 11 before the firmware is updated. FIG. 13 is a sequence diagram for explaining the initialization processing of the basic communication unit 12 and the ONU 102 by the upper processing unit 11 after the firmware is updated.

図12および図13を参照して、ONU102のリンクアップが発生すると、上位処理部11は、基本通信部12およびONU102に対してリンクアップ処理を実行する。また、ONU102の認証イベントが発生した場合にも上位処理部11は、基本通信部12およびONU102に対して認証時処理を実行する。なお、図12および図13ではONU102のリンクアップおよび認証イベントをまとめて示すとともに、リンクアップ処理および認証時処理をまとめて示す。   Referring to FIG. 12 and FIG. 13, when the link up of ONU 102 occurs, host processing unit 11 executes link up processing for basic communication unit 12 and ONU 102. Further, even when an authentication event of the ONU 102 occurs, the higher order processing unit 11 executes authentication processing for the basic communication unit 12 and the ONU 102. 12 and 13 collectively show the link-up and authentication events of the ONU 102, and collectively show the link-up process and the authentication time process.

ファームウェアの更新前のリンクアップ処理または認証時処理において、上位処理部11は、基本通信部12に対して、機能P,Rについて、それぞれ、I,Kという設定を実行する。さらに上位処理部11は、ONU102に対して、機能Qについて、Jという設定を実行する。設定I,J,Kは、それぞれ機能P,Q,Rを実行するためのパラメータ、あるいはそのパラメータの設定である。なお、ONUの設定としては、たとえばネットワークモデルの設定、暗号の設定などがある。   In the link-up process or the process at the time of authentication before the firmware update, the upper processing unit 11 sets the functions P and R to the basic communication unit 12 as I and K, respectively. Further, the upper processing unit 11 performs setting J for the function Q to the ONU 102. The settings I, J, and K are parameters for executing the functions P, Q, and R, or settings of the parameters, respectively. Note that ONU settings include, for example, network model settings and encryption settings.

ファームウェアの更新によって、機能Rが修正されるとともに機能Sが追加される。上位処理部11は、リンクアップ処理または認証時処理において、基本通信部12に対して、機能P,Rについて、それぞれ、I,K’という設定を実行する。さらに上位処理部11は、ONU102に対して、機能Q,Sについて、それぞれ、J,Lという設定を実行する。   The function R is corrected and the function S is added by updating the firmware. In the link-up process or the authentication process, the upper processing unit 11 performs settings of I and K ′ for the functions P and R with respect to the basic communication unit 12, respectively. Further, the upper processing unit 11 performs settings of J and L for the functions Q and S, respectively, with respect to the ONU 102.

図14は、無瞬断のファームウェア更新によるONUの機能の更新に関する課題を説明するための図である。図14を参照して、OLT101が起動されて更新前のファームウェアが実行される。これにより基本通信部12の初期化処理が実行される。この初期化処理は、第1の実施の形態で説明した処理と同じであるので以後の説明を繰り返さない。   FIG. 14 is a diagram for describing a problem related to updating of ONU functions by non-instantaneous firmware update. Referring to FIG. 14, the OLT 101 is activated and the firmware before update is executed. Thereby, the initialization process of the basic communication unit 12 is executed. Since this initialization process is the same as the process described in the first embodiment, the following description will not be repeated.

次に、ONU102のリンクアップまたは認証イベントが発生する。応じて上位処理部11は、リンクアップ処理または認証時処理を実行する。この処理は図12に示された処理と同様である。   Next, a link up or authentication event of the ONU 102 occurs. Accordingly, the host processing unit 11 executes link-up processing or authentication processing. This process is the same as the process shown in FIG.

続いて、OLT101を停止させることなく(無瞬断で)ファームウェアが更新される。しかしながら、ONU102が既にリンクアップまたは認証されているために、リンクアップ処理または認証時処理は実行されない。このため、基本通信部12およびONU102の機能はファームウェアの更新前のままである。第2の実施の形態では、第1の実施の形態と同様に、ファームウェアの更新後に、基本通信部12およびONU102の機能を更新するための処理を実行する。   Subsequently, the firmware is updated without stopping the OLT 101 (without interruption). However, since the ONU 102 has already been linked up or authenticated, the link up process or the authentication time process is not executed. For this reason, the functions of the basic communication unit 12 and the ONU 102 remain unchanged before the firmware update. In the second embodiment, as in the first embodiment, after the firmware is updated, processing for updating the functions of the basic communication unit 12 and the ONU 102 is executed.

図15は、本発明の第2の実施の形態による、OLTの基本通信部および、ONUの機能の更新処理を説明するためのシーケンス図である。なお、OLT101の起動からファームウェアの更新が終了するまでの処理は図14に示された処理と同様である。   FIG. 15 is a sequence diagram for explaining the OLT basic communication unit and ONU function update processing according to the second embodiment of the present invention. The process from the start of the OLT 101 to the end of the firmware update is the same as the process shown in FIG.

図15を参照して、ファームウェアの無瞬断更新を実施後、上位処理部11は、基本通信部12およびOLT101に接続されたすべてのONUに対して、各機能のパラメータを取得する。この例では、OLT101の上位処理部11は、機能P,Q,R,Sについての設定値を基本通信部12またはONUから取得する。   Referring to FIG. 15, after performing non-instantaneous updating of firmware, upper processing unit 11 acquires parameters of each function for all ONUs connected to basic communication unit 12 and OLT 101. In this example, the upper processing unit 11 of the OLT 101 acquires setting values for the functions P, Q, R, and S from the basic communication unit 12 or the ONU.

具体的には、上位処理部11は、機能P,Rの各々に関するパラメータを基本通信部12に問い合わせる。基本通信部12は、上位処理部11からの問い合わせに応答して、機能Pに関するパラメータI、および機能Rに関するパラメータKを上位処理部11に送信する。   Specifically, the upper processing unit 11 inquires the basic communication unit 12 about parameters relating to each of the functions P and R. The basic communication unit 12 transmits a parameter I related to the function P and a parameter K related to the function R to the upper processing unit 11 in response to the inquiry from the upper processing unit 11.

さらに、上位処理部11は、機能Q,Sの各々に関するパラメータをONU102に問い合わせる。ONU102は、上位処理部11からの問い合わせに応答して、機能Qに関するパラメータJをOLT101に送信する。機能Sは設定されていないため、ONU102は、機能Sが設定されていないことを示す情報、または、デフォルト値をOLT101に送信する。ONU102からOLT101に送信されたパラメータは、基本通信部12によって受信される。基本通信部12は、そのパラメータを上位処理部11に転送する。   Further, the upper processing unit 11 inquires of the ONU 102 about parameters relating to each of the functions Q and S. The ONU 102 transmits a parameter J related to the function Q to the OLT 101 in response to the inquiry from the upper processing unit 11. Since the function S is not set, the ONU 102 transmits information indicating that the function S is not set or a default value to the OLT 101. The parameters transmitted from the ONU 102 to the OLT 101 are received by the basic communication unit 12. The basic communication unit 12 transfers the parameter to the upper processing unit 11.

機能P,Qは、変更されていないので、ファームウェアの更新後の機能P,Qのパラメータは、それぞれI,Jである。しかしながら、機能Rについて、ファームウェアの更新後に設定されるべきパラメータはK’である。ファームウェアの更新前のパラメータ(取得されたパラメータ)はKである。したがって上位処理部11は、機能RのパラメータをKからK’へと更新するとともに、パラメータK’を基本通信部12へと送信する。これにより機能Rが更新される。   Since the functions P and Q are not changed, the parameters of the functions P and Q after the firmware update are I and J, respectively. However, for the function R, the parameter to be set after updating the firmware is K ′. A parameter (acquired parameter) before updating the firmware is K. Accordingly, the upper processing unit 11 updates the parameter of the function R from K to K ′ and transmits the parameter K ′ to the basic communication unit 12. As a result, the function R is updated.

機能Sは、更新後のファームウェアにより追加された機能である。ONU102は、OLT101の上位処理部11からの問い合わせに応答して、機能Sのパラメータが設定されていないことを上位処理部11に通知する。上位処理部11は、設定すべきパラメータLを、基本通信部12を通じてONU102へと送信する。これにより、ONU102の機能に機能Sが追加される。   The function S is a function added by the updated firmware. In response to the inquiry from the upper processing unit 11 of the OLT 101, the ONU 102 notifies the upper processing unit 11 that the parameter of the function S is not set. The host processing unit 11 transmits the parameter L to be set to the ONU 102 through the basic communication unit 12. Thereby, function S is added to the function of ONU102.

図16は、無瞬断のファームウェア更新による、基本通信部およびONUの機能の更新処理を説明するためのフローチャートである。図11および図16を参照して、無瞬断のファームウェア更新による、OLTの基本通信部およびONUの機能の更新処理は、基本的には図11に示された処理と同様である。第2の実施の形態では、OLT101の上位処理部11(情報取得部22)は、基本通信部12だけでなく、OLT101に接続されるすべてのONUからも、更新後の機能に関するパラメータを取得する(ステップS13)。同じく、機能設定部23は、基本通信部12だけでなく、機能の変更および追加の対象に該当するすべてのONUに対して、設定すべきパラメータ(更新または追加されたパラメータ)を送信する(ステップS15)。ステップS17Aにおいて、下位制御部24は、基本通信部12およびONUを定常運転させる。   FIG. 16 is a flowchart for explaining the update process of the basic communication unit and the ONU function by the non-instantaneous firmware update. Referring to FIG. 11 and FIG. 16, the OLT basic communication unit and ONU function update processing by non-instantaneous firmware update is basically the same as the processing shown in FIG. 11. In the second embodiment, the upper processing unit 11 (information acquisition unit 22) of the OLT 101 acquires parameters related to the updated function not only from the basic communication unit 12 but also from all ONUs connected to the OLT 101. (Step S13). Similarly, the function setting unit 23 transmits parameters (updated or added parameters) to be set not only to the basic communication unit 12 but also to all ONUs corresponding to the function change and addition targets (steps). S15). In step S17A, the lower control unit 24 causes the basic communication unit 12 and the ONU to operate steadily.

本発明の第2の実施の形態によれば、局側装置の通信を継続させたまま、局側装置の機能だけでなく、ONUの機能も更新することができる。   According to the second embodiment of the present invention, it is possible to update not only the function of the station side apparatus but also the function of the ONU while the communication of the station side apparatus is continued.

[実施の形態3]
第2の実施の形態では、OLTの基本通信部およびONUの機能を更新する場合に、設定すべきパラメータを基本通信部およびONUに送る。しかしながら、基本通信部あるいはONUが予期されたように機能を更新することができないことも可能性として考えられる。たとえば、設定すべきパラメータがOLTからONUに伝送される途中で失われた場合には、ONUの機能が更新されないままになると考えられる。
[Embodiment 3]
In the second embodiment, when updating the basic communication unit of the OLT and the function of the ONU, parameters to be set are sent to the basic communication unit and the ONU. However, it is also possible that the basic communication unit or ONU cannot update the function as expected. For example, if a parameter to be set is lost during transmission from the OLT to the ONU, it is considered that the ONU function remains unupdated.

本発明の第3の実施の形態では、第2の実施の形態に比べて、より確実に、基本通信部およびONUの機能を更新するための方法が提供される。なお、第3の実施の形態に係るOLTは、図4および図5に示した構成を有する。したがって第3の実施の形態に係るOLTの構成については以後の説明を繰り返さない。   The third embodiment of the present invention provides a method for updating the functions of the basic communication unit and the ONU more reliably as compared to the second embodiment. Note that the OLT according to the third embodiment has the configuration shown in FIGS. Therefore, the following description is not repeated for the configuration of the OLT according to the third embodiment.

また、第3の実施の形態では、無瞬断のファームウェア更新による、基本通信部およびONUの機能の更新処理は、図16に示すフローチャートに従って実行可能である。   Further, in the third embodiment, the basic communication unit and ONU function update processing by uninterrupted firmware update can be executed according to the flowchart shown in FIG.

図17は、本発明の第3の実施の形態による、OLTの基本通信部および、ONUの機能の更新処理を説明するためのシーケンス図である。図15および図17を参照して、第3の実施の形態では、上位処理部11は、ある機能の設定のためのパラメータを基本通信部12およびONUに送った後で、再度、基本通信部12およびONUに、その機能に関するパラメータを再度問合わせる。   FIG. 17 is a sequence diagram for explaining the OLT basic communication unit and ONU function update processing according to the third embodiment of the present invention. Referring to FIGS. 15 and 17, in the third embodiment, upper processing unit 11 transmits a parameter for setting a certain function to basic communication unit 12 and ONU, and then re-enters the basic communication unit. 12 and ONU are again queried for parameters related to that function.

図17に示された例では、上位処理部11は、基本通信部12に対して、機能Rのパラメータを再度問い合わせる。基本通信部12は、機能RのパラメータK’を上位処理部11に送信する。上位処理部11は、基本通信部12からパラメータK’を受信することにより、機能Rが更新された(変更された)ことを確認する。   In the example illustrated in FIG. 17, the upper processing unit 11 inquires the basic communication unit 12 again about the parameters of the function R. The basic communication unit 12 transmits the parameter K ′ for the function R to the upper processing unit 11. The host processing unit 11 receives the parameter K ′ from the basic communication unit 12 and confirms that the function R has been updated (changed).

同じく、上位処理部11は、ONU102に対して、機能Sのパラメータを再度問い合わせる。ONU102は、機能SのパラメータLを上位処理部11に送信する。上位処理部11は、基本通信部12からパラメータLを受信することにより、機能SがONU102の機能に追加されたことを確認する。   Similarly, the upper processing unit 11 inquires the ONU 102 again about the parameter of the function S. The ONU 102 transmits the parameter L of the function S to the upper processing unit 11. The host processing unit 11 receives the parameter L from the basic communication unit 12 to confirm that the function S has been added to the function of the ONU 102.

なお、図16との対比が容易になるように、図17では、すべての機能の設定が完了した後で、上位処理部11が基本通信部12およびONU102に対して再問い合わせを行なう。ただし、再問い合わせのタイミングはこのように限定される必要がない。機能Rの更新を例に説明すると、たとえば上位処理部11は、設定すべきパラメータK’を基本通信部12に送り、続けて基本通信部12に問い合わせを行なってもよい。   In order to facilitate comparison with FIG. 16, in FIG. 17, after the setting of all functions is completed, the upper processing unit 11 makes a re-inquiry to the basic communication unit 12 and the ONU 102. However, the timing of the re-inquiry need not be limited in this way. The update of the function R will be described as an example. For example, the host processing unit 11 may send the parameter K ′ to be set to the basic communication unit 12 and subsequently inquire the basic communication unit 12.

また、1回目の再問い合わせの結果、パラメータが更新されていないことを確認した場合、上位処理部11は、パラメータの更新が確認できるまで、基本通信部12あるいはONU102に対して、設定すべきパラメータの送信と、問い合わせ(パラメータの取得)とを繰り返してもよい。   Further, when it is confirmed that the parameter has not been updated as a result of the first re-inquiry, the upper processing unit 11 sets the parameter to be set to the basic communication unit 12 or the ONU 102 until the parameter update can be confirmed. And the inquiry (acquisition of parameters) may be repeated.

図18は、OLT101の上位処理部11による、設定すべきパラメータの再問い合わせ処理を説明するためのフローチャートである。このフローチャートの処理は、たとえば、図16に示す処理とは独立に実行されてもよい。あるいは、図18に示された処理は、たとえば図16に示されるステップS16とステップS17Aとの間に実行されてもよい。   FIG. 18 is a flowchart for explaining a process for re-inquiring a parameter to be set by the upper processing unit 11 of the OLT 101. The process of this flowchart may be executed independently of the process shown in FIG. 16, for example. Alternatively, the process shown in FIG. 18 may be executed between step S16 and step S17A shown in FIG. 16, for example.

図4および図18を参照して、ステップS31において、情報取得部22は、基本通信部12あるいはONU102から、更新対象パラメータを取得する。「更新対象パラメータ」とは、変更された機能あるいは追加された機能に関連するパラメータである。たとえば図17に示したパラメータK’あるいはLが更新対象パラメータに該当する。   Referring to FIGS. 4 and 18, in step S <b> 31, information acquisition unit 22 acquires update target parameters from basic communication unit 12 or ONU 102. The “update target parameter” is a parameter related to the changed function or the added function. For example, the parameter K ′ or L shown in FIG. 17 corresponds to the update target parameter.

ステップS32において、機能設定部23は、取得されたパラメータが、設定すべきパラメータと一致しているかどうかを判断する。取得されたパラメータが、設定すべきパラメータと一致している場合(ステップS32においてYES)、処理は終了する。一方、取得されたパラメータが、設定すべきパラメータと異なる場合(ステップS14においてNO)、ステップS35において、機能設定部23は、取得されたパラメータを、設定すべきパラメータに更新する。機能設定部23は、その更新されたパラメータを基本通信部12あるいはONU102へと伝送する。   In step S32, the function setting unit 23 determines whether the acquired parameter matches the parameter to be set. If the acquired parameter matches the parameter to be set (YES in step S32), the process ends. On the other hand, when the acquired parameter is different from the parameter to be set (NO in step S14), in step S35, the function setting unit 23 updates the acquired parameter to the parameter to be set. The function setting unit 23 transmits the updated parameter to the basic communication unit 12 or the ONU 102.

なお、複数の機能が更新または追加される場合、ステップS31において、取得されるパラメータの数は、1つでもよく複数でもよい。ステップS31において取得されるパラメータの数が1つである場合、パラメータごとにステップS31〜S33の処理を実行することができる。ステップS31において取得されるパラメータの数が複数である場合、ステップS32,S33の処理は、複数のパラメータについて実行することができる。   When a plurality of functions are updated or added, the number of parameters acquired in step S31 may be one or more. When the number of parameters acquired in step S31 is one, the processing of steps S31 to S33 can be executed for each parameter. When there are a plurality of parameters acquired in step S31, the processes in steps S32 and S33 can be executed for a plurality of parameters.

以上のように第3の実施の形態によれば、設定すべきパラメータが、基本通信部12またはONU102において設定されたことが確認される。したがって第3の実施の形態によれば、第2の実施の形態に比べて、より確実に、基本通信部およびONUの機能を更新することができる。なお、第1の実施の形態においても、図18に示す処理を実行してもよい。すなわち、第1の実施の形態において、設定すべきパラメータが基本通信部12において正しく設定されたことを確認する処理が実行されてもよい。   As described above, according to the third embodiment, it is confirmed that the parameter to be set is set in the basic communication unit 12 or the ONU 102. Therefore, according to the third embodiment, the functions of the basic communication unit and the ONU can be updated more reliably than in the second embodiment. Note that the processing shown in FIG. 18 may also be executed in the first embodiment. That is, in the first embodiment, a process for confirming that the parameter to be set is correctly set in the basic communication unit 12 may be executed.

以上の実施の形態では、上位処理部11が実行するべきファームウェアの更新、基本通信部12(下位処理部)からの情報の取得、基本通信部12の機能設定、設定された機能に従う動作を基本通信部12(下位処理部)に実行させる制御、およびONU102の機能設定は、ファームウェアとは別に用意された手段で実施されるものとして説明した。しかしながら更新されるファームウェアが、たとえばCPUで実行されるプログラムである場合には、そのCPUが上記ファームウェア(プログラム)を実行することによって上記の一部またはすべての動作を実施することもできる。この場合には、ファームウェアの更新前およびファームウェアの更新後の両方で行なわれる動作については、更新前のファームウェアおよび更新後のファームウェアの両方が備えており、ファームウェアの更新後のみ行なわれる動作については、少なくとも更新後のファームウェアが備えていればよい。   In the above embodiment, the firmware update to be executed by the upper processing unit 11, the acquisition of information from the basic communication unit 12 (lower processing unit), the function setting of the basic communication unit 12, and the operation according to the set function are basically performed. The control executed by the communication unit 12 (lower processing unit) and the function setting of the ONU 102 have been described as being performed by means prepared separately from the firmware. However, when the firmware to be updated is a program executed by, for example, a CPU, the CPU can execute the above-described firmware (program) to execute the above-described part or all of the operations. In this case, both the pre-update firmware and the post-update firmware are provided for the operations that are performed both before and after the firmware update. For the operations that are performed only after the firmware update, It is sufficient that at least the updated firmware is provided.

今回開示された実施の形態はすべての点で例示であって制限的なものでないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time must be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

11 上位処理部、12 基本通信部、15 光インターフェイス部、16 通信処理部、18 上位インターフェイス部、21 更新部、22 情報取得部、23 機能設定部、24 下位制御部、25 記憶部、31 CPU、32 制御LSI、33 光送受信回路、34,36 不揮発性メモリ、35,37 RAM、38 送受信回路、39 管理用インターフェイス、100 PONシステム、101 局側装置(OLT)、102 宅側装置(ONU)、104 PON回線、105 スプリッタ、109 上位ネットワーク、110 宅側ネットワーク、111 ユーザ端末、111a パーソナルコンピュータ、111b セットトップボックス、111c テレビジョン受像機、111d 電話機、111e 接続機器、112 映像配信サーバ、115 ネットワーク。   11 upper processing section, 12 basic communication section, 15 optical interface section, 16 communication processing section, 18 upper interface section, 21 update section, 22 information acquisition section, 23 function setting section, 24 lower control section, 25 storage section, 31 CPU , 32 Control LSI, 33 Optical transmission / reception circuit, 34, 36 Non-volatile memory, 35, 37 RAM, 38 Transmission / reception circuit, 39 Management interface, 100 PON system, 101 Station side device (OLT), 102 Home side device (ONU) , 104 PON line, 105 splitter, 109 host network, 110 home network, 111 user terminal, 111a personal computer, 111b set top box, 111c television receiver, 111d telephone, 111e connected device, 112 video distribution service Bas, 115 network.

Claims (7)

ファームウェアを有し、前記ファームウェアに従う処理を実行する上位処理部と、
機能に関する設定を前記上位処理部から受けて、前記上位処理部の前記ファームウェアの更新中にも前記設定に従う動作を維持可能な下位処理部とを備え、
前記上位処理部は、
前記上位処理部が有する前記ファームウェアを更新する更新部と、
前記下位処理部から、前記設定に関する情報を取得する情報取得部と、
取得された前記情報に基づいて、前記ファームウェアの更新後における前記下位処理部の前記機能を設定する機能設定部と、
前記機能設定部により設定された機能に従う動作を前記下位処理部に実行させる下位制御部とを備える、局側装置。
An upper processing unit having firmware and executing processing according to the firmware;
A lower processing unit that receives a setting related to a function from the upper processing unit and can maintain an operation according to the setting even during the firmware update of the upper processing unit;
The upper processing unit
An update unit for updating the firmware of the host processing unit;
An information acquisition unit for acquiring information on the setting from the lower processing unit;
Based on the acquired information, a function setting unit that sets the function of the lower processing unit after updating the firmware;
A station-side apparatus comprising: a lower-level control unit that causes the lower-level processing unit to execute an operation according to the function set by the function setting unit.
前記上位処理部は、前記ファームウェアの更新前の前記設定を保存する記憶部をさらに含み、
前記下位制御部は、前記ファームウェアの更新中に前記更新前の設定に従って前記下位処理部を制御する、請求項1に記載の局側装置。
The upper processing unit further includes a storage unit that stores the setting before the firmware update,
The station-side apparatus according to claim 1, wherein the lower-level control unit controls the lower-level processing unit according to the setting before the update during the update of the firmware.
前記上位処理部は、さらに、宅側装置の前記局側装置への論理的な接続に対応して前記宅側装置の機能を設定し、
前記情報取得部は、前記宅側装置から、前記ファームウェアの更新前の設定に関する情報を取得し、
前記機能設定部は、前記宅側装置から取得された前記情報に基づいて、前記宅側装置の前記機能を設定する、請求項1または2に記載の局側装置。
The host processing unit further sets the function of the home side device in response to a logical connection of the home side device to the station side device,
The information acquisition unit acquires information related to the setting before the firmware update from the home device,
The station-side device according to claim 1 or 2, wherein the function setting unit sets the function of the home-side device based on the information acquired from the home-side device.
前記機能設定部は、前記情報取得部により取得された前記情報が、前記ファームウェアの更新後における設定に一致しない場合には、前記機能を再度設定する、請求項1から3のいずれか1項に記載の局側装置。   4. The function setting unit according to claim 1, wherein the function setting unit sets the function again when the information acquired by the information acquisition unit does not match the setting after updating the firmware. 5. The station side apparatus of description. 前記更新部、前記情報取得部、前記機能設定部、および前記下位制御部は、更新にかかるファームウェアで実行される、請求項1から4のいずれか1項に記載の局側装置。   5. The station-side apparatus according to claim 1, wherein the update unit, the information acquisition unit, the function setting unit, and the lower-level control unit are executed by firmware for update. 6. 局側装置の制御方法であって、
前記局側装置の上位処理部が有するファームウェアを更新するステップと、
前記上位処理部から機能に関する設定を受ける下位処理部から、前記設定に関する情報を取得するステップと、
取得された前記情報に基づいて、前記ファームウェアの更新後における前記下位処理部の前記機能を設定するステップと、
設定された機能に従って前記下位処理部が動作するように前記下位処理部を制御するステップとを備える、局側装置の制御方法。
A station side device control method comprising:
Updating the firmware of the host processor of the station side device;
Obtaining information on the setting from a lower processing unit receiving a setting on the function from the upper processing unit;
Based on the acquired information, setting the function of the lower processing unit after the firmware update;
And controlling the lower processing unit so that the lower processing unit operates according to a set function.
局側装置に、
前記局側装置の上位処理部が有するファームウェアを更新するステップと、
前記上位処理部から機能に関する設定を受ける下位処理部から、前記設定に関する情報を取得するステップと、
取得された前記情報に基づいて、前記ファームウェアの更新後における前記下位処理部の前記機能を設定するステップと、
設定された機能に従って前記下位処理部が動作するように前記下位処理部を制御するステップとを実行させる、プログラム。
In the station side device,
Updating the firmware of the host processor of the station side device;
Obtaining information on the setting from a lower processing unit receiving a setting on the function from the upper processing unit;
Based on the acquired information, setting the function of the lower processing unit after the firmware update;
And a step of controlling the lower processing unit so that the lower processing unit operates in accordance with a set function.
JP2012223998A 2012-10-09 2012-10-09 Station side apparatus, control method and program for station side apparatus Active JP5938833B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012223998A JP5938833B2 (en) 2012-10-09 2012-10-09 Station side apparatus, control method and program for station side apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012223998A JP5938833B2 (en) 2012-10-09 2012-10-09 Station side apparatus, control method and program for station side apparatus

Publications (2)

Publication Number Publication Date
JP2014078784A true JP2014078784A (en) 2014-05-01
JP5938833B2 JP5938833B2 (en) 2016-06-22

Family

ID=50783783

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012223998A Active JP5938833B2 (en) 2012-10-09 2012-10-09 Station side apparatus, control method and program for station side apparatus

Country Status (1)

Country Link
JP (1) JP5938833B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016086222A (en) * 2014-10-23 2016-05-19 西日本電信電話株式会社 Network system, firmware update method, station-side termination device and subscriber-side termination device
JP2021019236A (en) * 2019-07-18 2021-02-15 住友電気工業株式会社 Communication device, setting method, and computer program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11175285A (en) * 1997-12-12 1999-07-02 Fuji Xerox Co Ltd Program-type device and program updating method
JP2001127780A (en) * 1999-10-29 2001-05-11 Toshiba Corp Network system
JP2006244509A (en) * 2006-03-10 2006-09-14 Toshiba Corp Network system, initializing method for network system and node device
JP2010252176A (en) * 2009-04-17 2010-11-04 Sumitomo Electric Ind Ltd Communication system, communication method, and communication device
JP2011135142A (en) * 2009-12-22 2011-07-07 Of Networks:Kk Transmission control system, subscriber-side transmitter, and station-side transmitter
JP2012169915A (en) * 2011-02-15 2012-09-06 Sumitomo Electric Ind Ltd Station side device, control method, and control method of pon system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11175285A (en) * 1997-12-12 1999-07-02 Fuji Xerox Co Ltd Program-type device and program updating method
JP2001127780A (en) * 1999-10-29 2001-05-11 Toshiba Corp Network system
JP2006244509A (en) * 2006-03-10 2006-09-14 Toshiba Corp Network system, initializing method for network system and node device
JP2010252176A (en) * 2009-04-17 2010-11-04 Sumitomo Electric Ind Ltd Communication system, communication method, and communication device
JP2011135142A (en) * 2009-12-22 2011-07-07 Of Networks:Kk Transmission control system, subscriber-side transmitter, and station-side transmitter
JP2012169915A (en) * 2011-02-15 2012-09-06 Sumitomo Electric Ind Ltd Station side device, control method, and control method of pon system
US20130318566A1 (en) * 2011-02-15 2013-11-28 Sumitomo Electric Industries, Ltd. Subscriber line terminal, control method, and control method for pon system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016086222A (en) * 2014-10-23 2016-05-19 西日本電信電話株式会社 Network system, firmware update method, station-side termination device and subscriber-side termination device
JP2021019236A (en) * 2019-07-18 2021-02-15 住友電気工業株式会社 Communication device, setting method, and computer program

Also Published As

Publication number Publication date
JP5938833B2 (en) 2016-06-22

Similar Documents

Publication Publication Date Title
AU2014101649A4 (en) System and method for remotely updating cable model software
JP4664977B2 (en) Device management method for device management system
CN107113194B (en) Method and apparatus for router maintenance
CN105993147B (en) A kind of terminal staging method and relevant device
US8489717B2 (en) Accelerated cable modem restart service
US9232282B2 (en) Subscriber line terminal, control method, and control method for PON system
CN101729948A (en) Remote upgrading method and system
KR20110045591A (en) The Method and Apparatus of Terminal Software Updating in a Network System
CN101729947A (en) Method for downloading update version and system thereof
JP5938833B2 (en) Station side apparatus, control method and program for station side apparatus
CN109120419B (en) Upgrading method and device for ONU version of optical network unit and storage medium
WO2020015338A1 (en) Method and system for negotiating encryption algorithm in passive optical network system
CN102624538B (en) The method of a kind of initialize process exception process and system
WO2016124075A1 (en) Method and device for controlling management mode of optical network unit in passive optical network
CN104937862B (en) A kind of optical line terminal, communication means and passive optical network
WO2017206690A1 (en) Method and apparatus for configuring optical network unit, and optical line terminal
JP6003509B2 (en) Master station communication device, master station control program, and network system
JP5914616B1 (en) Network system, firmware update method, station side termination device, and subscriber side termination device
CN111314127B (en) Software upgrading and downloading method and system for passive optical network equipment
EP2745560B1 (en) Method for switching a subscription from a first mno to a second mno
KR20120089924A (en) System and method for api call policy management of m2m application
CN100496167C (en) Device, system and method for supporting the broadband code division multiple address network service batch upgrading
CN114257509A (en) Module upgrading method and device, storage medium and electronic device
WO2013121761A1 (en) Femto base station apparatus and operation system
KR20170052262A (en) Dynamic commands processing apparatus and method thereof

Legal Events

Date Code Title Description
A625 Written request for application examination (by other person)

Free format text: JAPANESE INTERMEDIATE CODE: A625

Effective date: 20150522

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160202

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160314

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: 20160412

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20160427

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160428

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20160427

R150 Certificate of patent or registration of utility model

Ref document number: 5938833

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250