JP2005244668A - Communication apparatus and communication method - Google Patents

Communication apparatus and communication method Download PDF

Info

Publication number
JP2005244668A
JP2005244668A JP2004052481A JP2004052481A JP2005244668A JP 2005244668 A JP2005244668 A JP 2005244668A JP 2004052481 A JP2004052481 A JP 2004052481A JP 2004052481 A JP2004052481 A JP 2004052481A JP 2005244668 A JP2005244668 A JP 2005244668A
Authority
JP
Japan
Prior art keywords
packet
communication
unit
retransmissions
transmission rate
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
JP2004052481A
Other languages
Japanese (ja)
Inventor
Yasuo Nakajima
靖雄 中島
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2004052481A priority Critical patent/JP2005244668A/en
Publication of JP2005244668A publication Critical patent/JP2005244668A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem that missing of packet easily occurs since an error rate is high in a radio section. <P>SOLUTION: A first communication unit 102 receives packets from a wired network 10. An analyzing unit 104 specifies the protocol of a packet, and outputs protocol identification information to a re-transmission time setting unit 107. If the protocol identification information indicates RTP, the unit 107 sets a standard value as the maximum number of times of transmission. If the protocol identification information does not indicate RTP, the unit 107 sets a value smaller than the standard value as the maximum number of times of transmission. In this way, since re-transmission conforming to the RTP is performed many times, the missing of packet can be suppressed. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、無線通信技術に関し、とくに無線区間におけるデータの再送回数を調整する方法およびそれを利用した通信装置に関する。   The present invention relates to a radio communication technique, and more particularly to a method for adjusting the number of times of retransmission of data in a radio section and a communication apparatus using the method.

ADSL(Asymmetric Digital Subscriber Line)やFTTH(Fiber To The Home)などのインフラストラクチャーが整備されることにより、1Mbps〜100Mbps以上の高速通信サービスを利用できるようになってきた。こうした通信インフラが整備されることにより、例えばVoIP、映像ストリーミングなどの比較的大容量のコンテンツを取り扱うマルチメディアサービスが徐々に広まり始めている。一般にネットワークにおける通信は、各種のプロトコルを利用することで実現されている。このため、単一のネットワークに様々な種類のプロトコルに準じた通信パケットが混在することになり、通信状態によっては、例えばVoIPや映像ストリーミングなどリアルタイム性の高いデータを取り扱うサービスが十分な品質で提供されないことがある。こうしたことから、例えばVoIPのパケットを優先的に伝送するものがある(特許文献1)。また、リアルタイムデータと非リアルタイムデータでデータ再送処理の有無を制御するものがある(特許文献2)。
特開2002−125069号公報 特開平7−336366号公報
With the development of infrastructure such as ADSL (Asymmetric Digital Subscriber Line) and FTTH (Fiber To The Home), high-speed communication services of 1 Mbps to 100 Mbps or more have become available. With the establishment of such a communication infrastructure, multimedia services that handle relatively large volumes of content such as VoIP and video streaming are gradually spreading. In general, communication in a network is realized by using various protocols. For this reason, communication packets conforming to various types of protocols are mixed in a single network, and depending on the communication status, services that handle high-real-time data such as VoIP and video streaming are provided with sufficient quality. It may not be done. For this reason, for example, there is one that preferentially transmits VoIP packets (Patent Document 1). Also, there is one that controls the presence / absence of data retransmission processing using real-time data and non-real-time data (Patent Document 2).
JP 2002-125069 A JP-A-7-336366

ネットワークは有線や無線により構築される。無線通信における伝送路特性は有線通信における伝送路特性に比べて不安定なので、無線ネットワークにおける通信品質は、通信状態の変化に影響を受けやすい。このため、無線区間ではデータの誤り率が高く、パケットの欠落や遅延が多く発生してしまう。例えば、音声や映像をストリーミングする場合、パケットの欠落や遅延が多く発生すると再生時の品質が悪くなってしまう。   The network is constructed by wire or wireless. Since the transmission path characteristics in wireless communication are unstable compared to the transmission path characteristics in wired communication, the communication quality in the wireless network is easily affected by changes in the communication state. For this reason, the data error rate is high in the wireless section, and packet loss and delay often occur. For example, when streaming audio or video, the quality at the time of reproduction deteriorates if many packets are lost or delayed.

本発明はこうした点に鑑みてなされたもので、その目的は、無線区間における通信品質を向上するための通信方法およびその方法を利用した装置を提供することにある。   The present invention has been made in view of these points, and an object thereof is to provide a communication method for improving communication quality in a wireless section and an apparatus using the method.

本発明のある態様は、一方の通信路からの入力を他方の通信路へ出力する装置である。この装置は、複数のレイヤからなる一連の通信手順に準じて、所定の端末装置に伝送されるべきパケットを受け付ける入力部と、パケットを端末装置に伝送する伝送部と、パケットの再送回数の最大値を、パケットを端末装置に物理的に伝送するための物理レイヤより上位のレイヤの特徴に基いて設定する設定部とを備え、パケットの再送が必要な場合、伝送部は設定された最大値を上限として再送を行ってよい。   One embodiment of the present invention is an apparatus that outputs an input from one communication path to the other communication path. In accordance with a series of communication procedures composed of a plurality of layers, this apparatus includes an input unit that receives a packet to be transmitted to a predetermined terminal device, a transmission unit that transmits the packet to the terminal device, and a maximum number of packet retransmissions. A setting unit configured to set a value based on characteristics of a layer higher than the physical layer for physically transmitting the packet to the terminal device, and when the packet needs to be retransmitted, the transmission unit sets the maximum value Retransmission may be performed up to the upper limit.

この態様によれば、上位レイヤの特徴に基づいて物理レイヤにおけるパケットの再送回数の上限値を設定できる。例えば「物理レイヤ」は、有線による伝送手段でもよいし、無線による伝送手段でもよい。これにより、限られた通信帯域を効率的に利用して再送処理を行うことができる。   According to this aspect, the upper limit value of the number of packet retransmissions in the physical layer can be set based on the characteristics of the higher layer. For example, the “physical layer” may be a wired transmission means or a wireless transmission means. Thereby, it is possible to perform retransmission processing by efficiently using a limited communication band.

この装置は、パケットに基いて物理レイヤより上位のレイヤにおけるプロトコルを特定する解析部を更に備え、設定部は、プロトコルに応じて最大値を設定してもよい。   The apparatus may further include an analysis unit that identifies a protocol in a layer higher than the physical layer based on the packet, and the setting unit may set a maximum value according to the protocol.

設定部は非リアルタイムデータを伝送するためのプロトコルに準じて伝送されたパケットの再送回数の最大値を、リアルタイムデータを伝送するためのプロトコルに準じて伝送されたパケットの再送回数の最大値より少なく設定してもよい。これにより、リアルタイムデータの再送が優先される。   The setting unit sets the maximum number of retransmissions of a packet transmitted according to a protocol for transmitting non-real-time data to be smaller than the maximum value of the number of retransmissions of a packet transmitted according to a protocol for transmitting real-time data. It may be set. Thereby, priority is given to retransmission of real-time data.

この装置は、物理レイヤにおける通信状態を監視する監視部を更に備え、設定部は通信状態に応じて、最大値を物理レイヤより上位のレイヤの特徴に基いて設定するか否かを判定してもよい。これにより、通信状態に応じて、効率的に通信帯域を利用できる。   The apparatus further includes a monitoring unit that monitors a communication state in the physical layer, and the setting unit determines whether to set a maximum value based on characteristics of a layer higher than the physical layer according to the communication state. Also good. Thereby, a communication band can be used efficiently according to a communication state.

監視部は、物理レイヤを介して伝送されるべきパケットの量を監視し、パケットの量が所定の量を超えた場合に、設定部は再送回数の最大値を物理レイヤより上位のレイヤの特徴に基いて設定してもよい。   The monitoring unit monitors the amount of packets to be transmitted through the physical layer, and when the amount of packets exceeds a predetermined amount, the setting unit sets the maximum number of retransmissions as a feature of a layer higher than the physical layer. You may set based on.

本発明の更に別の態様は、一方の通信路からの入力を他方の通信路へ出力する方法である。この方法は、複数のレイヤからなる一連の通信手順に準じて、所定の端末装置に伝送されるべきパケットを受け付けるステップと、パケットを端末装置に伝送するステップと、パケットの再送回数の最大値を、パケットを端末装置に物理的に伝送するための物理レイヤより上位のレイヤの特徴に基いて設定するステップとを含む。   Yet another aspect of the present invention is a method of outputting an input from one communication path to the other communication path. According to this method, a step of receiving a packet to be transmitted to a predetermined terminal device, a step of transmitting the packet to the terminal device, and a maximum value of the number of retransmissions of the packet in accordance with a series of communication procedures including a plurality of layers And setting based on the characteristics of a layer higher than the physical layer for physically transmitting the packet to the terminal device.

なお、以上の構成要素の任意の組合せ、本発明の表現を方法、装置、システム、記録媒体、コンピュータプログラムなどの間で変換したものもまた、本発明の態様として有効である。   It should be noted that any combination of the above-described constituent elements and a conversion of the expression of the present invention between a method, an apparatus, a system, a recording medium, a computer program, etc. are also effective as an aspect of the present invention.

本発明によれば、効率的にパケットを伝送することができる。   According to the present invention, packets can be transmitted efficiently.

図1は、実施の形態に係る通信システム50の構成図である。第1端末装置12および第1通信装置100aは、有線ネットワーク10に接続されている。第2端末装置14は第2通信装置100bと例えばシリアルまたはパラレルで接続されている。第1通信装置100aおよび第2通信装置100bは、無線ネットワーク20を形成して、第1端末装置12ならびに第2端末装置14を通信可能にする。第1通信装置100aおよび第2通信装置100bは、同一の構成を有する。以下、第1通信装置100aおよび第2通信装置100bを、単に「通信装置100」という。   FIG. 1 is a configuration diagram of a communication system 50 according to the embodiment. The first terminal device 12 and the first communication device 100 a are connected to the wired network 10. The second terminal device 14 is connected to the second communication device 100b, for example, serially or in parallel. The first communication device 100a and the second communication device 100b form a wireless network 20 to enable the first terminal device 12 and the second terminal device 14 to communicate. The first communication device 100a and the second communication device 100b have the same configuration. Hereinafter, the first communication device 100a and the second communication device 100b are simply referred to as “communication device 100”.

通信装置100は、有線ネットワーク10を介して受信したパケットを、無線ネットワーク20を介して他の通信装置100へ送信する。通信装置100は、例えば誤りに強いBPSKや多くのデータを伝送可能な16QAMなど複数の変調方式を選択的に利用してデータを伝送することができる。変調方式と符号化率を変えることにより、伝送レートすなわち伝送速度を切り替えることができる。以下、変調方式と符号化率を変えることを、単に「伝送速度」を変えると表現する。   The communication device 100 transmits a packet received via the wired network 10 to another communication device 100 via the wireless network 20. The communication apparatus 100 can transmit data by selectively using a plurality of modulation schemes such as BPSK resistant to errors and 16QAM capable of transmitting a large amount of data. By changing the modulation method and the coding rate, the transmission rate, that is, the transmission rate can be switched. Hereinafter, changing the modulation method and coding rate is simply expressed as changing the “transmission rate”.

一般に無線通信におけるデータの誤り率は、有線通信におけるデータの誤り率より高い。無線通信は通信状態の変化に影響を受けやすく、例えば周辺で電子レンジを使っているときは、使っていないときよりデータの誤り率が高くなる。また、データの伝送速度が高くなるにつれて、データの誤り率も高くなってしまう。これは、無線通信における伝送路特性が、有線通信における伝送路特性に比べて、周辺環境の変化を起因とする通信状態の変化に影響を受けやすいためである。   In general, the data error rate in wireless communication is higher than the data error rate in wired communication. Wireless communication is easily affected by changes in the communication state. For example, when a microwave oven is used in the vicinity, the data error rate is higher than when the microwave oven is not used. Further, as the data transmission rate increases, the data error rate also increases. This is because transmission path characteristics in wireless communication are more susceptible to changes in the communication state due to changes in the surrounding environment than transmission path characteristics in wired communication.

例えば音声や映像をストリーミングするアプリケーションなどでは、パケットの欠落や遅延が多く発生すると再生時の品質が悪くなってしまう。とくに、パケットの欠落が多くなると、人が感じる再生時の品質が著しく低下してしまう。全てのパケットに対して、確実に伝送されるまで再送処理を行えば無線区間におけるパケットの欠落を防止できるが、無線区間における通信帯域を圧迫してしまいネットワーク全体の通信効率をさげかねない。そこで、実施の形態に係る通信装置100は、最大再送回数と伝送速度とを制御することでネットワーク全体の通信効率を下げることなく、無線区間におけるパケットの欠落を防止する。   For example, in an application for streaming audio or video, the quality at the time of reproduction deteriorates if many packets are lost or delayed. In particular, when the number of missing packets increases, the quality of reproduction that is perceived by humans is significantly reduced. If retransmission processing is performed for all packets until they are reliably transmitted, the loss of packets in the wireless section can be prevented, but the communication bandwidth in the wireless section may be compressed and the communication efficiency of the entire network may be reduced. Therefore, the communication apparatus 100 according to the embodiment prevents the packet loss in the wireless section without controlling the communication efficiency of the entire network by controlling the maximum number of retransmissions and the transmission rate.

(最大再送回数の制御について)
通信装置100は、パケットの種類に応じて、最大再送回数に格差を付けることで再送にともなう通信帯域の圧迫を解消する。「最大再送回数」は、物理層において欠落したパケットの再送を行う回数の最大値である。一般に音声や映像などのストリーミングに利用されるリアルタイム性の高いプロトコルはUDPを下位レイヤのプロトコルとしており、FTP(File Transfer Protocol)やHTTP(Hyper Text Transfer Protocol)などのリアルタイム性の低いプロトコルはTCPを下位レイヤのプロトコルとしている。
(About control of the maximum number of retransmissions)
The communication apparatus 100 eliminates the compression of the communication band that accompanies retransmission by providing a difference in the maximum number of retransmissions according to the type of packet. “Maximum number of retransmissions” is the maximum value of the number of times of retransmission of a missing packet in the physical layer. Generally, UDP is used as a lower layer protocol for high real-time protocols used for streaming audio and video, and TCP is used for low real-time protocols such as FTP (File Transfer Protocol) and HTTP (Hyper Text Transfer Protocol). It is a lower layer protocol.

TCPのパケットは、トランスポート層で再送制御が行われるので、パケットが欠落することはない。しかしUDPのパケットは、トランスポート層で再送制御が行われないので、パケットが欠落してしまう。そこで、通信装置100は、例えばUDPのパケットの最大再送回数をTCPのパケットの最大再送回数より多く設定する。これにより、UDPのパケットの欠落を抑制するとともに、無線区間における通信帯域の圧迫を避けることができる。すなわち、TCPのパケットの再送に使われるはずの帯域を空けることができるので、UDPのパケットの再送により通信帯域を必要以上に圧迫することがない。   Since the TCP packet is subjected to retransmission control in the transport layer, the packet is not lost. However, since the UDP packet is not subjected to retransmission control in the transport layer, the packet is lost. Therefore, for example, the communication apparatus 100 sets the maximum number of retransmissions of a UDP packet to be larger than the maximum number of retransmissions of a TCP packet. As a result, loss of UDP packets can be suppressed, and compression of the communication band in the wireless section can be avoided. In other words, since a band that should be used for retransmission of TCP packets can be made free, the communication band is not compressed more than necessary due to retransmission of UDP packets.

また、再送タイミングが時系列的に分散される効果もある。例えばTCPのパケットの最大再送回数を0回にした場合、UDPのパケットは無線区間においてすぐに再送処理が行われる。それに対し、TCPのパケットは無線区間の上位の端末で指示されてから再送されるので、通信状態の悪化などで同時期にTCPのパケットおよびUDPのパケットが欠落したとしても、それぞれのパケットが再送されるタイミングが分散される。   In addition, there is an effect that the retransmission timing is dispersed in time series. For example, when the maximum number of retransmissions of a TCP packet is set to 0, the UDP packet is immediately retransmitted in the wireless section. On the other hand, because TCP packets are retransmitted after being instructed by a higher-level terminal in the wireless section, even if TCP packets and UDP packets are lost at the same time due to deterioration of the communication status, the respective packets are retransmitted. Timing is distributed.

音声や映像をストリーミングする場合、再生時の品質はパケットの欠落だけでなく、パケットの遅延、すなわちパケットの到着時間にも影響される。TCPのパケットはトランスポート層の再送制御により確実に伝送されるが、端末間の処理になるため、無線区間における再送処理より時間が長く必要になる。このため、通信装置100は、リアルタイム性の高い処理を行うアプリケーションで利用されるデータ(以下、単に「リアルタイムデータ」という)の最大再送回数を、リアルタイム性の低い処理を行うアプリケーションで利用されるデータ(以下、単に「非リアルタイムデータ」という)の最大再送回数より多く設定する。これにより、リアルタイムデータの欠落を抑制するとともに、無線区間における通信帯域の圧迫を避けることができる。   When streaming audio or video, the quality at the time of reproduction is affected not only by packet loss but also by packet delay, that is, packet arrival time. A TCP packet is reliably transmitted by retransmission control in the transport layer, but since it is a process between terminals, it takes a longer time than a retransmission process in a radio section. For this reason, the communication apparatus 100 uses the maximum number of retransmissions of data (hereinafter simply referred to as “real-time data”) used in an application that performs processing with high real-time characteristics as data used in the application that performs processing with low real-time characteristics. Set more than the maximum number of retransmissions (hereinafter simply referred to as “non-real-time data”). As a result, loss of real-time data can be suppressed and compression of the communication band in the wireless section can be avoided.

(伝送速度の制御について)
一般に無線通信では、データの伝送速度が高くなるにつれて、データの誤り率が増加する。このため、伝送速度を低くして無線通信を行えばデータの誤りを抑制し、パケットの欠落を抑制できるが、無線区間における伝送速度を低くすることが原因となりネットワーク全体の通信効率をさげかねない。そこで通信装置100は、パケットの種類に応じて、無線区間における伝送速度を切り替える。例えば、パケットがリアルタイムデータを含む場合、通信装置100はそのパケットを標準時の伝送速度より低い伝送速度で伝送する。また、パケットが非リアルタイムデータを含む場合、通信装置100はそのパケットを標準時の伝送速度で伝送する。これにより、ネットワーク全体の通信効率を落とすことなく、リアルタイムデータの欠落を抑制できる。
(About transmission speed control)
Generally, in wireless communication, the data error rate increases as the data transmission rate increases. For this reason, if communication is performed at a low transmission rate, data errors can be suppressed and packet loss can be suppressed, but the transmission rate in the wireless section can be reduced, which can reduce the communication efficiency of the entire network. . Therefore, the communication device 100 switches the transmission rate in the wireless section according to the type of packet. For example, when the packet includes real-time data, the communication apparatus 100 transmits the packet at a transmission rate lower than the standard transmission rate. When the packet includes non-real time data, the communication device 100 transmits the packet at a standard transmission rate. Thereby, lack of real-time data can be suppressed without reducing the communication efficiency of the entire network.

通信装置100は、無線区間における最大送信回数および伝送速度の少なくとも一方を、パケットの種類に応じて制御することにより、リアルタイムデータの欠落を効率的に抑制する。   The communication device 100 efficiently suppresses the loss of real-time data by controlling at least one of the maximum number of transmissions and the transmission rate in the wireless section according to the type of packet.

(パケットの種類に応じて伝送速度を制御する形態)
図2は、パケットの種類に応じて伝送速度を制御する形態における、図1の第1通信装置100aと第2通信装置100bとの通信処理をOSI参照モデルを用いて示した図である。本図では第1通信装置100aが送信側であり、第2通信装置100bが受信側であるとする。第1通信装置100aは、物理層より上位のレイヤにおける特徴に基づいて、物理層におけるパケットを伝送するための伝送速度を設定する。そして、第1通信装置100aは、設定した伝送速度でパケットを伝送できるように変調処理を施して、無線で第2通信装置100bに伝送する。
(Transmission rate is controlled according to packet type)
FIG. 2 is a diagram illustrating communication processing between the first communication device 100a and the second communication device 100b of FIG. 1 using an OSI reference model in a mode in which the transmission rate is controlled according to the type of packet. In this figure, it is assumed that the first communication device 100a is a transmission side and the second communication device 100b is a reception side. The first communication device 100a sets a transmission rate for transmitting packets in the physical layer based on features in a layer higher than the physical layer. Then, the first communication device 100a performs modulation processing so that the packet can be transmitted at the set transmission rate, and wirelessly transmits the packet to the second communication device 100b.

通信装置100は、アプリケーションがユーザに提供する処理に対して、ユーザがストレスを感じないようにパケットの伝送速度を制御する。パケットがどのアプリケーションでどのような処理のために利用されるのかを特定する手段として、本実施の形態では上位レイヤの特徴を利用する。「上位のレイヤにおける特徴」は、例えば上位のレイヤにおけるプロトコルであってもよいし、上位のレイヤにおける通信手順で生成されたパケットのデータサイズであってもよいし、その他パケットに含まれる所定のビットパターンなど任意の情報であってよく、パケットがどのような処理のために利用されるのかを特定できればよい。「どのような処理」とは、例えばストリーミング再生などのアプリケーションにおける主となる処理であってもよいし、例えばユーザ登録などのアプリケーションにおける補助的な処理であってもよい。   The communication device 100 controls the transmission rate of the packet so that the user does not feel stress with respect to the processing provided by the application to the user. In this embodiment, the characteristics of the upper layer are used as means for specifying which application is used for which application by which packet. The “feature in the upper layer” may be, for example, a protocol in the upper layer, a data size of a packet generated by a communication procedure in the upper layer, or a predetermined size included in other packets. It may be arbitrary information such as a bit pattern, and it is only necessary to identify what kind of processing the packet is used for. “What process” may be a main process in an application such as streaming playback, or may be an auxiliary process in an application such as user registration.

本実施の形態では、リアルタイムデータの伝送に利用されるプロトコルか否かに基づいて伝送速度を切り替える。このリアルタイムデータとして、RTP(Real-time Transport Protocol)の場合を一例として取り上げる。また、RTP以外のプロトコルを非リアルタイムデータとして取り扱う。もちろん他の例では、リアルタイムデータとしてRTP以外のプロトコルをひとつ選択してもよいし、複数のプロトコルを選択してもよい。リアルタイムデータの場合、通信装置100は、無線区間の伝送速度を低速にしてパケットを伝送する。これにより、無線区間で生じるエラーの発生率が下がり、パケットの遅延や欠落を抑制できる。   In this embodiment, the transmission rate is switched based on whether or not the protocol is used for real-time data transmission. As this real-time data, the case of RTP (Real-time Transport Protocol) is taken as an example. In addition, protocols other than RTP are handled as non-real time data. Of course, in another example, one protocol other than RTP may be selected as real-time data, or a plurality of protocols may be selected. In the case of real-time data, the communication device 100 transmits a packet at a low transmission rate in the wireless section. As a result, the rate of occurrence of errors occurring in the wireless section is reduced, and packet delays and omissions can be suppressed.

(第1の実施の形態)
図3は、第1の実施の形態に係る通信装置100の内部構成図である。通信装置100の各構成要素は、ハードウエアコンポーネントで言えば、任意のコンピュータのCPU、メモリ、メモリにロードされた本図の構成要素を実現するプログラム、そのプログラムを格納するハードディスクなどの記憶ユニット、ネットワーク接続用インターフェース、無線通信に用いるユニット等を中心に実現されるが、その実現方法、装置にはいろいろな変形例があることは、当業者には理解されるところである。これから説明する各図は、ハードウエア単位の構成ではなく、機能単位のブロックを示している。
(First embodiment)
FIG. 3 is an internal configuration diagram of the communication apparatus 100 according to the first embodiment. Each component of the communication device 100 is, in terms of hardware components, a CPU of any computer, a memory, a program that realizes the components of this figure loaded in the memory, a storage unit such as a hard disk that stores the program, It is realized mainly by a network connection interface, a unit used for wireless communication, etc., but it will be understood by those skilled in the art that there are various modifications in the realization method and apparatus. Each figure to be described below shows functional unit blocks, not hardware unit configurations.

第1通信部102は、例えば10Base−Tや100Base−T等の有線で形成されたネットワーク10と接続して通信を行う。第1通信部102は、有線ネットワーク10から受け付けたパケットを解析部104に出力する。他の接続形態としては、図1で説明したように第2端末装置14と直接接続してもよい。   The first communication unit 102 performs communication by connecting to the network 10 formed by a wire such as 10Base-T or 100Base-T, for example. The first communication unit 102 outputs the packet received from the wired network 10 to the analysis unit 104. As another connection form, you may connect with the 2nd terminal device 14 directly, as demonstrated in FIG.

解析部104は、パケットに含まれる所定のレイヤにおけるプロトコルを識別する情報に基づいて、そのパケットで伝送されるデータの種類を特定する。具体的には解析部104は、受け付けたパケットからプロトコルを識別するための情報を取り出し、取り出した情報に基づいてプロトコルを特定し、そのプロトコルを識別する情報(以下、単に「プロトコル識別情報」という)を伝送速度設定部106に出力するとともに、パケットをバッファ112に書き込む。パケットに含まれる情報からプロトコル識別情報を特定する方法はいろいろとあり、例えばIPv4に準じたパケットの場合、解析部104はIPヘッダからプロトコルを識別する情報を読み込んでもよいし、IPヘッダに含まれるTCPやUDPなどの下位レイヤにおけるプロトコルと、TCPヘッダまたはUDPヘッダに含まれる送信先ポート番号などに基づいてプロトコルを特定してもよい。   The analysis unit 104 specifies the type of data transmitted in the packet based on information identifying a protocol in a predetermined layer included in the packet. Specifically, the analysis unit 104 extracts information for identifying the protocol from the received packet, specifies the protocol based on the extracted information, and identifies the protocol (hereinafter simply referred to as “protocol identification information”). ) To the transmission rate setting unit 106 and the packet is written to the buffer 112. There are various methods for specifying the protocol identification information from the information included in the packet. For example, in the case of a packet conforming to IPv4, the analysis unit 104 may read the information for identifying the protocol from the IP header, or may be included in the IP header. The protocol may be specified based on a protocol in a lower layer such as TCP or UDP and a destination port number included in the TCP header or UDP header.

伝送速度設定部106は、解析部104から供給されたプロトコル識別情報に基づいて、無線区間における伝送速度を設定する。そして、伝送速度設定部106は、設定した伝送速度で伝送するための変調処理をパケットに施すことを変調部108に指示する。詳細は後述するが、変調部108の変調能力に応じて、予め複数の伝送速度が用意されており、伝送速度設定部106はその中からプロトコル識別情報に応じた伝送速度を選択する。   The transmission rate setting unit 106 sets the transmission rate in the wireless section based on the protocol identification information supplied from the analysis unit 104. Then, the transmission rate setting unit 106 instructs the modulation unit 108 to perform modulation processing on the packet for transmission at the set transmission rate. Although details will be described later, a plurality of transmission rates are prepared in advance according to the modulation capability of the modulation unit 108, and the transmission rate setting unit 106 selects a transmission rate according to the protocol identification information from among them.

本実施の形態では、解析部104から受け付けたプロトコル識別情報がRTP以外の場合、伝送速度設定部106は無線区間における受信側の通信装置100との通信で取りうる最も高い伝送速度を選択する。この伝送速度を、以下「標準伝送速度」という。解析部104から受け付けたプロトコル識別情報がRTPの場合、伝送速度設定部106は標準伝送速度より低い伝送速度を選択する。これにより、無線区間において、RTPのパケットに対してエラーが生じる可能性を、他のプロトコルのパケットに対してエラーが生じる可能性より低くできる。すなわち、RTPのパケットの無線区間における遅延や欠落を抑制できる。   In the present embodiment, when the protocol identification information received from the analysis unit 104 is other than RTP, the transmission rate setting unit 106 selects the highest transmission rate that can be obtained in communication with the receiving-side communication apparatus 100 in the wireless section. This transmission rate is hereinafter referred to as “standard transmission rate”. When the protocol identification information received from the analysis unit 104 is RTP, the transmission rate setting unit 106 selects a transmission rate lower than the standard transmission rate. As a result, the possibility that an error will occur for an RTP packet in the radio section can be made lower than the possibility that an error will occur for a packet of another protocol. That is, delays and omissions in the radio section of RTP packets can be suppressed.

第2通信部120は、変調部108、RF部110、バッファ112、送信制御部114、再送指示部116、および復調部118を含む。   Second communication unit 120 includes modulation unit 108, RF unit 110, buffer 112, transmission control unit 114, retransmission instruction unit 116, and demodulation unit 118.

RF部110は、後述の変調部108や復調部118で処理されるベースバンドの信号と無線周波数の信号間の周波数変換処理、増幅処理、ADまたはDA変換処理などを行う。RF部110は、アンテナ122を介して電波の送受信を行う。   The RF unit 110 performs frequency conversion processing, amplification processing, AD or DA conversion processing between a baseband signal and a radio frequency signal processed by a modulation unit 108 and a demodulation unit 118 described later. The RF unit 110 transmits and receives radio waves via the antenna 122.

バッファ112は、解析部104から供給されたパケットを格納する。送信制御部114は、バッファ112からパケットを読み出し、変調部108に供給する。また、送信制御部114は、再送指示部116から再送指示を受け付けた場合、再送するパケットをバッファ112から読み込むとともに、そのパケットの伝送速度を決めることを伝送速度設定部106に指示する。   The buffer 112 stores the packet supplied from the analysis unit 104. The transmission control unit 114 reads the packet from the buffer 112 and supplies the packet to the modulation unit 108. In addition, when receiving a retransmission instruction from the retransmission instruction unit 116, the transmission control unit 114 reads a packet to be retransmitted from the buffer 112 and instructs the transmission rate setting unit 106 to determine the transmission rate of the packet.

変調部108は、例えばBPSK(Binary Phase Shift Keying)、π/4シフトQPSK(Quadrature Phase Shift Keying)、16QAM(16 Quadrature Amplitude Modulation)などの変調方式を利用して、1Mbps、2Mbps、5.5Mbps、11Mbps、12Mbps、18Mbpsなど複数の伝送速度を選択的に利用してデータを伝送できる。変調部108は伝送速度設定部106からの指示に応じて、指定された伝送速度でデータを伝送できるように変調処理を行う。   For example, the modulation unit 108 uses a modulation scheme such as BPSK (Binary Phase Shift Keying), π / 4 shift QPSK (Quadrature Phase Shift Keying), 16QAM (16 Quadrature Amplitude Modulation), Mps, 5 ps, Mps, 5 ps. Data can be transmitted selectively using a plurality of transmission speeds such as 11 Mbps, 12 Mbps, and 18 Mbps. In response to an instruction from the transmission rate setting unit 106, the modulation unit 108 performs modulation processing so that data can be transmitted at a designated transmission rate.

復調部118は、RF部110でベースバンドに変換された受信信号に対して復調処理を実行する。復調部118は、受信信号の変調方式に応じて、復調処理を変更する。復調部118は、復調したパケットを第1通信部102に出力する。第1通信部102は、復調部118から受け付けたパケットを有線ネットワーク10に出力する。また、復調部118は、復調して得られた受信通知を再送指示部116に出力する。「受信通知」は、トランスポート層より下位のレイヤで作られた受信側の通信装置100がパケットを受信したことを示す情報である。送信したパケットに対する受信通知が所定の期間内に戻ってこない場合、再送指示部116は送信制御部114にパケットの再送を指示する。   The demodulator 118 performs a demodulation process on the received signal converted into the baseband by the RF unit 110. The demodulator 118 changes the demodulation process according to the modulation method of the received signal. Demodulation section 118 outputs the demodulated packet to first communication section 102. The first communication unit 102 outputs the packet received from the demodulation unit 118 to the wired network 10. Demodulation section 118 outputs a reception notification obtained by demodulation to retransmission instruction section 116. “Reception notification” is information indicating that the receiving-side communication device 100 created in a layer lower than the transport layer has received a packet. If the reception notification for the transmitted packet does not return within a predetermined period, the retransmission instruction unit 116 instructs the transmission control unit 114 to retransmit the packet.

送信制御部114は、再送指示部116から再送指示を受け付けると、再送すべきパケットをバッファ112から読み込むとともに、パケットの再送を行うことを伝送速度設定部106に通知する。伝送速度設定部106は、送信制御部114からの通知を受けて、再送時の伝送速度を決定する。パケット毎に再送時の伝送速度を決めることができるように、例えば、解析部104はパケットと、そのパケットのプロトコル識別情報とを対応付けてバッファ112に格納してもよい。そして、送信制御部114は、再送通知とともにプロトコル識別情報を伝送速度設定部106に出力する。これにより、伝送速度設定部106は、プロトコル識別情報に基づいて再送時の伝送速度を決定できる。   When receiving a retransmission instruction from the retransmission instruction unit 116, the transmission control unit 114 reads the packet to be retransmitted from the buffer 112 and notifies the transmission rate setting unit 106 that the packet is to be retransmitted. The transmission rate setting unit 106 receives the notification from the transmission control unit 114 and determines the transmission rate at the time of retransmission. For example, the analysis unit 104 may store the packet and the protocol identification information of the packet in the buffer 112 in association with each other so that the transmission rate at the time of retransmission can be determined for each packet. Then, the transmission control unit 114 outputs protocol identification information to the transmission rate setting unit 106 together with the retransmission notification. Thereby, the transmission rate setting unit 106 can determine the transmission rate at the time of retransmission based on the protocol identification information.

図4は、図3の通信装置100におけるひとつのパケットを送信する処理のフローチャートである。図3の第1通信部102は、有線ネットワーク10からパケットを受信する(S10)。図2の解析部104は、そのパケットのプロトコルを特定し(S12)、RTPか否かを判定する(S14)。RTPの場合(S14のY)、図2の伝送速度設定部106は、伝送速度を低速に設定する(S16)。RTPでない場合(S14のN)、伝送速度設定部106は、伝送速度を標準伝送速度に設定する(S18)。図2の変調部108は、伝送速度設定部106により設定された伝送速度でパケットを送信できるように変調処理を施す(S20)。そして、パケットは図2のRF部110および図2のアンテナ122を介して送信され(S22)、ひとつのパケットを送信する処理が終了される。通信装置100は、この処理を受信したパケット毎に行う。   FIG. 4 is a flowchart of a process for transmitting one packet in the communication apparatus 100 of FIG. The first communication unit 102 in FIG. 3 receives a packet from the wired network 10 (S10). The analysis unit 104 in FIG. 2 specifies the protocol of the packet (S12), and determines whether it is RTP (S14). In the case of RTP (Y in S14), the transmission speed setting unit 106 in FIG. 2 sets the transmission speed to a low speed (S16). If it is not RTP (N in S14), the transmission rate setting unit 106 sets the transmission rate to the standard transmission rate (S18). 2 performs a modulation process so that a packet can be transmitted at the transmission rate set by the transmission rate setting unit 106 (S20). Then, the packet is transmitted via the RF unit 110 of FIG. 2 and the antenna 122 of FIG. 2 (S22), and the process of transmitting one packet is completed. The communication device 100 performs this process for each received packet.

(第2の実施の形態)
図5は、第2の実施の形態に係る通信装置100の内部構成図である。第2の実施の形態に係る通信装置100は、無線区間において再送が生じた場合に、伝送速度を低くするものである。本図で既に説明した構成と同一の符号を付した構成は、機能および動作が略同一である。以下、既に説明した構成と機能および動作が異なる点を主に説明する。
(Second Embodiment)
FIG. 5 is an internal configuration diagram of the communication apparatus 100 according to the second embodiment. The communication device 100 according to the second embodiment lowers the transmission rate when retransmission occurs in a radio section. The configurations denoted by the same reference numerals as those already described in this figure have substantially the same functions and operations. In the following, the points of difference in function and operation from the configuration already described will be mainly described.

第1通信部102は、有線ネットワーク10からパケットを受け付けると、そのパケットをバッファ112に格納する。送信制御部114は、バッファ112からパケットを読み込み変調部108に出力する。そして、そのパケットは、変調部108で変調処理が施され、RF部110およびアンテナ122を介して伝送される。送信制御部114は、再送指示部116から再送指示を受け付けると、伝送速度設定部106に伝送速度を切り替えることを指示する。   When receiving a packet from the wired network 10, the first communication unit 102 stores the packet in the buffer 112. The transmission control unit 114 reads a packet from the buffer 112 and outputs it to the modulation unit 108. Then, the packet is modulated by the modulation unit 108 and transmitted via the RF unit 110 and the antenna 122. When receiving a retransmission instruction from the retransmission instruction unit 116, the transmission control unit 114 instructs the transmission rate setting unit 106 to switch the transmission rate.

再送時には、伝送速度設定部106は、最初にそのパケットを伝送したときの伝送速度より低い伝送速度を設定する。また、伝送速度設定部106は、再送回数の増加にともない、段階的に伝送速度を低くしてもよい。これにより、通信状態が変動しやすい無線区間において、そのときの通信状態に応じた伝送速度が適切に設定される。例えば、最初の伝送速度が24Mbpsの場合、伝送速度設定部106は再送時の伝送速度を、18Mbps、12Mbps、9Mbpsのように段階的に低くする。   At the time of retransmission, the transmission rate setting unit 106 sets a transmission rate lower than the transmission rate at the time of transmitting the packet for the first time. Further, the transmission rate setting unit 106 may gradually decrease the transmission rate as the number of retransmissions increases. Thereby, in the wireless section where the communication state is likely to change, the transmission rate according to the communication state at that time is appropriately set. For example, when the initial transmission rate is 24 Mbps, the transmission rate setting unit 106 lowers the transmission rate at the time of retransmission stepwise, such as 18 Mbps, 12 Mbps, and 9 Mbps.

図6は、図5の通信装置100におけるひとつのパケットを送信する処理のフローチャートである。図5の第1通信部102は有線ネットワーク10からパケットを受信する(S10)。図5の伝送速度設定部106は伝送速度を標準伝送速度に設定し(S18)、変調部108は設定された伝送速度でパケットを伝送できるように変調処理を実行する(S20)。図5のRF部110および図5のアンテナ122は、変調されたパケットを伝送する(S22)。図5の送信制御部114は、図5の再送指示部116から再送指示を受け付けた場合(S30のY)、伝送速度設定部106に伝送速度を切り替えることを指示する。伝送速度設定部106は、再送前より低い伝送速度を設定する(S26)。再送指示を受け付けなかった場合(S30のN)、ひとつのパケットの送信処理を終了する。   FIG. 6 is a flowchart of a process for transmitting one packet in the communication apparatus 100 of FIG. The first communication unit 102 in FIG. 5 receives a packet from the wired network 10 (S10). The transmission rate setting unit 106 in FIG. 5 sets the transmission rate to the standard transmission rate (S18), and the modulation unit 108 performs modulation processing so that packets can be transmitted at the set transmission rate (S20). The RF unit 110 in FIG. 5 and the antenna 122 in FIG. 5 transmit the modulated packet (S22). 5 receives a retransmission instruction from the retransmission instruction unit 116 in FIG. 5 (Y in S30), the transmission control unit 114 instructs the transmission rate setting unit 106 to switch the transmission rate. The transmission rate setting unit 106 sets a lower transmission rate than before retransmission (S26). If a retransmission instruction has not been accepted (N in S30), the transmission process for one packet is terminated.

(第3の実施の形態)
図7は、第3の実施の形態に係る通信装置100の内部構成図である。第3の実施の形態は、第1の実施の形態と第2の実施の形態とを組み合わせた形態であり、通信装置100は、パケットの種類と無線区間における再送回数とに基づいて、パケットの伝送速度を切り替えるものである。
(Third embodiment)
FIG. 7 is an internal configuration diagram of the communication apparatus 100 according to the third embodiment. The third embodiment is a combination of the first embodiment and the second embodiment, and the communication apparatus 100 determines the packet based on the type of packet and the number of retransmissions in the radio section. The transmission speed is switched.

すなわち、図1の伝送速度設定部106は、無線区間におけるパケットの伝送速度を、そのパケットのプロトコルに基づいて決定する。無線区間において再送が生じた場合には、伝送速度設定部106は、伝送速度を段階的に低速の方向に切り替える。   That is, the transmission rate setting unit 106 in FIG. 1 determines the transmission rate of a packet in the wireless section based on the protocol of the packet. When retransmission occurs in the wireless section, the transmission rate setting unit 106 switches the transmission rate stepwise to a lower direction.

図8は、図7の通信装置100におけるひとつのパケットを送信する処理のフローチャートである。図3の第1通信部102は、有線ネットワーク10からパケットを受信する(S10)。図2の解析部104は、そのパケットのプロトコルを特定し(S12)、RTPか否かを判定する(S14)。RTPの場合(S14のY)、図2の伝送速度設定部106は、伝送速度を低速に設定する(S16)。RTPでない場合(S14のN)、伝送速度設定部106は、伝送速度を標準伝送速度に設定する(S18)。図2の変調部108は、伝送速度設定部106により設定された伝送速度でパケットを送信できるように変調処理を施す(S20)。そして、パケットが図2の通信装置100および図2のアンテナ122を介して送信される(S22)。図2の送信制御部114は、図2の再送指示部116から再送指示を受け付けた場合(S24のY)、伝送速度設定部106に再送時の伝送速度を決定することを要求する。そして、伝送速度設定部106は、更に伝送速度を低速に設定する(S26)。ステップ24で、再送指示を受け付けない場合(S24のN)、ひとつのパケットを送信する処理を終了する。通信装置100は、この処理を受信したパケット毎に行う。   FIG. 8 is a flowchart of a process for transmitting one packet in the communication apparatus 100 of FIG. The first communication unit 102 in FIG. 3 receives a packet from the wired network 10 (S10). The analysis unit 104 in FIG. 2 specifies the protocol of the packet (S12), and determines whether it is RTP (S14). In the case of RTP (Y in S14), the transmission speed setting unit 106 in FIG. 2 sets the transmission speed to a low speed (S16). If it is not RTP (N in S14), the transmission rate setting unit 106 sets the transmission rate to the standard transmission rate (S18). 2 performs a modulation process so that a packet can be transmitted at the transmission rate set by the transmission rate setting unit 106 (S20). Then, the packet is transmitted via the communication device 100 of FIG. 2 and the antenna 122 of FIG. 2 (S22). When receiving a retransmission instruction from the retransmission instruction unit 116 in FIG. 2 (Y in S24), the transmission control unit 114 in FIG. 2 requests the transmission rate setting unit 106 to determine the transmission rate at the time of retransmission. Then, the transmission speed setting unit 106 further sets the transmission speed to a low speed (S26). If no retransmission instruction is accepted in step 24 (N in S24), the process of transmitting one packet is terminated. The communication device 100 performs this process for each received packet.

(パケットの種類に応じて最大再送回数を制御する形態)
図9は、パケットの種類に応じて最大再送回数を制御する形態における、図1の第1通信装置100aと第2通信装置100bとの通信処理をOSI参照モデルを用いて示した図である。本図では第1通信装置100aが送信側であり、第2通信装置100bが受信側であるとする。第1通信装置100aは、物理層より上位のレイヤにおける特徴に基づいて最大再送回数を設定する。そして、第1通信装置100aは、それぞれのパケットに対して設定した最大再送回数を上限として再送を行う。
(Mode for controlling the maximum number of retransmissions according to the type of packet)
FIG. 9 is a diagram illustrating communication processing between the first communication device 100a and the second communication device 100b of FIG. 1 using an OSI reference model in a form in which the maximum number of retransmissions is controlled according to the type of packet. In this figure, it is assumed that the first communication device 100a is a transmission side and the second communication device 100b is a reception side. The first communication device 100a sets the maximum number of retransmissions based on features in a layer higher than the physical layer. Then, the first communication device 100a performs retransmission with the maximum number of retransmissions set for each packet as an upper limit.

前述したとおり、通信装置100は、アプリケーションがユーザに提供する処理に対して、ユーザがストレスを感じないようにパケットの最大再送回数を制御する。パケットがどのアプリケーションでどのような処理のために利用されるのかを特定する手段として、本実施の形態では上位レイヤの特徴を利用する。本実施の形態では、リアルタイムデータの伝送に利用されるプロトコルか、非リアルタイムデータの伝送に利用されるプロトコルか否かに基づいて最大再送回数を設定する。   As described above, the communication apparatus 100 controls the maximum number of packet retransmissions so that the user does not feel stress with respect to the processing provided by the application to the user. In this embodiment, the characteristics of the upper layer are used as means for specifying which application is used for which application by which packet. In the present embodiment, the maximum number of retransmissions is set based on whether the protocol is used for transmitting real-time data or the protocol used for transmitting non-real-time data.

(第4の実施の形態)
図10は、第4の実施の形態に係る通信装置100の内部構成図である。解析部104は、第1通信部102から受け付けたパケットを解析し、プロトコル識別情報を再送回数設定部107に出力する。また、解析部104は、そのパケットをバッファ112に格納する。送信制御部114は、バッファ112からパケットを読み込み、変調部108に出力する。変調部108は、そのパケットに所定の変調処理を施してRF部110に出力する。そして、パケットは、RF部110でDA変換され、アンテナ122から送信される。また、RF部110はアンテナ122が受信した電波をAD変換して復調部118に出力する。復調部118は、復調して得られたパケットを第1通信部102に出力する。また、復調部118は、受信通知を再送指示部116に出力する。
(Fourth embodiment)
FIG. 10 is an internal configuration diagram of the communication apparatus 100 according to the fourth embodiment. The analysis unit 104 analyzes the packet received from the first communication unit 102 and outputs protocol identification information to the retransmission number setting unit 107. The analysis unit 104 stores the packet in the buffer 112. The transmission control unit 114 reads the packet from the buffer 112 and outputs it to the modulation unit 108. Modulation section 108 performs a predetermined modulation process on the packet and outputs the result to RF section 110. The packet is DA-converted by the RF unit 110 and transmitted from the antenna 122. In addition, the RF unit 110 performs AD conversion on the radio wave received by the antenna 122 and outputs the result to the demodulation unit 118. Demodulation section 118 outputs the packet obtained by demodulation to first communication section 102. Demodulation section 118 also outputs a reception notification to retransmission instruction section 116.

再送回数設定部107は、プロトコル識別情報に基いてパケット毎に最大再送回数を設定する。プロトコル識別情報がRTPを示す場合、再送回数設定部107は、そのパケットに対して標準の最大再送回数を設定する。「標準の最大再送回数」は、デフォルト値として予め登録されていてもよいし、物理レイヤにおける通信状態や混雑状況などに応じて変更されてもよい。プロトコル識別情報がRTP以外を示す場合、再送回数設定部107はそのパケットに対して標準の最大再送回数より少ない値を最大再送回数として設定する。別の例では、プロトコル識別情報がRTP以外を示す場合、再送回数設定部107はそのパケットに対して再送を行わない、すなわち最大再送回数を0回に設定してもよい。再送回数設定部107は、プロトコル識別情報に基いて、それぞれのプロトコルに準じたパケットに対する最大再送回数に格差が生じるように設定を行えばよい。   The retransmission number setting unit 107 sets the maximum number of retransmissions for each packet based on the protocol identification information. When the protocol identification information indicates RTP, the retransmission number setting unit 107 sets a standard maximum number of retransmissions for the packet. The “standard maximum number of retransmissions” may be registered in advance as a default value, or may be changed according to a communication state or a congestion state in the physical layer. When the protocol identification information indicates other than RTP, the retransmission count setting unit 107 sets a value smaller than the standard maximum retransmission count for the packet as the maximum retransmission count. In another example, when the protocol identification information indicates other than RTP, the retransmission number setting unit 107 may not perform retransmission for the packet, that is, may set the maximum number of retransmissions to zero. Based on the protocol identification information, the retransmission number setting unit 107 may perform setting so that a difference occurs in the maximum number of retransmissions for packets conforming to each protocol.

再送指示部116は、受信通知に基いて、再送すべきパケットを特定する。再送指示部116は既知の技術を利用して再送すべきパケットを特定すればよい。そして、再送指示部116は、特定されたパケットの再送回数が再送回数設定部107に設定された最大再送回数より少ないか否かを判断する。再送回数が最大再送回数より少ない場合、再送指示部116は送信制御部114にパケットの再送を指示する。また、再送回数が最大再送回数以上の場合、再送指示部116は送信制御部114にパケットの再送を指示しない。これにより、通信装置100は、パケットの種類に応じて再送回数を制限できる。   The retransmission instruction unit 116 identifies a packet to be retransmitted based on the reception notification. The retransmission instruction unit 116 may specify a packet to be retransmitted using a known technique. Then, the retransmission instruction unit 116 determines whether or not the number of retransmissions of the identified packet is less than the maximum number of retransmissions set in the retransmission number setting unit 107. If the number of retransmissions is less than the maximum number of retransmissions, retransmission instruction unit 116 instructs transmission control unit 114 to retransmit the packet. When the number of retransmissions is equal to or greater than the maximum number of retransmissions, retransmission instruction unit 116 does not instruct transmission control unit 114 to retransmit the packet. As a result, the communication apparatus 100 can limit the number of retransmissions according to the type of packet.

図11は、図10の通信装置100におけるひとつのパケットを送信する処理のフローチャートである。図10の第1通信部102は、有線ネットワーク10からパケットを受信する(S10)。図10の解析部104は、そのパケットのプロトコルを特定する(S12)。図10の再送回数設定部107は、そのパケットがRTPか否かを判定する(S50)。RTPの場合(S50Y)、再送回数設定部107はそのパケットの最大再送回数を標準に設定する(S54)。RTP以外の場合(S50のN)、再送回数設定部107はそのパケットの最大再送回数を標準より少なく設定する(S52)。図10の第2通信部120は、そのパケットを送信する(S22)。   FIG. 11 is a flowchart of a process for transmitting one packet in the communication apparatus 100 of FIG. The first communication unit 102 in FIG. 10 receives a packet from the wired network 10 (S10). The analysis unit 104 in FIG. 10 specifies the protocol of the packet (S12). The retransmission number setting unit 107 in FIG. 10 determines whether or not the packet is RTP (S50). In the case of RTP (S50Y), the retransmission number setting unit 107 sets the maximum number of retransmissions of the packet as a standard (S54). In cases other than RTP (N in S50), the retransmission number setting unit 107 sets the maximum number of retransmissions of the packet to be less than the standard (S52). The second communication unit 120 in FIG. 10 transmits the packet (S22).

(第5の実施の形態)
図12は、第5の実施の形態に係る通信装置100の内部構成図である。第5の実施の形態に係る通信装置100は、無線区間における通信状態を監視し、通信が混雑してきた場合に、リアルタイムデータと非リアルタイムデータとで異なる最大再送回数を設定する処理を行う。この通信装置100は、図10を用いて説明した通信装置100に、バッファ112の状態を監視する監視部130を加えたものである。
(Fifth embodiment)
FIG. 12 is an internal configuration diagram of the communication apparatus 100 according to the fifth embodiment. The communication device 100 according to the fifth embodiment monitors the communication state in the wireless section, and performs processing for setting different maximum retransmission counts for real-time data and non-real-time data when communication is congested. The communication apparatus 100 is obtained by adding a monitoring unit 130 that monitors the state of the buffer 112 to the communication apparatus 100 described with reference to FIG.

監視部130は、バッファ112に保持されているパケットの量、バッファ112の空き容量などに基いて、無線区間における通信の混雑状況を監視する。本実施の形態では、監視部130は、バッファ112の空き容量が所定の値より少なくなった場合に、その旨を再送回数設定部107に通知する。この通知を受けて、再送回数設定部107は、パケットの種類に応じて最大再送回数を設定する処理を開始する。   The monitoring unit 130 monitors communication congestion in the wireless section based on the amount of packets held in the buffer 112, the free capacity of the buffer 112, and the like. In the present embodiment, the monitoring unit 130 notifies the retransmission number setting unit 107 when the free capacity of the buffer 112 becomes smaller than a predetermined value. Upon receiving this notification, the retransmission number setting unit 107 starts a process of setting the maximum number of retransmissions according to the type of packet.

また、他の例では、監視部130は、バッファ112の空き容量を段階的に再送回数設定部107に通知し、再送回数設定部107は、バッファ112の空き容量に応じて段階的に最大再送回数を設定してもよい。例えば、バッファ112の空き容量が少なくなるにつれて、再送回数設定部107は最大再送回数を徐々に減らしてもよい。この場合にも、非リアルタイムデータの最大再送回数は、リアルタイムデータの最大再送回数より少なく設定される。すなわち、リアルタイムデータと非リアルタイムデータが同時期に無線区間を伝送される場合、非リアルタイムデータの最大再送回数が先に減らされる。これにより、通信状態に応じて、パケットの種類に応じた最大再送回数を設定する処理を選択的に行うことができるので、通信状態に応じた効率的な制御が可能になる。   In another example, the monitoring unit 130 notifies the retransmission capacity setting unit 107 in steps of the free capacity of the buffer 112, and the retransmission number setting unit 107 increases the maximum retransmission in stages according to the free capacity of the buffer 112. The number of times may be set. For example, the retransmission number setting unit 107 may gradually decrease the maximum number of retransmissions as the free capacity of the buffer 112 decreases. Also in this case, the maximum number of retransmissions of non-real time data is set to be smaller than the maximum number of retransmissions of real time data. That is, when real-time data and non-real-time data are transmitted through the radio section at the same time, the maximum number of retransmissions of non-real-time data is reduced first. As a result, the process of setting the maximum number of retransmissions according to the type of packet can be selectively performed according to the communication state, so that efficient control according to the communication state is possible.

リアルタイムデータまたは非リアルタイムデータのみを同時期に伝送する場合、再送回数設定部107はそれぞれのパケットのサイズに基づいて、優先的に再送回数を下げるパケットを選択してもよい。例えば同時期にリアルタイムデータとして扱われるビデオデータを含むパケットと音声データを含むパケットとが伝送されている場合、再送回数設定部107はビデオデータを含むパケットの最大再送回数を、音声データを含むパケットの最大再送回数より低くしてもよい。つまり、再送回数設定部107は、ビデオデータを含むパケットの最大再送回数を最初に低くする。再送回数設定部107は、ビデオデータを含むパケットと音声データを含むパケットとを例えばパケットのデータサイズに基づいて特定してもよい。一般に、ビデオデータを含むパケットは、音声データを含むパケットよりデータのサイズが大きくなる。そこで、再送回数設定部107は、予めビデオデータとして判定するデータサイズのしきい値を保持し、そのしきい値を越えるか越えないかに応じて判定を行ってもよい。   When only real-time data or non-real-time data is transmitted at the same time, the retransmission number setting unit 107 may select a packet that lowers the number of retransmissions preferentially based on the size of each packet. For example, when a packet including video data and a packet including audio data that are handled as real-time data at the same time are transmitted, the retransmission number setting unit 107 sets the maximum number of retransmissions of a packet including video data to a packet including audio data. May be lower than the maximum number of retransmissions. That is, the retransmission number setting unit 107 first lowers the maximum number of retransmissions of a packet including video data. The retransmission number setting unit 107 may specify a packet including video data and a packet including audio data based on, for example, the data size of the packet. In general, a packet including video data has a larger data size than a packet including audio data. Therefore, the retransmission count setting unit 107 may hold a data size threshold value that is determined in advance as video data, and perform the determination according to whether the threshold value is exceeded or not exceeded.

図13は、図12の通信装置100におけるひとつのパケットを送信する処理のフローチャートである。図12の第1通信部102は、有線ネットワーク10からパケットを受信する(S10)。図12の解析部104は、そのパケットのプロトコルを特定する(S12)。図12の監視部130は、図12のバッファ112の状態を監視し(S60)、空き容量が所定の容量より少ないか否かを判定する(S62)。バッファ112の空き容量が所定の容量より少ない場合(S62のY)、図12の再送回数設定部107は、特定したプロトコルがRTPか否かを判定する(S50)。RTPの場合(S50のY)、再送回数設定部107はそのパケットの最大再送回数を標準の回数に設定する(S54)。RTPでない場合(S50のN)、再送回数設定部107はそのパケットの最大再送回数を標準より少ない回数に設定する(S52)。また、ステップ62で、バッファ112の空き容量が所定の容量より多い場合(S62のN)、再送回数設定部107はプロトコルに関係なく各パケットの最大再送回数を標準の回数に設定する(S54)。図12の第2通信部120は、そのパケットを送信する(S22)。   FIG. 13 is a flowchart of a process for transmitting one packet in the communication apparatus 100 of FIG. The first communication unit 102 in FIG. 12 receives a packet from the wired network 10 (S10). The analysis unit 104 in FIG. 12 specifies the protocol of the packet (S12). The monitoring unit 130 in FIG. 12 monitors the state of the buffer 112 in FIG. 12 (S60), and determines whether the free capacity is less than a predetermined capacity (S62). When the free capacity of the buffer 112 is smaller than the predetermined capacity (Y in S62), the retransmission number setting unit 107 in FIG. 12 determines whether or not the specified protocol is RTP (S50). In the case of RTP (Y in S50), the retransmission number setting unit 107 sets the maximum number of retransmissions of the packet to a standard number (S54). If it is not RTP (N in S50), the retransmission number setting unit 107 sets the maximum number of retransmissions of the packet to a number smaller than the standard (S52). If the free capacity of the buffer 112 is larger than the predetermined capacity in Step 62 (N in S62), the retransmission number setting unit 107 sets the maximum number of retransmissions for each packet to the standard number regardless of the protocol (S54). . The second communication unit 120 in FIG. 12 transmits the packet (S22).

(第6の実施の形態)
パケットの種類に応じて伝送速度を制御する形態について、第1から第3の実施の形態を例に説明した。また、パケットの種類に応じて最大再送回数を制御する形態について、第4および第5の実施の形態を例に説明した。第6の実施の形態に係る通信装置100は、パケットの種類に応じて、伝送速度および最大再送回数を制御するものである。すなわち、第1から第5の実施の形態を組み合わせて通信装置100を構成してもよい。
(Sixth embodiment)
The mode for controlling the transmission rate according to the type of packet has been described by taking the first to third embodiments as an example. Further, the mode of controlling the maximum number of retransmissions according to the type of packet has been described by taking the fourth and fifth embodiments as examples. The communication device 100 according to the sixth embodiment controls the transmission rate and the maximum number of retransmissions according to the type of packet. That is, the communication device 100 may be configured by combining the first to fifth embodiments.

以上、本発明を実施の形態をもとに説明した。この実施の形態は例示であり、それらの各構成要素や各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。こうした変形例として以下のものがある。   The present invention has been described based on the embodiments. This embodiment is an exemplification, and it will be understood by those skilled in the art that various modifications can be made to combinations of the respective constituent elements and processing processes, and such modifications are also within the scope of the present invention. is there. Examples of such modifications are as follows.

図3の伝送速度設定部106は、RTPの場合に標準伝送速度より低い伝送速度を選択することとしたが、プロトコル識別情報と伝送速度とを対応付けたテーブルを保持し、そのテーブルを参照して伝送速度を設定してもよい。すなわち、リアルタイムデータとして取り扱うプロトコル識別情報と伝送速度とを対応付けたテーブルを設けることにより、プロトコル毎に伝送速度を設定できる。同様に、図10の再送回数設定部107は、リアルタイムデータとして取り扱うプロトコル識別情報と最大再送回数とを対応付けたテーブルを保持してもよい。   The transmission rate setting unit 106 in FIG. 3 selects a transmission rate lower than the standard transmission rate in the case of RTP. However, the transmission rate setting unit 106 holds a table in which the protocol identification information and the transmission rate are associated with each other and refers to the table. The transmission speed may be set. That is, a transmission rate can be set for each protocol by providing a table in which protocol identification information handled as real-time data is associated with a transmission rate. Similarly, the retransmission number setting unit 107 in FIG. 10 may hold a table in which protocol identification information handled as real-time data is associated with the maximum number of retransmissions.

実施の形態に係る通信システムの構成図である。It is a block diagram of the communication system which concerns on embodiment. 図2は、パケットの種類に応じて伝送速度を制御する形態における、図1の第1通信装置と第2通信装置との通信処理をOSI参照モデルを用いて示した図である。FIG. 2 is a diagram showing communication processing between the first communication device and the second communication device in FIG. 1 using an OSI reference model in a mode in which the transmission rate is controlled according to the type of packet. 第1の実施の形態に係る通信装置の内部構成図である。It is an internal block diagram of the communication apparatus which concerns on 1st Embodiment. 図3の通信装置におけるひとつのパケットを送信する処理のフローチャートである。It is a flowchart of the process which transmits one packet in the communication apparatus of FIG. 第2の実施の形態に係る通信装置の内部構成図である。It is an internal block diagram of the communication apparatus which concerns on 2nd Embodiment. 図5の通信装置におけるひとつのパケットを送信する処理のフローチャートである。It is a flowchart of the process which transmits one packet in the communication apparatus of FIG. 第3の実施の形態に係る通信装置の内部構成図である。It is an internal block diagram of the communication apparatus which concerns on 3rd Embodiment. 図7の通信装置におけるひとつのパケットを送信する処理のフローチャートである。It is a flowchart of the process which transmits one packet in the communication apparatus of FIG. パケットの種類に応じて最大再送回数を制御する形態における、図1の第1通信装置と第2通信装置との通信処理をOSI参照モデルを用いて示した図である。FIG. 3 is a diagram showing communication processing between the first communication device and the second communication device in FIG. 1 using an OSI reference model in a form in which the maximum number of retransmissions is controlled according to the type of packet. 第4の実施の形態に係る通信装置の内部構成図である。It is an internal block diagram of the communication apparatus which concerns on 4th Embodiment. 図10の通信装置におけるひとつのパケットを送信する処理のフローチャートである。11 is a flowchart of processing for transmitting one packet in the communication apparatus of FIG. 10. 第5の実施の形態に係る通信装置の内部構成図である。It is an internal block diagram of the communication apparatus which concerns on 5th Embodiment. 図12の通信装置におけるひとつのパケットを送信する処理のフローチャートである。13 is a flowchart of processing for transmitting one packet in the communication apparatus of FIG.

符号の説明Explanation of symbols

10 有線ネットワーク、20 無線ネットワーク、50 通信システム、100 通信装置、102 第1通信部、104 解析部、106 伝送速度設定部、107 再送回数設定部、108 変調部、110 RF部、112 バッファ、114 送信制御部、116 再送指示部、118 復調部、120 第2通信部、122 アンテナ、130 監視部。   DESCRIPTION OF SYMBOLS 10 Wired network, 20 Wireless network, 50 Communication system, 100 Communication apparatus, 102 1st communication part, 104 Analysis part, 106 Transmission rate setting part, 107 Retransmission number setting part, 108 Modulation part, 110 RF part, 112 Buffer, 114 Transmission control unit, 116 retransmission instruction unit, 118 demodulation unit, 120 second communication unit, 122 antenna, 130 monitoring unit.

Claims (7)

複数のレイヤからなる一連の通信手順に準じて、所定の端末装置に伝送されるべきパケットを受け付ける入力部と、
前記パケットを前記端末装置に伝送する伝送部と、
前記パケットの再送回数の最大値を、前記パケットを前記端末装置に物理的に伝送するための物理レイヤより上位のレイヤの特徴に基いて設定する設定部と、
を備え、前記パケットの再送が必要な場合、前記伝送部は設定された前記最大値を上限として再送を行うことを特徴とする通信装置。
In accordance with a series of communication procedures composed of a plurality of layers, an input unit that receives a packet to be transmitted to a predetermined terminal device;
A transmission unit for transmitting the packet to the terminal device;
A setting unit that sets a maximum value of the number of retransmissions of the packet based on characteristics of a layer higher than a physical layer for physically transmitting the packet to the terminal device;
When the packet needs to be retransmitted, the transmission unit retransmits the set maximum value as an upper limit.
前記パケットに基いて前記物理レイヤより上位のレイヤにおけるプロトコルを特定する解析部を更に備え、
前記設定部は、前記プロトコルに応じて前記最大値を設定することを特徴とする請求項1に記載の通信装置。
An analysis unit that identifies a protocol in a layer higher than the physical layer based on the packet;
The communication device according to claim 1, wherein the setting unit sets the maximum value according to the protocol.
前記設定部は非リアルタイムデータを伝送するためのプロトコルに準じて伝送されたパケットの再送回数の最大値を、リアルタイムデータを伝送するためのプロトコルに準じて伝送されたパケットの再送回数の最大値より少なく設定することを特徴とする請求項2に記載の通信装置。   The setting unit determines a maximum value of the number of retransmissions of a packet transmitted according to a protocol for transmitting non-real-time data, from a maximum value of the number of retransmissions of a packet transmitted according to a protocol for transmitting real-time data. The communication apparatus according to claim 2, wherein the communication apparatus is set to a small number. 前記物理レイヤにおける通信状態を監視する監視部を更に備え、
前記設定部は前記通信状態に応じて、前記最大値を前記物理レイヤより上位のレイヤの特徴に基いて設定するか否かを判定することを特徴とする請求項1から3のいずれかに記載の通信装置。
A monitoring unit for monitoring a communication state in the physical layer;
The said setting part determines whether the said maximum value is set based on the characteristic of a layer higher than the said physical layer according to the said communication state. Communication equipment.
前記監視部は、前記物理レイヤを介して伝送されるべきパケットの量を監視し、前記パケットの量が所定の量を超えた場合に、前記設定部は前記再送回数の最大値を前記物理レイヤより上位のレイヤの特徴に基いて設定することを特徴とする請求項4に記載の通信装置。   The monitoring unit monitors the amount of packets to be transmitted through the physical layer, and when the amount of packets exceeds a predetermined amount, the setting unit sets the maximum number of retransmissions to the physical layer. The communication apparatus according to claim 4, wherein the communication apparatus is set based on characteristics of a higher layer. 複数のレイヤからなる一連の通信手順に準じて、所定の端末装置に伝送されるべきパケットを受け付けるステップと、
前記パケットを前記端末装置に伝送するステップと、
前記パケットの再送回数の最大値を、前記パケットを前記端末装置に物理的に伝送するための物理レイヤより上位のレイヤの特徴に基いて設定するステップと、
を含むことを特徴とする通信方法。
Receiving a packet to be transmitted to a predetermined terminal device according to a series of communication procedures including a plurality of layers;
Transmitting the packet to the terminal device;
Setting a maximum value of the number of retransmissions of the packet based on characteristics of a layer higher than a physical layer for physically transmitting the packet to the terminal device;
A communication method comprising:
複数のレイヤからなる一連の通信手順に準じて、所定の端末装置に伝送されるべきパケットを所定の入力デバイスから受け付けるステップと、
前記パケットの再送回数の最大値を、前記パケットを前記端末装置に物理的に伝送するための物理レイヤより上位のレイヤの特徴に基いて設定するステップと、
をコンピュータに実現させるためのプログラム。
Receiving a packet to be transmitted to a predetermined terminal device from a predetermined input device in accordance with a series of communication procedures including a plurality of layers;
Setting a maximum value of the number of retransmissions of the packet based on characteristics of a layer higher than a physical layer for physically transmitting the packet to the terminal device;
A program to make a computer realize.
JP2004052481A 2004-02-26 2004-02-26 Communication apparatus and communication method Pending JP2005244668A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004052481A JP2005244668A (en) 2004-02-26 2004-02-26 Communication apparatus and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004052481A JP2005244668A (en) 2004-02-26 2004-02-26 Communication apparatus and communication method

Publications (1)

Publication Number Publication Date
JP2005244668A true JP2005244668A (en) 2005-09-08

Family

ID=35025903

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004052481A Pending JP2005244668A (en) 2004-02-26 2004-02-26 Communication apparatus and communication method

Country Status (1)

Country Link
JP (1) JP2005244668A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006087121A (en) * 2004-09-16 2006-03-30 Lucent Technol Inc Determining number of automatic request retransmission based on block size
JP2007295362A (en) * 2006-04-26 2007-11-08 Nec Infrontia Corp Wireless lan access point and communication method therefor
JP2008092116A (en) * 2006-09-29 2008-04-17 Fujitsu Ltd Wireless relay device, wireless relay method, and wireless relay program
JP2008118640A (en) * 2006-10-31 2008-05-22 Research In Motion Ltd Method and apparatus for resegmentation of data packets for retransmission in harq transmission failure
JP2009188653A (en) * 2008-02-05 2009-08-20 Japan Radio Co Ltd Telemeter system
JP2010511965A (en) * 2006-12-05 2010-04-15 クゥアルコム・インコーポレイテッド Providing secure application-to-application communication for mobile operating environments
US8254315B2 (en) 2006-10-31 2012-08-28 Research In Motion Limited Method and apparatus for resegmentation of packet data for retransmission on HARQ transmission failure
JP2020108009A (en) * 2018-12-27 2020-07-09 株式会社日立国際電気 Wireless communication system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006087121A (en) * 2004-09-16 2006-03-30 Lucent Technol Inc Determining number of automatic request retransmission based on block size
JP2007295362A (en) * 2006-04-26 2007-11-08 Nec Infrontia Corp Wireless lan access point and communication method therefor
JP2008092116A (en) * 2006-09-29 2008-04-17 Fujitsu Ltd Wireless relay device, wireless relay method, and wireless relay program
JP2008118640A (en) * 2006-10-31 2008-05-22 Research In Motion Ltd Method and apparatus for resegmentation of data packets for retransmission in harq transmission failure
JP4672710B2 (en) * 2006-10-31 2011-04-20 リサーチ イン モーション リミテッド Method and apparatus for refragmenting packet data for retransmission upon HARQ transmission failure
US8254315B2 (en) 2006-10-31 2012-08-28 Research In Motion Limited Method and apparatus for resegmentation of packet data for retransmission on HARQ transmission failure
JP2010511965A (en) * 2006-12-05 2010-04-15 クゥアルコム・インコーポレイテッド Providing secure application-to-application communication for mobile operating environments
US8225093B2 (en) 2006-12-05 2012-07-17 Qualcomm Incorporated Providing secure inter-application communication for a mobile operating environment
JP2009188653A (en) * 2008-02-05 2009-08-20 Japan Radio Co Ltd Telemeter system
JP2020108009A (en) * 2018-12-27 2020-07-09 株式会社日立国際電気 Wireless communication system

Similar Documents

Publication Publication Date Title
JP4805081B2 (en) Wireless relay device, wireless relay method, and wireless relay program
JP3561510B2 (en) Base station apparatus and packet transmission method
JP4448341B2 (en) Band control program, method and end system
US9860024B2 (en) Transmission control protocol in long term evolution radio access network
US8396028B2 (en) System and method for multi-link communication in home network
Camarillo et al. Evaluation of transport protocols for the session initiation protocol
RU2409898C2 (en) Flexible segmentation scheme for communication systems
US9210616B2 (en) Application specific traffic optimization in a wireless link
JP4705909B2 (en) Control station apparatus, base station apparatus, and packet communication method
JP5003177B2 (en) Transmitting apparatus, receiving apparatus, packet transmitting method, packet receiving method, and program
JP4323432B2 (en) Method for improving the transmission quality of streaming media
JP3713031B2 (en) How to send a data stream
US11381996B2 (en) Video pacing based on radio conditions
JP2005525748A (en) Method and apparatus for controlling the flow of data in a communication system
JP2009147786A (en) Communication apparatus, data frame transmission control method, and program
JP2003521155A (en) Wireless network system and method
EP3522479A1 (en) Techniques for efficient multipath transmission
US20050102412A1 (en) Transmission performance of a transport layer protocol connection
US20150156814A1 (en) Cross-layer optimization method in a multimedia transmission system
JP4764429B2 (en) System and method for improving voice quality of IP based systems using AMR payload format
WO2014205814A1 (en) Data transmission method, apparatus, base station and user equipment
JP2005244668A (en) Communication apparatus and communication method
JP2005244667A (en) Communication apparatus and communication method
JP2005523605A (en) Method and apparatus for adaptive rate control
JP2009033676A (en) Communicating system, communication device and packet transmission method