JP4984144B2 - Content processing apparatus, method thereof and program thereof - Google Patents

Content processing apparatus, method thereof and program thereof Download PDF

Info

Publication number
JP4984144B2
JP4984144B2 JP2007162893A JP2007162893A JP4984144B2 JP 4984144 B2 JP4984144 B2 JP 4984144B2 JP 2007162893 A JP2007162893 A JP 2007162893A JP 2007162893 A JP2007162893 A JP 2007162893A JP 4984144 B2 JP4984144 B2 JP 4984144B2
Authority
JP
Japan
Prior art keywords
content processing
unit
processing unit
operation state
slave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2007162893A
Other languages
Japanese (ja)
Other versions
JP2009003641A (en
Inventor
守広 佐藤
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.)
JVCKenwood Corp
Original Assignee
JVCKenwood 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 JVCKenwood Corp filed Critical JVCKenwood Corp
Priority to JP2007162893A priority Critical patent/JP4984144B2/en
Publication of JP2009003641A publication Critical patent/JP2009003641A/en
Application granted granted Critical
Publication of JP4984144B2 publication Critical patent/JP4984144B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、主コンテンツ処理と従コンテンツ処理とを起動して実行するコンテンツ処理装置、その方法およびそのプログラムに関する。   The present invention relates to a content processing apparatus that starts and executes main content processing and sub content processing, a method thereof, and a program thereof.

近年、一般家庭内にて、テレビやVTR(Video Tape Recorder)、HDD(Hard
Disk Drive)、DVR(Digital Video Recorder)といった画像録画装置を複数保有し、各々を有線ないし無線LAN(ローカルエリアネットワーク)インターフェースやIEEE1394規格のシリアルインターフェースにより接続し、接続された装置同士の操作を連動させるシステムがある。このようなシステムでは、相互接続された装置間の限定された機能の制御情報交換が可能である。加えて、DLNA(Digital Living Network Alliance)等の仕様に基づいてネットワーク上でコンテンツ共有できる機器もあり、サーバ装置内のコンテンツをネットワークで接続された再生装置で視聴するといった楽しみ方をするユーザも増えてきている。
Recently, in homes, TVs, VTRs (Video Tape Recorders), HDDs (Hard
It has multiple image recording devices such as Disk Drive) and DVR (Digital Video Recorder), each connected via a wired or wireless LAN (local area network) interface or IEEE 1394 serial interface, and the operations of the connected devices are linked. There is a system to let you. In such a system, it is possible to exchange control information of limited functions between interconnected devices. In addition, there are devices that can share content on the network based on specifications such as DLNA (Digital Living Network Alliance), and the number of users who enjoy viewing content in the server device on a playback device connected via the network has increased. It is coming.

テレビに代表されるAVクライアント装置が、ネットワークHDDやHDDレコーダといったAVサーバ装置とネットワークによって接続される環境において、上記AVサーバ装置に格納してあるコンテンツをAVクライアント装置で視聴するケースが増えている。
これらの機能のうち根幹機能である動画デコーダおよび音声デコーダは、ハードウェアを搭載して実現し、その制御をソフトウェアにて実現している。
ここで、テレビ放送再生とネットワークからのストリーミング再生とは、必要とされるハードウェア機能の基本的な部分は同じであるが、その制御方法が異なる。この場合に、複数のハードウェア機能を個別に搭載すれば、その機能実現が容易であるが、商品コストの上昇に繋がる。
In an environment where an AV client device typified by a television is connected to an AV server device such as a network HDD or HDD recorder via a network, there is an increasing number of cases where the content stored in the AV server device is viewed on the AV client device. .
Among these functions, the video decoder and audio decoder, which are the basic functions, are realized by mounting hardware, and the control thereof is realized by software.
Here, the basic part of the required hardware function is the same between the television broadcast reproduction and the streaming reproduction from the network, but the control method is different. In this case, if a plurality of hardware functions are individually installed, the functions can be easily realized, but the product cost increases.

そこで、上述したテレビ放送再生用ハードウェアとストリーミング再生用ハードウェアとを共用化し、その制御方法をソフトウェアだけで実現しようという動きも出てきている。
しかし、ハードウェア機能の共用化にあたり、その機能実現のためのアプリケーション機能の管理、制御において、副機能であるストリーミング再生機能の起動、正常終了、異常終了の状態監視、並びに異常終了によるアプリケーションのデッドロック検出と復帰処理を行う必要がある。
この解決方法として、特開2005−78122号に開示された「ロック状態検出装置およびロック状態検出方法ならびにそのプログラム」においては、既に起動した監視対象のアプリケーションプロセスに対して、一定周期毎に通信を行いその応答内容、応答の有無により、プロセスの異常検出、並びにロック状態の判定を行い、該異常検出時には、強制終了を行う方法、装置が提案されている。
Therefore, there has been a movement to share the above-mentioned television broadcast reproduction hardware and streaming reproduction hardware and realize the control method only with software.
However, when sharing hardware functions, in the management and control of application functions for realizing those functions, the streaming playback function, which is a subfunction, activation, normal termination, abnormal termination monitoring, and application dead due to abnormal termination It is necessary to perform lock detection and return processing.
As a solution to this problem, “Lock state detection device and lock state detection method and program thereof” disclosed in Japanese Patent Application Laid-Open No. 2005-78122 communicates with a monitoring target application process at regular intervals. There has been proposed a method and an apparatus that detect a process abnormality and determine a lock state based on the response contents and the presence / absence of a response, and forcibly terminate the process when the abnormality is detected.

また、特開2002−342095号に開示された「アプリケーションの異常終了検出・復帰方法」においては、システム稼動状態監視部により、起動されたアプリケーションの状態を、前記起動されたアプリケーションから所定時間毎に受信して、起動状態記録を行う。また、前記システム稼動状態監視部は、稼動アプリケーションの異常を検出すると、直ちに、該起動されたアプリケーションを強制終了させ、該当するアプリケーションに前記記録状態を基に、再起動したアプリケーションの状態設定を戻す。   Also, in “Application Abnormal Termination Detection / Recovery Method” disclosed in Japanese Patent Application Laid-Open No. 2002-342095, the system operating state monitoring unit changes the state of the activated application from the activated application at predetermined time intervals. Receive and record activation status. In addition, when the system operating state monitoring unit detects an abnormality of the operating application, immediately, the started application is forcibly terminated and the state setting of the restarted application is returned to the corresponding application based on the recording state. .

これらの技術は、監視するアプリケーションをシステム起動時に予め起動させておき、その運用状態を常時監視し、異常状態発生時に、その終了方法、復帰方法について、デッドロック回避や、主アプリケーションや監視プロセス間との通信による稼動状態情報保持と再起動時の復帰を行う。また、主アプリケーションとの共有リソースは、副アプリケーションの再起動により初期化することで、復帰が可能である。   With these technologies, the application to be monitored is started in advance when the system is started, its operation status is constantly monitored, and when an abnormal state occurs, deadlock avoidance, main application and monitoring process Operation status information is retained by communication with, and recovery at restart is performed. Further, the shared resource with the main application can be restored by initializing it by restarting the sub application.

特開2002−342095号公報JP 2002-342095 A 特開2005−078122号公報Japanese Patent Laying-Open No. 2005-078212

ところで、上述したAVクライアント装置において、主ストリーミング再生機能から、従ストリーミング再生機能を直接起動して監視すると、当該起動処理および監視処理によって、主ストリーミング再生処理に停止等の悪影響が出ることがあるという問題がある。   By the way, in the AV client device described above, if the secondary streaming playback function is directly activated and monitored from the primary streaming playback function, the startup and monitoring processes may adversely affect the primary streaming playback process, such as stopping. There's a problem.

また、上述した特開2002−342095号および特開2005−078122号においては、起動する副アプリケーションは、それぞれが単独で動作可能な上、システムにおける共有リソースのデッドロックは、異常状態を引き起こした前記副アプリケーションを終了させることで、主アプリケーションの機能復帰が可能であるシステムに関するものである。例えば、ネットワークのメールサーバやバッチ処理を行うサーバ装置である。
ところが、本方法では、例えば、共有リソースを副アプリケーションが使用するにあたり、その設定変更を行う場合に異常が検出され、副アプリケーションの起動ができない場合がある。また、副アプリケーションでの異常状態での終了によっては、正常終了時の場合と共通リソースの再設定方法が異なり、それぞれに対応したプログラムモジュールを構築する必要がある。そのため、プログラムコード数が多くなり、開発負担が大きいという問題があった。
Further, in the above-mentioned JP-A-2002-342095 and JP-A-2005-078122, each of the activated sub-applications can operate independently, and the deadlock of the shared resource in the system causes an abnormal state. The present invention relates to a system in which the function of the main application can be restored by terminating the sub application. For example, it is a network mail server or a server device that performs batch processing.
However, in this method, for example, when the secondary application uses the shared resource, an abnormality is detected when the setting is changed, and the secondary application may not be activated. In addition, depending on the termination in the abnormal state in the secondary application, the common resource resetting method differs from that in the normal termination, and it is necessary to construct a program module corresponding to each. For this reason, there is a problem that the number of program codes increases and the development burden is large.

また、上述した従来のシステムでは、主アプリケーションと副アプリケーション、あるいは監視プロセスと副アプリケーションの間でアプリケーションレベルでのメッセージ通信を行い、異常検出を行っている。そのため、通常、副アプリケーションにおいて異常がある場合には、該通信ができないケースもある。このような場合に、タイマを用いた応答時間制限により復帰をさせてことも考えられる。しかしながら、タイマ制御の処理では、応答時間制限値の設定がアプリケーションにより異なり、応答時間が最長のアプリケーションに合わせる必要があり、応答時間が長期化してしまうという問題がある。   In the conventional system described above, anomaly detection is performed by performing message communication at the application level between the main application and the sub application or between the monitoring process and the sub application. For this reason, there is usually a case where the communication cannot be performed when there is an abnormality in the secondary application. In such a case, it may be possible to recover by limiting the response time using a timer. However, in the timer control process, the setting of the response time limit value differs depending on the application, and it is necessary to match the application with the longest response time, resulting in a problem that the response time becomes long.

本発明はかかる事情に鑑みてなされたものであり、主コンテンツ処理が、従コンテンツ処理の起動や監視等の処理から受ける影響を低減し、主コンテンツ処理を安定にできるコンテンツ処理装置、その方法およびそのプログラムを提供することを目的とする。
また、本発明は、従コンテンツ処理が正常終了および異常終了した場合に、主コンテンツ処理および従コンテンツ処理で共用される処理手段の設定を変更するための処理負担を軽減できるコンテンツ処理装置を提供することを目的とする。
また、本発明は、従コンテンツ処理の終了を早いタイミングで特定して処理時間を短縮できるコンテンツ処理装置を提供することを目的とする。
The present invention has been made in view of such circumstances, and a content processing apparatus capable of reducing the influence of main content processing from processing such as activation and monitoring of subordinate content processing and stabilizing the main content processing, its method, and The purpose is to provide the program.
The present invention also provides a content processing apparatus that can reduce the processing load for changing the setting of processing means shared by the main content processing and the sub content processing when the sub content processing ends normally and abnormally. For the purpose.
It is another object of the present invention to provide a content processing apparatus that can identify the end of subordinate content processing at an early timing and reduce the processing time.

第1の観点の発明のコンテンツ処理装置は、主コンテンツ処理を行う主コンテンツ処理と、従コンテンツ処理を行う従コンテンツ処理と、前記主コンテンツ処理および前記従コンテンツ処理によって排他的に使用され、設定内容に基づいて、前記主コンテンツ処理および前記従コンテンツ処理のうち選択された処理に適合した処理を行う処理と、少なくとも前記従コンテンツ処理の動作状態を示す動作状態データを記憶する記憶と、前記従コンテンツ処理前記従コンテンツ処理を開始させるとともに、開始させた前記従コンテンツ処理の動作状態を監視し、当該監視結果を基に、前記記憶に記憶された前記動作態データを更新する監視とを有し、前記主コンテンツ処理部は、外部から前記従コンテンツ処理の開始要求を受け付けると、前記記憶部の前記動作状態データを、開始要求受付を示すデータに更新し、前記監視は、前記記憶部の前記動作状態データが開始要求受付を示すデータに更新されたら前記従コンテンツ処理部の前記従コンテンツ処理を開始させ前記従コンテンツ処理部は、前記監視部によって前記従コンテンツ処理が開始されたら、前記従コンテンツ処理に適合するように前記処理部の前記設定内容を変更後、前記処理部を用いた所定の処理を実行するとともに前記監視部に開始完了メッセージを送信し、前記監視部は、前記従コンテンツ処理部から開始完了メッセージを受信したら、前記記憶部の前記動作状態データを、前記従コンテンツ処理の開始完了を示すデータに更新し、前記主コンテンツ処理は、外部から前記従コンテンツ処理の停止要求を受け付けると、前記記憶部の前記動作状態データを、停止要求受付を示すデータに更新し、前記監視部は、前記記憶部の前記動作状態データが停止要求受付を示すデータに更新されたことを検出したら、このデータを前記従コンテンツ処理の終了を示すデータに更新し、前記前記主コンテンツ処理部は、前記記憶部の前記動作状態データが前記従コンテンツ処理の終了を示すデータに更新されたら、前記主コンテンツ処理に適合するように前記処理部の前記設定内容を変更し、前記処理部を用いた所定の処理を実行する。
The content processing apparatus according to the first aspect of the invention is exclusively used by a main content processing unit that performs main content processing, a sub content processing unit that performs sub content processing , and the main content processing unit and the sub content processing unit . Based on the setting contents, a processing unit that performs a process suitable for a process selected from the main content process and the sub content process, and at least operation state data indicating an operation state of the sub content processing unit are stored. The secondary content processing of the storage unit and the secondary content processing unit is started, the operating state of the started secondary content processing is monitored, and the operation state stored in the storage unit based on the monitoring result and a monitoring unit for updating the data, the main content section, the start request of the sub content processing externally It accepts the, the operating status data of the storage unit, updates the data indicating the start request receiving, wherein the monitoring unit, the sub content When the operation state data of the storage unit is updated to data indicating the start request receiving the sub content processing of the processing unit to start, the sub content processing unit, said When the sub content processed by the monitoring unit is started, after changing the settings of the processing unit to conform to the sub content processing , Executing a predetermined process using the processing unit and transmitting a start completion message to the monitoring unit, and when the monitoring unit receives the start completion message from the subsidiary content processing unit, the operation state of the storage unit the data is updated to data indicating the start completion of the sub content processing, the main content section, the sub near point from the outside When receiving the stop request processing, the operation state data of the storage unit, updates the data representing the stop request is accepted, the monitoring unit, the data to which the operating state data of the storage unit indicates a stop request received update If it is detected, the data is updated to data indicating the end of the subsidiary content processing, and the main content processing unit changes the operation state data of the storage unit to data indicating the end of the subsidiary content processing. When updated, the setting content of the processing unit is changed so as to be adapted to the main content processing, and a predetermined process using the processing unit is executed.

第2の観点の発明のコンテンツ処理方法は、主コンテンツ処理を行う主コンテンツ処理部と、従コンテンツ処理を行う従コンテンツ処理部と、少なくとも前記従コンテンツ処理部の動作状態を示す動作状態データを記憶する記憶部と、前記従コンテンツ処理部の前記従コンテンツ処理を開始させるとともに、開始させた前記従コンテンツ処理の動作状態を監視し、当該監視結果を基に、前記記憶部に記憶された前記動作態データを更新する監視部とを機能として備え、前記主コンテンツ処理部および前記従コンテンツ処理部によって排他的に使用され、設定内容に基づいて、前記主コンテンツ処理および前記従コンテンツ処理のうち選択された処理に適合した処理を行う共用処理部を制御する処理回路が行うコンテンツ処理方法であって、前記主コンテンツ処理部が、前記監視部を起動する第1の工程と、前記主コンテンツ処理部が、外部から前記従コンテンツ処理の開始要求を受け付けると、前記記憶部の前記動作状態データを、開始要求受付を示すデータに更新する第2の工程と、前記監視部が、前記記憶部の前記動作状態データが開始要求受付を示すデータに前記第2の工程にて更新されたら前記従コンテンツ処理部の前記従コンテンツ処理を開始させる第3の工程と、前記従コンテンツ処理部が、前記監視部によって前記従コンテンツ処理が前記第3の工程にて開始されたら、前記従コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更後、前記共用処理部が所定の処理を実行するように制御するとともに前記監視部に開始完了メッセージを送信する第4の工程と、前記監視部が、前記従コンテンツ処理部から前記第3の工程にて開始完了メッセージを受信したら、前記記憶部の前記動作状態データを、前記従コンテンツ処理の開始完了を示すデータに更新する第5の工程と、前記主コンテンツ処理部が、外部から前記従コンテンツ処理の停止要求を受け付けると、前記記憶部の前記動作状態データを、停止要求受付を示すデータに更新する第6の工程と、前記監視部が、前記記憶部の前記動作状態データが停止要求受付を示すデータに前記第6の工程にて更新されたことを検出したら、このデータを前記従コンテンツ処理の終了を示すデータに更新する第7の工程と、前記前記主コンテンツ処理部が、前記記憶部の前記動作状態データが前記従コンテンツ処理の終了を示すデータに前記第7の工程にて更新されたら、前記主コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更し、前記共用処理部が所定の処理を実行するように制御する第8の工程とを有する。

A content processing method according to a second aspect of the invention stores a main content processing unit that performs main content processing, a sub content processing unit that performs sub content processing, and at least operation state data indicating an operation state of the sub content processing unit. And the sub content processing of the sub content processing unit is started, the operation state of the sub content processing started is monitored, and the operation stored in the storage unit based on the monitoring result And a monitoring unit that updates state data as a function, and is used exclusively by the main content processing unit and the sub content processing unit, and is selected from the main content processing and the sub content processing based on setting content Content processing method performed by a processing circuit that controls a shared processing unit that performs processing suitable for the type of processing, When the main content processing unit receives the start request for the slave content processing from the outside, the main content processing unit starts the monitoring unit, and when the main content processing unit accepts the start request for the slave content processing from the outside, A second step of updating to data indicating acceptance; and when the monitoring unit is updated in the second step, the operation state data of the storage unit is updated to data indicating acceptance of a start request. A third step of starting the subsidiary content processing; and when the subsidiary content processing unit starts the subsidiary content processing in the third step by the monitoring unit, the slave content processing unit is adapted to the subsidiary content processing. After changing the setting contents of the shared processing unit, the shared processing unit controls the shared processing unit to execute a predetermined process and transmits a start completion message to the monitoring unit. And when the monitoring unit receives the start completion message from the subsidiary content processing unit in the third step, the operation state data in the storage unit is updated to data indicating completion of the subsidiary content processing. And a sixth step of updating the operation state data in the storage unit to data indicating stop request acceptance when the main content processing unit accepts a stop request for subordinate content processing from the outside. And when the monitoring unit detects that the operation state data in the storage unit has been updated to data indicating acceptance of a stop request in the sixth step, this data is used as data indicating the end of the subsidiary content processing. And the main content processing unit changes the operation state data of the storage unit to data indicating the end of the sub content processing. And an eighth step of controlling the shared processing unit to execute a predetermined process by changing the setting content of the shared processing unit so as to be adapted to the main content processing. .

第3の観点の発明のプログラムは、主コンテンツ処理を行う主コンテンツ処理部と、従コンテンツ処理を行う従コンテンツ処理部と、少なくとも前記従コンテンツ処理部の動作状態を示す動作状態データを記憶する記憶部と、前記従コンテンツ処理部の前記従コンテンツ処理を開始させるとともに、開始させた前記従コンテンツ処理の動作状態を監視し、当該監視結果を基に、前記記憶部に記憶された前記動作態データを更新する監視部との機能と、前記主コンテンツ処理部および前記従コンテンツ処理部によって排他的に使用され、設定内容に基づいて、前記主コンテンツ処理および前記従コンテンツ処理のうち選択された処理に適合した処理を行う共用処理部を制御する機能とを処理回路によって実行されて実現するプログラムであって、前記主コンテンツ処理部は、前記監視部を起動する第1の手順と、前記主コンテンツ処理部が、外部から前記従コンテンツ処理の開始要求を受け付けると、前記記憶部の前記動作状態データを、開始要求受付を示すデータに更新する第2の手順と、前記監視部が、前記記憶部の前記動作状態データが開始要求受付を示すデータに前記第2の手順にて更新されたら前記従コンテンツ処理部の前記従コンテンツ処理を開始させる第3の手順と、前記従コンテンツ処理部が、前記監視部によって前記従コンテンツ処理が前記第3の手順にて開始されたら、前記従コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更後、前記共用処理部が所定の処理を実行するように制御するとともに前記監視部に開始完了メッセージを送信する第4の手順と、前記監視部が、前記従コンテンツ処理部から前記第4の手順にて開始完了メッセージを受信したら、前記記憶部の前記動作状態データを、前記従コンテンツ処理の開始完了を示すデータに更新する第5の手順と、前記主コンテンツ処理部が、外部から前記従コンテンツ処理の停止要求を受け付けると、前記記憶部の前記動作状態データを、停止要求受付を示すデータに更新する第6の手順と、前記監視部が、前記記憶部の前記動作状態データが停止要求受付を示すデータに前記第6の手順にて更新されたことを検出したら、このデータを前記従コンテンツ処理の終了を示すデータに更新する第7の手順と、前記前記主コンテンツ処理部が、前記記憶部の前記動作状態データが前記従コンテンツ処理の終了を示すデータに前記第7の手順にて更新されたら、前記主コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更し、前記共用処理部が所定の処理を実行するように制御する第8の手順とを前記処理回路に実行させる。   According to a third aspect of the present invention, there is provided a program for storing a main content processing unit that performs main content processing, a sub content processing unit that performs sub content processing, and operation state data that indicates at least the operation state of the sub content processing unit. And the sub content processing of the sub content processing unit, and the operation state of the sub content processing started is monitored, and the operation state data stored in the storage unit based on the monitoring result Is used exclusively by the main content processing unit and the sub content processing unit, and based on the setting content, the selected content is selected from the main content processing and the sub content processing. A program that implements a function that controls a shared processing unit that performs suitable processing and is executed by a processing circuit. The main content processing unit starts the operation state data of the storage unit when a first procedure for starting the monitoring unit and the main content processing unit receives a start request for the sub content processing from the outside. A second procedure for updating to data indicating acceptance of requests, and the monitoring unit, when the operation state data in the storage unit is updated to data indicating acceptance of start requests in the second procedure, the slave content processing unit The slave content processing unit is adapted to be adapted to the slave content processing when the slave content processing unit starts the slave content processing in the third procedure by the monitoring unit. After changing the setting contents of the shared processing unit, the shared processing unit is controlled to execute a predetermined process, and a start completion message is transmitted to the monitoring unit. 4 and when the monitoring unit receives a start completion message from the slave content processing unit in the fourth procedure, the operation state data in the storage unit is data indicating completion of the slave content processing. And when the master content processing unit accepts the slave content processing stop request from the outside, the operation state data in the storage unit is updated to data indicating stop request acceptance. And when the monitoring unit detects that the operation state data in the storage unit has been updated to data indicating acceptance of a stop request in the sixth procedure, this data is used to terminate the slave content processing. A seventh procedure for updating to the data to be displayed, and the main content processing unit changes the operation state data of the storage unit to data indicating the end of the sub content processing. And updating the setting contents of the shared processing unit so as to be adapted to the main content processing, and controlling the shared processing unit to execute a predetermined process. The processing circuit is executed.

本発明によれば、主コンテンツ処理が、従コンテンツ処理の起動や監視等の処理から受ける影響を低減し、主コンテンツ処理を安定にできるコンテンツ処理装置、コンテンツ処理方法およびプログラムを提供することができる。
また、本発明によれば、従コンテンツ処理が正常終了および異常終了した場合に、主コンテンツ処理および従コンテンツ処理で共用される処理手段の設定を変更するための処理負担を軽減できるコンテンツ処理装置を提供することができる。
また、本発明によれば、従コンテンツ処理の終了を早いタイミングで特定して処理時間を短縮できるコンテンツ処理装置を提供することができる。
According to the present invention, it is possible to provide a content processing apparatus, a content processing method, and a program capable of reducing the influence of main content processing from processing such as activation and monitoring of sub content processing and stabilizing the main content processing. .
Further, according to the present invention, there is provided a content processing apparatus capable of reducing the processing load for changing the setting of processing means shared by the main content processing and the sub content processing when the sub content processing ends normally and abnormally. Can be provided.
In addition, according to the present invention, it is possible to provide a content processing apparatus that can identify the end of subordinate content processing at an early timing and reduce the processing time.

以下、本発明の実施形態に係るテレビ受像機1について説明する。
図1は、本発明の実施形態に係るテレビ受像機1の構成を説明するための図である。
図1に示すように、テレビ受像機1は、例えば、ハードウェアとして、フロントエンド回路30、メイン処理回路32および共通リソース部34を有する。
なお、図1には、テレビ受像機1が備えるハードウェアおよび機能のうち、本発明の関連性が高いもののみを示している。
Hereinafter, a television receiver 1 according to an embodiment of the present invention will be described.
FIG. 1 is a diagram for explaining a configuration of a television receiver 1 according to an embodiment of the present invention.
As shown in FIG. 1, the television receiver 1 includes, for example, a front-end circuit 30, a main processing circuit 32, and a common resource unit 34 as hardware.
FIG. 1 shows only hardware and functions of the television receiver 1 that are highly relevant to the present invention.

本実施形態の構成要素と、本発明の構成用との対応関係の一例は以下のようになる。
DBSアプリケーションプロセス52が本発明の主コンテンツ処理手段の一例であり、DLNAプロセス56が本発明の従コンテンツ処理手段の一例であり、監視プロセス54が本発明の監視手段の一例である。
また、共通リソース部34が本発明の処理手段の一例である。
また、状態保存部68が保持する状態遷移データが、本発明の動作状態データの一例である。
An example of the correspondence between the components of the present embodiment and the components of the present invention is as follows.
The DBS application process 52 is an example of the main content processing means of the present invention, the DLNA process 56 is an example of the subsidiary content processing means of the present invention, and the monitoring process 54 is an example of the monitoring means of the present invention.
The common resource unit 34 is an example of the processing means of the present invention.
Moreover, the state transition data held by the state storage unit 68 is an example of the operation state data of the present invention.

先ず、テレビ受像機1の概要を説明する。
テレビ受像機1では、図示しない操作部からの要求に応じてDBS(Digital
Broadcast Satellite)アプリケーションプロセス52のテレビアプリケーション処理部62が監視プロセス54を起動し、監視プロセス54がDLNAプロセス56を起動してその動作状態を監視する。
そのため、DLNAプロセス56の動作が、DBSアプリケーションプロセス52の動作に直接的に影響せず、DBSアプリケーションプロセス52の動作を安定化できる。
First, an outline of the television receiver 1 will be described.
In the television receiver 1, a DBS (Digital
The TV application processing unit 62 of the (Broadcast Satellite) application process 52 activates the monitoring process 54, and the monitoring process 54 activates the DLNA process 56 to monitor its operation state.
Therefore, the operation of the DLNA process 56 does not directly affect the operation of the DBS application process 52, and the operation of the DBS application process 52 can be stabilized.

また、監視プロセス54は、DLNAプロセス56の動作を監視して、状態保存部68に記憶されたDLNAプロセス56等の動作状態を示す状態遷移データを更新する。DBSアプリケーションプロセス52のIFアプリケーション部66は、上記状態遷移データに基づいて、DLNAプロセス56が正常終了した場合と異常終了した場合とで同じシーケンスで共通リソース部34の設定内容を更新する。当該更新により、共通リソース部34の設定内容がテレビアプリケーション処理部62の処理に適合した内容に更新される。   The monitoring process 54 monitors the operation of the DLNA process 56 and updates state transition data indicating the operation state of the DLNA process 56 and the like stored in the state storage unit 68. Based on the state transition data, the IF application unit 66 of the DBS application process 52 updates the setting content of the common resource unit 34 in the same sequence when the DLNA process 56 ends normally and when it ends abnormally. By the update, the setting content of the common resource unit 34 is updated to the content adapted to the processing of the television application processing unit 62.

また、テレビ受像機1では、システム機能によるassert処理をDLNAプロセス56に行わせることで、共通リソース部34にデットロック等が生じた場合にプロセスを自動終了させてプロセス終了通知を監視プロセス54に出力する。また、IFアプリケーション部66が、正常時においてもDLNAプロセス56をシステムコールにより強制終了する。そのため、従来のようにDLNAプロセスの応答時間の相違による処理時間の長期化を回避できる。   Further, in the television receiver 1, by causing the DLNA process 56 to perform an assert process based on the system function, the process is automatically terminated when a deadlock or the like occurs in the common resource unit 34, and a process end notification is sent to the monitoring process 54. Output. Further, the IF application unit 66 forcibly terminates the DLNA process 56 by a system call even when it is normal. Therefore, it is possible to avoid an increase in processing time due to a difference in response time of the DLNA process as in the prior art.

[フロントエンド回路30]
フロントエンド回路30は、アンテナ10で受信したデジタル放送信号にフロントエンド処理を施す。
当該デジタル放送信号は、映像データ、音声データに加えて、番組情報等の付加データを多重化した信号であり、例えば、地上デジタルテレビ放送に利用されるMPEG2のTS(Transport Stream)により実現される信号である。
フロントエンド回路30は、受信した放送波に復調等の処理を行ないTSを生成する。
そして、フロントエンド回路30は、当該TSを、オーディオストリーム(AS)、ビデオストリーム(VS)、番組情報等を含むセクションデータ(S)に分離してメイン処理回路32に出力する。
[Front-end circuit 30]
The front end circuit 30 performs front end processing on the digital broadcast signal received by the antenna 10.
The digital broadcast signal is a signal obtained by multiplexing additional data such as program information in addition to video data and audio data, and is realized by, for example, MPEG2 TS (Transport Stream) used for digital terrestrial television broadcasting. Signal.
The front end circuit 30 performs processing such as demodulation on the received broadcast wave to generate a TS.
Then, the front end circuit 30 separates the TS into section data (S) including an audio stream (AS), a video stream (VS), program information, and the like, and outputs the section data (S) to the main processing circuit 32.

以下、テレビ受像機1の構成要素について詳細に説明する。
[メイン処理回路32]
図1に示すように、メイン処理回路32は、例えば、DBSアプリケーションプロセス52、監視プロセス54、DLNAプロセス56、コマンドA通信部70、コマンドB通信部72、システム通信部74をプロセスとして適宜起動する。
メイン処理回路32の上記プロセスは、例えば、メイン処理回路32がプログラムを実行することで実現される。
Hereinafter, the components of the television receiver 1 will be described in detail.
[Main processing circuit 32]
As shown in FIG. 1, the main processing circuit 32 appropriately starts, for example, the DBS application process 52, the monitoring process 54, the DLNA process 56, the command A communication unit 70, the command B communication unit 72, and the system communication unit 74 as processes. .
The above process of the main processing circuit 32 is realized, for example, when the main processing circuit 32 executes a program.

図1に示す各プロセスは、LINUX等のオペレーティング・システム上で動作する。
図1において、コマンドB通信部72およびシステム通信部74の各々は、オペレーティング・システム依存のシステムコールによる通信を行う。
また、相互実行通信部64およびコマンドA通信部70の各々は、通信先を呼び出し、相手側からの発信を求めるcall back方式の通信を行う。
Each process shown in FIG. 1 operates on an operating system such as LINUX.
In FIG. 1, each of the command B communication unit 72 and the system communication unit 74 performs communication by an operating system-dependent system call.
Further, each of the mutual execution communication unit 64 and the command A communication unit 70 performs a call back communication for calling a communication destination and requesting a call from the other party.

DBSアプリケーションプロセス52は、テレビ放送用受信ビットストリームの再生機能を有するプロセスである。
DBSアプリケーションプロセス52は、テレビアプリケーション処理部62、相互実行通信部64、IFアプリケーション部66および状態保存部68を有する。
テレビアプリケーション処理部62は、例えば、フロントエンド回路30から入力したストリームを共通リソース部34に出力してデコードさせてディスプレイ等に出力する機能を有する。
The DBS application process 52 is a process having a playback function of a reception bit stream for television broadcasting.
The DBS application process 52 includes a television application processing unit 62, a mutual execution communication unit 64, an IF application unit 66, and a state storage unit 68.
The television application processing unit 62 has a function of, for example, outputting a stream input from the front end circuit 30 to the common resource unit 34, decoding it, and outputting it to a display or the like.

相互実行通信部64は、テレビアプリケーション処理部62とIFアプリケーション部66との間で関数呼び出しを行う機能を有する。
IFアプリケーション部66は、テレビアプリケーション処理部62からの要求に応じてシステム通信部74を介してDLNAプロセス56を起動/終了する。
また、IFアプリケーション部66は、状態保存部68が記憶された状態遷移データを更新する。
また、IFアプリケーション部66は、テレビアプリケーション処理部62からの停止要求に応じて、システムコールにより、DLNAプロセス56を強制終了する。
また、IFアプリケーション部66は、DLNAプロセス56からテレビアプリケーション処理部62にプロセスを変更する際に、共通リソース部34の設定内容をDBSアプリケーションプロセス52に適合するように変更する。
IFアプリケーション部66の動作例については後に詳細に説明する。
The mutual execution communication unit 64 has a function of calling a function between the television application processing unit 62 and the IF application unit 66.
The IF application unit 66 starts / ends the DLNA process 56 via the system communication unit 74 in response to a request from the television application processing unit 62.
The IF application unit 66 updates the state transition data stored in the state storage unit 68.
The IF application unit 66 forcibly terminates the DLNA process 56 by a system call in response to a stop request from the television application processing unit 62.
Further, when changing the process from the DLNA process 56 to the television application processing unit 62, the IF application unit 66 changes the setting contents of the common resource unit 34 so as to conform to the DBS application process 52.
An example of the operation of the IF application unit 66 will be described later in detail.

状態保存部68は、状態遷移データを記憶し、IFアプリケーション部66および監視プロセス54から上記状態遷移データが更新(設定)および参照される。
状態遷移データは、現在の設定状態に応じて次の状態遷移が決定されるステートマシン情報である。
なお、状態保存部68の記憶機能自体は、例えば、メイン処理回路32内のメモリで実現される。
また、状態保存部68への参照および更新のアクセス処理は、複数のプロセス、スレッド間における排他アクセスを行うような制御機能を有しており、本実施形態では、Mutex(Mutal Exclusion:相互排他ロック)取得によるアクセス方法を使用しているが、排他的なアクセスを実現できる方法ならば特に限定されない。
The state storage unit 68 stores state transition data, and the state transition data is updated (set) and referenced from the IF application unit 66 and the monitoring process 54.
The state transition data is state machine information in which the next state transition is determined according to the current set state.
Note that the storage function itself of the state storage unit 68 is realized by a memory in the main processing circuit 32, for example.
The access processing for reference and update to the state storage unit 68 has a control function for performing exclusive access between a plurality of processes and threads. In this embodiment, Mutex (Mutal Exclusion: Mutual Exclusion Lock) ) Although the access method by acquisition is used, it is not particularly limited as long as exclusive access can be realized.

図2は、状態保存部68が記憶する状態遷移データが示す状態を説明するための図である。
状態遷移データは、後述するように、監視プロセス54およびIFアプリケーション部66によって、それまでの状態およびDLNAプロセス56等からの通知に基づいて構成される。
FIG. 2 is a diagram for explaining the state indicated by the state transition data stored in the state storage unit 68.
As will be described later, the state transition data is configured by the monitoring process 54 and the IF application unit 66 based on the previous state and the notification from the DLNA process 56 and the like.

図2に示すように、状態遷移が示す状態には、例えば、「CTC_DLNA_INIT」,「CTC_CTC_START」,「CTC_DLNA_START」,「CTC_CTC_STOP」,「CTC_DLNA_STOP」,「CTC_DLNA_ERROR」の6つがある。   As shown in FIG. 2, there are six states indicated by the state transition, for example, “CTC_DLNA_INIT”, “CTC_CTC_START”, “CTC_DLNA_START”, “CTC_CTC_STOP”, “CTC_DLNA_STOP”, and “CTC_DLNA_ERROR”.

状態「CTC_DLNA_INIT」は、初期状態を示している。IFアプリケーション部66が、テレビアプリケーション処理部62からDLNAプロセス56の起動開始要求を受け付ける前および直後は、状態「CTC_DLNA_INIT」になっている。
また、状態「CTC_DLNA_STOP」において、テレビアプリケーション処理部62のテレビ機能への復帰のために共通リソース部34のHW(ハードウェア)設定が終了した場合に状態「CTC_DLNA_INIT」に切り換えられる。
The state “CTC_DLNA_INIT” indicates an initial state. The IF application unit 66 is in the state “CTC_DLNA_INIT” before and immediately after receiving the activation start request for the DLNA process 56 from the television application processing unit 62.
Further, in the state “CTC_DLNA_STOP”, when the HW (hardware) setting of the common resource unit 34 is completed in order to return the television application processing unit 62 to the television function, the state is switched to the state “CTC_DLNA_INIT”.

状態「CTC_CTC_START」は、状態「CTC_DLNA_INIT」において、DLNAプロセス56の起動開始要求をIFアプリケーション部66が受け付けて、テレビアプリケーション処理部62の処理の終了等の一連の処理を経た後の状態を示す。状態「CTC_CTC_START」は、DLNAプロセス56の起動受付完了を示す。   The state “CTC_CTC_START” indicates a state after the IF application unit 66 receives a request to start the DLNA process 56 in the state “CTC_DLNA_INIT” and undergoes a series of processes such as the end of the process of the television application processing unit 62. The state “CTC_CTC_START” indicates completion of activation acceptance of the DLNA process 56.

状態「CTC_DLNA_START」は、状態「CTC_CTC_START」において、監視プロセス54がDLNAプロセス56を起動した後に切り換えられる状態である。
状態「CTC_CTC_STOP」は、状態「CTC_DLNA_START」においてIFアプリケーション部66がDLNAプロセス56の停止要求を受けた場合に切り換えられる状態である。
The state “CTC_DLNA_START” is a state that is switched after the monitoring process 54 starts the DLNA process 56 in the state “CTC_CTC_START”.
The state “CTC_CTC_STOP” is a state that is switched when the IF application unit 66 receives a DLNA process 56 stop request in the state “CTC_DLNA_START”.

状態「CTC_DLNA_STOP」は、状態「CTC_CTC_STOP」において監視プロセス54がDLNAプロセス56からプロセス終了通知を受けた場合に切り換えられる状態である。
状態「CTC_DLNA_ERROR」は、状態「CTC_CTC_START」においてDLNAプロセス56の起動に失敗した場合、状態「CTC_DLNA_START」においてDLNAプロセス56が終了した場合、状態「CTC_CTC_STOP」においてDLNAプロセス56の終了以外の状態になった場合等に切り換えられる状態である。
The state “CTC_DLNA_STOP” is a state that is switched when the monitoring process 54 receives a process end notification from the DLNA process 56 in the state “CTC_CTC_STOP”.
The state “CTC_DLNA_ERROR” has entered a state other than the termination of the DLNA process 56 in the state “CTC_CTC_STOP” when the DLNA process 56 has failed in the state “CTC_DLNA_START” when the DLNA process 56 has failed to start in the state “CTC_CTC_START”. It is a state that can be switched to the case.

監視プロセス54は、例えば、テレビアプリケーション処理部62の起動と同時に起動されてもよいし、テレビアプリケーション処理部62の起動後にテレビアプリケーション処理部62によって起動されてもよい。
監視プロセス54は、テレビアプリケーション処理部62からの開始要求に応じてDLNAプロセス56を起動する。
監視プロセス54は、DLNAプロセス56の動作を監視して、状態保存部68に記憶されたDLNAプロセス56等の動作状態を示す状態遷移データを更新する。
監視プロセス54は、DLNAプロセス56からのプロセス終了通知と、状態遷移データが示す状態とに基づいて、DLNAプロセス56が正常終了および異常終了のいずれで終了したかを判断し、それに基づいて状態遷移データを更新する。
監視プロセス54の動作例については後に詳細に説明する。
For example, the monitoring process 54 may be activated simultaneously with the activation of the television application processing unit 62, or may be activated by the television application processing unit 62 after the activation of the television application processing unit 62.
The monitoring process 54 activates the DLNA process 56 in response to a start request from the television application processing unit 62.
The monitoring process 54 monitors the operation of the DLNA process 56 and updates state transition data indicating the operation state of the DLNA process 56 and the like stored in the state storage unit 68.
Based on the process end notification from the DLNA process 56 and the state indicated by the state transition data, the monitoring process 54 determines whether the DLNA process 56 has ended normally or abnormally, and based on this, the state transition Update the data.
An example of the operation of the monitoring process 54 will be described later in detail.

DLNAプロセス56は、ネットワークからのストリーミングビットデータの再生機能を有するストリーミング再生アプリケーションプロセスである。
コマンドA通信部70は、IFアプリケーション部66と監視プロセス54との間のコマンド通信を行う。
コマンドB通信部72は、監視プロセス54とDLNAプロセス56との間のコマンド通信を行う。
システム通信部74は、IFアプリケーション部66からDLNAプロセス56への通信で、LINUX上のシステム関数呼び出しを行う。
The DLNA process 56 is a streaming reproduction application process having a function of reproducing streaming bit data from the network.
The command A communication unit 70 performs command communication between the IF application unit 66 and the monitoring process 54.
The command B communication unit 72 performs command communication between the monitoring process 54 and the DLNA process 56.
The system communication unit 74 performs a system function call on LINUX by communication from the IF application unit 66 to the DLNA process 56.

DLNAプロセス56は、例えば、監視プロセス54によって起動され、テレビ受像機1に対してホームネットワーク等を介して接続されているサーバ40から受信したコンテンツを、共通リソース部34の機能を用いてデコードしてストリーム再生等するプロセスである。
DLNAプロセス56は、システム機能によるassert処理を行い、デットロック等が生じた場合にプロセスを自動終了させてプロセス終了通知を監視プロセス54に出力する。
サーバ40は、デジタル・コンテンツの保存や配信といった機能を備えたDMS(Digital Media Server)であり、テレビ受像機1が当該コンテンツの再生を行うDMS(Digital Media Player)となる。
ホームネットワークは、有線LANや無線LAN、IPv4、UPnP(universal
plug and play)などのネットワークである。
サーバ40としては、パソコンやセットトップ・ボックス、デジタル・カメラやビデオ・カメラ、多機能な携帯電話機などがある。
For example, the DLNA process 56 is activated by the monitoring process 54 and decodes the content received from the server 40 connected to the television receiver 1 via the home network or the like using the function of the common resource unit 34. And stream playback.
The DLNA process 56 performs an assert process by the system function, and automatically terminates the process and outputs a process end notification to the monitoring process 54 when a deadlock or the like occurs.
The server 40 is a DMS (Digital Media Server) having functions such as storage and distribution of digital content, and is a DMS (Digital Media Player) in which the television receiver 1 reproduces the content.
Home network is wired LAN, wireless LAN, IPv4, UPnP (universal
plug and play).
Examples of the server 40 include a personal computer, a set top box, a digital camera, a video camera, and a multifunctional mobile phone.

[共通リソース部34]
共通リソース部34は、フロントエンド回路30から入力したテレビ放送用受信ビットストリームのデコード処理を行うデコーダ機能及び、画像表示処理を行う表示部のハードウェア機能を有する。デコーダ機能の設定としては、例えば、MPEG-2 AAC(Advanced Audio Coding)等の処理の設定がある。MPEG−4,H264.AVC等の処理の設定がある。
共通リソース部34は、DBSアプリケーションプロセス52およびDLNAプロセス56から、排他的に使用される。
共通リソース部34は、テレビ放送用受信ビットストリーム再生時と、ネットワークからのストリーミングビットデータ再生時とで異なる設定がなされる。
共通リソース部34自身は、内部エラーが発生した場合のセルフリセット機能は備えていない。
[Common Resource Unit 34]
The common resource unit 34 has a decoder function for performing decoding processing of a reception bit stream for television broadcasting input from the front end circuit 30 and a hardware function of a display unit for performing image display processing. The decoder function setting includes, for example, setting of processing such as MPEG-2 AAC (Advanced Audio Coding). MPEG-4, H264. There is a setting for processing such as AVC.
The common resource unit 34 is exclusively used from the DBS application process 52 and the DLNA process 56.
The common resource unit 34 is set differently for reproduction of a reception bit stream for television broadcasting and reproduction of streaming bit data from the network.
The common resource unit 34 itself does not have a self-reset function when an internal error occurs.

テレビ受像機1では、共通リソース部34が、DLNAプロセス56の終了状態によっては、更なる設定が必要であり、その判定も必要となる。
そこで、テレビ受像機1は、DLNAプロセス56の起動に至る経過状態を示す状態遷移データを状態保存部68に記憶(設定)する。
テレビ受像機1では、DLNAプロセス56が終了した際に、状態保存部68に記憶された状態遷移データを基に状態判定を行い、テレビ機能へ復帰する再設定方法を分岐処理させている。
本実施形態では、DLNAプロセス56の起動時においては、ストリーミングビットデータ再生用のハードウェア設定を行い、その際に発生した異常終了検出を行い、DLNAプロセス56の未起動時の終了処理を行う。
また、本実施形態では、ストリーミング再生アプリケーションの終了を行う際には、正常終了と異常終了検出のどちらの場合でも、前記テレビ放送用受信ビットストリーム再生設定を、全く同じシーケンスで行い、テレビアプリケーション処理部62によるテレビ機能プロセスへの復帰に対して影響しない。
In the television receiver 1, the common resource unit 34 needs to be further set depending on the end state of the DLNA process 56, and also needs to be determined.
Therefore, the television receiver 1 stores (sets) in the state storage unit 68 state transition data indicating a progress state until the DLNA process 56 is activated.
In the television receiver 1, when the DLNA process 56 ends, the state determination is performed based on the state transition data stored in the state storage unit 68, and a resetting method for returning to the television function is branched.
In this embodiment, when the DLNA process 56 is activated, hardware settings for streaming bit data reproduction are set, abnormal termination that occurs at that time is detected, and termination processing when the DLNA process 56 is not activated is performed.
In this embodiment, when the streaming playback application is terminated, the television broadcast reception bitstream playback setting is performed in exactly the same sequence in both cases of normal termination and abnormal termination detection. It does not affect the return to the television function process by the unit 62.

以下、図1に示すIFアプリケーション部66の動作例を説明する。
図4は、図1に示すIFアプリケーション部66の動作例を説明するためのフローチャートである。
IFアプリケーション部66は、メイン処理回路32のUI(User
Interface)入力と、DLNAプロセス56の終了メッセージ入力との双方に共通に規定したテレビアプリケーション機能要求の受付処理を行う(ステップST11)。ここで、UI入力は、例えば、図示しない操作部のユーザによる操作入力である。
次に、IFアプリケーション部66は、UI入力受付であると判断するとステップST13に進み、そうでない場合にはステップST22に進む。
Hereinafter, an operation example of the IF application unit 66 illustrated in FIG. 1 will be described.
FIG. 4 is a flowchart for explaining an operation example of the IF application unit 66 shown in FIG.
The IF application unit 66 is a UI (User
(Interface) input and an end message input of the DLNA process 56, a reception process of a television application function request defined in common is performed (step ST11). Here, the UI input is, for example, an operation input by a user of an operation unit (not shown).
Next, if the IF application unit 66 determines that the UI input is accepted, the process proceeds to step ST13. If not, the process proceeds to step ST22.

IFアプリケーション部66は、UI入力受付待ちを行い(ステップST13)、UI入力を受けるとステップST14に進む。
IFアプリケーション部66は、受付したUI入力の種別を判定し(ステップST14)、DLNAプロセス56の開始要求であれば、開始受付を行う(ステップST15)。
IFアプリケーション部66は、開始受付可能であると判断すると(ステップST16)、状態保存部68に記憶する状態遷移データを状態「CTC_CTC_START」に更新する(ステップST17)。
The IF application unit 66 waits for UI input acceptance (step ST13), and upon receiving the UI input, proceeds to step ST14.
The IF application unit 66 determines the type of UI input received (step ST14). If the request is a start request for the DLNA process 56, the IF application unit 66 receives the start (step ST15).
If the IF application unit 66 determines that the start can be accepted (step ST16), it updates the state transition data stored in the state storage unit 68 to the state “CTC_CTC_START” (step ST17).

IFアプリケーション部66は、受付したUI入力の種別を判定し(ステップST14)、DLNAプロセス56の終了要求であれば、終了受付を行う(ステップST18)。
IFアプリケーション部66は、終了受付可能であると判断すると(ステップST19)、状態保存部68に記憶する状態遷移データを状態「CTC_CTC_STOP」に更新する(ステップST20)。
IFアプリケーション部66は、プロセス停止コマンド(システムコールkill)でDLNAプロセス56のプロセスを終了させる(ステップST21)。
The IF application unit 66 determines the type of UI input received (step ST14). If the request is an end request of the DLNA process 56, the IF application unit 66 accepts the end (step ST18).
If the IF application unit 66 determines that the end can be accepted (step ST19), it updates the state transition data stored in the state storage unit 68 to the state “CTC_CTC_STOP” (step ST20).
The IF application unit 66 terminates the process of the DLNA process 56 with a process stop command (system call kill) (step ST21).

IFアプリケーション部66は、メッセージ受付であると判断すると(ステップST22)、終了メッセージ待ち状態になる(ステップST23)。
IFアプリケーション部66は、受け付けたメッセージの種別を判断し(ステップST24)、異常を示す場合に、エラー表示処理を行う(ステップST25)。
一方、IFアプリケーション部66は、メッセージが正常を示す場合に、共通リソース部34のHW設定を、テレビアプリケーション処理部62に適合した設定に切り換える(ステップST26)。
If the IF application unit 66 determines that the message is accepted (step ST22), the IF application unit 66 waits for an end message (step ST23).
The IF application unit 66 determines the type of received message (step ST24), and performs an error display process when an abnormality is indicated (step ST25).
On the other hand, if the message indicates normality, the IF application unit 66 switches the HW setting of the common resource unit 34 to a setting suitable for the television application processing unit 62 (step ST26).

次に、IFアプリケーション部66は、状態保存部68に記憶する状態遷移データを状態「CTC_DLNA_INIT」に更新する(ステップST27)。
そして、IFアプリケーション部66は、共通リソース部34を利用したテレビ機能にテレビアプリケーション処理部62を復帰させる(ステップST28)。
Next, the IF application unit 66 updates the state transition data stored in the state storage unit 68 to the state “CTC_DLNA_INIT” (step ST27).
Then, the IF application unit 66 returns the television application processing unit 62 to the television function using the common resource unit 34 (step ST28).

以下、図1に示す監視プロセス54の動作例を説明する。
図5は、図1に示す監視プロセス54の動作例を説明するためのフローチャートである。
監視プロセス54は、例えば、テレビアプリケーション処理部62からDLNAプロセス56の起動要求を受けて、DLNAプロセス56を起動可能な状態になったか否かを判断する(ステップST41)。
監視プロセス54は、起動可能な状態であると判断すると、DLNAプロセス56を起動する(ステップST42)。当該起動は、例えば、IFアプリケーション部66が、状態保存部68の状態遷移データを状態「CTC_CTC_START」に更新し、それを監視プロセス54が検出して実行される。
Hereinafter, an operation example of the monitoring process 54 shown in FIG. 1 will be described.
FIG. 5 is a flowchart for explaining an operation example of the monitoring process 54 shown in FIG.
For example, the monitoring process 54 receives a request for starting the DLNA process 56 from the television application processing unit 62, and determines whether or not the DLNA process 56 is ready to be started (step ST41).
When determining that the monitoring process 54 is in a startable state, the monitoring process 54 starts the DLNA process 56 (step ST42). For example, the IF application unit 66 updates the state transition data of the state storage unit 68 to the state “CTC_CTC_START”, which is detected and executed by the monitoring process 54.

監視プロセス54は、DLNAプロセス56の終了待ち状態となる(ステップST43)。監視プロセス54は、DLNAプロセス56からのシステムコールによる終了通知を基に、DLNAプロセス56のプロセス終了を検出する。
監視プロセス54は、DLNAプロセス56が正常終了したと判断すると(ステップST44)、正常終了処理を行う(ステップST45)。監視プロセス54は、正常終了処理において、状態遷移データを状態「CTC_DLNA_STOP」に更新する。
監視プロセス54は、DLNAプロセス56が異常終了したと判断すると(ステップST46)、正常終了処理を行う(ステップST47)。監視プロセス54は、異常終了処理において、状態遷移データを状態「CTC_DLNA_ERROR」に更新する。
The monitoring process 54 waits for the DLNA process 56 to end (step ST43). The monitoring process 54 detects the process end of the DLNA process 56 based on the end notification by the system call from the DLNA process 56.
When the monitoring process 54 determines that the DLNA process 56 has ended normally (step ST44), it performs normal end processing (step ST45). The monitoring process 54 updates the state transition data to the state “CTC_DLNA_STOP” in the normal termination process.
When the monitoring process 54 determines that the DLNA process 56 has terminated abnormally (step ST46), it performs normal termination processing (step ST47). The monitoring process 54 updates the state transition data to the state “CTC_DLNA_ERROR” in the abnormal termination process.

以下、図1に示すテレビ受像機1の全体動作例を説明する。
[DLNAプロセス56の正常起動時の動作例]
以下、テレビアプリケーション処理部62が開始要求を受けてから、DLNAプロセス56を正常に起動するまでの動作例を説明する。
図6は、当該動作例を説明するための処理フロー図である。
Hereinafter, an example of the overall operation of the television receiver 1 shown in FIG. 1 will be described.
[Example of operation when DLNA process 56 starts normally]
Hereinafter, an operation example from when the television application processing unit 62 receives the start request to when the DLNA process 56 is normally started will be described.
FIG. 6 is a processing flowchart for explaining the operation example.

例えば、図示しない操作部からテレビ受像機1にDLNAプロセス56の開始指示が入力されると、テレビアプリケーション処理部62がDLNAプロセス開始要求をIFアプリケーション部66に出力する(ステップST101)。
このとき、状態保存部68が記憶する状態遷移データは、初期状態である「CTC_DLNA_INIT」を示している。
For example, when an instruction to start the DLNA process 56 is input from the operation unit (not shown) to the television receiver 1, the TV application processing unit 62 outputs a DLNA process start request to the IF application unit 66 (step ST101).
At this time, the state transition data stored in the state storage unit 68 indicates “CTC_DLNA_INIT” which is an initial state.

IFアプリケーション部66は、テレビアプリケーション処理部62からDLNAプロセス開始要求を受けると、例えば、テレビ受像機1がIPアドレスを既に取得しているか否かを示す問合せ要求をテレビアプリケーション処理部62に出力する(ステップST102)。
IFアプリケーション部66は、正常動作時には、既にIPアドレスを取得しているため、IPアドレスを取得していることを示す正常応答をIFアプリケーション部66に出力する(ステップST103)。
IFアプリケーション部66は、テレビアプリケーション処理部62が共通リソース部34の機能を用いてデコード処理をすることを停止することを示すAVデコード停止要求をテレビアプリケーション処理部62に出力する(ステップST104)。
テレビアプリケーション処理部62は、共通リソース部34を用いたデコード処理を終了し、終了したことを示す正常応答IFアプリケーション部66に出力する(ステップST105)。
When receiving the DLNA process start request from the television application processing unit 62, the IF application unit 66 outputs, for example, an inquiry request indicating whether the television receiver 1 has already acquired an IP address to the television application processing unit 62. (Step ST102).
Since the IF application unit 66 has already acquired the IP address during normal operation, the IF application unit 66 outputs a normal response indicating that the IP address has been acquired to the IF application unit 66 (step ST103).
The IF application unit 66 outputs an AV decoding stop request indicating that the TV application processing unit 62 stops decoding using the function of the common resource unit 34 to the TV application processing unit 62 (step ST104).
The TV application processing unit 62 ends the decoding process using the common resource unit 34, and outputs it to the normal response IF application unit 66 indicating the end (step ST105).

IFアプリケーション部66は、状態保存部68が示す状態遷移データを、初期状態を示す「CTC_DLNA_INIT」から、DLNAプロセス56の起動受付完了を示す「CTC_CTC_START」に遷移させる(ステップST106)。   The IF application unit 66 causes the state transition data indicated by the state storage unit 68 to transition from “CTC_DLNA_INIT” indicating the initial state to “CTC_CTC_START” indicating completion of activation acceptance of the DLNA process 56 (step ST106).

一方、監視プロセス54は、状態遷移データがDLNAプロセス56の起動受付が完了したことを示す「CTC_CTC_START」に遷移することを待っている状態にあり(ステップST107)、上記ステップST106で状態遷移データが「CTC_CTC_START」に遷移したことを検出すると、DLNAプロセス56を起動する(ステップST108)。
このとき、監視プロセス54は、コマンドB通信部72により、システムコール「fork」を用いて、DLNAプロセス56を起動する。
On the other hand, the monitoring process 54 is in a state of waiting for the state transition data to transition to “CTC_CTC_START” indicating that the start of acceptance of the DLNA process 56 has been completed (step ST107). When the transition to “CTC_CTC_START” is detected, the DLNA process 56 is activated (step ST108).
At this time, the monitoring process 54 activates the DLNA process 56 using the system call “fork” by the command B communication unit 72.

DLNAプロセス56は、起動されると、先ず、共通リソース部34の設定をDLNAプロセス56に適合したものに変更する。そして、DLNAプロセス56は、例えば、サーバ40から受信したコンテンツデータを、共通リソース部34でデコードしながらストリーム再生する(ステップST109)。
DLNAプロセス56は、起動が完了すると、コマンドB通信部72を用いたシステムコールにより、起動完了メッセージを監視プロセス54に出力する(ステップST110)。
When the DLNA process 56 is activated, first, the setting of the common resource unit 34 is changed to one adapted to the DLNA process 56. Then, for example, the DLNA process 56 plays the stream while decoding the content data received from the server 40 by the common resource unit 34 (step ST109).
When the activation is completed, the DLNA process 56 outputs an activation completion message to the monitoring process 54 by a system call using the command B communication unit 72 (step ST110).

一方、監視プロセス54は、上記ステップST108の後に、DLNAプロセス56の起動完了待ち状態になり(ステップST111)、上記ステップST110でDLNAプロセス56から起動完了メッセージを入力すると、状態遷移データが示す状態を「CTC_CTC_START」から、DLNAプロセス56の起動済みを示す「CTC_DLNA_START」に遷移させる(ステップST112)。
これにより、DLNAプロセス56の起動に関する一連の処理が完了する。
On the other hand, after step ST108, the monitoring process 54 waits for the completion of activation of the DLNA process 56 (step ST111). When the activation completion message is input from the DLNA process 56 in step ST110, the state indicated by the state transition data is displayed. A transition is made from “CTC_CTC_START” to “CTC_DLNA_START” indicating that the DLNA process 56 has been started (step ST112).
Thereby, a series of processes related to the activation of the DLNA process 56 is completed.

[DLNAプロセス56の異常起動時の動作例]
以下、テレビアプリケーション処理部62が開始要求を受けてから、DLNAプロセス56の起動が異常になった場合の動作例を説明する。
図7は、当該動作例を説明するための処理フロー図である。
[Example of operation when DLNA process 56 starts abnormally]
Hereinafter, an operation example in the case where the start of the DLNA process 56 becomes abnormal after the television application processing unit 62 receives the start request will be described.
FIG. 7 is a processing flowchart for explaining the operation example.

例えば、図示しない操作部からテレビ受像機1にDLNAプロセス56の開始指示が入力されると、テレビアプリケーション処理部62がDLNAプロセスの開始要求をIFアプリケーション部66に出力する(ステップST201)。
このとき、状態保存部68が記憶する状態遷移データは、初期状態である「CTC_DLNA_INIT」を示している。
For example, when an instruction to start the DLNA process 56 is input from the operation unit (not shown) to the television receiver 1, the TV application processing unit 62 outputs a DLNA process start request to the IF application unit 66 (step ST201).
At this time, the state transition data stored in the state storage unit 68 indicates “CTC_DLNA_INIT” which is an initial state.

IFアプリケーション部66は、テレビアプリケーション処理部62が共通リソース部34の機能を用いてデコード処理をすることを停止することを示すAVデコード停止要求をテレビアプリケーション処理部62に出力する(ステップST202)。
テレビアプリケーション処理部62は、共通リソース部34を用いたデコード処理や画面制御処理を終了してDLNAプロセス56に制御を引き渡すための処理を行い、制御引き渡し不可と判断すると、エラー応答をIFアプリケーション部66に出力する(ステップST203)。
なお、IFアプリケーション部66が、例えば、テレビ受像機1がIPアドレスを既に取得しているか否かを問合せ要求をテレビアプリケーション処理部62に出力し、テレビアプリケーション処理部62がIPアドレスを取得していない場合に、上記エラー応答をIFアプリケーション部66に出力してもよい。
The IF application unit 66 outputs an AV decoding stop request indicating that the TV application processing unit 62 stops decoding using the function of the common resource unit 34 to the TV application processing unit 62 (step ST202).
When the TV application processing unit 62 finishes the decoding processing and screen control processing using the common resource unit 34 and passes control to the DLNA process 56, and determines that control transfer is impossible, the TV application processing unit 62 sends an error response to the IF application unit. 66 (step ST203).
The IF application unit 66 outputs, for example, an inquiry request to the TV application processing unit 62 as to whether or not the TV receiver 1 has already acquired an IP address, and the TV application processing unit 62 has acquired the IP address. If not, the error response may be output to the IF application unit 66.

IFアプリケーション部66は、状態保存部68が示す状態遷移データを、初期状態を示す「CTC_DLNA_INIT」から、DLNAプロセス56の起動が異常であった(失敗した)ことを示す「CTC_DLNA_ERROR」に遷移させる(ステップST204)。   The IF application unit 66 causes the state transition data indicated by the state storage unit 68 to transition from “CTC_DLNA_INIT” indicating the initial state to “CTC_DLNA_ERROR” indicating that the DLNA process 56 has started abnormally (failed) ( Step ST204).

一方、監視プロセス54は、状態遷移データがDLNAプロセス56の起動受付が完了したことを示す「CTC_CTC_START」に遷移することを待っている状態であるが(ステップST205)、当該遷移は行われないため、DLNAプロセス56の起動は行われない。   On the other hand, the monitoring process 54 is in a state of waiting for the state transition data to transition to “CTC_CTC_START” indicating that the start of acceptance of the DLNA process 56 has been completed (step ST205), but the transition is not performed. The DLNA process 56 is not activated.

監視プロセス54は、ステップST204に続いて、終了条件待ち状態になる(ステップST206)。すなわち、監視プロセス54は、状態遷移データが、DLNAプロセス56の起動失敗を示す「CTC_DLNA_ERROR」、あるいはDLNAプロセス56の正常終了を示す「CTC_DLNA_STOP」の何れかに遷移した場合に、終了条件を満たしたと判断して、ステップST207に進む。
当該動作例では、状態遷移データが起動失敗を示す「CTC_DLNA_ERROR」に遷移し、監視プロセス54は異常終了であると判断して(ステップST207)、ユーザへの異常通知として第1エラー表示通知要求をテレビアプリケーション処理部62に出力する(ステップST208)。
Following step ST204, the monitoring process 54 waits for an end condition (step ST206). In other words, the monitoring process 54 assumes that the termination condition is satisfied when the state transition data transitions to either “CTC_DLNA_ERROR” indicating failure in starting the DLNA process 56 or “CTC_DLNA_STOP” indicating normal termination of the DLNA process 56. Determination is made and the process proceeds to step ST207.
In this operation example, the state transition data transitions to “CTC_DLNA_ERROR” indicating activation failure, and the monitoring process 54 determines that the process has ended abnormally (step ST207), and issues a first error display notification request as an abnormality notification to the user. It outputs to the television application process part 62 (step ST208).

テレビアプリケーション処理部62は、第1エラー表示通知要求を入力すると、ディスプレイ28にエラー発生通知を表示する処理を行い、表示完了を示す第1表示完了応答をIFアプリケーション部66に出力する(ステップST209)。ここで、特に、図示しないが、ディスプレイ28へのエラー発生通知は、ダイアログ表示のように視覚で通知する方法でも、音声案内のように聴覚へ通知する方法でもかまわない。   When receiving the first error display notification request, television application processing unit 62 performs processing for displaying an error occurrence notification on display 28, and outputs a first display completion response indicating display completion to IF application unit 66 (step ST209). ). Here, although not particularly illustrated, the error occurrence notification to the display 28 may be a visual notification method such as dialog display or a hearing notification method such as voice guidance.

IFアプリケーション部66は、第1表示完了応答を受け付けると、アラーム待ち状態となる(ステップST210)。これは、異常検出表示の消去時間経過を待つものである。
そして、IFアプリケーション部66は、上記消去時間経過後、テレビアプリケーション処理部62から、アラーム通知を受け付けると(ステップST211)、テレビ機能への復帰のため、共用リソース部34の再設定処理(HW再生設定処理)を行う(ステップST214)。
When receiving the first display completion response, IF application unit 66 enters an alarm waiting state (step ST210). This waits for the erasing time of the abnormality detection display to elapse.
Then, when the IF application unit 66 receives an alarm notification from the television application processing unit 62 after the erasure time has elapsed (step ST211), the reconfiguration processing (HW playback) of the shared resource unit 34 is performed to return to the television function. Setting process) is performed (step ST214).

IFアプリケーション部66は、上記HW再設定処理が完了すると、完了通知をテレビアプリケーション処理部62に出力する(ステップST213)。
また、IFアプリケーション部66は、状態遷移データを初期状態を示す「CTC_DLNA_INIT」に更新する(ステップST214)。
テレビアプリケーション処理部62は、上記完了通知を入力すると、共通リソース部34を用いてテレビ機能を実行する。
When the HW resetting process is completed, IF application unit 66 outputs a completion notification to television application processing unit 62 (step ST213).
Further, IF application section 66 updates the state transition data to “CTC_DLNA_INIT” indicating the initial state (step ST214).
When the completion notification is input, the television application processing unit 62 executes the television function using the common resource unit 34.

[DLNAプロセス56の正常終了時の動作例]
以下、テレビアプリケーション処理部62が停止要求を受けてから、動作中のDLNAプロセス56が正常終了する場合の動作例を説明する。
図8は、当該動作例を説明するための処理フロー図である。
[Example of operation when DLNA process 56 ends normally]
Hereinafter, an operation example in the case where the operating DLNA process 56 normally ends after the television application processing unit 62 receives the stop request will be described.
FIG. 8 is a processing flowchart for explaining the operation example.

例えば、図示しない操作部からテレビ受像機1にDLNAプロセス56の終了指示が入力されると、テレビアプリケーション処理部62がDLNAプロセス終了要求をIFアプリケーション部66に出力する(ステップST301)。
このとき、状態保存部68が記憶する状態遷移データは、DLNAプロセス56が起動されたことを示す状態「CTC_DLNA_START」を示している。
For example, when an instruction to end the DLNA process 56 is input from the operation unit (not shown) to the television receiver 1, the TV application processing unit 62 outputs a DLNA process end request to the IF application unit 66 (step ST301).
At this time, the state transition data stored in the state storage unit 68 indicates a state “CTC_DLNA_START” indicating that the DLNA process 56 is activated.

IFアプリケーション部66は、状態遷移データを、DLNAプロセス56の停止要求を受けたことを示す状態「CTC_CTC_STOP」に遷移させる(ステップST302)。
IFアプリケーション部66は、DLNAプロセス56を停止する(ステップST303)。このとき、IFアプリケーション部66は、コマンドB通信部72を用いて、システムコール「kill」、すなわちプロセス終了コマンドにより、DLNAプロセス56を停止する。
The IF application unit 66 transitions the state transition data to the state “CTC_CTC_STOP” indicating that the DLNA process 56 stop request has been received (step ST302).
The IF application unit 66 stops the DLNA process 56 (step ST303). At this time, the IF application unit 66 uses the command B communication unit 72 to stop the DLNA process 56 by a system call “kill”, that is, a process end command.

一方、監視プロセス54は、先にプロセス終了待ちとしてシステム関数waitpidにて待ち状態にある(ステップST304)。
ここで、システム関数のプロセス終了コマンドによるDLNAプロセス56の強制終了を行うと、前記システム関数waitpidへ終了通知が返される(ステップST305)。
これにより、監視プロセス54は、状態遷移データを、DLNAプロセス56の停止要求を受けたことを示す状態「CTC_CTC_STOP」から、プロセス終了を示す状態「CTC_DLNA_STOP」に遷移させる(ステップST306)。
On the other hand, the monitoring process 54 is in a wait state with the system function waitpid as a process end wait (step ST304).
Here, if the DLNA process 56 is forcibly terminated by the process termination command of the system function, a termination notification is returned to the system function waitpid (step ST305).
Thereby, the monitoring process 54 changes the state transition data from the state “CTC_CTC_STOP” indicating that the DLNA process 56 has been stopped to the state “CTC_DLNA_STOP” indicating the end of the process (step ST306).

IFアプリケーション部66は、DLNAプロセス56を停止した後、状態遷移データが、プロセス終了を示す状態「CTC_DLNA_STOP」に遷移したという終了条件が満たされたか否かを判断し、満たされたと判断すると(ステップST307)、終了の種別を判断する(ステップST308)。ここで、ステップST307において、更新の最大待ち時間の設定は、オペレーティング・システムのカーネルのスケジューリング応答時間を考慮したタイムアウト時間を設定し、無限ループ解除を行っている。   After stopping the DLNA process 56, the IF application unit 66 determines whether or not the end condition that the state transition data has transitioned to the state “CTC_DLNA_STOP” indicating the end of the process is satisfied. ST307), the type of termination is determined (step ST308). Here, in step ST307, the maximum waiting time for the update is set by setting a timeout time in consideration of the scheduling response time of the kernel of the operating system, and releasing the infinite loop.

そして、IFアプリケーション部66は、正常終了であると判断すると、テレビ機能への復帰のため、共用リソース部34の再設定処理(HW再生設定処理)を行う(ステップST309)。
また、IFアプリケーション部66は、状態遷移データを初期状態を示す「CTC_DLNA_INIT」に更新する(ステップST310)。
テレビアプリケーション処理部62は、上記完了通知を入力すると、共通リソース部34を用いてテレビ機能を実行する。
If the IF application unit 66 determines that the operation is normally completed, it performs a resetting process (HW playback setting process) for the shared resource unit 34 to return to the television function (step ST309).
Further, IF application section 66 updates the state transition data to “CTC_DLNA_INIT” indicating the initial state (step ST310).
When the completion notification is input, the television application processing unit 62 executes the television function using the common resource unit 34.

[DLNAプロセス56の異常終了時の動作例]
以下、DLNAプロセス56が何らかの要因で異常終了した場合の動作例を説明する。
図9は、当該動作例を説明するための処理フロー図である。
[Example of operation when DLNA process 56 ends abnormally]
Hereinafter, an operation example when the DLNA process 56 is abnormally terminated for some reason will be described.
FIG. 9 is a processing flowchart for explaining the operation example.

前提として、図6に示すDLNAプロセス56の起動完了状態において、状態保存部68に記憶された状態遷移データは、DLNAプロセス56の起動状態を示す状態「CTC_DLNA_START」になっている。
一方、監視プロセス54は、先にプロセス終了待ちとしてシステム関数waitpidにて待ち状態にある(ステップST401)。
DLNAプロセス56は、通常ネットワークから受信したストリーミングデータを共通リソース部34に出力して再生を行っている。
ここで、DLNAプロセス56は、当該ストリーミングデータが異常データ等で共通リソース部34にて、応答がロックした際に、一定時間無応答により、プロセスを終了する機能を有するとともに、異常なアクセス発生によるオペレーティング・システムのシステム機能による終了も行う。
As a premise, in the startup completion state of the DLNA process 56 shown in FIG. 6, the state transition data stored in the state storage unit 68 is in a state “CTC_DLNA_START” indicating the startup state of the DLNA process 56.
On the other hand, the monitoring process 54 is in a wait state with the system function waitpid as a process end wait (step ST401).
The DLNA process 56 outputs the streaming data received from the normal network to the common resource unit 34 for reproduction.
Here, when the streaming data is abnormal data or the like and the response is locked in the common resource unit 34, the DLNA process 56 has a function of terminating the process with no response for a certain period of time, and due to an abnormal access occurrence. It is also terminated by the system function of the operating system.

ここでは、共通リソース部34の無応答が発生した場合を考えると、DLNAプロセス56は異常状態発生を検出し(ステップST402)、assertにより条件判断処理を行ってプロセス終了を行う。ここで、assertは、プログラム内の所定箇所に挿入され、その場所で成立しているはずの条件を記述しており、デットロック検出を行うために用いられる。
そして、DLNAプロセス56は、コマンドB通信部72を用いたオペレーティング・システムのシステム機能により、プロセス終了通知を監視プロセス54に出力する(ステップST403)。
Here, considering the case where no response of the common resource unit 34 occurs, the DLNA process 56 detects the occurrence of an abnormal state (step ST402), performs condition determination processing using assert, and ends the process. Here, assert describes a condition that is inserted at a predetermined location in the program and should be satisfied at that location, and is used to detect deadlock.
Then, the DLNA process 56 outputs a process end notification to the monitoring process 54 by the system function of the operating system using the command B communication unit 72 (step ST403).

監視プロセス54は、プロセス終了待ち状態で、DLNAプロセス56からプロセス終了通知を入力すると、DLNAプロセス56の異常を検出する。そして、監視プロセス54は、状態遷移データを、DLNAプロセス56の異常を示す状態「CTC_DLNA_ERROR」に更新する(ST404)。
そして、監視プロセス54は、ユーザへの異常通知として第2エラー表示通知要求をテレビアプリケーション処理部62に出力する(ステップST405)。
The monitoring process 54 detects an abnormality of the DLNA process 56 when a process end notification is input from the DLNA process 56 in a process end waiting state. Then, the monitoring process 54 updates the state transition data to a state “CTC_DLNA_ERROR” indicating an abnormality of the DLNA process 56 (ST404).
Then, the monitoring process 54 outputs a second error display notification request to the television application processing unit 62 as an abnormality notification to the user (step ST405).

テレビアプリケーション処理部62は、第2エラー表示通知要求を入力すると、ディスプレイ28にエラー発生通知を表示する処理を行い、表示完了を示す第2表示完了応答をIFアプリケーション部66に出力する(ステップST406)。ここで、特に、図示しないが、ディスプレイ28へのエラー発生通知は、ダイアログ表示のように視覚で通知する方法でも、音声案内のように聴覚へ通知する方法でもかまわない。   When the second error display notification request is input, the television application processing unit 62 performs processing for displaying an error occurrence notification on the display 28, and outputs a second display completion response indicating display completion to the IF application unit 66 (step ST406). ). Here, although not particularly illustrated, the error occurrence notification to the display 28 may be a visual notification method such as dialog display or a hearing notification method such as voice guidance.

IFアプリケーション部66は、終了条件待ち状態になる(ステップST407)。すなわち、IFアプリケーション部66は、状態遷移データが、DLNAプロセス56の起動失敗を示す「CTC_DLNA_ERROR」、あるいはDLNAプロセス56の正常終了を示す「CTC_DLNA_STOP」の何れかに遷移した場合に、終了条件を満たしたと判断して、ステップST408に進む。
当該動作例では、状態遷移データが起動失敗を示す「CTC_DLNA_ERROR」に遷移し、IFアプリケーション部66は異常終了であると判断して(ステップST408)、アラーム待ち状態となる(ステップST409)。これは、異常検出表示の消去時間経過を待つものである。
そして、IFアプリケーション部66は、上記消去時間経過後、テレビアプリケーション処理部62から、アラーム通知を受け付けると(ステップST410)、テレビ機能への復帰のため、共用リソース部34の再設定処理(HW再生設定処理)を行う(ステップST411)。
The IF application unit 66 enters an end condition wait state (step ST407). In other words, the IF application unit 66 satisfies the termination condition when the state transition data transitions to either “CTC_DLNA_ERROR” indicating failure in starting the DLNA process 56 or “CTC_DLNA_STOP” indicating normal termination of the DLNA process 56. The process proceeds to step ST408.
In this operation example, the state transition data transits to “CTC_DLNA_ERROR” indicating activation failure, and the IF application unit 66 determines that the termination is abnormal (step ST408) and enters an alarm waiting state (step ST409). This waits for the erasing time of the abnormality detection display to elapse.
When the IF application unit 66 receives an alarm notification from the television application processing unit 62 after the erasure time has elapsed (step ST410), the reset processing (HW playback) of the shared resource unit 34 is performed to return to the television function. Setting process) is performed (step ST411).

IFアプリケーション部66は、上記HW再設定処理が完了すると、完了通知をテレビアプリケーション処理部62に出力する(ステップST412)。
また、IFアプリケーション部66は、状態遷移データを初期状態を示す「CTC_DLNA_INIT」に更新する(ステップST413)。
テレビアプリケーション処理部62は、上記完了通知を入力すると、共通リソース部34を用いてテレビ機能を実行する。
When the HW resetting process is completed, IF application unit 66 outputs a completion notification to television application processing unit 62 (step ST412).
Further, IF application section 66 updates the state transition data to “CTC_DLNA_INIT” indicating the initial state (step ST413).
When the completion notification is input, the television application processing unit 62 executes the television function using the common resource unit 34.

以下、テレビ受像機1の効果を説明する。
上述したように、テレビ受像機1では、図示しない操作部からの要求に応じてDBSアプリケーションプロセス52のテレビアプリケーション処理部62が監視プロセス54を起動し、監視プロセス54がDLNAプロセス56を起動してその動作状態を監視する。
そのため、DLNAプロセス56の動作が、DBSアプリケーションプロセス52の動作に直接的に影響せず、DBSアプリケーションプロセス52の動作を安定化できる。
Hereinafter, effects of the television receiver 1 will be described.
As described above, in the television receiver 1, the TV application processing unit 62 of the DBS application process 52 starts the monitoring process 54 and the monitoring process 54 starts the DLNA process 56 in response to a request from an operation unit (not shown). Monitor its operating state.
Therefore, the operation of the DLNA process 56 does not directly affect the operation of the DBS application process 52, and the operation of the DBS application process 52 can be stabilized.

また、図8および図9に示すように、テレビ受像機1では、DBSアプリケーションプロセス52のIFアプリケーション部66は、監視プロセス54等によって更新された上記状態遷移データに基づいて、DLNAプロセス56が正常終了した場合と異常終了した場合とで同じシーケンスで、共通リソース部34の設定内容をテレビアプリケーション処理部62の処理に適合した内容に更新する。そのため、テレビアプリケーション処理部62のプログラムコード数を少なくでき、開発負担を軽減できる。   Also, as shown in FIGS. 8 and 9, in the television receiver 1, the IF application unit 66 of the DBS application process 52 has a normal DLNA process 56 based on the state transition data updated by the monitoring process 54 and the like. The setting content of the common resource unit 34 is updated to the content adapted to the processing of the television application processing unit 62 in the same sequence when the processing ends and when the processing ends abnormally. Therefore, the number of program codes of the television application processing unit 62 can be reduced, and the development burden can be reduced.

また、テレビ受像機1では、DLNAプロセス56に、システム機能によるassert処理を行わせることで、デットロック等が生じた場合にプロセスを自動終了させてプロセス終了通知を監視プロセス54に出力させる。また、IFアプリケーション部66が、正常時においてもDLNAプロセス56をシステムコールにより強制終了させる。そのため、従来のようにDLNAプロセスの応答時間の相違による処理時間の長期化を回避できる。
すなわち、ステートマシン方式によるイベントステート管理と、DLNAプロセス56側のエラー時の終了処理により、プロセス間のメッセージ通信を行わなくとも、リソースのロック状態の監視及び回避が行うことができる。
Further, in the television receiver 1, by causing the DLNA process 56 to perform an assert process by a system function, when a deadlock or the like occurs, the process is automatically terminated and a process completion notification is output to the monitoring process 54. Further, the IF application unit 66 forcibly terminates the DLNA process 56 by a system call even when it is normal. Therefore, it is possible to avoid an increase in processing time due to a difference in response time of the DLNA process as in the prior art.
That is, the resource lock state can be monitored and avoided without performing message communication between processes by event state management by the state machine method and termination processing at the time of error on the DLNA process 56 side.

また、テレビ受像機1では、監視プロセス54は、状態遷移データを基にDLNAプロセス56を起動した後にDLNAプロセス56の監視を開始する。そのため、DLNAプロセス56が動作していないときには監視プロセス54の監視ループ処理を停止でき、メイン処理回路32のリソースを無駄に使用することなく有効利用できる。また、省電力化が図れる。   In the television receiver 1, the monitoring process 54 starts monitoring the DLNA process 56 after starting the DLNA process 56 based on the state transition data. Therefore, when the DLNA process 56 is not operating, the monitoring loop process of the monitoring process 54 can be stopped, and the resources of the main processing circuit 32 can be effectively used without being wasted. In addition, power saving can be achieved.

また、上述したテレビ受像機1では、DLNAプロセス56からのシステムコールによる終了通知と、状態保存部68に記憶された状態遷移データとの組み合わせ等によって規定される図2および図3に示す状態遷移により、IFアプリケーション部66等がDLNAプロセス56の終了状態を判断する。そのため、IFアプリケーション部66は早いタイミングでDLNAプロセス56の終了を検出でき、共通リソース部34の設定変更をDBSアプリケーションプロセス52が自ら適切なタイミングで行うことができる。これにより、DLNAプロセス56からDBSアプリケーションプロセス52への変更を早いタイミングで安定して行うことが可能になる。   In the television receiver 1 described above, the state transitions shown in FIGS. 2 and 3 defined by a combination of the end notification by the system call from the DLNA process 56 and the state transition data stored in the state storage unit 68 are provided. Thus, the IF application unit 66 and the like determine the end state of the DLNA process 56. Therefore, the IF application unit 66 can detect the end of the DLNA process 56 at an early timing, and the DBS application process 52 can change the setting of the common resource unit 34 at an appropriate timing. As a result, the change from the DLNA process 56 to the DBS application process 52 can be stably performed at an early timing.

本発明は上述した実施形態には限定されない。
すなわち、当業者は、本発明の技術的範囲またはその均等の範囲内において、上述した実施形態の構成要素に関し、様々な変更、コンビネーション、サブコンビネーション、並びに代替を行ってもよい。
例えば、上述した実施形態では、本発明の主コンテンツ処理としてDBSアプリケーションプロセス52を例示し、従コンテンツ処理としてDLNAプロセス56を例示したが、これらは例示であり、DBSアプリケーションプロセス52もDLNAプロセスであってもよい。
The present invention is not limited to the embodiment described above.
That is, those skilled in the art may make various modifications, combinations, subcombinations, and alternatives regarding the components of the above-described embodiments within the technical scope of the present invention or an equivalent scope thereof.
For example, in the above-described embodiment, the DBS application process 52 is illustrated as the main content processing of the present invention, and the DLNA process 56 is illustrated as the subsidiary content processing. However, these are examples, and the DBS application process 52 is also a DLNA process. May be.

また、上述した実施形態では、監視プロセス54が単数のDLNAプロセス56を起動する場合を例示したが、複数のDLNAプロセス56を起動してもよい。
また、図2および図3に示す状態遷移データが示す状態は一例であり、DLNAプロセス56の正常終了と異常終了とを特定できれば、様々なものが利用できる。
Further, in the above-described embodiment, the case where the monitoring process 54 starts a single DLNA process 56 is illustrated, but a plurality of DLNA processes 56 may be started.
Further, the state indicated by the state transition data shown in FIGS. 2 and 3 is an example, and various things can be used as long as the normal end and the abnormal end of the DLNA process 56 can be specified.

上述した実施形態では、本発明のコンテンツ処理装置の一例としてテレビ受像機1を例示したが、その他、オーディオ再生装置等のその他の再生装置であってもよい。また、再生装置に限らず、コンテンツに対して何らかの処理をする装置であれば特に限定されない。   In the above-described embodiment, the television receiver 1 is illustrated as an example of the content processing apparatus of the present invention, but other playback apparatuses such as an audio playback apparatus may be used. In addition, the present invention is not limited to a playback device, and any device that performs some processing on content may be used.

本発明は、主コンテンツ処理と従コンテンツ処理とを起動して関連づけて処理を行うシステムに適用可能である。   The present invention can be applied to a system that activates and associates main content processing and sub-content processing.

本発明の実施形態に係るテレビ受像機の構成を説明するための図である。It is a figure for demonstrating the structure of the television receiver which concerns on embodiment of this invention. 図1に示す状態保存部が記憶する状態遷移データが示す状態を説明するための図である。It is a figure for demonstrating the state which the state transition data which the state preservation | save part shown in FIG. 1 memorize | stores shows. 図1に示す状態保存部が記憶する状態遷移データが示す状態の遷移パターンを説明するための図である。It is a figure for demonstrating the state transition pattern which the state transition data which the state preservation | save part shown in FIG. 1 memorize | stores shows. 図1に示すIFアプリケーション部の処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process of the IF application part shown in FIG. 図1に示す監視プロセスの処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process of the monitoring process shown in FIG. 図1に示すDLNAプロセス56の正常起動時の動作例を説明するためのフロー図である。It is a flowchart for demonstrating the operation example at the time of normal starting of the DLNA process 56 shown in FIG. 図1に示すDLNAプロセス56の異常起動時の動作例を説明するためのフロー図である。It is a flowchart for demonstrating the operation example at the time of the abnormal starting of the DLNA process 56 shown in FIG. 図1に示すDLNAプロセス56の正常終了時の動作例を説明するためのフロー図である。It is a flowchart for demonstrating the operation example at the time of the normal end of the DLNA process 56 shown in FIG. 図1に示すDLNAプロセス56の異常終了時の動作例を説明するためのフロー図である。It is a flowchart for demonstrating the operation example at the time of abnormal termination of the DLNA process 56 shown in FIG.

符号の説明Explanation of symbols

1…テレビ受像機
10…アンテナ
28…ディスプレイ
30…フロントエンド回路
32…メイン処理回路
34…共通リソース部
40…サーバ
52…DBSアプリケーションプロセス(本発明の主表示処理手段の一例)
54…監視プロセス(本発明の監視手段の一例)
56…DLNAプロセス(本発明の従表示処理手段の一例)
62…テレビアプリケーション処理部
64…相互実行通信部
66…IFアプリケーション部
68…状態保存部(本発明の記憶手段の一例)
70…コマンドA通信部
72…コマンドB通信部
74…システム通信部

DESCRIPTION OF SYMBOLS 1 ... Television receiver 10 ... Antenna 28 ... Display 30 ... Front end circuit 32 ... Main processing circuit 34 ... Common resource part 40 ... Server 52 ... DBS application process (an example of main display processing means of this invention)
54 ... Monitoring process (an example of monitoring means of the present invention)
56 ... DLNA process (an example of the slave display processing means of the present invention)
62 ... Television application processing unit 64 ... Mutual execution communication unit 66 ... IF application unit 68 ... State storage unit (an example of storage means of the present invention)
70 ... Command A communication unit 72 ... Command B communication unit 74 ... System communication unit

Claims (3)

主コンテンツ処理を行う主コンテンツ処理と、
従コンテンツ処理を行う従コンテンツ処理と、
前記主コンテンツ処理および前記従コンテンツ処理によって排他的に使用され、設定内容に基づいて、前記主コンテンツ処理および前記従コンテンツ処理のうち選択された処理に適合した処理を行う共用処理部と、
少なくとも前記従コンテンツ処理の動作状態を示す動作状態データを記憶する記憶と、
前記従コンテンツ処理前記従コンテンツ処理を開始させるとともに、開始させた前記従コンテンツ処理の動作状態を監視し、当該監視結果を基に、前記記憶に記憶された前記動作態データを更新する監視
を有し、
前記主コンテンツ処理部は、前記監視部を起動し
前記主コンテンツ処理部は、外部から前記従コンテンツ処理の開始要求を受け付けると、前記記憶部の前記動作状態データを、開始要求受付を示すデータに更新し、
前記監視は、前記記憶部の前記動作状態データが開始要求受付を示すデータに更新されたら前記従コンテンツ処理部の前記従コンテンツ処理を開始させ
前記従コンテンツ処理部は、前記監視部によって前記従コンテンツ処理が開始されたら、前記従コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更後、前記共用処理部を用いた所定の処理を実行するとともに前記監視部に開始完了メッセージを送信し、
前記監視部は、前記従コンテンツ処理部から開始完了メッセージを受信したら、前記記憶部の前記動作状態データを、前記従コンテンツ処理の開始完了を示すデータに更新し、
前記主コンテンツ処理は、外部から前記従コンテンツ処理の停止要求を受け付けると、前記記憶部の前記動作状態データを、停止要求受付を示すデータに更新し、
前記監視部は、前記記憶部の前記動作状態データが停止要求受付を示すデータに更新されたことを検出したら、このデータを前記従コンテンツ処理の終了を示すデータに更新し、
前記前記主コンテンツ処理部は、前記記憶部の前記動作状態データが前記従コンテンツ処理の終了を示すデータに更新されたら、前記主コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更し、前記共用処理部を用いた所定の処理を実行する
コンテンツ処理装置。
And the main content processing unit that performs the main content processing,
And the slave content processing unit that performs the Supporting content processing,
A shared processing unit that is used exclusively by the main content processing unit and the sub content processing unit , and that performs a process suitable for the selected process among the main content process and the sub content process based on setting content;
A storage unit that stores at least operation state data indicating an operation state of the subsidiary content processing unit ;
The slave content processing unit starts the slave content processing, monitors an operation state of the started slave content processing, and updates the operation state data stored in the storage unit based on the monitoring result. A monitoring unit and
The main content processing unit activates the monitoring unit ,
When the main content processing unit receives a start request for the subsidiary content processing from the outside, the main content processing unit updates the operation state data in the storage unit to data indicating start request reception,
The monitoring unit initiates the sub content processing When the operation state data of the storage unit is updated to data indicating the start request receiving the sub content processing unit,
When the slave content processing is started by the monitoring unit, the slave content processing unit changes the setting content of the shared processor so as to conform to the slave content processing, and then uses the shared processor to perform a predetermined process. Execute a process and send a start completion message to the monitoring unit;
When the monitoring unit receives a start completion message from the subsidiary content processing unit, the monitoring unit updates the operation state data in the storage unit to data indicating completion of the subsidiary content processing,
When the main content processing unit receives a stop request for the slave content processing from the outside , the main content processing unit updates the operation state data of the storage unit to data indicating stop request reception,
When the monitoring unit detects that the operation state data in the storage unit has been updated to data indicating acceptance of a stop request, the monitoring unit updates the data to data indicating the end of the subsidiary content processing,
The main content processing unit changes the setting content of the shared processing unit so as to be compatible with the main content processing when the operation state data in the storage unit is updated to data indicating the end of the sub content processing. And a content processing apparatus that executes predetermined processing using the shared processing unit.
主コンテンツ処理を行う主コンテンツ処理部と、
従コンテンツ処理を行う従コンテンツ処理部と、
少なくとも前記従コンテンツ処理部の動作状態を示す動作状態データを記憶する記憶部と、
前記従コンテンツ処理部の前記従コンテンツ処理を開始させるとともに、開始させた前記従コンテンツ処理の動作状態を監視し、当該監視結果を基に、前記記憶部に記憶された前記動作態データを更新する監視部と
を機能として備え、
前記主コンテンツ処理部および前記従コンテンツ処理部によって排他的に使用され、設定内容に基づいて、前記主コンテンツ処理および前記従コンテンツ処理のうち選択された処理に適合した処理を行う共用処理部を制御する
処理回路が行うコンテンツ処理方法であって、
前記主コンテンツ処理部が、前記監視部を起動する第1の工程と、
前記主コンテンツ処理部が、外部から前記従コンテンツ処理の開始要求を受け付けると、前記記憶部の前記動作状態データを、開始要求受付を示すデータに更新する第2の工程と、
前記監視部が、前記記憶部の前記動作状態データが開始要求受付を示すデータに前記第2の工程にて更新されたら前記従コンテンツ処理部の前記従コンテンツ処理を開始させる第3の工程と、
前記従コンテンツ処理部が、前記監視部によって前記従コンテンツ処理が前記第3の工程にて開始されたら、前記従コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更後、前記共用処理部が所定の処理を実行するように制御するとともに前記監視部に開始完了メッセージを送信する第4の工程と、
前記監視部が、前記従コンテンツ処理部から前記第3の工程にて開始完了メッセージを受信したら、前記記憶部の前記動作状態データを、前記従コンテンツ処理の開始完了を示すデータに更新する第5の工程と、
前記主コンテンツ処理部が、外部から前記従コンテンツ処理の停止要求を受け付けると、前記記憶部の前記動作状態データを、停止要求受付を示すデータに更新する第6の工程と、
前記監視部が、前記記憶部の前記動作状態データが停止要求受付を示すデータに前記第6の工程にて更新されたことを検出したら、このデータを前記従コンテンツ処理の終了を示すデータに更新する第7の工程と、
前記前記主コンテンツ処理部が、前記記憶部の前記動作状態データが前記従コンテンツ処理の終了を示すデータに前記第7の工程にて更新されたら、前記主コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更し、前記共用処理部が所定の処理を実行するように制御する第8の工程と
を有するコンテンツ処理方法。
A main content processing unit for performing main content processing;
A slave content processing unit for performing slave content processing;
A storage unit that stores at least operation state data indicating an operation state of the subsidiary content processing unit;
The slave content processing unit starts the slave content processing, monitors an operation state of the started slave content processing, and updates the operation state data stored in the storage unit based on the monitoring result. A monitoring unit and
Used exclusively by the main content processing unit and the sub content processing unit, and controls a shared processing unit that performs processing suitable for the selected processing from the main content processing and the sub content processing based on the set content A content processing method performed by a processing circuit,
A first step in which the main content processing unit activates the monitoring unit;
A second step of updating the operation state data of the storage unit to data indicating reception of a start request when the main content processing unit receives the start request of the sub content processing from the outside;
A third step in which the monitoring unit starts the slave content processing of the slave content processing unit when the operation state data of the storage unit is updated to data indicating start request acceptance in the second step;
When the slave content processing unit starts the slave content processing in the third step by the monitoring unit, the shared content processing unit changes the setting content of the shared processor to match the slave content processing, and then the shared A fourth step of controlling the processing unit to execute a predetermined process and transmitting a start completion message to the monitoring unit;
When the monitoring unit receives the start completion message in the third step from the subsidiary content processing unit, the operation state data in the storage unit is updated to data indicating completion of the subsidiary content processing. And the process of
A sixth step of updating the operation state data of the storage unit to data indicating acceptance of a stop request when the main content processing unit accepts a stop request for the slave content processing from the outside;
When the monitoring unit detects that the operation state data in the storage unit has been updated to data indicating acceptance of a stop request in the sixth step, the data is updated to data indicating the end of the subsidiary content processing A seventh step of:
When the operation state data in the storage unit is updated to data indicating the end of the subsidiary content processing in the seventh step, the shared content processing unit is adapted to match the main content processing. A content processing method comprising: an eighth step of changing the setting contents of a unit and controlling the shared processing unit to execute a predetermined process.
主コンテンツ処理を行う主コンテンツ処理部と、
従コンテンツ処理を行う従コンテンツ処理部と、
少なくとも前記従コンテンツ処理部の動作状態を示す動作状態データを記憶する記憶部と、
前記従コンテンツ処理部の前記従コンテンツ処理を開始させるとともに、開始させた前記従コンテンツ処理の動作状態を監視し、当該監視結果を基に、前記記憶部に記憶された前記動作態データを更新する監視部と
の機能と、
前記主コンテンツ処理部および前記従コンテンツ処理部によって排他的に使用され、設定内容に基づいて、前記主コンテンツ処理および前記従コンテンツ処理のうち選択された処理に適合した処理を行う共用処理部を制御する機能と
を処理回路によって実行されて実現するプログラムであって、
処理回路が実行するプログラムであって、
前記主コンテンツ処理部は、前記監視部を起動する第1の手順と、
前記主コンテンツ処理部が、外部から前記従コンテンツ処理の開始要求を受け付けると、前記記憶部の前記動作状態データを、開始要求受付を示すデータに更新する第2の手順と、
前記監視部が、前記記憶部の前記動作状態データが開始要求受付を示すデータに前記第2の手順にて更新されたら前記従コンテンツ処理部の前記従コンテンツ処理を開始させる第3の手順と、
前記従コンテンツ処理部が、前記監視部によって前記従コンテンツ処理が前記第3の手順にて開始されたら、前記従コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更後、前記共用処理部が所定の処理を実行するように制御するとともに前記監視部に開始完了メッセージを送信する第4の手順と、
前記監視部が、前記従コンテンツ処理部から前記第4の手順にて開始完了メッセージを受信したら、前記記憶部の前記動作状態データを、前記従コンテンツ処理の開始完了を示すデータに更新する第5の手順と、
前記主コンテンツ処理部が、外部から前記従コンテンツ処理の停止要求を受け付けると、前記記憶部の前記動作状態データを、停止要求受付を示すデータに更新する第6の手順と、
前記監視部が、前記記憶部の前記動作状態データが停止要求受付を示すデータに前記第6の手順にて更新されたことを検出したら、このデータを前記従コンテンツ処理の終了を示すデータに更新する第7の手順と、
前記前記主コンテンツ処理部が、前記記憶部の前記動作状態データが前記従コンテンツ処理の終了を示すデータに前記第7の手順にて更新されたら、前記主コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更し、前記共用処理部が所定の処理を実行するように制御する第8の手順と
を前記処理回路に実行させるプログラム。
A main content processing unit for performing main content processing;
A slave content processing unit for performing slave content processing;
A storage unit that stores at least operation state data indicating an operation state of the subsidiary content processing unit;
The slave content processing unit starts the slave content processing, monitors an operation state of the started slave content processing, and updates the operation state data stored in the storage unit based on the monitoring result. Functions with the monitoring unit,
Used exclusively by the main content processing unit and the sub content processing unit, and controls a shared processing unit that performs processing suitable for the selected processing from the main content processing and the sub content processing based on the set content A program that is executed by a processing circuit to realize
A program executed by a processing circuit,
The main content processing unit includes a first procedure for starting the monitoring unit;
A second procedure for updating the operation state data of the storage unit to data indicating reception of a start request when the main content processing unit receives the start request for the sub content processing from the outside;
A third procedure in which the monitoring unit causes the slave content processing unit to start the slave content processing when the operation state data in the storage unit is updated to data indicating start request acceptance in the second procedure;
When the subsidiary content processing unit starts the subsidiary content processing in the third procedure by the monitoring unit, the shared content processing unit changes the setting content of the shared processing unit so as to conform to the subsidiary content processing, and then the shared A fourth procedure for controlling the processing unit to execute a predetermined process and transmitting a start completion message to the monitoring unit;
When the monitoring unit receives a start completion message from the subsidiary content processing unit in the fourth procedure, the operation state data in the storage unit is updated to data indicating completion of the subsidiary content processing. And the steps
A sixth procedure for updating the operation state data of the storage unit to data indicating reception of a stop request when the main content processing unit receives a stop request for the slave content processing from the outside;
When the monitoring unit detects that the operation state data in the storage unit has been updated to data indicating acceptance of a stop request in the sixth procedure, the data is updated to data indicating the end of the subsidiary content processing A seventh procedure to
When the operation state data in the storage unit is updated to data indicating the end of the sub content processing in the seventh procedure, the shared content processing unit is adapted to be adapted to the main content processing. A program for causing the processing circuit to execute an eighth procedure for controlling the shared processing unit to execute a predetermined process.
JP2007162893A 2007-06-20 2007-06-20 Content processing apparatus, method thereof and program thereof Active JP4984144B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007162893A JP4984144B2 (en) 2007-06-20 2007-06-20 Content processing apparatus, method thereof and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007162893A JP4984144B2 (en) 2007-06-20 2007-06-20 Content processing apparatus, method thereof and program thereof

Publications (2)

Publication Number Publication Date
JP2009003641A JP2009003641A (en) 2009-01-08
JP4984144B2 true JP4984144B2 (en) 2012-07-25

Family

ID=40319974

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007162893A Active JP4984144B2 (en) 2007-06-20 2007-06-20 Content processing apparatus, method thereof and program thereof

Country Status (1)

Country Link
JP (1) JP4984144B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002342095A (en) * 2001-05-22 2002-11-29 Nec Microsystems Ltd Method for detecting/restoring abnormal end of application
JP2005078122A (en) * 2003-08-29 2005-03-24 Nippon Telegr & Teleph Corp <Ntt> Lock status detection device and lock status detection method and its program
JP2006302337A (en) * 2005-04-15 2006-11-02 Canon Inc Recording and reproducing apparatus
WO2006129819A1 (en) * 2005-05-31 2006-12-07 Matsushita Electric Industrial Co., Ltd. Broadcast receiving terminal and program execution method
JP4627222B2 (en) * 2005-06-23 2011-02-09 シャープ株式会社 Information processing apparatus having server function and client function, and program and recording medium used therefor

Also Published As

Publication number Publication date
JP2009003641A (en) 2009-01-08

Similar Documents

Publication Publication Date Title
US8270811B2 (en) Information management method, information playback apparatus, and information management apparatus
JP5521774B2 (en) Information processing apparatus, information processing method, and program thereof
US7688791B2 (en) Communications apparatus, image sensing apparatus and control method therefor
US20090064252A1 (en) System and method for dynamic bandwidth allocation
US20100082725A1 (en) Control terminal for giving content reproduction command, content relay device and remote content reproduction system
WO2014194814A1 (en) Method, device, and system for improving channel change speed
US20110179104A1 (en) Server device, and method and program for processing on the same
JP4714294B1 (en) Communication apparatus and communication method
US20110295972A1 (en) Information processing device, information processing method, and information processing system
JP2004023326A (en) Video recorder
WO2008096940A2 (en) Method of performing data communication with terminal and receiver using the same
US7725002B2 (en) Video content recording apparatus and video content transfer method
JP4984144B2 (en) Content processing apparatus, method thereof and program thereof
US20230362455A1 (en) Systems and methods for resuming playback on a next available active device
JP2004140460A (en) Television broadcast automatic recording system, method, program, and record server
EP1414236B1 (en) Digital TV and driving method thereof
JP5035675B2 (en) Content processing apparatus, method thereof and program thereof
CN103747330A (en) Program monitoring method, apparatus and digital television receiving terminal
JP4502034B2 (en) Receiving apparatus and processing method
JP2008118469A (en) Discontinued program viewing system
JP2010213156A (en) Video playback apparatus, method, and program
JP5584186B2 (en) Storage system and storage device
JP4306538B2 (en) Information processing apparatus, information processing method, and program
US20110239012A1 (en) Image processing device
JP3973529B2 (en) Network device and method for controlling such network device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091228

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100909

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110307

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110519

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110715

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20111012

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4984144

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150511

Year of fee payment: 3