JP4857462B2 - Digital broadcast receiver - Google Patents
Digital broadcast receiver Download PDFInfo
- Publication number
- JP4857462B2 JP4857462B2 JP2000338645A JP2000338645A JP4857462B2 JP 4857462 B2 JP4857462 B2 JP 4857462B2 JP 2000338645 A JP2000338645 A JP 2000338645A JP 2000338645 A JP2000338645 A JP 2000338645A JP 4857462 B2 JP4857462 B2 JP 4857462B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- program
- data
- control program
- receiver control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Stored Programmes (AREA)
- Circuits Of Receivers In General (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Television Systems (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、デジタル放送受信機において、受信機の制御プログラムを更新する機能を有するデジタル放送受信機のプログラム更新方法に関するものである。
【0002】
【従来の技術】
従来のデジタル放送受信機のプログラム更新方法は、プログラム更新機能を実現する際、プログラム更新を安全におこなうためにプログラム格納用メモリを二重に持ち、プログラムが入っていない方のメモリはプログラム更新をおこなう際にのみ用い、通常は全く使用されず、アプリケーションプログラムなどがデータ蓄積のために必要なメモリは別途用意されるという非経済的な技術であった。
【0003】
【発明が解決しようとする課題】
本発明は、プログラム格納用のメモリを二重に持ってプログラム更新を安全におこなう手法において、プログラム更新をおこなわないときには現在起動しているプログラムが格納されているメモリではない方のメモリを、他の目的で有効に利用することを可能にでき、別途メモリを用意する必要がなく、プログラムの更新を安全に行うことを可能にするものである。
【0004】
【課題を解決するための手段】
前記課題を解決するために、本発明のデジタル放送受信機のプログラム更新方法は、電波を受信するためのアンテナと、目的の電波を受信するためのチューナと、受信したデジタル放送用電波から、目的の番組やデータを選別するフィルタと、前記フィルタで選別されたデータのうち、プログラム更新用のデータかそれ以外のデータかを判断し選別するデータ判定手段と、前記データ判定手段でアプリケーションプログラムが使用するデータと判断されたデータをつなぎ合わせてアプリケーションプログラムから使用できるように構築するアプリ用データ構築手段と、番組表やデータ放送などの機能を実現するためのアプリケーションプログラムと、前記アプリ用データ構築手段で構築されたデータを保管するためのRAM2と、前記データ判定手段でプログラム更新用データと判定されたデータを集めてプログラムを構築するプログラム構築手段と、構築したプログラムを一時的に保管するRAM1と、前記RAM1に保管されたプログラム更新用データのCRCやCheck−Sumを計算するプログラム検査手段と、上記RAM1に保管されたプログラム格納用メモリに書き込むためのメモリ書込手段と、2つあるメモリのアドレスの割り当てを入れ替えるメモリ切替手段と、プログラムを格納する目的で用意される電気的に書き換え可能で、電源を供給されなくても書き込まれたデータを保持することが可能なメモリ1、メモリ2と、システム起動時、立ち上がるべきプログラムが格納されているメモリを自動的に選択し、メモリ切替手段を制御する起動判定手段と、起動するべきプログラムが格納されているメモリがメモリ1かメモリ2かを保持している不揮発性メモリと、起動するべきプログラムの内容が正規のプログラムか否かを検査するための起動メモリ検査手段と、起動時に、通常のシステム起動かプログラム更新目的での起動かを判断し、起動モードを切り替える起動モード判定手段と、メモリに書き込まれたプログラムが異常で起動ができない場合にユーザに知らせる起動失敗通知手段とを有し、起動したプログラムが格納されているメモリとは逆のメモリ、たとえば起動したプログラムがメモリ1に入っていた場合はメモリ2を別の目的、たとえばアプリケーションが使用するデータを保管することを可能にし、さらにプログラムの更新を安全に行うことができるデジタル放送受信機のプログラム更新方法。
【0005】
【発明の実施の形態】
本発明の第1の発明は、デジタル放送受信機のプログラム更新方法制御プログラムを更新する手段を内蔵したデジタル放送受信機のプログラム更新方法において、受信機制御プログラムを更新する機能を安全に実現する目的で、プログラム格納用のメモリを2重に持つ構成の場合に、プログラムを更新する際以外はプログラムを格納していない片方のメモリを他の目的に使用することを可能にするデジタル放送受信機のプログラム更新方法であり、メモリを効率よく利用することができる。
【0006】
本発明の第2の発明は、電波を受信するためのアンテナと、目的の電波を受信するためのチューナと、受信したデジタル放送用電波から、目的の番組やデータを選別するフィルタと、前記フィルタで選別されたデータのうち、プログラム更新用のデータかそれ以外のデータかを判断し選別するデータ判定手段と、前記データ判定手段でアプリケーションプログラムが使用するデータと判断されたデータをつなぎ合わせてアプリケーションプログラムから使用できるように構築するアプリ用データ構築手段と、番組表やデータ放送などの機能を実現するためのアプリケーションプログラムと、前記アプリ用データ構築手段で構築されたデータを保管するためのRAM2と、前記データ判定手段でプログラム更新用データと判定されたデータを集めてプログラムを構築するプログラム構築手段と、構築したプログラムを一時的に保管するRAM1と、前記RAM1に保管されたプログラム更新用データのCRCやCheck−Sumを計算するプログラム検査手段と、上記RAM1に保管されたプログラム格納用メモリに書き込むためのメモリ書込手段と、2つあるメモリのアドレスの割り当てを入れ替えるメモリ切替手段と、プログラムを格納する目的で用意される電気的に書き換え可能で、電源を供給されなくても書き込まれたデータを保持することが可能なメモリ1、メモリ2と、システム起動時、立ち上がるべきプログラムが格納されているメモリを自動的に選択し、メモリ切替手段を制御する起動判定手段と、起動するべきプログラムが格納されているメモリがメモリ1かメモリ2かを保持している不揮発性メモリと、起動するべきプログラムの内容が正規のプログラムか否かを検査するための起動メモリ検査手段と、起動時に、通常のシステム起動かプログラム更新目的での起動かを判断し、起動モードを切り替える起動モード判定手段と、メモリに書き込まれたプログラムが異常で起動ができない場合にユーザに知らせる起動失敗通知手段とを有し、起動したプログラムが格納されているメモリとは逆のメモリを別の目的、たとえばアプリケーションが使用するデータを保管することを可能にし、さらにプログラムの更新を安全に行うことができる事を実現する。
【0007】
(実施の形態1)
以下に、本発明の第1の実施の形態について図1を用いて説明する。
【0008】
図1において、1は電波を受けるためのアンテナ、2は目的の電波を受信するためのチューナ、3は受信したデジタル放送用電波から、目的の番組やデータを選別するフィルタ、4は前記フィルタで選別されたデータのうち、プログラム更新用のデータかそれ以外のデータかを判断し選別するデータ判定手段、5は前記データ判定手段でアプリケーションプログラムが使用するデータと判断されたデータをつなぎ合わせてアプリケーションプログラムから使用できるように構築するアプリ用データ構築手段、6は番組表やデータ放送などの機能を実現するためのアプリケーションプログラム、7は前記アプリ用データ構築手段で構築されたデータを保管するためのRAM2、8は前記データ判定手段でプログラム更新用データと判定されたデータを集めてプログラムを構築するプログラム構築手段、9は構築したプログラムを一時的に保管するRAM1、10は前記RAM1に保管されたプログラム格納用メモリに書き込むためのメモリ書込手段、11は2つあるメモリのアドレスの割り当てを入れ替えるメモリ切替手段、12はプログラムを格納する目的で用意される電気的に書き換え可能で、電源を供給されなくても書き込まれたデータを保持することが可能なメモリであり、たとえばFlashROMである。
【0009】
13は前記12のメモリと同様のメモリ、14はシステム起動時、立ち上がるべきプログラムが格納されているメモリを自動的に選択し、メモリ切替手段を制御する起動判定手段、15は起動するべきプログラムの内容が正規のプログラムか否かを検査するための起動メモリ検査手段、16は起動するべきプログラムが格納されているメモリがメモリ1かメモリ2かを保持している不揮発性メモリであり、たとえばEEPROMである。
【0010】
17は前記RAM1に保管されたプログラム更新用データのCRCやCheck−Sumを計算するプログラム検査手段、18は起動時に、通常のシステム起動かプログラム更新目的での起動かを判断し、起動モードを切り替える起動モード判定手段、19はメモリに書き込まれたプログラムが異常で起動ができない場合にユーザに知らせる起動失敗通知手段である。
【0011】
チューナによって受けた電波から、フィルタによって必要なデータをデータ判定手段に送る。データ判定手段では、フィルタから送られてきたデータをプログラム更新用のデータかそうでないかを判定する。データ判定手段でプログラム更新用のデータと判断されたデータはプログラム構築手段によって集められ、動作可能なプログラムの形に構築される。構築された更新用のプログラムは、いったんRAM1に蓄積され、プログラム検査手段によってCRCもしくはChech-Sum、またはその他の計算を行う。
【0012】
計算した結果は不揮発性メモリに書き込んでおき、システム起動時に起動メモリ検査手段によって利用される。プログラムの検査が終了するとプログラム検査手段はメモリ書き込み手段に通知し、メモリ書き込み手段はRAM1からプログラムを読み出す。メモリ切り替え手段は起動判定手段から、現在起動しているプログラムが格納されているメモリとは逆のメモリに対して書き込みを行う。メモリ書き込み手段はすべてのプログラムの書き込みが終了したら、次回起動するべきプログラムが書き込まれたメモリがどのメモリかを不揮発性メモリに書き込んでおく。
【0013】
また、データ判定手段によって、プログラム更新用データではないと判断されたデータはアプリ用データ構築手段に送られ、アプリケーションで利用できる形態に構築され、RAM2に蓄積される。アプリケーションは必要に応じて電源が切られても残しておきたいデータ、たとえば番組表のデータ等をRAM2から読み出し、メモリ書き込み手段に渡す。メモリ書き込み手段は現在起動しているプログラムが格納されているメモリとは反対方向にデータを書き込む。
【0014】
システム起動時には、起動判定手段は不揮発性メモリから立ち上がるべきプログラムが入っているメモリがどちらかを読み込み、メモリ切り替え手段に通知し、立ち上がるべきプログラムが格納されているメモリがプログラムの実行に支障のないアドレスにマッピングされる。メモリの切り替えが終了したら、起動メモリ検査手段はまず立ち上がるべきプログラムが格納されているメモリの内容を読み込み、CRCもしくはCheck−Sumもしくはそれ以外の手法で計算を行い、不揮発性メモリに格納されたプログラム検査手段の計算結果と比較する。
【0015】
計算結果が一致すれば、正常に起動できると判断し、通常の立ち上がりシーケンスに基づいてシステムを起動するが、計算結果が一致しなかった場合は、反対側のメモリを検査する。検査の結果計算結果が一致すれば不揮発性メモリに正しい立ち上がるべきプログラムが格納されたメモリから起動するようにデータを変更し、メモリ切り替え手段に通知する。
【0016】
万が一、メモリ1、メモリ2のどちらも正しいプログラムが入っていると判断されなかった場合は、起動失敗通知手段に通知し、起動が失敗した旨をユーザに通知する。
【0017】
起動にはプログラム更新モードと通常モードがあり起動モード判定手段によって判断される。プログラム更新モードの場合は、データ判定手段において、アプリケーション用のデータを捨てること、もしくはアプリケーションプログラム自身を動かさないようにすることにより、プログラム更新用データの書き込みと、アプリケーションで利用するデータが同時に同一のメモリに書き込まれることを防ぐ。
【0018】
図2において、11は前記メモリ切替手段であり、2つあるメモリのアドレスの割り当てを入れ替えることができる。12、13は前記メモリ1、2であり、プログラムを格納する目的で用意される電気的に書き換え可能で、電源を供給されなくても書き込まれたデータを保持することが可能なメモリであり、たとえばFlashMemoryである。
【0019】
デジタル放送受信機を制御するプログラムがメモリ1に記録されている状態の時、メモリ1は例えばAddress 0x00000000〜0x3fffffffに配置される。このときメモリ2はAddress 0x40000000〜0x7fffffffに配置され、このアドレスを用いて、データを書き込んだり読み出したりすることができる。
【0020】
次に、メモリ切替手段を通じてメモリを切り替えると、メモリ1は例えばAddress 0x40000000〜0x7fffffff、メモリ2はAddress 0x00000000〜3fffffffに配置される。
【0021】
受信機制御プログラムを更新する場合、例えば現在の受信機制御プログラムがメモリ1に入って動作しているとすると、受信した新しい受信機制御プログラムをAddress 0x40000000から書き込む様にすると、それはメモリ2に書き込まれることになる。書込が終わった後にメモリ切替手段を用いてメモリを切り替えると、今度はメモリ2がAddress 0x00000000になり、メモリ1がAddress 0x40000000になるので、メモリ2に書き込まれた新しい受信機制御プログラムが動作する。メモリ1に書き込まれている古い受信機制御プログラムは必要なくなるので、アプリケーションプログラムがデータ蓄積用に利用することができる。
【0022】
また、この状態で新たに受信機制御プログラムを更新しようとしたとき、Address 0x40000000に受信した受信機制御プログラムを書き込むことで、今度はメモリ1に書き込むことができる。
【0023】
このように、受信機制御プログラムを更新するときはどちらのメモリに書き込むかを意識せず、また、プログラムが書き込まれているメモリとは逆のメモリも受信機制御プログラムを更新するとき以外はアプリケーションプログラムなどがデータ蓄積などの目的で使用することが可能である。
【0024】
(実施の形態2)
以下に、本発明の第2の実施の形態について図3を用いて説明する。
【0025】
図3において、1は電波を受けるためのアンテナ、2は目的の電波を受信するためのチューナ、3は受信したデジタル放送用電波から、目的の番組やデータを選別するフィルタ、4は前記フィルタで選別されたデータのうち、プログラム更新用のデータかそれ以外のデータかを判断し選別するデータ判定手段、5は前記データ判定手段でアプリケーションプログラムが使用するデータと判断されたデータをつなぎ合わせてアプリケーションプログラムから使用できるように構築するアプリ用データ構築手段、6は番組表やデータ放送などの機能を実現するためのアプリケーションプログラム、7は前記アプリ用データ構築手段で構築されたデータを保管するためのRAM2、8は前記データ判定手段でプログラム更新用データと判定されたデータを集めてプログラムを構築するプログラム構築手段、9は構築したプログラムを一時的に保管するRAM1、10は前記RAM1に保管されたプログラム格納用メモリに書き込むためのメモリ書込手段、11は2つあるメモリのアドレスの割り当てを入れ替えるメモリ切替手段、12はプログラムを格納する目的で用意される電気的に書き換え可能で、電源を供給されなくても書き込まれたデータを保持することが可能なメモリであり、たとえばFlashROMである。
【0026】
13は前記12のメモリと同様のメモリ、14はシステム起動時、立ち上がるべきプログラムが格納されているメモリを自動的に選択し、メモリ切替手段を制御する起動判定手段、15は起動するべきプログラムの内容が正規のプログラムか否かを検査するための起動メモリ検査手段、16は起動するべきプログラムが格納されているメモリがメモリ1かメモリ2かを保持している不揮発性メモリであり、たとえばEEPROMである。
【0027】
17は前記RAM1に保管されたプログラム更新用データのCRCやCheck−Sumを計算するプログラム検査手段、18は起動時に、通常のシステム起動かプログラム更新目的での起動かを判断し、起動モードを切り替える起動モード判定手段、19はメモリに書き込まれたプログラムが異常で起動ができない場合にユーザに知らせる起動失敗通知手段、20はすべての受信機を一意に識別するための情報を記録した受信機識別子記憶手段、21は受信機制御プログラムの更新状態、更新結果を電話回線などを通じて送受信するための通信手段、22は受信機から送られてきた情報を受け取って、その情報を管理するためのセンターである。
【0028】
受信機は受信機制御プログラムの更新を行った際に、その動作経過や、受信機制御プログラムのバージョン番号、更新の成否などの情報を逐次受信機識別子記憶手段から取り出した受信機識別子とあわせて通信手段に送る。通信手段は電話回線などを通じてセンターにその情報を送信する。センターは受信機識別子毎にこれらの情報を管理することによって、ユーザが行った受信機制御プログラムの更新状況、結果を知ることができ、万が一受信機制御プログラムの更新に失敗したような場合、そのユーザに対して適切な助言をすることが可能になる。
【0029】
また、市場に出回っているデジタル放送対応受信機で動作している受信機制御プログラムのバージョン番号を管理し、例えば受信機動作に不具合のあるバージョンの受信機制御プログラムが動作している受信機を使用しているユーザに対して適切な助言、サポートをすることが可能になる。
【0030】
(実施の形態3)
以下に、本発明の第2の実施の形態について図4を用いて説明する。図4において、1は電波を受けるためのアンテナ、2は目的の電波を受信するためのチューナ、3は受信したデジタル放送用電波から、目的の番組やデータを選別するフィルタ、4は前記フィルタで選別されたデータのうち、プログラム更新用のデータかそれ以外のデータかを判断し選別するデータ判定手段、5は前記データ判定手段でアプリケーションプログラムが使用するデータと判断されたデータをつなぎ合わせてアプリケーションプログラムから使用できるように構築するアプリ用データ構築手段、6は番組表やデータ放送などの機能を実現するためのアプリケーションプログラム、7は前記アプリ用データ構築手段で構築されたデータを保管するためのRAM2、8は前記データ判定手段でプログラム更新用データと判定されたデータを集めてプログラムを構築するプログラム構築手段、9は構築したプログラムを一時的に保管するRAM1、10は前記RAM1に保管されたプログラム格納用メモリに書き込むためのメモリ書込手段、11は2つあるメモリのアドレスの割り当てを入れ替えるメモリ切替手段、12はプログラムを格納する目的で用意される電気的に書き換え可能で、電源を供給されなくても書き込まれたデータを保持することが可能なメモリであり、たとえばFlashROMである。
【0031】
13は前記12のメモリと同様のメモリ、14はシステム起動時、立ち上がるべきプログラムが格納されているメモリを自動的に選択し、メモリ切替手段を制御する起動判定手段、15は起動するべきプログラムの内容が正規のプログラムか否かを検査するための起動メモリ検査手段、16は起動するべきプログラムが格納されているメモリがメモリ1かメモリ2かを保持している不揮発性メモリであり、たとえばEEPROMである。
【0032】
17は前記RAM1に保管されたプログラム更新用データのCRCやCheck−Sumを計算するプログラム検査手段、18は起動時に、通常のシステム起動かプログラム更新目的での起動かを判断し、起動モードを切り替える起動モード判定手段、19はメモリに書き込まれたプログラムが異常で起動ができない場合にユーザに知らせる起動失敗通知手段、20はすべての受信機を一意に識別するための情報を記録した受信機識別子記憶手段、21は受信機制御プログラムの更新状態、更新結果を電話回線などを通じて送受信するための通信手段、22は受信機から送られてきた情報を受け取って、その情報を管理するためのセンター、23は一般に普及している、例えばSDカード、マルチメディアカード等の不揮発性メモリカード、24は前記不揮発性メモリカードに対して読み書きする機能を有する不揮発性メモリカード読み書き手段である。
【0033】
前記実施の形態1では、受信機制御プログラムが記録されていない方のメモリに対し、受信機制御プログラムの更新を実行していないときは例えばアプリケーションプログラムが番組表などのデータを書き込み、蓄積しているが、その状態から受信機制御プログラムの更新を行うと、これらの蓄積された情報は破棄され、受信機制御プログラムの更新を行った後に新たに受信、蓄積を行う必要がある。
【0034】
そこで、広く一般に市販されている不揮発性メモリカードとそのメモリカードに対して読み書きする手段を用意し、受信機制御プログラムの更新を行う際に、まず例えばアプリケーションプログラムなどが蓄積したデータを不揮発性メモリカード読み書き手段を用いて不揮発性メモリカードに書き写す。
【0035】
その後受信機制御プログラムの更新を行い、更新が終わったあと、再び不揮発性メモリカードから先ほど書き込んだデータを、更新する前の受信機制御プログラムが記録されているメモリに対し上書きする。この際、前記実施の形態1で説明したようにメモリ切替手段によってメモリ1メモリ2のアドレスは切り替わっているため、どちらのメモリに書き込むといった指示は必要なく、アドレスのみ指示してデータを書き戻せばよい。
【0036】
このようにすることで、受信機制御プログラムの更新を行った際にもアプリケーションプログラムなどが蓄積したデータを破棄することなく、安全に受信機制御プログラムの更新を行うことが可能になる。
【0037】
【発明の効果】
以上のように本発明のデジタル放送受信機のプログラム更新方法によれば、電波を受信するためのアンテナと、目的の電波を受信するためのチューナと、受信したデジタル放送用電波から、目的の番組やデータを選別するフィルタと、前記フィルタで選別されたデータのうち、プログラム更新用のデータかそれ以外のデータかを判断し選別するデータ判定手段と、前記データ判定手段でアプリケーションプログラムが使用するデータと判断されたデータをつなぎ合わせてアプリケーションプログラムから使用できるように構築するアプリ用データ構築手段と、番組表やデータ放送などの機能を実現するためのアプリケーションプログラムと、前記アプリ用データ構築手段で構築されたデータを保管するためのRAM2と、前記データ判定手段でプログラム更新用データと判定されたデータを集めてプログラムを構築するプログラム構築手段と、構築したプログラムを一時的に保管するRAM1と、前記RAM1に保管されたプログラム更新用データのCRCやCheck−Sumを計算するプログラム検査手段と、前記RAM1に保管されたプログラム格納用メモリに書き込むためのメモリ書込手段と、2つあるメモリのアドレスの割り当てを入れ替えるメモリ切替手段と、プログラムを格納する目的で用意される電気的に書き換え可能で、電源を供給されなくても書き込まれたデータを保持することが可能なメモリ1、メモリ2と、システム起動時、立ち上がるべきプログラムが格納されているメモリを自動的に選択し、メモリ切替手段を制御する起動判定手段と、起動するべきプログラムが格納されているメモリがメモリ1かメモリ2かを保持している不揮発性メモリと、起動するべきプログラムの内容が正規のプログラムか否かを検査するための起動メモリ検査手段と、起動時に、通常のシステム起動かプログラム更新目的での起動かを判断し、起動モードを切り替える起動モード判定手段と、メモリに書き込まれたプログラムが異常で起動ができない場合にユーザに知らせる起動失敗通知手段とを有することで、たとえばプログラムの更新中に何らかのトラブルで電源が切れるようなことがあったとしても、正常に起動し、起動した後はプログラム更新用に用意されたメモリをアプリケーションなど、プログラム更新の目的外で利用することが可能になる。
【0038】
また、電話回線などを通じてセンターと情報の授受を行うための通信手段とを有することで、ユーザが行っているプログラムの更新中の状態、更新の結果などをメーカ側にフィードバックでき、受信機制御プログラムの更新に失敗した場合、不具合のある受信機制御プログラムを使い続けている場合などに、それらのユーザに対して適切な助言をすることが可能になり、安全かつ快適にデジタル放送受信機を使用してもらうことが可能になる。
【0039】
また、脱着可能な不揮発性メモリカードと、不揮発性メモリカードへの読み書き手段を有することで、受信機制御プログラムの更新を行った際にもアプリケーションプログラムなどが蓄積したデータを破棄することなく、安全に受信機制御プログラムの更新を行うことが可能になる。
【図面の簡単な説明】
【図1】本発明の実施の形態1におけるデジタル放送受信機のプログラム更新方法のブロック図
【図2】本発明の実施の形態1におけるデジタル放送受信機のメモリ切り替え方法のブロック図
【図3】本発明の実施の形態2におけるデジタル放送受信機のプログラム更新方法のブロック図
【図4】本発明の実施の形態3におけるデジタル放送受信機のプログラム更新方法のブロック図
【符号の説明】
1 アンテナ
2 チューナ
3 フィルタ
4 データ判定手段
5 アプリケーション用データ構築手段
6 アプリケーション
7 RAM2
8 プログラム構築手段
9 RAM1
10 メモリ書き込み手段
11 メモりきり換え手段
12 メモリ1
13 メモリ2
14 起動判定手段
15 起動メモリ検査手段
16 不揮発性メモリ
17 プログラム検査手段
18 起動モード判定手段
19 起動失敗通知手段
20 受信機識別子記憶手段
21 通信手段
22 センター
23 不揮発性メモリカード
24 不揮発性メモリカード読み書き手段[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a program update method for a digital broadcast receiver having a function of updating a control program for the receiver in a digital broadcast receiver.
[0002]
[Prior art]
The conventional digital broadcast receiver program update method has a double program storage memory for safe program update when the program update function is realized. This is an uneconomical technique that is used only when performing, and is not normally used at all, and a memory necessary for data storage of application programs is prepared separately.
[0003]
[Problems to be solved by the invention]
The present invention provides a method for safely updating a program by having double memory for storing a program. When the program is not updated, the memory that is not the memory in which the currently running program is stored, Therefore, it is possible to effectively use the program, and it is possible to safely update the program without preparing a separate memory.
[0004]
[Means for Solving the Problems]
In order to solve the above problems, a program update method for a digital broadcast receiver according to the present invention includes an antenna for receiving radio waves, a tuner for receiving target radio waves, and a received radio wave for digital broadcasting. Used by the application program in the filter for selecting the program and data, data determining means for determining whether the data selected by the filter is data for program update or other data, and data other than that. Application data construction means for connecting data determined to be data to be used so that the data can be used from an application program, an application program for realizing functions such as a program guide and data broadcasting, and the application data construction means
[0005]
DETAILED DESCRIPTION OF THE INVENTION
A first aspect of the present invention is a program update method for a digital broadcast receiver that includes means for updating a program update method for a digital broadcast receiver. An object of the present invention is to safely realize a function for updating a receiver control program. In the case of a configuration having double memory for storing a program, a digital broadcast receiver that can use one memory not storing a program for other purposes except when updating the program is used. It is a program update method, and memory can be used efficiently.
[0006]
According to a second aspect of the present invention, there is provided an antenna for receiving radio waves, a tuner for receiving target radio waves, a filter for selecting a target program or data from the received digital broadcast radio waves, and the filter The data determination means for determining whether the data for program update or other data is selected from the data selected in the above, and the data determined by the data determination means as the data used by the application program are connected to the application. Application data construction means constructed so as to be usable from a program, an application program for realizing functions such as a program guide and data broadcasting, and a
[0007]
(Embodiment 1)
Hereinafter, a first embodiment of the present invention will be described with reference to FIG.
[0008]
In FIG. 1, 1 is an antenna for receiving radio waves, 2 is a tuner for receiving target radio waves, 3 is a filter for selecting a target program or data from received digital broadcast radio waves, and 4 is the filter. Of the selected data, data determination means for determining and selecting data for program update or other data, and 5 is an application for connecting the data determined by the data determination means to data used by the application program. Application data construction means constructed so that it can be used from the program, 6 is an application program for realizing functions such as a program guide and data broadcasting, and 7 is for storing the data constructed by the application data construction means. The
[0009]
[0010]
[0011]
Necessary data is sent from the radio wave received by the tuner to the data judging means by the filter. The data determination means determines whether the data sent from the filter is program update data or not. Data determined as data for program update by the data determination means is collected by the program construction means and constructed in the form of an operable program. The constructed update program is temporarily stored in the
[0012]
The calculated result is written in the non-volatile memory and used by the startup memory checking means when the system is started. When the program inspection is completed, the program inspection means notifies the memory writing means, and the memory writing means reads the program from the
[0013]
Further, the data determined by the data determination means to be not program update data is sent to the application data construction means, constructed in a form that can be used by the application, and stored in the
[0014]
At the time of system startup, the startup determination means reads one of the memories containing the program to be started up from the non-volatile memory, notifies the memory switching means, and the memory in which the program to be started up is stored has no problem in executing the program Maps to an address. When the memory switching is completed, the startup memory checking means first reads the contents of the memory in which the program to be started is stored, performs calculation by CRC, Check-Sum or other methods, and stores the program stored in the non-volatile memory Compare with the calculation result of the inspection means.
[0015]
If the calculation results match, it is determined that the system can be started up normally, and the system is started up based on the normal rising sequence. If the calculation results do not match, the memory on the opposite side is checked. If the calculation result of the inspection matches, the data is changed so as to start from the memory in which the program to be correctly started up is stored in the nonvolatile memory, and the memory switching means is notified.
[0016]
If it is determined that neither the
[0017]
The activation includes a program update mode and a normal mode, which are determined by the activation mode determination means. In the program update mode, the data determination means discards the application data or prevents the application program itself from moving, so that the program update data is written and the data used by the application are the same at the same time. Prevent writing to memory.
[0018]
In FIG. 2,
[0019]
When the program for controlling the digital broadcast receiver is recorded in the
[0020]
Next, when the memory is switched through the memory switching means, the
[0021]
When updating the receiver control program, for example, assuming that the current receiver control program is running in the
[0022]
In addition, when a new receiver control program is to be updated in this state, the received receiver control program is written to Address 0x40000000, so that it can be written to the
[0023]
In this way, when updating the receiver control program, it is not conscious of which memory to write, and the memory opposite to the memory where the program is written is also an application other than when the receiver control program is updated. A program or the like can be used for data storage or the like.
[0024]
(Embodiment 2)
Hereinafter, a second embodiment of the present invention will be described with reference to FIG.
[0025]
In FIG. 3, 1 is an antenna for receiving radio waves, 2 is a tuner for receiving target radio waves, 3 is a filter for selecting a target program or data from received digital broadcast radio waves, and 4 is the filter. Of the selected data, data determination means for determining and selecting data for program update or other data, and 5 is an application for connecting the data determined by the data determination means to data used by the application program. Application data construction means constructed so that it can be used from the program, 6 is an application program for realizing functions such as a program guide and data broadcasting, and 7 is for storing the data constructed by the application data construction means. The
[0026]
[0027]
[0028]
When the receiver updates the receiver control program, information such as the operation progress, the version number of the receiver control program, the success or failure of the update, and the receiver identifier sequentially fetched from the receiver identifier storage means Send to communication means. The communication means transmits the information to the center through a telephone line or the like. The center manages this information for each receiver identifier, so that the update status and result of the receiver control program performed by the user can be known. If the update of the receiver control program fails, Appropriate advice can be given to the user.
[0029]
It also manages the version numbers of receiver control programs that are running on digital broadcast-compatible receivers on the market. For example, a receiver that is running a version of a receiver control program that has a faulty receiver operation. Appropriate advice and support can be provided to the users who are using it.
[0030]
(Embodiment 3)
Below, the 2nd Embodiment of this invention is described using FIG. In FIG. 4, 1 is an antenna for receiving radio waves, 2 is a tuner for receiving target radio waves, 3 is a filter for selecting a target program or data from received digital broadcast radio waves, and 4 is the filter. Of the selected data, data determination means for determining and selecting data for program update or other data, and 5 is an application for connecting the data determined by the data determination means to data used by the application program. Application data construction means constructed so that it can be used from the program, 6 is an application program for realizing functions such as a program guide and data broadcasting, and 7 is for storing the data constructed by the application data construction means. The
[0031]
[0032]
[0033]
In the first embodiment, when the update of the receiver control program is not executed in the memory in which the receiver control program is not recorded, for example, the application program writes and accumulates data such as a program guide. However, if the receiver control program is updated from that state, the accumulated information is discarded, and it is necessary to newly receive and store after updating the receiver control program.
[0034]
Therefore, when a non-volatile memory card that is widely available on the market and a means for reading and writing to the memory card are prepared and the receiver control program is updated, first, for example, the data stored by the application program is stored in the non-volatile memory. Using a card read / write means, copy to a non-volatile memory card.
[0035]
Thereafter, the receiver control program is updated. After the update is completed, the data written earlier from the nonvolatile memory card is overwritten on the memory in which the receiver control program before update is recorded. At this time, as described in the first embodiment, since the address of the
[0036]
In this way, even when the receiver control program is updated, the receiver control program can be safely updated without discarding the data accumulated by the application program or the like.
[0037]
【Effect of the invention】
As described above, according to the program update method of the digital broadcast receiver of the present invention, an antenna for receiving radio waves, a tuner for receiving target radio waves, and a target program from the received radio waves for digital broadcasting. And a filter for selecting data, data determining means for determining whether the data selected by the filter is data for program update or other data, and data used by the application program in the data determining means The application data construction means for constructing the data determined to be connected to be used from the application program, the application program for realizing functions such as the program guide and data broadcasting, and the application data construction means.
[0038]
In addition, by having communication means for exchanging information with the center through a telephone line, etc., the status of the program being updated by the user, the result of the update, etc. can be fed back to the manufacturer, and the receiver control program It is possible to give appropriate advice to those users when using a failed receiver control program, or when using a digital broadcast receiver safely and comfortably. It becomes possible to have you.
[0039]
In addition, it has a removable non-volatile memory card and a read / write means for the non-volatile memory card, so that even when the receiver control program is updated, the data stored by the application program etc. can be safely discarded. It becomes possible to update the receiver control program.
[Brief description of the drawings]
FIG. 1 is a block diagram of a program update method for a digital broadcast receiver according to a first embodiment of the present invention.
FIG. 2 is a block diagram of a memory switching method of the digital broadcast receiver in
FIG. 3 is a block diagram of a program update method for a digital broadcast receiver according to
FIG. 4 is a block diagram of a program update method for a digital broadcast receiver according to
[Explanation of symbols]
1 Antenna
2 Tuner
3 filters
4 Data judgment means
5 Data construction means for application
6 Application
7 RAM2
8 Program construction means
9 RAM1
10 Memory writing means
11 Memories change means
12
13
14 Start determination means
15 Startup memory inspection means
16 Nonvolatile memory
17 Program inspection means
18 Startup mode determination means
19 Start failure notification means
20 Receiver identifier storage means
21 Communication means
22 Center
23 Nonvolatile memory card
24 Non-volatile memory card read / write means
Claims (3)
前記チューナの出力から目的の番組とデータとを選別するフィルタと、
前記フィルタで選別されたデータが、受信機制御プログラム更新用のデータか、番組表及びデータ放送の中少なくとも何れかを実現するためのアプリケーションプログラムが使用するデータか、を判断し選別するデータ判定手段と、
前記データ判定手段でアプリケーションプログラムが使用するデータと判断されたデータをつなぎ合わせて前記アプリケーションプログラムから使用するアプリケーションプログラム用データを構築するアプリ用データ構築手段と、
前記アプリ用データ構築手段で構築されたアプリケーションプログラム用データを保管するためのアプリ用データ保管メモリと、
前記データ判定手段で受信機制御プログラム更新用データと判定されたデータを集めて受信機制御プログラムを構築するプログラム構築手段と、
前記プログラム構築手段で構築した受信機制御プログラムを一時的に保管するプログラム保管メモリと、
前記プログラム保管メモリに保管された受信機制御プログラムのCRCもしくはCheck−Sumを計算するプログラム検査手段と、
前記データ判定手段で受信機制御プログラム更新用のデータと判定された場合には前記プログラム検査手段におけるプログラムの検査が終了した後に前記プログラム保管メモリに保管された受信機制御プログラムを後述する第1のメモリ及び第2のメモリのうち現在起動している受信機制御プログラムが格納されているメモリとは反対側のメモリに後述するメモリ切替手段により切り替えて書き込み、書き込まれたメモリを起動するべき受信機制御プログラムが格納されているメモリとして後述する第1の不揮発性メモリに書き込み、前記データ判定手段で番組表及びデータ放送の中少なくとも何れかを実現するためのアプリケーションプログラムが使用するデータと判定された場合には前記アプリ用データ保管メモリに保管されたアプリケーションプログラム用データを後述する第1のメモリ及び第2のメモリのうち現在起動している受信機制御プログラムが格納されているメモリとは反対側のメモリに書き込むメモリ書込手段と、
電気的に書き換え可能で、電源を供給されなくても書き込まれたデータを保持することが可能であり受信機制御プログラム格納用メモリである第1のメモリ及び第2のメモリと、
後述する起動判定手段及び起動メモリ検査手段からの指令に基づいて前記第1のメモリ及び第2のメモリのアドレスの割り当てを入れ替えるメモリ切替手段と、
前記プログラム検査手段の出力である計算結果及び起動するべき受信機制御プログラムが格納されているメモリが前記第1のメモリ及び第2のメモリの何れであるかの情報を保持している第1の不揮発性メモリと、
システム起動時に、前記第1の不揮発性メモリが保持している情報に基づいて起動するべき受信機制御プログラムが格納されているメモリを前記メモリ切替手段に対して選択させる起動判定手段と、
前記起動するべき受信機制御プログラムの内容が正規のプログラムか否かを検査するためのものであり、前記起動判定手段の選択指令に基づいて前記メモリ切替手段のメモリの切り替えが終了した後に、前記起動するべき受信機制御プログラムについて前記プログラム検査手段においてする計算と同等の計算を行い、当該計算結果が前記第1の不揮発性メモリに保持された計算結果と一致する場合には前記メモリ切替手段に対してメモリの切替を指令しないが、一致しない場合には反対側のメモリの内容について前記プログラム検査手段においてする計算と同等の計算を行い、当該計算結果が前記第1の不揮発性メモリに保持された計算結果と一致するときは前記第1の不揮発性メモリに対して起動するべき受信機制御プログラムが格納されているメモリを反対側のメモリである旨のデータに変更させ、前記メモリ切替手段に対してメモリの切替を指令する起動メモリ検査手段と、
を有するデジタル放送受信機。A tuner for receiving the desired digital broadcasting radio wave,
A filter for selecting a target program and data from the tuner output;
Data determining means for determining and selecting whether the data selected by the filter is data for updating a receiver control program or data used by an application program for realizing at least one of a program guide and data broadcasting When,
Application data construction means for constructing application program data to be used from the application program by connecting data determined by the data judgment means and data used by the application program;
An application data storage memory for storing application program data constructed by the application data construction means;
Program construction means for collecting data determined as receiver control program update data by the data judgment means and constructing a receiver control program;
A program storage memory for temporarily storing the receiver control program constructed by the program construction means;
Program checking means for calculating CRC or Check-Sum of the receiver control program stored in the program storage memory;
When the data determination means determines that the data is for updating the receiver control program, the receiver control program stored in the program storage memory after the program inspection in the program inspection means is completed will be described later. A receiver to activate the written memory by switching to a memory on the opposite side of the memory storing the currently activated receiver control program from the memory and the second memory by a memory switching means to be described later The data is written in a first non-volatile memory, which will be described later, as a memory in which the control program is stored, and the data determination means determines that the data is used by the application program for realizing at least one of the program guide and data broadcasting. In this case, the application stored in the application data storage memory A memory writing means for writing on the opposite side of the memory and the memory in which the first memory and the current starts to have receiver control program of the second memory to be described later data Deployment program is stored,
A first memory and a second memory, which are electrically rewritable, can hold written data without being supplied with power, and are receiver control program storage memories;
A memory switching means for switching assignment of addresses of the first memory and the second memory based on instructions from an activation determination means and an activation memory inspection means described later;
A first holding information indicating whether the calculation result which is the output of the program checking means and the memory in which the receiver control program to be started is stored is the first memory or the second memory Non-volatile memory;
An activation determination unit that causes the memory switching unit to select a memory that stores a receiver control program to be activated based on information held in the first non-volatile memory when the system is activated;
It is for checking whether the content of the receiver control program to be activated is a legitimate program, and after the memory switching of the memory switching means is completed based on the selection command of the activation determining means, For the receiver control program to be activated, a calculation equivalent to the calculation performed by the program checking means is performed, and if the calculation result matches the calculation result held in the first nonvolatile memory, the memory switching means On the other hand, the memory switching is not instructed, but if they do not coincide with each other, the calculation on the opposite side of the memory is performed in the same way as the calculation in the program checking means, and the calculation result is held in the first nonvolatile memory. The receiver control program to be activated is stored in the first non-volatile memory when it matches the calculated result. The have a memory is changed to the data indicating that the opposite side of the memory, and starts the memory test means for instructing the switching of the memory to the memory switching means,
Digital broadcasting receiver having.
アプリケーションプログラムが前記第1のメモリ及び第2のメモリの中の一方に蓄積したデータを前記第2の不揮発性メモリへ受信機制御プログラム更新の開始前に書き写し、前記第2の不揮発性メモリに書き写したデータを前記第1のメモリ及び第2のメモリの中の他方へ受信機制御プログラム更新の終了後に上書きする読み書き手段と、
を更に有する請求項1記載のデジタル放送受信機。A second non-volatile memory;
Data stored in one of the first memory and the second memory by the application program is copied to the second nonvolatile memory before the start of updating the receiver control program, and copied to the second nonvolatile memory. Read / write means for overwriting the other data in the first memory and the second memory after the update of the receiver control program;
Further digital broadcast receiver of claim 1 having a.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000338645A JP4857462B2 (en) | 2000-11-07 | 2000-11-07 | Digital broadcast receiver |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000338645A JP4857462B2 (en) | 2000-11-07 | 2000-11-07 | Digital broadcast receiver |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2002149430A JP2002149430A (en) | 2002-05-24 |
JP4857462B2 true JP4857462B2 (en) | 2012-01-18 |
Family
ID=18813823
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000338645A Expired - Lifetime JP4857462B2 (en) | 2000-11-07 | 2000-11-07 | Digital broadcast receiver |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4857462B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007219883A (en) * | 2006-02-17 | 2007-08-30 | Sony Ericsson Mobilecommunications Japan Inc | Mobile terminal device and software update method |
JP2011197870A (en) * | 2010-03-18 | 2011-10-06 | Mitsubishi Electric Corp | Programmable device mounting apparatus |
JP5720206B2 (en) * | 2010-11-29 | 2015-05-20 | ミツミ電機株式会社 | Microprocessor |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57161957A (en) * | 1981-03-30 | 1982-10-05 | Fujitsu Ltd | Flexible disc with mechanism for detection of erroneous insertion |
JP3722921B2 (en) * | 1996-09-17 | 2005-11-30 | 株式会社リコー | Software update system |
JP4279902B2 (en) * | 1997-01-31 | 2009-06-17 | ソニー株式会社 | Digital television broadcast receiving apparatus and digital television broadcast receiving program acquisition method |
JP3618204B2 (en) * | 1997-09-25 | 2005-02-09 | 任天堂株式会社 | Software rewriting system |
JPH11194943A (en) * | 1997-12-26 | 1999-07-21 | Matsushita Electric Ind Co Ltd | Transmitter and receiver |
JP4016359B2 (en) * | 1998-03-24 | 2007-12-05 | ソニー株式会社 | Receiving device and program rewriting method |
JP3950589B2 (en) * | 1998-08-28 | 2007-08-01 | キヤノン株式会社 | Information processing apparatus, program update method, and storage medium |
JP2000078491A (en) * | 1998-09-02 | 2000-03-14 | Matsushita Electric Ind Co Ltd | Control program reloading method for digital broadcast reception equipment and digital broadcast reception equipment |
JP3678402B2 (en) * | 1998-11-18 | 2005-08-03 | パナソニック コミュニケーションズ株式会社 | Facsimile device |
JP2000207219A (en) * | 1999-01-18 | 2000-07-28 | Fujitsu Ten Ltd | Communication system for between on-vehicle terminal and center, and the on-vehicle terminal used for communication system |
JP3649932B2 (en) * | 1999-02-24 | 2005-05-18 | 三菱電機株式会社 | Program update apparatus and program update method |
JP3653436B2 (en) * | 2000-02-10 | 2005-05-25 | 三洋電機株式会社 | Digital tv broadcast receiver |
-
2000
- 2000-11-07 JP JP2000338645A patent/JP4857462B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2002149430A (en) | 2002-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6343379B1 (en) | Receiver and program updating method | |
US9407972B2 (en) | Data processor, program updating method and storage medium | |
US20050055595A1 (en) | Software update method, apparatus and system | |
JP4279902B2 (en) | Digital television broadcast receiving apparatus and digital television broadcast receiving program acquisition method | |
JP2007011734A (en) | On-vehicle control unit | |
EP0990989A2 (en) | Microcomputer provided with flash memory and method of storing program into flash memory | |
JP4857462B2 (en) | Digital broadcast receiver | |
JP3591455B2 (en) | Digital satellite communication system and control method thereof | |
JP2006085342A (en) | Memory controller, memory control method, and program | |
JPH09319665A (en) | Data backup system for writable/readable non-volatile memory | |
JP2002189609A (en) | System and method for updating software adapted to accident | |
JP2005050097A (en) | Information processor, information processing method, program, and storage medium | |
JP2006060355A (en) | Update system and method for equipment program | |
JPH1063498A (en) | Operation program modifying method for radio base station | |
JP2003309485A (en) | Device and method for updating software | |
JP3540635B2 (en) | Digital television receiver | |
JP2000020300A (en) | Processor and method for information processing | |
JP3858309B2 (en) | Information processing device | |
JP2004173128A (en) | Digital broadcasting system, digital broadcasting receiver and digital broadcasting terminal device | |
JP2001053891A (en) | Method and device for updating program of portable terminal equipment | |
KR20020041005A (en) | Remote software upgrade method and system in optical network | |
JP4127253B2 (en) | Digital broadcast receiver | |
JP3643424B2 (en) | Communication device | |
JP2002207605A (en) | Device and method for information processing | |
JP2003162421A (en) | Method and device for updating control program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071017 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20071113 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20091119 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101207 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110222 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110406 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110809 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110912 |
|
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: 20111004 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111017 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 4857462 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141111 Year of fee payment: 3 |
|
EXPY | Cancellation because of completion of term |