JP2006019954A - Communication device, communication network system, and communication method - Google Patents

Communication device, communication network system, and communication method Download PDF

Info

Publication number
JP2006019954A
JP2006019954A JP2004194585A JP2004194585A JP2006019954A JP 2006019954 A JP2006019954 A JP 2006019954A JP 2004194585 A JP2004194585 A JP 2004194585A JP 2004194585 A JP2004194585 A JP 2004194585A JP 2006019954 A JP2006019954 A JP 2006019954A
Authority
JP
Japan
Prior art keywords
packet
time
data
transmission
transmission packet
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.)
Withdrawn
Application number
JP2004194585A
Other languages
Japanese (ja)
Inventor
Tomonobu Tomaru
知信 戸丸
Takashi Nishimura
崇 西村
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2004194585A priority Critical patent/JP2006019954A/en
Publication of JP2006019954A publication Critical patent/JP2006019954A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication device that easily grasps the time and the like when a plurality of data blocks are processed when a transmitted packet including the plurality of data blocks is transmitted, and also decides the time validity of the transmitted packet. <P>SOLUTION: A data time management part 22 performs processing for writing when respective MPEG packets are inputted by a data input part 11 to a time information storage part 32 and processing in which a data storage processing part 21 writes the MPEG packets inputted by the data input part 11 to a data storage part 31. Then a transmitted packet constitution part 23 reads data of the MPEG packets stored in the data storage part 31 and data on the input time stored in the time information storage part 32 as time information to generate transmitted packets including the validity period information, time information, and MPEG packets. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、ネットワーク上で動画像や音声等のリアルタイム性のあるデータの伝送を行うための通信装置及びその方法に関するものである。   The present invention relates to a communication apparatus and method for transmitting real-time data such as moving images and sounds over a network.

昨今、動画データのリアルタイム伝送が広く行われている。リアルタイム伝送とは、送信装置から送信された動画データを受信装置が受信すると同時に再生を行う伝送方式である。このリアルタイム伝送に用いられる動画データの形式としては、MPEG2−TS(Moving Picture Experts Group2-Transport Stream)などが挙げられる。   Recently, real-time transmission of moving image data is widely performed. Real-time transmission is a transmission method in which moving image data transmitted from a transmission device is received and reproduced simultaneously with the reception device. Examples of the format of the moving image data used for the real-time transmission include MPEG2-TS (Moving Picture Experts Group 2-Transport Stream).

MPEG2−TSによるリアルタイム伝送が行われる場合、送信装置側で生成された各MPEG2−TSパケット同士の時間間隔を、所定の許容誤差範囲内で受信装置側において再現する必要がある。このパケット間隔が所定の許容誤差範囲内に受信装置側で再現できない場合は、受信装置における再生映像が乱れる可能性がある。なお、このパケット間隔の許容誤差範囲は、MPEG2−TSのデコーダの性能等によるが、およそ500ns〜数μs程度である。   When real-time transmission using MPEG2-TS is performed, the time interval between MPEG2-TS packets generated on the transmission device side must be reproduced on the reception device side within a predetermined allowable error range. If the packet interval cannot be reproduced on the receiving device side within a predetermined allowable error range, the reproduced video in the receiving device may be disturbed. The allowable error range of the packet interval is about 500 ns to several μs, depending on the performance of the MPEG2-TS decoder.

このリアルタイム伝送が無線LANやIEEE1394等を介して行われる場合、データの送達確認データ、制御データ、およびその他のデータなど、伝送すべき実データ以外のデータの伝送も行われることになる。すなわち、伝送速度をある程度確保するためには、通信帯域を節約する工夫が必要となる。この通信帯域を節約する方法の1つとして、複数個のMPEG2−TSパケットを1つの伝送パケットにまとめて伝送する方法が一般的に知られている。しかしながら、複数個のMPEG2−TSパケットがまとめられた伝送パケットを受信した受信装置が、上記のパケット間隔を再現するためには、送信装置と受信装置とが互いに同じ時間基準を有している必要がある。これを実現するために、送信装置および受信装置が、互いに同じ時間基準を有するタイマーを有し、送信装置は、このタイマーに基づく時間情報を個々のMPEG2−TSパケットに付加する伝送方法がある。   When this real-time transmission is performed via a wireless LAN, IEEE1394, or the like, data other than actual data to be transmitted, such as data delivery confirmation data, control data, and other data, is also transmitted. That is, in order to secure a certain transmission rate, a device for saving the communication band is required. As one method for conserving this communication band, a method is generally known in which a plurality of MPEG2-TS packets are transmitted together in one transmission packet. However, in order for a receiving apparatus that has received a transmission packet in which a plurality of MPEG2-TS packets are combined to reproduce the above-described packet interval, the transmitting apparatus and the receiving apparatus need to have the same time reference. There is. In order to realize this, there is a transmission method in which the transmission device and the reception device have timers having the same time reference, and the transmission device adds time information based on this timer to each MPEG2-TS packet.

図14(a)は、送信装置側でのパケット生成の時間推移を示しており、図14(b)は、生成される伝送パケットを示している。これらの図において、D1〜DnはそれぞれMPEG2−TSパケットを示しており、T1〜TnはそれぞれD1〜Dnが生成された時間を示している。受信装置は、上記したように、T1〜Tnの時間間隔を再現する必要がある。送信装置において、所定の数のMPEG2−TSパケット、例えば図14(a)に示す例では5個のMPEG2−TSパケットD1、D2、D3、D4、D5が生成されると、送信装置は、図14(b)に示すようにMPEG2−TSパケットD1、D2、D3、D4、D5、各MPEG2−TSパケットの生成時間T1、T2、T3、T4、T5、およびヘッダ情報などを含む伝送パケットを生成する。この伝送パケットが受信装置に対して送信される。   FIG. 14A shows a time transition of packet generation on the transmission device side, and FIG. 14B shows a transmission packet to be generated. In these drawings, D1 to Dn indicate MPEG2-TS packets, respectively, and T1 to Tn indicate times when D1 to Dn are generated, respectively. As described above, the receiving device needs to reproduce the time interval of T1 to Tn. In the transmission apparatus, when a predetermined number of MPEG2-TS packets, for example, five MPEG2-TS packets D1, D2, D3, D4, and D5 in the example shown in FIG. As shown in 14 (b), MPEG2-TS packets D1, D2, D3, D4, D5, generation times T1, T2, T3, T4, T5 of each MPEG2-TS packet, and transmission packets including header information are generated. To do. This transmission packet is transmitted to the receiving device.

図15(a)は、受信装置が受信した伝送パケットを示しており、図15(b)は、受信装置側でのパケット再生の時間推移を示している。D1〜Dn及びT1〜Tnはそれぞれ図14(a)および図14(b)に示されているものと同一である。受信装置は、伝送パケットを受信すると、伝送パケットに含まれている時間情報T1、T2、T3、T4、T5のそれぞれに所定時間αを加え、T1+α、T2+α、T3+α、T4+α、T5+αの時間にD1、D2、D3、D4、D5をそれぞれ再生する。このような制御によって、受信装置は、送信装置におけるMPEG2−TSのパケット間隔と同じパケット間隔での各MPEG2−TSパケットの再生を実現している。   FIG. 15A shows a transmission packet received by the receiving apparatus, and FIG. 15B shows a time transition of packet reproduction on the receiving apparatus side. D1 to Dn and T1 to Tn are the same as those shown in FIGS. 14 (a) and 14 (b), respectively. When receiving the transmission packet, the receiving device adds a predetermined time α to each of the time information T1, T2, T3, T4, and T5 included in the transmission packet, and D1 at the time of T1 + α, T2 + α, T3 + α, T4 + α, and T5 + α. , D2, D3, D4, and D5 are reproduced. By such control, the receiving device realizes reproduction of each MPEG2-TS packet at the same packet interval as the MPEG2-TS packet interval in the transmitting device.

上記の伝送方法において、送信装置および受信装置が備えるタイマーは相互に同じ時間基準を有している必要がある。これを実現する方法として、各MPEG2−TSに付加されている時間情報を用いて、受信装置側でタイマーの補正を行う方法がある。具体的には、受信装置がパケットを受信したときに、各MPEG2−TSパケットの時間情報を取り出し、その値を用いてタイマーを補正する。   In the above transmission method, the timers provided in the transmission device and the reception device need to have the same time reference. As a method for realizing this, there is a method of correcting the timer on the receiving apparatus side using time information added to each MPEG2-TS. Specifically, when the receiving apparatus receives a packet, it extracts time information of each MPEG2-TS packet and corrects the timer using the value.

また、MPEG2−TSなどで符号化されるデジタルコンテンツの中には、著作権保護を行う必要があるものも存在する。この場合、送信装置と受信装置との間で機器の認証処理を行う必要や、伝送データの暗号化を行う必要が生じる。IP(Internet Protocol)による伝送において、このような認証、暗号化を行う方式の一つとして、DTCP(Digital Transmission Content Protection)Supplement E がある。この方式におけるデジタルコンテンツの暗号化方式で生成されるデータはPCP(Protected Content Packets)と呼ばれ、暗号化情報と暗号化データ(Payload)で構成される。この暗号化で用いられるパケットフォーマットの詳細を図16に示す。   Some digital contents encoded by MPEG2-TS and the like need to be copyright protected. In this case, it is necessary to perform device authentication processing between the transmission device and the reception device and to encrypt transmission data. One of the methods for performing such authentication and encryption in transmission by IP (Internet Protocol) is DTCP (Digital Transmission Content Protection) Supplement E. Data generated by the digital content encryption method in this method is called PCP (Protected Content Packets), and is composed of encryption information and encrypted data (Payload). Details of the packet format used in this encryption are shown in FIG.

Payloadとはこの暗号化方式により暗号化される部分であり、MPEG2−TSなどの映像データ等が含まれる。暗号化情報は以下の情報で構成される。reservedは将来のために予約されている部分であり現在は0を入れるようになっている。C_Aは暗号化方式を指定する部分である。E-EMIはこのコンテンツの状態を示す部分であり、Copy-never(コピー不可)、Copy-one-generation(1世代のみコピー可)、Copy-free(コピー制限なし)、などの状態がある。コンテンツの伝送が行われる際には、送信装置と受信装置との間で相互認証が行われ、同時に暗号化に使用される鍵が交換される。送信装置および受信装置は、この鍵を元にしてコンテンツデータの暗号化および復号化を行う。
WO 03/005674 A1(国際公開日:2003年1月16日) DTCP Volume1 Supplement E Revision 1.0 (Informational Version)(公開日:2003年11月24日)
Payload is a portion encrypted by this encryption method, and includes video data such as MPEG2-TS. The encryption information is composed of the following information. reserved is a portion reserved for the future, and is currently set to 0. C_A is a part for specifying an encryption method. E-EMI is a part indicating the state of this content, and there are states such as Copy-never (copy not possible), Copy-one-generation (only one generation can be copied), and Copy-free (no copy restriction). When content is transmitted, mutual authentication is performed between the transmission device and the reception device, and at the same time, a key used for encryption is exchanged. The transmission device and the reception device encrypt and decrypt the content data based on this key.
WO 03/005674 A1 (International publication date: January 16, 2003) DTCP Volume1 Supplement E Revision 1.0 (Informational Version) (Publication date: November 24, 2003)

MPEG2−TSなどの映像データをリアルタイムで伝送する場合、伝送遅延時間が保障されていない通信環境においては、パケットが受信装置に到着した時にすでに、その映像データの再生時間が過ぎているということがある。このとき、受信装置は、パケットを正常に受信しているにも関わらず、受信したパケットを破棄する処理を行うことになる。   When video data such as MPEG2-TS is transmitted in real time, in a communication environment where the transmission delay time is not guaranteed, the playback time of the video data has already passed when the packet arrives at the receiving device. is there. At this time, the receiving apparatus performs processing for discarding the received packet even though the packet is normally received.

ここで、上記したパケットの時間情報は、伝送するデータの種類(MPEG2−TS、DVC(Digital Video Camera)など)に応じて異なる場所に格納される。例えば、MPEG2−TSではデータ長が188バイト固定となっているので、188バイト毎に時間情報が付加される一方、DVCではデータ長が480バイト固定となっているので、480バイト毎に時間情報が付加される。すなわち、受信装置は、まず受信したパケットの種別を判断して時間情報の格納場所を特定し、時間情報に応じてパケットの廃棄処理を行うという手続を踏む必要が生じる。したがって、受信装置において、当該パケットを破棄する手続が複雑になり、処理時間の増大を招くという課題がある。   Here, the time information of the packet is stored in different places according to the type of data to be transmitted (MPEG2-TS, DVC (Digital Video Camera), etc.). For example, since the data length is fixed at 188 bytes in MPEG2-TS, time information is added every 188 bytes, while the data length is fixed at 480 bytes in DVC, so time information is added every 480 bytes. Is added. In other words, the receiving device first needs to follow the procedure of determining the type of received packet, specifying the storage location of time information, and performing packet discard processing according to the time information. Therefore, there is a problem in that the procedure for discarding the packet becomes complicated in the receiving apparatus, and the processing time increases.

また、上記のようにデータの暗号化が施されている場合には、時間情報の部分も暗号化されていることになる。ここで、受信装置が備えているタイマーの基準時間の補正がパケットの時間情報に基づいて行われる場合、時間情報を復号化する必要があり、的確な基準時間の補正ができなくなるという課題がある。   Further, when the data is encrypted as described above, the time information portion is also encrypted. Here, when the correction of the reference time of the timer provided in the receiving device is performed based on the time information of the packet, it is necessary to decode the time information, and there is a problem that the correct reference time cannot be corrected. .

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、複数のデータブロックを含む伝送パケットを送信する際に、各データブロックに対する処理を行うべき時間などを容易に把握することが可能となるとともに、伝送パケットの時間的有効性の判断処理を簡素化することを可能とする通信装置、通信方法、および通信ネットワークシステムを提供することにある。   The present invention has been made in view of the above-described problems, and its purpose is to easily grasp the time for performing processing on each data block when transmitting a transmission packet including a plurality of data blocks. An object of the present invention is to provide a communication device, a communication method, and a communication network system that can simplify the process of determining the temporal validity of a transmission packet.

上記課題を解決するために、本発明に係る通信装置は、通信路を介して接続される通信装置に対して、複数のデータブロックを含む伝送パケットを送信する通信装置であって、上記データブロックのそれぞれに関連する時間情報を生成する時間管理手段と、上記伝送パケットの有効期限に関する有効期限情報を生成する期限設定手段と、上記データブロック、上記時間情報、および上記有効期限情報を含む上記伝送パケットを生成するパケット構成手段とを備えていることを特徴としている。   In order to solve the above-described problem, a communication device according to the present invention is a communication device that transmits a transmission packet including a plurality of data blocks to a communication device connected via a communication path. The time management means for generating time information related to each of the above, the time limit setting means for generating the expiration date information relating to the expiration date of the transmission packet, and the transmission including the data block, the time information, and the expiration date information A packet composing means for generating a packet.

また、上記課題を解決するために、本発明に係る通信方法は、通信路を介して接続される通信装置に対して、複数のデータブロックを含む伝送パケットを送信する通信装置における通信方法であって、上記データブロックのそれぞれに関連する時間情報を生成するステップと、上記伝送パケットの有効期限に関する有効期限情報を生成するステップと、上記データブロック、上記時間情報、および上記有効期限情報を含む上記伝送パケットを生成するステップとを有していることを特徴としている。   In order to solve the above problems, a communication method according to the present invention is a communication method in a communication apparatus that transmits a transmission packet including a plurality of data blocks to a communication apparatus connected via a communication path. Generating the time information related to each of the data blocks, generating the expiration date information regarding the expiration date of the transmission packet, and the data block, the time information, and the expiration date information And a step of generating a transmission packet.

上記の構成および方法によれば、送信される伝送パケットには、送信すべき複数のデータブロックに加えて、まず各データブロックに関連する時間情報が含まれていることになる。このような伝送パケットを受信した通信装置は、各データブロックに関連する時間情報に基づいて、各データブロックに対する処理を行うべき時間などを容易に把握することが可能となる。   According to the configuration and method described above, the transmission packet to be transmitted first includes time information related to each data block in addition to the plurality of data blocks to be transmitted. The communication apparatus that has received such a transmission packet can easily grasp the time to perform processing on each data block based on the time information related to each data block.

また、送信される伝送パケットには、さらに該伝送パケットの有効期限に関する有効期限情報が含まれていることになる。このような伝送パケットを受信した通信装置は、該伝送パケットに含まれる有効期限情報を確認することによって、該伝送パケットがまだ時間的に有効であるか否かを即座に判定することが可能となる。   Further, the transmitted transmission packet further includes expiration date information regarding the expiration date of the transmission packet. A communication device that has received such a transmission packet can immediately determine whether the transmission packet is still valid in time by checking the expiration date information included in the transmission packet. Become.

ここで、この有効期限情報が伝送パケットに含まれていない場合には、該伝送パケットが時間的に有効であるかを判断するためには、例えば上記の時間情報を確認したり、あるいはデータブロックの内容を確認したりすることになる。時間情報は、各データブロックに対応するものであるので、データブロックの種類に応じてその伝送パケット内における格納場所が変化する可能性がある。したがって、伝送パケットが時間的に有効であるかを判断するための処理が煩雑になるという問題がある。また、データブロックの内容を確認する場合には、さらに有効性の判断のための処理が煩雑になる。   Here, when the expiration date information is not included in the transmission packet, in order to determine whether the transmission packet is valid in terms of time, for example, the above time information is confirmed or a data block is You will check the contents of. Since the time information corresponds to each data block, the storage location in the transmission packet may change depending on the type of the data block. Therefore, there is a problem that processing for determining whether a transmission packet is valid in terms of time becomes complicated. Further, when confirming the contents of the data block, the process for determining the validity is further complicated.

すなわち、上記の構成および方法によれば、受信側の通信装置において、各データブロックに対する処理を行うべき時間などを容易に把握することが可能となるとともに、伝送パケットの時間的有効性の判断処理を簡素化することが可能となる。   That is, according to the above-described configuration and method, it is possible to easily grasp the time to perform processing for each data block in the communication device on the receiving side, and to determine the temporal validity of the transmission packet. Can be simplified.

また、本発明に係る通信装置は、上記の構成において、上記データブロックが、ストリームデータを構成するデータブロックであり、上記時間管理手段が、上記時間情報を、上記ストリームデータから該当データブロックが生成された時間に関する情報として生成する構成としてもよい。   In the communication device according to the present invention, in the above configuration, the data block is a data block constituting stream data, and the time management unit generates the time information from the stream data. It is good also as a structure produced | generated as the information regarding performed time.

上記の構成によれば、ストリームデータからデータブロックが生成された時間に関する情報が、伝送パケットに含まれる各データブロックに対応して、該伝送パケットに含まれていることになる。したがって、このような伝送パケットを受信した通信装置は、この時間情報を確認することによって、例えば該当データブロックをどのタイミングで上位の層に出力すべきかを容易に認識することが可能となる。   According to said structure, the information regarding the time when the data block was produced | generated from stream data is contained in this transmission packet corresponding to each data block contained in a transmission packet. Therefore, the communication apparatus that has received such a transmission packet can easily recognize, for example, at what timing the corresponding data block should be output to an upper layer by checking this time information.

また、ストリームデータは、通信が行われつつ再生が行われるものであるので、何らかの事情で伝送が遅延すると、再生に間に合わなくなるデータが生じることになる。ここで、上記のように、伝送パケットに有効期限情報が含まれていれば、受信側の通信装置において、まずこの有効期限が過ぎている伝送パケットを破棄することによって、再生に間に合わなくなっているデータを処理しつづけることを防止することができる。   Further, since the stream data is reproduced while being communicated, if transmission is delayed for some reason, data that is not in time for reproduction is generated. Here, as described above, if the transmission packet includes expiration date information, the transmission communication device on the receiving side is not in time for reproduction by first discarding the transmission packet whose expiration date has passed. It is possible to prevent the data from being processed continuously.

また、本発明に係る通信装置は、上記の構成において、上記パケット構成手段が、上記有効期限情報を、上記伝送パケットの所定位置に配した状態で該伝送パケットを生成する構成としてもよい。   The communication apparatus according to the present invention may be configured such that, in the above configuration, the packet configuration unit generates the transmission packet in a state where the expiration date information is arranged at a predetermined position of the transmission packet.

上記の構成によれば、有効期限情報が伝送パケットの所定位置に配されるので、例えば伝送パケットに含まれるデータブロックの種類が異なったとしても、有効期限情報の位置は変化しないことになる。よって、受信側の通信装置は、どのような種類のデータブロックを含む伝送パケットを受信しても、同じ位置にある有効期限情報を容易に認識し、有効性の判断を行うことが可能となる。よって、受信側の通信装置において、伝送パケットの時間的有効性の判断処理を簡素化することが可能となる。   According to the above configuration, since the expiration date information is arranged at a predetermined position of the transmission packet, the position of the expiration date information does not change even if, for example, the types of data blocks included in the transmission packet are different. Therefore, the communication device on the receiving side can easily recognize the expiration date information at the same position and determine the validity regardless of the type of transmission packet that includes the data block. . Therefore, it is possible to simplify the determination process of the temporal validity of the transmission packet in the communication device on the receiving side.

また、本発明に係る通信装置は、上記の構成において、上記時間管理手段が、上記時間情報を生成する際に用いる時計機能を有しているとともに、上記期限設定手段が上記有効期限情報を生成する際に用いる時計機能を有する有効期限管理手段がさらに設けられている構成としてもよい。   In the communication device according to the present invention, in the configuration described above, the time management unit has a clock function used when generating the time information, and the time limit setting unit generates the expiration date information. It is good also as a structure further provided with the expiration date management means which has a clock function used when doing.

上記の構成によれば、時間情報が生成される際に用いられる時計機能と、有効期限情報が生成される際に用いられる時計機能とが、それぞれ別に設けられることになる。よって、時間情報が生成される際に用いられる時計機能に必要とされる精度および桁数と、有効期限情報が生成される際に用いられる時計機能に必要とされる精度および桁数とを、それぞれに適した性能とすることが可能となる。よって、必要最小限の性能を有する構成を備えることによって装置コストを削減することが可能となる。   According to the above configuration, the clock function used when the time information is generated and the clock function used when the expiration date information is generated are provided separately. Therefore, the accuracy and number of digits required for the clock function used when the time information is generated, and the accuracy and number of digits required for the clock function used when the expiration date information is generated, It is possible to achieve performance suitable for each. Therefore, it is possible to reduce the apparatus cost by providing a configuration having the necessary minimum performance.

なお、時間管理手段が用いる時計機能を有する別の手段が設けられた構成となっていてもよいし、逆に、期限設定手段自身が時計機能を有している構成となっていてもよい。   Note that another means having a clock function used by the time management means may be provided, or conversely, the time limit setting means itself may have a clock function.

また、本発明に係る通信装置は、上記の構成において、上記時間管理手段が、上記時間情報を生成する際に用いる時計機能を有しているとともに、上記期限設定手段が、上記有効期限情報を生成する際に、上記時間管理手段が有する時計機能を用いる構成としてもよい。   In the communication device according to the present invention, in the above configuration, the time management unit has a clock function used when generating the time information, and the time limit setting unit stores the expiration date information. When generating, it is good also as a structure which uses the timepiece function which the said time management means has.

上記の構成によれば、時間情報が生成される際に用いられる時計機能と、有効期限情報が生成される際に用いられる時計機能とが共通化されることになる。よって、必要とされる構成要素を削減することができる。   According to the above configuration, the clock function used when the time information is generated and the clock function used when the expiration date information is generated are shared. Therefore, the required components can be reduced.

また、本発明に係る通信装置は、上記の構成において、上記データブロックに対して暗号化処理を行う暗号化手段をさらに備え、上記パケット構成手段が、上記暗号化手段によって暗号化処理されたデータブロック、および、暗号化処理がされていない上記時間情報並びに有効期限情報を含む上記伝送パケットを生成する構成としてもよい。   The communication apparatus according to the present invention further includes an encryption unit that performs an encryption process on the data block in the configuration described above, and the packet configuration unit includes the data encrypted by the encryption unit. The transmission packet including the block and the time information that has not been encrypted and the expiration date information may be generated.

上記の構成によれば、伝送パケットにおいて、少なくともデータブロックに暗号化処理が行われており、時間情報および有効期限情報は暗号化されていないことになる。したがって、受信側の通信装置は、復号化処理を行うことなく、時間情報および有効期限情報の内容を認識することが可能となる。よって、時間情報および有効期限情報に対する処理を迅速に行うことが可能となる。   According to the above configuration, at least the data block is encrypted in the transmission packet, and the time information and the expiration date information are not encrypted. Therefore, the communication device on the receiving side can recognize the contents of the time information and the expiration date information without performing the decoding process. Therefore, it is possible to quickly process the time information and the expiration date information.

また、上記課題を解決するために、本発明に係る通信装置は、上記本発明に係る通信装置から通信路を介して複数のデータブロックを含む伝送パケットを受信する通信装置であって、受信した伝送パケットに含まれる有効期限情報に基づいて、該伝送パケットを破棄するか否かを判定する受信パケット処理手段を備えていることを特徴としている。   In order to solve the above problem, a communication device according to the present invention is a communication device that receives a transmission packet including a plurality of data blocks from a communication device according to the present invention via a communication path. A reception packet processing means for determining whether to discard the transmission packet based on expiration date information included in the transmission packet is provided.

また、上記課題を解決するために、本発明に係る通信方法は、上記本発明に係る通信方法を実行する通信装置から通信路を介して複数のデータブロックを含む伝送パケットを受信する通信装置における通信方法であって、受信した伝送パケットに含まれる有効期限情報に基づいて、該伝送パケットを破棄するか否かを判定するステップを有していることを特徴としている。   In order to solve the above-described problem, a communication method according to the present invention is a communication device that receives a transmission packet including a plurality of data blocks via a communication path from a communication device that executes the communication method according to the present invention. A communication method is characterized by comprising a step of determining whether or not to discard a transmission packet based on expiration date information included in the received transmission packet.

上記の構成および方法によれば、受信した伝送パケットに含まれる有効期限情報に基づいて、該伝送パケットを破棄するか否かが判定されるので、該伝送パケットがまだ時間的に有効であるか否かを即座に判定することが可能となる。すなわち、上記の構成および方法によれば、受信側の通信装置において、各データブロックに対する処理を行うべき時間などを容易に把握することが可能となるとともに、伝送パケットの時間的有効性の判断処理を簡素化することが可能となる。   According to the above configuration and method, whether or not to discard the transmission packet is determined based on the expiration date information included in the received transmission packet, so whether or not the transmission packet is still valid in time It is possible to immediately determine whether or not. That is, according to the above-described configuration and method, it is possible to easily grasp the time to perform processing for each data block in the communication device on the receiving side, and to determine the temporal validity of the transmission packet. Can be simplified.

また、本発明に係る通信装置は、上記の構成において、受信した伝送パケットに含まれる上記時間情報に基づいて、該伝送ブロックに含まれる上記データブロックに対する処理を行うデータブロック処理手段と、上記受信パケット処理手段が上記有効期限情報の判定を行う際に用いる時計機能を有するパケット時間管理手段と、上記データブロック処理手段が上記データブロックに対する処理を行う際に用いる時計機能を有するデータ時間管理手段とをさらに備えている構成としてもよい。   Further, in the above configuration, the communication device according to the present invention includes a data block processing unit that performs processing on the data block included in the transmission block based on the time information included in the received transmission packet; A packet time management unit having a clock function used when the packet processing unit determines the expiration date information, and a data time management unit having a clock function used when the data block processing unit performs processing on the data block; It is good also as a structure further equipped with.

上記の構成によれば、有効期限情報の判定が行われる際に用いられる時計機能と、データブロックに対する処理が行われる際に用いられる時計機能とが、それぞれ別に設けられることになる。よって、有効期限情報の判定が行われる際に用いられる時計機能に必要とされる精度および桁数と、データブロックに対する処理が行われる際に用いられる時計機能に必要とされる精度および桁数とを、それぞれに適した性能とすることが可能となる。よって、必要最小限の性能を有する構成を備えることによって装置コストを削減することが可能となる。   According to the above configuration, the clock function used when the expiration date information is determined and the clock function used when processing the data block are provided separately. Therefore, the precision and number of digits required for the clock function used when the expiration date information is determined, and the precision and number of digits required for the clock function used when processing the data block are performed. Can be made suitable for each. Therefore, it is possible to reduce the apparatus cost by providing a configuration having the necessary minimum performance.

また、本発明に係る通信装置は、上記の構成において、受信した伝送パケットに含まれる上記時間情報に基づいて、該伝送ブロックに含まれる上記データブロックに対する処理を行うデータブロック処理手段と、上記受信パケット処理手段が上記有効期限情報の判定を行う際に用いる時計機能を有するパケット時間管理手段とをさらに備え、上記データブロック処理手段が上記データブロックに対する処理を行う際に、上記パケット時間管理手段の時計機能を用いる構成としてもよい。   Further, in the above configuration, the communication device according to the present invention includes a data block processing unit that performs processing on the data block included in the transmission block based on the time information included in the received transmission packet; Packet time management means having a clock function used when the packet processing means determines the expiration date information, and when the data block processing means performs processing on the data block, the packet time management means A configuration using a clock function may be used.

上記の構成によれば、有効期限情報の判定が行われる際に用いられる時計機能と、データブロックに対する処理が行われる際に用いられる時計機能とが共通化されることになる。よって、必要とされる構成要素を削減することができる。   According to the above configuration, the clock function used when the expiration date information is determined and the clock function used when the processing on the data block is performed are shared. Therefore, the required components can be reduced.

なお、上記のパケット時間管理手段を設けずに、データブロック処理手段が上記データブロックに対する処理を行う際に用いる時計機能を有するデータ時間管理手段を設け、このデータ時間管理手段が備える時計機能を共有する構成としてもよい。   In addition, without providing the packet time management means, a data time management means having a clock function used when the data block processing means performs processing on the data block is provided, and the clock function provided in the data time management means is shared. It is good also as composition to do.

また、本発明に係る通信装置は、上記の構成において、受信した伝送パケットに含まれる上記時間情報に基づいて、上記データ時間管理手段が有する時計機能の補正を行う時間補正手段をさらに備えている構成としてもよい。   The communication apparatus according to the present invention further includes time correction means for correcting the clock function of the data time management means based on the time information included in the received transmission packet in the above configuration. It is good also as a structure.

上記の構成によれば、データ時間管理手段が有する時計機能が、受信した伝送パケットに含まれる時間情報に基づいて補正されるので、送信側の通信装置が備える時計機能とのずれを補正することが可能となる。   According to the above configuration, the clock function of the data time management unit is corrected based on the time information included in the received transmission packet, so that the deviation from the clock function of the communication device on the transmission side is corrected. Is possible.

また、上記課題を解決するために、本発明に係る通信ネットワークシステムは、上記本発明に係る送信側の通信装置と、該送信側の通信装置と通信路を介して接続された上記本発明に係る受信側の通信装置とを備えていることを特徴としている。   In order to solve the above-described problem, a communication network system according to the present invention includes a communication device on the transmission side according to the present invention and the above-described present invention connected to the communication device on the transmission side via a communication path. And a receiving-side communication device.

上記の構成によれば、受信側の通信装置において、各データブロックに対する処理を行うべき時間などを容易に把握することが可能となるとともに、伝送パケットの時間的有効性の判断処理を簡素化することが可能とする通信ネットワークシステムを提供することができる。   According to the above configuration, the receiving side communication apparatus can easily grasp the time for performing processing on each data block, and simplifies the determination process of the temporal validity of the transmission packet. It is possible to provide a communication network system that makes it possible.

本発明に係る通信装置、通信方法、および通信ネットワークシステムは、以上のように、データブロックのそれぞれに関連する時間情報と、伝送パケットの有効期限に関する有効期限情報と、上記データブロックとを含む伝送パケットが伝送されるようになっている。これにより、受信側の通信装置において、各データブロックに対する処理を行うべき時間などを容易に把握することが可能となるとともに、伝送パケットの時間的有効性の判断処理を簡素化することが可能となるという効果を奏する。   As described above, the communication device, the communication method, and the communication network system according to the present invention transmit time information related to each of the data blocks, expiration date information regarding the expiration date of the transmission packet, and the data block. Packets are transmitted. As a result, in the communication device on the receiving side, it is possible to easily grasp the time to perform processing for each data block, and it is possible to simplify the determination process of temporal validity of transmission packets. The effect of becoming.

(実施の形態1)
本発明の一実施形態について図面に基づいて説明すると以下の通りである。
(Embodiment 1)
An embodiment of the present invention is described below with reference to the drawings.

(通信ネットワークシステムの構成)
図3は、本実施形態に係る通信ネットワークシステムの概略構成を示している。同図に示すように、この通信ネットワークシステムは、送信装置3から受信装置4に対して、送信側通信装置(通信装置)1および受信側通信装置(通信装置)2を介して、ストリームデータおよび/またはデータが送信される構成となっている。
(Configuration of communication network system)
FIG. 3 shows a schematic configuration of the communication network system according to the present embodiment. As shown in the figure, this communication network system transmits stream data and data from a transmission device 3 to a reception device 4 via a transmission side communication device (communication device) 1 and a reception side communication device (communication device) 2. The data is transmitted.

送信装置3は、動画データなどのストリームデータや、その他のデータを外部の装置に対して送信することが可能な装置である。具体的には、送信装置3は、例えばDVD(Digital Versatile Disk)プレイヤーやHDD内蔵DVDプレイヤーなどの動画再生装置や、BS/CSチューナーなどの放送受信装置などによって構成されるものである。   The transmission device 3 is a device capable of transmitting stream data such as moving image data and other data to an external device. Specifically, the transmission device 3 is configured by a moving image reproduction device such as a DVD (Digital Versatile Disk) player or a HDD built-in DVD player, a broadcast reception device such as a BS / CS tuner, and the like.

受信装置4は、受信したストリームデータやその他のデータに基づいて処理を行う装置である。具体的には、受信装置4は、例えば受信したストリームデータとしての動画データを表示する表示装置などによって構成されるものである。   The receiving device 4 is a device that performs processing based on the received stream data and other data. Specifically, the receiving device 4 is configured by, for example, a display device that displays moving image data as received stream data.

送信装置3から出力されるストリームデータ/データは送信側通信装置1に伝送される。そして、送信側通信装置1が、通信ネットワークを介して受信側通信装置2に対して該ストリームデータ/データを送信する。受信側通信装置2は、送信側通信装置1から送られたストリームデータ/データを受信すると、これを受信装置4に伝送する。以上の処理によって、送信装置3から受信装置4へのストリームデータ/データの送信が行われる。なお、通信ネットワークとしては、有線や無線による通信ネットワークであればどのような通信路でも構わない。また、ネットワーク状ではなく、1対1接続の形態であってもよい。通信形態としては、例えば無線LANやIEEE1394などが挙げられる。   Stream data / data output from the transmission device 3 is transmitted to the transmission-side communication device 1. Then, the transmission side communication device 1 transmits the stream data / data to the reception side communication device 2 via the communication network. When receiving the stream data / data sent from the transmission side communication device 1, the reception side communication device 2 transmits this to the reception device 4. Through the above processing, transmission of stream data / data from the transmission device 3 to the reception device 4 is performed. The communication network may be any communication path as long as it is a wired or wireless communication network. Further, it may be a one-to-one connection form instead of a network form. Examples of the communication form include wireless LAN and IEEE1394.

なお、本実施形態では、送信装置3と送信側通信装置1とを別の装置として設けたシステムを示しているが、これに限定されるものではなく、送信装置3の内部に、送信側通信装置1の機能を設けた構成となっていてもよい。同様に、受信装置4の内部に、受信側通信装置2の機能を設けた構成となっていてもよい。   In the present embodiment, a system in which the transmission device 3 and the transmission-side communication device 1 are provided as separate devices is shown. However, the present invention is not limited to this. The configuration may be such that the function of the device 1 is provided. Similarly, the receiving device 4 may have a configuration in which the function of the receiving communication device 2 is provided.

以降の説明では、ストリームデータとしてのMPEG2−TSで符号化された映像データが送信装置3から受信装置4に対して送信される例について説明するが、送信されるデータの種類は特に限定されるものではない。例えば、映像データはDVC等の他のフォーマットでもよいし、さらには、伝送されるデータは、音声等の他のリアルタイムデータであってもよい。なお、以降では、MPEG2−TSパケットを単にMPEGパケットと称する。   In the following description, an example in which video data encoded by MPEG2-TS as stream data is transmitted from the transmission device 3 to the reception device 4 will be described, but the type of data to be transmitted is particularly limited. It is not a thing. For example, the video data may be in other formats such as DVC, and the transmitted data may be other real-time data such as audio. Hereinafter, the MPEG2-TS packet is simply referred to as an MPEG packet.

(伝送パケットの構成)
ここで、送信側通信装置1から受信側通信装置2へ送られる伝送パケットについて説明する。図4は、本実施形態で用いられる伝送パケットのパケットフォーマットを示している。同図に示すように、伝送パケットは、先頭側から順に、ヘッダ、有効期限情報、T1、MPEGパケット(データブロック)1、T2、MPEGパケット2、…、Tn、MPEGパケットnが配置された構成となっている。ヘッダはネットワーク上で伝送するために必要な情報が格納されている領域である。有効期限情報はこの伝送パケット全体の有効期限を示している。T1〜TnはそれぞれMPEGパケット1〜MPEGパケットnに対応する時間情報である。これらT1〜Tnは、送信側通信装置1において、対応するMPEGパケットが送信装置3から入力された時間を示している。なお、送信装置3は、各MPEGパケットが生成された時間間隔と同じ時間間隔で各MPEGパケットを送信側通信装置1に出力するものとする。すなわち、T1〜Tnの各時間間隔は、各MPEGパケットが生成された時間間隔と等しいことになる。
(Configuration of transmission packet)
Here, a transmission packet sent from the transmission side communication apparatus 1 to the reception side communication apparatus 2 will be described. FIG. 4 shows a packet format of a transmission packet used in the present embodiment. As shown in the figure, the transmission packet has a structure in which a header, expiration date information, T1, MPEG packet (data block) 1, T2, MPEG packet 2,..., Tn, MPEG packet n are arranged in order from the head. It has become. The header is an area where information necessary for transmission on the network is stored. The expiration date information indicates the expiration date of the entire transmission packet. T1 to Tn are time information corresponding to MPEG packet 1 to MPEG packet n, respectively. These T1 to Tn indicate times when the corresponding MPEG packet is input from the transmission device 3 in the transmission side communication device 1. It is assumed that the transmission device 3 outputs each MPEG packet to the transmission side communication device 1 at the same time interval as the time interval at which each MPEG packet is generated. That is, each time interval from T1 to Tn is equal to the time interval at which each MPEG packet is generated.

(送信側通信装置の構成)
次に、送信側通信装置1の構成について、図1を参照しながら以下に説明する。送信側通信装置1は、データ入力部11、制御部12、通信I/F13、および記憶部14を備えている。
(Configuration of transmitting communication device)
Next, the configuration of the transmission side communication apparatus 1 will be described below with reference to FIG. The transmission side communication device 1 includes a data input unit 11, a control unit 12, a communication I / F 13, and a storage unit 14.

データ入力部11は、送信装置3から映像データを入力するインターフェースに相当するものである。この映像データは、MPEG2−TSパケットの形式でデータ入力部11に入力される。通信I/F13は、受信側通信装置2との間の通信を行う際のインターフェースに相当するものである。制御部12において生成された伝送パケットは、この通信I/F13を介して受信側通信装置2に送信される。   The data input unit 11 corresponds to an interface for inputting video data from the transmission device 3. This video data is input to the data input unit 11 in the MPEG2-TS packet format. The communication I / F 13 corresponds to an interface for performing communication with the receiving-side communication device 2. The transmission packet generated in the control unit 12 is transmitted to the receiving-side communication device 2 via the communication I / F 13.

制御部12は、送信装置3から入力されたMPEGパケットに基づいて伝送パケットを生成し、これを送信する制御を行うブロックである。また、記憶部14は、制御部12における伝送パケット生成処理および送信処理時にワークメモリとして利用されるものである。記憶部14は、例えばDRAMなどの揮発性記憶手段によって構成される。なお、この記憶部14は、少なくとも一時的にデータを格納することが可能な記憶手段であればどのような記憶手段によって構成されてもよい。   The control unit 12 is a block that performs control for generating a transmission packet based on the MPEG packet input from the transmission apparatus 3 and transmitting the transmission packet. The storage unit 14 is used as a work memory during transmission packet generation processing and transmission processing in the control unit 12. The storage unit 14 is configured by volatile storage means such as DRAM. The storage unit 14 may be configured by any storage means as long as the storage means can store data at least temporarily.

制御部12は、機能ブロックとして、データ記憶処理部21、データ時間管理部(時間管理手段)22、送信パケット構成部(期限設定手段、パケット構成手段)23、送信パケット時間管理部(有効期限管理手段)24、および送信制御部25を備えた構成となっている。また、記憶部14は、データ記憶部31、時間情報記憶部32、および送信パケット記憶部33を備えている。これらデータ記憶部31、時間情報記憶部32、および送信パケット記憶部33では、例えばFIFO(first in first out)によってメモリ制御が行われる。   The control unit 12 includes, as functional blocks, a data storage processing unit 21, a data time management unit (time management unit) 22, a transmission packet configuration unit (time limit setting unit, packet configuration unit) 23, and a transmission packet time management unit (expiration date management). Means) 24 and a transmission control unit 25. The storage unit 14 includes a data storage unit 31, a time information storage unit 32, and a transmission packet storage unit 33. In these data storage unit 31, time information storage unit 32, and transmission packet storage unit 33, memory control is performed by, for example, FIFO (first in first out).

データ記憶処理部21は、データ入力部11によって入力されたMPEGパケットをデータ記憶部31に書き込む処理を行う。データ時間管理部22は、時計機能を有するとともに、各MPEGパケットがデータ入力部11において入力された入力時間(T1〜Tn)を時間情報記憶部32に書き込む処理を行う。   The data storage processing unit 21 performs a process of writing the MPEG packet input by the data input unit 11 into the data storage unit 31. The data time management unit 22 has a clock function and performs a process of writing the input time (T1 to Tn) when each MPEG packet is input in the data input unit 11 to the time information storage unit 32.

送信パケット時間管理部24は、時計機能を有しており、伝送パケット全体の有効期限を示す有効期限情報を伝送パケットに付加する処理が送信パケット構成部23によって行われる際に利用される。   The transmission packet time management unit 24 has a clock function, and is used when processing for adding expiration date information indicating the expiration date of the entire transmission packet to the transmission packet is performed by the transmission packet configuration unit 23.

送信パケット構成部23は、データ記憶部31に記憶されているMPEGパケットのデータ(MPEGパケット1〜MPEGパケットn)、および時間情報記憶部32に記憶されている入力時間(T1〜Tn)のデータを読み出し、上記した伝送パケットのフォーマットに従って伝送パケットを生成する。この伝送パケットに含まれる有効期限情報は、送信パケット時間管理部24から取得する。送信パケット構成部23によって生成された伝送パケットは、送信パケット記憶部33に記憶される。   The transmission packet configuration unit 23 includes MPEG packet data (MPEG packet 1 to MPEG packet n) stored in the data storage unit 31 and input time (T1 to Tn) data stored in the time information storage unit 32. And a transmission packet is generated according to the format of the transmission packet described above. The expiration date information included in this transmission packet is acquired from the transmission packet time management unit 24. The transmission packet generated by the transmission packet configuration unit 23 is stored in the transmission packet storage unit 33.

送信制御部25は、送信パケット記憶部33に記憶されている伝送パケットを読み出し、通信I/F13からの伝送パケットの送信を制御する。   The transmission control unit 25 reads the transmission packet stored in the transmission packet storage unit 33 and controls transmission of the transmission packet from the communication I / F 13.

(受信側通信装置の構成)
次に、受信側通信装置2の構成について、図2を参照しながら以下に説明する。受信側通信装置2は、通信I/F41、制御部42、データ出力部43、および記憶部44を備えている。
(Configuration of receiving side communication device)
Next, the configuration of the receiving communication device 2 will be described below with reference to FIG. The receiving side communication device 2 includes a communication I / F 41, a control unit 42, a data output unit 43, and a storage unit 44.

通信I/F41は、送信側通信装置1との間の通信を行う際のインターフェースに相当するものである。送信側通信装置1から受信した伝送パケットは、この通信I/F41を介して制御部42に入力される。データ出力部43は、映像データを受信装置4へ出力するインターフェースに相当するものである。この映像データは、MPEGパケットの形式で受信装置4に対して出力される。   The communication I / F 41 corresponds to an interface for performing communication with the transmission side communication device 1. The transmission packet received from the transmission side communication device 1 is input to the control unit 42 via the communication I / F 41. The data output unit 43 corresponds to an interface for outputting video data to the receiving device 4. This video data is output to the receiving device 4 in the form of an MPEG packet.

制御部42は、送信側通信装置1から受信した伝送パケットに基づいてMPEGパケットを復元し、これを出力する制御を行うブロックである。また、記憶部44は、制御部42におけるMPEGパケット復元処理および出力処理時にワークメモリとして利用されるものである。記憶部44は、例えばDRAMなどの揮発性記憶手段によって構成される。なお、この記憶部44は、少なくとも一時的にデータを格納することが可能な記憶手段であればどのような記憶手段によって構成されてもよい。   The control unit 42 is a block that performs a control to restore the MPEG packet based on the transmission packet received from the transmission side communication device 1 and to output the MPEG packet. The storage unit 44 is used as a work memory when the control unit 42 performs MPEG packet restoration processing and output processing. The storage unit 44 is configured by volatile storage means such as DRAM. The storage unit 44 may be configured by any storage means as long as the storage means can store data at least temporarily.

制御部42は、機能ブロックとして、受信パケット処理部(受信パケット処理手段)51、受信パケット時間管理部(パケット時間管理手段)52、映像データ処理部53、時間調整部(データブロック処理手段)54、データ時間管理部(データ時間管理手段)55、および出力制御部(データブロック処理手段)56を備えた構成となっている。また、記憶部44は、受信パケット記憶部61、データ記憶部62、および時間情報記憶部63を備えている。これら受信パケット記憶部61、データ記憶部62、および時間情報記憶部63では、例えばFIFO(first in first out)によってメモリ制御が行われる。   The control unit 42 includes, as functional blocks, a received packet processing unit (received packet processing unit) 51, a received packet time management unit (packet time management unit) 52, a video data processing unit 53, and a time adjustment unit (data block processing unit) 54. A data time management unit (data time management unit) 55 and an output control unit (data block processing unit) 56 are provided. The storage unit 44 includes a received packet storage unit 61, a data storage unit 62, and a time information storage unit 63. In the received packet storage unit 61, the data storage unit 62, and the time information storage unit 63, memory control is performed by, for example, FIFO (first in first out).

受信パケット時間管理部52は、時計機能を有しており、受信パケット処理部51による、受信した伝送パケットの有効期限に基づく該伝送パケットを廃棄するか否かの判断処理に利用される。   The reception packet time management unit 52 has a clock function, and is used by the reception packet processing unit 51 to determine whether to discard the transmission packet based on the expiration date of the received transmission packet.

受信パケット処理部51は、受信した伝送パケットのヘッダのチェックを行い、さらに、有効期限情報をチェックすることにより、該伝送パケットを廃棄するか否かの判断処理を行う。詳しく説明すると、受信パケット処理部51は、まず、受信した伝送パケットの有効期限に所定の時間αを足し合わせた補正有効期限を算出する。そして、この補正有効期限と、受信パケット時間管理部52が示す時間との比較を行う。   The received packet processing unit 51 checks the header of the received transmission packet, and further checks the expiration date information to determine whether to discard the transmission packet. More specifically, the received packet processing unit 51 first calculates a corrected expiration date obtained by adding a predetermined time α to the expiration date of the received transmission packet. And this correction | amendment expiration date is compared with the time which the reception packet time management part 52 shows.

この比較において、受信パケット時間管理部52が示す時間のほうが前である場合、受信パケット処理部51は、該当伝送パケットに含まれるMPEGパケットの再生時間はすでに過ぎていると判断する。すなわち、受信パケット処理部51は、受信した伝送パケットのヘッダに異常がある、および/または、有効期限が超過している場合に、該当伝送パケットを破棄する。パケットの破棄は受信パケット記憶部61に該当伝送パケットを書き込まないことによってなされる。一方、受信した伝送パケットのヘッダに異常がなく、かつ、有効期限が超過していない場合に、受信パケット処理部51は、受信パケット記憶部61に該当伝送パケットを書き込む。   In this comparison, when the time indicated by the reception packet time management unit 52 is earlier, the reception packet processing unit 51 determines that the reproduction time of the MPEG packet included in the transmission packet has already passed. That is, the received packet processing unit 51 discards the corresponding transmission packet when the header of the received transmission packet is abnormal and / or the expiration date is exceeded. The packet is discarded by not writing the transmission packet in the received packet storage unit 61. On the other hand, when there is no abnormality in the header of the received transmission packet and the expiration date has not exceeded, the reception packet processing unit 51 writes the transmission packet in the reception packet storage unit 61.

ここで、上記の時間αは固定値であり、伝送遅延時間や再送回数に基づいて予め設定される。時間αを比較的長く設定すると、送信側通信装置1から受信側通信装置2への伝送時間の遅延をより長く許容することになる。すなわち、送信側通信装置1と受信側通信装置2との間の通信に失敗した場合の再送処理をより多くの回数行うことが可能となり、高品質の伝送が実現できることになる。しかしながら、時間αを比較的長く設定すると、受信側で必要とされるバッファ量も大きくなるので、受信パケット記憶部61のメモリ容量を大きくする必要が生じることになる。したがって、時間αの値は、通信品質とメモリコストとのバランスを考慮して設定することが好ましい。なお、時間αを状況に応じて変更可能な構成としてもよい。   Here, the time α is a fixed value, and is set in advance based on the transmission delay time and the number of retransmissions. When the time α is set to be relatively long, the transmission time delay from the transmission side communication device 1 to the reception side communication device 2 is allowed to be longer. That is, it is possible to perform retransmission processing more times when communication between the transmission-side communication device 1 and the reception-side communication device 2 fails, and high-quality transmission can be realized. However, if the time α is set to be relatively long, the amount of buffer required on the receiving side also increases, so that the memory capacity of the received packet storage unit 61 needs to be increased. Therefore, the value of time α is preferably set in consideration of the balance between communication quality and memory cost. In addition, it is good also as a structure which can change time (alpha) according to a condition.

なお、本実施形態では、上記のように、受信側通信装置2において、受信パケット処理部51が有効期限情報に時間αを加えて補正有効期限を算出している。しかしながら、送信側通信装置1において、送信パケット構成部23が有効期限情報を伝送パケットに付加するときに、時間αを足し合わせた補正有効期限を有効期限情報として付加する構成としてもよい。この場合、受信側通信装置2における受信パケット処理部51は、時間αの加算処理を行うことなく、受信した伝送パケットの有効期限(補正有効期限)と受信パケット時間管理部52が示す値とを直接比較すればよいことになる。   In the present embodiment, as described above, in the receiving-side communication device 2, the reception packet processing unit 51 calculates the corrected expiration date by adding the time α to the expiration date information. However, in the communication device 1 on the transmission side, when the transmission packet configuration unit 23 adds the expiration date information to the transmission packet, the corrected expiration date obtained by adding the time α may be added as the expiration date information. In this case, the reception packet processing unit 51 in the receiving-side communication device 2 does not perform the time α addition process, and obtains the expiration date (corrected expiration date) of the received transmission packet and the value indicated by the reception packet time management unit 52. A direct comparison is sufficient.

映像データ処理部53は、受信パケット記憶部61に記憶されている伝送パケットを、該伝送パケットの補正有効期限となった時点で読み出し、時間情報(T1〜Tn)および映像データ(MPEGパケット1〜MPEGパケットn)を抽出し、それぞれ時間情報記憶部63、およびデータ記憶部62に書き込む処理を行う。   The video data processing unit 53 reads the transmission packet stored in the received packet storage unit 61 when the correction expiration date of the transmission packet is reached, and reads time information (T1 to Tn) and video data (MPEG packet 1 to MPEG packet 1). The MPEG packet n) is extracted and written into the time information storage unit 63 and the data storage unit 62, respectively.

データ時間管理部55は、時計機能を有しており、時間調整部54における映像データの出力タイミング制御の際に利用される。   The data time management unit 55 has a clock function, and is used in video data output timing control in the time adjustment unit 54.

時間調整部54は、時間情報記憶部63から時間情報(T1〜Tn)を取得し、その時間とデータ時間管理部55が示す時間とを比較することで出力制御部56がデータ出力部43に映像データ(MPEGパケット1〜MPEGパケットn)を出力するタイミングを調整する処理を行う。   The time adjustment unit 54 acquires the time information (T1 to Tn) from the time information storage unit 63, and compares the time with the time indicated by the data time management unit 55, so that the output control unit 56 transfers to the data output unit 43. Processing for adjusting the timing of outputting the video data (MPEG packet 1 to MPEG packet n) is performed.

出力制御部56は、時間調整部54によるタイミング調整に基づいて、データ記憶部62から、出力すべき映像データ(MPEGパケット1〜MPEGパケットn)を読み出し、該映像データをデータ出力部43から出力させる制御を行う。   The output control unit 56 reads the video data (MPEG packet 1 to MPEG packet n) to be output from the data storage unit 62 based on the timing adjustment by the time adjustment unit 54, and outputs the video data from the data output unit 43. To control.

(送信側通信装置における処理の流れ)
次に、図5に示すフローチャートを参照しながら、送信側通信装置1における処理の流れについて説明する。
(Processing flow in the sending communication device)
Next, the flow of processing in the transmission-side communication apparatus 1 will be described with reference to the flowchart shown in FIG.

まずステップ1(以降、S1のように称する)において、データ記憶処理部21は、データ入力部11に対して映像データとしてのMPEGパケットが入力されたか否かを判断する。S1においてNO、すなわち、MPEGパケットが入力されていないと判定された場合には、S1の処理が繰り返される。つまり、S1はMPEGパケットの入力の待機処理に相当する。S1においてYES、すなわちMPEGパケットが入力されたと判定された場合、処理はS2へ移行する。   First, in step 1 (hereinafter referred to as S1), the data storage processing unit 21 determines whether or not an MPEG packet as video data is input to the data input unit 11. If NO in S1, that is, if it is determined that no MPEG packet has been input, the processing in S1 is repeated. That is, S1 corresponds to standby processing for MPEG packet input. If YES in S1, that is, if it is determined that an MPEG packet has been input, the process proceeds to S2.

S2において、データ記憶処理部21は、データ入力部11に入力されたMPEGパケットをデータ記憶部31に書き込む。同時に、データ時間管理部22はMPEGパケットが入力された時間情報を取得し、これを時間情報記憶部32に書き込む。   In S 2, the data storage processing unit 21 writes the MPEG packet input to the data input unit 11 into the data storage unit 31. At the same time, the data time management unit 22 acquires time information when the MPEG packet is input, and writes it in the time information storage unit 32.

次に、S3において、送信パケット構成部23が、データ記憶処理部21によって所定の数のMPEGパケットがデータ記憶部31に書き込まれたか否かを判断する。S3においてNO、すなわち、データ記憶部31に書き込まれたMPEGパケットの数が所定の数に満たない場合には、S1からの処理に戻る。一方、S3においてYES、すなわち、データ記憶部31に書き込まれたMPEGパケットの数が所定の数以上となった場合には、処理はS4へ移行する。   Next, in S <b> 3, the transmission packet configuration unit 23 determines whether the data storage processing unit 21 has written a predetermined number of MPEG packets in the data storage unit 31. If NO in S3, that is, if the number of MPEG packets written in the data storage unit 31 is less than the predetermined number, the process returns to S1. On the other hand, if YES in S3, that is, if the number of MPEG packets written in the data storage unit 31 exceeds a predetermined number, the process proceeds to S4.

S4では、まず、送信パケット構成部23は、所定の数のMPEGパケットをデータ記憶部31から読み出し、各MPEGパケットに対応する時間情報を時間情報記憶部32から読み出す。そして、送信パケット構成部23は、送信パケット時間管理部24から時間情報を取得する。その後、S5において、送信パケット構成部23は、送信パケット時間管理部24から取得した時間情報を有効期限とみなして、図4で示されるパケットフォーマットに基づき、伝送パケットを生成する。そして、送信パケット構成部23は、生成した伝送パケットを送信パケット記憶部33に書き込む。   In S4, first, the transmission packet configuration unit 23 reads a predetermined number of MPEG packets from the data storage unit 31 and reads time information corresponding to each MPEG packet from the time information storage unit 32. Then, the transmission packet configuration unit 23 acquires time information from the transmission packet time management unit 24. Thereafter, in S5, the transmission packet configuration unit 23 regards the time information acquired from the transmission packet time management unit 24 as an expiration date, and generates a transmission packet based on the packet format shown in FIG. Then, the transmission packet configuration unit 23 writes the generated transmission packet in the transmission packet storage unit 33.

次に、S6において、送信制御部25は、伝送パケットを送信する送信時間に達するまで待機させる。そして、送信時間に達すると、S7において、送信制御部25は、送信パケット記憶部33から伝送パケットを読み出し、通信I/F13から受信側通信装置2に対して送信させる。   Next, in S6, the transmission control unit 25 waits until the transmission time for transmitting the transmission packet is reached. When the transmission time is reached, in S7, the transmission control unit 25 reads the transmission packet from the transmission packet storage unit 33 and causes the communication I / F 13 to transmit the transmission packet.

(受信側通信装置における処理の流れ)
次に、図6に示すフローチャートを参照しながら、受信側通信装置2における処理の流れについて説明する。
(Processing flow in the receiving communication device)
Next, the flow of processing in the receiving-side communication device 2 will be described with reference to the flowchart shown in FIG.

まず、S11において、受信パケット処理部51は、通信I/F41において伝送パケットが受信されたか否かを判断する。S11においてNO、すなわち、伝送パケットが受信されていないと判定された場合には、S11の処理が繰り返される。つまり、S11は伝送パケットの受信の待機処理に相当する。S11においてYES、すなわち伝送パケットが受信されたと判定された場合、処理はS12に移行する。   First, in S11, the received packet processing unit 51 determines whether or not a transmission packet is received in the communication I / F 41. If NO in S11, that is, if it is determined that a transmission packet has not been received, the processing in S11 is repeated. That is, S11 corresponds to reception packet reception standby processing. If YES in S11, that is, if it is determined that a transmission packet has been received, the process proceeds to S12.

S12において、受信パケット処理部51は、まず、受信した伝送パケットに含まれる有効期限情報を抽出する。そして、受信パケット処理部51は、この有効期限に所定の時間αを足し合わせた補正有効期限の時間と、受信パケット時間管理部52から得られる時間とを比較し、有効期限が過ぎていないかを判定する。S12においてNO、すなわち、補正有効期限が既に過ぎていると判定された場合には、受信パケット処理部51は、該当伝送パケット全体を破棄する(S13)。つまり、該当伝送パケットは、受信パケット記憶部61に書き込まれない。   In S12, the received packet processing unit 51 first extracts expiration date information included in the received transmission packet. Then, the received packet processing unit 51 compares the corrected expiration time obtained by adding the predetermined time α to the expiration date and the time obtained from the received packet time management unit 52, and whether the expiration date has passed. Determine. If NO in S12, that is, if it is determined that the correction expiration date has already passed, the received packet processing unit 51 discards the entire transmission packet (S13). That is, the corresponding transmission packet is not written in the received packet storage unit 61.

一方、S12においてYES、すなわち、有効期限はまだ過ぎていないと判定された場合、S14において、受信パケット処理部51は受信した伝送パケットを受信パケット記憶部61に書き込む。   On the other hand, if YES in S12, that is, if it is determined that the expiration date has not yet passed, the received packet processing unit 51 writes the received transmission packet in the received packet storage unit 61 in S14.

次に、S15において、映像データ処理部53は、受信パケット記憶部61に記憶されている伝送パケットを出力すべき時間になったか否かを判定する。ここで、伝送パケットを出力すべき時間とは、該伝送パケットに含まれる有効期限情報で示される有効期限に所定の値αを加えた時間となる補正有効期限に相当するものである。S15において出力すべき時間まで待機した後、出力すべき時間となると、処理はS16へ移行する。   Next, in S <b> 15, the video data processing unit 53 determines whether or not it is time to output the transmission packet stored in the received packet storage unit 61. Here, the time when the transmission packet should be output corresponds to a correction expiration date that is a time obtained by adding a predetermined value α to the expiration date indicated by the expiration date information included in the transmission packet. After waiting for the time to be output in S15, when it is time to output, the process proceeds to S16.

S16において、映像データ処理部53は、受信パケット記憶部61に記憶されている伝送パケットを読み出し、各MPEGパケットに対応する時間情報とMPEGパケットとを抽出する。そして、映像データ処理部53は、抽出した時間情報を時間情報記憶部63に、MPEGパケットをデータ記憶部62にそれぞれ書き込む。   In S16, the video data processing unit 53 reads the transmission packet stored in the received packet storage unit 61, and extracts time information and MPEG packet corresponding to each MPEG packet. Then, the video data processing unit 53 writes the extracted time information in the time information storage unit 63 and the MPEG packet in the data storage unit 62, respectively.

次に、S17において、時間調整部54は、時間情報記憶部63に書き込まれている各MPEGパケットに対応した時間情報に示される時間に、所定の時間βを足し合わせた送出時間を算出する。そして、時間調整部54は、データ時間管理部55から得られる時間が送出時間となるまで、該当MPEGパケットの送出を待機させる。送出時間に達すると、S18において、出力制御部56は時間調整部54によるタイミング調整に基づいて、データ記憶部62から対応するMPEGパケットを読み出し、データ出力部43から該当MPEGパケットを受信装置4に向けて出力する。   Next, in S <b> 17, the time adjustment unit 54 calculates a transmission time obtained by adding a predetermined time β to the time indicated in the time information corresponding to each MPEG packet written in the time information storage unit 63. Then, the time adjustment unit 54 waits for transmission of the corresponding MPEG packet until the time obtained from the data time management unit 55 reaches the transmission time. When the transmission time is reached, the output control unit 56 reads the corresponding MPEG packet from the data storage unit 62 based on the timing adjustment by the time adjustment unit 54 and the corresponding MPEG packet from the data output unit 43 to the receiving device 4 in S18. Output toward.

ここで、上記時間βは固定値であり、送信側通信装置1においてMPEGパケットが入力されてから、受信側通信装置2において、そのMPEGパケットがデータ記憶部62に書き込まれるまでに要した時間に相当する値として予め設定される。この時間βの値は、送信側通信装置1におけるデータ処理の遅延、伝送遅延、受信側通信装置2におけるデータ処理の遅延時間等を考慮して設定される。   Here, the time β is a fixed value, and is the time required from when the MPEG packet is input to the transmission side communication device 1 to when the MPEG packet is written to the data storage unit 62 at the reception side communication device 2. It is preset as a corresponding value. The value of the time β is set in consideration of a data processing delay, a transmission delay, a data processing delay time in the receiving side communication device 2, and the like.

なお、本実施形態では、上記のように、受信側通信装置2において、時間調整部54が各MPEGパケットに対応した時間情報に示される時間に時間βを加えて送出時間を算出している。しかしながら、送信側通信装置1において、データ時間管理部22が各MPEGパケットに対応した時間情報を設定するときに、時間βを足し合わせた送出時間を時間情報として設定する構成としてもよい。この場合、受信側通信装置2における時間調整部54は、時間βの加算処理を行うことなく、各MPEGパケットに対応した時間情報に示される時間とデータ時間管理部55が示す値とを直接比較すればよいことになる。   In the present embodiment, as described above, in the receiving side communication device 2, the time adjustment unit 54 calculates the transmission time by adding the time β to the time indicated in the time information corresponding to each MPEG packet. However, in the communication device 1 on the transmission side, when the data time management unit 22 sets time information corresponding to each MPEG packet, a transmission time obtained by adding the time β may be set as time information. In this case, the time adjustment unit 54 in the receiving side communication device 2 directly compares the time indicated by the time information corresponding to each MPEG packet with the value indicated by the data time management unit 55 without performing the addition process of the time β. You can do it.

以上のように、本実施形態においては、例えば通信ネットワーク上での伝送遅延が発生し、伝送パケットが所望の時間内に受信側通信装置2に到達しない場合でも、受信側通信装置2は、伝送パケットに含まれる有効期限情報を参照することによって容易にその伝送パケットを破棄することができる。   As described above, in the present embodiment, for example, even when a transmission delay occurs on the communication network and the transmission packet does not reach the receiving communication device 2 within a desired time, the receiving communication device 2 performs transmission. By referring to the expiration date information included in the packet, the transmission packet can be easily discarded.

なお、送信側通信装置1におけるデータ時間管理部22と、受信側通信装置2におけるデータ時間管理部55とは、互いに同じ時間基準を有している。言い換えれば、データ時間管理部22とデータ時間管理部55とでは、同じ絶対時間を認識する時計機能を有している。この両者の間における時間基準のずれは、MPEGパケットの再生時に許容される各MPEGパケットの時間間隔のずれ(出力ジッタ)よりも小さくする必要がある。これが実現されることによって、フレーム欠陥などが生じない高品位なリアルタイム再生を行うことが可能となる。   The data time management unit 22 in the transmission side communication device 1 and the data time management unit 55 in the reception side communication device 2 have the same time reference. In other words, the data time management unit 22 and the data time management unit 55 have a clock function that recognizes the same absolute time. The time reference deviation between the two needs to be smaller than the time interval deviation (output jitter) of each MPEG packet allowed at the time of reproduction of the MPEG packet. By realizing this, it is possible to perform high-quality real-time reproduction without causing frame defects and the like.

具体的には、データ時間管理部22およびデータ時間管理部55は、MPEG2−TSのデコーダの性能などにもよるが、約数100nsの精度が必要となる。この精度よりも悪くなると、正常に通信ができているのにも拘らず、映像の再生が乱れる可能性がある。   Specifically, the data time management unit 22 and the data time management unit 55 are required to have an accuracy of about several hundred ns, depending on the performance of the MPEG2-TS decoder. If it becomes worse than this accuracy, there is a possibility that the reproduction of the video is disturbed even though the communication is normally performed.

一方、送信側通信装置1における送信パケット時間管理部24と、受信側通信装置2における受信パケット時間管理部52とは、やはり互いに同じ時間基準を有している必要があるが、その時間基準のずれの精度は、出力ジッタの制限を受ける必要はなく、より緩い精度でよい。これは、送信パケット時間管理部24および受信パケット時間管理部52では、単に伝送パケットの廃棄の必要性を判断するための精度があればよいからである。   On the other hand, the transmission packet time management unit 24 in the transmission-side communication device 1 and the reception packet time management unit 52 in the reception-side communication device 2 still need to have the same time reference. The accuracy of the deviation does not need to be limited by the output jitter and may be looser. This is because the transmission packet time management unit 24 and the reception packet time management unit 52 need only have an accuracy for determining the necessity of discarding the transmission packet.

なお、本実施形態において、映像データを暗号化して伝送する構成としてもよい。この場合、伝送パケットにおいて、有効期限情報の部分を暗号化せずに、時間情報およびMPEGパケットのみを暗号化することで、受信側通信装置2は、伝送パケットの破棄の処理を復号前に行うことができる。従って、通信ネットワーク上での伝送において、ルーティングの途中にあり、データの復号を行うことができない機器においても伝送パケットの破棄を行うことが可能となる。   In the present embodiment, the video data may be encrypted and transmitted. In this case, in the transmission packet, only the time information and the MPEG packet are encrypted without encrypting the expiration date information portion, so that the receiving-side communication apparatus 2 performs the transmission packet discarding process before the decryption. be able to. Therefore, in the transmission on the communication network, it is possible to discard the transmission packet even in a device that is in the middle of routing and cannot decode data.

(実施の形態2)
本発明の他の実施形態について図面に基づいて説明すると以下の通りである。なお、前記した実施の形態で説明した構成と同様の機能を有する構成には、同一の符号を付記し、その説明を省略する。
(Embodiment 2)
Another embodiment of the present invention is described below with reference to the drawings. In addition, the same code | symbol is attached | subjected to the structure which has the function similar to the structure demonstrated in above-described embodiment, and the description is abbreviate | omitted.

本実施形態に係る通信ネットワークシステムは、実施の形態1において図3を参照しながら説明した構成と同様である。   The communication network system according to the present embodiment has the same configuration as that described with reference to FIG. 3 in the first embodiment.

図7は、本実施形態に係る送信側通信装置1の概略構成を示しており、図8は、本実施形態に係る受信側通信装置2の概略構成を示している。同図に示すように、本実施形態では、実施の形態1で示した構成において、送信側通信装置1の制御部12が、送信パケット時間管理部24を備えておらず、また、受信側通信装置2の制御部42が、データ時間管理部55を備えていない構成となっている。その他の構成については、前記した実施の形態1で示した構成と同様であるので、その説明を省略する。また、使用される伝送パケットのフォーマットも、図4に示すパケットフォーマットと同一である。   FIG. 7 shows a schematic configuration of the transmitting communication device 1 according to the present embodiment, and FIG. 8 shows a schematic configuration of the receiving communication device 2 according to the present embodiment. As shown in the figure, in the present embodiment, in the configuration shown in the first embodiment, the control unit 12 of the transmission side communication device 1 does not include the transmission packet time management unit 24, and the reception side communication The control unit 42 of the device 2 is configured not to include the data time management unit 55. Other configurations are the same as those described in the first embodiment, and thus the description thereof is omitted. The format of the transmission packet used is also the same as the packet format shown in FIG.

まず、送信側通信装置1において、実施の形態1とは異なる点について説明する。送信パケット構成部23は、データ記憶部31に記憶されているMPEGパケットのデータ(MPEGパケット1〜MPEGパケットn)、および時間情報記憶部32に記憶されている入力時間(T1〜Tn)のデータを読み出し、上記した伝送パケットのフォーマットに従って送信パケットを生成する。このとき送信パケット構成部23は、時間情報記憶部32に記憶されている入力時間(T1〜Tn)のうち、T1の値に基づいて、有効期限情報を設定する。   First, differences in the communication device 1 on the transmission side from the first embodiment will be described. The transmission packet configuration unit 23 includes MPEG packet data (MPEG packet 1 to MPEG packet n) stored in the data storage unit 31 and input time (T1 to Tn) data stored in the time information storage unit 32. And a transmission packet is generated in accordance with the transmission packet format described above. At this time, the transmission packet configuration unit 23 sets the expiration date information based on the value of T1 among the input times (T1 to Tn) stored in the time information storage unit 32.

なお、有効期限情報に示される有効期限としては、T1の値をそのまま設定してもよいし、MPEGパケットがデータ入力部11に入力されてから送信パケット構成部23において伝送パケット化されるまでの時間に相当する値をT1に足し合わせた値を設定してもよい。また、T1ではなく、Tnに基づいて有効期限を設定してもよい。   Note that as the expiration date indicated in the expiration date information, the value of T1 may be set as it is, or from when the MPEG packet is input to the data input unit 11 until the transmission packet forming unit 23 converts the packet into a transmission packet. A value obtained by adding a value corresponding to time to T1 may be set. Further, the expiration date may be set based on Tn instead of T1.

また、実施の形態1においても説明したように、上記のようにして設定された有効期限に、前記した時間αを足し合わせた補正有効期限を有効期限情報として付加する構成としてもよい。   Further, as described in the first embodiment, the corrected expiration date obtained by adding the time α described above to the expiration date set as described above may be added as the expiration date information.

次に、受信側通信装置2において、実施の形態1とは異なる点について説明する。時間調整部54は、時間情報記憶部63から時間情報(T1〜Tn)を取得し、その時間と、受信パケット時間管理部52が示す時間とを比較することで出力制御部56がデータ出力部43に映像データ(MPEGパケット1〜MPEGパケットn)を出力するタイミングを調整する処理を行う。   Next, differences in the receiving side communication device 2 from the first embodiment will be described. The time adjustment unit 54 acquires time information (T1 to Tn) from the time information storage unit 63, and compares the time with the time indicated by the reception packet time management unit 52, so that the output control unit 56 outputs the data output unit. 43 adjusts the timing of outputting video data (MPEG packet 1 to MPEG packet n).

以上のように、本実施形態によれば、有効期限情報と、映像データの時間情報の管理を共通化することができので、処理をより簡略化することができる。   As described above, according to the present embodiment, the management of the expiration date information and the time information of the video data can be shared, so that the processing can be further simplified.

なお、本実施形態では、送信側通信装置1の制御部12が、送信パケット時間管理部24を備えておらず、また、受信側通信装置2の制御部42が、データ時間管理部55を備えていない構成について示したが、送信側通信装置1の制御部12が、送信パケット時間管理部24を備えていない一方、受信側通信装置2の制御部42が、データ時間管理部55を備えている構成としてもよいし、その逆の場合であっても構わない。   In the present embodiment, the control unit 12 of the transmission side communication device 1 does not include the transmission packet time management unit 24, and the control unit 42 of the reception side communication device 2 includes the data time management unit 55. Although the control unit 12 of the transmission side communication device 1 does not include the transmission packet time management unit 24, the control unit 42 of the reception side communication device 2 includes the data time management unit 55. The configuration may be the same, or vice versa.

(実施の形態3)
本発明のさらに他の実施形態について図面に基づいて説明すると以下の通りである。なお、前記した各実施の形態で説明した構成と同様の機能を有する構成には、同一の符号を付記し、その説明を省略する。
(Embodiment 3)
Still another embodiment of the present invention will be described below with reference to the drawings. In addition, the same code | symbol is attached | subjected to the structure which has the function similar to the structure demonstrated in each above-mentioned embodiment, and the description is abbreviate | omitted.

本実施形態に係る通信ネットワークシステムは、実施の形態1において図3を参照しながら説明した構成と同様である。   The communication network system according to the present embodiment has the same configuration as that described with reference to FIG. 3 in the first embodiment.

(伝送パケットの構成)
図9は、本実施形態で用いられる伝送パケットのパケットフォーマットを示している。同図に示すように、伝送パケットは、先頭側から順に、ヘッダ、有効期限情報、暗号化情報、T1、MPEGパケット1、T2、MPEGパケット2、…、Tn、MPEGパケットnが配置された構成となっている。暗号化情報は、図16を参照しながら説明した暗号化情報、すなわち、DTCP Supplement Eで規定される暗号化情報のフィールドに相当するものである。そして、MPEGパケット1〜MPEGパケットnの領域が、暗号化情報で示される暗号化方式で暗号化されている一方、各MPEGパケットに対応するT1〜Tnの領域は、暗号化されていない構成となっている。伝送パケットに含まれるその他の情報については、実施の形態1において、図4を参照しながら説明したものと同様であるので、ここではその説明を省略する。本実施形態では、上記のように、伝送パケットにおいて、各MPEGパケットに対応する時間情報の部分を暗号化せずにMPEGパケットの部分の暗号化を行うことにより、送信側通信装置1と受信側通信装置2との間で、時間情報による基準時間の補正を行うようになっている。
(Configuration of transmission packet)
FIG. 9 shows a packet format of a transmission packet used in this embodiment. As shown in the figure, the transmission packet has a configuration in which a header, expiration date information, encryption information, T1, MPEG packet 1, T2, MPEG packet 2,..., Tn, MPEG packet n are arranged in order from the head. It has become. The encryption information corresponds to the encryption information described with reference to FIG. 16, that is, the encryption information field defined in DTCP Supplement E. The areas of MPEG packet 1 to MPEG packet n are encrypted by the encryption method indicated by the encryption information, while the areas of T1 to Tn corresponding to each MPEG packet are not encrypted. It has become. Other information included in the transmission packet is the same as that described with reference to FIG. 4 in the first embodiment, and a description thereof is omitted here. In the present embodiment, as described above, the transmission side communication apparatus 1 and the reception side are encrypted by encrypting the MPEG packet portion without encrypting the time information portion corresponding to each MPEG packet in the transmission packet. The reference time is corrected with the communication device 2 based on time information.

(送信側通信装置の構成)
次に、本実施形態に係る送信側通信装置1の構成について、図10を参照しながら以下に説明する。同図に示すように、本実施形態に係る送信側通信装置1は、実施の形態1で示した構成において、制御部12が、さらに暗号化部(暗号化手段)26および時間情報挿入部27を備えている構成となっている。その他の構成については、前記した実施の形態1で示した構成と同様であるので、その説明を省略する。
(Configuration of transmitting communication device)
Next, the configuration of the transmission side communication apparatus 1 according to the present embodiment will be described below with reference to FIG. As shown in the figure, in the communication apparatus 1 on the transmission side according to the present embodiment, the control unit 12 further includes an encryption unit (encryption unit) 26 and a time information insertion unit 27 in the configuration shown in the first embodiment. It is the composition equipped with. Other configurations are the same as those described in the first embodiment, and thus the description thereof is omitted.

暗号化部26は、データ記憶部31から所定数のMPEGパケットのデータ(MPEGパケット1〜MPEGパケットn)を読み出し、これらをまとめた状態で所定の方式で暗号化処理を行う。すなわち、MPEGパケット1〜MPEGパケットnは、暗号化部26によって暗号化されることによって、1つの暗号化データに変換されることになる。   The encryption unit 26 reads data of a predetermined number of MPEG packets (MPEG packet 1 to MPEG packet n) from the data storage unit 31, and performs encryption processing by a predetermined method in a state where these are collected. That is, the MPEG packet 1 to the MPEG packet n are converted by the encryption unit 26 into one encrypted data.

時間情報挿入部27は、暗号化部26によって暗号化された暗号化データを、該暗号化データに含まれる所定の長さに区切り、時間情報記憶部32に入力時間(T1〜Tn)、すなわち時間情報のデータを挿入する処理を行う。つまり、時間情報挿入部27は、暗号化データを、該暗号化データに含まれるMPEGパケットの個数分に分割し、各分割データの前側に時間情報のデータを挿入する処理を行うことになる。1つのMPEGパケットの長さは188Byteであるので、時間情報挿入部27は、暗号化データに対して188Byteごとに時間情報を挿入することになる。時間情報が挿入された暗号化データが送信パケット構成部23に入力され、送信パケット構成部23は、これに基づいて図9に示す伝送パケットを構成する。   The time information insertion unit 27 divides the encrypted data encrypted by the encryption unit 26 into a predetermined length included in the encrypted data, and inputs the input time (T1 to Tn) into the time information storage unit 32, that is, Performs processing to insert time information data. That is, the time information insertion unit 27 performs a process of dividing the encrypted data into the number of MPEG packets included in the encrypted data, and inserting the time information data in front of each divided data. Since the length of one MPEG packet is 188 bytes, the time information insertion unit 27 inserts time information for each 188 bytes in the encrypted data. The encrypted data into which the time information is inserted is input to the transmission packet configuration unit 23, and the transmission packet configuration unit 23 configures the transmission packet shown in FIG. 9 based on this.

(受信側通信装置の構成)
次に、本実施形態に係る受信側通信装置2の構成について、図11を参照しながら以下に説明する。同図に示すように、本実施形態に係る受信側通信装置2は、実施の形態1で示した構成において、制御部42が、さらに時間補正部57、および復号部58を備えている構成となっている。その他の構成については、前記した実施の形態1で示した構成と同様であるので、その説明を省略する。
(Configuration of receiving side communication device)
Next, the configuration of the receiving communication device 2 according to the present embodiment will be described below with reference to FIG. As shown in the figure, the receiving side communication apparatus 2 according to the present embodiment has a configuration in which the control unit 42 further includes a time correction unit 57 and a decoding unit 58 in the configuration shown in the first embodiment. It has become. Other configurations are the same as those described in the first embodiment, and thus the description thereof is omitted.

時間補正部57は、受信パケット処理部51においてヘッダのチェックや有効期限のチェックが行われた伝送パケットに含まれる時間情報に基づいて、データ時間管理部55が有する時計機能の補正を行う。この時間補正部57は、時計機能の補正処理を行った後に、該当伝送パケットを受信パケット記憶部61に格納する。   The time correction unit 57 corrects the clock function of the data time management unit 55 based on the time information included in the transmission packet for which the reception packet processing unit 51 has checked the header and the expiration date. The time correction unit 57 stores the transmission packet in the reception packet storage unit 61 after performing the correction process of the clock function.

復号部58は、映像データ処理部53によって抽出されたMPEGパケットの暗号化データを受け取り、復号化処理を施して複数のMPEGパケットに戻す処理を行う。この復号部58によって復号化された複数のMPEGパケットは、データ記憶部62に格納される。   The decryption unit 58 receives the encrypted data of the MPEG packet extracted by the video data processing unit 53, performs a decryption process, and returns to a plurality of MPEG packets. The plurality of MPEG packets decoded by the decoding unit 58 are stored in the data storage unit 62.

(送信側通信装置における処理の流れ)
次に、図12に示すフローチャートを参照しながら、本実施形態に係る送信側通信装置1における処理の流れについて説明する。
(Processing flow in the sending communication device)
Next, the flow of processing in the transmission-side communication apparatus 1 according to the present embodiment will be described with reference to the flowchart shown in FIG.

まずS21において、データ記憶処理部21は、データ入力部11に対して映像データとしてのMPEGパケットが入力されたか否かを判断する。S21においてNO、すなわち、MPEGパケットが入力されていないと判定された場合には、S21の処理が繰り返される。つまり、S21はMPEGパケットの入力の待機処理に相当する。S21においてYES、すなわちMPEGパケットが入力されたと判定された場合、処理はS22へ移行する。   First, in S 21, the data storage processing unit 21 determines whether or not an MPEG packet as video data has been input to the data input unit 11. If NO in S21, that is, if it is determined that no MPEG packet has been input, the process of S21 is repeated. That is, S21 corresponds to an input standby process for MPEG packets. If YES in S21, that is, if it is determined that an MPEG packet has been input, the process proceeds to S22.

S22において、データ記憶処理部21は、データ入力部11に入力されたMPEGパケットをデータ記憶部31に書き込む。同時に、データ時間管理部22はMPEGパケットが入力された時間情報を取得し、これを時間情報記憶部32に書き込む。   In S 22, the data storage processing unit 21 writes the MPEG packet input to the data input unit 11 into the data storage unit 31. At the same time, the data time management unit 22 acquires time information when the MPEG packet is input, and writes it in the time information storage unit 32.

次に、S23において、暗号化部26が、データ記憶処理部21によって所定の数のMPEGパケットがデータ記憶部31に書き込まれたか否かを判断する。S3においてNO、すなわち、データ記憶部31に書き込まれたMPEGパケットの数が所定の数に満たない場合には、S21からの処理に戻る。一方、S23においてYES、すなわち、データ記憶部31に書き込まれたMPEGパケットの数が所定の数以上となった場合には、処理はS24へ移行する。   Next, in S <b> 23, the encryption unit 26 determines whether a predetermined number of MPEG packets have been written in the data storage unit 31 by the data storage processing unit 21. If NO in S3, that is, if the number of MPEG packets written in the data storage unit 31 is less than the predetermined number, the process returns to S21. On the other hand, if YES in S23, that is, if the number of MPEG packets written in the data storage unit 31 exceeds a predetermined number, the process proceeds to S24.

S24では、暗号化部26が、所定の数のMPEGパケットをデータ記憶部31から読み出し、これらをまとめた状態で暗号化処理を行う。これにより、複数のMPEGパケットのデータを含む1つの暗号化データが生成される。   In S24, the encryption unit 26 reads a predetermined number of MPEG packets from the data storage unit 31, and performs encryption processing in a state in which these packets are collected. Thereby, one encrypted data including data of a plurality of MPEG packets is generated.

次にS25において、時間情報挿入部27が、暗号化部26によって生成された暗号化データを、該暗号化データに含まれるMPEGパケットの個数分に分割し、各分割データの前側に時間情報のデータを挿入する処理を行う。この時間情報は、時間情報記憶部32から読み出されることになる。また、挿入される時間情報は、該暗号化データに含まれる各MPEGパケットに対応したものである。   Next, in S25, the time information insertion unit 27 divides the encrypted data generated by the encryption unit 26 into the number of MPEG packets included in the encrypted data, and the time information is inserted in front of each divided data. Perform processing to insert data. This time information is read from the time information storage unit 32. The inserted time information corresponds to each MPEG packet included in the encrypted data.

次にS26において、送信パケット構成部23は、まず、時間情報挿入部27から時間情報が挿入された暗号化データを受け取る。そして、送信パケット構成部23は、送信パケット時間管理部24から取得した時間情報を有効期限とみなして、図9で示されるパケットフォーマットに基づき、伝送パケットを生成する。そして、送信パケット構成部23は、生成した伝送パケットを送信パケット記憶部33に書き込む(S27)。   Next, in S <b> 26, the transmission packet configuration unit 23 first receives encrypted data in which time information is inserted from the time information insertion unit 27. And the transmission packet structure part 23 considers the time information acquired from the transmission packet time management part 24 as an expiration date, and produces | generates a transmission packet based on the packet format shown in FIG. Then, the transmission packet configuration unit 23 writes the generated transmission packet in the transmission packet storage unit 33 (S27).

次に、S28において、送信制御部25は、伝送パケットを送信する送信時間に達するまで待機させる。そして、送信時間に達すると、S29において、送信制御部25は、送信パケット記憶部33から伝送パケットを読み出し、通信I/F13から受信側通信装置2に対して送信させる。   Next, in S28, the transmission control unit 25 waits until the transmission time for transmitting the transmission packet is reached. When the transmission time is reached, in S29, the transmission control unit 25 reads the transmission packet from the transmission packet storage unit 33 and causes the communication I / F 13 to transmit the transmission packet.

(受信側通信装置における処理の流れ)
次に、図13に示すフローチャートを参照しながら、本実施形態に係る受信側通信装置2における処理の流れについて説明する。
(Processing flow in the receiving communication device)
Next, the flow of processing in the receiving communication device 2 according to the present embodiment will be described with reference to the flowchart shown in FIG.

まず、S31において、受信パケット処理部51は、通信I/F41において伝送パケットが受信されたか否かを判断する。S31においてNO、すなわち、伝送パケットが受信されていないと判定された場合には、S31の処理が繰り返される。つまり、S31は伝送パケットの受信の待機処理に相当する。S31においてYES、すなわち伝送パケットが受信されたと判定された場合、処理はS32に移行する。   First, in S31, the reception packet processing unit 51 determines whether or not a transmission packet is received in the communication I / F 41. If NO in S31, that is, if it is determined that a transmission packet has not been received, the process of S31 is repeated. That is, S31 corresponds to standby processing for receiving a transmission packet. If YES in S31, that is, if it is determined that a transmission packet has been received, the process proceeds to S32.

S32において、受信パケット処理部51は、まず、受信した伝送パケットに含まれる有効期限情報を抽出する。そして、受信パケット処理部51は、この有効期限に所定の時間αを足し合わせた補正有効期限の時間と、受信パケット時間管理部52から得られる時間とを比較し、有効期限が過ぎていないかを判定する。S32においてNO、すなわち、補正有効期限が既に過ぎていると判定された場合には、受信パケット処理部51は、該当伝送パケット全体を破棄する(S33)。つまり、該当伝送パケットは、受信パケット記憶部61に書き込まれない。   In S32, the received packet processing unit 51 first extracts expiration date information included in the received transmission packet. Then, the received packet processing unit 51 compares the corrected expiration time obtained by adding the predetermined time α to the expiration date and the time obtained from the received packet time management unit 52, and whether the expiration date has passed. Determine. If NO in S32, that is, if it is determined that the correction expiration date has already passed, the received packet processing unit 51 discards the entire transmission packet (S33). That is, the corresponding transmission packet is not written in the received packet storage unit 61.

一方、S32においてYES、すなわち、有効期限はまだ過ぎていないと判定された場合、受信した伝送パケットが時間補正部57に送られる。そしてS34において、時間補正部57は、伝送パケットに含まれる時間情報を抽出し、S35において、この時間情報に基づいてデータ時間管理部55が有する時計機能の補正を行う。時間情報は暗号化されていないため、時間補正部57は復号化処理をすることなく時間の補正を行うことができる。   On the other hand, if YES in S32, that is, if it is determined that the expiration date has not yet passed, the received transmission packet is sent to the time correction unit 57. In S34, the time correction unit 57 extracts the time information included in the transmission packet, and in S35, corrects the clock function of the data time management unit 55 based on the time information. Since the time information is not encrypted, the time correction unit 57 can correct the time without performing the decryption process.

ここで、時間補正部57は、基本的には該伝送パケットに含まれる複数の時間情報のうち、最も古い時間を示す時間情報(上記の例ではT1)に基づいて補正を行うことが好ましい。これは、送信側通信装置1において、例えばT2以降の時間は、実際のMPEGパケット生成時間のタイミングとは若干ずれた時間間隔で、MPEGパケットが入力されることが考えられるからである。なお、T1の値は伝送路における遅延時間のずれが生じていることになるが、このずれはどのMPEGパケットにおいてもほぼ一定の値になる。従って、送信側と受信側とでは時間にずれが生じることになるが、一定のずれなので、MPEGパケットの出力ジッタにはほとんど影響しないことになる。また、このずれは許容するMPEGパケットの出力ジッタと比べ非常に小さい値になる。   Here, it is preferable that the time correction unit 57 basically performs correction based on time information (T1 in the above example) indicating the oldest time among a plurality of pieces of time information included in the transmission packet. This is because, for example, in the transmission side communication apparatus 1, it is considered that MPEG packets are input at a time interval slightly deviated from the timing of the actual MPEG packet generation time, for example, after T2. Note that although the value of T1 has a delay time shift in the transmission path, this shift is a substantially constant value in any MPEG packet. Therefore, a time lag occurs between the transmission side and the reception side, but since there is a constant lag, the output jitter of the MPEG packet is hardly affected. Also, this deviation is a very small value compared to the allowable output jitter of the MPEG packet.

その後、時間補正部57は、伝送パケットを受信パケット記憶部61に書き込む(S36)。   Thereafter, the time correction unit 57 writes the transmission packet in the received packet storage unit 61 (S36).

次に、S37において、映像データ処理部53は、受信パケット記憶部61に記憶されている伝送パケットを出力すべき時間になったか否かを判定する。ここで、伝送パケットを出力すべき時間とは、該伝送パケットに含まれる有効期限情報で示される有効期限に所定の値αを加えた時間となる補正有効期限に相当するものである。S37において出力すべき時間まで待機した後、出力すべき時間となると、映像データ処理部53は受信パケット記憶部61に記憶されている伝送パケットを読み出し、処理はS38へ移行する。   Next, in S37, the video data processing unit 53 determines whether or not it is time to output the transmission packet stored in the received packet storage unit 61. Here, the time when the transmission packet should be output corresponds to a correction expiration date that is a time obtained by adding a predetermined value α to the expiration date indicated by the expiration date information included in the transmission packet. After waiting until the time to be output in S37, when it is time to output, the video data processing unit 53 reads the transmission packet stored in the received packet storage unit 61, and the process proceeds to S38.

S38では、復号部58が、映像データ処理部53から暗号化データを受け取り、復号化処理を施して複数のMPEGパケットに戻す処理を行う。そしてS39において、復号部58によって、復号化された複数のMPEGパケットがデータ記憶部62に格納されるとともに、映像データ処理部53によって、伝送パケットから抽出された時間情報が時間情報記憶部63に格納される。   In S38, the decryption unit 58 receives the encrypted data from the video data processing unit 53, performs a decryption process, and returns to a plurality of MPEG packets. In S39, the decoding unit 58 stores a plurality of decoded MPEG packets in the data storage unit 62, and the video data processing unit 53 stores the time information extracted from the transmission packet in the time information storage unit 63. Stored.

次に、S40において、時間調整部54は、時間情報記憶部63に書き込まれている各MPEGパケットに対応した時間情報に示される時間に、所定の時間βを足し合わせた送出時間を算出する。そして、時間調整部54は、データ時間管理部55から得られる時間が送出時間となるまで、該当MPEGパケットの送出を待機させる。送出時間に達すると、S41において、出力制御部56は時間調整部54によるタイミング調整に基づいて、データ記憶部62から対応するMPEGパケットを読み出し、データ出力部43から該当MPEGパケットを受信装置4に向けて出力する。なお、上記の時間βについての説明、および、送信側通信装置1において、データ時間管理部22が各MPEGパケットに対応した時間情報を設定するときに、時間βを足し合わせた送出時間を時間情報として設定する構成としてもよいことについては、実施の形態1で示したとおりである。   Next, in S40, the time adjustment unit 54 calculates a transmission time obtained by adding a predetermined time β to the time indicated by the time information corresponding to each MPEG packet written in the time information storage unit 63. Then, the time adjustment unit 54 waits for transmission of the corresponding MPEG packet until the time obtained from the data time management unit 55 reaches the transmission time. When the transmission time is reached, in S41, the output control unit 56 reads the corresponding MPEG packet from the data storage unit 62 based on the timing adjustment by the time adjustment unit 54, and sends the corresponding MPEG packet from the data output unit 43 to the receiving device 4. Output toward. It is to be noted that the description of the above time β and the transmission time obtained by adding the time β when the data time management unit 22 sets time information corresponding to each MPEG packet in the transmission side communication device 1 are time information. The configuration that can be set as is as described in the first embodiment.

以上のように、本実施形態によれば、映像データの時間情報を用いて、送信側通信装置1と受信側通信装置2との間における時間のずれ補正処理が、映像データが暗号化されていたとしても行うことができる。   As described above, according to the present embodiment, the time lag correction process between the transmission-side communication device 1 and the reception-side communication device 2 is performed using the time information of the video data, and the video data is encrypted. It can be done.

なお、上記の制御部12および制御部42が備える各機能ブロックは、例えばLSIによって構成されてもよいし、ソフトウェア的に構成されてもよい。ソフトウェア的に構成される場合、CPUなどの演算手段が、ROM(Read Only Memory)やRAMなどの記憶手段に記憶されたプログラムを実行し、インターフェース回路などの通信手段を制御することにより実現することができる。したがって、これらの手段を有するコンピュータが、上記プログラムを記録した記録媒体を読み取り、当該プログラムを実行するだけで、本実施形態の制御部12および制御部42の各種機能および各種処理を実現することができる。また、上記プログラムをリムーバブルな記録媒体に記録することにより、任意のコンピュータ上で上記の各種機能および各種処理を実現することができる。   Each functional block provided in the control unit 12 and the control unit 42 may be configured by, for example, an LSI or may be configured by software. When configured in a software manner, it is realized by an arithmetic unit such as a CPU executing a program stored in a storage unit such as a ROM (Read Only Memory) or a RAM and controlling a communication unit such as an interface circuit. Can do. Therefore, the computer having these means can realize various functions and various processes of the control unit 12 and the control unit 42 of the present embodiment only by reading the recording medium storing the program and executing the program. it can. In addition, by recording the program on a removable recording medium, the various functions and various processes described above can be realized on an arbitrary computer.

この記録媒体としては、マイクロコンピュータで処理を行うために図示しないメモリ、例えばROMのようなものがプログラムメディアであっても良いし、また、図示していないが外部記憶装置としてプログラム読取り装置が設けられ、そこに記録媒体を挿入することにより読取り可能なプログラムメディアであっても良い。   As the recording medium, a memory (not shown) such as a ROM may be used as a program medium for processing by the microcomputer, and a program reader is provided as an external storage device (not shown). It may be a program medium that can be read by inserting a recording medium therein.

また、何れの場合でも、格納されているプログラムは、マイクロプロセッサがアクセスして実行される構成であることが好ましい。さらに、プログラムを読み出し、読み出されたプログラムは、マイクロコンピュータのプログラム記憶エリアにダウンロードされて、そのプログラムが実行される方式であることが好ましい。なお、このダウンロード用のプログラムは予め本体装置に格納されているものとする。   In any case, the stored program is preferably configured to be accessed and executed by the microprocessor. Furthermore, it is preferable that the program is read out, and the read program is downloaded to the program storage area of the microcomputer and the program is executed. It is assumed that the download program is stored in the main device in advance.

また、インターネットを含む通信ネットワークを接続可能なシステム構成であれば、通信ネットワークからプログラムをダウンロードするように流動的にプログラムを担持する記録媒体であることが好ましい。   In addition, if the system configuration is capable of connecting to a communication network including the Internet, the recording medium is preferably a recording medium that fluidly carries the program so as to download the program from the communication network.

さらに、このように通信ネットワークからプログラムをダウンロードする場合には、そのダウンロード用のプログラムは予め本体装置に格納しておくか、あるいは別な記録媒体からインストールされるものであることが好ましい。   Further, when the program is downloaded from the communication network as described above, it is preferable that the download program is stored in the main device in advance or installed from another recording medium.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope shown in the claims, and embodiments obtained by appropriately combining technical means disclosed in different embodiments. Is also included in the technical scope of the present invention.

本発明に係る通信装置は、例えば、動画データなどのストリームデータや、その他のデータを外部の装置に対して送信することが可能な送信装置に用いられる通信装置に適用することが可能である。具体的には、送信装置としては、例えばDVDプレイヤー、DVDレコーダ、HDDレコーダなどのデジタル符号として記録された動画の再生機能を持つ装置や、BS/CSチューナーなどの放送受信装置などが挙げられる。   The communication apparatus according to the present invention can be applied to, for example, a communication apparatus used for a transmission apparatus capable of transmitting stream data such as moving image data and other data to an external apparatus. Specifically, examples of the transmitting device include a device having a function of reproducing a moving image recorded as a digital code such as a DVD player, a DVD recorder, and an HDD recorder, and a broadcast receiving device such as a BS / CS tuner.

また、本発明に係る通信装置は、例えば、受信したストリームデータやその他のデータに基づいて処理を行う受信装置に用いられる通信装置に適用することが可能である。具体的には、受信装置としては、例えば受信したストリームデータとしての動画データを表示する表示装置などが挙げられる。   The communication apparatus according to the present invention can be applied to a communication apparatus used for a reception apparatus that performs processing based on received stream data and other data, for example. Specifically, examples of the receiving device include a display device that displays moving image data as received stream data.

本発明の一実施形態に係る送信側通信装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the transmission side communication apparatus which concerns on one Embodiment of this invention. 本発明の一実施形態に係る受信側通信装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the receiving side communication apparatus which concerns on one Embodiment of this invention. 本発明の一実施形態に係る通信ネットワークシステムの概略構成を示すブロック図である。1 is a block diagram showing a schematic configuration of a communication network system according to an embodiment of the present invention. 本発明の一実施形態において用いられる伝送パケットのパケットフォーマットを示す図である。It is a figure which shows the packet format of the transmission packet used in one Embodiment of this invention. 上記送信側通信装置における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process in the said transmission side communication apparatus. 上記受信側通信装置における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process in the said receiving side communication apparatus. 本発明の他の実施形態に係る送信側通信装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the transmission side communication apparatus which concerns on other embodiment of this invention. 本発明の他の実施形態に係る受信側通信装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the receiving side communication apparatus which concerns on other embodiment of this invention. 本発明のさらに他の実施形態において用いられる伝送パケットのパケットフォーマットを示す図である。It is a figure which shows the packet format of the transmission packet used in other embodiment of this invention. 本発明のさらに他の実施形態に係る送信側通信装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the transmission side communication apparatus which concerns on further another embodiment of this invention. 本発明のさらに他の実施形態に係る受信側通信装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the receiving side communication apparatus which concerns on further another embodiment of this invention. 上記送信側通信装置における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process in the said transmission side communication apparatus. 上記受信側通信装置における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process in the said receiving side communication apparatus. 同図(a)は、従来の送信装置側でのパケット生成の時間推移を示す図であり、同図(b)は、生成される伝送パケットを示す図である。FIG. 4A is a diagram showing a time transition of packet generation on the conventional transmitting apparatus side, and FIG. 4B is a diagram showing a generated transmission packet. 同図(a)は、従来の受信装置が受信した伝送パケットを示す図であり、同図(b)は、受信装置側でのパケット再生の時間推移を示す図である。FIG. 4A is a diagram showing a transmission packet received by a conventional receiving device, and FIG. 4B is a diagram showing a time transition of packet reproduction on the receiving device side. DTCP Supplement Eによって暗号化されたパケットのパケットフォーマットを示す図である。It is a figure which shows the packet format of the packet encrypted by DTCP Supplement E.

符号の説明Explanation of symbols

1 送信側通信装置(通信装置)
2 受信側通信装置(通信装置)
3 送信装置
4 受信装置
11 データ入力部
12 制御部
14 記憶部
21 データ記憶処理部
22 データ時間管理部(時間管理手段)
23 送信パケット構成部(期限設定手段、パケット構成手段)
24 送信パケット時間管理部(有効期限管理手段)
25 送信制御部
26 暗号化部(暗号化手段)
27 時間情報挿入部
31 データ記憶部
32 時間情報記憶部
33 送信パケット記憶部
42 制御部
43 データ出力部
44 記憶部
51 受信パケット処理部(受信パケット処理手段)
52 受信パケット時間管理部(パケット時間管理手段)
53 映像データ処理部
54 時間調整部(データブロック処理手段)
55 データ時間管理部(データ時間管理手段)
56 出力制御部(データブロック処理手段)
57 時間補正部
58 復号部
61 受信パケット記憶部
62 データ記憶部
63 時間情報記憶部
1 Transmission side communication device (communication device)
2 Receiving side communication device (communication device)
DESCRIPTION OF SYMBOLS 3 Transmission apparatus 4 Reception apparatus 11 Data input part 12 Control part 14 Storage part 21 Data storage process part 22 Data time management part (Time management means)
23 Transmission packet configuration unit (time limit setting means, packet configuration means)
24 Transmission packet time management unit (expiration date management means)
25 Transmission Control Unit 26 Encryption Unit (Encryption Unit)
27 Time information insertion unit 31 Data storage unit 32 Time information storage unit 33 Transmission packet storage unit 42 Control unit 43 Data output unit 44 Storage unit 51 Received packet processing unit (received packet processing means)
52 Received packet time management unit (packet time management means)
53 Video data processing unit 54 Time adjustment unit (data block processing means)
55 Data time management section (data time management means)
56 Output control unit (data block processing means)
57 Time correction unit 58 Decoding unit 61 Received packet storage unit 62 Data storage unit 63 Time information storage unit

Claims (13)

通信路を介して接続される通信装置に対して、複数のデータブロックを含む伝送パケットを送信する通信装置であって、
上記データブロックのそれぞれに関連する時間情報を生成する時間管理手段と、
上記伝送パケットの有効期限に関する有効期限情報を生成する期限設定手段と、
上記データブロック、上記時間情報、および上記有効期限情報を含む上記伝送パケットを生成するパケット構成手段とを備えていることを特徴とする通信装置。
A communication device that transmits a transmission packet including a plurality of data blocks to a communication device connected via a communication path,
Time management means for generating time information associated with each of the data blocks;
Time limit setting means for generating time limit information relating to the time limit of the transmission packet;
A communication apparatus comprising: a packet composing unit that generates the transmission packet including the data block, the time information, and the expiration date information.
上記データブロックが、ストリームデータを構成するデータブロックであり、上記時間管理手段が、上記時間情報を、上記ストリームデータから該当データブロックが生成された時間に関する情報として生成することを特徴とする請求項1記載の通信装置。   The said data block is a data block which comprises stream data, The said time management means produces | generates the said time information as information regarding the time when the applicable data block was produced | generated from the said stream data. The communication apparatus according to 1. 上記パケット構成手段が、上記有効期限情報を、上記伝送パケットの所定位置に配した状態で該伝送パケットを生成することを特徴とする請求項1記載の通信装置。   The communication apparatus according to claim 1, wherein the packet composing means generates the transmission packet in a state where the expiration date information is arranged at a predetermined position of the transmission packet. 上記時間管理手段が、上記時間情報を生成する際に用いる時計機能を有しているとともに、
上記期限設定手段が上記有効期限情報を生成する際に用いる時計機能を有する有効期限管理手段がさらに設けられていることを特徴とする請求項1記載の通信装置。
The time management means has a clock function used when generating the time information,
2. The communication apparatus according to claim 1, further comprising an expiration date management unit having a clock function used when the expiration date setting unit generates the expiration date information.
上記時間管理手段が、上記時間情報を生成する際に用いる時計機能を有しているとともに、
上記期限設定手段が、上記有効期限情報を生成する際に、上記時間管理手段が有する時計機能を用いることを特徴とする請求項1記載の通信装置。
The time management means has a clock function used when generating the time information,
2. The communication apparatus according to claim 1, wherein the time limit setting unit uses a clock function of the time management unit when generating the expiration date information.
上記データブロックに対して暗号化処理を行う暗号化手段をさらに備え、
上記パケット構成手段が、上記暗号化手段によって暗号化処理されたデータブロック、および、暗号化処理がされていない上記時間情報並びに有効期限情報を含む上記伝送パケットを生成することを特徴とする請求項1記載の通信装置。
An encryption unit for performing encryption processing on the data block;
The packet construction unit generates the transmission packet including the data block encrypted by the encryption unit, and the time information and expiration date information not encrypted. The communication apparatus according to 1.
請求項1ないし6のいずれか一項に記載の通信装置から通信路を介して複数のデータブロックを含む伝送パケットを受信する通信装置であって、
受信した伝送パケットに含まれる有効期限情報に基づいて、該伝送パケットを破棄するか否かを判定する受信パケット処理手段を備えていることを特徴とする通信装置。
A communication device that receives a transmission packet including a plurality of data blocks from a communication device according to any one of claims 1 to 6 via a communication path,
A communication apparatus comprising: a received packet processing unit that determines whether to discard the transmission packet based on expiration date information included in the received transmission packet.
受信した伝送パケットに含まれる上記時間情報に基づいて、該伝送ブロックに含まれる上記データブロックに対する処理を行うデータブロック処理手段と、
上記受信パケット処理手段が上記有効期限情報の判定を行う際に用いる時計機能を有するパケット時間管理手段と、
上記データブロック処理手段が上記データブロックに対する処理を行う際に用いる時計機能を有するデータ時間管理手段とをさらに備えていることを特徴とする請求項7記載の通信装置。
Data block processing means for performing processing on the data block included in the transmission block based on the time information included in the received transmission packet;
A packet time management unit having a clock function used when the received packet processing unit determines the expiration date information;
8. The communication apparatus according to claim 7, further comprising data time management means having a clock function used when the data block processing means performs processing on the data block.
受信した伝送パケットに含まれる上記時間情報に基づいて、該伝送ブロックに含まれる上記データブロックに対する処理を行うデータブロック処理手段と、
上記受信パケット処理手段が上記有効期限情報の判定を行う際に用いる時計機能を有するパケット時間管理手段とをさらに備え、
上記データブロック処理手段が上記データブロックに対する処理を行う際に、上記パケット時間管理手段の時計機能を用いることを特徴とする請求項7記載の通信装置。
Data block processing means for performing processing on the data block included in the transmission block based on the time information included in the received transmission packet;
A packet time management means having a clock function used when the received packet processing means determines the expiration date information;
8. The communication apparatus according to claim 7, wherein the clock function of the packet time management means is used when the data block processing means performs processing on the data block.
受信した伝送パケットに含まれる上記時間情報に基づいて、上記データ時間管理手段が有する時計機能の補正を行う時間補正手段をさらに備えていることを特徴とする請求項8記載の通信装置。   9. The communication apparatus according to claim 8, further comprising time correction means for correcting a clock function of the data time management means based on the time information included in the received transmission packet. 請求項1ないし6のいずれか一項に記載の通信装置と、該通信装置と通信路を介して接続された請求項7ないし10のいずれか一項に記載の通信装置とを備えていることを特徴とする通信ネットワークシステム。   A communication device according to any one of claims 1 to 6, and a communication device according to any one of claims 7 to 10 connected to the communication device via a communication path. A communication network system characterized by the above. 通信路を介して接続される通信装置に対して、複数のデータブロックを含む伝送パケットを送信する通信装置における通信方法であって、
上記データブロックのそれぞれに関連する時間情報を生成するステップと、
上記伝送パケットの有効期限に関する有効期限情報を生成するステップと、
上記データブロック、上記時間情報、および上記有効期限情報を含む上記伝送パケットを生成するステップとを有していることを特徴とする通信方法。
A communication method in a communication apparatus for transmitting a transmission packet including a plurality of data blocks to a communication apparatus connected via a communication path,
Generating time information associated with each of the data blocks;
Generating expiration date information regarding the expiration date of the transmission packet;
And generating the transmission packet including the data block, the time information, and the expiration date information.
請求項12に記載の通信方法を実行する通信装置から通信路を介して複数のデータブロックを含む伝送パケットを受信する通信装置における通信方法であって、
受信した伝送パケットに含まれる有効期限情報に基づいて、該伝送パケットを破棄するか否かを判定するステップを有していることを特徴とする通信方法。
A communication method in a communication device that receives a transmission packet including a plurality of data blocks from a communication device that executes the communication method according to claim 12 via a communication path,
A communication method comprising a step of determining whether to discard a transmission packet based on expiration date information included in the received transmission packet.
JP2004194585A 2004-06-30 2004-06-30 Communication device, communication network system, and communication method Withdrawn JP2006019954A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004194585A JP2006019954A (en) 2004-06-30 2004-06-30 Communication device, communication network system, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004194585A JP2006019954A (en) 2004-06-30 2004-06-30 Communication device, communication network system, and communication method

Publications (1)

Publication Number Publication Date
JP2006019954A true JP2006019954A (en) 2006-01-19

Family

ID=35793799

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004194585A Withdrawn JP2006019954A (en) 2004-06-30 2004-06-30 Communication device, communication network system, and communication method

Country Status (1)

Country Link
JP (1) JP2006019954A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008042411A (en) * 2006-08-03 2008-02-21 Toyota Motor Corp Network system
JP2008199435A (en) * 2007-02-15 2008-08-28 Sony Corp Information processor, information processing method, and computer program
WO2009014222A1 (en) * 2007-07-26 2009-01-29 Media Global Links Co., Ltd. Retransmission parameter automatic calculation algorithm and its system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008042411A (en) * 2006-08-03 2008-02-21 Toyota Motor Corp Network system
JP2008199435A (en) * 2007-02-15 2008-08-28 Sony Corp Information processor, information processing method, and computer program
WO2009014222A1 (en) * 2007-07-26 2009-01-29 Media Global Links Co., Ltd. Retransmission parameter automatic calculation algorithm and its system

Similar Documents

Publication Publication Date Title
US6611534B1 (en) Stream data processing system and stream data limiting method
JP4490811B2 (en) Method for creating an MPEG program stream from an encrypted MPEG transport stream
JP4524656B2 (en) Information processing apparatus and method, and program
JP2010088121A (en) Apparatus for processing digital video data
JP2008252949A (en) Method of adaptively processing encryption program data
JP2006211602A (en) Data transmitter and program
JP2006174032A (en) Image data transmission system, image data receiver and image data transmitter
US20070286245A1 (en) Digital signal processing apparatus and data stream processing method
JP4314986B2 (en) Recording / reproducing apparatus and recording / reproducing method
JP4083678B2 (en) Redundant stream cipher information in the next packet of the encrypted frame
US8275169B2 (en) Communication system and control method thereof
JPH11306673A (en) Data recording device, data processing system using the same, and copy protecting method and recording medium
JP2006019954A (en) Communication device, communication network system, and communication method
US20060197880A1 (en) Signal processing device and stream processing method
JP3925298B2 (en) Time shift reproduction time control method and information reproduction apparatus
JP2000231758A (en) Data storage device, recording method of ciphered data and recording medium
JP6793364B2 (en) Content decoding device, content decoding method, receiving device and program
US20090210588A1 (en) Output Circuit, Control Program Product, and Control Method
WO2011024437A1 (en) Recording device and playback device
JPH11306092A (en) Data processor and copy protect system applied to the processor
JP5042524B2 (en) ENCRYPTION DEVICE, DECRYPTION DEVICE, CONTENT DATA GENERATION METHOD
JP3579022B2 (en) Encryption device and decryption device
JP3630406B2 (en) Packet processing apparatus, packet processing method and storage medium therefor
JP4636896B2 (en) STREAM DATA REPRODUCING DEVICE, STREAM DATA REPRODUCING PROGRAM, AND STREAM DATA REPRODUCING METHOD
TWI481254B (en) Method for processing and controlling access to hierarchically encoded content, processor and transmitter for this method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070904