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

Content processing apparatus, method thereof and program thereof Download PDF

Info

Publication number
JP5035675B2
JP5035675B2 JP2007162892A JP2007162892A JP5035675B2 JP 5035675 B2 JP5035675 B2 JP 5035675B2 JP 2007162892 A JP2007162892 A JP 2007162892A JP 2007162892 A JP2007162892 A JP 2007162892A JP 5035675 B2 JP5035675 B2 JP 5035675B2
Authority
JP
Japan
Prior art keywords
content processing
unit
processing unit
lock
monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007162892A
Other languages
Japanese (ja)
Other versions
JP2009003640A (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 JP2007162892A priority Critical patent/JP5035675B2/en
Publication of JP2009003640A publication Critical patent/JP2009003640A/en
Application granted granted Critical
Publication of JP5035675B2 publication Critical patent/JP5035675B2/en
Expired - Fee Related 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. .

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

ところで、上述した先行技術は、監視するアプリケーション(監視プロセス)は、システム起動時に予め起動されており、その運用状態を監視を行うものであるが、監視するアプリケーションがない場合でも、停止することなく、常に一定周期での監視動作を行っている。そんため、監視プロセスによりハードウェアリソースが常に使用されおり、ハードウェア負荷が大きいという問題がある。   In the prior art described above, the application to be monitored (monitoring process) is started in advance when the system is started, and the operation state is monitored. Even if there is no application to be monitored, the application is not stopped. The monitoring operation is always performed at a constant cycle. Therefore, there is a problem that hardware resources are always used by the monitoring process and the hardware load is large.

また、上述した特開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. Further, the time-out detection by the timer control process has a heavy hardware lease burden.

本発明はかかる事情に鑑みてなされたものであり、主コンテンツ処理と従コンテンツ処理とがある場合に、従コンテンツ処理を監視する監視処理による処理負荷を軽減できるコンテンツ処理装置、その方法およびそのプログラムを提供することを目的とする。
また、本発明は、従コンテンツ処理が正常終了および異常終了した場合に、主コンテンツ処理および従コンテンツ処理で共用される処理手段の設定を変更するための処理量を小さくできるコンテンツ処理装置を提供することを目的とする。
また、本発明は、従コンテンツ処理の終了を早いタイミングで特定して処理時間を短縮できるコンテンツ処理装置を提供することを目的とする。
The present invention has been made in view of such circumstances, and in the case where there are main content processing and subordinate content processing, a content processing apparatus capable of reducing the processing load caused by monitoring processing for monitoring subordinate content processing, its method, and its program The purpose is to provide.
The present invention also provides a content processing apparatus capable of reducing the processing amount 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. And starting the slave content processing of the slave content processing unit and the shared processing unit that performs a process suitable for the process selected from the master content process and the slave content process based on the setting content A monitoring unit that monitors an operation state of the slave content processing that has been performed, wherein the main content processing unit uses the shared processing unit in response to a request from the main content processing unit itself and the monitoring unit . is information used for exclusive control of the sub content processing using the shared processing unit and the main content processing had A lock manager that click is to manage it to acquire the lock to the requester on condition that is released inside, activating the monitoring unit acquires a lock from the lock management unit, after the start, When the start of the subsidiary content processing is instructed from the outside, the lock is released, and after the monitoring unit is activated by the main content processing unit, first the lock management unit inside the main content processing unit When a lock acquisition request is issued and the lock is acquired, the slave content processing unit starts the slave content processing, and starts monitoring the operation state of the slave content processing that has been started. When the subsidiary content processing is started by the unit, the setting content of the shared processing unit is changed to match the subsidiary content processing, The main content processing unit executes predetermined processing using a shared processing unit, and when the end of the sub content processing is instructed from the outside, the main content processing unit ends the sub content processing of the sub content processing unit, and the monitoring unit Detects the end of the subsidiary content processing, releases the lock , stops monitoring the operation state of the subsidiary content processing, and transmits an end message indicating the end of the subsidiary content processing to the main content processing unit , When the main content processing unit receives the end message from the monitoring unit, the main content processing unit executes a setting change process for changing the setting content of the shared processing unit so as to be adapted to the main content processing and the main content processing unit Requesting the lock management unit to acquire the lock, and after acquiring the lock, the shared processing A predetermined process using the unit is executed.

本発明の第2の観点の発明のコンテンツ処理方法は、主コンテンツ処理を行う主コンテンツ処理部と、従コンテンツ処理を行う従コンテンツ処理部と、前記従コンテンツ処理部の前記従コンテンツ処理を開始させるとともに、開始させた前記従コンテンツ処理の動作状態を監視する監視部と、を機能として備え、前記主コンテンツ処理部および前記従コンテンツ処理部によって排他的に使用され、設定内容に基づいて、前記主コンテンツ処理および前記従コンテンツ処理のうち選択された処理に適合した処理を行う共用処理部を制御する処理回路が行うコンテンツ処理方法であって、前記主コンテンツ処理部が、前記主コンテンツ処理部自身および前記監視部からの要求に応じて、前記共用処理部を用いた前記主コンテンツ処理と前記共用処理部を用いた前記従コンテンツ処理との排他制御に用いられる情報であるロックが解放されていることを条件に要求元にロックを取得させる管理を行うロック管理部を内部に備え、前記ロック管理部からロックを取得するとともに前記監視部を起動し、当該起動後に、外部から前記従コンテンツ処理の開始を指示されると前記ロックを解放する第1の工程と、前記監視部が、前記主コンテンツ処理部によって起動された後、最初に、前記主コンテンツ処理部内部の前記ロック管理部にロック取得要求を出し、当該ロックを取得すると前記従コンテンツ処理部の前記従コンテンツ処理を開始させ、開始された前記従コンテンツ処理の動作状態の監視を開始する第2の工程と、前記従コンテンツ処理部が、前記監視部によって前記従コンテンツ処理が開始されたら、前記従コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更後、前記共用処理部を用いた所定の処理を実行する第3の工程と、前記主コンテンツ処理部が、外部から前記従コンテンツ処理の終了を指示されると前記従コンテンツ処理部の前記従コンテンツ処理を終了させる第4の工程と、前記監視部が、前記従コンテンツ処理の終了を検出すると前記ロックを解放して前記従コンテンツ処理の動作状態の監視を停止するとともに前記主コンテンツ処理部に前記従コンテンツ処理の終了を示す終了メッセージを送信す第5の工程と、前記主コンテンツ処理部が、前記監視部から前記終了メッセージを受信したら、前記主コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更する設定変更処理を実行するとともに前記主コンテンツ処理部内部の前記ロック管理部に対して前記ロックの取得を要求し、前記ロックを取得した後に、前記共用処理部を用いた所定の処理を実行する第6の工程とを有する。
A content processing method according to a second aspect of the present invention starts a master content processing unit that performs master content processing, a slave content processing unit that performs slave content processing, and the slave content processing of the slave content processing unit. And a monitoring unit that monitors the operation state of the started subsidiary content processing as a function, and is used exclusively by the main content processing unit and the subsidiary content processing unit, and based on the set content, A content processing method performed by a processing circuit that controls a shared processing unit that performs processing suitable for content processing and processing selected from the subsidiary content processing, wherein the main content processing unit includes the main content processing unit itself and in response to a request from the monitoring unit, the shared processing and the main content processing using the shared processing unit Part wherein a lock manager that manages to get the lock to the requester that the condition that the lock is information used for the exclusive control is released the sub content processing therein using, the lock manager The monitoring unit is activated and the monitoring unit is activated, and after the activation, a first step of releasing the lock when instructed to start the subsidiary content processing from outside, and the monitoring unit includes the main content processing First, a lock acquisition request is issued to the lock management unit inside the main content processing unit, and when the lock is acquired, the sub content processing of the sub content processing unit is started and started. a second step of starting the monitoring of the operating state of the sub content processing, the sub content processing unit, the sub content processing by the monitoring unit Is started, a third step of executing a predetermined process using the shared processing unit after changing the setting content of the shared processing unit so as to be adapted to the subsidiary content processing, and the main content processing unit However, when the end of the subsidiary content processing is instructed from the outside, the fourth step of ending the subsidiary content processing of the subsidiary content processing unit, and when the monitoring unit detects the end of the subsidiary content processing, the lock a fifth step of releasing to that sends a termination message indicating the termination of the sub content processing to the main contents processing unit stops the monitoring of the operating state of the sub content processing, the main content processing unit, When the end message is received from the monitoring unit, a setting change process for changing the setting content of the shared processing unit so as to conform to the main content processing. The lock management unit in the main content processing unit is requested to acquire the lock, and after acquiring the lock, a predetermined process using the shared processing unit is executed. Process.

第3の観点の発明のプログラムは、主コンテンツ処理を行う主コンテンツ処理部と、従コンテンツ処理を行う従コンテンツ処理部と、前記従コンテンツ処理部の前記従コンテンツ処理を開始させるとともに、開始させた前記従コンテンツ処理の動作状態を監視する監視部との機能と、前記主コンテンツ処理部および前記従コンテンツ処理部によって排他的に使用され、設定内容に基づいて、前記主コンテンツ処理および前記従コンテンツ処理のうち選択された処理に適合した処理を行う共用処理部を制御する機能とを、理回路に実行させるためのプログラムであって、前記主コンテンツ処理部が、前記主コンテンツ処理部自身および前記監視部からの要求に応じて、前記共用処理部を用いた前記主コンテンツ処理と前記共用処理部を用いた前記従コンテンツ処理部との排他制御に用いられる情報であるロックが解放されていることを条件に要求元にロックを取得させる管理を行うロック管理部を内部に備え、前記ロック管理部からロックを取得するとともに前記監視部を起動し、当該起動後に、外部から前記従コンテンツ処理の開始を指示されると前記ロックを解放する第1の手順と、前記監視部が、前記主コンテンツ処理部によって起動された後、最初に、前記主コンテンツ処理部内部の前記ロック管理部にロック取得要求を出し、当該ロックを取得すると前記従コンテンツ処理部の前記従コンテンツ処理を開始させ、開始された前記従コンテンツ処理の動作状態の監視を開始する第2の手順と、前記従コンテンツ処理部が、前記監視部によって前記従コンテンツ処理が開始されたら、前記従コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更後、前記共用処理部を用いた所定の処理を実行する第3の手順と、前記主コンテンツ処理部が、外部から前記従コンテンツ処理の終了を指示されると前記従コンテンツ処理部の前記従コンテンツ処理を終了させる第4の手順と、前記監視部が、前記従コンテンツ処理の終了を検出すると前記ロックを解放して前記従コンテンツ処理の動作状態の監視を停止するとともに前記主コンテンツ処理部に前記従コンテンツ処理の終了を示す終了メッセージを送信す第5の手順と、前記主コンテンツ処理部が、前記監視部から前記終了メッセージを受信したら、前記主コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更する設定変更処理を実行するとともに前記主コンテンツ処理部内部の前記ロック管理部に対して前記ロックの取得を要求し、前記ロックを取得した後に、前記共用処理部を用いた所定の処理を実行する第6の手順とを前記処理回路に実行させる。
The program according to the third aspect of the invention starts and starts the master content processing unit that performs master content processing, the slave content processing unit that performs slave content processing, and the slave content processing of the slave content processing unit. A function of the monitoring unit that monitors the operation state of the subsidiary content processing, and the main content processing and the subsidiary content processing are used exclusively by the main content processing unit and the subsidiary content processing unit, and based on setting contents. among the function of controlling the shared processing unit that performs processing conforming to the selected process is a program to be executed by a processing circuit of the main content section is the main content processing unit itself and the in response to a request from the monitoring unit, with the common processing unit and the main content processing using the shared processing unit A lock manager for managing it to acquire the lock to the requester on the condition that Ki従 is information used for exclusive control of the content processing unit lock is released therein, the lock from the lock management unit The monitoring unit is activated and the monitoring unit is activated. After the activation, the first procedure for releasing the lock when the external content processing is instructed to start and the monitoring unit is activated by the main content processing unit First, a lock acquisition request is issued to the lock management unit in the main content processing unit, and when the lock is acquired, the sub content processing of the sub content processing unit is started, and the sub content started a second procedure to start monitoring the operating state of the processing, the sub content processing unit, the sub content processing starts of by the monitoring unit Then, after changing the setting contents of the shared processing unit so as to be adapted to the subsidiary content processing, a third procedure for executing a predetermined process using the shared processing unit, and the main content processing unit wherein the fourth instructions to terminate to be instructed to terminate the sub content processing the sub content processing of the sub content processing unit, the monitoring unit, to release the lock and detects the end of the sub content processing from wherein a fifth procedure that sends a termination message indicating the termination of the sub content processing to the main contents processing unit stops the monitoring of the operating state of the slave content processing, the main content processing unit, the monitoring unit Te When the end message is received from the server, a setting change process for changing the setting contents of the shared processing unit so as to conform to the main content process is executed. And requesting the lock management unit in the main content processing unit to acquire the lock, and after acquiring the lock, a sixth procedure for executing a predetermined process using the shared processing unit. The processing circuit is executed.

本発明によれば、主コンテンツ処理と従コンテンツ処理とがある場合に、従コンテンツ処理を監視する監視処理による処理負荷を軽減できるコンテンツ処理装置、その方法およびそのプログラムを提供することができる。
また、本発明によれば、従コンテンツ処理が正常終了および異常終了した場合に、主コンテンツ処理および従コンテンツ処理で共用される処理手段の設定を変更するための処理量を少なくできるコンテンツ処理装置を提供することができる。
また、本発明によれば、従コンテンツ処理の終了を早いタイミングで特定して処理時間を短縮できるコンテンツ処理装置を提供することができる。
According to the present invention, it is possible to provide a content processing apparatus, a method thereof, and a program thereof that can reduce a processing load caused by a monitoring process for monitoring a slave content process when there is a master content process and a slave content process.
Further, according to the present invention, there is provided a content processing apparatus capable of reducing the processing amount 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が本発明の処理手段の一例であり、起動ロック部67が本発明のロック管理手段の一例である。
また、状態保存部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 unit of the present invention, and the activation lock unit 67 is an example of the lock management unit 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では、IFアプリケーション部66は、起動ロック部67から起動ロックを取得した後に、監視プロセス54を起動し、DLNAプロセス56の開始が可能な状態になると上記起動ロックを解放する。
その後、監視プロセス54は、起動ロック部67に起動ロック取得要求を出し、起動ロックが解放されると、当該起動ロックを取得した後に、DLNAプロセス56を起動する。そして、監視プロセス54は、DLNAプロセス56の動作を監視する。
次に、DLNAプロセス56の動作が終了すると、監視プロセス54は、終了メッセージをIFアプリケーション部66に出力して、起動ロックを解放する。
First, an outline of the television receiver 1 will be described.
In the television receiver 1, the IF application unit 66 activates the monitoring process 54 after acquiring the activation lock from the activation lock unit 67, and releases the activation lock when the DLNA process 56 can be started.
Thereafter, the monitoring process 54 issues an activation lock acquisition request to the activation lock unit 67, and when the activation lock is released, the DLNA process 56 is activated after acquiring the activation lock. The monitoring process 54 monitors the operation of the DLNA process 56.
Next, when the operation of the DLNA process 56 ends, the monitoring process 54 outputs an end message to the IF application unit 66 to release the activation lock.

IFアプリケーション部66は、上記終了メッセージを受けると、共通リソース部34の設定内容を、DBS(Digital Broadcast Satellite)アプリケーションプロセス52の処理に適合するように変更し、テレビアプリケーション処理部62によるテレビアプリケーション処理を開始する。
また、IFアプリケーション部66は、起動ロック部67から起動ロックを取得する。
監視プロセス54は、起動ロック取得待ち状態になり、監視処理を停止する。
テレビ受像機1では、起動ロック部67の起動ロックの取得および解放により、DLNAプロセス56の動作中にのみ、監視プロセス54による監視動作を実行させ、それ以外は停止させる。これにより、監視プロセス54によるメイン処理回路32の使用時間を削減で、省電力化を図れる。
Upon receiving the end message, the IF application unit 66 changes the setting content of the common resource unit 34 so as to be compatible with the processing of the DBS (Digital Broadcast Satellite) application process 52, and the TV application processing unit 62 performs the TV application processing. To start.
Further, the IF application unit 66 acquires the activation lock from the activation lock unit 67.
The monitoring process 54 enters an activation lock acquisition waiting state and stops the monitoring process.
In the television receiver 1, by the acquisition and release of the activation lock of the activation lock unit 67, the monitoring operation by the monitoring process 54 is executed only during the operation of the DLNA process 56, and the others are stopped. Thereby, it is possible to save power by reducing the use time of the main processing circuit 32 by the monitoring process 54.

また、監視プロセス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.

以下、テレビ受像機1の構成要素について詳細に説明する。
[フロントエンド回路30]
フロントエンド回路30は、アンテナ10で受信したデジタル放送信号にフロントエンド処理を施す。
当該デジタル放送信号は、映像データ、音声データに加えて、番組情報等の付加データを多重化した信号であり、例えば、地上デジタルテレビ放送に利用されるMPEG2のTS(Transport Stream)により実現される信号である。
フロントエンド回路30は、受信した放送波に復調等の処理を行ないTSを生成する。
そして、フロントエンド回路30は、当該TSを、オーディオストリーム(AS)、ビデオストリーム(VS)、番組情報等を含むセクションデータ(S)に分離してメイン処理回路32に出力する。
Hereinafter, the components of the television receiver 1 will be described in detail.
[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.

[メイン処理回路32]
図1に示すように、メイン処理回路32は、例えば、DBSアプリケーションプロセス52、監視プロセス54、DLNAプロセス56、コマンドA通信部70、コマンドB通信部72、システム通信部74をプロセスとして適宜起動する。
メイン処理回路32の上記プロセスは、例えば、メイン処理回路32がプログラムを実行することで実現される。
図1に示す各プロセスは、LINUX等のオペレーティング・システム上で動作する。
図1において、コマンドB通信部72およびシステム通信部74の各々は、オペレーティング・システム依存のシステムコールによる通信を行う。
また、相互実行通信部64およびコマンドA通信部70の各々は、通信先を呼び出し、相手側からの発信を求めるcall back方式の通信を行う。
[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.
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.

起動ロック部67は、IFアプリケーション部66および監視プロセス54から起動ロック取得要求を受けると、起動ロックが解放されている場合に要求元に起動ロックを取得させる。
一方、起動ロック部67は、起動ロック取得要求を受けたときに、起動ロックが解放されていない場合には、当該要求元を、システムコールの応答待ち状態にする。その後、起動ロック部67は、起動ロックが解放されると、応答待ちの要求元に起動ロックを取得させる。
Upon receiving the activation lock acquisition request from the IF application unit 66 and the monitoring process 54, the activation lock unit 67 causes the request source to acquire the activation lock when the activation lock is released.
On the other hand, when the activation lock acquisition request is not released when the activation lock acquisition request is received, the activation lock unit 67 sets the request source to a system call response waiting state. Thereafter, when the activation lock is released, the activation lock unit 67 causes the request source waiting for a response to acquire the activation lock.

状態保存部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が当該コンテンツの再生を行うDMP(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 the television receiver 1 is a DMP (Digital Media Player) that plays back 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に記憶された状態遷移データを基に状態判定を行い、テレビ機能へ復帰する再設定方法を分岐処理させている。
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.

本実施形態では、DLNAプロセス56の起動時においては、ストリーミングビットデータ再生用のハードウェア設定を行い、その際に発生した異常終了検出を行い、DLNAプロセス56の未起動時の終了処理を行う。
また、本実施形態では、ストリーミング再生アプリケーションの終了を行う際には、正常終了と異常終了検出のどちらの場合でも、前記テレビ放送用受信ビットストリーム再生設定を、全く同じシーケンスで行い、テレビアプリケーション処理部62によるテレビ機能プロセスへの復帰に対して影響しない。
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に進み、そうでない場合にはステップST23に進む。
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, and if not, the process proceeds to step ST23.

IFアプリケーション部66は、UI入力受付待ちを行い(ステップST13)、UI入力を受けるとステップST14に進む。
IFアプリケーション部66は、受付したUI入力の種別を判定し(ステップST14)、DLNAプロセス56の開始要求であれば、開始受付を行う(ステップST15)。
IFアプリケーション部66は、開始受付可能であると判断すると(ステップST16)、状態保存部68に記憶する状態遷移データを状態「CTC_CTC_START」に更新(設定)する(ステップST17)。
そして、IFアプリケーション部66は、起動ロック部67から起動ロックを取得する(ステップST18)。
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 start acceptance is possible (step ST16), the state transition data stored in the state storage unit 68 is updated (set) to the state “CTC_CTC_START” (step ST17).
Then, the IF application unit 66 acquires the activation lock from the activation lock unit 67 (step ST18).

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

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

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

以下、図1に示す監視プロセス54の動作例を説明する。
図5は、図1に示す監視プロセス54の動作例を説明するためのフローチャートである。
監視プロセス54は、起動ロック部67から起動ロックを取得する(ステップST40)。
監視プロセス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.
The monitoring process 54 acquires an activation lock from the activation lock unit 67 (step ST40).
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」に更新する。
その後、監視プロセス54は、起動ロックを解放する(ステップST48)。
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.
Thereafter, the monitoring process 54 releases the activation lock (step ST48).

以下、図1に示すテレビ受像機1の全体動作例を説明する。
[DLNAプロセス56の起動および終了が正常な場合]
図6は、図1に示すDLNAプロセス56の起動および終了が正常な場合の動作例を説明するためのフロー図である。
図6において、図4および図5に対応するステップST()について、ステップST()´と示している。
図1に示すDBSアプリケーションプロセス52が起動されると、IFアプリケーション部66は、起動ロック部67から起動ロックを取得する(ステップST29´)。
これ以降、IFアプリケーション部66が起動ロックを解放するまで、いかなる処理も起動ロック部67に起動ロック取得要求を出すと、オペレーティンス・システムからのシステム関数の応答待ち状態になる。
Hereinafter, an example of the overall operation of the television receiver 1 shown in FIG. 1 will be described.
[When startup and termination of DLNA process 56 is normal]
FIG. 6 is a flowchart for explaining an operation example when the DLNA process 56 shown in FIG. 1 is normally activated and terminated.
In FIG. 6, step ST () corresponding to FIGS. 4 and 5 is indicated as step ST () ′.
When the DBS application process 52 shown in FIG. 1 is activated, the IF application unit 66 acquires the activation lock from the activation lock unit 67 (step ST29 ′).
Thereafter, when any process issues an activation lock acquisition request to the activation lock unit 67 until the IF application unit 66 releases the activation lock, the system waits for a system function response from the operating system.

次に、IFアプリケーション部66は、監視プロセス54をスレッドとして起動する(ステップST101)。
但し、この起動形態は、スレッドに限定されるものではなく、プロセス方式などのDBSアプリケーションプロセス52と非同期で動作できるものであればよい。
そして、DBSアプリケーションプロセス52のすべての機能が起動し、デジタルテレビ放送視聴と他機能アプリの起動が可能な状態になる。
Next, the IF application unit 66 starts up the monitoring process 54 as a thread (step ST101).
However, this activation form is not limited to a thread, and may be anything that can operate asynchronously with the DBS application process 52 such as a process method.
Then, all the functions of the DBS application process 52 are activated, and the digital TV broadcast viewing and activation of other function applications are possible.

監視プロセス54は、上述したようにスレッド起動のシステムコールからスレッドとして実行され、最初に、起動ロック部67の起動ロックの取得を試みる(ステップST40´)。
この場合に、上記起動ロックは解放されていないため、監視プロセス54は、システムコールの応答待ち状態になる。
As described above, the monitoring process 54 is executed as a thread from the system call for thread activation, and first attempts to acquire the activation lock of the activation lock unit 67 (step ST40 ′).
In this case, since the activation lock is not released, the monitoring process 54 waits for a system call response.

一方、IFアプリケーション部66は、監視プロセス54の起動(ステップST101)に続いて、UI入力待ちになる(ステップST13´)。本例では、IFアプリケーション部66は、相互実行通信部64を介してテレビアプリケーション処理部62からDLNAプロセス56の開始要求を受ける(ステップST14´)。そして、IFアプリケーション部66は、開始受付可能状態であると判断すると(ステップST16´)、状態保存部68に記憶する状態遷移データを状態「CTC_CTC_START」に設定する(ステップST17´)。
そして、IFアプリケーション部66は、起動ロック部67の起動ロックを解放する(ステップST18´)。
On the other hand, the IF application unit 66 waits for a UI input (step ST13 ′) following the activation of the monitoring process 54 (step ST101). In this example, the IF application unit 66 receives a start request for the DLNA process 56 from the television application processing unit 62 via the mutual execution communication unit 64 (step ST14 ′). When the IF application unit 66 determines that it is in a start-acceptable state (step ST16 ′), it sets the state transition data stored in the state storage unit 68 to the state “CTC_CTC_START” (step ST17 ′).
Then, the IF application unit 66 releases the activation lock of the activation lock unit 67 (step ST18 ′).

これにより、監視プロセス54は、上記ステップST40´における監視プロセス54の待ち状態を解除して、状態保存部68に記憶された状態遷移データが状態「CTC_CTC_START」を示しているか否かを判断する(ステップST41´)。ここで、状態「CTC_CTC_START」は、テレビアプリケーション処理部62がDLNAプロセス56の起動受付完了をした状態である。
監視プロセス54は、状態遷移データが状態「CTC_CTC_START」を示していないと判断すると(ステップST41´)、起動ロック部67の起動ロックを解放し(ステップST48´)、続いて、前述した起動ロック取得を再び試みる(ステップST40´)。すなわち、監視プロセス54は、テレビアプリケーション処理部62がDLNAプロセス56の起動受付完了状態になるまで、起動ロックの解放動作(ステップST48´)と、起動ロックの取得動作(ステップST40´)とを繰り返す。
Thereby, the monitoring process 54 cancels the waiting state of the monitoring process 54 in step ST40 ′, and determines whether or not the state transition data stored in the state storage unit 68 indicates the state “CTC_CTC_START” ( Step ST41 '). Here, the state “CTC_CTC_START” is a state in which the television application processing unit 62 has completed the activation acceptance of the DLNA process 56.
When the monitoring process 54 determines that the state transition data does not indicate the state “CTC_CTC_START” (step ST41 ′), the activation lock of the activation lock unit 67 is released (step ST48 ′), and then the above-described activation lock acquisition is performed. Is tried again (step ST40 '). That is, the monitoring process 54 repeats the activation lock release operation (step ST48 ′) and the activation lock acquisition operation (step ST40 ′) until the television application processing unit 62 enters the activation acceptance completion state of the DLNA process 56. .

監視プロセス54は、状態遷移データが状態「CTC_CTC_START」を示していないと判断すると(ステップST41´)、コマンドB通信部72を用いてシステムコールの「fork()」により、子プロセスとしてDLNAプロセス56を起動する(ステップST42´)。そして、DLNAプロセス56は、共通リソース部34の設定内容をDLNAプロセス56の処理に適合するように変更する。その後、DLNAプロセス56は、例えば、サーバ40から入力したコンテンツデータを共通リソース部34でデコードしながら再生処理する(ステップST130)。DLNAプロセス56は、後述するようにIFアプリケーション部66によって停止されるまで、再生処理を継続する。   When the monitoring process 54 determines that the state transition data does not indicate the state “CTC_CTC_START” (step ST41 ′), the DLNA process 56 is used as a child process by the “fork ()” of the system call using the command B communication unit 72. Is activated (step ST42 '). Then, the DLNA process 56 changes the setting contents of the common resource unit 34 so as to match the processing of the DLNA process 56. Thereafter, the DLNA process 56 performs reproduction processing while decoding the content data input from the server 40 by the common resource unit 34 (step ST130). The DLNA process 56 continues the reproduction process until it is stopped by the IF application unit 66 as will be described later.

そして、監視プロセス54は、状態遷移データを、DLNAプロセス56の起動を示す状態「CTC_DLNA_START」に更新する(ステップST110)。
その後、監視プロセス54は、システム関数waitpidを用いてDLNAプロセス56の終了の待ち状態になる(ステップST43´)。
Then, the monitoring process 54 updates the state transition data to a state “CTC_DLNA_START” indicating activation of the DLNA process 56 (step ST110).
Thereafter, the monitoring process 54 waits for the DLNA process 56 to end using the system function waitpid (step ST43 ′).

一方、IFアプリケーション部66は、テレビアプリケーション処理部62からDLNAプロセス56の停止要求を受けると(ステップST14´)、停止受付可能状態であるか、すなわち状態保存部68に記憶された状態遷移データが状態「CTC_DNLA_START」であるか否かを判断する(ステップST19´)。
そして、IFアプリケーション部66は、状態「CTC_DNLA_START」であると判断すると、状態保存部68に記憶する状態遷移データを状態「CTC_CTC_STOP」に設定する(ステップST21´)。ここで、状態「CTC_CTC_STOP」は、DLNAプロセス56の停止要求を受けたことを示す状態である。
On the other hand, when the IF application unit 66 receives a stop request for the DLNA process 56 from the television application processing unit 62 (step ST14 ′), the IF application unit 66 is in a state in which the stop can be accepted, that is, the state transition data stored in the state storage unit 68 It is determined whether or not the state is “CTC_DNLA_START” (step ST19 ′).
If the IF application unit 66 determines that the state is “CTC_DNLA_START”, it sets the state transition data stored in the state storage unit 68 to the state “CTC_CTC_STOP” (step ST21 ′). Here, the state “CTC_CTC_STOP” is a state indicating that a DLNA process 56 stop request has been received.

そして、IFアプリケーション部66は、オペレーティング・システムのシステムコール「kill」により、DLNAプロセス56を停止する(ステップST22´)。
システム関数のプロセス終了コマンドによるDLNAプロセス56の強制終了を行うと、DLNAプロセス56によりシステム関数waitpidへ終了通知が返される(ステップST120)。
Then, the IF application unit 66 stops the DLNA process 56 by the system call “kill” of the operating system (step ST22 ′).
When the DLNA process 56 is forcibly terminated by the process end command of the system function, the DLNA process 56 returns an end notification to the system function waitpid (step ST120).

これにより、監視プロセス54は、上記ステップST43´の待ち状態を終了して、状態遷移データを、DLNAプロセス56の停止要求を受けたことを示す状態「CTC_CTC_STOP」から、プロセス終了を示す状態「CTC_DLNA_STOP」に遷移させる(ステップST45´)。
また、監視プロセス54は、コマンドA通信部70を用いて、終了メッセージをIFアプリケーション部66に出力する(ステップST45´)
その後、監視プロセス54は、起動ロック部67の起動ロックを解放する(ステップST48´)
As a result, the monitoring process 54 ends the waiting state of step ST43 ′, and 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 ST45 ').
In addition, the monitoring process 54 uses the command A communication unit 70 to output an end message to the IF application unit 66 (step ST45 ′).
Thereafter, the monitoring process 54 releases the activation lock of the activation lock unit 67 (step ST48 ′).

IFアプリケーション部66は、終了メッセージ待ち状態(ステップST23´,ST24´)で、終了メッセージを監視プロセス54から入力した後に、状態遷移データがプロセス終了を示す状態「CTC_DLNA_STOP」である(すなわち、正常終了である)という正常終了条件が満たされたか否かを判断する(ステップST25´)。そして、IFアプリケーション部66は、正常終了条件が満たされたと判断すると、テレビ機能への復帰のため、共用リソース部34の再設定処理(HW再生設定処理)を行う(ステップST27´)。   The IF application unit 66 waits for an end message (steps ST23 ′ and ST24 ′), and after the end message is input from the monitoring process 54, the state transition data is in the state “CTC_DLNA_STOP” indicating the end of the process (ie, normal end) It is determined whether or not the normal termination condition of “is satisfied” is satisfied (step ST25 ′). If the IF application unit 66 determines that the normal termination condition is satisfied, the IF application unit 66 performs a resetting process (HW playback setting process) of the shared resource unit 34 to return to the television function (step ST27 ′).

ここで、IFアプリケーション部66において、図4に示すように、UI入力受付待ち(ステップST12)と終了メッセージ待ち(ステップST23)が、同じ処理フローにて処理される理由は、統一されたインタフェースである図4に示すテレビアプリ機能要求受付(ステップST11)を経由して、IFアプリケーション部66に通知される構造となっているためである。   Here, in the IF application unit 66, as shown in FIG. 4, the reason for waiting for UI input acceptance (step ST12) and waiting for an end message (step ST23) is the same process flow. This is because the IF application unit 66 is notified via a TV application function request reception (step ST11) shown in FIG.

次に、IFアプリケーション部66は、状態遷移データを初期状態を示す「CTC_DLNA_INIT」に更新する(ステップST28´)。
そして、IFアプリケーション部66は、起動ロック部67の起動ロックを取得を試みる(ステップST29´)。
その後、DBSアプリケーションプロセス52は、共通リソース部34を用いてテレビ機能を実行する(ステップST30´)。このとき、IFアプリケーション部66が起動ロックを取得した、監視プロセス54が待ち状態(ST110)となり、監視プロセス54の監視処理を一時停止する。
Next, the IF application unit 66 updates the state transition data to “CTC_DLNA_INIT” indicating the initial state (step ST28 ′).
Then, the IF application unit 66 tries to acquire the activation lock of the activation lock unit 67 (step ST29 ′).
Thereafter, the DBS application process 52 executes the television function using the common resource unit 34 (step ST30 ′). At this time, if the IF application unit 66 has acquired the activation lock, the monitoring process 54 enters a waiting state (ST110), and the monitoring process of the monitoring process 54 is temporarily stopped.

以上説明したように、テレビ受像機1では、監視プロセス54が起動直後に起動ロック取得待ち(ステップST40´)をすることで、DBSアプリケーションプロセス52が、DLNAプロセス56に切り換え可能になるまで、監視プロセス54によるDLNAプロセス56の起動を待機させることができる。
また、監視プロセス54は、DLNAプロセス56を終了させた後に起動ロックを解放し(ステップST48´)、IFアプリケーション部66がテレビ機能復帰前に起動ロックを取得する(ステップST29´)ことで、テレビアプリケーション処理部62によるテレビ機能実行中(DLNAプロセス56の停止中)に監視プロセス54による監視動作を停止できる。これにより、メイン処理回路32のリソースを効率的に使用し、省電力化も図れる。
As described above, in the television receiver 1, the monitoring process 54 waits for activation lock acquisition immediately after activation (step ST 40 ′), so that the DBS application process 52 can be switched to the DLNA process 56. The activation of the DLNA process 56 by the process 54 can be made to wait.
In addition, the monitoring process 54 releases the activation lock after terminating the DLNA process 56 (step ST48 ′), and the IF application unit 66 acquires the activation lock before returning to the television function (step ST29 ′). The monitoring operation by the monitoring process 54 can be stopped while the TV function is being executed by the application processing unit 62 (when the DLNA process 56 is stopped). As a result, the resources of the main processing circuit 32 can be used efficiently and power can be saved.

[DLNAプロセス56の終了が異常の場合]
図7は、図1に示すDLNAプロセス56の終了が異常の場合の動作例を説明するためのフロー図である。
図7において、図4および図5に対応するステップST()について、ステップST()´あるいはステップST()´´と示している。
本動作例では、テレビ受像機1は、図6を用いて説明した動作例と同様の処理を経て、監視プロセス54がDLNAプロセス56を起動する(ステップST42´)。
そして、DLNAプロセス56によるストリーミング再生処理中に、何らかの要因で異常終了が発生すると、DLNAプロセス56がそれを検出して、システム関数waitpidへ終了通知が返される(ステップST220)。
[In case of abnormal termination of DLNA process 56]
FIG. 7 is a flowchart for explaining an operation example when the end of the DLNA process 56 shown in FIG. 1 is abnormal.
In FIG. 7, step ST () corresponding to FIGS. 4 and 5 is shown as step ST () ′ or step ST () ″.
In the present operation example, in the television receiver 1, the monitoring process 54 activates the DLNA process 56 through the same processing as in the operation example described with reference to FIG. 6 (step ST42 ′).
If an abnormal end occurs for some reason during the streaming playback process by the DLNA process 56, the DLNA process 56 detects it and returns an end notification to the system function waitpid (step ST220).

これにより、監視プロセス54は、上記ステップST43´の待ち状態を終了して、状態遷移データを、DLNAプロセス56の停止要求を受けたことを示す状態「CTC_CTC_STOP」から、プロセス終了エラーを示す状態「CTC_DLNA_ERROR」に遷移させる(ステップST45´´)。
また、監視プロセス54は、コマンドA通信部70を用いて、終了メッセージをIFアプリケーション部66に出力する(ステップST45´´)
その後、監視プロセス54は、起動ロック部67の起動ロックを解放する(ステップST48´)
As a result, the monitoring process 54 ends the waiting state of step ST43 ′, and changes the state transition data from the state “CTC_CTC_STOP” indicating that the DLNA process 56 has been requested to stop to the state “ Transition to “CTC_DLNA_ERROR” (step ST45 ″).
In addition, the monitoring process 54 outputs a termination message to the IF application unit 66 using the command A communication unit 70 (step ST45 ″).
Thereafter, the monitoring process 54 releases the activation lock of the activation lock unit 67 (step ST48 ′).

IFアプリケーション部66は、終了メッセージ待ち状態(ステップST23´,ST24´)で、終了メッセージを監視プロセス54から入力した後に、状態遷移データがプロセス終了を示す状態「CTC_DLNA_ERROR」である(すなわち、異常終了である)という異常終了条件が満たされたか否かを判断する(ステップST25´´)。そして、IFアプリケーション部66は、異常終了条件が満たされたと判断すると、ディスプレイ28にエラー表示の処理を行う(ステップST250)。
その後、IFアプリケーション部66は、テレビ機能への復帰のため、共用リソース部34の再設定処理(HW再生設定処理)を行う(ステップST27´)。
The IF application unit 66 waits for an end message (steps ST23 ′ and ST24 ′), and after inputting the end message from the monitoring process 54, the state transition data is in a state “CTC_DLNA_ERROR” indicating the end of the process (that is, abnormal end) It is determined whether or not the abnormal termination condition is satisfied (step ST25 ″). When the IF application unit 66 determines that the abnormal termination condition is satisfied, the IF application unit 66 performs an error display process on the display 28 (step ST250).
Thereafter, the IF application unit 66 performs a resetting process (HW playback setting process) of the shared resource unit 34 in order to return to the television function (step ST27 ′).

次に、IFアプリケーション部66は、状態遷移データを初期状態を示す「CTC_DLNA_INIT」に更新する(ステップST28´)。
そして、IFアプリケーション部66は、起動ロック部67の起動ロックの取得を試みる(ステップST29´)。
その後、DBSアプリケーションプロセス52は、共通リソース部34を用いてテレビ機能を実行する(ステップST30´)。このとき、IFアプリケーション部66が起動ロックを取得し、監視プロセス54が待ち状態(ST110)となり、監視プロセス54の監視処理を一時停止する。
Next, the IF application unit 66 updates the state transition data to “CTC_DLNA_INIT” indicating the initial state (step ST28 ′).
Then, the IF application unit 66 tries to acquire the activation lock of the activation lock unit 67 (step ST29 ′).
Thereafter, the DBS application process 52 executes the television function using the common resource unit 34 (step ST30 ′). At this time, the IF application unit 66 acquires the activation lock, the monitoring process 54 enters a waiting state (ST110), and the monitoring process of the monitoring process 54 is temporarily stopped.

このように、テレビ受像機1では、DLNAプロセス56の実行中にエラーが発生した場合でも、正常終了の場合と同様に、テレビアプリケーション処理部62の処理の復帰、並びに監視プロセス54による監視処理の停止を適切に実行できる。   As described above, in the television receiver 1, even when an error occurs during the execution of the DLNA process 56, the return of the processing of the television application processing unit 62 and the monitoring processing by the monitoring process 54 are performed as in the case of normal termination. The stop can be executed properly.

以下、テレビ受像機1の効果を説明する。
テレビ受像機1では、上述したように、起動ロック部67のロック機能を用いることで、DLNAプロセス56が動作中にのみ監視プロセス54による監視動作を稼働し、それ以外は停止させることができる。これにより、監視プロセス54によるメイン処理回路32の使用時間を削減でき、省電力化を図れる。
また、テレビ受像機1では、上記起動ロックを用いることで、IFアプリケーション部66と監視プロセス54との間でメッセージ通信やポーリング監視を行わないでも、状態保存部68を用いたステートマシン方式によるイベントステート管理と、DLNAプロセス56からの終了通知により、DLNAプロセス56の状態監視を行うことができる。
Hereinafter, effects of the television receiver 1 will be described.
As described above, in the television receiver 1, by using the lock function of the activation lock unit 67, the monitoring operation by the monitoring process 54 can be performed only while the DLNA process 56 is operating, and the rest can be stopped. Thereby, the usage time of the main processing circuit 32 by the monitoring process 54 can be reduced, and power saving can be achieved.
Further, in the television receiver 1, by using the activation lock, an event by a state machine method using the state storage unit 68 can be performed without performing message communication or polling monitoring between the IF application unit 66 and the monitoring process 54. The state monitoring of the DLNA process 56 can be performed by the state management and the end notification from the DLNA process 56.

また、図6および図7に示すように、テレビ受像機1では、DBSアプリケーションプロセス52のIFアプリケーション部66は、監視プロセス54等によって更新された上記状態遷移データに基づいて、DLNAプロセス56が正常終了した場合と異常終了した場合とで同じシーケンスで、共通リソース部34の設定内容をテレビアプリケーション処理部62の処理に適合した内容に更新する。そのため、テレビアプリケーション処理部62のプログラムコード数を少なくでき、開発負担を軽減できる。   Also, as shown in FIGS. 6 and 7, 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, for example, when a deadlock 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.

また、、テレビ受像機1では、図示しない操作部からの要求に応じてDBSアプリケーションプロセス52のテレビアプリケーション処理部62が監視プロセス54を起動し、監視プロセス54がDLNAプロセス56を起動してその動作状態を監視する。
そのため、DLNAプロセス56の動作が、DBSアプリケーションプロセス52の動作に直接的に影響せず、DBSアプリケーションプロセス52の動作を安定化できる。
Further, in the television receiver 1, the television application processing unit 62 of the DBS application process 52 activates the monitoring process 54 in response to a request from an operation unit (not shown), and the monitoring process 54 activates the DLNA process 56 to operate it. Monitor status.
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.

本発明は上述した実施形態には限定されない。
すなわち、当業者は、本発明の技術的範囲またはその均等の範囲内において、上述した実施形態の構成要素に関し、様々な変更、コンビネーション、サブコンビネーション、並びに代替を行ってもよい。
例えば、上述した実施形態では、本発明の主コンテンツ処理として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.

また、上述した実施形態では、図1に示すように、状態保存部68をDBSアプリケーションプロセス52の機能の一部として実現したが、メイン処理回路32が実行するDBSアプリケーションプロセス52以外のプロセスに状態保存部68の機能を実現させてもよい。   In the above-described embodiment, as shown in FIG. 1, the state storage unit 68 is realized as a part of the function of the DBS application process 52, but the state is changed to a process other than the DBS application process 52 executed by the main processing circuit 32. The function of the storage unit 68 may be realized.

また、上述した実施形態では、監視プロセス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. DLNAプロセスの起動および終了が正常な場合の動作例を説明するためのフロー図である。It is a flowchart for demonstrating the operation example when starting and completion | finish of a DLNA process are normal. 図1に示すDLNAプロセスの終了が異常の場合の動作例を説明するためのフロー図である。FIG. 8 is a flowchart for explaining an operation example when the end of the DLNA process shown in FIG. 1 is abnormal.

符号の説明Explanation of symbols

1…テレビ受像機
10…アンテナ
28…ディスプレイ
30…フロントエンド回路
32…メイン処理回路
34…共通リソース部
40…サーバ
52…DBSアプリケーションプロセス(本発明の主表示処理手段の一例)
54…監視プロセス(本発明の監視手段の一例)
56…DLNAプロセス(本発明の従表示処理手段の一例)
62…テレビアプリケーション処理部
64…相互実行通信部
66…IFアプリケーション部
67…起動ロック部(ロック管理手段)
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 ... TV application processing unit 64 ... Mutual execution communication unit 66 ... IF application unit 67 ... Activation lock unit (lock management means)
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)

主コンテンツ処理を行う主コンテンツ処理部と、
従コンテンツ処理を行う従コンテンツ処理部と、
前記主コンテンツ処理部および前記従コンテンツ処理部によって排他的に使用され、設定内容に基づいて、前記主コンテンツ処理および前記従コンテンツ処理のうち選択された処理に適合した処理を行う共用処理部と、
前記従コンテンツ処理部の前記従コンテンツ処理を開始させるとともに、開始させた前記従コンテンツ処理の動作状態を監視する監視部と、
を有し、
前記主コンテンツ処理部は、前記主コンテンツ処理部自身および前記監視部からの要求に応じて、前記共用処理部を用いた前記主コンテンツ処理と前記共用処理部を用いた前記従コンテンツ処理との排他制御に用いられる情報であるロックが解放されていることを条件に要求元にロックを取得させる管理を行うロック管理部を内部に備え、前記ロック管理部からロックを取得するとともに前記監視部を起動し、当該起動後に、外部から前記従コンテンツ処理の開始を指示されると前記ロックを解放し、
前記監視部は、前記主コンテンツ処理部によって起動された後、最初に、前記主コンテンツ処理部内部の前記ロック管理部にロック取得要求を出し、当該ロックを取得すると前記従コンテンツ処理部の前記従コンテンツ処理を開始させ、開始された前記従コンテンツ処理の動作状態の監視を開始し、
前記従コンテンツ処理部は、前記監視部によって前記従コンテンツ処理が開始されたら、前記従コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更後、前記共用処理部を用いた所定の処理を実行し、
前記主コンテンツ処理部は、外部から前記従コンテンツ処理の終了を指示されると前記従コンテンツ処理部の前記従コンテンツ処理を終了させ、
前記監視部は、前記従コンテンツ処理の終了を検出すると前記ロックを解放して前記従コンテンツ処理の動作状態の監視を停止するとともに前記主コンテンツ処理部に前記従コンテンツ処理の終了を示す終了メッセージを送信し
前記主コンテンツ処理部は、前記監視部から前記終了メッセージを受信したら、前記主コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更する設定変更処理を実行するとともに前記主コンテンツ処理部内部の前記ロック管理部に対して前記ロックの取得を要求し、前記ロックを取得した後に、前記共用処理部を用いた所定の処理を実行する
コンテンツ処理装置。
A main content processing unit for performing main content processing;
A slave content processing unit for performing slave 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 monitoring unit for starting the slave content processing of the slave content processing unit and monitoring an operation state of the started slave content processing;
Have
The main content processing unit excludes the main content processing using the shared processing unit and the sub content processing using the shared processing unit in response to a request from the main content processing unit itself and the monitoring unit. A lock management unit that manages the request source to acquire the lock on the condition that the lock, which is information used for control, is released, acquires the lock from the lock management unit and activates the monitoring unit Then, after the activation, when the external content processing is instructed from the outside, the lock is released,
After being started by the main content processing unit , the monitoring unit first issues a lock acquisition request to the lock management unit inside the main content processing unit, and when the lock is acquired, the sub content processing unit performs the sub acquisition. Start the content processing, start monitoring the operation state of the started subsidiary content processing ,
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 the process,
The main content processing unit, when instructed to end the sub content processing from the outside, ends the sub content processing of the sub content processing unit,
When the monitoring unit detects the end of the subsidiary content processing, the monitoring unit releases the lock and stops monitoring the operation state of the subsidiary content processing, and sends an end message indicating the end of the subsidiary content processing to the main content processing unit. transmitted,
When the main content processing unit receives the end message from the monitoring unit, the main content processing unit executes a setting change process for changing the setting content of the shared processing unit so as to be adapted to the main content processing and the main content processing unit A content processing apparatus that requests acquisition of the lock from the internal lock management unit, and executes predetermined processing using the shared processing unit after acquiring the lock.
主コンテンツ処理を行う主コンテンツ処理部と、
従コンテンツ処理を行う従コンテンツ処理部と、
前記従コンテンツ処理部の前記従コンテンツ処理を開始させるとともに、開始させた前記従コンテンツ処理の動作状態を監視する監視部と、
を機能として備え、
前記主コンテンツ処理部および前記従コンテンツ処理部によって排他的に使用され、設定内容に基づいて、前記主コンテンツ処理および前記従コンテンツ処理のうち選択された処理に適合した処理を行う共用処理部を制御する
処理回路が行うコンテンツ処理方法であって、
前記主コンテンツ処理部が、前記主コンテンツ処理部自身および前記監視部からの要求に応じて、前記共用処理部を用いた前記主コンテンツ処理と前記共用処理部を用いた前記従コンテンツ処理との排他制御に用いられる情報であるロックが解放されていることを条件に要求元にロックを取得させる管理を行うロック管理部を内部に備え、前記ロック管理部からロックを取得するとともに前記監視部を起動し、当該起動後に、外部から前記従コンテンツ処理の開始を指示されると前記ロックを解放する第1の工程と、
前記監視部が、前記主コンテンツ処理部によって起動された後、最初に、前記主コンテンツ処理部内部の前記ロック管理部にロック取得要求を出し、当該ロックを取得すると前記従コンテンツ処理部の前記従コンテンツ処理を開始させ、開始された前記従コンテンツ処理の動作状態の監視を開始する第2の工程と、
前記従コンテンツ処理部が、前記監視部によって前記従コンテンツ処理が開始されたら、前記従コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更後、前記共用処理部を用いた所定の処理を実行する第3の工程と、
前記主コンテンツ処理部が、外部から前記従コンテンツ処理の終了を指示されると前記従コンテンツ処理部の前記従コンテンツ処理を終了させる第4の工程と、
前記監視部が、前記従コンテンツ処理の終了を検出すると前記ロックを解放して前記従コンテンツ処理の動作状態の監視を停止するとともに前記主コンテンツ処理部に前記従コンテンツ処理の終了を示す終了メッセージを送信する第5の工程と、
前記主コンテンツ処理部が、前記監視部から前記終了メッセージを受信したら、前記主コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更する設定変更処理を実行するとともに前記主コンテンツ処理部内部の前記ロック管理部に対して前記ロックの取得を要求し、前記ロックを取得した後に、前記共用処理部を用いた所定の処理を実行する第6の工程と
を有するコンテンツ処理方法。
A main content processing unit for performing main content processing;
A slave content processing unit for performing slave content processing;
A monitoring unit for starting the slave content processing of the slave content processing unit and monitoring an operation state of the started slave content processing;
As a function,
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,
In response to a request from the main content processing unit itself and the monitoring unit, the main content processing unit excludes the main content processing using the shared processing unit and the sub content processing using the shared processing unit. A lock management unit that manages the request source to acquire the lock on the condition that the lock, which is information used for control, is released, acquires the lock from the lock management unit and activates the monitoring unit Then, after the activation, a first step of releasing the lock when instructed to start the subsidiary content processing from outside,
After the monitoring unit is activated by the main content processing unit, it first issues a lock acquisition request to the lock management unit inside the main content processing unit, and when the lock is acquired, the sub content processing unit performs the sub acquisition. A second step of starting content processing and starting monitoring of the operation state of the started subsidiary content processing;
When the sub content processing unit starts the sub content processing by the monitoring unit, the sub content processing unit changes the setting content of the common processing unit so as to be adapted to the sub content processing. A third step of performing the process;
A fourth step of ending the slave content processing of the slave content processing unit when the master content processing unit is instructed from the outside to end the slave content processing;
When the monitoring unit detects the end of the subsidiary content processing, the lock is released to stop monitoring the operation state of the subsidiary content processing, and an end message indicating the end of the subsidiary content processing is sent to the main content processing unit. a fifth step that sends,
When the main content processing unit receives the end message from the monitoring unit, the main content processing unit executes a setting change process for changing the setting contents of the shared processing unit so as to be adapted to the main content processing. A content processing method comprising: a sixth step of requesting the lock management unit inside to acquire the lock, and executing a predetermined process using the shared processing unit after acquiring the lock.
主コンテンツ処理を行う主コンテンツ処理部と、
従コンテンツ処理を行う従コンテンツ処理部と、
前記従コンテンツ処理部の前記従コンテンツ処理を開始させるとともに、開始させた前記従コンテンツ処理の動作状態を監視する監視部と
の機能と、
前記主コンテンツ処理部および前記従コンテンツ処理部によって排他的に使用され、設定内容に基づいて、前記主コンテンツ処理および前記従コンテンツ処理のうち選択された処理に適合した処理を行う共用処理部を制御する
機能とを、
理回路に実現させるためのプログラムであって、
前記主コンテンツ処理部が、前記主コンテンツ処理部自身および前記監視部からの要求に応じて、前記共用処理部を用いた前記主コンテンツ処理と前記共用処理部を用いた前記従コンテンツ処理との排他制御に用いられる情報であるロックが解放されていることを条件に要求元にロックを取得させる管理を行うロック管理部を内部に備え、前記ロック管理部からロックを取得するとともに前記監視部を起動し、当該起動後に、外部から前記従コンテンツ処理の開始を指示されると前記ロックを解放する第1の手順と、
前記監視部が、前記主コンテンツ処理部によって起動された後、最初に、前記主コンテンツ処理部内部の前記ロック管理部にロック取得要求を出し、当該ロックを取得すると前記従コンテンツ処理部の前記従コンテンツ処理を開始させ、開始された前記従コンテンツ処理の動作状態の監視を開始する第2の手順と、
前記従コンテンツ処理部が、前記監視部によって前記従コンテンツ処理が開始されたら、前記従コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更後、前記共用処理部を用いた所定の処理を実行する第3の手順と、
前記主コンテンツ処理部が、外部から前記従コンテンツ処理の終了を指示されると前記従コンテンツ処理部の前記従コンテンツ処理を終了させる第4の手順と、
前記監視部が、前記従コンテンツ処理の終了を検出すると前記ロックを解放して前記従コンテンツ処理の動作状態の監視を停止するとともに前記主コンテンツ処理部に前記従コンテンツ処理の終了を示す終了メッセージを送信する第5の手順と、
前記主コンテンツ処理部が、前記監視部から前記終了メッセージを受信したら、前記主コンテンツ処理に適合するように前記共用処理部の前記設定内容を変更する設定変更処理を実行するとともに前記主コンテンツ処理部内部の前記ロック管理部に対して前記ロックの取得を要求し、前記ロックを取得した後に、前記共用処理部を用いた所定の処理を実行する第6の手順と
を前記処理回路に実行させるプログラム。
A main content processing unit for performing main content processing;
A slave content processing unit for performing slave content processing;
A function of a monitoring unit for starting the slave content processing of the slave content processing unit and monitoring an operation state of the started slave content processing;
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 With the function
A program for realizing the processing circuit,
In response to a request from the main content processing unit itself and the monitoring unit, the main content processing unit excludes the main content processing using the shared processing unit and the sub content processing using the shared processing unit. A lock management unit that manages the request source to acquire the lock on the condition that the lock, which is information used for control, is released, acquires the lock from the lock management unit and activates the monitoring unit Then, after the activation, a first procedure for releasing the lock when instructed to start the subsidiary content processing from outside,
After the monitoring unit is activated by the main content processing unit, it first issues a lock acquisition request to the lock management unit inside the main content processing unit, and when the lock is acquired, the sub content processing unit performs the sub acquisition. A second procedure of starting content processing and starting monitoring of the operation state of the started subsidiary content processing;
When the sub content processing unit starts the sub content processing by the monitoring unit, the sub content processing unit changes the setting content of the common processing unit so as to be adapted to the sub content processing. A third procedure for executing the process;
A fourth procedure for ending the slave content processing of the slave content processing unit when the master content processing unit is instructed from the outside to end the slave content processing;
When the monitoring unit detects the end of the subsidiary content processing, the lock is released to stop monitoring the operation state of the subsidiary content processing, and an end message indicating the end of the subsidiary content processing is sent to the main content processing unit. A fifth step of sending;
When the main content processing unit receives the end message from the monitoring unit, the main content processing unit executes a setting change process for changing the setting contents of the shared processing unit so as to be adapted to the main content processing. A program for requesting the lock management unit to acquire the lock, and causing the processing circuit to execute a sixth procedure for executing a predetermined process using the shared processing unit after acquiring the lock. .
JP2007162892A 2007-06-20 2007-06-20 Content processing apparatus, method thereof and program thereof Expired - Fee Related JP5035675B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007162892A JP5035675B2 (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
JP2007162892A JP5035675B2 (en) 2007-06-20 2007-06-20 Content processing apparatus, method thereof and program thereof

Publications (2)

Publication Number Publication Date
JP2009003640A JP2009003640A (en) 2009-01-08
JP5035675B2 true JP5035675B2 (en) 2012-09-26

Family

ID=40319973

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007162892A Expired - Fee Related JP5035675B2 (en) 2007-06-20 2007-06-20 Content processing apparatus, method thereof and program thereof

Country Status (1)

Country Link
JP (1) JP5035675B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111580940A (en) * 2020-05-11 2020-08-25 北京字节跳动网络技术有限公司 Method and device for processing multiple inter-process processes of application program and electronic equipment

Family Cites Families (6)

* 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
WO2007052591A1 (en) * 2005-11-02 2007-05-10 Sharp Kabushiki Kaisha Contents data output device, television having the device, and contents data output program

Also Published As

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

Similar Documents

Publication Publication Date Title
US20210168471A1 (en) Reception apparatus, terminal apparatus, control method, program, and communication system
US9015777B2 (en) System and method for dynamic bandwidth allocation
RU2594000C2 (en) Receiving device, receiving method, recording medium and information processing system
US7681028B2 (en) Proactive rebooting in a set-top terminal and corresponding methods
KR101753432B1 (en) Method, apparatus and computer program product for standby handling in a streaming media receiver
JP2004023326A (en) Video recorder
WO2006015186A2 (en) System and method for distributed sharing and recording of live-tv
EP2817972B1 (en) Methods for distributing content in multi-room environment
WO2019071680A1 (en) Plug-in loading method and apparatus
JP2008186569A (en) Reproduction device and reproduction control method
WO2019071678A1 (en) Live broadcasting method and device
US9807450B2 (en) Apparatus and method for media play in home network
US20080168299A1 (en) Recovery Mechanism for Embedded Device
JP5035675B2 (en) Content processing apparatus, method thereof and program thereof
US7725002B2 (en) Video content recording apparatus and video content transfer method
US8739230B2 (en) Manager/remote content architecture
WO2015196766A1 (en) Bandwidth control method, iptv terminal device and communication system
CN103747330A (en) Program monitoring method, apparatus and digital television receiving terminal
JP2001216048A (en) Device and method for processing information and program storage medium
JP4984144B2 (en) Content processing apparatus, method thereof and program thereof
US20080288875A1 (en) Method and apparatus for managing control ownership for application of remote user interface server
JP3973529B2 (en) Network device and method for controlling such network device
US20110239012A1 (en) Image processing device
JP4306538B2 (en) Information processing apparatus, information processing method, and program
EP3163896B1 (en) Content sending 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

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120329

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120524

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

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

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

Free format text: PAYMENT UNTIL: 20150713

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees