JP2013077931A - Network transmitter and program therefor - Google Patents

Network transmitter and program therefor Download PDF

Info

Publication number
JP2013077931A
JP2013077931A JP2011215840A JP2011215840A JP2013077931A JP 2013077931 A JP2013077931 A JP 2013077931A JP 2011215840 A JP2011215840 A JP 2011215840A JP 2011215840 A JP2011215840 A JP 2011215840A JP 2013077931 A JP2013077931 A JP 2013077931A
Authority
JP
Japan
Prior art keywords
transmission data
transmission
layer processing
predetermined
communication setting
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.)
Granted
Application number
JP2011215840A
Other languages
Japanese (ja)
Other versions
JP5707576B2 (en
JP2013077931A5 (en
Inventor
Kazutoshi Takada
和俊 高田
Tadayoshi Kagawa
忠與 香川
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.)
Silex Technology Inc
Original Assignee
Silex Technology Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Silex Technology Inc filed Critical Silex Technology Inc
Priority to JP2011215840A priority Critical patent/JP5707576B2/en
Publication of JP2013077931A publication Critical patent/JP2013077931A/en
Publication of JP2013077931A5 publication Critical patent/JP2013077931A5/ja
Application granted granted Critical
Publication of JP5707576B2 publication Critical patent/JP5707576B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a network transmitter and a program therefor, capable of transmission with good response even to communication requiring immediacy, while maintaining communication efficiency by aggregation in network data transmission.SOLUTION: A separation of transmission data set by an application is determined in a MAC layer, and if there is a separation, transmission is performed immediately. Consequently, a transmission data not requiring immediacy is transmitted using ordinary aggregation, whereas a data requiring immediacy can be transmitted immediately. As a result, it is possible to suppress a deteriorated response to the application, which is a drawback of aggregation, while maintaining a merit by the aggregation.

Description

本願発明は,コンピュータネットワーク(以下,単にネットワークと称する)における送信機に関するものであり,特に,効率的な送信を行うことのできるものに関する。   The present invention relates to a transmitter in a computer network (hereinafter simply referred to as a network), and more particularly to an apparatus capable of performing efficient transmission.

言うまでもないが,ネットワークにおけるデータ送受信の効率化は重要な技術的テーマである。当然,このテーマに対するアプローチは,ネットワークが誕生した当初からなされてきている。また,近年,有線に比べ帯域の狭い無線ネットワークが急速に普及していることもあり,過去にもまして,効率化への要求が高まっている。このような状況に鑑み,無線ネットワークにおけるデータ送受信の効率化の手段として,アグリゲーション(またはフレームアグリゲーション)と呼ばれるものが使用されている(非特許文献1)。   Needless to say, improving the efficiency of data transmission and reception over a network is an important technical theme. Naturally, the approach to this theme has been made since the beginning of the network. In recent years, wireless networks with a narrower bandwidth than the wired network have been rapidly spreading, and the demand for higher efficiency has increased compared to the past. In view of such a situation, what is called aggregation (or frame aggregation) is used as means for improving the efficiency of data transmission and reception in a wireless network (Non-Patent Document 1).

シスコシステムズ合同会社 ホームページ<http://www.cisco.com/web/JP/solution/netsol/mobility/ngw/literature/pdf/wlpfmc_wp.pdf>Cisco Systems G.K. <http://www.cisco.com/web/JP/solution/netsol/mobility/ngw/literature/pdf/wlpfmc_wp.pdf>

アグリゲーションとは,簡単に言うと,無線ネットワークにおけるデータの送信時に,データの最小単位である送信フレームを複数束ねて(アグリゲートして)送信することで,データ送信に付随する制御などの通信を少なくしようとするものである。これにより,効率的なデータの送信を実現するわけである。   In simple terms, aggregation is the transmission of data in a wireless network by bundling (aggregating) a plurality of transmission frames, which are the smallest unit of data, to control communications associated with data transmission. Try to reduce. This realizes efficient data transmission.

図1は上記したアグリゲーション動作の具体例であり,特に送信機におけるものである。図におけるアプリケーション(TCPアプリケーションおよびUDPアプリケーション)とは,例えばTCP(Transmission Control Protocol)やUDP(User Datagram Protocol)のアプリケーションであり,具体的には,HTTP(Hyper Text Transfer Protocol)やSNMP(Simple Network Management Protocol)などを指す。   FIG. 1 shows a specific example of the above-described aggregation operation, particularly in the transmitter. The applications (TCP application and UDP application) in the figure are, for example, TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) applications, and specifically, HTTP (Hyper Text Transfer Protocol) and SNMP (Simple Network Management). Protocol).

図1は,アプリケーション1およびアプリケーション2がデータを送信する場合を例示している。図示するように,アプリケーション1の送信フレームは2つであり,アプリケーション2の送信フレームは3つである。通常の送信機であれば,送信フレームを,例えば,アプリケーション1−1やアプリケーション2−1といった単位で送信を行うのであるが,アグリゲーションを用いると,所定時間毎の送信開始タイミングの到来をトリガとして複数の送信フレームをまとめて送信する。図1の場合,5つの送信フレームが溜まるまで送信を行わないわけである。こうすることで,データ送信に付随する通信を極力減らすことができる。なお,アグリゲーションは,通常,MAC層(データリンク層)で行われる処理であり,上位であるTCPやUDPが属する層(トランスポート層およびネットワーク層)とは独立して行われる。   FIG. 1 illustrates a case where the application 1 and the application 2 transmit data. As shown in the figure, application 1 has two transmission frames and application 2 has three transmission frames. In the case of a normal transmitter, a transmission frame is transmitted in units such as application 1-1 and application 2-1. However, when aggregation is used, the arrival of the transmission start timing every predetermined time is used as a trigger. A plurality of transmission frames are transmitted together. In the case of FIG. 1, transmission is not performed until five transmission frames are collected. In this way, communication associated with data transmission can be reduced as much as possible. In addition, the aggregation is usually performed in the MAC layer (data link layer), and is performed independently of the upper layers (transport layer and network layer) to which TCP or UDP belongs.

一方でアグリゲーションを用いたデータ送信は,場合によっては,通信のレスポンス低下を招くこともあった。上述した図1の場合,アプリケーション1は,送信フレームが2つしかないにも関わらず,送信開始タイミングが到来するまで送信されない。つまり,そのフレーム以前の送信フレームは送信機内に保留され続けるわけである。もし,アプリケーション1からの送信フレームが即時性を要するものであった場合,このような動作はアプリケーション1のレスポンス低下を招き,場合によっては深刻な事態を引き起こすおそれもある。   On the other hand, data transmission using aggregation sometimes causes a decrease in communication response. In the case of FIG. 1 described above, the application 1 is not transmitted until the transmission start timing arrives even though there are only two transmission frames. In other words, the transmission frame before that frame is continuously held in the transmitter. If the transmission frame from the application 1 requires immediacy, such an operation may cause a decrease in the response of the application 1, and possibly cause a serious situation.

本願発明はかかる課題を解決するものである。つまり,ネットワークにおけるデータの送信において,アグリゲーションによる通信の効率化を維持しつつ,即時性を要する通信に対してレスポンスよく送信を行うことのできる送信機およびそのプログラムを提供することである。   The present invention solves this problem. That is, it is to provide a transmitter capable of transmitting data with high response to a communication requiring immediacy while maintaining efficiency of communication by aggregation in data transmission in a network, and a program thereof.

本願発明にかかる第1の形態は,コンピュータネットワークにおいて,上位層処理部と下位層処理部の少なくとも2層の処理構造を有し,当該処理構造に基づいてデータを送信する送信機であって,上位層処理部は,通信の相手方である受信機において,自身と同じ階層である受信機の上位層処理部によって使用されることが意図されている通信に関する設定(通信設定)を,送信データに施す通信設定手段と,通信設定が施された送信データを自身より下位の層に渡す送信データ伝達手段と,を備え,下位層処理部は,自身より上位の層から渡された送信データを受信する送信データ受信手段と,受信した送信データを所定の領域にて保持させる送信データ保持手段と,所定の領域に保持されている送信データを受信機に向けて送信する送信手段と,自身である下位層処理部においてのみ管理される所定の条件が,満たされているかどうかを判断する第1の判断手段と,所定の条件が満たされていた場合,送信手段に送信データの送信を指示する第1の送信指示手段と,通信設定手段によって施された通信設定が所定の通信設定であるかどうかを判断する第2の判断手段と,通信設定が所定の通信設定であると判断された場合,送信手段に送信データの送信を指示する第2の送信指示手段と,を備える送信機である。   A first form according to the present invention is a transmitter having a processing structure of at least two layers of an upper layer processing unit and a lower layer processing unit in a computer network, and transmitting data based on the processing structure, The upper layer processing unit, in the receiver that is the other party of communication, sets the communication settings (communication settings) that are intended to be used by the upper layer processing unit of the receiver at the same layer as the transmission data. Communication setting means for performing transmission, and transmission data transmitting means for passing the transmission data subjected to communication setting to a lower layer than itself, and the lower layer processing unit receives transmission data passed from a layer higher than itself. Transmission data receiving means, transmission data holding means for holding the received transmission data in a predetermined area, and transmission for transmitting the transmission data held in the predetermined area to the receiver. Means, a first judgment means for judging whether or not a predetermined condition managed only in the lower layer processing unit which is itself is satisfied, and if the predetermined condition is satisfied, transmission data to the transmission means First transmission instruction means for instructing transmission, second determination means for determining whether or not the communication setting performed by the communication setting means is a predetermined communication setting, and the communication setting is a predetermined communication setting A second transmission instruction unit that instructs the transmission unit to transmit the transmission data.

好ましくは,下位層処理部はデータリンク層における処理を実行する処理部であり,所定の条件は,所定時間の到来であり,所定の通信設定は,上位層処理部において送信データの区切りを示すものである。   Preferably, the lower layer processing unit is a processing unit that executes processing in the data link layer, the predetermined condition is arrival of a predetermined time, and the predetermined communication setting indicates a delimiter of transmission data in the upper layer processing unit Is.

本願発明にかかる第2の形態は,コンピュータネットワークにおける送信機を,上位層処理手段と,下位層処理手段として機能させるプログラムであって,上位層処理手段においては,少なくとも,通信の相手方である受信機において,自身と同じ階層である受信機の上位層処理手段によって使用されることが意図されている通信に関する設定(通信設定)を,送信データに施し,通信設定が施された送信データを自身より下位の層に渡すステップが実行され,下位層処理手段においては,少なくとも,自身より上位の層から渡された送信データを受信し,受信した送信データを所定の領域にて保持させ,自身である下位層処理手段においてのみ管理される所定の条件が,満たされているかどうかを判断し,所定の条件が満たされていた場合,所定の領域に保持されている送信データを受信機に向けて送信し,送信データに施された通信設定が所定の通信設定であるかどうかを判断し,通信設定が所定の通信設定であると判断された場合,所定の領域に保持されている送信データを受信機に向けて送信するステップが実行されるプログラムである。   A second form according to the present invention is a program for causing a transmitter in a computer network to function as an upper layer processing means and a lower layer processing means, and at least the receiving party that is the other party of communication in the upper layer processing means. In the machine, the transmission data is set for communication (communication setting) that is intended to be used by the upper layer processing means of the receiver that is at the same level as the transmission data. A step of passing to a lower layer is executed, and the lower layer processing means receives at least the transmission data passed from the higher layer than itself and holds the received transmission data in a predetermined area. When it is judged whether or not a predetermined condition managed only by a certain lower layer processing means is satisfied, and the predetermined condition is satisfied When transmission data held in a predetermined area is transmitted to a receiver, it is determined whether the communication setting applied to the transmission data is a predetermined communication setting, and the communication setting is a predetermined communication setting. If determined, the program executes a step of transmitting transmission data held in a predetermined area to a receiver.

好ましくは,下位層処理手段はデータリンク層における処理を実行する手段であり,所定の条件は,所定時間の到来であり,所定の通信設定は,上位層処理手段において送信データの区切りを示すものである。   Preferably, the lower layer processing means is means for executing processing in the data link layer, the predetermined condition is arrival of a predetermined time, and the predetermined communication setting indicates a delimiter of transmission data in the upper layer processing means It is.

本願発明では,アプリケーションが設定する送信データの区切りをMAC層にて判断し,区切りがあれば即座に送信する。これにより,即時性の必要のない送信データは通常のアグリゲーションによる送信を行い,即時性の必要なデータは即座に送信することができる。結果として,アグリゲーションによる利点を維持しつつも,アグリゲーションの欠点である,アプリケーションに対するレスポンス低下を抑制することができる。   In the present invention, the transmission data set by the application is judged at the MAC layer, and if there is a break, it is transmitted immediately. As a result, transmission data that does not require immediacy can be transmitted by normal aggregation, and data that requires immediacy can be transmitted immediately. As a result, it is possible to suppress a decrease in response to the application, which is a drawback of aggregation, while maintaining the advantages of aggregation.

以下では図面を参照し本願発明に係る実施例を説明する。
[実施例1]
[システム全体図]
Embodiments according to the present invention will be described below with reference to the drawings.
[Example 1]
[System overview]

図2は本願発明が想定するシステムの全体図である。PC201と無線アクセスポイント202とが無線によってネットワーク接続されており,アクセスポイント202とPC203とが有線にてネットワーク接続されている。PC201は,アクセスポイント202を介してPC203と通信することが可能である。以下では,PC201がPC203にデータを送信する場合を例にとって説明する。
[ネットワークスタック構造]
FIG. 2 is an overall view of a system assumed by the present invention. The PC 201 and the wireless access point 202 are network-connected wirelessly, and the access point 202 and the PC 203 are network-connected by wire. The PC 201 can communicate with the PC 203 via the access point 202. Hereinafter, a case where the PC 201 transmits data to the PC 203 will be described as an example.
[Network stack structure]

図3はPC201におけるネットワークスタック構造を示したものである。上位からアプリケーション層,TCP/UDP層(トランスポート層),IP層(ネットワーク層),MAC層(データリンク層)および物理層という構成となっている。アプリケーション層は,ネットワーク層のプロトコルを利用するアプリケーションであり,たとえば背景技術で説明したようにHTTPやSNMPなどのことである。このスタック構造は一般的なものであるため,詳細な説明は省略する。なお,実施例では,PC201がPC203に向けてデータを送信する場合に関するものであり,アプリケーションはTCPもしくはUDPを利用する場合について説明する。
[TCPヘッダ]
FIG. 3 shows a network stack structure in the PC 201. From the top, the application layer, TCP / UDP layer (transport layer), IP layer (network layer), MAC layer (data link layer), and physical layer are configured. The application layer is an application that uses a protocol of the network layer, and is, for example, HTTP or SNMP as described in the background art. Since this stack structure is general, detailed description is omitted. The embodiment relates to a case where the PC 201 transmits data to the PC 203, and the case where the application uses TCP or UDP will be described.
[TCP header]

図4はTCPヘッダの詳細である。本実施例では,TCPヘッダに含まれる情報をMAC層にて解析し,アグリゲーションによるフレーム送信をするか否かを判断する。本来,送信側で設定されたTCPヘッダの情報は,受信側のTCPでしか利用されないものであるが,本願発明では,それを送信側のMAC層でも利用する。   FIG. 4 shows details of the TCP header. In this embodiment, information included in the TCP header is analyzed in the MAC layer, and it is determined whether or not to perform frame transmission by aggregation. Originally, the information of the TCP header set on the transmission side is used only in the TCP on the reception side, but in the present invention, it is also used in the MAC layer on the transmission side.

図4に示すようにTCPヘッダには様々な情報がセグメント単位で入っており,本実施例では,コードビットのセグメントにおけるPSHを利用する。PSHとはPush Flagのことであり,受信したデータを即座に上位アプリケーションに渡すべきか否かを示すビットである。このビットをONにするか否かの設定は,送信機側のTCPが上位アプリケーションの指示に基づいて行う。つまり,HTTPやSNMPなどが必要に応じてTCPにONするか否かを指示するわけである。一方,受信機のTCPはPSHがONになっていると,即座にアプリケーションに受信データを渡す。
[送信機の動作フロー(メインタスク)]
As shown in FIG. 4, the TCP header contains various pieces of information in segment units. In this embodiment, PSH in the code bit segment is used. PSH is a push flag, and is a bit indicating whether or not received data should be immediately passed to a higher-level application. Whether or not this bit is turned on is set by the TCP on the transmitter side based on an instruction from the upper application. That is, it is instructed whether or not the TCP, SNMP, etc. are turned on as necessary. On the other hand, when the PSH of the receiver TCP is ON, the received data is immediately passed to the application.
[Transmitter Flow (Main Task)]

図5は本実施例にかかる送信機の動作フローである。図示するように,TCP層(ステップ501〜504)とMAC層(ステップ505〜508)の両階層の動作をまとめて示している。なお,送信機は,本図で示すメインタスクと後の図6で示すアグリゲーション監視タスクより構成されている。まずは,メインタスクについて説明する。   FIG. 5 is an operation flow of the transmitter according to the present embodiment. As shown in the drawing, the operations of both layers of the TCP layer (steps 501 to 504) and the MAC layer (steps 505 to 508) are collectively shown. The transmitter is composed of a main task shown in the figure and an aggregation monitoring task shown in FIG. 6 later. First, the main task will be explained.

ステップ501にて,アプリケーションよりTCPデータを受信する。   In step 501, TCP data is received from an application.

ステップ502にて,受信したTCPデータについてPSHをONにすべき指示があるかどうかを判断し,指示があればステップ503に進み,そうでなければステップ504に進む。   In step 502, it is determined whether there is an instruction to turn on PSH for the received TCP data. If there is an instruction, the process proceeds to step 503, and if not, the process proceeds to step 504.

ステップ503にてPSHをONにしてMAC層にTCPデータを渡す一方,ステップ504ではOFFにして渡す。   In step 503, PSH is turned on and TCP data is passed to the MAC layer, while in step 504, it is turned off and passed.

ステップ505にて,TCP層より渡されたデータがTCPであるかどうかを判断し,TCPであればステップ506に進み,そうでなければステップ508に進む。   In step 505, it is determined whether the data passed from the TCP layer is TCP. If TCP, the process proceeds to step 506, and if not, the process proceeds to step 508.

ステップ506にて,TCPヘッダのPSHがONであるかどうかを判断し,ONであればステップ507に進み,そうでなければステップ508に進む。   In step 506, it is determined whether PSH of the TCP header is ON. If ON, the process proceeds to step 507, and if not, the process proceeds to step 508.

ステップ507にて,後述するアグリゲーション監視タスクに,渡されたTCPデータの送信指示を出す。   In step 507, an instruction to send the transferred TCP data is issued to an aggregation monitoring task to be described later.

ステップ508にて,渡されたTCPデータをアグリゲートする。つまり,所定の領域にTCPデータをバッファリングするわけである。
[送信機の動作フロー(アグリゲーション監視タスク)]
In step 508, the transferred TCP data is aggregated. That is, TCP data is buffered in a predetermined area.
[Transmitter Operation Flow (Aggregation Monitoring Task)]

これより説明するアグリゲーション監視タスクとは,送信フレームの送信開始タイミングを監視しており,タイミングが到来すればアグリゲートしたフレームを送信するものである。   The aggregation monitoring task described below is for monitoring the transmission start timing of a transmission frame and transmitting the aggregated frame when the timing comes.

ステップ601にて,所定時間が経過したかどうかを判断する。つまり,送信開始タイミングが到来したかどうかを判断する。判断の結果,タイミングが到来していれば,ステップ603に進み,そうでなければステップ602に進む。   In step 601, it is determined whether a predetermined time has elapsed. That is, it is determined whether or not the transmission start timing has arrived. As a result of the determination, if the timing has arrived, the process proceeds to step 603, and if not, the process proceeds to step 602.

ステップ602にて,メインタスクからの送信指示を受信したかどうかを判断する。判断の結果,受信していればステップ603に進み,そうでなければステップ601に戻る。   In step 602, it is determined whether a transmission instruction from the main task has been received. As a result of the determination, if it is received, the process proceeds to step 603, and if not, the process returns to step 601.

ステップ603にて,所定の領域にバッファリングされている送信フレームを送信する。   In step 603, the transmission frame buffered in a predetermined area is transmitted.

このように,フレームを送信するトリガとして,通常のアグリゲーションによるものと,PSHがONになっていることを検出するものの2つを用いるため,アグリゲーションの利点を維持しつつも,必要に応じて即座にフレームを送信することができる。
[実施例1の別の形態]
As described above, two triggers for transmitting a frame, one based on normal aggregation and one that detects that PSH is ON, are used. Therefore, while maintaining the advantages of aggregation, the trigger is immediately used as needed. Can send frames.
[Another embodiment of the first embodiment]

実施例1では,MAC層にてTCPヘッダのPSHセグメントを解析することにより,アグリゲーションの途中であっても,即座にフレームを送信することができた。TCPヘッダには,PSH以外にも上位アプリケーションからの即時送信の意図を含ませることが可能なセグメントがある。それが図7で示す予約領域である。   In the first embodiment, by analyzing the PSH segment of the TCP header in the MAC layer, the frame can be transmitted immediately even during the aggregation. In addition to PSH, the TCP header includes a segment that can include an intention of immediate transmission from a higher-level application. This is the reserved area shown in FIG.

予約領域とは,現時点では使用用途が決まっていないセグメントであり,通常は無効であることを示すゼロがセットされている。実施例1の別の形態として,この予約領域を使用し,送信データをアグリゲートさせない旨をMAC層に伝えてもよい。その場合,上位のアプリケーションとTCPとの間で予約領域にセットするビットの意味を決める必要がある。たとえば,ビット0が1の場合は送信するなどである。   The reserved area is a segment whose use is not determined at present, and is normally set to zero indicating that it is invalid. As another form of the first embodiment, this reserved area may be used to notify the MAC layer that transmission data is not aggregated. In that case, it is necessary to determine the meaning of the bits to be set in the reserved area between the upper application and TCP. For example, when bit 0 is 1, transmission is performed.

また,MAC層では,ビットがセットされた予約領域を解析し,アグリゲートするか,即座にフレームを送信するかを判断すればよい。
[実施例2]
In the MAC layer, the reserved area in which the bit is set may be analyzed to determine whether to aggregate or transmit the frame immediately.
[Example 2]

実施例1では,MAC層にてTCPヘッダのPSHセグメントを解析することにより,アグリゲーションの途中であっても即座にフレームを送信することができた。本願発明は,トランスポート層がTCP以外のものであっても当然に適用可能であり,本実施例ではUDPを用いる場合の例を示す。   In the first embodiment, by analyzing the PSH segment of the TCP header in the MAC layer, the frame can be transmitted immediately even during the aggregation. The present invention is naturally applicable even if the transport layer is other than TCP, and in this embodiment, an example of using UDP is shown.

UDPのヘッダにはTCPのPSHに相当するセグメントが存在しない。このため,上位アプリケーションがUDPデータを送信する場合には,UDP層とMAC層の間に位置するIP層のヘッダに含まれるセグメントを使用する。   The UDP header does not have a segment corresponding to TCP PSH. For this reason, when the upper application transmits UDP data, a segment included in the header of the IP layer located between the UDP layer and the MAC layer is used.

図8はIPヘッダの詳細である。図示するようにIPヘッダにはフラグのセグメントが設けられている。フラグはIPパケットの分割を制御するビットであり,その意味は図9に示すとおりである。   FIG. 8 shows details of the IP header. As shown in the figure, a flag segment is provided in the IP header. The flag is a bit for controlling the division of the IP packet, and its meaning is as shown in FIG.

ビット0が予約ビットであり,通常は使用されない。ビット1は分割の可否が示されており,0が分割可能,1が分割不可である。ビット2は,分割パケットの終端か否かを示すものであり,0が分割パケットの終端で,1が分割パケットの途中を意味する。本実施例では,ビット2をMAC層で解析することにより,フレームを即座に送信するか否かを判断する。   Bit 0 is a reserved bit and is not normally used. Bit 1 indicates whether or not division is possible. 0 is divisible and 1 is not divisible. Bit 2 indicates whether or not it is the end of the divided packet. 0 indicates the end of the divided packet and 1 indicates the middle of the divided packet. In this embodiment, it is determined whether or not to immediately transmit a frame by analyzing bit 2 in the MAC layer.

図10は本実施例にかかる送信機の動作フローである。本実施例のフローも実施例1と同様,メインタスクとアグリゲーション監視タスクより構成されており,アグリゲーション監視タスクは実施例1と同じであるため説明を省略する。   FIG. 10 is an operation flow of the transmitter according to the present embodiment. Similarly to the first embodiment, the flow of this embodiment is composed of a main task and an aggregation monitoring task. Since the aggregation monitoring task is the same as that of the first embodiment, the description thereof is omitted.

ステップ1001にて,アプリケーションよりUDPデータを受信する。   In step 1001, UDP data is received from the application.

ステップ1002にて,IPが分割されており,かつ終端であるかどうかを判断する。これは,上位アプリケーションからの指示に基づき判断する。判断の結果,分割かつ終端であれば,ステップ1003に進み,そうでなければステップ1004に進む。   In step 1002, it is determined whether or not the IP is divided and terminated. This is determined based on an instruction from the upper application. If the result of determination is division and termination, processing proceeds to step 1003, and otherwise processing proceeds to step 1004.

ステップ1003にて,フラグフィールドのビット2を0にする。一方,ステップ1004にて,フラグフィールドのビット2を1にする。このステップ1003とステップ1004は,実際にはIP層にて行われる。   In step 1003, bit 2 of the flag field is set to 0. On the other hand, in step 1004, bit 2 of the flag field is set to 1. Steps 1003 and 1004 are actually performed in the IP layer.

ステップ1005にて,上位層より渡されたデータがUDPであるかどうかを判断する。判断の結果,UDPであればステップ1006に進み,そうでなければステップ1007に進む。   In step 1005, it is determined whether the data passed from the upper layer is UDP. As a result of the determination, if it is UDP, the process proceeds to step 1006, and if not, the process proceeds to step 1007.

ステップ1006にて,IPのフラグフィールドを解析し,ビット2が0であるかどうかを判断する。判断の結果,0であればステップ1007に進み,そうでなければステップ1008に進む。   In step 1006, the IP flag field is analyzed to determine whether bit 2 is 0 or not. If the result of the determination is 0, the process proceeds to step 1007, and if not, the process proceeds to step 1008.

ステップ1007にて,アグリゲーション監視タスクに送信の指示を出す。すなわち,アグリゲートせずに即座に送信する旨を指示するわけである。   In step 1007, a transmission instruction is issued to the aggregation monitoring task. That is, it is instructed to transmit immediately without being aggregated.

ステップ1008にて,フレームをアグリゲートする。つまり,所定の領域にUDPデータをバッファリングするわけである。
[すべての実施例におけるアグリゲーション監視タスクについて]
In step 1008, the frames are aggregated. That is, the UDP data is buffered in a predetermined area.
[Aggregation monitoring task in all examples]

これまで説明した実施例1(別の形態含む)および実施例2におけるアグリゲーション監視タスクのアグリゲーション動作は,所定時間の到来をトリガとしてバッファリングされたフレームを送信するものであった。しかし,フレーム送信のトリガは,これに限定されることなく他のものも利用可能である。例えば,所定数のフレームがバッファリングされた場合などである。さらに,これを所定時間の到来に組み合わせることも可能である。[まとめ]   The aggregation operation of the aggregation monitoring task in the first embodiment (including another form) and the second embodiment described so far transmits a buffered frame triggered by arrival of a predetermined time. However, the frame transmission trigger is not limited to this, and other frames can be used. For example, when a predetermined number of frames are buffered. It is also possible to combine this with the arrival of a predetermined time. [Summary]

本願発明では,アプリケーションが設定する送信データの区切りをMAC層にて判断し,区切りがあれば即座に送信する。これにより,即時性の必要のない送信データは通常のアグリゲーションによる送信を行い,即時性の必要なデータは即座に送信することができる。結果として,アグリゲーションによる利点を維持しつつも,アグリゲーションの欠点である,アプリケーションに対するレスポンス低下を抑制することができる。
In the present invention, the transmission data set by the application is judged at the MAC layer, and if there is a break, it is transmitted immediately. As a result, transmission data that does not require immediacy can be transmitted by normal aggregation, and data that requires immediacy can be transmitted immediately. As a result, it is possible to suppress a decrease in response to the application, which is a drawback of aggregation, while maintaining the advantages of aggregation.

送信機におけるアグリゲーションの動作Aggregation operation at transmitter システム全体図Overall system diagram ネットワークスタック構造Network stack structure TCPヘッダTCP header 実施例1にかかる送信機の動作フローOperation flow of transmitter according to embodiment 1 アグリゲーション監視タスクの動作フローOperation flow of the aggregation monitoring task TCPヘッダTCP header IPヘッダIP header IPヘッダにおけるフラグの意味Meaning of flags in IP header 実施例2にかかる送信機の動作フローOperation flow of transmitter according to embodiment 2

503 送信データに通信設定を施す
504 送信データに通信設定を施す
506 通信設定の判断
507 送信指示
508 アグリゲーションの実施
601 所定時間経過の判断
602 送信指示受信の判断
603 送信
503 Communication setting for transmission data 504 Communication setting for transmission data 506 Communication setting determination 507 Transmission instruction 508 Aggregation 601 Determination of elapse of predetermined time 602 Transmission instruction reception determination 603 Transmission

Claims (4)

コンピュータネットワークにおいて,上位層処理部と下位層処理部の少なくとも2層の処理構造を有し,当該処理構造に基づいてデータを送信する送信機であって,
(A)前記上位層処理部は,
(A−1)通信の相手方である受信機において,自身と同じ階層である受信機の上位層処理部によって使用されることが意図されている通信に関する設定(通信設定)を,送信データに施す通信設定手段と,
(A−2)通信設定が施された送信データを自身より下位の層に渡す送信データ伝達手段と,
を備え,
(B)前記下位層処理部は,
(B−1)自身より上位の層から渡された送信データを受信する送信データ受信手段と,
(B−2)受信した送信データを所定の領域にて保持させる送信データ保持手段と,
(B−3)前記所定の領域に保持されている送信データを受信機に向けて送信する送信手段と,
(B−4)自身である下位層処理部においてのみ管理される所定の条件が,満たされているかどうかを判断する第1の判断手段と,
(B−5)前記所定の条件が満たされていた場合,前記送信手段に送信データの送信を指示する第1の送信指示手段と,
(B−6)前記通信設定手段によって施された前記通信設定が所定の通信設定であるかどうかを判断する第2の判断手段と,
(B−7)前記通信設定が所定の通信設定であると判断された場合,前記送信手段に送信データの送信を指示する第2の送信指示手段と,
を備える送信機。
In a computer network, a transmitter having a processing structure of at least two layers of an upper layer processing unit and a lower layer processing unit and transmitting data based on the processing structure,
(A) The upper layer processing unit
(A-1) In the receiver that is the other party of communication, a setting (communication setting) related to communication that is intended to be used by the upper layer processing unit of the receiver that is at the same level as itself is applied to the transmission data. Communication setting means;
(A-2) transmission data transmission means for passing transmission data set for communication to a lower layer than itself;
With
(B) The lower layer processing unit
(B-1) transmission data receiving means for receiving transmission data passed from a layer higher than itself;
(B-2) transmission data holding means for holding the received transmission data in a predetermined area;
(B-3) transmitting means for transmitting the transmission data held in the predetermined area to the receiver;
(B-4) first determination means for determining whether or not a predetermined condition managed only in the lower layer processing unit that is itself is satisfied;
(B-5) a first transmission instruction means for instructing the transmission means to transmit transmission data when the predetermined condition is satisfied;
(B-6) second determination means for determining whether or not the communication setting performed by the communication setting means is a predetermined communication setting;
(B-7) a second transmission instruction means for instructing the transmission means to transmit transmission data when it is determined that the communication setting is a predetermined communication setting;
Transmitter with.
前記下位層処理部はデータリンク層における処理を実行する処理部であり,
前記所定の条件は,所定時間の到来であり,
前記所定の通信設定は,前記上位層処理部において送信データの区切りを示すものである,請求項1に記載の送信機。
The lower layer processing unit is a processing unit that executes processing in the data link layer,
The predetermined condition is the arrival of a predetermined time,
The transmitter according to claim 1, wherein the predetermined communication setting indicates a delimiter of transmission data in the upper layer processing unit.
コンピュータネットワークにおける送信機を,
上位層処理手段と,
下位層処理手段として機能させるプログラムであって,
前記上位層処理手段においては,少なくとも,
通信の相手方である受信機において,自身と同じ階層である受信機の上位層処理手段によって使用されることが意図されている通信に関する設定(通信設定)を,送信データに施し,
通信設定が施された送信データを自身より下位の層に渡す
ステップが実行され,
前記下位層処理手段においては,少なくとも,
自身より上位の層から渡された送信データを受信し,
受信した送信データを所定の領域にて保持させ,
自身である下位層処理手段においてのみ管理される所定の条件が,満たされているかどうかを判断し,
前記所定の条件が満たされていた場合,前記所定の領域に保持されている送信データを受信機に向けて送信し,
送信データに施された前記通信設定が所定の通信設定であるかどうかを判断し,
前記通信設定が所定の通信設定であると判断された場合,前記所定の領域に保持されている送信データを受信機に向けて送信する
ステップが実行されるプログラム。
A transmitter in a computer network,
Upper layer processing means;
A program that functions as a lower layer processing means,
In the upper layer processing means, at least,
At the receiver that is the other party of communication, the transmission data is subjected to settings (communication settings) that are intended to be used by the upper layer processing means of the receiver that is at the same level as the receiver.
A step of passing the transmission data with communication settings to a lower layer than itself is executed,
In the lower layer processing means, at least,
Receives transmission data passed from a layer higher than itself,
Hold the received transmission data in a predetermined area,
Determine whether a predetermined condition managed only by the lower-layer processing means that is itself is satisfied,
When the predetermined condition is satisfied, the transmission data held in the predetermined area is transmitted to the receiver,
Determining whether the communication setting applied to the transmission data is a predetermined communication setting;
A program for executing a step of transmitting transmission data held in the predetermined area to a receiver when the communication setting is determined to be a predetermined communication setting.
前記下位層処理手段はデータリンク層における処理を実行する手段であり,
前記所定の条件は,所定時間の到来であり,
前記所定の通信設定は,前記上位層処理手段において送信データの区切りを示すものである,請求項3に記載のプログラム。
The lower layer processing means is means for executing processing in the data link layer,
The predetermined condition is the arrival of a predetermined time,
The program according to claim 3, wherein the predetermined communication setting indicates a delimiter of transmission data in the upper layer processing means.
JP2011215840A 2011-09-30 2011-09-30 Network transmitter and program thereof Active JP5707576B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011215840A JP5707576B2 (en) 2011-09-30 2011-09-30 Network transmitter and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011215840A JP5707576B2 (en) 2011-09-30 2011-09-30 Network transmitter and program thereof

Publications (3)

Publication Number Publication Date
JP2013077931A true JP2013077931A (en) 2013-04-25
JP2013077931A5 JP2013077931A5 (en) 2014-11-13
JP5707576B2 JP5707576B2 (en) 2015-04-30

Family

ID=48481110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011215840A Active JP5707576B2 (en) 2011-09-30 2011-09-30 Network transmitter and program thereof

Country Status (1)

Country Link
JP (1) JP5707576B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006526369A (en) * 2003-05-16 2006-11-16 松下電器産業株式会社 Packet sorting and concatenation on power line communication systems
JP2007251653A (en) * 2006-03-16 2007-09-27 Sony Corp Communications device, transmission control method, and transmission control program
JP2009147786A (en) * 2007-12-17 2009-07-02 Nec Corp Communication apparatus, data frame transmission control method, and program
US20100157962A1 (en) * 2008-12-22 2010-06-24 Ki Jong Koo Method for transmitting and receiving frame in wireless lan

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006526369A (en) * 2003-05-16 2006-11-16 松下電器産業株式会社 Packet sorting and concatenation on power line communication systems
JP2007251653A (en) * 2006-03-16 2007-09-27 Sony Corp Communications device, transmission control method, and transmission control program
JP2009147786A (en) * 2007-12-17 2009-07-02 Nec Corp Communication apparatus, data frame transmission control method, and program
US20100157962A1 (en) * 2008-12-22 2010-06-24 Ki Jong Koo Method for transmitting and receiving frame in wireless lan

Also Published As

Publication number Publication date
JP5707576B2 (en) 2015-04-30

Similar Documents

Publication Publication Date Title
EP2959645B1 (en) Dynamic optimization of tcp connections
US11196677B2 (en) Heterogeneous multi-protocol stack method, apparatus, and system
US8863269B2 (en) Frontend system and frontend processing method
US10432556B1 (en) Enhanced audio video bridging (AVB) methods and apparatus
US9843522B2 (en) Efficient mechanism to improve data speed between systems by MPTCP and MIMO combination
JP2020502948A (en) Packet transmission system and method
WO2016101493A1 (en) Data transmission method and device, terminal and storage medium
CN104052684A (en) Dynamic maximum transmission unit size adaption
KR20080074878A (en) Adapting a communication network to varing conditions
US10362632B2 (en) Architecture for radio access network and evolved packet core
JP6291834B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM
CN114006937A (en) Dynamic prediction and management of application service level agreements
US8838782B2 (en) Network protocol processing system and network protocol processing method
WO2014194797A2 (en) Transmission control protocol(tcp)connection control parameter in-band signaling
JPWO2014136853A1 (en) COMMUNICATION SYSTEM, SWITCH, CONTROL DEVICE, PACKET PROCESSING METHOD, AND PROGRAM
US20150341235A1 (en) Packet Processing Method, Forwarder, Packet Processing Device, and Packet Processing System
JP2015533045A (en) Communication system, communication method, information processing apparatus, communication control method, and program
JP6011619B2 (en) Mobile communication terminal, communication method, communication system, and control apparatus
CN114631297A (en) Method and network device for multipath communication
JP5065269B2 (en) Local area network management
EP2996291B1 (en) Packet processing method, device, and system
Caraguay et al. Framework for optimized multimedia routing over software defined networks
Nguyen et al. A scalable and robust openflow channel for software defined wireless access networks
JP5707576B2 (en) Network transmitter and program thereof
Kadhum et al. Congestion-aware TCP-friendly system for multimedia transmission based on UDP

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140926

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140926

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20140926

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20141017

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141021

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141219

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150116

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150122

R150 Certificate of patent or registration of utility model

Ref document number: 5707576

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250