JP2016158024A - Communication input / output device - Google Patents

Communication input / output device Download PDF

Info

Publication number
JP2016158024A
JP2016158024A JP2015032975A JP2015032975A JP2016158024A JP 2016158024 A JP2016158024 A JP 2016158024A JP 2015032975 A JP2015032975 A JP 2015032975A JP 2015032975 A JP2015032975 A JP 2015032975A JP 2016158024 A JP2016158024 A JP 2016158024A
Authority
JP
Japan
Prior art keywords
queue
address
data
write
communication data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2015032975A
Other languages
Japanese (ja)
Inventor
智明 川村
Tomoaki Kawamura
智明 川村
晶子 大輝
Akiko Oteru
晶子 大輝
智志 重松
Satoshi Shigematsu
智志 重松
吉雄 松田
Yoshio Matsuda
吉雄 松田
幸祐 今村
Kosuke Imamura
幸祐 今村
和民 有本
Kazutami Arimoto
和民 有本
洋一郎 佐藤
Yoichiro Sato
洋一郎 佐藤
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.)
Kanazawa University NUC
Okayama Prefectural University
NTT Inc
Original Assignee
Kanazawa University NUC
Nippon Telegraph and Telephone Corp
Okayama Prefectural University
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 Kanazawa University NUC, Nippon Telegraph and Telephone Corp, Okayama Prefectural University filed Critical Kanazawa University NUC
Priority to JP2015032975A priority Critical patent/JP2016158024A/en
Publication of JP2016158024A publication Critical patent/JP2016158024A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Time-Division Multiplex Systems (AREA)
  • Communication Control (AREA)

Abstract

【課題】複数のキューによるデータメモリの使用効率を高める。【解決手段】書込制御部33が、書込対象キューに通信データを書き込む際、次書込アドレスからなる書込対象アドレスに当該通信データを書き込み、当該書込対象キューのキュー最終アドレス、書込前のキュー最終アドレスに関する後続アドレス、および次書込アドレスをそれぞれ更新し、読出制御部34が、読出対象キューから通信データを読み出す際、当該読出対象キューのキュー先頭アドレスからなる読出対象アドレスから当該通信データを読み出し、当該読出対象キューのキュー先頭アドレス、次書込アドレス、および新たな次書込アドレスに関する後続アドレスをそれぞれ更新する。【選択図】 図1An object of the present invention is to increase the use efficiency of a data memory by a plurality of queues. When write control unit 33 writes communication data to a write target queue, the write control unit 33 writes the communication data to a write target address consisting of a next write address, the queue final address of the write target queue, When the read control unit 34 reads the communication data from the read target queue, the subsequent address and the next write address related to the queue final address before loading are updated, respectively. The communication data is read, and the queue head address, the next write address, and the subsequent address relating to the new next write address of the read target queue are updated. [Selection] Figure 1

Description

本発明は、データ通信技術に関し、特に通信データ(フレームデータ)の入出力を行う通信用入出力装置で用いられるメモリアクセス制御技術に関する。   The present invention relates to a data communication technique, and more particularly to a memory access control technique used in a communication input / output device that inputs and outputs communication data (frame data).

従来、インターネット等のデータ通信で使用されて、例えばイーサネット(登録商標)のフレームデータ等の通信データを入出力するための通信用入出力装置として、例えば、特許文献1のような構成が提案されている。図19は、従来の通信用入出力装置(内蔵メモリ)の構成を示すブロック図である。
この通信用入出力装置は、多重化装置MUX、記録装置MEM、および多重分離装置DEMUXから構成されている。
Conventionally, for example, a configuration as disclosed in Patent Document 1 has been proposed as a communication input / output device that is used in data communication such as the Internet to input / output communication data such as Ethernet (registered trademark) frame data. ing. FIG. 19 is a block diagram showing a configuration of a conventional communication input / output device (built-in memory).
This communication input / output device includes a multiplexing device MUX, a recording device MEM, and a demultiplexing device DEMUX.

MUXは、入力ポートごとに設けられたキュー指定情報付加部により、入力されたフレームデータに対して、当該フレームデータの出力先に対応するキュー指定情報を付加した後、多重化部により多重化して出力する。
MEMは、MUXから時分割多重で出力されたフレームデータを書込制御部により受け取り、各フレームデータに付加されているキュー指定情報とキューマップとを参照し、内蔵するデータメモリ(DRAMチップ)内にフレームデータの出力先ごとに論理的に設けたキューのうち、キュー指定情報と対応するキューのアドレスへフレームデータを書き込む。また、MEMは、DEMUXからの読出指示に応じて、読出制御部により対応するキューからフレームデータを読み出して、DEMUXに出力する。
The MUX adds the queue designation information corresponding to the output destination of the frame data to the input frame data by the queue designation information addition section provided for each input port, and then multiplexes it by the multiplexing section. Output.
The MEM receives the frame data output from the MUX by time division multiplexing by the write control unit, refers to the queue designation information and the queue map added to each frame data, and stores in the built-in data memory (DRAM chip). Among the queues logically provided for each frame data output destination, the frame data is written to the queue address corresponding to the queue designation information. Further, in response to a read instruction from the DEMUX, the MEM reads frame data from the corresponding queue by the read control unit and outputs the frame data to the DEMUX.

DEMUXは、読出部により、出力ポートごとの優先制御ロジックに基づき、MEM内の優先出力ポートに対応する出力先のキューからフレームデータを読み出して、振分部により対応する出力ポートへ振り分け、出力ポートごとに設けられた速度変換部により当該出力ポートの通信速度に変換して出力する。   The DEMUX reads out the frame data from the output destination queue corresponding to the priority output port in the MEM based on the priority control logic for each output port by the reading unit, and distributes the frame data to the corresponding output port by the distribution unit. The data is converted into the communication speed of the output port by a speed conversion unit provided for each output.

図20は、キューと出力ポートとの対応を示す説明図であり、出力ポート数が3の場合が示されている。図20(a)では、キューと出力ポートとが1対1に対応付けられているが、図20(b)のように、1対多に対応付けることにより、1つのフレームデータを複数の出力ポートが出力する場合に対応可能となる。また、図20(c)のように、出力ポートごとに、読出優先度に応じたキューを対応付けることもできる。   FIG. 20 is an explanatory diagram showing the correspondence between queues and output ports, and shows the case where the number of output ports is three. In FIG. 20A, queues and output ports are associated one-to-one, but as illustrated in FIG. 20B, one frame data is associated with a plurality of output ports. Can be handled when Further, as shown in FIG. 20C, a queue corresponding to the read priority can be associated with each output port.

特開2011−010195号公報JP 2011-0101095 A

しかしながら、このような従来技術では、それぞれの出力ポートに対応する個別のキューを有しており、データメモリのアドレスを分割してこれらキューのアドレス範囲を固定的に決めているため、キュー毎にアドレス範囲が異なり、複数のキューでアドレス範囲を共用することができない。
したがって、データメモリ内のアドレス範囲を複数のキューで共用することができないことから、キューごとに想定される記憶容量分を固定的に確保しておく必要があり、データメモリの使用効率が低いという問題点があった。また、複数のキューでアドレスを共用できたとしても、単に共用するだけでは、いずれか特定のキューがアドレスを占有する可能性もあり、この場合も、データメモリの使用効率が低くなるという問題点があった。
However, such a conventional technique has individual queues corresponding to the respective output ports, and the address range of these queues is fixedly determined by dividing the address of the data memory. The address range is different, and multiple queues cannot share the address range.
Therefore, since the address range in the data memory cannot be shared by a plurality of queues, it is necessary to secure a fixed storage capacity for each queue, and the use efficiency of the data memory is low. There was a problem. In addition, even if an address can be shared by multiple queues, it is possible that any particular queue may occupy an address if it is simply shared. In this case, the efficiency of using data memory is reduced. was there.

本発明はこのような課題を解決するためのものであり、複数のキューによるデータメモリの使用効率を高めることができるメモリアクセス制御技術を提供することを目的としている。   An object of the present invention is to solve such a problem, and an object of the present invention is to provide a memory access control technique capable of improving the use efficiency of a data memory by a plurality of queues.

このような目的を達成するために、本発明にかかる通信用入出力装置は、順次入力される通信データに、当該通信データを出力すべき出力系統と対応するキューを示すキュー指定情報を付加して多重化する多重化装置と、前記多重化装置から転送された前記通信データを、データメモリ内に論理的に形成した複数のキューのうち前記キュー指定情報で指定された書込対象キューへ一時蓄積する記録装置と、前記キューのうち優先制御ロジックに基づき選択した出力系統と対応する読出対象キューから前記通信データを読み出し、当該出力系統と対応する出力ポートの通信速度に変換して出力する多重分離装置とを備える通信用入出力装置であって、前記記録装置は、前記データメモリの前記キューに対する書き込み・読み出しを制御する際に用いるキュー制御情報を記憶するキュー制御メモリと、前記キュー制御メモリのキュー制御情報に基づいて、前記多重化装置から転送された前記通信データを前記書込対象キューに書き込む書込制御部と、前記キュー制御メモリのキュー制御情報に基づいて、前記読出対象キューから通信データを読み出して前記多重分離装置へ転送する読出制御部とを備え、前記キュー制御メモリは、前記データメモリの格納アドレスごとに、当該格納アドレスに書き込まれた通信データに後続する通信データの格納アドレスを示す後続アドレスを記憶し、前記キューごとに、当該キューの通信データが書き込まれている前記格納アドレスの先頭および最終を示すキュー先頭アドレスおよびキュー最終アドレスを記憶し、前記各キューに共通して、次に通信データを書き込むべき格納アドレスを示す次書込アドレスを記憶し、前記書込制御部は、前記書込対象キューに前記通信データを書き込む際、前記次書込アドレスからなる書込対象アドレスに当該通信データを書き込み、当該書込対象キューのキュー最終アドレス、書込前のキュー最終アドレスに関する後続アドレス、および次書込アドレスをそれぞれ更新し、前記読出制御部は、前記読出対象キューから前記通信データを読み出す際、当該読出対象キューのキュー先頭アドレスからなる読出対象アドレスから当該通信データを読み出し、当該読出対象キューのキュー先頭アドレス、次書込アドレス、および新たな次書込アドレスに関する後続アドレスをそれぞれ更新するようにしたものである。   In order to achieve such an object, the communication input / output device according to the present invention adds queue designation information indicating a queue corresponding to an output system to which the communication data is to be output to communication data that is sequentially input. And the communication data transferred from the multiplexing device are temporarily stored in a write target queue designated by the queue designation information among a plurality of queues logically formed in a data memory. Multiplex that reads out the communication data from the queue to be read corresponding to the output system selected from the queue and the output system selected based on the priority control logic from the queue, converts it to the communication speed of the output port corresponding to the output system, and outputs it A communication input / output device comprising a separation device, wherein the recording device controls writing / reading to / from the queue of the data memory. A queue control memory that stores the queue control information, a write control unit that writes the communication data transferred from the multiplexing device to the write target queue based on the queue control information of the queue control memory, and A read control unit that reads communication data from the read target queue and transfers the communication data to the demultiplexing device based on the queue control information of the queue control memory, the queue control memory for each storage address of the data memory, A subsequent address indicating a storage address of communication data subsequent to the communication data written to the storage address is stored, and a queue indicating the start and end of the storage address where the communication data of the queue is written for each queue Stores the start address and queue end address, and then communicates in common with each queue. The write control unit stores a next write address indicating a storage address to which data is to be written, and when the write control unit writes the communication data to the write target queue, the write control unit Write communication data, update the queue final address of the write target queue, the subsequent address related to the queue final address before writing, and the next write address, respectively, and the read control unit reads the communication data from the read target queue Is read from the read target address consisting of the queue start address of the read target queue, and the subsequent address related to the queue start address, the next write address, and the new next write address of the read target queue, respectively. It is to be updated.

また、本発明にかかる上記通信用入出力装置の一構成例は、前記記録装置が、前記キューごとに、当該キューが使用している前記データメモリ上の格納アドレスの数を示す使用アドレス数を記憶するキュー使用アドレス数メモリと、前記書込対象キューに前記通信データを書き込む際、当該通信データのデータ長に基づき、書き込みに必要となる格納アドレスの数を示す必要アドレス数を算出し、前記キュー使用アドレス数メモリから取得した当該書込対象キューまたは前記各キューの使用アドレス数に基づき、当該書き込みに使用可能な格納アドレスの数を示す残りアドレス数を算出し、当該必要アドレス数と当該残りアドレス数とを比較することにより当該通信データの書込可否を判定し、書込可の判定に応じて前記書込制御部に対して当該通信データの書き込みを指示するアクセス調停部とをさらに備えている。   Also, in one configuration example of the communication input / output device according to the present invention, for each of the queues, the recording device has a number of used addresses indicating the number of storage addresses on the data memory used by the queue. When writing the communication data to the queue use address number memory to be stored and the write target queue, the necessary address number indicating the number of storage addresses required for writing is calculated based on the data length of the communication data, Based on the number of used addresses of the target queue or each queue acquired from the queue used address number memory, the number of remaining addresses indicating the number of storage addresses that can be used for the writing is calculated, and the required number of addresses and the remaining number of addresses are calculated. By comparing the number of addresses, it is determined whether or not the communication data can be written, and the write control unit Further comprising an access arbitration unit for instructing the writing of the communication data.

また、本発明にかかる他の通信用入出力装置は、順次入力される通信データに、当該通信データを出力すべき出力系統と対応するキューを示すキュー指定情報を付加して多重化する多重化装置と、前記多重化装置から転送された前記通信データを、データメモリ内に論理的に形成した複数のキューのうち前記キュー指定情報で指定された書込対象キューへ一時蓄積する記録装置と、前記キューのうち優先制御ロジックに基づき選択した出力系統と対応する読出対象キューから前記通信データを読み出し、当該出力系統と対応する出力ポートの通信速度に変換して出力する多重分離装置とを備える通信用入出力装置であって、前記記録装置は、前記キューごとに、当該キューが使用している前記データメモリ上の格納アドレスの数を示す使用アドレス数を記憶するキュー使用アドレス数メモリと、前記書込対象キューに前記通信データを書き込む際、当該通信データのデータ長に基づき、書き込みに必要となる格納アドレスの数を示す必要アドレス数を算出し、前記キュー使用アドレス数メモリから取得した当該書込対象キューまたは前記各キューの使用アドレス数に基づき、当該書き込みに使用可能な格納アドレスの数を示す残りアドレス数を算出し、当該必要アドレス数と当該残りアドレス数とを比較することにより当該通信データの書込可否を判定し、書込可の判定に応じて前記書込制御部に対して当該通信データの書き込みを指示するアクセス調停部とを備えている。   Further, another communication input / output device according to the present invention multiplexes by adding queue designation information indicating a queue corresponding to an output system to which the communication data is output to communication data that is sequentially input and multiplexing the communication data. A recording device that temporarily stores the communication data transferred from the multiplexing device in a write target queue designated by the queue designation information among a plurality of queues logically formed in a data memory; A communication device comprising: a demultiplexer that reads out the communication data from a read target queue corresponding to an output system selected based on a priority control logic in the queue, converts the communication data to a communication speed of an output port corresponding to the output system, and outputs the communication data For each queue, the recording device uses a usage address indicating the number of storage addresses on the data memory used by the queue. When the communication data is written to the write target queue and the queue use address number memory for storing the number of addresses, the necessary address number indicating the number of storage addresses required for writing is calculated based on the data length of the communication data. Then, based on the number of used addresses of the write target queue or each queue acquired from the queue used address number memory, the number of remaining addresses indicating the number of storage addresses that can be used for the write is calculated, and the required number of addresses An access arbitration unit that determines whether or not the communication data can be written by comparing the remaining address number with the number of remaining addresses, and instructs the write control unit to write the communication data according to the determination of whether or not writing is possible It has.

また、本発明にかかる上記通信用入出力装置の一構成例は、前記アクセス調停部が、前記データメモリが有する格納アドレスの総アドレス数から、前記各キューの使用アドレス数を減算することにより、前記残りアドレス数を算出するようにしたものである。   Further, in the configuration example of the communication input / output device according to the present invention, the access arbitration unit subtracts the used address number of each queue from the total address number of the storage addresses included in the data memory. The number of remaining addresses is calculated.

また、本発明にかかる上記通信用入出力装置の一構成例は、前記アクセス調停部が、前記書込対象キューに対して予め割り当てられている使用可能な格納アドレス数を示す最大アドレス数から、当該書込対象キューの使用アドレス数を減算することにより、前記残りアドレス数を算出するようにしたものである。   Further, in the configuration example of the communication input / output device according to the present invention, the access arbitration unit starts from a maximum number of addresses indicating the number of usable storage addresses allocated in advance to the write target queue. The number of remaining addresses is calculated by subtracting the number of used addresses of the write target queue.

また、本発明にかかる上記通信用入出力装置の一構成例は、前記アクセス調停部が、前記データメモリが有する格納アドレスの総アドレス数から、前記各キューに対して予め保障されている最低保証アドレスを減算することにより、前記残りアドレス数を算出するようにしたものである。   In addition, according to an example of the configuration of the communication input / output device according to the present invention, the access arbitration unit guarantees a minimum guarantee in advance for each queue from the total number of storage addresses of the data memory. The number of remaining addresses is calculated by subtracting the addresses.

本発明によれば、多重化装置から転送された通信データを、データメモリ内に論理的に形成した複数のキューのうちキュー指定情報で指定された書込対象キューへ一時蓄積する記録装置において、データメモリの使用効率を高めることができる。このため、メモリ容量の増大を行う必要がなくなり、結果として回路規模やコストの増大を抑制することが可能となる。   According to the present invention, in a recording device for temporarily storing communication data transferred from a multiplexing device in a write target queue designated by queue designation information among a plurality of queues logically formed in a data memory, The use efficiency of the data memory can be increased. For this reason, it is not necessary to increase the memory capacity, and as a result, an increase in circuit scale and cost can be suppressed.

第1の実施の形態にかかる通信用入出力装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a communication input / output device according to a first embodiment. FIG. 第1の実施の形態にかかる記録装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a recording apparatus according to a first embodiment. データメモリの記憶例である。It is a storage example of a data memory. アドレスキュー管理メモリの記憶例である。It is a storage example of an address queue management memory. キュー先頭・最終アドレスメモリの記憶例である。This is a storage example of a queue head / end address memory. キュー使用アドレス数メモリの記憶例である。It is a storage example of a queue use address number memory. 書込制御部における書込動作を示す説明図である。It is explanatory drawing which shows the write-in operation | movement in a write-control part. 読出制御部における読出動作を示す説明図である。It is explanatory drawing which shows the read-out operation | movement in a read-out control part. データP2−1読出直前(データP2−3書込直後)のキュー制御情報を示す説明図である。It is explanatory drawing which shows the queue control information immediately before data P2-1 reading (immediately after writing data P2-3). データP2−1読出時におけるキュー制御情報の変化を示す説明図である。It is explanatory drawing which shows the change of the queue control information at the time of data P2-1 reading. データP2−1読出直後(データP2−2読出直前)のキュー制御情報を示す説明図である。It is explanatory drawing which shows the queue control information immediately after reading data P2-1 (just before reading data P2-2). データP2−2読出時におけるキュー制御情報の変化を示す説明図である。It is explanatory drawing which shows the change of the queue control information at the time of data P2-2 reading. データP2−2読出直後(データP2−4書込直前)のキュー制御情報を示す説明図である。It is explanatory drawing which shows the queue control information immediately after reading data P2-2 (just before writing data P2-4). データP2−4書込時におけるキュー制御情報の変化を示す説明図である。It is explanatory drawing which shows the change of the queue control information at the time of data P2-4 writing. データP2−4書込直後のキュー制御情報を示す説明図である。It is explanatory drawing which shows the queue control information immediately after data P2-4 writing. 第2の実施の形態にかかるアクセス調停部の構成を示すブロック図である。It is a block diagram which shows the structure of the access arbitration part concerning 2nd Embodiment. 判定用アドレス数情報の構成例である。It is an example of a structure of the address number information for determination. 第2の実施の形態にかかる書込可否判定処理を示すフローチャートである。It is a flowchart which shows the writability determination processing concerning 2nd Embodiment. 従来の通信用入出力装置(内蔵メモリ)の構成を示すブロック図である。It is a block diagram which shows the structure of the conventional input / output device for communication (built-in memory). キューと出力ポートとの対応を示す説明図である。It is explanatory drawing which shows a response | compatibility with a queue and an output port.

次に、本発明の実施の形態について図面を参照して説明する。
[第1の実施の形態]
まず、図1を参照して、本発明の第1の実施の形態にかかる通信用入出力装置1について説明する。図1は、第1の実施の形態にかかる通信用入出力装置の構成を示すブロック図である。
Next, embodiments of the present invention will be described with reference to the drawings.
[First Embodiment]
First, a communication input / output device 1 according to a first embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram illustrating a configuration of the communication input / output device according to the first embodiment.

この通信用入出力装置1は、インターネット通信等で使用されて、例えばイーサネット(登録商標)のフレームデータ等の通信データを入出力するための通信用入出力装置であり、1つまたは複数の入力ポートから入力された通信データを、その通信データを出力すべき出力系統ごとに分離し、当該出力系統と対応する出力ポートの通信速度に変換して出力する機能を有している。   The communication input / output device 1 is a communication input / output device for inputting / outputting communication data such as Ethernet (registered trademark) frame data, which is used in Internet communication or the like. The communication data input from the port is separated for each output system to which the communication data is to be output, converted to the communication speed of the output port corresponding to the output system, and output.

図1に示すように、通信用入出力装置1は、多重化装置(MUX)10、メモリアクセス制御機能内蔵型の多重分離装置(DEMUX)20、およびアクセス制御機能内蔵型の記録装置(MEM)30から構成されている。以下では、通信用入出力装置1で入出力する通信データがフレームデータである場合を例として説明するが、これに限定されるものではなく、パケットやATMセルなど各種の通信データを、フレームデータと同様にして入出力することも可能である。   As shown in FIG. 1, the communication input / output device 1 includes a multiplexer (MUX) 10, a demultiplexer (DEMUX) 20 with a built-in memory access control function, and a recording device (MEM) with a built-in access control function. 30. In the following, a case where communication data input / output by the communication input / output device 1 is frame data will be described as an example. However, the present invention is not limited to this, and various types of communication data such as packets and ATM cells are converted into frame data. It is also possible to input / output in the same manner as in FIG.

多重化装置10は、外部から順次入力されるフレームデータに、当該フレームデータを出力すべき出力系統と対応するキュー指定情報を付加して多重化する機能を有している。
記録装置30は、多重化装置10から転送されたフレームデータを、データメモリ内に論理的に形成した複数のキューのうち、当該フレームデータに付加されているキュー指定情報で指定された書込対象キューへ一時蓄積する機能を有している。
多重分離装置20は、記録装置30内のキューのうち優先制御に基づき選択した出力系統と対応する読出対象キューから、当該読出対象キューに一時蓄積されているフレームデータを読み出し、当該出力系統と対応する出力ポートの通信速度に変換して出力する機能を有している。
The multiplexing device 10 has a function of multiplexing the frame data sequentially input from the outside by adding queue designation information corresponding to the output system to which the frame data is to be output.
The recording device 30 writes the frame data transferred from the multiplexing device 10 into a write target designated by the queue designation information added to the frame data among a plurality of queues logically formed in the data memory. It has a function to temporarily store in a queue.
The demultiplexer 20 reads the frame data temporarily stored in the read target queue from the read target queue corresponding to the output system selected based on the priority control among the queues in the recording device 30, and corresponds to the output system. It has a function of converting and outputting the communication speed of the output port.

本実施の形態は、記憶装置30において、キュー制御メモリ32が、データメモリ31の格納アドレスごとに、当該格納アドレスに書き込まれた通信データに後続する通信データの格納アドレスを示す後続アドレスを記憶し、キューごとに、当該キューの通信データが書き込まれている格納アドレスの先頭および最終を示すキュー先頭アドレスおよびキュー最終アドレスを記憶し、各キューに共通して、次に通信データを書き込むべき格納アドレスを示す次書込アドレスを記憶するようにしたものである。   In the present embodiment, in the storage device 30, the queue control memory 32 stores a subsequent address indicating a storage address of communication data subsequent to the communication data written to the storage address for each storage address of the data memory 31. For each queue, the queue start address and queue end address indicating the start and end of the storage address where the communication data of the queue is written are stored, and the storage address where the communication data is to be written next is common to each queue. Is stored.

また、書込制御部33が、書込対象キューに通信データを書き込む際、次書込アドレスからなる書込対象アドレスに当該通信データを書き込み、当該書込対象キューのキュー最終アドレス、書込前のキュー最終アドレスに関する後続アドレス、および次書込アドレスをそれぞれ更新し、読出制御部34が、読出対象キューから通信データを読み出す際、当該読出対象キューのキュー先頭アドレスからなる読出対象アドレスから当該通信データを読み出し、当該読出対象キューのキュー先頭アドレス、次書込アドレス、および新たな次書込アドレスに関する後続アドレスをそれぞれ更新することにより、データメモリ31の各格納アドレスを各キューで共用するようにしたものである。   Further, when the write control unit 33 writes communication data to the write target queue, the communication control unit 33 writes the communication data to the write target address consisting of the next write address, the queue final address of the write target queue, before writing When the read control unit 34 reads the communication data from the read target queue, the subsequent address and the next write address related to the queue final address are updated. Each storage address of the data memory 31 is shared by each queue by reading data and updating each of the queue start address, the next write address, and the subsequent address related to the new next write address. It is a thing.

本実施の形態では、図1に示すように、入力ポートPinとして2つの入力ポートPin0,Pin1が設けられ、出力ポートPoutとして2つの出力ポートPout0,Pout1が設けられている場合を例として説明するが、入力ポートPinおよび出力ポートPoutの数については、これに限定されるものではない。入力ポートPinおよび出力ポートPoutのいずれか一方または両方を3つ以上設けることも可能であり、入力ポート数と出力ポート数が異なっていても良い。なお、入力ポート数は、1つであってもよい。   In this embodiment, as shown in FIG. 1, a case where two input ports Pin0 and Pin1 are provided as the input port Pin and two output ports Pout0 and Pout1 are provided as the output port Pout will be described as an example. However, the number of input ports Pin and output ports Pout is not limited to this. Three or more of either one or both of the input port Pin and the output port Pout can be provided, and the number of input ports and the number of output ports may be different. Note that the number of input ports may be one.

[多重化装置]
次に、図1を参照して、本実施の形態にかかる通信用入出力装置1で用いられる多重化装置10について詳細に説明する。
多重化装置10には、主な回路部として、キュー指定情報付加部11と多重化部12が設けられている。
[Multiplexer]
Next, with reference to FIG. 1, the multiplexing apparatus 10 used in the communication input / output apparatus 1 according to the present embodiment will be described in detail.
The multiplexing apparatus 10 includes a queue designation information adding unit 11 and a multiplexing unit 12 as main circuit units.

キュー指定情報付加部11は、入力ポートPin0,Pin1ごとに設けられて、対応する入力ポートPinから入力されるフレームデータに対して、当該フレームデータの出力先に対応するキュー指定情報と、当該フレームデータのフレーム長情報(Byte)とを付加して多重化部12へ出力する機能を有している。この際、フレーム長情報については、例えば、多重化部12にフレームデータを出力する際、当該フレームデータの先頭から最終までのByte数をフレーム長として計数したものを付加すればよい。   The queue designation information adding unit 11 is provided for each of the input ports Pin0 and Pin1, and for frame data input from the corresponding input port Pin, queue designation information corresponding to the output destination of the frame data, and the frame It has a function of adding data frame length information (Byte) and outputting it to the multiplexing unit 12. At this time, for example, when outputting frame data to the multiplexing unit 12, the frame length information may be added by counting the number of bytes from the beginning to the end of the frame data as the frame length.

多重化部12は、各キュー指定情報付加部11に共通して1つ設けられて、各キュー指定情報付加部11から出力されたフレームデータを時分割で多重化して、記録装置30へ出力する機能を有している。
多重化装置10において、フレームデータの出力先に対応するキューの指定については、IEEE802.1D等のブリッジ機能により実現すればよく、具体的には、MACアドレス学習による出力ポート検索、VLAN−IDによる出力ポート指定等が可能である(特許文献1など参照)。
Multiplexing unit 12 is provided in common with each queue designation information adding unit 11, multiplexes the frame data output from each queue designation information adding unit 11 in a time division manner, and outputs it to recording apparatus 30. It has a function.
In the multiplexer 10, the designation of the queue corresponding to the output destination of the frame data may be realized by a bridge function such as IEEE802.1D. Specifically, the output port search by MAC address learning and the VLAN-ID are used. The output port can be specified (see Patent Document 1).

[多重分離装置]
次に、図1を参照して、本実施の形態にかかる通信用入出力装置1で用いられる多重分離装置20について詳細説明する。
多重分離装置20には、主な回路部として、読出部21、振分部22、および速度変換部23,24が設けられている。
[Demultiplexer]
Next, the demultiplexer 20 used in the communication input / output device 1 according to the present embodiment will be described in detail with reference to FIG.
The demultiplexer 20 is provided with a reading unit 21, a distribution unit 22, and speed conversion units 23 and 24 as main circuit units.

読出部21は、記録装置30から取得した各キューの蓄積状況や速度変換部23,24から出力された読出停止指示信号を参照し、出力ポートPout0,Pout1ごとの優先制御ロジックに基づいてフレームデータを優先して出力すべき出力系統を選択する機能と、当該出力系統と対応する読出対象キューからのフレームデータの読み出しを要求する読み出し要求を出力する機能と、これに応じて記憶装置30から転送されたフレームデータを、振分部22へ出力する機能を有している。
優先制御ロジックについては、例えば各キューの容量が同じ場合であれば、読み出し可能なキューの中でキューに蓄積されている通信データの量が最も多いキューから読み出しを行う等、一般的な優先制御ロジックを用いればよい(特許文献1など参照)。
The reading unit 21 refers to the accumulation status of each queue acquired from the recording device 30 and the reading stop instruction signal output from the speed conversion units 23 and 24, and the frame data based on the priority control logic for each of the output ports Pout0 and Pout1. A function for selecting an output system to be output with priority, a function for outputting a read request for reading frame data from a read target queue corresponding to the output system, and a transfer from the storage device 30 in response thereto The frame data is output to the distribution unit 22.
For priority control logic, for example, if the capacity of each queue is the same, general priority control such as reading from the queue with the largest amount of communication data stored in the queue among readable queues. Logic may be used (see Patent Document 1).

また、読出部21は、記録装置30に読み出し要求を出力する際、読み出し対象となるキューを指定するキュー指定情報に加えて、読み出しデータのデータ量を示す読出データ量情報を記録装置30に指示する。
読出データ量情報については、例えば読み出しを行うキューのデータ蓄積量が予め設定した閾値以下の場合は、データ蓄積量に等しい値を読出データ量情報として出力し、閾値を超えていた場合は、閾値の値を読出データ量情報として出力すればよい。
In addition, when the reading unit 21 outputs a read request to the recording device 30, the reading unit 21 instructs the recording device 30 with read data amount information indicating the data amount of the read data in addition to the queue designation information that specifies the queue to be read. To do.
For the read data amount information, for example, when the data accumulation amount of the queue to be read is equal to or less than a preset threshold value, a value equal to the data accumulation amount is output as the read data amount information. May be output as read data amount information.

振分部22は、読出部21から出力されたフレームデータを、当該フレームデータに付加されているキュー指定情報に基づいて、対応する出力ポートの速度変換部23,24へ振り分ける機能を有している。
速度変換部23,24は、出力ポートごとに設けられて、振分部22から振り分けられたフレームデータを当該出力ポートの通信速度に変換して出力する機能と、フレームデータの出力状況に応じて読出停止指示信号を読出部21に出力する機能とを有している。
なお、フレームデータに付加されているキュー指定情報は、振分部22もしくは速度変換部23,24で削除される。
The distribution unit 22 has a function of distributing the frame data output from the reading unit 21 to the speed conversion units 23 and 24 of the corresponding output port based on the queue designation information added to the frame data. Yes.
The speed converters 23 and 24 are provided for each output port, and according to the function of converting the frame data distributed from the distribution unit 22 into the communication speed of the output port and outputting the same, and the output status of the frame data A function of outputting a reading stop instruction signal to the reading unit 21.
The queue designation information added to the frame data is deleted by the distribution unit 22 or the speed conversion units 23 and 24.

[記録装置]
次に、図2を参照して、本実施の形態にかかる通信用入出力装置1で用いられる記録装置30について詳細説明する。図2は、第1の実施の形態にかかる記録装置の構成を示すブロック図である。
[Recording device]
Next, the recording device 30 used in the communication input / output device 1 according to the present embodiment will be described in detail with reference to FIG. FIG. 2 is a block diagram illustrating a configuration of the recording apparatus according to the first embodiment.

図2に示すように、記録装置30には、主な回路部として、データメモリ31、キュー制御メモリ32、書込制御部33、読出制御部34、キュー使用アドレス数メモリ35、およびアクセス調停部36が設けられている。   As shown in FIG. 2, the recording device 30 includes, as main circuit units, a data memory 31, a queue control memory 32, a write control unit 33, a read control unit 34, a queue use address number memory 35, and an access arbitration unit. 36 is provided.

データメモリ31は、例えばDRAMチップなどの半導体メモリからなり、出力系統ごとに形成された論理的なキューを複数有し、これらキューにより当該出力系統に対応するフレームデータを記憶する機能を有している。具体的には、データメモリ31を1つ、もしくは、複数のDRAMチップで構成して、複数の出力系統に対応する各キューに対応させればよく、出力系統ごとにそれぞれ1つのキューを持たせる構成の他、1つの出力系統に複数のキューを持たせることも可能である。   The data memory 31 is composed of, for example, a semiconductor memory such as a DRAM chip, and has a plurality of logical queues formed for each output system, and has a function of storing frame data corresponding to the output system using these queues. Yes. Specifically, the data memory 31 may be composed of one or a plurality of DRAM chips and correspond to each queue corresponding to a plurality of output systems, and each output system has one queue. In addition to the configuration, one output system can have a plurality of queues.

データメモリ31には、固有の格納アドレスを持つ複数の格納領域が設けられており、各キューはこれら格納領域を、格納アドレスの連続・不連続あるいは昇順・降順に関わらず任意に連結することにより構成されている。
図3は、データメモリの記憶例である。ここでは、それぞれ固有の格納アドレスADM(0〜N:Nは2以上の整数)を持つ格納領域ごとに、書込制御部33から書き込まれたデータを記憶している。
The data memory 31 is provided with a plurality of storage areas each having a unique storage address, and each queue can arbitrarily connect these storage areas regardless of whether the storage addresses are continuous / discontinuous or in ascending / descending order. It is configured.
FIG. 3 shows a storage example of the data memory. Here, the data written from the write control unit 33 is stored for each storage area having a unique storage address ADM (0 to N: N is an integer of 2 or more).

この際、1フレームが1アドレス分のデータサイズより長い場合、1フレームは、1アドレス分のデータサイズに合わせて複数のデータDに分割され、それぞれ異なる複数の格納アドレスに書き込まれる。例えば、図3の場合、格納アドレス0,1,4には、キューP1のデータP1−1,P1−2,P1−3が格納されており、格納アドレス2,3,5には、キューP2のデータP2−1,P2−2,P2−3が格納されている。これらデータの前後関係やフレームとの対応関係については、後述するアドレスキュー管理メモリで管理される。なお、1フレームが格納領域のデータサイズより短い場合、フレームデータは1つの格納領域に格納される。   At this time, if one frame is longer than the data size for one address, one frame is divided into a plurality of data D in accordance with the data size for one address, and written to a plurality of different storage addresses. For example, in the case of FIG. 3, data P1-1, P1-2, and P1-3 of the queue P1 are stored at the storage addresses 0, 1, and 4, and the queue P2 is stored at the storage addresses 2, 3, and 5. Data P2-1, P2-2, and P2-3 are stored. The order relation of these data and the correspondence relation with the frame are managed by an address queue management memory described later. When one frame is shorter than the data size of the storage area, the frame data is stored in one storage area.

キュー制御メモリ32は、例えばSRAMチップなどの半導体メモリからなり、データメモリ31上に形成されている各キューに対するフレームデータの書き込み・読み出しを制御する際に用いる各種のキュー制御情報を記憶する機能を有している。
キュー制御メモリ32は、レジスタやメモリからなる複数の記憶部を含んでおり、主な記憶部として、空きアドレスレジスタ(VAR,UAR)32A、アドレスキュー管理メモリ(QM)32B、キュー先頭・最終アドレスメモリ(SAR,LAR)32C、および作業用アドレスレジスタ(TMPV,TMPL)32Dを有している。なお、以下では理解を容易とするため、レジスタ名を変数名として用いて説明する場合がある。
The queue control memory 32 is composed of a semiconductor memory such as an SRAM chip, for example, and has a function of storing various queue control information used for controlling writing / reading of frame data to / from each queue formed on the data memory 31. Have.
The queue control memory 32 includes a plurality of storage units composed of registers and memories. The main storage units include a free address register (VAR, UAR) 32A, an address queue management memory (QM) 32B, and a queue head / end address. A memory (SAR, LAR) 32C and a work address register (TMPV, TMPL) 32D are provided. In the following description, register names are sometimes used as variable names for easy understanding.

空きアドレスレジスタ(VAR,UAR)32Aは、各キューに共通して、次書込アドレスVARと未書込アドレスUARとを記憶する機能を有している。このうち、VAR(Valid Address Register)は、多重化装置10から次に受け取ったフレームデータを書き込む際、当該フレームデータを次に書き込むべき格納アドレスを示すアドレス情報である。また、UAR(Unused Address Register)は、初期化後にまだ一度もデータが書き込まれていない未使用の格納アドレスのうちの先頭(若番)を示す格納アドレスである。   The empty address register (VAR, UAR) 32A has a function of storing the next write address VAR and the unwritten address UAR in common to each queue. Among them, VAR (Valid Address Register) is address information indicating a storage address to which the frame data is to be written next when the frame data received from the multiplexing apparatus 10 is written next. UAR (Unused Address Register) is a storage address indicating the head (young number) of unused storage addresses to which no data has been written yet after initialization.

本実施の形態では、フレームデータ書き込み時、格納アドレスの若番から順に使用することを基本としており、フレームデータの読み出しにより空き状態となった格納アドレスについては、未使用の格納アドレスより優先して再使用するものとする。なお、再使用する格納アドレスの順序については、例えば直近に空き状態となった格納アドレスから順に再使用するなど、任意の順序でよく、若番の順に限定されない。   In this embodiment, when writing frame data, it is basically used in order from the lowest storage address. For storage addresses that have become empty due to reading of frame data, priority is given to unused storage addresses. Shall be reused. Note that the order of storage addresses to be reused may be any order, for example, the storage addresses that have recently become empty, and are not limited to the lowest order.

アドレスキュー管理メモリ(QM)32Bは、格納アドレスADMごとに、後続アドレスADD(ADDress)とポインタPN(Pointer of QM)とを記憶する機能を有している。
図4は、アドレスキュー管理メモリの記憶例である。このうち、ADDは、当該格納アドレスに書き込まれた通信データに後続する通信データが格納されている格納アドレスである。また、PNは、当該格納アドレスに格納されているデータにフレームデータの最終データを含むか否かを示す情報(フレーム終端フラグ)である。
The address queue management memory (QM) 32B has a function of storing a subsequent address ADD (ADDress) and a pointer PN (Pointer of QM) for each storage address ADM.
FIG. 4 is a storage example of the address queue management memory. Among these, ADD is a storage address in which communication data subsequent to the communication data written to the storage address is stored. PN is information (frame end flag) indicating whether or not the data stored at the storage address includes the final data of the frame data.

キュー先頭・最終アドレスメモリ(SAR,LAR)32Cは、キューごとに、キュー先頭アドレスSAR(Start Address register of PM)およびキュー最終アドレスLAR(Last Address register of PM)を記憶する機能を有している。
図5は、キュー先頭・最終アドレスメモリの記憶例である。ここでは、キューを識別するためのキューID(キュー番号)ごとに、SARとLARを記憶している。このうち、SARは、当該キューのフレームデータが書き込まれている格納アドレスの先頭を示すアドレス情報である。また、LARは、当該キューのフレームデータが書き込まれている格納アドレスの最終を示すアドレス情報である。
The queue head / last address memory (SAR, LAR) 32C has a function of storing a queue head address SAR (Start Address register of PM) and a queue last address LAR (Last Address register of PM) for each queue. .
FIG. 5 shows a storage example of the queue head / end address memory. Here, SAR and LAR are stored for each queue ID (queue number) for identifying the queue. Among these, SAR is address information indicating the head of the storage address where the frame data of the queue is written. LAR is address information indicating the final storage address in which frame data of the queue is written.

作業用アドレスレジスタ(TMPV,TMPL)32Dは、各キューに共通して、作業用次書込アドレスTMPV(Temporary register for VAR)と作業用キュー最終アドレスTMPL(Temporary register for LAR)を記憶する機能を有している。
このうち、TMPVは、直前に書き込み・読み出しを行ったキューの次書込アドレスVARを示すアドレス情報である。また、TMPLは、最後に書き込みを行ったキューの直前(更新前)におけるキュー最終アドレスLARを示すアドレス情報である。これらは、それぞれのデータの書き込み・読み出し作業の処理手順の関係から一時的にアドレス情報を保持するために使用されるものであるが、次の書き込み・読み出し作業に用いることもある。
The work address register (TMPV, TMPL) 32D has a function of storing a work next write address TMPV (Temporary register for VAR) and a work queue final address TMPL (Temporary register for LAR) in common with each queue. Have.
Among these, TMPV is address information indicating the next write address VAR of the queue in which writing / reading was performed immediately before. TMPL is address information indicating the queue final address LAR immediately before (before update) the queue in which writing was last performed. These are used to temporarily hold address information because of the processing procedure of each data write / read operation, but may also be used for the next write / read operation.

書込制御部33は、アクセス調停部36からの書き込み指示に応じて、キュー制御メモリ32のキュー制御情報に基づいて、データメモリ31上に形成されている各出力系統のキューのうち指定された書込対象キューへ、受け取った当該フレームデータを書き込む機能を有している。   The write control unit 33 is designated among the queues of each output system formed on the data memory 31 based on the queue control information of the queue control memory 32 in response to a write instruction from the access arbitration unit 36. It has a function of writing the received frame data to the write target queue.

読出制御部34は、アクセス調停部36からの読み出し指示に応じて、キュー制御メモリ32のキュー制御情報に基づいて、データメモリ31上に形成されている各出力系統のキューのうち、キュー指定情報で指定された読出対象キューから先頭のデータを読み出す機能と、当該データをフレーム終端フラグおよびキュー指定情報とともに多重分離装置20へ転送する機能とを有している。   Based on the queue control information in the queue control memory 32 in response to a read instruction from the access arbitration unit 36, the read control unit 34 selects the queue designation information from among the queues of each output system formed on the data memory 31. And a function of reading the head data from the read target queue specified in (2) and a function of transferring the data to the demultiplexing device 20 together with the frame end flag and the queue designation information.

キュー使用アドレス数メモリ35は、キューごとに、当該キューに蓄積されているフレームデータが使用しているアドレス数NKを記憶する機能と、多重分離装置20およびアクセス調停部36からの要求に応じて、指定されたキューのアドレス数NKを出力する機能とを有している。
図6は、キュー使用アドレス数メモリの記憶例である。ここでは、キューを識別するためのキューID(キュー番号)ごとに、当該キューのアドレス数NKが記憶されている。
For each queue, the queue use address number memory 35 stores a function for storing the number of addresses NK used by the frame data stored in the queue and a request from the demultiplexer 20 and the access arbitration unit 36. And a function of outputting the number of addresses NK of the designated queue.
FIG. 6 is a storage example of the queue use address number memory. Here, for each queue ID (queue number) for identifying a queue, the number of addresses NK of the queue is stored.

アクセス調停部36は、多重化装置10から転送されたフレームデータを受け取り、当該フレームデータに付加されているフレーム長情報に基づき、フレームデータを1アドレス分のデータサイズで複数のデータDに分割することにより書込回数を計算する機能と、この書込回数分だけ、それぞれのデータDに関する、当該フレームデータに付加されているキュー指定情報で指定された書込対象キューへの書き込みを指示する書き込み指示を書込制御部33に出力する機能と、当該フレームデータの書き込みにより増加するアドレス数を、キュー使用アドレス数メモリ35の当該書込対象キューのアドレス数NKに加算する機能とを有している。   The access arbitration unit 36 receives the frame data transferred from the multiplexing apparatus 10 and divides the frame data into a plurality of data D with a data size of one address based on the frame length information added to the frame data. A function for calculating the number of times of writing and writing for instructing writing to the write target queue designated by the queue designation information added to the frame data for each data D by the number of times of writing. A function of outputting an instruction to the write control unit 33, and a function of adding the number of addresses increased by writing the frame data to the number of addresses NK of the write target queue in the queue use address number memory 35. Yes.

また、アクセス調停部36は、多重分離装置20からの読み出し要求に応じて、当該読み出し要求の読出データ量情報で指定されたデータ量を1アドレス分のデータサイズで分割することにより読出回数を計算する機能と、この読出回数分だけ、当該読み出し要求のキュー指定情報で指定された読出対象キューからのフレームデータの読み出しを指示する読み出し指示を読出制御部34へ出力する機能と、当該フレームデータの読み出しにより減少するアドレス数を、キュー使用アドレス数メモリ35の当該書込対象キューのアドレス数NKから減算する機能と、フレームデータの書き込みとの競合を調停し、読み出し可能なタイミングで読み出し指示を出力する機能とを有している。   In response to a read request from the demultiplexer 20, the access arbitration unit 36 calculates the number of reads by dividing the data amount specified by the read data amount information of the read request by the data size for one address. A function for outputting to the read control unit 34 a read instruction for instructing reading of frame data from the read target queue designated by the queue designation information of the read request, and the number of times of reading, Arranges a conflict between the function of subtracting the address number decreased by reading from the address number NK of the write target queue in the queue use address number memory 35 and the writing of frame data, and outputs a read instruction at a readable timing. It has the function to do.

[第1の実施の形態の動作]
次に、図7および図8を参照して、本実施の形態にかかる通信用入出力装置1で用いられる記録装置30の動作について説明する。
図7は、書込制御部における書込動作を示す説明図である。図8は、読出制御部における読出動作を示す説明図である。
[Operation of First Embodiment]
Next, the operation of the recording device 30 used in the communication input / output device 1 according to the present embodiment will be described with reference to FIGS.
FIG. 7 is an explanatory diagram showing a write operation in the write control unit. FIG. 8 is an explanatory diagram showing a read operation in the read control unit.

[書き込み動作]
まず、図7を参照して、記録装置30の書込制御部33における書き込み動作について説明する。
書込制御部33は、アクセス調停部36からの書き込み指示に応じて、図7の処理動作を実行する。新たなデータを書込対象キューに書き込んだ場合、各キューによるデータメモリ31の格納アドレスの共用という観点からすれば、キュー制御情報における主な変化としては、書き込み前後において、書込対象キューに関するキュー最終アドレスLARと、書込前のキュー最終アドレスに関する後続アドレスADDと、各キューに共通する次書込アドレスVARとが変化する。なお、書込対象キューに対する最初の書き込みである場合は、書込対象キューに関するキュー先頭アドレスSARも変化する。
[Write operation]
First, a writing operation in the writing control unit 33 of the recording device 30 will be described with reference to FIG.
The write control unit 33 executes the processing operation of FIG. 7 in response to a write instruction from the access arbitration unit 36. When new data is written to the write target queue, from the viewpoint of sharing the storage address of the data memory 31 by each queue, the main change in the queue control information is that the queue related to the write target queue before and after the write. The final address LAR, the subsequent address ADD relating to the queue final address before writing, and the next write address VAR common to each queue are changed. In the case of the first writing to the write target queue, the queue head address SAR regarding the write target queue also changes.

このため、図7の処理動作において、書込制御部33は、次書込アドレスVARに対する指定データの書き込み、書込対象キューに関するキュー最終アドレスLARの更新、書込前のキュー最終アドレスに関する後続アドレスADDの更新、各キューに共通する次書込アドレスVARの更新を行う。なお、書込対象キューに対する最初の書き込みである場合は、書込対象キューに関するキュー先頭アドレスの更新も行う。これら更新の詳細については動作例に基づいて後述する。   Therefore, in the processing operation of FIG. 7, the write control unit 33 writes the specified data to the next write address VAR, updates the queue final address LAR regarding the write target queue, and the subsequent address regarding the queue final address before writing. The ADD is updated and the next write address VAR common to each queue is updated. In the case of the first writing to the write target queue, the queue head address related to the write target queue is also updated. Details of these updates will be described later based on an operation example.

この際、書込制御部33は、データメモリ31とキュー制御メモリ32にアクセスすることにより、図7に示すステップW1〜W7を実行する。すなわち、LAR保持(W1)、LAR,SAR更新(W2)、VAR保持(W3)、ADD更新(W4)、VAR更新(W5)、PN更新(W6)、データ格納(W7)の順で処理を実行する。なお、図7の処理順序は、処理効率を考慮したものであるが、他の処理順序であってもよい。   At this time, the write control unit 33 executes steps W1 to W7 shown in FIG. 7 by accessing the data memory 31 and the queue control memory 32. That is, processing is performed in the order of LAR retention (W1), LAR, SAR update (W2), VAR retention (W3), ADD update (W4), VAR update (W5), PN update (W6), and data storage (W7). Run. Note that the processing order of FIG. 7 is based on processing efficiency, but may be other processing orders.

[読み出し動作]
次に、図8を参照して、記録装置30の読出制御部34における読み出し動作について説明する。
読出制御部34は、アクセス調停部36からの読み出し指示に応じて、図8の処理動作を実行する。新たなデータを読出対象キューから読み出した場合、各キューによるデータメモリ31の格納アドレスの共用という観点からすれば、キュー制御情報における主な変化としては、読み出し前後において、読出対象キューに関するキュー先頭アドレスSARと、各キューに共通する次書込アドレスVARと、新たな次書込アドレスVARに関する後続アドレスADDとが変化する。
[Read operation]
Next, with reference to FIG. 8, a reading operation in the reading control unit 34 of the recording apparatus 30 will be described.
The read control unit 34 executes the processing operation of FIG. 8 in response to a read instruction from the access arbitration unit 36. When new data is read from the read target queue, from the viewpoint of sharing the storage address of the data memory 31 by each queue, the main change in the queue control information is the queue head address related to the read target queue before and after the read. The SAR, the next write address VAR common to each queue, and the subsequent address ADD relating to the new next write address VAR change.

このため、図8の処理動作において、読出制御部34は、読出対象キューに関するキュー先頭アドレスSARからのデータおよびEoF(End of Frame:フレーム終端フラグ)の読み出し、読出対象キューに関するキュー先頭アドレスSARの更新、各キューに共通する次書込アドレスVARの更新、読出済格納アドレスに関する後続アドレスADDの更新を行う。これら更新の詳細については動作例に基づいて後述する。   For this reason, in the processing operation of FIG. 8, the read control unit 34 reads the data and the EoF (End of Frame: frame end flag) from the queue head address SAR related to the read target queue, and sets the queue head address SAR related to the read target queue. Update, update of the next write address VAR common to each queue, update of the subsequent address ADD related to the read storage address. Details of these updates will be described later based on an operation example.

この際、読出制御部34は、データメモリ31とキュー制御メモリ32にアクセスすることにより、図8に示すステップR1〜R5を実行する。すなわち、データ出力,EoF出力(R1)、VAR保持(R2)、VAR更新(R3)、SAR更新(R4)、後続アドレス更新(R5)の順で処理を実行する。なお、図8の処理順序は、処理効率を考慮したものであるが、他の処理順序であってもよい。   At this time, the read control unit 34 accesses the data memory 31 and the queue control memory 32 to execute steps R1 to R5 shown in FIG. That is, processing is executed in the order of data output, EoF output (R1), VAR retention (R2), VAR update (R3), SAR update (R4), and subsequent address update (R5). Note that the processing order in FIG. 8 takes processing efficiency into consideration, but may be another processing order.

[動作例]
次に、図9〜図15を参照して、記録装置30におけるフレームデータの書込動作および読出動作について、キューP2を読出・書込対象キューとし、このキューP2にデータP2−3が書込まれた後、データP2−1、P2−2を読み出し、さらにデータP2−4を書き込む場合を例に説明する。
[Operation example]
Next, referring to FIG. 9 to FIG. 15, in the frame data writing operation and reading operation in recording device 30, queue P2 is set as a read / write target queue, and data P2-3 is written to this queue P2. An example will be described in which the data P2-1 and P2-2 are read and then the data P2-4 is written.

図9は、データP2−1読出直前(データP2−3書込直後)のキュー制御情報を示す説明図である。ここでは、データP2−1読出直前すなわちデータP2−3が書込まれた直後におけるキュー制御情報が示されている。この状態において、データメモリ31のうち、格納アドレス「0,1,4」にキューP1のデータP1−1,P1−2,P1−3が書き込まれており、格納アドレス「2,3,5」にキューP2のデータP2−1,P2−2,P2−3が書き込まれている。また、格納アドレス「6〜N」は未使用である。   FIG. 9 is an explanatory diagram showing queue control information immediately before reading data P2-1 (immediately after writing data P2-3). Here, queue control information immediately before reading data P2-1, that is, immediately after writing data P2-3 is shown. In this state, the data P1-1, P1-2, and P1-3 of the queue P1 are written in the storage address “0, 1, 4” in the data memory 31, and the storage address “2, 3, 5” is stored. The data P2-1, P2-2, and P2-3 of the queue P2 are written in the. Further, the storage addresses “6 to N” are unused.

したがって、次書込アドレスVARは「6」となり、未書込アドレスUARも「6」である。また、キューP1のデータP1−1,P1−2,P1−3の順序に応じて、格納アドレス「0,1」に関する後続アドレスADDは「1,4」となり、キューP2のデータP2−1,P2−2,P2−3の順序に応じて、格納アドレス「2,3」に関する後続アドレスADDは「3,5」となっている。なお、格納アドレス「0,2」のポインタPNが「0」となっており、データP1−1,P2−1には、フレーム終端が含まれていないことがわかる。   Therefore, the next write address VAR is “6”, and the unwritten address UAR is also “6”. Further, the subsequent address ADD relating to the storage address “0, 1” becomes “1, 4” according to the order of the data P1-1, P1-2, and P1-3 in the queue P1, and the data P2-1 in the queue P2 In accordance with the order of P2-2 and P2-3, the subsequent address ADD for the storage address “2, 3” is “3, 5”. The pointer PN of the storage address “0, 2” is “0”, and it can be seen that the data P1-1 and P2-1 do not include the end of the frame.

また、キューP1のキュー先頭アドレスSARは、データP1−1の格納アドレス「0」を示し、キュー最終アドレスLARは、データP1−3の格納アドレス「4」を示している。また、キューP2のキュー先頭アドレスSARは、データP2−1の格納アドレス「2」を示し、キュー最終アドレスLARは、データP2−3の格納アドレス「5」を示している。なお、作業用次書込アドレスTMPVと作業用キュー最終アドレスTMPLには、それぞれ「5」と「3」が格納されている。   Further, the queue head address SAR of the queue P1 indicates the storage address “0” of the data P1-1, and the queue final address LAR indicates the storage address “4” of the data P1-3. Further, the queue head address SAR of the queue P2 indicates the storage address “2” of the data P2-1, and the queue final address LAR indicates the storage address “5” of the data P2-3. Note that “5” and “3” are stored in the work next write address TMPV and the work queue final address TMPL, respectively.

図9に示した状態において、キューP2のデータP2−1を読み出した場合、キュー制御情報は、図10のように変化する。図10は、データP2−1読出時におけるキュー制御情報の変化を示す説明図である。   In the state shown in FIG. 9, when the data P2-1 of the queue P2 is read, the queue control information changes as shown in FIG. FIG. 10 is an explanatory diagram showing changes in queue control information when reading data P2-1.

まず、図10(a)に示すように、キューP2に関するキュー先頭アドレスSARが示す読出対象アドレス「2」からデータP2−1が読み出されるため、読出対象アドレス「2」のデータDは空き状態となり、キューP2に関するデータはP2−2,P2−3の2つとなる。これにより、図10(b)に示すように、P2−2がキューP2の先頭データとなり、キュー先頭位置が格納アドレス「2」から「3」に変化するため、キューP2に関するキュー先頭アドレスSARが「2」から「3」に更新される。   First, as shown in FIG. 10A, the data P2-1 is read from the read target address “2” indicated by the queue head address SAR relating to the queue P2, so that the data D at the read target address “2” is in an empty state. The data relating to the queue P2 is two of P2-2 and P2-3. As a result, as shown in FIG. 10B, P2-2 becomes the head data of the queue P2, and the queue head position changes from the storage address “2” to “3”, so the queue head address SAR regarding the queue P2 is changed. It is updated from “2” to “3”.

また、読出対象アドレス「2」のデータDは空き状態となったため、図10(c)に示すように、この格納アドレス「2」が次データの書込位置となる。これにより、次書込アドレスVARが「6」から「2」に更新される。また、これに伴って、旧次書込アドレスVAR「6」と新次書込アドレスVAR「2」との順序関係を維持するため、図10(d)に示すように、格納アドレス「2」の後続アドレスADDが「3」から「6」に更新される。   Further, since the data D at the read target address “2” is in an empty state, as shown in FIG. 10C, the storage address “2” becomes the writing position of the next data. As a result, the next write address VAR is updated from “6” to “2”. Accordingly, in order to maintain the order relationship between the old primary write address VAR “6” and the new primary write address VAR “2”, as shown in FIG. The subsequent address ADD is updated from “3” to “6”.

これにより、キュー制御情報は、図11の状態に変化する。図11は、データP2−1読出直後(データP2−2読出直前)のキュー制御情報を示す説明図である。なお、作業用次書込アドレスTMPVと作業用キュー最終アドレスTMPLには、それぞれ「6」と「3」が格納されている。   As a result, the queue control information changes to the state shown in FIG. FIG. 11 is an explanatory diagram showing queue control information immediately after reading data P2-1 (just before reading data P2-2). Note that “6” and “3” are stored in the work next write address TMPV and the work queue final address TMPL, respectively.

図11に示した状態において、キューP2のデータP2−2を読み出した場合、キュー制御情報は、図12のように変化する。図12は、データP2−2読出時におけるキュー制御情報の変化を示す説明図である。   When the data P2-2 in the queue P2 is read in the state shown in FIG. 11, the queue control information changes as shown in FIG. FIG. 12 is an explanatory diagram showing changes in the queue control information when reading data P2-2.

まず、図12(a)に示すように、キューP2に関するキュー先頭アドレスSARが示す読出対象アドレス「3」からデータP2−2が読み出されるため、読出対象アドレス「3」のデータDは空き状態となり、キューP2に関するデータはP2−3の1つとなる。これにより、図12(b)に示すように、P2−3がキューP2の先頭データとなり、キュー先頭位置が格納アドレス「3」から「5」に変化するため、キューP2に関するキュー先頭アドレスSARが「3」から「5」に更新される。   First, as shown in FIG. 12A, the data P2-2 is read from the read target address “3” indicated by the queue head address SAR relating to the queue P2, so that the data D at the read target address “3” is in an empty state. The data relating to the queue P2 is one of P2-3. As a result, as shown in FIG. 12B, P2-3 becomes the head data of the queue P2, and the queue head position changes from the storage address “3” to “5”, so the queue head address SAR regarding the queue P2 is changed. It is updated from “3” to “5”.

また、読出対象アドレス「3」のデータDは空き状態となったため、図12(c)に示すように、この格納アドレス「3」が次データの書込位置となる。これにより、次書込アドレスVARが「2」から「3」に更新される。また、これに伴って、旧次書込アドレスVAR「2」と新次書込アドレスVAR「3」との順序関係を維持するため、図12(d)に示すように、格納アドレス「3」の後続アドレスADDが「5」から「2」に更新される。   Further, since the data D at the read target address “3” is in an empty state, as shown in FIG. 12C, the storage address “3” becomes the writing position of the next data. As a result, the next write address VAR is updated from “2” to “3”. Accordingly, in order to maintain the order relationship between the old primary write address VAR “2” and the new primary write address VAR “3”, as shown in FIG. The subsequent address ADD is updated from “5” to “2”.

これにより、キュー制御情報は、図13の状態に変化する。図13は、データP2−2読出直後(データP2−4書込直前)のキュー制御情報を示す説明図である。なお、作業用次書込アドレスTMPVと作業用キュー最終アドレスTMPLには、それぞれ「2」と「3」が格納されている。   As a result, the queue control information changes to the state shown in FIG. FIG. 13 is an explanatory diagram showing queue control information immediately after reading data P2-2 (just before writing data P2-4). Note that “2” and “3” are stored in the work next write address TMPV and the work queue final address TMPL, respectively.

図13に示した状態において、キューP2のデータP2−4を書き込みした場合、キュー制御情報は、図14のように変化する。図14は、データP2−4書込時におけるキュー制御情報の変化を示す説明図である。   In the state shown in FIG. 13, when the data P2-4 of the queue P2 is written, the queue control information changes as shown in FIG. FIG. 14 is an explanatory diagram showing a change in queue control information at the time of writing data P2-4.

まず、図14(a)に示すように、次書込アドレスVARが示す書込対象アドレス「3」にデータP2−4が書き込まれるため、図14(b)に示すように、P2−4がキューP2の新たな最終データとなり、キュー最終位置が格納アドレス「5」から「3」に変化するため、キューP2のキュー最終アドレスLARが「5」から「3」に更新される。   First, as shown in FIG. 14A, since the data P2-4 is written to the write target address “3” indicated by the next write address VAR, as shown in FIG. Since the queue P2 becomes new final data and the queue final position changes from the storage address “5” to “3”, the queue final address LAR of the queue P2 is updated from “5” to “3”.

また、書込前にキュー最終データであったP2−3にP2−4が後続することになるため、図14(c)に示すように、P2−3の格納アドレス「5」の後続アドレスとしてP2−4の格納アドレス「3」が設定される。
また、書込前の次書込アドレスVARにP2−4が書き込まれたため、図14(d)に示すように、次書込アドレスVARが「3」から、格納アドレス「3」の後続アドレス「2」に更新される。
Further, since P2-4 follows P2-3 which was the last queue data before writing, as shown in FIG. 14C, as a subsequent address of the storage address “5” of P2-3. The storage address “3” of P2-4 is set.
Since P2-4 is written to the next write address VAR before writing, as shown in FIG. 14D, the next write address VAR is changed from “3” to the subsequent address “3”. 2 ”.

これにより、キュー制御情報は、図15の状態に変化する。図15は、データP2−4書込直後のキュー制御情報を示す説明図である。なお、作業用次書込アドレスTMPVと作業用キュー最終アドレスTMPLには、それぞれ「3」と「5」が格納されている。   As a result, the queue control information changes to the state shown in FIG. FIG. 15 is an explanatory diagram showing the queue control information immediately after the data P2-4 is written. Note that “3” and “5” are stored in the work next write address TMPV and the work queue final address TMPL, respectively.

[第1の実施の形態の効果]
このように、本実施の形態は、記録装置30において、データメモリ31の格納アドレスごとに、当該格納アドレスに書き込まれた通信データに後続する通信データの格納アドレスを示す後続アドレスを記憶し、キューごとに、当該キューの通信データが書き込まれている格納アドレスの先頭および最終を示すキュー先頭アドレスおよびキュー最終アドレスを記憶し、各キューに共通して、次に通信データを書き込むべき格納アドレスを示す次書込アドレスを記憶するようにしたものである。
[Effect of the first embodiment]
As described above, according to the present embodiment, in the recording device 30, for each storage address of the data memory 31, a subsequent address indicating a storage address of communication data subsequent to the communication data written to the storage address is stored. For each queue, a queue head address and a queue last address indicating the beginning and end of the storage address where the communication data of the queue is written are stored, and the storage address where the communication data is to be written next is common to each queue. The next write address is stored.

そして、書込制御部33が、書込対象キューに通信データを書き込む際、次書込アドレスからなる書込対象アドレスに当該通信データを書き込み、当該書込対象キューのキュー最終アドレス、書込前のキュー最終アドレスに関する後続アドレス、および次書込アドレスをそれぞれ更新し、読出制御部34が、読出対象キューから通信データを読み出す際、当該読出対象キューのキュー先頭アドレスからなる読出対象アドレスから当該通信データを読み出し、当該読出対象キューのキュー先頭アドレス、次書込アドレス、および新たな次書込アドレスに関する後続アドレスをそれぞれ更新するようにしたものである。   When the write control unit 33 writes the communication data to the write target queue, the write control unit 33 writes the communication data to the write target address including the next write address, the queue last address of the write target queue, When the read control unit 34 reads the communication data from the read target queue, the subsequent address and the next write address related to the queue final address are updated. Data is read, and the queue start address, the next write address, and the subsequent address relating to the new next write address of the read target queue are updated.

これにより、各キューのフレームデータが、データメモリ31のうち空き状態にある格納アドレスに順次書き込まれ、フレームデータが読み出された格納アドレスが再び空き状態として管理されることになる。またキューごとに書き込まれた順序でフレームデータの格納アドレスが管理されることになる。したがって、データメモリ31のうち空き状態にある格納アドレスについては、複数のキューで共用することができ、従来のキューごとに予めアドレス範囲を固定的に確保しておく場合と比較して、メモリの使用効率を高めることが可能となる。このため、メモリ容量の増大を行う必要がなくなり、結果として回路規模やコストの増大を抑制することが可能となる。   As a result, the frame data of each queue is sequentially written in the storage address in the data memory 31 that is in an empty state, and the storage address from which the frame data is read is managed as an empty state again. In addition, the storage address of the frame data is managed in the order of writing for each queue. Therefore, a storage address in the data memory 31 that is in an empty state can be shared by a plurality of queues. Compared to a case where a fixed address range is secured in advance for each conventional queue, the storage address of the memory is reduced. It is possible to increase the usage efficiency. For this reason, it is not necessary to increase the memory capacity, and as a result, an increase in circuit scale and cost can be suppressed.

また、本実施の形態は、QM内のADD値等の初期値を設定する必要が無いという特徴がある。本実施の形態において、通信用入出力装置の起動時に初期値を設定する必要がある情報はVARとUARのみである(図7の「Initialization」を参照)。従って、初期設定を行うための回路の規模、もしくは、初期設定を行うためのソフトウエアの規模が極めて小さく、初期設定に要する時間も極めて小さいという効果が有る。
なお、図9等において、EoF値格納用のPNをQM内に搭載する場合を例示しているが、PNをDM内に搭載することも可能である。
In addition, this embodiment has a feature that it is not necessary to set an initial value such as an ADD value in the QM. In the present embodiment, only the VAR and the UAR need to set initial values when the communication input / output device is activated (see “Initialization” in FIG. 7). Therefore, the scale of the circuit for performing the initial setting or the scale of the software for performing the initial setting is extremely small, and the time required for the initial setting is extremely small.
In FIG. 9 and the like, the case where the PN for storing the EoF value is mounted in the QM is illustrated, but it is also possible to mount the PN in the DM.

[第2の実施の形態]
次に、図16を参照して、本発明の第2の実施の形態にかかる通信用入出力装置1について説明する。図16は、第2の実施の形態にかかるアクセス調停部の構成を示すブロック図である。
[Second Embodiment]
Next, a communication input / output device 1 according to a second embodiment of the present invention will be described with reference to FIG. FIG. 16 is a block diagram illustrating a configuration of an access arbitration unit according to the second embodiment.

第1の実施の形態にかかる通信用入出力装置1において、データメモリ31内の格納アドレスを複数のキューで共用するようにした際に、例えば、特定の出力系統に関するフレームデータが多量に入力された場合、データメモリ31内の格納アドレスが当該出力系統のキューにより占有されてしまうという場合がある。このような格納アドレスの占有は、第1の実施の形態に限定されるものではなく、格納アドレスを複数のキューで共用する構成であれば、いずれの構成であっても発生しうる。したがって、このような格納アドレスの占有が発生した場合、他の出力系統のキューが十分な格納アドレス数を使用できず、フレームデータの破棄が発生しやすくなり、通信品質が低下する原因となる。   In the communication input / output device 1 according to the first embodiment, when the storage address in the data memory 31 is shared by a plurality of queues, for example, a large amount of frame data related to a specific output system is input. In this case, the storage address in the data memory 31 may be occupied by the queue of the output system. Such occupation of the storage address is not limited to the first embodiment, and can occur in any configuration as long as the storage address is shared by a plurality of queues. Therefore, when such storage address occupancy occurs, the queues of other output systems cannot use a sufficient number of storage addresses, frame data is likely to be discarded, and communication quality deteriorates.

本実施の形態は、このような複数のキューによる格納アドレスの共用時における、特定キューによる格納アドレスの占有を回避することを目的とし、記録装置30において、アクセス調停部36が、書込対象キューにフレームデータを書き込む際、当該フレームデータのデータ長に基づき、書き込みに必要となる格納アドレスの数を示す必要アドレス数を算出し、キュー使用アドレス数メモリ35から取得した当該書込対象キューまたは各キューの使用アドレス数に基づき、当該書き込みに使用可能な格納アドレスの数を示す残りアドレス数を算出し、当該必要アドレス数と当該残りアドレス数とを比較することにより当該フレームデータの書込可否を判定し、書込可の判定に応じて書込制御部33に対して当該フレームデータの書き込みを指示するようにしたものである。   The purpose of this embodiment is to avoid occupying a storage address by a specific queue when such storage addresses are shared by a plurality of queues. In the recording apparatus 30, the access arbitration unit 36 has a write target queue. When the frame data is written in, the necessary address number indicating the number of storage addresses necessary for writing is calculated based on the data length of the frame data, and the write target queue acquired from the queue use address number memory 35 or each Based on the number of used addresses in the queue, the number of remaining addresses indicating the number of storage addresses that can be used for the writing is calculated, and whether or not the frame data can be written is determined by comparing the required number of addresses with the number of remaining addresses. The frame data is written to the write control unit 33 according to the determination as to whether writing is possible. It is obtained by the Shimesuru so.

図16に示すように、本実施の形態において、アクセス調停部36には、主な回路部として、書込可否判定部41、書込用FIFO42、読出受付部43、読出用FIFO44、優先制御部45、キュー使用アドレス数更新部46、および指示出力部47が設けられている。   As shown in FIG. 16, in this embodiment, the access arbitration unit 36 includes, as main circuit units, a write enable / disable determination unit 41, a write FIFO 42, a read reception unit 43, a read FIFO 44, and a priority control unit. 45, a queue use address number updating unit 46, and an instruction output unit 47 are provided.

書込可否判定部41は、多重化装置10から転送されたフレームデータに付加されているキュー指定情報およびフレーム長情報と、キューごとに予め設定されている判定用アドレス数情報と、各キューの使用アドレス数とに基づいて、書込可能か否か判定する機能と、書込可の判定結果に応じて、当該フレームデータを、データメモリ31に設けられている格納領域の1アドレス分のデータサイズに分割し、得られたデータにキュー指定情報を付加した書き込み指示を、それぞれ書込用FIFO42に書き込む機能とを有している。   The write enable / disable determining unit 41 includes queue designation information and frame length information added to the frame data transferred from the multiplexing device 10, determination address number information set in advance for each queue, A function for determining whether or not writing is possible based on the number of addresses used, and data corresponding to one address in a storage area provided in the data memory 31 in accordance with the determination result on whether or not writing is possible It has a function of writing a write instruction in which queue designation information is added to the obtained data and the queue designation information is written to the write FIFO 42.

判定用アドレス数情報には、当該キュー指定情報で指定された書込対象キューで使用可能な最大アドレス数NKmaxと、当該書込対象キューに対して使用が保証されている最低保証アドレス数NKminとが含まれている。
図17は、判定用アドレス数情報の構成例である。ここではキューを識別するためのキューIDごとに、最大アドレス数NKmaxと最低保証アドレス数NKminとが設定されている。これら判定用アドレス数情報は、例えばキュー使用アドレス数更新部46、あるいはアクセス調停部36の内部メモリ(図示せず)で記憶されている。
The determination address number information includes the maximum number of addresses NKmax that can be used in the write target queue designated by the queue designation information, and the minimum guaranteed address number NKmin that is guaranteed to be used for the write target queue. It is included.
FIG. 17 is a configuration example of the determination address number information. Here, a maximum address number NKmax and a minimum guaranteed address number NKmin are set for each queue ID for identifying a queue. The determination address number information is stored in, for example, an internal memory (not shown) of the queue use address number update unit 46 or the access arbitration unit 36.

読出受付部43は、多重分離装置20から出力された読み出し要求の読出データ量情報に基づいて、データメモリ31に対する読み出し回数を計算し、その読み出し回数だけ当該読み出し要求のキュー指定情報を読み出し指示として読出用FIFO44に書き込む機能を有している。この計算は、読出データ量情報が示すデータ量をデータメモリ31の1アドレスあたりのデータサイズで除算した値を読み出し回数とし、剰余がある場合は読み出し回数に1を加算すれば良い。   The read reception unit 43 calculates the number of reads to the data memory 31 based on the read data amount information of the read request output from the multiplexer / demultiplexer 20, and uses the queue designation information of the read request as a read instruction for the number of reads. It has a function of writing to the read FIFO 44. In this calculation, a value obtained by dividing the data amount indicated by the read data amount information by the data size per address of the data memory 31 is used as the number of readings, and if there is a remainder, 1 may be added to the number of readings.

優先制御部45は、書込用FIFO42もしくは読出用FIFO44から、書き込み指示もしくは読み出し指示を読み出して、キュー使用アドレス数メモリ更新部46へ出力する機能と、書込用FIFO42と読出用FIFO44の双方に、書き込み指示と読み出し指示が存在する場合は、書込用FIFO42からの書き込み指示を優先して読み出す機能とを有している。   The priority control unit 45 reads the write instruction or the read instruction from the write FIFO 42 or the read FIFO 44 and outputs it to the queue use address number memory update unit 46, and both the write FIFO 42 and the read FIFO 44. When there is a writing instruction and a reading instruction, the writing instruction from the writing FIFO 42 is read preferentially.

キュー使用アドレス数更新部46は、優先制御部45から書き込み指示が入力された場合は、キュー使用アドレス数メモリ35のうち、当該書き込み指示のキュー指定情報と対応する書込対象キューの使用アドレス数に1を加算し、当該書き込み指示を指示出力部47へ出力する機能と、優先制御部45から読み出し指示が入力された場合は、キュー使用アドレス数メモリ35のうち、当該読み出し指示のキュー指定情報と対応する読出対象キューの使用アドレス数から1を減算し、当該読み出し指示を指示出力部47へ出力する機能とを有している。   When a write instruction is input from the priority control unit 45, the queue use address number update unit 46 uses the number of addresses used in the write target queue corresponding to the queue designation information of the write instruction in the queue use address number memory 35. 1 and the function of outputting the write instruction to the instruction output unit 47, and when the read instruction is input from the priority control unit 45, the queue designation information of the read instruction in the queue use address number memory 35 And 1 is subtracted from the number of used addresses of the read target queue, and the read instruction is output to the instruction output unit 47.

指示出力部47は、キュー使用アドレス数更新部46から書き込み指示が入力された場合は、当該書き込み指示を書込制御部33へ出力する機能と、読み出し指示が入力された場合は、当該読み出し指示を読出制御部34へ出力する機能とを有している。   The instruction output unit 47 outputs a write instruction to the write control unit 33 when a write instruction is input from the queue use address number update unit 46, and the read instruction when a read instruction is input. Is output to the reading control unit 34.

[第2の実施の形態の動作]
次に、図18を参照して、本実施の形態にかかるアクセス調停部36の動作として、フレームデータの書き込み時における書込判定動作について説明する。図18は、第2の実施の形態にかかる書込可否判定処理を示すフローチャートである。
記録装置30のアクセス調停部36は、多重化装置10から転送されたフレームデータごとに、図18の書込可否判定処理に基づいて、書込可否を判定する。
[Operation of Second Embodiment]
Next, with reference to FIG. 18, a write determination operation at the time of writing frame data will be described as the operation of the access arbitration unit 36 according to the present embodiment. FIG. 18 is a flowchart illustrating the write permission / inhibition determination process according to the second embodiment.
The access arbitration unit 36 of the recording device 30 determines whether or not writing is possible for each frame data transferred from the multiplexing device 10 based on the writeability determination processing in FIG.

まず、アクセス調停部36は、キュー使用アドレス数メモリ35から全キューに関する使用アドレス数NKを取得して(ステップ100)、全キューが使用している合計アドレス数NKAを算出し(ステップ101)、書込対象となる対象フレームデータの書き込みに要する必要アドレス数NFを算出する(ステップ102)。   First, the access arbitration unit 36 acquires the used address number NK for all the queues from the queue used address number memory 35 (step 100), calculates the total address number NKA used by all the queues (step 101), The required number of addresses NF required for writing the target frame data to be written is calculated (step 102).

この後、データメモリ31が有する格納アドレスの総アドレス数NAからNKAを減算することにより、対象フレームデータの書き込みに使用可能な格納アドレスの数を示す残りアドレス数NRを算出し(ステップ103)、NFとNRとを比較する(ステップ104)。
ここで、NF>NRの場合(ステップ104:YES)、アクセス調停部36は、書込不可と判定して対象フレームデータを破棄し(ステップ113)、当該対象フレームデータに関する書込判定処理を終了する。
Thereafter, by subtracting NKA from the total address number NA of storage addresses of the data memory 31, a remaining address number NR indicating the number of storage addresses that can be used for writing the target frame data is calculated (step 103). NF and NR are compared (step 104).
Here, if NF> NR (step 104: YES), the access arbitration unit 36 determines that writing is not possible, discards the target frame data (step 113), and ends the write determination processing for the target frame data. To do.

一方、NF≦NRの場合(ステップ104:NO)、アクセス調停部36は、指定された書込対象キューの最大アドレス数NKmaxをキュー使用アドレス数メモリ35等から取得して(ステップ105)、NKmaxからNKを減算することにより残りアドレス数NRを算出し(ステップ106)、NFとNRとを比較する(ステップ107)。
ここで、NF>NRの場合(ステップ107:YES)、アクセス調停部36は、書込不可と判定して対象フレームデータを破棄し(ステップ113)、当該対象フレームデータに関する書込判定処理を終了する。
On the other hand, when NF ≦ NR (step 104: NO), the access arbitration unit 36 acquires the maximum address number NKmax of the designated write target queue from the queue use address number memory 35 or the like (step 105), and NKmax. NK is subtracted from NR to calculate the remaining address number NR (step 106), and NF and NR are compared (step 107).
Here, when NF> NR (step 107: YES), the access arbitration unit 36 determines that writing is not possible, discards the target frame data (step 113), and ends the write determination processing for the target frame data. To do.

一方、NF≦NRの場合(ステップ107:NO)、アクセス調停部36は、全キューに関する最低保証アドレス数NKminをキュー使用アドレス数メモリ35から取得し(ステップ108)、全キューを一括して最低限保証すべき総保証アドレス数NAminを算出する(ステップ109)。この際、任意のキューのキュー使用アドレス数NKがその最低保証アドレス数以上である場合は、当該キューの保証アドレス数としてキュー使用アドレス数NKを加算し、キュー使用アドレス数NKがその最低保証アドレス数未満である場合は、当該キューの保証アドレス数として最低保証アドレス数NKminを加算する。   On the other hand, when NF ≦ NR (step 107: NO), the access arbitration unit 36 acquires the minimum guaranteed address number NKmin for all the queues from the queue use address number memory 35 (step 108), and collects all the queues at the lowest. The total guaranteed address number NAmin to be limited guaranteed is calculated (step 109). At this time, if the queue use address number NK of an arbitrary queue is equal to or greater than the minimum guaranteed address number, the queue use address number NK is added as the guaranteed address number of the queue, and the queue use address number NK is the minimum guaranteed address number. If it is less than the number, the minimum guaranteed address number NKmin is added as the guaranteed address number of the queue.

この後、アクセス調停部36は、NAからNAminを減算することにより残りアドレス数NRを算出し(ステップ110)、NFとNRとを比較する(ステップ111)。
ここで、NF>NRの場合(ステップ111:YES)、アクセス調停部36は、書込不可と判定して対象フレームデータを破棄し(ステップ113)、当該対象フレームデータに関する書込判定処理を終了する。
Thereafter, the access arbitration unit 36 calculates the remaining address number NR by subtracting NAmin from NA (step 110), and compares NF and NR (step 111).
Here, when NF> NR (step 111: YES), the access arbitration unit 36 determines that writing is not possible, discards the target frame data (step 113), and finishes the write determination process for the target frame data. To do.

一方、NF≦NRの場合(ステップ111:NO)、アクセス調停部36は、対象フレームデータについて書込可と判定し(ステップ112)、当該対象フレームデータに関する書込判定処理を終了する。
この後、この書込可の判定に応じて、アクセス調停部36は、対象フレームデータをデータメモリ31の1アドレス分のデータサイズに分割し、得られたデータにキュー指定情報を付加した書き込み指示を、それぞれ書込用FIFO42に書き込むことになる。
On the other hand, when NF ≦ NR (step 111: NO), the access arbitration unit 36 determines that the target frame data is writable (step 112), and ends the write determination process for the target frame data.
Thereafter, in response to this write permission determination, the access arbitration unit 36 divides the target frame data into data sizes corresponding to one address of the data memory 31, and writes the queue designation information to the obtained data. Are written in the write FIFO 42, respectively.

[第2の実施の形態の効果]
このように、本実施の形態は、記録装置30において、キュー使用アドレス数メモリ35が、キューごとに、当該キューが使用しているデータメモリ31上の格納アドレスの数を示す使用アドレス数を記憶し、アクセス調停部36が、書込対象キューに通信データを書き込む際、当該通信データのデータ長に基づき、書き込みに必要となる格納アドレスの数を示す必要アドレス数を算出し、キュー使用アドレス数メモリ35から取得した当該書込対象キューまたは各キューの使用アドレス数等に基づき、当該書き込みに使用可能な格納アドレスの数を示す残りアドレス数を算出し、当該必要アドレス数と当該残りアドレス数とを比較することにより当該通信データの書込可否を判定し、書込可の判定に応じて書込制御部33に対して当該通信データの書き込みを指示するようにしたものである。
[Effect of the second embodiment]
As described above, in this embodiment, in the recording device 30, the queue use address number memory 35 stores the use address number indicating the number of storage addresses on the data memory 31 used by the queue for each queue. When the access arbitration unit 36 writes the communication data to the write target queue, the access arbitration unit 36 calculates the necessary number of addresses indicating the number of storage addresses necessary for writing based on the data length of the communication data, and the number of queue use addresses Based on the write target queue or the number of used addresses of each queue acquired from the memory 35, the remaining address number indicating the number of storage addresses that can be used for the write is calculated, and the required address number, the remaining address number, To determine whether or not the communication data can be written, and to the write control unit 33 according to the determination of whether or not the communication data can be written. It is obtained so as to direct the writing of over data.

したがって、それぞれのキューによる格納アドレスの使用数が制限されるため、任意の出力系統と対応するキューによる格納アドレスの占有を抑止することができる。このため、特定の出力系統に関するフレームデータが多量に入力された場合でも、他の出力系統のキューが十分な格納アドレス数を使用することが可能となる。これにより、フレームデータの破棄やこれによる通信品質の低下を回避することが可能となるとともに、これら対策として、メモリ容量の増大を行う必要がなくなり、結果として回路規模やコストの増大を抑制することが可能となる。   Therefore, since the number of storage addresses used by each queue is limited, the occupation of storage addresses by a queue corresponding to an arbitrary output system can be suppressed. For this reason, even when a large amount of frame data relating to a specific output system is input, the queues of other output systems can use a sufficient number of storage addresses. This makes it possible to avoid discarding frame data and the resulting deterioration in communication quality, and as a countermeasure, it is not necessary to increase the memory capacity, thereby suppressing an increase in circuit scale and cost. Is possible.

なお、本実施の形態におけるNKA及びNAminの算出は、キュー使用アドレス数メモリを更新する際に同時に算出(加算、減算等)することができる。
本実施の形態において、図16の構成のアクセス調停部を用いる場合、書込用FIFOに書き込み指示データが存在していると誤って書込可能と判定してしまう可能性がある。誤った判定を防止するためには、各キューの使用アドレス数としてキュー使用アドレス数メモリの情報に書込用FIFO内のアドレス数(書き込み指示の数)を加算した値を使用するか、NAもしくはNKmaxとして書込用FIFO内のアドレス数(書き込み指示の数)を減算した値を使用すれば良い。
Note that NKA and NAmin in the present embodiment can be calculated (added, subtracted, etc.) simultaneously when updating the queue use address number memory.
In the present embodiment, when the access arbitration unit configured as shown in FIG. 16 is used, there is a possibility that it is erroneously determined that writing is possible if write instruction data exists in the write FIFO. In order to prevent erroneous determination, a value obtained by adding the number of addresses in the write FIFO (number of write instructions) to the information in the queue use address number memory is used as the number of use addresses of each queue, or NA or A value obtained by subtracting the number of addresses in the write FIFO (the number of write instructions) may be used as NKmax.

[実施の形態の拡張]
以上、実施形態を参照して本発明を説明したが、本発明は上記実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解しうる様々な変更をすることができる。また、各実施形態については、矛盾しない範囲で任意に組み合わせて実施することができる。
[Extended embodiment]
The present invention has been described above with reference to the embodiments, but the present invention is not limited to the above embodiments. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention. In addition, each embodiment can be implemented in any combination within a consistent range.

上記の各実施の形態において、通信用入出力装置1でマルチキャストフレームを処理する場合、出力系統の1つとしてマルチキャスト用出力系統を設けるとともに多重分離装置20内の振分部22にマルチキャストフレームを複数の速度変換部23に出力する手段を設け、記録装置30のデータメモリDM内に論理的に形成した一部のキューをこのマルチキャスト用出力系統に対応するキューとして割り当てるようにしてもよい。
これにより、外部から多重化装置10に入力されたマルチキャストフレームが、データメモリDM内のマルチキャスト用出力系統に対応するキューに一時格納され、当該キューから多重分離装置20によりマルチキャストフレームが読み出されて複数の出力ポートから出力される。
In each of the above embodiments, when the communication input / output device 1 processes a multicast frame, a multicast output system is provided as one of the output systems, and a plurality of multicast frames are provided in the distribution unit 22 in the demultiplexer 20. It is also possible to provide a means for outputting to the speed converter 23 and to allocate a part of the queues logically formed in the data memory DM of the recording device 30 as a queue corresponding to this multicast output system.
Thus, the multicast frame input from the outside to the multiplexer 10 is temporarily stored in a queue corresponding to the multicast output system in the data memory DM, and the multicast frame is read from the queue by the demultiplexer 20. Output from multiple output ports.

1…通信用入出力装置、10…多重化装置、11…キュー指定情報付加部、12…多重化部、20…多重分離装置、21…読出部、22…振分部、23,24…速度変換部、30…記録装置、31…データメモリ、32…キュー制御メモリ、33…書込制御部、34…読出制御部、35…キュー使用アドレス数メモリ、36…アクセス調停部、41…書込可否判定部、42…書込用FIFO、43…読出受付部、44…読出用FIFO、45…優先制御部、46…キュー使用アドレス数更新部、47…指示出力部。   DESCRIPTION OF SYMBOLS 1 ... Communication input / output device, 10 ... Multiplexer, 11 ... Queue designation information addition part, 12 ... Multiplexing part, 20 ... Demultiplexing device, 21 ... Reading part, 22 ... Distribution part, 23, 24 ... Speed Conversion unit, 30 ... recording device, 31 ... data memory, 32 ... queue control memory, 33 ... write control unit, 34 ... reading control unit, 35 ... queue use address number memory, 36 ... access arbitration unit, 41 ... write Determinability determination unit, 42... FIFO for writing, 43... Reception accepting unit, 44... FIFO for reading, 45... Priority control unit, 46.

Claims (6)

順次入力される通信データに、当該通信データを出力すべき出力系統と対応するキューを示すキュー指定情報を付加して多重化する多重化装置と、前記多重化装置から転送された前記通信データを、データメモリ内に論理的に形成した複数のキューのうち前記キュー指定情報で指定された書込対象キューへ一時蓄積する記録装置と、前記キューのうち優先制御ロジックに基づき選択した出力系統と対応する読出対象キューから前記通信データを読み出し、当該出力系統と対応する出力ポートの通信速度に変換して出力する多重分離装置とを備える通信用入出力装置であって、
前記記録装置は、
前記データメモリの前記キューに対する書き込み・読み出しを制御する際に用いるキュー制御情報を記憶するキュー制御メモリと、
前記キュー制御メモリのキュー制御情報に基づいて、前記多重化装置から転送された前記通信データを前記書込対象キューに書き込む書込制御部と、
前記キュー制御メモリのキュー制御情報に基づいて、前記読出対象キューから通信データを読み出して前記多重分離装置へ転送する読出制御部とを備え、
前記キュー制御メモリは、前記データメモリの格納アドレスごとに、当該格納アドレスに書き込まれた通信データに後続する通信データの格納アドレスを示す後続アドレスを記憶し、前記キューごとに、当該キューの通信データが書き込まれている前記格納アドレスの先頭および最終を示すキュー先頭アドレスおよびキュー最終アドレスを記憶し、前記各キューに共通して、次に通信データを書き込むべき格納アドレスを示す次書込アドレスを記憶し、
前記書込制御部は、前記書込対象キューに前記通信データを書き込む際、前記次書込アドレスからなる書込対象アドレスに当該通信データを書き込み、当該書込対象キューのキュー最終アドレス、書込前のキュー最終アドレスに関する後続アドレス、および次書込アドレスをそれぞれ更新し、
前記読出制御部は、前記読出対象キューから前記通信データを読み出す際、当該読出対象キューのキュー先頭アドレスからなる読出対象アドレスから当該通信データを読み出し、当該読出対象キューのキュー先頭アドレス、次書込アドレス、および新たな次書込アドレスに関する後続アドレスをそれぞれ更新する
ことを特徴とする通信用入出力装置。
A multiplexing device that multiplexes by adding queue designation information indicating a queue corresponding to an output system to which the communication data is to be output, and the communication data transferred from the multiplexing device. Corresponding to a recording device for temporarily storing in a queue to be written designated by the queue designation information among a plurality of queues logically formed in the data memory, and an output system selected based on the priority control logic among the queues A communication input / output device comprising: a demultiplexer that reads the communication data from the read target queue and converts the communication data into a communication speed of an output port corresponding to the output system;
The recording device comprises:
A queue control memory for storing queue control information used when controlling writing / reading to / from the queue of the data memory;
A write control unit that writes the communication data transferred from the multiplexing device to the write target queue based on queue control information in the queue control memory;
A read control unit that reads communication data from the read target queue based on queue control information of the queue control memory and transfers the communication data to the demultiplexing device;
The queue control memory stores, for each storage address of the data memory, a subsequent address indicating a storage address of communication data subsequent to the communication data written to the storage address, and for each queue, communication data of the queue Is stored, and a queue start address and a queue end address indicating the start and end of the storage address to which communication data is written are stored, and a next write address indicating a storage address to which communication data is to be written next is stored in common with each queue And
When writing the communication data to the write target queue, the write control unit writes the communication data to a write target address composed of the next write address, the queue final address of the write target queue, the write Update the subsequent address and the next write address for the previous queue last address,
When the reading control unit reads the communication data from the reading target queue, the reading control unit reads the communication data from a reading target address including a queue leading address of the reading target queue, An input / output device for communication, wherein an address and a subsequent address relating to a new next write address are respectively updated.
請求項1に記載の通信用入出力装置において、
前記記録装置は、
前記キューごとに、当該キューが使用している前記データメモリ上の格納アドレスの数を示す使用アドレス数を記憶するキュー使用アドレス数メモリと、
前記書込対象キューに前記通信データを書き込む際、当該通信データのデータ長に基づき、書き込みに必要となる格納アドレスの数を示す必要アドレス数を算出し、前記キュー使用アドレス数メモリから取得した当該書込対象キューまたは前記各キューの使用アドレス数に基づき、当該書き込みに使用可能な格納アドレスの数を示す残りアドレス数を算出し、当該必要アドレス数と当該残りアドレス数とを比較することにより当該通信データの書込可否を判定し、書込可の判定に応じて前記書込制御部に対して当該通信データの書き込みを指示するアクセス調停部と
をさらに備えることを特徴とする通信用入出力装置。
The communication input / output device according to claim 1,
The recording device comprises:
A queue use address number memory that stores a use address number indicating the number of storage addresses on the data memory used by the queue for each queue;
When writing the communication data to the write target queue, based on the data length of the communication data, calculate the required number of addresses indicating the number of storage addresses required for writing, and obtain the number of addresses used from the queue use address number memory Based on the number of addresses used in the write target queue or each of the queues, the remaining address number indicating the number of storage addresses that can be used for the write is calculated, and the required address number is compared with the remaining address number. And an access arbitration unit that determines whether or not communication data can be written, and instructs the write control unit to write the communication data in accordance with the determination of whether or not writing is possible. apparatus.
順次入力される通信データに、当該通信データを出力すべき出力系統と対応するキューを示すキュー指定情報を付加して多重化する多重化装置と、前記多重化装置から転送された前記通信データを、データメモリ内に論理的に形成した複数のキューのうち前記キュー指定情報で指定された書込対象キューへ一時蓄積する記録装置と、前記キューのうち優先制御ロジックに基づき選択した出力系統と対応する読出対象キューから前記通信データを読み出し、当該出力系統と対応する出力ポートの通信速度に変換して出力する多重分離装置とを備える通信用入出力装置であって、
前記記録装置は、
前記キューごとに、当該キューが使用している前記データメモリ上の格納アドレスの数を示す使用アドレス数を記憶するキュー使用アドレス数メモリと、
前記書込対象キューに前記通信データを書き込む際、当該通信データのデータ長に基づき、書き込みに必要となる格納アドレスの数を示す必要アドレス数を算出し、前記キュー使用アドレス数メモリから取得した当該書込対象キューまたは前記各キューの使用アドレス数に基づき、当該書き込みに使用可能な格納アドレスの数を示す残りアドレス数を算出し、当該必要アドレス数と当該残りアドレス数とを比較することにより当該通信データの書込可否を判定し、書込可の判定に応じて前記書込制御部に対して当該通信データの書き込みを指示するアクセス調停部と
を備えることを特徴とする通信用入出力装置。
A multiplexing device that multiplexes by adding queue designation information indicating a queue corresponding to an output system to which the communication data is to be output, and the communication data transferred from the multiplexing device. Corresponding to a recording device for temporarily storing in a queue to be written designated by the queue designation information among a plurality of queues logically formed in the data memory, and an output system selected based on the priority control logic among the queues A communication input / output device comprising: a demultiplexer that reads the communication data from the read target queue and converts the communication data into a communication speed of an output port corresponding to the output system;
The recording device comprises:
A queue use address number memory that stores a use address number indicating the number of storage addresses on the data memory used by the queue for each queue;
When writing the communication data to the write target queue, based on the data length of the communication data, calculate the required number of addresses indicating the number of storage addresses required for writing, and obtain the number of addresses used from the queue use address number memory Based on the number of addresses used in the write target queue or each of the queues, the remaining address number indicating the number of storage addresses that can be used for the write is calculated, and the required address number is compared with the remaining address number. An input / output device for communication, comprising: an access arbitration unit that determines whether or not communication data can be written and instructs the write control unit to write the communication data in accordance with the determination of whether or not writing is possible .
請求項2または請求項3に記載の通信用入出力装置において、
前記アクセス調停部は、前記データメモリが有する格納アドレスの総アドレス数から、前記各キューの使用アドレス数を減算することにより、前記残りアドレス数を算出することを特徴とする通信用入出力装置。
The communication input / output device according to claim 2 or 3,
The communication input / output device, wherein the access arbitration unit calculates the remaining address number by subtracting the used address number of each queue from the total address number of storage addresses of the data memory.
請求項2または請求項3に記載の通信用入出力装置において、
前記アクセス調停部は、前記書込対象キューに対して予め割り当てられている使用可能な格納アドレス数を示す最大アドレス数から、当該書込対象キューの使用アドレス数を減算することにより、前記残りアドレス数を算出することを特徴とする通信用入出力装置。
The communication input / output device according to claim 2 or 3,
The access arbitration unit subtracts the number of used addresses of the write target queue from the maximum number of addresses indicating the number of usable storage addresses allocated in advance to the write target queue, thereby obtaining the remaining address. An input / output device for communication characterized by calculating a number.
請求項2または請求項3に記載の通信用入出力装置において、
前記アクセス調停部は、前記データメモリが有する格納アドレスの総アドレス数から、前記各キューに対して予め保障されている最低保証アドレスを減算することにより、前記残りアドレス数を算出することを特徴とする通信用入出力装置。
The communication input / output device according to claim 2 or 3,
The access arbitration unit calculates the number of remaining addresses by subtracting the lowest guaranteed address guaranteed in advance for each queue from the total number of addresses stored in the data memory. I / O device for communication.
JP2015032975A 2015-02-23 2015-02-23 Communication input / output device Pending JP2016158024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015032975A JP2016158024A (en) 2015-02-23 2015-02-23 Communication input / output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015032975A JP2016158024A (en) 2015-02-23 2015-02-23 Communication input / output device

Publications (1)

Publication Number Publication Date
JP2016158024A true JP2016158024A (en) 2016-09-01

Family

ID=56826743

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015032975A Pending JP2016158024A (en) 2015-02-23 2015-02-23 Communication input / output device

Country Status (1)

Country Link
JP (1) JP2016158024A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019204150A (en) * 2018-05-21 2019-11-28 日本電信電話株式会社 Input-output apparatus for communication

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09219706A (en) * 1996-02-09 1997-08-19 Nec Corp Atm switch device and its control method
US6694388B1 (en) * 2000-05-31 2004-02-17 3Com Corporation Dynamic queuing system incorporating multiple queues sharing a single memory
WO2004066571A1 (en) * 2003-01-20 2004-08-05 Fujitsu Limited Network switch apparatus and network switch method
JP2005174286A (en) * 2003-10-31 2005-06-30 Lucent Technol Inc Memory management system having linked list processor
JP2009170976A (en) * 2008-01-10 2009-07-30 Fujitsu Ltd Packet relay apparatus, control method, and packet relay program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09219706A (en) * 1996-02-09 1997-08-19 Nec Corp Atm switch device and its control method
US6694388B1 (en) * 2000-05-31 2004-02-17 3Com Corporation Dynamic queuing system incorporating multiple queues sharing a single memory
WO2004066571A1 (en) * 2003-01-20 2004-08-05 Fujitsu Limited Network switch apparatus and network switch method
JP2005174286A (en) * 2003-10-31 2005-06-30 Lucent Technol Inc Memory management system having linked list processor
JP2009170976A (en) * 2008-01-10 2009-07-30 Fujitsu Ltd Packet relay apparatus, control method, and packet relay program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019204150A (en) * 2018-05-21 2019-11-28 日本電信電話株式会社 Input-output apparatus for communication
WO2019225336A1 (en) * 2018-05-21 2019-11-28 日本電信電話株式会社 Communication input-output device

Similar Documents

Publication Publication Date Title
CN102377682B (en) Queue management method and device based on variable-length packets stored in fixed-size location
US8081646B1 (en) Old virtual queues technique for routing data packets in a packet switch
US10740006B2 (en) System and method for enabling high read rates to data element lists
US20070280104A1 (en) System and Method for Managing Forwarding Database Resources in a Switching Environment
US10055153B2 (en) Implementing hierarchical distributed-linked lists for network devices
US9785367B2 (en) System and method for enabling high read rates to data element lists
US7627672B2 (en) Network packet storage method and network packet transmitting apparatus using the same
JP6611011B2 (en) Communication input / output device
US10061513B2 (en) Packet processing system, method and device utilizing memory sharing
JP6351073B2 (en) Communication input / output device
JP2016158024A (en) Communication input / output device
JP6570075B2 (en) Communication input / output device
KR100930520B1 (en) Methods and devices for processing queues in network systems
US11546276B2 (en) Communication input-output device
US9767014B2 (en) System and method for implementing distributed-linked lists for network devices
JP2019032727A (en) Input/output device for communication
JP2011010195A (en) Input/output device for communication
US9582215B2 (en) Packet processing system, method and device utilizing memory sharing
US9612950B2 (en) Control path subsystem, method and device utilizing memory sharing
JP2019032699A (en) Communication input / output device
EP3244582B1 (en) Switch and data accessing method thereof
JP2019032705A (en) Input/output device for communication
JP6212059B2 (en) Communication input / output device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170317

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20170317

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20170317

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171211

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171226

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180222

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20180320