JP2007142536A - Data modifying device, program, and recording medium - Google Patents
Data modifying device, program, and recording medium Download PDFInfo
- Publication number
- JP2007142536A JP2007142536A JP2005329943A JP2005329943A JP2007142536A JP 2007142536 A JP2007142536 A JP 2007142536A JP 2005329943 A JP2005329943 A JP 2005329943A JP 2005329943 A JP2005329943 A JP 2005329943A JP 2007142536 A JP2007142536 A JP 2007142536A
- Authority
- JP
- Japan
- Prior art keywords
- packet
- data
- output
- designation
- delay
- 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
Links
Images
Landscapes
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
Description
本発明は、データ改変装置、プログラム、記録媒体に係り、詳しくは、時系列で転送されるデータを改変する装置、そのデータ改変装置を実現するようにコンピュータシステムを機能させるためのプログラム、そのプログラムが記録されたコンピュータで読み取り可能な記録媒体に関するものである。 The present invention relates to a data modification device, a program, and a recording medium, and more particularly, a device for modifying data transferred in time series, a program for causing a computer system to function to realize the data modification device, and the program The present invention relates to a computer-readable recording medium on which is recorded.
近年、BS(Broadcasting Satellite )デジタル放送やCS(Communication Satellite)デジタル放送などの衛星デジタル放送、地上デジタル放送、CATV(CAble TeleVision)などの放送メディアにおいて、MPEG(Moving Picture Experts Group)2による圧縮符号化技術を用いたデジタル放送のサービスが提供されている。 In recent years, compression coding by MPEG (Moving Picture Experts Group) 2 in broadcasting media such as satellite digital broadcasting such as BS (Broadcasting Satellite) digital broadcasting and CS (Communication Satellite) digital broadcasting, terrestrial digital broadcasting, CATV (CAble TeleVision), etc. Digital broadcasting services using technology are provided.
MPEG2を用いた圧縮符号化システムであるMPEG2システムでは、オーディオデータ(音声情報)およびビデオデータ(映像情報)を圧縮符号化したデータのビットストリームであるES(Elementaly Stream)を生成し、オーディオデータのES(オーディオES)とビデオデータのES(ビデオES)とを多重化してPS(Program Stream)またはTS(Transport Stream)を生成する。 In the MPEG2 system, which is a compression encoding system using MPEG2, an ES (Elementaly Stream) that is a bit stream of data obtained by compression encoding audio data (audio information) and video data (video information) is generated, and the audio data ES (audio ES) and video data ES (video ES) are multiplexed to generate PS (Program Stream) or TS (Transport Stream).
ここで、ESを、意味のある単位(ビデオデータならフレーム単位、オーディオデータならブロック単位)毎にパケット化したものはPES(Packetized Elementary Stream)と呼ばれる。PESには時刻情報が含まれており、この時刻情報を用いてビデオデータとオーディオデータの同期を取ることができる。
PSは、PESを単に並べてヘッダをつけただけの多重信号形式であり、誤りの発生しない環境におけるデータの伝送・蓄積への適用が想定されて規格化されており、冗長度を小さくすることが可能なため、DVDなどの強力な誤り訂正符号を用いた記録媒体(蓄積メディア)で使用される。
TSは、1つビットストリームの中に複数のプログラムを構成することができるため、放送メディアや通信メディアなどデータの伝送誤りが発生するメディアへの適用が想定されて規格化されており、冗長度はPSよりも大きくなっている。
尚、PSとTSは相互に変換することができる。
Here, the ES packetized in meaningful units (frame unit for video data and block unit for audio data) is called a PES (Packetized Elementary Stream). The PES includes time information, and video data and audio data can be synchronized using this time information.
PS is a multiple signal format in which PESs are simply arranged and headers are added, and is standardized assuming application to data transmission / storage in an environment where errors do not occur, and may reduce redundancy. Since it is possible, it is used in a recording medium (storage medium) using a strong error correction code such as a DVD.
Since TS can configure multiple programs in one bit stream, it is standardized assuming that it is applied to media such as broadcast media and communication media that cause data transmission errors. Is larger than PS.
PS and TS can be converted into each other.
1つのTSは、数十〜数百種類のTSパケットが集まって構成される。TSパケットは188バイトまたは204バイトの固定長パケットであり、その長さはATM(Asynchronous Transfer Mode)セル長との整合性およびリードソロモン符号などの誤り訂正符号化を行なう場合の適用性を考慮して決定されている。 One TS is composed of several tens to several hundreds of types of TS packets. The TS packet is a fixed-length packet of 188 bytes or 204 bytes, and its length is taken into consideration for consistency with ATM (Asynchronous Transfer Mode) cell length and applicability when performing error correction coding such as Reed-Solomon code. Has been determined.
TSパケットは、4バイト固定長のパケットヘッダと可変長のアダプテーションフィールド(adaptation field)およびペイロード(payload)から構成されている。アダプテーションフィールドとペイロードはどちらかだけが存在する場合と両方が存在する場合があり、その有無はパケットヘッダ内のフラグ(adaptation field control)により示される。 The TS packet includes a 4-byte fixed-length packet header, a variable-length adaptation field (adaptation field), and a payload. There are cases where only one of the adaptation field and the payload is present or both, and the presence or absence is indicated by a flag (adaptation field control) in the packet header.
パケットヘッダには、TSパケットの種類を識別するための識別子であるPID(Packet IDentification)、同期バイト、連続性指標(Continuity Counter)などの各種パケット制御データが含まれている。
アダプテーションフィールドには、送信側と受信側の間で同期を取るための基準時刻情報(PCR:Program Clock Reference)と、圧縮符号化されたビデオデータまたはオーディオデータとが含まれている。
The packet header includes various packet control data such as PID (Packet IDentification), a synchronization byte, and a continuity index, which are identifiers for identifying the type of TS packet.
The adaptation field includes reference time information (PCR: Program Clock Reference) for achieving synchronization between the transmission side and the reception side, and compression-coded video data or audio data.
同期バイトはTSパケットの開始を示すデータである。
PIDは、TSパケットに含まれている情報の内容(チャンネル番号や、そのチャンネルのビデオデータおよびオーディオデータのうちいずれが含まれているか等)を示すデータである。
尚、同一のビデオデータ、同一のオーディオデータはそれぞれ同じPIDを持つため、TSの受信システムはPIDを用いて元のPESに戻すことが可能である。
The synchronization byte is data indicating the start of a TS packet.
The PID is data indicating the content of information included in the TS packet (channel number, which of video data and audio data of the channel is included, etc.).
Since the same video data and the same audio data have the same PID, the TS receiving system can return to the original PES using the PID.
そして、放送局,中継局,CATV局などに設置されている送信システムは、このように生成した複数チャンネル分のTSパケットを時分割多重化することによりTSパケットのデータ列であるTSを生成し、そのTSを所定の変調方式で変調することにより送信信号を生成し、その送信信号を伝送手段へ送信するため、複数チャンネル分のテレビジョン番組を同時に放送することができる。
尚、送信信号の伝送手段は、例えば、衛星デジタル放送の場合は放送衛星、地上デジタル放送の場合は受信装置のアンテナ、CATVの場合は専用通信回線である。
Then, a transmission system installed in a broadcasting station, a relay station, a CATV station, etc. generates a TS that is a data string of TS packets by time-division multiplexing the TS packets for a plurality of channels thus generated. Since the transmission signal is generated by modulating the TS with a predetermined modulation method and the transmission signal is transmitted to the transmission means, a television program for a plurality of channels can be broadcast simultaneously.
The transmission means for transmitting signals is, for example, a broadcasting satellite for satellite digital broadcasting, an antenna of a receiving device for digital terrestrial broadcasting, or a dedicated communication line for CATV.
また、デジタル放送を受信する受信システムは、放送局,中継局,CATV局などから送信されてくる送信信号を受信し、その受信した送信信号を所定の復調方式で復調することによりTSを生成する。
そして、受信システムは、TSに含まれる複数チャンネル分のTSパケットのうちユーザの所望するチャンネルのTSパケットを選択して復号化することによりビデオデータおよびオーディオデータを生成し、それらデータをテレビジョン受像機に出力して再生させる。
In addition, a receiving system that receives digital broadcasting receives a transmission signal transmitted from a broadcasting station, a relay station, a CATV station, or the like, and generates a TS by demodulating the received transmission signal using a predetermined demodulation method. .
Then, the receiving system generates video data and audio data by selecting and decoding TS packets of a channel desired by the user from among TS packets for a plurality of channels included in the TS, and the data is received by the television receiver. Output to the machine and play.
このようなMPEG2によるデジタル放送では、送信システムまたは受信システムにて生成した個々のTSパケットについて、複数種類のエラーの発生状況(発生状態)を監視する必要がある。
なぜなら、正常な放送を実現するには、TSのエラーの発生状況に基づいてエラーの発生原因を調査し、次回からは当該エラーが発生しないよう防止策を講じなければならないからである。
In such digital broadcasting by MPEG2, it is necessary to monitor the occurrence status (occurrence status) of multiple types of errors for individual TS packets generated by the transmission system or the reception system.
This is because, in order to realize normal broadcasting, it is necessary to investigate the cause of the error based on the TS error occurrence state and to take preventive measures so that the error does not occur from the next time.
ちなみに、TSのエラー発生原因としては、例えば、送信システムまたは受信システムを構成する各種機器の不調、各種機器に供給される電源の不調、テレビジョン番組のスケジューリングの不備、放送の休止タイミングの不具合、天候による電波障害(降雨減衰や雷障害など)などがある。 Incidentally, the causes of TS errors include, for example, malfunctions of various devices constituting the transmission system or reception system, malfunctions of power supplied to the various apparatuses, imperfect scheduling of television programs, malfunctions in pause timing of broadcasting, There are radio wave interference (rain attenuation, lightning interference, etc.) due to weather.
しかし、1つのTSは数十〜数百種類のTSパケットによって構成されているため、個々のTSパケットについて複数種類のエラーの発生状況を監視するとなると、監視対象のエラーの種類は延べ数千〜数万種類にも上り、その監視を人間系で行うことは不可能である。
そこで、本出願人(株式会社トラフィック・シム)は、PIDで識別されるTSパケットの受信間隔時間や、連続性指標の途切れなどに基づいてエラー発生を監視するTSパケット監視装置を開発販売している(商品名「TS302/TS Watch'n LV」)。このTSパケット監視装置は、既に国内大手デジタル衛星放送局で実際に使用されて放送サービスの品質向上に貢献している。
However, since one TS is composed of several tens to several hundreds of types of TS packets, when the occurrence status of multiple types of errors is monitored for each TS packet, the number of types of errors to be monitored is several thousand to several. There are as many as 10,000 types, and it is impossible to monitor them with human systems.
Therefore, the applicant (Traffic Sim Co., Ltd.) has developed and sold a TS packet monitoring device that monitors the occurrence of errors based on the reception interval time of TS packets identified by PID, interruption of continuity index, etc. (Product name “TS302 / TS Watch'n LV”). This TS packet monitoring apparatus has already been actually used in domestic major digital satellite broadcasting stations, and has contributed to improving the quality of broadcasting services.
また、所定単位の複数のデータを並べて生成されたデータ列が所定の記録媒体に記録される際に、当該データ列を構成する各上記データにそれぞれ構成状態を表す時間情報を付加する時間情報付加手段と、上記記録媒体に各上記データ及び各上記時間情報が記録された後、当該記録媒体から各上記データと共に再生された各上記時間情報のうち時間軸に沿って順次隣り合う2つの各上記時間情報同士の差分値を算出する差分値算出手段と、上記差分値の算出結果に基づいて、上記時間情報の付加された上記データにエラーが生じているか否かを検出するエラー検出手段とを具えることを特徴とするエラー検出装置が提案されている(特許文献1参照)。
本出願人が開発販売しているTSパケット監視装置や特許文献1のエラー検出装置を開発する際には、TSに故意にエラーを混入して装置の動作試験を行う必要がある。 When developing the TS packet monitoring device developed and sold by the present applicant and the error detection device disclosed in Patent Document 1, it is necessary to intentionally mix errors into the TS and perform an operation test of the device.
ところで、TSおよびTSを用いた通信規格は汎用性が高いことから、多くの仕様について明確な制限を設けることが困難なため、送信システムや受信システムを構成する各種機器のメーカーや放送事業者が各々で定めた基準によって利用されている実情がある。
さらに、TSはある一定レベル以上のエラーが混入されることが避けられない通信回線(例えば、衛星回線など)で利用されることが多く、エラー発生時の各種機器の対応については、その多くが各種機器のメーカーの裁量にゆだねられているため、メーカー、機種、ロットなどによりエラー発生時の対応がまちまちな現状がある。
By the way, since TS and communication standards using TS are highly versatile, it is difficult to set clear restrictions on many specifications, so manufacturers and broadcasters of various devices that make up transmission systems and reception systems There are actual situations that are used according to the standards set by each.
Furthermore, TS is often used in communication lines (for example, satellite lines) where it is unavoidable that errors of a certain level or more are mixed. Since it is left to the discretion of the manufacturer of various devices, there are various situations in which an error occurs depending on the manufacturer, model, and lot.
そこで、各種機器のメーカーは、当該機器がTSの複数種類のエラーに対してどのような挙動を行うかを調査し、その挙動が各種の放送基準(送出基準)に合致しているかどうかをエラーの種類毎にテストする耐エラー性能試験を行う必要がある。
また、各種機器のメーカーは、当該機器がTSのエラーを訂正する機能をエラーの種類毎にテストするエラー訂正機能の性能試験を行う必要もある。
Therefore, manufacturers of various devices investigate the behavior of the devices in response to multiple types of errors in TS, and check whether the behavior meets various broadcasting standards (transmission standards). It is necessary to conduct an error-resistant performance test for each type.
In addition, manufacturers of various devices need to perform a performance test of an error correction function in which the device tests a function for correcting an error of the TS for each error type.
そして、放送事業者は、送信システムの設計時や調整時において、各種放送基準の内のどの放送基準から優先的に守る必要があるのかを調査するため、TSに故意にエラーを混入して送信信号を生成し、その送信信号を受信システムで受信した際にどのような視聴障害(放送事故)が発生するかをテストすることにより、エラーの種類毎に視聴障害発生のしきい値を把握しておく必要がある。
すなわち、視聴者にとって問題となる視聴障害が発生するタイミングは、各種放送基準を逸脱した瞬間とは限らない。そのため、放送基準を逸脱しているものの視聴者にとって何ら影響が無い状態をワーニングレベルと規定すると共に、視聴者に影響がある状態(例えば、画面が消えてしまう等)をエラーレベルと規定し、放送事業者はワーニングレベルとエラーレベルのしきい値を把握した上で放送を行わなければならない。
Broadcasters then intentionally mix errors into TS to investigate which broadcast standard should be preferentially protected when designing or adjusting a transmission system. By generating signals and testing what kind of viewing disturbances (broadcasting accidents) occur when the transmission signal is received by the receiving system, grasp the threshold for occurrence of viewing disturbances for each type of error. It is necessary to keep.
In other words, the timing at which a viewing failure that is a problem for the viewer occurs is not always the moment when it deviates from the various broadcasting standards. For this reason, the warning level is defined as a warning level that does not affect the viewer although it deviates from the broadcasting standard, and the error level is defined as a status that affects the viewer (for example, the screen disappears). Broadcasters must broadcast after knowing the warning level and error level thresholds.
ところで、送信システムや受信システムを構成する各種機器に限らず、記録媒体に記録されたTSを再生する機器についても、TSのエラーに関して前記のような各種試験を行う必要がある。 By the way, not only various devices constituting the transmission system and the reception system, but also a device that reproduces a TS recorded on a recording medium, it is necessary to perform various tests as described above for TS errors.
このように、TSのエラーに関する各種試験を行うには、複数種類のエラーが混入されたTSを用意する必要がある。
そのため、従来より、エラーが混入されたTSのテストデータが市販されているが、市販のテストデータは極めて高価である上に、市販のテストデータには試験者が要求する様々のエラーが全て含まれているわけではないため、各種機器のメーカーや放送事業者などの試験者が要求するエラーが得られず、試験者が所望の試験を行うのが難しいという問題があった。
Thus, in order to perform various tests related to TS errors, it is necessary to prepare TS in which a plurality of types of errors are mixed.
For this reason, TS test data mixed with errors has been commercially available, but the commercially available test data is extremely expensive, and the commercially available test data includes all the various errors required by the tester. Therefore, there is a problem that it is difficult for a tester to perform a desired test because an error required by a tester such as a manufacturer of various devices or a broadcasting company cannot be obtained.
本発明は上記問題を解決するためになされたものであって、以下の目的を有するものである。
(1)時系列で転送されるデータを改変することでデータ中に所望のエラーを混入することが可能なデータ改変装置を提供する。
(2)前記(1)のデータ改変装置を実現するようにコンピュータシステムを機能させるためのプログラムを提供する。
(3)前記(1)のデータ改変装置を実現するようにコンピュータシステムを機能させるためのプログラムが記録されたコンピュータで読み取り可能な記録媒体を提供する。
The present invention has been made to solve the above-described problems, and has the following objects.
(1) To provide a data modification device capable of mixing a desired error into data by modifying data transferred in time series.
(2) Provided is a program for causing a computer system to function so as to realize the data modification device of (1).
(3) Provided is a computer-readable recording medium on which a program for causing a computer system to function is realized so as to realize the data modification device of (1).
請求項1に記載の発明は、
時系列で転送されてくるデータ(TS)を改変することでエラーデータとする改変手段(30)と、
その改変手段に対してデータの改変を指定する指定手段(31)と
を備えたデータ改変装置(10)を技術的特徴とする。
The invention described in claim 1
Modifying means (30) for making error data by modifying data (TS) transferred in time series,
A technical feature of the data alteration device (10) is provided with designation means (31) for designating data alteration to the alteration means.
請求項2に記載の発明は、
請求項1に記載のデータ改変装置(10)において、
前記データ(TS)は複数個のパケット(TSパケット)から構成され、
前記改変手段(30)は、
前記データを構成する各パケット毎に入力タイミングを検出するパケット入力タイミング検出手段(51)と、
前記指定手段(31)の指定に従い、前記データをパケット毎に振り分けるパケット条件振り分け手段(52)と、
前記指定手段(31)の指定に従い、前記パケット条件振り分け手段が振り分けた各パケット内のデータを改変するパケット内データ改変手段(53a〜53n)と、
前記指定手段(31)の指定に従い、前記パケット入力タイミング検出手段(51)の検出結果と、前記データを構成する各パケットとの両方を所定遅延時間分だけ遅延させる第1遅延手段(54)と、
前記指定手段(31)の指定に従い、前記パケット内データ改変手段(53a〜53n)が改変した各パケットをそれぞれ所定遅延時間分だけ遅延させる第2遅延手段(55a〜55n)と、
前記指定手段(31)の指定と、前記第1遅延手段(54)を介して転送されてくる前記パケット入力タイミング検出手段(51)の検出結果とに基づいて、前記改変手段(30)から出力するパケットの出力タイミングを決定するパケット出力タイミング生成手段(56)と、
そのパケット出力タイミング生成手段が決定した出力タイミングに従い、前記第1および第2遅延手段(54,55a〜55n)から出力されたパケットのうちから1個のパケットを選択する出力パケット選択手段(57)と、
前記指定手段(31)の指定に従い、ヌルパケットまたは所定のデータを含んだパケットをダミーパケットとして生成するダミーパケット生成手段(58)と、
前記指定手段(31)の指定と、前記パケット出力タイミング生成手段(56)が決定した出力タイミングとに従い、前記出力パケット選択手段(57)が選択したパケットに対して、所定のパケットを破棄するか、または、前記ダミーパケット生成手段(58)が生成したダミーパケットを付加することにより、前記パケット出力タイミング生成手段(56)が決定した出力タイミングに合わせて前記改変手段(30)からパケットを出力するビットレート制御手段(59)と
を備え、
第1遅延手段と第2遅延手段の遅延時間は相互にリンクして設定されていることと、
前記出力パケット選択手段(57)および前記ビットレート制御手段(59)により、前記第1および第2遅延手段(54,55a〜55n)から出力された各パケットを連結して合成したデータを生成して出力すること
とを技術的特徴とする。
The invention described in claim 2
In the data modification device (10) according to claim 1,
The data (TS) is composed of a plurality of packets (TS packets),
The modifying means (30)
Packet input timing detection means (51) for detecting input timing for each packet constituting the data;
Packet condition distribution means (52) for distributing the data for each packet in accordance with the specification of the specification means (31);
Intra-packet data modifying means (53a to 53n) for modifying data in each packet distributed by the packet condition distributing means in accordance with the specification of the specifying means (31),
First delay means (54) for delaying both the detection result of the packet input timing detection means (51) and each packet constituting the data by a predetermined delay time in accordance with the designation of the designation means (31) ,
Second delay means (55a to 55n) for delaying each packet modified by the in-packet data modification means (53a to 53n) by a predetermined delay time in accordance with the designation of the designation means (31);
Based on the designation of the designation means (31) and the detection result of the packet input timing detection means (51) transferred via the first delay means (54), output from the modification means (30) Packet output timing generation means (56) for determining the output timing of the packet to be transmitted;
Output packet selection means (57) for selecting one packet from the packets output from the first and second delay means (54, 55a to 55n) according to the output timing determined by the packet output timing generation means. When,
Dummy packet generating means (58) for generating a null packet or a packet including predetermined data as a dummy packet in accordance with the specification of the specifying means (31);
Whether to discard a predetermined packet for the packet selected by the output packet selection means (57) according to the designation of the designation means (31) and the output timing determined by the packet output timing generation means (56) Alternatively, by adding the dummy packet generated by the dummy packet generating means (58), the packet is output from the modifying means (30) in accordance with the output timing determined by the packet output timing generating means (56). A bit rate control means (59),
The delay times of the first delay means and the second delay means are set linked to each other;
The output packet selection means (57) and the bit rate control means (59) generate combined data by combining the packets output from the first and second delay means (54, 55a to 55n). Output as a technical feature.
請求項3に記載の発明は、
請求項1または請求項2に記載のデータ改変装置において、
前記データは、MPEG2におけるTSであることを技術的特徴とする。
The invention according to claim 3
In the data modification device according to claim 1 or 2,
It is a technical feature that the data is a TS in MPEG2.
請求項4に記載の発明は、請求項1〜3のいずれか1項に記載のデータ改変装置における前記各手段としてコンピュータシステムを機能させるためのプログラムを提供するものである。 According to a fourth aspect of the present invention, there is provided a program for causing a computer system to function as each of the means in the data modification device according to any one of the first to third aspects.
請求項5に記載の発明は、請求項1〜3のいずれか1項に記載のデータ改変装置における前記各手段としてコンピュータシステムを機能させるためのプログラムが記録されたコンピュータで読み取り可能な記録媒体を提供するものである。 According to a fifth aspect of the present invention, there is provided a computer-readable recording medium in which a program for causing a computer system to function as each means in the data modification device according to any one of the first to third aspects is recorded. It is to provide.
<請求項1>
請求項1の発明によれば、外部から入力されたデータ(TS)をデータ改変装置(10)のユーザーが適宜改変した後に外部へ出力することができる。ここで、データを改変するということは、データに対してエラーを混入してエラーデータにするということに他ならない。換言すれば、ユーザーがデータ改変装置を用いてデータに所望のエラーを混入することにより、データを所望の状態に改変することができる。
<Claim 1>
According to the first aspect of the present invention, data (TS) input from the outside can be output to the outside after the user of the data modification device (10) modifies it appropriately. Here, altering data is nothing but mixing error into the data to make error data. In other words, the user can modify the data to a desired state by mixing a desired error in the data using the data modifying device.
従って、送信システムや受信システムを構成する各種機器について、当該機器のメーカーは、請求項1のデータ改変装置を用いることにより、耐エラー性能試験およびエラー訂正機能の性能試験を容易に行うことができる。 Therefore, with respect to various devices constituting the transmission system and the reception system, the manufacturer of the device can easily perform the error resistance performance test and the performance test of the error correction function by using the data modification device of claim 1. .
また、放送事業者は、請求項1のデータ改変装置を用いることにより、送信システムの設計時や調整時において、各種放送基準の内のどの放送基準から優先的に守る必要があるのかを調査するため、データ(例えば、MPEG2−TSなど)に故意にエラーを混入して送信信号を生成し、その送信信号を受信システムで受信した際にどのような視聴障害(放送事故)が発生するかをテストする際に、エラーの種類毎に視聴障害発生のしきい値を容易に把握することができる。 In addition, by using the data modification device according to claim 1, the broadcaster investigates which broadcast standard out of various broadcast standards should be protected with priority when designing or adjusting the transmission system. Therefore, what kind of viewing trouble (broadcast accident) occurs when a transmission signal is generated by intentionally mixing data (for example, MPEG2-TS etc.) and the transmission signal is received by the receiving system. When testing, it is possible to easily grasp the threshold value of occurrence of viewing disturbance for each type of error.
さらに、送信システムや受信システムを構成する各種機器に限らず、記録媒体に記録されたデータを再生する機器についても、当該機器のメーカーは、請求項1のデータ改変装置を用いることにより、エラーに関する各種試験を容易に行うことができる。 Furthermore, not only for various devices constituting the transmission system and the reception system, but also for devices that reproduce data recorded on a recording medium, the manufacturer of the device uses the data modification device of claim 1 to relate to errors. Various tests can be easily performed.
そして、請求項1のデータ改変装置を用いれば、正常に転送されているデータに対してリアルタイムに所望のエラーを混入することが可能であるため、エラーを含んだデータを予め作成しておく必要がなく、各種機器の前記試験を簡単に行うことができる。 If the data modifying device of claim 1 is used, it is possible to mix a desired error in real time with data that is normally transferred, so it is necessary to prepare data including the error in advance. Therefore, the test of various devices can be easily performed.
また、請求項1のデータ改変装置から出力されるエラーが混入されたデータを適宜な記録媒体に記録しておけば、エラーが混入されたデータを各種機器の前記試験と同時に作成することが可能であり、その作成したデータを別の機器の試験に使用することもできるため、高価な市販のテストデータを購入する必要がない。 In addition, if the data mixed with the error output from the data modification device according to claim 1 is recorded on an appropriate recording medium, the data mixed with the error can be created simultaneously with the test of various devices. Since the created data can be used for testing another device, it is not necessary to purchase expensive commercially available test data.
また、請求項1のデータ改変装置を用いれば、本出願人が開発販売しているTSパケット監視装置や特許文献1のエラー検出装置を開発する際に、TSに故意にエラーを混入して装置の動作試験を行うとき、その動作試験を容易に行うことができる。 In addition, when the data modification device of claim 1 is used, when developing the TS packet monitoring device developed and sold by the present applicant and the error detection device of Patent Document 1, an error is intentionally mixed in the TS. When the operation test is performed, the operation test can be easily performed.
<請求項2>
請求項2の発明によれば、転送されてくるデータ(TS)を構成する各パケット(TSパケット)を、第1遅延処理手段(54)→出力パケット選択手段(57)→ビットレート制御手段(59)の経路で出力することにより、転送されてきたデータに対して変更を加えることなくスルーアウトすることができる。
<Claim 2>
According to the invention of claim 2, each packet (TS packet) constituting the transferred data (TS) is divided into first delay processing means (54) → output packet selection means (57) → bit rate control means ( By outputting via the route 59), the transferred data can be passed through without being changed.
また、パケット条件振り分け手段(52)に対して、データ改変装置(10)のユーザーが指定手段(31)を用いてパケットの振り分け条件([A]〜[D]など)を指定することにより、データ改変装置ら出力されるデータを構成するパケットの中から、ユーザーがデータを改変したいパケットを自由に選択することができる。 In addition, by specifying the packet distribution conditions ([A] to [D], etc.) using the specifying means (31) by the user of the data modification device (10) to the packet condition distribution means (52), The user can freely select a packet whose data is to be modified from among the packets constituting the data output from the data modification device.
また、パケット内データ改変手段(53a〜53n)に対して、データ改変装置のユーザーが指定手段を用いてパケット内のデータの改変条件([a]〜[f]など)を指定することにより、パケット条件振り分け手段(52)にて選択されたパケットのデータをユーザーの意図した通りに改変することができる。 In addition, the user of the data modification device designates the modification conditions ([a] to [f] etc.) of the data in the packet using the designation unit for the data modification unit (53a to 53n) in the packet, The packet data selected by the packet condition distribution means (52) can be modified as intended by the user.
また、第1および第2遅延手段(54,55a〜55n)に対して、データ改変装置(10)のユーザーが指定手段(31)を用いて遅延時間を指定することにより、ユーザーが指定したパケットにジッタを発生させたり、データ改変装置から出力するパケットの順番をユーザーの意図した通りに入れ替えることができる。 In addition, the user-designated packet is designated by the user of the data modification device (10) using the designating means (31) for the first and second delay means (54, 55a to 55n). Jitter can be generated, or the order of packets output from the data modification device can be changed as intended by the user.
<請求項3>
請求項3の発明によれば、MPEG2におけるTSを改変して所望のエラーを混入することが可能であり、請求項1または請求項2の発明の作用・効果が得られる。
<Claim 3>
According to the invention of claim 3, it is possible to modify a TS in MPEG2 and mix a desired error, and the operation and effect of the invention of claim 1 or claim 2 can be obtained.
<請求項4、請求項5>
請求項4に記載の発明によれば、請求項1〜3のいずれか1項に記載のデータ改変装置を実現するようにコンピュータシステムを機能させるためのプログラムを提供できる。
また、請求項5に記載の発明によれば、請求項4のプログラムが記録されたコンピュータで読み取り可能な記録媒体を提供できる。
<Claim 4 and Claim 5>
According to invention of Claim 4, the program for functioning a computer system so that the data modification apparatus of any one of Claims 1-3 may be implement | achieved can be provided.
According to the invention described in claim 5, it is possible to provide a computer-readable recording medium in which the program of claim 4 is recorded.
このプログラムは、例えば、ROMやバックアップRAMをコンピュータで読み取り可能な記録媒体として前記プログラムを記録しておき、このROMまたはバックアップRAMをコンピュータシステムに組み込んで用いることができる。
この他、前記プログラムを、コンピュータで読み取り可能な記録媒体を備えた外部記録装置(外部記憶装置)に記録(記憶)しておき、当該プログラムを必要に応じて外部記録装置からコンピュータシステムにロードして用いるようにしてもよい。
For example, the program can be recorded by using a ROM or backup RAM as a computer-readable recording medium, and the ROM or backup RAM can be incorporated into a computer system.
In addition, the program is recorded (stored) in an external recording device (external storage device) having a computer-readable recording medium, and the program is loaded from the external recording device to the computer system as necessary. May be used.
<用語の説明>
上術した[課題を解決するための手段][発明の効果]に記載した( )内の符号等は、後述する[発明を実施するための最良の形態]に記載した構成部材・構成要素の符号に対応したものである。
そして、[課題を解決するための手段][発明の効果]に記載した構成部材・構成要素と、[発明を実施するための最良の形態]に記載した構成部材・構成要素との対応関係は以下のようになっている。
<Explanation of terms>
Reference numerals in parentheses described in [Means for Solving the Problems] and [Effects of the Invention] described above are the same as those of the components and components described in [Best Mode for Carrying Out the Invention] described later. It corresponds to the code.
The correspondence between the constituent members and constituent elements described in [Means for Solving the Problems] and [Effects of the Invention] and the constituent members and constituent elements described in [Best Mode for Carrying Out the Invention] is as follows: It is as follows.
「改変手段」は、パーソナルコンピュータシステム30が実行する各機能ブロック(各処理部51〜59)の処理動作に該当する。
「指定手段」は、データ改変装置10のユーザーからの指示命令を入力装置31がデータ信号に変換し、そのデータ信号がコンピュータ本体40のI/O45を介してCPU41へ転送される処理動作に該当する。
「パケット入力タイミング検出手段」は、パケット入力タイミング検出処理部51に該当する。
「パケット条件振り分け手段」は、TSパケット条件振り分け処理部52に該当する。
「パケット内データ改変手段」は、パケット内データ改変処理部53a〜53nに該当する。
「第1遅延手段」は、遅延処理部54に該当する。
「第2遅延手段」は、遅延処理部55a〜55nに該当する。
「パケット出力タイミング生成手段」は、パケット出力タイミング生成処理部56に該当する。
「出力パケット選択手段」は、出力パケット選択処理部57に該当する。
「ダミーパケット生成手段」は、ダミーパケット生成処理部58に該当する。
「ビットレート制御手段」は、ビットレート制御処理部59に該当する。
The “modifying means” corresponds to the processing operation of each functional block (each processing
The “designating means” corresponds to a processing operation in which an instruction command from a user of the
The “packet input timing detection unit” corresponds to the packet input timing
The “packet condition distribution unit” corresponds to the TS packet condition
The “in-packet data modification means” corresponds to the in-packet data
The “first delay unit” corresponds to the
The “second delay unit” corresponds to the
The “packet output timing generation unit” corresponds to the packet output timing
The “output packet selection unit” corresponds to the output packet
The “dummy packet generation unit” corresponds to the dummy packet
The “bit rate control means” corresponds to the bit rate control processing unit 59.
<実施形態の全体構成>
図1は、本発明を具体化した一実施形態のデータ改変装置10の全体概略構成を示すブロック図である。
データ改変装置10は、入出力インターフェース(IF:InterFace)ユニット20およびパーソナルコンピュータシステム(以下、「パソコン」と略称する)30から構成されている。
<Overall Configuration of Embodiment>
FIG. 1 is a block diagram showing an overall schematic configuration of a
The
DVB−ASI(Digital Video Broadcasting - Asynchronous Serial Interface)規格の入出力IFユニット20は、USB(Universal Serial Bus)2.0規格でパソコン30と接続されている。
入出力IFユニット20は、入力IF回路21,出力IF回路22,タイミングtoデータ変換回路23、データtoタイミング変換回路24,USB2.0IF回路25から構成されている。
USB2.0IF回路25内には、メモリ26,27が設けられている。
The input / output IF unit 20 of DVB-ASI (Digital Video Broadcasting-Asynchronous Serial Interface) standard is connected to the
The input / output IF unit 20 includes an input IF
In the USB 2.0 IF
外部から入力されたMPEG2−TSは、入出IF回路21を介してUSB2.0IF回路25へ転送されると共に、タイミングtoデータ変換回路23へ転送される。
タイミングtoデータ変換回路23は、入力されたTSのビットレートおよびタイミングに基づいて、TSを出力するためのタイミングデータを生成し、そのタイミングデータをUSB2.0IF回路25へ出力する。
USB2.0IF回路25は、入力IF回路21から出力されたTSと、タイミングtoデータ変換回路23から出力されたタイミングデータとをメモリ26に一旦格納し、メモリ26から読み出したTSとタイミングデータをパソコン30へ出力する。
The MPEG2-TS input from the outside is transferred to the USB 2.0 IF
The timing-to-
The USB 2.0 IF
また、USB2.0IF回路25は、パソコン30から出力されたTSとタイミングデータをメモリ27に一旦格納し、メモリ26から読み出したTSを出力IF回路22へ出力し、メモリ26から読み出したタイミングデータをデータtoタイミング変換回路24へ出力する。
データtoタイミング変換回路24は、TSを出力するためのタイミングを生成し、そのタイミングを出力IF回路22へ出力する。
出力IF回路22は、データtoタイミング変換回路24から出力されたタイミングに従ってメモリ27から読み出したTSを外部へ出力する。
The USB 2.0 IF
The data to
The output IF
このように、TSとタイミングデータをメモリ26またはメモリ27に一旦格納することで、入出力IFユニット20は、DVB−ASI規格で外部から入力されてくるTSのビットレートをUSB2.0規格のビットレート(例えば、480Mbps)に変換してパソコン30へ転送すると共に、パソコン30からUSB2.0規格のビットレートで出力されてくるTSをDVB−ASI規格に合うビットレートに変換して外部へ出力することができる。
As described above, the TS and timing data are temporarily stored in the
パソコン30は、コンピュータ本体40、入力装置31、表示装置32などから構成されている。
コンピュータ本体40は、中央演算処理装置(CPU)41,読み取り専用の記憶装置(ROM)42,読み書き可能な記憶装置としてRAM43およびHDD(Hard Disk Drive)44,入出力装置(I/O)45などを備えた周知のマイクロコンピュータシステムによって構成されている。
The
The computer
入力装置31は、例えば、キーボードやポインティングデバイスなどから構成されており、データ改変装置10のユーザーからの指示命令をデータ信号に変換し、そのデータ信号をコンピュータ本体40のI/O45を介してCPU41へ転送する。
表示装置32は、LCD(Liquid Crystal Display)やCRT(Cathode Ray
Tube)などの各種方式のディスプレイから構成されており、コンピュータ本体40のI/O45を介して転送されてくるCPU41の処理結果を表示画面に表示してデータ改変装置10のユーザーに通知する。
The
The
Tube), and the like. The processing result of the
<パソコン30の機能ブロック構成>
図2は、図1に示すデータ改変装置10のパソコン30を機能ブロックによって表した機能ブロック回路図である。
パソコン30は、CPU41が起動すると、HDD44に記憶(記録)されているコンピュータプログラムをCPU41にロードし、そのコンピュータプログラムに従い、CPU41が実行する各種演算処理により、図2に示す各機能ブロック(パケット入力タイミング検出処理部51、TSパケット条件振り分け処理部52、パケット内データ改変処理部53a〜53n、遅延処理部54、遅延処理部55a〜55n、パケット出力タイミング生成処理部56、出力パケット選択処理部57、ダミーパケット生成処理部58、ビットレート制御処理部59)を実現するようにコンピュータシステムを機能させる。
<Functional block configuration of
FIG. 2 is a functional block circuit diagram showing the
When the
尚、前記コンピュータプログラムを、コンピュータ本体40に内蔵したHDD44ではなく、コンピュータ本体40に内蔵したRAM(バックアップRAM)43や、コンピュータで読み取り可能な記録媒体を備えた図示しない外部記録装置(外部記憶装置)に記録(記憶)しておき、当該コンピュータプログラムを必要に応じてRAM43や外部記録装置からCPU41にロードして用いるようにしてもよい。
The computer program is not an
ちなみに、コンピュータで読み取り可能な記録媒体には、半導体メモリ(スマートメディア,メモリスティックなど)、HD(Hard Disk)、FD(Floppy Disk)、データカード(ICカード(IC:Integrated Circuit),磁気カードなど)、光ディスク(CD−ROM,DVDなど)、光磁気ディスク(MOなど)、相変化ディスク、磁気テープなどがある。ところで、前記記録媒体の具体例の名称には登録商標が含まれる。 Incidentally, computer-readable recording media include semiconductor memory (smart media, memory stick, etc.), HD (Hard Disk), FD (Floppy Disk), data card (IC card (IC: Integrated Circuit), magnetic card, etc.) ), Optical disks (CD-ROM, DVD, etc.), magneto-optical disks (MO, etc.), phase change disks, magnetic tapes, and the like. By the way, the names of specific examples of the recording medium include registered trademarks.
入出力IFユニット20から出力されたMPEG2−TSは、パケット入力タイミング検出処理部51,TSパケット条件振り分け処理部52,遅延処理部54へそれぞれ転送される。
The MPEG2-TS output from the input / output IF unit 20 is transferred to the packet input timing
パケット入力タイミング検出処理部51は、TSを構成する各TSパケット毎に入力タイミングを検出し、パソコン30から出力するTSパケットの出力タイミング生成用パラメータとして出力する。
The packet input timing
TSパケット条件振り分け処理部52は、入力装置31を用いたデータ改変装置10のユーザーからの指示命令に従い、その指示命令された条件に基づいて、TSを構成する各TSパケットをTSパケット毎に振り分ける。
ここで、ユーザーが指示命令するTSパケットの振り分け条件には、例えば以下のようなものがある。
[A]PIDの値。
[B]TSパケット内の所望の1バイトのデータ値(例えば、table idなど)。
[C]TSパケット内の所望の複数バイトのデータ列。
[D]CPU41が実行する演算処理によって発生させた乱数値。
The TS packet condition
Here, for example, there are the following conditions for sorting the TS packets instructed by the user.
[A] Value of PID.
[B] A desired 1-byte data value in the TS packet (for example, table id).
[C] A desired data string of a plurality of bytes in the TS packet.
[D] A random value generated by the arithmetic processing executed by the
各パケット内データ改変処理部53a〜53nはそれぞれ、TSパケット条件振り分け処理部52が振り分けた1個のTSパケットに対し、入力装置31を用いたデータ改変装置10のユーザーからの指示命令に従い、その指示命令された条件に基づいて、TSパケット内のデータを改変する。
尚、パケット内データ改変処理部53a〜53nの個数は、TSパケット条件振り分け処理部52が振り分けたTSパケットの個数に合わせて設定すればよい。
Each of the intra-packet data
The number of in-packet data
ここで、ユーザーが指示命令するTSパケット内のデータの改変条件には、例えば以下のようなものがある。
[a]PIDの値。
[b]連続性指標の値。
[c]PCRやPES(Packetized Elementarty Stream)内のDTS(Decoding. Time Stamp)またはPTS(Presentation Time Stamp)の値(この場合には、PCR,DTS,PTSの値に適宜な係数を加減乗除する)。
[d]適宜なデータ値を別の適宜な1バイトのデータ値へ置換(例えば、PAT(Program Association Table)のデータの一部を適宜なデータに置き換える)。
[e]適宜なデータ値を別の適宜な複数バイトのデータ列へ置換。
[f]データ改変装置10から過去に出力したTSパケットへ置換(この場合には、各パケット内データ改変処理部53a〜53nにて過去に出力したTSパケットを記憶しておく)。
Here, the data modification conditions in the TS packet instructed by the user include, for example, the following.
[A] Value of PID.
[B] Value of continuity index.
[C] Value of DTS (Decoding. Time Stamp) or PTS (Presentation Time Stamp) in PCR or PES (Packetized Elementarty Stream) (in this case, appropriate coefficients are added to, subtracted from, or subtracted from, PCR, DTS, PTS) ).
[D] Replace an appropriate data value with another appropriate 1-byte data value (for example, replace a part of PAT (Program Association Table) data with appropriate data).
[E] Replacing an appropriate data value with another appropriate multi-byte data string.
[F] Replacement with TS packets output in the past from the data modification device 10 (in this case, TS packets output in the past are stored in the intra-packet data
遅延処理部54は、パケット入力タイミング検出処理部51から出力された信号と、パソコン30に入力されたTSを構成する各TSパケットとの両方について、入力装置31を用いたデータ改変装置10のユーザーからの指示命令に従い、その指示命令された遅延時間分だけ遅延させる。
各遅延処理部55a〜55nはそれぞれ、各パケット内データ改変処理部53a〜53nが改変したTSパケットについて、入力装置31を用いたデータ改変装置10のユーザーからの指示命令に従い、その指示命令された遅延時間分だけ遅延させる。
The
Each of the
尚、各遅延処理部54,55a〜55nは、TSパケットを一旦格納した後で適宜なタイミングで読み出すリングメモリによって構成され、そのリングメモリからTSパケットを読み出すタイミングを変更することにより、遅延時間を適宜設定することができる。
Each
そして、各遅延処理部54,55a〜55nの遅延時間は相互にリンクして設定されている。そのため、各遅延処理部54,55a〜55nのそれぞれの遅延時間を適宜変更することにより、適宜なTSパケットにジッタを発生させたり、パソコン30から出力するTSパケットの順番を適宜に入れ替えることができる。
尚、遅延処理部54は、各処理部51,52,53a〜53n内の処理に要する時間が異なることに対応して、遅延処理部54から出力されるTSパケットと
各遅延処理部55a〜55nから出力されるTSパケットとのタイミングを合わせる機能も有している。
The delay times of the
The
パケット出力タイミング生成処理部56は、パケット入力タイミング検出処理部51から遅延処理部54を介して転送されてくるTSパケットの出力タイミング生成用パラメータに基づいて、パソコン30から出力するTSパケットの出力タイミングを決定する。
通常、パケット出力タイミング生成処理部56は、パケット入力タイミング検出処理部51から遅延処理部54を介して転送されてくるTSパケットの出力タイミング生成用パラメータに対して変更を加えず、パソコン30におけるTSの入力ビットレートと出力ビットレートが同じ値になるように、TSパケットの出力タイミングを決定する。
但し、入力装置31を用いたデータ改変装置10のユーザーからの指示命令により、TSパケットの出力タイミングの動的なビットレートが変更指示された場合には、その変更指示されたビットレートに合致するように出力タイミングを決定する。
The packet output timing
Normally, the packet output timing
However, if the dynamic bit rate of the output timing of the TS packet is instructed by an instruction command from the user of the
出力パケット選択処理部57は、パケット出力タイミング生成処理部56が決定した出力タイミングに従って制御され、各遅延処理部54,55a〜55nから出力されたTSパケットのうちから適宜な1個のTSパケットを選択する。
The output packet
ダミーパケット生成処理部58は、何のデータも含んでいないTSパケット(一般に「ヌルパケット」と呼ばれる)または適宜なデータを含んだTSパケットをダミーパケットとして生成する。
尚、ダミーパケットに含ませるデータは、データ改変装置10のユーザーが入力装置31を用いて自由に設定することができる。
The dummy packet
The data included in the dummy packet can be freely set by the user of the
ビットレート制御処理部59は、各切替処理部59a,59bから構成されている。
各切替処理部59a,59bは、パケット出力タイミング生成処理部56が決定した出力タイミングと、入力装置31を用いたデータ改変装置10のユーザーからの指示命令とに従って制御される。
切替処理部59aは、出力パケット選択処理部57が選択したTSパケットのうち適宜なものを廃棄する。
切替処理部59bは、出力パケット選択処理部57が選択したTSパケットのうち切替処理部59aが廃棄しなかったTSパケットをパソコン30から出力させるか、または、ダミーパケット生成処理部58が生成したダミーパケットをパソコン30から出力させる。
The bit rate control processing unit 59 includes switching
Each switching
The switching
The switching
すなわち、ビットレート制御処理部59は、各遅延処理部55a〜55nの遅延時間が異なる場合や、パケット出力タイミング生成処理部56によりTSの入力ビットレートと出力ビットレートが異なる値に設定されている場合には、適宜なTSパケットを切替処理部59aを用いて破棄したり、ダミーパケット生成処理部58が生成したダミーパケットを切替処理部59bを用いて付加したりすることにより、パケット出力タイミング生成処理部56が決定したTSパケットの出力タイミングに合わせる。
尚、切替処理部59aを用いて廃棄するTSパケットは、パソコン30に入力されたTSに元々含まれているヌルパケットか、または、データ改変装置10のユーザーが入力装置31を用いて指定したTSパケットである。
That is, in the bit rate control processing unit 59, when the delay times of the
Note that the TS packet to be discarded using the
このように、各処理部57,59により、各遅延処理部54,55a〜55nから出力されたTSパケットを連結して合成したTSを生成し、そのTSを入出力IFユニット20へ出力する。
In this way, the
<実施形態の作用・効果>
本実施形態によれば、以下の作用・効果を得ることができる。
<Operation / Effect of Embodiment>
According to this embodiment, the following actions and effects can be obtained.
[1]パソコン30に入力されたTSを構成する各TSパケットを、遅延処理部54→出力パケット選択処理部57→ビットレート制御処理部59の経路で出力することにより、パソコン30に入力されたTSに対して変更を加えることなくスルーアウトすることができる。
[1] Each TS packet constituting the TS input to the
[2]TSパケット条件振り分け処理部52に対して、データ改変装置10のユーザーが入力装置31を用いてTSパケットの振り分け条件(前記[A]〜[D]など)を指定することにより、パソコン30から出力されるTSを構成するTSパケットの中から、ユーザーがデータを改変したいTSパケットを自由に選択することができる。
[2] The user of the
[3]各パケット内データ改変処理部53a〜53nに対して、データ改変装置10のユーザーが入力装置31を用いてTSパケット内のデータの改変条件(前記[a]〜[f]など)を指定することにより、前記[2]のように選択されたTSパケットのデータをユーザーの意図した通りに改変することができる。
[3] For each of the in-packet data
[4]各遅延処理部54,55a〜55nに対して、データ改変装置10のユーザーが入力装置31を用いて遅延時間を指定することにより、ユーザーが指定したTSパケットにジッタを発生させたり、パソコン30から出力するTSパケットの順番をユーザーの意図した通りに入れ替えることができる。
[4] For each
[5]データ改変装置10を用いることにより、外部から入力されたTSのデータをユーザーが適宜改変した後に外部へ出力することができる。
ここで、TSを改変するということは、TSに対してエラーを混入してエラーデータにするということに他ならない。換言すれば、ユーザーがデータ改変装置を用いてデータに所望のエラーを混入することにより、データを所望の状態に改変することができる。
[5] By using the
Here, modifying the TS is nothing but mixing errors into the TS to make error data. In other words, the user can modify the data to a desired state by mixing a desired error in the data using the data modifying device.
図3(A)は、データ改変装置10の使用例を示すブロック回路図である。
MPEG2−TS再生装置72は、記録媒体(例えば、DVDやHDなどの蓄積メディア)71に予め蓄積されているTSを再生する。
変調器73は、MPEG2−TS再生装置72が再生したTSをデジタル放送の変調方式で変調して送信信号を生成する。
デジタル放送チューナー74は、変調器73が生成した送信信号を復調してTSを生成し、そのTSをTV(TeleVision)信号に変換して出力する。
TVモニタ75は、デジタル放送チューナー74から出力されたTV信号を画像および音声に変換する。
FIG. 3A is a block circuit diagram illustrating a usage example of the
The MPEG2-
The
The
The TV monitor 75 converts the TV signal output from the
この使用例では、MPEG2−TS再生装置72と変調器73の間にデータ改変装置10を挿入しており、MPEG2−TS再生装置72が再生したTSをデータ改変装置10によって改変することでエラーを混入し、そのエラーを混入したTSを変調器73へ転送している。
そのため、ユーザーは、データ改変装置10を用いてTSを改変することにより所望のエラーを混入し、そのエラーの混入結果(TSの改変結果)をTVモニタ75で確認することにより、デジタル放送チューナー74の耐エラー性能試験およびエラー訂正機能の性能試験を容易に行うことができる。
In this use example, the
Therefore, the user mixes a desired error by modifying the TS using the
尚、図3(B)に示すように、記録媒体71およびMPEG2−TS再生装置72をMPEG2−TS受信装置76に置き換えた場合でも、図3(A)に示す場合と同様の試験を行うことができる。
As shown in FIG. 3B, even when the
[6]デジタル放送チューナー74に限らず、送信システムや受信システムを構成する各種機器について、当該機器のメーカーは、データ改変装置10を用いることにより、耐エラー性能試験およびエラー訂正機能の性能試験を容易に行うことができる。
[6] Not only the
また、放送事業者は、データ改変装置10を用いることにより、送信システムの設計時や調整時において、各種放送基準の内のどの放送基準から優先的に守る必要があるのかを調査するため、TSに故意にエラーを混入して送信信号を生成し、その送信信号を受信システムで受信した際にどのような視聴障害(放送事故)が発生するかをテストする際に、エラーの種類毎に視聴障害発生のしきい値を容易に把握することができる。
In addition, the broadcaster uses the
さらに、送信システムや受信システムを構成する各種機器に限らず、記録媒体に記録されたTSを再生する機器についても、当該機器のメーカーは、データ改変装置10を用いることにより、TSのエラーに関する各種試験を容易に行うことができる。
Furthermore, not only for various devices constituting the transmission system and the reception system, but also for devices that reproduce TS recorded on a recording medium, the manufacturer of the device uses the
[7]データ改変装置10を用いれば、正常に転送されているTSに対してリアルタイムに所望のエラーを混入することが可能であるため、エラーを含んだTSを予め作成しておく必要がなく、各種機器の前記試験を簡単に行うことができる。
[7] If the
[8]データ改変装置10から出力されるエラーが混入されたTSを適宜な記録媒体に記録しておけば、エラーが混入されたTSを各種機器の前記試験と同時に作成することが可能であり、その作成したTSを別の機器の試験に使用することもできるため、高価な市販のテストデータを購入する必要がない。
[8] If the TS mixed with an error output from the
[9]データ改変装置10を用いれば、本出願人が開発販売しているTSパケット監視装置や特許文献1のエラー検出装置を開発する際に、TSに故意にエラーを混入して装置の動作試験を行うとき、その動作試験を容易に行うことができる。
[9] If the
<別の実施形態>
本発明は上記実施形態に限定されるものではなく、以下のように具体化してもよく、その場合でも、上記実施形態と同等もしくはそれ以上の作用・効果を得ることができる。
<Another embodiment>
The present invention is not limited to the above-described embodiment, and may be embodied as follows. Even in this case, the same operation or effect as that of the above-described embodiment can be obtained.
[1]上記実施形態では入出力IFユニット20にDVB−ASI規格を用いたが、デジタルデータをやり取りできるインターフェースであれば、どのような規格を用いてもよい(例えば、DVB−SPI(Synchronous Parallel Interface)規格、TTL(Transistor-Transistor Logic)パラレル規格、LAN(Local Area Network)など)。 [1] Although the DVB-ASI standard is used for the input / output IF unit 20 in the above embodiment, any standard may be used as long as the interface can exchange digital data (for example, DVB-SPI (Synchronous Parallel Interface) standard, TTL (Transistor-Transistor Logic) parallel standard, LAN (Local Area Network), etc.).
また、上記実施形態では入出力IFユニット20とパソコン30との接続にUSB2.0規格を用いたが、外部から入力されたMPEG2−TSのビットレートとタイミングなどの付加データを実時間で伝送可能なインターフェイスであれば、どのような規格を用いてもよい(例えば、IEEE(Institute of Electrical and Electronic Engineers)1394規格、PCI(Peripheral Components Interconnect)バス、LANなど)。
In the above embodiment, the USB 2.0 standard is used for connection between the input / output IF unit 20 and the
[2]出力IF回路22から外部へ出力するTSのビットレートを、外部から入力IF回路21へ入力されてくるTSのビットレートに合わせることにより、入出力IFユニット20から各回路23,24を省くことができる。
[2] By adjusting the bit rate of the TS output from the output IF
[3]上記実施形態では、パソコン30によるソフトウェア的な処理によって各処理部51〜59を実現している。
しかし、各処理部51〜59の機能を備えた回路をハードウェアとして設けることにより、パソコン30を当該回路を組み合わせた装置に置き換えてもよい。
[3] In the above embodiment, the
However, the
[4]本発明は、MPEG2−TSに限らず、時系列で転送されるデータであれば、どのようなデータに適用してもよい。 [4] The present invention is not limited to MPEG2-TS, and may be applied to any data as long as it is data transferred in time series.
10…データ改変装置
20…入出力IFユニット
21…入力IF回路
22…出力IF回路
23…タイミングtoデータ変換回路
24…データtoタイミング変換回路
25…USB2.0IF回路
26,27…メモリ
30…パーソナルコンピュータシステム(パソコン)
31…入力装置
32…表示装置
40…コンピュータ本体
41…CPU
42…ROM
43…RAM
44…HDD
45…I/O
51…パケット入力タイミング検出処理部
52…TSパケット条件振り分け処理部
53a〜53n…パケット内データ改変処理部
54…遅延処理部
55a〜55n…遅延処理部
56…パケット出力タイミング生成処理部
57…出力パケット選択処理部
58…ダミーパケット生成処理部
59…ビットレート制御処理部
59a,59b…切替処理部
DESCRIPTION OF
DESCRIPTION OF
42 ... ROM
43 ... RAM
44 ... HDD
45 ... I / O
DESCRIPTION OF
Claims (5)
その改変手段に対してデータの改変を指定する指定手段と
を備えたことを特徴とするデータ改変装置。 Modifying means to make error data by modifying data transferred in time series,
A data alteration device comprising: designation means for designating data alteration to the alteration means.
前記データは複数個のパケットから構成され、
前記改変手段は、
前記データを構成する各パケット毎に入力タイミングを検出するパケット入力タイミング検出手段と、
前記指定手段の指定に従い、前記データをパケット毎に振り分けるパケット条件振り分け手段と、
前記指定手段の指定に従い、前記パケット条件振り分け手段が振り分けた各パケット内のデータを改変するパケット内データ改変手段と、
前記指定手段の指定に従い、前記パケット入力タイミング検出手段の検出結果と、前記データを構成する各パケットとの両方を所定遅延時間分だけ遅延させる第1遅延手段と、
前記指定手段の指定に従い、前記パケット内データ改変手段が改変した各パケットをそれぞれ所定遅延時間分だけ遅延させる第2遅延手段と、
前記指定手段の指定と、前記第1遅延手段を介して転送されてくる前記パケット入力タイミング検出手段の検出結果とに基づいて、前記改変手段から出力するパケットの出力タイミングを決定するパケット出力タイミング生成手段と、
そのパケット出力タイミング生成手段が決定した出力タイミングに従い、前記第1および第2遅延手段から出力されたパケットのうちから1個のパケットを選択する出力パケット選択手段と、
前記指定手段の指定に従い、ヌルパケットまたは所定のデータを含んだパケットをダミーパケットとして生成するダミーパケット生成手段と、
前記指定手段の指定と、前記パケット出力タイミング生成手段が決定した出力タイミングとに従い、前記出力パケット選択手段が選択したパケットに対して、所定のパケットを破棄するか、または、前記ダミーパケット生成手段が生成したダミーパケットを付加することにより、前記パケット出力タイミング生成手段が決定した出力タイミングに合わせて前記改変手段からパケットを出力するビットレート制御手段と
を備え、
第1遅延手段と第2遅延手段の遅延時間は相互にリンクして設定されていることと、
前記出力パケット選択手段および前記ビットレート制御手段により、前記第1および第2遅延手段から出力された各パケットを連結して合成したデータを生成して出力すること
とを特徴とするデータ改変装置。 The data modification device according to claim 1,
The data is composed of a plurality of packets,
The modification means includes
Packet input timing detection means for detecting input timing for each packet constituting the data;
Packet condition distribution means for distributing the data for each packet in accordance with the specification of the specification means;
In-packet data modifying means for modifying the data in each packet sorted by the packet condition sorting means according to the designation by the designation means;
First delay means for delaying both the detection result of the packet input timing detection means and each packet constituting the data by a predetermined delay time in accordance with the designation of the designation means;
Second delay means for delaying each packet modified by the in-packet data modifying means by a predetermined delay time according to the designation by the designation means;
Packet output timing generation for determining the output timing of the packet output from the modifying means based on the specification of the specifying means and the detection result of the packet input timing detecting means transferred via the first delay means Means,
Output packet selection means for selecting one packet from the packets output from the first and second delay means according to the output timing determined by the packet output timing generation means;
Dummy packet generation means for generating a null packet or a packet containing predetermined data as a dummy packet according to the designation of the designation means;
According to the designation of the designation unit and the output timing determined by the packet output timing generation unit, a predetermined packet is discarded for the packet selected by the output packet selection unit, or the dummy packet generation unit A bit rate control means for outputting the packet from the modifying means in accordance with the output timing determined by the packet output timing generating means by adding the generated dummy packet;
The delay times of the first delay means and the second delay means are set linked to each other;
A data modifying device characterized in that the output packet selecting means and the bit rate control means generate and output data obtained by concatenating and synthesizing the packets output from the first and second delay means.
前記データは、MPEG(Moving Picture Experts Group)2におけるTS(Transport Stream)であることを特徴とするデータ改変装置。 In the data modification device according to claim 1 or 2,
The data modification device according to claim 1, wherein the data is a TS (Transport Stream) in MPEG (Moving Picture Experts Group) 2.
The computer-readable recording medium with which the program for functioning a computer system was recorded as said each means in the data modification apparatus of any one of Claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005329943A JP4632933B2 (en) | 2005-11-15 | 2005-11-15 | Data modification device, program, recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005329943A JP4632933B2 (en) | 2005-11-15 | 2005-11-15 | Data modification device, program, recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007142536A true JP2007142536A (en) | 2007-06-07 |
JP4632933B2 JP4632933B2 (en) | 2011-02-16 |
Family
ID=38204920
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005329943A Active JP4632933B2 (en) | 2005-11-15 | 2005-11-15 | Data modification device, program, recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4632933B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011097423A (en) * | 2009-10-30 | 2011-05-12 | Nippon Telegr & Teleph Corp <Ntt> | Error generating apparatus and method |
KR101426762B1 (en) * | 2008-06-09 | 2014-08-06 | 에스케이플래닛 주식회사 | Method and apparatus for optimizing coverage by using dummy packet in Broadcast Multicast Service system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6474849A (en) * | 1987-09-17 | 1989-03-20 | Fujitsu Ltd | System for diagnosing line scanning mechanism and line connection unit |
JPH11308246A (en) * | 1998-04-16 | 1999-11-05 | Kenwood Tmi:Kk | Serial bus testing equipment |
WO2004095836A1 (en) * | 2003-04-23 | 2004-11-04 | Matsushita Electric Industrial Co. Ltd. | Data processing device |
-
2005
- 2005-11-15 JP JP2005329943A patent/JP4632933B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6474849A (en) * | 1987-09-17 | 1989-03-20 | Fujitsu Ltd | System for diagnosing line scanning mechanism and line connection unit |
JPH11308246A (en) * | 1998-04-16 | 1999-11-05 | Kenwood Tmi:Kk | Serial bus testing equipment |
WO2004095836A1 (en) * | 2003-04-23 | 2004-11-04 | Matsushita Electric Industrial Co. Ltd. | Data processing device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101426762B1 (en) * | 2008-06-09 | 2014-08-06 | 에스케이플래닛 주식회사 | Method and apparatus for optimizing coverage by using dummy packet in Broadcast Multicast Service system |
JP2011097423A (en) * | 2009-10-30 | 2011-05-12 | Nippon Telegr & Teleph Corp <Ntt> | Error generating apparatus and method |
Also Published As
Publication number | Publication date |
---|---|
JP4632933B2 (en) | 2011-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5015707B2 (en) | Partial transport stream transmission apparatus, partial transport stream transmission method, and transport stream reception apparatus | |
US7904928B2 (en) | Content delivery system, content delivery apparatus, content recording and reproduction apparatus and content recording and reproduction method, and computer program | |
JP2007006298A (en) | Video signal transmitting method, and video processing apparatus | |
US10194196B2 (en) | Decoding device, reception device, transmission device, transmission/reception system, decoding method, and storage medium having decoding program stored therein | |
US7908639B2 (en) | Information transfer apparatus and method, information processing apparatus and method, and information processing system | |
US20200221160A1 (en) | Decoding device, reception device, transmission device, transmission/reception system, decoding method, and storage medium having decoding program stored therein | |
JP2006345223A (en) | Device and method for recording and output | |
JP7065165B2 (en) | Video transmitter | |
JP4632933B2 (en) | Data modification device, program, recording medium | |
US20060197880A1 (en) | Signal processing device and stream processing method | |
JP4564350B2 (en) | Signal processing device | |
JP2005151462A (en) | System and method for transmitting stream data, system and method for receiving the data, stream data communications system, and method for exchanging the data | |
KR101966967B1 (en) | Monitoring System for Digital Broadcasting and Method thereof | |
JP6171065B2 (en) | Display device and display method | |
JP7037598B2 (en) | Video transmitter | |
JP7352611B2 (en) | Video signal processing device | |
JP6775636B2 (en) | Display device | |
JP6775635B2 (en) | Display device | |
JP4786619B2 (en) | Recording device | |
JP6286082B2 (en) | Display device | |
JP2022103437A (en) | Display device | |
JP6249311B2 (en) | Output device | |
JP2006033252A (en) | Program display | |
US10178040B2 (en) | Data processing device, receiving device, data processing method, and program | |
JP2015111889A (en) | Video signal processing apparatus and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20081112 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100901 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101005 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101021 |
|
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: 20101116 |
|
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: 20101116 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4632933 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131126 Year of fee payment: 3 |
|
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 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |