JP2009044300A - Measuring method of stream communication quality, and measuring system of stream communication quality - Google Patents

Measuring method of stream communication quality, and measuring system of stream communication quality Download PDF

Info

Publication number
JP2009044300A
JP2009044300A JP2007205205A JP2007205205A JP2009044300A JP 2009044300 A JP2009044300 A JP 2009044300A JP 2007205205 A JP2007205205 A JP 2007205205A JP 2007205205 A JP2007205205 A JP 2007205205A JP 2009044300 A JP2009044300 A JP 2009044300A
Authority
JP
Japan
Prior art keywords
rtp
missing
network
packet
router
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
JP2007205205A
Other languages
Japanese (ja)
Inventor
Toshitsugu Tsuji
寿嗣 辻
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.)
Panasonic Corp
Original Assignee
Panasonic Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp filed Critical Panasonic Corp
Priority to JP2007205205A priority Critical patent/JP2009044300A/en
Publication of JP2009044300A publication Critical patent/JP2009044300A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To enable a user to recognize whether a network A or a network B has a trouble when a communication failure occurs, in a system where a video reception terminal is connected to a server via the network A, through a router connected in the network B. <P>SOLUTION: Upon detecting a missing packet in a data stream (RTP packet) from the server 300, the router 100 forms a packet having information indicating that it is a missing packet to compensate the missing packet, and transmits the RTP packet to the video reception terminal. The video reception terminal 200 analyzes the RTP packet received from the router 100, thereby differently deciding whether the missing packet analyzed/detected is the one generated between the server 300 and the router 100 or between the router 100 and the video reception terminal 200. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、通信ネットワークを介して映像・音声コンテンツのストリームデータなどを送受信する装置に関し、特に、通信ネットワークにおけるストリームデータ通信の通信品質を測定する機能を有するシステムおよび通信品質測定方法に関するものである。   The present invention relates to an apparatus for transmitting / receiving stream data of video / audio contents via a communication network, and more particularly to a system having a function for measuring communication quality of stream data communication in a communication network and a communication quality measuring method. .

近年、通信回線(通信ネットワーク)を用いた動画配信サービスが盛んになりつつあり、ユーザは動画を視聴するための端末(映像受信端末)を操作し、望む時間に、望むコンテンツを、望む量だけ視聴することが可能となってきた。しかし、通信回線を用いて動画を視聴する場合、映像受信端末が設置される環境によって視聴できるコンテンツの品質が大きく異なる。例えば、映像受信端末が接続されている通信回線がFTTH(Fiber To The Home)であるか、あるいはADSL(Asymmetric Digital Subscriber Line)であるかによって、すなわち通信回線の種類や接続状態によって視聴可能なコンテンツの画質や受信レートなどに差が生じる。このように、通信回線の種類や接続状態によって送信される動画コンテンツの品質に差異はあるが、それぞれの通信回線や接続状況において通信品質を保持することは重要なことであり、そのため、動画の視聴を行う際に、映像コンテンツのストリームデータが送信される通信ネットワークのストリーム通信品質を測定することにより、通信障害が発生した場合の通信ネットワーク上の問題箇所を特定する技術が開発されてきた。このネットワークのストリーム通信品質を測定する技術は、通信ネットワーク上での障害発生時のトラブルシューティングを行う場合に重要なポイントとなり、問題箇所が家庭内ネットワークにあるのか家庭外ネットワークにあるのか、を特定することができるようにするためばかりでなく、通信ネットワークに接続されたそれぞれの映像受信端末において、受信可能な受信レート(伝送レート)を確認することができるようにするために重要な技術となっている。   In recent years, video distribution services using communication lines (communication networks) are becoming popular, and a user operates a terminal (video receiving terminal) for viewing a video, and at a desired time, a desired amount of content is obtained. It has become possible to watch. However, when viewing a moving image using a communication line, the quality of content that can be viewed varies greatly depending on the environment in which the video receiving terminal is installed. For example, content that can be viewed depending on whether the communication line to which the video receiving terminal is connected is FTTH (Fiber To The Home) or ADSL (Asymmetric Digital Subscriber Line), that is, depending on the type and connection state of the communication line Differences in image quality and reception rate. As described above, although there is a difference in the quality of the video content transmitted depending on the type and connection status of the communication line, it is important to maintain the communication quality in each communication line and connection status. A technology has been developed for identifying a problem location on a communication network when a communication failure occurs by measuring the stream communication quality of a communication network to which video content stream data is transmitted during viewing. The technology for measuring the stream communication quality of this network is an important point when troubleshooting when a failure occurs on the communication network, and identifies whether the problem is in the home network or the network outside the home. This is an important technique not only for enabling the reception of images but also for enabling the reception rate (transmission rate) that can be received to be confirmed at each video reception terminal connected to the communication network. ing.

このような通信ネットワークにおけるストリーム通信品質を測定する技術として、例えば、特許文献1に、ストリーム品質観測装置に関する従来技術が開示されている。   As a technique for measuring the stream communication quality in such a communication network, for example, Patent Document 1 discloses a conventional technique related to a stream quality observation apparatus.

特許文献1においては、通信ネットワークを介して互いに接続されている映像受信端末とコンテンツサーバ装置の間に設置された通信品質測定装置(以下、ルータと称す)が、ルータを挟む両ネットワークに伝送される映像コンテンツのストリーム通信品質の測定を行い、ユーザが映像コンテンツのストリームデータを受信している際に障害が発生した場合、ルータは測定したストリーム通信品質から両ネットワークのうちのどちらで障害が発生したか判断するように構成されている。   In Patent Document 1, a communication quality measuring device (hereinafter referred to as a router) installed between a video receiving terminal and a content server device connected to each other via a communication network is transmitted to both networks sandwiching the router. If a failure occurs when the video content stream communication quality is measured and the user is receiving the video content stream data, the router will fail in either network based on the measured stream communication quality. It is configured to determine whether or not.

次に、図16および図17を用いて、特許文献1に開示されている従来の通信品質測定システムについて説明する。なお、図16は、特許文献1に開示されている従来の通信品質測定システムの構成を示すブロック図であり、図17は、図16に示すルータの内部の構成を示すブロック図である。   Next, a conventional communication quality measurement system disclosed in Patent Document 1 will be described with reference to FIGS. 16 and 17. 16 is a block diagram showing a configuration of a conventional communication quality measurement system disclosed in Patent Document 1, and FIG. 17 is a block diagram showing an internal configuration of the router shown in FIG.

図16において、ルータ810は、ネットワークA840を介してサーバ装置(配信サーバ)830と接続されるとともに、ネットワークB850を介して映像受信装置(映像受信端末)820と接続されている。ここで、映像受信端末820は、デジタルテレビ、セットトップボックス、パーソナルコンピュータ等の通信ネットワークを用いる映像配信に対応した家電製品が考えられるが、これに限定されるものではない。また、サーバ装置830は、映像コンテンツや音声コンテンツ等のストリームデータを配信するサーバが考えられるが、これに限定されるものではない。また、ネットワークA840やネットワークB850は、インターネットやアクセス回線あるいは家庭内ネットワーク等が考えられるが、これに限定されるものではない。   In FIG. 16, a router 810 is connected to a server device (distribution server) 830 via a network A 840 and is connected to a video receiving device (video receiving terminal) 820 via a network B 850. Here, the video receiving terminal 820 may be a home appliance that supports video distribution using a communication network such as a digital television, a set-top box, or a personal computer, but is not limited thereto. The server device 830 may be a server that distributes stream data such as video content and audio content, but is not limited thereto. The network A 840 and the network B 850 can be the Internet, an access line, a home network, or the like, but are not limited thereto.

一方、ルータ810は、図17に示すとおり、通信制御部811、ストリームデータ解析部812、ストリーム管理データベース(以下、DBと称す)813および受信状況メッセージ解析部814で構成されており、ネットワークA840とネットワークB850のそれぞれの通信品質を測定する機能を有している。   On the other hand, as shown in FIG. 17, the router 810 includes a communication control unit 811, a stream data analysis unit 812, a stream management database (hereinafter referred to as DB) 813, and a reception status message analysis unit 814. It has a function of measuring the communication quality of each network B850.

通信制御部811は、ネットワークA840を介してサーバ装置830と、ネットワークB850を介して映像受信端末820とそれぞれ接続され、サーバ装置830と映像受信端末820間の通信セッションを管理する機能を有し、管理する通信セッションには、RTSP(Real−Time Streaming Protocol)、RTP(Real−time Transport Protocol)およびRTCP(RTP Control Protocol)が含まれる。ストリーム管理DB813は、サーバ装置830と映像受信端末820間の通信セッション毎のデータを管理する。ストリームデータ解析部812は、ルータ810を流れるストリームを解析してネットワークA840の通信品質を測定し、その測定結果をストリーム管理DBに送信する。受信状況メッセージ解析部814は、映像受信端末820から送信されるRTCPパケットを解析するとともに、ネットワークB850の通信品質を測定し、その測定結果をストリーム管理DBに送信する。   The communication control unit 811 is connected to the server device 830 via the network A 840 and the video receiving terminal 820 via the network B 850, and has a function of managing a communication session between the server device 830 and the video receiving terminal 820. The communication session to be managed includes RTSP (Real-Time Streaming Protocol), RTP (Real-time Transport Protocol), and RTCP (RTP Control Protocol). The stream management DB 813 manages data for each communication session between the server device 830 and the video receiving terminal 820. The stream data analysis unit 812 analyzes the stream flowing through the router 810, measures the communication quality of the network A840, and transmits the measurement result to the stream management DB. The reception status message analysis unit 814 analyzes the RTCP packet transmitted from the video reception terminal 820, measures the communication quality of the network B 850, and transmits the measurement result to the stream management DB.

次に、以上のように構成されたルータ810における通信品質の測定方法の手順について説明する。   Next, the procedure of the communication quality measuring method in the router 810 configured as described above will be described.

映像受信端末820は、サーバ装置830に対してRTSPのSETUP要求を送信してコンテンツの取得を行う。このとき、ルータ810の通信制御部811は、サーバ装置830からの応答メッセージに記述されるストリームデータと受信状況メッセージのポート番号を取得し、映像受信端末820のIPアドレス、サーバ装置830のIPアドレス、ストリームデータの受信ポート、受信状況メッセージの受信ポートの組み合わせをストリーム管理DB813に送信して記録する。以後、ルータ810は、通信制御部811内を流れるパケットを監視し、以下に示すように、ネットワークA840およびネットワークB850の通信品質を測定する。   The video receiving terminal 820 acquires the content by transmitting an RTSP SETUP request to the server device 830. At this time, the communication control unit 811 of the router 810 acquires the stream data described in the response message from the server device 830 and the port number of the reception status message, and the IP address of the video receiving terminal 820 and the IP address of the server device 830. The combination of the stream data reception port and the reception status message reception port is transmitted to the stream management DB 813 and recorded. Thereafter, the router 810 monitors packets flowing in the communication control unit 811 and measures the communication quality of the network A 840 and the network B 850 as described below.

まず、通信制御部811は、サーバ装置830から送信されているストリームデータを検出した場合、検出したストリームデータをストリームデータ解析部812に転送し、ストリームデータ解析部812は、ストリームデータに記述されているシーケンス番号とタイムスタンプからパケットロス率およびジッタを算出してネットワークA840の通信品質を測定し、その測定結果をストリーム管理DB813に送信して記録する。   First, when the communication control unit 811 detects the stream data transmitted from the server device 830, the communication control unit 811 transfers the detected stream data to the stream data analysis unit 812, and the stream data analysis unit 812 is described in the stream data. The packet loss rate and jitter are calculated from the sequence number and the time stamp, and the communication quality of the network A 840 is measured, and the measurement result is transmitted to the stream management DB 813 and recorded.

また、通信制御部811は、映像受信端末820から送信されている受信状況メッセージを検出した場合、検出した受信状況メッセージを受信状況メッセージ解析部814に転送し、受信状況メッセージ解析部814は、受信状況メッセージに記述されているサーバ装置830と映像受信端末820間のパケットロス率およびジッタの2つの情報を取得し、取得したこの2つの情報と、ストリームデータ解析部812で測定されストリーム管理DB813に記録されているネットワークA840の通信品質の情報であるパケットロス率およびジッタから、ネットワークB850の通信品質としてのパケットロス率およびジッタを算出し、その算出結果をネットワークB850の通信品質の情報としてストリーム管理DB813に送信して記録する。   When the communication control unit 811 detects the reception status message transmitted from the video reception terminal 820, the communication control unit 811 transfers the detected reception status message to the reception status message analysis unit 814. The reception status message analysis unit 814 receives the reception status message. Two pieces of information such as a packet loss rate and jitter between the server device 830 and the video receiving terminal 820 described in the status message are acquired, and the acquired two pieces of information are measured by the stream data analysis unit 812 and stored in the stream management DB 813. The packet loss rate and jitter as the communication quality of the network B 850 are calculated from the packet loss rate and jitter which are the information of the communication quality of the network A 840, and the stream management is performed using the calculated result as the communication quality information of the network B 850. Send to DB813 and record That.

ストリーム管理DB813は、ストリームデータ解析部812から送信されたネットワークA840の通信品質の測定結果および受信状況メッセージ解析部814から送信されたネットワークB850の通信品質の算出結果を記録するとともに、それぞれの測定結果あるいは算出結果であるパケットロス率およびジッタの値と予め定めたパケットロス率およびジッタの基準値とをそれぞれ比較することにより、ネットワークA840とネットワークB850の通信品質が受信(通信)可能であるか受信(通信)不可能であるかを判定する。   The stream management DB 813 records the measurement result of the communication quality of the network A 840 transmitted from the stream data analysis unit 812 and the calculation result of the communication quality of the network B 850 transmitted from the reception status message analysis unit 814, and each measurement result Alternatively, by comparing the packet loss rate and jitter values, which are the calculation results, with predetermined packet loss rate and jitter reference values, whether the communication quality of the network A 840 and the network B 850 can be received (communication) or not. Determine whether (communication) is impossible.

以上のようにして、コンテンツの配信に問題が生じた場合、ルータ810は、通信障害の原因となっている問題箇所がネットワークA840とネットワークB850のどちらにあるかを判断することができるとともに、ネットワークA840およびネットワークB850のそれぞれのネットワークにおける通信品質を測定あるいは算出することが可能となっている。
特開2004−228746号公報
As described above, when a problem occurs in content distribution, the router 810 can determine whether the problem location causing the communication failure is in the network A 840 or the network B 850, and the network. It is possible to measure or calculate the communication quality in each of the A840 network and the network B850.
JP 2004-228746 A

しかしながら、上述した従来の技術においては、ルータが配信サーバとルータ間およびルータと映像受信端末間の両ネットワークの通信品質の情報を保持しているため、映像受信端末は、それぞれのネットワークにおいて通信に障害が発生しても、ユーザに問題箇所の提示を行うことが出来ないという課題を有していた。   However, in the conventional technology described above, since the router holds information on the communication quality of both networks between the distribution server and the router and between the router and the video receiving terminal, the video receiving terminal communicates with each network. Even if a failure occurs, there is a problem that the problem location cannot be presented to the user.

さらに、上述した従来の技術においては、通信品質の測定とネットワーク上の問題箇所の特定を、ユーザが映像コンテンツを視聴している最中に行う必要があるため、ネットワーク上で通信品質の障害が発生してコンテンツが視聴できない状態になっていたとしても、ユーザは実際にコンテンツを視聴し始めるまで、コンテンツが視聴できない状態になっていることを認知することができず、そのためにユーザには不快感を与え、ネットワークには不要な負荷を与えてしまうという課題を有していた。   Furthermore, in the above-described conventional technology, it is necessary to measure the communication quality and identify the problem location on the network while the user is viewing the video content. Even if the content cannot be viewed, the user cannot recognize that the content cannot be viewed until the user actually starts viewing the content. There was a problem of giving pleasure and adding unnecessary load to the network.

本発明は、このような課題を解決するため、映像受信端末が、事前にテスト用コンテンツを活用して、ルータを挟む両ネットワークのストリーム通信品質を測定することができるストリーム通信品質測定方法およびストリーム通信品質測定システムを提供することを目的とする。   In order to solve such a problem, the present invention provides a stream communication quality measuring method and stream in which the video receiving terminal can measure the stream communication quality of both networks sandwiching the router by using the test content in advance. An object is to provide a communication quality measurement system.

上記目的を達成するために、本願の第1の発明のストリーム通信品質測定方法は、受信端末が第1のネットワークで接続されたルータを経由して第2のネットワークを介してサーバから映像や音声コンテンツなどのストリームデータを受信するシステムにおいて用いられるストリーム通信品質測定方法であって、前記受信端末から前記サーバに対して、所定の伝送レートのテストコンテンツのストリームデータを送信要求するステップ1と、前記ルータは、前記受信端末からの前記送信要求に対応して前記サーバから送信される前記所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を監視してRTPパケットの欠落の有無を検出するステップ2と、前記ステップ2において、RTPパケットの欠落が検出されない場合、前記ルータは前記サーバから受信したストリームデータをそのまま前記受信端末に送信し、RTPパケットの欠落を検出した場合、前記ルータは、検出されたシーケンス番号のRTPパケットが欠落したことを示す情報(欠落情報)を有し、かつ、前記欠落したRTPパケットのシーケンス番号と同一のシーケンス番号を有するRTPパケットを作成し、その作成したRTPパケットにより欠落したRTPパケットを補間したストリームデータを前記受信端末に送信するステップ3と、前記受信端末は、前記ステップ3において前記ルータが送信したストリームデータを受信して解析し、受信したストリームデータに含まれるRTPパケットのシーケンス番号の欠落したRTPパケットを抽出してその個数を計数し、その計数した結果を基に前記第1のネットワークのパケットロス率、すなわち、前記第1のネットワークのストリーム通信品質を算出するとともに、受信したストリームデータに含まれるRTPパケットが有する前記欠落情報を解析し、前記第2のネットワークにおいて欠落したRTPパケットを抽出してその個数を計数し、その計数した結果を基に前記第2のネットワークのパケットロス率、すなわち、前記第2のネットワークのストリーム通信品質を算出するステップ4と、を備えることを特徴とするものである。   In order to achieve the above object, a stream communication quality measuring method according to a first invention of the present application is a video or audio from a server via a second network via a router to which a receiving terminal is connected via the first network. A stream communication quality measurement method used in a system for receiving stream data such as content, wherein the receiving terminal requests transmission of test content stream data at a predetermined transmission rate from the server to the server, and The router receives the stream data of the test content at the predetermined transmission rate transmitted from the server in response to the transmission request from the receiving terminal via the second network, and is included in the received stream data RTP (Real-time Transport Protocol) ) Monitoring the sequence number of the packet to detect the presence or absence of a missing RTP packet. If no missing RTP packet is detected in step 2, the router receives the stream data received from the server as it is. When transmitting to the terminal and detecting a missing RTP packet, the router has information (missing information) indicating that the RTP packet with the detected sequence number is missing, and the sequence of the missing RTP packet Creating a RTP packet having the same sequence number as the number, and transmitting stream data obtained by interpolating the RTP packet lost by the created RTP packet to the receiving terminal; and Receive stream data sent by router The RTP packets with missing sequence numbers of the RTP packets included in the received stream data are extracted and counted, and the packet loss rate of the first network based on the counted result, that is, The stream communication quality of the first network is calculated, the missing information included in the RTP packet included in the received stream data is analyzed, the missing RTP packets in the second network are extracted, and the number is counted. And a step 4 of calculating a packet loss rate of the second network, that is, a stream communication quality of the second network based on the counted result.

また、本願の第2の発明のストリーム通信品質測定方法は、受信端末が第1のネットワークで接続されたルータを経由して第2のネットワークを介してサーバから映像や音声コンテンツなどのストリームデータを受信するシステムにおいて用いられるストリーム通信品質測定方法であって、前記受信端末から前記サーバに対して、所定の伝送レートのテストコンテンツのストリームデータを送信要求するステップ1と、前記ルータは、前記受信端末からの前記送信要求に対応して前記サーバから送信される前記所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を監視してRTPパケットのシーケンス番号の不連続の有無を検出するステップ2と、前記ステップ2において、RTPパケットのシーケンス番号の不連続が検出されない場合、前記ルータは、前記サーバから受信したストリームデータをそのまま前記受信端末に送信し、RTPパケットのシーケンス番号の不連続を検出した場合、その不連続は、RTPパケットの順番が逆転したことにより生じたと想定されるものか、あるいはRTPパケットの欠落により生じたと想定されるものかを判断し、RTPパケットの順番が逆転したことにより生じたと想定される場合は、前記サーバから受信したストリームデータをそのまま前記受信端末に送信し、RTPパケットの欠落により生じたと想定される場合は、欠落していると想定されたRTPパケットが、前記第2のネットワークにおいて欠落したことを示す情報(欠落情報)を有し、かつ、前記欠落していると想定されたRTPパケットのシーケンス番号と同一のシーケンス番号を有するRTPパケットを作成し、その作成したRTPパケットにより欠落したRTPパケットを補間したストリームデータを前記受信端末に送信するステップ3と、前記受信端末は、前記ステップ3において前記ルータが送信したRTPパケットを受信して解析し、前記ルータから受信したRTPパケットが前記ルータにより作成され補間されたRTPパケットか否か、また、前記ルータから受信したRTPパケットのシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の欠落によるものか、それともシーケンス番号の順番が逆転したことによるものかを判断するステップ4と、前記ステップ4において、前記ルータから受信したRTPパケットが前記ルータにより作成され補間されたRTPパケットであると判断した場合は、前記ルータから送信されたストリームデータのRTPパケットが有する前記欠落情報を解析し、前記第2のネットワークにおいて欠落したことを示す前記欠落情報が記述されたRTPパケットを欠落パケットとして抽出し、前記抽出した欠落パケットを前記第2のネットワークの欠落パケットリストに追加/記録するステップ5と、前記ステップ4において、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の欠落によるものと判断した場合は、そのシーケンス番号を有するRTPパケットは前記第1のネットワークにおいて欠落したものと見なし、そのシーケンス番号を有するRTPパケットを前記第1のネットワークの欠落パケットリストに記録し、また、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の順番が逆転したことによるものと判断した場合は、その不連続点において後に受信したシーケンス番号を有するRTPパケットを前記第1のネットワークの欠落パケットリストまたは前記第2のネットワークの欠落パケットリストから削除するステップ6と、前記受信端末は、前記第1のネットワークの欠落パケットリストおよび前記第2のネットワークの欠落パケットリストにそれぞれ記録されている欠落パケットの個数を基に、前記第1のネットワークおよび前記第2のネットワークのパケットロス率、すなわち、前記第1のネットワークおよび前記第2のネットワークのストリーム通信品質をそれぞれ算出するステップ7と、を備えることを特徴とするものである。   In the stream communication quality measurement method according to the second invention of the present application, stream data such as video and audio content is received from a server via a second network via a router connected to the receiving terminal by the first network. A method for measuring stream communication quality used in a receiving system, wherein the receiving terminal requests transmission of test content stream data at a predetermined transmission rate from the server to the server, and the router includes the receiving terminal The test content stream data transmitted from the server in response to the transmission request from the server is received via the second network, and the RTP (Real-time) included in the received stream data is received. Transport Protocol) packet sequence In step 2 for detecting the sequence number of the RTP packet by detecting the sequence number of the RTP packet, and in the step 2, when the sequence number discontinuity of the RTP packet is not detected, the router has received from the server When the stream data is transmitted to the receiving terminal as it is and a discontinuity in the sequence number of the RTP packet is detected, the discontinuity is assumed to be caused by the reverse of the order of the RTP packets, or the RTP packet If it is assumed that the error occurred due to the loss, and it is assumed that the error occurred because the order of the RTP packets was reversed, the stream data received from the server is sent to the receiving terminal as it is, and the missing RTP packet R assumed to be missing if An RTP packet having information (missing information) indicating that the P packet is missing in the second network and having the same sequence number as the sequence number of the RTP packet assumed to be missing Step 3 of generating and transmitting stream data obtained by interpolating the RTP packet lost by the generated RTP packet to the receiving terminal, and the receiving terminal receiving and analyzing the RTP packet transmitted by the router in Step 3 Whether or not the RTP packet received from the router is an RTP packet created and interpolated by the router, whether there is a discontinuity in the sequence number of the RTP packet received from the router, and the sequence number If a discontinuity occurs, the discontinuity is a sequence number. In step 4 for determining whether it is due to a drop or due to the reverse of the sequence number sequence, in step 4, the RTP packet received from the router is an RTP packet created and interpolated by the router. When it is determined, the missing information included in the RTP packet of the stream data transmitted from the router is analyzed, and the RTP packet in which the missing information indicating the missing in the second network is described is extracted as a missing packet. In step 5 where the extracted missing packet is added / recorded to the missing packet list of the second network, and in step 4, a discontinuity is detected in the RTP packet received from the router. If it is determined that the number is missing, RTP packet having the sequence number of the first network is regarded as missing in the first network, the RTP packet having the sequence number is recorded in the missing packet list of the first network, and the RTP packet received from the router If the discontinuity is detected and the sequence number is determined to be reversed, the RTP packet having the sequence number received later at the discontinuity point is detected as the missing packet of the first network. Step 6 for deleting from the list or the missing packet list of the second network, and the receiving terminal records the missing packets recorded in the missing packet list of the first network and the missing packet list of the second network, respectively. Based on the number of 1 network and the packet loss rate of the second network, i.e., the step 7 to calculate the stream communication quality of the first network and the second network, respectively, characterized in that comprises a.

また、本願の第3の発明のストリーム通信品質測定方法は、受信端末が第1のネットワークで接続されたルータを経由して第2のネットワークを介してサーバから映像や音声コンテンツなどのストリームデータを受信するシステムにおいて用いられるストリーム通信品質測定方法であって、前記受信端末から前記サーバに対して、所定の伝送レートのテストコンテンツのストリームデータを送信要求するステップ1と、前記ルータは、前記受信端末からの前記送信要求に対応して前記サーバから送信される前記所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を監視してRTPパケットのシーケンス番号の不連続の有無を検出するステップ2と、前記ステップ2において、RTPパケットのシーケンス番号の不連続が検出されない場合、前記ルータは、前記サーバから受信したストリームデータをそのまま前記受信端末に送信し、RTPパケットのシーケンス番号の不連続を検出した場合、その不連続は、RTPパケットの順番が逆転したことにより生じたと想定されるものか、あるいはRTPパケットの欠落により生じたと想定されるものかを判断し、RTPパケットの順番が逆転したことにより生じたと想定される場合は、前記サーバから受信したストリームデータをそのまま前記受信端末に送信するとともに、RTPパケットの順番が逆転したと想定される順番逆転パケットの個数を計数/加算して記録し、RTPパケットの欠落により生じたと想定される場合は、欠落していると想定されたRTPパケットが前記第2のネットワークにおいて欠落したことを示す情報(欠落情報)を有し、かつ、前記欠落していると想定されたRTPパケットのシーケンス番号と同一のシーケンス番号を有するかつ、シーケンス番号が連続するRTPパケットを作成し、前記欠落していると想定されたRTPパケットを前記作成したRTPパケットで補間した後、計数/加算して記録されている前記順番逆転パケットの個数に関する情報(個数値)とともに前記受信端末に送信するステップ3と、前記受信端末は、前記ステップ3において前記ルータが送信したRTPパケットを受信して解析し、前記ルータから受信したRTPパケットが前記ルータにより作成され補間されたRTPパケットか否か、また、前記ルータから受信したRTPパケットのシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の欠落によるものか、それともシーケンス番号の順番が逆転したことによるものかを判断するステップ4と、前記ステップ4において、前記ルータから受信したRTPパケットが前記ルータにより作成され補間されたRTPパケットであると判断した場合は、前記ルータから送信されたストリームデータのRTPパケットが有する前記欠落情報を解析し、前記第2のネットワークにおいて欠落したことを示す前記欠落情報が記述されたRTPパケットを欠落RTPパケットとして抽出し、前記抽出した欠落RTPパケットを前記第2のネットワークの欠落パケット個数記録手段に追加/記録するステップ5と、前記ステップ4において、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の欠落によるものと判断した場合は、そのRTPパケットは前記第1のネットワークにおいて欠落したものと見なし、その欠落RTPパケットの個数を前記第1のネットワークの欠落パケット個数記録手段に追加/記録し、また、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の順番が逆転したことによるものと判断した場合は、順番が逆転したことによるものと判断されたRTPパケットの個数を前記第1のネットワークの欠落パケット個数記録手段に記録されている欠落RTPパケットの個数から減算するステップ6と、前記受信端末は、前記第2のネットワークの欠落パケット個数記録手段に記録されている欠落RTPパケットの個数値から前記ルータから受信した前記順番逆転パケットの個数値を減算した値を基に、前記第2のネットワークのパケットロス率、すなわち、前記第2のネットワークのストリーム通信品質を算出し、また、前記第1のネットワークの欠落パケット個数記録手段に記録されている欠落RTPパケットの個数値に前記ルータから受信した前記順番逆転パケットの個数値を加算した値を基に、前記第1のネットワークのパケットロス率、すなわち、前記第1のネットワークのストリーム通信品質を算出するステップ7と、を備えることを特徴とするものである。   The stream communication quality measurement method of the third invention of the present application is a method for measuring stream data such as video and audio content from a server via a second network via a router to which a receiving terminal is connected via the first network. A method for measuring stream communication quality used in a receiving system, wherein the receiving terminal requests transmission of test content stream data at a predetermined transmission rate from the server to the server, and the router includes the receiving terminal The test content stream data transmitted from the server in response to the transmission request from the server is received via the second network, and the RTP (Real-time) included in the received stream data is received. Transport Protocol) packet sequence In step 2 for detecting the sequence number of the RTP packet by detecting the sequence number of the RTP packet, and in the step 2, when the sequence number discontinuity of the RTP packet is not detected, the router has received from the server When the stream data is transmitted to the receiving terminal as it is and a discontinuity in the sequence number of the RTP packet is detected, the discontinuity is assumed to be caused by the reverse of the order of the RTP packets, or the RTP packet When it is assumed that the data is assumed to have been generated due to omission, and it is assumed that the data is generated by reversing the order of the RTP packets, the stream data received from the server is transmitted to the receiving terminal as it is, and the RTP packet Count the number of order reversal packets that are assumed to be reversed in order. / Added and recorded, and when it is assumed that it was caused by a missing RTP packet, it has information (missing information) indicating that the RTP packet assumed to be missing is missing in the second network And an RTP packet having a sequence number that is the same as the sequence number of the RTP packet assumed to be missing and having a sequence number continuous, and the RTP packet assumed to be missing is Step 3 of transmitting to the receiving terminal together with information (number value) on the number of the order reversal packets recorded by counting / adding after interpolating with the created RTP packet, and the receiving terminal in step 3 RTP packets sent by the router are received and analyzed, and RTP packets received from the router are Whether or not the interpolated RTP packet is created by the router, whether or not there is a discontinuity in the sequence number of the RTP packet received from the router, and if there is a discontinuity in the sequence number, the discontinuity is Step 4 for determining whether the sequence number is missing or the sequence number is reversed. In step 4, the RTP packet generated by the router and interpolated with the RTP packet received from the router. If the RTP packet of the stream data transmitted from the router is analyzed, the missing information included in the second network is described. Extracted as an RTP packet and the extracted missing RT In step 5 in which P packets are added / recorded in the missing packet number recording means of the second network, and in step 4, a discontinuity is detected in the RTP packet received from the router. The RTP packet is regarded as missing in the first network, the number of missing RTP packets is added / recorded in the missing packet number recording means of the first network, and If a discontinuity is detected in the RTP packet received from the router and it is determined that the discontinuity is due to the reverse of the order of the sequence numbers, the number of RTP packets determined to be due to the reverse of the order is calculated. The missing RTP packet recorded in the missing packet number recording means of the first network. Step 6 of subtracting the number of packets from the packet, and the receiving terminal determines the number of the inversion packets received from the router from the number of missing RTP packets recorded in the missing packet number recording means of the second network. Based on the value obtained by subtracting the numerical value, the packet loss rate of the second network, that is, the stream communication quality of the second network is calculated, and is recorded in the missing packet number recording means of the first network. The packet loss rate of the first network, that is, the stream communication quality of the first network, based on a value obtained by adding the number value of the inversion packets received from the router to the number of missing RTP packets And step 7 for calculating.

また、本願の第4の発明のストリーム通信品質測定方法は、本願の第1乃至第3のいずれかの発明のストリーム通信品質測定方法における前記ステップ3において、RTPパケットの欠落を検出した場合、前記ルータは、1つの欠落したRTPパケットに対して前記欠落情報を有し、かつ、前記欠落したRTPパケットのシーケンス番号と同一のシーケンス番号を有するRTPパケットを少なくとも2個作成し、その作成した少なくとも2個のRTPパケットにより欠落したRTPパケットを補間したストリームデータを前記受信端末に送信し、前記ステップ4において、前記受信端末は、前記ステップ3において前記ルータが送信したストリームデータを受信して解析する場合、RTPパケットのシーケンス番号がすでに受信して解析したことがあるRTPパケットのシーケンス番号であることを検知すると、そのRTPパケットの解析を行わずに破棄することを特徴とするものである。   Further, the stream communication quality measurement method of the fourth invention of the present application is the above-described step 3 in the stream communication quality measurement method of any one of the first to third inventions of the present application. The router creates at least two RTP packets having the missing information for one missing RTP packet and having the same sequence number as the sequence number of the missing RTP packet. A case in which stream data obtained by interpolating RTP packets lost by RTP packets is transmitted to the receiving terminal, and in step 4, the receiving terminal receives and analyzes the stream data transmitted by the router in step 3 The RTP packet sequence number has already been received and analyzed Upon detecting that the sequence number of the RTP packet with the bets, and is characterized in that discarded without analysis of the RTP packet.

また、本願の第5の発明のストリーム通信品質測定方法は、本願の第1乃至第4のいずれかの発明のストリーム通信品質測定方法において、前記欠落情報は、RTPパケットにおけるRTPヘッダのペイロードタイプ、または、RTPヘッダのSSRC(Synchronization Source)識別子、または、RTPヘッダのCSRC(Contributing Source)識別子、または、RTPヘッダのヘッダ拡張、または、RTPヘッダのペイロードの内少なくとも1つを利用して記述されることを特徴とするものである。   The stream communication quality measurement method of the fifth invention of the present application is the stream communication quality measurement method of any of the first to fourth inventions of the present application, wherein the missing information is a payload type of an RTP header in an RTP packet, Alternatively, it is described using at least one of the SSRC (Synchronization Source) identifier of the RTP header, the CSRC (Contributing Source) identifier of the RTP header, the header extension of the RTP header, or the payload of the RTP header. It is characterized by this.

また、本願の第6の発明のストリーム通信品質測定方法は、受信端末が第1のネットワークで接続されたルータを経由して第2のネットワークを介してサーバから映像や音声コンテンツなどのストリームデータを受信するシステムにおいて用いられるストリーム通信品質測定方法であって、前記受信端末から前記サーバに対して、所定の伝送レートのテストコンテンツのストリームデータを送信要求するステップ1と、前記ルータは、前記受信端末からの前記送信要求に対応して前記サーバから送信される前記所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を予め定めた受信区間毎に監視してRTPパケットの欠落の有無を検出するステップ2と、前記ステップ2において、受信区間(イ)内でRTPパケットの欠落が検出されない場合、前記ルータは前記サーバから受信した前記受信区間(イ)のストリームデータをそのまま前記受信端末に送信し、受信区間(ロ)内で少なくとも1つのRTPパケットの欠落を検出した場合、前記ルータは、欠落していることが検出された前記受信区間(ロ)内の各RTPパケットが、前記第2のネットワークにおいて欠落したことを示すそれぞれの情報(各々の欠落情報)を、前記予め定めた受信区間内の全てのRTPパケットにおけるRTPヘッダ部に記述して、かつ、シーケンス番号が連続するRTPパケットを作成し、前記サーバから受信した前記受信区間(ロ)の全てのRTPパケットを前記作成したRTPパケットに置換した後、前記受信端末に送信するステップ3と、前記受信端末は、前記ステップ3において前記ルータが送信したストリームデータを受信して解析し、受信したストリームデータに含まれるRTPパケットのシーケンス番号の欠落したRTPパケットを抽出してその個数を計数し、その計数した結果を基に前記第1のネットワークのパケットロス率、すなわち、前記第1のネットワークのストリーム通信品質を算出するとともに、前記ルータから送信されたストリームデータのRTPパケットにおける前記RTPヘッダ部を前記受信区間毎に解析し、前記第2のネットワークにおいて欠落したことを示す前記各々の欠落情報が記述されたRTPパケットを前記受信区間毎に抽出してその個数を計数し、それらの計数した結果を基に前記第2のネットワークのパケットロス率、すなわち、前記第2のネットワークのストリーム通信品質を算出するステップ4と、を備えることを特徴とするものである。   In the stream communication quality measurement method according to the sixth invention of the present application, stream data such as video and audio content is received from a server via a second network via a router connected to the receiving terminal by the first network. A method for measuring stream communication quality used in a receiving system, wherein the receiving terminal requests transmission of test content stream data at a predetermined transmission rate from the server to the server, and the router includes the receiving terminal The test content stream data transmitted from the server in response to the transmission request from the server is received via the second network, and the RTP (Real-time) included in the received stream data is received. Transport Protocol) packet sequence In step 2 for detecting the presence or absence of RTP packets by monitoring each of the predetermined reception intervals, and in step 2, if no loss of RTP packets is detected in the reception interval (A), the router When the stream data received from the server in the receiving section (A) is transmitted to the receiving terminal as it is, and when the lack of at least one RTP packet is detected in the receiving section (B), the router is missing. Information indicating that each RTP packet in the reception section (b) detected in the second network is missing in each second reception section (each missing information) An RTP packet described in the RTP header part of the RTP packet and having a continuous sequence number is created and received from the server Step 3 where all RTP packets in the receiving section (b) are replaced with the created RTP packet and then transmitted to the receiving terminal, and the receiving terminal receives the stream data transmitted by the router in Step 3 The RTP packets with missing sequence numbers of the RTP packets included in the received stream data are extracted and counted, and the packet loss rate of the first network based on the counted result, that is, The stream communication quality of the first network is calculated, and the RTP header part in the RTP packet of the stream data transmitted from the router is analyzed for each reception section, and the fact that the second network is missing is determined. RTP packets in which the respective missing information is described Step 4 for extracting the number of communication sections and counting the number thereof, and calculating the packet loss rate of the second network, that is, the stream communication quality of the second network, based on the counted results. It is characterized by comprising.

また、本願の第7の発明のストリーム通信品質測定方法は、受信端末が第1のネットワークで接続されたルータを経由して第2のネットワークを介してサーバから映像や音声コンテンツなどのストリームデータを受信するシステムにおいて用いられるストリーム通信品質測定方法であって、前記受信端末から前記サーバに対して、所定の伝送レートのテストコンテンツのストリームデータを送信要求するステップ1と、前記ルータは、前記受信端末からの前記送信要求に対応して前記サーバから送信される前記所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を予め定めた受信区間毎に監視してRTPパケットのシーケンス番号の不連続の有無を検出するステップ2と、前記ステップ2において、受信区間(ハ)内でRTPパケットのシーケンス番号の不連続が検出されない場合、前記ルータは、前記サーバから受信した前記受信区間(ハ)のストリームデータをそのまま前記受信端末に送信し、受信区間(ニ)内でRTPパケットのシーケンス番号の不連続を検出した場合、その不連続は、RTPパケットの順番が逆転したことにより生じたと想定されるものか、あるいはRTPパケットの欠落により生じたと想定されるものかを判断し、RTPパケットの順番が逆転したことにより生じたと想定される場合は、前記サーバから受信した前記受信区間(ニ)のストリームデータをそのまま前記受信端末に送信し、RTPパケットの欠落により生じたと想定される場合は、欠落していると想定された前記受信区間(ニ)内の各RTPパケットが、前記第2のネットワークにおいて欠落したことを示すそれぞれの情報(各々の欠落情報)を、前記予め定めた受信区間内の全てのRTPパケットにおけるRTPヘッダ部に記述して、かつ、シーケンス番号が連続するRTPパケットを作成し、前記サーバから受信した前記受信区間(ニ)の全てのRTPパケットを前記作成したRTPパケットに置換した後、前記受信端末に送信するステップ3と、前記受信端末は、前記ステップ3において前記ルータが送信したRTPパケットを受信して予め定めた受信区間毎に解析し、前記ルータから受信したRTPパケットが前記ルータにより作成され置換されたRTPパケットか否か、また、前記ルータから受信したRTPパケットが予め定めた受信区間内でシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の欠落によるものか、それともシーケンス番号の順番が逆転したことによるものかを判断するステップ4と、前記ステップ4において、前記ルータから受信したRTPパケットが前記ルータにより作成され置換されたRTPパケットであると判断した場合は、前記ルータから送信されたストリームデータのRTPパケットにおける前記RTPヘッダ部を前記受信区間毎に解析し、前記第2のネットワークにおいて欠落したことを示す前記各々の欠落情報が記述されたRTPパケットを欠落パケットとして抽出し、前記抽出した欠落パケットを前記第2のネットワークの欠落パケットリストに追加/記録するステップ5と、前記ステップ4において、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の欠落によるものと判断した場合は、それらのシーケンス番号を有するRTPパケットは前記第1のネットワークにおいて欠落したものと見なし、それらのシーケンス番号を有するRTPパケットを前記第1のネットワークの欠落パケットリストに記録し、また、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の順番が逆転したことによるものと判断した場合は、その不連続点において後に受信したシーケンス番号を有するRTPパケットを前記第1のネットワークの欠落パケットリストまたは前記第2のネットワークの欠落パケットリストから削除するステップ6と、前記受信端末は、前記第1のネットワークの欠落パケットリストおよび前記第2のネットワークの欠落パケットリストにそれぞれ記録されている欠落パケットの個数を基に、前記第1のネットワークおよび前記第2のネットワークのパケットロス率、すなわち、前記第1のネットワークおよび前記第2のネットワークのストリーム通信品質をそれぞれ算出するステップ7と、を備えることを特徴とする。   In the stream communication quality measurement method according to the seventh invention of the present application, stream data such as video and audio content is received from a server via a second network via a router connected to the receiving terminal by the first network. A method for measuring stream communication quality used in a receiving system, wherein the receiving terminal requests transmission of test content stream data at a predetermined transmission rate from the server to the server, and the router includes the receiving terminal The test content stream data transmitted from the server in response to the transmission request from the server is received via the second network, and the RTP (Real-time) included in the received stream data is received. Transport Protocol) packet sequence Step 2 for monitoring the sequence number for each predetermined reception section to detect the presence or absence of discontinuity in the sequence number of the RTP packet; Is not detected, the router transmits the stream data of the reception section (c) received from the server to the receiving terminal as it is, and detects a discontinuity in the sequence number of the RTP packet within the reception section (d). In this case, it is determined whether the discontinuity is caused by the reverse of the order of the RTP packets or is assumed to be caused by the lack of the RTP packet, and the order of the RTP packets is reversed. When it is assumed that it has occurred, the stream data of the reception section (d) received from the server When it is assumed that the RTP packet is transmitted due to the loss of the RTP packet, each RTP packet in the reception section (d) that is assumed to be lost is lost in the second network. Each information shown (each missing information) is described in the RTP header part of all the RTP packets in the predetermined reception section, and an RTP packet with consecutive sequence numbers is created and received from the server After replacing all the RTP packets in the received section (d) with the created RTP packet, the step 3 transmits to the receiving terminal, and the receiving terminal receives the RTP packet transmitted by the router in the step 3 Receive and analyze every predetermined reception interval, and RTP packet received from the router is created by the router Whether or not the RTP packet has been replaced, whether the RTP packet received from the router has a sequence number discontinuity within a predetermined reception interval, and a sequence number has a discontinuity, Step 4 for determining whether the discontinuity is due to a missing sequence number or the order of the sequence number being reversed. In step 4, the RTP packet received from the router is created and replaced by the router. Each of the RTP headers in the RTP packet of the stream data transmitted from the router is analyzed for each reception section, and indicates that each of the RTP packets is missing in the second network. RTP packets with missing information are extracted as missing packets. And adding / recording the extracted missing packet to the missing packet list of the second network, and detecting a discontinuity in the RTP packet received from the router in the step 4, the discontinuity being a sequence If it is determined that the number is missing, RTP packets having these sequence numbers are regarded as missing in the first network, and RTP packets having those sequence numbers are regarded as missing packet lists in the first network. In addition, when a discontinuity is detected in the RTP packet received from the router and it is determined that the discontinuity is due to the reverse of the sequence number order, the sequence number received later at the discontinuity point RTP packets having the first network Step 6 of deleting from the dropped packet list or the missing packet list of the second network, and the receiving terminal are recorded in the missing packet list of the first network and the missing packet list of the second network, respectively. Calculating a packet loss rate of the first network and the second network based on the number of missing packets, that is, calculating the stream communication quality of the first network and the second network, respectively, It is characterized by providing.

また、本願の第8の発明のストリーム通信品質測定方法は、受信端末が第1のネットワークで接続されたルータを経由して第2のネットワークを介してサーバから映像や音声コンテンツなどのストリームデータを受信するシステムにおいて用いられるストリーム通信品質測定方法であって、前記受信端末から前記サーバに対して、所定の伝送レートのテストコンテンツのストリームデータを送信要求するステップ1と、前記ルータは、前記受信端末からの前記送信要求に対応して前記サーバから送信される前記所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を予め定めた受信区間毎に監視してRTPパケットのシーケンス番号の不連続の有無を検出するステップ2と、前記ステップ2において、受信区間(ホ)内でRTPパケットのシーケンス番号の不連続が検出されない場合、前記ルータは、前記サーバから受信した前記受信区間(ホ)のストリームデータをそのまま前記受信端末に送信し、受信区間(ヘ)内でRTPパケットのシーケンス番号の不連続を検出した場合、その不連続は、RTPパケットの順番が逆転したことにより生じたと想定されるものか、あるいはRTPパケットの欠落により生じたと想定されるものかを判断し、RTPパケットの順番が逆転したことにより生じたと想定される場合は、前記サーバから受信した前記受信区間(ヘ)のストリームデータをそのまま前記受信端末に送信するとともに、RTPパケットの順番が逆転したと想定される順番逆転パケットの個数を計数/加算して記録し、RTPパケットの欠落により生じたと想定される場合は、欠落していると想定された前記受信区間(ヘ)内の各RTPパケットが、前記第2のネットワークにおいて欠落したことを示すそれぞれの情報(各々の欠落情報)を、前記予め定めた受信区間内の全てのRTPパケットにおけるRTPヘッダ部に記述して、かつ、シーケンス番号が連続するRTPパケットを作成し、前記サーバから受信した前記受信区間(ヘ)の全てのRTPパケットを前記作成したRTPパケットに置換した後、計数/加算して記録されている前記順番逆転パケットの個数に関する情報(個数値)とともに前記受信端末に送信するステップ3と、前記受信端末は、前記ステップ3において前記ルータが送信したRTPパケットを受信して予め定めた受信区間毎に解析し、前記ルータから受信したRTPパケットが前記ルータにより作成され置換されたRTPパケットか否か、また、前記ルータから受信したRTPパケットが予め定めた受信区間内でシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の欠落によるものか、それともシーケンス番号の順番が逆転したことによるものかを判断するステップ4と、前記ステップ4において、前記ルータから受信したRTPパケットが前記ルータにより作成され置換されたRTPパケットであると判断した場合は、前記ルータから送信されたストリームデータのRTPパケットにおける前記RTPヘッダ部を前記受信区間毎に解析し、前記第2のネットワークにおいて欠落したことを示す前記各々の欠落情報が記述されたRTPパケットを欠落RTPパケットとして抽出し、前記抽出した欠落RTPパケットを前記第2のネットワークの欠落パケット個数記録手段に追加/記録するステップ5と、前記ステップ4において、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の欠落によるものと判断した場合は、それらのRTPパケットは前記第1のネットワークにおいて欠落したものと見なし、それらの欠落RTPパケットの個数を前記第1のネットワークの欠落パケット個数記録手段に追加/記録し、また、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の順番が逆転したことによるものと判断した場合は、順番が逆転したことによるものと判断されたRTPパケットの個数を前記第1のネットワークの欠落パケット個数記録手段に記録されている欠落RTPパケットの個数から減算するステップ6と、前記受信端末は、前記第2のネットワークの欠落パケット個数記録手段に記録されている欠落RTPパケットの個数値から前記ルータから受信した前記順番逆転パケットの個数値を減算した値を基に、前記第2のネットワークのパケットロス率、すなわち、前記第2のネットワークのストリーム通信品質を算出し、また、前記第1のネットワークの欠落パケット個数記録手段に記録されている欠落RTPパケットの個数値に前記ルータから受信した前記順番逆転パケットの個数値を加算した値を基に、前記第1のネットワークのパケットロス率、すなわち、前記第1のネットワークのストリーム通信品質を算出するステップ7と、を備えることを特徴とする。   In the stream communication quality measurement method according to the eighth invention of the present application, stream data such as video and audio content is received from a server via a second network via a router connected to the receiving terminal by the first network. A method for measuring stream communication quality used in a receiving system, wherein the receiving terminal requests transmission of test content stream data at a predetermined transmission rate from the server to the server, and the router includes the receiving terminal The test content stream data transmitted from the server in response to the transmission request from the server is received via the second network, and the RTP (Real-time) included in the received stream data is received. Transport Protocol) packet sequence Step 2 for monitoring the sequence number for each predetermined reception section to detect the presence or absence of discontinuity in the sequence number of the RTP packet, and in Step 2, the sequence number discontinuity of the RTP packet in the reception section (e) Is not detected, the router transmits the stream data of the reception section (e) received from the server to the receiving terminal as it is, and detects a discontinuity in the sequence number of the RTP packet in the reception section (f). In this case, it is determined whether the discontinuity is caused by the reverse of the order of the RTP packets or is assumed to be caused by the lack of the RTP packet, and the order of the RTP packets is reversed. If it is assumed that it has occurred, the stream data of the reception section (f) received from the server When transmitting to the receiving terminal and counting / adding the number of the order reversal packets that are assumed to have reversed the order of the RTP packets and recording it, and assuming that it is caused by the lack of RTP packets, it is missing Information indicating that each RTP packet in the assumed receiving section (f) is missing in the second network (each missing information) is sent to all the RTP packets in the predetermined receiving section. The RTP packet described in the RTP header portion and the sequence number is continuous is created, and all the RTP packets in the reception section (f) received from the server are replaced with the created RTP packets, and then the count is performed. / Send to be transmitted to the receiving terminal together with information (number value) on the number of the order reversal packets recorded by addition. 3 and the receiving terminal receives the RTP packet transmitted by the router in step 3 and analyzes it for each predetermined reception section, and the RTP packet received from the router is created and replaced by the router. Whether the RTP packet received from the router has a sequence number discontinuity within a predetermined reception interval, and if the sequence number has a discontinuity, the discontinuity In step 4 for determining whether the sequence number is missing or the sequence number is reversed, and in step 4, the RTP packet received from the router is created and replaced by the router. If it is determined as a packet, the stream data transmitted from the router The RTP header part of the RTP packet is analyzed for each reception section, and the RTP packet in which each piece of missing information indicating that it is missing in the second network is described as a missing RTP packet, and the extracted In step 5 for adding / recording a missing RTP packet in the second network missing packet number recording means, and in step 4, a discontinuity is detected in the RTP packet received from the router. If it is determined that it is due to a loss, the RTP packets are regarded as missing in the first network, and the number of the missing RTP packets is added / recorded in the missing packet number recording means of the first network. Also, the RTP packet received from the router is discontinuous If it is detected and it is determined that the discontinuity is due to the reverse of the sequence number sequence, the number of RTP packets determined to be due to the reverse sequence is recorded as the number of missing packets in the first network. Step 6 of subtracting from the number of missing RTP packets recorded in the packet, and the receiving terminal receives from the router the number of missing RTP packets recorded in the missing packet number recording means of the second network. The packet loss rate of the second network, that is, the stream communication quality of the second network is calculated based on the value obtained by subtracting the number value of the inversion packets, and the lost packet of the first network is calculated. The number value of missing RTP packets recorded in the number recording means is received from the router. Based on the value obtained by adding the number value of the turn reverse packet, a packet loss rate of the first network, i.e., characterized in that it comprises a step 7 to calculate the stream communication quality of the first network.

また、本願の第9の発明のストリーム通信品質測定方法は、本願の第6乃至8の発明のストリーム通信品質測定方法において、前記第2のネットワークにおいて欠落したことを示す前記各々の欠落情報を記述する前記RTPヘッダ部は、RTPヘッダのSSRC(Synchronization Source)識別子、または、RTPヘッダのCSRC(Contributing Source)識別子、または、RTPヘッダのヘッダ拡張の内の少なくとも1つであることを特徴とするものである。   Further, the stream communication quality measurement method of the ninth invention of the present application is the stream communication quality measurement method of the sixth to eighth inventions of the present application, wherein each of the missing information indicating that it is missing in the second network is described. The RTP header portion is at least one of an SSRC (Synchronization Source) identifier of the RTP header, a CSRC (Contributing Source) identifier of the RTP header, or a header extension of the RTP header. It is.

また、本願の第10の発明のストリーム通信品質測定システムは、受信端末と、前記受信端末と第1のネットワークで接続されたルータと、前記ルータと第2のネットワークで接続され、前記ルータを中継して前記第2のネットワークおよび前記第1のネットワークを介して前記受信端末に対して映像および音声コンテンツなどのストリームデータを送信するサーバとで構成されるストリーム通信品質測定システムであって、前記ルータは、前記受信端末からの送信要求に対応して前記サーバが送信する所定の伝送レートのテストコンテンツのストリームデータを解析し、ストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を監視してRTPパケットの欠落の有無を検出する手段1と、前記手段1において、前記サーバから受信したRTPパケットに欠落パケットが検出されない場合は、前記サーバから受信したストリームデータをそのまま前記受信端末に送信し、RTPパケットの欠落を検出した場合は、検出されたシーケンス番号のRTPパケットが欠落したことを示す情報(欠落情報)を有し、かつ、前記欠落したRTPパケットのシーケンス番号と同一のシーケンス番号を有するRTPパケットを作成し、その作成したRTPパケットにより欠落したRTPパケットを補間したストリームデータを前記受信端末に送信する手段2を具備し、前記受信端末は、前記サーバに対して前記所定の伝送レートのテストコンテンツのストリームデータを送信要求する手段3と、前記ルータが送信したストリームデータを受信して解析し、ストリームデータに含まれるRTPパケットのシーケンス番号を監視してRTPパケットの欠落の有無を検出し、前記第1のネットワークにおいて欠落したRTPパケットを抽出するとともに、前記ルータから受信したストリームデータに含まれるRTPパケットが有する前記欠落情報を解析して前記第2のネットワークにおいて欠落したRTPパケットを抽出する手段4と、検出/抽出された前記第1のネットワークにおける欠落パケットの個数を計数し、その計数した結果を基に前記第1のネットワークのパケットロス率、すなわち、前記第1のネットワークのストリーム通信品質を算出するとともに、前記欠落情報を基に抽出された前記第2のネットワークにおいて欠落したRTPパケットの個数を計数し、その計数した結果を基に前記第2のネットワークのパケットロス率、すなわち、前記第2のネットワークのストリーム通信品質を算出する手段5を具備する、ことを特徴とするものである。   A stream communication quality measurement system according to a tenth aspect of the present invention is a receiving terminal, a router connected to the receiving terminal through a first network, a router connected to the router through a second network, and relaying the router. A stream communication quality measuring system comprising the second network and a server that transmits stream data such as video and audio content to the receiving terminal via the first network, the router Analyzes the stream data of the test content having a predetermined transmission rate transmitted by the server in response to the transmission request from the receiving terminal, and determines the sequence number of the RTP (Real-time Transport Protocol) packet included in the stream data. Monitor for any missing RTP packets In the detecting means 1 and in the means 1, when no missing packet is detected in the RTP packet received from the server, the stream data received from the server is transmitted to the receiving terminal as it is, and the missing of the RTP packet is detected. The RTP packet having information (missing information) indicating that the RTP packet having the detected sequence number is missing and having the same sequence number as the sequence number of the missing RTP packet is created. Means 2 for transmitting stream data obtained by interpolating RTP packets lost by the created RTP packet to the receiving terminal, wherein the receiving terminal transmits the stream data of the test content at the predetermined transmission rate to the server Requesting means 3 and a stream transmitted by the router. Receive and analyze the data, monitor the sequence number of the RTP packet included in the stream data, detect the presence or absence of the RTP packet, extract the missing RTP packet in the first network, and from the router Means 4 for analyzing the missing information included in the RTP packet included in the received stream data and extracting the missing RTP packet in the second network; and the number of the missing packets in the first network detected / extracted The packet loss rate of the first network, that is, the stream communication quality of the first network is calculated based on the counted result, and the second network extracted based on the missing information is calculated. Count the number of missing RTP packets in the network Packet loss rate of the count result of the second based on the network, i.e., comprises means 5 for calculating a stream communication quality of the second network, it is characterized in.

また、本願の第11の発明のストリーム通信品質測定システムは、受信端末と、前記受信端末と第1のネットワークで接続されたルータと、前記ルータと第2のネットワークで接続され、前記ルータを中継して前記第2のネットワークおよび前記第1のネットワークを介して前記受信端末に対して映像および音声コンテンツなどのストリームデータを送信するサーバとで構成されるストリーム通信品質測定システムであって、前記ルータは、前記受信端末からの送信要求に対応して前記サーバから送信される所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を監視してRTPパケットのシーケンス番号の不連続の有無を検出する手段1と、前記手段1において、RTPパケットのシーケンス番号の不連続が検出されない場合、前記サーバから受信したストリームデータをそのまま前記受信端末に送信し、RTPパケットのシーケンス番号の不連続を検出した場合、その不連続は、RTPパケットの順番が逆転したことにより生じたと想定されるものか、あるいはRTPパケットの欠落により生じたと想定されるものかを判断し、RTPパケットの順番が逆転したことにより生じたと想定される場合は、前記サーバから受信したストリームデータをそのまま前記受信端末に送信し、RTPパケットの欠落により生じたと想定される場合は、欠落していると想定されたRTPパケットが、前記第2のネットワークにおいて欠落したことを示す情報(欠落情報)を有し、かつ、前記欠落していると想定されたRTPパケットのシーケンス番号と同一のシーケンス番号を有するRTPパケットを作成し、その作成したRTPパケットにより欠落したRTPパケットを補間したストリームデータを前記受信端末に送信する手段2を具備し、前記受信端末は、前記サーバに対して前記所定の伝送レートのテストコンテンツのストリームデータを送信要求する手段3と、前記ルータが送信したRTPパケットを受信して解析し、前記ルータから受信したRTPパケットが前記ルータにより作成され補間されたRTPパケットか否か、また、前記ルータから受信したRTPパケットのシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の欠落によるものか、それともシーケンス番号の順番が逆転したことによるものかを判断する手段4と、前記第1のネットワークおよび前記第2のネットワークにおいてそれぞれ発生した欠落パケットを、それぞれの欠落パケットリストに個別に記録する手段5と、前記ルータから受信したRTPパケットが前記ルータにより作成され補間されたRTPパケットであると判断した場合は、前記ルータから送信されたストリームデータのRTPパケットが有する前記欠落情報を解析し、前記第2のネットワークにおいて欠落したことを示す前記欠落情報が記述されたRTPパケットを欠落パケットとして抽出し、前記抽出した欠落パケットを前記第2のネットワークの前記欠落パケットリストに追加/記録する手段6と、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の欠落によるものと判断した場合は、それらのシーケンス番号を有するRTPパケットは前記第1のネットワークにおいて欠落したものと見なし、それらのシーケンス番号を有するRTPパケットを前記第1のネットワークの前記欠落パケットリストに記録し、また、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の順番が逆転したことによるものと判断した場合は、その不連続点において後に受信したシーケンス番号を有するRTPパケットを前記第1のネットワークの前記欠落パケットリストまたは前記第2のネットワークの前記欠落パケットリストから削除する手段7と、前記第1のネットワークの前記欠落パケットリストおよび前記第2のネットワークの前記欠落パケットリストにそれぞれ記録されている欠落パケットの個数を基に、前記第1のネットワークおよび前記第2のネットワークのパケットロス率、すなわち、前記第1のネットワークおよび前記第2のネットワークのストリーム通信品質をそれぞれ算出する手段8を備える、ことを特徴とするものである。   The stream communication quality measurement system according to an eleventh aspect of the present invention is a receiving terminal, a router connected to the receiving terminal through a first network, a router connected to the router through a second network, and relaying the router. A stream communication quality measuring system comprising the second network and a server that transmits stream data such as video and audio content to the receiving terminal via the first network, the router Receives the stream data of the test content having a predetermined transmission rate transmitted from the server in response to the transmission request from the receiving terminal via the second network, and includes the RTP ( Real-time Transport Protocol) packet sequence The means 1 for monitoring the number and detecting whether or not there is a discontinuity in the sequence number of the RTP packet, and if the discontinuity in the sequence number of the RTP packet is not detected in the means 1, the stream data received from the server is used as it is. When a discontinuity in the sequence number of an RTP packet is detected when transmitted to the receiving terminal, the discontinuity is assumed to have occurred due to the reverse of the order of the RTP packets or due to a missing RTP packet. If it is assumed that it is caused by reversing the order of the RTP packets, it is assumed that the stream data received from the server is transmitted to the receiving terminal as it is and caused by the lack of RTP packets. The RTP packet assumed to be missing is the second An RTP packet having information (missing information) indicating that it is missing in the network and having the same sequence number as the sequence number of the RTP packet assumed to be missing is created, and the created RTP packet Means 2 for transmitting stream data obtained by interpolating the RTP packet lost by the transmission terminal to the receiving terminal, and the receiving terminal requests the server to transmit stream data of the test content at the predetermined transmission rate. Receiving and analyzing the RTP packet transmitted by the router, whether the RTP packet received from the router is an RTP packet created and interpolated by the router, and the sequence number of the RTP packet received from the router There is no discontinuity, and the sequence number Means 4 for determining whether the discontinuity is caused by a missing sequence number or the order of the sequence numbers being reversed, and the first network and the second network. Means 5 for individually recording the missing packets generated in the router in the respective missing packet lists, and when determining that the RTP packet received from the router is an RTP packet created and interpolated by the router, the router The RTP packet of the stream data transmitted from is analyzed, the RTP packet in which the missing information indicating that it is missing in the second network is described is extracted as a missing packet, and the extracted missing packet For the missing packet of the second network If the discontinuity is detected in the RTP packet received from the router and the means 6 for adding / recording to the list, and it is determined that the discontinuity is due to the lack of sequence numbers, the RTP packets having those sequence numbers are Consider RTP packets with their sequence numbers as missing in the first network, record them in the missing packet list of the first network, detect discontinuities in the RTP packets received from the router, If it is determined that the discontinuity is due to the reverse of the order of the sequence numbers, the RTP packet having the sequence number received later at the discontinuity point is transferred to the missing packet list of the first network or the second Means 7 for deleting from the missing packet list of the network; Based on the number of missing packets recorded in the missing packet list of the first network and the missing packet list of the second network, packet loss rates of the first network and the second network That is, the apparatus includes a means 8 for calculating the stream communication quality of each of the first network and the second network.

また、本願の第12の発明のストリーム通信品質測定システムは、受信端末と、前記受信端末と第1のネットワークで接続されたルータと、前記ルータと第2のネットワークで接続され、前記ルータを中継して前記第2のネットワークおよび前記第1のネットワークを介して前記受信端末に対して映像および音声コンテンツなどのストリームデータを送信するサーバとで構成されるストリーム通信品質測定システムであって、前記ルータは、前記受信端末からの送信要求に対応して前記サーバから送信される所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を監視してRTPパケットのシーケンス番号の不連続の有無を検出し、シーケンス番号の不連続を検出した場合、その不連続はRTPパケットの順番が逆転したことにより生じたと想定されるものか、あるいはRTPパケットの欠落により生じたと想定されるものかを判断する手段1と、前記手段1において、RTPパケットのシーケンス番号の不連続が検出されない場合、前記サーバから受信したストリームデータをそのまま前記受信端末に送信し、RTPパケットのシーケンス番号の不連続を検出し、その不連続がRTPパケットの順番が逆転したことにより生じたと想定される場合は、前記サーバから受信したストリームデータをそのまま前記受信端末に送信するとともに、RTPパケットの順番が逆転したと想定される順番逆転パケットの個数を計数/加算して記録し、その不連続がRTPパケットの欠落により生じたと想定される場合は、欠落していると想定されたRTPパケットが前記第2のネットワークにおいて欠落したことを示す情報(欠落情報)を有し、かつ、前記欠落していると想定されるRTPパケットのシーケンス番号と同一のシーケンス番号を有するRTPパケットを作成し、前記欠落していると想定されたRTPパケットを前記作成したRTPパケットで補間した後、計数/加算して記録されている前記順番逆転パケットの個数に関する情報(個数値)とともに前記受信端末に送信する手段2を具備し、前記受信端末は、前記サーバに対して前記所定の伝送レートのテストコンテンツのストリームデータを送信要求する手段3と、前記ルータが送信したRTPパケットを受信して解析し、前記ルータから受信したRTPパケットが前記ルータにより作成され補間されたRTPパケットか否か、また、前記ルータから受信したRTPパケットのシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の欠落によるものか、それともシーケンス番号の順番が逆転したことによるものかを判断する手段4と、前記第1のネットワークおよび前記第2のネットワークにおいてそれぞれ発生した欠落パケットの個数を、それぞれ個別に管理して記録する手段5と、前記ルータから受信したRTPパケットが前記ルータにより作成され補間されたRTPパケットであると判断した場合は、前記ルータから送信されたストリームデータのRTPパケットが有する前記欠落情報を解析し、前記第2のネットワークにおいて欠落したことを示す前記欠落情報が記述されたRTPパケットを欠落RTPパケットとして抽出し、前記抽出した欠落RTPパケットの個数を前記第2のネットワークの欠落パケットの個数として前記手段6に追加/記録する手段6と、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の欠落によるものと判断した場合は、そのRTPパケットは前記第1のネットワークにおいて欠落したものと見なし、その欠落RTPパケットの個数を前記第1のネットワークの欠落パケットの個数として前記手段6に追加/記録する手段7と、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の順番が逆転したことによるものと判断した場合は、順番が逆転したことによるものと判断されたRTPパケットの個数を前記手段6において前記第1のネットワークの欠落パケットの個数として記録されている欠落RTPパケットの個数値から減算する手段8と、前記手段6において前記第2のネットワークの欠落パケットの個数として管理/記録されている欠落RTPパケットの個数値から前記ルータから受信した前記順番逆転パケットの個数値を減算した値を基に、前記第2のネットワークのパケットロス率、すなわち、前記第2のネットワークのストリーム通信品質を算出し、また、前記手段6において前記第1のネットワークの欠落パケット個数として管理/記録されている欠落RTPパケットの個数値に前記ルータから受信した前記順番逆転パケットの個数値を加算した値を基に、前記第1のネットワークのパケットロス率、すなわち、前記第1のネットワークのストリーム通信品質を算出する手段9を具備する、ことを特徴とするものである。   A stream communication quality measurement system according to a twelfth aspect of the present invention includes a receiving terminal, a router connected to the receiving terminal through a first network, the router connected to the router through a second network, and relaying the router. A stream communication quality measuring system comprising the second network and a server that transmits stream data such as video and audio content to the receiving terminal via the first network, the router Receives the stream data of the test content having a predetermined transmission rate transmitted from the server in response to the transmission request from the receiving terminal via the second network, and includes the RTP ( Real-time Transport Protocol) packet sequence The number is monitored to detect the presence / absence of discontinuity in the sequence number of the RTP packet. When the discontinuity in the sequence number is detected, is the discontinuity assumed to be caused by the reverse of the order of the RTP packets? Alternatively, if the means 1 for determining whether or not it is assumed to have occurred due to the loss of the RTP packet, and the means 1 does not detect the discontinuity of the sequence number of the RTP packet, the stream data received from the server is directly used as the receiving terminal When the RTP packet sequence number discontinuity is detected and the discontinuity is assumed to have occurred due to the reverse of the RTP packet order, the stream data received from the server is directly sent to the receiving terminal. Sending and reversing the order in which the order of RTP packets is assumed to be reversed When the number of packets is counted / added and recorded, and it is assumed that the discontinuity is caused by the lack of RTP packets, it is confirmed that the RTP packet assumed to be missing is missing in the second network. RTP packet having information (missing information) to be shown and having the same sequence number as the sequence number of the RTP packet assumed to be missing, and the RTP packet assumed to be missing Is interpolated with the created RTP packet, and then includes means 2 for transmitting to the receiving terminal together with information (number value) on the number of the order reversal packets recorded by counting / adding, the receiving terminal comprising: Means 3 for requesting the server to send stream data of the test content at the predetermined transmission rate; RTP packet received and analyzed, whether or not the RTP packet received from the router is an RTP packet created and interpolated by the router, and the sequence number discontinuity of the RTP packet received from the router occurs. And when there is a discontinuity in the sequence number, the means 4 for determining whether the discontinuity is due to a missing sequence number or a reverse sequence number, and the first Means 5 for individually managing and recording the number of lost packets respectively generated in the network and the second network; and the RTP packet received from the router is an RTP packet created and interpolated by the router If determined, stream data sent from the router The RTP packet of the RTP packet is analyzed, the RTP packet in which the missing information indicating the missing in the second network is described is extracted as a missing RTP packet, and the number of the extracted missing RTP packets is determined as the number of the missing RTP packets. When the discontinuity is detected in the RTP packet received from the router and the means 6 for adding / recording to the means 6 as the number of missing packets in the second network, and it is determined that the discontinuity is due to a missing sequence number Means that the RTP packet is regarded as missing in the first network, the number of missing RTP packets is added / recorded in the means 6 as the number of missing packets in the first network, and the router Detects a discontinuity in the RTP packet received from If it is determined that the order is reversed, the number of RTP packets determined to be caused by the reversed order is recorded as the number of missing packets in the first network in the means 6. Means 8 for subtracting from the number value of RTP packets, and the number of missing RTP packets managed / recorded as the number of missing packets in the second network in the means 6; The packet loss rate of the second network, that is, the stream communication quality of the second network, is calculated based on the value obtained by subtracting the individual value, and the number of lost packets of the first network in the means 6 is calculated. Received from the router to the number of missing RTP packets managed / recorded as A means 9 is provided for calculating a packet loss rate of the first network, that is, a stream communication quality of the first network, based on a value obtained by adding the number value of the order reversal packets. Is.

また、本願の第13の発明のストリーム通信品質測定システムは、本願の第10乃至12のいずれかの発明のストリーム通信品質測定システムにおいて、前記ルータにおける前記手段2は、RTPパケットの欠落を検出した場合、1つの欠落したRTPパケットに対して前記欠落情報を有し、かつ、前記欠落したRTPパケットのシーケンス番号と同一のシーケンス番号を有するかつ、同一のシーケンス番号を有するRTPパケットを少なくとも2個作成し、その作成した少なくとも2個のRTPパケットにより欠落したRTPパケットを補間したストリームデータを前記受信端末に送信し、前記受信端末における前記手段4は、前記ルータが送信したストリームデータを受信して解析する場合、RTPパケットのシーケンス番号がすでに受信して解析したことがあるRTPパケットのシーケンス番号であることを検知すると、そのRTPパケットの解析を行わずに破棄することを特徴とするものである。   The stream communication quality measurement system according to the thirteenth aspect of the present invention is the stream communication quality measurement system according to any of the tenth to twelfth aspects of the present invention, wherein the means 2 in the router detects a missing RTP packet. In this case, at least two RTP packets having the missing information for one missing RTP packet, having the same sequence number as the missing RTP packet, and having the same sequence number are created. Then, the stream data obtained by interpolating the RTP packet that is missing by the created at least two RTP packets is transmitted to the receiving terminal, and the means 4 in the receiving terminal receives and analyzes the stream data transmitted by the router. The RTP packet sequence number has already been received. Upon detecting that to a sequence number of the RTP packets may be analyzed, and is characterized in that discarded without analysis of the RTP packet.

また、本願の第14の発明のストリーム通信品質測定システムは、本願の第10乃至13の発明のストリーム通信品質測定システムにおいて、前記欠落情報は、RTPパケットにおけるRTPヘッダのペイロードタイプ、または、RTPヘッダのSSRC(Synchronization Source)識別子、または、RTPヘッダのCSRC(Contributing Source)識別子、または、RTPヘッダのヘッダ拡張、または、RTPヘッダのペイロードの内少なくとも1つを利用して記述されることを特徴とするものである。   The stream communication quality measurement system of the fourteenth invention of the present application is the stream communication quality measurement system of the tenth to thirteenth inventions of the present application, wherein the missing information is a payload type of an RTP header in an RTP packet or an RTP header. It is described using at least one of the SSRC (Synchronization Source) identifier, the CSRRC (Contributing Source) identifier of the RTP header, the header extension of the RTP header, or the payload of the RTP header. To do.

また、本願の第15の発明のストリーム通信品質測定システムは、受信端末と、前記受信端末と第1のネットワークで接続されたルータと、前記ルータと第2のネットワークで接続され、前記ルータを中継して前記第2のネットワークおよび前記第1のネットワークを介して前記受信端末に対して映像および音声コンテンツなどのストリームデータを送信するサーバとで構成されるストリーム通信品質測定システムであって、前記ルータは、前記受信端末からの送信要求に対応して前記サーバから送信される所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を予め定めた受信区間毎に監視してRTPパケットの欠落の有無を検出する手段1と、前記手段1において、受信区間(イ)内でRTPパケットの欠落が検出されない場合、前記サーバから受信した前記受信区間(イ)のストリームデータをそのまま前記受信端末に送信し、受信区間(ロ)内で少なくとも1つのRTPパケットの欠落を検出した場合、欠落していることが検出された前記受信区間(ロ)内の各RTPパケットが、前記第2のネットワークにおいて欠落したことを示すそれぞれの情報(各々の欠落情報)を、前記予め定めた受信区間内の全てのRTPパケットにおけるRTPヘッダ部に記述して、かつ、シーケンス番号が連続するRTPパケットを作成し、前記サーバから受信した前記受信区間(ロ)の全てのRTPパケットを前記作成したRTPパケットに置換した後、前記受信端末に送信する手段2を具備し、前記受信端末は、前記サーバに対して前記所定の伝送レートのテストコンテンツのストリームデータを送信要求する手段3と、前記ルータが送信したストリームデータを受信して解析し、受信したストリームデータに含まれるRPTパケットのシーケンス番号の欠落したRTPパケットを抽出してその個数を計数し、その計数した結果を基に前記第1のネットワークのパケットロス率、すなわち、前記第1のネットワークのストリーム通信品質を算出するとともに、前記ルータから送信されたストリームデータのRTPパケットにおける前記RTPヘッダ部を前記受信区間毎に解析し、前記第2のネットワークにおいて欠落したことを示す前記欠落情報が記述されたRTPパケットを前記受信区間毎に抽出してその個数を計数し、それらの計数した結果を基に前記第2のネットワークのパケットロス率、すなわち、前記第2のネットワークのストリーム通信品質を算出する手段4を具備する、ことを特徴とするものである。   A stream communication quality measurement system according to a fifteenth aspect of the present invention is a receiving terminal, a router connected to the receiving terminal via a first network, and connected to the router via a second network, and relays the router. A stream communication quality measuring system comprising the second network and a server that transmits stream data such as video and audio content to the receiving terminal via the first network, the router Receives the stream data of the test content having a predetermined transmission rate transmitted from the server in response to the transmission request from the receiving terminal via the second network, and includes the RTP ( Real-time Transport Protocol) packet sequence The means 1 for monitoring the number for each predetermined reception interval to detect the presence or absence of RTP packet loss, and if the RTP packet loss is not detected in the reception interval (a) in the means 1, received from the server When the stream data of the received section (A) is transmitted to the receiving terminal as it is and the lack of at least one RTP packet is detected in the received section (B), the received section detected to be missing Each information (each missing information) indicating that each RTP packet in (b) is missing in the second network is described in the RTP header part in all the RTP packets in the predetermined reception section. In addition, RTP packets with consecutive sequence numbers are created, and all RTP packets in the reception section (b) received from the server are created. Means for transmitting to the receiving terminal after replacing the RTP packet with the created RTP packet, and the receiving terminal requests the server to transmit stream data of the test content at the predetermined transmission rate. 3 and receiving and analyzing the stream data transmitted by the router, extracting RTP packets lacking the sequence number of the RPT packet included in the received stream data, counting the number thereof, and calculating the result The packet loss rate of the first network, that is, the stream communication quality of the first network is calculated, and the RTP header part in the RTP packet of the stream data transmitted from the router is analyzed for each reception section. And said missing indicating that it is missing in the second network RTP packets in which information is described are extracted for each reception section, the number of the RTP packets is counted, and the packet loss rate of the second network based on the counted result, that is, stream communication of the second network It is characterized by comprising means 4 for calculating quality.

また、本願の第16の発明のストリーム通信品質測定システムは、受信端末と、前記受信端末と第1のネットワークで接続されたルータと、前記ルータと第2のネットワークで接続され、前記ルータを中継して前記第2のネットワークおよび前記第1のネットワークを介して前記受信端末に対して映像および音声コンテンツなどのストリームデータを送信するサーバとで構成されるストリーム通信品質測定システムであって、前記ルータは、前記受信端末からの送信要求に対応して前記サーバから送信される所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を予め定めた受信区間毎に監視してRTPパケットのシーケンス番号の不連続の有無を検出する手段1と、受信区間(ハ)内でRTPパケットのシーケンス番号の不連続が検出されない場合、前記サーバから受信した前記受信区間(ハ)のストリームデータをそのまま前記受信端末に送信し、受信区間(ニ)内でRTPパケットのシーケンス番号の不連続を検出した場合、その不連続は、RTPパケットの順番が逆転したことにより生じたと想定されるものか、あるいはRTPパケットの欠落により生じたと想定されるものかを判断し、RTPパケットの順番が逆転したことにより生じたと想定される場合は、前記サーバから受信した前記受信区間(ニ)のストリームデータをそのまま前記受信端末に送信し、RTPパケットの欠落により生じたと想定される場合は、欠落していると想定された前記受信区間(ニ)内の各RTPパケットが、前記第2のネットワークにおいて欠落したことを示すそれぞれの情報(各々の欠落情報)を、前記予め定めた受信区間内の全てのRTPパケットにおけるRTPヘッダ部に記述して、かつ、シーケンス番号が連続するRTPパケットを作成し、前記サーバから受信した前記受信区間(ニ)の全てのRTPパケットを前記作成したRTPパケットに置換した後、前記受信端末に送信する手段2を具備し、前記受信端末は、前記サーバに対して前記所定の伝送レートのテストコンテンツのストリームデータを送信要求する手段3と、前記ルータが送信したRTPパケットを受信して予め定めた受信区間毎に解析し、前記ルータから受信したRTPパケットが前記ルータにより作成され置換されたRTPパケットか否か、また、前記ルータから受信したRTPパケットが予め定めた受信区間内でシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の欠落によるものか、それともシーケンス番号の順番が逆転したことによるものかを判断する手段4と、前記第1のネットワークおよび前記第2のネットワークにおいてそれぞれ発生した欠落パケットを、それぞれの欠落パケットリストに個別に記録する手段5と、前記ルータから受信したRTPパケットが前記ルータにより作成され置換されたRTPパケットであると判断した場合は、前記ルータから送信されたストリームデータのRTPパケットにおける前記RTPヘッダ部を前記受信区間毎に解析し、前記第2のネットワークにおいて欠落したことを示す前記各々の欠落情報が記述されたRTPパケットを欠落RTPパケットとして抽出し、前記抽出した欠落パケットを前記第2のネットワークの前記欠落パケットリストに追加/記録する手段6と、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の欠落によるものと判断した場合は、それらのシーケンス番号を有するRTPパケットは前記第1のネットワークにおいて欠落したものと見なし、それらのシーケンス番号を有するRTPパケットを前記第1のネットワークの前記欠落パケットリストに記録し、また、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の順番が逆転したことによるものと判断した場合は、その不連続点において後に受信したシーケンス番号を有するRTPパケットを前記第1のネットワークの前記欠落パケットリストまたは前記第2のネットワークの前記欠落パケットリストから削除する手段7と、前記第1のネットワークの前記欠落パケットリストおよび前記第2のネットワークの前記欠落パケットリストにそれぞれ記録されている欠落パケットの個数を基に、前記第1のネットワークおよび前記第2のネットワークのパケットロス率、すなわち、前記第1のネットワークおよび前記第2のネットワークのストリーム通信品質をそれぞれ算出する手段8を備える、ことを特徴とするものである。   The stream communication quality measurement system according to the sixteenth aspect of the present invention is a receiving terminal, a router connected to the receiving terminal through a first network, a router connected to the router through a second network, and relaying the router. A stream communication quality measuring system comprising the second network and a server that transmits stream data such as video and audio content to the receiving terminal via the first network, the router Receives the stream data of the test content having a predetermined transmission rate transmitted from the server in response to the transmission request from the receiving terminal via the second network, and includes the RTP ( Real-time Transport Protocol) packet sequence The means 1 for monitoring the number for each predetermined reception interval to detect the presence or absence of discontinuity in the sequence number of the RTP packet, and when the discontinuity in the sequence number of the RTP packet is not detected in the reception interval (c) When the stream data of the receiving section (c) received from the server is transmitted to the receiving terminal as it is and a discontinuity in the sequence number of the RTP packet is detected in the receiving section (d), the discontinuity If it is assumed that it is caused by the reversal of the order, or it is assumed that it is caused by the lack of the RTP packet, and if it is assumed that it is caused by the reverse of the order of the RTP packet, the server Stream data received from the receiving section (d) is transmitted to the receiving terminal as it is because of missing RTP packets. When it is assumed that it has occurred, each piece of information (each piece of missing information) indicating that each RTP packet in the reception section (d) that is assumed to be missing is missing in the second network. The RTP packet described in the RTP header part of all the RTP packets in the predetermined reception interval and having the sequence number consecutively created, and all the RTPs in the reception interval (d) received from the server Means 2 for transmitting a packet to the receiving terminal after replacing the packet with the created RTP packet, wherein the receiving terminal requests the server to send stream data of the test content at the predetermined transmission rate. 3 and the RTP packet transmitted by the router is received and analyzed for each predetermined reception interval, and the RTP received from the router is analyzed. Whether the P packet is an RTP packet created and replaced by the router, whether the RTP packet received from the router has a sequence number discontinuity within a predetermined reception interval, and the sequence number In the case where a discontinuity occurs, means 4 for determining whether the discontinuity is due to a missing sequence number or due to the reverse of the sequence number sequence, and in the first network and the second network When each of the generated missing packets is individually recorded in each missing packet list 5 and when it is determined that the RTP packet received from the router is an RTP packet created and replaced by the router, The RT in the RTP packet of the transmitted stream data The P header part is analyzed for each reception section, RTP packets in which the respective pieces of missing information indicating that they are missing in the second network are extracted as missing RTP packets, and the extracted missing packets are Means 6 for adding / recording to the missing packet list of the second network, and detecting discontinuities in the RTP packets received from the router, and determining that the discontinuities are due to missing sequence numbers RTP packets having numbers are regarded as missing in the first network, RTP packets having their sequence numbers are recorded in the missing packet list of the first network, and RTP packets received from the router Is detected in the sequence number order. If it is determined to be due to the reverse, the RTP packet having the sequence number received later at the discontinuity point is deleted from the missing packet list of the first network or the missing packet list of the second network. On the basis of means 7 and the number of missing packets recorded in the missing packet list of the first network and the missing packet list of the second network, respectively, the first network and the second network Means for calculating the packet loss rate, that is, the stream communication quality of the first network and the second network, respectively.

また、本願の第17の発明のストリーム通信品質測定システムは、受信端末と、前記受信端末と第1のネットワークで接続されたルータと、前記ルータと第2のネットワークで接続され、前記ルータを中継して前記第2のネットワークおよび前記第1のネットワークを介して前記受信端末に対して映像および音声コンテンツなどのストリームデータを送信するサーバとで構成されるストリーム通信品質測定システムであって、前記ルータは、前記受信端末からの送信要求に対応して前記サーバから送信される所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を予め定めた受信区間毎に監視してRTPパケットのシーケンス番号の不連続の有無を検出し、シーケンス番号の不連続を検出した場合、その不連続はRTPパケットの順番が逆転したことにより生じたと想定されるものか、あるいはRTPパケットの欠落により生じたと想定されるものかを判断する手段1と、前記手段1において不連続がRTPパケットの順番が逆転したことにより生じたと判断されたパケットの個数を計数/加算して記録する手段2と、前記手段1において、受信区間(ホ)内でRTPパケットのシーケンス番号の不連続が検出されない場合、前記サーバから受信した前記受信区間(ホ)のストリームデータをそのまま前記受信端末に送信し、受信区間(ヘ)内でRTPパケットのシーケンス番号の不連続を検出し、その不連続がRTPパケットの順番が逆転したことにより生じたと想定される場合は、前記サーバから受信した前記受信区間(ヘ)のストリームデータをそのまま前記受信端末に送信するとともに、RTPパケットの順番が逆転したと想定される順番逆転パケットの個数を前記手段2に計数/加算して記録し、その不連続がRTPパケットの欠落により生じたと想定される場合は、欠落していると想定された前記受信区間(ヘ)内の各RTPパケットが、前記第2のネットワークにおいて欠落したことを示すそれぞれの情報(欠落情報)を、前記予め定めた受信区間内の全てのRTPパケットにおけるRTPヘッダ部に記述して、かつ、シーケンス番号が連続するRTPパケットを作成し、前記サーバから受信した前受信区間(ヘ)の全てのRTPパケットを前記作成したRTPパケットに置換した後、前記手段2に記録されている前記順番逆転パケットの個数に関する情報(個数値)とともに前記受信端末に送信する手段3を具備し、前記受信端末は、前記サーバに対して前記所定の伝送レートのテストコンテンツのストリームデータを送信要求する手段4と、前記ルータが送信したRTPパケットを受信して予め定めた受信区間毎に解析し、前記ルータから受信したRTPパケットが前記ルータにより作成され置換されたRTPパケットか否か、また、前記ルータから受信したRTPパケットが予め定めた受信区間内でシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の欠落によるものか、それともシーケンス番号の順番が逆転したことによるものかを判断する手段5と、前記第1のネットワークおよび前記第2のネットワークにおいてそれぞれ発生した欠落パケットの個数を、それぞれ個別に管理して記録する手段6と、前記ルータから受信したRTPパケットが前記ルータにより作成され置換されたRTPパケットであると判断した場合は、前記ルータから送信されたストリームデータのRTPパケットにおける前記RTPヘッダ部を前記受信区間毎に解析し、前記第2のネットワークにおいて欠落したことを示す前記各々の欠落情報が記述されたRTPパケットを欠落RTPパケットとして抽出し、前記抽出した欠落RTPパケットの個数を前記第2のネットワークの欠落パケットの個数として前記手段6に追加/記録する手段7と、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の欠落によるものと判断した場合は、それらのRTPパケットは前記第1のネットワークにおいて欠落したものと見なし、それらの欠落RTPパケットの個数を前記第1のネットワークの欠落パケットの個数として前記手段6に追加/記録する手段8と、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の順番が逆転したことによるものと判断した場合は、順番が逆転したことによるものと判断されたRTPパケットの個数を前記手段6において前記第1のネットワークの欠落パケットの個数として記録されている欠落RTPパケットの個数値から減算する手段9と、前記手段6において前記第2のネットワークの欠落パケットの個数として管理/記録されている欠落RTPパケットの個数値から前記ルータから受信した前記順番逆転パケットの個数値を減算した値を基に、前記第2のネットワークのパケットロス率、すなわち、前記第2のネットワークのストリーム通信品質を算出し、また、前記手段6において前記第1のネットワークの欠落パケット個数として管理/記録されている欠落RTPパケットの個数値に前記ルータから受信した前記順番逆転パケットの個数値を加算した値を基に、前記第1のネットワークのパケットロス率、すなわち、前記第1のネットワークのストリーム通信品質を算出する手段10を具備する、ことを特徴とするものである。   A stream communication quality measurement system according to a seventeenth aspect of the present invention is a relay terminal connected to a receiving terminal, a router connected to the receiving terminal via a first network, and connected to the router via a second network. A stream communication quality measurement system comprising: the second network; and a server that transmits stream data such as video and audio content to the receiving terminal via the first network, the router Receives the stream data of the test content having a predetermined transmission rate transmitted from the server in response to the transmission request from the receiving terminal via the second network, and includes the RTP ( Real-time Transport Protocol) packet sequence The number is monitored for each predetermined reception interval to detect whether or not the sequence number of the RTP packet is discontinuous. When the sequence number discontinuity is detected, the discontinuity is caused by the reverse of the order of the RTP packets. Means 1 for determining whether it is assumed to have occurred or to be assumed to have occurred due to a lack of an RTP packet, and the discontinuity in the means 1 is determined as a result of reversing the order of RTP packets. If the discontinuity of the sequence number of the RTP packet is not detected in the receiving section (e) in the means 2 for counting / adding and recording the number, and the means 1, the receiving section (e) received from the server Stream data is sent to the receiving terminal as it is, and the sequence number discontinuity of the RTP packet is detected within the receiving section (f). When it is assumed that the discontinuity is caused by the reverse of the order of the RTP packets, the stream data of the reception section (f) received from the server is transmitted to the receiving terminal as it is, and the order of the RTP packets is Counting / adding the number of order-reversed packets that are assumed to be reversed to the means 2 and recording them, and when it is assumed that the discontinuity is caused by the lack of RTP packets, it is assumed that they are missing. Each information (missing information) indicating that each RTP packet in the receiving section (f) is missing in the second network is described in the RTP header part of all the RTP packets in the predetermined receiving section. All of the previous reception sections (f) received from the server by creating RTP packets with consecutive sequence numbers. After replacing the RTP packet with the created RTP packet, it comprises means 3 for transmitting to the receiving terminal together with information (number value) on the number of the order reversal packets recorded in the means 2, , Means 4 for requesting transmission of test content stream data of the predetermined transmission rate to the server, and receiving the RTP packet transmitted by the router, analyzing it for each predetermined reception section, and receiving from the router Whether the received RTP packet is an RTP packet created and replaced by the router, whether the RTP packet received from the router has a sequence number discontinuity within a predetermined reception interval, and the sequence number If there is a discontinuity, is the discontinuity due to missing sequence numbers or Means 5 for determining whether the order of the sequence number is reversed; means 6 for individually managing and recording the number of missing packets respectively generated in the first network and the second network; When it is determined that the RTP packet received from the router is an RTP packet created and replaced by the router, the RTP header part in the RTP packet of the stream data transmitted from the router is analyzed for each reception section. Then, the RTP packet in which each piece of missing information indicating that it is missing in the second network is extracted as a missing RTP packet, and the number of the missing missing RTP packets is determined as the number of missing packets in the second network. Means 7 for adding / recording as a number to said means 6; If a discontinuity is detected in the RTP packets received from the router and it is determined that the discontinuity is caused by a missing sequence number, the RTP packets are regarded as missing in the first network, and their missing A means 8 for adding / recording the number of RTP packets in the means 6 as the number of missing packets in the first network, and detecting a discontinuity in the RTP packet received from the router. If the number of RTP packets determined to have been reversed is recorded as the number of missing packets of the first network in the means 6, the number of RTP packets recorded as the number of missing packets of the first network is recorded in the means 6. Means 9 for subtracting from the number value of the second network in said means 6 and said means 6 Based on the value obtained by subtracting the number value of the inversion packets received from the router from the number value of the missing RTP packets managed / recorded as the number of missing packets, that is, the packet loss rate of the second network, that is, The stream communication quality of the second network is calculated, and the order reversal received from the router to the number of missing RTP packets managed / recorded as the number of missing packets of the first network in the means 6 And a means for calculating a packet loss rate of the first network, that is, a stream communication quality of the first network, based on a value obtained by adding the number of packets. .

また、本願の第18の発明のストリーム通信品質測定システムは、本願の第15乃至17の発明のストリーム通信品質測定システムにおいて、前記第2のネットワークにおいて欠落したことを示す前記各々の欠落情報を記述する前記RTPヘッダ部は、RTPヘッダのSSRC(Synchronization Source)識別子、または、RTPヘッダのCSRC(Contributing Source)識別子、または、RTPヘッダのヘッダ拡張の内の少なくとも1つであることを特徴とするものである。   The stream communication quality measurement system according to the eighteenth aspect of the present invention is the stream communication quality measurement system according to the fifteenth to seventeenth aspects of the present application, wherein each of the missing information indicating that the second network is missing is described. The RTP header portion is at least one of an SSRC (Synchronization Source) identifier of the RTP header, a CSRC (Contributing Source) identifier of the RTP header, or a header extension of the RTP header. It is.

以下に、本発明を実施するための形態について、図面を参照しながら説明する。   EMBODIMENT OF THE INVENTION Below, the form for implementing this invention is demonstrated, referring drawings.

(実施の形態1)
本発明の実施の形態1においては、映像受信端末がサーバ装置とルータ間、ルータと映像受信端末間の通信品質を測定するために、ルータが、サーバ装置とルータ間で欠落したストリームデータのパケット部分に、欠落したパケットに替えて新規に作成したパケットを挿入/補間して映像受信端末に送信する場合を例に取って説明する。また、説明を簡単にするため、映像受信端末(映像受信装置)が映像コンテンツのみを受信する場合を例に取って説明するが、これに限るものではなく、映像受信端末が通信ネットワークを介してサーバ装置から受信/処理するデータが映像コンテンツのみならず音声コンテンツや映像・音声コンテンツ以外のデータなどを含んでいても、同様の効果を発揮することは言うまでもない。
(Embodiment 1)
In Embodiment 1 of the present invention, in order for the video receiving terminal to measure the communication quality between the server device and the router and between the router and the video receiving terminal, the router receives a stream data packet that is lost between the server device and the router. A case will be described as an example where a newly created packet is inserted / interpolated in place of the missing packet and transmitted to the video receiving terminal. Further, in order to simplify the description, the case where the video receiving terminal (video receiving apparatus) receives only video content will be described as an example. However, the present invention is not limited to this, and the video receiving terminal is connected via a communication network. It goes without saying that the same effect is exhibited even if the data received / processed from the server apparatus includes not only video content but also data other than audio content and video / audio content.

また、ルータは、特許文献1に開示されているストリーム通信品質観測装置と同様のストリーム通信品質の測定機能を有するものではないが、通信品質に関係するストリームデータのパケットの欠落を検出する機能を有するルータであり、本発明の各々の実施の形態においてもルータと称することにする。   The router does not have the same stream communication quality measurement function as that of the stream communication quality observation device disclosed in Patent Document 1, but has a function of detecting a loss of stream data packets related to the communication quality. The router is also referred to as a router in each embodiment of the present invention.

図1は、本発明の実施の形態1におけるストリーム通信品質測定システムの構成を示すブロック図である。なお、本発明の実施の形態1におけるストリーム通信品質測定システムの構成は、従来例として図16に示したストリーム通信品質測定システムの構成と構成上は同じである。また、ネットワークA400およびネットワークB500は、それぞれネットワークA840およびネットワークB850とほぼ同様の機能/性能等を有するものであり、サーバ装置300は、テスト用の映像コンテンツを保持している以外はサーバ装置830とほぼ同様の機能/性能等を有するものであるので、ここではこれらの説明を省略する。また、図1においては、ネットワークB500で接続されているルータ100と映像受信端末200は、ネットワークA400に一組しか接続されていないが、一般的には、多数組のネットワークで接続されたルータと映像受信端末がネットワークA400に接続されており、このことは後述する本発明の実施の形態2、3および4においても同様である。   FIG. 1 is a block diagram showing a configuration of a stream communication quality measurement system according to Embodiment 1 of the present invention. The configuration of the stream communication quality measurement system in Embodiment 1 of the present invention is the same as the configuration of the stream communication quality measurement system shown in FIG. 16 as a conventional example. The network A 400 and the network B 500 have substantially the same functions / performances as the network A 840 and the network B 850, respectively. The server device 300 is similar to the server device 830 except that it holds test video content. Since they have substantially the same functions / performances, their description is omitted here. In FIG. 1, only one set of the router 100 and the video receiving terminal 200 connected by the network B500 is connected to the network A400. The video receiving terminal is connected to the network A 400, and this is the same in the second, third and fourth embodiments of the present invention described later.

ルータ100は、ネットワークA400を介してサーバ装置300と接続されており、ネットワークA400において生じたパケットの欠落を検出し、その検出したパケット欠落の情報を、ネットワークB500を介して接続されている映像受信端末200へ送信する機能を有する。映像受信端末200は、デジタルテレビ、セットトップボックス、パーソナルコンピュータ等の通信ネットワークでの映像配信に対応した家電製品が考えられるが、これに限定されるものではない。   The router 100 is connected to the server apparatus 300 via the network A400, detects the packet loss that has occurred in the network A400, and receives the detected packet loss information as a video reception connected via the network B500. It has a function to transmit to the terminal 200. The video receiving terminal 200 may be a home appliance that supports video distribution over a communication network such as a digital television, a set-top box, or a personal computer, but is not limited thereto.

次に、図2を用いて、ルータ100の具体的な構成について説明する。なお、図2は本発明の実施の形態1におけるルータ100の内部の構成を示すブロック図である。また、通信制御部101は、図17における通信制御部811とほぼ同様の機能/性能を有するものであるので、ここでは説明を省略する。   Next, a specific configuration of the router 100 will be described with reference to FIG. FIG. 2 is a block diagram showing an internal configuration of the router 100 according to the first embodiment of the present invention. The communication control unit 101 has substantially the same function / performance as the communication control unit 811 in FIG.

ストリームデータ解析/補間部102は、サーバ装置300が映像受信端末200に対して送信中のルータ100を流れるストリームデータを通信制御部101を介して受信し、受信したストリームデータのパケットのシーケンス番号を解析してネットワークA400において欠落したパケットのシーケンス番号を検出するとともに、欠落したパケット部を後述するストリームデータ作成部103において作成されたパケットにより補間する。   The stream data analysis / interpolation unit 102 receives the stream data flowing through the router 100 being transmitted to the video receiving terminal 200 by the server device 300 via the communication control unit 101, and determines the sequence number of the received stream data packet. The sequence number of the missing packet is detected in the network A400, and the missing packet part is interpolated by the packet created in the stream data creation unit 103 described later.

ストリームデータ作成部103は、ネットワークA400において生じたパケット欠落の情報を記述したRTPパケットを作成する。   The stream data creation unit 103 creates an RTP packet that describes information about packet loss that has occurred in the network A400.

ストリーム管理DB104は、ストリームデータ解析/補間部102における解析結果や補完状況などの情報を記録し、さらに通信制御部101から転送される映像受信端末200やサーバ装置300との間の通信制御に関連する情報などを記録する。   The stream management DB 104 records information such as an analysis result and a complementation status in the stream data analysis / interpolation unit 102, and further relates to communication control between the video receiving terminal 200 and the server device 300 transferred from the communication control unit 101. Record information to be used.

次に、図3を用いて映像受信端末200の具体的な構成について説明する。なお、図3は、本発明の実施の形態1における映像受信端末200の内部の構成を示すブロック図である。   Next, a specific configuration of the video reception terminal 200 will be described with reference to FIG. FIG. 3 is a block diagram showing an internal configuration of video receiving terminal 200 according to Embodiment 1 of the present invention.

図3において、通信制御部201は、ネットワークB500とのインターフェースの機能を有し、映像受信端末200とネットワークB500間の入出力の制御を行う。   In FIG. 3, the communication control unit 201 has a function of an interface with the network B 500, and controls input / output between the video receiving terminal 200 and the network B 500.

ストリームデータ解析部202は、ルータ100からネットワークB500を介してRTPにて送信されるストリームデータを通信制御部201経由で受信し、受信したRTPのストリームデータを解析してネットワークA400およびネットワークB500においてそれぞれ発生したパケット欠落を測定する。このストリームデータ解析部202が受信するストリームデータには、サーバ装置300から送信される映像や音声等のコンテンツデータや、ルータ100のストリームデータ作成部103が作成したネットワークA400におけるパケット欠落の情報を記述したデータなどが含まれる。   The stream data analysis unit 202 receives stream data transmitted from the router 100 via the network B500 via the RTP via the communication control unit 201, analyzes the received RTP stream data, and in the network A400 and the network B500, respectively. Measure the packet loss that occurred. In the stream data received by the stream data analysis unit 202, content data such as video and audio transmitted from the server device 300, and information on packet loss in the network A400 created by the stream data creation unit 103 of the router 100 are described. Data etc. included.

ストリーム制御部203は、サーバ装置300に対して、通信制御部201からネットワークB500、ルータ100およびネットワークA400を介してRTSPのSETUPリクエスト等のテストコンテンツの送信要求を送信し、この送信要求に対応してサーバ装置300から送信されるテストコンテンツのストリームを、通信制御部201を介してストリームデータ解析部202で受信するための制御を行う。   The stream control unit 203 transmits a test content transmission request such as an RTSP SETUP request from the communication control unit 201 to the server apparatus 300 via the network B 500, the router 100, and the network A 400, and responds to the transmission request. Control is performed so that the stream data analysis unit 202 receives the test content stream transmitted from the server apparatus 300 via the communication control unit 201.

ストリーム管理DB204は、ストリームデータ解析部202が解析/測定したネットワークA400およびネットワークB500におけるパケット欠落の測定結果に関する情報、すなわち、サーバ装置300とルータ100間およびルータ100と映像受信端末200間の通信品質に関する情報や、映像受信端末200がサーバ装置300との間の通信品質の測定を行うためのサーバ装置300が具備するテストコンテンツ(テスト映像ストリーム)のリストや、テスト映像ストリーム毎のネットワークA400およびネットワークB500のそれぞれの通信品質の情報や、パケット欠落の測定結果に基づき判定されるそれぞれのネットワークの受信(通信)可能/不可能の判定結果に関する情報などを記録する。   The stream management DB 204 is information regarding the packet loss measurement result in the network A 400 and the network B 500 analyzed / measured by the stream data analysis unit 202, that is, communication quality between the server device 300 and the router 100 and between the router 100 and the video receiving terminal 200. Information, a list of test contents (test video stream) included in the server device 300 for the video receiving terminal 200 to measure communication quality with the server device 300, a network A400 and a network for each test video stream Information on the communication quality of each B500, information on the determination result of whether or not each network can be received (communication) determined based on the measurement result of packet loss, and the like are recorded.

結果表示部205は、ストリーム管理DB204からそれぞれのネットワークにおける通信品質の測定結果および/あるいは判定結果を取得し、ユーザが認知できるように表示する。なお、測定および/あるいは判定結果の表示に関しては、ディスプレイに表示する方法やプリントアウトする等の方法が考えられるがこれに限定されるものではない。   The result display unit 205 acquires the measurement result and / or determination result of the communication quality in each network from the stream management DB 204 and displays it so that the user can recognize it. In addition, regarding the display of the measurement and / or determination result, a method of displaying on a display or a method of printing out can be considered, but the method is not limited to this.

次に、図4および図5を用いて、以上のように構成された本発明の実施の形態1の通信品質測定システムにおいて、映像受信端末200が、サーバ装置300とルータ100間およびルータ100と映像受信端末200間、すなわちネットワークA400およびネットワークB500におけるそれぞれのパケット欠落を解析/測定する手順について説明する。なお、図4は、本発明の実施の形態1におけるパケット欠落を解析/測定する場合の手順を示すフローチャートであり、図5は、各々のネットワークにおけるパケットの欠落とルータが欠落したパケットを補間する場合の一例を示す図である。   Next, in FIG. 4 and FIG. 5, in the communication quality measurement system according to the first embodiment of the present invention configured as described above, the video reception terminal 200 is connected between the server device 300 and the router 100 and between the router 100 and A procedure for analyzing / measuring packet loss between the video receiving terminals 200, that is, in the network A 400 and the network B 500 will be described. FIG. 4 is a flowchart showing a procedure for analyzing / measuring packet loss in the first embodiment of the present invention, and FIG. 5 interpolates packet loss and router-missed packets in each network. It is a figure which shows an example of a case.

映像受信端末200において、ストリーム制御部203は、サーバ装置300が具備しているテストコンテンツ(テスト用映像ストリーム)であって、ストリーム管理DB204が保持しているテストコンテンツのリストに記載されているテストコンテンツの中から一つのテストコンテンツを選択し、通信制御部201を介してサーバ装置300に対してRTSPのSETUP要求を送信する(S101)。このとき、ルータ100は、従来技術と同様の方法によりストリームデータの受信ポートを取得する(S102)。   In the video receiving terminal 200, the stream control unit 203 is a test content (test video stream) provided in the server device 300 and is described in the test content list held in the stream management DB 204. One test content is selected from the contents, and an RTSP SETUP request is transmitted to the server apparatus 300 via the communication control unit 201 (S101). At this time, the router 100 acquires a reception port for stream data by the same method as in the conventional technique (S102).

ルータ100のストリームデータ解析/補間部102は、映像受信端末200からの送信要求に対応してサーバ装置300から送信されるテストコンテンツのストリームデータを通信制御部201経由で受信し、ストリームデータのRPTパケットのシーケンス番号を監視する(S103)。   The stream data analysis / interpolation unit 102 of the router 100 receives the test content stream data transmitted from the server device 300 in response to the transmission request from the video reception terminal 200 via the communication control unit 201, and receives the RPT of the stream data. The sequence number of the packet is monitored (S103).

ストリームデータ解析/補間部102は、RPTパケットのシーケンス番号が連続しているか否かを判断し(S104)、 RTPパケットのシーケンス番号が連続している場合、すなわちストリームデータのRTPパケットが欠落していない場合は、映像受信端末200に対し、通信制御部101およびネットワークB500を介して監視しているRTPパケットをそのまま送信する(S105)。   The stream data analysis / interpolation unit 102 determines whether or not the sequence numbers of the RPT packets are consecutive (S104). If the sequence numbers of the RTP packets are consecutive, that is, the RTP packet of the stream data is missing. If not, the RTP packet monitored via the communication control unit 101 and the network B 500 is transmitted as it is to the video receiving terminal 200 (S105).

一方、ストリームデータ解析/補間部102が図5の(ロ)に示すようにRTPパケットのシーケンス番号の不連続(図5の(ロ)においてはパケット3と5の間が不連続)を検出した場合、すなわちストリームデータのRTPパケットが欠落(図5の(ロ)においてはパケット4が欠落)している場合は、ストリームデータ作成部103は、ネットワークA400において欠落したRTPパケットを補間するためのRTPパケットを作成する。この場合、ストリームデータ作成部103は、このRTPパケットの欠落がネットワークA400で発生したことを映像受信端末200へ伝えるため、作成するRTPパケットにおけるRTPヘッダのペイロードタイプはストリームデータに使用していない値を選んで欠落に関する情報を記述するとともに、欠落したRTPパケットのシーケンス番号と同じシーケンス番号を有するRTPパケットを作成する。ルータ100のストリームデータ解析/補間部102は、欠落したRTPパケットの代わりに、ストリームデータ作成部103が作成したRTPパケットをストリームデータ作成部103から受け取って図5の(ハ)に示すように補間し、このようにして補間したストリームデータを、通信制御部101を介して映像受信端末200へ送信する(S106)。   On the other hand, the stream data analysis / interpolation unit 102 detected a discontinuity in the sequence number of the RTP packet as shown in (b) of FIG. 5 (the discontinuity between packets 3 and 5 in (b) of FIG. 5). In this case, that is, when the RTP packet of the stream data is missing (the packet 4 is missing in (B) of FIG. 5), the stream data creation unit 103 uses the RTP for interpolating the missing RTP packet in the network A400. Create a packet. In this case, the stream data creation unit 103 informs the video receiving terminal 200 that the lack of this RTP packet has occurred in the network A 400, and therefore the payload type of the RTP header in the created RTP packet is a value that is not used for stream data. Is selected to describe information about the loss, and an RTP packet having the same sequence number as that of the lost RTP packet is created. The stream data analysis / interpolation unit 102 of the router 100 receives the RTP packet created by the stream data creation unit 103 from the stream data creation unit 103 instead of the missing RTP packet, and performs interpolation as shown in FIG. Then, the stream data interpolated in this way is transmitted to the video receiving terminal 200 via the communication control unit 101 (S106).

ストリームデータ解析部202は、ルータ100のストリームデータ解析/保管部102から送信されたストリームデータを通信制御部201経由で受信して解析し、受信したストリームデータに含まれるRTPパケットのシーケンス番号の欠落(図5の(ニ)においてはパケット3が欠落)した個数を計数し、その欠落した個数の計数結果を基にパケットロス率を計算する。このようにして算出されたパケットロス率がネットワークB500の通信品質となる。また、ストリームデータ解析部202は、RTPヘッダのペイロードタイプを解析し、ルータ100において作成され補間されたRTPパケットの個数を計数し、パケット欠落の発生率を計算する。このようにして算出されたパケット欠落の発生率がネットワークA400のパケットロス率、すなわちネットワークA400の通信品質となる。   The stream data analysis unit 202 receives and analyzes the stream data transmitted from the stream data analysis / storage unit 102 of the router 100 via the communication control unit 201, and the sequence number of the RTP packet included in the received stream data is missing. The number of lost packets 3 in (D) of FIG. 5 is counted, and the packet loss rate is calculated based on the count result of the missing number. The packet loss rate calculated in this way becomes the communication quality of the network B500. In addition, the stream data analysis unit 202 analyzes the payload type of the RTP header, counts the number of RTP packets created and interpolated in the router 100, and calculates the packet loss occurrence rate. The packet loss occurrence rate calculated in this way is the packet loss rate of the network A400, that is, the communication quality of the network A400.

ここで、映像受信端末200のストリーム管理DB204が、ネットワークA400およびネットワークB500における通信品質の測定あるいは算出結果から、如何にして受信(通信)可能/不可能の判定を行うかについて、その一例を説明する。   Here, an example of how the stream management DB 204 of the video receiving terminal 200 determines whether reception (communication) is possible or impossible from the measurement or calculation result of the communication quality in the network A 400 and the network B 500 will be described. To do.

ストリームデータ解析部202が解析/測定(算出)したネットワークA400およびネットワークB500のそれぞれの通信品質の情報であるパケットロス率の値と、予め定めたパケットロス率の基準値とをそれぞれ比較し、測定(算出)したパケットロス率の値が予め定めたパケットロス率の基準値以下の場合は受信(通信)可能と判断し、測定(算出)したパケットロス率の値が予め定めたパケットロス率の基準値よりも大きい値の場合は受信(通信)不可能と判断する。   Measurement is performed by comparing the value of the packet loss rate, which is information on the communication quality of each of the networks A400 and B500, analyzed and measured (calculated) by the stream data analysis unit 202 with a predetermined reference value of the packet loss rate. When the (calculated) packet loss rate is less than or equal to a predetermined packet loss rate reference value, it is determined that reception (communication) is possible, and the measured (calculated) packet loss rate value is equal to the predetermined packet loss rate. If the value is larger than the reference value, it is determined that reception (communication) is impossible.

以上のようにして測定(算出)したネットワークA400およびネットワークB500それぞれのパケットロス率の値や、測定(算出)したパケットロス率の値を基に判定した受信(通信)可能/不可能の判定結果をストリーム管理DB204に記録する(S107)。   Receivable (communication) possible / impossible determination result determined based on the packet loss rate values of the network A 400 and the network B 500 measured (calculated) as described above and the measured (calculated) packet loss rate values. Is recorded in the stream management DB 204 (S107).

視聴に問題が発生した場合など必要に応じて、結果表示部205は、ストリーム管理DB204からネットワークA400およびネットワークB500それぞれのパケットロス率の値および/または受信(通信)可能/不可能の判定結果を取得して表示し、ネットワークA400とネットワークB500のどちらに問題があるのかをユーザに提示する(S108)。   The result display unit 205 displays the packet loss rate values of the network A 400 and the network B 500 and / or the determination result of reception (communication) possible / impossible from the stream management DB 204 as necessary when viewing problems occur. It is acquired and displayed, and it is shown to the user whether there is a problem in network A 400 or network B 500 (S108).

以上説明したように、本発明の実施の形態1によれば、映像受信端末200は、ネットワークA400およびネットワークB500それぞれの通信品質を測定し、測定した通信品質を基に受信(通信)可能/不可能の判定をすることが可能になる。   As described above, according to the first embodiment of the present invention, video receiving terminal 200 measures the communication quality of each of network A 400 and network B 500, and can / cannot receive (communication) based on the measured communication quality. It becomes possible to determine whether it is possible.

なお、本発明の実施の形態1においては、ルータ100がネットワークA400にて発生したパケット欠落の情報を、RTPヘッダのペイロードタイプを利用して映像受信端末200へ送信する場合を例にとって説明したが、これに限るものではなく、例えば、欠落情報は、作成したRTPヘッダのSSRC(Synchronization Source)識別子、CSRC(Contributing Source)識別子、ヘッダ拡張あるいはペイロード部分の内、少なくとも1つを利用して記述し送信するようにしてもよい。   In the first embodiment of the present invention, the case where the router 100 transmits the packet loss information generated in the network A 400 to the video receiving terminal 200 using the payload type of the RTP header has been described as an example. For example, the missing information is described using at least one of the SSRC (Synchronization Source) identifier, the CSRC (Contributing Source) identifier, the header extension, or the payload portion of the created RTP header. You may make it transmit.

(実施の形態2)
本発明の実施の形態2においては、映像受信端末がサーバ装置とルータ間、ルータと映像受信端末間の通信品質を測定する過程において、ルータが送信したサーバ装置とルータ間のRTPパケット欠落に関する情報が映像受信端末へ到達する可能性を高めるため、ルータがRTPパケットの受信区間を予め定め、その受信区間毎にサーバ装置とルータ間のRTPパケットの欠落の有無を調べ、ある受信区間において少なくとも一つのRTPパケットが欠落した場合は、その区間内の全てのパケットに通信情報(パケット欠落を示す情報)を記述して映像受信端末に送信する場合を例に取って説明する。
(Embodiment 2)
In the second embodiment of the present invention, in the process in which the video receiving terminal measures the communication quality between the server device and the router and between the router and the video receiving terminal, the information on the RTP packet loss between the server device and the router transmitted by the router. In order to increase the possibility that the RTP packet reaches the video receiving terminal, the router predetermines an RTP packet reception interval, and checks whether there is an RTP packet missing between the server device and the router for each reception interval. In the case where one RTP packet is lost, a case where communication information (information indicating packet loss) is described in all packets in the section and transmitted to the video receiving terminal will be described as an example.

図6は、本発明の実施の形態2におけるストリーム通信品質測定システムの構成を示すブロック図である。なお、本発明の実施の形態2におけるストリーム通信品質測定システムの構成は、図1に示した本発明の実施の形態1におけるストリーム通信品質測定システムの構成と構成上は同じであり、図1に示す構成要素と同じ構成要素については同じ符号を付し説明を省略する。   FIG. 6 is a block diagram showing the configuration of the stream communication quality measurement system in Embodiment 2 of the present invention. The configuration of the stream communication quality measurement system in the second embodiment of the present invention is the same as the configuration of the stream communication quality measurement system in the first embodiment of the present invention shown in FIG. Constituent elements that are the same as the constituent elements shown are assigned the same reference numerals, and descriptions thereof are omitted.

図6において、ルータ110は、ネットワークA400を介してサーバ装置300と、またネットワークB500を介して映像受信端末200とそれぞれ接続されており、ネットワークA400で発生するパケット欠落に関する情報を映像受信端末200へ送信する機能を保持している。   In FIG. 6, the router 110 is connected to the server apparatus 300 via the network A 400 and to the video receiving terminal 200 via the network B 500, and information regarding packet loss that occurs in the network A 400 is sent to the video receiving terminal 200. Holds the function to send.

次に、図7を用いて、ルータ110の具体的な構成について説明する。なお、図7は本発明の実施の形態2におけるルータ110の具体的な構成を示すブロック図である。図2に示す構成要素と同じ構成要素については同じ符号を付し説明を省略する。   Next, a specific configuration of the router 110 will be described with reference to FIG. FIG. 7 is a block diagram showing a specific configuration of router 110 in the second embodiment of the present invention. The same components as those shown in FIG. 2 are denoted by the same reference numerals and description thereof is omitted.

図7において、受信バッファ部111は、映像受信端末200のストリーム制御部203からのテストコンテンツの送信要求に対応してサーバ装置300から送信されるストリームデータ(RTPパケット)を保存し、予め定めた受信区間のRTPパケットを保存する毎に、その保存したRTPパケットをストリームデータ解析/置換部112に送出する。   In FIG. 7, the reception buffer unit 111 stores stream data (RTP packet) transmitted from the server apparatus 300 in response to a test content transmission request from the stream control unit 203 of the video receiving terminal 200, and is set in advance. Each time an RTP packet in the reception section is saved, the saved RTP packet is sent to the stream data analysis / replacement unit 112.

ストリームデータ解析/置換部112は、受信バッファ部111から受信した予め定めた受信区間のストリームデータのRTPパケットのシーケンス番号を予め定めた受信区間毎に解析し、ネットワークA400におけるRTPパケットの欠落の有無を検出するとともに、予め定めた受信区間において少なくとも一つのRTPパケットの欠落を検出した場合は、その受信区間のRTPパケットの全てを、後述するストリームデータ作成部113において作成された欠落情報を有するRTPパケットにより置換する。   The stream data analysis / replacement unit 112 analyzes the sequence number of the RTP packet of the stream data in the predetermined reception section received from the reception buffer unit 111 for each predetermined reception section, and whether or not the RTP packet is missing in the network A400 RTP having the missing information created by the stream data creation unit 113, which will be described later, all of the RTP packets in the received section are detected when the lack of at least one RTP packet is detected in the predetermined receiving section. Replace with packet.

ストリームデータ作成部113は、ストリームデータ解析/置換部112がある受信区間においてネットワークA400におけるRTPパケットの欠落を検出した場合、その受信区間の全てのRTPヘッダのSSRC識別子を利用して、その区間内の欠落を検出されたRTPパケットがネットワークA400において欠落したことを示す情報を有するとともに、シーケンス番号が連続しているRTPパケットを作成し、その作成したRTPパケットをストリームデータ解析/置換部112に送信する。   When the stream data analysis / replacement unit 112 detects the loss of the RTP packet in the network A400 in the reception section in which the stream data analysis / replacement unit 112 is present, the stream data creation unit 113 uses the SSRC identifiers of all the RTP headers in the reception section, The RTP packet that has been detected as missing in the network A 400 is generated, and the RTP packet having the consecutive sequence numbers is created, and the created RTP packet is transmitted to the stream data analysis / replacement unit 112. To do.

次に、図8を用いて、本発明の実施の形態2におけるネットワークA400およびネットワークB500のRTPパケットの欠落を解析/測定する手順について説明する。なお、図8は、本発明の実施の形態2におけるRTPパケットの欠落を解析/測定する場合の手順を示すフローチャートである。   Next, a procedure for analyzing / measuring missing RTP packets in the network A 400 and the network B 500 according to the second embodiment of the present invention will be described with reference to FIG. FIG. 8 is a flowchart showing a procedure for analyzing / measuring missing RTP packets in Embodiment 2 of the present invention.

まず、本発明の実施の形態1のステップ(S101)およびステップ(S102)と同様の方法により、映像受信端末200がサーバ装置300に対してRTSPのSETUP要求を送信し(S201)、ルータ110は、ストリームデータの受信ポートを取得する(S202)。   First, the video receiving terminal 200 transmits an RTSP SETUP request to the server device 300 (S201) by the same method as in step (S101) and step (S102) of the first embodiment of the present invention (S201). The stream data reception port is acquired (S202).

受信バッファ部111は、サーバ装置300から送信されたストリームデータを通信制御部101経由で受信して保存し、予め定めた受信区間のストリームデータを保存すると、その保存した予め定めた受信区間のストリームデータをストリームデータ解析/置換部112へ送信する。ストリームデータ解析/置換部112は、受信バッファ部111から受信した予め定めた受信区間内のストリームデータを、予め定めた受信区間毎に解析してRTPパケットのシーケンス番号を監視し(S203)、予め定めた受信区間内でパケットの欠落が発生しているか否かを調べる(S204)。   The reception buffer unit 111 receives and stores the stream data transmitted from the server device 300 via the communication control unit 101, and stores the stream data of the predetermined reception section when the stream data of the predetermined reception section is stored. Data is transmitted to the stream data analysis / replacement unit 112. The stream data analysis / replacement unit 112 analyzes the stream data in the predetermined reception interval received from the reception buffer unit 111 for each predetermined reception interval, and monitors the sequence number of the RTP packet (S203). It is checked whether or not there is a packet loss within the determined reception interval (S204).

ストリームデータ解析/置換部112は、受信区間(イ)内のRTPパケットのシーケンス番号が連続していることを確認した場合、すなわちサーバ装置300から受信したストリームデータのRTPパケットが欠落していないことを確認した場合、サーバ装置300から受信したストリームデータのRTPパケット(ここでは、受信区間(イ)のRTPパケット)を、通信制御部101を介してそのまま映像受信端末200へ送信する(S205)。   When the stream data analysis / replacement unit 112 confirms that the sequence numbers of the RTP packets in the reception section (A) are continuous, that is, the RTP packet of the stream data received from the server device 300 is not missing. Is confirmed, the RTP packet of the stream data received from the server device 300 (here, the RTP packet in the receiving section (A)) is transmitted as it is to the video receiving terminal 200 via the communication control unit 101 (S205).

一方、ストリームデータ解析/置換部112が、受信区間(ロ)内においてRTPパケットの少なくとも一つのシーケンス番号の不連続を検出した場合、すなわちサーバ装置300から受信したストリームデータの少なくとも一つのRTPパケットが欠落していることを検出した場合、ストリームデータ作成部113は、受信区間(ロ)内の欠落していることが検出された各RTPパケットが、ネットワークA400において欠落したことを示すそれぞれの情報(欠落情報)を、予め定めた受信区間内の全てのRTPパケットにおけるRTPヘッダのSSRC識別子に記述するとともに、受信区間(ロ)内および受信区間(ロ)の前後の受信区間においてシーケンス番号が連続するRTPパケットを作成し、サーバ装置300から受信した受信区間(ロ)の全てのRTPパケットを、作成した予め定めた受信区間の欠落情報が記述されシーケンス番号が連続するRTPパケットに置換した後、映像受信端末200へ送信する。   On the other hand, when the stream data analysis / replacement unit 112 detects a discontinuity of at least one sequence number of the RTP packet in the reception period (b), that is, at least one RTP packet of the stream data received from the server device 300 is detected. When it is detected that the packet is missing, the stream data creation unit 113 receives information indicating that each RTP packet detected as missing in the reception section (b) is missing in the network A400 ( (Missing information) is described in the SSRC identifier of the RTP header in all RTP packets in a predetermined reception section, and sequence numbers are consecutive in the reception section (b) and in the reception sections before and after the reception section (b). An RTP packet is created and received from the server device 300. After all RTP packets of the section (b), was replaced with RTP packet loss information of the predetermined reception interval was created that describes the consecutive sequence numbers, and transmits to the image receiving terminal 200.

ここで、SSRC識別子を用いた予め定めた受信区間内のパケット欠落に関する情報の記述例について説明する。受信バッファ部111は、32個のパケットを予め定めた受信区間とし、32個のパケットが保存される毎にその保存した32個のパケットをストリームデータ解析/置換部112へ送信する。ストリームデータ解析/置換部112は、受信バッファ部111から受信したストリームデータを監視し、RTPパケットのシーケンス番号が連続しているか否かを解析する。ストリームデータ作成部113は、SSRC識別子の32ビットの領域を使用し、欠落したパケット部分のビットを1に設定する。例えば、ある受信区間における32個のパケットの中で受信区間の先頭から5番目と18番目のパケットの欠落を検出した場合、ストリームデータ作成部113は、該受信区間における32個の全てのRTPパケットのSSRC識別子(32ビット)の5番目と18番目のビットを1(他のビットは0)に設定したRTPパケットで、かつ、シーケンス番号が連続するRTPパケットを作成する(S206)。   Here, a description example of information regarding packet loss in a predetermined reception section using an SSRC identifier will be described. The reception buffer unit 111 sets 32 packets as a predetermined reception interval, and transmits the stored 32 packets to the stream data analysis / replacement unit 112 every time 32 packets are stored. The stream data analysis / replacement unit 112 monitors the stream data received from the reception buffer unit 111 and analyzes whether the sequence numbers of the RTP packets are consecutive. The stream data creation unit 113 uses the 32-bit area of the SSRC identifier and sets the bit of the missing packet part to 1. For example, when the loss of the fifth and eighteenth packets from the beginning of the reception interval is detected in 32 packets in a certain reception interval, the stream data creation unit 113 detects all 32 RTP packets in the reception interval. An RTP packet in which the 5th and 18th bits of the SSRC identifier (32 bits) are set to 1 (the other bits are 0) and the sequence numbers are consecutive is created (S206).

映像受信端末200のストリームデータ解析部202は、ルータ110から送信されたストリームデータを通信制御部201経由で受信して解析し、受信したストリームデータに含まれるRTPパケットのシーケンス番号の不連続箇所の個数、すなわちRTPパケットが欠落した個数を計数し、その欠落した個数の計数結果を基にパケットロス率を算出する。このようにして算出したパケットロス率がネットワークB500の通信品質となる。   The stream data analysis unit 202 of the video receiving terminal 200 receives and analyzes the stream data transmitted from the router 110 via the communication control unit 201, and detects the discontinuous portion of the sequence number of the RTP packet included in the received stream data. The number, that is, the number of missing RTP packets is counted, and the packet loss rate is calculated based on the count result of the missing number. The packet loss rate calculated in this way becomes the communication quality of the network B500.

ストリームデータ解析部202は、さらに、ルータ110から送信されたストリームデータのRTPパケットに含まれるSSRC識別子を予め定めた受信区間毎に解析する。1つの受信区間における32個のパケットの内、少なくとも1つのRTPパケットの欠落を示すSSRC識別子を有するパケットを検出すると、その受信区間内の解析を終了するとともに、その検出したパケットのSSRC識別子においてビットが1となっている箇所の個数を計数する。このような計数を受信区間毎に実行し、それらの計数結果を基にパケットのロス率を算出する。この算出されたパケットロス率がネットワークA400の通信品質となる。   The stream data analysis unit 202 further analyzes the SSRC identifier included in the RTP packet of the stream data transmitted from the router 110 for each predetermined reception section. When a packet having an SSRC identifier indicating a loss of at least one RTP packet is detected among 32 packets in one reception section, the analysis in the reception section is terminated, and a bit is included in the SSRC identifier of the detected packet. The number of locations where 1 is 1 is counted. Such counting is executed for each reception section, and the packet loss rate is calculated based on the counting results. This calculated packet loss rate becomes the communication quality of the network A400.

このようにして測定(解析/計数/算出)されたそれぞれのパケットロス率を基に、本発明の実施の形態1の場合と同様にして、それぞれのネットワークが受信(通信)可能か不可能かの判定を行うことが可能である。   Based on the packet loss rates measured (analyzed / counted / calculated) in this way, whether or not each network can receive (communication) as in the case of the first embodiment of the present invention. It is possible to make a determination.

以上のようにして測定あるいは判定されたネットワークA400およびネットワークB500のパケットロス率や受信(通信)可能か不可能かの判定結果は、ストリーム管理DB204に記録される(S207)。   The packet loss rate of network A 400 and network B 500 measured or determined as described above and the determination result of whether reception (communication) is possible or not are recorded in the stream management DB 204 (S207).

視聴に問題が発生した場合など必要に応じて、結果表示部205は、ストリーム管理DB204からネットワークA400およびネットワークB500それぞれのパケットロス率の値および/または受信(通信)可能/不可能の判定結果を取得して表示し、ネットワークA400とネットワークB500のどちらに問題があるのかなどをユーザに提示する(S208)。   The result display unit 205 displays the packet loss rate values of the network A 400 and the network B 500 and / or the determination result of reception (communication) possible / impossible from the stream management DB 204 as necessary when viewing problems occur. Acquired and displayed, and presents to the user whether there is a problem in network A400 or network B500 (S208).

なお、本発明の実施の形態2においては、ルータ110が予め定めた受信区間において発生したパケット欠落の情報を、予め定めた受信区間毎にRTPヘッダのSSRC識別子を利用して映像受信端末200へ送信する場合を例に取って説明したが、パケット欠落の情報は、RTPヘッダのCSRC識別子やヘッダ拡張などを利用して送信することも、また、これらを組み合わせ利用して送信することも可能である。   In the second embodiment of the present invention, the information about the packet loss that occurred in the reception interval determined by the router 110 is transmitted to the video receiving terminal 200 using the SSRC identifier of the RTP header for each predetermined reception interval. Although the case of transmission has been described as an example, the packet loss information can be transmitted using the CSRC identifier or header extension of the RTP header, or can be transmitted using a combination of these. is there.

本発明の実施の形態2によれば、予め定めた受信区間内に少なくとも一つのパケット欠落があった場合、パケット欠落の情報を予め定めた受信区間内における全てのRTPパケットのSSRC識別子に記述することで、ルータ110において記述したパケット欠落の情報がネットワークB500で欠落することにより、映像受信端末200において検知できないというリスクを低減することができる。   According to the second embodiment of the present invention, when there is at least one packet loss in a predetermined reception interval, the packet loss information is described in the SSRC identifiers of all RTP packets in the predetermined reception interval. As a result, it is possible to reduce the risk that the video receiving terminal 200 cannot detect the packet loss information described in the router 110 because it is lost in the network B500.

サーバ装置とルータ間におけるパケット欠落の情報が、映像受信端末において検知できないというリスクを低減する他の方法について次に示す。   Another method for reducing the risk that information about packet loss between the server device and the router cannot be detected by the video receiving terminal will be described below.

本発明の実施の形態1において、ルータ100のストリームデータ解析/補間部102がパケットの欠落を検出した場合、ストリームデータ作成部103において、1つの欠落したシーケンス番号を有するRTPパケットに対し、該欠落したシーケンス番号を有するRTPパケットが欠落したことを示す情報(欠落情報)を有し、かつ、該欠落したシーケンス番号と同じシーケンス番号を有するRTPパケットを少なくとも2個作成し、この作成した少なくとも2個のRTPパケットをストリームデータ解析/補間部102に送信して欠落したRTPパケット部分を補間した後、映像受信端末200に送信する。   In the first embodiment of the present invention, when the stream data analysis / interpolation unit 102 of the router 100 detects a missing packet, the stream data creation unit 103 detects the missing packet for an RTP packet having one missing sequence number. At least two RTP packets having information (missing information) indicating that the RTP packet having the sequence number is lost and having the same sequence number as the missing sequence number are created. Are transmitted to the stream data analysis / interpolation unit 102 to interpolate the missing RTP packet part, and then transmitted to the video receiving terminal 200.

一方、映像受信端末200のストリームデータ解析部202は、ルータ100から受信したストリームデータを解析する場合、RTPパケットのシーケンス番号がすでに受信/解析したことがあるRTPパケットのシーケンス番号であることを検知すると、そのRTPパケットの解析を行わずに破棄する。   On the other hand, when analyzing the stream data received from the router 100, the stream data analysis unit 202 of the video receiving terminal 200 detects that the sequence number of the RTP packet is the sequence number of the RTP packet that has been received / analyzed. Then, the RTP packet is discarded without being analyzed.

以上のように構成することにより、本発明の実施の形態2と同様に、ルータ100において記述したパケット欠落の情報がネットワークB500で欠落することにより、映像受信端末200において検知できないというリスクを低減することができる。   By configuring as described above, as in the second embodiment of the present invention, the risk that the video receiving terminal 200 cannot detect the missing packet information described in the router 100 in the network B 500 is reduced. be able to.

以上説明したように、本発明の実施の形態2によれば、映像受信端末200はネットワークA400において発生したパケットの欠落をより高い確率で検出することが可能となる。   As described above, according to the second embodiment of the present invention, the video receiving terminal 200 can detect a packet loss occurring in the network A 400 with a higher probability.

(実施の形態3)
本発明の実施の形態3においては、映像受信端末がサーバ装置とルータ間、ルータと映像受信端末間のストリーム通信品質を測定する過程において、ルータならびに映像受信端末に到着するサーバ装置から送信されたストリームデータのRTPパケットの順番が前後しても、映像受信端末が正確にサーバ装置とルータ間のパケットの欠落数を測定できるようにするために、映像受信端末が欠落したRTPパケットのリストを保持する機能を有する場合を例に取って説明する。
(Embodiment 3)
In the third embodiment of the present invention, in the process of measuring the stream communication quality between the server device and the router and between the router and the video receiving terminal, the video receiving terminal is transmitted from the router and the server device arriving at the video receiving terminal. In order to enable the video receiving terminal to accurately measure the number of missing packets between the server device and the router even if the order of the stream data RTP packets is changed, the video receiving terminal maintains a list of RTP packets that are missing. The case where it has the function to perform will be described as an example.

図9は、本発明の実施の形態3におけるストリーム通信品質測定システムの構成を示すブロック図である。なお、本発明の実施の形態3におけるストリーム通信品質測定システムの構成は、図6に示した本発明の実施の形態2におけるストリーム通信品質測定システムの構成と構成上は同じであり、図6に示す構成要素と同じ構成要素については同じ符号を付し説明を省略する。   FIG. 9 is a block diagram showing the configuration of the stream communication quality measurement system in Embodiment 3 of the present invention. The configuration of the stream communication quality measurement system in the third embodiment of the present invention is the same as the configuration of the stream communication quality measurement system in the second embodiment of the present invention shown in FIG. Constituent elements that are the same as the constituent elements shown are assigned the same reference numerals, and descriptions thereof are omitted.

図9において、映像受信端末210は、ネットワークA400およびネットワークB500において欠落したRTPパケットのシーケンス番号を保持する機能を備えており、ネットワークB500を介してルータ110と接続されている。   In FIG. 9, the video receiving terminal 210 has a function of holding the sequence numbers of RTP packets that are missing in the network A 400 and the network B 500, and is connected to the router 110 via the network B 500.

次に、図10を用いて、映像受信端末210の具体的な構成について説明する。なお、図10は、本発明の実施の形態3における映像受信端末210の具体的な構成を示すブロック図である。図3に示す構成要素と同じ構成要素については同じ符号を付し説明を省略する。   Next, a specific configuration of the video reception terminal 210 will be described with reference to FIG. FIG. 10 is a block diagram showing a specific configuration of video receiving terminal 210 according to Embodiment 3 of the present invention. The same components as those shown in FIG. 3 are denoted by the same reference numerals and description thereof is omitted.

図10において、欠落パケットリスト記録部211は、ストリームデータ解析部202が解析/検出したネットワークA400およびネットワークB500において欠落したRTPパケットのシーケンス番号を、ストリームデータ解析部202から順次受信してそれぞれネットワークA400の欠落パケットリストおよびネットワークB500の欠落パケットリストに別々記録するとともに、ストリームデータ解析部202が解析/検出したネットワークA400およびネットワークB500において順番が入れ替わったRTPパケットのシーケンス番号を受信すると、そのシーケンス番号のRTPパケットをネットワークA400の欠落パケットリストまたはネットワークB500の欠落パケットリストから削除するなどの機能を備えている。   In FIG. 10, the missing packet list recording unit 211 sequentially receives from the stream data analysis unit 202 the sequence numbers of the RTP packets that are missing in the network A 400 and the network B 500 that are analyzed / detected by the stream data analysis unit 202, respectively. When the sequence number of the RTP packet whose order has been changed in the network A 400 and the network B 500 analyzed / detected by the stream data analysis unit 202 is received, the sequence number of the sequence number It has a function of deleting an RTP packet from the missing packet list of the network A400 or the missing packet list of the network B500. .

次に、図11のフローチャートを用いて、本発明の実施の形態3におけるネットワークA400およびネットワークB500のRTPパケットの欠落を解析/測定する手順について説明する。なお、図11は、本発明の実施の形態3におけるRTPパケットの欠落を解析/測定する場合の手順を示すフローチャートである。   Next, a procedure for analyzing / measuring a lack of RTP packets in network A 400 and network B 500 in Embodiment 3 of the present invention will be described using the flowchart of FIG. FIG. 11 is a flowchart showing a procedure for analyzing / measuring missing RTP packets in Embodiment 3 of the present invention.

まず、本発明の実施の形態2のステップ(S201)およびステップ(S202)と同様の方法により、映像受信端末210がサーバ装置300に対してRTSPのSETUP要求を送信し(S301)、ルータ110は、ストリームデータの受信ポートを取得する(S302)。   First, the video receiving terminal 210 transmits an RTSP SETUP request to the server apparatus 300 (S301) by the same method as in step (S201) and step (S202) of the second embodiment of the present invention (S301). The stream data reception port is acquired (S302).

ストリームデータ解析/置換部112は、ステップ(S203)におけると同様の方法によりRTPパケットのシーケンス番号を監視し(S303)、予め定めた受信区間内でシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の空白(欠落)によるものか、それともシーケンス番号の順番が逆転したものかを調べる(S304)。   The stream data analysis / replacement unit 112 monitors the sequence number of the RTP packet by the same method as in step (S203) (S303), and whether a sequence number discontinuity has occurred within a predetermined reception interval, If a discontinuity occurs in the sequence number, it is checked whether the discontinuity is caused by a blank (missing) sequence number or the sequence number is reversed (S304).

ストリームデータ解析/置換部112は、シーケンス番号が連続している場合、すなわちRTPパケットが欠落あるいは順番が逆転していない場合、受信バッファ部111から受信したストリームデータ(RTPパケット)をそのまま通信制御部101を介して映像受信端末210へ送信する。(S305)。   When the sequence numbers are consecutive, that is, when the RTP packet is missing or the order is not reversed, the stream data analysis / replacement unit 112 uses the stream data (RTP packet) received from the reception buffer unit 111 as it is. The image is transmitted to the video receiving terminal 210 via 101. (S305).

ストリームデータ解析/置換部112がシーケンス番号の不連続を検出し、かつシーケンス番号の不連続点において後に受信したシーケンス番号(ロ)の方が先に受信したシーケンス番号(イ)よりも大きい場合、すなわちシーケンス番号に空白ができた場合、シーケンス番号(イ)とシーケンス番号(ロ)の間のシーケンス番号を持つRTPパケットは欠落したものと見なし、ストリームデータ作成部113は、RTPパケットの欠落情報を有するRTPパケットを作成する。この手順は実施の形態2のステップS206と同様である(S306)。   When the stream data analysis / replacement unit 112 detects a sequence number discontinuity and the sequence number (b) received later at the discontinuity point of the sequence number is larger than the sequence number (b) received earlier, That is, when a blank is generated in the sequence number, an RTP packet having a sequence number between the sequence number (A) and the sequence number (B) is regarded as missing, and the stream data creation unit 113 displays the missing information of the RTP packet. The RTP packet is created. This procedure is the same as step S206 in the second embodiment (S306).

ストリームデータ解析/置換部112がシーケンス番号の不連続を検出し、かつ、不連続点において後に受信したシーケンス番号の方が先に受信したシーケンス番号よりも小さい場合、RTPパケットの到着した順番が逆転したものとみなし、ストリームデータ解析/置換部112は、受信バッファ部111から受信したストリームデータ(RTPパケット)をそのまま通信制御部101を介して映像受信端末210へ送信する(S307)。   When the stream data analysis / replacement unit 112 detects a sequence number discontinuity and the sequence number received later at the discontinuity point is smaller than the sequence number received earlier, the arrival order of the RTP packets is reversed. The stream data analysis / replacement unit 112 transmits the stream data (RTP packet) received from the reception buffer unit 111 as it is to the video reception terminal 210 via the communication control unit 101 (S307).

なお、RTPパケットの到着した順番が逆転したと見なした場合、その後の不連続点の確認(検出)は、順番が逆転したと見なしたシーケンス番号のRTPパケットがなかったものとして実行する。   When it is assumed that the order of arrival of the RTP packets is reversed, the subsequent confirmation (detection) of the discontinuous points is executed assuming that there is no RTP packet of the sequence number regarded as the order reversed.

映像受信端末210のストリームデータ解析部202は、ルータ110からネットワークB500および通信制御部201を介して受信したストリームデータ(RTPパケット)を解析し、予め定めた受信区間内でシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の空白(欠落)によるものか、それともシーケンス番号の順番が逆転したものかを判断する(S308)。   The stream data analysis unit 202 of the video reception terminal 210 analyzes the stream data (RTP packet) received from the router 110 via the network B 500 and the communication control unit 201, and the sequence number discontinuity is detected within a predetermined reception interval. If it does not occur and if a discontinuity occurs in the sequence number, it is determined whether the discontinuity is due to a blank (missing) sequence number or the sequence number is reversed (S308).

ストリームデータ解析部202は、RTPパケットのシーケンス番号の不連続を検出し、かつ、シーケンス番号の不連続点において後に受信したシーケンス番号(ニ)の方が先に受信したシーケンス番号(ハ)よりも大きい場合、すなわちシーケンス番号に空白ができた場合、シーケンス番号(ハ)とシーケンス番号(ニ)の間のシーケンス番号を持つRTPパケットはネットワークB500において欠落したと見なし、それらのシーケンス番号のRTPパケットを欠落パケットリスト記録部211へ送信してネットワークB500の欠落パケットリストに追加して記録する(S309)。また、シーケンス番号の不連続点において後に受信したシーケンス番号の方が先に受信したシーケンス番号よりも小さい場合、ストリームデータ解析部202は、RTPパケットの到着した順番が逆転したと見なし、不連続点において後に受信したシーケンス番号のRTPパケットを欠落パケットリスト記録部211に送信する。欠落パケットリスト記録部211は、ストリームデータ解析部202から受信した到着した順番が逆転したと見なされたシーケンス番号を有するRTPパケットを、ネットワークA400の欠落パケットリストまたはネットワークB500の欠落パケットリストに記録されている欠落パケットのリストから削除する(S310)。   The stream data analysis unit 202 detects the discontinuity of the sequence number of the RTP packet, and the sequence number (d) received later at the discontinuity point of the sequence number is higher than the sequence number (c) received earlier. If the sequence number is large, that is, if there is a blank in the sequence number, RTP packets having a sequence number between the sequence number (c) and the sequence number (d) are regarded as missing in the network B500, and RTP packets with those sequence numbers are considered. The packet is transmitted to the missing packet list recording unit 211 and added to the missing packet list of the network B 500 and recorded (S309). In addition, when the sequence number received later at the discontinuity point of the sequence number is smaller than the sequence number received earlier, the stream data analysis unit 202 regards that the arrival order of the RTP packets is reversed, and the discontinuity point The RTP packet of the sequence number received later is transmitted to the missing packet list recording unit 211. The missing packet list recording unit 211 records the RTP packet received from the stream data analysis unit 202 and having the sequence number considered to be reversed in the arrival packet list of the network A 400 or the missing packet list of the network B 500. It deletes from the list of missing packets (S310).

次に、この様子をもう少し具体的な事例を用いて説明する。映像受信端末210のストリームデータ解析部202がルータ110から受信したRTPパケットのシーケンス番号の順番が、例えば、1、2、3、5、6、7、4、8、9、10、・・・であったとすると、シーケンス番号の最初の不連続点(3)と(5)の間においては、後に受信したシーケンス番号(5)の方が先に受信したシーケンス番号(3)よりも大きいので、シーケンス番号(4)を持つRTPパケットは欠落したと見なしてシーケンス番号(4)を欠落パケットリスト記録部211へ送信して記録する。シーケンス番号の2番目の不連続点(7)と(4)の間においては、シーケンス番号の不連続点において後に受信したシーケンス番号(4)の方が先に受信したシーケンス番号(7)よりも小さいので、RTPパケットの到着した順番が逆転したと見なし、不連続点において後に受信したシーケンス番号(4)のRTPパケットを欠落パケットリスト記録部211に記録されている欠落シーケンス番号のパケットのリストから削除する。3番目の不連続点(4)と(8)の間においては、2番目の不連続点においてシーケンス番号(4)は順番が逆転したと見なされたので、シーケンス番号(4)のRTPパケットがなかったものとして実行することになり、その結果、シーケンス番号は(7)、(8)と連続したシーケンス番号となるので不連続点としては検出されない。   Next, this situation will be described using more specific examples. The order of the sequence numbers of the RTP packets received from the router 110 by the stream data analysis unit 202 of the video receiving terminal 210 is, for example, 1, 2, 3, 5, 6, 7, 4, 8, 9, 10,. Since the sequence number (5) received later is larger than the sequence number (3) received earlier between the first discontinuous points (3) and (5) of the sequence number, The RTP packet having the sequence number (4) is regarded as missing, and the sequence number (4) is transmitted to the missing packet list recording unit 211 and recorded. Between the second discontinuity point (7) and (4) of the sequence number, the sequence number (4) received later at the discontinuity point of the sequence number is more than the sequence number (7) received earlier. Since the order of arrival of the RTP packets is reversed, the RTP packet with the sequence number (4) received later at the discontinuity point is removed from the list of packets with the missing sequence number recorded in the missing packet list recording unit 211. delete. Between the third discontinuous points (4) and (8), the sequence number (4) is considered to be reversed in order at the second discontinuous point, so the RTP packet with the sequence number (4) As a result, the sequence number becomes a sequence number continuous with (7) and (8), so that it is not detected as a discontinuous point.

ストリームデータ解析部202は、ルータ110が作成して置換したパケットを検出した場合、その検出したRTPパケットに含まれているネットワークA400における欠落パケットに関する情報(シーケンス番号など)を欠落パケットリスト記録部211に送信し、欠落パケットリスト記録部211におけるネットワークA400の欠落パケットリストに追加して記録する(S311)。   When the stream data analysis unit 202 detects a packet created and replaced by the router 110, the stream data analysis unit 202 stores information (sequence number and the like) related to the missing packet in the network A 400 included in the detected RTP packet. Is added to the missing packet list of the network A400 in the missing packet list recording unit 211 and recorded (S311).

ストリームデータ解析部202は、欠落パケットリスト記録部211におけるネットワークA400の欠落パケットリストおよびネットワークB500の欠落パケットリストにそれぞれ記録されているネットワークA400およびネットワークB500の欠落パケットの個数から、それぞれのネットワークA400およびネットワークB500のパケットロス率を算出し、測定(解析/計数/算出)したパケットロス率をストリーム管理DB204へ送信して記録する(S312)。   The stream data analysis unit 202 calculates the network A 400 and the network B 500 based on the number of the missing packets of the network A 400 and the network B 500 recorded in the missing packet list of the network A 400 and the missing packet list of the network B 500 in the missing packet list recording unit 211. The packet loss rate of the network B 500 is calculated, and the measured (analyzed / counted / calculated) packet loss rate is transmitted to the stream management DB 204 and recorded (S312).

以上のようにして測定(解析/計数/算出)されたそれぞれのパケットロス率を基に、本発明の実施の形態1の場合と同様にして、それぞれのネットワークが受信(通信)可能か不可能かの判定を行うことが可能である。   Based on each packet loss rate measured (analyzed / counted / calculated) as described above, each network can receive (communicate) whether or not it can be received (communication) in the same manner as in the first embodiment of the present invention. It is possible to determine whether or not.

視聴に問題が発生した場合など必要に応じて、結果表示部205は、ストリーム管理DB204からネットワークA400およびネットワークB500それぞれのパケットロス率の値および/または受信(通信)可能/不可能の判定結果を取得して表示し、ネットワークA400とネットワークB500のどちらに問題があるのかなどをユーザに提示する(S313)。   The result display unit 205 displays the packet loss rate values of the network A 400 and the network B 500 and / or the determination result of reception (communication) possible / impossible from the stream management DB 204 as necessary when viewing problems occur. Acquired and displayed, and presents to the user whether there is a problem in network A400 or network B500 (S313).

なお、本発明の実施の形態3においては、映像受信端末210の欠落パケットリスト記録部211が欠落したパケットのシーケンス番号を記録し、パケットの欠落ではなく順序の入れ替わりであると判明したパケットのシーケンス番号を記録から削除することで、ルータ110がサーバ装置300から受信するストリームデータ(RTPパケット)の順序の入れ替わり、および映像受信端末210がルータ110から受信するストリームデータ(RTPパケット)の順序の入れ替わりをパケットの欠落としてカウントしないようにすることができたが、ルータ110が、サーバ装置300から受信するストリームデータのRTPパケットを監視して順序の入れ替わったパケット数をカウントし、そのカウントした順序の入れ替わったパケット数を映像受信端末210に送信することで、映像受信端末210がサーバ装置300とルータ110間において発生した欠落したパケット数を、順序の入れ替わったパケットを欠落したパケットとしてカウントすることなく、正確にカウントすることも可能である。このような構成を、本発明の実施の形態4として以下に説明する。   In the third embodiment of the present invention, the missing packet list recording unit 211 of the video receiving terminal 210 records the sequence number of the missing packet, and the sequence of the packet that has been found to be an order change rather than a missing packet. By deleting the number from the record, the order of the stream data (RTP packet) received by the router 110 from the server device 300 and the order of the stream data (RTP packet) received by the video receiving terminal 210 from the router 110 are changed. However, the router 110 monitors the RTP packet of the stream data received from the server device 300 and counts the number of packets whose order has been changed. Replaced packets Is transmitted to the video receiving terminal 210 so that the video receiving terminal 210 accurately counts the number of lost packets generated between the server device 300 and the router 110 without counting the packets whose order has been changed as a lost packet. It is also possible to do. Such a configuration will be described below as a fourth embodiment of the present invention.

また、本発明の実施の形態3においては、本発明の実施の形態2を基本において説明したが、本発明の実施の形態1を基本においても同様の効果を出せることは明らかである。
例えば、本発明の実施の形態1において、サーバ装置300から受信したRTPパケットのシーケンス番号を監視し、シーケンス番号の不連続の有無および不連続の発生が順番の逆転したことによるものか順番に空白が生じたことによるものかを判定できる機能などをルータ100に持たせ、また、映像受信端末200に、映像受信端末210における欠落パケットリスト記録部211と同等の機能を有する手段を備えることなどにより、予め定めた受信区間毎に処理を実行することにより発揮する効果以外は、本発明の実施の形態3と同様の処理方法を実行でき、同様の効果を出せることは明白である。
In the third embodiment of the present invention, the second embodiment of the present invention has been described as a basis. However, it is obvious that the same effect can be obtained even in the first embodiment of the present invention.
For example, in the first embodiment of the present invention, the sequence number of the RTP packet received from the server apparatus 300 is monitored, and the presence / absence of the sequence number discontinuity and the occurrence of the discontinuity are due to the reverse of the order or blank in order. By providing the router 100 with a function that can determine whether or not it is caused by the occurrence of the occurrence, the video receiving terminal 200 is provided with means having the same function as the missing packet list recording unit 211 in the video receiving terminal 210, etc. It is obvious that the same processing method as in the third embodiment of the present invention can be executed and the same effect can be obtained except for the effect exhibited by executing the processing for each predetermined reception interval.

(実施の形態4)
図12は、本発明の実施の形態4におけるストリーム通信品質測定システムの構成を示すブロック図である。なお、本発明の実施の形態4におけるストリーム通信品質測定システムの構成は、図9に示した本発明の実施の形態3におけるストリーム通信品質測定システムの構成と構成上は同じであり、図9に示す構成要素と同じ構成要素については同じ符号を付し説明を省略する。
(Embodiment 4)
FIG. 12 is a block diagram showing the configuration of the stream communication quality measurement system in Embodiment 4 of the present invention. The configuration of the stream communication quality measurement system in the fourth embodiment of the present invention is the same as the configuration of the stream communication quality measurement system in the third embodiment of the present invention shown in FIG. Constituent elements that are the same as the constituent elements shown are denoted by the same reference numerals and description thereof is omitted.

図12において、ルータ120は、本発明の実施の形態3におけるルータ110が備える機能に加え、サーバ装置300とルータ120間において発生するパケットの到着順番が入れ替わったパケットの個数をカウントして記録し、そのカウントして記録したパケットの個数を映像受信端末に送信する機能を備えている。また、映像受信端末220は、本発明の実施の形態3における映像受信端末210が備える欠落パケットリスト記録部211に替えて欠落パケット個数記録部221を備え、ルータ120のストリームデータ作成部113で作成されストリームデータ解析/置換部112において置換されて送信されたRTPパケットを解析して、サーバ装置300とルータ120間におけるパケットの欠落個数を検出し、この検出した欠落個数から、ルータ120から送信されたパケットの到着順番が入れ替わったパケットの個数を減算することにより、サーバ装置300とルータ120間におけるパケットの正確な欠落個数を算出する機能を備えている。   In FIG. 12, the router 120 counts and records the number of packets in which the arrival order of packets generated between the server apparatus 300 and the router 120 is switched, in addition to the function provided in the router 110 according to the third embodiment of the present invention. And a function of transmitting the number of packets counted and recorded to the video receiving terminal. The video receiving terminal 220 includes a missing packet number recording unit 221 instead of the missing packet list recording unit 211 provided in the video receiving terminal 210 according to Embodiment 3 of the present invention, and is created by the stream data creation unit 113 of the router 120. Then, the RTP packet replaced and transmitted by the stream data analysis / replacement unit 112 is analyzed to detect the number of missing packets between the server apparatus 300 and the router 120. From the detected missing number, the RTP packet is transmitted from the router 120. A function is provided for calculating the exact number of missing packets between the server apparatus 300 and the router 120 by subtracting the number of packets whose arrival order has been switched.

次に、図13を用いて、ルータ120の具体的な構成について説明する。なお、図13は、本発明の実施の形態4におけるルータ120の具体的な構成を示すブロック図である。図7に示すルータ110の構成要素と同じ構成要素については同じ符号を付し説明を省略する。   Next, a specific configuration of the router 120 will be described with reference to FIG. FIG. 13 is a block diagram showing a specific configuration of router 120 in the fourth embodiment of the present invention. The same components as those of the router 110 shown in FIG.

ストリームデータ解析/置換部112は、ネットワークA400、通信制御部101および受信バッファ部111を介して受信したサーバ装置300から送信されたストリームデータを解析し、欠落したパケットを検出するとともに到着順番の入れ替わったパケットを検出し、この順番の入れ替わったパケットを検出する毎にその検出情報を順番入れ替わりパケット個数記録部121に送信し、順番入れ替わりパケット個数記録部121においてサーバ装置300とルータ120間において発生した順番入れ替わりパケットの個数を記録する。順番入れ替わりパケット個数記録部121に記録された順番入れ替わりパケットの個数に関する情報(個数値)は、ストリームデータ作成部113に送信され、ストリームデータ作成部113において、RTPパケットの欠落情報とともに順番入れ替わりパケットの個数に関する情報が盛り込まれたRTPパケットとして作成され、ストリームデータ解析/置換部112で欠落パケットに替えて置換された後、通信制御部101からネットワークB500を介して映像受信端末220に送信される。   The stream data analysis / replacement unit 112 analyzes the stream data transmitted from the server device 300 received via the network A 400, the communication control unit 101, and the reception buffer unit 111, detects the missing packet, and changes the arrival order. Each time this switched packet is detected, the detection information is transmitted to the packet number recording unit 121 in order and generated between the server device 300 and the router 120 in the order packet number recording unit 121. Record the number of in-order packets. Information (number value) related to the number of reordered packets recorded in the reordered packet number recording unit 121 is transmitted to the stream data creating unit 113, and the stream data creating unit 113 stores the information of the reordered packet together with the missing information of the RTP packet. It is created as an RTP packet in which information on the number is included, is replaced with a missing packet by the stream data analysis / replacement unit 112, and is then transmitted from the communication control unit 101 to the video receiving terminal 220 via the network B 500.

次に、図14を用いて、映像受信端末220の具体的な構成について説明する。なお、図14は、本発明の実施の形態4における映像受信端末220の具体的な構成を示すブロック図である。図10に示す映像受信端末210の構成要素と同じ構成要素については同じ符号を付し説明を省略する。   Next, a specific configuration of the video receiving terminal 220 will be described with reference to FIG. FIG. 14 is a block diagram showing a specific configuration of video receiving terminal 220 in Embodiment 4 of the present invention. The same components as those of the video receiving terminal 210 shown in FIG.

ストリームデータ解析部202は、RTPパケットのシーケンス番号の不連続を検出し、かつ、シーケンス番号の不連続点において後に受信したシーケンス番号(ニ)の方が先に受信したシーケンス番号(ハ)よりも大きい場合、すなわちシーケンス番号に空白ができた場合、シーケンス番号(ハ)とシーケンス番号(ニ)の間のシーケンス番号を持つRTPパケットはネットワークB500において欠落したと見なし、このパケットの欠落情報を欠落パケット個数記録部221に送信する。   The stream data analysis unit 202 detects the discontinuity of the sequence number of the RTP packet, and the sequence number (d) received later at the discontinuity point of the sequence number is higher than the sequence number (c) received earlier. If it is larger, that is, if there is a blank in the sequence number, an RTP packet having a sequence number between the sequence number (c) and the sequence number (d) is regarded as missing in the network B 500, and the missing information of this packet is regarded as a missing packet. It transmits to the number recording unit 221.

欠落パケット個数記録部221は、映像受信端末220のストリームデータ解析部202が解析したネットワークA400およびネットワークB500において欠落したパケットの個数をそれぞれ個別にカウントして記録するとともに、ストリームデータ解析部202がネットワークA400およびネットワークB500において発生したシーケンス番号の順番が逆転したパケットを解析/検出すると、記録しているネットワークB500の欠落パケットの個数から減じる機能などを備えている。   The missing packet number recording unit 221 separately counts and records the number of missing packets in the network A 400 and the network B 500 analyzed by the stream data analyzing unit 202 of the video receiving terminal 220, and the stream data analyzing unit 202 records the network. A function of subtracting from the number of missing packets in the network B500 that is recorded when a packet in which the sequence numbers generated in the A400 and the network B500 are reversed in order is analyzed / detected.

次に、図15のフローチャートを用いて、本発明の実施の形態4におけるネットワークA400およびネットワークB500のストリーム通信品質を測定する手順について説明する。なお、図15は、本発明の実施の形態4におけるストリーム通信品質を測定する場合の手順を示すフローチャートである。   Next, the procedure for measuring the stream communication quality of network A 400 and network B 500 in the fourth embodiment of the present invention will be described using the flowchart of FIG. FIG. 15 is a flowchart showing a procedure for measuring stream communication quality according to Embodiment 4 of the present invention.

まず、本発明の実施の形態3のステップ(S301)およびステップ(S302)と同様の方法により、映像受信端末220がサーバ装置300に対してRTSPのSETUP要求を送信し(S401)、ルータ120は、ストリームデータの受信ポートを取得する(S402)。   First, the video receiving terminal 220 transmits an RTSP SETUP request to the server device 300 (S401) by the same method as in step (S301) and step (S302) of the third embodiment of the present invention (S401). The stream data reception port is acquired (S402).

ストリームデータ解析/置換部112は、実施の形態3のステップS303と同様の方法によりサーバ装置300から送信されるストリームデータ中のRTPパケットのシーケンス番号を監視し(S403)、予め定めた受信区間内でシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の空白(欠落)によるものか、それともシーケンス番号の順番が逆転したものかを調べる(S404)。   The stream data analysis / replacement unit 112 monitors the sequence number of the RTP packet in the stream data transmitted from the server device 300 by the same method as in step S303 of the third embodiment (S403), and within a predetermined reception interval If there is a sequence number discontinuity, and if there is a discontinuity in the sequence number, whether the discontinuity is due to a blank (missing) sequence number or the order of the sequence number is reversed. Check (S404).

ストリームデータ解析/置換部112は、シーケンス番号が連続している場合、すなわちRTPパケットが欠落あるいは順番の逆転が発生していない場合、受信バッファ部111から受信したストリームデータ(RTPパケット)をそのまま通信制御部101を介して映像受信端末220へ送信する(S405)。   The stream data analysis / replacement unit 112 communicates the stream data (RTP packet) received from the reception buffer unit 111 as it is when the sequence numbers are continuous, that is, when the RTP packet is not lost or the order is not reversed. The image is transmitted to the video receiving terminal 220 via the control unit 101 (S405).

ストリームデータ解析/置換部112がシーケンス番号の不連続を検出し、不連続点において後に受信したシーケンス番号の方が先に受信したシーケンス番号よりも小さい場合、RTPパケットの到着した順番が逆転したものと見なし、ストリームデータ解析/置換部112は、受信バッファ部111から受信したストリームデータ(RTPパケット)をそのまま通信制御部101を介して映像受信端末220へ送信する。同時に、ストリームデータ解析/置換部112は、順番入れ替わりパケット個数記録部121に対して順番が逆転したパケットを検出したことを示す情報を送信し、順番入れ替わりパケット個数記録部121に記録している順番入れ替わりパケットの個数を1つ増加させる(S406)。   When the stream data analysis / replacement unit 112 detects a sequence number discontinuity and the sequence number received later at the discontinuity point is smaller than the sequence number received earlier, the arrival order of the RTP packets is reversed. The stream data analysis / replacement unit 112 transmits the stream data (RTP packet) received from the reception buffer unit 111 to the video reception terminal 220 via the communication control unit 101 as it is. At the same time, the stream data analysis / replacement unit 112 transmits information indicating that a packet whose order has been reversed is detected to the order change packet number recording unit 121, and the order of recording in the order change packet number recording unit 121. The number of replacement packets is increased by 1 (S406).

ストリームデータ解析/置換部112がシーケンス番号の不連続を検出し、かつ、シーケンス番号の不連続点において後に受信したシーケンス番号(ロ)の方が先に受信したシーケンス番号(イ)よりも大きい場合、すなわちシーケンス番号に空白ができた場合、シーケンス番号(イ)とシーケンス番号(ロ)の間のシーケンス番号を持つRTPパケットは欠落したものと見なし、ストリームデータ作成部113は、RTPパケットの欠落情報を有するRTPパケットを作成する。この手順は実施の形態3のステップS306と同様である。同時に、ストリームデータ作成部113は、この時点において順番入れ替わりパケット個数記録部121に記録されている順番の入れ替わりパケットの個数の値をRTPパケットにおけるRTPヘッダのSSRCに記述する。なお、それぞれの時点における順番の入れ替わりパケットの個数の記述はRTPヘッダのSSRCを利用するだけでなく、CSRC識別子、ヘッダ拡張およびペイロード部分などを利用することも可能である(S407)。   When the stream data analysis / replacement unit 112 detects a sequence number discontinuity, and the sequence number (b) received later at the sequence number discontinuity point is greater than the sequence number (b) received earlier That is, when a blank is generated in the sequence number, the RTP packet having the sequence number between the sequence number (A) and the sequence number (B) is regarded as missing, and the stream data creation unit 113 detects the missing information of the RTP packet. Create an RTP packet with This procedure is the same as step S306 of the third embodiment. At the same time, the stream data creation unit 113 describes the value of the number of the switching packets in the order recorded in the switching packet number recording unit 121 at this time in the SSRC of the RTP header in the RTP packet. Note that the description of the number of packets whose order is changed at each time point can use not only the SSRC of the RTP header but also the CSRC identifier, the header extension, the payload portion, and the like (S407).

また、順番入れ替わりパケット個数記録部121に記録されている順番の入れ替わりパケットの個数の値は、ストリーム通信品質の測定を終了させる時にリセットされる。   Also, the value of the number of packets in the order of change recorded in the order change packet number recording unit 121 is reset when the measurement of the stream communication quality is terminated.

ストリームデータ解析部202は、ルータ120から送信されたストリームデータをネットワークB500および通信制御部201を介して受信し、受信したストリームデータに含まれるRTPパケットのシーケンス番号を解析する。ストリームデータ解析部202がシーケンス番号の不連続を検出し(S408)、かつ、シーケンス番号の不連続点において後に受信したシーケンス番号(ロ)の方が先に受信したシーケンス番号(イ)よりも大きい場合、すなわちシーケンス番号に空白ができた場合、シーケンス番号(イ)とシーケンス番号(ロ)の間のシーケンス番号を持つRTPパケット(個数:n、nは1以上の整数)はネットワークB500において欠落したものと見なし、欠落パケット個数記録部221に記録されているネットワークB500における欠落パケットの個数をn個増加させる(S409)。   The stream data analysis unit 202 receives the stream data transmitted from the router 120 via the network B 500 and the communication control unit 201, and analyzes the sequence number of the RTP packet included in the received stream data. The stream data analysis unit 202 detects the discontinuity of the sequence number (S408), and the sequence number (b) received later at the discontinuity point of the sequence number is larger than the sequence number (b) received earlier. In this case, that is, when there is a blank in the sequence number, an RTP packet (number: n, where n is an integer of 1 or more) having a sequence number between the sequence number (A) and the sequence number (B) is missing in the network B500 The number of missing packets in the network B 500 recorded in the missing packet number recording unit 221 is increased by n (S409).

ストリームデータ解析部202は、また、不連続点において後に受信したRTPパケットのシーケンス番号の方が先に受信したRTPパケットのシーケンス番号よりも小さい場合、RTPパケットの到着した順番が逆転したものと見なし、欠落パケット個数記録部221に記録されているネットワークB500における欠落パケットの個数値を1つ削減させる(S410)。なお、RTPパケットの到着した順番が逆転したと見なした場合、その後の不連続点の確認(検出)は、本発明の実施の形態3におけると同様に、順番が逆転したと見なしたシーケンス番号のRTPパケットがなかったものとして実行する。   The stream data analysis unit 202 also considers that the arrival order of the RTP packets is reversed when the sequence number of the RTP packet received later at the discontinuity is smaller than the sequence number of the RTP packet received earlier. Then, the number of missing packets in the network B 500 recorded in the missing packet number recording unit 221 is reduced by one (S410). When it is assumed that the order of arrival of RTP packets has been reversed, the subsequent discontinuity check (detection) is performed in the same manner as in the third embodiment of the present invention. It is executed assuming that there is no number RTP packet.

ストリームデータ解析部202は、ルータ120が作成して置換したパケットを検出した場合、その検出したRTPパケットに含まれているネットワークA400における欠落パケットの情報を欠落パケット個数記録部221に送信し、該欠落パケットの情報に基づき欠落パケット個数記録部221におけるネットワークA400の欠落パケットの個数値を増加させる。同時に、検出したRTPパケットに含まれているネットワークA400における順番が入れ替わったパケットの個数を示す情報(個数値)を抽出し、その抽出した情報を欠落パケット個数記録部221に送信する(S411)。   When the stream data analysis unit 202 detects a packet created and replaced by the router 120, the stream data analysis unit 202 transmits information on the missing packet in the network A400 included in the detected RTP packet to the missing packet number recording unit 221. Based on the missing packet information, the number of missing packets in the network A 400 in the missing packet number recording unit 221 is increased. At the same time, information (number value) indicating the number of packets whose order in the network A400 included in the detected RTP packet is changed is extracted, and the extracted information is transmitted to the missing packet number recording unit 221 (S411).

ストリームデータ解析部202は、欠落パケット個数記録部221に記録された欠落パケットの個数などの情報から、ネットワークA400およびネットワークB500におけるそれぞれのパケットロス率を以下に示すようにして算出/測定し、測定したパケットロス率をストリーム管理DB204に記録する(S412)。   The stream data analysis unit 202 calculates / measures the packet loss rates in the network A 400 and the network B 500 from the information such as the number of missing packets recorded in the missing packet number recording unit 221 as follows. The packet loss rate thus recorded is recorded in the stream management DB 204 (S412).

まず、ネットワークA400におけるパケットロス率の測定/算出は、測定/算出時の欠落パケット個数記録部221に記録されているネットワークA400の欠落パケットの個数値から、欠落パケット個数記録部221に記録されているネットワークA400における順番が入れ替わったパケットの個数を示す情報(個数値)の内最も新しい情報(個数値)、すなわち、測定/算出時の個数値(a)を減じた値がネットワークA400における正しいパケット欠落の個数となり、この個数値を基にパケット欠落の発生率を計算する。このようにして算出されたパケット欠落の発生率がネットワークA400のパケットロス率、すなわちネットワークA400の通信品質となる。   First, the measurement / calculation of the packet loss rate in the network A400 is recorded in the missing packet number recording unit 221 from the number of missing packets in the network A400 recorded in the missing packet number recording unit 221 at the time of measurement / calculation. The newest information (number value) of the information (number value) indicating the number of packets whose order has been changed in the network A400, that is, the value obtained by subtracting the number value (a) at the time of measurement / calculation is the correct packet in the network A400. The number of missing packets is calculated, and the packet loss occurrence rate is calculated based on the number value. The packet loss occurrence rate calculated in this way is the packet loss rate of the network A400, that is, the communication quality of the network A400.

一方、ネットワークB500におけるパケットロス率の測定/算出は、欠落パケット個数記録部221に記録されているネットワークB500の欠落パケットの個数値から、欠落パケット個数記録部221に記録されているネットワークA400における順番が入れ替わったパケットの個数を示す情報(個数値)の内最も新しい個数値、すなわち、測定/算出時の個数値(a)を加算した値がネットワークB500における正しいパケット欠落の個数となり、この個数値を基にパケット欠落の発生率を計算する。ここで個数値(a)を加算する理由を説明すると、欠落パケット個数記録部221に記録されているネットワークB500の欠落パケットの個数値は、ネットワークA400およびネットワークB500において発生した順番が入れ替わったパケットの個数が削減されているため、ネットワークB500における正しいパケット欠落の個数を算出するには余分に削減されたネットワークA400において発生した順番が入れ替わったパケットの個数を加算する必要があるためである。以上のようにして算出されたパケット欠落の発生率がネットワークB500のパケットロス率、すなわちネットワークB500の通信品質となる。   On the other hand, the packet loss rate in the network B500 is measured / calculated from the number of missing packets in the network B500 recorded in the missing packet number recording unit 221 in the order in the network A400 recorded in the missing packet number recording unit 221. The newest number value of information (number value) indicating the number of packets replaced by, that is, a value obtained by adding the number value (a) at the time of measurement / calculation is the number of correct packet loss in the network B500, and this number value The rate of packet loss is calculated based on the above. Here, the reason why the number value (a) is added will be described. The number value of the missing packets of the network B500 recorded in the missing packet number recording unit 221 is the number of packets in which the order of occurrence in the network A400 and the network B500 is switched. This is because, since the number is reduced, it is necessary to add the number of packets whose order has been changed in the network A400 that has been reduced excessively in order to calculate the correct number of missing packets in the network B500. The packet loss occurrence rate calculated as described above is the packet loss rate of the network B500, that is, the communication quality of the network B500.

このようにして測定(解析/計数/算出)されたそれぞれのパケットロス率を基に、本発明の実施の形態1の場合と同様にして、それぞれのネットワークが受信(通信)可能か不可能かの判定を行うことが可能である。   Based on the packet loss rates measured (analyzed / counted / calculated) in this way, whether or not each network can receive (communication) as in the case of the first embodiment of the present invention. It is possible to make a determination.

視聴に問題が発生した場合など必要に応じて、結果表示部205は、ストリーム管理DB204からネットワークA400およびネットワークB500それぞれのパケットロス率の値および/または受信(通信)可能/不可能の判定結果を取得して表示し、ネットワークA400とネットワークB500のどちらに問題があるのかなどをユーザに提示する(S413)。   The result display unit 205 displays the packet loss rate values of the network A 400 and the network B 500 and / or the determination result of reception (communication) possible / impossible from the stream management DB 204 as necessary when viewing problems occur. Acquired and displayed, and presents to the user whether there is a problem in network A400 or network B500 (S413).

以上説明したように、本発明の実施の形態4によれば、サーバ装置300から送信されたストリームデータ(RTPパケット)のルータ120ならびに映像受信端末220へ到着する順番が入れ替わるRTPパケットが存在しても、映像受信端末220は、正確にサーバ装置300とルータ120間およびルータ120と映像受信端末220間のそれぞれのパケットロス率を計算することが可能となり、その結果、サーバ装置300とルータ120間およびルータ120と映像受信端末220間の通信品質を測定することが可能になる。   As described above, according to the fourth embodiment of the present invention, there is an RTP packet in which the order of arrival of the stream data (RTP packet) transmitted from the server apparatus 300 to the router 120 and the video receiving terminal 220 is switched. In addition, the video receiving terminal 220 can accurately calculate the packet loss rates between the server apparatus 300 and the router 120 and between the router 120 and the video receiving terminal 220, and as a result, between the server apparatus 300 and the router 120. In addition, the communication quality between the router 120 and the video receiving terminal 220 can be measured.

なお、本発明の実施の形態4においては、本発明の実施の形態2を基本において説明したが、本発明の実施の形態1を基本においても同様の効果を出せることは明らかである。例えば、本発明の実施の形態1において、サーバ装置300から受信したRTPパケットのシーケンス番号を監視し、シーケンス番号の不連続の有無および不連続の発生が順番の逆転したことによるものか順番に空白が生じたことによるものかを判定できる機能や、ルータ120における順番入れ替わりパケット個数記録部121およびストリームデータ作成部113とそれぞれ同等の機能を有する手段などをルータ100に持たせ、また、映像受信端末200に、映像受信端末220における欠落パケット個数記録部221と同等の機能を有する手段を備えることなどにより、予め定めた受信区間毎に処理を実行することにより発揮する効果以外は、本発明の実施の形態4と同様の処理方法を実行でき、同様の効果を出せることは明白である。   Although the fourth embodiment of the present invention has been described based on the second embodiment of the present invention, it is obvious that the same effect can be obtained even in the first embodiment of the present invention. For example, in the first embodiment of the present invention, the sequence number of the RTP packet received from the server apparatus 300 is monitored, and the presence / absence of the sequence number discontinuity and the occurrence of the discontinuity are due to the reverse of the order or blank in order. The router 100 is provided with a function that can determine whether or not it has occurred, a means that has the same functions as the order-change packet number recording unit 121 and the stream data creation unit 113 in the router 120, and a video receiving terminal. The present invention is not limited to the effects exhibited by executing the processing for each predetermined reception section by providing a unit 200 having a function equivalent to that of the missing packet number recording unit 221 in the video receiving terminal 220. It is obvious that the same processing method as in Form 4 can be executed and the same effect can be obtained. .

本発明に係るルータと映像受信端末は、家庭内ネットワークなどのネットワークで接続されるとともに、ルータはインターネットなどのネットワークを介してサーバ装置と接続されるシステムを構成し、映像受信端末が、サーバ装置とルータ間およびルータと映像受信端末間のそれぞれのネットワークのストリーム通信品質を測定することが可能であるため、通信に障害が生じた際にいずれのネットワークに問題があるかといった、問題箇所を切り分ける技術として有用である。   The router and the video receiving terminal according to the present invention are connected by a network such as a home network, and the router constitutes a system connected to a server device via a network such as the Internet. The video receiving terminal is connected to the server device. It is possible to measure the stream communication quality of each network between the router and between the router and the video receiving terminal, and thus isolate the problem location such as which network has a problem when a communication failure occurs Useful as technology.

本発明の実施の形態1におけるストリーム通信品質測定システムの構成を示すブロック図1 is a block diagram showing a configuration of a stream communication quality measurement system in Embodiment 1 of the present invention. 本発明の実施の形態1におけるルータの内部の構成を示すブロック図The block diagram which shows the internal structure of the router in Embodiment 1 of this invention. 本発明の実施の形態1における映像受信端末の内部の構成を示すブロック図1 is a block diagram showing an internal configuration of a video receiving terminal according to Embodiment 1 of the present invention. 本発明の実施の形態1におけるパケット欠落を解析/測定する場合の手順を示すフローチャートThe flowchart which shows the procedure in the case of analyzing / measuring the packet loss in Embodiment 1 of this invention 各々のネットワークにおけるパケットの欠落とルータが欠落したパケットを補間する場合の一例を示す図The figure which shows an example in the case of interpolating the packet loss in each network, and the packet from which the router was lost 本発明の実施の形態2におけるストリーム通信品質測定システムの構成を示すブロック図Block diagram showing the configuration of a stream communication quality measurement system in Embodiment 2 of the present invention 本発明の実施の形態2におけるルータの具体的な構成を示すブロック図The block diagram which shows the concrete structure of the router in Embodiment 2 of this invention. 本発明の実施の形態2におけるRTPパケットの欠落を解析/測定する場合の手順を示すフローチャートThe flowchart which shows the procedure in the case of analyzing / measuring the loss of the RTP packet in Embodiment 2 of this invention 本発明の実施の形態3におけるストリーム通信品質測定システムの構成を示すブロック図Block diagram showing the configuration of a stream communication quality measurement system in Embodiment 3 of the present invention 本発明の実施の形態3における映像受信端末の具体的な構成を示すブロック図The block diagram which shows the concrete structure of the video receiving terminal in Embodiment 3 of this invention. 本発明の実施の形態3におけるRTPパケットの欠落を解析/測定する場合の手順を示すフローチャートThe flowchart which shows the procedure in the case of analyzing / measuring the loss of the RTP packet in Embodiment 3 of this invention 本発明の実施の形態4におけるストリーム通信品質測定システムの構成を示すブロック図Block diagram showing the configuration of a stream communication quality measurement system in Embodiment 4 of the present invention 本発明の実施の形態4におけるルータの具体的な構成を示すブロック図The block diagram which shows the concrete structure of the router in Embodiment 4 of this invention. 本発明の実施の形態4における映像受信端末の具体的な構成を示すブロック図The block diagram which shows the concrete structure of the video receiving terminal in Embodiment 4 of this invention. 本発明の実施の形態4におけるストリーム通信品質を測定する場合の手順を示すフローチャートThe flowchart which shows the procedure in the case of measuring the stream communication quality in Embodiment 4 of this invention. 特許文献1に開示されている従来の通信品質測定システムの構成を示すブロック図Block diagram showing a configuration of a conventional communication quality measurement system disclosed in Patent Document 1 特許文献1に開示されているルータの内部の構成を示すブロック図Block diagram showing the internal configuration of the router disclosed in Patent Document 1

符号の説明Explanation of symbols

100 ルータ
101 通信制御部
102 ストリームデータ解析/補間部
103 ストリームデータ作成部
104 ストリーム管理DB
110 ルータ
111 受信バッファ部
112 ストリームデータ解析/置換部
113 ストリームデータ作成部
120 ルータ
121 順番入れ替わりパケット個数記録部
200 映像受信端末
201 通信制御部
202 ストリームデータ解析部
203 ストリーム制御部
204 ストリーム管理DB
205 結果表示部
210 映像受信端末
211 欠落パケットリスト記録部
220 映像受信端末
221 欠落パケット個数記録部
300 サーバ装置
400 ネットワークA
500 ネットワークB
810 ルータ
811 通信制御部
812 ストリームデータ解析部
813 ストリーム管理DB
814 受信状況メッセージ解析部
820 映像受信端末
830 サーバ装置
840 ネットワークA
850 ネットワークB
DESCRIPTION OF SYMBOLS 100 Router 101 Communication control part 102 Stream data analysis / interpolation part 103 Stream data creation part 104 Stream management DB
DESCRIPTION OF SYMBOLS 110 Router 111 Reception buffer part 112 Stream data analysis / replacement part 113 Stream data creation part 120 Router 121 Order change packet number recording part 200 Video receiving terminal 201 Communication control part 202 Stream data analysis part 203 Stream control part 204 Stream management DB
205 result display unit 210 video receiving terminal 211 missing packet list recording unit 220 video receiving terminal 221 missing packet number recording unit 300 server device 400 network A
500 Network B
810 Router 811 Communication control unit 812 Stream data analysis unit 813 Stream management DB
814 Reception status message analysis unit 820 Video reception terminal 830 Server device 840 Network A
850 Network B

Claims (18)

受信端末が第1のネットワークで接続されたルータを経由して第2のネットワークを介してサーバから映像や音声コンテンツなどのストリームデータを受信するシステムにおいて用いられるストリーム通信品質測定方法であって、
前記受信端末から前記サーバに対して、所定の伝送レートのテストコンテンツのストリームデータを送信要求するステップ1と、
前記ルータは、前記受信端末からの前記送信要求に対応して前記サーバから送信される前記所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を監視してRTPパケットの欠落の有無を検出するステップ2と、
前記ステップ2において、RTPパケットの欠落が検出されない場合、前記ルータは前記サーバから受信したストリームデータをそのまま前記受信端末に送信し、RTPパケットの欠落を検出した場合、前記ルータは、検出されたシーケンス番号のRTPパケットが欠落したことを示す情報(欠落情報)を有し、かつ、前記欠落したRTPパケットのシーケンス番号と同一のシーケンス番号を有するRTPパケットを作成し、その作成したRTPパケットにより欠落したRTPパケットを補間したストリームデータを前記受信端末に送信するステップ3と、
前記受信端末は、前記ステップ3において前記ルータが送信したストリームデータを受信して解析し、受信したストリームデータに含まれるRTPパケットのシーケンス番号の欠落したRTPパケットを抽出してその個数を計数し、その計数した結果を基に前記第1のネットワークのパケットロス率、すなわち、前記第1のネットワークのストリーム通信品質を算出するとともに、受信したストリームデータに含まれるRTPパケットが有する前記欠落情報を解析し、前記第2のネットワークにおいて欠落したRTPパケットを抽出してその個数を計数し、その計数した結果を基に前記第2のネットワークのパケットロス率、すなわち、前記第2のネットワークのストリーム通信品質を算出するステップ4と、
を備えるストリーム通信品質測定方法。
A stream communication quality measurement method used in a system in which a receiving terminal receives stream data such as video and audio contents from a server via a second network via a router connected by a first network,
Step 1 for requesting transmission of test content stream data at a predetermined transmission rate from the receiving terminal to the server;
The router receives the stream data of the test content at the predetermined transmission rate transmitted from the server in response to the transmission request from the receiving terminal via the second network, and converts the received stream data into the received stream data. Step 2 for monitoring the sequence number of an included RTP (Real-time Transport Protocol) packet to detect the presence or absence of an RTP packet;
In step 2, when the lack of RTP packet is not detected, the router transmits the stream data received from the server to the receiving terminal as it is, and when the lack of RTP packet is detected, the router detects the detected sequence. An RTP packet having information (missing information) indicating that the numbered RTP packet is missing and having the same sequence number as the sequence number of the missing RTP packet is created, and is missing by the created RTP packet Transmitting stream data obtained by interpolating RTP packets to the receiving terminal; and
The receiving terminal receives and analyzes the stream data transmitted by the router in the step 3, extracts RTP packets lacking the sequence number of the RTP packet included in the received stream data, and counts the number thereof. Based on the counted result, the packet loss rate of the first network, that is, the stream communication quality of the first network is calculated, and the missing information included in the RTP packet included in the received stream data is analyzed. The RTP packets lost in the second network are extracted and counted, and the packet loss rate of the second network, that is, the stream communication quality of the second network is determined based on the counted result. Calculating step 4;
A stream communication quality measuring method comprising:
受信端末が第1のネットワークで接続されたルータを経由して第2のネットワークを介してサーバから映像や音声コンテンツなどのストリームデータを受信するシステムにおいて用いられるストリーム通信品質測定方法であって、
前記受信端末から前記サーバに対して、所定の伝送レートのテストコンテンツのストリームデータを送信要求するステップ1と、
前記ルータは、前記受信端末からの前記送信要求に対応して前記サーバから送信される前記所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を監視してRTPパケットのシーケンス番号の不連続の有無を検出するステップ2と、
前記ステップ2において、RTPパケットのシーケンス番号の不連続が検出されない場合、前記ルータは、前記サーバから受信したストリームデータをそのまま前記受信端末に送信し、RTPパケットのシーケンス番号の不連続を検出した場合、その不連続は、RTPパケットの順番が逆転したことにより生じたと想定されるものか、あるいはRTPパケットの欠落により生じたと想定されるものかを判断し、RTPパケットの順番が逆転したことにより生じたと想定される場合は、前記サーバから受信したストリームデータをそのまま前記受信端末に送信し、RTPパケットの欠落により生じたと想定される場合は、欠落していると想定されたRTPパケットが、前記第2のネットワークにおいて欠落したことを示す情報(欠落情報)を有し、かつ、前記欠落していると想定されたRTPパケットのシーケンス番号と同一のシーケンス番号を有するRTPパケットを作成し、その作成したRTPパケットにより欠落したRTPパケットを補間したストリームデータを前記受信端末に送信するステップ3と、
前記受信端末は、前記ステップ3において前記ルータが送信したRTPパケットを受信して解析し、前記ルータから受信したRTPパケットが前記ルータにより作成され補間されたRTPパケットか否か、また、前記ルータから受信したRTPパケットのシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の欠落によるものか、それともシーケンス番号の順番が逆転したことによるものかを判断するステップ4と、
前記ステップ4において、前記ルータから受信したRTPパケットが前記ルータにより作成され補間されたRTPパケットであると判断した場合は、前記ルータから送信されたストリームデータのRTPパケットが有する前記欠落情報を解析し、前記第2のネットワークにおいて欠落したことを示す前記欠落情報が記述されたRTPパケットを欠落パケットとして抽出し、前記抽出した欠落パケットを前記第2のネットワークの欠落パケットリストに追加/記録するステップ5と、
前記ステップ4において、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の欠落によるものと判断した場合は、そのシーケンス番号を有するRTPパケットは前記第1のネットワークにおいて欠落したものと見なし、そのシーケンス番号を有するRTPパケットを前記第1のネットワークの欠落パケットリストに記録し、また、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の順番が逆転したことによるものと判断した場合は、その不連続点において後に受信したシーケンス番号を有するRTPパケットを前記第1のネットワークの欠落パケットリストまたは前記第2のネットワークの欠落パケットリストから削除するステップ6と、
前記受信端末は、前記第1のネットワークの欠落パケットリストおよび前記第2のネットワークの欠落パケットリストにそれぞれ記録されている欠落パケットの個数を基に、前記第1のネットワークおよび前記第2のネットワークのパケットロス率、すなわち、前記第1のネットワークおよび前記第2のネットワークのストリーム通信品質をそれぞれ算出するステップ7と、
を備えるストリーム通信品質測定方法。
A stream communication quality measurement method used in a system in which a receiving terminal receives stream data such as video and audio contents from a server via a second network via a router connected by a first network,
Step 1 for requesting transmission of test content stream data at a predetermined transmission rate from the receiving terminal to the server;
The router receives the stream data of the test content at the predetermined transmission rate transmitted from the server in response to the transmission request from the receiving terminal via the second network, and converts the received stream data into the received stream data. Step 2 for monitoring the sequence number of the included RTP (Real-time Transport Protocol) packet and detecting the presence or absence of discontinuity in the sequence number of the RTP packet;
If the sequence number discontinuity of the RTP packet is not detected in the step 2, the router transmits the stream data received from the server as it is to the receiving terminal and detects the sequence number discontinuity of the RTP packet. The discontinuity is caused by reversing the order of the RTP packets by judging whether the discontinuity is assumed to have been caused by the reversal of the order of the RTP packets or the lack of RTP packets. When it is assumed that the stream data received from the server is transmitted to the receiving terminal as it is, and it is assumed that the RTP packet is caused by a missing RTP packet, the RTP packet assumed to be missing is Has information (missing information) indicating that it is missing in network 2 And an RTP packet having the same sequence number as that of the RTP packet assumed to be missing is created, and stream data obtained by interpolating the missing RTP packet with the created RTP packet is sent to the receiving terminal. Sending step 3, and
The receiving terminal receives and analyzes the RTP packet transmitted by the router in the step 3, and determines whether the RTP packet received from the router is an RTP packet created and interpolated by the router, and from the router. If there is a discontinuity in the sequence number of the received RTP packet, and if there is a discontinuity in the sequence number, the discontinuity is due to a missing sequence number or because the sequence number is reversed. Step 4 to determine if it is,
If it is determined in step 4 that the RTP packet received from the router is an RTP packet created and interpolated by the router, the missing information included in the RTP packet of the stream data transmitted from the router is analyzed. Step 5 for extracting an RTP packet in which the missing information indicating that it is missing in the second network is described as a missing packet, and adding / recording the extracted missing packet to the missing packet list of the second network When,
In step 4, when a discontinuity is detected in the RTP packet received from the router and it is determined that the discontinuity is caused by a missing sequence number, the RTP packet having the sequence number is missing in the first network. The RTP packet having the sequence number is recorded in the missing packet list of the first network, and discontinuity is detected in the RTP packet received from the router. The RTP packet having a sequence number received later at the discontinuity point is deleted from the missing packet list of the first network or the missing packet list of the second network. 6 and
Based on the number of missing packets recorded in the missing packet list of the first network and the missing packet list of the second network, the receiving terminal Calculating a packet loss rate, that is, a stream communication quality of each of the first network and the second network;
A stream communication quality measuring method comprising:
受信端末が第1のネットワークで接続されたルータを経由して第2のネットワークを介してサーバから映像や音声コンテンツなどのストリームデータを受信するシステムにおいて用いられるストリーム通信品質測定方法であって、
前記受信端末から前記サーバに対して、所定の伝送レートのテストコンテンツのストリームデータを送信要求するステップ1と、
前記ルータは、前記受信端末からの前記送信要求に対応して前記サーバから送信される前記所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を監視してRTPパケットのシーケンス番号の不連続の有無を検出するステップ2と、
前記ステップ2において、RTPパケットのシーケンス番号の不連続が検出されない場合、前記ルータは、前記サーバから受信したストリームデータをそのまま前記受信端末に送信し、RTPパケットのシーケンス番号の不連続を検出した場合、その不連続は、RTPパケットの順番が逆転したことにより生じたと想定されるものか、あるいはRTPパケットの欠落により生じたと想定されるものかを判断し、RTPパケットの順番が逆転したことにより生じたと想定される場合は、前記サーバから受信したストリームデータをそのまま前記受信端末に送信するとともに、RTPパケットの順番が逆転したと想定される順番逆転パケットの個数を計数/加算して記録し、RTPパケットの欠落により生じたと想定される場合は、欠落していると想定されたRTPパケットが前記第2のネットワークにおいて欠落したことを示す情報(欠落情報)を有し、かつ、前記欠落していると想定されたRTPパケットのシーケンス番号と同一のシーケンス番号を有するRTPパケットを作成し、前記欠落していると想定されたRTPパケットを前記作成したRTPパケットで補間した後、計数/加算して記録されている前記順番逆転パケットの個数に関する情報(個数値)とともに前記受信端末に送信するステップ3と、
前記受信端末は、前記ステップ3において前記ルータが送信したRTPパケットを受信して解析し、前記ルータから受信したRTPパケットが前記ルータにより作成され補間されたRTPパケットか否か、また、前記ルータから受信したRTPパケットのシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の欠落によるものか、それともシーケンス番号の順番が逆転したことによるものかを判断するステップ4と、
前記ステップ4において、前記ルータから受信したRTPパケットが前記ルータにより作成され補間されたRTPパケットであると判断した場合は、前記ルータから送信されたストリームデータのRTPパケットが有する前記欠落情報を解析し、前記第2のネットワークにおいて欠落したことを示す前記欠落情報が記述されたRTPパケットを欠落RTPパケットとして抽出し、前記抽出した欠落RTPパケットを前記第2のネットワークの欠落パケット個数記録手段に追加/記録するステップ5と、
前記ステップ4において、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の欠落によるものと判断した場合は、そのRTPパケットは前記第1のネットワークにおいて欠落したものと見なし、その欠落RTPパケットの個数を前記第1のネットワークの欠落パケット個数記録手段に追加/記録し、また、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の順番が逆転したことによるものと判断した場合は、順番が逆転したことによるものと判断されたRTPパケットの個数を前記第1のネットワークの欠落パケット個数記録手段に記録されている欠落RTPパケットの個数から減算するステップ6と、
前記受信端末は、前記第2のネットワークの欠落パケット個数記録手段に記録されている
欠落RTPパケットの個数値から前記ルータから受信した前記順番逆転パケットの個数値を減算した値を基に、前記第2のネットワークのパケットロス率、すなわち、前記第2のネットワークのストリーム通信品質を算出し、また、前記第1のネットワークの欠落パケット個数記録手段に記録されている欠落RTPパケットの個数値に前記ルータから受信した前記順番逆転パケットの個数値を加算した値を基に、前記第1のネットワークのパケットロス率、すなわち、前記第1のネットワークのストリーム通信品質を算出するステップ7と、
を備えるストリーム通信品質測定方法。
A stream communication quality measurement method used in a system in which a receiving terminal receives stream data such as video and audio contents from a server via a second network via a router connected by a first network,
Step 1 for requesting transmission of test content stream data at a predetermined transmission rate from the receiving terminal to the server;
The router receives the stream data of the test content at the predetermined transmission rate transmitted from the server in response to the transmission request from the receiving terminal via the second network, and converts the received stream data into the received stream data. Step 2 for monitoring the sequence number of the included RTP (Real-time Transport Protocol) packet and detecting the presence or absence of discontinuity in the sequence number of the RTP packet;
If the sequence number discontinuity of the RTP packet is not detected in the step 2, the router transmits the stream data received from the server as it is to the receiving terminal and detects the sequence number discontinuity of the RTP packet. The discontinuity is caused by reversing the order of the RTP packets by judging whether the discontinuity is assumed to have been caused by the reversal of the order of the RTP packets or the lack of RTP packets. The stream data received from the server is transmitted to the receiving terminal as it is, and the number of reverse order packets assumed to be reversed is counted / added and recorded. Missing if assumed to be caused by missing packet RTP having information (missing information) indicating that the assumed RTP packet is missing in the second network and having the same sequence number as the sequence number of the RTP packet assumed to be missing After creating a packet, interpolating the RTP packet assumed to be missing with the created RTP packet, and counting / adding the information (number value) regarding the number of the order reversal packets recorded Sending to the receiving terminal, step 3,
The receiving terminal receives and analyzes the RTP packet transmitted by the router in the step 3, and determines whether the RTP packet received from the router is an RTP packet created and interpolated by the router, and from the router. If there is a discontinuity in the sequence number of the received RTP packet, and if there is a discontinuity in the sequence number, the discontinuity is due to a missing sequence number or because the sequence number is reversed. Step 4 to determine if it is,
If it is determined in step 4 that the RTP packet received from the router is an RTP packet created and interpolated by the router, the missing information included in the RTP packet of the stream data transmitted from the router is analyzed. The RTP packet in which the missing information indicating the missing in the second network is described is extracted as a missing RTP packet, and the extracted missing RTP packet is added to the missing packet number recording unit in the second network. Step 5 to record,
In step 4, when a discontinuity is detected in the RTP packet received from the router and it is determined that the discontinuity is due to a missing sequence number, the RTP packet is regarded as missing in the first network. The number of missing RTP packets is added / recorded in the missing packet number recording means of the first network, and a discontinuity is detected in the RTP packet received from the router. If it is determined that the order has been reversed, the number of RTP packets determined to have been reversed is subtracted from the number of missing RTP packets recorded in the missing packet number recording means of the first network. Step 6 to
The receiving terminal, based on a value obtained by subtracting the number value of the inversion packets received from the router from the number value of the missing RTP packets recorded in the missing packet number recording unit of the second network. The packet loss rate of the second network, that is, the stream communication quality of the second network is calculated, and the number of missing RTP packets recorded in the missing packet number recording means of the first network is calculated as the router. Calculating a packet loss rate of the first network, that is, a stream communication quality of the first network, based on a value obtained by adding the number value of the order reversal packets received from
A stream communication quality measuring method comprising:
前記ステップ3において、RTPパケットの欠落を検出した場合、前記ルータは、1つの欠落したRTPパケットに対して前記欠落情報を有し、かつ、前記欠落したRTPパケットのシーケンス番号と同一のシーケンス番号を有するRTPパケットを少なくとも2個作成し、その作成した少なくとも2個のRTPパケットにより欠落したRTPパケットを補間したストリームデータを前記受信端末に送信し、
前記ステップ4において、前記受信端末は、前記ステップ3において前記ルータが送信したストリームデータを受信して解析する場合、RTPパケットのシーケンス番号がすでに受信して解析したことがあるRTPパケットのシーケンス番号であることを検知すると、そのRTPパケットの解析を行わずに破棄することを特徴とする請求項1乃至3のいずれかに記載のストリーム通信品質測定方法。
In step 3, when a missing RTP packet is detected, the router has the missing information for one missing RTP packet, and sets the same sequence number as the sequence number of the missing RTP packet. Creating at least two RTP packets having, and transmitting stream data obtained by interpolating RTP packets lost by the created at least two RTP packets to the receiving terminal;
In the step 4, when the receiving terminal receives and analyzes the stream data transmitted by the router in the step 3, the sequence number of the RTP packet that has already been received and analyzed is the sequence number of the RTP packet. 4. The stream communication quality measuring method according to claim 1, wherein when the presence is detected, the RTP packet is discarded without being analyzed.
前記欠落情報は、RTPパケットにおけるRTPヘッダのペイロードタイプ、または、RTPヘッダのSSRC(Synchronization Source)識別子、または、RTPヘッダのCSRC(Contributing Source)識別子、または、RTPヘッダのヘッダ拡張、または、RTPヘッダのペイロードの内少なくとも1つを利用して記述されることを特徴とする請求項1乃至4のいずれかに記載のストリーム通信品質測定方法。 The missing information includes the payload type of the RTP header in the RTP packet, the SSRC (Synchronization Source) identifier of the RTP header, the CSRC (Contributing Source) identifier of the RTP header, the header extension of the RTP header, or the RTP header. The stream communication quality measurement method according to claim 1, wherein the stream communication quality measurement method is described using at least one of said payloads. 受信端末が第1のネットワークで接続されたルータを経由して第2のネットワークを介してサーバから映像や音声コンテンツなどのストリームデータを受信するシステムにおいて用いられるストリーム通信品質測定方法であって、
前記受信端末から前記サーバに対して、所定の伝送レートのテストコンテンツのストリームデータを送信要求するステップ1と、
前記ルータは、前記受信端末からの前記送信要求に対応して前記サーバから送信される前記所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を予め定めた受信区間毎に監視してRTPパケットの欠落の有無を検出するステップ2と、
前記ステップ2において、受信区間(イ)内でRTPパケットの欠落が検出されない場合、前記ルータは前記サーバから受信した前記受信区間(イ)のストリームデータをそのまま前記受信端末に送信し、受信区間(ロ)内で少なくとも1つのRTPパケットの欠落を検出した場合、前記ルータは、欠落していることが検出された前記受信区間(ロ)内の各RTPパケットが、前記第2のネットワークにおいて欠落したことを示すそれぞれの情報(各々の欠落情報)を、前記予め定めた受信区間内の全てのRTPパケットにおけるRTPヘッダ部に記述して、かつ、シーケンス番号が連続するRTPパケットを作成し、前記サーバから受信した前記受信区間(ロ)の全てのRTPパケットを前記作成したRTPパケットに置換した後、前記受信端末に送信するステップ3と、
前記受信端末は、前記ステップ3において前記ルータが送信したストリームデータを受信して解析し、受信したストリームデータに含まれるRTPパケットのシーケンス番号の欠落したRTPパケットを抽出してその個数を計数し、その計数した結果を基に前記第1のネットワークのパケットロス率、すなわち、前記第1のネットワークのストリーム通信品質を算出するとともに、前記ルータから送信されたストリームデータのRTPパケットにおける前記RTPヘッダ部を前記受信区間毎に解析し、前記第2のネットワークにおいて欠落したことを示す前記各々の欠落情報が記述されたRTPパケットを前記受信区間毎に抽出してその個数を計数し、それらの計数した結果を基に前記第2のネットワークのパケットロス率、すなわち、前記第2のネットワークのストリーム通信品質を算出するステップ4と、
を備えるストリーム通信品質測定方法。
A stream communication quality measurement method used in a system in which a receiving terminal receives stream data such as video and audio contents from a server via a second network via a router connected by a first network,
Step 1 for requesting transmission of test content stream data at a predetermined transmission rate from the receiving terminal to the server;
The router receives the stream data of the test content at the predetermined transmission rate transmitted from the server in response to the transmission request from the receiving terminal via the second network, and converts the received stream data into the received stream data. Step 2 for monitoring the sequence number of the included RTP (Real-time Transport Protocol) packet for each predetermined reception section to detect the presence or absence of an RTP packet;
In step 2, if no missing RTP packet is detected in the reception interval (b), the router transmits the stream data of the reception interval (b) received from the server to the receiving terminal as it is. When at least one RTP packet is detected missing in (b), the router has lost each RTP packet in the receiving section (b) detected to be missing in the second network. Each of the information indicating that (each missing information) is described in the RTP header part of all the RTP packets in the predetermined reception section, and an RTP packet having a continuous sequence number is created, and the server After replacing all the RTP packets received in the receiving section (b) with the created RTP packet, And Step 3 to be transmitted to the terminal,
The receiving terminal receives and analyzes the stream data transmitted by the router in the step 3, extracts RTP packets lacking the sequence number of the RTP packet included in the received stream data, and counts the number thereof. Based on the counted result, the packet loss rate of the first network, that is, the stream communication quality of the first network is calculated, and the RTP header part in the RTP packet of the stream data transmitted from the router is calculated. An analysis is performed for each reception section, and RTP packets in which the respective missing information indicating that they are missing in the second network are described are extracted for each reception section, and the number of the RTP packets is counted. Based on the packet loss rate of the second network, that is, the And Step 4 to calculate the stream communication quality of the second network,
A stream communication quality measuring method comprising:
受信端末が第1のネットワークで接続されたルータを経由して第2のネットワークを介してサーバから映像や音声コンテンツなどのストリームデータを受信するシステムにおいて用いられるストリーム通信品質測定方法であって、
前記受信端末から前記サーバに対して、所定の伝送レートのテストコンテンツのストリームデータを送信要求するステップ1と、
前記ルータは、前記受信端末からの前記送信要求に対応して前記サーバから送信される前記所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を予め定めた受信区間毎に監視してRTPパケットのシーケンス番号の不連続の有無を検出するステップ2と、
前記ステップ2において、受信区間(ハ)内でRTPパケットのシーケンス番号の不連続が検出されない場合、前記ルータは、前記サーバから受信した前記受信区間(ハ)のストリームデータをそのまま前記受信端末に送信し、受信区間(ニ)内でRTPパケットのシーケンス番号の不連続を検出した場合、その不連続は、RTPパケットの順番が逆転したことにより生じたと想定されるものか、あるいはRTPパケットの欠落により生じたと想定されるものかを判断し、RTPパケットの順番が逆転したことにより生じたと想定される場合は、前記サーバから受信した前記受信区間(ニ)のストリームデータをそのまま前記受信端末に送信し、RTPパケットの欠落により生じたと想定される場合は、欠落していると想定された前記受信区間(ニ)内の各RTPパケットが、前記第2のネットワークにおいて欠落したことを示すそれぞれの情報(各々の欠落情報)を、前記予め定めた受信区間内の全てのRTPパケットにおけるRTPヘッダ部に記述して、かつ、シーケンス番号が連続するRTPパケットを作成し、前記サーバから受信した前記受信区間(ニ)の全てのRTPパケットを前記作成したRTPパケットに置換した後、前記受信端末に送信するステップ3と、
前記受信端末は、前記ステップ3において前記ルータが送信したRTPパケットを受信して予め定めた受信区間毎に解析し、前記ルータから受信したRTPパケットが前記ルータにより作成され置換されたRTPパケットか否か、また、前記ルータから受信したRTPパケットが予め定めた受信区間内でシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の欠落によるものか、それともシーケンス番号の順番が逆転したことによるものかを判断するステップ4と、
前記ステップ4において、前記ルータから受信したRTPパケットが前記ルータにより作成され置換されたRTPパケットであると判断した場合は、前記ルータから送信されたストリームデータのRTPパケットにおける前記RTPヘッダ部を前記受信区間毎に解析し、前記第2のネットワークにおいて欠落したことを示す前記各々の欠落情報が記述されたRTPパケットを欠落パケットとして抽出し、前記抽出した欠落パケットを前記第2のネットワークの欠落パケットリストに追加/記録するステップ5と、
前記ステップ4において、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の欠落によるものと判断した場合は、それらのシーケンス番号を有するRTPパケットは前記第1のネットワークにおいて欠落したものと見なし、それらのシーケンス番号を有するRTPパケットを前記第1のネットワークの欠落パケットリストに記録し、また、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の順番が逆転したことによるものと判断した場合は、その不連続点において後に受信したシーケンス番号を有するRTPパケットを前記第1のネットワークの欠落パケットリストまたは前記第2のネットワークの欠落パケットリストから削除するステップ6と、
前記受信端末は、前記第1のネットワークの欠落パケットリストおよび前記第2のネットワークの欠落パケットリストにそれぞれ記録されている欠落パケットの個数を基に、前記第1のネットワークおよび前記第2のネットワークのパケットロス率、すなわち、前記第1のネットワークおよび前記第2のネットワークのストリーム通信品質をそれぞれ算出するステップ7と、
を備えるストリーム通信品質測定方法。
A stream communication quality measurement method used in a system in which a receiving terminal receives stream data such as video and audio contents from a server via a second network via a router connected by a first network,
Step 1 for requesting transmission of test content stream data at a predetermined transmission rate from the receiving terminal to the server;
The router receives the stream data of the test content at the predetermined transmission rate transmitted from the server in response to the transmission request from the receiving terminal via the second network, and converts the received stream data into the received stream data. Step 2 for monitoring the sequence number of the included RTP (Real-time Transport Protocol) packet for each predetermined reception section to detect the presence or absence of discontinuity in the sequence number of the RTP packet;
If no discontinuity in the sequence number of the RTP packet is detected in the reception section (c) in the step 2, the router transmits the stream data of the reception section (c) received from the server as it is to the receiving terminal. However, when a discontinuity in the sequence number of the RTP packet is detected within the receiving section (d), the discontinuity is assumed to have occurred due to the reverse of the order of the RTP packets, or due to a missing RTP packet. When it is assumed that it has occurred because the order of RTP packets has been reversed, the stream data of the reception section (d) received from the server is transmitted to the receiving terminal as it is. , If it is assumed that it was caused by a missing RTP packet, the reception zone assumed to be missing Each information (each missing information) indicating that each RTP packet in (d) is missing in the second network is described in the RTP header part in all the RTP packets in the predetermined receiving section. And creating RTP packets with consecutive sequence numbers, replacing all RTP packets received from the server with the created RTP packets, and then transmitting the RTP packets to the receiving terminal. 3 and
The receiving terminal receives the RTP packet transmitted by the router in step 3 and analyzes it for each predetermined reception interval, and determines whether the RTP packet received from the router is an RTP packet created and replaced by the router. In addition, if the RTP packet received from the router does not have a sequence number discontinuity within a predetermined reception interval, and if there is a discontinuity in the sequence number, the discontinuity is a missing sequence number. Step 4 for determining whether or not due to the reverse of the sequence number order,
If it is determined in step 4 that the RTP packet received from the router is an RTP packet created and replaced by the router, the RTP header portion in the RTP packet of the stream data transmitted from the router is received. Analyzing each section, extracting the RTP packet in which each piece of missing information indicating that it is missing in the second network is described as a missing packet, and extracting the extracted missing packet as a missing packet list of the second network Adding / recording to step 5;
In Step 4, when discontinuity is detected in the RTP packet received from the router, and it is determined that the discontinuity is due to a lack of sequence numbers, the RTP packets having those sequence numbers are transmitted in the first network. The RTP packets having those sequence numbers are recorded in the missing packet list of the first network, and a discontinuity is detected in the RTP packet received from the router. If the RTP packet having a sequence number received later at the discontinuity point is deleted from the missing packet list of the first network or the missing packet list of the second network Step 6 to
Based on the number of missing packets recorded in the missing packet list of the first network and the missing packet list of the second network, the receiving terminal Calculating a packet loss rate, that is, a stream communication quality of each of the first network and the second network;
A stream communication quality measuring method comprising:
受信端末が第1のネットワークで接続されたルータを経由して第2のネットワークを介してサーバから映像や音声コンテンツなどのストリームデータを受信するシステムにおいて用いられるストリーム通信品質測定方法であって、
前記受信端末から前記サーバに対して、所定の伝送レートのテストコンテンツのストリームデータを送信要求するステップ1と、
前記ルータは、前記受信端末からの前記送信要求に対応して前記サーバから送信される前記所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を予め定めた受信区間毎に監視してRTPパケットのシーケンス番号の不連続の有無を検出するステップ2と、
前記ステップ2において、受信区間(ホ)内でRTPパケットのシーケンス番号の不連続が検出されない場合、前記ルータは、前記サーバから受信した前記受信区間(ホ)のストリームデータをそのまま前記受信端末に送信し、受信区間(ヘ)内でRTPパケットのシーケンス番号の不連続を検出した場合、その不連続は、RTPパケットの順番が逆転したことにより生じたと想定されるものか、あるいはRTPパケットの欠落により生じたと想定されるものかを判断し、RTPパケットの順番が逆転したことにより生じたと想定される場合は、前記サーバから受信した前記受信区間(ヘ)のストリームデータをそのまま前記受信端末に送信するとともに、RTPパケットの順番が逆転したと想定される順番逆転パケットの個数を計数/加算して記録し、RTPパケットの欠落により生じたと想定される場合は、欠落していると想定された前記受信区間(ヘ)内の各RTPパケットが、前記第2のネットワークにおいて欠落したことを示すそれぞれの情報(各々の欠落情報)を、前記予め定めた受信区間内の全てのRTPパケットにおけるRTPヘッダ部に記述して、かつ、シーケンス番号が連続するRTPパケットを作成し、前記サーバから受信した前記受信区間(ヘ)の全てのRTPパケットを前記作成したRTPパケットに置換した後、計数/加算して記録されている前記順番逆転パケットの個数に関する情報(個数値)とともに前記受信端末に送信するステップ3と、
前記受信端末は、前記ステップ3において前記ルータが送信したRTPパケットを受信して予め定めた受信区間毎に解析し、前記ルータから受信したRTPパケットが前記ルータにより作成され置換されたRTPパケットか否か、また、前記ルータから受信したRTPパケットが予め定めた受信区間内でシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の欠落によるものか、それともシーケンス番号の順番が逆転したことによるものかを判断するステップ4と、
前記ステップ4において、前記ルータから受信したRTPパケットが前記ルータにより作成され置換されたRTPパケットであると判断した場合は、前記ルータから送信されたストリームデータのRTPパケットにおける前記RTPヘッダ部を前記受信区間毎に解析し、前記第2のネットワークにおいて欠落したことを示す前記各々の欠落情報が記述されたRTPパケットを欠落RTPパケットとして抽出し、前記抽出した欠落RTPパケットを前記第2のネットワークの欠落パケット個数記録手段に追加/記録するステップ5と、
前記ステップ4において、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の欠落によるものと判断した場合は、それらのRTPパケットは前記第1のネットワークにおいて欠落したものと見なし、それらの欠落RTPパケットの個数を前記第1のネットワークの欠落パケット個数記録手段に追加/記録し、また、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の順番が逆転したことによるものと判断した場合は、順番が逆転したことによるものと判断されたRTPパケットの個数を前記第1のネットワークの欠落パケット個数記録手段に記録されている欠落RTPパケットの個数から減算するステップ6と、
前記受信端末は、前記第2のネットワークの欠落パケット個数記録手段に記録されている
欠落RTPパケットの個数値から前記ルータから受信した前記順番逆転パケットの個数値を減算した値を基に、前記第2のネットワークのパケットロス率、すなわち、前記第2のネットワークのストリーム通信品質を算出し、また、前記第1のネットワークの欠落パケット個数記録手段に記録されている欠落RTPパケットの個数値に前記ルータから受信した前記順番逆転パケットの個数値を加算した値を基に、前記第1のネットワークのパケットロス率、すなわち、前記第1のネットワークのストリーム通信品質を算出するステップ7と、
を備えるストリーム通信品質測定方法。
A stream communication quality measurement method used in a system in which a receiving terminal receives stream data such as video and audio contents from a server via a second network via a router connected by a first network,
Step 1 for requesting transmission of test content stream data at a predetermined transmission rate from the receiving terminal to the server;
The router receives the stream data of the test content at the predetermined transmission rate transmitted from the server in response to the transmission request from the receiving terminal via the second network, and converts the received stream data into the received stream data. Step 2 for monitoring the sequence number of the included RTP (Real-time Transport Protocol) packet for each predetermined reception section to detect the presence or absence of discontinuity in the sequence number of the RTP packet;
If no discontinuity in the sequence number of the RTP packet is detected in the reception section (e) in step 2, the router transmits the stream data of the reception section (e) received from the server as it is to the receiving terminal. However, if a discontinuity in the sequence number of the RTP packet is detected within the receiving section (f), the discontinuity is assumed to have occurred due to the reverse of the order of the RTP packets, or due to a missing RTP packet. If it is assumed that it has occurred because the order of RTP packets has been reversed, the stream data of the reception section (f) received from the server is transmitted to the receiving terminal as it is. At the same time, count / add the number of order reversal packets that are assumed to have reversed the order of RTP packets. Each of which indicates that each RTP packet in the reception section (f) assumed to be missing is missing in the second network. Information (each missing information) is described in the RTP header part of all the RTP packets in the predetermined reception section, and the RTP packet having a continuous sequence number is created and received from the server. A step of transmitting all of the RTP packets in the reception section (f) to the receiving terminal together with information (number value) on the number of the order reversal packets recorded by counting / adding after replacing the created RTP packets 3 and
The receiving terminal receives the RTP packet transmitted by the router in step 3 and analyzes it for each predetermined reception interval, and determines whether the RTP packet received from the router is an RTP packet created and replaced by the router. In addition, if the RTP packet received from the router does not have a sequence number discontinuity within a predetermined reception interval, and if there is a discontinuity in the sequence number, the discontinuity is a missing sequence number. Step 4 for determining whether or not due to the reverse of the sequence number order,
If it is determined in step 4 that the RTP packet received from the router is an RTP packet created and replaced by the router, the RTP header portion in the RTP packet of the stream data transmitted from the router is received. Analyzing each section, extracting the RTP packet in which each piece of missing information indicating that it is missing in the second network is described as a missing RTP packet, and extracting the extracted missing RTP packet from the second network Step 5 of adding / recording in the packet number recording means;
In Step 4, when discontinuities are detected in the RTP packets received from the router, and it is determined that the discontinuities are due to missing sequence numbers, these RTP packets are regarded as missing in the first network. The number of those missing RTP packets is added / recorded in the missing packet number recording means of the first network, and a discontinuity is detected in the RTP packet received from the router. If it is determined that the order has been reversed, the number of RTP packets recorded in the missing packet number recording means of the first network is the number of RTP packets determined to be due to the order being reversed. Subtracting from step 6;
The receiving terminal, based on a value obtained by subtracting the number value of the inversion packets received from the router from the number value of the missing RTP packets recorded in the missing packet number recording unit of the second network. The packet loss rate of the second network, that is, the stream communication quality of the second network is calculated, and the number of missing RTP packets recorded in the missing packet number recording means of the first network is calculated as the router. Calculating a packet loss rate of the first network, that is, a stream communication quality of the first network, based on a value obtained by adding the number value of the order reversal packets received from
A stream communication quality measuring method comprising:
前記第2のネットワークにおいて欠落したことを示す前記各々の欠落情報を記述する前記RTPヘッダ部は、RTPヘッダのSSRC(Synchronization Source)識別子、または、RTPヘッダのCSRC(Contributing Source)識別子、または、RTPヘッダのヘッダ拡張の内の少なくとも1つであることを特徴とする請求項6乃至8のいずれかに記載のストリーム通信品質測定方法。 The RTP header part describing each missing information indicating that it is missing in the second network includes an SSRC (Synchronization Source) identifier of the RTP header, a CSRC (Contributing Source) identifier of the RTP header, or an RTP 9. The stream communication quality measurement method according to claim 6, wherein the stream communication quality measurement method is at least one of header extensions of the header. 受信端末と、前記受信端末と第1のネットワークで接続されたルータと、前記ルータと第2のネットワークで接続され、前記ルータを中継して前記第2のネットワークおよび前記第1のネットワークを介して前記受信端末に対して映像および音声コンテンツなどのストリームデータを送信するサーバとで構成されるストリーム通信品質測定システムであって、
前記ルータは、
前記受信端末からの送信要求に対応して前記サーバが送信する所定の伝送レートのテストコンテンツのストリームデータを解析し、ストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を監視してRTPパケットの欠落の有無を検出する手段1と、
前記手段1において、前記サーバから受信したRTPパケットに欠落パケットが検出されない場合は、前記サーバから受信したストリームデータをそのまま前記受信端末に送信し、RTPパケットの欠落を検出した場合は、検出されたシーケンス番号のRTPパケットが欠落したことを示す情報(欠落情報)を有し、かつ、前記欠落したRTPパケットのシーケンス番号と同一のシーケンス番号を有するRTPパケットを作成し、その作成したRTPパケットにより欠落したRTPパケットを補間したストリームデータを前記受信端末に送信する手段2を具備し、
前記受信端末は、
前記サーバに対して前記所定の伝送レートのテストコンテンツのストリームデータを送信要求する手段3と、
前記ルータが送信したストリームデータを受信して解析し、ストリームデータに含まれるRTPパケットのシーケンス番号を監視してRTPパケットの欠落の有無を検出し、前記第1のネットワークにおいて欠落したRTPパケットを抽出するとともに、前記ルータから受信したストリームデータに含まれるRTPパケットが有する前記欠落情報を解析して前記第2のネットワークにおいて欠落したRTPパケットを抽出する手段4と、
検出/抽出された前記第1のネットワークにおける欠落パケットの個数を計数し、その計数した結果を基に前記第1のネットワークのパケットロス率、すなわち、前記第1のネットワークのストリーム通信品質を算出するとともに、前記欠落情報を基に抽出された前記第2のネットワークにおいて欠落したRTPパケットの個数を計数し、その計数した結果を基に前記第2のネットワークのパケットロス率、すなわち、前記第2のネットワークのストリーム通信品質を算出する手段5を具備する、
ことを特徴とするストリーム通信品質測定システム。
A receiving terminal, a router connected to the receiving terminal via a first network, and a router connected to the router via a second network, relaying the router via the second network and the first network A stream communication quality measurement system configured with a server that transmits stream data such as video and audio content to the receiving terminal,
The router
In response to a transmission request from the receiving terminal, the stream data of the test content having a predetermined transmission rate transmitted by the server is analyzed, and the sequence number of an RTP (Real-time Transport Protocol) packet included in the stream data is monitored. Means 1 for detecting whether or not there is a missing RTP packet;
In the means 1, when a missing packet is not detected in the RTP packet received from the server, the stream data received from the server is transmitted to the receiving terminal as it is, and when a missing RTP packet is detected, it is detected. An RTP packet having information (missing information) indicating that the RTP packet of the sequence number is missing and having the same sequence number as the sequence number of the missing RTP packet is created, and the RTP packet created is missing Means 2 for transmitting stream data obtained by interpolating the RTP packet to the receiving terminal;
The receiving terminal is
Means 3 for requesting transmission of test content stream data at the predetermined transmission rate to the server;
Receives and analyzes the stream data transmitted by the router, monitors the sequence number of the RTP packet included in the stream data, detects whether or not the RTP packet is missing, and extracts the missing RTP packet in the first network And means 4 for analyzing the missing information contained in the RTP packet included in the stream data received from the router and extracting the missing RTP packet in the second network;
The number of missing packets in the first network detected / extracted is counted, and the packet loss rate of the first network, that is, the stream communication quality of the first network is calculated based on the counted result. And counting the number of RTP packets lost in the second network extracted based on the missing information, and based on the counted result, the packet loss rate of the second network, that is, the second network Means 5 for calculating the stream communication quality of the network;
A stream communication quality measurement system characterized by the above.
受信端末と、前記受信端末と第1のネットワークで接続されたルータと、前記ルータと第2のネットワークで接続され、前記ルータを中継して前記第2のネットワークおよび前記第1のネットワークを介して前記受信端末に対して映像および音声コンテンツなどのストリームデータを送信するサーバとで構成されるストリーム通信品質測定システムであって、
前記ルータは、
前記受信端末からの送信要求に対応して前記サーバから送信される所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を監視してRTPパケットのシーケンス番号の不連続の有無を検出する手段1と、
前記手段1において、RTPパケットのシーケンス番号の不連続が検出されない場合、前記サーバから受信したストリームデータをそのまま前記受信端末に送信し、RTPパケットのシーケンス番号の不連続を検出した場合、その不連続は、RTPパケットの順番が逆転したことにより生じたと想定されるものか、あるいはRTPパケットの欠落により生じたと想定されるものかを判断し、RTPパケットの順番が逆転したことにより生じたと想定される場合は、前記サーバから受信したストリームデータをそのまま前記受信端末に送信し、RTPパケットの欠落により生じたと想定される場合は、欠落していると想定されたRTPパケットが、前記第2のネットワークにおいて欠落したことを示す情報(欠落情報)を有し、かつ、前記欠落していると想定されたRTPパケットのシーケンス番号と同一のシーケンス番号を有するRTPパケットを作成し、その作成したRTPパケットにより欠落したRPTパケットを補間したストリームデータを前記受信端末に送信する手段2を具備し、
前記受信端末は、
前記サーバに対して前記所定の伝送レートのテストコンテンツのストリームデータを送信要求する手段3と、
前記ルータが送信したRTPパケットを受信して解析し、前記ルータから受信したRTPパケットが前記ルータにより作成され補間されたRTPパケットか否か、また、前記ルータから受信したRTPパケットのシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の欠落によるものか、それともシーケンス番号の順番が逆転したことによるものかを判断する手段4と、
前記第1のネットワークおよび前記第2のネットワークにおいてそれぞれ発生した欠落パケットを、それぞれの欠落パケットリストに個別に記録する手段5と、
前記ルータから受信したRTPパケットが前記ルータにより作成され補間されたRTPパケットであると判断した場合は、前記ルータから送信されたストリームデータのRTPパケットが有する前記欠落情報を解析し、前記第2のネットワークにおいて欠落したことを示す前記欠落情報が記述されたRTPパケットを欠落パケットとして抽出し、前記抽出した欠落パケットを前記第2のネットワークの前記欠落パケットリストに追加/記録する手段6と、
前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の欠落によるものと判断した場合は、それらのシーケンス番号を有するRTPパケットは前記第1のネットワークにおいて欠落したものと見なし、それらのシーケンス番号を有するRTPパケットを前記第1のネットワークの前記欠落パケットリストに記録し、また、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の順番が逆転したことによるものと判断した場合は、その不連続点において後に受信したシーケンス番号を有するRTPパケットを前記第1のネットワークの前記欠落パケットリストまたは前記第2のネットワークの前記欠落パケットリストから削除する手段7と、
前記第1のネットワークの前記欠落パケットリストおよび前記第2のネットワークの前記欠落パケットリストにそれぞれ記録されている欠落パケットの個数を基に、前記第1のネットワークおよび前記第2のネットワークのパケットロス率、すなわち、前記第1のネットワークおよび前記第2のネットワークのストリーム通信品質をそれぞれ算出する手段8
を備える、
ことを特徴とするストリーム通信品質測定システム。
A receiving terminal, a router connected to the receiving terminal via a first network, and a router connected to the router via a second network, relaying the router via the second network and the first network A stream communication quality measurement system configured with a server that transmits stream data such as video and audio content to the receiving terminal,
The router
The test content stream data transmitted from the server in response to the transmission request from the receiving terminal is received via the second network, and the RTP (Real--) included in the received stream data is received. time transport protocol) means for monitoring the sequence number of the packet and detecting the presence or absence of discontinuity in the sequence number of the RTP packet;
When the discontinuity of the sequence number of the RTP packet is not detected in the means 1, the stream data received from the server is transmitted as it is to the receiving terminal, and when the discontinuity of the sequence number of the RTP packet is detected, the discontinuity Is determined to be caused by reversing the order of RTP packets by judging whether it is assumed that it was caused by reversing the order of RTP packets or by assuming that it was caused by missing RTP packets. In this case, the stream data received from the server is transmitted to the receiving terminal as it is, and when it is assumed that the RTP packet is lost, the RTP packet that is assumed to be lost is transmitted in the second network. It has information (missing information) indicating that it is missing, and the missing Means for generating an RTP packet having the same sequence number as that of the RTP packet assumed to be transmitted, and transmitting stream data obtained by interpolating the RPT packet lost by the generated RTP packet to the receiving terminal. And
The receiving terminal is
Means 3 for requesting transmission of test content stream data at the predetermined transmission rate to the server;
The RTP packet transmitted by the router is received and analyzed, whether the RTP packet received from the router is an RTP packet created and interpolated by the router, and the sequence number of the RTP packet received from the router is invalid. Means 4 for determining whether a continuity has occurred and if a discontinuity has occurred in the sequence number, the discontinuity is due to a missing sequence number or due to a reverse sequence number sequence;
Means 5 for individually recording missing packets respectively generated in the first network and the second network in respective missing packet lists;
When it is determined that the RTP packet received from the router is an RTP packet created and interpolated by the router, the missing information included in the RTP packet of the stream data transmitted from the router is analyzed, and the second Means for extracting, as a missing packet, an RTP packet in which the missing information indicating that it is missing in the network is described, and adding / recording the extracted missing packet to the missing packet list of the second network;
If a discontinuity is detected in the RTP packet received from the router and it is determined that the discontinuity is due to a missing sequence number, the RTP packet having these sequence numbers is regarded as missing in the first network. RTP packets having these sequence numbers are recorded in the missing packet list of the first network, and discontinuities are detected in the RTP packets received from the router. If it is determined that the RTP packet having the sequence number received later at the discontinuity is deleted from the missing packet list of the first network or the missing packet list of the second network 7 and
Based on the number of missing packets recorded in the missing packet list of the first network and the missing packet list of the second network, packet loss rates of the first network and the second network That is, the means 8 for calculating the stream communication quality of the first network and the second network, respectively.
Comprising
A stream communication quality measurement system characterized by the above.
受信端末と、前記受信端末と第1のネットワークで接続されたルータと、前記ルータと第2のネットワークで接続され、前記ルータを中継して前記第2のネットワークおよび前記第1のネットワークを介して前記受信端末に対して映像および音声コンテンツなどのストリームデータを送信するサーバとで構成されるストリーム通信品質測定システムであって、
前記ルータは、
前記受信端末からの送信要求に対応して前記サーバから送信される所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を監視してRTPパケットのシーケンス番号の不連続の有無を検出し、シーケンス番号の不連続を検出した場合、その不連続はRTPパケットの順番が逆転したことにより生じたと想定されるものか、あるいはRTPパケットの欠落により生じたと想定されるものかを判断する手段1と、
前記手段1において、RTPパケットのシーケンス番号の不連続が検出されない場合、前記サーバから受信したストリームデータをそのまま前記受信端末に送信し、RTPパケットのシーケンス番号の不連続を検出し、その不連続がRTPパケットの順番が逆転したことにより生じたと想定される場合は、前記サーバから受信したストリームデータをそのまま前記受信端末に送信するとともに、RTPパケットの順番が逆転したと想定される順番逆転パケットの個数を計数/加算して記録し、その不連続がRTPパケットの欠落により生じたと想定される場合は、欠落していると想定されたRTPパケットが前記第2のネットワークにおいて欠落したことを示す情報(欠落情報)を有し、かつ、前記欠落していると想定されたRTPパケットのシーケンス番号と同一のシーケンス番号を有するRTPパケットを作成し、前記欠落していると想定されたRTPパケットを前記作成したRTPパケットで補間した後、計数/加算して記録されている前記順番逆転パケットの個数に関する情報(個数値)とともに前記受信端末に送信する手段2を具備し、
前記受信端末は、
前記サーバに対して前記所定の伝送レートのテストコンテンツのストリームデータを送信要求する手段3と、
前記ルータが送信したRTPパケットを受信して解析し、前記ルータから受信したRTPパケットが前記ルータにより作成され補間されたRTPパケットか否か、また、前記ルータから受信したRTPパケットのシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の欠落によるものか、それともシーケンス番号の順番が逆転したことによるものかを判断する手段4と、
前記第1のネットワークおよび前記第2のネットワークにおいてそれぞれ発生した欠落パケットの個数を、それぞれ個別に管理して記録する手段5と、
前記ルータから受信したRTPパケットが前記ルータにより作成され補間されたRTPパケットであると判断した場合は、前記ルータから送信されたストリームデータのRTPパケットが有する前記欠落情報を解析し、前記第2のネットワークにおいて欠落したことを示す前記欠落情報が記述されたRTPパケットを欠落RTPパケットとして抽出し、前記抽出した欠落RTPパケットの個数を前記第2のネットワークの欠落パケットの個数として前記手段5に追加/記録する手段6と、
前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の欠落によるものと判断した場合は、そのRTPパケットは前記第1のネットワークにおいて欠落したものと見なし、その欠落RTPパケットの個数を前記第1のネットワークの欠落パケットの個数として前記手段6に追加/記録する手段7と、
前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の順番が逆転したことによるものと判断した場合は、順番が逆転したことによるものと判断されたRTPパケットの個数を前記手段6において前記第1のネットワークの欠落パケットの個数として記録されている欠落RTPパケットの個数値から減算する手段8と、
前記手段6において前記第2のネットワークの欠落パケットの個数として管理/記録されている欠落RTPパケットの個数値から前記ルータから受信した前記順番逆転パケットの個数値を減算した値を基に、前記第2のネットワークのパケットロス率、すなわち、前記第2のネットワークのストリーム通信品質を算出し、また、前記手段6において前記第1のネットワークの欠落パケット個数として管理/記録されている欠落RTPパケットの個数値に前記ルータから受信した前記順番逆転パケットの個数値を加算した値を基に、前記第1のネットワークのパケットロス率、すなわち、前記第1のネットワークのストリーム通信品質を算出する手段9を具備する、
ことを特徴とするストリーム通信品質測定システム。
A receiving terminal, a router connected to the receiving terminal via a first network, and a router connected to the router via a second network, relaying the router via the second network and the first network A stream communication quality measurement system configured with a server that transmits stream data such as video and audio content to the receiving terminal,
The router
The test content stream data transmitted from the server in response to the transmission request from the receiving terminal is received via the second network, and the RTP (Real--) included in the received stream data is received. (time Transport Protocol) The sequence number of the packet is monitored to detect whether or not the sequence number of the RTP packet is discontinuous. When the sequence number discontinuity is detected, the discontinuity is caused by reversing the order of the RTP packets. Means 1 for determining whether it is assumed to have occurred or to be assumed to have been caused by a lack of RTP packets;
When the discontinuity of the sequence number of the RTP packet is not detected in the means 1, the stream data received from the server is transmitted as it is to the receiving terminal, the discontinuity of the sequence number of the RTP packet is detected, and the discontinuity is detected. When it is assumed that the order of the RTP packets is reversed, the stream data received from the server is transmitted to the receiving terminal as it is, and the number of the order reversed packets that are assumed to be reversed in the order of the RTP packets. Is counted / added and recorded, and when it is assumed that the discontinuity is caused by a missing RTP packet, information indicating that the RTP packet assumed to be missing is missing in the second network ( RTP packet that has the missing information) and is assumed to be missing The RTP packet having the same sequence number as the sequence number is created, the RTP packet assumed to be missing is interpolated by the created RTP packet, and then counted / added to record the order reverse packet Means 2 for transmitting to the receiving terminal together with information (number value) on the number of
The receiving terminal is
Means 3 for requesting transmission of test content stream data at the predetermined transmission rate to the server;
The RTP packet transmitted by the router is received and analyzed, whether the RTP packet received from the router is an RTP packet created and interpolated by the router, and the sequence number of the RTP packet received from the router is invalid. Means 4 for determining whether a continuity has occurred and if a discontinuity has occurred in the sequence number, the discontinuity is due to a missing sequence number or due to a reverse sequence number sequence;
Means 5 for individually managing and recording the number of missing packets respectively generated in the first network and the second network;
When it is determined that the RTP packet received from the router is an RTP packet created and interpolated by the router, the missing information included in the RTP packet of the stream data transmitted from the router is analyzed, and the second An RTP packet in which the missing information indicating that it is missing in the network is extracted as a missing RTP packet, and the number of the missing missing RTP packets is added to the means 5 as the number of missing packets in the second network / Means 6 for recording;
When a discontinuity is detected in the RTP packet received from the router and it is determined that the discontinuity is due to a missing sequence number, the RTP packet is regarded as missing in the first network, and the missing RTP packet Means 7 for adding / recording the number of packets as the number of lost packets in the first network to the means 6;
If a discontinuity is detected in the RTP packet received from the router and it is determined that the discontinuity is due to the reverse of the order of the sequence numbers, the number of RTP packets determined to be due to the reverse of the order is calculated. Means 8 for subtracting from the number of missing RTP packets recorded as the number of missing packets of the first network in the means 6;
Based on a value obtained by subtracting the number value of the inversion packets received from the router from the number value of missing RTP packets managed / recorded as the number of missing packets of the second network in the means 6. 2 packet loss rate, that is, the stream communication quality of the second network is calculated, and the number of missing RTP packets managed / recorded as the number of missing packets of the first network in the means 6 Means 9 for calculating the packet loss rate of the first network, that is, the stream communication quality of the first network, based on a value obtained by adding the number value of the inversion packets received from the router to the numerical value To
A stream communication quality measurement system characterized by the above.
前記ルータにおける前記手段2は、RTPパケットの欠落を検出した場合、1つの欠落したRTPパケットに対して前記欠落情報を有し、かつ、前記欠落したRTPパケットのシーケンス番号と同一のシーケンス番号を有するRTPパケットを少なくとも2個作成し、その作成した少なくとも2個のRTPパケットにより欠落したRPTパケットを補間したストリームデータを前記受信端末に送信し、
前記受信端末における前記手段4は、前記ルータが送信したストリームデータを受信して解析する場合、RTPパケットのシーケンス番号がすでに受信して解析したことがあるRTPパケットのシーケンス番号であることを検知すると、そのRTPパケットの解析を行わずに破棄することを特徴とする請求項10乃至12のいずれかに記載のストリーム通信品質測定システム。
When the means 2 in the router detects a missing RTP packet, it has the missing information for one missing RTP packet and has the same sequence number as the sequence number of the missing RTP packet Creating at least two RTP packets, and transmitting stream data obtained by interpolating RPT packets lost by the created at least two RTP packets to the receiving terminal;
When the means 4 in the receiving terminal receives and analyzes the stream data transmitted by the router, the means 4 detects that the sequence number of the RTP packet has already been received and analyzed. The stream communication quality measurement system according to claim 10, wherein the RTP packet is discarded without being analyzed.
前記欠落情報は、RTPパケットにおけるRTPヘッダのペイロードタイプ、または、RTPヘッダのSSRC(Synchronization Source)識別子、または、RTPヘッダのCSRC(Contributing Source)識別子、または、RTPヘッダのヘッダ拡張、または、RTPヘッダのペイロードの内少なくとも1つを利用して記述されることを特徴とする請求項10乃至13のいずれかに記載のストリーム通信品質測定システム。 The missing information includes the payload type of the RTP header in the RTP packet, the SSRC (Synchronization Source) identifier of the RTP header, the CSRC (Contributing Source) identifier of the RTP header, the header extension of the RTP header, or the RTP header. The stream communication quality measurement system according to any one of claims 10 to 13, wherein the stream communication quality measurement system is described using at least one of said payloads. 受信端末と、前記受信端末と第1のネットワークで接続されたルータと、前記ルータと第2のネットワークで接続され、前記ルータを中継して前記第2のネットワークおよび前記第1のネットワークを介して前記受信端末に対して映像および音声コンテンツなどのストリームデータを送信するサーバとで構成されるストリーム通信品質測定システムであって、
前記ルータは、
前記受信端末からの送信要求に対応して前記サーバから送信される所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を予め定めた受信区間毎に監視してRTPパケットの欠落の有無を検出する手段1と、
前記手段1において、受信区間(イ)内でRTPパケットの欠落が検出されない場合、前記サーバから受信した前記受信区間(イ)のストリームデータをそのまま前記受信端末に送信し、受信区間(ロ)内で少なくとも1つのRTPパケットの欠落を検出した場合、欠落していることが検出された前記受信区間(ロ)内の各RTPパケットが、前記第2のネットワークにおいて欠落したことを示すそれぞれの情報(各々の欠落情報)を、前記予め定めた受信区間内の全てのRTPパケットにおけるRTPヘッダ部に記述して、かつ、シーケンス番号が連続するRTPパケットを作成し、前記サーバから受信した前記受信区間(ロ)の全てのRTPパケットを前記作成したRTPパケットに置換した後、前記受信端末に送信する手段2を具備し、
前記受信端末は、
前記サーバに対して前記所定の伝送レートのテストコンテンツのストリームデータを送信要求する手段3と、
前記ルータが送信したストリームデータを受信して解析し、受信したストリームデータに含まれるRPTパケットのシーケンス番号の欠落したRTPパケットを抽出してその個数を計数し、その計数した結果を基に前記第1のネットワークのパケットロス率、すなわち、前記第1のネットワークのストリーム通信品質を算出するとともに、前記ルータから送信されたストリームデータのRTPパケットにおける前記RTPヘッダ部を前記受信区間毎に解析し、前記第2のネットワークにおいて欠落したことを示す前記欠落情報が記述されたRTPパケットを前記受信区間毎に抽出してその個数を計数し、それらの計数した結果を基に前記第2のネットワークのパケットロス率、すなわち、前記第2のネットワークのストリーム通信品質を算出する手段4を具備する、
ことを特徴とするストリーム通信品質測定システム。
A receiving terminal, a router connected to the receiving terminal via a first network, and a router connected to the router via a second network, relaying the router via the second network and the first network A stream communication quality measurement system configured with a server that transmits stream data such as video and audio content to the receiving terminal,
The router
The test content stream data transmitted from the server in response to the transmission request from the receiving terminal is received via the second network, and the RTP (Real--) included in the received stream data is received. means for detecting the presence or absence of RTP packets by monitoring the sequence number of a time transport protocol) for each predetermined reception interval;
When the means 1 does not detect the loss of the RTP packet in the reception section (b), the stream data of the reception section (b) received from the server is transmitted to the receiving terminal as it is, and the reception section (b) When the loss of at least one RTP packet is detected in step (b), each piece of information (indicating that each RTP packet in the reception section (b) detected to be missing is missing in the second network ( Each missing information) is described in the RTP header part of all the RTP packets in the predetermined reception section, and the RTP packet having a continuous sequence number is created, and the reception section ( B) means 2 for transmitting all of the RTP packets to the receiving terminal after replacing all the RTP packets with the created RTP packet;
The receiving terminal is
Means 3 for requesting transmission of test content stream data at the predetermined transmission rate to the server;
Stream data transmitted by the router is received and analyzed, RTP packets lacking the sequence number of the RPT packet included in the received stream data are extracted, the number is counted, and the number of RTP packets is counted based on the counted result. Calculating the packet loss rate of one network, that is, the stream communication quality of the first network, and analyzing the RTP header part in the RTP packet of the stream data transmitted from the router for each reception section, The RTP packet in which the missing information indicating that it is missing in the second network is described is extracted for each reception section, the number of the RTP packets is counted, and the packet loss of the second network is calculated based on the counted result. Rate, ie, stream communication quality of the second network Comprising means 4 that,
A stream communication quality measurement system characterized by the above.
受信端末と、前記受信端末と第1のネットワークで接続されたルータと、前記ルータと第2のネットワークで接続され、前記ルータを中継して前記第2のネットワークおよび前記第1のネットワークを介して前記受信端末に対して映像および音声コンテンツなどのストリームデータを送信するサーバとで構成されるストリーム通信品質測定システムであって、
前記ルータは、
前記受信端末からの送信要求に対応して前記サーバから送信される所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を予め定めた受信区間毎に監視してRTPパケットのシーケンス番号の不連続の有無を検出する手段1と、
受信区間(ハ)内でRTPパケットのシーケンス番号の不連続が検出されない場合、前記サーバから受信した前記受信区間(ハ)のストリームデータをそのまま前記受信端末に送信し、受信区間(ニ)内でRTPパケットのシーケンス番号の不連続を検出した場合、その不連続は、RTPパケットの順番が逆転したことにより生じたと想定されるものか、あるいはRTPパケットの欠落により生じたと想定されるものかを判断し、RTPパケットの順番が逆転したことにより生じたと想定される場合は、前記サーバから受信した前記受信区間(ニ)のストリームデータをそのまま前記受信端末に送信し、RTPパケットの欠落により生じたと想定される場合は、欠落していると想定された前記受信区間(ニ)内の各RTPパケットが、前記第2のネットワークにおいて欠落したことを示すそれぞれの情報(各々の欠落情報)を、前記予め定めた受信区間内の全てのRTPパケットにおけるRTPヘッダ部に記述して、かつ、シーケンス番号が連続するRTPパケットを作成し、前記サーバから受信した前記受信区間(ニ)の全てのRTPパケットを前記作成したRTPパケットに置換した後、前記受信端末に送信する手段2を具備し、
前記受信端末は、
前記サーバに対して前記所定の伝送レートのテストコンテンツのストリームデータを送信要求する手段3と、
前記ルータが送信したRTPパケットを受信して予め定めた受信区間毎に解析し、前記ルータから受信したRTPパケットが前記ルータにより作成され置換されたRTPパケットか否か、また、前記ルータから受信したRTPパケットが予め定めた受信区間内でシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の欠落によるものか、それともシーケンス番号の順番が逆転したことによるものかを判断する手段4と、
前記第1のネットワークおよび前記第2のネットワークにおいてそれぞれ発生した欠落パケットを、それぞれの欠落パケットリストに個別に記録する手段5と、
前記ルータから受信したRTPパケットが前記ルータにより作成され置換されたRTPパケットであると判断した場合は、前記ルータから送信されたストリームデータのRTPパケットにおける前記RTPヘッダ部を前記受信区間毎に解析し、前記第2のネットワークにおいて欠落したことを示す前記各々の欠落情報が記述されたRTPパケットを欠落RTPパケットとして抽出し、前記抽出した欠落パケットを前記第2のネットワークの前記欠落パケットリストに追加/記録する手段6と、
前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の欠落によるものと判断した場合は、それらのシーケンス番号を有するRTPパケットは前記第1のネットワークにおいて欠落したものと見なし、それらのシーケンス番号を有するRTPパケットを前記第1のネットワークの前記欠落パケットリストに記録し、また、前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の順番が逆転したことによるものと判断した場合は、その不連続点において後に受信したシーケンス番号を有するRTPパケットを前記第1のネットワークの前記欠落パケットリストまたは前記第2のネットワークの前記欠落パケットリストから削除する手段7と、
前記第1のネットワークの前記欠落パケットリストおよび前記第2のネットワークの前記欠落パケットリストにそれぞれ記録されている欠落パケットの個数を基に、前記第1のネットワークおよび前記第2のネットワークのパケットロス率、すなわち、前記第1のネットワークおよび前記第2のネットワークのストリーム通信品質をそれぞれ算出する手段8
を備える、
ことを特徴とするストリーム通信品質測定システム。
A receiving terminal, a router connected to the receiving terminal via a first network, and a router connected to the router via a second network, relaying the router via the second network and the first network A stream communication quality measurement system configured with a server that transmits stream data such as video and audio content to the receiving terminal,
The router
The test content stream data transmitted from the server in response to the transmission request from the receiving terminal is received via the second network, and the RTP (Real--) included in the received stream data is received. means for detecting the sequence number of the RTP packet by monitoring the sequence number of the time transport protocol) for each predetermined reception section;
When discontinuity of the sequence number of the RTP packet is not detected in the reception section (c), the stream data of the reception section (c) received from the server is transmitted to the receiving terminal as it is, and within the reception section (d) When a discontinuity in the sequence number of the RTP packet is detected, it is determined whether the discontinuity is assumed to have occurred due to the reverse of the order of the RTP packets or due to the lack of RTP packets. When it is assumed that the RTP packet order is reversed, it is assumed that the stream data of the reception section (d) received from the server is transmitted to the receiving terminal as it is, and is caused by the lack of the RTP packet. If the RTP packet in the reception interval (d) assumed to be missing is Each piece of information (each piece of missing information) indicating that it has been lost in the network is described in the RTP header part of all the RTP packets in the predetermined reception section, and RTP packets having consecutive sequence numbers are described. Comprising: means 2 for transmitting to the receiving terminal after replacing all the RTP packets created and received from the server with the created RTP packets;
The receiving terminal is
Means 3 for requesting transmission of test content stream data at the predetermined transmission rate to the server;
The RTP packet transmitted by the router is received and analyzed for each predetermined reception interval, whether the RTP packet received from the router is an RTP packet created and replaced by the router, and received from the router If a sequence number discontinuity has not occurred within a predetermined reception interval of the RTP packet, and if the sequence number has a discontinuity, is the discontinuity due to a missing sequence number or the sequence number order? Means 4 for determining whether or not this is due to the reverse,
Means 5 for individually recording missing packets respectively generated in the first network and the second network in respective missing packet lists;
When it is determined that the RTP packet received from the router is an RTP packet created and replaced by the router, the RTP header part in the RTP packet of the stream data transmitted from the router is analyzed for each reception section. , Extracting the RTP packet in which each of the missing information indicating that it is missing in the second network is described as a missing RTP packet, and adding the extracted missing packet to the missing packet list of the second network / Means 6 for recording;
If a discontinuity is detected in the RTP packet received from the router and it is determined that the discontinuity is due to a missing sequence number, the RTP packet having these sequence numbers is regarded as missing in the first network. RTP packets having these sequence numbers are recorded in the missing packet list of the first network, and discontinuities are detected in the RTP packets received from the router. If it is determined that the RTP packet having the sequence number received later at the discontinuity is deleted from the missing packet list of the first network or the missing packet list of the second network 7 and
Based on the number of missing packets recorded in the missing packet list of the first network and the missing packet list of the second network, packet loss rates of the first network and the second network That is, the means 8 for calculating the stream communication quality of the first network and the second network, respectively.
Comprising
A stream communication quality measurement system characterized by the above.
受信端末と、前記受信端末と第1のネットワークで接続されたルータと、前記ルータと第2のネットワークで接続され、前記ルータを中継して前記第2のネットワークおよび前記第1のネットワークを介して前記受信端末に対して映像および音声コンテンツなどのストリームデータを送信するサーバとで構成されるストリーム通信品質測定システムであって、
前記ルータは、
前記受信端末からの送信要求に対応して前記サーバから送信される所定の伝送レートのテストコンテンツのストリームデータを前記第2のネットワークを介して受信し、受信したストリームデータに含まれるRTP(Real−time Transport Protocol)パケットのシーケンス番号を予め定めた受信区間毎に監視してRTPパケットのシーケンス番号の不連続の有無を検出し、シーケンス番号の不連続を検出した場合、その不連続はRTPパケットの順番が逆転したことにより生じたと想定されるものか、あるいはRTPパケットの欠落により生じたと想定されるものかを判断する手段1と、
前記手段1において不連続がRTPパケットの順番が逆転したことにより生じたと判断されたパケットの個数を計数/加算して記録する手段2と、
前記手段1において、受信区間(ホ)内でRTPパケットのシーケンス番号の不連続が検出されない場合、前記サーバから受信した前記受信区間(ホ)のストリームデータをそのまま前記受信端末に送信し、受信区間(ヘ)内でRTPパケットのシーケンス番号の不連続を検出し、その不連続がRTPパケットの順番が逆転したことにより生じたと想定される場合は、前記サーバから受信した前記受信区間(ヘ)のストリームデータをそのまま前記受信端末に送信するとともに、RTPパケットの順番が逆転したと想定される順番逆転パケットの個数を前記手段2に計数/加算して記録し、その不連続がRTPパケットの欠落により生じたと想定される場合は、欠落していると想定された前記受信区間(ヘ)内の各RTPパケットが、前記第2のネットワークにおいて欠落したことを示すそれぞれの情報(欠落情報)を、前記予め定めた受信区間内の全てのRTPパケットにおけるRTPヘッダ部に記述して、かつ、シーケンス番号が連続するRTPパケットを作成し、前記サーバから受信した前受信区間(ヘ)の全てのRTPパケットを前記作成したRTPパケットに置換した後、前記手段2に記録されている前記順番逆転パケットの個数に関する情報(個数値)とともに前記受信端末に送信する手段3を具備し、
前記受信端末は、
前記サーバに対して前記所定の伝送レートのテストコンテンツのストリームデータを送信要求する手段4と、
前記ルータが送信したRTPパケットを受信して予め定めた受信区間毎に解析し、前記ルータから受信したRTPパケットが前記ルータにより作成され置換されたRTPパケットか否か、また、前記ルータから受信したRTPパケットが予め定めた受信区間内でシーケンス番号の不連続が発生していないか、およびシーケンス番号に不連続が発生した場合、その不連続はシーケンス番号の欠落によるものか、それともシーケンス番号の順番が逆転したことによるものかを判断する手段5と、
前記第1のネットワークおよび前記第2のネットワークにおいてそれぞれ発生した欠落パケットの個数を、それぞれ個別に管理して記録する手段6と、
前記ルータから受信したRTPパケットが前記ルータにより作成され置換されたRTPパケットであると判断した場合は、前記ルータから送信されたストリームデータのRTPパケットにおける前記RTPヘッダ部を前記受信区間毎に解析し、前記第2のネットワークにおいて欠落したことを示す前記各々の欠落情報が記述されたRTPパケットを欠落RTPパケットとして抽出し、前記抽出した欠落RTPパケットの個数を前記第2のネットワークの欠落パケットの個数として前記手段6に追加/記録する手段7と、
前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の欠落によるものと判断した場合は、それらのRTPパケットは前記第1のネットワークにおいて欠落したものと見なし、それらの欠落RTPパケットの個数を前記第1のネットワークの欠落パケットの個数として前記手段6に追加/記録する手段8と、
前記ルータから受信したRTPパケットに不連続を検出し、その不連続はシーケンス番号の順番が逆転したことによるものと判断した場合は、順番が逆転したことによるものと判断されたRTPパケットの個数を前記手段6において前記第1のネットワークの欠落パケットの個数として記録されている欠落RTPパケットの個数値から減算する手段9と、
前記手段6において前記第2のネットワークの欠落パケットの個数として管理/記録されている欠落RTPパケットの個数値から前記ルータから受信した前記順番逆転パケットの個数値を減算した値を基に、前記第2のネットワークのパケットロス率、すなわち、前記第2のネットワークのストリーム通信品質を算出し、また、前記手段6において前記第1のネットワークの欠落パケット個数として管理/記録されている欠落RTPパケットの個数値に前記ルータから受信した前記順番逆転パケットの個数値を加算した値を基に、前記第1のネットワークのパケットロス率、すなわち、前記第1のネットワークのストリーム通信品質を算出する手段10を具備する、
ことを特徴とするストリーム通信品質測定システム。
A receiving terminal, a router connected to the receiving terminal via a first network, and a router connected to the router via a second network, relaying the router via the second network and the first network A stream communication quality measurement system configured with a server that transmits stream data such as video and audio content to the receiving terminal,
The router
The test content stream data transmitted from the server in response to the transmission request from the receiving terminal is received via the second network, and the RTP (Real--) included in the received stream data is received. (time Transport Protocol) The sequence number of the packet is monitored for each predetermined reception interval to detect the presence or absence of discontinuity in the sequence number of the RTP packet. When the discontinuity in the sequence number is detected, the discontinuity is detected in the RTP packet. Means 1 for determining whether the order is assumed to be caused by reversal of the order, or is assumed to be caused by a lack of an RTP packet;
Means 2 for counting / adding and recording the number of packets determined to be caused by the discontinuity of the order of RTP packets in the means 1;
If the discontinuity of the sequence number of the RTP packet is not detected in the receiving section (e) in the means 1, the stream data of the receiving section (e) received from the server is transmitted to the receiving terminal as it is, and the receiving section If a discontinuity in the sequence number of the RTP packet is detected in (f) and it is assumed that the discontinuity has occurred due to the reverse of the order of the RTP packets, the reception interval (f) received from the server The stream data is transmitted to the receiving terminal as it is, and the number of the order reversal packets assumed to be reversed in the order of the RTP packets is counted / added to the means 2 and recorded. When it is assumed that the packet has occurred, each RTP packet in the reception section (f) assumed to be missing is Each piece of information (missing information) indicating that there is a loss in the network is described in the RTP header part of all the RTP packets in the predetermined reception section, and an RTP packet having a continuous sequence number is created. After replacing all the RTP packets received from the server in the previous reception section (f) with the created RTP packets, the information (number value) on the number of the order reversal packets recorded in the means 2 is used. Means 3 for transmitting to the receiving terminal;
The receiving terminal is
Means 4 for requesting transmission of the stream data of the test content at the predetermined transmission rate to the server;
The RTP packet transmitted by the router is received and analyzed for each predetermined reception interval, whether the RTP packet received from the router is an RTP packet created and replaced by the router, and received from the router If a sequence number discontinuity has not occurred within a predetermined reception interval of the RTP packet, and if the sequence number has a discontinuity, is the discontinuity due to a missing sequence number or the sequence number order? Means 5 for determining whether or not this is due to the reverse,
Means 6 for individually managing and recording the number of missing packets respectively generated in the first network and the second network;
When it is determined that the RTP packet received from the router is an RTP packet created and replaced by the router, the RTP header part in the RTP packet of the stream data transmitted from the router is analyzed for each reception section. The RTP packet in which each piece of missing information indicating that it is missing in the second network is described as a missing RTP packet, and the number of the missing missing RTP packets is the number of missing packets in the second network. Means 7 for adding / recording to the means 6 as
When discontinuities are detected in the RTP packets received from the router and it is determined that the discontinuities are due to missing sequence numbers, the RTP packets are regarded as missing in the first network, and those missing Means 8 for adding / recording the number of RTP packets in the means 6 as the number of missing packets in the first network;
If a discontinuity is detected in the RTP packet received from the router and it is determined that the discontinuity is due to the reverse of the order of the sequence numbers, the number of RTP packets determined to be due to the reverse of the order is calculated. Means 9 for subtracting from the number of missing RTP packets recorded as the number of missing packets in the first network in the means 6;
Based on a value obtained by subtracting the number value of the inversion packets received from the router from the number value of missing RTP packets managed / recorded as the number of missing packets of the second network in the means 6. 2 packet loss rate, that is, the stream communication quality of the second network is calculated, and the number of missing RTP packets managed / recorded as the number of missing packets of the first network in the means 6 Means 10 for calculating the packet loss rate of the first network, that is, the stream communication quality of the first network, based on a value obtained by adding the number value of the inversion packets received from the router to the numerical value; To
A stream communication quality measurement system characterized by the above.
前記第2のネットワークにおいて欠落したことを示す前記各々の欠落情報を記述する前記RTPヘッダ部は、RTPヘッダのSSRC(Synchronization Source)識別子、または、RTPヘッダのCSRC(Contributing Source)識別子、または、RTPヘッダのヘッダ拡張の内の少なくとも1つであることを特徴とする請求項15乃至17のいずれかに記載のストリーム通信品質測定システム。 The RTP header part describing each missing information indicating that it is missing in the second network includes an SSRC (Synchronization Source) identifier of the RTP header, a CSRC (Contributing Source) identifier of the RTP header, or an RTP 18. The stream communication quality measurement system according to claim 15, wherein the stream communication quality measurement system is at least one of header extensions of a header.
JP2007205205A 2007-08-07 2007-08-07 Measuring method of stream communication quality, and measuring system of stream communication quality Pending JP2009044300A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007205205A JP2009044300A (en) 2007-08-07 2007-08-07 Measuring method of stream communication quality, and measuring system of stream communication quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007205205A JP2009044300A (en) 2007-08-07 2007-08-07 Measuring method of stream communication quality, and measuring system of stream communication quality

Publications (1)

Publication Number Publication Date
JP2009044300A true JP2009044300A (en) 2009-02-26

Family

ID=40444589

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007205205A Pending JP2009044300A (en) 2007-08-07 2007-08-07 Measuring method of stream communication quality, and measuring system of stream communication quality

Country Status (1)

Country Link
JP (1) JP2009044300A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8611206B2 (en) 2010-04-02 2013-12-17 Fujitsu Limited Failure-section determining device and failure-section determining method
JP2014068321A (en) * 2012-09-27 2014-04-17 Nec Access Technica Ltd Transfer device, communication system, transfer method, and program
JP2015192259A (en) * 2014-03-28 2015-11-02 株式会社日立情報通信エンジニアリング Communication apparatus, communication program, and communication method
CN106576110A (en) * 2014-04-04 2017-04-19 Vid拓展公司 Network-based early packet loss detection

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8611206B2 (en) 2010-04-02 2013-12-17 Fujitsu Limited Failure-section determining device and failure-section determining method
JP2014068321A (en) * 2012-09-27 2014-04-17 Nec Access Technica Ltd Transfer device, communication system, transfer method, and program
JP2015192259A (en) * 2014-03-28 2015-11-02 株式会社日立情報通信エンジニアリング Communication apparatus, communication program, and communication method
CN106576110A (en) * 2014-04-04 2017-04-19 Vid拓展公司 Network-based early packet loss detection

Similar Documents

Publication Publication Date Title
CA2749160C (en) Informative data streaming server
CN101356814B (en) Communication processing device, communication control method
US8582453B2 (en) System for measuring the transmission bandwidth for multimedia streaming and method for same
JP5543252B2 (en) Policy-based video quality assessment
US9282133B2 (en) Communicating control information within a real-time stream
EP3080915B1 (en) Redundant encoding
JP2004129275A (en) System and method for monitoring rtp streams using rtcpsr/rr packet information
CN104115448A (en) Method and apparatus for monitoring transmission characteristics in a network
JP2009135821A (en) Load testing system, load testing apparatus, and load testing method
JP5127062B2 (en) Network failure detection device, data relay device, network failure detection method, network failure detection system, and network failure detection program
JP2009044300A (en) Measuring method of stream communication quality, and measuring system of stream communication quality
JP2008294784A (en) Method and system for measuring stream communication quality, and receiving terminal and router
US11553027B2 (en) Methods and systems for improving performance of streaming media sessions
KR20060135354A (en) System, set-top box and method for providing quality information of tv service for use in internet protocol networks
JP2009246630A (en) Home gateway device and communication quality control method of home gateway device
Szilágyi et al. Network side lightweight and scalable YouTube QoE estimation
JP2007306354A (en) Receiver
JP2007324707A (en) Reproducing apparatus, packet transfer apparatus, and program
EP1687935B1 (en) Methods and system for measuring the round trip time in packet switching telecommunication networks
KR101627796B1 (en) Device Indicator Data Transmitting Method for Network based AV System
US20220232060A1 (en) Methods and systems for improving performance of streaming media sessions
JP2008167223A (en) Communication quality control method and packet communication system
JP2023005306A (en) Monitoring system and program
TW201543886A (en) Mobile electronic device and video compensation method thereof
JP2011010238A (en) Packet transfer quality control system and method