JP2012155462A - Data file management device - Google Patents
Data file management device Download PDFInfo
- Publication number
- JP2012155462A JP2012155462A JP2011013010A JP2011013010A JP2012155462A JP 2012155462 A JP2012155462 A JP 2012155462A JP 2011013010 A JP2011013010 A JP 2011013010A JP 2011013010 A JP2011013010 A JP 2011013010A JP 2012155462 A JP2012155462 A JP 2012155462A
- Authority
- JP
- Japan
- Prior art keywords
- program
- data file
- data
- active
- area
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Abstract
【課題】プログラムをバージョンダウンしても、処理を継続することができるデータファイル管理装置を得ることを目的とする。
【解決手段】バージョンアップ時には、データファイル格納装置12の現用系領域12aに格納されている現用系のデータファイルを予備系のデータファイルとして予備系領域12bに移し、バージョンダウン時には、予備系領域12bに格納されている予備系のデータファイルを現用系のデータファイルとして現用系領域12aに移すようにする。
【選択図】図1An object of the present invention is to provide a data file management device capable of continuing processing even if a program is downgraded.
When upgrading, an active data file stored in an active area 12a of a data file storage device 12 is transferred to a standby area 12b as a standby data file. Are transferred to the active area 12a as active data files.
[Selection] Figure 1
Description
この発明は、現用系と予備系に2重化されているデータファイルを管理するデータファイル管理装置に関するものである。 The present invention relates to a data file management apparatus that manages data files that are duplicated in an active system and a standby system.
あるシステムにおいて、主となるファイルの一部に何らかの障害が発生しても、システム全体の機能を停止することなく、稼働の継続を可能にするために、平常時からバックアップとして、予備のファイルを配置する冗長化の概念がある。
この冗長化の概念は、機能の停止が許されない金融機関、交通機関、航空機や鉄道車両等の輸送機器などの分野で幅広く取り入れられている。
In some systems, even if a failure occurs in a part of the main file, a backup file can be used as a backup from normal so that operation can be continued without stopping the entire system. There is a concept of redundancy to be placed.
This concept of redundancy has been widely adopted in the fields of financial institutions, transportation facilities, transportation equipment such as airplanes and railway vehicles that cannot be stopped.
以下の特許文献1には、2重化制御方式を採用しているデータファイル管理装置が開示されている。
即ち、このデータファイル管理装置には、二重化されたファイルの代替処理を行う代替処理部が設けられており、二重化ファイルに記録されているデータのうち、一方のデータが正常で、もう一方のデータが異常である場合、この代替処理部が、正常なデータをリード要求元に通知するとともに、異常があるデータを記録しているファイルに対する再書込みを行って修復するようにしている。
That is, this data file management device is provided with an alternative processing unit that performs an alternative process for a duplicated file, and one of the data recorded in the duplicated file is normal and the other data In this case, the alternative processing unit notifies the read request source of normal data, and rewrites the file in which the abnormal data is recorded to repair the file.
以下の特許文献2には、現用系と予備系を切替えるデータファイル管理装置が開示されている。
即ち、このデータファイル管理装置では、現用系システムの主記憶装置と、予備系システムの主記憶装置とを備えており、これらの主記憶装置には同一のデータを記憶し、現用系システムの主記憶装置に記憶されているデータの変更を行う場合、予備系システムの主記憶装置に記憶されているデータについても同時に変更を行うようにしている。
ただし、特定指令に基づいてデータの変更を行う場合には、最初に、現用系システムの主記憶装置に記憶されているデータを変更し、変更後のデータで現用系システムが正常に動作することを確認できれば、予備系システムの主記憶装置に記憶されているデータを変更するようにする。
一方、変更後のデータで現用系システムが正常に動作することを確認できず、異常が発生する場合、現用系システムと予備系システムを切替えるようにする。
Patent Document 2 below discloses a data file management apparatus that switches between an active system and a standby system.
In other words, this data file management device includes a main storage device of the active system and a main storage device of the standby system, and the same data is stored in these main storage devices, and the main system of the active system is stored. When changing the data stored in the storage device, the data stored in the main storage device of the standby system is also changed at the same time.
However, when changing data based on a specific command, first change the data stored in the main storage of the active system, and the active system should operate normally with the changed data. Can be confirmed, the data stored in the main storage device of the standby system is changed.
On the other hand, if it is not possible to confirm that the active system operates normally with the changed data and an abnormality occurs, the active system and the standby system are switched.
特許文献1,2には、上記のようにデータの二重化に関する記述はあるが、プログラムが参照するデータファイルのファイル形式が変更される場合の取り扱いに関する記述はない。
即ち、あるシステムにおいて、ファームウェアなどのプログラムを更新する際、そのプログラムが参照するデータファイルのファイル形式の変更を伴うケースがあるが、ファイル形式が変更される場合の取り扱いについての記述が特許文献1,2にない。
In
That is, when a program such as firmware is updated in a certain system, there is a case in which the file format of a data file referred to by the program is changed, but a description of handling when the file format is changed is described in
データファイル管理装置が冗長化の機能を有する場合、プログラムが更新される際には、一般的に、現用系と予備系の双方において、データファイルのデータファイル形式が更新後のプログラムに対応するデータファイル形式に更新されることが想定される。
このとき、プログラムの更新後に、何らかの障害が発生することで、正常な動作を行えなくなる状況が発生すると、プログラムのバージョンを以前のバージョンに戻す必要が生じることがある。
しかし、現用系と予備系の双方において、データファイルのデータファイル形式が、バージョンアップ後のプログラムに対応するデータファイル形式に更新されていると、プログラムのバージョンを以前のバージョンに戻しても、当該バージョンのプログラムでは、更新後のデータファイル形式のデータファイルを参照することができない。
When the data file management device has a redundancy function, when the program is updated, generally, in both the active system and the standby system, the data file format of the data file corresponds to the updated program. It is assumed that the file format is updated.
At this time, if a situation occurs in which a normal operation cannot be performed due to some failure after the program is updated, the version of the program may need to be returned to the previous version.
However, if the data file format of the data file has been updated to the data file format corresponding to the upgraded program in both the active system and the standby system, even if the program version is returned to the previous version, The version of the program cannot refer to the data file in the updated data file format.
従来のデータファイル管理装置は以上のように構成されているので、プログラムをバージョンアップして、現用系及び予備系におけるデータファイルのデータファイル形式をバージョンアップ後のプログラムに対応するデータファイル形式に変更する機能を備えている。しかし、何らかの障害が発生することで、正常な動作を行えなくなる状況が発生し、プログラムをバージョンダウンしても、バージョンダウン後のプログラムが、現用系及び予備系で更新されているデータファイル形式のデータファイルを参照することができず、処理を継続することができなくなるなどの課題があった。 Since the conventional data file management device is configured as described above, the program is upgraded and the data file format of the data file in the active system and the standby system is changed to the data file format corresponding to the upgraded program. It has a function to do. However, if a failure occurs, there will be a situation in which normal operation cannot be performed. Even if the program is downgraded, the program after the downgrading is in the data file format that has been updated in the active system and the standby system. There was a problem that the data file could not be referenced and the processing could not be continued.
この発明は上記のような課題を解決するためになされたもので、プログラムをバージョンダウンしても、処理を継続することができるデータファイル管理装置を得ることを目的とする。 The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a data file management apparatus capable of continuing processing even when a program is downgraded.
この発明に係るデータファイル管理装置は、現用系のプログラムを格納するプログラム格納手段と、現用系のデータファイルを格納する現用系領域と予備系のデータファイルを格納する予備系領域を有するデータファイル格納手段と、プログラムをダウンロードするダウンロード手段と、プログラム格納手段に格納されている現用系のプログラムをダウンロード手段によりダウンロードされたプログラムに更新するプログラム更新手段と、プログラム更新手段により現用系のプログラムが更新されることで、現用系のプログラムのバージョンがアップされた場合、データファイル格納手段の現用系領域に格納されている現用系のデータファイルを予備系のデータファイルとしてデータファイル格納手段の予備系領域に移すとともに、プログラム更新手段による更新後の現用系のプログラムに対応するデータファイル形式のデータファイルを生成し、そのデータファイルを現用系のデータファイルとして上記データファイル格納手段の現用系領域に格納する第1のデータファイル更新手段と、プログラム更新手段により現用系のプログラムが更新されることで、現用系のプログラムのバージョンがダウンされた場合、データファイル格納手段の現用系領域に格納されている現用系のデータファイルを予備系のデータファイルとしてデータファイル格納手段の予備系領域に移すとともに、その予備系領域に格納されている予備系のデータファイルを現用系のデータファイルとして現用系領域に移す第2のデータファイル更新手段とを設けるようにしたものである。 A data file management apparatus according to the present invention comprises a program storage means for storing a working program, a working file area for storing a working data file, and a spare file area for storing a spare data file. Means, a download means for downloading the program, a program update means for updating the current program stored in the program storage means to the program downloaded by the download means, and the current program is updated by the program update means. Thus, when the version of the active program is upgraded, the active data file stored in the active area of the data file storage means is stored in the standby area of the data file storage means as a standby data file. As well as program A first data file that generates a data file in a data file format corresponding to the active program updated by the updating means, and stores the data file as an active data file in the active area of the data file storage means When the version of the working system is down by updating the working program by the updating means and the program updating means, the working data file stored in the working area of the data file storage means Second data file update that moves to the spare area of the data file storage means as a spare data file, and moves the spare data file stored in the spare area to the working area as the working data file Means.
この発明によれば、現用系のプログラムを格納するプログラム格納手段と、現用系のデータファイルを格納する現用系領域と予備系のデータファイルを格納する予備系領域を有するデータファイル格納手段と、プログラムをダウンロードするダウンロード手段と、プログラム格納手段に格納されている現用系のプログラムをダウンロード手段によりダウンロードされたプログラムに更新するプログラム更新手段とを設け、プログラム更新手段により現用系のプログラムが更新されることで、現用系のプログラムのバージョンがアップされた場合、第1のデータファイル更新手段が、データファイル格納手段の現用系領域に格納されている現用系のデータファイルを予備系のデータファイルとしてデータファイル格納手段の予備系領域に移すとともに、プログラム更新手段による更新後の現用系のプログラムに対応するデータファイル形式を生成し、そのデータファイルを現用系のデータファイルとして上記データファイル格納手段の現用系領域に格納し、プログラム更新手段により現用系のプログラムが更新されることで、現用系のプログラムのバージョンがダウンされた場合、第2のデータファイル更新手段が、データファイル格納手段の現用系領域に格納されている現用系のデータファイルを予備系のデータファイルとしてデータファイル格納手段の予備系領域に移すとともに、その予備系領域に格納されている予備系のデータファイルを現用系のデータファイルとして現用系領域に移すように構成したので、プログラムをバージョンダウンしても、処理を継続することができる効果がある。 According to the present invention, a program storage means for storing an active program, a data file storage means having an active area for storing an active data file and a spare area for storing a standby data file, and a program Download means for downloading the program and program update means for updating the active program stored in the program storage means to the program downloaded by the download means, and the active program is updated by the program update means When the version of the working system program is upgraded, the first data file updating means uses the working data file stored in the working area of the data file storing means as a backup data file. When moving to the reserve area of the storage means In addition, a data file format corresponding to the active program updated by the program update means is generated, and the data file is stored as an active data file in the active area of the data file storage means. If the version of the active program is down by updating the active program by the second data file updating means, the second data file update means stores the active data stored in the active area of the data file storage means. The file is moved as a spare data file to the spare area of the data file storage means, and the spare data file stored in the spare area is moved to the working area as the active data file. So even if you downgrade the program, you can continue processing. There is an effect.
実施の形態1.
図1はこの発明の実施の形態1によるデータファイル管理装置を搭載しているIP−STBを示す構成図である。
IP−STB(IPセットトップボックス)は、ネットワーク上のコンテンツ配信サーバ1などから、FTTH等によるアクセス網通信技術を利用したブロードバンド回線によって配信されるIPパケット化されたIP放送、地上デジタル放送IP再送信、BSデジタル放送IP再送信、VOD(Video ON Demand)などの映像や音声などのコンテンツデータを復調して、その映像や音声をテレビなどの外部表示機器に出力する端末である。
FIG. 1 is a block diagram showing an IP-STB equipped with a data file management apparatus according to
The IP-STB (IP set top box) is an IP packetized IP broadcast or terrestrial digital broadcast IP redistribution that is distributed from a
図1において、コンテンツ配信サーバ1はIPパケット化されているコンテンツデータをネットワーク3経由でIP−STBに配信する装置である。
プログラム配信サーバ2はIP−STBの処理内容を記述しているプログラムをネットワーク3経由でIP−STBに配信する装置である。
ネットワーク3は例えばIPネットワークなどの回線網である。
In FIG. 1, a
The program distribution server 2 is a device that distributes a program describing the processing contents of the IP-STB to the IP-STB via the network 3.
The network 3 is a circuit network such as an IP network.
IP−STBのプログラム格納装置11は例えばRAMやハードディスクなどから構成されている記憶装置であり、IP−STBの処理内容を記述している現用系のプログラムを格納する。なお、プログラム格納装置11はプログラム格納手段を構成している。
データファイル格納装置12は例えばRAMやハードディスクなどから構成されている記憶装置であり、現用系のデータファイルを格納する現用系領域12aと予備系のデータファイルを格納する予備系領域12bを有している。なお、データファイル格納装置12はデータファイル格納手段を構成している。
The IP-STB
The data file
通信I/F13は例えばLANコネクタやPHY・ICなどから構成されており、コンテンツ配信サーバ1やプログラム配信サーバ2から配信された信号を受信して、その信号をデジタルデータに変換し、そのデジタルデータをプロセッサ14に出力する処理を実施する。
プロセッサ14は通信I/F13から出力されたデジタルデータからコンテンツデータやプログラムなどを復調する処理を実施する。
The communication I /
The
プロセッサ14の通信制御部15は主信号の制御やプログラムを交換するため通信機能を実装するものであり、通信I/F13から出力されたデジタルデータがコンテンツデータであれば、そのデジタルデータを選局制御部16に出力し、通信I/F13から出力されたデジタルデータがプログラムであれば、そのプログラムをプログラム更新部20に出力する処理を実施する。
なお、通信I/F13及び通信制御部15からダウンロード手段が構成されている。
The
The communication I /
選局制御部16は通信制御部15から出力されたコンテンツデータの中から、リモコンI/F22から出力されたリモコン操作信号が示すチャンネル(ユーザによるリモコンの操作で選局されたチャンネル)のデータを選択し、そのチャンネルのデータをデマルチプレクサ17に出力する処理を実施する。
デマルチプレクサ17は選局制御部16から出力されたチャンネルのデータを映像データと音声データに分離して、その映像データを映像デコーダ18に出力し、その音声データを音声デコーダ19に出力する処理を実施する。
The channel
The
映像デコーダ18はデマルチプレクサ17から出力された映像データをデコードして、映像用のアナログデータと映像用のデジタルデータを映像出力I/F23に出力する処理を実施する。
音声デコーダ19はデマルチプレクサ17から出力された音声データをデコードして、音声用のデジタルデータを音声出力I/F24に出力する処理を実施する。
The
The
プログラム更新部20は通信制御部15からプログラムを受けると、プログラム格納装置11により格納されている現用系のプログラムを通信制御部15から出力されたプログラムに更新する処理を実施する。なお、プログラム更新部20はプログラム更新手段を構成している。
When the
データファイル切替部21はプログラム更新部20により現用系のプログラムが更新されることで、現用系のプログラムのバージョンがアップされた場合、データファイル格納装置12の現用系領域12aに格納されている現用系のデータファイルを予備系のデータファイルとして予備系領域12bに移すとともに、プログラム更新部20による更新後の現用系のプログラムに対応するデータファイル形式のデータファイルを生成し、そのデータファイルを現用系のデータファイルとしてデータファイル格納装置12の現用系領域12aに格納する処理を実施する。
また、データファイル切替部21はプログラム更新部20により現用系のプログラムが更新されることで、現用系のプログラムのバージョンがダウンされた場合、データファイル格納装置12の現用系領域12aに格納されている現用系のデータファイルを予備系のデータファイルとして予備系領域12bに移すとともに、予備系領域12bに格納されている予備系のデータファイルを現用系のデータファイルとして現用系領域12aに移す処理を実施する。
When the current program is updated by the
Further, when the current program is updated by the
さらに、データファイル切替部21はプログラム更新部20により現用系のプログラムが更新されることで、現用系のプログラムのバージョンが一旦ダウンされてから、プログラムのバージョンが元のバージョンにアップされた場合、データファイル格納装置12の現用系領域12aに格納されている現用系のデータファイルを予備系のデータファイルとして予備系領域12bに移すとともに、予備系領域12bに格納されている予備系のデータファイルを現用系のデータファイルとして現用系領域12aに移す処理を実施する。
なお、データファイル切替部21は第1及び第2のデータファイル更新手段を構成している。
Further, the data
The data file switching
リモコンI/F22はユーザにより操作されるリモコンから発信されるリモコン操作信号を受信して、そのリモコン操作信号を選局制御部16に出力する処理を実施する。
映像出力I/F23はRCA端子及びHDMI端子を備えており、映像デコーダ18から出力された映像用のアナログデータについてはRCA端子に出力し、映像デコーダ18から出力された映像用のデジタルデータについてはHDMIフォーマットのデジタルデータに変換してからHDMI端子に出力することで、外部接続機器であるテレビなどの表示装置に映像を表示する。
音声出力I/F24はD/Aコンバータ及びRCA端子を備えており、D/Aコンバータが音声デコーダ19から出力された音声用のデジタルデータをアナログデータに変換してから、そのアナログデータをRCA端子に出力することで、外部接続機器であるテレビなどの表示装置に出力する。
The remote control I /
The video output I / F 23 includes an RCA terminal and an HDMI terminal. The video analog data output from the
The audio output I /
図2はデータファイル管理装置における初回のバージョンアンプ時の処理内容を示すフローチャートである。
また、図3は初回のバージョンアンプ後にバージョンダウンされる際の処理内容を示すフローチャートである。
また、図4はバージョンダウン後に再度バージョンアンプされる際の処理内容を示すフローチャートである。
FIG. 2 is a flowchart showing the processing contents during the first version amplifier in the data file management apparatus.
FIG. 3 is a flowchart showing the processing contents when the version is downgraded after the first version amplifier.
FIG. 4 is a flowchart showing the processing contents when version amplification is performed again after version down.
次に動作について説明する。
図5はバージョンアップが行われる前の初期状態の現用系のプログラムと現用系のデータファイルとを示す説明図である。
図5の例では、バージョンアップが行われる前の初期状態の現用系のプログラムのバージョンがVer.αである。また、現用系のデータファイルのデータファイル形式が型式Aであり、データファイル形式Aのデータファイルに含まれているデータの項目として、データ項目A1,A2,A3がデータファイル格納装置12の現用系領域12aに格納されている。
Next, the operation will be described.
FIG. 5 is an explanatory diagram showing an active program and an active data file in an initial state before version upgrade is performed.
In the example of FIG. 5, the version of the active system in the initial state before the version upgrade is Ver. α. In addition, the data file format of the active data file is type A, and the data items A1, A2, and A3 are data items included in the data file of the data file format A. It is stored in the
プロセッサ14は、プログラム格納装置11に格納されている現用系のプログラム(Ver.αのプログラム)を参照して、コンテンツデータの復調などの各種の処理を実施するが、例えば、コンテンツ配信サーバ1又はプログラム配信サーバ2からデータファイル形式Aのデータファイルに書き込むデータをダウンロードすると、現用系のプログラムを参照して、そのデータの書込を行うデータ項目を選択する。
プロセッサ14は、現用系のプログラムを参照して、データの書込を行うデータ項目を選択すると、そのデータ項目に対する当該データの書込を行う。
図6はデータ項目に対するデータの書込例を示す説明図であり、図6の例では、データ項目A2を選択して、データをデータ項目A2に書き込んでいる。
The
When the
FIG. 6 is an explanatory diagram showing an example of writing data to the data item. In the example of FIG. 6, the data item A2 is selected and the data is written to the data item A2.
また、プロセッサ14は、現用系のデータファイルからデータを読み込む必要がある場合、現用系のプログラムを参照して、データの読込を行うデータ項目を選択する。
プロセッサ14は、現用系のプログラムを参照して、データの読込を行うデータ項目を選択すると、そのデータ項目からデータの読込を行う。
図7はデータ項目からのデータの読込例を示す説明図であり、図7の例では、データ項目A2を選択して、データ項目A2からデータを読み込んでいる。
Further, when it is necessary to read data from the working data file, the
When the
FIG. 7 is an explanatory diagram showing an example of reading data from a data item. In the example of FIG. 7, data item A2 is selected and data is read from data item A2.
次に、プログラム格納装置11に格納されている現用系のプログラム(Ver.αのプログラム)をバージョンアンプする際の処理内容を説明する。
プログラム配信サーバ2は、プログラム格納装置11に格納されている現用系のプログラム(Ver.αのプログラム)よりバージョンがアップされているプログラム(Ver.βのプログラム)をネットワーク3経由でIP−STBに配信する。
IP−STBの通信I/F13は、プログラム格納装置11から配信されたVer.βのプログラムに係る信号を受信すると、その信号をデジタルデータに変換し、そのデジタルデータをプロセッサ14に出力する。
Next, the processing contents when version-amplifying the current system program (Ver.α program) stored in the
The program distribution server 2 sends a program (Ver.β program) whose version is upgraded from the current system program (Ver.α program) stored in the
The IP-STB communication I /
プロセッサ14の通信制御部15は、通信I/F13から出力されたデジタルデータがプログラムである場合、そのプログラムをプログラム更新部20に出力することで、Ver.βのプログラムのダウンロードが完了する(図2のステップST1)。
プログラム更新部20は、通信制御部15からVer.βのプログラムを受けると、そのプログラムをプログラム格納装置11に格納する(ステップST2)。
When the digital data output from the communication I /
The
データファイル切替部21は、プログラム更新部20がVer.βのプログラムをプログラム格納装置11に格納すると、再起動前に、データファイルを最新の値に更新するため、例えば、プロセッサ14のキャッシュや外部メモリに記憶されているデータをデータファイル形式Aのデータファイルに書き込む処理を行う(ステップST3)。
その後、プログラム更新部20は、Ver.αのプログラム内のプログラム更新に関する処理内容を実行することで、プログラム格納装置11により格納されている現用系のプログラム(Ver.αのプログラム)をVer.βのプログラムに更新する(ステップST4)。
The data file switching
Thereafter, the
プログラム更新部20は、現用系のプログラム(Ver.αのプログラム)をVer.βのプログラムに更新すると、IP−STBを再起動することで(ステップST5)、Ver.βのプログラムを起動する(ステップST6)。これにより、Ver.βのプログラムが現用系のプログラムとして有効となる。
The
データファイル切替部21は、プログラム更新部20が現用系のプログラムを更新すると、現用系のプログラムであるVer.βのプログラム内のデータファイル更新に関する処理内容を実行することで、データファイル格納装置12におけるデータファイルの構成が現用系と予備系の2重化になるように設定する。
即ち、データファイル切替部21は、データファイル格納装置12の現用系領域12aに格納されている現用系のデータファイル(データファイル形式Aのデータファイル)を予備系のデータファイルとして予備系領域12bに移す処理を実施する(ステップST7)。
When the
In other words, the data
また、データファイル切替部21は、Ver.βのプログラムに対応するデータファイル形式のデータファイルとして、Ver.βのプログラムへの更新に伴って新たに追加するデータ項目と、データファイル形式Aのデータファイルに含まれているデータ項目とからなるデータファイル形式Bのデータファイルを生成し、そのデータファイルを現用系のデータファイルとして現用系領域12aに格納する(ステップST8)。
なお、Ver.βのプログラムへの更新に伴って新たに追加するデータ項目は、例えば、プログラム配信サーバ2からVer.βのプログラムと一緒にダウンロードしてもよいし、Ver.βのプログラムと別個にダウンロードしてもよい。また、コンテンツ配信サーバ1からダウンロードしてもよいし、他の装置からダウンロードしてもよい。
In addition, the data
In addition, Ver. A data item to be newly added in accordance with the update to the program of β is, for example, from the program distribution server 2 to Ver. You can download it together with the program of β. It may be downloaded separately from the β program. Moreover, you may download from the
図8はバージョンアップが行われた後の現用系のプログラムと現用系及び予備系のデータファイルとを示す説明図である。
図8の例では、現用系領域12a内に格納されているデータファイル形式Aのデータファイル(データ項目A1,A2,A3)が予備系領域12bに移され、Ver.βのプログラムへの更新に伴って新たに追加されたデータ項目B1,B2とデータ項目A1,A2,A3を含むデータファイル形式Bのデータファイルが現用系領域12aに書き込まれている。
以後、プロセッサ14は、現用系のプログラムであるVer.βのプログラムを実行することで処理を継続する(ステップST9)。
FIG. 8 is an explanatory diagram showing the active system program and the active and standby data files after the version upgrade.
In the example of FIG. 8, the data file of the data file format A (data items A1, A2, A3) stored in the
Thereafter, the
プロセッサ14は、コンテンツデータの復調などの各種の処理を実施しているとき、例えば、コンテンツ配信サーバ1又はプログラム配信サーバ2からデータファイルに書き込むデータをダウンロードすると、現用系のプログラムであるVer.βのプログラムを参照して、そのデータの書込を行うデータ項目を選択する。
プロセッサ14は、Ver.βのプログラムを参照して、データの書込を行うデータ項目を選択すると、そのデータ項目に対する当該データの書込を行う。
When the
The
図9はデータ項目に対するデータの書込例を示す説明図であり、図9の例では、バージョンアップ前後のプログラムの互換項目であるデータ項目A2を選択しているが、データ項目A2は、データファイル格納装置12における現用系領域12aと予備系領域12bの双方に存在しているので、現用系領域12aと予備系領域12bに格納されている双方のデータ項目A2に対して、同一のデータを書き込んでいる。
図11は別のデータの書込例を示しており、図11の例では、Ver.βのプログラムへの更新に伴って新たに追加されたデータ項目B4を選択しているが、データ項目B4は、データファイル格納装置12の現用系領域12aだけに存在しているので、現用系領域12aに格納されているデータ項目B4に対して、データを書き込んでいる。
FIG. 9 is an explanatory diagram showing an example of writing data to the data item. In the example of FIG. 9, the data item A2, which is a compatible item of the program before and after the version upgrade, is selected. Since the
FIG. 11 shows another example of writing data. In the example of FIG. The data item B4 newly added with the update to the program of β is selected, but the data item B4 exists only in the
プロセッサ14は、現用系のデータファイルからデータを読み込む必要がある場合、現用系のプログラムであるVer.βのプログラムを参照して、現用系領域12aに格納されているデータファイルの中から、データの読込を行うデータ項目を選択する。
プロセッサ14は、Ver.βのプログラムを参照して、データの読込を行うデータ項目を選択すると、そのデータ項目からデータの読込を行う。
When it is necessary to read data from the active data file, the
The
図10はデータ項目からのデータの読込例を示す説明図であり、図10の例では、現用系領域12aに格納されているデータファイル内のデータ項目A2を選択して、そのデータ項目A2からデータを読み込んでいる。
図12は別のデータの読込例を示しており、図12の例では、現用系領域12aに格納されているデータファイル内のデータ項目B4を選択して、そのデータ項目B4からデータを読み込んでいる。
FIG. 10 is an explanatory diagram showing an example of reading data from a data item. In the example of FIG. 10, the data item A2 in the data file stored in the
FIG. 12 shows another example of reading data. In the example of FIG. 12, the data item B4 in the data file stored in the
プロセッサ14は、現用系のプログラムをVer.βのプログラムに更新したのち、何らかの障害の発生、仕様の変更、機能の追加や削減などが要因で、現用系のプログラムを元のバージョンのプログラム(Ver.αのプログラム)に戻す必要を生じるケースがある。
次に、プログラム格納装置11に格納されている現用系のプログラム(Ver.βのプログラム)をバージョンダウンする際の処理内容を説明する。
The
Next, the processing contents when the current system program (Ver.β program) stored in the
プログラム配信サーバ2は、プログラム格納装置11に格納されている現用系のプログラム(Ver.βのプログラム)よりバージョンがダウンされているプログラム(Ver.αのプログラム)をネットワーク3経由でIP−STBに配信する。
IP−STBの通信I/F13は、プログラム格納装置11から配信されたVer.αのプログラムに係る信号を受信すると、その信号をデジタルデータに変換し、そのデジタルデータをプロセッサ14に出力する。
The program distribution server 2 sends a program (Ver.α program) whose version is down from the active program (Ver.β program) stored in the
The IP-STB communication I /
プロセッサ14の通信制御部15は、通信I/F13から出力されたデジタルデータがプログラムである場合、そのプログラムをプログラム更新部20に出力することで、Ver.αのプログラムのダウンロードが完了する(図3のステップST11)。
プログラム更新部20は、通信制御部15からVer.αのプログラムを受けると、そのプログラムをプログラム格納装置11に格納する(ステップST12)。
When the digital data output from the communication I /
The
データファイル切替部21は、プログラム更新部20がVer.αのプログラムをプログラム格納装置11に格納すると、再起動前に、データファイルを最新の値に更新するため、例えば、プロセッサ14のキャッシュや外部メモリに記憶されているデータを現用系のデータファイル形式Bのデータファイル及び予備系のデータファイル形式Aのデータファイルに書き込む処理を行う(ステップST13)。
その後、プログラム更新部20は、Ver.βのプログラム内のプログラム更新に関する処理内容を実行することで、プログラム格納装置11により格納されている現用系のプログラム(Ver.βのプログラム)をVer.αのプログラムに更新する(ステップST14)。
The data file switching
Thereafter, the
プログラム更新部20は、現用系のプログラム(Ver.βのプログラム)をVer.αのプログラムに更新すると、IP−STBを再起動することで(ステップST15)、Ver.αのプログラムを起動する(ステップST16)。これにより、Ver.αのプログラムが現用系のプログラムとして有効となる。
The
データファイル切替部21は、プログラム更新部20が現用系のプログラムを更新すると、現用系のプログラムであるVer.αのプログラム内のデータファイル更新に関する処理内容を実行することで、データファイル格納装置12の現用系領域12aに格納されている現用系のデータファイルを予備系のデータファイルとして予備系領域12bに移すとともに(ステップST17)、予備系領域12bに格納されている予備系のデータファイルを現用系のデータファイルとして現用系領域12aに移す処理を実施する(ステップST18)。
When the
図13はバージョンダウンが行われた後の現用系のプログラムと現用系及び予備系のデータファイルとを示す説明図である。
図13の例では、現用系領域12aに格納されていたデータファイル形式Bのデータファイル(データ項目A1,A2,A3,B1,B2)が予備系領域12bに移され、予備系領域12bに格納されていたデータファイル形式Aのデータファイル(データ項目A1,A2,A3)が現用系領域12aに移されている。
以後、プロセッサ14は、現用系のプログラムであるVer.αのプログラムを実行することで処理を継続する(ステップST19)。
FIG. 13 is an explanatory diagram showing the active system program and the active and standby data files after the version down.
In the example of FIG. 13, the data file of the data file format B (data items A1, A2, A3, B1, B2) stored in the
Thereafter, the
プロセッサ14は、コンテンツデータの復調などの各種の処理を実施しているとき、例えば、コンテンツ配信サーバ1又はプログラム配信サーバ2からデータファイルに書き込むデータをダウンロードすると、現用系のプログラムであるVer.αのプログラムを参照して、そのデータの書込を行うデータ項目を選択する。
プロセッサ14は、Ver.αのプログラムを参照して、データの書込を行うデータ項目を選択すると、そのデータ項目に対する当該データの書込を行う。
図14はデータ項目に対するデータの書込例を示す説明図であり、図14の例では、バージョンダウン前後のプログラムの互換項目であるデータ項目A2を選択しているが、データ項目A2は、データファイル格納装置12における現用系領域12aと予備系領域12bの双方に存在しているので、現用系領域12aと予備系領域12bに格納されている双方のデータ項目A2に対して、同一のデータを書き込んでいる。
When the
The
FIG. 14 is an explanatory diagram showing an example of writing data to the data item. In the example of FIG. 14, the data item A2 which is a compatible item of the program before and after the version down is selected. Since the
プロセッサ14は、現用系のデータファイルからデータを読み込む必要がある場合、現用系のプログラムであるVer.αのプログラムを参照して、現用系領域12aに格納されているデータファイルの中から、データの読込を行うデータ項目を選択する。
プロセッサ14は、Ver.αのプログラムを参照して、データの読込を行うデータ項目を選択すると、そのデータ項目からデータの読込を行う。
図15はデータ項目からのデータの読込例を示す説明図であり、図15の例では、現用系領域12aに格納されているデータファイル内のデータ項目A2を選択して、そのデータ項目A2からデータを読み込んでいる。
When it is necessary to read data from the active data file, the
The
FIG. 15 is an explanatory diagram showing an example of reading data from a data item. In the example of FIG. 15, the data item A2 in the data file stored in the
次に、プログラム格納装置11に格納されている現用系のプログラムが1回バージョンダウンされてから、再度、バージョンアップする際の処理内容を説明する。
プログラム配信サーバ2は、プログラム格納装置11に格納されている現用系のプログラム(Ver.αのプログラム)よりバージョンがアップされているプログラム(Ver.βのプログラム)をネットワーク3経由でIP−STBに配信する。
IP−STBの通信I/F13は、プログラム格納装置11から配信されたVer.βのプログラムに係る信号を受信すると、その信号をデジタルデータに変換し、そのデジタルデータをプロセッサ14に出力する。
Next, the processing contents when the current program stored in the
The program distribution server 2 sends a program (Ver.β program) whose version is upgraded from the current system program (Ver.α program) stored in the
The IP-STB communication I /
プロセッサ14の通信制御部15は、通信I/F13から出力されたデジタルデータがプログラムである場合、そのプログラムをプログラム更新部20に出力することで、Ver.βのプログラムのダウンロードが完了する(図4のステップST21)。
プログラム更新部20は、通信制御部15からVer.βのプログラムを受けると、そのプログラムをプログラム格納装置11に格納する(ステップST22)。
When the digital data output from the communication I /
The
データファイル切替部21は、プログラム更新部20がVer.βのプログラムをプログラム格納装置11に格納すると、再起動前に、データファイルを最新の値に更新するため、例えば、プロセッサ14のキャッシュや外部メモリに記憶されているデータを現用系のデータファイル形式Aのデータファイル及び予備系のデータファイル形式Bのデータファイルに書き込む処理を行う(ステップST23)。
その後、プログラム更新部20は、Ver.αのプログラム内のプログラム更新に関する処理内容を実行することで、プログラム格納装置11により格納されている現用系のプログラム(Ver.αのプログラム)をVer.βのプログラムに更新する(ステップST24)。
The data file switching
Thereafter, the
プログラム更新部20は、現用系のプログラム(Ver.αのプログラム)をVer.βのプログラムに更新すると、IP−STBを再起動することで(ステップST25)、Ver.βのプログラムを起動する(ステップST26)。これにより、Ver.βのプログラムが現用系のプログラムとして有効となる。
The
データファイル切替部21は、プログラム更新部20が現用系のプログラムを更新すると、現用系のプログラムであるVer.βのプログラム内のデータファイル更新に関する処理内容を実行することで、データファイル格納装置12の現用系領域12aに格納されている現用系のデータファイルを予備系のデータファイルとして予備系領域12bに移すとともに(ステップST27)、予備系領域12bに格納されている予備系のデータファイルを現用系のデータファイルとして現用系領域12aに移す処理を実施する(ステップST28)。
When the
これにより、図8に示す1回目のバージョンアップ後と同様のプログラム及びデータファイルの構成になる。
図8の例では、現用系領域12aに格納されていたデータファイル形式Aのデータファイル(データ項目A1,A2,A3)が予備系領域12bに移され、予備系領域12bに格納されていたデータファイル形式Bのデータファイル(データ項目A1,A2,A3,B1,B2)が現用系領域12aに移されている。
以後、プロセッサ14は、現用系のプログラムであるVer.βのプログラムを実行することで処理を継続する(ステップST29)。
As a result, the program and data file structure is the same as that after the first version upgrade shown in FIG.
In the example of FIG. 8, the data file of the data file format A (data items A1, A2, A3) stored in the
Thereafter, the
以上で明らかなように、この実施の形態1によれば、現用系のプログラムを格納するプログラム格納装置11と、現用系のデータファイルを格納する現用系領域12aと予備系のデータファイルを格納する予備系領域12bを有するデータファイル格納装置12と、プログラムをダウンロードする通信I/F13及び通信制御部15と、プログラム格納装置11に格納されている現用系のプログラムをダウンロードされたプログラムに更新するプログラム更新部20とを設け、データファイル切替部21が、プログラム更新部20により現用系のプログラムが更新されることで、現用系のプログラムのバージョンがアップされた場合、データファイル格納装置12の現用系領域12aに格納されている現用系のデータファイルを予備系のデータファイルとして予備系領域12bに移すとともに、プログラム更新部20による更新後の現用系のプログラムに対応するデータファイル形式のデータファイルを現用系のデータファイルとして生成して、データファイル格納装置12の現用系領域12aに格納されている現用系のデータファイルを更新し、プログラム更新部20により現用系のプログラムが更新されることで、現用系のプログラムのバージョンがダウンされた場合、データファイル格納装置12の現用系領域12aに格納されている現用系のデータファイルを予備系のデータファイルとして予備系領域12bに移すとともに、予備系領域12bに格納されている予備系のデータファイルを現用系のデータファイルとして現用系領域12aに移すように構成したので、バージョン変更前後におけるプログラムとデータファイル間の不整合を解消することが可能になり、その結果、プログラムをバージョンダウンしても、処理を継続することができる効果を奏する。
As is apparent from the above, according to the first embodiment, the
実施の形態2.
上記実施の形態1では、Ver.αのプログラムをVer.βのプログラムにバージョンアップする際、データファイル格納装置12の現用系領域12aに格納されている現用系のデータファイルを予備系のデータファイルとして予備系領域12bに移すものを示したが、現用系領域12aに格納されている現用系のデータファイルを予備系のデータファイルとして予備系領域12bに移す場合、複数回バージョンアップを行うと、予備系領域12bに格納される予備系のデータファイルが膨大になることが想定される。
Embodiment 2. FIG.
In the first embodiment, Ver. The program of α is Ver. In the version upgrade to the β program, the active data file stored in the
図16はバージョンアップが2回行われた場合のデータファイル構成等を示す説明図であり、予備系領域12bには、予備系のデータファイルとして、データファイル形式A,データファイル形式B,データファイル形式Cのデータファイルが格納されている。
これらの予備系のデータファイルに含まれているデータ項目のうち、データ項目A1,A2,A3については、全てのデータファイルに含まれており、データ項目B4,B5については、2つのデータファイルに含まれている。
このように、同じデータ項目が複数のデータファイルに含まれているため、予備系領域12bの容量が増大する。この結果、IP−STVの内蔵メモリの容量を圧迫し、動作に影響することが懸念される。
また、全てのデータファイルに含まれているデータ項目A1,A2,A3に対して、データを書き込むような場合には、処理の負荷が増大する(図17を参照)。
FIG. 16 is an explanatory diagram showing a data file structure and the like when the version upgrade is performed twice. In the
Of the data items included in these spare data files, data items A1, A2, and A3 are included in all data files, and data items B4 and B5 are included in two data files. include.
As described above, since the same data item is included in a plurality of data files, the capacity of the
Further, when data is written to the data items A1, A2, and A3 included in all the data files, the processing load increases (see FIG. 17).
そこで、この実施の形態2では、複数回バージョンアップが行われる場合でも、予備系領域12bの容量の増大を最小限に抑えることができるようにしている。
図18はデータファイル管理装置における初回のバージョンアンプ時の処理内容を示すフローチャートである。
また、図19は2回目のバージョンアンプ時の処理内容を示すフローチャートである。
また、図20は2回目のバージョンアンプ後にバージョンダウンされる際の処理内容を示すフローチャートである。
以下、図18、図19及び図20を参照しながら処理内容を具体的に説明する。
Therefore, in the second embodiment, even when the version upgrade is performed a plurality of times, an increase in the capacity of the
FIG. 18 is a flowchart showing the processing contents at the time of the first version amplifier in the data file management apparatus.
FIG. 19 is a flowchart showing the processing contents during the second version amplifier.
FIG. 20 is a flowchart showing the processing contents when the version is downgraded after the second version amplifier.
The processing contents will be specifically described below with reference to FIGS.
次に動作について説明する。
図21はバージョンアップが行われる前の初期状態の現用系のプログラムと現用系のデータファイルとを示す説明図である。
図21の例では、バージョンアップが行われる前の初期状態の現用系のプログラムのバージョンがVer.αである。また、現用系のデータファイルのデータファイル形式が型式Aであり、データファイル形式Aのデータファイルに含まれているデータの項目として、データ項目A1,A2,A3がデータファイル格納装置12の現用系領域12aに格納されている。
Next, the operation will be described.
FIG. 21 is an explanatory diagram showing an active program and an active data file in an initial state before version upgrade is performed.
In the example of FIG. 21, the version of the current system program in the initial state before version upgrade is Ver. α. In addition, the data file format of the active data file is type A, and the data items A1, A2, and A3 are data items included in the data file of the data file format A. It is stored in the
プロセッサ14は、プログラム格納装置11に格納されている現用系のプログラム(Ver.αのプログラム)を参照して、コンテンツデータの復調などの各種の処理を実施するが、例えば、コンテンツ配信サーバ1又はプログラム配信サーバ2からデータファイル形式Aのデータファイルに書き込むデータをダウンロードすると、現用系のプログラムを参照して、そのデータの書込を行うデータ項目を選択する。
プロセッサ14は、現用系のプログラムを参照して、データの書込を行うデータ項目を選択すると、そのデータ項目に対する当該データの書込を行う。
図22はデータ項目に対するデータの書込例を示す説明図であり、図22の例では、データ項目A2を選択して、データをデータ項目A2に書き込んでいる。
The
When the
FIG. 22 is an explanatory diagram showing an example of writing data to a data item. In the example of FIG. 22, the data item A2 is selected and the data is written to the data item A2.
また、プロセッサ14は、現用系のデータファイルからデータを読み込む必要がある場合、現用系のプログラムを参照して、データの読込を行うデータ項目を選択する。
プロセッサ14は、現用系のプログラムを参照して、データの読込を行うデータ項目を選択すると、そのデータ項目からデータの読込を行う。
図23はデータ項目からのデータの読込例を示す説明図であり、図23の例では、データ項目A2を選択して、データ項目A2からデータを読み込んでいる。
Further, when it is necessary to read data from the working data file, the
When the
FIG. 23 is an explanatory diagram showing an example of reading data from a data item. In the example of FIG. 23, data item A2 is selected and data is read from data item A2.
次に、プログラム格納装置11に格納されている現用系のプログラム(Ver.αのプログラム)をバージョンアンプ(1回目のバージョンアンプ)する際の処理内容を説明する。
プログラム配信サーバ2は、プログラム格納装置11に格納されている現用系のプログラム(Ver.αのプログラム)よりバージョンがアップされているプログラム(Ver.βのプログラム)をネットワーク3経由でIP−STBに配信する。
IP−STBの通信I/F13は、プログラム格納装置11から配信されたVer.βのプログラムに係る信号を受信すると、その信号をデジタルデータに変換し、そのデジタルデータをプロセッサ14に出力する。
Next, the contents of processing when the current system program (Ver.α program) stored in the
The program distribution server 2 sends a program (Ver.β program) whose version is upgraded from the current system program (Ver.α program) stored in the
The IP-STB communication I /
プロセッサ14の通信制御部15は、通信I/F13から出力されたデジタルデータがプログラムである場合、そのプログラムをプログラム更新部20に出力することで、Ver.βのプログラムのダウンロードが完了する(図18のステップST31)。
プログラム更新部20は、通信制御部15からVer.βのプログラムを受けると、そのプログラムをプログラム格納装置11に格納する(ステップST32)。
When the digital data output from the communication I /
The
データファイル切替部21は、プログラム更新部20がVer.βのプログラムをプログラム格納装置11に格納すると、再起動前に、データファイルを最新の値に更新するため、例えば、プロセッサ14のキャッシュや外部メモリに記憶されているデータをデータファイル形式Aのデータファイルに書き込む処理を行う(ステップST33)。
その後、プログラム更新部20は、Ver.αのプログラム内のプログラム更新に関する処理内容を実行することで、プログラム格納装置11により格納されている現用系のプログラム(Ver.αのプログラム)をVer.βのプログラムに更新する(ステップST34)。
The data file switching
Thereafter, the
プログラム更新部20は、現用系のプログラム(Ver.αのプログラム)をVer.βのプログラムに更新すると、IP−STBを再起動することで(ステップST35)、Ver.βのプログラムを起動する(ステップST36)。これにより、Ver.βのプログラムが現用系のプログラムとして有効となる。
The
データファイル切替部21は、プログラム更新部20が現用系のプログラムを更新すると、現用系のプログラムであるVer.βのプログラム内のデータファイル更新に関する処理内容を実行することで、データファイル格納装置12におけるデータファイルの構成が現用系と予備系の2重化になるように設定する。
即ち、データファイル切替部21は、データファイル格納装置12の現用系領域12aに格納されている現用系のデータファイル(データファイル形式Aのデータファイル)を予備系のデータファイルとして予備系領域12bに移す処理を実施する(ステップST37)。
When the
In other words, the data
また、データファイル切替部21は、Ver.βのプログラムに対応するデータファイル形式のデータファイルとして、Ver.βのプログラムへの更新に伴って新たに追加するデータ項目と、データファイル形式Aのデータファイルに含まれているデータ項目とからなるデータファイル形式Bのデータファイルを生成し、そのデータファイルを現用系のデータファイルとして現用系領域12aに格納する(ステップST38)。
また、データファイル切替部21は、Ver.βのプログラムへの更新に伴って新たに追加するデータ項目が含まれているデータファイル形式B−Aのデータファイルを生成し、そのデータファイルを予備系のデータファイルとして予備系領域12bに格納する(ステップST39)。
In addition, the data
In addition, the data
図24は1回目のバージョンアップが行われた後の現用系のプログラムと現用系及び予備系のデータファイルとを示す説明図である。
図24の例では、現用系領域12a内に格納されているデータファイル形式Aのデータファイル(データ項目A1,A2,A3)が予備系領域12bに移され、Ver.βのプログラムへの更新に伴って新たに追加されたデータ項目B1,B2とデータ項目A1,A2,A3を含むデータファイル形式Bのデータファイルが現用系領域12aに書き込まれ、データ項目B1,B2を含むデータファイル形式B−Aのデータファイルが予備系領域12bに書き込まれている。
以後、プロセッサ14は、現用系のプログラムであるVer.βのプログラムを実行することで処理を継続する(ステップST40)。
FIG. 24 is an explanatory diagram showing the active system program and the active and standby data files after the first version upgrade.
In the example of FIG. 24, the data file of the data file format A (data items A1, A2, A3) stored in the
Thereafter, the
プロセッサ14は、コンテンツデータの復調などの各種の処理を実施しているとき、例えば、コンテンツ配信サーバ1又はプログラム配信サーバ2からデータファイルに書き込むデータをダウンロードすると、現用系のプログラムであるVer.βのプログラムを参照して、そのデータの書込を行うデータ項目を選択する。
プロセッサ14は、Ver.βのプログラムを参照して、データの書込を行うデータ項目を選択すると、そのデータ項目に対する当該データの書込を行う。
When the
The
図25はデータ項目に対するデータの書込例を示す説明図であり、図25の例では、バージョンアップ前後のプログラムの互換項目であるデータ項目A2を選択しているが、データ項目A2は、データファイル格納装置12における現用系領域12aと予備系領域12bの双方に存在しているので、現用系領域12aと予備系領域12bに格納されている双方のデータ項目A2に対して、同一のデータを書き込んでいる。
図27は別のデータの書込例を示しており、図27の例では、Ver.βのプログラムへの更新に伴って新たに追加されたデータ項目B4を選択しているが、データ項目B4は、データファイル格納装置12における現用系領域12aと予備系領域12bの双方に存在しているので、現用系領域12aと予備系領域12bに格納されている双方のデータ項目B4に対して、同一のデータを書き込んでいる。
FIG. 25 is an explanatory diagram showing an example of writing data to the data item. In the example of FIG. 25, the data item A2, which is a compatible item of the program before and after the version upgrade, is selected. Since the
FIG. 27 shows another example of data writing. In the example of FIG. The newly added data item B4 is selected along with the update to the program of β. The data item B4 exists in both the
プロセッサ14は、現用系のデータファイルからデータを読み込む必要がある場合、現用系のプログラムであるVer.βのプログラムを参照して、現用系領域12aに格納されているデータファイルの中から、データの読込を行うデータ項目を選択する。
プロセッサ14は、Ver.βのプログラムを参照して、データの読込を行うデータ項目を選択すると、そのデータ項目からデータの読込を行う。
When it is necessary to read data from the active data file, the
The
図26はデータ項目からのデータの読込例を示す説明図であり、図26の例では、現用系領域12aに格納されているデータファイル内のデータ項目A2を選択して、そのデータ項目A2からデータを読み込んでいる。
図28は別のデータの読込例を示しており、図28の例では、現用系領域12aに格納されているデータファイル内のデータ項目B4を選択して、そのデータ項目B4からデータを読み込んでいる。
FIG. 26 is an explanatory diagram showing an example of reading data from a data item. In the example of FIG. 26, the data item A2 in the data file stored in the
FIG. 28 shows another example of reading data. In the example of FIG. 28, the data item B4 in the data file stored in the
次に、プログラム格納装置11に格納されている現用系のプログラム(Ver.βのプログラム)をバージョンアンプ(2回目のバージョンアンプ)する際の処理内容を説明する。
プログラム配信サーバ2は、プログラム格納装置11に格納されている現用系のプログラム(Ver.βのプログラム)よりバージョンがアップされているプログラム(Ver.γのプログラム)をネットワーク3経由でIP−STBに配信する。
IP−STBの通信I/F13は、プログラム格納装置11から配信されたVer.γのプログラムに係る信号を受信すると、その信号をデジタルデータに変換し、そのデジタルデータをプロセッサ14に出力する。
Next, the contents of processing when the current program (Ver.β program) stored in the
The program distribution server 2 sends a program (Ver.γ program) whose version has been upgraded from the currently used program (Ver.β program) stored in the
The IP-STB communication I /
プロセッサ14の通信制御部15は、通信I/F13から出力されたデジタルデータがプログラムである場合、そのプログラムをプログラム更新部20に出力することで、Ver.γのプログラムのダウンロードが完了する(図19のステップST41)。
プログラム更新部20は、通信制御部15からVer.γのプログラムを受けると、そのプログラムをプログラム格納装置11に格納する(ステップST42)。
When the digital data output from the communication I /
The
データファイル切替部21は、プログラム更新部20がVer.γのプログラムをプログラム格納装置11に格納すると、再起動前に、データファイルを最新の値に更新するため、例えば、プロセッサ14のキャッシュや外部メモリに記憶されているデータを現用系のデータファイル形式Bのデータファイル及び予備系のデータファイル形式A,B−Aのデータファイルに書き込む処理を行う(ステップST43)。
その後、プログラム更新部20は、Ver.βのプログラム内のプログラム更新に関する処理内容を実行することで、プログラム格納装置11により格納されている現用系のプログラム(Ver.βのプログラム)をVer.γのプログラムに更新する(ステップST44)。
The data file switching
Thereafter, the
プログラム更新部20は、現用系のプログラム(Ver.βのプログラム)をVer.γのプログラムに更新すると、IP−STBを再起動することで(ステップST45)、Ver.γのプログラムを起動する(ステップST46)。これにより、Ver.γのプログラムが現用系のプログラムとして有効となる。
The
データファイル切替部21は、プログラム更新部20が現用系のプログラムを更新すると、現用系のプログラムであるVer.γのプログラム内のデータファイル更新に関する処理内容を実行することで、Ver.γのプログラムに対応するデータファイル形式のデータファイルとして、Ver.γのプログラムへの更新に伴って新たに追加するデータ項目と、データファイル形式Bのデータファイルに含まれているデータ項目とからなるデータファイル形式Cのデータファイルを生成し、そのデータファイルを現用系のデータファイルとして現用系領域12aに格納する(ステップST47)。なお、現用系のプログラムが構成される前に、現用系領域12aに格納されていたデータファイル形式Aのデータファイルは削除する。
また、データファイル切替部21は、Ver.γのプログラムへの更新に伴って新たに追加するデータ項目が含まれているデータファイル形式C−Bのデータファイルを生成し、そのデータファイルを予備系のデータファイルとして予備系領域12bに格納する(ステップST48)。
When the
In addition, the data
図29は2回目のバージョンアップが行われた後の現用系のプログラムと現用系及び予備系のデータファイルとを示す説明図である。
図29の例では、Ver.βのプログラムへの更新に伴って新たに追加されたデータ項目C6とデータ項目A1,A2,A3,B4,B5を含むデータファイル形式Cのデータファイルが現用系領域12aに書き込まれ、データ項目C6を含むデータファイル形式C−Bのデータファイルが予備系領域12bに書き込まれている。
以後、プロセッサ14は、現用系のプログラムであるVer.γのプログラムを実行することで処理を継続する(ステップST49)。
FIG. 29 is an explanatory diagram showing the active system program and the active and standby data files after the second version upgrade.
In the example of FIG. A data file of the data file format C including the data item C6 and the data items A1, A2, A3, B4, B5 newly added with the update of the program of β is written to the
Thereafter, the
プロセッサ14は、コンテンツデータの復調などの各種の処理を実施しているとき、例えば、コンテンツ配信サーバ1又はプログラム配信サーバ2からデータファイルに書き込むデータをダウンロードすると、現用系のプログラムであるVer.γのプログラムを参照して、そのデータの書込を行うデータ項目を選択する。
プロセッサ14は、Ver.γのプログラムを参照して、データの書込を行うデータ項目を選択すると、そのデータ項目に対する当該データの書込を行う。
When the
The
図30はデータ項目に対するデータの書込例を示す説明図であり、図30の例では、バージョンアップ前後のプログラムの互換項目であるデータ項目B4(1回目のバージョンアンプで追加された項目)を選択しているが、データ項目B4は、データファイル格納装置12における現用系領域12aと予備系領域12bの双方に存在しているので、現用系領域12aと予備系領域12bに格納されている双方のデータ項目B4に対して、同一のデータを書き込んでいる。
図32は別のデータの書込例を示しており、図32の例では、Ver.γのプログラムへの更新に伴って新たに追加されたデータ項目C6を選択しているが、データ項目C6は、データファイル格納装置12における現用系領域12aと予備系領域12bの双方に存在しているので、現用系領域12aと予備系領域12bに格納されている双方のデータ項目C6に対して、同一のデータを書き込んでいる。
FIG. 30 is an explanatory diagram showing an example of writing data to the data item. In the example of FIG. 30, data item B4 (item added by the first version amplifier) which is a compatible item of the program before and after the version upgrade is shown. Although selected, the data item B4 exists in both the
FIG. 32 shows another data writing example. In the example of FIG. The newly added data item C6 is selected along with the update of γ to the program. The data item C6 exists in both the
プロセッサ14は、現用系のデータファイルからデータを読み込む必要がある場合、現用系のプログラムであるVer.γのプログラムを参照して、現用系領域12aに格納されているデータファイルの中から、データの読込を行うデータ項目を選択する。
プロセッサ14は、Ver.γのプログラムを参照して、データの読込を行うデータ項目を選択すると、そのデータ項目からデータの読込を行う。
When it is necessary to read data from the active data file, the
The
図31はデータ項目からのデータの読込例を示す説明図であり、図31の例では、現用系領域12aに格納されているデータファイル内のデータ項目B5を選択して、そのデータ項目B5からデータを読み込んでいる。
図33は別のデータの読込例を示しており、図33の例では、現用系領域12aに格納されているデータファイル内のデータ項目C6を選択して、そのデータ項目C6からデータを読み込んでいる。
FIG. 31 is an explanatory diagram showing an example of reading data from a data item. In the example of FIG. 31, the data item B5 in the data file stored in the
FIG. 33 shows another example of reading data. In the example of FIG. 33, the data item C6 in the data file stored in the
プロセッサ14は、現用系のプログラムをVer.γのプログラムに更新したのち、何らかの障害の発生、仕様の変更、機能の追加や削減などが要因で、現用系のプログラムを元のバージョンのプログラム(Ver.βのプログラム)に戻す必要を生じるケースがある。
次に、プログラム格納装置11に格納されている現用系のプログラム(Ver.γのプログラム)をバージョンダウンする際の処理内容を説明する。
The
Next, the processing contents when the current program (Ver.γ program) stored in the
プログラム配信サーバ2は、プログラム格納装置11に格納されている現用系のプログラム(Ver.γのプログラム)よりバージョンがダウンされているプログラム(Ver.βのプログラム)をネットワーク3経由でIP−STBに配信する。
IP−STBの通信I/F13は、プログラム格納装置11から配信されたVer.βのプログラムに係る信号を受信すると、その信号をデジタルデータに変換し、そのデジタルデータをプロセッサ14に出力する。
The program distribution server 2 sends a program (Ver.β program) whose version is down from the active program (Ver.γ program) stored in the
The IP-STB communication I /
プロセッサ14の通信制御部15は、通信I/F13から出力されたデジタルデータがプログラムである場合、そのプログラムをプログラム更新部20に出力することで、Ver.βのプログラムのダウンロードが完了する(図20のステップST51)。
プログラム更新部20は、通信制御部15からVer.βのプログラムを受けると、そのプログラムをプログラム格納装置11に格納する(ステップST52)。
When the digital data output from the communication I /
The
データファイル切替部21は、プログラム更新部20がVer.βのプログラムをプログラム格納装置11に格納すると、再起動前に、データファイルを最新の値に更新するため、例えば、プロセッサ14のキャッシュや外部メモリに記憶されているデータを現用系のデータファイル形式Cのデータファイル及び予備系のデータファイル形式A,B−A,C−Bのデータファイルに書き込む処理を行う(ステップST53)。
その後、プログラム更新部20は、Ver.γのプログラム内のプログラム更新に関する処理内容を実行することで、プログラム格納装置11により格納されている現用系のプログラム(Ver.γのプログラム)をVer.βのプログラムに更新する(ステップST54)。
The data file switching
Thereafter, the
プログラム更新部20は、現用系のプログラム(Ver.γのプログラム)をVer.βのプログラムに更新すると、IP−STBを再起動することで(ステップST55)、Ver.βのプログラムを起動する(ステップST56)。これにより、Ver.βのプログラムが現用系のプログラムとして有効となる。
The
データファイル切替部21は、プログラム更新部20が現用系のプログラムを更新すると、現用系のプログラムであるVer.βのプログラム内のデータファイル更新に関する処理内容を実行することで、データファイル格納装置12の予備系領域12bに格納されている予備系のデータファイルを組み合わせることで、Ver.βのプログラムに対応するデータファイル形式Bのデータファイルを生成し、そのデータファイルを現用系のデータファイルとして現用系領域12aに格納する(ステップST57)。なお、現用系のプログラムが構成される前に、現用系領域12aに格納されていたデータファイル形式Cのデータファイルは削除する。
When the
図34はバージョンダウンが行われた後の現用系のプログラムと現用系及び予備系のデータファイルとを示す説明図である。
図34の例では、現用系領域12aに格納されていたデータファイル形式Cのデータファイル(データ項目A1,A2,A3,B1,B2,C6)が、データファイル形式Bのデータファイル(データ項目A1,A2,A3,B1,B2)に更新されている。
以後、プロセッサ14は、現用系のプログラムであるVer.βのプログラムを実行することで処理を継続する(ステップST58)。
FIG. 34 is an explanatory diagram showing the active system program and the active and standby data files after the version down.
In the example of FIG. 34, the data file of the data file format C (data items A1, A2, A3, B1, B2, C6) stored in the
Thereafter, the
プロセッサ14は、現用系のデータファイルからデータを読み込む必要がある場合、現用系のプログラムであるVer.βのプログラムを参照して、現用系領域12aに格納されているデータファイルの中から、データの読込を行うデータ項目を選択する。
プロセッサ14は、Ver.γのプログラムを参照して、データの読込を行うデータ項目を選択すると、そのデータ項目からデータの読込を行う。
図35はデータ項目からのデータの読込例を示す説明図であり、図35の例では、現用系領域12aに格納されているデータファイル内のデータ項目B4を選択して、そのデータ項目B4からデータを読み込んでいる。
When it is necessary to read data from the active data file, the
The
FIG. 35 is an explanatory diagram showing an example of reading data from a data item. In the example of FIG. 35, the data item B4 in the data file stored in the
ここでは、Ver.γのプログラムからVer.βのプログラムにバージョンダウンするものを示したが、Ver.βのプログラムからVer.αのプログラムにバージョンダウンする場合も、同様の手順で行うことができる。 Here, Ver. From the program of γ, Ver. Although the version down to the β program was shown, Ver. From the β program, Ver. The same procedure can be followed when downgrading to an α program.
以上で明らかなように、この実施の形態2によれば、データファイル切替部21が、プログラム更新部20により現用系のプログラムが更新されることで、現用系のプログラムのバージョンがアップされた場合、現用系のプログラムの更新に伴って新たに追加するデータ項目をデータファイル格納装置12の現用系領域12aに格納されている現用系のデータファイルに追加するとともに、そのデータ項目を含むデータファイルを予備系のデータファイルとしてデータファイル格納装置12の予備系領域12bに格納し、プログラム更新部20により現用系のプログラムが更新されることで、現用系のプログラムのバージョンがダウンされた場合、データファイル格納装置12の予備系領域12bに格納されている予備系のデータファイルを組み合わせることで、プログラム更新部20による更新後の現用系のプログラムに対応するデータファイル形式のデータファイルを現用系のデータファイルとして生成して、データファイル格納装置12の現用系領域12aに格納されている現用系のデータファイルを更新するように構成したので、上記実施の形態1と同様の効果を奏するほかに、複数回プログラムのバージョンアップが行われても、複数の予備系のデータファイルの中に、同じデータ項目が重複して含まれることがなくなり、データファイル格納装置12の容量を軽減することができる効果を奏する。また、書込処理に必要なデータファイルを1つにすることができるため、処理負荷を軽減することができる効果を奏する。
As is apparent from the above, according to the second embodiment, when the data
なお、本願発明はその発明の範囲内において、各実施の形態の自由な組み合わせ、あるいは各実施の形態の任意の構成要素の変形、もしくは各実施の形態において任意の構成要素の省略が可能である。 In the present invention, within the scope of the invention, any combination of the embodiments, or any modification of any component in each embodiment, or omission of any component in each embodiment is possible. .
1 コンテンツ配信サーバ、2 プログラム配信サーバ、3 ネットワーク、11 プログラム格納装置(プログラム格納手段)、12 データファイル格納装置(データファイル格納手段)、13 通信I/F(ダウンロード手段)、14 プロセッサ、15 通信制御部(ダウンロード手段)、16 選局制御部、17 デマルチプレクサ、18 映像デコーダ、19 音声デコーダ、20 プログラム更新部(プログラム更新手段)、21 データファイル切替部(第1及び第2のデータファイル更新手段)、22 リモコンI/F、23 映像出力I/F、24 音声出力I/F。 1 content distribution server, 2 program distribution server, 3 network, 11 program storage device (program storage means), 12 data file storage device (data file storage means), 13 communication I / F (download means), 14 processor, 15 communication Control unit (downloading unit), 16 channel selection control unit, 17 demultiplexer, 18 video decoder, 19 audio decoder, 20 program updating unit (program updating unit), 21 data file switching unit (first and second data file updating) Means), 22 remote control I / F, 23 video output I / F, 24 audio output I / F.
Claims (3)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011013010A JP5501259B2 (en) | 2011-01-25 | 2011-01-25 | Data file management device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011013010A JP5501259B2 (en) | 2011-01-25 | 2011-01-25 | Data file management device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2012155462A true JP2012155462A (en) | 2012-08-16 |
| JP5501259B2 JP5501259B2 (en) | 2014-05-21 |
Family
ID=46837147
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011013010A Expired - Fee Related JP5501259B2 (en) | 2011-01-25 | 2011-01-25 | Data file management device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5501259B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019074996A (en) * | 2017-10-18 | 2019-05-16 | アズビル株式会社 | Engineering device, and engineering method |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04219822A (en) * | 1990-12-20 | 1992-08-10 | Fujitsu Ltd | File update system |
| JPH0954690A (en) * | 1995-08-11 | 1997-02-25 | Fujitsu Ltd | File replacement method |
| JPH11191069A (en) * | 1997-12-26 | 1999-07-13 | Fujitsu Ltd | Duplicate device file update method |
| JP2007257156A (en) * | 2006-03-22 | 2007-10-04 | Nec Corp | Restore system and restore method |
| JP2007264979A (en) * | 2006-03-28 | 2007-10-11 | Oki Electric Ind Co Ltd | File update method for redundant system |
-
2011
- 2011-01-25 JP JP2011013010A patent/JP5501259B2/en not_active Expired - Fee Related
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04219822A (en) * | 1990-12-20 | 1992-08-10 | Fujitsu Ltd | File update system |
| JPH0954690A (en) * | 1995-08-11 | 1997-02-25 | Fujitsu Ltd | File replacement method |
| JPH11191069A (en) * | 1997-12-26 | 1999-07-13 | Fujitsu Ltd | Duplicate device file update method |
| JP2007257156A (en) * | 2006-03-22 | 2007-10-04 | Nec Corp | Restore system and restore method |
| JP2007264979A (en) * | 2006-03-28 | 2007-10-11 | Oki Electric Ind Co Ltd | File update method for redundant system |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019074996A (en) * | 2017-10-18 | 2019-05-16 | アズビル株式会社 | Engineering device, and engineering method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP5501259B2 (en) | 2014-05-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8933987B2 (en) | Content reproducing apparatus and recording medium for switching graphics and video images from 2D to 3D | |
| JP2004005454A (en) | Receiving device, printing device, and firmware update system | |
| JP3655266B2 (en) | Information processing device | |
| JP4861288B2 (en) | Program sending system and program sending method | |
| JP5501259B2 (en) | Data file management device | |
| JP2009124527A (en) | Content reproduction method, node device, and program | |
| CN101228788B (en) | Intelligent Disaster Recovery for Digital Cinema Multiplex | |
| US9246981B2 (en) | Transfer device, client apparatus, server apparatus, reproduction apparatus and transfer method | |
| JP2008165859A (en) | Recording apparatus, recording / reproducing system, and recording method | |
| JP5984500B2 (en) | Information processing apparatus, broadcast receiving apparatus, and software activation method | |
| CN119003478B (en) | Ceph distributed storage method and device, electronic equipment and storage medium | |
| JP5015093B2 (en) | Receiver and receiver control method | |
| KR101956111B1 (en) | Apparatus and method for transmitting/receiving scene composition information | |
| JP4281356B2 (en) | Scheduled recording system | |
| KR101727569B1 (en) | Method and Apparatus for Service of Hybrid Media embed Seamless HDMI Automatic Conversion Function Connecting with Smartphone | |
| JP4612538B2 (en) | Digital broadcast receiver | |
| JP2009259169A (en) | Content delivery apparatus and content delivery method using the same | |
| JP2003219339A (en) | Still image file device for program transmission and program transmission device | |
| JP2008015739A (en) | AV content backup method and apparatus | |
| CN111385618A (en) | Information source list display method, Android television and storage medium | |
| KR101494001B1 (en) | Terminal supporting system and terminal, method of supporting terminal thereof, and method of reproducing video file | |
| US8150236B2 (en) | Data recording apparatus, data recording method and program | |
| JP2008009742A (en) | Information processing device | |
| JP2008252953A (en) | Reservation device, reservation information setting method and program | |
| CN100562086C (en) | A video encoder that sends extracted images externally in the encoder |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130724 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140207 |
|
| 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: 20140212 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140311 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5501259 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 |
|
| LAPS | Cancellation because of no payment of annual fees |