JP2013062738A - Method for determining frame type of video packet, and monitoring server - Google Patents

Method for determining frame type of video packet, and monitoring server Download PDF

Info

Publication number
JP2013062738A
JP2013062738A JP2011200812A JP2011200812A JP2013062738A JP 2013062738 A JP2013062738 A JP 2013062738A JP 2011200812 A JP2011200812 A JP 2011200812A JP 2011200812 A JP2011200812 A JP 2011200812A JP 2013062738 A JP2013062738 A JP 2013062738A
Authority
JP
Japan
Prior art keywords
frame
count value
video packet
packet
video
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.)
Pending
Application number
JP2011200812A
Other languages
Japanese (ja)
Inventor
Takahisa Kabe
隆久 加部
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2011200812A priority Critical patent/JP2013062738A/en
Publication of JP2013062738A publication Critical patent/JP2013062738A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a method for determining a frame type of a video packet, and a monitoring server, capable of securely determining a frame type of a video packet subjected to high efficiency compression encoding from a packet string being transmitted on a network.SOLUTION: A method for determining a frame type of a video packet, includes the steps of: detecting frame start information from a header of a video packet being transmitted on a network (detecting step); when the frame start information detected at the detecting step indicates a frame start portion, counting the video packet being transmitted on the network to generate a count value until the frame start information indicating the frame start portion is detected next at the detecting step (counting step); storing the count value of the video packet in a storage unit each time the count value of the video packet is generated by the counting step (storing step); and determining a frame type according to an increase/decrease pattern of the count value of the video packet stored in the storage unit, and the count value of the video packet each time the count value of the video packet is generated by the counting step (determining step).

Description

本発明は、ネットワークを介してユーザ端末に伝送される映像パケットのフレーム種別を判別するフレーム種別判別方法及び監視サーバに関する。   The present invention relates to a frame type determination method and a monitoring server for determining the frame type of a video packet transmitted to a user terminal via a network.

インターネット等のネットワークを利用してテレビ映像等の映像をユーザ端末へ配信する大規模な映像配信サービスが行われている。このような映像配信サービスでは、映像信号が高能率圧縮符号化され、この高能率圧縮符号化された映像信号はパケット列に変換され、ネットワークを介してユーザ端末へ送出される。   There is a large-scale video distribution service that distributes video such as TV video to user terminals using a network such as the Internet. In such a video distribution service, a video signal is subjected to high-efficiency compression coding, and the high-efficiency compression-encoded video signal is converted into a packet sequence and transmitted to a user terminal via a network.

映像信号の高能率圧縮符号化では、例えば、フレーム間予測を用いずフレーム内で符号化処理を行うI(Intra Picture )フレーム、動き補償予測を使い過去から現在を予測し符号化処理を行うP(Predictive Picture)フレーム、双方向予測を使い順方向および逆方向予測し符号化処理を行う(BidirectionallyPredictive Picture)Bフレームという3種類のフレームが通常15フレームを1つのグループ(GOP:Group of Picture)として生成される。1GOPはIフレームを基準にして復号可能なピクチャのグループである。   In high-efficiency compression coding of video signals, for example, an I (Intra Picture) frame that performs coding processing within a frame without using inter-frame prediction, P that performs coding processing by predicting the present from the past using motion compensation prediction (Predictive Picture) frames, forward and backward prediction using bi-directional prediction and encoding processing (Bidirectionally Predictive Picture) Three types of frames called B frames are usually 15 frames as one group (GOP: Group of Picture) Generated. 1 GOP is a group of pictures that can be decoded on the basis of an I frame.

このような複数種類のフレームで映像データを含むパケットがネットワーク上を伝送される場合には、ネットワークでパケット損失が生じることがある。パケット損失が生じると、ユーザ端末での復号に際し前後のフレーム情報を使うことから、1パケットの損失による映像品質の劣化が1映像フレームにとどまらず、複数の映像フレームに及ぶことがある。   When a packet including video data in such a plurality of types of frames is transmitted over the network, packet loss may occur in the network. When packet loss occurs, the frame information before and after is used for decoding at the user terminal, so that the deterioration of the video quality due to the loss of one packet may extend not only to one video frame but also to a plurality of video frames.

そこで、パケット損失による映像品質を推定することが提案されている。推定方法としてはユーザ端末へ送る映像パケット毎にそのパケットが属する高能率圧縮符号化時のフレーム種別(I、P、B)及びフレーム発生規則(Iフレームの繰り返し周期、及びIフレームを含むPフレームの繰り返し周期)の情報を埋め込んでおき、ユーザ端末において、損失パケットに埋め込まれたフレーム種別及びフレーム発生規則から直接、或いは損失パケットの前後の映像パケットに埋め込まれたフレーム種別及びフレーム発生規則から間接的に、損失パケットが属する高能率圧縮符号化時のフレーム種別及びフレーム発生規則を検出して復号される映像の品質(ユーザの体感品質に対応した品質)を推定することが行われる(特許文献1参照)。   Thus, it has been proposed to estimate video quality due to packet loss. As an estimation method, for each video packet sent to the user terminal, the frame type (I, P, B) and the frame generation rule (I frame repetition period and P frame including the I frame) at the time of high efficiency compression encoding to which the packet belongs. In the user terminal, either directly from the frame type and the frame generation rule embedded in the lost packet or indirectly from the frame type and the frame generation rule embedded in the video packet before and after the lost packet. In particular, the quality of the decoded video (quality corresponding to the user's experience quality) is estimated by detecting the frame type and the frame generation rule at the time of high-efficiency compression encoding to which the lost packet belongs (Patent Literature). 1).

特開2006−33722号公報JP 2006-33722 A

地上ディジタル放送のIP(インターネットプロトコル)再送信のように高能率圧縮符号化した映像信号をペイロードに含む映像パケットをインターネット等のIPネットワーク上を伝送する環境下ではペイロードにDRM(Digital Rights Management)等の暗号化処理が施されているので、上記した映像品質のためにIPネットワーク上でパケットを取り込んでそのペイロードからフレーム種別等の情報を収集したり、解析することは不可能である。また、暗号を復号化するための鍵は映像信号ソースを提供するコンテンツ提供業者又は放送事業者が管理しており、様々なコンテンツを有するパケットが伝送されるIPネットワーク上では暗号化解除を行うことは困難である。   DRM (Digital Rights Management) or the like in the payload in an environment where video packets including a video signal that includes high-efficiency compression-encoded video signals in an IP network such as the Internet are transmitted, such as IP (Internet Protocol) retransmission of terrestrial digital broadcasting Therefore, it is impossible to collect and analyze information such as a frame type from the payload by capturing a packet on the IP network for the above-described video quality. Also, the key for decrypting the encryption is managed by the content provider or broadcaster that provides the video signal source, and decryption is performed on the IP network where packets having various contents are transmitted. It is difficult.

そこで、本発明の目的は、ネットワーク上を伝送中のパケット列から高能率圧縮符号化が施された映像パケットのフレーム種別を確実に行うことができるフレーム種別判別方法及び監視サーバを提供することである。   Accordingly, an object of the present invention is to provide a frame type determination method and a monitoring server that can reliably perform the frame type of a video packet that has been subjected to high-efficiency compression encoding from a packet sequence being transmitted over a network. is there.

本発明のフレーム種別判別方法は、映像信号が高能率圧縮符号化されて特定のフレーム発生規則に従った複数種別からなるフレームの列とされ、前記フレームの列の各フレームのデータをペイロードに含みかつそのデータがフレーム開始部分であるか否かを示すフレーム開始情報をヘッダに含む映像パケットが順次ネットワークを伝送される通信システムにおいて前記ネットワークから前記映像パケット中のデータのフレーム種別を判別するフレーム種別判別方法であって、前記ネットワークを伝送される前記映像パケットのヘッダから前記フレーム開始情報を検出する検出ステップと、前記検出ステップにおいて検出された前記フレーム開始情報が前記フレーム開始部分を示すとき、前記検出ステップにおいて前記フレーム開始部分を示す前記フレーム開始情報が次に検出されるまでに前記ネットワークを伝送される前記映像パケットを計数して計数値として生成する計数ステップと、前記計数ステップによって前記映像パケットの計数値が生成される毎に前記映像パケットの計数値を保存部に保存する保存ステップと、前記保存部に保存された前記映像パケットの計数値の増減パターンと、前記計数ステップによって前記映像パケットの計数値が生成される毎の前記映像パケットの計数値とに応じて前記フレーム種別を判定する判定ステップと、を含むことを特徴としている。   In the frame type determination method of the present invention, a video signal is subjected to high-efficiency compression coding to be a sequence of frames of a plurality of types in accordance with a specific frame generation rule, and the payload includes the data of each frame in the sequence of frames. And a frame type for determining a frame type of data in the video packet from the network in a communication system in which video packets including frame start information in the header indicating whether or not the data is a frame start portion are sequentially transmitted over the network. A detection method for detecting the frame start information from a header of the video packet transmitted through the network, and when the frame start information detected in the detection step indicates the frame start portion, Indicates the frame start part in the detection step A counting step of counting the video packets transmitted through the network until the next frame start information is detected and generating as a count value, and each time a count value of the video packet is generated by the counting step A storage step of storing the count value of the video packet in a storage unit, an increase / decrease pattern of the count value of the video packet stored in the storage unit, and a count value of the video packet generated by the counting step And a determination step of determining the frame type according to the count value of the video packet.

本発明の監視サーバは、映像信号が高能率圧縮符号化されて特定のフレーム発生規則に従った複数種別からなるフレームの列とされ、前記フレームの列の各フレームのデータをペイロードに含みかつそのデータがフレーム開始部分であるか否かを示すフレーム開始情報をヘッダに含む映像パケットが順次ネットワークを伝送される通信システムにおいて前記ネットワークから前記映像パケット中のデータのフレーム種別を判別する監視サーバであって、前記ネットワークを伝送される前記映像パケットのヘッダから前記フレーム開始情報を検出する検出手段と、前記検出手段によって検出された前記フレーム開始情報が前記フレーム開始部分を示すとき、前記検出ステップにおいて前記フレーム開始部分を示す前記フレーム開始情報が次に検出されるまでに前記ネットワークを伝送される前記映像パケットを計数して計数値として生成する計測手段と、前記計測手段によって前記映像パケットの計数値が生成される毎に前記映像パケットの計数値を保存部に保存する保存管理手段と、前記保存部に保存された前記映像パケットの計数値の増減パターンと、前記計測手段によって前記映像パケットの計数値が生成される毎の前記映像パケットの計数値とに応じて前記フレーム種別を判定する判定手段と、を含むことを特徴としている。   According to the monitoring server of the present invention, the video signal is subjected to high-efficiency compression coding to be a sequence of frames of a plurality of types in accordance with a specific frame generation rule, and the payload includes the data of each frame of the sequence of frames. A monitoring server that determines a frame type of data in the video packet from the network in a communication system in which video packets including frame start information in the header indicating whether the data is a frame start portion are sequentially transmitted over the network. Detecting means for detecting the frame start information from a header of the video packet transmitted through the network, and when the frame start information detected by the detection means indicates the frame start portion, The frame start information indicating the frame start portion is next detected. Measuring means for counting the video packets transmitted through the network and generating a count value, and storing the count value of the video packet every time the count value of the video packet is generated by the measuring means. Storage management means for storing in the storage unit, an increase / decrease pattern of the count value of the video packet stored in the storage unit, and a count value of the video packet each time the count value of the video packet is generated by the measurement means, And determining means for determining the frame type according to the above.

本発明のフレーム種別判別方法及び本発明の監視サーバによれば、ネットワークを伝送される映像パケットのヘッダからフレーム開始情報を検出し、その検出したフレーム開始情報がフレーム開始部分を示すとき、フレーム開始部分を示すフレーム開始情報が次に検出されるまでにネットワークを伝送される映像パケットを計数し、その映像パケットの計数値が生成される毎に映像パケットの計数値を保存部に保存し、保存部に保存された映像パケットの計数値の増減パターンと、映像パケットの計数値が生成される毎の映像パケットの計数値とに応じてフレーム種別を判定することが行われる。よって、映像パケットのペイロードのデータが暗号化されていても伝送された映像パケット中のデータのフレーム種別を確実に判別することができる。更に、従来のように映像パケット毎にそのパケットが属する高能率圧縮符号化時のフレーム種別及びフレーム発生規則の情報を埋め込む必要がないという効果がある。   According to the frame type determination method of the present invention and the monitoring server of the present invention, the frame start information is detected from the header of the video packet transmitted over the network, and the detected frame start information indicates the frame start portion. The video packet transmitted over the network is counted until the next frame start information indicating the portion is detected, and the count value of the video packet is stored in the storage unit every time the count value of the video packet is generated. The frame type is determined according to the increase / decrease pattern of the count value of the video packet stored in the unit and the count value of the video packet every time the count value of the video packet is generated. Therefore, even if the payload data of the video packet is encrypted, the frame type of the data in the transmitted video packet can be reliably determined. Further, there is an effect that it is not necessary to embed information on the frame type and the frame generation rule at the time of high efficiency compression encoding to which each packet belongs, as in the prior art.

本発明のフレーム種別判別方法が適用された通信システムを示すブロック図である。1 is a block diagram showing a communication system to which a frame type determination method of the present invention is applied. RTPパケットの構造を示す図である。It is a figure which shows the structure of a RTP packet. 図1の通信システム内の監視サーバの構成を示すブロック図である。It is a block diagram which shows the structure of the monitoring server in the communication system of FIG. エレメンタリーストリームからTSパケットまでを説明する図である。It is a figure explaining from an elementary stream to TS packet. 図4のエレメンタリーストリーム、PESパケット及びTSパケット各々の構造を示す図である。FIG. 5 is a diagram illustrating a structure of each of the elementary stream, the PES packet, and the TS packet in FIG. 4. TSパケットの具体的構造を示す図である。It is a figure which shows the specific structure of TS packet. 図3の監視サーバ内の計測部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the measurement part in the monitoring server of FIG. 図3の監視サーバ内のフレーム種別判定部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the frame classification determination part in the monitoring server of FIG. Iフレーム、Pフレーム及びBフレーム各々のカウントパケット数を示す図である。It is a figure which shows the count packet number of I frame, P frame, and each B frame. データベース部に保存されたカウント値列のカウント値の変化を示す図である。It is a figure which shows the change of the count value of the count value sequence preserve | saved at the database part.

以下、本発明の実施例を、図面を参照しつつ詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は本発明のフレーム種別判別方法が適用された通信システムを示している。この通信システムは、映像配信サーバ1、ノード2〜5、ユーザ端末6及び監視サーバ7を備えた映像配信を行うシステムである。映像配信サーバ1及びユーザ端末6はIPネットワーク8に接続されており、ノード2〜5はIPネットワーク8に存在する。映像配信サーバ1はTS(Transport Stream:トランスポートストリーム)パケットで映像コンテンツを含むRTPパケットを少なくともユーザ端末6に配信するサーバである。RTPパケットは図2に示すように、IPヘッダ、UDPヘッダ、RTPヘッダ及びRTPペイロードからなり、RFC1889で規定されている。TSパケットはRTPペイロードにパケット列として含まれる。   FIG. 1 shows a communication system to which the frame type determination method of the present invention is applied. This communication system is a system that performs video distribution including a video distribution server 1, nodes 2 to 5, a user terminal 6, and a monitoring server 7. The video distribution server 1 and the user terminal 6 are connected to the IP network 8, and the nodes 2 to 5 exist in the IP network 8. The video distribution server 1 is a server that distributes at least user terminal 6 with RTP packets including video content in TS (Transport Stream) packets. As shown in FIG. 2, the RTP packet includes an IP header, a UDP header, an RTP header, and an RTP payload, and is defined by RFC1889. The TS packet is included as a packet string in the RTP payload.

映像コンテンツはコンテンツプロバイダ9によって専用ライン10又はDVD等の記録媒体(図示せず)を介して提供される。ノード2〜5は映像配信サーバ1とユーザ端末6との間での通信を可能にするコンピュータ、ルータ又はハブである。ユーザ端末6は通信機能を有し、RTPパケットのペイロードのTSパケット内のデータを復号して表示することができるテレビ受像器やパーソナルコンピュータである。監視サーバ7はノード4に接続されており、ノード4を通過するパケットを監視する。   The video content is provided by the content provider 9 via a dedicated line 10 or a recording medium (not shown) such as a DVD. Nodes 2 to 5 are computers, routers, or hubs that enable communication between the video distribution server 1 and the user terminal 6. The user terminal 6 is a television receiver or personal computer that has a communication function and can decode and display data in the TS packet of the payload of the RTP packet. The monitoring server 7 is connected to the node 4 and monitors packets passing through the node 4.

監視サーバ7は図3に示すように、情報収集部11、計測部12、DB管理部13、フレーム種別判定部14、及びデータベース部15を備えている。   As shown in FIG. 3, the monitoring server 7 includes an information collection unit 11, a measurement unit 12, a DB management unit 13, a frame type determination unit 14, and a database unit 15.

情報収集部11はノード4からRTPパケット中のTSパケットを例えば、sshを利用して取り込み、そのTSパケットのTSヘッダの情報を収集する。計測部12はTSヘッダのPUSI(ペイロードユニットスタートインジケータ:Payload Unit Start Indicator)が0及び1のいずれを示すかを判別し、PUSI=1であるならば次に同一のPID(パケット識別子)をヘッダに有するTSパケットのPUSIが1となるまでの同一のPIDを有するTSパケットの数をカウントする。PUSI=1は1つのフレームの開始位置からのデータを含むTSパケットであることを示し、PUSI=0はフレームの開始位置以外のデータを含むTSパケットであることを示す。計測部12はカウント値をDB管理部13に供給する。DB管理部13はデータベース部15にカウント値を書き込む。カウント値の書き込みはPIDと共に行われ、また、書き込み順が分かるようにされる。   The information collection unit 11 takes in the TS packet in the RTP packet from the node 4 using, for example, ssh, and collects information on the TS header of the TS packet. The measurement unit 12 determines whether PUSI (Payload Unit Start Indicator) of the TS header indicates 0 or 1, and if PUSI = 1, then the same PID (packet identifier) is used as the header. The number of TS packets having the same PID is counted until the PUSI of the TS packet having 1 becomes 1. PUSI = 1 indicates that the TS packet includes data from the start position of one frame, and PUSI = 0 indicates that the TS packet includes data other than the start position of the frame. The measurement unit 12 supplies the count value to the DB management unit 13. The DB management unit 13 writes the count value in the database unit 15. The count value is written together with the PID, and the order of writing is made known.

フレーム種別判定部14はデータベース部15に書き込まれたカウント値のサンプル数が所定のサンプル数(例えば、50)以上となると、それらのカウント値の増減パターンに基づいて1GOPのフレーム数を判断するまた、フレーム種別判定部14は1GOPのフレーム数を判断した後においては計測部12がカウント値を生成する毎にそのカウント値に応じてフレームを種別する。   When the number of samples of the count value written in the database unit 15 exceeds a predetermined number of samples (for example, 50), the frame type determination unit 14 determines the number of frames of 1 GOP based on the increase / decrease pattern of those count values. After determining the number of frames of 1 GOP, the frame type determination unit 14 classifies the frame according to the count value every time the measurement unit 12 generates the count value.

高能率圧縮符号化方式としてMPEG2を用いた場合に、図4に示すように、MPEG2の映像信号のエレメンタリーストリームは先ず、可変長のPESパケット化され、その後、PESパケットは分割されて固定長(188バイト)のTSパケットとして作成される。RTPパケットではRTPペイロードに複数のTSパケットが列として配置される。   When MPEG2 is used as the high-efficiency compression encoding method, as shown in FIG. 4, the elementary stream of the MPEG2 video signal is first converted into a variable-length PES packet, and then the PES packet is divided into a fixed length. It is created as a (188 byte) TS packet. In the RTP packet, a plurality of TS packets are arranged in a row in the RTP payload.

MPEG2の映像信号のエレメンタリーストリームは符号化された15フレームからなる1つのGOP単位では図5に示すようにSH(シーケンスヘッダ)と共に配置されている。1つのGOPはIフレーム(Iピクチャのフレーム)から始まり、それに続いて2つのBフレーム(Bピクチャのフレーム)と、1つのPフレーム(Pピクチャのフレーム)とが繰り返す構造となっている。   An elementary stream of a video signal of MPEG2 is arranged together with SH (sequence header) as shown in FIG. 5 in one GOP unit consisting of 15 encoded frames. One GOP starts from an I frame (I picture frame), followed by two B frames (B picture frame) and one P frame (P picture frame).

エレメンタリーストリームの各フレームはフレーム毎にPESパケット化される。PESパケットはPESヘッダとPESデータとかなる可変長パケットである。PESヘッダにはパケット長、タイムスタンプ、スクランブル情報、著作権情報、CRC等の情報が含まれる。PESデータは1フレーム分(Iフレーム、Bフレーム、Pフレームのいずれか)に相当するデータである。   Each frame of the elementary stream is converted into a PES packet for each frame. The PES packet is a variable length packet including a PES header and PES data. The PES header includes information such as packet length, time stamp, scramble information, copyright information, CRC, and the like. PES data is data corresponding to one frame (I frame, B frame, or P frame).

TSパケットは、図6に示すように4バイトのTSヘッダと184バイトのペイロードとからなる。TSヘッダはパケット先頭から、同期バイト、トランスポートエラーインジケータ、PUSI(ペイロードユニットスタートインジケータ)、トランスポート優先度、PID(パケット識別子)、トランスポートスクランブル制御、アダプテーションフィールド制御、連続性指標からなる。図6の括弧内の数字はバイト数である。184バイトのペイロードは実際にはアダプテーションフィールド及び/又はペイロードであり、アダプテーションフィールド及びペイロードのうちのいずれか一方の場合もあり、また、アダプテーションフィールド及びペイロードの双方の場合もある。   As shown in FIG. 6, the TS packet includes a 4-byte TS header and a 184-byte payload. The TS header includes a synchronization byte, a transport error indicator, PUSI (payload unit start indicator), transport priority, PID (packet identifier), transport scramble control, adaptation field control, and continuity index from the beginning of the packet. The numbers in parentheses in FIG. 6 are the number of bytes. The 184-byte payload is actually an adaptation field and / or payload, which may be either the adaptation field or the payload, or both the adaptation field and the payload.

図3に示した監視サーバ7においては、情報収集部11によって取り込まれたTSパケットのヘッダの情報はTSパケットが取り込まれる毎に計測部12に供給される(検出ステップ)。計測部12は、図7に示すように、取り込まれたTSパケットのヘッダのうちの映像を示すPIDを有するヘッダのPUSIが論理1及び0のいずれを示すか判別し(ステップS11)、PUSI=1ならば、PUSI=1を検出したTSパケットと同一のPIDを有するTSパケットの計数を初期値(例えば、0)から開始する(ステップS12)。TSパケットの計数としては情報収集部11から計測部12に供給されるヘッダの単位情報毎に行うことができる。計測部12はTSパケット計数開始後、情報収集部11から順次供給されるヘッダの情報に応じて同一のPIDをヘッダに有するTSパケットにおいてPUSI=1であるか否かを判別する(ステップS13)。同一のPIDをヘッダに有するTSパケットであってもPUSI=0であるならば、TSパケットの計数が継続されるだけである。一方、同一のPIDをヘッダに有するTSパケットであってPUSI=1であるならば、計測部12はそのときのTSパケットのカウント値をPIDと共にDB管理部13に提供する(ステップS14)。このステップS11〜S12が計数ステップに相当する。   In the monitoring server 7 shown in FIG. 3, the information of the header of the TS packet captured by the information collecting unit 11 is supplied to the measuring unit 12 every time the TS packet is captured (detection step). As shown in FIG. 7, the measurement unit 12 determines whether the PUSI of the header having the PID indicating the video among the headers of the captured TS packet indicates logic 1 or 0 (step S11), and PUSI = If 1, the counting of TS packets having the same PID as the TS packet in which PUSI = 1 is detected starts from an initial value (for example, 0) (step S12). The TS packet can be counted for each unit information of the header supplied from the information collecting unit 11 to the measuring unit 12. After starting TS packet counting, the measuring unit 12 determines whether PUSI = 1 in the TS packet having the same PID in the header according to the header information sequentially supplied from the information collecting unit 11 (step S13). . Even for TS packets having the same PID in the header, if PUSI = 0, only counting of TS packets is continued. On the other hand, if the TS packets have the same PID in the header and PUSI = 1, the measurement unit 12 provides the count value of the TS packet at that time to the DB management unit 13 together with the PID (step S14). Steps S11 to S12 correspond to a counting step.

DB管理部13に提供されるTSパケットのカウント値は1つのフレームの長さに対応する。そして、ステップS12に戻って同一のPIDを有するTSパケットの計数を初期値から開始する。ステップS13の判別結果がPUSI=0であるならば、TSパケットの計数が継続される。   The count value of the TS packet provided to the DB management unit 13 corresponds to the length of one frame. Then, returning to step S12, counting of TS packets having the same PID is started from the initial value. If the determination result in step S13 is PUSI = 0, TS packet counting is continued.

ステップS14で計測部12からDB管理部13にカウント値とPIDが提供されると、そのカウント値とPIDはDB管理部13によってデータベース部15に書き込まれる(保存ステップ)。この書き込みによってデータベース部15には同一のPIDのカウンタ値が順番に記憶される。   When the count value and the PID are provided from the measurement unit 12 to the DB management unit 13 in step S14, the count value and the PID are written into the database unit 15 by the DB management unit 13 (storage step). By this writing, the counter value of the same PID is sequentially stored in the database unit 15.

一方、フレーム種別判定部14はデータベース部15に書き込まれた同一のPIDのカウント値のサンプル数が所定のサンプル数以上となると、図8に示すように、データベース部15からそのカウント値を書き込み順に読み出し(ステップS21)、カウント値の増減パターンから1GOPのフレーム構造を判断する(ステップS22)。データベース部15に書き込まれた同一のPIDのカウント値のサンプル数はDB管理部13から得ることができる。1GOPのフレーム数判断としては、例えば、カウント値のピークが15サンプル数毎に生じる場合には15フレームを1GOPとする場合であり、カウント値のピークが30サンプル数毎に生じる場合には30フレームを1GOPとする場合であると判断することが行われる。   On the other hand, when the number of samples of the count value of the same PID written in the database unit 15 exceeds a predetermined number of samples, the frame type determination unit 14 obtains the count value from the database unit 15 in the order of writing as shown in FIG. Reading (step S21), the frame structure of 1 GOP is determined from the increment / decrement pattern of the count value (step S22). The number of samples of the same PID count value written in the database unit 15 can be obtained from the DB management unit 13. For example, when the count value peak occurs every 15 samples, 15 frames are set to 1 GOP. When the count value peak occurs every 30 samples, 30 frames are determined. Is determined to be 1 GOP.

更に具体的に説明すると、1GOPが15フレームからなる場合には1GOPにはフレームがフレーム発生規則として例えば、IBBPBBPBBPBBPBBのような順に並び、1GOPが30フレームからなる場合には1GOPにはフレームがフレーム発生規則として例えば、IBBPBBPBBPBBPBBPBBPBBPBBPBBPBBのような順に並ぶ。ここで、IはIフレーム、PはPフレーム、BはBフレームである。図9に示すように、1つのIフレームのデータを担うTSバケット数はPフレームのデータを担うTSパケット数と比べて十分に大であり、Pフレームのデータを担うTSバケット数はBフレームのデータを担うTSパケット数と比べて大であるので、Iフレームに対するカウント値はピークとなって現れる。図10は1GOPが15フレームからなる場合にはカウント値、すなわちTSパケットの数の増減を例示しており、この図9から分かるようにカウント値の生成回数が15の間隔でIフレームに対するカウント値のピークが出現している。よって、カウント値の増減パターンから1GOPのフレーム数を含むフレーム構造を判断することができ、同時にIフレームの位置が分かるので、それに続く各フレームの種別を判断することができる。   More specifically, when 1 GOP consists of 15 frames, the frames are arranged in the order of frame generation rules, for example, IBBPBBPBBPBBPBB, when 1 GOP consists of 30 frames. For example, the rules are arranged in the order of IBBPBBPBBPBBPBBPBBPBBPBBPBBPBB. Here, I is an I frame, P is a P frame, and B is a B frame. As shown in FIG. 9, the number of TS buckets carrying data for one I frame is sufficiently larger than the number of TS packets carrying P frame data, and the number of TS buckets carrying P frame data is B frames. Since it is larger than the number of TS packets carrying data, the count value for the I frame appears as a peak. FIG. 10 exemplifies increase / decrease of the count value, that is, the number of TS packets when 1 GOP consists of 15 frames. As can be seen from FIG. 9, the count value for the I frame is generated at intervals of 15 count values. The peak of appears. Therefore, the frame structure including the number of frames of 1 GOP can be determined from the increase / decrease pattern of the count value, and the position of the I frame can be determined at the same time, so that the type of each subsequent frame can be determined.

また、フレーム種別判定部14は1GOPのフレーム数を判断した後においては計測部12がカウント値を生成しそのカウント値が供給されると(ステップS23)、毎にそのカウント値に応じてフレームの種別を判別する(ステップS24)。ステップS21〜S24が判定ステップに相当する。   In addition, after the frame type determination unit 14 determines the number of frames of 1 GOP, when the measurement unit 12 generates a count value and the count value is supplied (step S23), the frame type determination unit 14 determines the number of frames according to the count value. The type is determined (step S24). Steps S21 to S24 correspond to determination steps.

1GOPが15フレーム又は30フレームからなることが判定されると、計測部12からフレーム種別判定部14に供給されるカウント値を予測することができる。例えば、カウント値の増減パターンから各フレームの判別のための閾値(IフレームとPフレームとを判別する閾値、PフレームとBフレームとを判別する閾値)を設定して供給されるカウント値がIフレーム、Pフレーム、及びBフレームのいずれであるかを判別し、その判別結果が予測されたフレーム種別と一致するか否かを判定することができる。なお、閾値の設定としては例えば、Iフレームについてのカウント値の平均値と、Pフレームについてのカウント値の平均値との中間値をIフレームとPフレームとを判別する閾値とし、Pフレームについてのカウント値の平均値と、Bフレームについてのカウント値の平均値との中間値をPフレームとBフレームとを判別する閾値とすることができる。   When it is determined that one GOP is composed of 15 frames or 30 frames, the count value supplied from the measurement unit 12 to the frame type determination unit 14 can be predicted. For example, the count value supplied by setting thresholds for discriminating each frame (threshold for discriminating between I frames and P frames, threshold for discriminating between P frames and B frames) from the increase / decrease pattern of the count value is I It is possible to determine whether the frame is a frame, a P frame, or a B frame and determine whether the determination result matches the predicted frame type. As the threshold setting, for example, an intermediate value between the average value of the count value for the I frame and the average value of the count value for the P frame is set as a threshold value for discriminating between the I frame and the P frame. An intermediate value between the average value of the count values and the average value of the count values for the B frame can be used as a threshold value for discriminating between the P frame and the B frame.

このようにステップS24で計測部12から新規に供給されたカウント値による判定したフレームが予測フレームと一致しない場合にはTSパケットの損失が生じたと判断することができる。   As described above, when the frame determined by the count value newly supplied from the measurement unit 12 in step S24 does not match the predicted frame, it can be determined that the loss of the TS packet has occurred.

ここで、TSパケットの損失が生じた場合の映像品質劣化の影響について説明する。上記したように映像信号のデータを担うTSフレームにはIフレーム、Bフレーム、Pフレームの3種類のフレームが存在する。Iフレームのデータを含むパケットが損失した場合には次のIフレームを含むパケットが到来するまで品質劣化が伝搬する。Pフレームのデータを含むパケットが損失した場合には次のIフレームを含むパケットが到来するまで品質劣化が伝搬する。1GOPが15フレームからなる場合にはフレームは上記したようにIBBPBBPBBPBBPBBのようなフレーム発生規則を繰り返すことになるので、Iフレームのデータを含むパケットが損失した場合には特に品質劣化の伝搬が大きい。Bフレームのデータを含むパケットが損失した場合には品質劣化は伝搬しない。よって、Iフレームのデータを含むパケットが損失した場合には品質劣化による視聴者に与える影響が最も大きく、Pフレームのデータを含むパケットが損失した場合の視聴者に与える影響はIフレームのデータを含むパケットが損失した場合よりも小さい。   Here, the influence of video quality deterioration when a loss of TS packets occurs will be described. As described above, there are three types of frames, i.e., I frame, B frame, and P frame, in the TS frame that carries video signal data. When a packet containing I frame data is lost, quality degradation propagates until a packet containing the next I frame arrives. When a packet containing P frame data is lost, quality degradation propagates until a packet containing the next I frame arrives. When one GOP is composed of 15 frames, the frame repeats the frame generation rule such as IBBPBBPBBPBBPBB as described above. Therefore, propagation of quality deterioration is particularly large when a packet including I frame data is lost. When a packet containing B frame data is lost, quality degradation does not propagate. Therefore, when a packet containing I-frame data is lost, the influence on the viewer due to quality degradation is the greatest, and when a packet containing P-frame data is lost, the influence on the viewer is the I-frame data. It is smaller than the case where the containing packet is lost.

以上のように、実施例に示したフレーム種別判別方法によれば、ネットワークを伝送されるTSパケットのヘッダからフレーム開始情報としてPUSIを検出し、その検出したPUSIがフレーム開始部分を示す論理1であるとき、次にPUSI=1が検出されるまでネットワークを伝送されるTSパケットを計数し、そのTSパケットの計数値が生成される毎にTSパケットの計数値を保存部であるデータベース部15に保存し、データベース部15に保存されたTSパケットの計数値の増減パターンとTSパケットの計数値が生成される毎のTSパケットの計数値とに応じてフレーム種別を判定することが行われる。よって、TSパケットのペイロードのデータが暗号化されていても伝送されたTSパケット中のデータのフレーム種別を確実に判別することができる。更に、従来のようにTSパケット毎にそのパケットが属する高能率圧縮符号化時のフレーム種別及びフレーム発生規則の情報を埋め込む必要がないという効果がある。   As described above, according to the frame type determination method shown in the embodiment, PUSI is detected as frame start information from the header of a TS packet transmitted over the network, and the detected PUSI is a logic 1 indicating a frame start portion. At a certain time, TS packets transmitted through the network are counted until the next PUSI = 1 is detected, and each time the TS packet count value is generated, the TS packet count value is stored in the database unit 15 as a storage unit. The frame type is determined in accordance with the increase / decrease pattern of the TS packet count value stored in the database unit 15 and the TS packet count value each time the TS packet count value is generated. Therefore, even if the data of the payload of the TS packet is encrypted, the frame type of the data in the transmitted TS packet can be reliably determined. Further, there is an effect that it is not necessary to embed information on the frame type and the frame generation rule at the time of high-efficiency compression encoding to which each packet belongs as in the prior art.

なお、上記した実施例において、情報収集部11がネットワークを伝送される映像パケット(TSパケット)のヘッダからフレーム開始情報を検出する検出手段を構成している。また、計測部12が映像パケットを計数する計測手段を構成し、DB管理部13が保存部であるデータベース部15に映像パケットの計数値を保存する保存管理手段に相当し、フレーム種別判定部14がフレーム種別を判定する判定手段に相当する。   In the above-described embodiment, the information collecting unit 11 constitutes detection means for detecting frame start information from the header of a video packet (TS packet) transmitted through the network. Further, the measurement unit 12 constitutes a measurement unit that counts video packets, and the DB management unit 13 corresponds to a storage management unit that stores a count value of video packets in the database unit 15 that is a storage unit. Corresponds to determination means for determining the frame type.

また、上記した実施例において、監視サーバ7の情報収集部11を入出力インターフェースによって構成し、また、計測部12、DB管理部13及びフレーム種別判定部14をコンピュータによって構成し、コンピュータが上記した計測部12、DB管理部13及びフレーム種別判定部14各々の動作をプログラムに従って実行しても良い。   In the above-described embodiment, the information collection unit 11 of the monitoring server 7 is configured by an input / output interface, and the measurement unit 12, the DB management unit 13, and the frame type determination unit 14 are configured by a computer. The operations of the measurement unit 12, the DB management unit 13, and the frame type determination unit 14 may be executed according to a program.

1 映像配信サーバ
2〜5 ノード
6 ユーザ端末
7 監視サーバ
11 情報収集部
12 計測部
13 DB管理部
14 フレーム種別判定部
15 データベース部
DESCRIPTION OF SYMBOLS 1 Video distribution server 2-5 Node 6 User terminal 7 Monitoring server 11 Information collection part 12 Measurement part 13 DB management part 14 Frame classification determination part 15 Database part

Claims (6)

映像信号が高能率圧縮符号化されて特定のフレーム発生規則に従った複数種別からなるフレームの列とされ、前記フレームの列の各フレームのデータをペイロードに含みかつそのデータがフレーム開始部分であるか否かを示すフレーム開始情報をヘッダに含む映像パケットが順次ネットワークを伝送される通信システムにおいて前記ネットワークから前記映像パケット中のデータのフレーム種別を判別するフレーム種別判別方法であって、
前記ネットワークを伝送される前記映像パケットのヘッダから前記フレーム開始情報を検出する検出ステップと、
前記検出ステップにおいて検出された前記フレーム開始情報が前記フレーム開始部分を示すとき、前記検出ステップにおいて前記フレーム開始部分を示す前記フレーム開始情報が次に検出されるまでに前記ネットワークを伝送される前記映像パケットを計数して計数値として生成する計数ステップと、
前記計数ステップによって前記映像パケットの計数値が生成される毎に前記映像パケットの計数値を保存部に保存する保存ステップと、
前記保存部に保存された前記映像パケットの計数値の増減パターンと、前記計数ステップによって前記映像パケットの計数値が生成される毎の前記映像パケットの計数値とに応じて前記フレーム種別を判定する判定ステップと、を含むことを特徴とするフレーム種別判別方法。
The video signal is subjected to high-efficiency compression encoding to form a sequence of frames of a plurality of types according to a specific frame generation rule, each frame of the frame sequence includes data in the payload, and the data is a frame start portion. A frame type determination method for determining a frame type of data in the video packet from the network in a communication system in which video packets including a frame start information indicating whether or not the header is sequentially transmitted through the network,
A detection step of detecting the frame start information from a header of the video packet transmitted through the network;
When the frame start information detected in the detection step indicates the frame start portion, the video transmitted through the network until the frame start information indicating the frame start portion is next detected in the detection step A counting step of counting packets and generating a count value;
A storage step of storing the count value of the video packet in a storage unit each time the count value of the video packet is generated by the counting step;
The frame type is determined according to the increase / decrease pattern of the count value of the video packet stored in the storage unit and the count value of the video packet every time the count value of the video packet is generated by the counting step. A frame type determining method comprising: a determining step.
前記映像パケットはTS(トランスポートストリーム)パケットからなり、
前記検出ステップは前記TSパケットのヘッダから前記フレーム開始情報としてペイロードユニットスタートインジケータを検出し、
前記ペイロードユニットスタートインジケータが論理1を示すとき前記フレーム開始部分を示すことに対応することを特徴とする請求項1記載のフレーム種別判別方法。
The video packet is a TS (transport stream) packet,
The detection step detects a payload unit start indicator as the frame start information from the header of the TS packet,
2. The frame type determination method according to claim 1, wherein when the payload unit start indicator indicates logic 1, it corresponds to indicating the frame start portion.
前記判定ステップは前記保存部に保存された前記映像パケットの計数値が所定のサンプル数以上になったとき前記フレーム種別を判定することを特徴とする請求項1又は2記載のフレーム種別判別方法。   3. The frame type determination method according to claim 1, wherein the determination step determines the frame type when a count value of the video packet stored in the storage unit exceeds a predetermined number of samples. 前記高能率圧縮符号化時のフレーム種別は、フレーム間予測を用いずフレーム内で符号化処理を行うIフレーム、動き補償予測を使い過去から現在を予測し符号化処理を行うPフレーム、双方向予測を使い順方向及び逆方向予測し符号化処理を行うBフレームの3種類であり、
前記フレーム発生規則は、前記Iフレーム、前記Pフレーム、及び前記Bフレームによる発生規則であることを特徴とする請求項1〜3のいずれか1記載のフレーム種別判別方法。
The frame type at the time of the high-efficiency compression encoding is an I frame that performs encoding processing within a frame without using inter-frame prediction, a P frame that predicts current from the past using motion compensation prediction, and bidirectional processing. There are three types of B frames that use the prediction to perform forward and backward prediction and perform encoding processing.
The frame type determination method according to claim 1, wherein the frame generation rule is a generation rule based on the I frame, the P frame, and the B frame.
前記判定ステップは前記映像パケットの計数値の増減パターンに応じて前記フレーム発生規則に基づいた1GOP(グループオブピクチャ)のフレーム構造を判定し、その判定後に前記計数ステップによって前記映像パケットの計数値が生成される毎の前記映像パケットの計数値に応じて前記フレーム種別を判定することを特徴とする請求項4記載のフレーム種別判別方法。   The determining step determines a frame structure of 1 GOP (group of pictures) based on the frame generation rule according to an increase / decrease pattern of the count value of the video packet, and after the determination, the count value of the video packet is determined by the counting step. 5. The frame type determination method according to claim 4, wherein the frame type is determined according to a count value of the video packet each time it is generated. 映像信号が高能率圧縮符号化されて特定のフレーム発生規則に従った複数種別からなるフレームの列とされ、前記フレームの列の各フレームのデータをペイロードに含みかつそのデータがフレーム開始部分であるか否かを示すフレーム開始情報をヘッダに含む映像パケットが順次ネットワークを伝送される通信システムにおいて前記ネットワークから前記映像パケット中のデータのフレーム種別を判別する監視サーバであって、
前記ネットワークを伝送される前記映像パケットのヘッダから前記フレーム開始情報を検出する検出手段と、
前記検出手段によって検出された前記フレーム開始情報が前記フレーム開始部分を示すとき、前記検出ステップにおいて前記フレーム開始部分を示す前記フレーム開始情報が次に検出されるまでに前記ネットワークを伝送される前記映像パケットを計数して計数値として生成する計測手段と、
前記計測手段によって前記映像パケットの計数値が生成される毎に前記映像パケットの計数値を保存部に保存する保存管理手段と、
前記保存部に保存された前記映像パケットの計数値の増減パターンと、前記計測手段によって前記映像パケットの計数値が生成される毎の前記映像パケットの計数値とに応じて前記フレーム種別を判定する判定手段と、を含むことを特徴とする監視サーバ。
The video signal is subjected to high-efficiency compression encoding to form a sequence of frames of a plurality of types according to a specific frame generation rule, each frame of the frame sequence includes data in the payload, and the data is a frame start portion. A monitoring server for determining a frame type of data in the video packet from the network in a communication system in which video packets including a frame start information indicating whether or not the header is sequentially transmitted through the network;
Detecting means for detecting the frame start information from a header of the video packet transmitted through the network;
When the frame start information detected by the detecting means indicates the frame start portion, the video transmitted through the network until the frame start information indicating the frame start portion is next detected in the detection step A measuring means for counting packets and generating a count value;
A storage management unit that stores the count value of the video packet in a storage unit every time the count value of the video packet is generated by the measurement unit;
The frame type is determined according to the increase / decrease pattern of the count value of the video packet stored in the storage unit and the count value of the video packet every time the count value of the video packet is generated by the measuring unit. And a determination unit.
JP2011200812A 2011-09-14 2011-09-14 Method for determining frame type of video packet, and monitoring server Pending JP2013062738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011200812A JP2013062738A (en) 2011-09-14 2011-09-14 Method for determining frame type of video packet, and monitoring server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011200812A JP2013062738A (en) 2011-09-14 2011-09-14 Method for determining frame type of video packet, and monitoring server

Publications (1)

Publication Number Publication Date
JP2013062738A true JP2013062738A (en) 2013-04-04

Family

ID=48187028

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011200812A Pending JP2013062738A (en) 2011-09-14 2011-09-14 Method for determining frame type of video packet, and monitoring server

Country Status (1)

Country Link
JP (1) JP2013062738A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009025357A1 (en) * 2007-08-22 2009-02-26 Nippon Telegraph And Telephone Corporation Video quality estimation device, video quality estimation method, frame type judgment method, and recording medium
JP2011114444A (en) * 2009-11-25 2011-06-09 Fujitsu Ltd Information processor, method of generating information, and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009025357A1 (en) * 2007-08-22 2009-02-26 Nippon Telegraph And Telephone Corporation Video quality estimation device, video quality estimation method, frame type judgment method, and recording medium
JP2011114444A (en) * 2009-11-25 2011-06-09 Fujitsu Ltd Information processor, method of generating information, and program

Similar Documents

Publication Publication Date Title
US9565482B1 (en) Adaptive profile switching system and method for media streaming over IP networks
EP2413612B1 (en) Methods and apparatuses for temporal synchronization between the video bit stream and the output video sequence
US9723329B2 (en) Method and system for determining a quality value of a video stream
US9781488B2 (en) Controlled adaptive rate switching system and method for media streaming over IP networks
KR20150048775A (en) Device and method for adaptive rate multimedia communications on a wireless network
JP2010226258A (en) Information acquisition system, transmit apparatus, data obtaining apparatus, transmission method, and data obtaining method
US8873590B2 (en) Apparatus and method for correcting jitter
Wu et al. Priority-aware FEC coding for high-definition mobile video delivery using TCP
US20100067578A1 (en) Transmitting apparatus and transmission method
Diaz et al. A video-aware FEC-based unequal loss protection system for video streaming over RTP
JP4787303B2 (en) Video quality estimation apparatus, method, and program
JP5335867B2 (en) Video quality estimation apparatus, method, and program using basic GoP length
JP5472120B2 (en) Picture type estimation apparatus, method, and program
JP2013062738A (en) Method for determining frame type of video packet, and monitoring server
JP5405915B2 (en) Video quality estimation apparatus, video quality estimation method, and video quality estimation apparatus control program
KR102548422B1 (en) Video Quality Measurement Apparatus and Method
KR101700370B1 (en) Method and apparatus for correcting interarrival jitter
Díaz et al. Adaptive protection scheme for MVC-encoded stereoscopic video streaming in IP-based networks
JP5394991B2 (en) Video frame type estimation adjustment coefficient calculation method, apparatus, and program
Lee et al. Estimation of accurate effective loss rate for FEC video transmission
CN116634187A (en) Video stream processing method, device, equipment and medium based on confluence sending mechanism
JP2011019128A (en) Image quality evaluation device, image quality evaluation method, and program for them
JP2005151523A (en) Digital signal transmission apparatus, and digital signal recording apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140515

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150224

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150825