JP2009273065A - Method of analyzing data of digital broadcasting data, program, and digital broadcasting data analyzer - Google Patents

Method of analyzing data of digital broadcasting data, program, and digital broadcasting data analyzer Download PDF

Info

Publication number
JP2009273065A
JP2009273065A JP2008124112A JP2008124112A JP2009273065A JP 2009273065 A JP2009273065 A JP 2009273065A JP 2008124112 A JP2008124112 A JP 2008124112A JP 2008124112 A JP2008124112 A JP 2008124112A JP 2009273065 A JP2009273065 A JP 2009273065A
Authority
JP
Japan
Prior art keywords
data
packet
analysis
pmt
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
JP2008124112A
Other languages
Japanese (ja)
Other versions
JP4854039B2 (en
Inventor
Tomohiro Hatakeyama
友宏 畠山
Shigeo Abe
成雄 阿部
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.)
Nikon Systems Inc
Original Assignee
Nikon Systems Inc
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 Nikon Systems Inc filed Critical Nikon Systems Inc
Priority to JP2008124112A priority Critical patent/JP4854039B2/en
Publication of JP2009273065A publication Critical patent/JP2009273065A/en
Application granted granted Critical
Publication of JP4854039B2 publication Critical patent/JP4854039B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a digital broadcasting data analyzer can easily specify a TS packet distribution and the like in a transport stream. <P>SOLUTION: The digital broadcasting data analyzer 100 includes a TS data reading part 10 that reads TS data from a TS data storage part 30, a TS data analyzing part 20 that analyzes TS data to store analyzed results into an analyzed data storage part 40, and an analyzed data display part 80 that reads analyzed data from the analyzed data storage part 40 to visually display a TS packet distribution in the TS data on a display 130. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、デジタル放送データのデータ解析方法、プログラム、及び、デジタル放送データ解析装置に関する。 The present invention relates to a data analysis method, a program, and a digital broadcast data analysis apparatus for digital broadcast data.

地上デジタル放送では、MPEG2規格により、映像データ及び音声データが符号化され、符号化されたこれらのデータと付加情報とが多重化されてTS(Transuport Stream)形式のデータとして伝送される。このTSデータは受信装置により、付加情報に基づいて番組(Program)が特定されて復号化される。付加情報に含まれるデータとして、MPEG2ではPSI(Program SpecificInformation:プログラム仕様情報)が規定されている。また、ARIB(Association of Radio Industries and Businesses:電波産業会)では、SI(Service Information:番組配列情報)が規定されている。このPSI及びSIは、以下に示すような、用途別に区分けされたテーブルから構成され、各テーブル中の記述子によって、特定の映像データ及び音声データを復号化するために必要となる詳細な情報が指定される。   In digital terrestrial broadcasting, video data and audio data are encoded according to the MPEG2 standard, and the encoded data and additional information are multiplexed and transmitted as data in a TS (Transuport Stream) format. The TS data is decrypted by the receiving device by identifying a program based on the additional information. As data included in the additional information, PSI (Program Specific Information) is defined in MPEG2. In addition, in ARIB (Association of Radio Industries and Businesses), SI (Service Information) is defined. The PSI and SI are composed of tables classified by use as shown below, and detailed information necessary for decoding specific video data and audio data is indicated by descriptors in each table. It is specified.

MPEG2の一種のMPEG−2TSファイルは、図2に示すように、映像データ、音声データ、及び、PSI/SIデータがそれぞれパケット化(TSパケット)されて多重化されたものをファイル化したものである。PSIは、番組を構成する映像データ又は音声データパケットを特定するためのPMT(Program Map Table)、当該PMTを伝送しているパケットのPID(PacketIdentification:パケット識別情報)が列挙されたPAT(Program AssociationTable)などを含んでいる。従来、このMPEG−2TSファイルの内部データを解析し、その解析結果を画面等に表示する場合、TSパケット毎にツリー表示を行ったり、1パケットずつ順次に表示していたりと、TSパケットのサイズ単位を意識した表示方法や解析装置が開示されている(例えば、特許文献1参照)。
特開2004−320421号公報
As shown in FIG. 2, a kind of MPEG-2 TS file of MPEG2 is a file in which video data, audio data, and PSI / SI data are each packetized (TS packet) and multiplexed. is there. PSI is a PMT (Program Map Table) for specifying video data or audio data packets constituting a program, and a PAT (Program Association Table) in which PIDs (PacketIdentification: Packet Identification Information) of packets transmitting the PMT are listed. ) Etc. Conventionally, when analyzing the internal data of this MPEG-2 TS file and displaying the analysis result on a screen or the like, the tree display is performed for each TS packet, the packet is sequentially displayed one by one, the size of the TS packet A display method and an analysis apparatus conscious of units are disclosed (for example, refer to Patent Document 1).
JP 2004-320421 A

しかしながら、上記のような従来のツリー表示や順次表示では、プログラムとして映像データや音声データがTS中にどのように分布されているか、特定のTSパケットが定期的に挿入されているか、或いは、TSパケットがPID単位でどのように分類されているかについて調べる場合、TSパケットのアドレスやPIDを基に全パケットを解析しなければならず、TSファイル内のTSパケットの分布状態を知るのが容易ではないという課題があった。   However, in the conventional tree display and sequential display as described above, how video data and audio data are distributed as a program in a TS, whether specific TS packets are periodically inserted, or TS When examining how packets are classified in PID units, all packets must be analyzed based on the TS packet address and PID, and it is easy to know the distribution status of TS packets in the TS file. There was no problem.

本発明はこのような課題に鑑みてなされたものであり、TSファイルにおけるTSパケットの分布状況等を容易に特定することが可能なデジタル放送データのデータ解析方法、プログラム、及び、デジタル放送データ解析装置を提供することを目的とする。   The present invention has been made in view of such problems, and a digital broadcast data analysis method, program, and digital broadcast data analysis capable of easily specifying the distribution status of TS packets in a TS file. An object is to provide an apparatus.

前記課題を解決するために、本発明に係るデジタル放送データのデータ解析方法は、処理部を有し、トランスポートストリーム形式のデータ及びその解析データが記憶される記憶部にアクセス可能なコンピュータにより実行されるデジタル放送データのデータ解析方法であって、処理部により、記憶部からトランスポートストリームを読み出す読込処理と、この読込処理で読み出されたトランスポートストリームの中から、PATパケットを検出する処理と、検出されたPATパケットを解析して解析結果を記憶部のPATテーブルに記憶する処理と、PATパケットからPMTパケットのPIDを取得し、当該PIDを基にトランスポートストリーム中から各PMTパケットを取得する処理と、取得された各PMTパケットを解析して解析結果を記憶部のPMTテーブルに記憶する処理と、PMTパケット毎に、当該PMTパケットから取得したPIDを基に、当該PMTパケットのプログラムに含まれるデータパケットをトランスポートストリームから抽出する処理と、抽出されたデータパケットの各々を解析して解析結果を記憶部のパケットテーブルに記憶する処理と、を含んで構成される。   In order to solve the above-described problems, a data analysis method for digital broadcast data according to the present invention is executed by a computer having a processing unit and capable of accessing data in a transport stream format and a storage unit in which the analysis data is stored. A method for analyzing digital broadcast data, wherein a processing unit reads a transport stream from a storage unit, and a process for detecting a PAT packet from the transport stream read by the reading process Analyzing the detected PAT packet and storing the analysis result in the PAT table of the storage unit, obtaining the PID of the PMT packet from the PAT packet, and extracting each PMT packet from the transport stream based on the PID Process to acquire and analyze each PMT packet acquired Processing for storing the result in the PMT table of the storage unit, processing for extracting the data packet included in the program of the PMT packet from the transport stream based on the PID acquired from the PMT packet for each PMT packet, and extraction And analyzing each of the received data packets and storing the analysis result in the packet table of the storage unit.

このようなデジタル放送データのデータ解析方法は、処理部が、記憶部からパケットの解析データを読み出す処理と、読み出した解析データを基に、トランスポートストリームにおける各パケットの分布を視覚的に表示する処理と、を更に含むことが好ましい。   In such a data analysis method for digital broadcast data, the processing unit reads the packet analysis data from the storage unit, and visually displays the distribution of each packet in the transport stream based on the read analysis data. And a treatment.

このとき、処理部が、読み出した解析データを基に、トランスポートストリーム全体に対して、プログラム毎に、このプログラムの各々に含まれるパケット分布を視覚的に表示することが好ましい。   At this time, it is preferable that the processing unit visually displays the packet distribution included in each program for each program on the entire transport stream based on the read analysis data.

なお、本発明に係るデジタル放送データのデータ解析方法をコンピュータに実行させるためのプログラムを作成することができ、このプログラムは、例えばフレキシブルディスク、CD−ROM、光磁気ディスク、半導体メモリ、ハードディスク等の記憶媒体または記憶装置に格納される。また、ネットワークなどを介してディジタル信号として配信される場合もある。このとき、中間的な処理結果はメインメモリ等の記憶装置に一時保管される。   A program for causing a computer to execute the data analysis method for digital broadcast data according to the present invention can be created, such as a flexible disk, CD-ROM, magneto-optical disk, semiconductor memory, hard disk, etc. It is stored in a storage medium or storage device. In some cases, it may be distributed as a digital signal via a network or the like. At this time, intermediate processing results are temporarily stored in a storage device such as a main memory.

また、本発明に係るデジタル放送データ解析装置は、トランスポートストリーム形式のデータが記憶されたTSデータ記憶部と、PATパケットの解析データが記憶されるPATテーブル、PMTパケットの解析データが記憶されるPMTテーブル、及び、データパケットの解析データが記憶されるパケットテーブルから構成される解析データ記憶部と、TSデータ記憶部からトランスポートストリームを読み込む読込部と、読込部で読み込まれたトランスポートストリームデータから、PATパケットを検出し、当該PATパケットを解析して解析結果をPATテーブルに記憶し、PATパケットから取得したPMTパケットのPIDを基に、トランスポートストリーム中から1つ又は複数のPMTパケットを取得し、取得されたPMTパケットの各々を解析して解析結果をPMTテーブルに記憶し、PMTパケット毎に、当該PMTパケットから取得したPIDを基に、当該PMTパケットに対応するデータパケットをトランスポートストリームから抽出し、抽出されたデータパケットの各々を解析して解析結果をパケットテーブルに記憶する解析部と、を有して構成される。   The digital broadcast data analyzing apparatus according to the present invention stores a TS data storage unit storing transport stream format data, a PAT table storing PAT packet analysis data, and PMT packet analysis data. An analysis data storage unit composed of a PMT table and a packet table storing analysis data of data packets, a reading unit for reading a transport stream from the TS data storage unit, and transport stream data read by the reading unit The PAT packet is detected, the PAT packet is analyzed, and the analysis result is stored in the PAT table. Based on the PID of the PMT packet acquired from the PAT packet, one or more PMT packets are selected from the transport stream. Acquired and acquired PMT parameters The analysis result is stored in the PMT table, and for each PMT packet, the data packet corresponding to the PMT packet is extracted from the transport stream based on the PID acquired from the PMT packet, and extracted. And an analysis unit that analyzes each of the received data packets and stores the analysis result in a packet table.

また、本デジタル放送データ解析装置は、表示部と、解析データ記憶部から各パケットの解析データを読み出し、読み出した解析データを基に、表示部に当該トランスポートストリームの構造を視覚的に表示する解析データ表示部と、を更に有することが好ましい。   The digital broadcast data analyzing apparatus reads the analysis data of each packet from the display unit and the analysis data storage unit, and visually displays the structure of the transport stream on the display unit based on the read analysis data. It is preferable to further include an analysis data display unit.

また、このとき、解析データ表示部が、表示部に、トランスポートストリーム全体に対して、プログラム毎に、各プログラムに含まれるパケット分布を視覚的に表示することが好ましい。   At this time, it is preferable that the analysis data display unit visually displays the distribution of packets included in each program for each program with respect to the entire transport stream on the display unit.

本発明に係るデジタル放送データのデータ解析方法、プログラム、及び、デジタル放送データ解析装置を以上のように構成すると、TSファイルにおけるTSパケット分布等を容易に特定することが可能となる。これにより、TSファイルを作成するユーザが、意図したTSファイルが作成できているかの確認や、エラーパケットの位置の確認を容易に行うことが可能となる。また、プログラムの分布やTSパケットの分布を視覚的に表示することにより、上記のエラーパケットの原因を特定したり、規格的なエラーでなくとも映像や音声が停止してしまう等の不具合を生じる場合、その不具合の原因特定を補助することが可能となる。   When the digital broadcast data analysis method, program, and digital broadcast data analysis apparatus according to the present invention are configured as described above, the TS packet distribution and the like in the TS file can be easily specified. As a result, the user who creates the TS file can easily confirm whether the intended TS file has been created and confirm the position of the error packet. In addition, by visually displaying the distribution of programs and the distribution of TS packets, the causes of the above error packets can be identified, and video and audio can stop even if they are not standard errors. In this case, it is possible to assist in identifying the cause of the malfunction.

以下、本発明の好ましい実施形態について図面を参照して説明する。図1に示すように、本実施形態のデジタル放送データ解析装置100は、本発明に係るデジタル放送データのデータ解析方法を処理するためのCPUやメモリからなる処理部110と、後述するトランスポートストリームファイル等を記憶するためのハードディスク等の外部記憶装置からなる記憶部120と、分析結果を表示するCRTやプリンタ等の表示部130とを有して構成される。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. As shown in FIG. 1, a digital broadcast data analysis apparatus 100 according to the present embodiment includes a processing unit 110 including a CPU and a memory for processing a data analysis method for digital broadcast data according to the present invention, and a transport stream described later. The storage unit 120 includes an external storage device such as a hard disk for storing files and the like, and a display unit 130 such as a CRT or printer that displays analysis results.

また、処理部110には、記憶部120からトランスポートストリーム形式のデータ(以下、「TSデータ」と呼ぶ)を読み込むTSデータ読込部10、この読み込まれたTSデータをTSパケット毎に解析し解析結果を記憶部120に記憶するTSデータ解析部20、及び、この解析の結果を基にTSデータにおける各TSパケットの分布を視覚的に表示する解析データ表示部80が設けられている。   Further, the processing unit 110 reads the TS data reading unit 10 that reads data in the transport stream format (hereinafter referred to as “TS data”) from the storage unit 120, and analyzes and analyzes the read TS data for each TS packet. A TS data analysis unit 20 that stores the result in the storage unit 120 and an analysis data display unit 80 that visually displays the distribution of each TS packet in the TS data based on the result of the analysis are provided.

また、記憶部120は、TSデータが記憶されたTSデータ記憶部30、及び、TSデータの解析結果が記憶される解析データ記憶部40から構成される。また、解析データ記憶部40は、後述するように、PATパケットの解析結果が記憶されるPATテーブル50、PMTパケットの解析結果が記憶されるPMTテーブル60、及び映像データ、音声データ等が記憶されたTSパケットの解析結果が記憶されるパケットテーブル70を有している。   The storage unit 120 includes a TS data storage unit 30 that stores TS data, and an analysis data storage unit 40 that stores analysis results of the TS data. Further, as will be described later, the analysis data storage unit 40 stores a PAT table 50 in which analysis results of PAT packets are stored, a PMT table 60 in which analysis results of PMT packets are stored, video data, audio data, and the like. A packet table 70 in which the analysis results of the TS packets are stored.

以下、各記憶部のデータ構造について説明する。TSデータ記憶部30は、映像データ、音声データ、PSI/SIデータなどがそれぞれパケット化されて多重化されて記憶されたものであり、図2(a)に示すように、複数のトランスポートストリームパケット(以下、「TSパケット」と呼ぶ)31から構成されている。TSパケット31は、サイズが188バイトの固定長のデータであり、4バイト固定長のヘッダ32及び当該パケットが伝送する実データが記憶されたペイロード33から構成される。なお、TSパケット32のサイズは、188バイト固定長に限らず、例えば、TSデータ受信時のエラー訂正のために用いるFEC等の情報を付加する場合は、204バイトの固定長等としてもよい。   Hereinafter, the data structure of each storage unit will be described. The TS data storage unit 30 stores video data, audio data, PSI / SI data, etc., which are each packetized and multiplexed. As shown in FIG. It is composed of packets (hereinafter referred to as “TS packets”) 31. The TS packet 31 is fixed-length data having a size of 188 bytes, and includes a 4-byte fixed-length header 32 and a payload 33 in which actual data transmitted by the packet is stored. The size of the TS packet 32 is not limited to a fixed length of 188 bytes. For example, when information such as FEC used for error correction when receiving TS data is added, the fixed length of 204 bytes may be used.

TSパケット32は、映像データや音声データが含まれるパケット(以下、データパケットと呼ぶ)の他に、これらの映像データや音声データが、どのプログラムに属しているかを示すPSI/SIデータを含むパケットが存在する。このPSI/SIデータには、PATやPMTなどが存在し、以下、PATを含むTSパケットをPATパケットと、PMTを含むTSパケットをPMTパケットと、映像データ、音声データ等を含むTSパケットをデータパケットと呼ぶ。   The TS packet 32 includes a packet containing video data and audio data (hereinafter referred to as a data packet), and a packet containing PSI / SI data indicating to which program these video data and audio data belong. Exists. This PSI / SI data includes PAT, PMT, and the like. Hereinafter, TS packets including PAT are PAT packets, TS packets including PMT are PMT packets, and TS packets including video data, audio data, and the like are data. Called a packet.

TSパケット32のヘッダ33は、図2(b)に示すような構成で、4バイト固定長であり、8ビットの同期バイト、13ビットのPID(パケット識別子)、及びその他の情報が記憶される領域を有している。同期バイトはTSパケットの先頭であることを示すもので、「0x47」が固定的に設定されている。PIDは、TSパケット31がどのようなデータを含むものであるかを表す識別子で、PATパケットの場合は、PIDには「0」が固定的に設定されている。ペイロード33は、図2(c)に示すように、PATパケット及びPMTパケットでは、セクションデータと呼ばれ、PSI/SIデータが格納されている。データパケットでは、映像データ、音声データなどの実データが格納されている。PATパケットのペイロード33には、図2(d)に示すように、TSデータ内に含まれるプログラム一覧が、PMTのPID一覧として格納されている。また、データサイズ、PATのバージョン、及びTS内におけるPATパケットの格納先アドレス等も格納されている。PMTパケットのペイロード33には、プログラムに含まれる映像データや音声データのPID一覧及び当該データが映像か音声か等を識別するための識別子(Stream Type)が格納されている。   The header 33 of the TS packet 32 is configured as shown in FIG. 2B, has a fixed length of 4 bytes, and stores an 8-bit synchronization byte, a 13-bit PID (packet identifier), and other information. Has an area. The synchronization byte indicates the head of the TS packet, and “0x47” is fixedly set. The PID is an identifier indicating what kind of data the TS packet 31 includes. In the case of a PAT packet, “0” is fixedly set in the PID. As shown in FIG. 2C, the payload 33 is called section data in the PAT packet and the PMT packet, and stores PSI / SI data. In the data packet, actual data such as video data and audio data is stored. In the payload 33 of the PAT packet, as shown in FIG. 2D, a list of programs included in the TS data is stored as a PID list of PMT. In addition, the data size, the PAT version, the storage destination address of the PAT packet in the TS, and the like are also stored. The payload 33 of the PMT packet stores a PID list of video data and audio data included in the program and an identifier (Stream Type) for identifying whether the data is video or audio.

PATテーブル50は、図3(a)に示すようなデータ構造を有し、PIDの記憶領域51(「0」が固定で記憶される)、PATのバージョンの記憶領域52、TSデータ記憶部30におけるPATパケットの格納先アドレスの記憶領域53、及びPMTのPIDを記憶するための複数の記憶領域54から構成されている。PMTテーブル60は、図3(b)に示すようなデータ構造を有し、管理番号の記憶領域61、PMTのPIDの記憶領域62、PMTのバージョンの記憶領域63、TSデータ記憶部30における当該PMTパケットの格納先アドレスの記憶領域64、及び当該プログラムに含まれるデータパケットの種別及びPIDを記憶するための複数の記憶領域65から構成されている。パケットテーブル70は、図3(c)に示すようなデータ構造を有し、管理番号の記憶領域71、データパケットのPIDの記憶領域72、及びTSデータ記憶部30における当該データパケットの格納先アドレスの記憶領域73から構成されている。なお、各テーブルには、上述した情報以外のものを記憶する領域を設けてもよいし、TSパケットから抽出した情報を記憶するのではなく、TSデータをそのまま記憶するように構成してもよい。   The PAT table 50 has a data structure as shown in FIG. 3A, and includes a PID storage area 51 (“0” is fixedly stored), a PAT version storage area 52, and a TS data storage unit 30. The PAT packet storage destination address storage area 53 and the PMT PID storage area 54 are configured. The PMT table 60 has a data structure as shown in FIG. 3B. The PMT table 60 has a management number storage area 61, a PMT storage area 62, a PMT version storage area 63, and the TS data storage section 30. The PMT packet storage destination address storage area 64 and a plurality of storage areas 65 for storing the types and PIDs of data packets included in the program. The packet table 70 has a data structure as shown in FIG. 3C, and includes a management number storage area 71, a data packet PID storage area 72, and a storage address of the data packet in the TS data storage unit 30. Storage area 73. Each table may be provided with an area for storing information other than the information described above, or may be configured to store TS data as it is, instead of storing information extracted from TS packets. .

次に、図1に示したデジタル放送データ解析装置100により行われるデジタル放送データのデータ解析処理について説明する。このデータ解析処理では、TSデータ解析処理(ステップS100)と、解析データ表示処理(ステップS300)が行われる。TSデータ解析処理(ステップS100)を、図4に示すフローチャートを用いて説明すると、まず、TSデータ読込部10により、TSデータ記憶部30からTSデータが読み込まれ、TSデータ解析部20に渡される(ステップS110)。TSデータ解析部20では、このTSデータをTSパケット毎に参照して、PID=0のもの、すなわちPATパケットを検索する(ステップS120)。次に、TSデータ解析部20では、取得したPATパケットを解析し、PATのバージョン、PMTのPID、及びTSデータ記憶部30における当該PATパケットの格納先アドレスを取得する(ステップS130)。PATパケット解析により取得された各データ(解析データ)を、解析データ記憶部40におけるPATテーブル50の各領域52〜54に記憶する(ステップS140)。   Next, data analysis processing of digital broadcast data performed by the digital broadcast data analysis apparatus 100 shown in FIG. 1 will be described. In this data analysis process, a TS data analysis process (step S100) and an analysis data display process (step S300) are performed. The TS data analysis process (step S100) will be described with reference to the flowchart shown in FIG. 4. First, the TS data reading unit 10 reads TS data from the TS data storage unit 30 and passes it to the TS data analysis unit 20. (Step S110). The TS data analysis unit 20 refers to this TS data for each TS packet and searches for a PID = 0, that is, a PAT packet (step S120). Next, the TS data analysis unit 20 analyzes the acquired PAT packet, and acquires the PAT version, the PMT PID, and the storage destination address of the PAT packet in the TS data storage unit 30 (step S130). Each data (analysis data) acquired by the PAT packet analysis is stored in each area 52 to 54 of the PAT table 50 in the analysis data storage unit 40 (step S140).

次に、PATパケットの解析処理で取得したPMTのPIDを基に、TSデータをTSパケット毎に参照して、各PIDに対応するPMTパケットを抽出する(ステップS150)。この抽出されたPMTパケットを解析することにより、当該PMTのバージョン、格納先アドレス、及び当該プログラムに含まれる複数のデータパケットの種別及びPIDを取得する(ステップS160)。そして、取得されたこれらの情報及び当該PMTパケットのPIDを、解析データ記憶部40におけるPMTテーブル60の各領域62〜65に記憶する(ステップS170)。このPMTパケットの検出、解析、解析データの記憶は、PATパケットの解析で得られた全てのPMTパケットについて行う。   Next, based on the PID of the PMT acquired in the analysis process of the PAT packet, the TS data is referenced for each TS packet, and the PMT packet corresponding to each PID is extracted (step S150). By analyzing the extracted PMT packet, the version of PMT, the storage destination address, and the types and PIDs of a plurality of data packets included in the program are acquired (step S160). Then, the acquired information and the PID of the PMT packet are stored in the areas 62 to 65 of the PMT table 60 in the analysis data storage unit 40 (step S170). The detection, analysis, and storage of analysis data of the PMT packet are performed for all PMT packets obtained by the analysis of the PAT packet.

TSデータ解析部20では、次に、PMTパケットから取得したデータパケットのPIDを基にTSデータを参照して、各PMTに含まれるデータパケットを抽出する(ステップS180)。抽出されたデータパケットを解析して、当該データパケットのPID及びTSデータ記憶部30における当該データパケットの格納先アドレスを取得する(ステップS90)。そして、取得されたPIDおよび格納先アドレスを、解析データ記憶部40におけるパケットテーブル70の各領域72,73に記憶する(ステップS200)。以上によりTSデータ解析処理が終了する。   Next, the TS data analyzing unit 20 refers to TS data based on the PID of the data packet acquired from the PMT packet, and extracts the data packet included in each PMT (step S180). The extracted data packet is analyzed to obtain the PID of the data packet and the storage address of the data packet in the TS data storage unit 30 (step S90). Then, the acquired PID and storage destination address are stored in the areas 72 and 73 of the packet table 70 in the analysis data storage unit 40 (step S200). Thus, the TS data analysis process ends.

次に、解析データ表示処理(ステップS300)について、図5のフローチャートを基に説明する。解析データ表示部80は、解析データ記憶部40の各テーブル50,60,70からPATパケット,PMTパケット、及び各PMTに含まれるデータパケットの解析データを読み込み(ステップS310)、さらに、TSデータ記憶部30からTSデータを読み込む(ステップS320)。次に、解析データ表示部80は、これらの情報を基に、TSデータにおけるプログラム分布、プログラムごとのTSパケット分布など、表示部130に表示するための画面を編集し(ステップS330)、当該画面を表示部130に表示する(ステップS340)。   Next, the analysis data display process (step S300) will be described based on the flowchart of FIG. The analysis data display unit 80 reads the PAT packet, the PMT packet, and the analysis data of the data packet included in each PMT from each table 50, 60, 70 of the analysis data storage unit 40 (step S310), and further stores the TS data. TS data is read from the unit 30 (step S320). Next, the analysis data display unit 80 edits a screen to be displayed on the display unit 130 such as a program distribution in TS data and a TS packet distribution for each program based on these pieces of information (step S330). Is displayed on the display unit 130 (step S340).

図6に、表示部130に表示される表示画面の一例を示す。図6に示す表示画面200では、PATおよびPMTにより分類されたPIDを1つのプログラムとし、全てのプログラムについての解析データ表示されている。この図6に示すように、表示画面200は、解析データの情報(パラメータ等)が表示される情報表示画面210と、プログラム毎のTSパケット分布が表示されるプログラム表示画面220から構成されている。情報表示画面210には、PATのバージョン、プログラム番号、当該プログラムのPMTのPID、PMTのバージョン、当該プログラムに含まれる映像データのPID、音声データのPIDなどの解析データが表示される。プログラム表示画面220には、プログラム毎に、各プログラムに含まれるTSパケットの位置を色付けすることにより、TSパケット分布が視覚的に表示される。この色付けは、単色で行ってもよいし、映像データは赤色、音声データは青色など、TSパケットの種別毎に色分けして表示してもよい。なお、情報表示画面210の行の番号(#)とプログラム表示画面220の行の番号(#)とは対応付けられている。   FIG. 6 shows an example of a display screen displayed on the display unit 130. In the display screen 200 shown in FIG. 6, PIDs classified by PAT and PMT are regarded as one program, and analysis data for all programs is displayed. As shown in FIG. 6, the display screen 200 includes an information display screen 210 on which information (parameters and the like) of analysis data is displayed, and a program display screen 220 on which a TS packet distribution for each program is displayed. . The information display screen 210 displays analysis data such as the PAT version, the program number, the PMT PID of the program, the PMT version, the video data PID and the audio data PID included in the program. On the program display screen 220, for each program, the TS packet distribution is visually displayed by coloring the position of the TS packet included in each program. This coloring may be performed in a single color, or may be displayed in different colors for each TS packet type, such as red for video data and blue for audio data. The line number (#) on the information display screen 210 and the line number (#) on the program display screen 220 are associated with each other.

また、プログラム表示画面220において、左端はTSファイルの先頭を意味し、右端はTSファイルの終端を意味する。プログラム表示画面220にはスライドバー221が設けられ、このスライドバー221を左右に移動することで、グラフの表示位置を任意に変更することができる。解析データ表示部80では、各TSパケットの格納アドレスやPIDを基に、各プログラムに対応するTSパケットが記憶された領域を、帯状に色付けすることによりプログラム表示画面220を編集し、表示部130に表示する。このような表示画面200により、ユーザはプログラム毎に、TSパケットの分布を視覚的に理解することができる。   In the program display screen 220, the left end means the beginning of the TS file, and the right end means the end of the TS file. A slide bar 221 is provided on the program display screen 220, and the display position of the graph can be arbitrarily changed by moving the slide bar 221 left and right. The analysis data display unit 80 edits the program display screen 220 by coloring the area in which the TS packet corresponding to each program is stored, based on the storage address and PID of each TS packet, in a strip shape, and displays the display unit 130. To display. With such a display screen 200, the user can visually understand the distribution of TS packets for each program.

次に、表示部130に表示される表示画面の他の例を説明する。図7に示される表示画面300は、前出の図6と同様に、解析データの情報を表示する情報表示画310、各プログラムに含まれるTSパケットの分布をグラフ化して表示するプログラム表示画面320を有し、さらに、指定された1つのプログラムについてPID毎にTSパケット分布を詳細に表示するストリーム表示画面330を有している。このストリーム表示画面330に、所定のプログラムに存在するPID毎のTSパケット分布を表示することにより、当該プログラムに関連するTSパケットがPID単位でどのようにTSデータ上に分布されているかを視覚的に理解することができる。この表示画面300の活用例としては、例えば、情報表示画面310でパケット分布の詳細を表示させたいプログラムを選択する。次に、プログラム表示画面320のスライドバー321を操作して、詳細表示させたいTSパケットの先頭位置を指定する。すると、ストリーム表示画面330には、スライドバー321で指定された位置から、予め設定された表示範囲(秒単位、パケット数単位等)で、PID毎にTSパケットの分布位置が表示される。スライドバー321を操作して表示位置を変更することにより、当該プログラムに関連する全てのTSパケットのPID毎の詳細な分布を視覚的に理解することができる。   Next, another example of the display screen displayed on the display unit 130 will be described. The display screen 300 shown in FIG. 7 is an information display screen 310 that displays information on analysis data, and a program display screen 320 that displays the distribution of TS packets included in each program in a graph, as in FIG. And a stream display screen 330 for displaying the TS packet distribution for each PID in detail for one designated program. By displaying the TS packet distribution for each PID existing in the predetermined program on the stream display screen 330, it is possible to visually determine how TS packets related to the program are distributed on the TS data in PID units. Can understand. As an application example of the display screen 300, for example, a program for which details of packet distribution are to be displayed on the information display screen 310 is selected. Next, the slide bar 321 on the program display screen 320 is operated to designate the head position of the TS packet to be displayed in detail. Then, the distribution position of TS packets is displayed on the stream display screen 330 for each PID within a preset display range (second unit, number of packet units, etc.) from the position specified by the slide bar 321. By operating the slide bar 321 to change the display position, it is possible to visually understand the detailed distribution for every PID of all TS packets related to the program.

図8に示される表示画面400は、TSデータ内のPID毎にTSパケット分布が二次元的に表示されるとともに、必要なPIDやプログラムのみを表示することが可能なフィルタ機能を有するように構成されている。したがって、注目したTSパケットやPIDのみを表示することも可能となる。図8に示される表示画面400は、縦軸にTS中のTSパケットの格納アドレスが表示され、横軸にPIDが表示されたパケット表示画面410を有している。このパケット表示画面410に、当該アドレスとPIDから特定されるTSパケットの位置を色付けすることにより、TSパケットをテーブル表示する。また、表示画面400には、アイコンボタン411が設けられ、これを押下することにより、TSデータの表示位置を変更することができる。また、当該TSパケットの詳細なパラメータ及びダンプを表示可能とし、これらはパラメータ表示画面420及びダンプ表示画面430に各々表示される。このパラメータ表示画面420には、ユーザに特定されたTSパケットのパラメータ(例えば、連続性を表す「continuity_counter」など)が表示される。このように、TSパケットをアドレスとPIDによりテーブル表示することで、TSデータにおいて、どの位置にどのPIDを含むTSパケットが存在するかを二次元的に表示することができる。   The display screen 400 shown in FIG. 8 is configured to have a filter function capable of two-dimensionally displaying the TS packet distribution for each PID in the TS data and displaying only necessary PIDs and programs. Has been. Therefore, it is possible to display only the noticed TS packet or PID. A display screen 400 shown in FIG. 8 has a packet display screen 410 in which the storage address of the TS packet in the TS is displayed on the vertical axis and the PID is displayed on the horizontal axis. The packet display screen 410 displays the TS packet in a table by coloring the position of the TS packet specified from the address and PID. In addition, an icon button 411 is provided on the display screen 400, and the display position of the TS data can be changed by pressing this button. Further, detailed parameters and dumps of the TS packet can be displayed, and these are displayed on the parameter display screen 420 and the dump display screen 430, respectively. The parameter display screen 420 displays TS packet parameters specified by the user (for example, “continuity_counter” indicating continuity). In this way, by displaying the TS packets in a table with addresses and PIDs, it is possible to two-dimensionally display TS packets including which PIDs exist at which positions in the TS data.

ここで、解析データ表示部80により、図7及び図8に示される表示画面300,400を表示するよう構成した場合について、画面操作手順及びTSパケット分布の把握手順を説明する。従来技術ではTSデータの解析を1種類の視点からのみ行っていたが、表示画面300,400に各々表示された情報を基に、複数の視点からTSパケットを解析できるようになる。   Here, a screen operation procedure and a TS packet distribution grasping procedure will be described in the case where the analysis data display unit 80 is configured to display the display screens 300 and 400 shown in FIGS. In the prior art, TS data is analyzed only from one type of viewpoint, but based on information displayed on the display screens 300 and 400, TS packets can be analyzed from a plurality of viewpoints.

まず、表示画面300において、スライドバー321を用いてTSパケット分布の表示位置を変更し、所望のTSパケットの詳細情報を確認する手順を説明する。図7に示される表示画面300を表示させることにより、プログラム表示画面320においてTSデータ全体における全プログラムのTSパケット分布を把握することができる。また、注目したいプログラムを指定することで、ストリーム表示部330に、当該プログラムのPID毎の詳細なTSパケット分布を表示させることができる。そして、スライドバー321の移動により、当該プログラムにおいて解析したい箇所の先頭位置を指定し、当該先頭位置から所定範囲の詳細なTSパケットの構造をストリーム表示画面330に表示することができる。この状態で、図8に示される表示画面400を表示させると、パケット表示画面410には、先にスライドバー321で指定した位置から、TSパケットが表示される。また、パラメータ表示画面420には、当該指定位置の先頭TSパケットのパラメータが表示され、ダンプ表示画面430には、当該指定位置の先頭TSパケットのダンプデータが表示される。このように、注目したいTSパケットの諸情報を効率的に表示することができ、複数の視点からTSパケットを容易かつ詳細に理解することができる。   First, the procedure for changing the display position of the TS packet distribution using the slide bar 321 on the display screen 300 and confirming the detailed information of the desired TS packet will be described. By displaying the display screen 300 shown in FIG. 7, the TS packet distribution of all programs in the entire TS data can be grasped on the program display screen 320. In addition, by specifying a program to be noticed, it is possible to display a detailed TS packet distribution for each PID of the program on the stream display unit 330. Then, by moving the slide bar 321, it is possible to specify the head position of the location to be analyzed in the program, and display the detailed TS packet structure within a predetermined range from the head position on the stream display screen 330. When the display screen 400 shown in FIG. 8 is displayed in this state, TS packets are displayed on the packet display screen 410 from the position previously specified by the slide bar 321. Further, the parameter display screen 420 displays the parameter of the first TS packet at the designated position, and the dump display screen 430 displays the dump data of the first TS packet at the designated position. In this way, it is possible to efficiently display various information of the TS packet to be noticed, and it is possible to easily and in detail understand the TS packet from a plurality of viewpoints.

次に、表示画面400において、アイコンボタン411を用いてTSパケット分布の表示位置を変更し、所望のTSパケットの詳細情報を確認する手順を説明する。まず、図8に示される表示画面400を表示し、パケット表示画面410にTSパケットをテーブル表示する。アイコンボタン411を押下することにより、TSパケットの表示範囲を変更して、所望の範囲のTSパケット分布をパケット表示画面410に表示する。また、この変更された範囲の先頭TSパケットのパラメータ及びダンプデータが、各々パラメータ表示画面420及びダンプ表示画面430に表示される。この状態で、図7に示される表示画面300を表示すると、スライドバー321が表示画面400で指定されたTSパケットの位置まで移動して表示される。このスライドバー321の位置によって、プログラム表示画面320において、当該TSパケットのTSデータ全体における位置を知ることができる。また、ストリーム表示画面330には、スライドバー221で指定された位置から所定範囲のPID毎の詳細なTSパケット分布が表示され、注目するTSパケットの詳細を知ることができる。   Next, a procedure for changing the display position of the TS packet distribution using the icon button 411 on the display screen 400 and confirming the detailed information of the desired TS packet will be described. First, the display screen 400 shown in FIG. 8 is displayed, and TS packets are displayed in a table on the packet display screen 410. By pressing the icon button 411, the display range of the TS packet is changed, and the TS packet distribution in the desired range is displayed on the packet display screen 410. Further, the parameters and dump data of the first TS packet in the changed range are displayed on the parameter display screen 420 and the dump display screen 430, respectively. When the display screen 300 shown in FIG. 7 is displayed in this state, the slide bar 321 moves to the position of the TS packet designated on the display screen 400 and is displayed. From the position of the slide bar 321, the position of the TS packet in the entire TS data can be known on the program display screen 320. Further, on the stream display screen 330, a detailed TS packet distribution for each PID within a predetermined range from the position specified by the slide bar 221 is displayed, and the details of the TS packet of interest can be known.

また、表示部130に表示される更に異なる表示画面の例を説明する。図9に示される表示画面500は、縦軸にTSパケットの格納アドレスが表示され、横軸にPIDが表示され、TSパケット分布がテーブル表示されるパケット表示画面510、指定されたTSパケットのパラメータが表示されるパラメータ表示画面520、及びダンプが表示されるダンプ表示画面530、映像データのサムネイルが表示されるサムネイル表示画面540、及び音声データの音声波形が表示される音声波形表示画面550から構成されている。解析データ表示部80は、解析データ及びTSデータを基に、表示画面500を作成し、表示部130に表示するように構成される。サムネイル及び音声波形は、スクロールバー541を移動させることにより、表示位置を変更することができる。また、サムネイルは、フレーム毎に表示される。   An example of a different display screen displayed on the display unit 130 will be described. The display screen 500 shown in FIG. 9 is a packet display screen 510 in which the storage address of the TS packet is displayed on the vertical axis, the PID is displayed on the horizontal axis, and the TS packet distribution is displayed in a table. Parameters of the designated TS packet A parameter display screen 520 for displaying a dump, a dump display screen 530 for displaying a dump, a thumbnail display screen 540 for displaying a thumbnail of video data, and an audio waveform display screen 550 for displaying an audio waveform of audio data. Has been. The analysis data display unit 80 is configured to create a display screen 500 based on the analysis data and TS data and display the display screen 500 on the display unit 130. The display position of the thumbnail and the audio waveform can be changed by moving the scroll bar 541. The thumbnail is displayed for each frame.

この図9に示される表示画面500、及び、前出の図7で示される表示画面300と同様の構成で、図10に示されるように、情報表示画面610、プログラム表示画面620及びストリーム表示画面630を用いた画面操作手順及びTSパケット分布の把握手順を説明する。この例では、TSパケット分布を、サムネイルや音声波形表示と同期させることで、その画像データや音声データの全体的な構造から詳細な構造まで表示することができる。また、このようにTSパケットと当該TSパケットに含まれる映像、音声データ等とを関連付けることにより、TSパケット及びデータのいずれからでも互いの位置を特定することができる。その結果、複数の視点からTSパケットを解析できるようになる。   As shown in FIG. 10, the display screen 500 shown in FIG. 9 and the display screen 300 shown in FIG. 7 are used. As shown in FIG. 10, an information display screen 610, a program display screen 620, and a stream display screen. The screen operation procedure using 630 and the grasp procedure of TS packet distribution will be described. In this example, by synchronizing the TS packet distribution with the thumbnail and audio waveform display, it is possible to display from the overall structure of the image data and audio data to the detailed structure. In addition, by associating the TS packet with the video, audio data, and the like included in the TS packet in this way, the position of each other can be specified from either the TS packet or the data. As a result, TS packets can be analyzed from a plurality of viewpoints.

まず、図9で示される表示画面500を表示し、映像データのサムネイル、音声データの音声波形、TSパケット分布、パラメータ、及びダンプを表示する。次に、サムネイル表示画面540または音声波形表示画面550で、スクロールバー541の移動や画面のクリックにより、所定のサムネイルまたは音声波形を選択する。この操作により、選択したサムネイルまたは音声波形を基に、関連するTSパケットの先頭位置がパケット表示画面510に表示される。また、当該先頭TSパケットのパラメータ及びダンプが、パラメータ表示画面520及びダンプ表示画面530に各々表示される。   First, the display screen 500 shown in FIG. 9 is displayed, and a thumbnail of video data, an audio waveform of audio data, a TS packet distribution, parameters, and a dump are displayed. Next, a predetermined thumbnail or audio waveform is selected by moving the scroll bar 541 or clicking the screen on the thumbnail display screen 540 or the audio waveform display screen 550. By this operation, the leading position of the related TS packet is displayed on the packet display screen 510 based on the selected thumbnail or audio waveform. Further, the parameter and dump of the head TS packet are displayed on the parameter display screen 520 and the dump display screen 530, respectively.

この状態で、図10に示される表示画面600を表示させると、上記表示画面500で変更された先頭TSパケットの位置まで、スライドバー621が移動して表示され、当該TSパケットのTSデータ全体における位置を知ることができる。また、ストリーム表示画面630には、スライドバー621で指定された位置から所定範囲のPID毎の詳細なTSパケット分布が表示される。   When the display screen 600 shown in FIG. 10 is displayed in this state, the slide bar 621 is moved and displayed to the position of the first TS packet changed on the display screen 500, and the TS data in the entire TS packet of the TS packet is displayed. You can know the position. The stream display screen 630 displays a detailed TS packet distribution for each PID within a predetermined range from the position specified by the slide bar 621.

また、前出の図7で示される表示画面300と同様の構成で、図11に示されるように、情報表示画面710、プログラム表示画面720及びストリーム表示画面730を用いて、表示されたTSパケット分布を基に、エラーとなった箇所の原因特定の補助とする例を説明する。従来技術では、1種類の視点からのみ解析していたため、規格上のエラーではない不具合に関して、原因の特定が困難であったが、本発明では複数の視点からTSパケットを解析することで、原因特定の補助を行うことができる。以下、詳細に説明する。   Further, the TS packet displayed using the information display screen 710, the program display screen 720, and the stream display screen 730 has the same configuration as the display screen 300 shown in FIG. Based on the distribution, an example will be described that assists in identifying the cause of an error location. In the prior art, since the analysis was performed only from one type of viewpoint, it was difficult to identify the cause of the defect that was not an error in the standard. However, in the present invention, the cause is analyzed by analyzing the TS packet from a plurality of viewpoints. Specific assistance can be provided. This will be described in detail below.

ここでは、エラーとして、2番目のプログラム2の音声データの一部が無音となった場合を想定している。表示画面700の情報表示画面710において、当該プログラムを選択し、スライドバー721を移動してストリーム表示画面730のTSパケットの表示位置を変更しながら、プログラムのPID毎の詳細なTSパケット分布を観察する。すると、図11に破線矢印で示したように、音声データのTSパケットがない領域が見つかった場合、これが無音の原因であると推定することができる。更に詳細な原因特定をしたい場合には、この無音の原因となる範囲のTSパケット分布を、前出の図8の表示画面400のパケット表示画面410に表示することにより、当該範囲のTSパケットがどのように構成されているか確認する。これにより、例えば、TSパケットのパケットサイズエラーにより音声データのTSパケットが正常に解析できていないことや、複合的なエラーであること等を把握することができ、エラー原因解消の補助をすることができる。   Here, it is assumed that a part of the audio data of the second program 2 becomes silent as an error. On the information display screen 710 of the display screen 700, select the program, move the slide bar 721 and change the TS packet display position on the stream display screen 730, and observe the detailed TS packet distribution for each PID of the program To do. Then, as shown by a broken line arrow in FIG. 11, when an area without a TS packet of audio data is found, it can be estimated that this is the cause of silence. In order to specify the cause in more detail, the TS packet distribution of the range causing the silence is displayed on the packet display screen 410 of the display screen 400 of FIG. Check how it is configured. As a result, for example, it is possible to grasp that the TS packet of the voice data has not been normally analyzed due to the packet size error of the TS packet, or that it is a complex error, and assist in solving the cause of the error. Can do.

以上のように、デジタル放送データのデータ解析方法を実装したデジタル放送データ解析装置100を用いると、従来技術のようにパケットのサイズ単位で表示した場合に比べ、TSファイルに対するプログラムの分布、プログラムのPID単位毎のパケット分布など、TSファイル全体の構成を視覚的に理解することができる。更に、全パケットに関してその分布状態を、アドレスとPIDとによって2次元的に詳細表示することも可能となる。したがって、注目したパケットを、見方の異なる複数の視点で解析することができ、例えば、意図したTSファイルが作成されているかの確認、エラーパケットの位置の確認や原因究明のための情報を提供することができる。   As described above, when the digital broadcast data analysis apparatus 100 in which the data analysis method for digital broadcast data is implemented is used, the program distribution and program distribution for the TS file are compared to the case where the packet size is displayed as in the prior art. The structure of the entire TS file such as packet distribution for each PID unit can be visually understood. Further, the distribution state of all packets can be two-dimensionally displayed in detail by address and PID. Therefore, it is possible to analyze the focused packet from a plurality of viewpoints with different viewpoints. For example, it provides information for confirming whether the intended TS file has been created, confirming the position of the error packet, and investigating the cause. be able to.

本発明の実施の形態に係るデジタル放送データ解析装置のブロック図である。1 is a block diagram of a digital broadcast data analysis apparatus according to an embodiment of the present invention. TSデータ記憶部のデータ構造を説明するための説明図であり、(a)はTSパケットが多重化されたトランスポートストリームの構造を説明するための説明図、(b)はTSパケットのヘッダの構造を説明するための説明図、(c)はペイロードの種類を説明するための説明図、(d)はPATの構造を説明するための説明図、(e)はPMTの構造を説明するための説明図である。It is explanatory drawing for demonstrating the data structure of TS data storage part, (a) is explanatory drawing for demonstrating the structure of the transport stream by which TS packet was multiplexed, (b) is the header of TS packet. An explanatory diagram for explaining the structure, (c) an explanatory diagram for explaining the type of payload, (d) an explanatory diagram for explaining the structure of the PAT, and (e) for explaining the structure of the PMT. It is explanatory drawing of. 解析データ記憶部のデータ構造を説明するための説明図であり、(a)はPATテーブルの構造を説明するための説明図、(b)はPMTテーブルの構造を説明するための説明図、(c)はデータパケットテーブルの構造を説明するための説明図である。It is explanatory drawing for demonstrating the data structure of an analysis data storage part, (a) is explanatory drawing for demonstrating the structure of a PAT table, (b) is explanatory drawing for demonstrating the structure of a PMT table, c) is an explanatory diagram for explaining the structure of a data packet table. デジタル放送データのデータ解析処理におけるTSデータ解析処理フローを示す図である。It is a figure which shows the TS data analysis process flow in the data analysis process of digital broadcast data. デジタル放送データのデータ解析処理における解析データ表示処理フローを示す図である。It is a figure which shows the analysis data display processing flow in the data analysis process of digital broadcast data. 表示部に表示される表示画面の一例を示す図である。It is a figure which shows an example of the display screen displayed on a display part. 表示部に表示される表示画面の一例を示す図である。It is a figure which shows an example of the display screen displayed on a display part. 表示部に表示される表示画面の一例を示す図である。It is a figure which shows an example of the display screen displayed on a display part. 表示部に表示される表示画面の一例を示す図である。It is a figure which shows an example of the display screen displayed on a display part. 表示部に表示される表示画面の一例を示す図である。It is a figure which shows an example of the display screen displayed on a display part. 表示部に表示される表示画面の一例を示す図である。It is a figure which shows an example of the display screen displayed on a display part.

符号の説明Explanation of symbols

10 TSデータ読込部 20 TSデータ解析部 30 TSデータ記憶部
40 解析データ記憶部 80 解析データ表示部
100 デジタル放送データ解析装置
110 処理部 120 記憶部 130 表示部
DESCRIPTION OF SYMBOLS 10 TS data reading part 20 TS data analysis part 30 TS data storage part 40 Analysis data storage part 80 Analysis data display part 100 Digital broadcast data analysis apparatus 110 Processing part 120 Storage part 130 Display part

Claims (7)

処理部を有し、トランスポートストリーム形式のデータ及びその解析データが記憶される記憶部にアクセス可能なコンピュータにより実行されるデータ解析方法であって、
前記処理部により、
前記記憶部からトランスポートストリームを読み出す読込処理と、
前記読込処理で読み出されたトランスポートストリームの中から、PATパケットを検出する処理と、
検出された前記PATパケットを解析して解析結果を前記記憶部のPATテーブルに記憶する処理と、
前記PATパケットからPMTパケットのPIDを取得し、当該PIDを基にトランスポートストリーム中から各PMTパケットを取得する処理と、
取得された前記各PMTパケットを解析して解析結果を前記記憶部のPMTテーブルに記憶する処理と、
前記PMTパケット毎に、当該PMTパケットから取得したPIDを基に、当該PMTパケットのプログラムに含まれるデータパケットをトランスポートストリームから抽出する処理と、
抽出された前記データパケットの各々を解析して解析結果を記憶部のパケットテーブルに記憶する処理と、
を含むデジタル放送データのデータ解析方法。
A data analysis method executed by a computer having a processing unit and having access to a storage unit storing transport stream format data and analysis data thereof,
By the processing unit,
A reading process of reading a transport stream from the storage unit;
A process of detecting a PAT packet from the transport stream read by the read process;
Processing to analyze the detected PAT packet and store the analysis result in the PAT table of the storage unit;
A process of acquiring the PID of the PMT packet from the PAT packet and acquiring each PMT packet from the transport stream based on the PID;
A process of analyzing each acquired PMT packet and storing an analysis result in a PMT table of the storage unit;
For each PMT packet, based on the PID acquired from the PMT packet, a process of extracting a data packet included in the program of the PMT packet from the transport stream;
A process of analyzing each of the extracted data packets and storing an analysis result in a packet table of a storage unit;
Data analysis method for digital broadcast data including
前記処理部が、
前記記憶部から前記パケットの解析データを読み出す処理と、
読み出した前記解析データを基に、トランスポートストリームにおける各パケットの分布を視覚的に表示する処理と、
を更に含む請求項1に記載のデジタル放送データのデータ解析方法。
The processing unit is
A process of reading the analysis data of the packet from the storage unit;
Processing for visually displaying the distribution of each packet in the transport stream based on the read analysis data;
The data analysis method for digital broadcast data according to claim 1, further comprising:
前記処理部が、
読み出した前記解析データを基に、トランスポートストリーム全体に対して、プログラム毎に、当該プログラムの各々に含まれるパケット分布を視覚的に表示する請求項2に記載のデジタル放送データ解析方法。
The processing unit is
3. The digital broadcast data analysis method according to claim 2, wherein a packet distribution included in each program is visually displayed for each program on the entire transport stream based on the read analysis data.
請求項1〜3いずれか一項に記載のデジタル放送データのデータ解析方法をコンピュータに実行させるためのプログラム。   The program for making a computer perform the data analysis method of the digital broadcast data as described in any one of Claims 1-3. トランスポートストリーム形式のデータが記憶されるTSデータ記憶部と、
PATパケットの解析データが記憶されるPATテーブル、PMTパケットの解析データが記憶されるPMTテーブル、及び、データパケットの解析データが記憶されるパケットテーブルから構成される解析データ記憶部と、
前記TSデータ記憶部からトランスポートストリームを読み込む読込部と、
前記読込部で読み込まれた前記トランスポートストリームデータから、PATパケットを検出し、当該PATパケットを解析して解析結果を前記PATテーブルに記憶し、前記PATパケットから取得したPMTパケットのPIDを基に、前記トランスポートストリーム中から1つ又は複数のPMTパケットを取得し、取得された前記PMTパケットの各々を解析して解析結果を前記PMTテーブルに記憶し、前記PMTパケット毎に、当該PMTパケットから取得したPIDを基に、当該PMTパケットに対応する前記データパケットを前記トランスポートストリームから抽出し、抽出された前記データパケットの各々を解析して解析結果を前記パケットテーブルに記憶する解析部と、
を有するデジタル放送データ解析装置。
A TS data storage unit for storing data in a transport stream format;
An analysis data storage unit including a PAT table in which analysis data of a PAT packet is stored, a PMT table in which analysis data of a PMT packet is stored, and a packet table in which analysis data of a data packet is stored;
A reading unit for reading a transport stream from the TS data storage unit;
The PAT packet is detected from the transport stream data read by the reading unit, the PAT packet is analyzed, the analysis result is stored in the PAT table, and based on the PID of the PMT packet acquired from the PAT packet , Acquiring one or more PMT packets from the transport stream, analyzing each of the acquired PMT packets and storing the analysis result in the PMT table, and for each PMT packet, from the PMT packet An analysis unit that extracts the data packet corresponding to the PMT packet from the transport stream based on the acquired PID, analyzes each of the extracted data packets, and stores an analysis result in the packet table;
A digital broadcast data analyzing apparatus.
表示部と、
前記解析データ記憶部から前記各パケットの解析データを読み出し、読み出した前記解析データを基に、前記表示部に当該トランスポートストリームの構造を視覚的に表示する解析データ表示部と、
を更に有する請求項5に記載のデジタル放送データ解析装置。
A display unit;
Reading the analysis data of each packet from the analysis data storage unit, based on the read analysis data, an analysis data display unit that visually displays the structure of the transport stream on the display unit,
The digital broadcast data analysis apparatus according to claim 5, further comprising:
前記解析データ表示部が、前記表示部に、トランスポートストリーム全体に対して、プログラム毎に、各プログラムに含まれるパケット分布を視覚的に表示する請求項6に記載のデジタル放送データ解析装置。   The digital broadcast data analyzing apparatus according to claim 6, wherein the analysis data display unit visually displays a packet distribution included in each program for each program on the entire transport stream on the display unit.
JP2008124112A 2008-05-11 2008-05-11 Digital broadcast data analysis method, program, and digital broadcast data analysis apparatus Expired - Fee Related JP4854039B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008124112A JP4854039B2 (en) 2008-05-11 2008-05-11 Digital broadcast data analysis method, program, and digital broadcast data analysis apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008124112A JP4854039B2 (en) 2008-05-11 2008-05-11 Digital broadcast data analysis method, program, and digital broadcast data analysis apparatus

Publications (2)

Publication Number Publication Date
JP2009273065A true JP2009273065A (en) 2009-11-19
JP4854039B2 JP4854039B2 (en) 2012-01-11

Family

ID=41439190

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008124112A Expired - Fee Related JP4854039B2 (en) 2008-05-11 2008-05-11 Digital broadcast data analysis method, program, and digital broadcast data analysis apparatus

Country Status (1)

Country Link
JP (1) JP4854039B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08340514A (en) * 1995-06-12 1996-12-24 Sony Corp Recording method for digital data, recording device and reproduction system
JP2000307643A (en) * 1999-04-16 2000-11-02 Sony Corp Device and method for analyzing data
JP2002101431A (en) * 2000-08-07 2002-04-05 Tektronix Inc Signal characteristic display
JP2003009086A (en) * 2001-06-22 2003-01-10 Matsushita Electric Ind Co Ltd Video recording device and recording method
JP2004320421A (en) * 2003-04-16 2004-11-11 Toshiba Corp Audience data collection device
JP2007312191A (en) * 2006-05-19 2007-11-29 Oki Electric Ind Co Ltd Video quality evaluation apparatus, video quality monitoring apparatus and video quality monitoring system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08340514A (en) * 1995-06-12 1996-12-24 Sony Corp Recording method for digital data, recording device and reproduction system
JP2000307643A (en) * 1999-04-16 2000-11-02 Sony Corp Device and method for analyzing data
JP2002101431A (en) * 2000-08-07 2002-04-05 Tektronix Inc Signal characteristic display
JP2003009086A (en) * 2001-06-22 2003-01-10 Matsushita Electric Ind Co Ltd Video recording device and recording method
JP2004320421A (en) * 2003-04-16 2004-11-11 Toshiba Corp Audience data collection device
JP2007312191A (en) * 2006-05-19 2007-11-29 Oki Electric Ind Co Ltd Video quality evaluation apparatus, video quality monitoring apparatus and video quality monitoring system

Also Published As

Publication number Publication date
JP4854039B2 (en) 2012-01-11

Similar Documents

Publication Publication Date Title
JP4686587B2 (en) Video recording / reproducing apparatus and file management method
US8365217B2 (en) Method for managing advertising detection in an electronic apparatus, such as a digital television decoder
US7586544B2 (en) Method and apparatus for testing lip-sync of digital television receiver
JP6333792B2 (en) Method for estimating the type of picture group structure of multiple video frames in a video stream
JP2000341640A (en) Recording device and its method and reproducing device and its method and recording medium
EP1089565A2 (en) Transport stream recording apparatus and method, transport stream reproducing apparatus and method, and program recording medium
JP5587779B2 (en) Apparatus and method for storing and reading a file having a media data container and a metadata container
CN110235198B (en) Information processing apparatus, information recording medium, information processing method, and program
EP2247109A2 (en) Multi DVR video packaging for incident forensics
JP2007274142A (en) Device and method for transmitting video
JP2005123907A (en) Data reconstruction apparatus
CN105138867A (en) Method and device for protecting image copyright
US11006173B2 (en) Information processing device, information recording medium, and information processing method, and program
JP4854039B2 (en) Digital broadcast data analysis method, program, and digital broadcast data analysis apparatus
CN110663250B (en) Information processing apparatus, information recording medium, and information processing method
CN108495179B (en) Method for recording and replaying mixed program of broadcast and broadband
JPWO2018190122A1 (en) Information processing apparatus, information processing method, and program
TW200417996A (en) Method of assigning an absolute time value to an entry point of a data stream sequence
JPWO2005043915A1 (en) Video analysis device and video failure detection device
JP4573723B2 (en) Transport stream monitoring device
KR20090104065A (en) Method for packet-switching transmission of media data and device for processing media data
Davis et al. Quality assurance for IPTV
CN106937160B (en) Display method and device for recorded file of terminal during fast forward and fast backward
JP2007074250A (en) Information processing device
US9930381B1 (en) Ancillary data video validator and QC system

Legal Events

Date Code Title Description
A625 Written request for application examination (by other person)

Free format text: JAPANESE INTERMEDIATE CODE: A625

Effective date: 20110413

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111013

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111021

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

Free format text: PAYMENT UNTIL: 20141104

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4854039

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees