JP2010021717A - Software analysis system of digital broadcast receiver - Google Patents

Software analysis system of digital broadcast receiver Download PDF

Info

Publication number
JP2010021717A
JP2010021717A JP2008179280A JP2008179280A JP2010021717A JP 2010021717 A JP2010021717 A JP 2010021717A JP 2008179280 A JP2008179280 A JP 2008179280A JP 2008179280 A JP2008179280 A JP 2008179280A JP 2010021717 A JP2010021717 A JP 2010021717A
Authority
JP
Japan
Prior art keywords
information
priority
malfunction
electronic device
pointer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008179280A
Other languages
Japanese (ja)
Inventor
Hiroshi Iwaki
寛 岩城
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2008179280A priority Critical patent/JP2010021717A/en
Publication of JP2010021717A publication Critical patent/JP2010021717A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To properly and quickly elucidate the cause of malfunction without increasing a recording capacity relating to causes of troubles. <P>SOLUTION: In step S201, a current write pointer position is preserved. In step S202, a write pointer is moved to an area of a write target. In step S203, it is determined whether the information storage area pointed by the pointer is empty. If it is empty, the process advances to step S204; but if it is not empty, the process advances to step S205. In the step S204, information is written into the area pointed by the write pointer. In step S205, priorities of information are compared. If the priority of overwrite information is higher, the process advances to the step S204; but if it is lower, the process advances to step S206. In the step S206, a pointer position is determined, and the process is terminated if the pointer position has not been moved. If it has been moved, the process advances to the step S202, and the write pointer is updated to a next information storage area. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、デジタル放送受信機のソフトウェア解析技術に関し、特に、デジタル放送受信機において誤動作が発生した場合に、その誤動作の発生条件および原因を明確にするための解析を行う技術に関する。   The present invention relates to a software analysis technique for a digital broadcast receiver, and more particularly to a technique for performing analysis for clarifying the occurrence condition and cause of the malfunction when a malfunction occurs in the digital broadcast receiver.

近年、デジタル放送受信機の普及に伴い、従来のアナログテレビ受信機に比べて、特にソフトウェアを利用した動作が複雑になってきている。すなわち、デジタル放送受信機では、ハードウェアの制御やデジタル放送の信号処理などを行うために、大規模なソフトウェアが搭載されているものが多い。   In recent years, with the spread of digital broadcast receivers, operations using software in particular have become more complicated than conventional analog television receivers. That is, many digital broadcast receivers are equipped with large-scale software in order to perform hardware control, digital broadcast signal processing, and the like.

これらのソフトウェアは、デジタル放送受信機の多機能化や外部機器との接続の多様化などによって、ますます大規模かつ複雑なものになる傾向にある。これに伴い、十分な検査・試験を行ったデジタル放送受信機であっても、稀な条件の下では誤動作が発生する可能性があり、仮に誤動作が発生した場合、その誤動作の発生条件および原因を明確にすることで速やかに対策を行う必要がある。誤動作の発生条件および原因を解析するためには、例えばユーザの行っていた機器操作の履歴(ログ)や機器内部のソフトウェアモジュールの状態、デバイスの状態などを取得することが役立つ。そこで、これらの情報を、デジタル放送受信内のメモリに保存しておく方法が考えられている。   These softwares tend to become larger and more complex due to the multi-functionality of digital broadcast receivers and the diversification of connections with external devices. As a result, even digital broadcasting receivers that have been fully inspected and tested may malfunction under rare conditions.If a malfunction occurs, the conditions and cause of the malfunction It is necessary to take prompt measures by clarifying. In order to analyze the occurrence condition and cause of the malfunction, it is useful to obtain, for example, a history (log) of device operation performed by the user, the state of the software module in the device, the state of the device, and the like. Therefore, a method for storing such information in a memory in digital broadcast reception has been considered.

図10は、一般的な誤動作情報の書き込み技術の一例を示す図である。図10に示すように、メモリ領域の全ての領域に情報1から情報nまでが順番に書き込まれると(左図)、次の情報が入らなくなる。そこで、先頭の情報1の位置の一番古い情報の位置に最新の情報n+1を上書きする(右図参照)。   FIG. 10 is a diagram illustrating an example of a general malfunction information writing technique. As shown in FIG. 10, when information 1 to information n are sequentially written in all the memory areas (the left figure), the next information cannot be entered. Therefore, the latest information n + 1 is overwritten at the position of the oldest information at the position of the first information 1 (see the right figure).

下記の特許文献1に記載の技術においては、デジタル放送受信機に、公衆回線接続手段と、この公衆回線接続手段から公衆回線を経由して接続されるシステムソフトウェア解析手段とを設けておき、ユーザ側において実際に動作している状態で、その不具合の状況をメーカ側において、的確に把握するようにしたデジタル放送受信機のシステムソフトウェア解析システムに関する開示がある。この文献では、デジタル放送受信機内に、予め、内部状態を把握するための状態フラグ等の管理用データを用意しておき、接続された公衆回線を介して、管理用データをアップロードし、ユーザ側で生じている不具合の状況を的確に把握するようにする技術が開示されている。   In the technique described in Patent Document 1 below, a digital broadcast receiver is provided with public line connection means and system software analysis means connected from the public line connection means via the public line, There is a disclosure relating to a system software analysis system for a digital broadcast receiver that allows the manufacturer to accurately grasp the state of the malfunction while the system is actually operating. In this document, management data such as a status flag for grasping the internal status is prepared in advance in the digital broadcast receiver, and the management data is uploaded via the connected public line. A technique for accurately grasping the situation of a malfunction occurring in the system is disclosed.

特開2002−44692号公報JP 2002-44692 A

誤動作の発生条件および原因を解析するためには、上記のように、例えばユーザの行っていた操作の履歴や内部のソフトウェアモジュールの状態、デバイスの状態などが必要であり、これらの情報はデジタル放送受信機内のメモリに保存しておく方法が考えられる。   In order to analyze the occurrence conditions and causes of malfunctions, for example, the history of operations performed by the user, the state of internal software modules, the state of devices, etc. are necessary as described above. A method of storing in a memory in the receiver can be considered.

しかしながら、不揮発性メモリは有限な資源であり、また製品のコストを考慮するとより少ないことが望ましい。従って、時系列で誤動作の解析に必要な情報の保存を行い、古い情報は順次上書きする方法が一般的であるが、そのような方法では、本当に解析に必要な情報が上書きされる可能性がある。図10に示す単純な方法では、重要であるかもしれない情報1が上書きされてしまう。   However, the non-volatile memory is a finite resource, and it is desirable that it is less in consideration of the cost of the product. Therefore, it is common to save information necessary for analysis of malfunctions in time series and overwrite old information sequentially. However, with such a method, information that is really necessary for analysis may be overwritten. is there. In the simple method shown in FIG. 10, information 1 that may be important is overwritten.

また、誤動作の種類で不揮発性メモリの領域を分けてそれぞれ保存することにより、誤動作の種類ごとの解析に必要な情報を保存する方法もあるが、不揮発性メモリをより多く必要とし、また、不具合が生じない場合などにおいては、全く使用されない無駄なメモリ領域が発生してしまう(その分、コストが高くなる)可能性がある。   In addition, there is a method to save the information necessary for analysis for each type of malfunction by storing the nonvolatile memory area separately according to the type of malfunction, but it requires more nonvolatile memory, and there is a problem In such a case, there is a possibility that a useless memory area that is not used at all will be generated (the cost is increased accordingly).

さらに、上記特許文献1に記載のように、最近では、ネットワーク接続が可能なデジタル放送受信機も存在する。この場合には、メモリ内に保存されている情報を、ネットワーク経由でサーバなどに転送し保存させる方法もある(揮発性メモリでも良い。)。   Further, as described in the above-mentioned Patent Document 1, recently, there is a digital broadcast receiver that can be connected to a network. In this case, there is a method in which information stored in the memory is transferred to a server or the like via a network and stored (a volatile memory may be used).

しかしながら、情報のアップロード間隔が短い場合、メモリへの情報書き込みが頻繁に生じる場合、もしくは、メモリ領域が小さい場合などにおいては、解析に必要な情報が上書きされる恐れがある。例えば、上記特許文献1に記載の技術では、解析に必要な情報を周期的にアップロードしているが、情報のアップロード間隔が長い、メモリへの情報書き込みが極端に多い、もしくはメモリ領域が小さいなどの場合には、解析に必要な情報が上書きされてしまい、実際に不具合の原因を知りたい時点では、問題の大きな誤動作もしくは発生頻度の低い誤動作の場合には解析に必要な情報が消えてしまうおそれもある。   However, when the information upload interval is short, when information is frequently written into the memory, or when the memory area is small, information necessary for analysis may be overwritten. For example, in the technique described in Patent Document 1, information necessary for analysis is periodically uploaded, but the information upload interval is long, the information writing to the memory is extremely large, or the memory area is small. In this case, the information necessary for analysis is overwritten, and when you want to know the cause of the problem, the information necessary for analysis disappears in the case of a malfunction with a large problem or malfunction with a low frequency of occurrence. There is also a fear.

本発明は、不具合の原因に関連する記録容量を増加させずに、問題の大きな誤動作もしくは発生頻度の低いような誤動作の解析に必要な情報を確実に保存し、誤動作の原因を的確かつ迅速に解明することを目的とする。   The present invention reliably saves information necessary for analysis of malfunctions with a large problem or low occurrence frequency without increasing the recording capacity related to the cause of the malfunction, and accurately and promptly identifies the cause of the malfunction. The purpose is to elucidate.

本発明の一観点によれば、電子機器の誤動作を検出する誤動作検出部と、該誤動作検出部により検出された誤動作に関する情報を、発生した順番に複数の記憶領域にそれぞれ格納するためのメモリ領域と、新たな誤動作が検出された場合に、該誤動作に関する情報を前記複数のメモリ領域のうちのいずれかに記載されている情報に対して上書きする際の制御を行う上書き制御部と、を有する電子機器であって、さらに、前記メモリ領域に書き込まれた情報のうち残しておきたい重要な情報ほど高い優先度を有するように決められた優先度を記憶する優先度記憶部と、前記上書き制御部は、既に書き込まれている情報よりも優先度が高い情報であるか否かを判定する判定部において、優先度が高い情報であると判定された場合にのみ、既存の情報を新たな情報で上書きする制御を行うことを特徴とする電子機器が提供される。これにより、優先度の高い情報のみを優先的に書き換えることができる。前記メモリ領域に、前記情報と対応させて、誤動作の発生時刻を示すタイムスタンプが記憶されており、該タイムスタンプにより、同種の誤動作が連続して生じた場合に、該誤動作の重要度を上げることを特徴とする。この手段により、できるだけ種別の異なる情報は残すことができる。前記優先度記憶部に記憶されている情報を、優先順位を情報と対応させておくとともに、情報の新しい順番に下から並べるのが好ましい。   According to one aspect of the present invention, a malfunction detection unit that detects malfunction of an electronic device, and a memory area for storing information about malfunctions detected by the malfunction detection unit in a plurality of storage areas in the order in which they occurred And an overwrite control unit that performs control when information related to the malfunction is overwritten on information described in any of the plurality of memory areas when a new malfunction is detected. A priority storage unit for storing priority determined to have higher priority for important information to be retained among the information written in the memory area, and the overwriting control; Only when the determination unit that determines whether or not the information has higher priority than the information that has already been written determines that the information has higher priority. Electronic apparatus and performing control to overwritten with new information is provided. Thereby, it is possible to preferentially rewrite only information with high priority. A time stamp indicating a malfunction occurrence time is stored in the memory area in association with the information, and when the same kind of malfunction occurs continuously due to the timestamp, the importance of the malfunction is increased. It is characterized by that. By this means, different types of information can be left as much as possible. It is preferable that the information stored in the priority storage unit is arranged with the priority corresponding to the information and arranged from the bottom in the new order of the information.

前記優先度記憶部に記憶されている情報を、優先順位を情報と対応させておくとともに、優先順位の高い順番に並べ替えておき、全ての情報の優先順位のうち最も低い優先順位をもつ情報から順番に、新たに書き換えたい情報との比較を行うことが好ましい。これにより、迅速かつ簡単に書き換え対象を検索することができる。   The information stored in the priority storage unit is information having the lowest priority among the priorities of all the information, with the priorities associated with the information and rearranged in the order of higher priority. It is preferable to compare with information to be newly rewritten in order. Thereby, it is possible to search for the rewrite target quickly and easily.

また、優先度に関して、前記記憶領域に記憶されている情報を順次移動させていくことにより全体の優先度をみる際に現在の優先度を見ている位置を示す優先度確認用ポインタを用意し、該優先度確認用ポインタを利用して、該優先度確認用ポインタが指示する第1の情報の優先度と、現在書き込み対象となっている情報の位置を示す書き込みポインタが指示する第2の情報との優先度を比較し、前記第2の情報の方が優先度が高い場合には、前記書き込みポインタの位置を優先度確認用ポインタの位置まで移動させ、前記第2の情報の方が優先度が高くない場合には、前記書き込みポインタの位置を優先度確認用ポインタの位置まで移動させずに、優先度確認用ポインタの位置を次の位置に移動させた後に前記比較を行う処理を繰り返すことが好ましい。これにより、記憶領域全体に関して優先度に基づく上書き処理の要否を判定し、重要な情報を残すことができる。前記上書き制御部は、誤動作の種別が同じである情報を優先的に上書きする制御を行うことが好ましい。   In addition, regarding the priority, a pointer for checking the priority indicating the position where the current priority is viewed is prepared when the overall priority is viewed by sequentially moving the information stored in the storage area. Using the priority confirmation pointer, the priority of the first information pointed to by the priority confirmation pointer and the second pointer pointed to by the write pointer indicating the position of the information currently being written When the priority of the second information is higher than that of the information, the position of the write pointer is moved to the position of the priority confirmation pointer, and the second information is more If the priority is not high, a process of performing the comparison after moving the position of the priority confirmation pointer to the next position without moving the position of the write pointer to the position of the priority confirmation pointer. Repeat It is preferred. Thereby, it is possible to determine whether or not the overwriting process based on the priority is necessary for the entire storage area, and to leave important information. The overwriting control unit preferably performs control to preferentially overwrite information having the same malfunction type.

本発明の他の観点によれば、電子機器の誤動作を検出する誤動作検出部と、該誤動作検出部により検出された誤動作に関する情報を、複数の記憶領域に発生した順番にそれぞれ格納するためのメモリ領域と、新たな誤動作が検出された場合に、該誤動作に関する情報を前記複数のメモリ領域のうちのいずれかに記載されている情報に対して上書きする際の制御を行う上書き制御部と、を有する電子機器における誤動作ログの書き換え方法であって、前記メモリ領域に書き込まれた情報のうち残しておきたい重要な情報ほど高い優先度を有するように決められた優先度を記憶するステップと、前記上書き制御部において、既に書き込まれている情報よりも優先度が高い情報であるか否かを判定し、優先度が高い情報であると判定された場合にのみ、既存の情報を新たな情報で上書きする制御を行うステップと、を有することを特徴とする誤動作ログの書き換え方法が提供される。   According to another aspect of the present invention, a malfunction detection unit that detects malfunction of an electronic device, and a memory for storing information about malfunctions detected by the malfunction detection unit in the order in which they occurred in a plurality of storage areas, respectively. An area and an overwrite control unit that performs control when overwriting the information described in any one of the plurality of memory areas when a new malfunction is detected, A method of rewriting a malfunction log in an electronic device having a step of storing a priority determined to have a higher priority as important information to be left out of information written in the memory area; and In the overwriting control unit, it is determined whether or not the information has higher priority than the information already written, and when it is determined that the information has higher priority. , Rewriting malfunction log, characterized in that and a step of performing control to overwrite existing information with new information is provided.

本発明は、上記に記載の方法をコンピュータに実行させるためのプログラムであっても良く、該プログラムを記憶するコンピュータ読み取り可能な記録媒体であっても良い。尚、プログラムはインターネットなどの伝送媒体により取得するものであっても良い。   The present invention may be a program for causing a computer to execute the method described above, or a computer-readable recording medium storing the program. The program may be acquired by a transmission medium such as the Internet.

本発明によれば、メモリ容量を増加させずに、致命的な誤動作もしくは発生頻度の低い誤動作の解析に必要な情報を優先的に保存しておくことができるという利点を有する。これにより、機器の動作に関連して重要度の高い誤動作の原因を速やかに解明することができるため、顧客の満足度が向上し、また、サービスマンなどの負担も減るという効果がある。   According to the present invention, there is an advantage that information necessary for analyzing a fatal malfunction or malfunction with a low occurrence frequency can be preferentially saved without increasing the memory capacity. As a result, it is possible to quickly elucidate the cause of the malfunction that is highly important in relation to the operation of the device, so that the satisfaction of the customer is improved and the burden on the service person is reduced.

以下、本発明の一実施の形態によるテレビジョン受信機のソフトウェア解析システムについて、図面を参照しながら説明を行う。   Hereinafter, a software analysis system for a television receiver according to an embodiment of the present invention will be described with reference to the drawings.

図1は、本実施の形態によるデジタル放送受信機の一構成例を示す機能ブロック図である。図1に示すように、本実施の形態によるテレビジョン受信機Aは、アンテナ1と、デジタル放送受信部3と、デマルチプレクサ5と、映像・音声デコード部6と、画面合成部8と、表示部11、音声出力部15とを有している。さらに、全体を制御する制御部(CPU)17と、LANインターフェイス21と、ROM23と、RAM25と、リモコン受光部27と、を有している。   FIG. 1 is a functional block diagram showing a configuration example of a digital broadcast receiver according to the present embodiment. As shown in FIG. 1, the television receiver A according to this embodiment includes an antenna 1, a digital broadcast receiver 3, a demultiplexer 5, a video / audio decoder 6, a screen synthesizer 8, and a display. Part 11 and an audio output part 15. Furthermore, it has the control part (CPU) 17 which controls the whole, the LAN interface 21, ROM23, RAM25, and the remote control light-receiving part 27.

デジタル放送受信部3は、衛星アンテナや地上波アンテナ等のアンテナ1により受信された複数の放送波から任意の放送波を選択し、デマルチプレクサ部5へ出力する。デマルチプレクサ部5は、この選択され入力された放送波に含まれる複数のチャンネルから、デマルチプレクス処理によって任意のチャンネルのデジタル信号を選択し、映像・音声デコード部6へ映像および音声信号を出力する。映像・音声デコード部6は、選択されたチャンネルのデジタル信号をデコードすることによって映像・音声信号を得て、映像信号を画面合成部8に出力し、音声信号を音声出力部15に出力する。   The digital broadcast receiving unit 3 selects an arbitrary broadcast wave from a plurality of broadcast waves received by the antenna 1 such as a satellite antenna or a terrestrial antenna and outputs the selected broadcast wave to the demultiplexer unit 5. The demultiplexer unit 5 selects a digital signal of an arbitrary channel from the plurality of channels included in the selected and input broadcast wave by demultiplex processing, and outputs the video and audio signals to the video / audio decoding unit 6 To do. The video / audio decoding unit 6 obtains a video / audio signal by decoding the digital signal of the selected channel, outputs the video signal to the screen synthesis unit 8, and outputs the audio signal to the audio output unit 15.

画面合成部8は、番組の映像信号やEPG画面、予約画面などを必要に応じて合成し、表示部11に出力する 。表示部11は、液晶ディスプレイなどからなり、番組の映像や各種制御画面などを表示することができる。音声出力部15は、増幅器やスピーカなどからなり、番組の音声や警告音などを出力することができる。   The screen synthesizing unit 8 synthesizes the video signal of the program, the EPG screen, the reservation screen, and the like as necessary, and outputs them to the display unit 11. The display unit 11 is composed of a liquid crystal display or the like, and can display program images, various control screens, and the like. The audio output unit 15 includes an amplifier, a speaker, and the like, and can output program audio, warning sound, and the like.

制御部17は、リモコン受光部27を経て図示しないリモコン装置からの指示(制御信号)を受け、チャンネルの選択や、視聴予約・録画予約などのユーザ操作を受け付ける。制御部17は、ハードウェア的又はソフトウェア的に誤動作等を検出する誤動作検出部17aを含む。メモリ23・25は、DDR SDRAMなどの揮発性メモリ25と不揮発性メモリ23から成る。誤動作検出部17aにより検出された誤動作などの情報は、例えば、以下に説明するテーブルにして記憶しておく。不揮発性メモリ23のメモリ領域に書き込まれた情報のうち残しておきたい重要な情報ほど高い優先度を有するように決められた優先度を優先度記憶部23aに記憶する。制御部17による上書き制御は、既に書き込まれている情報よりも優先度が高い情報であるか否かを判定する判定部17bにより判定され、優先度が高い情報であると判定された場合にのみ、既存の情報を新たな情報で上書きする制御を行う。   The control unit 17 receives an instruction (control signal) from a remote control device (not shown) via the remote control light receiving unit 27 and receives user operations such as channel selection, viewing reservation / recording reservation, and the like. The control unit 17 includes a malfunction detection unit 17a that detects malfunction or the like in hardware or software. The memories 23 and 25 include a volatile memory 25 such as DDR SDRAM and a nonvolatile memory 23. Information such as a malfunction detected by the malfunction detection unit 17a is stored in, for example, a table described below. Of the information written in the memory area of the non-volatile memory 23, the priority determined so that the important information to be retained has a higher priority is stored in the priority storage unit 23a. The overwriting control by the control unit 17 is determined by the determination unit 17b that determines whether the information has higher priority than information that has already been written, and only when it is determined that the information has higher priority. The existing information is overwritten with new information.

図2は、本実施の形態による誤動作に関する誤動作ログ管理テーブルの第1構成例を示す図である。図2に示すように、第1構成例による誤動作ログ管理テーブルは、左図に示すように、情報1から情報n(nは1以上の整数である。)までが、誤動作検出部により検出されメモリのログ記憶領域に記憶されている状態(全ての領域に書き込まれている状態)まで記憶されると(1が最も古い情報であり、nが最も新しい情報である)か、次の情報は、1からnまでのいずれかに上書きする必要がある。図2では、絶対時間としてタイムスタンプTSとともに、情報1から情報nまでを記憶している場合に、最も古い情報である情報1から順番に、次に書き込む必要がある情報n+1との優先順位を比較していく。ここで、残しておきたい情報(例えば、致命的な誤動作発生時の情報)ほど優先順位を高く設定することが好ましい。これにより、既に書き込まれている情報より優先順位が高い情報のみ、その領域に上書きすることができる。図2では、情報n+1<情報1、すなわち、情報1の方が情報n+1よりも優先順位が高いため情報1は情報n+1により上書きされることはない。このような判定については、種々の方法があるが、例えば、誤動作と、その致命的な度合いの順番と、を対応する対応テーブルをメモリ内に別途記憶させておき、優先順位の比較処理時に、その対応テーブルを参照して優先順位を判定するようにすれば良い。この際、優先順位が同じであれば、新しい情報により上書きされるようにする。これは、新しい情報の方がより価値が高いと考えられるためである。このように、記憶済みの情報のうち古い順番から優先度を比較していくことにより、できるだけ古い情報であって、かつ、書き換えたい情報よりも優先順位の低い又は同じ情報を書き換え対象となる情報として選択することができる。このようにすれば、同じ優先順位でも古い情報を優先的に上書きすることができ、かつ、古い情報から順番に優先順位を比較することにより、迅速に上書きすることができる。なお、現在の情報よりも書き換えたい情報が優先順位が全てに対して低い場合には、書き換えを行わない。   FIG. 2 is a diagram illustrating a first configuration example of a malfunction log management table regarding malfunction according to the present embodiment. As shown in FIG. 2, the malfunction log management table according to the first configuration example is detected by the malfunction detection unit from information 1 to information n (n is an integer of 1 or more) as shown in the left figure. When the state stored in the log storage area of the memory (the state written in all areas) is stored (1 is the oldest information and n is the newest information), the next information is It is necessary to overwrite one of 1 to n. In FIG. 2, when information 1 to information n is stored together with the time stamp TS as an absolute time, the priority order with respect to information n + 1 that needs to be written next in order from information 1 that is the oldest information is Compare. Here, it is preferable to set a higher priority for information that should be retained (for example, information when a fatal malfunction occurs). As a result, only information having a higher priority than information already written can be overwritten in the area. In FIG. 2, information n + 1 <information 1, that is, information 1 is higher in priority than information n + 1, so that information 1 is not overwritten by information n + 1. For such determination, there are various methods. For example, a correspondence table corresponding to malfunction and the order of the fatal degree is separately stored in the memory, and at the time of priority comparison processing, The priority order may be determined by referring to the correspondence table. At this time, if the priorities are the same, they are overwritten with new information. This is because new information is considered more valuable. In this way, by comparing the priorities of the stored information from the oldest order, the information that is as old as possible and that has the lower priority or the same information as the information to be rewritten is the information to be rewritten. Can be selected. In this way, old information can be preferentially overwritten with the same priority, and can be quickly overwritten by comparing the priorities in order from the old information. Note that if the priority of information that is desired to be rewritten is lower than the current information, rewriting is not performed.

また、メモリ領域に、情報と対応させて、誤動作の発生時刻を示すタイムスタンプが記憶することにより、例えばタイムスタンプにより、同種の誤動作が連続して生じたと判定される場合には、その誤動作の重要度を上げるようにする。   In addition, when the time stamp indicating the occurrence time of the malfunction is stored in the memory area in correspondence with the information, for example, when it is determined by the time stamp that the same kind of malfunction occurred continuously, the malfunction Try to increase importance.

尚、誤動作発生時の情報を保存するトリガとしては、誤動作の症状や発生モジュール(機能)などを設定し、その内容に優先順位をつけ、これをテーブルとして管理するようにすれば良い。この優先順位管理テーブルは、消去されては困るため、不揮発性メモリに保存しておくのが望ましい。優先順位管理テーブルの具体例については後述する。   It should be noted that as a trigger for storing information at the time of occurrence of malfunction, a malfunction symptom, an occurrence module (function) and the like are set, a priority is given to the contents, and this is managed as a table. Since this priority order management table is difficult to be deleted, it is desirable to store it in a nonvolatile memory. A specific example of the priority management table will be described later.

次に、図3を参照しながら、第2構成例による誤動作ログ管理テーブルについて説明する。図3に示すように、第2構成例によるテーブルは、左図のような図2と同じ状態から、予め、右図のように、優先順位Pを情報と対応させてテーブル化しておくとともに、情報の新しい順番に下から並びかえられている。この状態で、全ての情報の優先順位のうち最も低い優先順位をもつ情報(ここでは、上から3番目の情報3が最も優先順位が低い(n)ため、これと情報n+1との優先順位の比較だけを行う。これにより、優先順位が情報3の方が高い場合には情報3を残し、情報3の優先順位の方が低い場合には情報n+1で情報3を上書きする。このようにすれば、優先順位の比較処理を1回だけ行えば良いため、処理が簡単になるという利点がある。尚、以下の説明でも同様であるが、右図における情報1〜nまでにおける数字1〜nは、新しく書き換えられた順番に大きくなっている。   Next, the malfunction log management table according to the second configuration example will be described with reference to FIG. As shown in FIG. 3, the table according to the second configuration example is preliminarily tabulated from the same state as FIG. 2 as shown in the left diagram in advance with the priority P corresponding to information as shown in the right diagram. The information is rearranged in the new order. In this state, the information having the lowest priority among the priorities of all the information (here, the third information 3 from the top has the lowest priority (n). Only the comparison is performed, so that the information 3 is left when the priority of the information 3 is higher, and the information 3 is overwritten with the information n + 1 when the priority of the information 3 is lower. For example, since the priority comparison process only needs to be performed once, there is an advantage that the process is simplified.Also in the following explanation, the numbers 1 to n in the information 1 to n in the right figure are the same. Are larger in the order of the new rewrites.

次に、図4を参照しながら、第3構成例による誤動作ログ管理テーブルについて説明する。図4に示すように、第3構成例によるテーブルは、左図のような図2と同じ状態から、予め、右図のように、優先順位Pを情報と対応させてテーブル化しておくとともに、例えば、優先順位の高い順番に上から並べ替えておく。この状態で、全ての情報の優先順位のうち最も低い優先順位をもつ情報(ここでは、一番下の情報である情報7が優先順位P=nである)から順番に、情報n+1との優先順位の比較のみを行う。これにより、優先順位が情報7の方が高い場合には情報7を残し、低い場合には情報n+1で情報7を上書きする。このようにすれば、優先順位の低い情報は常に最も下の(或いは上の)位置に存在するように構成させるため、情報の優先順位に関する比較処理が1回で良く、かつ、比較対象の情報の位置も探索する必要がないため、処理が一層簡単になるという利点がある。   Next, the malfunction log management table according to the third configuration example will be described with reference to FIG. As shown in FIG. 4, the table according to the third configuration example is preliminarily tabulated from the same state as FIG. 2 as shown in the left diagram in advance, with the priority P corresponding to information as shown in the right diagram, For example, they are rearranged from the top in order of priority. In this state, priority is given to information n + 1 in order from information having the lowest priority among all information priorities (here, information 7 as the lowest information is priority P = n). Only compare ranks. Thereby, when the priority is higher in the information 7, the information 7 is left, and when it is lower, the information 7 is overwritten with the information n + 1. In this way, since the low priority information is always present at the lowest (or upper) position, the comparison process regarding the information priority may be performed only once and the information to be compared. Since there is no need to search for the position, there is an advantage that the processing is further simplified.

図5は、誤動作の優先順位管理テーブルの具体的な例を示す図であり、上記のテーブルに対応する図である。図5(a)に示すように、優先順位管理テーブルは、優先順位の高い順番に、実際の誤動作の症状を対応付けて記録したテーブルである。映像・音声が出力されない症状が優先順位が最も高く、次いで、リモコン操作に対する反応がないこと、…、OSDがちらつくことなどが順番に挙げられている。図5(b)に示すように、機能による順位付けを行うテーブルであっても良い。この図では、優先順位の高低と、選局・予約、…、インターネットなど、テレビジョン受信機にとって重要な機能ほど優先度が上位になっている。この機能による順位付けは、それぞれのモジュールの本来のあるべき状態でないことを示しており、本実施の形態では、図5(b)のような機能モジュールによる優先順位付けがメインになる。   FIG. 5 is a diagram showing a specific example of the malfunction priority management table, and corresponds to the above table. As shown in FIG. 5A, the priority management table is a table in which actual malfunction symptoms are recorded in association with each other in order of priority. Symptoms in which video / audio is not output have the highest priority, followed by no response to remote control operation, ..., OSD flickering, and so on. As shown in FIG. 5B, a table for ranking by function may be used. In this figure, the priority is higher in the functions that are important for the television receiver, such as the priority level, the channel selection / reservation,... The ranking by this function indicates that each module is not in an original state, and in this embodiment, the prioritization by the function module as shown in FIG.

図7は、誤動作検出部17aが、誤動作の発生を検出する処理の流れを示すフローチャート図である。まず、ステップS101において、受信した放送が、実際に放送されている番組かどうかの確認を、例えば受信した番組の番組情報とEPGの番組情報とを比較するなどの処理により実行する。存在しない場合は、ステップS106に進み、選局を終了する。次いで、ステップS102において、PATが取得できたかどうかの確認を行う。ここで、PAT (Program Association Table)は、後述するPMTを伝送するTSパケットのパケットID(PID)が書かれている。PMT(Program Map Table)は、セクションのひとつで、デジタル放送の選局に必要な情報である。より具体的には、番組を構成する各符号化信号を伝送するTSパケットのPIDであり、さらに有料放送の共有情報を伝送するTSパケットのPIDでもある。   FIG. 7 is a flowchart showing a flow of processing in which the malfunction detection unit 17a detects the occurrence of malfunction. First, in step S101, confirmation of whether or not the received broadcast is an actually broadcast program is executed by a process such as comparing the program information of the received program with the program information of the EPG. If it does not exist, the process proceeds to step S106, and the channel selection is terminated. Next, in step S102, it is confirmed whether PAT has been acquired. Here, a PAT (Program Association Table) describes a packet ID (PID) of a TS packet that transmits a PMT, which will be described later. PMT (Program Map Table) is one of the sections and is necessary information for digital broadcast tuning. More specifically, it is a PID of a TS packet that transmits each encoded signal constituting a program, and further a PID of a TS packet that transmits pay broadcast shared information.

PATが取得できなかった場合はS106に進み、不具合に応じて、実際にメモリに書き込む情報を作成し、選局を終了する。PATは、セクションのひとつであり、デジタル放送の選局に必要な情報である。次いで、ステップS103において、 PMTが取得できたかどうかの確認を行う。PMTが取得できなかった場合はS106に進み、不具合に応じて、実際にメモリに書き込む情報を作成し、選局を終了する。尚、ステップS104において、映像・音声がデコードできたかどうかを確認する。また、ステップS104において、映像・音声を確認するSTEPは分けてもよい。映像・音声をデコードができなかった場合はステップS106に進み、不具合に応じて、実際にメモリに書き込む情報を作成し、選局を終了する。ステップS105において、ミュートを解除し、映像・音声を出力したかどうかを確認する。映像と音声を確認するステップはそれぞれに分けてもよい。ミュートが解除できなかった場合は、ステップS106に進み、選局を終了する。次いで、ステップS106において、各STEPで発生した不具合に応じて、実際にメモリに書き込む情報を作成する。選局が異常終了し、誤動作が検出された場合のその後のシーケンスを以下に説明する。   If the PAT cannot be acquired, the process proceeds to S106, and information to be actually written to the memory is created according to the malfunction, and the channel selection is terminated. PAT is one of the sections and is necessary information for digital broadcasting channel selection. Next, in step S103, it is confirmed whether the PMT has been acquired. If the PMT cannot be acquired, the process proceeds to S106, and information to be actually written to the memory is created according to the malfunction, and the channel selection is terminated. In step S104, it is confirmed whether the video / audio has been decoded. In step S104, the STEP for confirming the video / audio may be divided. If the video / audio cannot be decoded, the process proceeds to step S106, and information to be actually written to the memory is created according to the problem, and the channel selection is terminated. In step S105, it is confirmed whether the mute is canceled and video / audio is output. The step of confirming the video and audio may be divided into each. If mute cannot be released, the process proceeds to step S106, and the channel selection is terminated. Next, in step S106, information to be actually written in the memory is created in accordance with the malfunction that has occurred in each STEP. A subsequent sequence when the channel selection ends abnormally and a malfunction is detected will be described below.

図8は、誤動作発生時に、誤動作に関する情報を書き込む処理の流れを示すフローチャート図であり、直近の優先度比較で書き込む方法(図2参照)を例にした図である。まず、ステップS201において、現在の書き込みポインタ位置を保存する。書き込みポインタの位置により現在変更対象となっている情報の位置を知ることができる。また、この書き込みポインタの位置を変更することで、書き込もうとしている情報の位置を変更することができる。書き込む領域が存在しない場合があるため、そのときの終了条件として使用する(ステップS206でポインタ比較に使用するため)。次に、ステップS202において、書き込む対象の領域へ書き込みポインタを移動する。次いで、ステップS203において、ポインタの指している情報記憶領域が空か否かを判定する。情報記憶領域が空の場合には、ステップS204に進み、情報を書き込む。情報記憶領域が空でないとき(情報を上書きする必要があるとき)は、ステップS205に進む。ステップS204において、書き込みポインタの指している領域に情報を書き込む(RAMからROMへ書き込む)。次いで、ステップS205において、書き込もうとしている情報と既にその領域に書かれている情報の優先度を比較する。 書き込もうとしている情報の優先度が既に書かれている情報の優先度以上のときはS204に進み、情報を書き込む。書き込もうとしている情報の優先度が既に書かれている情報の優先度より小さいときは、ステップS206に進む。ステップS206において、ステップS201で保存した書き込みポインタ位置と現在の書き込みポインタ位置が同じかどうか判定する。ポインタ位置が同じであった場合には、情報格納領域を一周しても書き込むことができる領域がなかったことを意味する。従って、書き込もうとしている情報は破棄して(上書きせずに)処理を終了する。ポインタ位置が同じでない場合は、ステップS202に進み、書き込みポインタを次の情報格納領域へ更新し、再度、同様のフローチャートに沿った処理を実行する。   FIG. 8 is a flowchart showing a flow of processing for writing information relating to a malfunction when a malfunction occurs, and illustrates an example of a method of writing by the latest priority comparison (see FIG. 2). First, in step S201, the current write pointer position is saved. The position of the information currently being changed can be known from the position of the write pointer. Further, by changing the position of the write pointer, the position of information to be written can be changed. Since there is a case where an area to be written does not exist, it is used as an end condition at that time (to be used for pointer comparison in step S206). Next, in step S202, the write pointer is moved to the write target area. Next, in step S203, it is determined whether or not the information storage area pointed to by the pointer is empty. If the information storage area is empty, the process proceeds to step S204 and information is written. When the information storage area is not empty (when information needs to be overwritten), the process proceeds to step S205. In step S204, information is written in the area pointed to by the write pointer (write from RAM to ROM). Next, in step S205, the priority of the information to be written is compared with the information already written in the area. When the priority of the information to be written is equal to or higher than the priority of the information already written, the process proceeds to S204 and the information is written. When the priority of the information to be written is lower than the priority of the information already written, the process proceeds to step S206. In step S206, it is determined whether the write pointer position saved in step S201 is the same as the current write pointer position. If the pointer positions are the same, it means that there is no area that can be written even if the information storage area goes around. Therefore, the information to be written is discarded (without overwriting) and the process is terminated. If the pointer positions are not the same, the process proceeds to step S202, the write pointer is updated to the next information storage area, and the process according to the same flowchart is executed again.

以上の処理により、直近の優先度を比較することにより、情報の優先度に応じて、常時、優先度の高い情報を格納しつつ、メモリ容量を増加する必要がないという利点がある。   By comparing the latest priorities by the above processing, there is an advantage that it is not necessary to increase the memory capacity while always storing high priority information according to the information priorities.

次に、本発明の他の実施の形態による誤動作時の情報書き込み方法について図9を参照しながら説明を行う。この方法は、全体の優先度比較で情報を書き込む方法であり、図3に示すものと同様に書き込み位置と優先度とを考慮して対応する方法である。ここでは、優先度に関して例えば図3の一番上の位置から一番下の位置まで移動することにより全体の優先度をみる場合における現在の優先度を見ている位置を示す優先度確認用ポインタと、この優先度確認用ポインタとを利用して以下の図9に示すステップにより、情報の上書き位置を特定する方法である。優先度確認用ポインタは、例えば、図3において、一番上から一番下まで順次移動し、ポインタの指す位置の優先度を知ることが出来るようになっている。書き込み位置ポインタは、以下に説明するように、優先度確認用ポインタの移動につれて移動し、上書き位置になるとその位置で情報を上書きする。   Next, an information writing method at the time of malfunction according to another embodiment of the present invention will be described with reference to FIG. This method is a method of writing information by comparing the priorities of the whole, and is a method corresponding to the writing position and the priority in the same manner as shown in FIG. Here, for example, a priority confirmation pointer indicating a position where the current priority is viewed when the overall priority is viewed by moving from the top position to the bottom position in FIG. And using this priority confirmation pointer, the information overwrite position is specified by the steps shown in FIG. 9 below. For example, in FIG. 3, the priority confirmation pointer is sequentially moved from the top to the bottom, so that the priority of the position indicated by the pointer can be known. As will be described below, the write position pointer moves as the priority confirmation pointer moves, and when it reaches the overwrite position, information is overwritten at that position.

より詳細には、まず、ステップS301において、優先度確認ポインタ(書き込みポインタとは異なる)と書き込みポインタとをログ保存領域の最初の領域(例えば図3の右図の一番上)に設定する。次いで、ステップS302において、優先度確認用ポインタの指す情報の優先度と、書き込みポインタの指す情報の優先度とを比較する。ここで、書き込みポインタの指す情報の優先度が、優先度確認用ポインタの指す情報の優先度より高い場合には、ステップS303に進む。書き込みポインタの指す情報の優先度が、優先度確認用ポインタの指す情報の優先度よりも低いか、もしくは同じである場合には、ステップS304に進む。ここでは、両者の優先度は同じ位置であるから当然に同じ(例としては優先度1)であるため、判定がNoとなり、ステップS304に進み、領域の最後になっているか否かを判定し、領域の最後の場合には、ステップS306に移行する。ここでは、最初は領域の最後でないので、ステップS305に進む。ステップS305において、優先度確認ポインタの位置を次の領域(情報2の位置)に進ませる(更新する)。ここで、さらに、ステップS302において、優先度確認用ポインタの指す情報の優先度と、書き込みポインタの指す情報の優先度とを比較する。この場合は、優先度3と優先度1であるため、ステップS302でYesとなり、ステップS303で、書き込みポインタの位置を優先度確認ポインタの位置、すなわち情報2の位置まで移動させる。この位置でも、ステップS302の優先度は、同じであるためNoとなり、最後の領域でなければ、優先度確認用ポインタをさらに1つ下の情報3まで移動し、書き込みポインタは情報2のままである。ここで、情報3の優先度はnであるから、ステップS302においてYesとなり、情報3の位置まで書き込みポインタが移動する。さらに、継続してステップS305で優先度確認用ポインタを情報4の位置まで移動させても、ステップS302の判断ステップでは、最後までNoとなる。そこで、ステップS304に移動し、さらに、ステップS306に進むことで、書き込みポインタの位置(ここでは、情報3だった上から3番目の位置)に、書き込むログ情報(n+1)を上書きし保存する。   More specifically, first, in step S301, the priority confirmation pointer (different from the write pointer) and the write pointer are set to the first area of the log storage area (for example, at the top of the right diagram in FIG. 3). Next, in step S302, the priority of the information pointed to by the priority confirmation pointer is compared with the priority of the information pointed to by the write pointer. If the priority of the information pointed to by the write pointer is higher than the priority of the information pointed to by the priority confirmation pointer, the process proceeds to step S303. If the priority of the information pointed to by the write pointer is lower than or the same as the priority of the information pointed to by the priority confirmation pointer, the process proceeds to step S304. Here, since the priorities of the two are the same position and are naturally the same (for example, the priority is 1), the determination is no, the process proceeds to step S304, and it is determined whether or not it is the end of the area. In the case of the last of the area, the process proceeds to step S306. Here, since the beginning is not the end of the area, the process proceeds to step S305. In step S305, the position of the priority confirmation pointer is advanced (updated) to the next area (information 2 position). Here, in step S302, the priority of the information pointed to by the priority confirmation pointer is compared with the priority of the information pointed to by the write pointer. In this case, since the priority level is 3 and the priority level 1 is Yes in step S302, the position of the write pointer is moved to the position of the priority confirmation pointer, that is, the position of information 2 in step S303. Even at this position, the priority in step S302 is the same, and thus No, and if it is not the last area, the priority confirmation pointer is moved to the next lower information 3, and the write pointer remains information 2. is there. Here, since the priority of the information 3 is n, it becomes Yes in step S302, and the write pointer moves to the position of the information 3. Furthermore, even if the priority confirmation pointer is continuously moved to the position of information 4 in step S305, the determination step in step S302 is No until the end. Therefore, the process proceeds to step S304, and further proceeds to step S306, whereby the log information (n + 1) to be written is overwritten and stored at the position of the write pointer (here, the third position from the top, which is information 3).

以上のように、書き込みポインタと優先度確認用ポインタとの2つの異なるポインタを利用し、書き込みポインタの指す情報の優先度が、優先度確認用ポインタの指す情報の優先度より高いか低いかにより、前者が高い場合には書き込みポインタをその領域の位置に更新した後に、そうでない場合には書き込みポインタをその領域の位置に更新せずに、優先度確認ポインタの位置を、次の領域に更新する処理を領域の最後まで行うことにより、領域の優先度を見ながら、優先度の高くない情報に対して書き換え対象情報を上書きする処理を行うことができる。   As described above, by using two different pointers, that is, the write pointer and the priority confirmation pointer, the priority of the information pointed to by the write pointer is higher or lower than the priority of the information pointed to by the priority confirmation pointer. If the former is high, the write pointer is updated to the position of the area. Otherwise, the write pointer is not updated to the position of the area, and the position of the priority confirmation pointer is updated to the next area. By performing the process to the end of the area, it is possible to perform the process of overwriting the information to be rewritten on the information with a low priority while viewing the priority of the area.

尚、図6は、情報格納領域への情報書き込みの変形例を具体的に示す図である。矢印で示される書き込みポインタで書き込む領域の位置が管理される。また、それぞれの情報の時間関係を把握するために(情報が時系列で並んでいるとは限らないため)、書き込まれた時間(TS:タイムスタンプ)を情報毎に記録しておく。TSは絶対時間又は相対時間で良い。上から順番に説明すると、情報1(選局)は、情報(選局)以外の情報によっては上書きされないようになっている。情報2(選局)も、情報(選局)以外の情報によっては上書きされないようになっている。情報3(インターネット)は、情報(インターネット)以外の情報によっては上書きされないようになっている。情報6(予約)は、情報(予約)以外の情報には上書きされないようになっている。このようにすることで、書き込みポインタの位置において、異なる種別の情報が入ってもこの領域は上書きされない。このように、情報の種別が同じであるか否かにより、誤動作情報の種別が同じでない場合には、優先度にかかわらず上書きしないようにすることで、異なる種別の不具合等をできるだけ均等にログとして残すことができる。尚、誤動作情報に種別とは、テレビジョン受信装置の機能毎に異なるものとしても良いし、類似の機能は、まとめて同じ種別(視聴予約と録画予約は同じ予約処理であるため同じ種別とするなど)としても良い。   FIG. 6 is a diagram specifically showing a modification of information writing to the information storage area. The position of the writing area is managed by the writing pointer indicated by the arrow. Further, in order to grasp the time relationship of each information (because the information is not necessarily arranged in time series), the written time (TS: time stamp) is recorded for each information. TS may be absolute or relative time. In order from the top, information 1 (channel selection) is not overwritten by information other than information (channel selection). Information 2 (channel selection) is not overwritten by information other than information (channel selection). Information 3 (Internet) is not overwritten by information other than information (Internet). Information 6 (reservation) is not overwritten on information other than information (reservation). In this way, even if different types of information are entered at the position of the write pointer, this area is not overwritten. In this way, depending on whether the information type is the same or not, if the malfunction information type is not the same, it is possible to log different types of defects as equally as possible by not overwriting regardless of the priority. Can be left as. Note that the type of malfunction information may be different for each function of the television receiver, and similar functions are collectively the same type (the same type is used because viewing reservation and recording reservation are the same reservation process). Etc.).

以上に説明したように、より重要な情報を優先的に残しておくことにより、メモリの占有容量を多くせずに、より重要な情報をログとして残すことができる。サービスマンにとっては、このログを記憶したフラッシュメモリなどを、例えばメモリカードなどにより取得したり、ネットワーク経由で取得したりすることで、迅速にユーザへのサービスを提供することができる。   As described above, by preferentially leaving more important information, more important information can be left as a log without increasing the memory capacity. A service person can quickly provide a service to the user by acquiring a flash memory or the like storing the log using a memory card or via a network.

尚、上記の実施の形態において、添付図面に図示されている構成等については、これらに限定されるものではなく、本発明の効果を発揮する範囲内で適宜変更することが可能である。その他、本発明の目的の範囲を逸脱しない限りにおいて適宜変更して実施することが可能である。   In the above-described embodiment, the configuration and the like illustrated in the accompanying drawings are not limited to these, and can be changed as appropriate within the scope of the effects of the present invention. In addition, various modifications can be made without departing from the scope of the object of the present invention.

また、本実施の形態で説明した機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより各部の処理を行ってもよい。尚、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。   In addition, a program for realizing the functions described in the present embodiment is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into a computer system and executed to execute processing of each unit. May be performed. The “computer system” here includes an OS and hardware such as peripheral devices.

また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。   Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.

また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また前記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。   The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time, like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case is also used to hold a program for a certain period of time. The program may be a program for realizing a part of the above-described functions, or may be a program that can realize the above-described functions in combination with a program already recorded in a computer system.

さらに、本実施の形態において、デジタルテレビジョン受信機の例として、一般的なテレビジョン受信機を例にして説明したが、その他、DVDレコーダ、HDDレコーダ、PCなどにおいて、デジタルテレビジョン受信用のチューナを備えた機器も本発明の範疇に入ることは言うまでもない。   Furthermore, in the present embodiment, a general television receiver has been described as an example of a digital television receiver. However, in addition, a DVD recorder, an HDD recorder, a PC, and the like are used for digital television reception. Needless to say, a device equipped with a tuner also falls within the scope of the present invention.

本発明は、テレビジョン受信機のソフトウェア解析に利用可能である。   The present invention can be used for software analysis of a television receiver.

本発明の一実施の形態によるデジタル放送受信機の一構成例を示す機能ブロック図である。It is a functional block diagram which shows one structural example of the digital broadcast receiver by one embodiment of this invention. 本実施の形態による誤動作に関する誤動作ログ管理テーブルの第1構成例を示す図である。It is a figure which shows the 1st structural example of the malfunction log management table regarding the malfunction by this Embodiment. 本実施の形態による誤動作に関する誤動作ログ管理テーブルの第2構成例を示す図である。It is a figure which shows the 2nd structural example of the malfunction log management table regarding the malfunction by this Embodiment. 本実施の形態による誤動作に関する誤動作ログ管理テーブルの第3構成例を示す図である。It is a figure which shows the 3rd structural example of the malfunction log management table regarding the malfunction by this Embodiment. 誤動作の優先順位管理テーブルの具体的な例を示す図であり、上記のテーブルに対応する図である。It is a figure which shows the specific example of the priority management table of malfunction, and is a figure corresponding to said table. 情報格納領域への情報書き込みの変形例を具体的に示す図である。It is a figure which shows specifically the modification of the information writing to an information storage area. 誤動作検出部が、誤動作の発生を検出する処理の流れを示すフローチャート図である。It is a flowchart figure which shows the flow of the process in which a malfunction detection part detects generation | occurrence | production of malfunction. 誤動作発生時に、誤動作に関する情報を書き込む処理の流れを示すフローチャート図であり、直近の優先度比較で書き込む方法(図2参照)を例にした図である。It is a flowchart figure which shows the flow of the process which writes the information regarding malfunctioning at the time of malfunctioning, and is the figure which illustrated the method (refer FIG. 2) which writes by the latest priority comparison. 本発明の他の実施の形態による誤動作時の情報書き込み方法であり、全体の優先度比較で情報を書き込む方法を示すフローチャート図である。FIG. 12 is a flowchart showing a method of writing information in a malfunction according to another embodiment of the present invention, and writing information by overall priority comparison. 一般的な誤動作情報の書き込み技術の一例を示す図である。It is a figure which shows an example of the general technique of writing malfunction information.

符号の説明Explanation of symbols

A…テレビジョン受信機、1…アンテナ、3…デジタル放送受信部、5…デマルチプレクサ、6…映像・音声デコード部、8…画面合成部、11…表示部、15…音声出力部、17…制御部(CPU)、17a…誤動作検出部、17b…判定部、21…LANインターフェイス、23…ROM、23a…優先度記憶部、25…RAM、27…リモコン受光部。 A ... TV receiver, 1 ... antenna, 3 ... digital broadcast receiving unit, 5 ... demultiplexer, 6 ... video / audio decoding unit, 8 ... screen synthesis unit, 11 ... display unit, 15 ... audio output unit, 17 ... Control unit (CPU), 17a ... malfunction detection unit, 17b ... determination unit, 21 ... LAN interface, 23 ... ROM, 23a ... priority storage unit, 25 ... RAM, 27 ... remote control light receiving unit.

Claims (9)

電子機器の誤動作を検出する誤動作検出部と、該誤動作検出部により検出された誤動作に関する情報を、発生した順番に複数の記憶領域にそれぞれ格納するためのメモリ領域と、新たな誤動作が検出された場合に、該誤動作に関する情報を前記複数のメモリ領域のうちのいずれかに記載されている情報に対して上書きする際の制御を行う上書き制御部と、を有する電子機器であって、
さらに、前記メモリ領域に書き込まれた情報のうち残しておきたい重要な情報ほど高い優先度を有するように決められた優先度を記憶する優先度記憶部を備え、
前記上書き制御部は、既に書き込まれている情報よりも優先度が高い情報であるか否かを判定する判定部において、優先度が高い情報であると判定された場合にのみ、既存の情報を新たな情報で上書きする制御を行うことを特徴とする電子機器。
A malfunction detection unit for detecting malfunction of the electronic device, a memory area for storing information on malfunctions detected by the malfunction detection unit in a plurality of storage areas in the order of occurrence, and a new malfunction were detected In this case, an electronic device having an overwriting control unit that performs control when overwriting information on the malfunction described in any of the plurality of memory areas,
Furthermore, a priority storage unit that stores priority determined to have higher priority for important information to be left out of the information written in the memory area,
The overwriting control unit determines whether the information has higher priority than information that has already been written. Only when the determination unit determines that the information has higher priority, the overwrite control unit An electronic device characterized by performing control to overwrite with new information.
前記優先度記憶部に記憶されている情報を、優先順位を情報と対応させておくとともに、情報の新しい順番に下から並べることを特徴とする請求項1に記載の電子機器。   The electronic device according to claim 1, wherein the information stored in the priority storage unit is arranged with a priority corresponding to the information and arranged from the bottom in a new order of the information. 前記優先度記憶部に記憶されている情報を、優先順位を情報と対応させておくとともに、優先順位の高い順番に並べ替えておき、全ての情報の優先順位のうち最も低い優先順位をもつ情報から順番に、新たに書き換えたい情報との比較を行うことを特徴とする請求項1又は2に記載の電子機器。   The information stored in the priority storage unit is information having the lowest priority among the priorities of all the information, with the priorities associated with the information and rearranged in the order of higher priority. The electronic device according to claim 1, wherein the electronic device is compared with information to be newly rewritten in order. 優先度に関して、前記記憶領域に記憶されている情報を順次移動させていくことにより全体の優先度をみる際に現在の優先度を見ている位置を示す優先度確認用ポインタを用意し、該優先度確認用ポインタを利用して、該優先度確認用ポインタが指示する第1の情報の優先度と、現在書き込み対象となっている情報の位置を示す書き込みポインタが指示する第2の情報との優先度を比較し、前記第2の情報の方が優先度が高い場合には、前記書き込みポインタの位置を優先度確認用ポインタの位置まで移動させ、前記第2の情報の方が優先度が高くない場合には、前記書き込みポインタの位置を優先度確認用ポインタの位置まで移動させずに、優先度確認用ポインタの位置を次の位置に移動させた後に前記比較を行う処理を繰り返すことを特徴とする請求項1から3までのいずれか1項に記載の電子機器。   Regarding priority, a priority confirmation pointer indicating a position at which the current priority is viewed when preparing the overall priority by sequentially moving the information stored in the storage area is prepared, Using the priority confirmation pointer, the priority of the first information indicated by the priority confirmation pointer, the second information indicated by the write pointer indicating the position of the information currently being written, If the second information has a higher priority, the position of the write pointer is moved to the position of the priority confirmation pointer, and the second information has a higher priority. If the position is not high, the comparison processing is repeated after the position of the priority confirmation pointer is moved to the next position without moving the position of the write pointer to the position of the priority confirmation pointer. Special Electronic device according to any one of claims 1 to 3,. 前記上書き制御部は、誤動作の種別が同じである情報を優先的に上書きする制御を行うことを特徴とする請求項1から4までのいずれかれ1項に記載の電子機器。   5. The electronic device according to claim 1, wherein the overwriting control unit performs control to preferentially overwrite information having the same type of malfunction. 6. 前記メモリ領域に、前記情報と対応させて、誤動作の発生時刻を示すタイムスタンプが記憶されており、該タイムスタンプにより、同種の誤動作が連続して生じた場合に、該誤動作の優先度を上げることを特徴とする請求項1から5までのいずれか1項に記載の電子機器。   A time stamp indicating a malfunction occurrence time is stored in the memory area in association with the information, and when the same kind of malfunction occurs continuously due to the timestamp, the priority of the malfunction is increased. The electronic device according to claim 1, wherein the electronic device is an electronic device. 電子機器の誤動作を検出する誤動作検出部と、該誤動作検出部により検出された誤動作に関する情報を、複数の記憶領域に発生した順番にそれぞれ格納するためのメモリ領域と、新たな誤動作が検出された場合に、該誤動作に関する情報を前記複数のメモリ領域のうちのいずれかに記載されている情報に対して上書きする際の制御を行う上書き制御部と、を有する電子機器における誤動作ログの書き換え方法であって、
前記メモリ領域に書き込まれた情報のうち残しておきたい重要な情報ほど高い優先度を有するように決められた優先度を記憶するステップと、
前記上書き制御部において、既に書き込まれている情報よりも優先度が高い情報であるか否かを判定し、優先度が高い情報であると判定された場合にのみ、既存の情報を新たな情報で上書きする制御を行うステップと
を有することを特徴とする誤動作ログの書き換え方法。
A malfunction detection unit that detects malfunction of an electronic device, a memory area for storing information on malfunctions detected by the malfunction detection unit in the order of occurrence in a plurality of storage areas, and a new malfunction were detected A malfunction log rewriting method in an electronic device comprising: an overwriting control unit that performs control when overwriting information related to the malfunction in any of the plurality of memory areas. There,
Storing priority determined to have higher priority for important information to be left out of the information written in the memory area;
In the overwriting control unit, it is determined whether or not the information has higher priority than information that has already been written. Only when it is determined that the information has higher priority, the existing information is replaced with new information. And a method of rewriting the malfunction log, characterized by comprising the step of performing overwriting control.
請求項7に記載の方法をコンピュータに実行させるためのプログラム。   A program for causing a computer to execute the method according to claim 7. 請求項8に記載のプログラムを記憶するコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium storing the program according to claim 8.
JP2008179280A 2008-07-09 2008-07-09 Software analysis system of digital broadcast receiver Pending JP2010021717A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008179280A JP2010021717A (en) 2008-07-09 2008-07-09 Software analysis system of digital broadcast receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008179280A JP2010021717A (en) 2008-07-09 2008-07-09 Software analysis system of digital broadcast receiver

Publications (1)

Publication Number Publication Date
JP2010021717A true JP2010021717A (en) 2010-01-28

Family

ID=41706200

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008179280A Pending JP2010021717A (en) 2008-07-09 2008-07-09 Software analysis system of digital broadcast receiver

Country Status (1)

Country Link
JP (1) JP2010021717A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015033156A (en) * 2013-07-31 2015-02-16 株式会社日立製作所 Digital protection controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015033156A (en) * 2013-07-31 2015-02-16 株式会社日立製作所 Digital protection controller

Similar Documents

Publication Publication Date Title
KR101410424B1 (en) Receiver and method for reporting the usage of advanced television services
JP2008118654A (en) Digital broadcast media recording apparatus and recording method
JP2006505994A (en) Tracking a partially watched show so that the personal video recorder can be marked for erasure when it runs out of space
KR20020066196A (en) Optimizing use of storage space in a video data recording system
US20080301740A1 (en) Stored program controlling apparatus and method of controlling stored program
CA2602327A1 (en) System and method for quality marking of a recording
US20030231855A1 (en) Scalable programmable video recorder
JP2005346824A (en) Information processor, its method, program for executing the method, storage medium with the program stored therein, and information storage device
US7379654B2 (en) Programmable video recorder backing store for non-byte stream formats
US7921449B2 (en) Smooth still image capture
JP2010021717A (en) Software analysis system of digital broadcast receiver
KR101335867B1 (en) Appartus and method for data updating in display device
US10097788B2 (en) Intelligent recording
JP4492316B2 (en) Digital recording device, digital recording system comprising server device, and program information transmission / reception method using them
CN101296343A (en) Video-recording programming apparatus and video-recording programming method
JP5015093B2 (en) Receiver and receiver control method
JP2007266808A (en) Video audio recording apparatus and hard disk recorder
US9141624B2 (en) Managing the storage of media content
JP2012049731A (en) Digital broadcast reception apparatus
KR100528588B1 (en) Method for managing recordable area in digital recording device
JP4561895B2 (en) Transmission device, transmission method, program, and transmission / reception system
JP2024000344A (en) Broadcast receiver and broadcast receiving system
KR100283588B1 (en) Memory control method of digital data processing system
CN101388987B (en) Apparatus and method fro recording name of recorded program
JP2010003168A (en) Terminal device, setting moving system, setting restoring method, setting moving method, and program