JP2020039068A - Broadcast receiving method, broadcast receiving device and management method - Google Patents

Broadcast receiving method, broadcast receiving device and management method Download PDF

Info

Publication number
JP2020039068A
JP2020039068A JP2018165834A JP2018165834A JP2020039068A JP 2020039068 A JP2020039068 A JP 2020039068A JP 2018165834 A JP2018165834 A JP 2018165834A JP 2018165834 A JP2018165834 A JP 2018165834A JP 2020039068 A JP2020039068 A JP 2020039068A
Authority
JP
Japan
Prior art keywords
cas
unit
control unit
information
reset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018165834A
Other languages
Japanese (ja)
Other versions
JP7028112B2 (en
Inventor
裕介 本家
Yusuke Honke
裕介 本家
浩司 竹井
Koji Takei
浩司 竹井
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries Ltd
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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP2018165834A priority Critical patent/JP7028112B2/en
Publication of JP2020039068A publication Critical patent/JP2020039068A/en
Application granted granted Critical
Publication of JP7028112B2 publication Critical patent/JP7028112B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To achieve stable update of a CAS part.SOLUTION: A broadcast receiving method includes the following steps of: outputting a reset request to a CAS controller by a CAS part; receiving the reset request from the CAS part and outputting a reset command to the CAS part by the CAS controller; outputting to the CAS controller a reset response corresponding to the reset command received from the CAS controller and including time information by the CAS part; receiving the reset response from the CAS part and outputting the reset command to the CAS part after a lapse of a processing wait time based on the time information by the CAS controller; receiving the reset command from the CAS controller and outputting state information indicating a state of itself to the CAS controller by the CAS part; and producing log information on update of the state of the CAS part on the basis of the state information received from the CAS part by the CAS controller.SELECTED DRAWING: Figure 2

Description

本発明は、放送受信方法、放送受信装置および管理方法に関する。   The present invention relates to a broadcast receiving method, a broadcast receiving device, and a management method.

従来、デジタル放送により配信されるコンテンツを管理するためのCAS(Conditional Access System)に関する技術が開発されている。   2. Description of the Related Art Conventionally, a technology related to a CAS (Conditional Access System) for managing content distributed by digital broadcasting has been developed.

たとえば、一般社団法人 電波産業会、”高度広帯域衛星デジタル放送運用規定 ARIB TR−B39 1.7版 第三分冊”、平成30年4月12日(非特許文献1)には、CASに用いられるモジュールであるCAS部のリセットに関する技術が開示されている。すなわち、非特許文献1には、CAS部が、CAS部の制御を行う制御部に対してリセット要求を出力した場合、制御部から出力されたリセット命令を受けてリセットを行い、ATR(Answer to Reset)を制御部へ出力すること、および、制御部が、ATRに含まれる処理待ち時間が経過した後に再度CAS部に対してリセット命令を出力することが開示されている。   For example, the Radio Industries Association of Japan, "Advanced Broadband Satellite Digital Broadcasting Operational Regulations ARIB TR-B39 1.7 Third Edition, 3rd Volume", April 12, 2018 (Non-Patent Document 1), is used for CAS. A technique relating to reset of a CAS unit which is a module is disclosed. That is, in Non-Patent Document 1, when a CAS unit outputs a reset request to a control unit that controls the CAS unit, the CAS unit performs a reset in response to a reset command output from the control unit, and performs an ATR (Answer to Answer). (Reset) to the control unit, and that the control unit outputs a reset command to the CAS unit again after the processing waiting time included in the ATR has elapsed.

また、たとえば、一般社団法人 電波産業会、”デジタル放送におけるアクセス制御方式(第2世代)及びCASプログラムのダウンロード方式 ARIB STD−B61 1.4版”、平成30年4月12日(非特許文献2)には、制御部およびCAS部間で送受信されるコマンドの例が開示されている。   In addition, for example, the Association of Radio Industries and Businesses, “Access Control Method (2nd Generation) for Digital Broadcasting and Download Method of CAS Program ARIB STD-B61 1.4 Version”, Apr. 12, 2018 (Non-patent Literature) 2) discloses an example of a command transmitted and received between the control unit and the CAS unit.

また、たとえば、財団法人 日本規格協会、”情報技術 IDカード 接点付きICカード 第3部:電子信号及び伝送プロトコル”、1997年12月15日(非特許文献3)には、CAS部に採用されている通信プロトコルについて開示されている。   In addition, for example, the Japanese Standards Association, "Information Technology ID Card IC Card with Contact, Part 3: Electronic Signal and Transmission Protocol", adopted on December 15, 1997 (Non-Patent Document 3) by the CAS Department. Communication protocols are disclosed.

一般社団法人 電波産業会、”高度広帯域衛星デジタル放送運用規定 ARIB TR−B39 1.7版 第三分冊”、平成30年4月12日Japan Radio Industries Association, "Advanced Broadband Satellite Digital Broadcasting Operational Regulations ARIB TR-B39 1.7 Third Edition," April 12, 2018 一般社団法人 電波産業会、”デジタル放送におけるアクセス制御方式(第2世代)及びCASプログラムのダウンロード方式 ARIB STD−B61 1.4版”、平成30年4月12日The Association of Radio Industries and Businesses, "Access Control Method (2nd Generation) for Digital Broadcasting and Download Method of CAS Program ARIB STD-B61 1.4 Version", April 12, 2018 財団法人 日本規格協会、”情報技術 IDカード 接点付きICカード 第3部:電子信号及び伝送プロトコル”、1997年12月15日Japan Standards Association, "Information Technology ID Card IC Card with Contact Part 3: Electronic Signaling and Transmission Protocol", December 15, 1997

たとえば、CAS部が、自己のソフトウェアモジュールの更新を行うために、リセット要求を制御部へ出力したとする。この場合、制御部は、CAS部から受けたATRに含まれる処理待ち時間が経過した後にリセット命令をCAS部へ出力する。   For example, assume that the CAS unit outputs a reset request to the control unit in order to update its own software module. In this case, the control unit outputs a reset command to the CAS unit after a processing waiting time included in the ATR received from the CAS unit has elapsed.

しかしながら、当該処理待ち時間内にCAS部による更新処理が完了せず、更新処理が失敗する可能性が考えられる。   However, there is a possibility that the update process by the CAS unit is not completed within the process waiting time and the update process fails.

この発明は、上述の課題を解決するためになされたもので、その目的は、CAS部の安定した更新を実現することができる放送受信方法、放送受信装置および管理方法を提供することである。   The present invention has been made to solve the above-described problem, and an object of the present invention is to provide a broadcast receiving method, a broadcast receiving apparatus, and a management method that can realize stable updating of a CAS unit.

(1)上記課題を解決するために、この発明のある局面に係わる放送受信方法は、番組の情報を含む放送波を受信して復調し、前記番組の情報を含む復調データを生成し、前記復調データに含まれる暗号化された映像データを、鍵を用いて復号する放送受信装置における放送受信方法であって、前記放送受信装置は、前記復調データに含まれる暗号化された映像データを復号するための鍵を生成するCAS(Conditional Access System)部と、前記CAS部を制御するCAS制御部とを備え、前記CAS部が、リセット要求を前記CAS制御部へ出力するステップと、前記CAS制御部が、前記CAS部から前記リセット要求を受けて、リセット命令を前記CAS部へ出力するステップと、前記CAS部が、前記CAS制御部から受けた前記リセット命令に対するリセット応答であって時間情報を含むリセット応答を前記CAS制御部へ出力するステップと、
前記CAS制御部が、前記CAS部から前記リセット応答を受けて、前記時間情報に基づく処理待ち時間の経過後、リセット命令を前記CAS部へ出力するステップと、前記CAS部が、前記CAS制御部から前記リセット命令を受けて、自己の状態を示す状態情報を前記CAS制御部へ出力するステップと、前記CAS制御部が、前記CAS部から受けた前記状態情報に基づいて、前記CAS部の状態の更新に関するログ情報を作成するステップとを含む。
(1) In order to solve the above problem, a broadcast receiving method according to an aspect of the present invention receives and demodulates a broadcast wave including program information, generates demodulated data including the program information, What is claimed is: 1. A broadcast receiving method in a broadcast receiving device for decoding, using a key, encrypted video data included in demodulated data, wherein the broadcast receiving device decrypts the encrypted video data included in the demodulated data. A CAS (Conditional Access System) unit for generating a key for performing the above operation, and a CAS control unit for controlling the CAS unit, wherein the CAS unit outputs a reset request to the CAS control unit; Receiving the reset request from the CAS unit, and outputting a reset command to the CAS unit. And outputting a reset response including the time information a reset responsive to the CAS control unit with respect to the reset command received from the S control unit,
The CAS control unit receiving the reset response from the CAS unit and outputting a reset command to the CAS unit after a lapse of a processing waiting time based on the time information, the CAS unit comprising: Receiving the reset command from the CPU and outputting status information indicating its own status to the CAS control unit, wherein the CAS control unit determines the status of the CAS unit based on the status information received from the CAS unit. Creating log information related to the update of the file.

(5)上記課題を解決するために、この発明のある局面に係わる放送受信装置は、番組の情報を含む放送波を受信して復調し、前記番組の情報を含む復調データを出力する放送受信部と、前記復調データに含まれる暗号化された映像データを復号するための鍵を生成するCAS(Conditional Access System)部と、前記CAS部によって生成された前記鍵を用いて前記映像データを復号する復号化部と、前記CAS部を制御するCAS制御部とを備え、前記CAS部は、リセット要求を前記CAS制御部へ出力し、前記CAS制御部は、前記CAS部から前記リセット要求を受けて、リセット命令を前記CAS部へ出力し、前記CAS部は、前記CAS制御部から受けた前記リセット命令に対するリセット応答であって時間情報を含むリセット応答を前記CAS制御部へ出力し、前記CAS制御部は、前記CAS部から前記リセット応答を受けて、前記時間情報に基づく処理待ち時間の経過後、リセット命令を前記CAS部へ出力し、前記CAS部は、前記CAS制御部から前記リセット命令を受けて、自己の状態を示す状態情報を前記CAS制御部へ出力し、前記CAS制御部は、前記CAS部から受けた前記状態情報に基づいて、前記CAS部の状態の更新に関するログ情報を作成する。   (5) In order to solve the above problem, a broadcast receiving apparatus according to an aspect of the present invention receives and demodulates a broadcast wave including program information and outputs demodulated data including the program information. Unit, a CAS (Conditional Access System) unit that generates a key for decrypting the encrypted video data included in the demodulated data, and decrypts the video data using the key generated by the CAS unit. And a CAS control unit for controlling the CAS unit, wherein the CAS unit outputs a reset request to the CAS control unit, and the CAS control unit receives the reset request from the CAS unit. Outputs a reset command to the CAS unit, and the CAS unit receives a reset response to the reset command received from the CAS control unit. Outputs a reset response including time information to the CAS control unit.The CAS control unit receives the reset response from the CAS unit, and after a processing wait time based on the time information elapses, issues a reset command to the CAS control unit. The CAS unit receives the reset command from the CAS control unit, and outputs status information indicating its own state to the CAS control unit. The CAS control unit receives the reset command from the CAS unit. Based on the status information, log information relating to the update of the status of the CAS unit is created.

(6)上記課題を解決するために、この発明のある局面に係わる管理方法は、放送波に含まれる暗号化された映像データを復号するための鍵を生成するCAS部を備える放送受信装置の管理方法であって、複数の前記放送受信装置から、リセット命令を前記CAS部へ出力する際の処理待ち時間と、前記リセット命令を前記CAS部へ出力したことによる前記CAS部の状態の更新に関するログ情報との対応関係を示す対応情報を取得するステップと、取得した各前記対応情報に基づいて、前記処理待ち時間に関する管理情報を作成するステップと、作成した前記管理情報を1または複数の前記放送受信装置へ送信するステップとを含む。   (6) In order to solve the above problem, a management method according to an aspect of the present invention is directed to a broadcast receiving apparatus including a CAS unit that generates a key for decrypting encrypted video data included in a broadcast wave. A management method, which relates to a processing waiting time when outputting a reset command from the plurality of broadcast receiving devices to the CAS unit, and updating a state of the CAS unit by outputting the reset command to the CAS unit. A step of acquiring correspondence information indicating a correspondence relationship with log information; a step of creating management information relating to the processing waiting time based on each of the acquired correspondence information; Transmitting to the broadcast receiving device.

本発明は、このような特徴的な処理部を備える放送受信装置として実現することができるだけでなく、かかる特徴的な処理をコンピュータに実行させるためのプログラムとして実現することができる。また、本発明は、放送受信装置の一部又は全部を実現する半導体集積回路として実現したり、放送受信装置を含む放送受信システムとして実現したりすることができる。   The present invention can be realized not only as a broadcast receiving apparatus including such a characteristic processing unit, but also as a program for causing a computer to execute such characteristic processing. Further, the present invention can be realized as a semiconductor integrated circuit that realizes part or all of the broadcast receiving device, or as a broadcast receiving system including the broadcast receiving device.

本発明は、このような特徴的な処理をステップとする管理方法として実現することができるだけでなく、かかる特徴的な処理を行う処理部を備える管理装置として実現したり、かかる特徴的な処理をコンピュータに実行させるためのプログラムとして実現したりすることができる。また、本発明は、管理装置の一部又は全部を実現する半導体集積回路として実現したり、管理装置を含む管理システムとして実現したりすることができる。   The present invention can be realized not only as a management method having such a characteristic process as a step, but also as a management device including a processing unit for performing the characteristic process, or implementing the characteristic process. It can be realized as a program to be executed by a computer. Further, the present invention can be realized as a semiconductor integrated circuit that realizes a part or all of the management device, or can be realized as a management system including the management device.

本発明によれば、CAS部の安定した更新を実現することができる。   According to the present invention, stable updating of the CAS unit can be realized.

図1は、本発明の第1の実施の形態に係る放送受信システムの構成を示す図である。FIG. 1 is a diagram showing a configuration of a broadcast receiving system according to the first embodiment of the present invention. 図2は、本発明の第1の実施の形態に係る放送受信システムにおける放送受信装置の構成を示す図である。FIG. 2 is a diagram showing a configuration of the broadcast receiving device in the broadcast receiving system according to the first embodiment of the present invention. 図3は、本発明の第1の実施の形態に係る放送受信装置におけるCAS部の状態の更新を行う際の動作手順を定めたシーケンス図である。FIG. 3 is a sequence diagram defining an operation procedure when updating the state of the CAS unit in the broadcast receiving device according to the first embodiment of the present invention. 図4は、本発明の第1の実施の形態に係る放送受信装置におけるCAS制御部の動作手順を定めたフローチャートである。FIG. 4 is a flowchart that defines an operation procedure of the CAS control unit in the broadcast receiving device according to the first embodiment of the present invention. 図5は、本発明の第2の実施の形態に係る放送受信システムの構成を示す図である。FIG. 5 is a diagram illustrating a configuration of a broadcast receiving system according to the second embodiment of the present invention. 図6は、本発明の第2の実施の形態に係る放送受信システムにおける放送受信装置および管理装置の構成を示す図である。FIG. 6 is a diagram showing a configuration of a broadcast receiving device and a management device in the broadcast receiving system according to the second embodiment of the present invention. 図7は、本発明の第2の実施の形態に係る放送受信システムにおけるCAS部の状態の更新を行う際の動作手順を定めたシーケンス図である。FIG. 7 is a sequence diagram that defines an operation procedure when updating the state of the CAS unit in the broadcast receiving system according to the second embodiment of the present invention.

最初に、本発明の実施形態の内容を列記して説明する。   First, the contents of the embodiment of the present invention will be listed and described.

(1)本発明の実施の形態に係る放送受信方法は、番組の情報を含む放送波を受信して復調し、前記番組の情報を含む復調データを生成し、前記復調データに含まれる暗号化された映像データを、鍵を用いて復号する放送受信装置における放送受信方法であって、前記放送受信装置は、前記復調データに含まれる暗号化された映像データを復号するための鍵を生成するCAS(Conditional Access System)部と、前記CAS部を制御するCAS制御部とを備え、前記CAS部が、リセット要求を前記CAS制御部へ出力するステップと、前記CAS制御部が、前記CAS部から前記リセット要求を受けて、リセット命令を前記CAS部へ出力するステップと、前記CAS部が、前記CAS制御部から受けた前記リセット命令に対するリセット応答であって時間情報を含むリセット応答を前記CAS制御部へ出力するステップと、前記CAS制御部が、前記CAS部から前記リセット応答を受けて、前記時間情報に基づく処理待ち時間の経過後、リセット命令を前記CAS部へ出力するステップと、前記CAS部が、前記CAS制御部から前記リセット命令を受けて、自己の状態を示す状態情報を前記CAS制御部へ出力するステップと、前記CAS制御部が、前記CAS部から受けた前記状態情報に基づいて、前記CAS部の状態の更新に関するログ情報を作成するステップとを含む。   (1) In a broadcast receiving method according to an embodiment of the present invention, a broadcast wave including program information is received and demodulated, demodulated data including the program information is generated, and encryption included in the demodulated data is performed. A broadcast receiving method in a broadcast receiving device for decrypting the decoded video data using a key, wherein the broadcast receiving device generates a key for decrypting encrypted video data included in the demodulated data. A CAS (Conditional Access System) unit; and a CAS control unit that controls the CAS unit. The CAS unit outputs a reset request to the CAS control unit. Receiving the reset request and outputting a reset command to the CAS unit, wherein the CAS unit receives the reset command from the CAS control unit. Outputting a reset response including time information to the CAS control unit, wherein the CAS control unit receives the reset response from the CAS unit and waits for processing based on the time information. Outputting a reset command to the CAS unit after a lapse of time, and outputting the status information indicating its own status to the CAS control unit in response to the reset command from the CAS control unit. And a step in which the CAS control unit creates log information on an update of the state of the CAS unit based on the state information received from the CAS unit.

このように、リセット命令に対するCAS部の状態の更新に関するログ情報を作成する方法により、CAS部から指定される時間情報の良否に関わらず、当該ログ情報を活用してCAS部のリセット処理を適切に行うことができる。したがって、CAS部の安定した更新を実現することができる。   As described above, by the method of creating the log information related to the update of the state of the CAS unit in response to the reset instruction, regardless of whether the time information specified by the CAS unit is good or not, the reset processing of the CAS unit can be appropriately performed using the log information. Can be done. Therefore, stable updating of the CAS unit can be realized.

(2)好ましくは、前記放送受信方法は、さらに、前記CAS制御部が、過去に作成した前記ログ情報に基づいて、今回の前記リセット命令を出力する際の前記処理待ち時間を補正する補正処理を行うステップを含む。   (2) Preferably, in the broadcast receiving method, the CAS control unit further corrects the processing waiting time when the reset command is output this time based on the log information created in the past. Performing the following.

このように、過去のログ情報に基づいて処理待ち時間を補正する方法により、過去の更新実績に応じた適切な処理待ち時間を設定することができる。   As described above, by the method of correcting the processing waiting time based on the past log information, it is possible to set an appropriate processing waiting time according to the past update results.

(3)より好ましくは、前記補正処理を行うステップにおいては、前記CAS制御部が、前回作成した前記ログ情報が前記状態の不更新を示す場合、前回の前記処理待ち時間を延長した前記処理待ち時間を設定する。   (3) More preferably, in the step of performing the correction processing, the CAS control unit, when the log information created last time indicates that the state is not updated, the processing wait time extended from the previous processing wait time. Set the time.

このような方法により、前回の処理待ち時間が短いことが原因でCAS部の状態が更新されなかった場合、今回の処理待ち時間を延長してCAS部の状態が更新される可能性を高めることができる。   According to such a method, if the state of the CAS unit is not updated due to a short previous processing wait time, the current processing wait time is extended to increase the possibility that the state of the CAS unit is updated. Can be.

(4)好ましくは、前記放送受信方法は、さらに、前記CAS制御部が、管理装置から受信した前記処理待ち時間に関する管理情報に少なくとも基づいて、前記リセット命令を出力する際の前記処理待ち時間を決定するステップを含む。   (4) Preferably, in the broadcast receiving method, the CAS control unit further sets the processing waiting time when outputting the reset command based on at least management information on the processing waiting time received from a management device. Including the step of determining.

このように、複数の放送受信装置を管理する管理装置から受信した管理情報に基づいて処理待ち時間を決定する方法により、たとえば、放送受信装置において、他の放送受信装置におけるリセット処理の結果を反映したリセット処理を行うことができる。   As described above, according to the method of determining the processing waiting time based on the management information received from the management device that manages the plurality of broadcast receiving devices, for example, the broadcast receiving device reflects the result of the reset process in another broadcast receiving device. Reset processing can be performed.

(5)本発明の実施の形態に係る放送受信装置は、番組の情報を含む放送波を受信して復調し、前記番組の情報を含む復調データを出力する放送受信部と、前記復調データに含まれる暗号化された映像データを復号するための鍵を生成するCAS(Conditional Access System)部と、前記CAS部によって生成された前記鍵を用いて前記映像データを復号する復号化部と、前記CAS部を制御するCAS制御部とを備え、前記CAS部は、リセット要求を前記CAS制御部へ出力し、前記CAS制御部は、前記CAS部から前記リセット要求を受けて、リセット命令を前記CAS部へ出力し、前記CAS部は、前記CAS制御部から受けた前記リセット命令に対するリセット応答であって時間情報を含むリセット応答を前記CAS制御部へ出力し、前記CAS制御部は、前記CAS部から前記リセット応答を受けて、前記時間情報に基づく処理待ち時間の経過後、リセット命令を前記CAS部へ出力し、前記CAS部は、前記CAS制御部から前記リセット命令を受けて、自己の状態を示す状態情報を前記CAS制御部へ出力し、前記CAS制御部は、前記CAS部から受けた前記状態情報に基づいて、前記CAS部の状態の更新に関するログ情報を作成する。   (5) A broadcast receiving apparatus according to an embodiment of the present invention receives and demodulates a broadcast wave including program information, and outputs a demodulated data including the program information. A CAS (Conditional Access System) section for generating a key for decoding the encrypted video data included therein, a decoding section for decoding the video data using the key generated by the CAS section, A CAS control unit for controlling a CAS unit. The CAS unit outputs a reset request to the CAS control unit. The CAS control unit receives the reset request from the CAS unit and issues a reset command to the CAS. The CAS unit outputs a reset response to the reset command received from the CAS control unit, the reset response including time information. The CAS control unit receives the reset response from the CAS unit, outputs a reset command to the CAS unit after a lapse of a processing waiting time based on the time information, and outputs the reset command to the CAS unit. The CAS unit receives the reset command from the CAS control unit, outputs state information indicating its own state to the CAS control unit, and the CAS control unit performs, based on the state information received from the CAS unit, Then, log information relating to the update of the state of the CAS unit is created.

このように、リセット命令に対するCAS部の状態の更新に関するログ情報を作成する構成により、CAS部から指定される時間情報の良否に関わらず、当該ログ情報を活用してCAS部のリセット処理を適切に行うことができる。したがって、CAS部の安定した更新を実現することができる。   As described above, the configuration in which the log information relating to the update of the state of the CAS unit in response to the reset instruction is generated enables the reset processing of the CAS unit to be appropriately performed using the log information regardless of whether the time information specified by the CAS unit is good or not. Can be done. Therefore, stable updating of the CAS unit can be realized.

(6)本発明の実施の形態に係る管理方法は、放送波に含まれる暗号化された映像データを復号するための鍵を生成するCAS部を備える放送受信装置の管理方法であって、複数の前記放送受信装置から、リセット命令を前記CAS部へ出力する際の処理待ち時間と、前記リセット命令を前記CAS部へ出力したことによる前記CAS部の状態の更新に関するログ情報との対応関係を示す対応情報を取得するステップと、取得した各前記対応情報に基づいて、前記処理待ち時間に関する管理情報を作成するステップと、作成した前記管理情報を1または複数の前記放送受信装置へ送信するステップとを含む。   (6) A management method according to an embodiment of the present invention is a management method for a broadcast receiving apparatus including a CAS unit that generates a key for decrypting encrypted video data included in a broadcast wave. From the broadcast receiving apparatus, a processing wait time when outputting a reset command to the CAS unit, and a corresponding relationship between log information relating to updating of the state of the CAS unit by outputting the reset command to the CAS unit. Acquiring correspondence information, creating management information on the processing waiting time based on each acquired correspondence information, and transmitting the created management information to one or more broadcast receiving devices. And

このように、各放送受信装置へ処理待ち時間に関する管理情報を送信する方法により、各放送受信装置において、CAS部から指定される時間情報の良否に関わらず、当該管理情報を活用してCAS部のリセット処理を適切に行うことができる。したがって、CAS部の安定した更新を実現することができる。   In this way, the method of transmitting the management information regarding the processing waiting time to each broadcast receiving apparatus allows each broadcast receiving apparatus to use the CAS information by using the management information regardless of whether the time information specified by the CAS section is good or not. Can be appropriately performed. Therefore, stable updating of the CAS unit can be realized.

また、管理装置において各放送受信装置から送信された対応情報に基づいて管理情報を作成する方法により、たとえば、放送受信装置において、他の放送受信装置におけるリセット処理の結果を反映したリセット処理を行うことができる。   Further, for example, the broadcast receiving device performs a reset process that reflects a result of the reset process in another broadcast receiving device by a method in which the management device creates management information based on the correspondence information transmitted from each broadcast receiving device. be able to.

以下、本発明の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。また、以下に記載する実施の形態の少なくとも一部を任意に組み合わせてもよい。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings, the same or corresponding portions have the same reference characters allotted, and description thereof will not be repeated. Further, at least some of the embodiments described below may be arbitrarily combined.

<第1の実施の形態>
[構成および基本動作]
(放送受信システム)
図1は、本発明の第1の実施の形態に係る放送受信システムの構成を示す図である。
<First embodiment>
[Configuration and basic operation]
(Broadcast receiving system)
FIG. 1 is a diagram showing a configuration of a broadcast receiving system according to the first embodiment of the present invention.

図1を参照して、放送受信システム201は、放送受信装置101と、放送装置121と、表示装置151とを備える。放送受信システム201は、高度BS(Broadcast Satellite)および高度CS(Communication Satellite)等の高度広帯域衛星デジタル放送を提供する。   Referring to FIG. 1, broadcast receiving system 201 includes broadcast receiving device 101, broadcast device 121, and display device 151. The broadcast receiving system 201 provides advanced broadband satellite digital broadcasting such as advanced BS (Broadcast Satellite) and advanced CS (Communication Satellite).

放送受信装置101には、たとえばアンテナ141および表示装置151が接続されている。なお、放送受信装置101は、アンテナ141および表示装置151の少なくともいずれか一方を備える構成であってもよい。   For example, an antenna 141 and a display device 151 are connected to the broadcast receiving device 101. Note that the broadcast receiving device 101 may have a configuration including at least one of the antenna 141 and the display device 151.

図1では、1組の放送受信装置101および表示装置151を示しているが、放送受信システム201は、複数の組の放送受信装置101および表示装置151を備える構成であってもよい。   Although FIG. 1 illustrates one set of the broadcast receiving device 101 and the display device 151, the broadcast receiving system 201 may have a configuration including a plurality of sets of the broadcast receiving device 101 and the display device 151.

放送受信装置101は、たとえば、STB(Set Top Box)であり、番組の情報が複数のパケットに分割されたストリームを含む放送波BWを受信する。より詳細には、放送受信装置101は、たとえば、放送局における放送装置121からのストリームを中継するための放送衛星173から送信された放送波BWを、アンテナ141経由で受信し、表示装置151においてコンテンツを再生する。   The broadcast receiving apparatus 101 is, for example, an STB (Set Top Box), and receives a broadcast wave BW including a stream in which program information is divided into a plurality of packets. More specifically, the broadcast receiving apparatus 101 receives, for example, a broadcast wave BW transmitted from a broadcast satellite 173 for relaying a stream from the broadcast apparatus 121 in a broadcast station via an antenna 141, and Play content.

ストリームは、たとえば、音声情報、映像情報、EPG(Electronic Program Guide)情報、字幕情報およびSI情報(Service Information)等を含む。   The stream includes, for example, audio information, video information, EPG (Electronic Program Guide) information, subtitle information, SI information (Service Information), and the like.

(放送受信装置)
図2は、本発明の第1の実施の形態に係る放送受信システムにおける放送受信装置の構成を示す図である。
(Broadcast receiver)
FIG. 2 is a diagram showing a configuration of the broadcast receiving device in the broadcast receiving system according to the first embodiment of the present invention.

図2を参照して、放送受信装置101は、放送受信部11と、処理部12と、CAS部13と、記憶部14とを備える。処理部12は、CAS部13を制御するCAS制御部21と、復号化部22とを含む。   Referring to FIG. 2, broadcast receiving apparatus 101 includes a broadcast receiving unit 11, a processing unit 12, a CAS unit 13, and a storage unit 14. The processing unit 12 includes a CAS control unit 21 that controls the CAS unit 13 and a decoding unit 22.

放送受信部11は、番組の情報を含む放送波BWをアンテナ141経由で受信して復調し、当該番組の情報を含む復調データを処理部12へ出力する。ここでは、放送受信部11から出力される復調データは、暗号化されたデータを含む。   The broadcast receiving unit 11 receives and demodulates a broadcast wave BW including program information via the antenna 141, and outputs demodulated data including the program information to the processing unit 12. Here, demodulated data output from broadcast receiving section 11 includes encrypted data.

処理部12におけるCAS制御部21は、放送受信部11から出力された復調データを受ける。そして、CAS制御部21は、当該復調データに含まれる暗号化されたデータを復号するためのECM(Entitlement Control Message)を、放送受信部11から受けた復調データから抽出する。   The CAS control unit 21 in the processing unit 12 receives the demodulated data output from the broadcast receiving unit 11. Then, the CAS control unit 21 extracts an ECM (Entitlement Control Message) for decrypting the encrypted data included in the demodulated data from the demodulated data received from the broadcast receiving unit 11.

ECMは、番組に関する情報、番組の視聴可否に関する情報、および暗号化されたデータを復号するためのスクランブル鍵Ksなどを含む。そして、CAS制御部21は、抽出したECMをCAS部13へ出力する。ECMは、CAS制御部21からCAS部13へ出力されるコマンドの一例である。   The ECM includes information on the program, information on whether the program can be viewed, and a scramble key Ks for decrypting the encrypted data. Then, the CAS control unit 21 outputs the extracted ECM to the CAS unit 13. The ECM is an example of a command output from the CAS control unit 21 to the CAS unit 13.

CAS部13は、処理部12とは異なるCPU(Central Processing Unit)等の半導体集積回路で実現される。CAS部13は、CAS制御部21から出力されたECMを受けて、スクランブル鍵Ksを生成する。   The CAS unit 13 is realized by a semiconductor integrated circuit such as a CPU (Central Processing Unit) different from the processing unit 12. The CAS unit 13 receives the ECM output from the CAS control unit 21 and generates a scramble key Ks.

より詳細には、CAS部13は、自己の保持する、CAS部13に固有のマスタ鍵Kmを用いて、CAS制御部21から受けたECMに含まれるスクランブル鍵Ksを取得し、取得したスクランブル鍵Ksを含む鍵データをCAS制御部21へ出力する。鍵データは、CAS制御部21からのコマンドに対するコマンド応答の一例である。   More specifically, the CAS unit 13 acquires the scramble key Ks included in the ECM received from the CAS control unit 21 by using the master key Km unique to the CAS unit 13 that the CAS unit 13 holds, and acquires the acquired scramble key. The key data including Ks is output to the CAS control unit 21. The key data is an example of a command response to a command from the CAS control unit 21.

CAS制御部21は、CAS部13から出力された鍵データを受けて、当該鍵データを復号化部22へ出力する。   The CAS control unit 21 receives the key data output from the CAS unit 13 and outputs the key data to the decryption unit 22.

復号化部22は、CAS制御部21から出力された鍵データを受けて、当該鍵データに含まれるスクランブル鍵Ksを用いて、放送受信部11から受けた復調データに含まれるデータを復号する。そして、復号化部22は、復号後のデータを表示装置151へ送信することにより、表示装置151において番組を再生する。   The decryption unit 22 receives the key data output from the CAS control unit 21 and decrypts the data included in the demodulated data received from the broadcast reception unit 11 using the scramble key Ks included in the key data. Then, the decoding unit 22 reproduces the program on the display device 151 by transmitting the decoded data to the display device 151.

CAS制御部21は、ECMのCAS部13への出力を定期的または不定期に行う。CAS制御部21から新たに出力されるECMには、たとえば、更新されたスクランブル鍵Ksが含まれる。   The CAS control unit 21 outputs the ECM to the CAS unit 13 regularly or irregularly. The ECM newly output from the CAS control unit 21 includes, for example, an updated scramble key Ks.

CAS部13は、CAS部13からECMを受けるたびに、新たに受けたECMによりスクランブル鍵Ksを生成し、生成したスクランブル鍵Ksを含む鍵データをCAS制御部21へ出力する。   Each time the CAS unit 13 receives an ECM from the CAS unit 13, the CAS unit 13 generates a scramble key Ks based on the newly received ECM, and outputs key data including the generated scramble key Ks to the CAS control unit 21.

また、CAS制御部21は、たとえば自己の放送受信装置101の電源がオフからオンに切り替わった場合、CAS部13の状態を示す状態情報をCAS部13に要求する。   Further, for example, when the power of its own broadcast receiving apparatus 101 is switched from off to on, the CAS control unit 21 requests the CAS unit 13 for state information indicating the state of the CAS unit 13.

CAS部13は、CAS制御部21からの状態情報の要求を受けると、状態情報をCAS制御部21へ出力する。状態情報は、たとえば、CAS部13に採用されている通信規格を示すシステムID(Identification)、CAS部13の種別、CAS部13のバージョン、およびCAS部13のID等を含む。   When receiving the request for the status information from the CAS control unit 21, the CAS unit 13 outputs the status information to the CAS control unit 21. The status information includes, for example, a system ID (Identification) indicating a communication standard adopted by the CAS unit 13, a type of the CAS unit 13, a version of the CAS unit 13, an ID of the CAS unit 13, and the like.

CAS制御部21は、CAS部13から出力された状態情報を受けて、当該状態情報を、記憶部14に保存されている状態情報DB(Data Base)25に追加する。CAS制御部21は、状態情報DB25に状態情報が登録済である場合、当該状態情報を更新する。   The CAS control unit 21 receives the state information output from the CAS unit 13 and adds the state information to a state information DB (Data Base) 25 stored in the storage unit 14. When the state information has been registered in the state information DB 25, the CAS control unit 21 updates the state information.

また、CAS制御部21は、ECMとともに、たとえば、CAS部13のソフトウェアモジュールの更新に用いられる更新情報の一部(以下、「断片更新情報」と称する。)をCAS部13へ順次出力する。   In addition, the CAS control unit 21 sequentially outputs, to the CAS unit 13, a part of update information used for updating the software module of the CAS unit 13 (hereinafter, referred to as "fragment update information") together with the ECM.

CAS部13は、たとえば、CAS制御部21から複数の断片更新情報を受けて更新情報の全部を取得すると、リセット要求をCAS制御部21へ出力する。   For example, upon receiving a plurality of pieces of fragment update information from the CAS control unit 21 and acquiring all of the update information, the CAS unit 13 outputs a reset request to the CAS control unit 21.

CAS制御部21は、CAS部13から出力されたリセット要求を受けると、自己の放送受信装置101の状態を確認する。そして、CAS制御部21は、たとえば、放送受信装置101がスタンバイ状態である場合など、放送装置121からの放送波BWを処理していない状態において、リセットを指示するリセット命令R1をCAS部13へ出力する。   When receiving the reset request output from the CAS unit 13, the CAS control unit 21 checks the state of its own broadcast receiving apparatus 101. Then, for example, when the broadcast receiving apparatus 101 is in a standby state, for example, when the broadcast wave BW from the broadcast apparatus 121 is not being processed, the CAS control section 21 sends the CAS section 13 a reset command R1 for instructing a reset. Output.

このように、CAS制御部21が自己の放送受信装置101の状態を確認したうえでリセット命令R1をCAS部13へ出力する構成により、番組の再生処理等が中断されることを避けることができる。   As described above, the configuration in which the CAS control unit 21 outputs the reset command R1 to the CAS unit 13 after confirming the state of the own broadcast receiving apparatus 101 can prevent interruption of the program reproduction processing and the like. .

CAS部13は、CAS制御部21から出力されたリセット命令R1を受けると、リセット命令R1に対するリセット応答であって時間情報を含むATR(Anser To Reset)をCAS制御部21へ出力する。そして、CAS部13は、CAS制御部21から受けた更新情報を用いて、ソフトウェアモジュールの更新処理を開始する。   When receiving the reset command R1 output from the CAS control unit 21, the CAS unit 13 outputs to the CAS control unit 21 an ATR (Ansor To Reset) which is a reset response to the reset command R1 and includes time information. Then, the CAS unit 13 starts the update processing of the software module using the update information received from the CAS control unit 21.

CAS制御部21は、CAS部13から出力されたATRを受けて、当該ATRに含まれる時間情報に基づく処理待ち時間の経過後、リセットを指示するリセット命令R2をCAS部13へ出力する。   Upon receiving the ATR output from the CAS unit 13, the CAS control unit 21 outputs a reset command R2 for instructing a reset to the CAS unit 13 after a lapse of a processing waiting time based on time information included in the ATR.

CAS部13は、CAS制御部21から出力されたリセット命令R2を受けた後、CAS制御部21からの状態情報の要求を受けると、自己の状態を示す状態情報をCAS制御部21へ出力し、自己をリセットする。   When receiving a request for state information from the CAS control unit 21 after receiving the reset command R2 output from the CAS control unit 21, the CAS unit 13 outputs state information indicating its own state to the CAS control unit 21. Reset itself.

ここで、ATRに含まれる時間情報は、CAS制御部21がリセット命令R2を出力する際の処理待ち時間Nを示す。処理待ち時間Nは、たとえば規格により定められた時間である。これに対して、CAS部13によるソフトウェアモジュールの更新に要する時間は、CAS部13の個体差などに起因して特定することが困難である。   Here, the time information included in the ATR indicates the processing waiting time N when the CAS control unit 21 outputs the reset command R2. The processing waiting time N is, for example, a time defined by a standard. On the other hand, it is difficult to specify the time required for updating the software module by the CAS unit 13 due to individual differences of the CAS unit 13 and the like.

このため、CAS部13においてCAS制御部21からのリセット命令R2を受けるタイミングにおいて、CAS部13による更新処理が完了していない可能性がある。この場合、CAS部13がリセット命令R2を受けて自己をリセットしても更新処理は失敗し、CAS部13の状態は不更新となる。そして、この場合、CAS部13は、たとえばCAS制御部21からの新たなECMをトリガとして再度リセット要求をCAS制御部21へ出力する。   Therefore, at the timing when the CAS unit 13 receives the reset command R2 from the CAS control unit 21, the update process by the CAS unit 13 may not be completed. In this case, even if the CAS unit 13 resets itself in response to the reset command R2, the update process fails, and the state of the CAS unit 13 is not updated. Then, in this case, the CAS unit 13 outputs a reset request to the CAS control unit 21 again using, for example, a new ECM from the CAS control unit 21 as a trigger.

しかしながら、CAS部13によりリセットが行われている間は番組の再生処理等を行うことができないため、CAS部13によるリセットが行われる回数が抑制されることが望まれる。そこで、CAS制御部21は、ATRに含まれる時間情報の示す処理待ち時間Nを補正する補正処理を行う。   However, since the program cannot be played back while the CAS unit 13 is resetting, it is desired that the number of times the CAS unit 13 performs resetting be suppressed. Therefore, the CAS control unit 21 performs a correction process for correcting the processing waiting time N indicated by the time information included in the ATR.

(CAS制御部による補正処理)
詳細には、CAS制御部21は、CAS部13から出力された状態情報を受けて、当該状態情報に基づいて、CAS部13の状態の更新に関するログ情報を作成する。
(Correction processing by CAS control unit)
Specifically, the CAS control unit 21 receives the status information output from the CAS unit 13 and creates log information relating to the update of the status of the CAS unit 13 based on the status information.

より詳細には、CAS制御部21は、CAS部13から新たに受けた状態情報と、状態情報DB25に登録済の状態情報とを比較することにより、CAS部13の状態の判定、すなわちCAS部13による更新処理が成功したか否かの判定を行う。   More specifically, the CAS control unit 21 determines the state of the CAS unit 13 by comparing the state information newly received from the CAS unit 13 with the state information registered in the state information DB 25, that is, the CAS unit. It is determined whether or not the update process by S13 is successful.

具体的には、CAS制御部21は、たとえば、新たに受けた状態情報の示すシステムID、種別およびバージョンのうちの少なくともいずれか1つが、それぞれ対応する、状態情報DB25に登録済の状態情報の示すシステムID、種別およびバージョンと異なる場合、CAS部13の状態が更新された、すなわちCAS部13による更新処理が成功したと判定する。   Specifically, for example, the CAS control unit 21 determines whether at least one of the system ID, the type, and the version indicated by the newly received status information corresponds to the status information registered in the status information DB 25. When it is different from the indicated system ID, type, and version, it is determined that the state of the CAS unit 13 has been updated, that is, the update process by the CAS unit 13 has been successful.

一方、CAS制御部21は、たとえば、新たに受けた状態情報の示すシステムID、種別およびバージョンが、それぞれ対応する、状態情報DB25に登録済の状態情報の示すシステムID、種別およびバージョンと同じである場合、CAS部13の状態が不更新である、すなわちCAS部13による更新処理が失敗したと判定する。   On the other hand, for example, the CAS control unit 21 determines that the system ID, type, and version indicated by the newly received status information are the same as the corresponding system ID, type, and version indicated by the status information registered in the status information DB 25. In some cases, it is determined that the status of the CAS unit 13 is not updated, that is, the update process by the CAS unit 13 has failed.

そして、CAS制御部21は、判定結果を示すログ情報を、記憶部14におけるログ情報DB26に追加する。   Then, the CAS control unit 21 adds the log information indicating the determination result to the log information DB 26 in the storage unit 14.

なお、CAS制御部21は、CAS部13の状態の不更新を示すログ情報のみをログ情報DB26に追加し、CAS部13の状態が更新された旨のログ情報をログ情報DB26に追加しない構成であってもよい。   Note that the CAS control unit 21 adds only log information indicating that the state of the CAS unit 13 has not been updated to the log information DB 26 and does not add log information indicating that the state of the CAS unit 13 has been updated to the log information DB 26. It may be.

また、CAS部13から出力される状態情報は、CAS部13のシステムID等に限らず、たとえば、CAS部13の状態の更新または不更新を示す情報であってもよい。この場合、CAS制御部21は、CAS部13から受けた状態情報の示す内容を判定結果として、当該判定結果を示すログ情報をログ情報DB26に追加する。   Further, the status information output from the CAS unit 13 is not limited to the system ID of the CAS unit 13 and the like, and may be, for example, information indicating whether the status of the CAS unit 13 is updated or not updated. In this case, the CAS control unit 21 uses the content indicated by the state information received from the CAS unit 13 as a determination result and adds log information indicating the determination result to the log information DB 26.

CAS制御部21は、ログ情報を作成し、作成したログ情報をログ情報DB26に登録した状態において、リセット命令R2をCAS部13へ出力する際の処理待ち時間を、過去に作成したログ情報に基づいて補正する補正処理を行う。   The CAS control unit 21 creates the log information and, in a state where the created log information is registered in the log information DB 26, sets the processing waiting time when outputting the reset instruction R2 to the CAS unit 13 to the log information created in the past. A correction process for performing correction based on the correction is performed.

(a)例1
ここでは、CAS制御部21により前回作成されたログ情報が、CAS部13の状態の不更新を示すとする。この場合、CAS制御部21は、CAS部13から再びリセット要求を受けてリセット命令R1を送信した後、補正処理において、CAS部13から受けたATRに含まれる時間情報の示す処理待ち時間Nを延長した処理待ち時間を設定する。
(A) Example 1
Here, it is assumed that the log information created last time by the CAS control unit 21 indicates that the state of the CAS unit 13 is not updated. In this case, after receiving the reset request again from the CAS unit 13 and transmitting the reset command R1, the CAS control unit 21 sets the processing waiting time N indicated by the time information included in the ATR received from the CAS unit 13 in the correction process. Set an extended processing wait time.

具体的には、CAS制御部21は、たとえば、時間情報の示す処理待ち時間Nが10秒である場合、延長時間αを2秒と決定し、処理待ち時間として12秒を設定する。そして、CAS制御部21は、ATRを受けたタイミングから12秒経過したタイミングにおいて、リセット命令R2をCAS部13へ出力する。   Specifically, for example, when the processing waiting time N indicated by the time information is 10 seconds, the CAS control unit 21 determines the extension time α to be 2 seconds and sets 12 seconds as the processing waiting time. Then, the CAS control unit 21 outputs a reset command R2 to the CAS unit 13 at a timing 12 seconds after the timing at which the ATR is received.

(b)例2
CAS制御部21は、CAS部13の状態が不更新であると連続して判定した回数を示すログ情報を、ログ情報DB26に登録する構成であってもよい。この場合、CAS制御部21は、CAS部13の状態が不更新であると判定するたびに、ログ情報DB26に登録されているログ情報の示すカウント値をインクリメントする。そして、CAS制御部21は、CAS部13の状態が更新されたと判定した場合、ログ情報DB26に登録されているログ情報の示すカウント値をゼロに変更する。
(B) Example 2
The CAS control unit 21 may be configured to register the log information indicating the number of times that the state of the CAS unit 13 is continuously determined to be not updated in the log information DB 26. In this case, each time the CAS control unit 21 determines that the state of the CAS unit 13 is not updated, the CAS control unit 21 increments the count value indicated by the log information registered in the log information DB 26. When the CAS control unit 21 determines that the state of the CAS unit 13 has been updated, the CAS control unit 21 changes the count value indicated by the log information registered in the log information DB 26 to zero.

この場合、CAS制御部21は、補正処理において、ログ情報の示すカウント値に応じて時間情報の示す処理待ち時間Nを延長した処理待ち時間を設定する。   In this case, in the correction process, the CAS control unit 21 sets a processing waiting time obtained by extending the processing waiting time N indicated by the time information according to the count value indicated by the log information.

たとえば、ログ情報の示すカウント値が第1閾値以上かつ第2閾値未満である場合、次にリセット命令R2を出力する際の延長時間αを2秒と決定し、処理待ち時間として12秒を設定する。   For example, when the count value indicated by the log information is equal to or more than the first threshold value and less than the second threshold value, the extension time α when the next reset instruction R2 is output is determined to be 2 seconds, and the processing waiting time is set to 12 seconds. I do.

また、CAS制御部21は、たとえば、ログ情報の示すカウント値が第2閾値以上である場合、次にリセット命令R2を出力する際の延長時間αを4秒と決定し、処理待ち時間として14秒を設定する。   Further, for example, when the count value indicated by the log information is equal to or larger than the second threshold value, the CAS control unit 21 determines the extension time α when the next reset instruction R2 is output to be 4 seconds, and sets the processing waiting time to 14 seconds. Set the seconds.

(c)例3
CAS制御部21は、CAS部13の状態が更新されたと判定した場合における、延長時間αまたは処理待ち時間そのものを示すログ情報をログ情報DB26に登録する構成であってもよい。
(C) Example 3
The CAS control unit 21 may be configured to register log information indicating the extended time α or the processing waiting time itself in the log information DB 26 when it is determined that the state of the CAS unit 13 has been updated.

たとえば、CAS部13の状態が更新されたと判定した場合における延長時間αが2秒であることを示すログ情報がログ情報DB26に登録されているとする。この場合、CAS制御部21は、次にリセット命令R2を出力する際の延長時間αを2秒と決定し、処理待ち時間として12秒を設定する。   For example, it is assumed that log information indicating that the extended time α is 2 seconds when the state of the CAS unit 13 is updated is registered in the log information DB 26. In this case, the CAS control unit 21 determines that the extension time α when the next reset instruction R2 is output is 2 seconds, and sets 12 seconds as the processing waiting time.

なお、CAS制御部21は、上述した例1〜例3のいずれの場合においても、延長時間αが所定の上限値を超えないように決定する構成であってもよい。たとえば、CAS制御部21は、補正処理において、前回の処理待ち時間を延長した場合に上限値を超える場合、当該上限値を今回の処理待ち時間として設定する。これにより、CAS部13に異常が生じている等の原因によりCAS部13の状態が「不更新」である場合において、処理待ち時間が増大することを防ぐことができる。   The CAS control unit 21 may be configured to determine the extension time α so as not to exceed the predetermined upper limit value in any of the above-described examples 1 to 3. For example, in the correction processing, when the previous processing waiting time is extended and exceeds the upper limit value, the CAS control unit 21 sets the upper limit value as the current processing waiting time. As a result, it is possible to prevent an increase in the processing waiting time when the state of the CAS unit 13 is “not updated” due to a cause such as an abnormality in the CAS unit 13.

また、CAS制御部21は、過去に作成したログ情報に基づいて処理待ち時間の補正処理を行う構成に限らず、過去に作成したログ情報をCAS部13のリセット処理に関する他の何らかの処理に利用する構成であってもよい。   Further, the CAS control unit 21 is not limited to the configuration in which the processing waiting time is corrected based on the log information created in the past, but uses the log information created in the past for some other processing related to the reset processing of the CAS unit 13. The configuration may be as follows.

また、CAS制御部21により作成されたログ情報は、必ずしも放送受信装置101において利用されなくてもよい。   Further, the log information created by the CAS control unit 21 does not necessarily have to be used in the broadcast receiving apparatus 101.

[動作の流れ]
放送受信システム201における各装置は、メモリを含むコンピュータを備え、当該コンピュータにおけるCPU等の演算処理部は、以下のシーケンス図およびフローチャートの各ステップの一部または全部を含むプログラムを当該メモリからそれぞれ読み出して実行する。これら複数の装置のプログラムは、それぞれ、外部からインストールすることができる。これら複数の装置のプログラムは、それぞれ、記録媒体に格納された状態で流通する。
[Flow of operation]
Each device in the broadcast receiving system 201 includes a computer including a memory, and an arithmetic processing unit such as a CPU in the computer reads a program including a part or all of each step of the following sequence diagram and flowchart from the memory. Run. Each of the programs of the plurality of devices can be externally installed. The programs of the plurality of devices are distributed while being stored in a recording medium.

(CAS制御部およびCAS部間の情報の送受信)
図3は、本発明の第1の実施の形態に係る放送受信装置におけるCAS部の状態の更新を行う際の動作手順を定めたシーケンス図である。
(Transmission of information between the CAS control unit and the CAS unit)
FIG. 3 is a sequence diagram defining an operation procedure when updating the state of the CAS unit in the broadcast receiving device according to the first embodiment of the present invention.

ここでは、CAS制御部21は、CAS部13から受けた状態情報を状態情報DB25に登録済であるとする。   Here, it is assumed that the CAS control unit 21 has already registered the state information received from the CAS unit 13 in the state information DB 25.

図2および図3を参照して、まず、CAS制御部21は、放送受信部11から出力された復調データを受けて、当該復調データからECMを抽出する(ステップS11)。   Referring to FIGS. 2 and 3, first, CAS control unit 21 receives demodulated data output from broadcast receiving unit 11, and extracts an ECM from the demodulated data (step S11).

次に、CAS制御部21は、抽出したECM、および断片更新情報をCAS部13へ出力する(ステップS12)。   Next, the CAS control unit 21 outputs the extracted ECM and fragment update information to the CAS unit 13 (Step S12).

次に、CAS部13は、CAS制御部21から出力されたECMおよび断片更新情報を受けて、スクランブル鍵Ksを生成し、生成したスクランブル鍵Ksを含む鍵データを、受信したコマンド、すなわちECMに対するコマンド応答としてCAS制御部21へ出力する(ステップS13)。CAS制御部21およびCAS部13は、ステップS11〜ステップS13の動作を定期的または不定期に行う。   Next, the CAS unit 13 receives the ECM and fragment update information output from the CAS control unit 21, generates a scramble key Ks, and transmits key data including the generated scramble key Ks to the received command, that is, the ECM. The command is output to the CAS control unit 21 as a command response (step S13). The CAS control unit 21 and the CAS unit 13 perform the operations in steps S11 to S13 periodically or irregularly.

次に、CAS部13は、たとえば、CAS制御部21から出力された複数の断片更新情報を受けることにより更新情報の全部を取得すると(ステップS14)、コマンド応答としてリセット要求をCAS制御部21へ出力する(ステップS15)。   Next, when the CAS unit 13 acquires all pieces of update information, for example, by receiving a plurality of fragment update information output from the CAS control unit 21 (step S14), the CAS unit 13 sends a reset request to the CAS control unit 21 as a command response. Output (Step S15).

次に、CAS制御部21は、CAS部13から出力されたリセット要求を受けると、自己の放送受信装置101の状態を確認する(ステップS16)。   Next, upon receiving the reset request output from the CAS unit 13, the CAS control unit 21 checks the state of its own broadcast receiving apparatus 101 (step S16).

次に、CAS制御部21は、たとえば、放送受信装置101がスタンバイ状態である場合など、放送波BWを処理していない場合、CAS部13へリセット命令R1を出力する(ステップS17)。   Next, when the broadcast receiving apparatus 101 is not processing the broadcast wave BW, for example, when the broadcast receiving apparatus 101 is in a standby state, the CAS control section 21 outputs a reset command R1 to the CAS section 13 (step S17).

次に、CAS部13は、CAS制御部21から出力されたリセット命令R1を受けると、リセット命令R1に対するリセット応答であって時間情報を含むATRをCAS制御部21へ出力する(ステップS18)。   Next, upon receiving the reset command R1 output from the CAS control unit 21, the CAS unit 13 outputs to the CAS control unit 21 an ATR that is a reset response to the reset command R1 and includes time information (step S18).

次に、CAS部13は、CAS制御部21から受けた更新情報を用いて、ソフトウェアモジュールの更新処理を開始する(ステップS19)。   Next, the CAS unit 13 starts an update process of the software module using the update information received from the CAS control unit 21 (Step S19).

次に、CAS制御部21は、CAS部13から出力されたATRを受けて、当該ATRに含まれる時間情報に基づいて処理待ち時間を設定する。   Next, the CAS control unit 21 receives the ATR output from the CAS unit 13, and sets a processing waiting time based on time information included in the ATR.

より詳細には、CAS制御部21は、ログ情報DB26に登録されているログ情報を確認する。そして、CAS制御部21は、たとえば、前回作成したログ情報がCAS部13の状態の不更新を示す場合、時間情報の示す処理待ち時間Nに延長時間αである2秒を追加した時間を、次にリセット命令R2を出力する際の処理待ち時間として設定する補正処理を行う。   More specifically, the CAS control unit 21 checks the log information registered in the log information DB 26. Then, for example, when the log information created last time indicates that the state of the CAS unit 13 is not updated, the CAS control unit 21 calculates a time obtained by adding 2 seconds which is the extension time α to the processing waiting time N indicated by the time information, Next, a correction process for setting a processing wait time when outputting the reset instruction R2 is performed.

なお、CAS制御部21は、ログ情報DB26にログ情報が登録されていない場合、時間情報の示す処理待ち時間Nを、次にリセット命令R2を出力する際の処理待ち時間として設定する(ステップS20)。   When the log information is not registered in the log information DB 26, the CAS control unit 21 sets the processing waiting time N indicated by the time information as the processing waiting time when the next reset instruction R2 is output (step S20). ).

次に、CAS制御部21は、ATRを受けたタイミングから、設定した処理待ち時間が経過したタイミングにおいて、リセット命令R2をCAS部13へ出力する(ステップS21)。   Next, the CAS control unit 21 outputs a reset command R2 to the CAS unit 13 at a timing when the set processing waiting time has elapsed from the timing at which the ATR was received (step S21).

次に、CAS部13は、CAS制御部21から出力されたリセット命令R2を受けると、リセット命令R2に対するリセット応答であるATRをCAS制御部21へ出力する(ステップS22)。   Next, upon receiving the reset command R2 output from the CAS control unit 21, the CAS unit 13 outputs an ATR, which is a reset response to the reset command R2, to the CAS control unit 21 (Step S22).

次に、CAS制御部21は、CAS部13から出力されたATRを受けると、状態情報を要求するための状態要求をCAS部13へ出力する(ステップS23)。   Next, upon receiving the ATR output from the CAS unit 13, the CAS control unit 21 outputs a status request for requesting status information to the CAS unit 13 (Step S23).

次に、CAS部13は、CAS制御部21から出力されたリセット命令R2を受けた後、CAS制御部21からの状態要求を受けると、自己の状態を示す状態情報をCAS制御部21へ出力し(ステップS24)、自己をリセットする。なお、CAS部13は、リセット命令R2を受けたタイミングにおいて更新処理が完了していない場合、たとえば自己をリセットせず、CAS制御部21から新たにECMを受けた(ステップS12)後のタイミングにおいて、リセット要求を再びCAS制御部21へ出力する(ステップS15)。   Next, upon receiving a reset request R2 output from the CAS control unit 21 and then receiving a status request from the CAS control unit 21, the CAS unit 13 outputs status information indicating its own status to the CAS control unit 21. (Step S24), and reset itself. If the update process is not completed at the timing of receiving the reset command R2, the CAS unit 13 does not reset itself, for example, at the timing after receiving a new ECM from the CAS control unit 21 (step S12). The reset request is output to the CAS control unit 21 again (step S15).

次に、CAS制御部21は、CAS部13から出力された状態情報を受けて、当該状態情報および状態情報DB25に登録済の状態情報に基づいて、CAS部13の状態を判定する(ステップS25)。   Next, upon receiving the status information output from the CAS unit 13, the CAS control unit 21 determines the status of the CAS unit 13 based on the status information and the status information registered in the status information DB 25 (step S25). ).

そして、CAS制御部21は、判定結果を示すログ情報を、ログ情報DB26に追加する(ステップS26)。   Then, the CAS control unit 21 adds log information indicating the determination result to the log information DB 26 (Step S26).

なお、CAS部13は、ECMとは異なるコマンドに対するコマンド応答としてリセット要求を出力する構成であってもよい。   Note that the CAS unit 13 may be configured to output a reset request as a command response to a command different from the ECM.

(CAS制御部の動作手順)
図4は、本発明の第1の実施の形態に係る放送受信装置におけるCAS制御部の動作手順を定めたフローチャートである。
(Operation procedure of CAS control unit)
FIG. 4 is a flowchart that defines an operation procedure of the CAS control unit in the broadcast receiving device according to the first embodiment of the present invention.

図4を参照して、まず、CAS制御部21は、たとえば自己の放送受信装置101の電源がオフからオンに切り替わった場合、状態情報をCAS部13に要求し、CAS部13から出力された状態情報を受ける(ステップS31)。   Referring to FIG. 4, first, for example, when the power of its own broadcast receiving apparatus 101 is switched from off to on, CAS control section 21 requests state information to CAS section 13 and is output from CAS section 13. The state information is received (step S31).

次に、CAS制御部21は、状態情報DB25に登録されている状態情報を、CAS部13から新たに受けた状態情報に更新する(ステップS32)。   Next, the CAS control unit 21 updates the status information registered in the status information DB 25 to the status information newly received from the CAS unit 13 (Step S32).

次に、CAS制御部21は、放送受信部11から出力された復調データを受ける(ステップS33)。   Next, the CAS control unit 21 receives the demodulated data output from the broadcast receiving unit 11 (Step S33).

次に、CAS制御部21は、放送受信部11から受けた復調データからECMを抽出し、抽出したECM、および断片更新情報をCAS部13へ出力する(ステップS34)。CAS制御部21は、ECMを抽出してCAS部13へ出力できるまで(ステップS34において「NO」)、ECMの抽出を繰り返す。   Next, the CAS control unit 21 extracts an ECM from the demodulated data received from the broadcast receiving unit 11, and outputs the extracted ECM and fragment update information to the CAS unit 13 (Step S34). The CAS control unit 21 repeats the extraction of the ECM until the ECM can be extracted and output to the CAS unit 13 ("NO" in step S34).

次に、CAS制御部21は、ECMをCAS部13へ出力した場合(ステップS34において「YES」)、たとえば、ECMをCAS部13へ出力したタイミングから所定時間内にCAS部13からのリセット要求を受けたか否かを確認する(ステップS35)。   Next, when the CAS control unit 21 outputs the ECM to the CAS unit 13 (“YES” in step S34), for example, a reset request from the CAS unit 13 within a predetermined time from the timing of outputting the ECM to the CAS unit 13 It is confirmed whether or not the information has been received (step S35).

次に、CAS制御部21は、ECMをCAS部13へ出力したタイミングから所定時間内にCAS部13からのリセット要求を受けた場合(ステップS35において「NO」)、ステップS33〜ステップS35の動作を再び行う。   Next, when the CAS control unit 21 receives a reset request from the CAS unit 13 within a predetermined time from the timing at which the ECM is output to the CAS unit 13 (“NO” in step S35), the operations of steps S33 to S35 Do again.

一方、CAS制御部21は、ECMをCAS部13へ出力したタイミングから所定時間内にCAS部13からのリセット要求を受けた場合(ステップS35において「YES」)、自己の放送受信装置101の状態を確認する(ステップS36)。   On the other hand, if the CAS control unit 21 receives a reset request from the CAS unit 13 within a predetermined time from the timing of outputting the ECM to the CAS unit 13 (“YES” in step S35), the state of the broadcast receiving apparatus 101 is determined. Is confirmed (step S36).

次に、CAS制御部21は、たとえば、放送受信装置101がスタンバイ状態である場合など、放送波BWを処理していない場合、CAS部13へリセット命令R1を出力する(ステップS37)。   Next, when the broadcast receiving apparatus 101 is not processing the broadcast wave BW, for example, when the broadcast receiving apparatus 101 is in a standby state, the CAS control section 21 outputs a reset command R1 to the CAS section 13 (step S37).

次に、CAS制御部21は、CAS部13から出力されたATRを受ける(ステップS38)。   Next, the CAS control unit 21 receives the ATR output from the CAS unit 13 (Step S38).

次に、CAS制御部21は、ログ情報DB26に登録されているログ情報、およびCAS部13から受けたATRに含まれる時間情報に基づいて、次にリセット命令R2を出力する際の処理待ち時間の補正処理を行う。なお、CAS制御部21は、ログ情報DB26にログ情報が登録されていない場合、ATRに含まれる時間情報の示す処理待ち時間Nを、次にリセット命令R2を出力する際の処理待ち時間として設定する(ステップS39)。   Next, based on the log information registered in the log information DB 26 and the time information included in the ATR received from the CAS unit 13, the CAS control unit 21 waits for a processing wait time when the next reset instruction R2 is output. Is performed. When the log information is not registered in the log information DB 26, the CAS control unit 21 sets the processing waiting time N indicated by the time information included in the ATR as the processing waiting time when the next reset instruction R2 is output. (Step S39).

次に、CAS制御部21は、ATRを受けたタイミングから、設定した処理待ち時間が経過したタイミングにおいて、リセット命令R2をCAS部13へ出力する(ステップS40)。   Next, the CAS control unit 21 outputs a reset command R2 to the CAS unit 13 at a timing when the set processing waiting time has elapsed from the timing at which the ATR was received (step S40).

次に、CAS制御部21は、リセット命令R2に対するリセット応答であるATRをCAS部13から受けると、状態要求をCAS部13へ出力し、CAS部13から出力された状態情報を受ける(ステップS41)。   Next, when the CAS control unit 21 receives an ATR that is a reset response to the reset command R2 from the CAS unit 13, it outputs a status request to the CAS unit 13 and receives the status information output from the CAS unit 13 (step S41). ).

次に、CAS制御部21は、当該状態情報および状態情報DB25に登録済の状態情報に基づいて、CAS部13の状態を判定する(ステップS42)。   Next, the CAS control unit 21 determines the state of the CAS unit 13 based on the state information and the state information registered in the state information DB 25 (Step S42).

次に、CAS制御部21は、状態情報DB25に登録されている状態情報を、CAS部13から新たに受けた状態情報に更新する(ステップS43)。   Next, the CAS control unit 21 updates the status information registered in the status information DB 25 to the status information newly received from the CAS unit 13 (Step S43).

次に、CAS制御部21は、CAS部13の状態の判定結果を示すログ情報を、ログ情報DB26に追加する(ステップS44)。そして、CAS制御部21は、ステップS33以降の動作を再び行う。   Next, the CAS control unit 21 adds log information indicating the determination result of the state of the CAS unit 13 to the log information DB 26 (Step S44). Then, the CAS control unit 21 performs the operation after step S33 again.

なお、CAS制御部21は、ステップS35において、たとえばECMを出力したタイミングから所定時間経過後に、リセット要求の出力の有無をCAS部13に対して問い合わせてもよい。   Note that the CAS control unit 21 may inquire the CAS unit 13 in step S35 whether a reset request has been output, for example, after a lapse of a predetermined time from the timing at which the ECM was output.

ところで、たとえば、CAS部が、自己のソフトウェアモジュールの更新を行うために、リセット要求を制御部へ出力したとする。この場合、制御部は、CAS部から受けたATRに含まれる処理待ち時間が経過した後にリセット命令をCAS部へ出力する。   By the way, for example, it is assumed that the CAS unit outputs a reset request to the control unit in order to update its own software module. In this case, the control unit outputs a reset command to the CAS unit after a processing waiting time included in the ATR received from the CAS unit has elapsed.

しかしながら、当該処理待ち時間内にCAS部による更新処理が完了せず、更新処理が失敗する可能性が考えられる。   However, there is a possibility that the update process by the CAS unit is not completed within the process waiting time and the update process fails.

これに対して、本発明の第1の実施の形態に係る放送受信装置101における放送受信方法では、まず、CAS部13が、リセット要求をCAS制御部21へ出力する。次に、CAS制御部21が、CAS部13からリセット要求を受けて、リセット命令R1をCAS部13へ出力する。次に、CAS部13が、CAS制御部21から受けたリセット命令R1に対するリセット応答であって時間情報を含むリセット応答をCAS制御部21へ出力する。次に、CAS制御部21が、CAS部13からリセット応答を受けて、時間情報に基づく処理待ち時間の経過後、リセット命令R2をCAS部13へ出力する。次に、CAS部13が、CAS制御部21からリセット命令R2を受けて、自己の状態を示す状態情報をCAS制御部21へ出力する。次に、CAS制御部21が、CAS部13から受けた状態情報に基づいて、CAS部13の状態の更新に関するログ情報を作成する。   On the other hand, in the broadcast receiving method in broadcast receiving apparatus 101 according to the first embodiment of the present invention, first, CAS unit 13 outputs a reset request to CAS control unit 21. Next, the CAS control unit 21 receives a reset request from the CAS unit 13 and outputs a reset command R1 to the CAS unit 13. Next, the CAS unit 13 outputs to the CAS control unit 21 a reset response including time information, which is a reset response to the reset command R1 received from the CAS control unit 21. Next, upon receiving the reset response from the CAS unit 13, the CAS control unit 21 outputs a reset command R2 to the CAS unit 13 after a lapse of a processing waiting time based on the time information. Next, the CAS unit 13 receives the reset command R2 from the CAS control unit 21 and outputs state information indicating its own state to the CAS control unit 21. Next, the CAS control unit 21 creates log information relating to the update of the state of the CAS unit 13 based on the state information received from the CAS unit 13.

このように、リセット命令R2に対するCAS部13の状態の更新に関するログ情報を作成する方法により、CAS部13から指定される時間情報の良否に関わらず、当該ログ情報を活用してCAS部13のリセット処理を適切に行うことができる。   As described above, by the method of creating log information relating to the update of the state of the CAS unit 13 in response to the reset instruction R2, regardless of whether the time information specified by the CAS unit 13 is good or not, the log information is utilized to enable the CAS unit 13 The reset processing can be appropriately performed.

したがって、本発明の第1の実施の形態に係る放送受信方法では、CAS部13の安定した更新を実現することができる。   Therefore, in the broadcast receiving method according to the first embodiment of the present invention, stable updating of the CAS unit 13 can be realized.

また、本発明の第1の実施の形態に係る放送受信装置101における放送受信方法では、さらに、CAS制御部21が、過去に作成したログ情報に基づいて、今回のリセット命令R2を出力する際の処理待ち時間を補正する補正処理を行う。   Further, in the broadcast receiving method in the broadcast receiving apparatus 101 according to the first embodiment of the present invention, when the CAS control unit 21 outputs the present reset command R2 based on log information created in the past. Is performed to correct the processing waiting time of the processing.

このように、過去のログ情報に基づいて処理待ち時間を補正する方法により、過去の更新実績に応じた適切な処理待ち時間を設定することができる。   As described above, by the method of correcting the processing waiting time based on the past log information, it is possible to set an appropriate processing waiting time according to the past update results.

また、本発明の第1の実施の形態に係る放送受信装置101における放送受信方法では、CAS制御部21が、処理待ち時間の補正処理を行うステップにおいて、前回作成したログ情報がCAS部13の状態の不更新を示す場合、前回の処理待ち時間を延長した処理待ち時間を設定する。   In the broadcast receiving method in the broadcast receiving apparatus 101 according to the first embodiment of the present invention, in the step in which the CAS control unit 21 performs the process of correcting the processing waiting time, the log information created last time is stored in the CAS unit 13. When indicating that the status is not updated, a processing waiting time obtained by extending the previous processing waiting time is set.

このような方法により、前回の処理待ち時間が短いことが原因でCAS部13の状態が更新されなかった場合、今回の処理待ち時間を延長してCAS部13の状態が更新される可能性を高めることができる。   According to such a method, when the state of the CAS unit 13 is not updated due to the short processing wait time of the previous time, the possibility that the state of the CAS unit 13 is updated by extending the current processing wait time is considered. Can be enhanced.

また、本発明の第1の実施の形態に係る放送受信装置101では、放送受信部11は、番組の情報を含む放送波BWを受信して復調し、当該番組の情報を含む復調データを出力する。CAS部13は、復調データに含まれる暗号化された映像データを復号するための鍵を生成する。復号化部22は、CAS部13によって生成された鍵を用いて映像データを復号する。CAS制御部21は、CAS部13を制御する。また、CAS部13は、リセット要求をCAS制御部21へ出力する。CAS制御部21は、CAS部13からリセット要求を受けて、リセット命令R1をCAS部13へ出力する。CAS部13は、CAS制御部21から受けたリセット命令R1に対するリセット応答であって時間情報を含むリセット応答をCAS制御部21へ出力する。CAS制御部21は、CAS部13からリセット応答を受けて、時間情報に基づく処理待ち時間の経過後、リセット命令R2をCAS部13へ出力する。CAS部13は、CAS制御部21からリセット命令R2を受けて、自己の状態を示す状態情報をCAS制御部21へ出力する。そして、CAS制御部21は、CAS部13から受けた状態情報に基づいて、CAS部13の状態の更新に関するログ情報を作成する。   In broadcast receiving apparatus 101 according to the first embodiment of the present invention, broadcast receiving section 11 receives and demodulates broadcast wave BW including program information, and outputs demodulated data including the program information. I do. The CAS unit 13 generates a key for decrypting the encrypted video data included in the demodulated data. The decryption unit 22 decrypts the video data using the key generated by the CAS unit 13. The CAS control unit 21 controls the CAS unit 13. Further, the CAS unit 13 outputs a reset request to the CAS control unit 21. The CAS control unit 21 receives a reset request from the CAS unit 13 and outputs a reset command R1 to the CAS unit 13. The CAS unit 13 outputs a reset response including time information to the CAS control unit 21 as a reset response to the reset command R1 received from the CAS control unit 21. Upon receiving the reset response from the CAS unit 13, the CAS control unit 21 outputs a reset command R2 to the CAS unit 13 after a lapse of a processing waiting time based on the time information. The CAS unit 13 receives the reset command R2 from the CAS control unit 21 and outputs state information indicating its own state to the CAS control unit 21. Then, the CAS control unit 21 creates log information relating to the update of the state of the CAS unit 13 based on the state information received from the CAS unit 13.

このように、リセット命令R2に対するCAS部13の状態の更新に関するログ情報を作成する構成により、CAS部13から指定される時間情報の良否に関わらず、当該ログ情報を活用してCAS部13のリセット処理を適切に行うことができる。   As described above, with the configuration in which the log information relating to the update of the state of the CAS unit 13 in response to the reset command R2 is created, regardless of whether the time information specified by the CAS unit 13 is good or not, the log information is utilized to enable the CAS unit 13 The reset processing can be appropriately performed.

したがって、本発明の第1の実施の形態に係る放送受信装置101では、CAS部13の安定した更新を実現することができる。   Therefore, in the broadcast receiving apparatus 101 according to the first embodiment of the present invention, stable updating of the CAS unit 13 can be realized.

次に、本発明の他の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。   Next, another embodiment of the present invention will be described with reference to the drawings. In the drawings, the same or corresponding portions have the same reference characters allotted, and description thereof will not be repeated.

<第2の実施の形態>
上述した本発明の第1の実施の形態では、CAS制御部21は、自己の放送受信装置101における記憶部14に保存されているログ情報、およびCAS部13から受けたATRに含まれる時間情報に基づいて、リセット命令R2を出力する際の処理待ち時間を決定する。これに対して、本発明の第2の実施の形態では、CAS制御部41は、複数の放送受信装置102を管理する管理装置171から送信された管理情報に基づいて、リセット命令R2を出力する際の処理待ち時間を決定する。
<Second embodiment>
In the above-described first embodiment of the present invention, the CAS control unit 21 stores the log information stored in the storage unit 14 of the own broadcast receiving apparatus 101 and the time information included in the ATR received from the CAS unit 13. , The processing wait time when outputting the reset instruction R2 is determined. On the other hand, in the second embodiment of the present invention, the CAS control unit 41 outputs the reset command R2 based on the management information transmitted from the management device 171 that manages the plurality of broadcast receiving devices 102. To determine the processing waiting time.

[構成および基本動作]
図5は、本発明の第2の実施の形態に係る放送受信システムの構成を示す図である。
[Configuration and basic operation]
FIG. 5 is a diagram illustrating a configuration of a broadcast receiving system according to the second embodiment of the present invention.

図5を参照して、放送受信システム202は、複数の放送受信装置102と、放送装置121と、複数の放送受信装置102にそれぞれ対応する複数の表示装置151と、管理装置171とを備える。   Referring to FIG. 5, broadcast receiving system 202 includes a plurality of broadcast receiving devices 102, a broadcast device 121, a plurality of display devices 151 respectively corresponding to the plurality of broadcast receiving devices 102, and a management device 171.

図6は、本発明の第2の実施の形態に係る放送受信システムにおける放送受信装置および管理装置の構成を示す図である。図6では、放送受信システム202における1つの放送受信装置102を代表的に示している。   FIG. 6 is a diagram showing a configuration of a broadcast receiving device and a management device in the broadcast receiving system according to the second embodiment of the present invention. FIG. 6 representatively shows one broadcast receiving apparatus 102 in broadcast receiving system 202.

図6を参照して、本発明の第2の実施の形態に係る放送受信装置102は、放送受信部31と、処理部32と、CAS部33と、記憶部34と、通信部35とを備える。処理部32は、CAS部33を制御するCAS制御部41と、復号化部42とを含む。   Referring to FIG. 6, broadcast receiving apparatus 102 according to the second embodiment of the present invention includes a broadcast receiving unit 31, a processing unit 32, a CAS unit 33, a storage unit 34, and a communication unit 35. Prepare. The processing unit 32 includes a CAS control unit 41 that controls the CAS unit 33, and a decoding unit 42.

放送受信部31、復号化部42およびCAS部33の動作は、それぞれ、図2に示す本発明の第1の実施の形態に係る放送受信装置101における、放送受信部11、復号化部22およびCAS部13の動作と同様である。   The operations of the broadcast receiving unit 31, the decoding unit 42, and the CAS unit 33 are respectively performed by the broadcast receiving unit 11, the decoding unit 22, and the broadcast receiving unit 101 in the broadcast receiving apparatus 101 according to the first embodiment of the present invention illustrated in FIG. The operation is the same as that of the CAS unit 13.

CAS制御部41は、CAS部33へリセット命令R1を出力した後、CAS部33から出力されたATRを受けると、記憶部34に保存されている設定情報DB45に登録されている後述の管理情報に基づいて、リセット命令R2をCAS部33へ出力する際の処理待ち時間を決定する。たとえば、CAS制御部41は、処理待ち時間の補正処理として、当該ATRに含まれる時間情報の示す処理待ち時間Nに、管理情報の示す延長時間αを加えた時間を処理待ち時間として設定する。   When the CAS control unit 41 receives the ATR output from the CAS unit 33 after outputting the reset command R1 to the CAS unit 33, the CAS control unit 41 registers the management information described below registered in the setting information DB 45 stored in the storage unit 34. , The processing wait time when outputting the reset instruction R2 to the CAS unit 33 is determined. For example, the CAS control unit 41 sets, as the processing waiting time, a time obtained by adding the extended time α indicated by the management information to the processing waiting time N indicated by the time information included in the ATR, as the processing waiting time correction processing.

そして、CAS制御部41は、ATRを受けたタイミングから、設定した処理待ち時間が経過したタイミングにおいて、リセット命令R2をCAS部33へ出力する。   Then, the CAS control unit 41 outputs the reset command R2 to the CAS unit 33 at a timing when the set processing waiting time has elapsed from the timing at which the ATR was received.

また、CAS制御部41は、リセット命令R2をCAS部33へ出力したことによるCAS部33の状態の更新に関するログ情報を取得する。すなわち、CAS制御部41は、リセット命令R2をCAS部33へ出力した後、CAS部33から出力されたATRを受けると、状態要求をCAS部33へ出力する。そして、CAS制御部41は、CAS部33から出力される状態情報を受けて、当該状態情報、および記憶部34に保存されている状態情報DB46に登録されている状態情報に基づいて、CAS部33の状態の判定を行う。   Further, the CAS control unit 41 acquires log information relating to the update of the state of the CAS unit 33 due to the output of the reset command R2 to the CAS unit 33. That is, after receiving the ATR output from the CAS unit 33 after outputting the reset command R2 to the CAS unit 33, the CAS control unit 41 outputs a status request to the CAS unit 33. Then, the CAS control unit 41 receives the state information output from the CAS unit 33, and based on the state information and the state information registered in the state information DB 46 stored in the storage unit 34, The state of 33 is determined.

そして、CAS制御部41は、判定結果を示すログ情報と、当該リセット命令R2を出力する際の処理待ち時間とを対応づけた対応情報を、記憶部34に保存されているログ情報DB47に登録する。なお、CAS制御部41は、CAS部33の状態の不更新を示すログ情報と処理待ち時間との対応関係を示す対応情報のみをログ情報DB47に登録してもよい。   Then, the CAS control unit 41 registers, in the log information DB 47 stored in the storage unit 34, correspondence information that associates the log information indicating the determination result with the processing waiting time when outputting the reset instruction R2. I do. The CAS control unit 41 may register only the corresponding information indicating the correspondence between the log information indicating the non-update of the state of the CAS unit 33 and the processing waiting time in the log information DB 47.

また、CAS制御部41は、ログ情報と処理待ち時間とを対応づけた対応情報の代わりに、ログ情報と処理待ち時間の延長時間αとを対応づけた対応情報をログ情報DB47に登録してもよい。   Further, the CAS control unit 41 registers, in the log information DB 47, the corresponding information in which the log information is associated with the extension time α of the processing waiting time, instead of the corresponding information in which the log information is associated with the processing waiting time. Is also good.

通信部35は、たとえば、定期的または不定期に、ログ情報DB47に登録されている対応情報に自己の放送受信装置102の識別情報を含めて、管理装置171へ送信する。   The communication unit 35 transmits the correspondence information registered in the log information DB 47, including the identification information of its own broadcast receiving apparatus 102, to the management apparatus 171 regularly or irregularly, for example.

管理装置171は、通信部51と、処理部53とを備える。通信部51は、たとえば、複数の放送受信装置102からそれぞれ送信された複数の対応情報を受信し、受信した複数の対応情報を処理部53へ出力する。   The management device 171 includes a communication unit 51 and a processing unit 53. The communication unit 51 receives, for example, a plurality of pieces of correspondence information transmitted from a plurality of broadcast receiving apparatuses 102, and outputs the received plurality of pieces of correspondence information to the processing unit 53.

処理部53は、通信部51から出力された複数の対応情報を受けて、各対応情報に基づいて、たとえば定期的または不定期に、各放送受信装置102におけるCAS制御部41がリセット命令R2を出力する際の処理待ち時間に関する管理情報を作成する。   The processing unit 53 receives the plurality of pieces of correspondence information output from the communication unit 51, and based on each piece of correspondence information, for example, periodically or irregularly, the CAS control unit 41 in each broadcast receiving apparatus 102 issues a reset command R2. Create management information about the processing wait time when outputting.

より詳細には、処理部53は、複数の対応情報の各々の示す処理待ち時間とログ情報の示す判定結果とに基づいて、各放送受信装置102におけるCAS制御部41が次にリセット命令R2を出力する際の処理待ち時間の延長時間αまたは処理待ち時間そのものを決定する。   More specifically, the processing unit 53 causes the CAS control unit 41 in each broadcast receiving apparatus 102 to issue a reset instruction R2 next based on the processing waiting time indicated by each of the plurality of pieces of correspondence information and the determination result indicated by the log information. The extension time α of the processing waiting time at the time of output or the processing waiting time itself is determined.

具体的には、処理部53は、たとえば、通信部51から受けた複数の対応情報のうち、CAS部33の状態が更新された旨のログ情報を含む1または複数の対応情報を特定する。そして、処理部53は、特定した1または複数の対応情報の各々の示す処理待ち時間の平均値を、処理待ち時間として決定する。そして、処理部53は、決定した処理待ち時間を示す管理情報を通信部51へ出力する。   Specifically, the processing unit 53 specifies, for example, one or a plurality of pieces of correspondence information including log information indicating that the state of the CAS unit 33 has been updated, among a plurality of pieces of correspondence information received from the communication unit 51. Then, the processing unit 53 determines the average value of the processing waiting time indicated by each of the specified one or a plurality of pieces of correspondence information as the processing waiting time. Then, the processing unit 53 outputs management information indicating the determined processing waiting time to the communication unit 51.

なお、処理部53は、上述した方法に限らず、他の方法を用いて管理情報を作成してもよい。たとえば、処理部53は、通信部51から受けた複数の対応情報に基づいて、CAS部33の状態が更新された割合が50%を超えるか否かを判定し、当該割合が50%を超えている延長時間αのうち、最小値を示す管理情報を作成してもよい。   Note that the processing unit 53 is not limited to the method described above, and may create the management information using another method. For example, based on the plurality of pieces of correspondence information received from the communication unit 51, the processing unit 53 determines whether the rate at which the state of the CAS unit 33 is updated exceeds 50%, and the rate exceeds 50%. The management information indicating the minimum value among the extended times α may be created.

通信部51は、処理部53から出力された管理情報を受けて、当該管理情報を複数の放送受信装置102へ送信する。   The communication unit 51 receives the management information output from the processing unit 53 and transmits the management information to the plurality of broadcast receiving devices 102.

放送受信装置102における通信部35は、管理装置171から送信された管理情報を受信し、受信した管理情報を設定情報DB45に登録する。   The communication unit 35 of the broadcast receiving device 102 receives the management information transmitted from the management device 171 and registers the received management information in the setting information DB 45.

CAS制御部41は、上述のとおり、設定情報DB45に登録された管理情報に基づいて、リセット命令R2を出力する際の処理待ち時間の補正処理を行い、補正処理後の処理待ち時間の経過後にリセット命令R2を出力する。   As described above, the CAS control unit 41 performs a process of correcting the processing waiting time when outputting the reset instruction R2 based on the management information registered in the setting information DB 45, and after a lapse of the processing waiting time after the correction process. The reset instruction R2 is output.

そして、CAS制御部41は、リセット命令R2をCAS部33へ出力した後、CAS部33から出力されたATRを受けると、状態要求をCAS部33へ出力し、CAS部33から出力される状態情報に基づいてCAS部33の状態の判定を行う。そして、CAS制御部41は、判定結果を示すログ情報と、当該リセット命令R2を出力する際の処理待ち時間とを対応づけた対応情報をログ情報DB47に登録する。   Then, after outputting the reset command R2 to the CAS unit 33 and receiving the ATR output from the CAS unit 33, the CAS control unit 41 outputs a status request to the CAS unit 33 and outputs the status request from the CAS unit 33. The state of the CAS unit 33 is determined based on the information. Then, the CAS control unit 41 registers in the log information DB 47 correspondence information in which the log information indicating the determination result is associated with the processing waiting time when the reset instruction R2 is output.

通信部35は、たとえば、ログ情報DB47に新たに登録された対応情報に自己の放送受信装置102の識別情報を含めて、管理装置171へ送信する。   The communication unit 35 transmits the correspondence information newly registered in the log information DB 47 to the management device 171 together with the identification information of the own broadcast receiving device 102, for example.

また、CAS制御部41は、リセット命令R2の出力後におけるCAS部33の状態の判定において、CAS部33の状態が更新されていないと判定したとする。この場合、CAS制御部41は、たとえば、CAS部33からの新たなATRを受けた後、設定情報DB45に登録されている最新の管理情報に基づいて、次にリセット命令R2をCAS部33へ出力する際の処理待ち時間の補正処理を行う。   It is also assumed that the CAS control unit 41 determines that the state of the CAS unit 33 has not been updated in the determination of the state of the CAS unit 33 after the output of the reset command R2. In this case, for example, after receiving a new ATR from the CAS unit 33, the CAS control unit 41 sends a reset command R2 to the CAS unit 33 based on the latest management information registered in the setting information DB 45. The processing for correcting the processing waiting time when outputting is performed.

なお、CAS制御部41は、CAS部33の状態が更新されていないと判定した場合、管理情報を用いることなく、上述した本発明の第1の実施の形態に係るCAS制御部21と同様に、次にリセット命令R2を出力する際の処理待ち時間の補正処理を行ってもよい。   When the CAS control unit 41 determines that the state of the CAS unit 33 has not been updated, the CAS control unit 41 uses the same management information as the CAS control unit 21 according to the above-described first embodiment of the present invention without using management information. Then, a process of correcting the processing waiting time when the reset instruction R2 is output next may be performed.

具体的には、CAS制御部41は、前回のリセット命令R2を出力した際の処理待ち時間が12秒であり、当該リセット命令R2の出力後におけるCAS部33の状態の判定において、CAS部33の状態が更新されていないと判定したとする。この場合、CAS制御部41は、たとえば、次にリセット命令R2を出力する際の処理待ち時間を2秒延長した14秒に決定する。   Specifically, the CAS control unit 41 determines that the processing wait time when the previous reset command R2 was output is 12 seconds, and the CAS unit 33 determines the state of the CAS unit 33 after the output of the reset command R2. Assume that it is determined that the state of has not been updated. In this case, for example, the CAS control unit 41 determines the processing waiting time for outputting the next reset instruction R2 to 14 seconds, which is extended by 2 seconds.

なお、管理装置171における処理部53は、通信部51を介して複数の放送受信装置102へ管理情報を送信する構成に限らず、通信部51を介して1つの放送受信装置102へ管理情報を送信する構成であってもよい。   Note that the processing unit 53 in the management device 171 is not limited to the configuration in which the management information is transmitted to the plurality of broadcast reception devices 102 via the communication unit 51, and the management information is transmitted to one broadcast reception device 102 via the communication unit 51. It may be configured to transmit.

また、処理部53は、対応情報に基づいて管理者等により作成された管理情報を、通信部51を介して放送受信装置102へ送信してもよい。   Further, the processing unit 53 may transmit management information created by an administrator or the like based on the correspondence information to the broadcast receiving device 102 via the communication unit 51.

また、放送受信装置102は、ログ情報DB47を含まない構成であってもよい。この場合、CAS制御部41は、対応情報を通信部35へ直接出力して管理装置171へ送信する。   Further, the broadcast receiving apparatus 102 may be configured not to include the log information DB 47. In this case, the CAS control unit 41 directly outputs the correspondence information to the communication unit 35 and transmits the correspondence information to the management device 171.

[動作の流れ]
放送受信システム202における各装置は、メモリを含むコンピュータを備え、当該コンピュータにおけるCPU等の演算処理部は、以下のシーケンス図およびフローチャートの各ステップの一部または全部を含むプログラムを当該メモリからそれぞれ読み出して実行する。これら複数の装置のプログラムは、それぞれ、外部からインストールすることができる。これら複数の装置のプログラムは、それぞれ、記録媒体に格納された状態で流通する。
[Flow of operation]
Each device in the broadcast receiving system 202 includes a computer including a memory, and an arithmetic processing unit such as a CPU in the computer reads a program including a part or all of each step of the following sequence diagram and flowchart from the memory. Run. Each of the programs of the plurality of devices can be externally installed. The programs of the plurality of devices are distributed while being stored in a recording medium.

図7は、本発明の第2の実施の形態に係る放送受信システムにおけるCAS部の状態の更新を行う際の動作手順を定めたシーケンス図である。図7は、放送受信システム202における1つの放送受信装置102および管理装置171の動作の流れを示す。   FIG. 7 is a sequence diagram that defines an operation procedure when updating the state of the CAS unit in the broadcast receiving system according to the second embodiment of the present invention. FIG. 7 shows an operation flow of one broadcast receiving apparatus 102 and one management apparatus 171 in the broadcast receiving system 202.

図7に示すステップS51〜ステップS59の動作は、図3に示すステップS11〜ステップS19の動作と同様であるため、ここでは詳細な説明は繰り返さない。   The operations of steps S51 to S59 shown in FIG. 7 are the same as the operations of steps S11 to S19 shown in FIG. 3, and thus detailed description will not be repeated here.

次に、CAS制御部41は、設定情報DB45に管理情報が登録されている場合、当該管理情報およびCAS部33から受けたATRに含まれる時間情報に基づいて、リセット命令R2を出力する際の処理待ち時間の補正処理を行う。   Next, when the management information is registered in the setting information DB 45, the CAS control unit 41 performs a process of outputting the reset command R2 based on the management information and the time information included in the ATR received from the CAS unit 33. The processing for correcting the processing waiting time is performed.

なお、CAS制御部41は、設定情報DB45に管理情報が登録されていない場合、たとえば、CAS部33から受けたATRに含まれる時間情報の示す処理待ち時間Nを、リセット命令R2を出力する際の処理待ち時間として設定する(ステップS60)。   When the management information is not registered in the setting information DB 45, the CAS control unit 41 sets the processing waiting time N indicated by the time information included in the ATR received from the CAS unit 33 to the reset instruction R2. (Step S60).

次に、CAS制御部41は、ATRを受けたタイミングから、設定した処理待ち時間が経過したタイミングにおいて、リセット命令R2をCAS部33へ出力する(ステップS61)。   Next, the CAS control unit 41 outputs a reset command R2 to the CAS unit 33 at a timing when the set processing waiting time has elapsed from the timing at which the ATR was received (step S61).

次に、CAS部33は、CAS制御部41から出力されたリセット命令R2を受けると、リセット命令R2に対するリセット応答であるATRをCAS制御部41へ出力する(ステップS62)。   Next, upon receiving the reset command R2 output from the CAS control unit 41, the CAS unit 33 outputs an ATR that is a reset response to the reset command R2 to the CAS control unit 41 (step S62).

次に、CAS制御部41は、CAS部33から出力されたATRを受けると、状態要求をCAS部33へ出力する(ステップS63)。   Next, upon receiving the ATR output from the CAS unit 33, the CAS control unit 41 outputs a status request to the CAS unit 33 (Step S63).

次に、CAS部33は、CAS制御部41から出力されたリセット命令R2を受けた後、CAS制御部41からの状態要求を受けると、自己の状態を示す状態情報をCAS制御部41へ出力し(ステップS64)、自己をリセットする。   Next, upon receiving a reset request R2 output from the CAS control unit 41 and then receiving a status request from the CAS control unit 41, the CAS unit 33 outputs status information indicating its own status to the CAS control unit 41. (Step S64), and reset itself.

次に、CAS制御部41は、CAS部33から出力された状態情報を受けて、当該状態情報および状態情報DB46に登録済の状態情報に基づいて、CAS部13の状態を判定する(ステップS65)。   Next, the CAS control unit 41 receives the status information output from the CAS unit 33, and determines the status of the CAS unit 13 based on the status information and the status information registered in the status information DB 46 (Step S65). ).

次に、CAS制御部41は、判定結果を示すログ情報、およびステップS60において設定した処理待ち時間とを対応づけた対応情報を、ログ情報DB47に追加する(ステップS66)。   Next, the CAS control unit 41 adds, to the log information DB 47, the log information indicating the determination result and the correspondence information in which the processing waiting time set in step S60 is associated (step S66).

次に、通信部35は、ログ情報DB47に登録されている対応情報を取得する(ステップS67)。   Next, the communication unit 35 acquires the correspondence information registered in the log information DB 47 (Step S67).

次に、通信部35は、取得した対応情報に自己の放送受信装置102の識別情報を含めて、管理装置171へ送信する(ステップS68)。   Next, the communication unit 35 transmits the acquired correspondence information to the management device 171 including the identification information of the own broadcast receiving device 102 (step S68).

次に、管理装置171における通信部51は、放送受信装置102から送信された対応情報を受信し、受信した対応情報を処理部53へ出力する(ステップS69)。   Next, the communication unit 51 of the management device 171 receives the correspondence information transmitted from the broadcast receiving device 102, and outputs the received correspondence information to the processing unit 53 (Step S69).

ここで、図7では示していないが、図6に示す各放送受信装置102が、管理装置171へ対応情報を送信する。このため、管理装置171における通信部51は、複数の放送受信装置102からそれぞれ送信される複数の対応情報を受信し、受信した複数の対応情報を処理部53へ出力する。   Here, although not shown in FIG. 7, each broadcast receiving apparatus 102 shown in FIG. 6 transmits the corresponding information to the management apparatus 171. Therefore, the communication unit 51 of the management device 171 receives the plurality of pieces of correspondence information transmitted from the plurality of broadcast receiving apparatuses 102 and outputs the plurality of pieces of received correspondence information to the processing unit 53.

次に、処理部53は、通信部51から受けた各対応情報に基づいて、CAS制御部41がリセット命令R2を出力する際の処理待ち時間に関する管理情報を作成し、作成した管理情報を通信部51へ出力する(ステップS70)。   Next, the processing unit 53 creates management information relating to the processing waiting time when the CAS control unit 41 outputs the reset command R2 based on the corresponding information received from the communication unit 51, and communicates the created management information. Output to the unit 51 (step S70).

次に、通信部51は、処理部53から出力された管理情報を受けて、当該管理情報を1または複数の放送受信装置102へ送信する(ステップS71)。   Next, the communication unit 51 receives the management information output from the processing unit 53 and transmits the management information to one or a plurality of broadcast receiving devices 102 (Step S71).

次に、放送受信装置102における通信部35は、管理装置171から送信された管理情報を受信し、受信した管理情報を設定情報DB45に登録する(ステップS72)。   Next, the communication unit 35 in the broadcast receiving device 102 receives the management information transmitted from the management device 171 and registers the received management information in the setting information DB 45 (step S72).

上記のように、本発明の第2の実施の形態に係る放送受信装置102における放送受信方法では、CAS制御部41が、管理装置171から受信した処理待ち時間に関する管理情報に少なくとも基づいて、リセット命令R2を出力する際の処理待ち時間を決定する。   As described above, in the broadcast receiving method in the broadcast receiving device 102 according to the second embodiment of the present invention, the CAS control unit 41 performs the reset based on at least the management information on the processing waiting time received from the management device 171. The processing waiting time when outputting the instruction R2 is determined.

このように、複数の放送受信装置102を管理する管理装置171から受信した管理情報に基づいて処理待ち時間を決定する方法により、たとえば、放送受信装置102において、他の放送受信装置102におけるリセット処理の結果を反映したリセット処理を行うことができる。   As described above, according to the method of determining the processing waiting time based on the management information received from the management device 171 that manages the plurality of broadcast receiving devices 102, for example, in the broadcast receiving device 102, the reset process in another broadcast receiving device 102 The reset processing reflecting the result of (1) can be performed.

また、本発明の第2の実施の形態に係る放送受信装置102の管理方法では、まず、管理装置171における通信部51が、複数の放送受信装置102から、リセット命令R2をCAS部33へ出力する際の処理待ち時間と、リセット命令R2をCAS部33へ出力したことによるCAS部33の状態の更新に関するログ情報との対応関係を示す対応情報を取得する。次に、管理装置171における処理部53が、通信部51により取得された各対応情報に基づいて、処理待ち時間に関する管理情報を作成する。次に、管理装置171における通信部51が、処理部53により作成された管理情報を1または複数の放送受信装置102へ送信する。   In the management method for the broadcast receiving apparatus 102 according to the second embodiment of the present invention, first, the communication unit 51 in the management apparatus 171 outputs the reset command R2 from the plurality of broadcast receiving apparatuses 102 to the CAS unit 33. The corresponding information indicating the correspondence between the processing waiting time at the time of performing and the log information relating to the update of the state of the CAS unit 33 by outputting the reset instruction R2 to the CAS unit 33 is acquired. Next, the processing unit 53 in the management device 171 creates management information related to the processing waiting time based on the corresponding information acquired by the communication unit 51. Next, the communication unit 51 of the management device 171 transmits the management information created by the processing unit 53 to one or more broadcast receiving devices 102.

このように、各放送受信装置102へ処理待ち時間に関する管理情報を送信する方法により、各放送受信装置102において、CAS部33から指定される時間情報の良否に関わらず、当該管理情報を活用してCAS部33のリセット処理を適切に行うことができる。   As described above, by the method of transmitting the management information regarding the processing waiting time to each broadcast receiving apparatus 102, each broadcast receiving apparatus 102 utilizes the management information regardless of whether the time information specified by the CAS unit 33 is good or not. Thus, the reset processing of the CAS unit 33 can be appropriately performed.

したがって、本発明の第2の実施の形態に係る管理方法では、CAS部33の安定した更新を実現することができる。   Therefore, in the management method according to the second embodiment of the present invention, stable updating of the CAS unit 33 can be realized.

また、管理装置171において各放送受信装置102から送信された対応情報に基づいて管理情報を作成する方法により、たとえば、放送受信装置102において、他の放送受信装置102におけるリセット処理の結果を反映したリセット処理を行うことができる。   In addition, the management apparatus 171 creates management information based on the correspondence information transmitted from each broadcast receiving apparatus 102. For example, the broadcast receiving apparatus 102 reflects the result of the reset process in another broadcast receiving apparatus 102. A reset process can be performed.

その他の構成および動作は、上述した本発明の第1の実施の形態に係る放送受信システム201と同様であるため、ここでは詳細な説明を繰り返さない。   Other configurations and operations are the same as those of broadcast receiving system 201 according to the above-described first embodiment of the present invention, and thus detailed description will not be repeated here.

上記実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記説明ではなく特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The above embodiment is to be considered in all respects as illustrative and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

以上の説明は、以下に付記する特徴を含む。
[付記1]
番組の情報を含む放送波を受信して復調し、前記番組の情報を含む復調データを出力する放送受信部と、
前記復調データに含まれる暗号化された映像データを復号するための鍵を生成するCAS(Conditional Access System)部と、
前記CAS部によって生成された前記鍵を用いて前記映像データを復号する復号化部と、
前記CAS部を制御するCAS制御部とを備え、
前記CAS部は、リセット要求を前記CAS制御部へ出力し、
前記CAS制御部は、前記CAS部から前記リセット要求を受けて、リセット命令を前記CAS部へ出力し、
前記CAS部は、前記CAS制御部から受けた前記リセット命令に対するリセット応答であって時間情報を含むリセット応答を前記CAS制御部へ出力し、
前記CAS制御部は、前記CAS部から前記リセット応答を受けて、前記時間情報に基づく処理待ち時間の経過後、リセット命令を前記CAS部へ出力し、
前記CAS部は、前記CAS制御部から前記リセット命令を受けて、自己の状態を示す状態情報を前記CAS制御部へ出力し、
前記CAS制御部は、前記CAS部から受けた前記状態情報に基づいて、前記CAS部の状態の更新に関するログ情報を作成し、
前記CAS制御部は、前記補正処理において、前記状態情報が前記CAS部の状態の不更新を示した回数に応じて前記時間情報の示す時間を延長した前記処理待ち時間を設定する、放送受信装置。
The above description includes the features described below.
[Appendix 1]
A broadcast receiving unit that receives and demodulates a broadcast wave including program information and outputs demodulated data including the program information;
A CAS (Conditional Access System) unit for generating a key for decrypting the encrypted video data included in the demodulated data;
A decryption unit that decrypts the video data using the key generated by the CAS unit;
A CAS control unit for controlling the CAS unit,
The CAS unit outputs a reset request to the CAS control unit,
The CAS control unit receives the reset request from the CAS unit, outputs a reset command to the CAS unit,
The CAS unit outputs a reset response including time information to the CAS control unit, the reset response being a reset response to the reset command received from the CAS control unit,
The CAS control unit receives the reset response from the CAS unit, outputs a reset command to the CAS unit after a lapse of a processing waiting time based on the time information,
The CAS unit receives the reset command from the CAS control unit, and outputs state information indicating its own state to the CAS control unit.
The CAS control unit, based on the state information received from the CAS unit, creates log information related to the update of the state of the CAS unit,
A broadcast receiving apparatus that, in the correction processing, sets the processing waiting time by extending a time indicated by the time information in accordance with the number of times the status information indicates a non-update of the status of the CAS unit. .

[付記2]
番組の情報を含む放送波を受信して復調し、前記番組の情報を含む復調データを出力する放送受信部と、
前記復調データに含まれる暗号化された映像データを復号するための鍵を生成するCAS(Conditional Access System)部と、
前記CAS部によって生成された前記鍵を用いて前記映像データを復号する復号化部と、
前記CAS部を制御するCAS制御部とを備え、
前記CAS部は、リセット要求を前記CAS制御部へ出力し、
前記CAS制御部は、前記CAS部から前記リセット要求を受けて、リセット命令を前記CAS部へ出力し、
前記CAS部は、前記CAS制御部から受けた前記リセット命令に対するリセット応答であって時間情報を含むリセット応答を前記CAS制御部へ出力し、
前記CAS制御部は、前記CAS部から前記リセット応答を受けて、前記時間情報に基づく処理待ち時間の経過後、リセット命令を前記CAS部へ出力し、
前記CAS部は、前記CAS制御部から前記リセット命令を受けて、自己の状態を示す状態情報を前記CAS制御部へ出力し、
前記CAS制御部は、前記CAS部から受けた前記状態情報に基づいて、前記CAS部の状態の更新に関するログ情報を作成し、
前記CAS制御部は、前記補正処理において、前回の前記処理待ち時間を延長した場合に上限値を超える場合、前記上限値を今回の前記処理待ち時間として設定する、放送受信装置。
[Appendix 2]
A broadcast receiving unit that receives and demodulates a broadcast wave including program information and outputs demodulated data including the program information;
A CAS (Conditional Access System) unit for generating a key for decrypting the encrypted video data included in the demodulated data;
A decryption unit that decrypts the video data using the key generated by the CAS unit;
A CAS control unit for controlling the CAS unit,
The CAS unit outputs a reset request to the CAS control unit,
The CAS control unit receives the reset request from the CAS unit, outputs a reset command to the CAS unit,
The CAS unit outputs a reset response including time information to the CAS control unit, the reset response being a reset response to the reset command received from the CAS control unit,
The CAS control unit receives the reset response from the CAS unit, outputs a reset command to the CAS unit after a lapse of a processing waiting time based on the time information,
The CAS unit receives the reset command from the CAS control unit, and outputs state information indicating its own state to the CAS control unit.
The CAS control unit, based on the state information received from the CAS unit, creates log information related to the update of the state of the CAS unit,
The broadcast receiving device, wherein the CAS control unit sets the upper limit as the current processing waiting time when the correction processing exceeds an upper limit when the previous processing waiting time is extended.

11,31 放送受信部
12,32 処理部
13,33 CAS部
14,34 記憶部
21,42 CAS制御部
22,42 復号化部
25,46 状態情報DB
26,47 ログ情報DB
35 通信部
45 設定情報DB
51 通信部
53 処理部
101,102 放送受信装置
121 放送装置
141 アンテナ
151 表示装置
171 管理装置
173 放送衛星
201,202 放送受信システム
11, 31 Broadcast receiving unit 12, 32 Processing unit 13, 33 CAS unit 14, 34 Storage unit 21, 42 CAS control unit 22, 42 Decoding unit 25, 46 State information DB
26, 47 Log information DB
35 Communication unit 45 Setting information DB
REFERENCE SIGNS LIST 51 communication unit 53 processing unit 101, 102 broadcast receiving device 121 broadcast device 141 antenna 151 display device 171 management device 173 broadcast satellite 201, 202 broadcast receiving system

Claims (6)

番組の情報を含む放送波を受信して復調し、前記番組の情報を含む復調データを生成し、前記復調データに含まれる暗号化された映像データを、鍵を用いて復号する放送受信装置における放送受信方法であって、
前記放送受信装置は、前記復調データに含まれる暗号化された映像データを復号するための鍵を生成するCAS(Conditional Access System)部と、前記CAS部を制御するCAS制御部とを備え、
前記CAS部が、リセット要求を前記CAS制御部へ出力するステップと、
前記CAS制御部が、前記CAS部から前記リセット要求を受けて、リセット命令を前記CAS部へ出力するステップと、
前記CAS部が、前記CAS制御部から受けた前記リセット命令に対するリセット応答であって時間情報を含むリセット応答を前記CAS制御部へ出力するステップと、
前記CAS制御部が、前記CAS部から前記リセット応答を受けて、前記時間情報に基づく処理待ち時間の経過後、リセット命令を前記CAS部へ出力するステップと、
前記CAS部が、前記CAS制御部から前記リセット命令を受けて、自己の状態を示す状態情報を前記CAS制御部へ出力するステップと、
前記CAS制御部が、前記CAS部から受けた前記状態情報に基づいて、前記CAS部の状態の更新に関するログ情報を作成するステップとを含む、放送受信方法。
A broadcast receiving apparatus that receives and demodulates a broadcast wave including program information, generates demodulated data including the program information, and decrypts encrypted video data included in the demodulated data using a key. A broadcast receiving method,
The broadcast receiving apparatus includes: a CAS (Conditional Access System) unit that generates a key for decrypting encrypted video data included in the demodulated data; and a CAS control unit that controls the CAS unit.
The CAS unit outputting a reset request to the CAS control unit;
The CAS control unit receiving the reset request from the CAS unit and outputting a reset command to the CAS unit;
Outputting a reset response including time information to the CAS control unit, wherein the CAS unit is a reset response to the reset command received from the CAS control unit;
The CAS control unit receiving the reset response from the CAS unit and outputting a reset command to the CAS unit after a lapse of a processing waiting time based on the time information;
A step in which the CAS unit receives the reset command from the CAS control unit and outputs state information indicating its own state to the CAS control unit;
A step in which the CAS control unit creates log information relating to an update of the state of the CAS unit based on the state information received from the CAS unit.
前記放送受信方法は、さらに、
前記CAS制御部が、過去に作成した前記ログ情報に基づいて、今回の前記リセット命令を出力する際の前記処理待ち時間を補正する補正処理を行うステップを含む、請求項1に記載の放送受信方法。
The broadcast receiving method further includes:
2. The broadcast reception according to claim 1, wherein the CAS control unit performs a correction process for correcting the processing waiting time when the reset command is output this time based on the log information created in the past. 3. Method.
前記補正処理を行うステップにおいては、前記CAS制御部が、前回作成した前記ログ情報が前記状態の不更新を示す場合、前回の前記処理待ち時間を延長した前記処理待ち時間を設定する、請求項2に記載の放送受信方法。   In the step of performing the correction processing, the CAS control unit sets the processing waiting time obtained by extending a previous processing waiting time when the previously created log information indicates that the state is not updated. 3. The broadcast receiving method according to 2. 前記放送受信方法は、さらに、
前記CAS制御部が、管理装置から受信した前記処理待ち時間に関する管理情報に少なくとも基づいて、前記リセット命令を出力する際の前記処理待ち時間を決定するステップを含む、請求項1から請求項3のいずれか1項に記載の放送受信方法。
The broadcast receiving method further includes:
4. The method according to claim 1, further comprising a step of determining the processing waiting time when outputting the reset command based on at least the management information on the processing waiting time received from a management device. 5. The broadcast receiving method according to claim 1.
番組の情報を含む放送波を受信して復調し、前記番組の情報を含む復調データを出力する放送受信部と、
前記復調データに含まれる暗号化された映像データを復号するための鍵を生成するCAS(Conditional Access System)部と、
前記CAS部によって生成された前記鍵を用いて前記映像データを復号する復号化部と、
前記CAS部を制御するCAS制御部とを備え、
前記CAS部は、リセット要求を前記CAS制御部へ出力し、
前記CAS制御部は、前記CAS部から前記リセット要求を受けて、リセット命令を前記CAS部へ出力し、
前記CAS部は、前記CAS制御部から受けた前記リセット命令に対するリセット応答であって時間情報を含むリセット応答を前記CAS制御部へ出力し、
前記CAS制御部は、前記CAS部から前記リセット応答を受けて、前記時間情報に基づく処理待ち時間の経過後、リセット命令を前記CAS部へ出力し、
前記CAS部は、前記CAS制御部から前記リセット命令を受けて、自己の状態を示す状態情報を前記CAS制御部へ出力し、
前記CAS制御部は、前記CAS部から受けた前記状態情報に基づいて、前記CAS部の状態の更新に関するログ情報を作成する、放送受信装置。
A broadcast receiving unit that receives and demodulates a broadcast wave including program information and outputs demodulated data including the program information;
A CAS (Conditional Access System) unit for generating a key for decrypting the encrypted video data included in the demodulated data;
A decryption unit that decrypts the video data using the key generated by the CAS unit;
A CAS control unit for controlling the CAS unit,
The CAS unit outputs a reset request to the CAS control unit,
The CAS control unit receives the reset request from the CAS unit, outputs a reset command to the CAS unit,
The CAS unit outputs a reset response including time information to the CAS control unit, the reset response being a reset response to the reset command received from the CAS control unit,
The CAS control unit receives the reset response from the CAS unit, outputs a reset command to the CAS unit after a lapse of a processing waiting time based on the time information,
The CAS unit receives the reset command from the CAS control unit, and outputs state information indicating its own state to the CAS control unit.
The broadcast receiving device, wherein the CAS control unit creates log information relating to an update of the state of the CAS unit based on the state information received from the CAS unit.
放送波に含まれる暗号化された映像データを復号するための鍵を生成するCAS部を備える放送受信装置の管理方法であって、
複数の前記放送受信装置から、リセット命令を前記CAS部へ出力する際の処理待ち時間と、前記リセット命令を前記CAS部へ出力したことによる前記CAS部の状態の更新に関するログ情報との対応関係を示す対応情報を取得するステップと、
取得した各前記対応情報に基づいて、前記処理待ち時間に関する管理情報を作成するステップと、
作成した前記管理情報を1または複数の前記放送受信装置へ送信するステップとを含む、管理方法。
A method for managing a broadcast receiving apparatus including a CAS unit that generates a key for decrypting encrypted video data included in a broadcast wave,
Correspondence relationship between the processing waiting time when outputting a reset command from the plurality of broadcast receiving devices to the CAS unit and log information relating to updating of the state of the CAS unit by outputting the reset command to the CAS unit Acquiring correspondence information indicating
Based on each of the acquired correspondence information, creating management information about the processing waiting time,
Transmitting the created management information to one or more broadcast receiving devices.
JP2018165834A 2018-09-05 2018-09-05 Broadcast receiving method, broadcasting receiving device and management method Active JP7028112B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018165834A JP7028112B2 (en) 2018-09-05 2018-09-05 Broadcast receiving method, broadcasting receiving device and management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018165834A JP7028112B2 (en) 2018-09-05 2018-09-05 Broadcast receiving method, broadcasting receiving device and management method

Publications (2)

Publication Number Publication Date
JP2020039068A true JP2020039068A (en) 2020-03-12
JP7028112B2 JP7028112B2 (en) 2022-03-02

Family

ID=69738311

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018165834A Active JP7028112B2 (en) 2018-09-05 2018-09-05 Broadcast receiving method, broadcasting receiving device and management method

Country Status (1)

Country Link
JP (1) JP7028112B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040005237A (en) * 2002-07-09 2004-01-16 주식회사 한단정보통신 device for distinguishing cards and digital set-top box using the device
JP2009211269A (en) * 2008-03-03 2009-09-17 Canon Inc Broadcast receiver, and program update method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040005237A (en) * 2002-07-09 2004-01-16 주식회사 한단정보통신 device for distinguishing cards and digital set-top box using the device
JP2009211269A (en) * 2008-03-03 2009-09-17 Canon Inc Broadcast receiver, and program update method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"高度広帯域衛星デジタル放送運用規定 技術資料", ARIB TR-B39, vol. 1.8版, JPN6022001711, 26 July 2018 (2018-07-26), ISSN: 0004684109 *

Also Published As

Publication number Publication date
JP7028112B2 (en) 2022-03-02

Similar Documents

Publication Publication Date Title
JP4935346B2 (en) Broadcast content reception and storage system, reception storage device and program
JP4228304B2 (en) Information processing system, information processing apparatus and method, recording medium, and program
JP2005530368A (en) How to update revocation lists for non-compliant keys, devices, or modules in a secure system for broadcasting content
CN104185996A (en) System and method for secure asynchronous event notification for adaptive streaming based on ISO base media file format
US20080152150A1 (en) Information Distribution System
EP1684222A1 (en) License management method, information processing apparatus, information processing method, and program
JP5961164B2 (en) Broadcast-communication cooperative receiver and resource access control program
JPWO2014045893A1 (en) Receiving apparatus and receiving method
US20100008502A1 (en) Content distribution system, content reception terminal, content distribution method and processing method performed when viewing streaming contents
JP2009193460A (en) Information processor, distribution information input device, information processing method, and information processing program
KR20200093541A (en) QR codes for guided service authorization
US8520856B2 (en) Controlling the validity period of a decryption key
JP2003018518A (en) Information supply system, information-processing apparatus and method therefor record medium, and program thereof
US20090213777A1 (en) Distribution apparatus and receiving apparatus for reproducing predetermined contents
JP2006135589A (en) Digital broadcast receiver and method
US9537860B2 (en) Display control apparatus, display control method and server system
EP2713297A1 (en) Broadcast/communication linking receiver apparatus and resource managing apparatus
CN106101745A (en) A kind of video broadcasting method and system
JP7028112B2 (en) Broadcast receiving method, broadcasting receiving device and management method
US20050108287A1 (en) Content delivery system, content server, content receiver, content delivery method, storage medium and program
JP5941356B2 (en) Broadcast communication cooperative receiver, application authentication program, and broadcast communication cooperative system
JPWO2010016129A1 (en) Data broadcasting system, data broadcasting server, and data broadcasting program
JP4469687B2 (en) Service setting information download program, terminal device, and service setting information download method
JP6450974B2 (en) Reception device, reception method, and reception program
CN100538635C (en) Reception and display system, receiving equipment and display terminal

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211222

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220131

R150 Certificate of patent or registration of utility model

Ref document number: 7028112

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150