JP6567476B2 - Data processing device - Google Patents
Data processing device Download PDFInfo
- Publication number
- JP6567476B2 JP6567476B2 JP2016157931A JP2016157931A JP6567476B2 JP 6567476 B2 JP6567476 B2 JP 6567476B2 JP 2016157931 A JP2016157931 A JP 2016157931A JP 2016157931 A JP2016157931 A JP 2016157931A JP 6567476 B2 JP6567476 B2 JP 6567476B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- memory
- unit
- dma
- processing
- 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
Links
- 238000012545 processing Methods 0.000 title claims description 75
- 230000005540 biological transmission Effects 0.000 claims description 37
- 238000004364 calculation method Methods 0.000 claims description 27
- 238000000034 method Methods 0.000 claims description 26
- 238000004891 communication Methods 0.000 claims description 24
- 238000012546 transfer Methods 0.000 claims description 24
- 238000003860 storage Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Images
Landscapes
- Bus Control (AREA)
Description
本発明は、DMAコントローラおよび通信処理装置を用いた技術に関する。より詳しくは、計算機とネットワークインターフェイスとのデータ転送処理の技術に関する。
The present invention relates to a technique using a DMA controller and a communication processing device. More specifically, the present invention relates to a technique for data transfer processing between a computer and a network interface.
イーサネット(登録商標)に代表されるネットワークでは、ネットワークインターフェイスにおいてネットワーク上を流れるデータ(パケット化される)との送受信については、マイクロプロセッサ(以下、「CPU」と略記する)が実行する。
最も簡単な構成に基づくネットワークインターフェイスとCPUとのデータ転送は、CPUがネットワークインターフェイスに実装されているバッファをCPUのメモリ空間上にマッピングし、CPUからメモリアクセス命令を発行することによって実行される。
In a network typified by Ethernet (registered trademark), a microprocessor (hereinafter abbreviated as “CPU”) executes transmission / reception with data (packetized) flowing over the network at a network interface.
Data transfer between the network interface and the CPU based on the simplest configuration is executed by the CPU mapping a buffer mounted on the network interface on the memory space of the CPU and issuing a memory access command from the CPU.
しかし、大量のパケットデータを送受信しなければならない場合には、メモリアクセス命令の発行およびその実行において、処理時間が増加してしまう。すると、CPUが実行すべきパケット処理の時間を圧迫してしまい、その結果として通信のスループットが低下してしまう、という問題が発生する。 However, when a large amount of packet data must be transmitted and received, processing time increases in issuing and executing a memory access instruction. Then, the packet processing time to be executed by the CPU is compressed, and as a result, the communication throughput is lowered.
通信スループットの低下を防止する方式として、ダイレクトメモリアクセス(DMA)およびそのコントローラを設置し、ネットワークインターフェイスからCPUのメモリへ転送し、データコピーに費やされるCPU負荷を低減させる方法が、一般には採用される。
ここで、ダイレクトメモリアクセス(DMA)とは、CPUを介さずに、メモリとメモリまたはメモリと周辺機器の間でデータを直接転送することをいう。
たとえば特許文献1では、DMAコントローラにプログラマブルシーケンサを利用し、開発効率の短縮等に伴うコスト増大を抑える方法が開示されている。
As a method to prevent a decrease in communication throughput, a method is generally adopted in which a direct memory access (DMA) and its controller are installed, transferred from the network interface to the CPU memory, and the CPU load consumed for data copying is reduced. The
Here, direct memory access (DMA) refers to direct transfer of data between the memory and the memory or the peripheral device without going through the CPU.
For example,
また、特許文献2では、ネットワークインターフェイスとCPUの間に2種類のデータバスを設け、一方のデータバスにはプロトコル処理をネットワークインターフェイスで行ったデータを、他方のデータバスにはホストコンピュータで実行されるプロトコル処理のデータを送受信できるようにした方式が開示されている。
In
更に、特許文献3では、開発効率の短縮と通信スループットの向上とを意図したDMAコントローラおよび通信処理装置が開示されている。
Further,
図1(フローチャート)および図2(ブロック図)に基づいて、画像データや映像データといった容量の大きなデータを、ネットワークを介して転送する一般的な手順およびハードウェア構成について説明する。
カメラ100にて画像または映像(動画)を撮影し、カメラインタフェースによってその撮影した画像データまたは映像データ(以下、「画像データ」と略記)を画像処理部101へ入力する(S1)。 続いて、画像処理部100で原画像データに画像処理を施し、その処理済みの画像データを通信受信部22へ保存する(S2)。
Based on FIG. 1 (flow chart) and FIG. 2 (block diagram), a general procedure and hardware configuration for transferring large-capacity data such as image data and video data via a network will be described.
An image or video (moving image) is captured by the
通信受信部22へ保存された画像データをDMAコントローラ部21の制御によって、メモリ部20へバースト転送する(S3)。メモリ部20へ転送された画像データを、DMAコントローラ31の制御によってメモリ部50のTCPペイロードへバースト転送する(S4)。
メモリ部20へ転送された画像データをDMAコントローラ30の制御によって、SUM処理部10へバースト転送する。 SUM処理部10でSUM値を計算し、CPU40はSUM値を得る(S5)。
The image data stored in the
The image data transferred to the
CPU40は、SUM値をメモリ部50のTCPヘッダへ格納する(S6)。メモリ部50へ保管されたTCPパケットデータを、DMAコントローラ51の制御によって通信送信部52へバースト転送する(S7)。通信送信部52は、受信したTCPパケットデータをネットワークへ送信する(S8)。
The
たとえば、50メガバイト/秒といった転送速度を求められると、図1、2に示したような技術では、達成が困難であった。 For example, if a transfer rate of 50 megabytes / second is required, it is difficult to achieve with the techniques shown in FIGS.
CPUの性能を高めることで、各種の処理速度を向上させ、転送速度を速める、という手法が最も単純であり、多く採用されてきた手法でもある。
しかし、CPU性能の向上が達成される頃には、転送速度の要求も向上してしまうのが常である。たとえば、転送したい画像データの画質向上が求められるからである。
The method of improving various processing speeds and increasing the transfer speed by improving the performance of the CPU is the simplest method and has been widely adopted.
However, when the improvement in CPU performance is achieved, the transfer speed requirement is usually improved. For example, it is required to improve the image quality of image data to be transferred.
本発明が解決すべき課題は、CPU性能の向上とは無関係に、データの転送速度を向上させることができる技術を提供することにある。
The problem to be solved by the present invention is to provide a technique capable of improving the data transfer speed irrespective of the improvement in CPU performance.
本願では、データ転送の際にCPUが処理することでボトルネックとなっている処理手順を分散処理させることで、CPU性能の向上とは無関係にデータの転送速度を向上させることができる技術に係る発明を提供する。 The present application relates to a technique capable of improving the data transfer speed regardless of the improvement in CPU performance by distributing the processing procedure which is a bottleneck by processing by the CPU at the time of data transfer. Provide an invention.
(第一の発明)
第一の発明は、 通信ネットワークを介して送信対象となるデジタルデータをプロトコル処理済みデータへ加工する前に格納する受信データ用メモリ20と、
その受信データ用メモリ20へ格納されたデジタルデータについてのSUM値を算出するデータ処理装置10Aと、
前記の受信データ用メモリ20へ格納されたデジタルデータに対するプロトコル処理を実行するCPU40と、
そのCPU40にてプロトコル処理されたプロトコル処理済みデータ、および前記のデータ処理装置10Aによって算出された前記のSUM値を格納する送信データ用メモリ50と、
を備えたデータ送信装置における前記のデータ処理装置10Aに係る。
前記の受信データ用メモリ20へ格納されたデジタルデータに対してDMA処理を施すDMAリード部11と、
そのDMAリード部11がDMA処理したデジタルデータの送信用のSUM値を計算するSUM計算手段12と、
そのSUM計算手段によって計算されたSUM値を格納するレジスタ部13と、
前記の受信データ用メモリ20へ格納されたデジタルデータを一時的に格納するデータバッファ15と、
そのデータバッファ15へ格納したデジタルデータを前記の送信データ用メモリ50へ転送するDMAライト部14と、
を備える。
そして、前記のDMAリード部11は、前記のSUM計算手段12への前記のデジタルデータの転送を、前記のデジタルデータのデータバッファ15への格納と同時に実行することとしている。
(First invention)
The first invention is a received
A
A
The
A DMA read
SUM calculation means 12 for calculating a SUM value for transmission of digital data DMA-processed by the
A
A
A DMA write
Is provided.
The DMA read
(用語説明)
送信対象であるデジタルデータとは、代表的には画像データ(静止画、動画)、音声データなど、容量が大きいものが適している。
前記の送信対象となるデジタルデータに対して通信プロトコルに合わせるためのプロトコル処理などを実行してプロトコル加工済みデータとするが、前記のSUM計算手段(12)は、そうしたプロトコル処理手段(CPU40)とは別に備える。
本願に係る「データ処理装置」は、たとえばワンチップ化して既存のデータ送信装置へ組み込むことが可能である。
(Glossary)
As the digital data to be transmitted, data having a large capacity, such as image data (still image, moving image) and audio data, is suitable.
The digital data to be transmitted is subjected to protocol processing or the like for matching with a communication protocol to obtain protocol-processed data. The SUM calculation means (12) includes such protocol processing means (CPU 40) and Prepare separately.
The “data processing apparatus” according to the present application can be integrated into an existing data transmission apparatus, for example, in one chip.
(作用)
そのSUM計算手段(12)によるSUM値の計算のためのデジタルデータを、DMAリード部(11)が受信データ用メモリ(20)から読み込む。読み込まれたデジタルデータに対して、SUM計算手段(12)が送信用のSUM値を計算する。そのSUM計算手段(12)によって計算されたSUM値は、レジスタ部(13)へ格納される。
一方、受信データ用メモリ(20)に格納されたデジタルデータは、SUM値付きデジタルデータへ加工処理するための送信データ用メモリ(50)へ、DMAライト部(14)が転送させる。DMAリード部(11)は、前記の送信データ用メモリ(50)へ転送およびSUM計算を同時に実行させる。
(Function)
The digital data for calculating the SUM value by the SUM calculation means (12) is read from the received data memory (20) by the DMA read unit (11). The SUM calculation means (12) calculates the SUM value for transmission with respect to the read digital data. The SUM value calculated by the SUM calculation means (12) is stored in the register unit (13).
On the other hand, the digital data stored in the reception data memory (20) is transferred by the DMA write unit (14) to the transmission data memory (50) for processing into digital data with a SUM value. The DMA read unit (11) causes the transmission data memory (50) to be transferred and the SUM calculation executed simultaneously.
SUM計算手段(12)によるSUM計算および送信データ用メモリ(50)への送信対象であるデジタルデータの送信処理を同時に実行できるため、トータルで要する処理時間を短縮でき、データ送信速度を向上させることができる。 Since the SUM calculation by the SUM calculation means (12) and the transmission processing of the digital data to be transmitted to the transmission data memory (50) can be executed at the same time, the total processing time can be reduced and the data transmission speed can be improved. Can do.
(第二の発明)
第二の発明は、通信ネットワークを介して送信対象となるデジタルデータをプロトコル処理済みデータへ加工する前に格納する受信データ用メモリ20と、
その受信データ用メモリ20へ格納されたデジタルデータについてのSUM値を算出するデータ処理装置10Bと、
前記の受信データ用メモリ20へ格納されたデジタルデータに対するプロトコル処理を実行するCPU40と、
そのCPU40にてプロトコル処理されたプロトコル処理済みデータ、および前記のデータ処理装置10Bによって算出された前記のSUM値を格納する送信データ用メモリ50と、
を備えたデータ送信装置における前記のデータ処理装置10Bに係る(図6参照)
第一の発明との相違点は、DMAライト部(14)が、レジスタ部(13)へ格納したSUM値をも送信データ用メモリ50へ転送することとしている点である。
(Second invention)
The second invention includes a received
A
A
(Refer to FIG. 6)
It differs from the first invention, DMA write unit (14), also a SUM value stored register unit (13) is a point that is to be transferred to the
(作用)
SUM計算手段(12)によって計算されたSUM値は、DMAライト部(14)が送信データ用メモリ(50)へ転送させる。SUM値付きデジタルデータへ加工するタイミングは、DMAライト部(14)が調整することとなる。
(Function)
The DMA write unit (14) transfers the SUM value calculated by the SUM calculation means (12) to the transmission data memory (50). The timing for processing the digital data with the SUM value is adjusted by the DMA write unit (14).
(第一の発明のバリエーション2)
第一の発明は、以下のように形成することも可能である。
すなわち、前記の受信データ用メモリ(20)から前記のDMAリード部(11)へのデータ転送用のリード用バス(61)と、 前記のDMAライト部(14)から前記の送信データ用メモリ(50)へのデータ転送用のライト用バス(62)と、を備えることとしてもよい。
(
The first invention can also be formed as follows.
That is, a read bus (61) for data transfer from the received data memory (20) to the DMA read unit (11), and a transmission data memory (from the DMA write unit (14)) And a write bus (62) for data transfer to (50).
(作用)
CPUバス(60)とは別に、リード用バス(61)およびライト用バス(62)を備えることによって、処理速度の向上に寄与したり、並列でCPU処理実行に寄与したりする。
(Function)
In addition to the CPU bus (60), the provision of the read bus (61) and the write bus (62) contributes to an improvement in processing speed or contributes to CPU processing execution in parallel.
第一の発明によれば、容量の大きなデジタルデータを送信する場合において、CPUの演算負担を軽減し、送信速度を速められるデータ処理装置を提供することができた。
According to the first aspect of the present invention, it is possible to provide a data processing device that can reduce the calculation burden on the CPU and increase the transmission speed when transmitting large-capacity digital data.
以下、本発明を実施形態に基づいて説明する。ここで使用する図面は、図4から図10である。また、必要に応じて図3を比較参照する。 Hereinafter, the present invention will be described based on embodiments. The drawings used here are FIGS. 4 to 10. Further, FIG. 3 is referred to and compared as necessary.
(図4および図5)
図4および図5を用いて、本実施形態の構成および処理手順を説明する。
カメラ100で画像または映像(以降、画像と総称)を撮影し、カメラインタフェースによって画像処理部101へ入力する(S11)。
画像処理部101において原画像へ画像処理を施し、その処理済みの画像データを通信受信部22へ保存する(S12)。
通信受信部22へ保存された処理済み画像データをDMAコントローラ部21の制御によって、メモリ部20へバースト転送する(S13)。
(FIGS. 4 and 5)
The configuration and processing procedure of this embodiment will be described with reference to FIGS. 4 and 5.
An image or video (hereinafter referred to as “image”) is taken by the
The
The processed image data stored in the
メモリ部20へ転送された画像データをSUM処理内臓DMAコントローラ10(図5では10A)の制御によって、メモリ部50のTCPペイロードへバースト転送する。その転送と同時に、SUM処理内臓DMAコントローラ10へ内蔵されたSUM計算部12でSUM値を計算し、レジスタ部13へ格納する(S14)。
The image data transferred to the
CPU40は、レジスタ部13へ格納されたSUM値をメモリ部50のTCPヘッダへ格納する(S15)。
メモリ部50へ保管されたTCPパケットデータをDMAコントローラ51の制御によって、通信送信部52へバースト転送する(S16)。
通信送信部52は、受信したTCPパケットをネットワークへ送信する(S17)。
The
The TCP packet data stored in the
The
図5に示すように、SUM処理内臓DMAコントローラ10Aでは、DMAリード部11がメモリ部20(受信データ用メモリ)から読み込んだデータは、SUM計算部12へ送り込むとともに、データバッファとしてのFIFO15にて、DMAライト部14によるメモリ部50(送信データ用メモリ)への書き込みのタイミングを調整している。
As shown in FIG. 5, in the SUM processing built-in
(図6)
図6は、図5に示した実施形態のバリエーションを示している。
図6に示すSUM処理内臓DMAコントローラ10Bでは、DMAリード部11がメモリ部20(受信データ用メモリ)から読み込んだデータを、SUM計算部12とFIFO15とへ送り込むこととしている。
(Fig. 6)
FIG. 6 shows a variation of the embodiment shown in FIG.
In the SUM processing built-in
SUM計算部12にて計算されたSUM値は、レジスタ部13に書き込む。 DMAライト部14は、FIFO15へ蓄積したデータとレジスタ部13に書き込まれたSUM値とをメモリ部50(送信データ用メモリ)へデータ転送する。
The SUM value calculated by the
(図7)
図7もまた、図5に示した実施形態のバリエーションを示している。
図7に示すSUM処理内臓DMAコントローラ10Cでは、CPUバス60とは別に、メモリ部20(受信データ用メモリ)からDMAリード部11へのデータ転送用のリード用バス61を備えている。 また、DMAライト部14からメモリ部50(送信データ用メモリ)へのデータ転送用のライト用バス62と、を備えている。
(Fig. 7)
FIG. 7 also shows a variation of the embodiment shown in FIG.
7 includes a read
FIFO15へ蓄積されたデータは、DMAライト部14によって、ライト用バス62を経由してメモリ部50へ転送される。
一方、レジスタ部13に蓄積されたSUM値は、CPUバス60を経由してメモリ部50へ転送される。
The data accumulated in the
On the other hand, the SUM value stored in the
この実施形態では、リード用バス61およびライト用バス62を備えているので、CPUバス60を使わずにデータの授受が実行できることによる処理速度の向上に寄与したり、並列でCPU処理実行に寄与したりする。
In this embodiment, since the read
(図8)
図8もまた、図5に示した実施形態のバリエーションを示している。
図8に示した実施形態もまた、リード用バス61およびライト用バス62を備えている。
図7との相違点は、レジスタ部13に蓄積されたSUM値が、FIFO15へ蓄積されたデジタルデータとともに、ライト用バス62を経由してメモリ部50へ転送される点である。
(Fig. 8)
FIG. 8 also shows a variation of the embodiment shown in FIG.
The embodiment shown in FIG. 8 also includes a read
The difference from FIG. 7 is that the SUM value stored in the
この実施形態においても、リード用バス61およびライト用バス62を備えているので、CPUバス60を使わずにデータの授受が実行できることによる処理速度の向上に寄与したり、並列でCPU処理実行に寄与したりする。
Also in this embodiment, since the read
(図9)
図9に基づいて、被写体を撮影したカメラの画像が、どのようにデータとして加工され、どこへ送信されたり格納されたりするのか、を説明する。 図9において、吹き出しにて表現しているのは、矢印の方向で示す処理を、どのハードウェアが中心となって実行しているか、を示すものである。
必要に応じて、図3と比較すると、本発明(各実施形態)が従来技術とどこが異なるか、明確となる。
(Fig. 9)
Based on FIG. 9, it will be described how an image of a camera that captured a subject is processed as data, and where it is transmitted and stored. In FIG. 9, what is expressed by a balloon indicates which hardware is mainly performing the process indicated by the direction of the arrow.
If necessary, it becomes clear where the present invention (each embodiment) differs from the prior art when compared with FIG.
まず、被写体をカメラ100が撮影すると、アナログである画像(静止画であっても動画であってもよい)は、カメラ100における画像処理部101においてデジタル化され、画像データとなる。 デジタル化された画像データは、メモリ部20(受信データ用メモリ)へ格納される。
First, when the
メモリ部20へ格納された画像データは、通信回線にて送信が可能であるようにプロトコル加工を施す。このプロトコル加工は、CPU40が実行する。
一方、メモリ部20へ格納された画像データを用いて、SUM値を計算するのであるが、その計算処理は、SUM処理内蔵DMAコントローラ10Aが実行する。以下、更に詳しく説明する。
The image data stored in the
On the other hand, the SUM value is calculated using the image data stored in the
まず、メモリ部20へ格納された画像データをDMAリード部11へ読み込む。そして、SUM計算部12がSUM値を計算する。計算したSUM値は、レジスタ部13へ格納し、CPU40は、メモリ部50へSUM値を書き込む。
First, the image data stored in the
メモリ部20へ格納された画像データは、FIFO15にも一旦格納する。このFIFO15へのデータ格納と、SUM計算部12への画像データの転送とを、DMAリード部11が同時に実行させるのである。
なお、メモリ部50(送信データ用メモリ)へ送るタイミングをDMAライト部14が制御している。
The image data stored in the
Note that the
SUM値とプロトコル加工された画像データとは、メモリ部50へ格納され、CPU40によってSUM値付き画像データとしてパケット化される。そのSUM値付き画像データは、通信送信部52によってネットワークへ送信される。
The SUM value and the image data subjected to protocol processing are stored in the
図9に示した処理手順においては、前述したDMAリード部11が、従来のボトルネック解消に寄与し、画像データ送信の速度向上にも寄与するのである。
図9に示した処理手順は、図3に示した処理手順よりも、円滑にパケット化データを作成できる。図3の処理手順では、図9のような並列処理が存在しない。
In the processing procedure shown in FIG. 9, the DMA read
The processing procedure shown in FIG. 9 can create packetized data more smoothly than the processing procedure shown in FIG. In the processing procedure of FIG. 3, there is no parallel processing as shown in FIG .
(図10)
図10では、図9に示した実施形態のバリエーションを示す。
前述した実施形態との相違点は、カメラ100における画像処理部101がデジタル化した画像データをメモリ部20とは別に備えたサブメモリ25にも格納することとした点である。
なお、サブメモリ25は、メモリ部20と物理的に異なる存在とする場合の他、メモリ部20にパーティションを設定することでサブメモリ25を存在させる場合を含む。
(Fig. 10)
FIG. 10 shows a variation of the embodiment shown in FIG.
The difference from the above-described embodiment is that the image data digitized by the
The sub memory 25 includes a case where the sub memory 25 exists by setting a partition in the
SUM処理内蔵DMAコントローラ10BのDMAリード部11は、サブメモリ25に格納された画像データを用いてSUM計算部12にSUM値を計算させるように制御する。サブメモリ25の存在によって、メモリ部20の負担を軽減できる。
The DMA read
本発明は、情報通信機器の製造業、情報通信サービスのためのコンピュータソフトウェアを作成するソフトウェア産業、などにおいて利用可能性を有する。
The present invention has applicability in the manufacturing industry of information communication equipment, the software industry for creating computer software for information communication services, and the like.
10 ;SUM処理部
10A,10B,10C,10D ;SUM処理内蔵DMAコントローラ
11 ;DMAリード部 12 ;SUM計算部
13 ;レジスタ部 14 ;DMAライト部
15 ;FIFO(バッファメモリ)
20 ;メモリ部(画像データ受信用) 21 ;DMAコントローラ
22 ;画像通信受信部
25 ;サブメモリ
30 ;DMAコントローラ(SUM転送用)
31 ;DMAコントローラ(メモリ転送用)
40 ;CPU
50 ;メモリ部(送信データ格納用) 51 ;DMAコントローラ
52 ;通信送信部
60 ;CPUバス 61 ;リード用バス
62 ;ライト用バス
100 ;カメラ 101 ;画像処理部
DESCRIPTION OF
20; Memory unit (for receiving image data) 21;
31; DMA controller (for memory transfer)
40; CPU
50; Memory unit (for storing transmission data) 51;
Claims (3)
その受信データ用メモリへ格納されたデジタルデータについてのSUM値を算出するデータ処理装置と、
前記の受信データ用メモリへ格納されたデジタルデータに対するプロトコル処理を実行してプロトコル処理済みデータへ加工するCPUと、
前記のプロトコル処理済みデータ、および前記のデータ処理装置によって算出された前記のSUM値を格納する送信データ用メモリと、
を備えたデータ送信装置における前記のデータ処理装置であって、
前記の受信データ用メモリへ格納されたデジタルデータに対してDMA処理を施すDMAリード部と、
そのDMAリード部がDMA処理したデジタルデータの送信用のSUM値を計算するSUM計算手段と、
そのSUM計算手段によって計算されたSUM値を格納するレジスタ部と、
前記の受信データ用メモリへ格納されたデジタルデータを一時的に格納するデータバッファと、
そのデータバッファへ格納したデジタルデータを前記の送信データ用メモリへ転送するDMAライト部と、
を備え、
前記のDMAリード部は、前記のSUM計算手段への前記のデジタルデータの転送を、前記のデジタルデータのデータバッファへの格納と同時に実行することとした
データ処理装置。 Received data memory for storing digital data to be transmitted via a communication network before processing into protocol processed data,
A data processing device for calculating a SUM value for the digital data stored in the received data memory;
A CPU that performs protocol processing on the digital data stored in the received data memory and processes the data into protocol-processed data;
A transmission data memory for storing the protocol processed data and the SUM value calculated by the data processing device;
The data processing device in a data transmission device comprising:
A DMA read unit for performing DMA processing on the digital data stored in the received data memory;
SUM calculation means for calculating a SUM value for transmission of digital data DMA-processed by the DMA read unit;
A register unit for storing the SUM value calculated by the SUM calculation means;
A data buffer for temporarily storing the digital data stored in the received data memory;
A DMA write unit for transferring the digital data stored in the data buffer to the transmission data memory;
With
The data read device, wherein the DMA read unit executes the transfer of the digital data to the SUM calculation means simultaneously with the storage of the digital data in a data buffer.
その受信データ用メモリへ格納されたデジタルデータについてのSUM値を算出するデータ処理装置と、
前記の受信データ用メモリへ格納されたデジタルデータに対するプロトコル処理を実行してプロトコル処理済みデータへ加工するCPUと、
前記のプロトコル処理済みデータ、および前記のデータ処理装置によって算出された前記のSUM値を格納する送信データ用メモリと、
を備えたデータ送信装置における前記のデータ処理装置であって、
前記の受信データ用メモリに格納されたデジタルデータに対してDMA処理を施すDMAリード部と、
そのDMAリード部がDMA処理したデジタルデータの送信用のSUM値を計算するSUM計算手段と、
そのSUM計算手段によって計算されたSUM値を格納するレジスタ部と、
前記の受信データ用メモリへ格納されたデジタルデータを一時的に格納するデータバッファと、
そのデータバッファへ格納したデジタルデータおよび前記のレジスタ部が格納したSUM値を送信データ用メモリへ転送するDMAライト部と、
を備え、
前記のDMAリード部は、前記のSUM計算手段への前記のデジタルデータの転送を、
前記のデジタルデータのデータバッファへの格納と同時に実行することとした
データ処理装置。 Received data memory for storing digital data to be transmitted via a communication network before processing into protocol processed data,
A data processing device for calculating a SUM value for the digital data stored in the received data memory;
A CPU that performs protocol processing on the digital data stored in the received data memory and processes the data into protocol-processed data;
A transmission data memory for storing the protocol processed data and the SUM value calculated by the data processing device;
The data processing device in a data transmission device comprising:
A DMA read unit for performing DMA processing on the digital data stored in the received data memory;
SUM calculation means for calculating a SUM value for transmission of digital data DMA-processed by the DMA read unit;
A register unit for storing the SUM value calculated by the SUM calculation means;
A data buffer for temporarily storing the digital data stored in the received data memory;
A DMA write unit for transferring the digital data stored in the data buffer and the SUM value stored in the register unit to a transmission data memory;
With
The DMA read unit transfers the digital data to the SUM calculation unit.
A data processing apparatus which is executed simultaneously with the storage of the digital data in the data buffer.
前記のDMAライト部から前記の送信データ用メモリへのデータ転送用のライト用バスと、
を備えた
請求項1または請求項2のいずれかに記載のデータ処理装置。 A read bus for data transfer from the received data memory to the DMA read unit;
A write bus for data transfer from the DMA write unit to the transmission data memory ;
A data processing apparatus according to claim 1, comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016157931A JP6567476B2 (en) | 2016-08-10 | 2016-08-10 | Data processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016157931A JP6567476B2 (en) | 2016-08-10 | 2016-08-10 | Data processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2018026004A JP2018026004A (en) | 2018-02-15 |
| JP6567476B2 true JP6567476B2 (en) | 2019-08-28 |
Family
ID=61194133
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016157931A Active JP6567476B2 (en) | 2016-08-10 | 2016-08-10 | Data processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6567476B2 (en) |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH10161954A (en) * | 1996-11-29 | 1998-06-19 | Hitachi Ltd | Data communication device |
| JP3628286B2 (en) * | 2001-07-31 | 2005-03-09 | アンリツ株式会社 | IP header generator |
| JP2005204173A (en) * | 2004-01-16 | 2005-07-28 | Nec Electronics Corp | Apparatus and method for data conversion |
| JP4845674B2 (en) * | 2006-10-26 | 2011-12-28 | キヤノン株式会社 | Data processing apparatus and method, communication apparatus, and program |
| JP6433146B2 (en) * | 2014-04-22 | 2018-12-05 | キヤノン株式会社 | Information processing apparatus, system, information processing method, computer program |
-
2016
- 2016-08-10 JP JP2016157931A patent/JP6567476B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2018026004A (en) | 2018-02-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6433146B2 (en) | Information processing apparatus, system, information processing method, computer program | |
| CN102945215A (en) | Information processing apparatus and method, and program | |
| US20180181421A1 (en) | Transferring packets between virtual machines via a direct memory access device | |
| US11336297B2 (en) | DMA transfer apparatus, method of controlling the same, communication apparatus, method of controlling the same, and non-transitory computer-readable storage medium | |
| TWI753063B (en) | Data transfer apparatus and data transfer method | |
| JP5482230B2 (en) | COMMUNICATION DEVICE, INFORMATION PROCESSING DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND CONTROL PROGRAM | |
| US8046503B2 (en) | DMA controller, system on chip comprising such a DMA controller, method of interchanging data via such a DMA controller | |
| TW200415474A (en) | Method and apparatus for intermediate buffer segmentation and reassembly | |
| JP5293283B2 (en) | Semiconductor integrated circuit and memory access control method | |
| US20030076822A1 (en) | Data and context memory sharing | |
| JP6567476B2 (en) | Data processing device | |
| US8842547B2 (en) | Communication control apparatus and control method | |
| JP4883520B2 (en) | Memory control device and memory control method | |
| JP5440105B2 (en) | Image processing system, image processing apparatus, data transfer control method, program, and recording medium | |
| CN117579570A (en) | A PCIe-based data transmission method, device and system | |
| JP6938399B2 (en) | Communication equipment, communication methods and programs | |
| JP7145607B2 (en) | DMA TRANSFER DEVICE, DMA TRANSFER CONTROL METHOD, AND COMMUNICATION DEVICE | |
| JP2004056376A (en) | Semiconductor device and data transfer control method | |
| JP2008502977A (en) | Interrupt method for bus controller | |
| JP5587530B2 (en) | Engine / processor linkage system and linkage method | |
| US7174395B2 (en) | Communication interface method and device utilizing direct memory access data transfer | |
| JP6976786B2 (en) | Communication device and control method of communication device | |
| JP2015014866A (en) | Electronic apparatus, image forming device, and program | |
| JP3606145B2 (en) | Data transfer control device and electronic device | |
| JP2005293435A (en) | Data transfer device and its setting method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180612 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190328 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190423 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190614 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190703 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190718 |
|
| 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: 20190730 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190731 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6567476 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |