JP6555201B2 - Scramble device and scramble processing program - Google Patents

Scramble device and scramble processing program Download PDF

Info

Publication number
JP6555201B2
JP6555201B2 JP2016133093A JP2016133093A JP6555201B2 JP 6555201 B2 JP6555201 B2 JP 6555201B2 JP 2016133093 A JP2016133093 A JP 2016133093A JP 2016133093 A JP2016133093 A JP 2016133093A JP 6555201 B2 JP6555201 B2 JP 6555201B2
Authority
JP
Japan
Prior art keywords
packet
scramble
control
time
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016133093A
Other languages
Japanese (ja)
Other versions
JP2018007091A (en
Inventor
信弘 阿部
信弘 阿部
富博 鈴木
富博 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2016133093A priority Critical patent/JP6555201B2/en
Publication of JP2018007091A publication Critical patent/JP2018007091A/en
Application granted granted Critical
Publication of JP6555201B2 publication Critical patent/JP6555201B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Description

本発明は、スクランブル装置およびスクランブル処理プログラムに関し、特に、多重化装置から受信したパケットを処理するスクランブル装置およびスクランブル処理プログラムに関する。   The present invention relates to a scramble device and a scramble processing program, and more particularly to a scramble device and a scramble processing program for processing a packet received from a multiplexing device.

近年のデジタル技術の向上に伴い、テレビ放送等にデジタル技術を応用し、より多くの番組を提供するサービスが提供されている。限られた伝送帯域を使ってより多くの番組を高画質かつ高音質で提供するために、高能率圧縮および多重化技術が用いられている。   With the recent improvement of digital technology, services that provide more programs by applying digital technology to television broadcasting and the like have been provided. High-efficiency compression and multiplexing techniques are used to provide more programs with high image quality and high sound quality using a limited transmission band.

このようなデジタル放送システムにおける技術の一例として、たとえば、特開2006−262483号公報(特許文献1)には、デジタル放送におけるチャンネル切り替え時間を短縮するための技術が開示されている。すなわち、デジタルマルチメディア放送受信器における放送チャンネルの切り替えを制御する装置であって、伝送ストリームパケットを第1バッファリングした後に、上記切り替えられる放送チャンネルに関するプログラム情報を獲得するために、上記バッファリングされたデータからPAT(Program Association Table)、PMT(Program Map Table)、およびイントラフレームを検索する第1の逆多重化部と、上記伝送ストリームパケットを第2バッファリングし、上記第1の逆多重化部で獲得したプログラム情報に基づいて、上記第2バッファリングした伝送ストリームパケットから該当放送チャンネルのオーディオ或いはビデオ伝送ストリームパケットを検索してオーディオ或いはビデオ逆多重化を遂行する第2の逆多重化部とを備える。   As an example of a technique in such a digital broadcasting system, for example, Japanese Patent Laying-Open No. 2006-26283 (Patent Document 1) discloses a technique for shortening a channel switching time in digital broadcasting. That is, an apparatus for controlling switching of a broadcast channel in a digital multimedia broadcast receiver, which is buffered to acquire program information related to the switched broadcast channel after first buffering a transmission stream packet. A first demultiplexer that searches a PAT (Program Association Table), a PMT (Program Map Table), and an intra frame from the received data, and the second buffering of the transmission stream packet, and the first demultiplexing On the basis of the program information acquired by the transmission unit, the audio or video transmission stream packet of the corresponding broadcast channel is searched from the second buffered transmission stream packet to obtain the audio or video. It performs demultiplexing and a second demultiplexer.

特開2006−262483号公報JP 2006-26283 A

デジタル放送システムにおいては、たとえば、多重化装置およびスクランブル装置が、この順に縦続に接続される。   In a digital broadcasting system, for example, a multiplexing device and a scramble device are connected in cascade in this order.

具体的には、デジタル放送番組については、映像信号、音声信号、データ放送信号および制御信号等のコンポーネント信号が、多重化装置で多重されて送信される。そして、スクランブル装置が、受信したコンポーネント信号のうち、暗号化対象となっている信号を処理するとともに、処理のパラメータを記載したECM(Entitlement Control Message)を多重化装置に送り返し、ECMが番組信号として追加され、多重される。   Specifically, for digital broadcast programs, component signals such as video signals, audio signals, data broadcast signals, and control signals are multiplexed and transmitted by a multiplexing device. Then, the scrambler processes the signal to be encrypted among the received component signals, and sends back an ECM (Entirement Control Message) describing the processing parameters to the multiplexer, and the ECM is used as a program signal. Added and multiplexed.

受信機においては、ECMを取得して解析することにより復号化を実施することから、関係する情報の内容の整合性、および関係する情報のタイミングの同期特性は、デジタル放送システムにおいて極めて重要である。   Since the receiver performs decoding by acquiring and analyzing the ECM, the consistency of the contents of the related information and the synchronization characteristics of the timing of the related information are extremely important in the digital broadcasting system. .

したがって、送信側のシステムにおいてこれらの監視等を行うことは、非常に重要な機能となる。   Therefore, it is a very important function to perform such monitoring in the transmission side system.

この発明は、上述の課題を解決するためになされたもので、その目的は、番組の情報が伝送されるシステムにおいて、スクランブル処理に関する情報を良好に伝送し、受信側において安定した復号化を実現することが可能なスクランブル装置およびスクランブル処理プログラムを提供することである。   The present invention has been made to solve the above-described problems, and its object is to satisfactorily transmit information related to scramble processing in a system in which program information is transmitted, and to realize stable decoding on the receiving side. A scramble device and a scramble processing program that can be performed are provided.

(1)上記課題を解決するために、この発明のある局面に係わるスクランブル装置は、受信した複数のパケットに時刻情報を含めて多重化して送信する多重化装置からの前記パケットを受信する受信部と、前記受信部によって受信された前記パケットに含まれる対象情報にスクランブル処理を行うスクランブル部と、前記スクランブル部によって前記スクランブル処理の行われた前記対象情報を含むパケットを他の装置へ送信する送信部と、前記スクランブル部によって前記スクランブル処理の行われた前記対象情報の復号化に用いる制御情報を含むパケットである制御パケットを作成して時刻情報を含めて前記多重化装置へ送信する制御情報処理部とを備え、前記受信部は、前記多重化装置によって多重化されて送信された前記制御パケットを受信し、前記制御情報処理部は、前記受信部による前記制御パケットの受信タイミングに基づいて異常を判定する。   (1) In order to solve the above problems, a scrambler according to an aspect of the present invention includes a receiving unit that receives a packet from a multiplexing device that multiplexes and transmits a plurality of received packets including time information. A scrambler that scrambles the target information included in the packet received by the receiver, and a transmission that transmits the packet including the target information that has been scrambled by the scrambler to another device. And a control information processing for generating a control packet, which is a packet including control information used for decoding the target information that has been subjected to the scramble processing by the scramble unit, and including the time information to the multiplexing device And the receiving unit multiplexes and transmits the control packet transmitted by the multiplexing device. It receives the control information processing unit determines abnormality based on the reception timing of the control packet by the receiving unit.

(6)上記課題を解決するために、この発明のある局面に係わるスクランブル処理プログラムは、スクランブル装置において用いられるスクランブル処理プログラムであって、コンピュータを、受信した複数のパケットに時刻情報を含めて多重化して送信する多重化装置からの前記パケットを受信する受信部と、前記受信部によって受信された前記パケットに含まれる対象情報にスクランブル処理を行うスクランブル部と、前記スクランブル部によって前記スクランブル処理の行われた前記対象情報を含むパケットを他の装置へ送信する送信部と、前記スクランブル部によって前記スクランブル処理の行われた前記対象情報の復号化に用いる制御情報を含むパケットである制御パケットを作成して時刻情報を含めて前記多重化装置へ送信する制御情報処理部と、として機能させるためのプログラムであり、前記受信部は、前記多重化装置によって多重化されて送信された前記制御パケットを受信し、前記制御情報処理部は、前記受信部による前記制御パケットの受信タイミングに基づいて異常を判定する。   (6) In order to solve the above-mentioned problem, a scramble processing program according to an aspect of the present invention is a scramble processing program used in a scramble device, and multiplexes a plurality of received packets including time information. A receiving unit that receives the packet from the multiplexing device that transmits the packet, a scramble unit that scrambles the target information included in the packet received by the receiving unit, and a scramble unit that performs the scrambling process. A transmission unit that transmits a packet including the received target information to another apparatus, and a control packet that is a packet including control information used for decoding the target information that has been subjected to the scramble processing by the scramble unit. To the multiplexer including the time information A program for causing the information processing unit to function as the control information processing unit, wherein the reception unit receives the control packet multiplexed and transmitted by the multiplexing device, and the control information processing unit is operated by the reception unit. Abnormality is determined based on the reception timing of the control packet.

本発明は、このような特徴的な処理部を備えるスクランブル装置として実現できるだけでなく、かかる特徴的な処理をステップとする方法として実現することができる。また、本発明は、このような特徴的な処理部を備えるスクランブル装置として実現できるだけでなく、スクランブル装置の一部または全部を実現する半導体集積回路として実現したり、スクランブル装置を含むシステムとして実現したりすることができる。   The present invention can be realized not only as a scrambler including such a characteristic processing unit, but also as a method using such characteristic processing as a step. In addition, the present invention can be realized not only as a scrambler including such a characteristic processing unit, but also as a semiconductor integrated circuit that realizes part or all of the scrambler, or as a system including a scrambler. Can be.

本発明によれば、番組の情報が伝送されるシステムにおいて、スクランブル処理に関する情報を良好に伝送し、受信側において安定した復号化を実現することができる。   According to the present invention, in a system in which program information is transmitted, information related to scramble processing can be satisfactorily transmitted, and stable decoding can be realized on the receiving side.

図1は、本発明の実施の形態に係る放送システムの構成を示す図である。FIG. 1 is a diagram showing a configuration of a broadcasting system according to an embodiment of the present invention. 図2は、本発明の実施の形態に係る放送システムにおけるスクランブル装置の構成を示す図である。FIG. 2 is a diagram showing the configuration of the scrambler in the broadcast system according to the embodiment of the present invention. 図3は、本発明の実施の形態に係るスクランブル装置によるECM監視方式を説明するためのタイミング図である。FIG. 3 is a timing diagram for explaining an ECM monitoring method by the scrambler according to the embodiment of the present invention. 図4は、本発明の実施の形態に係るスクランブル装置によるECM監視方式を説明するためのタイミング図である。FIG. 4 is a timing diagram for explaining an ECM monitoring method by the scrambler according to the embodiment of the present invention. 図5は、本発明の実施の形態に係るスクランブル装置がECMパケットの監視処理を行う際の動作手順の一例を定めたフローチャートである。FIG. 5 is a flowchart defining an example of an operation procedure when the scrambler according to the embodiment of the present invention performs ECM packet monitoring processing.

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

(1)本発明の実施の形態に係るスクランブル装置は、受信した複数のパケットに時刻情報を含めて多重化して送信する多重化装置からの前記パケットを受信する受信部と、前記受信部によって受信された前記パケットに含まれる対象情報にスクランブル処理を行うスクランブル部と、前記スクランブル部によって前記スクランブル処理の行われた前記対象情報を含むパケットを他の装置へ送信する送信部と、前記スクランブル部によって前記スクランブル処理の行われた前記対象情報の復号化に用いる制御情報を含むパケットである制御パケットを作成して時刻情報を含めて前記多重化装置へ送信する制御情報処理部とを備え、前記受信部は、前記多重化装置によって多重化されて送信された前記制御パケットを受信し、前記制御情報処理部は、前記受信部による前記制御パケットの受信タイミングに基づいて異常を判定する。   (1) A scrambler according to an embodiment of the present invention includes a receiving unit that receives the packet from a multiplexing device that multiplexes and transmits a plurality of received packets including time information, and the reception unit receives the packet. A scramble unit that scrambles the target information included in the received packet, a transmission unit that transmits the packet including the target information subjected to the scramble process by the scramble unit, and a scramble unit A control information processing unit that creates a control packet that is a packet including control information used for decoding the target information that has been subjected to the scramble processing, and transmits the control packet including time information to the multiplexing device; and The unit receives the control packet multiplexed and transmitted by the multiplexing device, and receives the control information processing Determines abnormality based on the reception timing of the control packet by the receiving unit.

このように、多重化装置へ送信した制御パケットの到着を監視し、到着タイミングに基づいて異常を判定する構成により、スクランブル処理を効率的かつ有効に行いながら、制御情報の伝送の良好な監視、維持および異常処理等を実現することができる。したがって、本発明の実施の形態に係るスクランブル装置では、番組の情報が伝送されるシステムにおいて、スクランブル処理に関する情報を良好に伝送し、受信側において安定した復号化を実現することができる。   In this way, by monitoring the arrival of the control packet transmitted to the multiplexing device and determining the abnormality based on the arrival timing, it is possible to efficiently and effectively perform the scrambling process, while monitoring the transmission of the control information, Maintenance, abnormality processing, etc. can be realized. Therefore, in the scramble apparatus according to the embodiment of the present invention, in a system in which program information is transmitted, information related to scramble processing can be satisfactorily transmitted, and stable decoding can be realized on the receiving side.

(2)好ましくは、前記制御情報処理部は、前記制御パケットを所定間隔で前記多重化装置へ送信し、前記制御情報処理部は、前記受信部による前記制御パケットの受信間隔に基づいて異常を判定する。   (2) Preferably, the control information processing unit transmits the control packet to the multiplexing device at a predetermined interval, and the control information processing unit detects an abnormality based on the reception interval of the control packet by the receiving unit. judge.

このような構成により、簡易な処理で、制御パケットの異常を即時に検出することができる。   With such a configuration, it is possible to immediately detect an abnormality of the control packet with a simple process.

(3)好ましくは、前記制御情報処理部は、前記制御パケットを前記多重化装置へ送信してから前記受信部が前記多重化装置から受信するまでの時間に基づいて異常を判定する。   (3) Preferably, the control information processing unit determines an abnormality based on a time from when the control packet is transmitted to the multiplexing device until the receiving unit receives the control packet from the multiplexing device.

このような構成により、簡易な処理で、たとえばスクランブル鍵の更新を良好に監視することができる。   With such a configuration, for example, the update of the scramble key can be satisfactorily monitored with a simple process.

(4)好ましくは、前記制御情報処理部は、前記制御パケットを所定間隔で前記多重化装置へ送信し、前記制御情報処理部は、現在時刻に前記所定間隔を加えた値を前記時刻情報として前記制御パケットに含める。   (4) Preferably, the control information processing unit transmits the control packet to the multiplexing device at a predetermined interval, and the control information processing unit uses a value obtained by adding the predetermined interval to a current time as the time information. It is included in the control packet.

このような構成により、スクランブル装置から送信された制御パケットのタイムスタンプ値の影響で多重化装置が当該制御パケットを誤って多重化しない可能性を低減することができる。   With such a configuration, it is possible to reduce the possibility that the multiplexing apparatus will not multiplex the control packet by mistake due to the influence of the time stamp value of the control packet transmitted from the scramble apparatus.

(5)好ましくは、前記制御情報は、MMT(MPEG Media Transport)方式におけるECM(Entitlement Control Message)である。   (5) Preferably, the control information is an ECM (Entlement Control Message) in an MMT (MPEG Media Transport) system.

このような構成により、多重化装置における入出力の時間差を確定的には決めることができないMMT方式に従う放送システムにおいて、スクランブル処理を効率的かつ有効に行いながら、ECM伝送の良好な監視、維持および異常処理等を実現することができる。   With such a configuration, in a broadcasting system in accordance with the MMT system in which the time difference between input and output in the multiplexing apparatus cannot be determined deterministically, good monitoring, maintenance and maintenance of ECM transmission can be performed while performing scramble processing efficiently and effectively. Abnormal processing or the like can be realized.

(6)本発明の実施の形態に係るスクランブル処理プログラムは、スクランブル装置において用いられるスクランブル処理プログラムであって、コンピュータを、受信した複数のパケットに時刻情報を含めて多重化して送信する多重化装置からの前記パケットを受信する受信部と、前記受信部によって受信された前記パケットに含まれる対象情報にスクランブル処理を行うスクランブル部と、前記スクランブル部によって前記スクランブル処理の行われた前記対象情報を含むパケットを他の装置へ送信する送信部と、前記スクランブル部によって前記スクランブル処理の行われた前記対象情報の復号化に用いる制御情報を含むパケットである制御パケットを作成して時刻情報を含めて前記多重化装置へ送信する制御情報処理部と、として機能させるためのプログラムであり、前記受信部は、前記多重化装置によって多重化されて送信された前記制御パケットを受信し、前記制御情報処理部は、前記受信部による前記制御パケットの受信タイミングに基づいて異常を判定する。   (6) A scramble processing program according to an embodiment of the present invention is a scramble processing program used in a scramble device, and multiplexes a computer by multiplexing and transmitting a plurality of received packets including time information. A reception unit that receives the packet from the scramble unit, a scramble unit that scrambles the target information included in the packet received by the reception unit, and the target information that is scrambled by the scramble unit A transmission unit that transmits a packet to another device; and a control packet that includes control information used for decoding the target information that has been subjected to the scramble processing by the scramble unit, and includes time information to create the control packet Functions as a control information processing unit that transmits to the multiplexing device The receiving unit receives the control packet multiplexed and transmitted by the multiplexing device, and the control information processing unit is based on the reception timing of the control packet by the receiving unit. To determine abnormality.

このように、多重化装置へ送信した制御パケットの到着を監視し、到着タイミングに基づいて異常を判定する構成により、スクランブル処理を効率的かつ有効に行いながら、制御情報の伝送の良好な監視、維持および異常処理等を実現することができる。したがって、本発明の実施の形態に係るスクランブル装置では、番組の情報が伝送されるシステムにおいて、スクランブル処理に関する情報を良好に伝送し、受信側において安定した復号化を実現することができる。   In this way, by monitoring the arrival of the control packet transmitted to the multiplexing device and determining the abnormality based on the arrival timing, it is possible to efficiently and effectively perform the scrambling process, while monitoring the transmission of the control information, Maintenance, abnormality processing, etc. can be realized. Therefore, in the scramble apparatus according to the embodiment of the present invention, in a system in which program information is transmitted, information related to scramble processing can be satisfactorily transmitted, and stable decoding can be realized on the receiving side.

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

[構成]
図1は、本発明の実施の形態に係る放送システムの構成を示す図である。
[Constitution]
FIG. 1 is a diagram showing a configuration of a broadcasting system according to an embodiment of the present invention.

図1を参照して、放送システム301は、たとえばMMT(MPEG Media Transport)方式に従う放送システムであり、送信側において、NTP(Network Time Protocol)サーバ251と、多重化装置201と、スクランブル装置101とを備える。なお、放送システム301は、他の方式に従う放送システムであってもよい。   Referring to FIG. 1, a broadcast system 301 is a broadcast system that complies with, for example, the MMT (MPEG Media Transport) system, and on the transmission side, an NTP (Network Time Protocol) server 251, a multiplexing device 201, a scrambler 101, and the like. Is provided. Note that the broadcast system 301 may be a broadcast system according to another method.

NTPサーバ251は、現在時刻を示す時刻情報を多重化装置201およびスクランブル装置101等の各装置に配信する。   The NTP server 251 distributes time information indicating the current time to each device such as the multiplexing device 201 and the scramble device 101.

多重化装置201およびスクランブル装置101は、NTPサーバ251から受信した時刻情報に基づいて現在時刻を管理する。   Multiplexer 201 and scrambler 101 manage the current time based on the time information received from NTP server 251.

多重化装置201は、映像信号、音声信号、制御信号、データ放送信号および文字スーパー信号等のコンポーネント信号の情報(以下、対象情報とも称する。)を含むパケットを受信し、多重化してスクランブル装置101へ送信する。このパケットは、MMT方式に従うMMTパケットであり、ヘッダ部およびペイロードにより構成される。ヘッダ部には識別子、タイムスタンプおよびシーケンス番号等が格納され、ペイロードには対象情報等が格納される。   Multiplexer 201 receives a packet including component signal information (hereinafter also referred to as target information) such as a video signal, an audio signal, a control signal, a data broadcast signal, and a character super signal, and multiplexes and scrambles device 101. Send to. This packet is an MMT packet according to the MMT system, and includes a header part and a payload. The header portion stores an identifier, a time stamp, a sequence number, and the like, and the payload stores target information and the like.

多重化装置201は、MMTパケットをスクランブル装置101へ送信する際、当該MMTパケットのヘッダ部におけるタイムスタンプのフィールドに、現在時刻の値を格納する。   When the multiplexing apparatus 201 transmits the MMT packet to the scramble apparatus 101, the multiplexing apparatus 201 stores the value of the current time in the time stamp field in the header part of the MMT packet.

このように、多重化装置201は、受信した複数のMMTパケットに時刻情報を含め、各MMTパケットを多重化して送信する。   As described above, the multiplexing apparatus 201 includes time information in a plurality of received MMT packets and multiplexes and transmits each MMT packet.

スクランブル装置101は、多重化装置201から受信したMMTパケットのペイロードに格納された対象情報に所定のスクランブル処理を行い、処理後のMMTパケットを復号化装置等の受信側の装置へ送信する。   The scrambler 101 performs predetermined scramble processing on the target information stored in the payload of the MMT packet received from the multiplexer 201, and transmits the processed MMT packet to a receiving device such as a decoding device.

また、スクランブル装置101は、上記スクランブル処理を行った対象情報の復号化に用いるスクランブル鍵等の制御情報を含むMMTパケットであるECMパケット(制御パケット)を作成し、多重化装置201へ送信する。ここで、スクランブル装置101は、ECMパケットを多重化装置201へ送信する際、たとえば、ECMパケットのヘッダ部におけるタイムスタンプのフィールドに、現在時刻の値を格納する。   In addition, the scrambler 101 creates an ECM packet (control packet) that is an MMT packet including control information such as a scramble key used for decoding the target information subjected to the scramble process, and transmits it to the multiplexer 201. Here, when the scrambler 101 transmits the ECM packet to the multiplexer 201, for example, the value of the current time is stored in the time stamp field in the header part of the ECM packet.

多重化装置201は、スクランブル装置101から受信したECMパケットを、他のMMTパケットと同様に多重化してスクランブル装置101へ送信する。   Multiplexer 201 multiplexes the ECM packet received from scrambler 101 in the same manner as other MMT packets, and transmits the multiplexed packet to scrambler 101.

[課題]
ここで、たとえばMPEG2−TS(Moving Picture Experts Group 2 Transport Stream)規格に従う従来の放送システムでは、STC(System Time Clock)と呼ばれる放送局の基準クロックのカウンタ値を各装置で共有し、規格に準拠して送出パケットにPCR(Program Clock Reference)として記述することにより、装置間の同期が図られている。
[Task]
Here, for example, in a conventional broadcasting system according to the MPEG2-TS (Moving Picture Experts Group 2 Transport Stream) standard, a counter value of a reference clock of a broadcasting station called STC (System Time Clock) is shared by each device and conforms to the standard. Thus, synchronization between the devices is achieved by describing the transmission packet as PCR (Program Clock Reference).

この同期特性の確保のため、多重化装置では、入出力間の信号の時間遅れすなわち通過遅延ができる限りないことが装置の仕様となっている。これを前提にして、従来の放送システムでは、たとえば、スクランブル装置は、ECMを所定のタイミングで多重化装置へ送信する仕組みとなっていた。   In order to ensure this synchronization characteristic, the specification of the multiplexer is that there is as little time delay as possible between the input and output signals, that is, the passage delay. On the premise of this, in the conventional broadcasting system, for example, the scrambler has a mechanism for transmitting the ECM to the multiplexer at a predetermined timing.

これに対して、MMT方式では、上記のようなカウンタ値を用いた同期方式が撤廃され、パケットに正確な時刻を記述する方式を採用している。   On the other hand, in the MMT method, the synchronization method using the counter value as described above is eliminated, and a method of describing an accurate time in a packet is adopted.

これに伴い、多重化装置は、パケットを正確な時刻に送出する仕様となり、また、多重化装置における入出力の時間差を確定的には決めることができない、すなわちMMTパケットの通過遅延時間の要求が定められていない。このため、MMT方式の放送システムでは、多重化装置における短時間の通過遅延を保証することが困難である。   Along with this, the multiplexing device becomes a specification for sending the packet at an accurate time, and the time difference between the input and output in the multiplexing device cannot be determined determinately, that is, there is a request for the passage delay time of the MMT packet. Not defined. For this reason, it is difficult for the MMT broadcasting system to guarantee a short passage delay in the multiplexing apparatus.

これに対して、放送システム301では、スクランブル装置101は、多重化装置201においてECMの挿入が適正に行われたことを監視する。   On the other hand, in the broadcast system 301, the scrambler 101 monitors whether the ECM has been properly inserted in the multiplexer 201.

たとえば、MMT方式では、パケットにタイムスタンプが記述されているため、タイムスタンプ値と現在時刻との比較を逐一行うことにより、ECMパケットを監視する方法が考えられる。   For example, in the MMT method, since a time stamp is described in the packet, a method of monitoring the ECM packet by comparing the time stamp value with the current time one by one is conceivable.

しかしながら、このような方法では、以下の(1)(2)のような問題がある。
(1)処理の負荷が大きいため、すべてのパケットを対象にすることは困難である。したがって、エラー時において即時対応がとれない恐れがある。
(2)ECMの同期特性については、時刻の正確性は求められず、適正なタイミングで挿入されていれば良いとされる。さらに、タイムスタンプが多重化装置201において書き換えられる場合があることから、タイムスタンプ値を基準にした監視は本来の目的に沿ったものとは言えない。
However, such a method has the following problems (1) and (2).
(1) Since the processing load is large, it is difficult to target all packets. Therefore, there is a possibility that immediate action cannot be taken in the event of an error.
(2) With regard to the synchronization characteristics of ECM, the accuracy of time is not required, and it should be inserted at an appropriate timing. Furthermore, since the time stamp may be rewritten in the multiplexing device 201, monitoring based on the time stamp value cannot be said to be in line with the original purpose.

そこで、放送システム301では、以下のような構成および動作により、上記課題を解決する。   Therefore, the broadcast system 301 solves the above problem by the following configuration and operation.

図2は、本発明の実施の形態に係る放送システムにおけるスクランブル装置の構成を示す図である。   FIG. 2 is a diagram showing the configuration of the scrambler in the broadcast system according to the embodiment of the present invention.

図2を参照して、スクランブル装置101は、受信部11と、スクランブル部12と、送信部13と、制御情報処理部14と、タイマ15と、タイマ制御部16とを備える。   Referring to FIG. 2, the scramble device 101 includes a reception unit 11, a scramble unit 12, a transmission unit 13, a control information processing unit 14, a timer 15, and a timer control unit 16.

受信部11は、多重化装置201からのMMTパケットを受信してスクランブル部12へ出力する。   The receiving unit 11 receives the MMT packet from the multiplexing device 201 and outputs it to the scramble unit 12.

スクランブル部12は、受信部11によって受信されたMMTパケットに含まれる対象情報にスクランブル処理を行い、スクランブル処理後のMMTパケットを送信部13へ出力する。また、たとえば、スクランブル部12は、対象情報を含まないMMTパケットを受信部11から受けて送信部13へ出力してもよい。   The scramble unit 12 scrambles the target information included in the MMT packet received by the reception unit 11 and outputs the scrambled MMT packet to the transmission unit 13. Further, for example, the scramble unit 12 may receive an MMT packet not including the target information from the reception unit 11 and output the MMT packet to the transmission unit 13.

送信部13は、スクランブル部12によってスクランブル処理の行われた対象情報を含むMMTパケットを他の装置へ送信する。また、たとえば、送信部13は、対象情報を含まないMMTパケットをスクランブル部12から受けて他の装置へ送信してもよい。   The transmission unit 13 transmits the MMT packet including the target information subjected to the scramble process by the scramble unit 12 to another device. Further, for example, the transmission unit 13 may receive an MMT packet not including the target information from the scramble unit 12 and transmit it to another device.

また、スクランブル部12は、スクランブル処理を行った対象情報の復号化に用いる制御情報を制御情報処理部14へ出力する。   Further, the scramble unit 12 outputs control information used for decoding the target information subjected to the scramble process to the control information processing unit 14.

制御情報処理部14は、スクランブル部12によってスクランブル処理の行われた対象情報の復号化に用いる制御情報を含むMMTパケットである制御パケットを作成して時刻情報を含めて多重化装置201へ送信する。たとえば、制御情報処理部14は、制御パケットを所定間隔で多重化装置201へ送信する。   The control information processing unit 14 creates a control packet that is an MMT packet including control information used for decoding the target information that has been scrambled by the scramble unit 12, and transmits the control packet to the multiplexing device 201 including the time information. . For example, the control information processing unit 14 transmits control packets to the multiplexing device 201 at predetermined intervals.

タイマ制御部16は、NTPサーバ251から受信した時刻情報に基づいて、タイマ15のプリセット等の各種設定を行う。   The timer control unit 16 performs various settings such as presetting of the timer 15 based on the time information received from the NTP server 251.

制御情報処理部14は、タイマ15の出力値に基づく現在時刻を時刻情報としてECMパケットに格納する。   The control information processing unit 14 stores the current time based on the output value of the timer 15 in the ECM packet as time information.

受信部11は、多重化装置201によって多重化されて送信された制御パケットを受信する。   The receiving unit 11 receives the control packet multiplexed and transmitted by the multiplexing device 201.

制御情報処理部14は、受信部11による制御パケットの受信タイミングに基づいて異常を判定する。   The control information processing unit 14 determines abnormality based on the reception timing of the control packet by the reception unit 11.

具体的には、ECM監視方式1として、スクランブル装置101は、ECMパケットの到来間隔を常時監視する。   Specifically, as the ECM monitoring method 1, the scrambler 101 constantly monitors the ECM packet arrival interval.

すなわち、ECMパケットは、スクランブル装置101から送出され、多重化装置201においてコンポーネント信号と多重化された後、スクランブル装置101へ送出される。   That is, the ECM packet is transmitted from the scrambler 101, multiplexed with the component signal in the multiplexer 201, and then transmitted to the scrambler 101.

スクランブル装置101が受信するn番目のECMパケットと(n+1)番目のECMパケットとの到来間隔は、スクランブル装置101によるECMパケットの送出間隔±αの範囲となるはずである。   The arrival interval between the nth ECM packet received by the scrambler 101 and the (n + 1) th ECM packet should be within the range of the ECM packet transmission interval ± α by the scrambler 101.

制御情報処理部14は、このECMパケットの到来間隔を監視することにより、多重化装置201においてECMパケットの挿入が適正に行われたことを確認することができる。   The control information processing unit 14 can confirm that the ECM packet has been properly inserted in the multiplexing apparatus 201 by monitoring the arrival interval of the ECM packet.

すなわち、制御情報処理部14は、受信部11による制御パケットの受信間隔に基づいて異常を判定する。   That is, the control information processing unit 14 determines abnormality based on the reception interval of the control packet by the receiving unit 11.

図3は、本発明の実施の形態に係るスクランブル装置によるECM監視方式を説明するためのタイミング図である。図3において、横軸は時間を示す。   FIG. 3 is a timing diagram for explaining an ECM monitoring method by the scrambler according to the embodiment of the present invention. In FIG. 3, the horizontal axis indicates time.

図3を参照して、スクランブル鍵K1に対応する期間の時刻TS1において、スクランブル装置101は、スクランブル鍵K1およびK2を含むECMパケットを多重化装置201へ送信する。スクランブル装置101は、時間TBの間隔で、当該ECMパケットを多重化装置201へ繰り返し送信する。   Referring to FIG. 3, at time TS1 of a period corresponding to scramble key K1, scramble apparatus 101 transmits an ECM packet including scramble keys K1 and K2 to multiplexing apparatus 201. The scrambler 101 repeatedly transmits the ECM packet to the multiplexer 201 at time TB intervals.

制御情報処理部14は、スクランブル装置101が受信するn番目のECMパケットと(n+1)番目のECMパケットとの到来間隔TDが、ECMパケットの送出間隔TB±αの範囲に収まる場合、多重化装置201においてECMパケットの挿入が適正に行われていると判断し、当該範囲に収まらない場合、多重化装置201においてECMパケットの挿入が適正に行われていないと判断する。   When the arrival interval TD between the nth ECM packet and the (n + 1) th ECM packet received by the scrambler 101 falls within the range of the ECM packet transmission interval TB ± α, the control information processing unit 14 In 201, it is determined that the insertion of the ECM packet is properly performed, and when it does not fall within the range, it is determined that the multiplexing device 201 does not insert the ECM packet properly.

制御情報処理部14は、ECMパケットのヘッダ部に含まれる識別子およびシーケンス番号等を参照することにより、ECMパケットを特定することが可能である。   The control information processing unit 14 can identify an ECM packet by referring to an identifier, a sequence number, and the like included in the header part of the ECM packet.

ECM監視方式1は、処理が簡易であり、即時に異常を検出することができる。また、略一定周期で到来するというECMに関する受信機における要求事項にも合致している。   The ECM monitoring method 1 is simple in processing and can detect an abnormality immediately. It also meets the requirements at the receiver for ECM that arrive at a substantially constant period.

ここで、たとえば、制御情報処理部14は、現在時刻に上記所定間隔を加えた値を時刻情報として制御パケットに含める。   Here, for example, the control information processing unit 14 includes a value obtained by adding the predetermined interval to the current time as time information in the control packet.

具体的には、スクランブル装置101は、時刻TS1において、ECMパケットのヘッダ部におけるタイムスタンプのフィールドに、「現在時刻(TS1)+時間TB」の値を格納する。   Specifically, the scrambler 101 stores the value of “current time (TS1) + time TB” in the time stamp field in the header part of the ECM packet at time TS1.

これにより、多重化装置201は、当該ECMパケットを、時間TB分スプールすなわち保持してからスクランブル装置101へ送信する。すなわち、時刻TS1から時間TBおよび多重化装置201における遅延時間TCが経過した時刻TS2において、当該ECMパケットが多重化装置201からスクランブル装置101へ送信される。この際、当該ECMパケットのタイムスタンプ値は、時刻TS2に書き換えられてスクランブル装置101へ送信される。   As a result, the multiplexing apparatus 201 transmits the ECM packet to the scramble apparatus 101 after being spooled, that is, held for the time TB. That is, the ECM packet is transmitted from the multiplexer 201 to the scrambler 101 at time TS2 when the time TB and the delay time TC in the multiplexer 201 have elapsed from the time TS1. At this time, the time stamp value of the ECM packet is rewritten at time TS2 and transmitted to the scrambler 101.

このように「現在時刻(TS1)+時間TB」の値を用いる構成により、スクランブル装置101から送信されたECMパケットのタイムスタンプ値に起因して多重化装置201が当該ECMパケットを誤って多重化しない可能性を低減することができる。   In this way, with the configuration using the value of “current time (TS1) + time TB”, the multiplexer 201 erroneously multiplexes the ECM packet due to the time stamp value of the ECM packet transmitted from the scrambler 101. The possibility of not doing so can be reduced.

また、ECM監視方式2として、スクランブル装置101は、たとえばECM更新後の最初のECMパケットの送出から当該ECMパケットの入力までの間隔を監視する。   As the ECM monitoring method 2, the scrambler 101 monitors, for example, an interval from the transmission of the first ECM packet after the ECM update to the input of the ECM packet.

すなわち、映像、音声およびデータ放送等のコンテンツに対してスクランブルをかける、すなわち暗号化する際のスクランブル鍵は数秒間隔で更新され、ECMパケットには、当該スクランブル鍵が格納される。   That is, the scramble key for scrambled, that is, encrypted, content such as video, audio, and data broadcast is updated at intervals of several seconds, and the scramble key is stored in the ECM packet.

スクランブル鍵の更新が正常に行われないと、受信機において番組を視聴できなくなることが予想されるため、スクランブル鍵の更新を監視することは重要である。   If the scramble key is not updated normally, it is expected that the program cannot be viewed at the receiver. Therefore, it is important to monitor the update of the scramble key.

スクランブル鍵を更新してから最初のECMパケットを多重化装置201へ送信し、当該ECMパケットがスクランブル装置101に戻ってくるまでの時間TEは、時間TBに多重化装置201の遅延時間TCを加算した時間(TB+TC)となるはずである。   The time TE from when the scramble key is updated until the first ECM packet is transmitted to the multiplexer 201 and the ECM packet returns to the scrambler 101 is added to the delay time TC of the multiplexer 201 to the time TB. Time (TB + TC).

制御情報処理部14は、制御パケットを多重化装置201へ送信してから受信部11が多重化装置201から受信するまでの時間TEに基づいて異常を判定する。   The control information processing unit 14 determines abnormality based on a time TE from when the control packet is transmitted to the multiplexing device 201 until the reception unit 11 receives the control packet from the multiplexing device 201.

すなわち、制御情報処理部14は、この時間TEを監視することにより、スクランブル鍵の更新が正常に行われたことを確認する。具体的には、制御情報処理部14は、時間TEが時間(TB+TC)±βの範囲に収まる場合、多重化装置201においてECMパケットの挿入が適正に行われていると判断し、当該範囲に収まらない場合、多重化装置201においてECMパケットの挿入が適正に行われていないと判断する。   In other words, the control information processing unit 14 monitors the time TE to confirm that the scramble key has been updated normally. Specifically, when the time TE falls within the range of time (TB + TC) ± β, the control information processing unit 14 determines that the multiplexing device 201 has inserted the ECM packet properly, and enters the range. If not, it is determined that the multiplexing device 201 has not inserted the ECM packet properly.

なお、時間TBはシステム運用に応じて決定される。また、多重化装置201の遅延時間TCは個体差がある。このため、放送システム301では、時間TBおよびTCは、たとえばスクランブル装置101において設定変更可能とする。   The time TB is determined according to the system operation. Further, the delay time TC of the multiplexing apparatus 201 has individual differences. For this reason, in the broadcast system 301, the times TB and TC can be set and changed in the scrambler 101, for example.

以降同様に、時刻TS1からスクランブル鍵の更新間隔TAが経過した、スクランブル鍵K2に対応する期間の時刻TS3において、スクランブル装置101は、スクランブル鍵K2およびK3を含むECMパケットを多重化装置201へ送信する。スクランブル装置101は、時間TBの間隔で、当該ECMパケットを多重化装置201へ繰り返し送信する。   Thereafter, similarly, at time TS3 in a period corresponding to the scramble key K2 when the scramble key update interval TA has elapsed from time TS1, the scrambler 101 transmits an ECM packet including the scramble keys K2 and K3 to the multiplexer 201. To do. The scrambler 101 repeatedly transmits the ECM packet to the multiplexer 201 at time TB intervals.

また、同様に、スクランブル装置101は、時刻TS3において、ECMパケットのヘッダ部におけるタイムスタンプのフィールドに、「現在時刻(TS3)+時間TB」の値を格納する。   Similarly, the scrambler 101 stores the value of “current time (TS3) + time TB” in the time stamp field in the header part of the ECM packet at time TS3.

これにより、多重化装置201は、当該ECMパケットを、時間TB分スプールすなわち保持してからスクランブル装置101へ送信する。すなわち、時刻TS3から時間TBおよび多重化装置201における遅延時間TCが経過した時刻TS4において、当該ECMパケットが多重化装置201からスクランブル装置101へ送信される。この際、当該ECMパケットのタイムスタンプ値は、時刻TS4に書き換えられてスクランブル装置101へ送信される。   As a result, the multiplexing apparatus 201 transmits the ECM packet to the scramble apparatus 101 after being spooled, that is, held for the time TB. That is, the ECM packet is transmitted from the multiplexer 201 to the scrambler 101 at time TS4 when the time TB and the delay time TC in the multiplexer 201 have elapsed from the time TS3. At this time, the time stamp value of the ECM packet is rewritten at time TS4 and transmitted to the scrambler 101.

なお、制御情報処理部14は、ECM監視方式1および2を並行して行う構成であるとしたが、これに限定するものではない。制御情報処理部14は、各方式のいずれか一方を行う構成であってもよいし、順番に行う構成であってもよい。   The control information processing unit 14 is configured to perform the ECM monitoring methods 1 and 2 in parallel, but is not limited thereto. The control information processing unit 14 may be configured to perform any one of the methods, or may be configured to perform in order.

図4は、本発明の実施の形態に係るスクランブル装置によるECM監視方式を説明するためのタイミング図である。以下で説明する内容以外は図3と同様である。   FIG. 4 is a timing diagram for explaining an ECM monitoring method by the scrambler according to the embodiment of the present invention. The contents other than those described below are the same as those in FIG.

図4を参照して、たとえば、制御情報処理部14は、現在時刻を時刻情報として制御パケットに含める。   Referring to FIG. 4, for example, control information processing unit 14 includes the current time in the control packet as time information.

具体的には、スクランブル装置101は、時刻TS11において、ECMパケットのヘッダ部におけるタイムスタンプのフィールドに、現在時刻(TS11)の値を格納する。   Specifically, the scrambler 101 stores the value of the current time (TS11) in the time stamp field in the header part of the ECM packet at time TS11.

これにより、多重化装置201は、図3に示す例と異なり、当該ECMパケットを、時間TB分のスプールを行わずにスクランブル装置101へ送信する。すなわち、時刻TS11から多重化装置201における遅延時間TCが経過した時刻TS12において、当該ECMパケットが多重化装置201からスクランブル装置101へ送信される。この際、当該ECMパケットのタイムスタンプ値は、時刻TS12に書き換えられてスクランブル装置101へ送信される。   Thereby, unlike the example illustrated in FIG. 3, the multiplexing apparatus 201 transmits the ECM packet to the scramble apparatus 101 without performing spooling for the time TB. That is, the ECM packet is transmitted from the multiplexer 201 to the scrambler 101 at time TS12 when the delay time TC in the multiplexer 201 has elapsed from time TS11. At this time, the time stamp value of the ECM packet is rewritten at time TS12 and transmitted to the scrambler 101.

ECM監視方式2として、スクランブル装置101は、たとえばECM更新後の最初のECMパケットの送出から当該ECMパケットの入力までの間隔を監視する。   As the ECM monitoring method 2, the scrambler 101 monitors, for example, an interval from transmission of the first ECM packet after ECM update to input of the ECM packet.

図4に示す例では、スクランブル鍵を更新してから最初のECMパケットを多重化装置201へ送信し、当該ECMパケットがスクランブル装置101に戻ってくるまでの時間TEは、多重化装置201の遅延時間TCとなるはずである。   In the example shown in FIG. 4, the time TE from when the scramble key is updated until the first ECM packet is transmitted to the multiplexer 201 and the ECM packet returns to the scrambler 101 is the delay of the multiplexer 201. Time TC should be reached.

制御情報処理部14は、制御パケットを多重化装置201へ送信してから受信部11が多重化装置201から受信するまでの時間TEに基づいて異常を判定する。   The control information processing unit 14 determines abnormality based on a time TE from when the control packet is transmitted to the multiplexing device 201 until the reception unit 11 receives the control packet from the multiplexing device 201.

すなわち、制御情報処理部14は、この時間TEを監視することにより、スクランブル鍵の更新が正常に行われたことを確認する。具体的には、制御情報処理部14は、時間TEが遅延時間TC±βの範囲に収まる場合、多重化装置201においてECMパケットの挿入が適正に行われていると判断し、当該範囲に収まらない場合、多重化装置201においてECMパケットの挿入が適正に行われていないと判断する。   In other words, the control information processing unit 14 monitors the time TE to confirm that the scramble key has been updated normally. Specifically, when the time TE falls within the range of the delay time TC ± β, the control information processing unit 14 determines that the multiplexing device 201 has properly inserted the ECM packet and falls within the range. If not, it is determined that the multiplexing device 201 has not properly inserted the ECM packet.

以降同様に、時刻TS11からスクランブル鍵の更新間隔TAが経過した、スクランブル鍵K2に対応する期間の時刻TS13において、スクランブル装置101は、スクランブル鍵K2およびK3を含むECMパケットを多重化装置201へ送信する。スクランブル装置101は、時間TBの間隔で、当該ECMパケットを多重化装置201へ繰り返し送信する。   Thereafter, similarly, at time TS13 in a period corresponding to the scramble key K2 when the scramble key update interval TA has elapsed from time TS11, the scrambler 101 transmits an ECM packet including the scramble keys K2 and K3 to the multiplexer 201. To do. The scrambler 101 repeatedly transmits the ECM packet to the multiplexer 201 at time TB intervals.

また、同様に、スクランブル装置101は、時刻TS13において、ECMパケットのヘッダ部におけるタイムスタンプのフィールドに、現在時刻(TS13)の値を格納する。   Similarly, the scrambler 101 stores the value of the current time (TS13) in the time stamp field in the header part of the ECM packet at time TS13.

これにより、多重化装置201は、図3に示す例と異なり、当該ECMパケットを、時間TB分のスプールを行わずにスクランブル装置101へ送信する。すなわち、時刻TS13から多重化装置201における遅延時間TCが経過した時刻TS14において、当該ECMパケットが多重化装置201からスクランブル装置101へ送信される。この際、当該ECMパケットのタイムスタンプ値は、時刻TS14に書き換えられてスクランブル装置101へ送信される。   Thereby, unlike the example illustrated in FIG. 3, the multiplexing apparatus 201 transmits the ECM packet to the scramble apparatus 101 without performing spooling for the time TB. That is, the ECM packet is transmitted from the multiplexer 201 to the scrambler 101 at the time TS14 when the delay time TC in the multiplexer 201 has elapsed from the time TS13. At this time, the time stamp value of the ECM packet is rewritten at time TS14 and transmitted to the scrambler 101.

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

図5は、本発明の実施の形態に係るスクランブル装置がECMパケットの監視処理を行う際の動作手順の一例を定めたフローチャートである。図5は、図3に対応する動作の流れを示している。   FIG. 5 is a flowchart defining an example of an operation procedure when the scrambler according to the embodiment of the present invention performs ECM packet monitoring processing. FIG. 5 shows an operation flow corresponding to FIG.

図5を参照して、まず、制御情報処理部14は、現在時刻の値をタイムスタンプ値とするECMパケットを作成する(ステップS1)。   With reference to FIG. 5, first, the control information processing unit 14 creates an ECM packet having the current time value as a time stamp value (step S1).

次に、制御情報処理部14は、作成したECMパケットを多重化装置201へ送信する。制御情報処理部14は、ECMパケットを所定間隔すなわち送出間隔TBで繰り返し送信する(ステップS2)。   Next, the control information processing unit 14 transmits the created ECM packet to the multiplexing device 201. The control information processing unit 14 repeatedly transmits the ECM packet at a predetermined interval, that is, a transmission interval TB (step S2).

次に、受信部11は、多重化装置201からECMパケットを受信し、受信したECMパケットの内容を制御情報処理部14に通知する(ステップS3)。   Next, the receiving unit 11 receives the ECM packet from the multiplexing device 201 and notifies the control information processing unit 14 of the content of the received ECM packet (step S3).

次に、制御情報処理部14は、受信部11からの通知を受けて、ECMパケットの到来間隔TDを算出し、算出値がECMパケットの送出間隔TB±αの範囲に収まらない場合(ステップS4でNO)、多重化装置201においてECMパケットの挿入が適正に行われていないと判断し、警報出力を行う(ステップS6)。   Next, the control information processing unit 14 receives the notification from the receiving unit 11 and calculates the arrival interval TD of the ECM packet, and the calculated value does not fall within the range of the transmission interval TB ± α of the ECM packet (step S4). NO), it is determined that the ECM packet is not properly inserted in the multiplexing apparatus 201, and an alarm is output (step S6).

また、制御情報処理部14は、受信部11からの通知を受けて、スクランブル鍵を更新してから最初のECMパケットを多重化装置201へ送信して当該ECMパケットがスクランブル装置101に戻ってくるまでの時間TEを算出する(ステップS5)。そして、制御情報処理部14は、算出した時間TEが時間(TB+TC)±βの範囲に収まらない場合(ステップS5でNO)、多重化装置201においてECMパケットの挿入が適正に行われていないと判断し、警報出力を行う(ステップS6)。   Also, the control information processing unit 14 receives the notification from the reception unit 11, updates the scramble key, transmits the first ECM packet to the multiplexing device 201, and the ECM packet returns to the scramble device 101. Time TE is calculated (step S5). If the calculated time TE does not fall within the range of time (TB + TC) ± β (NO in step S5), the control information processing unit 14 determines that the ECM packet is not properly inserted in the multiplexing device 201. Judgment is made and an alarm is output (step S6).

一方、制御情報処理部14は、ECMパケットの到来間隔TDがECMパケットの送出間隔TB±αの範囲に収まり(ステップS4でYES)、かつ時間TEが時間(TB+TC)±βの範囲に収まる場合(ステップS5でYES)、多重化装置201においてECMパケットの挿入が適正に行われていると判断し、監視処理を継続する。   On the other hand, when the arrival interval TD of the ECM packet falls within the range of the transmission interval TB ± α of the ECM packet (YES in step S4) and the time TE falls within the range of time (TB + TC) ± β (YES in step S5), it is determined that the ECM packet is properly inserted in the multiplexing apparatus 201, and the monitoring process is continued.

ところで、デジタル放送システムの受信機においては、ECMを取得して解析することにより復号化を実施することから、関係情報の内容の整合性、および関係情報のタイミングの同期特性は、デジタル放送システムにおいて極めて重要である。したがって、送信側のシステムにおいてこれらの監視等を行うことは、非常に重要な機能となる。   By the way, since the receiver of the digital broadcasting system performs decoding by acquiring and analyzing the ECM, the consistency of the contents of the related information and the synchronization characteristics of the timing of the related information are the same in the digital broadcasting system. Very important. Therefore, it is a very important function to perform such monitoring in the transmission side system.

これに対して、本発明の実施の形態に係るスクランブル装置では、受信部11は、受信した複数のMMTパケットに時刻情報を含めて多重化して送信する多重化装置201からのMMTパケットを受信する。スクランブル部12は、受信部11によって受信されたMMTパケットに含まれる対象情報にスクランブル処理を行う。送信部13は、スクランブル部12によってスクランブル処理の行われた対象情報を含むMMTパケットを他の装置へ送信する。制御情報処理部14は、スクランブル部12によってスクランブル処理の行われた対象情報の復号化に用いる制御情報を含むMMTパケットである制御パケットを作成して時刻情報を含めて多重化装置201へ送信する。受信部11は、多重化装置201によって多重化されて送信された制御パケットを受信する。そして、制御情報処理部14は、受信部11による制御パケットの受信タイミングに基づいて異常を判定する。   In contrast, in the scrambling apparatus according to the embodiment of the present invention, receiving section 11 receives an MMT packet from multiplexing apparatus 201 that multiplexes and transmits a plurality of received MMT packets including time information. . The scrambler 12 performs a scramble process on the target information included in the MMT packet received by the receiver 11. The transmission unit 13 transmits the MMT packet including the target information subjected to the scramble process by the scramble unit 12 to another device. The control information processing unit 14 creates a control packet that is an MMT packet including control information used for decoding the target information that has been scrambled by the scramble unit 12, and transmits the control packet to the multiplexing device 201 including the time information. . The receiving unit 11 receives the control packet multiplexed and transmitted by the multiplexing device 201. Then, the control information processing unit 14 determines abnormality based on the reception timing of the control packet by the reception unit 11.

このように、多重化装置201へ送信したECMパケットの到着を監視し、到着タイミングに基づいて異常を判定する構成により、スクランブル処理を効率的かつ有効に行いながら、ECM伝送の良好な監視、維持および異常処理等を実現することができる。   In this way, by monitoring the arrival of the ECM packet transmitted to the multiplexing apparatus 201 and determining the abnormality based on the arrival timing, it is possible to efficiently monitor and maintain the ECM transmission while performing the scramble processing efficiently and effectively. In addition, abnormal processing and the like can be realized.

したがって、本発明の実施の形態に係るスクランブル装置では、番組の情報が伝送されるシステムにおいて、スクランブル処理に関する情報を良好に伝送し、受信側において安定した復号化を実現することができる。   Therefore, in the scramble apparatus according to the embodiment of the present invention, in a system in which program information is transmitted, information related to scramble processing can be satisfactorily transmitted, and stable decoding can be realized on the receiving side.

また、本発明の実施の形態に係るスクランブル装置では、制御情報処理部14は、制御パケットを所定間隔で多重化装置201へ送信する。制御情報処理部14は、受信部11による制御パケットの受信間隔に基づいて異常を判定する。   Further, in the scramble apparatus according to the embodiment of the present invention, control information processing unit 14 transmits control packets to multiplexing apparatus 201 at predetermined intervals. The control information processing unit 14 determines abnormality based on the reception interval of the control packet by the reception unit 11.

このような構成により、簡易な処理で、ECMパケットの異常を即時に検出することができる。   With such a configuration, it is possible to immediately detect an abnormality of the ECM packet with a simple process.

また、本発明の実施の形態に係るスクランブル装置では、制御情報処理部14は、制御パケットを多重化装置201へ送信してから受信部11が多重化装置201から受信するまでの時間に基づいて異常を判定する。   Also, in the scramble apparatus according to the embodiment of the present invention, control information processing unit 14 is based on the time from when the control packet is transmitted to multiplexing apparatus 201 until reception unit 11 receives from multiplexing apparatus 201. Judge abnormalities.

このような構成により、簡易な処理で、たとえばスクランブル鍵の更新を良好に監視することができる。   With such a configuration, for example, the update of the scramble key can be satisfactorily monitored with a simple process.

また、本発明の実施の形態に係るスクランブル装置では、制御情報処理部14は、現在時刻に上記所定間隔を加えた値を時刻情報として制御パケットに含める。   Further, in the scramble apparatus according to the embodiment of the present invention, the control information processing unit 14 includes a value obtained by adding the predetermined interval to the current time as time information in the control packet.

このような構成により、スクランブル装置101から送信されたECMパケットのタイムスタンプ値の影響で多重化装置201が当該ECMパケットを誤って多重化しない可能性を低減することができる。   With such a configuration, it is possible to reduce the possibility that the multiplexing apparatus 201 does not multiplex the ECM packet by mistake due to the influence of the time stamp value of the ECM packet transmitted from the scramble apparatus 101.

また、本発明の実施の形態に係るスクランブル装置では、制御情報は、MMT(MPEG Media Transport)方式におけるECM(Entitlement Control Message)である。   In the scrambler according to the embodiment of the present invention, the control information is an ECM (Entlement Control Message) in the MMT (MPEG Media Transport) system.

このような構成により、多重化装置201における入出力の時間差を確定的には決めることができないMMT方式に従う放送システム301において、スクランブル処理を効率的かつ有効に行いながら、ECM伝送の良好な監視、維持および異常処理等を実現することができる。   With such a configuration, in the broadcasting system 301 according to the MMT system in which the time difference between input and output in the multiplexing apparatus 201 cannot be determined deterministically, good monitoring of ECM transmission is performed while performing scramble processing efficiently and effectively. Maintenance, abnormality processing, etc. can be realized.

上記実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記説明ではなく特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The above embodiment should be considered as illustrative in all points 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.

以上の説明は、以下に付記する特徴を含む。   The above description includes the following features.

[付記1]
受信した複数のパケットに時刻情報を含めて多重化して送信する多重化装置からの前記パケットを受信する受信部と、
前記受信部によって受信された前記パケットに含まれる対象情報にスクランブル処理を行うスクランブル部と、
前記スクランブル部によって前記スクランブル処理の行われた前記対象情報を含むパケットを他の装置へ送信する送信部と、
前記スクランブル部によって前記スクランブル処理の行われた前記対象情報の復号化に用いる制御情報を含むパケットである制御パケットを作成して時刻情報を含めて前記多重化装置へ送信する制御情報処理部とを備え、
前記受信部は、前記多重化装置によって多重化されて送信された前記制御パケットを受信し、
前記制御情報処理部は、前記受信部による前記制御パケットの受信タイミングに基づいて異常を判定し、
前記多重化装置における前記パケットの通過遅延時間の要求が定められていない、スクランブル装置。
[Appendix 1]
A receiving unit that receives the packet from the multiplexing device that multiplexes and transmits the received packet including time information; and
A scrambler that scrambles the target information included in the packet received by the receiver;
A transmission unit for transmitting a packet including the target information subjected to the scramble process by the scramble unit to another device;
A control information processing unit that creates a control packet that is a packet including control information used for decoding the target information that has been subjected to the scramble processing by the scramble unit, and transmits the control packet including the time information to the multiplexing device; Prepared,
The receiving unit receives the control packet multiplexed and transmitted by the multiplexing device;
The control information processing unit determines an abnormality based on the reception timing of the control packet by the receiving unit,
A scrambler in which a request for a transit delay time of the packet in the multiplexer is not defined.

11 受信部
12 スクランブル部
13 送信部
14 制御情報処理部
15 タイマ
16 タイマ制御部
101 スクランブル装置
201 多重化装置
251 NTPサーバ
301 放送システム
DESCRIPTION OF SYMBOLS 11 Receiver 12 Scrambler 13 Transmitter 14 Control information processor 15 Timer 16 Timer controller 101 Scrambler 201 Multiplexer 251 NTP server 301 Broadcast system

Claims (6)

受信した複数のパケットに時刻情報を含めて多重化して送信する多重化装置からの前記パケットを受信する受信部と、
前記受信部によって受信された前記パケットに含まれる対象情報にスクランブル処理を行うスクランブル部と、
前記スクランブル部によって前記スクランブル処理の行われた前記対象情報を含むパケットを他の装置へ送信する送信部と、
前記スクランブル部によって前記スクランブル処理の行われた前記対象情報の復号化に用いる制御情報を含むパケットである制御パケットを作成して時刻情報を含めて前記多重化装置へ送信する制御情報処理部とを備え、
前記受信部は、前記多重化装置によって多重化されて送信された前記制御パケットを受信し、
前記制御情報処理部は、前記受信部による前記制御パケットの受信タイミングに基づいて異常を判定する、スクランブル装置。
A receiving unit that receives the packet from the multiplexing device that multiplexes and transmits the received packet including time information; and
A scrambler that scrambles the target information included in the packet received by the receiver;
A transmission unit for transmitting a packet including the target information subjected to the scramble process by the scramble unit to another device;
A control information processing unit that creates a control packet that is a packet including control information used for decoding the target information that has been subjected to the scramble processing by the scramble unit, and transmits the control packet including the time information to the multiplexing device; Prepared,
The receiving unit receives the control packet multiplexed and transmitted by the multiplexing device;
The scramble apparatus, wherein the control information processing unit determines an abnormality based on a reception timing of the control packet by the receiving unit.
前記制御情報処理部は、前記制御パケットを所定間隔で前記多重化装置へ送信し、
前記制御情報処理部は、前記受信部による前記制御パケットの受信間隔に基づいて異常を判定する、請求項1に記載のスクランブル装置。
The control information processing unit transmits the control packet to the multiplexing device at a predetermined interval,
The scramble apparatus according to claim 1, wherein the control information processing unit determines abnormality based on a reception interval of the control packet by the receiving unit.
前記制御情報処理部は、前記制御パケットを前記多重化装置へ送信してから前記受信部が前記多重化装置から受信するまでの時間に基づいて異常を判定する、請求項1または請求項2に記載のスクランブル装置。   The control information processing unit determines an abnormality based on a time from when the control packet is transmitted to the multiplexing device until the receiving unit receives the control packet from the multiplexing device. The scramble device described. 前記制御情報処理部は、前記制御パケットを所定間隔で前記多重化装置へ送信し、
前記制御情報処理部は、現在時刻に前記所定間隔を加えた値を前記時刻情報として前記制御パケットに含める、請求項1から請求項3のいずれか1項に記載のスクランブル装置。
The control information processing unit transmits the control packet to the multiplexing device at a predetermined interval,
The scramble apparatus according to any one of claims 1 to 3, wherein the control information processing unit includes a value obtained by adding the predetermined interval to a current time in the control packet as the time information.
前記制御情報は、MMT(MPEG Media Transport)方式におけるECM(Entitlement Control Message)である、請求項1から請求項4のいずれか1項に記載のスクランブル装置。   5. The scramble apparatus according to claim 1, wherein the control information is an ECM (Entlement Control Message) in an MMT (MPEG Media Transport) system. スクランブル装置において用いられるスクランブル処理プログラムであって、
コンピュータを、
受信した複数のパケットに時刻情報を含めて多重化して送信する多重化装置からの前記パケットを受信する受信部と、
前記受信部によって受信された前記パケットに含まれる対象情報にスクランブル処理を行うスクランブル部と、
前記スクランブル部によって前記スクランブル処理の行われた前記対象情報を含むパケットを他の装置へ送信する送信部と、
前記スクランブル部によって前記スクランブル処理の行われた前記対象情報の復号化に用いる制御情報を含むパケットである制御パケットを作成して時刻情報を含めて前記多重化装置へ送信する制御情報処理部と、
として機能させるためのプログラムであり、
前記受信部は、前記多重化装置によって多重化されて送信された前記制御パケットを受信し、
前記制御情報処理部は、前記受信部による前記制御パケットの受信タイミングに基づいて異常を判定する、スクランブル処理プログラム。
A scramble processing program used in a scramble device,
Computer
A receiving unit that receives the packet from the multiplexing device that multiplexes and transmits the received packet including time information; and
A scrambler that scrambles the target information included in the packet received by the receiver;
A transmission unit for transmitting a packet including the target information subjected to the scramble process by the scramble unit to another device;
A control information processing unit that generates a control packet that is a packet including control information used for decoding the target information that has been subjected to the scramble processing by the scramble unit, and transmits the control packet to the multiplexing device including time information;
As a program to function as
The receiving unit receives the control packet multiplexed and transmitted by the multiplexing device;
The scramble processing program in which the control information processing unit determines an abnormality based on a reception timing of the control packet by the receiving unit.
JP2016133093A 2016-07-05 2016-07-05 Scramble device and scramble processing program Active JP6555201B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016133093A JP6555201B2 (en) 2016-07-05 2016-07-05 Scramble device and scramble processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016133093A JP6555201B2 (en) 2016-07-05 2016-07-05 Scramble device and scramble processing program

Publications (2)

Publication Number Publication Date
JP2018007091A JP2018007091A (en) 2018-01-11
JP6555201B2 true JP6555201B2 (en) 2019-08-07

Family

ID=60948175

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016133093A Active JP6555201B2 (en) 2016-07-05 2016-07-05 Scramble device and scramble processing program

Country Status (1)

Country Link
JP (1) JP6555201B2 (en)

Also Published As

Publication number Publication date
JP2018007091A (en) 2018-01-11

Similar Documents

Publication Publication Date Title
US8750409B2 (en) Message synchronization over a stochastic network
US9161003B2 (en) Time synchronization apparatus and method
US10778361B1 (en) Stream synchronization
US10334293B2 (en) Multiplexing apparatus, receiving apparatus, multiplexing method, and delay adjustment method
JP6617809B2 (en) Decoding device, decoding method, and decoding program
JP2012513139A (en) Method for synchronizing transport streams in a multiplexer with an external coprocessor
JP2022009380A (en) Transmission method, reception method, transmission device, and reception device
JP2021078153A (en) Switching method, ip retransmission system, ip retransmission apparatus, and control apparatus
US9647951B2 (en) Media stream rate reconstruction system and method
JP6593423B2 (en) Receiving device and decoding / presentation method
KR102001014B1 (en) Network apparatus, transmitter and packet transmitting method for next-generation terrestrial broadcasting service
JP6555201B2 (en) Scramble device and scramble processing program
JP2008160722A (en) Ts switching and sending apparatus
JP3978814B2 (en) Transmitting apparatus and method, receiving apparatus, and transmitting apparatus
US20220360845A1 (en) Reception apparatus, reception method, and transmission and reception system
JP2008294799A (en) Multiplexing transmitter
JP6802731B2 (en) Transmitter and receiver
JP2007208643A (en) Digital broadcasting signal multiplexing device and method
EP2202976A1 (en) Digital broadcast receiving apparatus and signal processing method
US20180084288A1 (en) Multiplexing apparatus and method for video transmission
WO2017110854A1 (en) Transmission apparatus, reception apparatus, transmission method, and reception method
JP4177588B2 (en) Data broadcast signal transmission apparatus and data broadcast signal transmission method
JP2007104473A (en) Digital broadcast input switching apparatus
JP2004266599A (en) Transmitting side terminal and receiving side terminal
KR20060049714A (en) Device and method for multiplexing associated with a coding device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190121

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190606

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190624

R150 Certificate of patent or registration of utility model

Ref document number: 6555201

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250