JP6519304B2 - Data distribution device - Google Patents

Data distribution device Download PDF

Info

Publication number
JP6519304B2
JP6519304B2 JP2015094256A JP2015094256A JP6519304B2 JP 6519304 B2 JP6519304 B2 JP 6519304B2 JP 2015094256 A JP2015094256 A JP 2015094256A JP 2015094256 A JP2015094256 A JP 2015094256A JP 6519304 B2 JP6519304 B2 JP 6519304B2
Authority
JP
Japan
Prior art keywords
data
unit
transmission
packet
channel
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.)
Active
Application number
JP2015094256A
Other languages
Japanese (ja)
Other versions
JP2016213611A (en
Inventor
拓 青木
拓 青木
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.)
Socionext Inc
Original Assignee
Socionext Inc
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 Socionext Inc filed Critical Socionext Inc
Priority to JP2015094256A priority Critical patent/JP6519304B2/en
Publication of JP2016213611A publication Critical patent/JP2016213611A/en
Application granted granted Critical
Publication of JP6519304B2 publication Critical patent/JP6519304B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本明細書で言及する実施例は、データ配信装置およびデータ配信方法に関する。   The embodiments referred to herein relate to a data delivery apparatus and a data delivery method.

従来、例えば、監視カメラ等で撮影した映像(動画:ビデオ)および音声(オーディオ)等を、ネットワークに送出することが行われている。このとき、送信側のデータ配信装置(ネットワークインタフェース)は、最大の伝送速度でデータを送出するが、受信側の制御端末の処理能力を上回るデータ量をバースト的に送信すると、受信側端末でデータの欠落が発生することになる。   2. Description of the Related Art Conventionally, for example, video (moving image: video) and audio (audio) captured by a surveillance camera or the like are transmitted to a network. At this time, the data distribution device (network interface) on the transmission side sends out data at the maximum transmission rate, but if the data amount exceeding the processing capacity of the control terminal on the reception side is burst transmitted, the data on the reception side terminal There will be a lack of

そこで、例えば、送信要求を受けたデータ種別の優先度を判定し、さらに、生成したパケットのデータサイズと設定された送信負荷(例えば、ビットレート)から、同じデータ種別の次パケットの送信時間を算出するネットワークインタフェースが研究されている。ここで、送信時間を算出するようなネットワークインタフェースは、例えば、ディスクリプタ型ネットワークインタフェースを用いることで実現することができる。   Therefore, for example, the priority of the data type for which the transmission request has been received is determined, and the transmission time of the next packet of the same data type is determined from the data size of the generated packet and the transmission load (for example, bit rate) set. The network interface to calculate is being studied. Here, a network interface which calculates transmission time can be realized by using, for example, a descriptor type network interface.

ディスクリプタ型ネットワークインタフェースでは、例えば、ビデオとオーディオといった異なるデータ種別間の送信優先度と送信タイミングは制御できるが、例えば、高画質と低画質のビデオといった同一データ種別で異なる負荷のデータ送信は不得手である。   In the descriptor type network interface, for example, transmission priority and transmission timing between different data types such as video and audio can be controlled, but for example, data transmission of different loads with different data types such as high quality and low quality video is not good It is.

ところで、従来、ネットワークのデータ配信装置およびデータ配信方法としては、様々なものが提案されている。   By the way, conventionally, various data delivery apparatuses and data delivery methods for networks have been proposed.

特開2007−074243号公報Japanese Patent Application Publication No. 2007-074243 特開2007−074740号公報Japanese Patent Application Publication No. 2007-074740 国際公開第2004/075568号WO 2004/075568 特開2006−273261号公報JP, 2006-273261, A 特開2007−194732号公報JP, 2007-194732, A

上述したように、従来、ディスクリプタ型ネットワークインタフェースが研究されているが、例えば、高画質ビデオと低画質ビデオといった同一データ種別で異なる負荷のデータ送信を行う場合、どちらか一方の送信負荷に引きずられて適切な送信が困難であった。   As described above, conventionally, the descriptor type network interface has been studied, but, for example, when performing data transmission of different loads with different data types such as high quality video and low quality video, it is dragged by either transmission load Appropriate transmission was difficult.

このような問題は、画像データの配信に限定されるものではなく、他の様々なデータ配信においても、同様である。なお、本明細書では、主として、高画質動画(高画質Video)と低画質動画データ(低画質Video)を例として説明するが、本実施例の適用は、それに限定されるものではない。   Such a problem is not limited to the delivery of image data, and is the same as in other various data delivery. In the present specification, high-quality moving images (high-quality video) and low-quality moving image data (low-quality video) are mainly described as an example, but the application of this embodiment is not limited thereto.

また、本明細書において、チャネルとは、同一データ種別(例えば、動画データ)における異なる設定のデータ(例えば、解像度が異なる高画質Videoと低画質Video)として定義される。   Further, in the present specification, a channel is defined as data of different settings (for example, high quality Video and low quality Video having different resolutions) in the same data type (for example, moving image data).

一実施形態によれば、データ格納部からのデータを受け取ってDMA転送を行うDMA部と、前記DMA部からの送信データを受け取ってパケットを生成すると共に、前記パケットのデータ種別を判定するパケット処理部と、を含むデータ配信装置が提供される。前記データ配信装置は、優先度判定部と、送信時間管理部と、処理開始判定部と、現在時間検出部と、送信時間比較部と、送信タイミング算出部と、パケットデータサイズ算出部と、を有し、生成された前記パケットをネットワークに送信する。 According to one embodiment, a DMA unit that receives data from a data storage unit and performs DMA transfer, packet processing that receives transmission data from the DMA unit and generates a packet, and determines the data type of the packet And a data delivery apparatus including: The data distribution apparatus includes a priority determination unit, a transmission time management unit, a processing start determination unit, a current time detection unit, a transmission time comparison unit, a transmission timing calculation unit, and a packet data size calculation unit. And transmitting the generated packet to the network.

前記優先度判定部は、前記データ種別を受け取って、最も優先度の高い最優先データ種別を判定し、前記送信時間管理部は、前記最優先データ種別を受け取って、各送信データにおける、同一データ種別における異なる設定のデータであるチャネルを識別するためのチャネルIDと各チャネルの送信時間を管理する。前記処理開始判定部は、前記送信時間管理部の出力を受け取って、前記パケット処理部が対応するパケット処理を開始するかどうかを判定する。前記現在時間検出部は、現在時間を検出し、前記送信時間比較部は、前記現在時間と現パケット送信時間を比較し、前記送信タイミング算出部は、送信タイミングを算出し、そして、前記パケットデータサイズ算出部は、パケットデータのサイズを算出する。前記送信時間管理部は、前記最優先データ種別から、最優先チャネルIDの現パケット送信時間を前記送信時間比較部に出力すると共に、チャネルIDを前記処理開始判定部に出力し、前記送信タイミング算出部の計算結果に基づいて、該当チャネルIDの現パケット送信時間を更新する。前記処理開始判定部は、前記送信時間比較部からの比較結果、および、前記送信時間管理部からの送信する送信チャネルIDを受け取り、前記送信チャネルIDの送信処理を開始するかどうかを判定し、その判定結果および前記送信チャネルIDを前記パケット処理部に通知し、前記DMA部および前記パケットデータサイズ算出部に送信処理を開始するチャネルIDを通知する。 The priority determination unit receives the data type and determines the highest priority data type with the highest priority, and the transmission time management unit receives the highest priority data type , and the same data in each transmission data is received. It manages channel IDs for identifying channels that are data of different settings in type and transmission time of each channel. The processing start determination unit receives the output of the transmission time management unit, and determines whether the packet processing unit starts the corresponding packet processing. The current time detection unit detects the current time, the transmission time comparison unit compares the current time with the current packet transmission time, the transmission timing calculation unit calculates the transmission timing, and the packet data The size calculation unit calculates the size of packet data. The transmission time management unit outputs the current packet transmission time of the highest priority channel ID to the transmission time comparison unit from the highest priority data type, and outputs the channel ID to the processing start determination unit, and calculates the transmission timing. The current packet transmission time of the corresponding channel ID is updated based on the calculation result of the unit. The process start determination unit receives the comparison result from the transmission time comparison unit and the transmission channel ID to be transmitted from the transmission time management unit, and determines whether to start the transmission channel ID transmission process. The determination result and the transmission channel ID are notified to the packet processing unit, and the DMA unit and the packet data size calculation unit are notified of a channel ID for starting transmission processing.

開示のデータ配信装置およびデータ配信方法は、送信データバッファの増大を招くことなく、チャネル毎に送信タイミング制御をすることができるという効果を奏する。   The disclosed data delivery apparatus and data delivery method have an effect that transmission timing control can be performed for each channel without increasing the transmission data buffer.

図1は、監視カメラシステムの一例を説明するための図である。FIG. 1 is a diagram for explaining an example of a surveillance camera system. 図2は、図1に示す監視カメラシステムにおける、関連技術のディスクリプタ型ネットワークインタフェースの一例を示すブロック図である。FIG. 2 is a block diagram showing an example of a related art descriptor type network interface in the surveillance camera system shown in FIG. 図3は、図2に示すネットワークインタフェースの動作の一例を説明するためのフローチャートである。FIG. 3 is a flowchart for explaining an example of the operation of the network interface shown in FIG. 図4は、図2に示すネットワークインタフェースにおけるDMA部を説明するための図である。FIG. 4 is a diagram for explaining a DMA unit in the network interface shown in FIG. 図5は、図2に示すネットワークインタフェースによるデータ送信の様子を模式的に示す図である。FIG. 5 is a diagram schematically showing the state of data transmission by the network interface shown in FIG. 図6は、ネットワークインタフェースの第1実施例を示すブロック図である。FIG. 6 is a block diagram showing a first embodiment of the network interface. 図7は、図6に示すネットワークインタフェースの動作の一例を説明するためのフローチャートである。FIG. 7 is a flowchart for explaining an example of the operation of the network interface shown in FIG. 図8は、図6に示すネットワークインタフェースによるデータ送信の様子を模式的に示す図である。FIG. 8 is a diagram schematically showing the state of data transmission by the network interface shown in FIG. 図9は、関連技術および第1実施例のネットワークインタフェースにおける送信時間管理テーブルを比較して説明するための図である。FIG. 9 is a diagram for comparing and explaining the transmission time management table in the related art and the network interface of the first embodiment. 図10は、図6に示すネットワークインタフェースにおける処理開始判定部の動作を説明するための図である。FIG. 10 is a diagram for explaining the operation of the processing start determination unit in the network interface shown in FIG. 図11は、パケットフォーマットの一例を説明するための図である。FIG. 11 is a diagram for explaining an example of the packet format. 図12は、データ格納部とDMA部の送信データバッファの動作を、関連技術と第1実施例との差異を示しつつ説明するための図である。FIG. 12 is a diagram for explaining the operation of the transmission data buffer of the data storage unit and the DMA unit while showing the difference between the related art and the first embodiment. 図13は、ネットワークインタフェースの第2実施例を示すブロック図である。FIG. 13 is a block diagram showing a second embodiment of the network interface. 図14は、図13に示すネットワークインタフェースの変形例を示すブロック図である。FIG. 14 is a block diagram showing a modification of the network interface shown in FIG. 図15は、処理するチャネルIDの数が増加した場合の課題を説明するための図である。FIG. 15 is a diagram for describing a problem when the number of channel IDs to be processed increases. 図16は、ネットワークインタフェースの第3実施例の要部を示すブロック図である。FIG. 16 is a block diagram showing the main part of the third embodiment of the network interface. 図17は、ネットワークインタフェースの第4実施例の要部を示すブロック図である。FIG. 17 is a block diagram showing the main part of the fourth embodiment of the network interface.

まず、本実施例のデータ配信装置およびデータ配信方法を詳述する前に、図1〜図5を参照して、関連技術としてのデータ配信装置およびデータ配信方法、並びに、その問題点を、監視カメラシステムを例として説明する。   First, before the data delivery apparatus and data delivery method of the present embodiment are described in detail, referring to FIGS. 1 to 5, the data delivery apparatus and data delivery method as related techniques, and monitoring the problems thereof A camera system will be described as an example.

図1は、監視カメラシステムの一例を説明するための図である。図1に示されるように、監視カメラシステムは、例えば、ユーザ400が制御端末300を操作することで、ネットワーク200を介して、監視カメラ100からのデータ配信を受け取る。   FIG. 1 is a diagram for explaining an example of a surveillance camera system. As shown in FIG. 1, the monitoring camera system receives data distribution from the monitoring camera 100 via the network 200 when the user 400 operates the control terminal 300, for example.

ここで、監視カメラ100からのデータとしては、例えば、高画質の動画(Video High),低画質の動画(Video Low),音声(Audio),高画質の静止画(JPEG High),低画質の静止画(JPEG Low)および制御情報(メタデータ)等が含まれる。なお、監視カメラシステムでは、例えば、複数の監視カメラ100からのデータを、それぞれネットワーク200を経由して制御端末300に集約し、それをユーザ400が利用する。   Here, as data from the monitoring camera 100, for example, high quality moving picture (Video High), low quality moving picture (Video Low), audio (Audio), high quality still picture (JPEG High), low quality Still images (JPEG Low) and control information (metadata) are included. In the surveillance camera system, for example, data from a plurality of surveillance cameras 100 are collected in the control terminal 300 via the network 200, respectively, and the user 400 uses it.

監視カメラ100は、例えば、カメラモジュール110,エンコーダ120,プロセッサ130,メモリ140およびネットワークインタフェース150を含む。カメラモジュール110は、監視カメラ100が設置された周囲(例えば、360°の全周囲)を撮影(さらに、音声を収集)し、エンコーダ120は、カメラモジュール110からの映像(音声)データを符号化する。   The surveillance camera 100 includes, for example, a camera module 110, an encoder 120, a processor 130, a memory 140, and a network interface 150. The camera module 110 captures (further, collects sound) around the surveillance camera 100 (for example, all around 360 °), and the encoder 120 encodes video (audio) data from the camera module 110 Do.

メモリ140は、エンコーダ120により符号化されたデータおよび制御情報を格納し、ネットワークインタフェース150は、メモリ140からデータおよび制御情報を読み出し、ネットワーク200を介して、制御端末300に送信(配信)する。ここで、エンコーダ120,メモリ140およびネットワークインタフェース150は、プロセッサ130により制御される。   The memory 140 stores data and control information encoded by the encoder 120, and the network interface 150 reads the data and control information from the memory 140 and transmits (distributes) the control terminal 300 via the network 200. Here, the encoder 120, the memory 140 and the network interface 150 are controlled by the processor 130.

ネットワークインタフェース150は、DMA(Direct Memory Access)部1,パケット処理部2およびPHY(PHYsical layer)部3を含む。DMA部1は、例えば、エンコーダ120が符号化して格納した画像データや制御情報(メタデータ)等のデータをメモリ140から読み出して、パケット処理部2に転送する。   The network interface 150 includes a DMA (Direct Memory Access) unit 1, a packet processing unit 2 and a PHY (PHYsical layer) unit 3. The DMA unit 1 reads, for example, data such as image data and control information (metadata) encoded and stored by the encoder 120 from the memory 140 and transfers the data to the packet processing unit 2.

パケット処理部2は、DMA部1から転送されたデータを受け取り、例えば、イーサネット(登録商標)等のネットワーク規格に従ったフレーム(パケット)を生成して、PHY部3に出力する。PHY部3は、パケット処理部2からのパケットを、実際に送出する信号形式に変換して、ネットワーク200に出力する。   The packet processing unit 2 receives the data transferred from the DMA unit 1, generates, for example, a frame (packet) conforming to a network standard such as Ethernet (registered trademark), and outputs the frame (packet) to the PHY unit 3. The PHY unit 3 converts the packet from the packet processing unit 2 into a signal format to be actually transmitted, and outputs the converted signal to the network 200.

ところで、例えば、ネットワークインタフェース150において、DMA部1,パケット処理部2およびPHY部3は、いずれも送信優先度の判定や送信タイミングの制御を行う機能は有していない。   Incidentally, for example, in the network interface 150, the DMA unit 1, the packet processing unit 2 and the PHY unit 3 do not have the function of determining the transmission priority and controlling the transmission timing.

そのため、監視カメラ100からネットワーク200を介して制御端末300に送られるビデオ,オーディオおよび制御情報等の転送データが、例えば、受信側の制御端末300の処理能力を上回ると、制御端末300でデータの欠落(例えば、図1中のデータDa0)が発生する。   Therefore, if transfer data such as video, audio and control information sent from the monitoring camera 100 to the control terminal 300 via the network 200 exceeds the processing capability of the control terminal 300 on the receiving side, for example, the control terminal 300 Missing (for example, data Da0 in FIG. 1) occurs.

そこで、例えば、送信要求を受けたデータ種別の優先度を判定し、生成したパケットのデータサイズと設定された送信負荷から、同じデータ種別の次パケットの送信時間を算出するディスクリプタ型ネットワークインタフェースが研究/開発されている。   Therefore, for example, a descriptor type network interface that determines the priority of the data type for which the transmission request has been received and calculates the transmission time of the next packet of the same data type from the data size of the generated packet and the set transmission load / Is being developed.

図2は、図1に示す監視カメラシステムにおける、関連技術のディスクリプタ型ネットワークインタフェースの一例を示すブロック図である。   FIG. 2 is a block diagram showing an example of a related art descriptor type network interface in the surveillance camera system shown in FIG.

図2に示されるように、ネットワークインタフェース(データ配信装置)150は、DMA部1,パケット処理部2,PHY部3,送信時間管理部41,現在時間検出部42,送信時間比較部43,優先度判定部44および送信タイミング算出部45を含む。ここで、DMA部1は、ディスクリプタ型DMAとして形成される。   As shown in FIG. 2, the network interface (data distribution device) 150 includes a DMA unit 1, packet processing unit 2, PHY unit 3, transmission time management unit 41, current time detection unit 42, transmission time comparison unit 43, priority. It includes a degree determination unit 44 and a transmission timing calculation unit 45. Here, the DMA unit 1 is formed as a descriptor type DMA.

上述したように、DMA部1は、例えば、メモリ(データ格納部)140から画像データや制御情報等のデータを読み出してパケット処理部2に転送するもので、送信データバッファ(#0〜#n)11および送信データ情報格納部(#0〜#n)12を含む。   As described above, the DMA unit 1 reads data such as image data and control information from the memory (data storage unit) 140, for example, and transfers the data to the packet processing unit 2. The transmission data buffer (# 0 to #n) And 11) and a transmission data information storage unit (# 0 to #n) 12.

ここで、送信データバッファ11および送信データ情報格納部12は、それぞれのデータ種別毎(例えば、動画データ,音声データ,静止画データ等)に設けられている。   Here, the transmission data buffer 11 and the transmission data information storage unit 12 are provided for each data type (for example, moving image data, audio data, still image data, etc.).

パケット処理部2は、DMA部1から転送されたデータを受け取り、ネットワークの規格に従ったパケットを生成してPHY部3に出力するもので、送信要求検出部21およびパケット生成部22を含む。   The packet processing unit 2 receives the data transferred from the DMA unit 1, generates a packet conforming to the standard of the network, and outputs the packet to the PHY unit 3. The packet processing unit 2 includes a transmission request detection unit 21 and a packet generation unit 22.

図3は、図2に示すネットワークインタフェースの動作の一例を説明するためのフローチャートであり、図2および図3を参照して、関連技術のネットワークインタフェース150を説明する。なお、図1および図2において、各処理(ステップST10〜ST19)は、それぞれ対応するものを示している。   FIG. 3 is a flowchart for explaining an example of the operation of the network interface shown in FIG. 2. The network interface 150 of the related art will be described with reference to FIGS. 2 and 3. In FIG. 1 and FIG. 2, each process (steps ST10 to ST19) indicates the corresponding one.

図2および図3に示されるように、データ格納部(メモリ)140が送信データ情報を設定して送信要求を行うと、DMA部1は、データ格納部140から送信要求のあったデータ種別のデータを内部に搭載されているデータ種別毎の送信データバッファ11に転送する。   As shown in FIGS. 2 and 3, when the data storage unit (memory) 140 sets transmission data information and makes a transmission request, the DMA unit 1 transmits the data type of the transmission request from the data storage unit 140. The data is transferred to the transmission data buffer 11 for each data type mounted inside.

すなわち、データ格納部140から読み出した送信データを、内部バッファ(送信データバッファ11および送信データ情報格納部12)に格納する(ST1)。そして、送信データバッファ11(内部バッファ)へのデータ格納が完了すると、パケット処理部2に対して送信要求を実施する。   That is, the transmission data read from the data storage unit 140 is stored in the internal buffer (the transmission data buffer 11 and the transmission data information storage unit 12) (ST1). Then, when data storage in the transmission data buffer 11 (internal buffer) is completed, a transmission request is made to the packet processing unit 2.

まず、DMA部1は、送信(格納)データサイズ,データ種別およびその他制御情報等の送信データ情報をパケット処理部2に通知し(ST10)、パケット処理部2は、DMA部1から通知された送信要求があるデータ種別を優先度判定部44に通知する(ST11)。   First, the DMA unit 1 notifies the packet processing unit 2 of transmission data information such as transmission (storage) data size, data type and other control information (ST10), and the packet processing unit 2 is notified from the DMA unit 1 The priority determination unit 44 is notified of the data type for which there is a transmission request (ST11).

優先度判定部44は、パケット処理部2から通知されたデータ種別の優先度を判定し(ST2)、最も優先度の高い最優先データ種別を、送信時間管理部41およびパケット処理部2に通知する(ST12)。   The priority determination unit 44 determines the priority of the data type notified from the packet processing unit 2 (ST2), and notifies the transmission time management unit 41 and the packet processing unit 2 of the highest priority data type with the highest priority. To do (ST12).

送信時間管理部41は、通知された最優先データ種別の現パケット送信時間を送信時間比較部43に通知し(ST13)、また、現在時間検出部42は、現在時間を送信時間比較部43および送信タイミング算出部45に出力する(ST13)。   The transmission time management unit 41 notifies the transmission time comparison unit 43 of the current packet transmission time of the notified highest priority data type (ST13), and the current time detection unit 42 determines that the current time is the transmission time comparison unit 43 and It is output to the transmission timing calculation unit 45 (ST13).

送信時間比較部43は、現パケット送信時間と現在時間を比較し、送信時間に到達しているかどうかを判定し(ST3)、比較結果を優先度判定部44およびパケット処理部2に通知する(ST14)。ここで、送信時間が未達であった場合(ST3:未達)、優先度判定部44に対して優先度判定処理要求を通知し、優先度判定部44は、次の優先度判定処理を実施する。   The transmission time comparison unit 43 compares the current packet transmission time with the current time to determine whether the transmission time has been reached (ST3), and notifies the priority determination unit 44 and the packet processing unit 2 of the comparison result (ST3). ST14). Here, when the transmission time is not reached (ST3: not reached), the priority determination processing request is notified to the priority determination unit 44, and the priority determination unit 44 performs the next priority determination processing. carry out.

一方、送信時間に到達していた場合(ST3:到達)、パケット処理部2は、ST12で通知されたデータ種別のパケット生成処理を開始する。パケット処理部2は、ST10で通知された送信データ情報から、送信負荷情報を送信タイミング算出部45に通知する(ST15)。   On the other hand, when the transmission time has been reached (ST3: arrival), the packet processing unit 2 starts packet generation processing of the data type notified in ST12. The packet processing unit 2 notifies the transmission load information to the transmission timing calculation unit 45 from the transmission data information notified in ST10 (ST15).

DMA部1は、通知されたデータ種別に該当する送信データバッファ11から送信データをパケット処理部2に出力する(ST16)。パケット処理部2は、パケット生成処理を行い(ST4)、パケット生成処理中に次パケットの送信タイミングを算出するために、生成パケットデータサイズを送信タイミング算出部45に通知する(ST17)。   The DMA unit 1 outputs the transmission data to the packet processing unit 2 from the transmission data buffer 11 corresponding to the notified data type (ST16). The packet processing unit 2 performs packet generation processing (ST4), and notifies the generated packet data size to the transmission timing calculation unit 45 (ST17) in order to calculate the transmission timing of the next packet during the packet generation processing.

送信タイミング算出部45は、ST13で通知された現在時間,ST15で通知された送信負荷およびST17で通知された生成パケットデータサイズから次パケット送信時間を算出し(ST5)、送信時間管理部41に通知する(ST18)。パケット処理部2は、パケット生成処理を終了した後、PHY部3に対して送信データを出力する(ST19)。   The transmission timing calculation unit 45 calculates the next packet transmission time from the current time notified in ST13, the transmission load notified in ST15, and the generated packet data size notified in ST17 (ST5). It notifies (ST18). After completing the packet generation process, the packet processing unit 2 outputs transmission data to the PHY unit 3 (ST19).

図4は、図2に示すネットワークインタフェースにおけるDMA部を説明するための図である。図4に示されるように、DMA部1は、送信データバッファ11(Video用バッファ,Audio用バッファおよびJPEG用バッファ)、並びに、送信データ情報格納部12(制御情報用バッファ)を含む。   FIG. 4 is a diagram for explaining a DMA unit in the network interface shown in FIG. As shown in FIG. 4, the DMA unit 1 includes a transmission data buffer 11 (a buffer for video, a buffer for audio and a buffer for JPEG), and a transmission data information storage unit 12 (a buffer for control information).

メモリ(データ格納部)140には、エンコーダ120により符号化されたデータ(Vide(高画質),Vide(低画質),Audio,JPEG(高画質)およびJPEG(低画質))並びに制御情報(メタデータ)が格納されている。   The memory (data storage unit) 140 includes data (Vide (high image quality), Vide (low image quality), Audio, JPEG (high image quality) and JPEG (low image quality)) encoded by the encoder 120 and control information (meta Data) is stored.

そして、メモリ140に格納されたデータおよび制御情報が読み出されて、ネットワークインタフェース150におけるDMA部1の送信データバッファ11および送信データ情報格納部12に格納される。   Then, the data and control information stored in the memory 140 are read out and stored in the transmission data buffer 11 and the transmission data information storage unit 12 of the DMA unit 1 in the network interface 150.

ここで、例えば、参照符号PP1で示されるように、Vide(高画質:高画質の動画データ)とVide(低画質:低画質の動画データ)の同一データ種別でありながら異なる設定のデータ(異なるチャネルのデータ)は、同じ送信データバッファ(11)を共用している。   Here, for example, as indicated by a reference code PP1, data of different settings (different) of the same data type of Vide (high image quality: high quality moving image data) and Vide (low image quality: low image quality moving image data) The channel data) share the same transmission data buffer (11).

また、参照符号PP2で示されるように、JPEG(高画質:高画質の静止画データ)とVide(低画質:低画質の静止画データ)の異なるチャネルのデータも、同じ送信データバッファ(11)を共用している。なお、チャネルとは、同一データ種別(例えば、動画データや静止画データ)における異なる設定(例えば、異なる解像度)のデータを示す。   Also, as indicated by the reference code PP2, data of different channels of JPEG (high image quality: high image quality still image data) and Vide (low image quality: low image quality still image data) are also the same transmission data buffer (11) Share. The channel indicates data of different settings (for example, different resolutions) in the same data type (for example, moving image data or still image data).

図5は、図2に示すネットワークインタフェースによるデータ送信の様子を模式的に示す図である。図5において、参照符号aは、過去の(前回送信した)低画質の動画(映像:Video)データを示し、bは、前回送信した高画質Videoデータを示す。   FIG. 5 is a diagram schematically showing the state of data transmission by the network interface shown in FIG. In FIG. 5, reference symbol a indicates past (previously transmitted) low-quality moving image (video: Video) data, and b indicates high-quality Video data transmitted previously.

また、参照符号c,e,f,hは、これから送信する低画質Videoデータを示し、d,g,i,jは、これから送信する高画質Videoデータを示す。さらに、参照符号I11は、aのデータサイズから算出した送信間隔、I12は、bのデータサイズから算出した送信間隔、そして、I13は、fのデータサイズから算出した送信間隔を示す。ここで、例えば、低画質Videoデータfのサイズが低画質Videoデータaのサイズより大きいと、I13は、I11よりも長くなる。   Further, reference symbols c, e, f, h indicate low-quality video data to be transmitted from now on, and d, g, i, j indicate high-quality video data to be transmitted from now on. Further, reference symbol I11 indicates a transmission interval calculated from the data size of a, I12 indicates a transmission interval calculated from the data size of b, and I13 indicates a transmission interval calculated from the data size of f. Here, for example, when the size of the low image quality Video data f is larger than the size of the low image quality Video data a, I13 is longer than I11.

図5に示されるように、メモリ140には、例えば、エンコーダ120の処理が終わった順番にデータが格納され、すなわち、データは、c,d,e,f,g,h,iの順に格納される。また、DMA部1の内部バッファ(送信データバッファ11)には、例えば、プロセッサから通知される送信要求の順番に従って、メモリ140からデータを読み出して格納される。   As shown in FIG. 5, for example, data is stored in the memory 140 in the order in which the processing of the encoder 120 is finished, that is, data is stored in the order of c, d, e, f, g, h, i. Be done. Further, in the internal buffer (transmission data buffer 11) of the DMA unit 1, for example, data is read from the memory 140 and stored according to the order of transmission requests notified from the processor.

すなわち、DMA部1における送信データバッファ11には、メモリ140に格納されたのと同じc,d,e,f,g,h,iの順に格納される。ここで。例えば、参照符号Xgで示されるように、例えば、高画質Videoデータgが低画質Videoデータeと重なり合うと、高画質Videoデータの本来の送信間隔を守ることが困難になる。また、高画質Videoデータの間に低画質Videoデータが大量に格納されていると、高画質Videoデータの送信間隔がフレーム間隔よりも長くなって、再生が停止する虞がある。   That is, the transmission data buffer 11 in the DMA unit 1 stores the same c, d, e, f, g, h, i in the same order as stored in the memory 140. here. For example, as indicated by the reference code Xg, for example, when the high quality Video data g overlaps the low quality Video data e, it becomes difficult to keep the original transmission interval of the high quality Video data. In addition, when a large amount of low image quality Video data is stored between high image quality Video data, the transmission interval of the high image quality Video data may become longer than the frame interval, and the reproduction may be stopped.

すなわち、一般的に、低画質Videoデータの送信ビットレートは、低い値が設定され、逆に、高画質Videoデータの送信ビットレートは、高い値が設定される。そのため、同じデータサイズの場合、低画質Videoデータであれば、送信間隔は長くなり、高画質Videoデータであれば、送信間隔は短くなる。   That is, generally, the transmission bit rate of low image quality Video data is set to a low value, and conversely, the transmission bit rate of high image quality Video data is set to a high value. Therefore, in the case of the same data size, the transmission interval is long for low quality video data, and the transmission interval is short for high quality video data.

図2および図3を参照して説明した関連技術のネットワークインタフェースでは、同一のデータ種別で異なるチャネルのデータを送信する場合、データ格納部(メモリ)140やDMA部1では、チャネル毎の優先順位や送信タイミングを認識するのが困難である。   In the network interface of the related art described with reference to FIGS. 2 and 3, when data of different channels are transmitted with the same data type, the data storage unit (memory) 140 or the DMA unit 1 prioritizes each channel And it is difficult to recognize the transmission timing.

メモリ140では、エンコード処理が終了したデータから、DMA部1に対して送信要求を実施し、DMA部1は、メモリ140に格納された順番でデータを内部の送信データバッファ11に格納する。   The memory 140 makes a transmission request to the DMA unit 1 from the data for which the encoding process is completed, and the DMA unit 1 stores the data in the internal transmission data buffer 11 in the order stored in the memory 140.

図4を参照して説明したように、DMA部1では、データ種別毎のバッファとなっているため、データ種別毎(例えば、動画,音声,静止画等)の送信順は制御可能であるが、バッファを共用しているチャネル間の送信順を制御するのは困難である。   As described with reference to FIG. 4, since the DMA unit 1 is a buffer for each data type, the transmission order of each data type (for example, moving image, sound, still image, etc.) can be controlled. It is difficult to control the transmission order between channels sharing buffers.

すなわち、図5に示されるような、同じ動画(Video)のデータ種別における高画質Videoと低画質Videoといったチャネル間の送信順を制御するデータのソーティングを行うのは困難となっている。   That is, it is difficult to sort data for controlling the transmission order between channels such as high image quality Video and low image quality Video in the same moving image (Video) data type as shown in FIG.

また、パケット処理部2は、DMA1部における送信データバッファ11に格納された順番にデータを送信するだけであり、送信データバッファ11を共用した場合は、異なるチャネル毎に送信タイミングを制御することは困難である。   Also, the packet processing unit 2 only transmits data in the order stored in the transmission data buffer 11 in the DMA 1 unit, and when the transmission data buffer 11 is shared, it is possible to control the transmission timing for each different channel. Have difficulty.

そのため、例えば、高画質Videoデータが想定している送信間隔よりも送信間隔が広がって、映像のフレーム間隔よりも広くなると、次のフレームデータが受信されるまで再生画面が停止することになる。   Therefore, for example, when the transmission interval is wider than the transmission interval assumed by the high-quality video data and becomes wider than the frame interval of the video, the reproduction screen is stopped until the next frame data is received.

また、例えば、低画質Videoデータは、想定している送信間隔よりも短い間隔で送信されてくるため、受信側(制御端末300)の処理能力を上回るデータ量をバースト的に送信すると、制御端末300でデータの欠落が発生することになる。   Also, for example, since low quality video data is transmitted at intervals shorter than the assumed transmission interval, the control terminal can transmit a data amount exceeding the processing capability of the receiving side (control terminal 300) in burst. At 300, data loss will occur.

以下、データ配信装置およびデータ配信方法の実施例を、添付図面を参照して詳述する。図6は、ネットワークインタフェースの第1実施例を示すブロック図である。   Hereinafter, embodiments of the data delivery apparatus and the data delivery method will be described in detail with reference to the attached drawings. FIG. 6 is a block diagram showing a first embodiment of the network interface.

図6に示されるように、第1実施例のネットワークインタフェース(データ配信装置)250は、DMA部1,パケット処理部2,PHY部3,現在時間検出部42,送信時間比較部43,優先度判定部44および送信タイミング算出部45を含む。   As shown in FIG. 6, the network interface (data delivery apparatus) 250 of the first embodiment includes the DMA unit 1, packet processing unit 2, PHY unit 3, current time detection unit 42, transmission time comparison unit 43, priority. A determination unit 44 and a transmission timing calculation unit 45 are included.

さらに、ネットワークインタフェース250は、チャネルIDフィールドを追加した送信時間管理部46,パケットデータサイズ算出部47および処理開始判定部48を含む。ここで、DMA部1は、ディスクリプタ型DMAとして形成される。   Further, the network interface 250 includes a transmission time management unit 46 to which a channel ID field is added, a packet data size calculation unit 47, and a processing start determination unit 48. Here, the DMA unit 1 is formed as a descriptor type DMA.

前述したように、DMA部1は、例えば、メモリ(データ格納部)140から画像データや制御情報等のデータを読み出してパケット処理部2に転送するもので、送信データバッファ13および送信データ情報格納部14を含む。   As described above, the DMA unit 1 reads data such as image data and control information from the memory (data storage unit) 140 and transfers the data to the packet processing unit 2, for example. The transmission data buffer 13 and transmission data information storage Part 14 is included.

ここで、本第1実施例における送信データバッファ13および送信データ情報格納部14は、図2を参照して説明した関連技術における送信データバッファ11および送信データ情報格納部12のように、それぞれのデータ種別に対応する#0〜#nを設けなくてもよい。   Here, the transmission data buffer 13 and the transmission data information storage unit 14 in the first embodiment are the same as the transmission data buffer 11 and the transmission data information storage unit 12 in the related art described with reference to FIG. It is not necessary to provide # 0 to #n corresponding to the data type.

パケット処理部2は、DMA部1から転送されたデータを受け取り、ネットワークの規格に従ったパケットを生成してPHY部3に出力するもので、送信要求検出部21およびパケット生成部22を含む。   The packet processing unit 2 receives the data transferred from the DMA unit 1, generates a packet conforming to the standard of the network, and outputs the packet to the PHY unit 3. The packet processing unit 2 includes a transmission request detection unit 21 and a packet generation unit 22.

なお、図6と、前述した図2の比較から明らかなように、パケット生成部22には、パケットデータサイズ算出部47から、1パケットを生成するためのデータサイズが入力される。   As apparent from the comparison between FIG. 6 and FIG. 2 described above, the packet generation unit 22 receives, from the packet data size calculation unit 47, a data size for generating one packet.

すなわち、本第1実施例のネットワークインタフェース250において、送信時間管理部46は、優先度判定部44から通知される最優先データ種別からチャネルIDを選択する機能が追加されている。   That is, in the network interface 250 of the first embodiment, the transmission time management unit 46 additionally has a function of selecting a channel ID from the highest priority data type notified from the priority determination unit 44.

また、処理開始判定部48は、送信時間管理部46から通知されるチャネルIDと送信時間比較部43から通知される比較結果に基づいて、通知されたチャネルIDの送信処理を開始するかどうかの判定を行う機能を有する。さらに、処理開始判定部48は、その判定結果とチャネルIDをパケット処理部2に通知し、チャネルIDをパケットデータサイズ算出部47に通知する機能を有する。   In addition, whether the processing start determination unit 48 starts transmission processing of the notified channel ID based on the channel ID notified from the transmission time management unit 46 and the comparison result notified from the transmission time comparison unit 43 It has a function to make a judgment. Furthermore, the processing start determination unit 48 has a function of notifying the packet processing unit 2 of the determination result and the channel ID, and notifying the packet data size calculation unit 47 of the channel ID.

パケットデータサイズ算出部47は、処理開始判定部48からのチャネルIDにより1パケットを生成するためのデータサイズを算出する機能を有し、算出した1パケット生成するためのデータサイズとチャネルIDをパケット処理部2に通知する。なお、DMA部1に搭載されるデータ種別毎の送信データバッファ13および送信データ情報格納部14は、1つずつ設けられている。   The packet data size calculation unit 47 has a function of calculating the data size for generating one packet based on the channel ID from the processing start determination unit 48, and the packet has the calculated data size for generating one packet and the channel ID The processing unit 2 is notified. The transmission data buffer 13 and the transmission data information storage unit 14 for each data type installed in the DMA unit 1 are provided one by one.

図7は、図6に示すネットワークインタフェースの動作の一例を説明するためのフローチャートであり、図6および図7を参照して、第1実施例のネットワークインタフェース250を説明する。なお、図6および図7において、各処理(ステップST20〜ST31)は、それぞれ対応するものを示している。   FIG. 7 is a flow chart for explaining an example of the operation of the network interface shown in FIG. 6, and the network interface 250 of the first embodiment will be described with reference to FIGS. 6 and 7, each process (steps ST20 to ST31) indicates the corresponding process.

図6および図7に示されるように、データ格納部(メモリ)140が送信データ情報を設定して送信要求を行う。図2および図3を参照して説明した関連技術のネットワークインタフェース150は、DMA部1が送信要求を受けると、データ格納部140から送信要求のあったデータ種別のデータをDMA内1に搭載されたデータ種別毎の送信データバッファ11に転送する。   As shown in FIGS. 6 and 7, the data storage unit (memory) 140 sets transmission data information and makes a transmission request. When DMA unit 1 receives a transmission request, network interface 150 of the related art described with reference to FIGS. 2 and 3 loads the data of the data type requested for transmission from data storage unit 140 into DMA 1. The data is transferred to the transmission data buffer 11 for each data type.

これに対して、第1実施例のネットワークインタフェース250において、DMA部1は、どのデータ種別の送信要求があったかだけをパケット処理部2に通知する。すなわち、まず、パケット処理部2は、DMA部1から通知された送信要求があるデータ種別を優先度判定部44に通知する(ST20)。   On the other hand, in the network interface 250 of the first embodiment, the DMA unit 1 notifies the packet processing unit 2 of only which data type transmission request has been made. That is, first, the packet processing unit 2 notifies the priority determination unit 44 of the data type for which there is a transmission request notified from the DMA unit 1 (ST20).

優先度判定部44は、パケット処理部2から通知されたデータ種別の優先度を判定(ST2)し、送信時間管理部46に最優先データ種別を通知する(ST21)。送信時間管理部46は、優先度判定部44から通知された最優先データ種別から、最優先チャネルIDを判定し、処理開始判定部48にチャネルIDを通知し(ST22)、送信時間比較部43に該当チャネルの現パケット送信時間を通知する(ST22)。また、現在時間検出部42は、現在時間を送信時間比較部43と送信タイミング算出部45に通知する(ST22)。   The priority determination unit 44 determines the priority of the data type notified from the packet processing unit 2 (ST2), and notifies the transmission time management unit 46 of the highest priority data type (ST21). The transmission time management unit 46 determines the highest priority channel ID from the highest priority data type notified from the priority determination unit 44, notifies the processing start determination unit 48 of the channel ID (ST22), and the transmission time comparison unit 43 The current packet transmission time of the corresponding channel is notified to (ST22). Further, the current time detection unit 42 notifies the transmission time comparison unit 43 and the transmission timing calculation unit 45 of the current time (ST22).

送信時間比較部43は、送信時間管理部46から通知された現パケット送信時間と、現在時間検出部42から通知された現在時間を比較し、送信時間に到達しているかどうかを判定する(ST3)。   The transmission time comparison unit 43 compares the current packet transmission time notified from the transmission time management unit 46 with the current time notified from the current time detection unit 42, and determines whether the transmission time has been reached (ST3) ).

そして、送信時間比較部43は、その比較結果を処理開始判定部48と優先度判定部44に通知する(ST23)。送信時間が未達であった場合(ST3:未達)、優先度判定処理(ST2)に戻り、次の最優先データ種別を判定する。   Then, the transmission time comparison unit 43 notifies the processing start determination unit 48 and the priority determination unit 44 of the comparison result (ST23). If the transmission time has not reached (ST3: not reached), the process returns to the priority determination process (ST2) to determine the next highest priority data type.

一方、送信時間に到達していた、若しくは、超過していた場合(ST3:到達)、処理開始判定部48は、送信時間管理部46から通知されたチャネルID(ST22)をパケットデータサイズ算出部47とパケット処理部2に通知する(ST24)。さらに、処理開始判定部48は、パケット処理部2に処理開始の判定結果を通知し(ST24)、パケット生成処理開始を要求する。   On the other hand, if the transmission time has been reached or exceeded (ST3: arrival), the processing start determination unit 48 determines the channel ID (ST22) notified from the transmission time management unit 46 as the packet data size calculation unit 47 and the packet processor 2 (ST24). Furthermore, the process start determination unit 48 notifies the packet processing unit 2 of the determination result of the process start (ST24), and requests the packet generation process start.

パケットデータサイズ算出部47は、処理開始判定部48から通知されたチャネルIDから、そのチャネルのデータ種別で1パケット生成するためのデータサイズを算出し(ST6)、DMA部とパケット処理部に通知する(ST25)。さらに、処理開始判定部48から通知されたチャネルIDを、DMA部1に通知する(ST25)。   The packet data size calculation unit 47 calculates the data size for generating one packet according to the data type of the channel from the channel ID notified from the processing start determination unit 48 (ST6), and notifies the DMA unit and packet processing unit To do (ST25). Further, the channel ID notified from the processing start determination unit 48 is notified to the DMA unit 1 (ST 25).

DMA部1は、パケットデータサイズ算出部47から通知されたデータサイズ分だけをデータ格納部140からDMA部1の内部バッファに格納(送信データバッファ13)に格納する(ST7)。そして、格納したデータサイズとその他の制御情報(送信データ情報格納部14の情報)をパケット処理部2に通知する(ST26)。   The DMA unit 1 stores only the data size notified from the packet data size calculation unit 47 from the data storage unit 140 into the internal buffer of the DMA unit 1 (transmission data buffer 13) (ST7). Then, the packet processing unit 2 is notified of the stored data size and other control information (information of the transmission data information storage unit 14) (ST26).

パケット処理部2は、送信負荷を送信タイミング算出部45に通知し(ST27)、DMA部1は、送信データをパケット処理部に転送する(ST28)。パケット処理部2は、パケット生成処理を開始し(ST4)、その際、算出した生成パケットデータサイズを送信タイミング算出部45に通知する(ST29)。   The packet processing unit 2 notifies the transmission load to the transmission timing calculation unit 45 (ST27), and the DMA unit 1 transfers the transmission data to the packet processing unit (ST28). The packet processing unit 2 starts packet generation processing (ST4), and at that time, notifies the transmission timing calculation unit 45 of the calculated generated packet data size (ST29).

送信タイミング算出部45は、現在時間検出部42から通知された現在時間ST23)と、パケット処理部2から通知された送信負荷(ST27)と、パケット処理部2から通知された生成パケットデータサイズ(ST29)から次パケットの送信時間を算出する(ST5)。   The transmission timing calculation unit 45 calculates the current time ST23 notified from the current time detection unit 42, the transmission load (ST27) notified from the packet processing unit 2, and the generated packet data size notified from the packet processing unit 2 (ST23). The transmission time of the next packet is calculated from ST29) (ST5).

さらに、送信タイミング算出部45は、次パケットの送信時間を送信時間管理部46に通知する(ST30)。送信時間管理部46は、送信するチャネルIDの送信時間を送信タイミング算出部45から通知された次パケット送信時間に更新する。そして、パケット処理部2は、生成したパケットの送信データをPHY部3に出力する。   Furthermore, the transmission timing calculation unit 45 notifies the transmission time management unit 46 of the transmission time of the next packet (ST30). The transmission time management unit 46 updates the transmission time of the channel ID to be transmitted to the next packet transmission time notified from the transmission timing calculation unit 45. Then, the packet processing unit 2 outputs the generated transmission data of the packet to the PHY unit 3.

このように、第1実施例のネットワークインタフェースによれば、パケットデータサイズ算出部47は、送信するチャネルIDと1パケットを生成するのためのデータサイズをDMA部1に通知する。   As described above, according to the network interface of the first embodiment, the packet data size calculation unit 47 notifies the DMA unit 1 of the channel ID to be transmitted and the data size for generating one packet.

DMA部1は、指定されたチャネルIDのデータを通知されたデータサイズ分だけメモリ(データ格納部)140から取得することにより、DMA部1の内部に設ける送信データバッファ13の数(容量)を増加させることなく、チャネル毎に送信タイミング制御をすることができるようになる。   The DMA unit 1 obtains the number (capacity) of the transmission data buffers 13 provided in the DMA unit 1 by acquiring data of the designated channel ID from the memory (data storage unit) 140 by the notified data size. Transmission timing control can be performed for each channel without increasing it.

図8は、図6に示すネットワークインタフェースによるデータ送信の様子を模式的に示す図であり、前述した図5に相当する図である。図8において、参照符号aは、過去の(前回送信した)低画質の動画(映像:Video)データを示し、bは、前回送信した高画質Videoデータを示す。   FIG. 8 is a diagram schematically showing the state of data transmission by the network interface shown in FIG. 6, and is a diagram corresponding to FIG. 5 described above. In FIG. 8, reference symbol a indicates past (previously transmitted) low-quality moving image (video: Video) data, and b indicates high-quality Video data transmitted previously.

また、参照符号c,e,f,hは、これから送信する低画質Videoデータを示し、d,g,i,jは、これから送信する高画質Videoデータを示す。さらに、参照符号I21は、aのデータサイズから算出した低画質Videoの送信間隔、I22は、高画質Videoのbのデータサイズから算出した送信間隔、そして、I23は、gのデータサイズから算出した高画質Videoの送信間隔を示す。ここで、I23は、gのデータサイズが大きいので、I22よりも長くなる。   Further, reference symbols c, e, f, h indicate low-quality video data to be transmitted from now on, and d, g, i, j indicate high-quality video data to be transmitted from now on. Furthermore, reference code I21 is the transmission interval of the low image quality Video calculated from the data size of a, I22 is the transmission interval calculated from the data size of b of the high image quality Video, and I23 is calculated from the data size of g Indicates the transmission interval of high quality video. Here, I23 is longer than I22 because the data size of g is large.

そして、参照符号I24は、eのデータサイズから算出した低画質Videoの送信間隔、I25は、fのデータサイズから算出した低画質Videoの送信間隔を示す。ここで、I24は、eのずらした時間を考慮すると、I24が小さくなってしまい、受信側(制御端末300)の負荷が一時的に大きくなるので、eを送信した時間を新基準時間とし、fの送信時間を定める。また、I25は、fのデータサイズが大きいので、I24よりも長くなる。   The reference code I24 indicates the transmission interval of the low image quality Video calculated from the data size of e, and I25 indicates the transmission interval of the low image quality Video calculated from the data size of f. Here, I24 becomes small as I24 becomes small when the shifted time of e is taken into consideration, and the load on the receiving side (control terminal 300) temporarily increases, so the time of sending e is set as a new reference time, Determine the transmission time of f. In addition, I25 is longer than I24 because the data size of f is large.

図8に示されるように、メモリ140には、例えば、エンコーダ120の処理が終わった順番にデータが格納され、すなわち、データは、c,d,e,f,g,h,iの順に格納される。   As shown in FIG. 8, for example, data is stored in the memory 140 in the order in which the processing of the encoder 120 is completed, that is, data is stored in the order of c, d, e, f, g, h, i. Be done.

しかしながら、本実施例において、DMA部1の内部バッファ(送信データバッファ13)には、例えば、プロセッサから通知される送信要求の順番ではなく、パケット処理部2から通知される順番に従って、メモリ140からデータを読み出して格納される。   However, in the present embodiment, the internal buffer (transmission data buffer 13) of the DMA unit 1 receives, for example, the order from the memory 140 according to the order notified from the packet processing unit 2 instead of the order of transmission requests notified from the processor. Data is read and stored.

すなわち、DMA部1における送信データバッファ13には、メモリ140に格納されたのとは異なり、d,c,g,i,e,j,f,hの順に格納される。ここで。例えば、参照符号Xeで示されるように、例えば、低画質Videoデータeが高画質Videoデータiと送信時間が衝突した場合は、例えば、新た締め定められた優先度に従って処理の順番を決定する。   That is, unlike the data stored in the memory 140, the transmission data buffer 13 in the DMA unit 1 is stored in the order of d, c, g, i, e, j, f, h. here. For example, as indicated by the reference symbol Xe, for example, when the low image quality Video data e collides with the high image quality Video data i for the transmission time, for example, the order of processing is determined according to the newly determined priority.

すなわち、低画質Videoデータeの処理を、高画質Videoデータiの処理を待って行う。これにより、DMA部1の内部に設ける送信データバッファ13の数を増加させることなく、チャネル毎に送信タイミング制御をすることが可能になる。   That is, processing of the low quality video data e is performed after processing of the high quality video data i. As a result, it is possible to control transmission timing for each channel without increasing the number of transmission data buffers 13 provided inside the DMA unit 1.

図9は、関連技術および第1実施例のネットワークインタフェースにおける送信時間管理テーブルを比較して説明するための図である。   FIG. 9 is a diagram for comparing and explaining transmission time management tables in the related art and the network interface of the first embodiment.

ここで、図9(a)は、前述した図2に示す関連技術のネットワークインタフェース150における送信時間管理部41の送信時間管理テーブル(送信時間管理部41)を示す。また、図9(b)は、前述した図6に示す第1実施例のネットワークインタフェース250における送信時間管理テーブル(チャネルIDフィールドを追加した送信時間管理部46)を示す。   Here, FIG. 9A shows a transmission time management table (transmission time management unit 41) of the transmission time management unit 41 in the network interface 150 of the related art shown in FIG. 2 described above. 9B shows a transmission time management table (transmission time management unit 46 to which a channel ID field is added) in the network interface 250 of the first embodiment shown in FIG. 6 described above.

図9(a)に示されるように、関連技術の送信時間管理テーブルには、データ種別(Video,Audio,JPEG,制御,…)と、それに対応した次パケット送信時間(Tvideo,Taudio,Tjpeg,Tctrl,…)が格納されるのみである。換言すると、関連技術の送信時間管理テーブルでは、DMA部1の中間バッファ毎(送信データバッファ11のデータ種別毎)に送信時間を管理するだけである。   As shown in FIG. 9A, in the transmission time management table of the related art, data types (Video, Audio, JPEG, Control,...) And corresponding packet transmission times (Tvideo, Taudio, Tjpeg, Tctrl, ...) is only stored. In other words, the transmission time management table of the related art only manages the transmission time for each intermediate buffer of the DMA unit 1 (for each data type of the transmission data buffer 11).

すなわち、関連技術のネットワークインタフェース150では、優先度判定部44(或いは、テーブルアドレス生成部)から最優先データ種別情報を取得し、該当するデータ種別の次パケット送信時間を送信時間比較部43に出力する。さらに、送信するパケットを生成した後、該当するデータ種別の次パケット送信時間を、送信タイミング算出部45から取得した次パケット送信時間に更新する。   That is, in the network interface 150 of the related art, the highest priority data type information is acquired from the priority determination unit 44 (or table address generation unit), and the next packet transmission time of the corresponding data type is output to the transmission time comparison unit 43 Do. Furthermore, after generating the packet to be transmitted, the next packet transmission time of the corresponding data type is updated to the next packet transmission time acquired from the transmission timing calculation unit 45.

これに対して、図9(b)に示されるように、第1実施例の送信時間管理テーブル(第1送信時間管理テーブル46)には、チャネルIDフィールドが追加されている。ここで、チャネルIDは、例えば、同じデータ種別であっても同じ値が使用されることはない。なお、図9(b)は、単なる例であり、チャネルID毎に送信時間が管理されていれば、様々な変形および変更が可能なのはいうまでもない。   On the other hand, as shown in FIG. 9B, a channel ID field is added to the transmission time management table (first transmission time management table 46) of the first embodiment. Here, as the channel ID, for example, the same value is not used even if the data type is the same. Note that FIG. 9B is a mere example, and it goes without saying that various modifications and changes can be made if the transmission time is managed for each channel ID.

すなわち、本第1実施例のネットワークインタフェース250において、送信時間管理テーブルには、データ種別と、チャネルID(0,1,2,…)と、チャネルIDに対応した次パケット送信時間(Tvideo_0,Tvideo_1,Tvideo_2,…)が格納されている。   That is, in the network interface 250 of the first embodiment, the transmission time management table includes data types, channel IDs (0, 1, 2,...), And next packet transmission time (Tvideo_0, Tvideo_1) corresponding to the channel ID. , Tvideo_2, ...) are stored.

そして、本第1実施例のネットワークインタフェース250では、優先度判定部44(或いは、テーブルアドレス生成部)から最優先データ種別情報を取得し、該当するデータ種別に属するチャネルIDの中から最も高いチャネルIDの次パケット送信時間を選択する。さらに、優先度判定部44は、最も高いチャネルIDの次パケット送信時間を送信時間比較部43に出力し、チャネルIDを処理開始判定部48に出力する。   Then, in the network interface 250 of the first embodiment, the highest priority data type information is acquired from the priority determination unit 44 (or table address generation unit), and the highest channel among the channel IDs belonging to the corresponding data type. Select the next packet transmission time of ID. Furthermore, the priority determination unit 44 outputs the next packet transmission time of the highest channel ID to the transmission time comparison unit 43 and outputs the channel ID to the processing start determination unit 48.

さらに、送信するパケットを生成した後、該当するチャネルIDの次パケット送信時間を、送信タイミング算出部45から取得した次パケット送信時間に更新する。なお、チェナルIDの個数、或いは、どのチャネルIDがどのデータ種別に属するかは、例えば、システムで予め決められている。また、チャネルID間の優先度に関しては、システムにより予め決定することもできるが、同一優先度としてもよい。   Furthermore, after generating a packet to be transmitted, the next packet transmission time of the corresponding channel ID is updated to the next packet transmission time acquired from the transmission timing calculation unit 45. Note that the number of channel IDs, or which channel ID belongs to which data type, is determined in advance by the system, for example. Further, the priority between channel IDs can be determined in advance by the system, but may be the same priority.

図10は、図6に示すネットワークインタフェースにおける処理開始判定部の動作を説明するための図である。図10に示されるように、処理開始判定部48は、送信時間管理テーブル(チャネルIDフィールドを追加した送信時間管理部46)からチャネルIDを取得する。   FIG. 10 is a diagram for explaining the operation of the processing start determination unit in the network interface shown in FIG. As shown in FIG. 10, the process start determination unit 48 acquires the channel ID from the transmission time management table (the transmission time management unit 46 to which the channel ID field is added).

さらに、処理開始判定部48は、送信時間比較部43から送信時間と現在時間の比較結果(送信時間比較結果)を受け取る。ここで、送信時間比較結果が、現在時間≧次パケット送信時間が成立する場合は、パケット処理部2に対して、チャネルIDと共に、パケット処理開始の判定結果を通知する。   Furthermore, the processing start determination unit 48 receives the comparison result (transmission time comparison result) of the transmission time and the current time from the transmission time comparison unit 43. Here, when the transmission time comparison result indicates that the current time ≧ the next packet transmission time is satisfied, the packet processing unit 2 is notified of the determination result of the packet processing start together with the channel ID.

一方、送信時間比較結果が、現在時間<次パケット送信時間が成立する場合は、未だ送信時間に達していないため、送信時間比較部43が優先度判定部44に対して、次の優先度判定を実施する比較結果を通知する。なお、現在時間と次パケット送信時間の比較は、例えば、カウンタを使用し、カウンタ値を比較することにより行うことができる。   On the other hand, if the transmission time comparison result satisfies the current time <the next packet transmission time, the transmission time comparison unit 43 does not reach the transmission time, so the transmission time comparison unit 43 determines the next priority with respect to the priority determination unit 44. Report the comparison result to carry out. The current time and the next packet transmission time can be compared, for example, by using a counter and comparing counter values.

図11は、パケットフォーマットの一例を説明するための図であり、一般的なパケットフォーマットの一例を示すものである。図11に示されるように、1つのパケットPFは、例えば、PF1〜PF4を含む。   FIG. 11 is a diagram for explaining an example of the packet format, and shows an example of a general packet format. As shown in FIG. 11, one packet PF includes, for example, PF1 to PF4.

ここで、PF1は、データ種別に関係なくほぼ固定サイズの部分であり、PF2は、データ種別により大きさが変化する部分である。PF1は、例えば、イーサネット(登録商標)におけるIP(Internet Protocol),TCP(Transmission Control Protocol)/UDP(User Data Protocol)ヘッダおよびRTP(Real-time Transport Protocol)ヘッダを含む。また、PF2は、例えば、データ種別ごとの特殊ヘッダである。   Here, PF1 is a portion of substantially fixed size regardless of the data type, and PF2 is a portion whose size changes depending on the data type. The PF1 includes, for example, Internet Protocol (IP) in Ethernet (registered trademark), Transmission Control Protocol (TCP) / User Data Protocol (UDP) header, and Real-time Transport Protocol (RTP) header. Also, PF2 is, for example, a special header for each data type.

さらに、PF3は、ペイロード(Payload)を示し、例えば、パケットの総サイズのうち、宛先アドレスや発信元アドレスなどの管理情報(ヘッダ情報)を除いたデータのことである。なお、CRC(Cyclic Redundancy Check)は、データ種別に関係なく固定長であり、例えば、データ転送などに伴う誤り検出に使用される。   Furthermore, PF3 indicates a payload (Payload), which is, for example, data excluding management information (header information) such as a destination address and a source address from the total size of the packet. Note that CRC (Cyclic Redundancy Check) has a fixed length regardless of the data type, and is used, for example, for error detection accompanying data transfer and the like.

このように、パケットフォーマットには、データ種別によらず一定サイズのヘッダと、データ種別により異なるサイズのヘッダが存在する。また、1パケットのデータサイズの上限は、システムにより決定されているため、ペイロード部分(PF3)の大きさは、データ種別により変化するのが分かる。   As described above, in the packet format, there are a header of a fixed size regardless of the data type and a header of a different size according to the data type. Further, since the upper limit of the data size of one packet is determined by the system, it can be seen that the size of the payload part (PF3) changes depending on the data type.

図12は、データ格納部とDMA部の送信データバッファの動作を、関連技術と第1実施例との差異を示しつつ説明するための図である。ところで、例えば、図2を参照して説明した関連技術のように、パケットデータサイズ算出部47が設けられていないと、DMA部1は、データ格納部140から通知されたデータサイズ分だけ、送信データバッファ11(13)にデータを格納する。   FIG. 12 is a diagram for explaining the operation of the transmission data buffer of the data storage unit and the DMA unit while showing the difference between the related art and the first embodiment. By the way, for example, as in the related art described with reference to FIG. 2, if the packet data size calculation unit 47 is not provided, the DMA unit 1 transmits only the data size notified from the data storage unit 140. The data is stored in the data buffer 11 (13).

そして、送信データサイズ≦ペイロードサイズのとき、データ格納部140に格納されているデータを全て送信してもパケットデータサイズ上限を超えないので、DMA部1の送信データバッファ11(13)に残留データはない。   When transmission data size ≦ payload size, even if all data stored in data storage unit 140 is transmitted, it does not exceed the packet data size upper limit, the residual data in transmission data buffer 11 (13) of DMA unit 1 There is no.

しかしながら、送信データサイズ>ペイロードサイズのとき、データ格納部140に格納されているデータを全て送信する前にパケットデータサイズ上限に達するため、DMA部1の送信データバッファ11(13)にデータが残留してしまう。   However, when transmission data size> payload size, the packet data size upper limit is reached before transmitting all the data stored in the data storage unit 140, so data remains in the transmission data buffer 11 (13) of the DMA unit 1 Resulting in.

すなわち、DMA部1の送信データバッファ11(13)が空にならないと、次のチャネルのデータを転送することができず、送信タイミングを制御していることから、次の送信時間にならないと、送信データバッファ11(13)から送信データを取得することが困難になる。   That is, unless the transmission data buffer 11 (13) of the DMA unit 1 becomes empty, the data of the next channel can not be transferred, and since the transmission timing is controlled, the next transmission time does not arrive. It becomes difficult to obtain transmission data from the transmission data buffer 11 (13).

このように、データサイズがそのチャネルが属するデータ種別のペイロードデータサイズよりも大きいと、パケット処理部が1パケットを生成する際、DMA部の送信データバッファにデータが残留している状態でパケットデータサイズの上限値に達してしまう。   As described above, when the data size is larger than the payload data size of the data type to which the channel belongs, packet data in a state where data remains in the transmission data buffer of the DMA unit when the packet processing unit generates one packet. It reaches the upper limit of the size.

このように、DMA部1の送信データバッファ11(13)にデータが残留している状態では、データ格納部140に格納されている他のチャネルの送信データを処理することが困難になる。結果として、DMA部1の送信データバッファ11(13)に格納されている残留データが処理され、DMA部1の送信データバッファ11(13)が空になるまでは、完全に送信が止まってしまう。   As described above, when data remains in the transmission data buffer 11 (13) of the DMA unit 1, it becomes difficult to process transmission data of other channels stored in the data storage unit 140. As a result, the residual data stored in the transmission data buffer 11 (13) of the DMA unit 1 is processed, and transmission completely stops until the transmission data buffer 11 (13) of the DMA unit 1 becomes empty. .

そして、例えば、この完全に送信が止まってしまう時間が動画の1フレーム時間よりも長い場合、受信側では次のフレームのデータが受信されないことになるので、動画の再生が止まってしまうことになる。すなわち、受信側(制御端末300)においては、期待したタイミングデータが到達しないため、例えば、動画の再生が停止するといった問題が発生することになる。   Then, for example, when the time when the transmission completely stops is longer than one frame time of the moving image, the data of the next frame is not received on the receiving side, so the reproduction of the moving image is stopped. . That is, on the receiving side (the control terminal 300), since the expected timing data does not arrive, for example, there arises a problem that the reproduction of the moving image is stopped.

これに対して、図6を参照して説明したように、本第1実施例のネットワークインタフェース250には、パケットデータサイズ算出部47が設けられている。そして、ペイロードPF3の大きさは、例えば、チャネルIDからデータ種別を判定し、パケットデータサイズ算出部47により算出されるようになっている。   On the other hand, as described with reference to FIG. 6, a packet data size calculation unit 47 is provided in the network interface 250 of the first embodiment. The size of the payload PF3 is calculated by, for example, the packet data size calculation unit 47 by determining the data type from the channel ID.

すなわち、本第1実施例において、パケットデータサイズ算出部47は、処理開始判定部48から通知されたチャネルIDによりデータ種別を判定し、1パケットを生成するデータサイズの上限値を算出する。   That is, in the first embodiment, the packet data size calculation unit 47 determines the data type based on the channel ID notified from the processing start determination unit 48, and calculates the upper limit value of the data size for generating one packet.

換言すると、パケットデータサイズ算出部47は、図11におけるペイロードPF3の部分のデータサイズを算出し、その算出結果を、パケット処理部2およびDMA部1に通知する。   In other words, the packet data size calculation unit 47 calculates the data size of the portion of the payload PF3 in FIG. 11, and notifies the packet processing unit 2 and the DMA unit 1 of the calculation result.

このように、本第1実施例によれば、パケットデータサイズ算出部47では、パケット処理部2が1パケットを処理した後に、DMA部1の送信データバッファ13に残留送信データが残らないように制御する。   As described above, according to the first embodiment, in the packet data size calculation unit 47, no residual transmission data is left in the transmission data buffer 13 of the DMA unit 1 after the packet processing unit 2 processes one packet. Control.

すなわち、パケットデータサイズ算出部47は、通知されたチャネルIDから1パケットを生成するためのデータサイズを算出し、DMA部1とパケット処理部2に通知する。   That is, the packet data size calculation unit 47 calculates the data size for generating one packet from the notified channel ID, and notifies the DMA unit 1 and the packet processing unit 2 of the data size.

これによりDMA部1は、1パケットを生成するためのデータサイズ分だけをDMA部1の送信データバッファ13にデータを格納することができ、1パケット生成後にDMA部1の送信データバッファ13に送信データが残留しないようにすることができる。   As a result, the DMA unit 1 can store data in the transmission data buffer 13 of the DMA unit 1 for the data size for generating one packet, and transmits it to the transmission data buffer 13 of the DMA unit 1 after one packet is generated. Data can be prevented from remaining.

ところで、上述した第1実施例では、パケットデータサイズ算出部47がDMA部1に送信すべきチャネルIDを通知するが、例えば、処理の関係でそのチャネルIDの送信データが存在しない場合が考えられる。   In the first embodiment described above, the packet data size calculation unit 47 notifies the DMA unit 1 of the channel ID to be transmitted, but there may be cases, for example, where there is no transmission data of that channel ID due to processing. .

その場合、DMA部1は、通知されたチャネルIDの送信データがデータ格納部140に格納されるまで待つことになり、通知されたチャネルIDの送信データがデータ格納部140に格納されるまで送信が止まる虞がある。なお、送信が止まることによる影響は、前述した通りである。   In that case, the DMA unit 1 waits until transmission data of the notified channel ID is stored in the data storage unit 140, and transmission is performed until transmission data of the notified channel ID is stored in the data storage unit 140. May stop. The influence of the stop of the transmission is as described above.

図13は、ネットワークインタフェースの第2実施例を示すブロック図であり、通知されたチャネルIDの送信データがデータ格納部140に格納されるまで送信が止まるのを防止するようにしたものである。   FIG. 13 is a block diagram showing a second embodiment of the network interface, which prevents transmission from being stopped until transmission data of the notified channel ID is stored in the data storage unit 140. As shown in FIG.

図13と、前述した図6の比較から明らかなように、本第2実施例のネットワークインタフェース350では、DMA部1にチャネルID走査部(第1チャネルID走査部)15が設けられている。チャネルID走査部15は、パケットデータサイズ算出部47から通知されたチャネルIDの送信データが、送信データ情報格納部14に格納された送信データ情報により送信要求されているかどうかを走査(調査)する。   As apparent from the comparison between FIG. 13 and FIG. 6 described above, in the network interface 350 of the second embodiment, the DMA unit 1 is provided with a channel ID scanning unit (first channel ID scanning unit) 15. The channel ID scanning unit 15 scans (examines) whether transmission data of the channel ID notified from the packet data size calculation unit 47 is requested for transmission by the transmission data information stored in the transmission data information storage unit 14. .

すなわち、チャネルID走査部15は、パケットデータサイズ算出部47からのチャネルIDの通知を受け取り(ST25)、該当チャネルIDが存在するかどうかをDMA部1の送信データ情報格納部14の情報を走査(スキャン)する。さらに、チャネルID走査部15は、走査結果を処理開始判定部48に通知する(ST32)。   That is, the channel ID scanning unit 15 receives the notification of the channel ID from the packet data size calculation unit 47 (ST25), and scans the information of the transmission data information storage unit 14 of the DMA unit 1 whether or not the corresponding channel ID exists. (to scan. Further, the channel ID scanning unit 15 notifies the processing start determination unit 48 of the scanning result (ST32).

処理開始判定部48は、DMA部1のチャネルID走査部15の走査結果から、送信すべきチャネルIDのデータの送信要求があれば、パケット処理部2に対してチャネルIDとパケット生成処理を開始する判定結果を通知する(ST24)。   The processing start determination unit 48 starts the channel ID and packet generation processing for the packet processing unit 2 if there is a transmission request for data of the channel ID to be transmitted from the scanning result of the channel ID scanning unit 15 of the DMA unit 1 The determination result is notified (ST24).

なお、処理開始判定部48は、チャネルID走査部15の走査結果から、送信するチャネルIDのデータの送信要求がなければ、優先度判定部44に対して次の優先度判定を開始する判定結果を通知する(ST33)。   It should be noted that the processing start determination unit 48 determines that the priority determination unit 44 starts the next priority determination if there is no request for transmission of data of the channel ID to be transmitted from the scanning result of the channel ID scanning unit 15. Is notified (ST33).

図14は、図13に示すネットワークインタフェースの変形例を示すブロック図であり、図13におけるDMA部1に設けたチャネルID走査部(第1チャネルID走査部)15を、チャネルID走査部(第2チャネルID走査部)16としたものである。   FIG. 14 is a block diagram showing a modification of the network interface shown in FIG. 13, and the channel ID scanning unit (first channel ID scanning unit) 15 provided in the DMA unit 1 in FIG. 2-channel ID scanning unit 16).

図14と、上述した図13の比較から明らかなように、本変形例のネットワークインタフェース450において、DMA部1は、データ格納部140から送信要求を通知されると、該当チャネルIDが存在するかどうか、送信データ情報格納部14の情報を走査する。   As apparent from the comparison between FIG. 14 and FIG. 13 described above, in the network interface 450 of this modification, when the DMA unit 1 is notified of the transmission request from the data storage unit 140, does the corresponding channel ID exist? The information in the transmission data information storage unit 14 is scanned.

すなわち、チャネルID走査部16は、送信データ情報格納部14の走査結果を踏まえて送信要求をパケット処理部2に通知すると共に、データ格納部140に格納されている全チャネルID(格納チャネルID)を通知する。   That is, the channel ID scanning unit 16 notifies the packet processing unit 2 of the transmission request based on the scanning result of the transmission data information storage unit 14, and all channel IDs (storage channel IDs) stored in the data storage unit 140. To notify.

パケット処理部2(パケット生成部22)は、通知された格納チャネルIDを優先度判定部44に通知し(ST20)、優先度判定部44は、通知された格納チャネルIDから最優先データ種別のチャネルIDを選択し、送信時間管理部46に通知する(ST21)。   The packet processing unit 2 (packet generation unit 22) notifies the notified storage channel ID to the priority determination unit 44 (ST20), and the priority determination unit 44 transmits the notified storage channel ID to the highest priority data type. The channel ID is selected and notified to the transmission time management unit 46 (ST21).

このように、図13に示すネットワークインタフェース(データ配信装置)の第2実施例、並びに、図14に示すその変形例によれば、通知されたチャネルIDの送信データがデータ格納部に格納されるまで送信が止まるのを防止することが可能になる。   Thus, according to the second embodiment of the network interface (data distribution apparatus) shown in FIG. 13 and the modification thereof shown in FIG. 14, the transmission data of the notified channel ID is stored in the data storage unit It is possible to prevent the transmission from stopping.

図15は、処理するチャネルIDの数が増加した場合の課題を説明するための図であり、図15(a)は、チャネルIDが#0〜#3のデータを処理する様子を示し、図15(b)は、チャネルIDが#0〜#4のデータを処理する様子を示す。   FIG. 15 is a diagram for explaining the problem when the number of channel IDs to be processed increases, and FIG. 15 (a) shows a state in which data of channel IDs # 0 to # 3 are processed. 15 (b) shows that channel ID's # 0 to # 4 are processed.

図15(a)に示されるように、データ#0〜#3が重なり合うことがない状況では、優先度に関わらず、チャネルIDが#0〜#3の全て周期のデータD01〜D31,D02〜D32,D03〜D33は、順番に送信されることになる。   As shown in FIG. 15 (a), in a situation where data # 0 to # 3 do not overlap, data D01 to D31, D02 to D01 to D31 of all cycles of channel IDs # 0 to # 3 regardless of priority. D32 and D03 to D33 are to be transmitted in order.

これに対して、図15(b)に示されるように、チャネルIDが#4の優先度が最も低いデータが増えると、例えば、1周期目のD41が2周期目のD02と衝突し、また、2周期目のD42が3周期目のD03と衝突する。   On the other hand, as shown in FIG. 15B, when the data with the lowest priority of channel ID # 4 increases, for example, D41 of the first cycle collides with D02 of the second cycle, and The second cycle D42 collides with the third cycle D03.

この場合、チャネルIDが#0のデータD02,D03の方が、チャネルIDが#4のデータD41,D42よりも優先度が高いため、データの衝突が生じた個所では、それぞれ優先度の高いデータD02およびD03が送信されることになる。   In this case, since the data D02 and D03 of channel ID # 0 has higher priority than the data D41 and D42 of channel ID # 4, the data with high priority is given to the place where the data collision occurs. D02 and D03 will be sent.

そして、優先度の低いデータD41およびD42は送信されずに待たされ、高優先度のデータが全てなくなったタイミング、すなわち、本来、データD43を送信するタイミングになって、初めてデータD41を送信することができるようになる。   Then, the low priority data D41 and D42 are not transmitted but are kept waiting, and the timing at which all the high priority data is lost, that is, the timing to transmit the data D43, is to transmit the data D41 for the first time. Will be able to

すなわち、図15(b)に示す例では、処理するチャネルIDの数が増加すると、例えば、優先度の低いチャネルIDのデータ(#4)は送信され難くなり、送信されない虞も生じることになる。   That is, in the example shown in FIG. 15B, when the number of channel IDs to be processed increases, for example, data (# 4) of channel ID with low priority becomes difficult to be transmitted, and there is a possibility that it is not transmitted. .

図16は、ネットワークインタフェースの第3実施例の要部を示すブロック図であり、上述した優先度の低いチャネルIDのデータ(#4)は送信されないといった問題を解決するためのものである。   FIG. 16 is a block diagram showing the main part of the third embodiment of the network interface and is for solving the problem that the data (# 4) of the channel ID with low priority described above is not transmitted.

図16に示されるように、第3実施例のネットワークインタフェース550は、優先度判定部44と送信時間管理部46の間に、優先度変更部49を挿入するようになっている。なお、他の構成は、前述した図6に示す第1実施例、或いは、図13に示す第2実施例をそのまま適用することができる。   As shown in FIG. 16, the network interface 550 of the third embodiment inserts a priority change unit 49 between the priority determination unit 44 and the transmission time management unit 46. The other configurations can be applied as they are to the first embodiment shown in FIG. 6 or the second embodiment shown in FIG.

優先度変更部49は、データ種別とスキップ回数の関係が予め決められているスキップ回数設定テーブル491、および、優先度判定部44からの最優先データ種別とパケット処理部2からのデータ種別を受け取るスキップ回数制御部492を含む。   The priority changing unit 49 receives the skip count setting table 491 in which the relationship between the data type and the skip count is predetermined, and the highest priority data type from the priority determination unit 44 and the data type from the packet processing unit 2 A skip count control unit 492 is included.

すなわち、スキップ回数制御部492は、パケット処理部2から送信要求のかけられているデータ種別を取得すると共に、優先度判定部44から最優先データ種別を取得する。そして、スキップ回数設定テーブル491に設定されたデータ種別(Video,Audio,JPEG,制御情報)毎のスキップ回数(Skip_cnt_v,Skip_cnt_a,Skip_cnt_j,Skip_cnt_c)を参照して、スキップ回数制御を行う。   That is, the skip count control unit 492 acquires the data type to which the transmission request has been made from the packet processing unit 2, and acquires the highest priority data type from the priority determination unit 44. Then, the skip count control is performed with reference to the skip count (Skip_cnt_v, Skip_cnt_a, Skip_cnt_j, Skip_cnt_c) for each data type (Video, Audio, JPEG, control information) set in the skip count setting table 491.

ここで、スキップ回数とは、データ種別毎に最優先データ種別として選択されなかった回数を示す。そして、スキップ回数制御部492は、スキップ回数が予め定められた規定数に達した場合には、優先度判定部44が選択したデータ種別ではなく、スキップ回数が規定数に達したデータ種別を変更後最優先データ種別として、送信時間管理部46に通知する。   Here, the number of skips indicates the number of times of being not selected as the top priority data type for each data type. Then, when the number of skips reaches the predetermined number determined in advance, the skip count control unit 492 changes not the data type selected by the priority determination unit 44 but the data type in which the number of skips reaches the prescribed number. The transmission time management unit 46 is notified as the post highest priority data type.

これにより、優先度の低いチャネルIDのデータ(#4)であっても、スキップ回数が規定数に達した場合には、送信データとして優先的に出力されることになる。   As a result, even if the channel ID data (# 4) having a low priority, if the number of skips reaches the specified number, it is preferentially output as transmission data.

図17は、ネットワークインタフェースの第4実施例の要部を示すブロック図であり、図16と同様に、前述した優先度の低いチャネルIDのデータ(#4)は送信されないといった問題を解決するためのものである。   FIG. 17 is a block diagram showing the main part of the fourth embodiment of the network interface, and as with FIG. 16, in order to solve the problem that the data (# 4) of the channel ID with low priority described above is not transmitted. belongs to.

図17に示されるように、第4実施例のネットワークインタフェース650において、送信時間管理部46には、送信時間管理テーブル(第2送信時間管理テーブル)461およびチャネルID選択部462が設けられている。   As shown in FIG. 17, in the network interface 650 of the fourth embodiment, the transmission time management unit 46 is provided with a transmission time management table (second transmission time management table) 461 and a channel ID selection unit 462. .

送信時間管理テーブル461は、図9(b)を参照して説明した送信時間管理テーブルにおいて、さらに、次パケット送信時間限界値(Tvideo_0_lim,Tvideo_1_lim,…,Tvideo_13_lim)フィールドが追加されている。   The transmission time management table 461 further includes a next packet transmission time limit value (Tvideo_0_lim, Tvideo_1_lim,..., Tvideo_13_lim) field in the transmission time management table described with reference to FIG. 9B.

送信時間管理部46には、例えば、送信タイミング算出部45から次パケット送信時間と共に、次パケット送信時間限界値が通知され、この次パケット送信時間限界値により各チャネルの次パケット送信時間限界値のフィールドが更新される。   For example, the next packet transmission time limit value is notified to the transmission time management unit 46 from the transmission timing calculation unit 45 together with the next packet transmission time, and the next packet transmission time limit value of each channel is determined by the next packet transmission time limit value. Field is updated.

ここで、次パケット送信時間限界値は、例えば、動画であれば、その時間までに送信をしないと受信側で動画の再生が止まってしまう時間に相当する。また、次パケット送信時間限界値と次パケット送信時間の間には、次パケット送信時間限界値≧次パケット送信時間の関係が成立する。   Here, for example, in the case of a moving image, the next packet transmission time limit value corresponds to a time in which reproduction of the moving image stops on the receiving side unless transmission is performed by that time. Further, the relationship between the next packet transmission time limit value and the next packet transmission time is established between the next packet transmission time limit value and the next packet transmission time.

なお、本第4実施例のネットワークインタフェース650では、例えば、図6に示す第1実施例のネットワークインタフェース250における送信時間比較部43を削除することができる。   In the network interface 650 of the fourth embodiment, for example, the transmission time comparison unit 43 in the network interface 250 of the first embodiment shown in FIG. 6 can be deleted.

そして、送信時間比較部43の代わりとして、チャネルID選択部462をも受け、現在時間と、各チャネルの次パケット送信時間および次パケット送信時間限界値との比較を行い、送信処理を開始するチャネルIDを選択する。   Then, instead of the transmission time comparison unit 43, the channel ID selection unit 462 is also received, the current time is compared with the next packet transmission time and the next packet transmission time limit value of each channel, and the channel starts transmission processing. Choose an ID.

なお、チャネルID選択部462では、現在時間>次パケット送信時間限界値が成立するチャネルが存在する場合、そのチャネルIDを最優先で送信するように制御する。そのため、チャネルID選択部462は、処理開始判定部48に対して、現在時間>次パケット送信時間限界値が成立しているチャネルID、並びに、削除した送信時間比較部43の代わりに比較結果を通知する。   If there is a channel for which the current time> the next packet transmission time limit value holds, the channel ID selection unit 462 controls to transmit the channel ID with the highest priority. Therefore, the channel ID selection unit 462 causes the processing start determination unit 48 to compare the channel ID for which the current time> the next packet transmission time limit value holds, and instead of the deleted transmission time comparison unit 43. Notice.

また、例えば、次パケット送信時間限界値に達しているチャネルIDが複数存在する場合は、予めシステムで定められたチャネルIDの優先度に従って、送信するチャネルIDを選択する。   Also, for example, when there are a plurality of channel IDs reaching the next packet transmission time limit value, the channel ID to be transmitted is selected according to the channel ID priority determined in advance by the system.

さらに、例えば、現在時間が次パケット送信時間限界値を超過しているチャネルIDは存在しないが、次パケット送信時間を超過しているチャネルIDが存在する場合は、そのチャネルIDおよび比較結果を処理開始判定部48に通知する。   Furthermore, for example, if there is no channel ID for which the current time exceeds the next packet transmission time limit but there is a channel ID for which the next packet transmission time is over, process the channel ID and the comparison result. The start determination unit 48 is notified.

また、現在時間が次パケット送信時間限界値を超過しているチャネルIDは存在しないが、次パケット送信時間を超過しているチャネルIDが複数存在する場合は、予めシステムで定められたチャネルIDの優先度に従って、送信するチャネルIDを選択する。   In addition, there is no channel ID for which the current time exceeds the next packet transmission time limit value, but if there are a plurality of channel IDs for which the next packet transmission time exceeds, the channel ID The channel ID to be transmitted is selected according to the priority.

そして、次パケット送信時間限界値にも次パケット送信時間にも達しているチャネルIDが1つも存在しない場合は、処理開始判定部48に対して、処理を開始しないことを意味する比較結果を通知する。   When there is no channel ID that has reached the next packet transmission time limit value or the next packet transmission time either, the processing start determination unit 48 is notified of a comparison result that means that the processing is not started. Do.

上述したように、本実施例によれば、例えば、同一データ種別で異なる送信負荷が設定されるような場合でも、受信側が期待するタイミングで期待するデータ種別およびチャネルIDのデータを送信することが可能になる。さらに、受信側(制御端末)は、自身の処理能力を上回るデータを受信することを避けることができ、その結果、データの欠落を防止することができる。   As described above, according to this embodiment, for example, even when different transmission loads are set for the same data type, data of the data type and channel ID expected at the timing expected by the receiving side can be transmitted. It will be possible. Furthermore, the receiving side (control terminal) can avoid receiving data that exceeds its processing capability, and as a result, it is possible to prevent the loss of data.

このように、本実施例のネットワークインタフェース(データ配信装置)は、要望される機能に応じて、様々な変形および変更を行うことができる。なお、上述した本実施例のデータ配信装置およびデータ配信方法は、主として監視カメラ等で撮影した動画(Video)、音声(Audio)および静止画(JPEG)等を例として説明したが、本実施例は、様々なデータの配信に対して幅広く適用することが可能である。   As described above, the network interface (data distribution device) of this embodiment can perform various modifications and changes in accordance with the desired function. The above-described data delivery apparatus and data delivery method according to the present embodiment are mainly described by taking moving pictures (Video), audio (Audio), still pictures (JPEG) and the like taken by a surveillance camera etc as an example. Can be widely applied to the delivery of various data.

以上、実施形態を説明したが、ここに記載したすべての例や条件は、発明および技術に適用する発明の概念の理解を助ける目的で記載されたものであり、特に記載された例や条件は発明の範囲を制限することを意図するものではない。また、明細書のそのような記載は、発明の利点および欠点を示すものでもない。発明の実施形態を詳細に記載したが、各種の変更、置き換え、変形が発明の精神および範囲を逸脱することなく行えることが理解されるべきである。   Although the embodiments have been described above, all the examples and conditions described herein are for the purpose of assisting the understanding of the concept of the invention applied to the invention and the technology, and the examples and conditions described are particularly It is not intended to limit the scope of the invention. Also, such descriptions in the specification do not show the advantages and disadvantages of the invention. While the embodiments of the invention have been described in detail, it should be understood that various changes, substitutions, and alterations can be made without departing from the spirit and scope of the invention.

以上の実施例を含む実施形態に関し、さらに、以下の付記を開示する。
(付記1)
データ格納部からのデータを受け取ってDMA転送を行うDMA部と、前記DMA部からの送信データを受け取ってパケットを生成すると共に、前記パケットのデータ種別を判定するパケット処理部と、を含み、生成された前記パケットをネットワークに送信するデータ配信装置であって、
前記データ種別を受け取って、最も優先度の高い最優先データ種別を判定する優先度判定部と、
前記最優先データ種別を受け取って、各送信データにおけるチャネルを識別するためのチャネルIDと各チャネルの送信時間を管理する送信時間管理部と、
前記送信時間管理部の出力を受け取って、前記パケット処理部が対応するパケット処理を開始するかどうかを判定する処理開始判定部と、を有する、
ことを特徴とするデータ配信装置。
Further, the following appendices will be disclosed regarding the embodiment including the above-described example.
(Supplementary Note 1)
The DMA unit includes: a DMA unit that receives data from a data storage unit and performs DMA transfer; and a packet processing unit that receives transmission data from the DMA unit to generate a packet and determines the data type of the packet. A data distribution apparatus for transmitting the received packet to a network,
A priority determination unit that receives the data type and determines the highest priority data type with the highest priority;
A channel ID for receiving the highest priority data type and identifying a channel in each transmission data, and a transmission time management unit that manages the transmission time of each channel;
A processing start determination unit that receives the output of the transmission time management unit and determines whether the packet processing unit starts the corresponding packet processing;
Data distribution apparatus characterized in that.

(付記2)
さらに、
現在時間を検出する現在時間検出部と、
前記現在時間と現パケット送信時間を比較する送信時間比較部と、
送信タイミングを算出する送信タイミング算出部と、を有し、
前記送信時間管理部は、前記最優先データ種別から、最優先チャネルIDの現パケット送信時間を前記送信時間比較部に出力すると共に、チャネルIDを前記処理開始判定部に出力し、前記送信タイミング算出部の計算結果に基づいて、該当チャネルIDの現パケット送信時間を更新する、
ことを特徴とする付記1に記載のデータ配信装置。
(Supplementary Note 2)
further,
A current time detection unit that detects the current time;
A transmission time comparison unit that compares the current time with the current packet transmission time;
A transmission timing calculation unit that calculates transmission timing;
The transmission time management unit outputs the current packet transmission time of the highest priority channel ID to the transmission time comparison unit from the highest priority data type, and outputs the channel ID to the processing start determination unit, and calculates the transmission timing. Update the current packet transmission time of the corresponding channel ID based on the calculation result of
The data delivery apparatus according to claim 1, characterized in that:

(付記3)
さらに、
パケットデータのサイズを算出するパケットデータサイズ算出部を有し、
前記処理開始判定部は、前記送信時間比較部からの比較結果、および、前記送信時間管理部からの送信する送信チャネルIDを受け取り、前記送信チャネルIDの送信処理を開始するかどうかを判定し、その判定結果および前記送信チャネルIDを前記パケット処理部に通知し、前記DMA部および前記パケットデータサイズ算出部に送信処理を開始するチャネルIDを通知する、
ことを特徴とする付記2に記載のデータ配信装置。
(Supplementary Note 3)
further,
A packet data size calculation unit for calculating the size of packet data;
The process start determination unit receives the comparison result from the transmission time comparison unit and the transmission channel ID to be transmitted from the transmission time management unit, and determines whether to start the transmission channel ID transmission process. The determination result and the transmission channel ID are notified to the packet processing unit, and the DMA unit and the packet data size calculation unit are notified of a channel ID for starting transmission processing.
The data delivery apparatus according to claim 2, characterized in that:

(付記4)
前記パケットデータサイズ算出部は、前記処理開始判定部から入力される送信チャネルIDから、1パケットを生成するのに要するデータサイズを算出し、その算出結果を前記DMA部および前記パケット処理部に通知する、
ことを特徴とする付記3に記載のデータ配信装置。
(Supplementary Note 4)
The packet data size calculation unit calculates the data size required to generate one packet from the transmission channel ID input from the processing start determination unit, and notifies the DMA unit and the packet processing unit of the calculation result. Do,
Appendix 3. The data delivery apparatus according to appendix 3, wherein

(付記5)
前記DMA部は、
前記データ格納部から、前記パケットデータサイズ算出部から通知されたデータサイズ分だけ読み出して格納する送信データバッファと、
前記送信データバッファ格納したデータサイズおよび制御情報を格納する送信データ情報格納部と、を含む、
ことを特徴とする付記3または付記4に記載のデータ配信装置。
(Supplementary Note 5)
The DMA unit is
A transmission data buffer for reading out and storing only the data size notified from the packet data size calculation unit from the data storage unit;
A transmission data information storage unit for storing the data size and control information stored in the transmission data buffer;
Appendix 3. The data delivery apparatus according to Appendix 3 or 4.

(付記6)
前記DMA部は、さらに、
前記パケットデータサイズ算出部から通知されたチャネルIDの送信データが、前記送信データ情報格納部に格納された送信データ情報により送信要求されているかどうかを走査する第1チャネルID走査部を含む、
ことを特徴とする付記5に記載のデータ配信装置。
(Supplementary Note 6)
The DMA unit further includes
The first channel ID scan unit scans whether transmission data of the channel ID notified from the packet data size calculation unit is requested to be transmitted by the transmission data information stored in the transmission data information storage unit.
The data delivery apparatus according to claim 5, characterized in that:

(付記7)
前記DMA部は、さらに、
前記データ格納部から送信要求を通知されると、該当チャネルIDが存在するかどうか、前記送信データ情報格納部を走査する第2チャネルID走査部を含む、
ことを特徴とする付記5に記載のデータ配信装置。
(Appendix 7)
The DMA unit further includes
When a transmission request is notified from the data storage unit, the second channel ID scanning unit scans the transmission data information storage unit whether or not the corresponding channel ID exists.
The data delivery apparatus according to claim 5, characterized in that:

(付記8)
前記送信時間管理部は、
データ種別、次パケット送信時間およびチャネルIDが対応付けられた第1送信時間管理テーブルを含む、
ことを特徴とする付記1乃至付記7のいずれか1項に記載のデータ配信装置。
(Supplementary Note 8)
The transmission time management unit
Including a first transmission time management table in which data type, next packet transmission time, and channel ID are associated;
The data delivery apparatus according to any one of appendices 1 to 7, characterized in that:

(付記9)
前記送信時間管理部は、
データ種別、次パケット送信時間、チャネルIDおよび次パケット送信時間限界値が対応付けられた第2送信時間管理テーブルと、
前記現在時間を受け取り、前記第2送信時間管理テーブルに基づいてチャネルIDを選択するチャネルID選択部と、を含む、
ことを特徴とする付記1乃至付記7のいずれか1項に記載のデータ配信装置。
(Appendix 9)
The transmission time management unit
A second transmission time management table in which a data type, next packet transmission time, channel ID and next packet transmission time limit value are associated;
A channel ID selection unit that receives the current time and selects a channel ID based on the second transmission time management table;
The data delivery apparatus according to any one of appendices 1 to 7, characterized in that:

(付記10)
さらに、
前記優先度判定部と前記送信時間管理部の間に設けられ、データ種別とスキップ回数の関係が予め決められているスキップ回数設定テーブル、並びに、前記優先度判定部からの最優先データ種別と前記パケット処理部からのデータ種別を受け取るスキップ回数制御部を含む、
ことを特徴とする付記1乃至付記7のいずれか1項に記載のデータ配信装置。
(Supplementary Note 10)
further,
A skip count setting table provided between the priority determination unit and the transmission time management unit and in which the relationship between the data type and the skip count is predetermined, and the highest priority data type from the priority determination unit Including a skip number control unit that receives the data type from the packet processing unit,
The data delivery apparatus according to any one of appendices 1 to 7, characterized in that:

(付記11)
前記DMA部は、ディスクリプタ型DMAである、
ことを特徴とする付記1乃至付記10のいずれか1項に記載のデータ配信装置。
(Supplementary Note 11)
The DMA unit is a descriptor type DMA,
The data delivery apparatus according to any one of appendices 1 to 10, characterized in that:

(付記12)
さらに、
前記パケット処理部により生成された前記パケットを前記ネットワークに送信するPHY部を有する、
ことを特徴とする付記1乃至付記11のいずれか1項に記載のデータ配信装置。
(Supplementary Note 12)
further,
And a PHY unit for transmitting the packet generated by the packet processing unit to the network.
The data delivery apparatus according to any one of appendices 1 to 11, characterized in that

(付記13)
前記データ格納部に格納されるデータは、カメラで撮影された映像データを含み、前記映像データは、異なるチャネルに相当する、異なる解像度の動画像データまたは静止画像データを含む、
ことを特徴とする付記1乃至付記12のいずれか1項に記載のデータ配信装置。
(Supplementary Note 13)
The data stored in the data storage unit includes video data captured by a camera, and the video data includes moving image data or still image data of different resolutions corresponding to different channels.
The data delivery apparatus according to any one of appendices 1 to 12, characterized in that:

(付記14)
前記カメラは、複数の監視カメラを含み、
前記データ配信装置は、前記複数のカメラにより得られたデータを、前記ネットワークを介して制御端末に転送するネットワークインタフェースである、
ことを特徴とする付記1乃至付記13のいずれか1項に記載のデータ配信装置。
(Supplementary Note 14)
The camera includes a plurality of surveillance cameras,
The data distribution apparatus is a network interface that transfers data obtained by the plurality of cameras to a control terminal via the network.
The data delivery apparatus according to any one of appendices 1 to 13, characterized in that:

(付記15)
データ格納部からのデータを受け取ってDMA転送を行うDMA部と、前記DMA部からの送信データを受け取ってパケットを生成すると共に、前記パケットのデータ種別を判定するパケット処理部と、を含み、生成された前記パケットをネットワークに送信するデータ配信方法であって、
前記データ種別を受け取って、最も優先度の高い最優先データ種別を判定し、
前記最優先データ種別を受け取って、各送信データにおけるチャネルを識別するためのチャネルIDと各チャネルの送信時間を管理し、
前記最優先データ種別,前記チャネルIDおよび前記各チャネルの送信時間に基づいて、前記パケット処理部が対応するパケット処理を開始するかどうかを判定する、
ことを特徴とするデータ配信方法。
(Supplementary Note 15)
The DMA unit includes: a DMA unit that receives data from a data storage unit and performs DMA transfer; and a packet processing unit that receives transmission data from the DMA unit to generate a packet and determines the data type of the packet. A data distribution method for transmitting the received packet to a network,
Receiving the data type and determining the highest priority data type with the highest priority;
Receiving the highest priority data type and managing a channel ID for identifying a channel in each transmission data and a transmission time of each channel;
The packet processing unit determines whether to start the corresponding packet processing based on the highest priority data type, the channel ID, and the transmission time of each channel.
Data distribution method characterized by

1 DMA部
2 パケット処理部
3 PHY部
11,13 送信データバッファ
12,14 送信データ情報格納部
15 チャネルID走査部(第1チャネルID走査部)
16 チャネルID走査部(第2チャネルID走査部)
21 送信要求検出部
22 パケット生成部
41 送信時間管理部
42 現在時間検出部
43 送信時間比較部
44 優先度判定部
45 送信タイミング算出部
46 送信時間管理部(チャネルIDフィールドを追加した送信時間管理部,送信時間管理部テーブル,第1送信時間管理部テーブル)
47 パケットデータサイズ算出部
48 処理開始判定部
49 優先度変更部
100 監視カメラ
110 カメラモジュール
120 エンコーダ
130 プロセッサ
140 データ格納部(メモリ)
150,250,350,450,550,650 ネットワークインタフェース
200 ネットワーク
300 制御端末
400 ユーザ
461 送信時間管理テーブル(第2送信時間管理テーブル)
462 チャネルID選択部
491 スキップ回数設定テーブル
492 スキップ回数制御部
REFERENCE SIGNS LIST 1 DMA unit 2 packet processing unit 3 PHY unit 11, 13 transmission data buffer 12, 14 transmission data information storage unit 15 channel ID scanning unit (first channel ID scanning unit)
16 channel ID scanning unit (second channel ID scanning unit)
21 transmission request detection unit 22 packet generation unit 41 transmission time management unit 42 current time detection unit 43 transmission time comparison unit 44 priority determination unit 45 transmission timing calculation unit 46 transmission time management unit (transmission time management unit to which channel ID field is added) (Transmission time management unit table, first transmission time management unit table)
47 packet data size calculation unit 48 processing start determination unit 49 priority change unit
100 surveillance cameras
110 Camera module
120 encoder
130 processor
140 Data Storage Unit (Memory)
150, 250, 350, 450, 550, 650 network interface
200 network
300 control terminal
400 users
461 Transmission time management table (second transmission time management table)
462 Channel ID Selection Unit
491 Skip count setting table
492 Skip count control unit

Claims (8)

データ格納部からのデータを受け取ってDMA転送を行うDMA部と、前記DMA部からの送信データを受け取ってパケットを生成すると共に、前記パケットのデータ種別を判定するパケット処理部と、を含み、生成された前記パケットをネットワークに送信するデータ配信装置であって、
前記データ種別を受け取って、最も優先度の高い最優先データ種別を判定する優先度判定部と、
前記最優先データ種別を受け取って、各送信データにおける、同一データ種別における異なる設定のデータであるチャネルを識別するためのチャネルIDと各チャネルの送信時間を管理する送信時間管理部と、
前記送信時間管理部の出力を受け取って、前記パケット処理部が対応するパケット処理を開始するかどうかを判定する処理開始判定部と、
現在時間を検出する現在時間検出部と、
前記現在時間と現パケット送信時間を比較する送信時間比較部と、
送信タイミングを算出する送信タイミング算出部と、
パケットデータのサイズを算出するパケットデータサイズ算出部と、を有し、
前記送信時間管理部は、前記最優先データ種別から、最優先チャネルIDの現パケット送信時間を前記送信時間比較部に出力すると共に、チャネルIDを前記処理開始判定部に出力し、前記送信タイミング算出部の計算結果に基づいて、該当チャネルIDの現パケット送信時間を更新し、
前記処理開始判定部は、前記送信時間比較部からの比較結果、および、前記送信時間管理部からの送信する送信チャネルIDを受け取り、前記送信チャネルIDの送信処理を開始するかどうかを判定し、その判定結果および前記送信チャネルIDを前記パケット処理部に通知し、前記DMA部および前記パケットデータサイズ算出部に送信処理を開始するチャネルIDを通知する、
ことを特徴とするデータ配信装置。
The DMA unit includes: a DMA unit that receives data from a data storage unit and performs DMA transfer; and a packet processing unit that receives transmission data from the DMA unit to generate a packet and determines the data type of the packet. A data distribution apparatus for transmitting the received packet to a network,
A priority determination unit that receives the data type and determines the highest priority data type with the highest priority;
A channel ID for identifying a channel that is data of different settings in the same data type in each transmission data , and a transmission time management unit that manages the transmission time of each channel in the transmission data;
A processing start determination unit that receives the output of the transmission time management unit and determines whether the packet processing unit starts the corresponding packet processing;
A current time detection unit that detects the current time;
A transmission time comparison unit that compares the current time with the current packet transmission time;
A transmission timing calculation unit that calculates transmission timing;
And the packet data size calculation section for calculating the size of the packet data, the possess,
The transmission time management unit outputs the current packet transmission time of the highest priority channel ID to the transmission time comparison unit from the highest priority data type, and outputs the channel ID to the processing start determination unit, and calculates the transmission timing. Update the current packet transmission time of the corresponding channel ID based on the calculation result of
The process start determination unit receives the comparison result from the transmission time comparison unit and the transmission channel ID to be transmitted from the transmission time management unit, and determines whether to start the transmission channel ID transmission process. The determination result and the transmission channel ID are notified to the packet processing unit, and the DMA unit and the packet data size calculation unit are notified of a channel ID for starting transmission processing .
Data distribution apparatus characterized in that.
前記パケットデータサイズ算出部は、前記処理開始判定部から入力される送信チャネルIDから、1パケットを生成するのに要するデータサイズを算出し、その算出結果を前記DMA部および前記パケット処理部に通知する、
ことを特徴とする請求項に記載のデータ配信装置。
The packet data size calculation unit calculates the data size required to generate one packet from the transmission channel ID input from the processing start determination unit, and notifies the DMA unit and the packet processing unit of the calculation result. Do,
The data distribution apparatus according to claim 1 , wherein
前記DMA部は、
前記データ格納部から、前記パケットデータサイズ算出部から通知されたデータサイズ分だけ読み出して格納する送信データバッファと、
前記送信データバッファ格納したデータサイズおよび制御情報を格納する送信データ情報格納部と、を含む、
ことを特徴とする請求項または請求項に記載のデータ配信装置。
The DMA unit is
A transmission data buffer for reading out and storing only the data size notified from the packet data size calculation unit from the data storage unit;
A transmission data information storage unit for storing the data size and control information stored in the transmission data buffer;
The data delivery apparatus according to claim 1 or 2 , wherein
前記DMA部は、さらに、
前記パケットデータサイズ算出部から通知されたチャネルIDの送信データが、前記送信データ情報格納部に格納された送信データ情報により送信要求されているかどうかを走査する第1チャネルID走査部を含む、
ことを特徴とする請求項に記載のデータ配信装置。
The DMA unit further includes
The first channel ID scan unit scans whether transmission data of the channel ID notified from the packet data size calculation unit is requested to be transmitted by the transmission data information stored in the transmission data information storage unit.
The data distribution apparatus according to claim 3 , wherein
前記DMA部は、さらに、
前記データ格納部から送信要求を通知されると、該当チャネルIDが存在するかどうか、前記送信データ情報格納部を走査する第2チャネルID走査部を含む、
ことを特徴とする請求項に記載のデータ配信装置。
The DMA unit further includes
When a transmission request is notified from the data storage unit, the second channel ID scanning unit scans the transmission data information storage unit whether or not the corresponding channel ID exists.
The data distribution apparatus according to claim 3 , wherein
前記送信時間管理部は、
データ種別、次パケット送信時間およびチャネルIDが対応付けられた第1送信時間管理テーブルを含む、
ことを特徴とする請求項1乃至請求項のいずれか1項に記載のデータ配信装置。
The transmission time management unit
Including a first transmission time management table in which data type, next packet transmission time, and channel ID are associated;
The data distribution apparatus according to any one of claims 1 to 5 , characterized in that:
前記送信時間管理部は、
データ種別、次パケット送信時間、チャネルIDおよび次パケット送信時間限界値が対応付けられた第2送信時間管理テーブルと、
前記現在時間を受け取り、前記第2送信時間管理テーブルに基づいてチャネルIDを選択するチャネルID選択部と、を含む、
ことを特徴とする請求項1乃至請求項のいずれか1項に記載のデータ配信装置。
The transmission time management unit
A second transmission time management table in which a data type, next packet transmission time, channel ID and next packet transmission time limit value are associated;
A channel ID selection unit that receives the current time and selects a channel ID based on the second transmission time management table;
The data distribution apparatus according to any one of claims 1 to 5 , characterized in that:
さらに、
前記優先度判定部と前記送信時間管理部の間に設けられ、データ種別とスキップ回数の関係が予め決められているスキップ回数設定テーブル、並びに、前記優先度判定部からの最優先データ種別と前記パケット処理部からのデータ種別を受け取るスキップ回数制御部を含む、
ことを特徴とする請求項1乃至請求項のいずれか1項に記載のデータ配信装置。
further,
A skip count setting table provided between the priority determination unit and the transmission time management unit and in which the relationship between the data type and the skip count is predetermined, and the highest priority data type from the priority determination unit Including a skip number control unit that receives the data type from the packet processing unit,
The data distribution apparatus according to any one of claims 1 to 5 , characterized in that:
JP2015094256A 2015-05-01 2015-05-01 Data distribution device Active JP6519304B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015094256A JP6519304B2 (en) 2015-05-01 2015-05-01 Data distribution device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015094256A JP6519304B2 (en) 2015-05-01 2015-05-01 Data distribution device

Publications (2)

Publication Number Publication Date
JP2016213611A JP2016213611A (en) 2016-12-15
JP6519304B2 true JP6519304B2 (en) 2019-05-29

Family

ID=57549868

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015094256A Active JP6519304B2 (en) 2015-05-01 2015-05-01 Data distribution device

Country Status (1)

Country Link
JP (1) JP6519304B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835658B (en) * 2020-06-23 2022-06-10 武汉菲奥达物联科技有限公司 Data priority response method and device based on LPWAN

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08129522A (en) * 1994-10-31 1996-05-21 Victor Co Of Japan Ltd Transfer method for multimedia data
JP5171593B2 (en) * 2008-12-11 2013-03-27 三菱電機株式会社 Image transmission device
JP2013062683A (en) * 2011-09-13 2013-04-04 Toshiba Corp Data transfer device, data transmission system, data transmission method, and program

Also Published As

Publication number Publication date
JP2016213611A (en) 2016-12-15

Similar Documents

Publication Publication Date Title
JP3757857B2 (en) Data communication system, data transmission apparatus, data reception apparatus and method, and computer program
US8160129B2 (en) Image pickup apparatus and image distributing method
US8089514B2 (en) Moving image communication device, moving image communication system and semiconductor integrated circuit used for communication of moving image
JP6242089B2 (en) Transmission device, transmission method, and program
US20100229210A1 (en) Real-time multi-media streaming bandwidth management
JP2006319696A (en) Transmitting-receiving system, transmitting apparatus and transmitting method, receiving apparatus and receiving method, and program
CN111988560B (en) Method and apparatus for encoding and streaming video sequences over multiple network connections
US8811180B2 (en) Communication apparatus and communication method
JP2015138990A (en) Receiver, transmitter and communication system
JP6519304B2 (en) Data distribution device
JP6089846B2 (en) Video distribution system, decoder, and video distribution method
JP2013012833A (en) Transmission apparatus and control method for transmission apparatus
JP2007318470A (en) Server device, transmission sequence determination method and content distribution system
JP2013051565A (en) Communication terminal device, communication control method, and communication control program
US11575608B2 (en) Managing data flow between source node and recipient node
US9160913B2 (en) Image matching system, providing apparatus, imaging apparatus, image matching method, and program
JP2007281973A (en) Video data transmitting apparatus, video data transmitting method and program
JP6740002B2 (en) Control device, control method and program
WO2006013618A1 (en) Transmission control device
JPH1141608A (en) Image transmitter, image coding method and image coder
JP2011130035A (en) Transmission apparatus and transmission method
JP5094826B2 (en) Unicast redistribution device and packet processing program
JP2007006200A (en) Streaming transmission processing method and network camera
JP5585109B2 (en) Video transmission device
JP2023146067A (en) Imaging system, recording device, recording method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180418

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181211

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190207

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190326

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190408

R150 Certificate of patent or registration of utility model

Ref document number: 6519304

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150