JP2000032426A - Receiver for transport stream - Google Patents

Receiver for transport stream

Info

Publication number
JP2000032426A
JP2000032426A JP10192083A JP19208398A JP2000032426A JP 2000032426 A JP2000032426 A JP 2000032426A JP 10192083 A JP10192083 A JP 10192083A JP 19208398 A JP19208398 A JP 19208398A JP 2000032426 A JP2000032426 A JP 2000032426A
Authority
JP
Japan
Prior art keywords
packet
information
filter
pattern
transport stream
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
JP10192083A
Other languages
Japanese (ja)
Other versions
JP3870557B2 (en
Inventor
Shigeki Fujii
茂樹 藤井
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.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP19208398A priority Critical patent/JP3870557B2/en
Publication of JP2000032426A publication Critical patent/JP2000032426A/en
Application granted granted Critical
Publication of JP3870557B2 publication Critical patent/JP3870557B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize a stiff TS demultiplex processing, even with respect to a transmission fault or a reception fault. SOLUTION: Even when a version number is revised, the receiver acquires a desired packet that includes an ID to specify whether or not the packet is to be acquired and a version number that is revised from an MPEG2-TS whenever time contents of the packet are revised. In this case, a pattern match filter 24 extracts the packet, when the pattern match filter 24 detects matching of a pattern of the ID from the TS. A pattern unmatching filter 25 extracts the packet, when the filter 25 detects that a version number included in the packet extracted by the filter 24 differs from the version number monitored at present. A CPU8 acquires the packet, when the filter 25 extracts the desired packet and uses the version number monitored next to be a newly detected version number.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、例えばMPEG
2(Moving Picture Experts Group Phase 2)−TS
(Transport Stream)のように、多重化されたトランス
ポートストリームから所望のパケットを獲得する受信装
置に関し、特に障害発生時の適応性を高めるようにした
トランスポートストリームの受信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention
2 (Moving Picture Experts Group Phase 2)-TS
The present invention relates to a receiving device that acquires a desired packet from a multiplexed transport stream, such as a (Transport Stream), and particularly to a transport stream receiving device that is adapted to enhance adaptability when a failure occurs.

【0002】[0002]

【従来の技術】ディジタルデータ放送では、多重化され
た伝送ストリームとして、例えばディジタルCS放送で
は、MPEG2−TSの形態で映像や音声がディジタル
化されて受信側に送られてくる。このとき、TSには、
プログラム指定情報(ProgramSpecific Information:
PSI)やサービス情報(Service Information:S
I)と呼ばれる番組関連情報も同時に送られてくる。こ
れら全ての情報は、TSパケットと呼ばれる188バイ
トの固定長データにパケット化されたうえ多重化され
る。ディジタル放送受信機は、まずPSIを獲得し、映
像や音声のストリームのパケットID(PID)等を抽
出、その情報を受信している間は、これを常に捕捉し、
更新することが必要とされる。PSIやSIは、MPE
G2システムで規定されるセクション形式に準拠してい
る。このセクションにはバージョンナンバーというフィ
ールド(5ビット)がデータ更新の管理用に設けられて
いる。バージョンナンバーの運用法は、放送サービスに
依存することになるが、通常は情報が更新されることに
より、バージョンナンバーがインクリメントされること
が多い。従って、ディジタル放送受信機は、あるPSI
を受信した後はそのバージョンナンバーを1つインクリ
メントした値を持つ情報を待つこととなる。
2. Description of the Related Art In digital data broadcasting, in the case of digital CS broadcasting, for example, in digital CS broadcasting, video and audio are digitized in the form of MPEG2-TS and sent to the receiving side. At this time, TS contains
ProgramSpecific Information:
PSI) and service information (Service Information: S)
Program-related information called I) is also sent at the same time. All of this information is packetized into 188-byte fixed-length data called TS packets and multiplexed. The digital broadcast receiver first obtains the PSI, extracts the packet ID (PID) of the video or audio stream, and always captures the information while receiving the information.
Updates are needed. PSI and SI are MPE
It conforms to the section format specified by the G2 system. In this section, a field (5 bits) called a version number is provided for managing data update. Although the operation method of the version number depends on the broadcasting service, usually, the version number is often incremented by updating information. Therefore, the digital broadcast receiver has a certain PSI
Is received, information having a value obtained by incrementing the version number by one is waited.

【0003】また、多重化されたMPEG2−TSから
所望のTSパケットだけを取り出すために、受信装置に
は、DEMUX(デマルチプレクサ)が設けられる。D
EMUXは、PIDとそれに続く数バイトのビットパタ
ーンを指定し、内部の判定回路でこれと入力ストリーム
とを比較し、指定されたパターンと一致する場合、その
パケットを所定のメモリに書き出し、データの到着をホ
ストCPU等に知らせる機能を有する。
In order to extract only a desired TS packet from the multiplexed MPEG2-TS, the receiving apparatus is provided with a DEMUX (demultiplexer). D
The EMUX specifies a PID and a bit pattern of several bytes following the PID, compares the PID with an input stream by an internal determination circuit, and if the pattern matches the specified pattern, writes the packet to a predetermined memory, and It has a function of notifying the arrival to the host CPU and the like.

【0004】[0004]

【発明が解決しようとする課題】従来のシステムは、正
常に送信・受信が行われている場合には問題はないが、
送信障害や受信障害等が発生し、受信したい情報が、文
法的、意味的エラーではないが本来送られてくるべきビ
ットパターンとは異なるパターンで送信された場合に問
題となる。この場合、受信側は指定されたパターンと一
致するものが検出できないため、長時間、場合によって
は数日の待ち状態となってしまうことがある。特に、バ
ージョンナンバーの不連続が問題となる。
The conventional system has no problem when transmission and reception are normally performed.
A problem occurs when a transmission failure or a reception failure occurs and the information to be received is not a grammatical or semantic error but is transmitted in a pattern different from the bit pattern that should be transmitted. In this case, since the receiving side cannot detect a pattern that matches the specified pattern, the receiving side may wait for a long time, or in some cases, several days. In particular, the discontinuity of the version numbers becomes a problem.

【0005】この問題を図7(a)を参照して更に詳し
く説明する。現在、バージョンナンバー=1のTSパケ
ットを獲得し、バージョンナンバー=2のTSパケット
の獲得準備状態であるとする。番組情報等であれば、バ
ージョンナンバーは、例えば1日に1度のように更新さ
れる。但し、受信側ではいつ受信を開始するか分からな
いので、この種のTSパケットは、同一内容のものが一
定の間隔で繰り返し再送される。受信装置のDEMUX
は、パケットID及びバージョンナンバーを含む特定の
マッチングフィールドとのパターンマッチングを行っ
て、この例では、パケットID=80、バージョンナン
バー=2のパケットを待ち、バージョンナンバー=1の
パケットは無視する。ここで通信障害等が発生すると、
例えば送信側のMUX(マルチプレクサ)の切替等が発
生してバージョンナンバーは例えば4となって、バージ
ョンナンバーの連続性が失われる。この場合、受信側で
はバージョンナンバー=2を待っているので、更新され
たパケットを獲得することができなくなって長時間の待
ち状態となる。
[0005] This problem will be described in more detail with reference to FIG. It is assumed that a TS packet with version number = 1 is currently acquired and that a TS packet with version number = 2 is ready to be acquired. In the case of program information or the like, the version number is updated, for example, once a day. However, since the receiving side does not know when to start receiving, the same type of TS packet of this type is repeatedly retransmitted at regular intervals. DEMUX of receiver
Performs pattern matching with a specific matching field including a packet ID and a version number, and in this example, waits for a packet with a packet ID = 80 and a version number = 2, and ignores a packet with a version number = 1. If a communication failure occurs here,
For example, switching of the MUX (multiplexer) on the transmission side occurs, and the version number becomes, for example, 4, and the continuity of the version numbers is lost. In this case, since the receiving side is waiting for version number = 2, it is not possible to acquire the updated packet, and the receiving side is in a long waiting state.

【0006】こうした問題を回避するため、バージョン
ナンバーを無視してデータの捕捉を行う方法も考えられ
るが、PSI等の情報は、頻繁に再送されているため、
そのたびに更新データであるかどうかをホストCPUが
判断しなければならず、効率が悪い。また、別の回避策
としてホストCPUがデータ獲得状況を定期的にチェッ
クし、異常と判断された場合、PSIの再獲得処理を行
うことが考えられるが、異常を正確に判断することは難
しく、根本的な解決策とは言えない。
In order to avoid such a problem, a method of ignoring the version number and capturing data is conceivable. However, since information such as PSI is frequently retransmitted,
Each time, the host CPU must determine whether the data is update data, and the efficiency is low. As another workaround, the host CPU periodically checks the data acquisition status, and if it is determined that there is an abnormality, it is conceivable to perform PSI reacquisition processing. However, it is difficult to accurately determine the abnormality, This is not a fundamental solution.

【0007】この発明は、このような問題点に鑑みなさ
れたもので、送信障害や受信障害に対しても頑強なTS
デマックス処理を実現することができるトランスポート
ストリームの受信装置を提供することを目的とする。
[0007] The present invention has been made in view of such a problem, and a TS that is robust against a transmission failure or a reception failure.
An object of the present invention is to provide a transport stream receiving device capable of realizing demux processing.

【0008】[0008]

【課題を解決するための手段】この発明に係るトランス
ポートストリームの受信装置は、多重化されたトランス
ポートストリームから、獲得すべきパケットであること
を特定する第1の情報と当該パケットの内容が変更され
る度に変更される第2の情報とを含む所望のパケット
を、前記第2の情報が変更される度に獲得するトランス
ポートストリームの受信装置において、入力された前記
トランスポートストリームから前記第1の情報を検出し
て前記所望のパケットを抽出する第1のフィルタと、こ
の第1のフィルタで抽出されたパケットに含まれる前記
第2の情報が現在監視中の第2の情報とは異なることを
検出したときに前記第1のフィルタで抽出されたパケッ
トを抽出する第2のフィルタと、この第2のフィルタで
所望のパケットが抽出されたときに当該パケットを獲得
すると共に次に監視する第2の情報を新たに検出された
第2の情報に更新する制御手段とを備えたことを特徴と
する。
According to the present invention, there is provided a transport stream receiving apparatus comprising, from a multiplexed transport stream, first information for identifying a packet to be acquired and the content of the packet. In a transport stream receiving apparatus that acquires a desired packet including second information that is changed each time it is changed, every time the second information is changed, A first filter for detecting the first information to extract the desired packet and a second information currently monitored for the second information included in the packet extracted by the first filter are as follows. A second filter for extracting a packet extracted by the first filter when a difference is detected; and a desired packet extracted by the second filter. Further comprising subsequently a control unit for updating the second information to the second information newly detected to monitor as well as acquiring the packet when it is characterized.

【0009】ここで前記所望のパケットは、前記第2の
情報が変更される間、同一内容で繰り返し送信されるデ
ータである。第1のフィルタは、例えば前記獲得すべき
パケットの特定のマッチングフィールドと第1のパター
ンとの一致が検出されたときに当該パケットを抽出する
ものとすることができる。また、第2のフィルタは、前
記獲得すべきパケットの特定のマッチングフィールドと
第2のパターンとの不一致が検出されたときに当該パケ
ットを抽出するものとすることができる。
Here, the desired packet is data that is repeatedly transmitted with the same contents while the second information is changed. The first filter may extract the packet when a match between a specific matching field of the packet to be acquired and a first pattern is detected, for example. The second filter may extract a packet when a mismatch between a specific matching field of the packet to be acquired and a second pattern is detected.

【0010】この発明によれば、パケットの内容が更新
される度に更新される第2の情報として、次に獲得すべ
き更新後のパケットの第2の情報と一致することを監視
するのではなく、現在のパケットの第2の情報と不一致
になることを監視するようにしているので、障害発生に
より、第2の情報が決められた順序に更新されない場合
でも、現在の第2の情報との不一致となることによって
パケットの更新を検知することができる。
According to the present invention, the second information to be updated each time the content of the packet is updated is monitored for coincidence with the second information of the updated packet to be acquired next. In other words, it is monitored that the second information does not match the second information of the current packet. Therefore, even if the second information is not updated in a predetermined order due to the occurrence of a failure, the current second information is not updated. , The update of the packet can be detected.

【0011】なお、制御手段が第2の情報の更新に拘わ
りなく定期的に所望のパケットを獲得するものであれ
ば、障害発生時にたまたま前回と同一の第2の情報が受
信された場合でも、ある限度で長時間の待ち状態は回避
することができる。
If the control means obtains a desired packet periodically regardless of the update of the second information, even if the same second information happens to be received at the time of the failure, To a certain extent, long waits can be avoided.

【0012】[0012]

【発明の実施の形態】以下、図面を参照して、この発明
の好ましい実施の形態について説明する。図1は、この
発明の一実施例に係るCSディジタル放送の受信装置の
構成を示すブロック図である。アンテナ1を介して受信
されたCS受信信号はチューナ2で復調処理され、エラ
ー訂正部3でエラー訂正処理される。エラー訂正された
データは、デスクランブラ4でスクランブルを解かれ、
デマルチプレクサ(DEMUX)5に供給される。DE
MUX5は、多重化された情報の中から必要な情報のみ
を取り出すもので、制御情報や番組関連情報等はデータ
バッファ6及びシステムバス7を介してCPU8に供給
され、ビデオデータ及びオーディオデータについては、
MPEGA/Vデコーダ9に供給されてデコードされ
る。デコードされたビデオデータについては、更にビデ
オエンコーダ10によってNTSCビデオ信号にエンコ
ードされて出力される。なお、システムバス7には、C
PU8の他、リモコン11からの赤外線信号を受信する
スイッチ/リモコン入力部12、CPU8の動作プログ
ラムを記憶したり、ワークエリアを提供するRAM/R
OM13、デスクランブル処理をするための鍵を得るコ
ンディショナルアクセスモジュール14及び電話回線網
に対してデータを送受信するためのモデム15が接続さ
れている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a CS digital broadcast receiving apparatus according to one embodiment of the present invention. The CS reception signal received via the antenna 1 is demodulated by the tuner 2 and error-corrected by the error correction unit 3. The error-corrected data is descrambled by the descrambler 4 and
It is supplied to a demultiplexer (DEMUX) 5. DE
The MUX 5 extracts only necessary information from the multiplexed information. Control information and program-related information are supplied to the CPU 8 via the data buffer 6 and the system bus 7. ,
The data is supplied to the MPEGA / V decoder 9 and decoded. The decoded video data is further encoded by a video encoder 10 into an NTSC video signal and output. The system bus 7 has C
In addition to the PU 8, a switch / remote controller input unit 12 for receiving an infrared signal from the remote controller 11, a RAM / R for storing an operation program of the CPU 8 and providing a work area
An OM 13, a conditional access module 14 for obtaining a key for descrambling, and a modem 15 for transmitting and receiving data to and from a telephone network are connected.

【0013】図2は、上記システムにおけるDEMUX
5の更に詳細な構成を示す機能ブロック図である。な
お、ここでは特に制御情報や番組関連情報等の流れにつ
いてのみ示しており、ビデオデータやオーディオデータ
の流れは割愛している。このDEMUX5は、TSパケ
ットフレーマ21,PIDフィルタ、ユニットスタート
検出部23,パターンマッチフィルタ24及びパターン
アンマッチフィルタ25を備えて構成されている。
FIG. 2 shows the DEMUX in the above system.
FIG. 5 is a functional block diagram showing a more detailed configuration of FIG. Note that only the flow of control information and program-related information and the like are specifically shown here, and the flow of video data and audio data is omitted. The DEMUX 5 includes a TS packet framer 21, a PID filter, a unit start detector 23, a pattern match filter 24, and a pattern unmatch filter 25.

【0014】図3には、典型的なMPEG2−TSパケ
ットとこれにより構成されるセクションの例を示してい
る。同図(a)に示すように、TSパケットは4バイト
のヘッダと、184バイトのデータバイトとから構成さ
れる188バイトの固定長パケットである。ヘッダに
は、同期バイト(8ビット)、ペイロード・ユニット・
スタート(1ビット)、PID(13ビット)等の情報
が含まれている。DEMUX5の内部のTSパケットフ
レーマ21では、同期バイト等を参照して188バイト
固定長のTSパケットを切り出す処理を実行する。この
TSパケットフレーマ21で切り出されたTSパケット
のTSヘッダに示されたPID情報が、PIDフィルタ
22でチェックされ、CPU8から指示されたPIDと
一致するパケットが切り出される。切り出されたTSパ
ケットからはデータバイト部が取り出され、複数のTS
パケットから取り出されたデータバイト部が結合され
て、図3(b)に示すようなMPEG2システムで定義
されたセクション形式のデータブロックを形成する。セ
クションを形成するうえで、どのTSパケットがその先
頭になるかを示す情報として、そのパケットのデータバ
イトにセクションヘッダが入っているかどうかを示す1
ビットの payload_unit_start_indicator が用意されて
いる。ユニットスタート検出部23は、この情報を監視
し、先頭パケットを検出する。
FIG. 3 shows an example of a typical MPEG2-TS packet and a section constituted by the packet. As shown in FIG. 3A, the TS packet is a fixed-length packet of 188 bytes composed of a 4-byte header and 184 data bytes. The header contains a synchronization byte (8 bits), a payload unit,
Information such as start (1 bit) and PID (13 bits) is included. The TS packet framer 21 inside the DEMUX 5 executes a process of cutting out a TS packet having a fixed length of 188 bytes with reference to the synchronization byte and the like. The PID information indicated in the TS header of the TS packet extracted by the TS packet framer 21 is checked by the PID filter 22, and a packet matching the PID specified by the CPU 8 is extracted. A data byte portion is extracted from the cut-out TS packet, and a plurality of TS
The data byte portions extracted from the packet are combined to form a data block in the section format defined by the MPEG2 system as shown in FIG. In forming a section, as information indicating which TS packet is at the head, 1 indicating whether or not a data packet of the packet includes a section header.
A bit payload_unit_start_indicator is provided. The unit start detection unit 23 monitors this information and detects the first packet.

【0015】図3(c)は、形成されたセクションのビ
ット配列例を示す図である。セクションの先頭には、セ
クションヘッダが設けられる。セクションヘッダはこの
例では8バイトから構成され、例えば次のような情報を
含む。 table_id(8ビット) テーブルの識別情報 section_length(12ビット) セクションの長さ table_id_extention table_idを拡張したいときに利用するフィールド version_number テーブル情報の更新の有無を判断するための情報 section_number テーブルが複数のセクションで構成される場合のID番
号 last_section_number:テーブルが複数のセクション
で構成される場合の最後のセクションのID番号
FIG. 3C is a diagram showing an example of a bit arrangement of the formed section. A section header is provided at the head of the section. The section header is composed of 8 bytes in this example, and includes, for example, the following information. table_id (8 bits) Table identification information section_length (12 bits) Section length table_id_extention Field used to extend table_id version_number Information for determining whether table information is updated section_number Table is composed of a plurality of sections Last_section_number: ID number of the last section when the table is composed of multiple sections

【0016】このセクションヘッダがパターンマッチフ
ィルタ24において、CPU8から与えられるマッチン
グパターンと比較される。パターンマッチフィルタ24
にはCPU8からマスクパターンも与えられており、こ
のマスクパターンでセクションヘッダのパターンマッチ
ングとは無関係のビットをマスクしたうえでマッチング
処理を実行している。ここで、獲得すべきTSパケット
を特定するための第1の情報として、例えば table_id
=23h、table_id_extention=0456h を待ち、またパケ
ットの内容が変更される度に変更される第2の情報とし
て version_number !=1 (1以外)の情報を待つ設定
であるとすると、従来のパターンマッチングでは、図3
(e)のようなマスクパターンを使用して上記第1及び
第2の情報を全てピックアップすると共に、上記パター
ンとの一致を検出することにより、TSパケットの内容
更新を検知するようにしていた。
The section header is compared in a pattern matching filter 24 with a matching pattern provided from the CPU 8. Pattern match filter 24
Is also provided with a mask pattern from the CPU 8, and the mask pattern is used to mask bits irrelevant to the pattern matching of the section header before performing the matching process. Here, as the first information for specifying the TS packet to be acquired, for example, table_id
= 23h, table_id_extention = 0456h, and the second pattern changed every time the contents of the packet are changed, the version_number! = 1 (other than 1). , FIG.
All of the first and second information are picked up using a mask pattern as shown in (e), and at the same time, a match with the pattern is detected to detect the update of the contents of the TS packet.

【0017】これに対し、この発明では、パターンマッ
チフィルタ(第1のフィルタ)24とパターンアンマッ
チフィルタ(第2のフィルタ)25という2つのフィル
タを用いてTSパケットの内容更新を検知する。まず、
パターンマッチフィルタ24では、図4(c)のような
マスクパターンを使用して、第1の情報である table_i
d、table_id_extention の部分のみピックアップし、そ
の他の部分はマスクする。そして、同図(b)に示すよ
うに、現在待っている table_id=23h、table_id_exten
tion=0456h とのパターンマッチングを行い、一致した
場合にはそのパケットを抽出する。
On the other hand, in the present invention, the update of the contents of the TS packet is detected using two filters, a pattern match filter (first filter) 24 and a pattern unmatch filter (second filter) 25. First,
The pattern match filter 24 uses a mask pattern as shown in FIG.
d, pick up only the table_id_extention part and mask other parts. Then, as shown in FIG. 3B, the currently waiting table_id = 23h, table_id_exten
Pattern matching with “tion = 0456h” is performed, and if matched, the packet is extracted.

【0018】次に、パターンアンマッチフィルタ25で
は、図4(e)のようなマスクパターンを使用して、第
2の情報である version_number の部分のみピックアッ
プし、その他の部分はマスクする。そして、同図(d)
に示すように、現在待っている version_number !=1
というパターンアンマッチング処理の結果、不一致が検
出された場合には、DEMUX5に接続されたデータバ
ッファ(キューバッファメモリ)6にそのパケットを書
き込み、セクションが完成したところでCPU8に対し
て所望のデータが到着したことを通知する。
Next, the pattern unmatch filter 25 uses the mask pattern as shown in FIG. 4 (e) to pick up only the version_number, which is the second information, and mask the other parts. Then, FIG.
Version_number! = 1
As a result of the pattern unmatching process, if a mismatch is detected, the packet is written to the data buffer (queue buffer memory) 6 connected to the DEMUX 5, and when the section is completed, the desired data arrives at the CPU 8. Notify that

【0019】この装置によれば、図7(b)に示すよう
に、 version_number=1 のTSパケットを獲得してい
る状態で、通信回線等に障害が発生して version_numbe
r=4となったような場合でも、 version_number !=1
(1以外)という条件でこのTSパケットを獲得するこ
とができる。
According to this apparatus, as shown in FIG. 7 (b), while a TS packet of version_number = 1 is acquired, a failure occurs in a communication line or the like and the version_numbe
Even if r = 4, version_number! = 1
This TS packet can be obtained under the condition (other than 1).

【0020】なお、障害発生後、偶然同じバージョンナ
ンバーでデータが到来した場合には、上記装置でもこれ
を検出することができない。そこで、バージョンナンバ
ーに拘わりなく、CPU8が定期的にデータを取り込む
処理を実行し、データ獲得後、データの内容を前獲得デ
ータと比較することで新規データかどうかを判断するよ
うにしてもよい。この処理は、定期的にデータ獲得処理
をリセットすることと等価である。
If data arrives with the same version number after a failure occurs, the above-mentioned device cannot detect it. Therefore, regardless of the version number, the CPU 8 may execute a process of periodically taking in data, and after acquiring data, determine whether the data is new data by comparing the content of the data with the previously acquired data. This process is equivalent to periodically resetting the data acquisition process.

【0021】図5及び図6は、この処理を説明するため
のフローチャートである。図5に示すように、通常プロ
セスでは、DEMUX5からのデータ到着通知(Arriva
l Notice)が検出される度に、データバッファ6からデ
ータ(version_number=x)を読み込み(S1)、次の
データ(version_number !=x)の獲得設定を行う(S
2)。そして、獲得監視タイマーをリセットする(S
3)。一方、通常処理プロセスのバックグラウンドで、
図6に示す獲得監視処理が実行される。即ち、獲得リセ
ット時間に達するまで(S12)、タイマーのカウント
アップ(S11)とタイマーの単位時間待ち(S13)
とを繰り返し、獲得リセット時間に達したら、現データ
待ちを解除すると共に、バージョンを無視したデータの
獲得設定を行う(S14)。そして、獲得監視タイマー
をリセットする(S15)。このように、一定時間で割
り込みをかけることにより、障害発生後、たまたま同一
のバージョン番号が受信された場合でも、獲得監視時間
を経過すれば、正常状態に戻ることになる。なお、この
獲得監視時間は、あまり短いとCPU8の負担が増し、
あまり長いと異常発生時に正常状態に戻るまでの待ち時
間が増えることになるが、障害発生と同一のバージョン
番号となることが同時に起こる確率は極めて小さいと考
えられるので、数時間に1回程度で十分である。
FIGS. 5 and 6 are flowcharts for explaining this processing. As shown in FIG. 5, in the normal process, a data arrival notification (Arriva
l Notice) is read, data (version_number = x) is read from the data buffer 6 (S1), and acquisition setting of the next data (version_number! = x) is performed (S1).
2). Then, the acquisition monitoring timer is reset (S
3). On the other hand, in the background of the normal processing process,
The acquisition monitoring process shown in FIG. 6 is executed. That is, until the acquisition reset time is reached (S12), the timer counts up (S11) and the timer waits for a unit time (S13).
Is repeated, and when the acquisition reset time has been reached, the waiting for the current data is released and the acquisition setting of the data ignoring the version is performed (S14). Then, the acquisition monitoring timer is reset (S15). In this way, by interrupting in a fixed time, even if the same version number happens to be received after the occurrence of a failure, the state returns to the normal state after the acquisition monitoring time has elapsed. If the acquisition monitoring time is too short, the load on the CPU 8 increases,
If the length is too long, the waiting time for returning to the normal state when an error occurs increases. However, it is considered that the probability that the same version number as the occurrence of the fault occurs at the same time is extremely small. It is enough.

【0022】[0022]

【発明の効果】以上述べたように、この発明によれば、
パケットの内容が更新される度に更新される第2の情報
として、次に獲得すべき更新後のパケットの第2の情報
と一致することを監視するのではなく、現在のパケット
の第2の情報と不一致になることを監視するようにして
いるので、障害発生により、第2の情報が決められた順
序に更新されない場合でも、現在の第2の情報との不一
致となることによってパケットの更新を検知することが
でき、障害発生に対する適応性を向上させることができ
る。
As described above, according to the present invention,
The second information to be updated each time the content of the packet is updated is to monitor the second information of the current packet instead of monitoring the second information of the updated packet to be acquired next. Since the mismatch with the information is monitored, even when the second information is not updated in the predetermined order due to the occurrence of the failure, the packet is updated by the mismatch with the current second information. Can be detected, and the adaptability to the occurrence of a failure can be improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 この発明の一実施例に係るCS受信装置のブ
ロック図である。
FIG. 1 is a block diagram of a CS receiving apparatus according to one embodiment of the present invention.

【図2】 同装置のDEMUXの機能ブロック図であ
る。
FIG. 2 is a functional block diagram of a DEMUX of the device.

【図3】 同装置で受信されるMPEG2−TSパケッ
トとセクションの構造を示す図である。
FIG. 3 is a diagram showing a structure of an MPEG2-TS packet and a section received by the same device.

【図4】 同装置におけるパターンマッチング処理及び
パターンアンマッチング処理を説明するための図であ
る。
FIG. 4 is a diagram for explaining a pattern matching process and a pattern unmatching process in the same device.

【図5】 同装置を更に改良した通常処理プロセスを示
すフローチャートである。
FIG. 5 is a flowchart showing a normal processing process obtained by further improving the apparatus.

【図6】 同じくデータ獲得監視プロセスを示すフロー
チャートである。
FIG. 6 is a flowchart showing a data acquisition monitoring process.

【図7】 この発明の作用・効果を従来例と比較して示
す図である。
FIG. 7 is a diagram showing the operation and effect of the present invention in comparison with a conventional example.

【符号の説明】[Explanation of symbols]

5…DEMUX、21…TSパケットフレーマ、22…
PIDフィルタ、23…ユニットスタート検出部、24
…パターンマッチフィルタ、25…パターンアンマッチ
フィルタ。
5 ... DEMUX, 21 ... TS packet framer, 22 ...
PID filter, 23 ... Unit start detection unit, 24
... Pattern match filter, 25 ... Pattern unmatch filter.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 多重化されたトランスポートストリーム
から、獲得すべきパケットであることを特定する第1の
情報と当該パケットの内容が変更される度に変更される
第2の情報とを含む所望のパケットを、前記第2の情報
が変更される度に獲得するトランスポートストリームの
受信装置において、 入力された前記トランスポートストリームから前記第1
の情報を検出して前記所望のパケットを抽出する第1の
フィルタと、 この第1のフィルタで抽出されたパケットに含まれる前
記第2の情報が現在監視中の第2の情報とは異なること
を検出したときに前記第1のフィルタで抽出されたパケ
ットを抽出する第2のフィルタと、 この第2のフィルタで所望のパケットが抽出されたとき
に当該パケットを獲得すると共に次に監視する第2の情
報を新たに検出された第2の情報に更新する制御手段と
を備えたことを特徴とするトランスポートストリームの
受信装置。
1. A multiplexed transport stream comprising a first information specifying a packet to be acquired and a second information changed every time the content of the packet is changed. A transport stream receiving apparatus for acquiring the packet of the first time every time the second information is changed, wherein the first
A first filter for detecting the desired packet and extracting the desired packet; and the second information included in the packet extracted by the first filter is different from the second information currently monitored. A second filter for extracting a packet extracted by the first filter when detecting a packet; and a second filter for acquiring and monitoring the packet when a desired packet is extracted by the second filter. Control means for updating the second information to the newly detected second information.
【請求項2】 前記所望のパケットは、前記第2の情報
が変更される間、同一内容で繰り返し送信されるデータ
であることを特徴とする請求項1記載のトランスポート
ストリームの受信装置。
2. The transport stream receiving apparatus according to claim 1, wherein the desired packet is data that is repeatedly transmitted with the same contents while the second information is changed.
【請求項3】 前記第1のフィルタは、前記獲得すべき
パケットの特定のマッチングフィールドと第1のパター
ンとの一致が検出されたときに当該パケットを抽出する
ものであることを特徴とする請求項1又は2記載のトラ
ンスポートストリームの受信装置。
3. The method according to claim 2, wherein the first filter extracts a packet when a match between a specific matching field of the packet to be acquired and a first pattern is detected. Item 3. The transport stream receiving device according to item 1 or 2.
【請求項4】 前記第2のフィルタは、前記獲得すべき
パケットの特定のマッチングフィールドと第2のパター
ンとの不一致が検出されたときに当該パケットを抽出す
るものであることを特徴とする請求項1〜3のいずれか
1項記載のトランスポートストリームの受信装置。
4. The method according to claim 1, wherein the second filter extracts a packet when a mismatch between a specific matching field of the packet to be acquired and a second pattern is detected. Item 4. The transport stream receiving device according to any one of Items 1 to 3.
【請求項5】 前記制御手段は、前記第2の情報の更新
に拘わりなく定期的に前記所望のパケットを獲得するも
のであることを特徴とする請求項1〜4のいずれか1項
記載のトランスポートストリームの受信装置。
5. The control device according to claim 1, wherein the control unit acquires the desired packet periodically regardless of updating of the second information. Transport stream receiving device.
JP19208398A 1998-07-07 1998-07-07 Transport stream receiver Expired - Fee Related JP3870557B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19208398A JP3870557B2 (en) 1998-07-07 1998-07-07 Transport stream receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19208398A JP3870557B2 (en) 1998-07-07 1998-07-07 Transport stream receiver

Publications (2)

Publication Number Publication Date
JP2000032426A true JP2000032426A (en) 2000-01-28
JP3870557B2 JP3870557B2 (en) 2007-01-17

Family

ID=16285371

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19208398A Expired - Fee Related JP3870557B2 (en) 1998-07-07 1998-07-07 Transport stream receiver

Country Status (1)

Country Link
JP (1) JP3870557B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003517223A (en) * 1999-07-13 2003-05-20 トムソン ライセンシング ソシエテ アノニム System for error management of program specific information in video decoder

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003517223A (en) * 1999-07-13 2003-05-20 トムソン ライセンシング ソシエテ アノニム System for error management of program specific information in video decoder
JP2010206840A (en) * 1999-07-13 2010-09-16 Thomson Licensing System for program specific information error management in video decoder
US9042705B1 (en) 1999-07-13 2015-05-26 Thomson Licensing System for program specific information error management in a video decoder

Also Published As

Publication number Publication date
JP3870557B2 (en) 2007-01-17

Similar Documents

Publication Publication Date Title
US9042705B1 (en) System for program specific information error management in a video decoder
GB2362789A (en) System and method for searching patterns in real-time over a shared medium
US6807585B2 (en) Method and system for parsing section data
EP2186319B1 (en) Error detection and recovery in a digital multimedia receiver system
JP4875451B2 (en) Digital data receiver
WO2007007526A1 (en) Video stream processing device, integrated circuit device, and method
US8064453B2 (en) Transport stream processing apparatus
JP2000032426A (en) Receiver for transport stream
JP4576758B2 (en) Data processing device
KR100587284B1 (en) Method for PSI filtering
KR20000014413U (en) Digital tv receiver
KR101148733B1 (en) Apparatus and method for detecting video stream
JP2005020437A (en) Contents correction system and reception device
JP2009284353A (en) Receiver and receiving method
JP3065276B2 (en) Data separation circuit and error recovery method and method in data separation circuit
TWI762980B (en) Method for debugging digital stream and circuit system thereof
JP2000156705A (en) Data processing unit and its control method
KR20020014958A (en) PSI data filtering device for MPEG-2 system and control method thereof
JPH09182066A (en) Digital signal processor and method therefor
JP3978699B2 (en) Separation apparatus and method, and reception apparatus and method
JP3127920B2 (en) Digital signal processing device and signal processing method
JP2005269041A (en) Digital transmission system
JP2007104473A (en) Digital broadcast input switching apparatus
US8146121B2 (en) Systems and methods for processing program content and information in a video broadcast
KR20000034379A (en) Method for updating psip information of digital tv receiver system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041224

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060622

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060704

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060904

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061009

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20101027

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101027

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111027

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111027

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121027

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121027

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131027

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees