JP2006332966A - Data transmission device - Google Patents

Data transmission device Download PDF

Info

Publication number
JP2006332966A
JP2006332966A JP2005152492A JP2005152492A JP2006332966A JP 2006332966 A JP2006332966 A JP 2006332966A JP 2005152492 A JP2005152492 A JP 2005152492A JP 2005152492 A JP2005152492 A JP 2005152492A JP 2006332966 A JP2006332966 A JP 2006332966A
Authority
JP
Japan
Prior art keywords
packet
data
data packets
network
recording
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
JP2005152492A
Other languages
Japanese (ja)
Inventor
Hideo Oi
秀朗 尾井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2005152492A priority Critical patent/JP2006332966A/en
Publication of JP2006332966A publication Critical patent/JP2006332966A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To realize the same bit rate as the time of receiving by simple processing, and at the same time, control a transmission packet rate to a desired mode by simple processing, when transmitting the data packets which are transmitted in a network according to a request, after they have been stored once. <P>SOLUTION: When receiving data packets transmitted via the network, a packet counter 42 removes data packets from a receiving buffer 41 counting the number of the data packets for every fixed period timing, records it to an accumulation device 22, and records the information of a data packet number in a packet count table 46. When transmitting the stored data packet to the network, a reader 44 reads out the necessary number of data packets from the accumulation device 22, according to setting information of a packet rate setting part 48 referring to the number information recorded in the counting table 46 for the fixed period timing, and a transmitter 47 transmits them to the network. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、エンコードされたデータパケットをネットワークを介して伝送するデータ伝送装置に関する。   The present invention relates to a data transmission device that transmits encoded data packets via a network.

例えば映像信号をネットワークを介して伝送するデータ伝送システムでは、送信側において、例えばカメラから出力されるアナログ映像信号をデジタルデータにエンコードし、このデジタルデータをネットワークに伝送可能なようにデータパケット化し、ネットワークに送信する。受信側では、伝送されたデータパケットを受信し、取り出したデジタルデータを、例えばモニタで表示可能なアナログ映像信号としてデコードする。   For example, in a data transmission system for transmitting a video signal via a network, on the transmission side, for example, an analog video signal output from a camera is encoded into digital data, and the digital data is converted into a data packet so that it can be transmitted to the network. Send to the network. On the receiving side, the transmitted data packet is received, and the extracted digital data is decoded as an analog video signal that can be displayed on a monitor, for example.

上記のようなデータ伝送システムにおいて用いられるデータ記録再生装置の例を示す。図8は従来のデータ記録再生装置の構成例を示すブロック図である。このデータ記録再生装置100は、ネットワークを介して接続される送信側のエンコーダと受信側のデコーダとの間に設けられるもので、エンコーダから送信されるデータパケットを記録し、この記録したデータパケットを、デコーダが受信可能なようにネットワークに送信する。データ記録再生装置100は、エンコーダから見るとデコーダのように見え、デコーダから見るとエンコーダのように見える。   An example of a data recording / reproducing apparatus used in the data transmission system as described above will be shown. FIG. 8 is a block diagram showing a configuration example of a conventional data recording / reproducing apparatus. The data recording / reproducing apparatus 100 is provided between a transmission-side encoder and a reception-side decoder connected via a network, records a data packet transmitted from the encoder, and records the recorded data packet. , Transmit to the network so that the decoder can receive. The data recording / reproducing apparatus 100 looks like a decoder when viewed from the encoder, and looks like an encoder when viewed from the decoder.

データ記録再生装置100は、ネットワークを介して受信した映像信号などのデータパケット及びこのデータパケットと共に受信したビットレートデータを一時的に格納する受信バッファ101と、受信バッファ101からデータパケットを読み出して蓄積装置111に記録する記録部102と、蓄積装置111からデータを読み出して送信バッファ104に記憶する読み出し部103と、送信バッファ104に記憶されたデータを順次読み出してデータパケットを出力するとともに、検出したビットレートデータも併せて出力するビットレート値検出部105と、ビットレートデータに基づいてデータパケットを送信する間隔を演算し、データパケットとビットレートデータとを出力する間隔演算設定部106と、間隔演算設定部106で求められた間隔でデータパケットを送信する送出部107とを備えている(例えば、特許文献1参照)。   The data recording / reproducing apparatus 100 temporarily stores a data packet such as a video signal received via a network and bit rate data received together with the data packet, and reads and stores the data packet from the reception buffer 101. A recording unit 102 for recording in the device 111, a reading unit 103 for reading out data from the storage device 111 and storing it in the transmission buffer 104, and sequentially reading out the data stored in the transmission buffer 104 to output a data packet and detecting it A bit rate value detection unit 105 that also outputs bit rate data, an interval calculation setting unit 106 that calculates an interval for transmitting a data packet based on the bit rate data, and outputs the data packet and the bit rate data; In the calculation setting unit 106 And a sending unit 107 for transmitting data packets in order was intervals (e.g., see Patent Document 1).

このとき、エンコーダは映像信号などのデータパケットを送信すると共に、データパケットの送信ビットレートデータも送信する。これにより、蓄積装置111に記録された映像信号のデータパケットを送信するときに、データパケットを受信したときに一緒に受信したビットレートデータを用いて、データパケットを送信する間隔を調整することができる。   At this time, the encoder transmits a data packet such as a video signal and also transmits transmission bit rate data of the data packet. As a result, when transmitting a data packet of a video signal recorded in the storage device 111, it is possible to adjust an interval for transmitting the data packet by using the bit rate data received together with the received data packet. it can.

図9は従来のデータ記録再生装置の再生時におけるパケット送出方法の具体例を示す図である。このデータ記録再生装置100では、パケット送出間隔を制御することによって、記録時(受信時)におけるビットレートを再生時(送出時)に再現することができる。このため、この送出したデータパケットを受信する受信側装置では、データパケットを正確にデコードすることができる。   FIG. 9 is a diagram showing a specific example of a packet transmission method during reproduction of a conventional data recording / reproducing apparatus. In this data recording / reproducing apparatus 100, the bit rate at the time of recording (at the time of reception) can be reproduced at the time of reproduction (at the time of transmission) by controlling the packet transmission interval. Therefore, the receiving side device that receives the transmitted data packet can accurately decode the data packet.

特開平8−191330号公報JP-A-8-191330

上記従来例のデータ記録再生装置では、蓄積したデータパケットを送信するときに、そのデータパケットの送信間隔を決定するためにビットレートデータが必要となるので、エンコーダにおいてビットレートデータを生成して送信する仕組みが必要となり、汎用性が低くなってしまう。また、データパケットの時間間隔を算出し、その時間間隔に合せて送出する必要があるため、処理が複雑になってしまう。また、データパケットの時間間隔をビットレートデータから算出するときに演算丸め誤差が発生する可能性があり、エンコーダからデータパケットを受信したときの時間軸とずれてしまうおそれがある。   In the conventional data recording / reproducing apparatus, when transmitting the accumulated data packet, the bit rate data is required to determine the transmission interval of the data packet. Therefore, the encoder generates the bit rate data and transmits it. A mechanism to do this is necessary, and versatility is reduced. Further, since it is necessary to calculate the time interval of the data packet and send it in accordance with the time interval, the processing becomes complicated. Further, when calculating the time interval of the data packet from the bit rate data, there is a possibility that an arithmetic rounding error may occur, and there is a possibility that it is shifted from the time axis when the data packet is received from the encoder.

さらに、データパケットの送信パケットレートを制御しようとした場合、ビットレートデータから制御目標の送信パケットレートを算出し、その時間間隔に合わせてデータパケットを送出する必要があるため、さらに処理が複雑になる。   Furthermore, when trying to control the transmission packet rate of the data packet, it is necessary to calculate the transmission packet rate of the control target from the bit rate data and send the data packet in accordance with the time interval. Become.

本発明は、上記事情に鑑みてなされたもので、ネットワークに伝送されているデータパケットを受信して蓄積した後に、要求に応じてデータパケットを送信する際に、簡易な処理によって受信したときと同じビットレートを再現できるとともに、送信パケットレートを簡易な処理で所望の態様に制御することが可能なデータ伝送装置を提供することを目的とする。   The present invention has been made in view of the above circumstances, and when receiving and accumulating data packets transmitted to the network and then transmitting them in response to a request, when received by simple processing; It is an object of the present invention to provide a data transmission apparatus that can reproduce the same bit rate and can control the transmission packet rate in a desired manner by simple processing.

本発明のデータ伝送装置は、ネットワークを介して受信したデータパケットを一時的に格納する受信バッファと、一定周期タイミングのタイミング信号を生成するタイミング生成手段と、前記データパケットの個数情報を格納するパケット個数情報格納手段と、前記データパケットを蓄積する蓄積手段と、前記蓄積手段に前記データパケットを記録する記録手段と、前記一定周期タイミング毎に前記受信バッファから前記データパケットを読み取って前記記録手段へ出力するとともに、この一定周期タイミング内に受信した前記データパケットの個数をカウントしてデータパケットの個数情報を前記パケット個数情報格納手段に出力するパケットカウント手段と、前記一定周期タイミング毎に前記パケット個数情報格納手段からデータパケットの個数情報を読み取り、この読み取った個数、または、所定値以下の個数あるいは所定の個数を前記蓄積手段からデータパケットを読み出す読み出し手段と、前記読み出し手段において一定周期タイミング毎に読み出すデータパケット個数の所定値を設定するパケットレート設定手段と、前記読み出したデータパケットをネットワークに送出する送出手段と、を備えるものである。   A data transmission apparatus according to the present invention includes a reception buffer that temporarily stores data packets received via a network, a timing generation unit that generates a timing signal having a fixed cycle timing, and a packet that stores the number information of the data packets. Number information storage means, storage means for storing the data packet, recording means for recording the data packet in the storage means, and reading the data packet from the reception buffer at each fixed cycle timing to the recording means A packet counting means for counting the number of the data packets received within the fixed period timing and outputting the number information of the data packets to the packet number information storing means; and the number of packets for each fixed period timing Data packet from information storage means The number of read data, a read means for reading out data packets from the storage means for the read number, or a number less than or equal to a predetermined value, and a predetermined number of data packets to be read at a constant cycle timing in the read means. Packet rate setting means for setting a value and sending means for sending the read data packet to the network.

これにより、蓄積したデータパケットを読み出してネットワークに送信する際には、記録したデータパケットの個数情報に基づいて一定周期タイミング毎に送信するデータパケットの個数を制御することができるので、簡易な処理によって送信時に受信したときと同じビットレート(送信パケットレート)を再現することができる。また、送信パケットレートを簡易な処理で所望の態様に制御でき、所定値以下の任意の送信パケットレートで送信したり、所定の送信パケットレートで送信することが可能となる。   As a result, when the stored data packets are read out and transmitted to the network, the number of data packets to be transmitted can be controlled at fixed cycle timings based on the number information of the recorded data packets. Thus, it is possible to reproduce the same bit rate (transmission packet rate) as that received at the time of transmission. Further, the transmission packet rate can be controlled to a desired mode with simple processing, and transmission can be performed at an arbitrary transmission packet rate equal to or lower than a predetermined value, or transmission can be performed at a predetermined transmission packet rate.

また、本発明は、上記のデータ伝送装置であって、前記パケット個数情報格納手段は、前記データパケットの個数情報として、前記一定周期タイミングに関する処理周期情報と、各処理周期ごとのパケット受信個数情報とを少なくとも格納するものとする。   Further, the present invention is the above data transmission apparatus, wherein the packet number information storage means includes, as the number information of the data packets, processing period information relating to the fixed period timing and packet reception number information for each processing period. Are stored at least.

これにより、処理周期情報によってデータパケット送信時の処理をより簡易な処理で適切に実行でき、また、システムの自由度を増すことができる。   Thereby, the process at the time of data packet transmission can be appropriately executed by a simpler process based on the processing cycle information, and the degree of freedom of the system can be increased.

また、本発明は、上記のデータ伝送装置であって、前記蓄積手段は、前記データパケットをパケット単位で個別に読み出せるように記録するものとする。   Also, the present invention is the data transmission apparatus described above, wherein the storage means records the data packets so that they can be individually read in packet units.

これにより、データパケット送信時に、要求に応じて蓄積されているデータパケットを適宜読み出すことが可能となる。   This makes it possible to appropriately read out the stored data packets in response to a request when transmitting the data packets.

本発明によれば、ネットワークに伝送されているデータパケットを受信して蓄積した後に、要求に応じてデータパケットを送信する際に、簡易な処理によって受信したときと同じビットレートを再現できるとともに、送信パケットレートを簡易な処理で所望の態様に制御することが可能なデータ伝送装置を提供できる。   According to the present invention, after receiving and accumulating data packets transmitted to the network, when transmitting data packets as requested, the same bit rate as when received by simple processing can be reproduced, It is possible to provide a data transmission apparatus capable of controlling the transmission packet rate to a desired mode with simple processing.

本実施形態では、データ伝送装置の例として、ネットワークを介して伝送されるエンコードされたデータパケット、例えば映像信号をMPEG方式でエンコードしたデジタルデータからなるRTP(Real-Time Transport Protocol)パケットを、受信して一旦蓄積した後、要求に応じてこのデータパケットをネットワークに送出する装置の構成例を説明する。   In this embodiment, as an example of a data transmission apparatus, an encoded data packet transmitted via a network, for example, an RTP (Real-Time Transport Protocol) packet including digital data obtained by encoding a video signal in the MPEG format is received. An example of the configuration of an apparatus for temporarily storing the data packet and transmitting the data packet to the network in response to a request will be described.

図1は本発明の実施形態に係るデータ伝送システムの構成を示すブロック図、図2はネットワーク上にデータ伝送用のデータ記録再生装置を備えたデータ記録再生システムの構成を示すブロック図である。本実施形態に係るデータ伝送システム10は、カメラ12で撮影されたアナログ映像信号をデジタルデータにエンコードしてネットワーク15に送信するエンコーダ11と、ネットワーク15を介して伝送されたデジタルデータをデコードしてモニタ14に出力するデコーダ13とを備え、これらのエンコーダ11とデコーダ13とがネットワーク15に接続されている。   FIG. 1 is a block diagram showing a configuration of a data transmission system according to an embodiment of the present invention, and FIG. 2 is a block diagram showing a configuration of a data recording / reproducing system including a data recording / reproducing apparatus for data transmission on a network. The data transmission system 10 according to the present embodiment encodes an analog video signal captured by the camera 12 into digital data and transmits the digital data to the network 15, and decodes the digital data transmitted via the network 15. A decoder 13 for outputting to the monitor 14 is provided, and these encoder 11 and decoder 13 are connected to a network 15.

このデータ伝送システムにおいて、エンコーダ11は、カメラ12から出力されるアナログ映像信号をデジタルデータにエンコードし、さらにそのデジタルデータをネットワーク15に伝送可能なようにパケット化して、データパケット16としてネットワーク15に送信する。デコーダ13は、ネットワーク15から伝送されたデータパケットを受信し、取り出したデジタルデータを、モニタ14で表示可能なアナログ映像信号としてデコードし、モニタ14に出力する。これにより、モニタ14上にネットワーク伝送された映像が表示される。   In this data transmission system, the encoder 11 encodes an analog video signal output from the camera 12 into digital data, further packetizes the digital data so that it can be transmitted to the network 15, and transmits it as a data packet 16 to the network 15. Send. The decoder 13 receives the data packet transmitted from the network 15, decodes the extracted digital data as an analog video signal that can be displayed on the monitor 14, and outputs it to the monitor 14. As a result, the video transmitted over the network is displayed on the monitor 14.

図1の構成において、ネットワーク15上にデータ伝送用のデータパケット記録再生装置21を設けたものが図2のデータ記録再生システム20となる。データパケット記録再生装置21は、エンコーダ11とデコーダ13とが接続するネットワーク15に接続され、エンコーダ11が送信したデータパケットを受信してハードディスクドライブなどで構成される蓄積装置22に記録し、さらにその記録したデータパケットを、デコーダ13が受信可能なようにネットワーク15に送信するものである。この図2の構成において、データパケット記録再生装置21は、エンコーダ11から見るとデコーダ13のように見え、デコーダ13から見るとエンコーダ11のように見える。   In the configuration shown in FIG. 1, a data recording / reproducing system 20 shown in FIG. The data packet recording / reproducing device 21 is connected to the network 15 to which the encoder 11 and the decoder 13 are connected. The data packet recording / reproducing device 21 receives the data packet transmitted by the encoder 11 and records it in a storage device 22 composed of a hard disk drive or the like. The recorded data packet is transmitted to the network 15 so that the decoder 13 can receive it. In the configuration of FIG. 2, the data packet recording / reproducing device 21 looks like the decoder 13 when viewed from the encoder 11 and looks like the encoder 11 when viewed from the decoder 13.

図3は本実施形態に係るデータパケット記録再生装置21の構成を示すブロック図である。データパケット記録再生装置21は、受信バッファ41、パケットカウント部42、記録部43、蓄積装置22、読み出し部44、クロック生成部45、パケットカウントテーブル46、送出部47、パケットレート設定部48を有して構成される。   FIG. 3 is a block diagram showing the configuration of the data packet recording / reproducing apparatus 21 according to this embodiment. The data packet recording / reproducing device 21 includes a reception buffer 41, a packet counting unit 42, a recording unit 43, a storage device 22, a reading unit 44, a clock generating unit 45, a packet count table 46, a sending unit 47, and a packet rate setting unit 48. Configured.

受信バッファ41は、ネットワーク15を介して受信した映像信号などのデータパケットを一時的に格納する。クロック生成部45は、タイミング生成手段の一例に相当するもので、自装置のシステムクロックに同期して一定周期タイミング(例えば、100ms周期)のクロックを生成する。パケットカウント部42は、パケットカウント手段の一例に相当するもので、クロック生成部45から通知された一定周期タイミングごとに、受信バッファ41からデータパケットを読み取って記録部43へ出力すると共に、その一定周期タイミング内に受信したデータパケットの個数をカウントし、データパケットの個数情報をパケット個数情報格納手段の一例に相当するパケットカウントテーブル46に記録する。   The reception buffer 41 temporarily stores data packets such as video signals received via the network 15. The clock generation unit 45 corresponds to an example of a timing generation unit, and generates a clock having a constant cycle timing (for example, a cycle of 100 ms) in synchronization with the system clock of the device itself. The packet counting unit 42 corresponds to an example of a packet counting unit, reads a data packet from the reception buffer 41 and outputs the data packet to the recording unit 43 at a certain periodic timing notified from the clock generation unit 45, and the constant The number of data packets received within the cycle timing is counted, and the number information of data packets is recorded in a packet count table 46 corresponding to an example of a packet number information storage unit.

記録部43は、記録手段の一例に相当するもので、パケットカウント部42から受け取ったデータパケットを例えばハードディスクドライブなどの蓄積手段の一例に相当する蓄積装置22に記録する。パケットレート設定部48は、送信するデータパケットのパケットレートを設定し、このパケットレート情報を読み出し部44に出力する。読み出し部44は、読み出し手段の一例に相当するもので、クロック生成部45から通知された一定周期タイミングごとに、パケットカウントテーブル46からデータパケットの個数情報を読み取り、その個数情報を用いて前記パケットレート設定部48で設定されたパケットレートを超えない個数のデータパケットを蓄積装置22から読み出す。送出部47は、送出手段の一例に相当するもので、読み出し部44によって読み出したデータパケットをネットワーク15に送信する。   The recording unit 43 corresponds to an example of a recording unit, and records the data packet received from the packet counting unit 42 in the storage device 22 corresponding to an example of a storage unit such as a hard disk drive. The packet rate setting unit 48 sets the packet rate of the data packet to be transmitted, and outputs this packet rate information to the reading unit 44. The reading unit 44 corresponds to an example of a reading unit. The reading unit 44 reads the number information of the data packets from the packet count table 46 at regular cycle timing notified from the clock generation unit 45, and uses the number information to read the packet. The number of data packets not exceeding the packet rate set by the rate setting unit 48 is read from the storage device 22. The sending unit 47 corresponds to an example of sending means, and transmits the data packet read by the reading unit 44 to the network 15.

上記のように構成されたデータパケット記録再生装置21について、図4〜図7を用いてその動作を説明する。図4は本実施形態における受信時(記録時)のデータパケットの処理の流れを示すタイミングチャート、図5はパケットカウントテーブルの一例を示す図、図6はパケットデータの蓄積方法を示す図、図7は本実施形態における送出時(再生時)のパケット送出方法を示す図である。   The operation of the data packet recording / reproducing apparatus 21 configured as described above will be described with reference to FIGS. FIG. 4 is a timing chart showing the flow of data packet processing at the time of reception (recording) in this embodiment, FIG. 5 is a diagram showing an example of a packet count table, and FIG. 6 is a diagram showing a packet data accumulation method. 7 is a diagram illustrating a packet transmission method at the time of transmission (reproduction) in the present embodiment.

まず、受信バッファ41に入力されるデータパケットについて説明する。このデータパケットとは、例えば映像信号をMPEG方式でエンコードしたRTPパケットである。このRTPパケットの到着タイミングは、例えばエンコーダ11でエンコードするとき可変ビットレート(VBR)でエンコードしている場合は当然一定ではないが、仮に固定ビットレート(CBR)でエンコードしている場合でも、ネットワーク遅延の影響などによる揺らぎの影響を受けて一定ではない場合がある。そのため、図4(a)に示したようにデータパケットの受信間隔はまちまちになる。   First, the data packet input to the reception buffer 41 will be described. This data packet is, for example, an RTP packet obtained by encoding a video signal by the MPEG method. The arrival timing of this RTP packet, for example, is not constant when encoding at the variable bit rate (VBR) when encoded by the encoder 11, for example, but even when encoded at a fixed bit rate (CBR) It may not be constant due to fluctuations due to delays. Therefore, as shown in FIG. 4A, the reception interval of data packets varies.

次に、受信バッファ41に入力されたデータパケットを処理するタイミングであるが、これはクロック生成部45で生成されたタイミングによって、図4(b)に示したように一定周期間隔で行われる。このクロック生成方法とは、例えばオペレーティングシステム(OS)の周期割り込みを用いたものや、外部からのハードウェアタイマ割り込みを用いたものが考えられる。   Next, the timing for processing the data packet input to the reception buffer 41 is performed at regular intervals as shown in FIG. 4B according to the timing generated by the clock generation unit 45. As this clock generation method, for example, a method using a periodic interrupt of an operating system (OS) or a method using a hardware timer interrupt from the outside can be considered.

この一定周期タイミングでは、受信バッファに溜まっているデータパケットを記録部43に出力すると共に、そのデータパケット個数をパケットカウントテーブル46に記録する。パケットカウントテーブル46は、図5に示すように、処理周期情報などのヘッダ情報51と、各処理周期ごとのパケット受信個数情報52とを有してなる。図4の例においては、パケットカウントテーブル46には、図4(c)より、n1=4,n2=5,n3=3,…のように記録される。このパケットカウントテーブル46には、図5に示したようにヘッダ情報51を加えることが望ましい。これにより、データパケット受信時におけるクロック生成部45が生成する一定周期タイミングの情報などをパケットカウントテーブル46のヘッダ情報51などに含めることができ、データパケット送信時の処理をより適切に実行でき、また、システムの自由度が増すことが期待できる。なお、パケットカウントテーブル46の情報は、蓄積装置22に記録しても良い。   At this fixed cycle timing, the data packets accumulated in the reception buffer are output to the recording unit 43 and the number of data packets is recorded in the packet count table 46. As shown in FIG. 5, the packet count table 46 includes header information 51 such as processing cycle information, and packet reception number information 52 for each processing cycle. In the example of FIG. 4, the packet count table 46 records n1 = 4, n2 = 5, n3 = 3,... From FIG. It is desirable to add header information 51 to the packet count table 46 as shown in FIG. Thereby, the information of the fixed cycle timing generated by the clock generation unit 45 at the time of data packet reception can be included in the header information 51 of the packet count table 46, and the processing at the time of data packet transmission can be executed more appropriately. In addition, the degree of freedom of the system can be expected to increase. Note that the information of the packet count table 46 may be recorded in the storage device 22.

また、記録部43は、データパケットすなわちRTPパケットの単位で伝送データを蓄積装置22に記録する際に、図6に示すように、RTPパケットデータ61をパケット単位で1つずつ個別に読み出せる形で記録する。   In addition, the recording unit 43 can individually read out the RTP packet data 61 one by one in units of packets as shown in FIG. 6 when recording transmission data in the storage device 22 in units of data packets, that is, RTP packets. Record with.

次に、上記のように蓄積装置22に記録されたデータパケットをネットワークに送信する際の動作について、図7を用いて説明する。   Next, the operation when the data packet recorded in the storage device 22 as described above is transmitted to the network will be described with reference to FIG.

まず、記録時(受信時)については、図7(a)に示すように、処理周期Aに受信したパケット個数が4個であり、処理周期Bに受信したパケット個数が5個であったとする。そして、この記録したデータを再生するとき(送出時)には、図7(b)に示すように、処理周期Aのタイミングで4個のパケットを送信し、同様に処理周期Bのタイミングでは5個のパケットを送信する。   First, at the time of recording (at the time of reception), it is assumed that the number of packets received in the processing period A is 4 and the number of packets received in the processing period B is 5 as shown in FIG. . When the recorded data is reproduced (at the time of transmission), four packets are transmitted at the timing of the processing cycle A as shown in FIG. Send packets.

このように、本実施形態では、クロック生成部45で生成された処理周期ごとに、パケットカウントテーブル46に記録されている個数分のデータパケットを蓄積装置22から読み取り、送出することができる。このため、自装置で生成したクロックは、記録時も再生時も同じタイミングであることより、受信したときの平均ビットレートを送信時に再現することができる。このとき、自装置のクロック生成部45による一定周期タイミングに従えばよいので、エンコーダやデコーダとのクロック同期をとるなどの必要が無い。特に、この記録再生時の処理は、データパケットをカウントするだけで良いので、処理量が少なく、さらに小数演算による丸め誤差が発生することもない。   As described above, in this embodiment, the number of data packets recorded in the packet count table 46 can be read from the storage device 22 and transmitted every processing cycle generated by the clock generation unit 45. For this reason, since the clock generated by the own apparatus has the same timing during recording and during reproduction, the average bit rate when received can be reproduced during transmission. At this time, it is only necessary to follow a fixed cycle timing by the clock generation unit 45 of the device itself, so there is no need to synchronize the clock with the encoder or decoder. In particular, since the processing at the time of recording / reproduction only needs to count data packets, the amount of processing is small, and rounding error due to decimal arithmetic does not occur.

また、本実施形態では、送信処理においてデータパケットをカウントする処理を行っているため、パケットレートを容易に制御することができる。したがって、パケットレート設定部48によって、読み出し部44の動作を複数の動作態様に設定することができる。このとき、上記のような記録時のパケットレートを再生する読み出し動作のみならず、所定の設定値以下の任意のパケットレートで再生する読み出し動作と、所定のパケットレートで再生する読み出し動作の3つの動作を設定できる。   In the present embodiment, the data rate is counted in the transmission process, so that the packet rate can be easily controlled. Therefore, the packet rate setting unit 48 can set the operation of the reading unit 44 to a plurality of operation modes. At this time, not only the reading operation for reproducing the packet rate at the time of recording as described above, but also a reading operation for reproducing at an arbitrary packet rate below a predetermined set value and a reading operation for reproducing at a predetermined packet rate. You can set the action.

所定の設定値以下のパケットレートで再生する読み出し動作の場合は、パケットレート設定部48で設定されたパケットレートを読み出し部44に入力し、読み出し部44において、このパケットレートに基づき、クロック生成部45の処理周期から単位処理周期あたりの送信する処理パケット数を求める。そして、読み出し部44で処理周期毎にパケットカウントテーブル46に記録されている個数情報が処理パケット数以下となる個数のデータパケットを蓄積装置21から読み取り、送出部47より送出する。このとき、処理周期毎にパケットカウントテーブル46に記録されている個数情報が処理パケット数を超えた数は、次回の処理周期に引き継ぐ。この処理により、所定値以下の任意のパケットレート、すなわち任意のパケットレートまでの可変パケットレートでの送信が可能となる。   In the case of a read operation for reproducing at a packet rate equal to or lower than a predetermined set value, the packet rate set by the packet rate setting unit 48 is input to the read unit 44, and the clock generation unit is based on the packet rate in the read unit 44. The number of processing packets to be transmitted per unit processing cycle is obtained from 45 processing cycles. Then, the reading unit 44 reads from the storage device 21 a number of data packets whose number information recorded in the packet count table 46 is equal to or less than the number of processing packets for each processing cycle, and sends it out from the sending unit 47. At this time, the number information recorded in the packet count table 46 in each processing cycle exceeds the number of processing packets is taken over in the next processing cycle. This processing enables transmission at an arbitrary packet rate equal to or lower than a predetermined value, that is, at a variable packet rate up to an arbitrary packet rate.

所定のパケットレートで再生する読み出し動作の場合は、上記と同様にパケットレート設定部48で設定されたパケットレートに基づき、読み出し部44でクロック生成部45の処理周期から単位処理周期あたりに送信する処理パケット数を求める。そして、読み出し部44で処理周期毎にパケットカウントテーブル46に記録されている個数情報から処理パケット数分のデータパケットを蓄積装置21から読み取り、送出部47より送出する。この処理により、任意の指定の送信パケットレートで送信することが可能となる。   In the case of a read operation for reproducing at a predetermined packet rate, the read unit 44 transmits from the processing cycle of the clock generation unit 45 per unit processing cycle based on the packet rate set by the packet rate setting unit 48 as described above. Obtain the number of processed packets. Then, the reading unit 44 reads data packets corresponding to the number of processing packets from the number information recorded in the packet count table 46 for each processing cycle, and sends the data packets from the storage unit 21. By this processing, it becomes possible to transmit at an arbitrarily designated transmission packet rate.

ここで、デコーダ13には、元々エンコーダ11とネットワーク15を介して配置されているので、ネットワーク15における揺らぎの影響に対する対策が行われているのが一般的である。特に、複数のパケットを一時的にバースト状に受信したとしても問題ないように設計されている。すなわち、クロック生成部45が生成するタイミングで複数のデータパケットをまとめて送信しても影響が出ないようになっている。   Here, since the decoder 13 is originally arranged via the encoder 11 and the network 15, a countermeasure against the influence of fluctuation in the network 15 is generally taken. In particular, it is designed so that there is no problem even if a plurality of packets are temporarily received in a burst form. That is, even if a plurality of data packets are transmitted together at the timing generated by the clock generation unit 45, there is no influence.

上述したように、本実施形態では、データ伝送システム上でネットワークに伝送されている映像信号などのデータパケットを記録再生するデータ記録再生装置において、記録時に、一定周期タイミング毎にデータパケットを読み取って記録するとともに、その一定周期タイミング内に受信したデータパケットの個数をカウントしてその個数情報を記録するようになっている。これにより、データパケットを記録して蓄積した後に、要求に応じて送出して再生する場合に、簡易な処理で受信したときと同じビットレート(送信パケットレート)を再現できる。また、蓄積したデータパケットを要求に応じて送出して再生する場合に、簡単な処理によって、所定値以下の任意の送信パケットレートで送信したり、所定の送信パケットレートで送信したりなど、送信パケットレートを所望の態様に制御することができる。   As described above, in this embodiment, in the data recording / reproducing apparatus for recording / reproducing data packets such as video signals transmitted to the network on the data transmission system, at the time of recording, the data packets are read at regular cycle timings. In addition to recording, the number of data packets received within the fixed cycle timing is counted and the number information is recorded. As a result, when a data packet is recorded and stored and then transmitted and reproduced as requested, the same bit rate (transmission packet rate) as when received by simple processing can be reproduced. In addition, when the stored data packets are sent out and played back according to the request, it is transmitted by a simple process such as transmission at an arbitrary transmission packet rate below a predetermined value or transmission at a predetermined transmission packet rate. The packet rate can be controlled in a desired manner.

本発明は、ネットワークに伝送されているデータパケットを受信して蓄積した後に、要求に応じてデータパケットを送信する際に、簡易な処理によって受信したときと同じビットレートを再現できるとともに、送信パケットレートを簡易な処理で所望の態様に制御することが可能となる効果を有し、エンコードされたデータパケットをネットワークを介して伝送するデータ伝送装置等に有用である。   The present invention can reproduce the same bit rate as when received by a simple process when transmitting a data packet in response to a request after receiving and accumulating the data packet transmitted to the network. This has the effect of allowing the rate to be controlled in a desired manner with simple processing, and is useful for a data transmission apparatus that transmits encoded data packets via a network.

本発明の実施形態に係るデータ伝送システムの構成を示すブロック図The block diagram which shows the structure of the data transmission system which concerns on embodiment of this invention 本発明の実施形態に係るデータ記録再生装置を備えたデータ記録再生システムの構成を示すブロック図1 is a block diagram showing a configuration of a data recording / reproducing system including a data recording / reproducing apparatus according to an embodiment of the present invention. 本実施形態に係るデータパケット記録再生装置の構成を示すブロック図A block diagram showing a configuration of a data packet recording / reproducing apparatus according to the present embodiment 本実施形態における受信時(記録時)のデータパケットの処理の流れを示すタイミングチャートTiming chart showing the flow of data packet processing during reception (recording) in this embodiment 本実施形態におけるパケットカウントテーブルの一例を示す図The figure which shows an example of the packet count table in this embodiment 本実施形態におけるパケットデータの蓄積方法を示す図The figure which shows the accumulation | storage method of the packet data in this embodiment 本実施形態における送出時(再生時)のパケット送出方法を示す図The figure which shows the packet transmission method at the time of transmission (reproduction | regeneration) in this embodiment 従来のデータ記録再生装置の構成例を示すブロック図Block diagram showing a configuration example of a conventional data recording / reproducing apparatus 従来のデータ記録再生装置の再生時におけるパケット送出方法の具体例を示す図The figure which shows the specific example of the packet transmission method at the time of reproduction | regeneration of the conventional data recording / reproducing apparatus

符号の説明Explanation of symbols

10 データ伝送システム
11 エンコーダ
12 カメラ
13 デコーダ
14 モニタ
15 ネットワーク
16 データパケット
20 データ記録再生システム
21 データパケット記録再生装置
22 蓄積装置
41 受信バッファ
42 パケットカウント部
43 記録部
44 読み出し部
45 クロック生成部
46 パケットカウントテーブル
47 送出部
48 パケットレート設定部
51 ヘッダ情報
52 パケット受信個数情報
61 RTPパケットデータ
DESCRIPTION OF SYMBOLS 10 Data transmission system 11 Encoder 12 Camera 13 Decoder 14 Monitor 15 Network 16 Data packet 20 Data recording / reproduction system 21 Data packet recording / reproduction apparatus 22 Storage apparatus 41 Reception buffer 42 Packet count part 43 Recording part 44 Reading part 45 Clock generation part 46 Packet Count table 47 Transmission unit 48 Packet rate setting unit 51 Header information 52 Number of received packets 61 RTP packet data

Claims (3)

ネットワークを介して受信したデータパケットを一時的に格納する受信バッファと、
一定周期タイミングのタイミング信号を生成するタイミング生成手段と、
前記データパケットの個数情報を格納するパケット個数情報格納手段と、
前記データパケットを蓄積する蓄積手段と、
前記蓄積手段に前記データパケットを記録する記録手段と、
前記一定周期タイミング毎に前記受信バッファから前記データパケットを読み取って前記記録手段へ出力するとともに、この一定周期タイミング内に受信した前記データパケットの個数をカウントしてデータパケットの個数情報を前記パケット個数情報格納手段に出力するパケットカウント手段と、
前記一定周期タイミング毎に前記パケット個数情報格納手段からデータパケットの個数情報を読み取り、この読み取った個数、または、所定値以下の個数あるいは所定の個数を前記蓄積手段からデータパケットを読み出す読み出し手段と、
前記読み出し手段において一定周期タイミング毎に読み出すデータパケット個数の所定値を設定するパケットレート設定手段と、
前記読み出したデータパケットをネットワークに送出する送出手段と、
を備えるデータ伝送装置。
A receive buffer for temporarily storing data packets received over the network;
Timing generating means for generating a timing signal having a constant cycle timing;
Packet number information storage means for storing the number information of the data packets;
Storage means for storing the data packet;
Recording means for recording the data packet in the storage means;
The data packet is read from the reception buffer at each fixed cycle timing and output to the recording means, and the number of the data packets received within the fixed cycle timing is counted to obtain the number information of the data packets. Packet counting means for outputting to the information storage means;
Read means for reading the number of data packets from the packet number information storage means at each fixed cycle timing, and reading means for reading the data packets from the storage means, the number of read, or a number less than a predetermined value or a predetermined number;
A packet rate setting means for setting a predetermined value of the number of data packets to be read at a constant cycle timing in the reading means;
Sending means for sending the read data packet to the network;
A data transmission device comprising:
請求項1に記載のデータ伝送装置であって、
前記パケット個数情報格納手段は、前記データパケットの個数情報として、前記一定周期タイミングに関する処理周期情報と、各処理周期ごとのパケット受信個数情報とを少なくとも格納するデータ伝送装置。
The data transmission device according to claim 1,
The packet number information storage means stores at least processing cycle information relating to the fixed cycle timing and packet reception number information for each processing cycle as the number information of the data packets.
請求項1または2に記載のデータ伝送装置であって、
前記蓄積手段は、前記データパケットをパケット単位で個別に読み出せるように記録するデータ伝送装置。
The data transmission device according to claim 1 or 2,
The storage means records the data packets so that the data packets can be individually read in units of packets.
JP2005152492A 2005-05-25 2005-05-25 Data transmission device Withdrawn JP2006332966A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005152492A JP2006332966A (en) 2005-05-25 2005-05-25 Data transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005152492A JP2006332966A (en) 2005-05-25 2005-05-25 Data transmission device

Publications (1)

Publication Number Publication Date
JP2006332966A true JP2006332966A (en) 2006-12-07

Family

ID=37554193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005152492A Withdrawn JP2006332966A (en) 2005-05-25 2005-05-25 Data transmission device

Country Status (1)

Country Link
JP (1) JP2006332966A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009049506A (en) * 2007-08-14 2009-03-05 Canon Inc Communication control unit and method, and computer program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009049506A (en) * 2007-08-14 2009-03-05 Canon Inc Communication control unit and method, and computer program
US8107500B2 (en) 2007-08-14 2012-01-31 Canon Kabushiki Kaisha Communication control apparatus, communication control method, and computer program

Similar Documents

Publication Publication Date Title
KR101390192B1 (en) Transmission apparatus and receiving apparatus of video trasmission system, and buffer control method thereof
CN1901656B (en) Video and audio reproducing apparatus and video and audio reproducing method, output time changing apparatus and method
KR960020010A (en) Encoding systems and methods, decoding systems and methods, encoding data recording devices and methods, encoding data transmission devices and methods, and recording media
KR20020052188A (en) Data Stream Processing Device and Method, and Program Storage Medium
JP2007511948A (en) Trick play signal playback
TWI431986B (en) Information processing apparatus and method, and program
JP2008061010A (en) Video and audio transmitter
JP2006332967A (en) Data transmission device
JP2006332966A (en) Data transmission device
JP5101668B2 (en) Digital video recording and playback device
JPS61198988A (en) Image encoding and transmitting system
JPH09247670A (en) Information multiplexer
JP2005151463A (en) Device and method for receiving stream data
JPWO2007004611A1 (en) Output circuit, control program product, and control method
JPH1022960A (en) Media encoding device
JP2005210491A (en) Content-transmitting device and content-reproducing device
JPH1118071A (en) Slow reproduction system
JP4350638B2 (en) Video recording device
JP2007028131A (en) Recording/reproducing apparatus and recording/reproducing method for data packet
JP2005341248A (en) Network type video transmitter and network type video receiver
JP4382230B2 (en) Transmission apparatus and method in video storage and playback system using MPEG2 encoding technology
JP4755257B2 (en) GOP management device
JP2006100882A (en) Voice packet reproducing system
JP2008199516A (en) Data processing apparatus
JPH0263346A (en) System for absorbing fluctuation of delay in packet communication equipment

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071113

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071120

A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080805