JP6528768B2 - Communication control device, communication control method and communication control program - Google Patents
Communication control device, communication control method and communication control program Download PDFInfo
- Publication number
- JP6528768B2 JP6528768B2 JP2016512608A JP2016512608A JP6528768B2 JP 6528768 B2 JP6528768 B2 JP 6528768B2 JP 2016512608 A JP2016512608 A JP 2016512608A JP 2016512608 A JP2016512608 A JP 2016512608A JP 6528768 B2 JP6528768 B2 JP 6528768B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- unit
- communication
- switching
- notification
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
本発明は、通信を制御する技術に関する。 The present invention relates to technology for controlling communication.
インターネットの通信において一般的に用いられているパケット交換方式による通信では、経路上でパケットロスや経路変更が発生する。そのため、パケット交換方式による通信では、送信したデータを、送信した順番で受信側の端末に届けるために、再送制御や順序制御が必要である。 In packet-switching communication generally used in Internet communication, packet loss and route change occur on the route. Therefore, in the packet switching communication, retransmission control and order control are required to deliver the transmitted data to the terminal on the receiving side in the order of transmission.
再送制御では、例えば、送信側が受信側にデータが送達されたことを示す送達確認応答(ACK;Acknowledgement)を一定期間受信しない場合、そのデータの再送が開始される。あるいは、再送制御では、例えば、送信側が受信側にデータが送達されていないことを示す非送達確認応答(NACK;Negative Acknowledgement)を受信した場合、そのデータの再送が開始される。あるいは、再送制御では、例えば、受信側において順序が入れ替わって受信されたデータ数が一定以上貯まった場合、順序が入れ替わったデータの再送が開始される。 In retransmission control, for example, when the transmission side does not receive a delivery acknowledgment (ACK; Acknowledgment) indicating that data has been delivered to the reception side, retransmission of the data is started. Alternatively, in retransmission control, for example, when the transmitting side receives a non-delivery acknowledgment (NACK; Negative Acknowledgment) indicating that data is not delivered to the receiving side, retransmission of the data is started. Alternatively, in the retransmission control, for example, when the number of data received after changing the order on the receiving side is accumulated, a retransmission of the changed data is started.
例えばTCP(Transmission Control Protocol)では、送信側がセグメント送信後に一定期間ACKを受信しない場合にそのセグメントの再送が行われる。セグメントは、TCPにおける通信単位である。さらに、TCPでは、順序が入れ替わって受信されたセグメントの個数が閾値以上であることが重複ACKにより判明した場合にも、そのセグメントが生成されたデータの再送が行われる。その閾値の具体的な個数はOS(Operating System)や設定により異なる。 For example, in TCP (Transmission Control Protocol), if the transmitting side does not receive ACK for a certain period of time after segment transmission, retransmission of that segment is performed. A segment is a communication unit in TCP. Furthermore, in TCP, even when it is found by the duplicate ACK that the number of segments received in an out-of-order manner is equal to or greater than the threshold value, the data in which the segments are generated is retransmitted. The specific number of the threshold varies depending on OS (Operating System) and settings.
順序制御では、受信側で送信順序と異なる順番でデータが受信された場合、受信されたデータが送信順に整列される。 In order control, when data is received by the receiving side in an order different from the transmission order, the received data is aligned in the transmission order.
例えば、TCPでは、送信されたセグメントが受信側に到着したときに、そのセグメントより先に送信されたセグメントが受信側に到着していない場合、到着していない先に送信されたセグメントの受信側への到着が待機される。そして、セグメントは、送信順に並べ替えられてから、上位のプロトコルやアプリケーションに渡される。 For example, in TCP, when a transmitted segment arrives at the receiving end, if the segment transmitted prior to that segment has not arrived at the receiving end, the receiving end of the previously transmitted segment that has not arrived. The arrival to is awaited. Then, the segments are sorted in the order of transmission and then passed to the upper layer protocol or application.
通信路においてデータの損失(すなわち、ロス)が発生した場合、再送制御と再送待ちの順序制御とが行われる。再送制御と再送待ちの順序制御とによって、通信に大きな遅延が発生する。パケット交換方式による通信には、そのような遅延が発生するという問題がある。この順序制御を回避するデータ通信方法の一例が、特許文献1に記載されている。 When data loss (ie, loss) occurs in the communication path, retransmission control and order control of retransmission waiting are performed. A large delay occurs in communication due to the retransmission control and the order control of retransmission waiting. There is a problem that such delay occurs in the packet switched communication. An example of a data communication method that avoids this order control is described in
特許文献1には、複数のコネクション毎に異なるデータを順番に送信することによって、順序制御を回避する巡回送信方式が記載されている。上述のように、特許文献1に記載されている巡回送信方式では、順序制御を回避することによって、低遅延な通信を実現する。この方式では、送信側の装置は、確立しておいた複数のコネクション毎に異なるデータを順番に送信する。受信側の装置は、実行中のアプリケーションプログラムにおいて、到着したデータを随時利用できる。特許文献1に記載の送信側の装置は、いずれかのコネクションを介して送信中である各セグメントに、送信の順番に従って付与された番号のうち、最大の番号と最小の番号との差を特定する。特定された差が所定値以上である場合、送信側の装置は、最も早く送信されたセグメントを、他のコネクションを介して再送する。従って、セグメントの送信中に偶発的なロスが発生したとしても、再送待ちの順序制御を回避することができる。
特許文献2には、現用通信路と予備通信路とによって接続されている中継ノード及び着ノードが記載されている。現用通信路の通信リンクにおいて障害が発生した場合、中継ノードは、使用する通信路を予備通信路に切り替える。そして、中継ノードは、障害の発生から通信路の切替が完了するまでの間に送信されたデータを再送する。
例えば、モバイル網におけるハンドオーバなどの通信路の切替えによって、断続的に送信されるデータの送信間隔よりも十分長い期間にわたって、各通信路に送信されたデータが全てロスする状況が生じることがある。その場合、特許文献1に記載されているような、巡回送信方式に従ったデータの送信では、その期間において確立されている全てのコネクションにおいて再送制御が行われる。従って、上述の場合、特許文献1に記載されているような、巡回送信方式に従ったデータの通信では、順序制御を回避できない。従って、特許文献1の技術では、断続的に送信されるデータの送信間隔より十分長い期間、通信路の切り替えによって送信されたデータが全てロスする場合、通信の遅延を短縮することはできない。 For example, switching of a communication channel such as handover in a mobile network may cause a situation where all data transmitted to each communication channel is lost for a sufficiently longer period than the transmission interval of intermittently transmitted data. In that case, in transmission of data according to the cyclic transmission scheme as described in
特許文献2に記載されている中継ノードは、2つの通信路のうち現用通信路に障害が発生した場合、使用する通信路を、他方の通信路である予備通信路に切り替える。従って、断続的に送信されるデータの送信間隔より十分長い期間内に送信されたデータが全てロスする状況が生じた場合、現用通信路を介する通信リンクだけでなく、予備通信路を介する通信リンクにおいても障害が発生する。従って、その場合、全ての通信において障害が発生するので、全ての通信路を介する通信リンクにおいて再送制御が行われる。このように、特許文献2の技術では、断続的に送信されるデータの送信間隔より十分長い期間、通信路の切り替えによって送信されたデータが全てロスする場合、通信の遅延を短縮することはできない。 The relay node described in
本発明の目的の一つは、断続的に送信されるデータの送信間隔より十分長い期間、通信路の切り替えによって送信されたデータが全てロスする場合でも、通信の遅延を短縮することができる通信制御装置等を提供することにある。 One of the objects of the present invention is to reduce the communication delay even if all the data transmitted by switching the communication path is lost for a period sufficiently longer than the transmission interval of the intermittently transmitted data. It is in providing a control apparatus etc.
本発明の一態様に係る通信制御装置は、送信先装置に対する複数のコネクションを維持する管理手段と、前記複数のコネクションから選択された選択コネクションを介してデータ送信手段が行う前記送信先装置に対する通信が中断された状態である一時断を検出し、当該一時断を検出するのに応じて一時断通知を送信する判定手段から、前記一時断通知を受信するのに加えて、前記データ送信手段と前記送信先装置との間の通信路の切り替えを検出し、当該切り替えの完了が検出された場合に切替通知を送信する切替検知手段から、前記一時断通知に基づく所定期間内に前記切替通知を受信した場合、前記選択コネクション以外の前記複数のコネクションから新たな前記選択コネクションを選択し、選択した前記選択コネクションの識別子を前記データ送信手段に送信する変更手段と、を備える。 A communication control apparatus according to an aspect of the present invention includes a management unit that maintains a plurality of connections to a transmission destination apparatus, and a communication to the transmission destination apparatus performed by a data transmission unit through a selected connection selected from the plurality of connections. In addition to receiving the temporary disconnection notification from the determination unit which detects a temporary disconnection which is a state in which the data is suspended and transmits the temporary disconnection notification in response to detecting the temporary disconnection, the data transmission unit and The switching notification is detected within a predetermined period based on the temporary disconnection notification from the switching detection unit that detects switching of the communication path with the transmission destination device and transmits the switching notification when completion of the switching is detected. If it is received, a new selected connection is selected from the plurality of connections other than the selected connection, and the identifier of the selected connection selected is And a changing means for transmitting the serial data transmission means.
本発明の一態様に係る通信制御方法は、送信先装置に対する複数のコネクションを維持し、前記複数のコネクションから選択された選択コネクションを介してデータ送信手段が行う前記送信先装置に対する通信が中断された状態である一時断を検出し、当該一時断を検出するのに応じて一時断通知を送信する判定手段から、前記一時断通知を受信するのに加えて、前記データ送信手段と前記送信先装置との間の通信路の切り替えを検出し、当該切り替えの完了が検出された場合に切替通知を送信する切替検知手段から、前記一時断通知に基づく所定期間内に前記切替通知を受信した場合、前記選択コネクション以外の前記複数のコネクションから新たな前記選択コネクションを選択し、選択した前記選択コネクションの識別子を前記データ送信手段に送信する。 A communication control method according to an aspect of the present invention maintains a plurality of connections to a transmission destination apparatus, and interrupts communication to the transmission destination apparatus performed by data transmission means via a selected connection selected from the plurality of connections. Data transmission means and the transmission destination in addition to receiving the temporary disconnection notice from the determination means for detecting the temporary disconnection which is in the off state and transmitting the temporary disconnection notice in response to detecting the temporary disconnection When the switching notification is received within a predetermined period based on the temporary disconnection notification from the switching detection unit that detects switching of the communication path with the device and transmits the switching notification when the completion of the switching is detected Selecting a new selected connection from the plurality of connections other than the selected connection, and transmitting the data of the selected selected connection to the data To send to the means.
本発明の一態様に係る通信制御プログラムは、コンピュータを、送信先装置に対する複数のコネクションを維持する管理手段と、前記複数のコネクションから選択された選択コネクションを介してデータ送信手段が行う前記送信先装置に対する通信が中断された状態である一時断を検出し、当該一時断を検出するのに応じて一時断通知を送信する判定手段から、前記一時断通知を受信するのに加えて、前記データ送信手段と前記送信先装置との間の通信路の切り替えを検出し、当該切り替えの完了が検出された場合に切替通知を送信する切替検知手段から、前記一時断通知に基づく所定期間内に前記切替通知を受信した場合、前記選択コネクション以外の前記複数のコネクションから新たな前記選択コネクションを選択し、選択した前記選択コネクションの識別子を前記データ送信手段に送信する変更手段と、して動作させる。 A communication control program according to an aspect of the present invention includes a computer, a management unit for maintaining a plurality of connections to a transmission destination apparatus, and the transmission destination performed by a data transmission unit via a selected connection selected from the plurality of connections. In addition to receiving the temporary disconnection notification from the determination means that detects a temporary disconnection which is a state in which the communication to the device is suspended, and transmits the temporary disconnection notification in response to detecting the temporary disconnection, the data The switching detection unit detects the switching of the communication path between the transmitting unit and the transmission destination device, and transmits the switching notification when the completion of the switching is detected, and the switching detection unit transmits the switching notification within a predetermined period based on the temporary disconnection notification When a switching notification is received, a new selected connection is selected from the plurality of connections other than the selected connection, and the selected selection is made. Changing means for transmitting an identifier of Nekushon to the data transmission means, it is operated by.
断続的に送信されるデータの送信間隔より十分長い期間、通信路の切り替えによって送信されたデータが全てロスする場合でも、通信の遅延を短縮することができるという効果がある。 Even when all the data transmitted by switching the communication path is lost for a period sufficiently longer than the transmission interval of the data transmitted intermittently, the communication delay can be shortened.
次に、本発明の実施の形態について図面を参照して詳細に説明する。 Next, embodiments of the present invention will be described in detail with reference to the drawings.
<第1の実施形態>
図1は、本実施形態の通信システム10の構成の例を表す図である。図1を参照すると、通信システム10は、第1の通信装置1と第2の通信装置2とを含む。第1の通信装置1及び第2の通信装置2は、通信可能に接続されている。第1の通信装置1及び第2の通信装置2を接続する通信路は、例えば不定期に切り替えられる。例えば、第1の通信装置1及び第2の通信装置2が、基地局を介した無線通信によって接続されている。そして、第1の通信装置1又は第2の通信装置2の移動によってハンドオーバが行われた場合に、第1の通信装置1及び第2の通信装置2を接続する通信路の切り替えが行われる。第1の通信装置1及び第2の通信装置2は、仮想的な専用通信路であるコネクションが確立された状態で行われる通信である、コネクション型通信を行う。第1の通信装置1及び第2の通信装置2の間で行われるコネクション型通信の一例として、TCPによる通信がある。第1の通信装置1及び第2の通信装置2の間で行われる通信は、TCPによる通信でなくてもよい。本実施形態及び本発明の他の実施形態において、第1の通信装置1は、送信装置とも表記される。さらに、第2の通信装置2は、送信先装置とも表記される。First Embodiment
FIG. 1 is a diagram illustrating an example of the configuration of the communication system 10 according to the present embodiment. Referring to FIG. 1, the communication system 10 includes a
第1の通信装置1は、データ送信部101と、通信制御装置3とを含む。通信制御装置3は、管理部102と、変更部103と、通知受信部104と、切替検知部105とを含む。管理部102と、変更部103と、通知受信部104と、切替検知部105とは、第1の通信装置1の構成要素であってもよい。そして、管理部102と、変更部103と、通知受信部104と、切替検知部105とは、通信制御装置3として動作してもよい。 The
第2の通信装置2は、データ受信部201と、判定部202と、通知送信部203とを含む。 The
データ送信部101は、あらかじめ決められたタイミングでデータを送信する。データ送信部101は、例えば、あらかじめ決められた一定の間隔で、データを送信してもよい。 The
管理部102は、第1の通信装置1において確立されている複数のコネクションを管理する。管理部102は、データ送信に使用しているコネクションを含めて、複数のコネクションを管理する。コネクションの管理は、例えば、そのコネクションが切断されないように、確立状態を維持する処理を行うことである。 The
データ受信部201は、第1の通信装置1のデータ送信部101が送信するデータを受信する。 The
判定部202は、データ受信部201がデータを受信した時刻の間隔が、所定の閾値を超えた場合に、通信路が一時的に切断された状態である、「通信路一時断」が発生したと判定する。本実施形態及び他の実施形態の説明において、通信路一時断は、「一時断」とも表記される。 When the interval between the times when the
通知送信部203は、判定部202が、通信路一時断が発生したと判定した場合、通信路一時断が発生したと判定されたことを表す通知である、「通信路一時断通知」を、第1の通信装置1に送信する。本実施形態及び他の実施形態の説明において、通信路一時断通知を、「一時断通知」とも表記する。 If the
通知受信部104は第2の通信装置2の通知送信部203から、通信路一時断通知を受信する。 The
切替検知部105は、通信路の切り替えを監視する。切替検知部105は、例えば常時、通信路の切り替えを監視してもよい。そして、切替検知部105は、通信路の切り替えの完了を検知する。 The switching
変更部103は、通知受信部104が一時断通知を受信し、切替検知部105が通信路の切り替えの完了を検知した場合、管理部102が管理する複数のコネクションから、データの送信に使用されていないコネクションを選択する。本実施形態の説明において、選択されたコネクションを、選択コネクションとも表記する。変更部103は、選択したコネクションを、データの送信に使用するコネクションに指定する。変更部103は、例えば、選択したコネクションの識別子をデータ送信部101に送信することによって、選択したコネクションを、データの送信に使用するコネクションに指定すればよい。その場合、データ送信部101は、例えば、コネクションの識別子を受信した場合、データの送信に使用するコネクションを、受信した識別子によって特定されるコネクションに変更するように設計されていればよい。以下の説明において、データ送信部101が、データの送信に使用するコネクションを、送信コネクションとも表記する。 When the
次に、本実施形態の第1の通信装置1及び第2の通信装置2の動作について、図面を参照して詳細に説明する。 Next, operations of the
図2は、本実施形態の第2の通信装置2の、一時断の発生を検出する動作の例を表すフローチャートである。図2に示す動作の開始時において、第1の通信装置1のデータ送信部101が、データを送信する。データ送信部101がデータを送信する方法は、例えば、TCPに基づく送信方法であればよい。データ送信部101は、例えば、あらかじめ定められた一定の時間間隔で、データを送信する。 FIG. 2 is a flowchart showing an example of the operation of the
データがデータ受信部201に送信された場合(ステップS101においてYes)、まず、データ受信部201は、データ送信部101が送信したデータを受信する(ステップS102)。データ受信部201がデータを受信する方法は、データ送信部101が送信するデータを受信可能な方法であればよい。例えば、データ送信部101がTCPに基づいてデータを送信する場合、データ受信部201は、同様にTCPに基づいて、送信されたデータを受信すればよい。データ受信部201は、データを受信した時刻を、判定部202に送信してもよい。データ受信部201は、データを受信した場合、例えば、データを受信したことを表す通知を判定部202に送信してもよい。その場合、判定部202は、データを受信したことを表す通知を受信した時刻を、データ受信部201がデータを受信した時刻と見なせばよい。データが送信されない場合(ステップS101においてNo)、通信制御装置3はステップS103の動作を行う。 When data is transmitted to the data receiving unit 201 (Yes in step S101), first, the
判定部202は、データ受信部201がデータを受信した時刻の間隔である、データの受信間隔が、閾値を超えているか否かを判定する(ステップS103)。判定部202は、データ受信部201が最後にデータを受信した時刻を記憶していればよい。そして、判定部202は、データ受信部201が最後にデータを受信した時刻から経過した時間を特定すればよい。データ受信部201が最後にデータを受信した時刻から経過した時間が閾値を越えている場合、判定部202は、データの受信間隔が閾値を越えていると判定すればよい。上述のように、データの受信間隔が閾値を越えていると判定した場合、判定部202は、一時断が発生したと判定する。データ受信部201が最後にデータを受信した時刻から経過した時間が閾値を越えていない場合、判定部202は、データの受信間隔が閾値を越えていないと判定すればよい。データの受信間隔が閾値を越えていないと判定した場合、判定部202は、一時断が発生していないと判定する。判定部202は、記憶している時刻と、データ受信部201が新たにデータを受信した時刻とに基づき、データの受信間隔が所定の閾値を超えているか否かを判定してもよい。上述の閾値は、あらかじめ与えられていてもよい。あるいは、例えば、判定部202が、所定期間内において、データ受信部201がデータを受信した間隔に基づき、上述の閾値を決定してもよい。 The
データの受信間隔が所定の閾値を超えていない場合(ステップS103においてNo)、第2の通信装置2は、次に、ステップS101の動作を行う。データ受信部201は、第1の通信装置1から送信される次のデータを待つ。 If the data reception interval does not exceed the predetermined threshold (No in step S103), the
データの受信間隔が所定の閾値を超えている場合(ステップS103においてYes)、通知送信部203は、一時断通知を、通知受信部104に送信する(ステップS104)。そして、第2の通信装置2は、図2に示す動作を終了する。ステップS104の動作の後、第2の通信装置2の動作は、ステップS102に戻ってもよい。 If the data reception interval exceeds the predetermined threshold (Yes in step S103), the
次に、通信制御装置3の、一時断通知を受信した場合の動作について説明する。 Next, the operation of the
図3は、本実施形態の通信制御装置3の、一時断通知を受信した場合の動作の例を表すフローチャートである。第2の通信装置2の通知送信部203が一時断通知を送信した場合に、通信制御装置3は、図3に示す動作を行う。また、通信制御装置3の切替検知部105は、第1の通信装置1と第2の通信装置2との間の通信において使用される通信路を監視している。そして、第1の通信装置1と第2の通信装置2との間の通信において使用される通信路の切り替えが発生した場合、切替検知部105は、その切り替えの完了を検知する。 FIG. 3 is a flowchart showing an example of the operation of the
通知送信部203が一時断通知を送信した場合、通知受信部104は、一時断通知を受信する(ステップS111)。通知受信部104は、受信した一時断通知を、変更部103に送信すればよい。 When the
一時断通知を受信した変更部103は、一時断通知に基づく時刻を特定し、特定した時刻を基準時刻にする。一時断通知に基づく時刻は、例えば、変更部103が一時断通知を受信した時刻であってもよい。一時断通知に基づく時刻は、例えば、通知受信部104が一時断通知を受信した時刻であってもよい。一時断通知に基づく時刻は、その一時断通知が送信された時刻であってもよい。その場合、通知送信部203は、一時断通知に加えて、その一時断通知の送信時刻を通知受信部104に送信すればよい。一時断通知に基づく時刻は、判定部202が一時断が生じたことを判定した時刻であってもよい。その場合、判定部202は一時断が生じたことを判定した時刻を表すデータ値を通知送信部203に送信すればよい。そして、通知送信部203は、一時断通知に加えて、一時断が生じたことが判定された時刻を表すデータ値を、通知受信部104に送信すればよい。 The
さらに、変更部103は、基準時刻に基づき、検出期間を設定する。そして、変更部103は、検出期間内に、通信路の切り替えが検出されたか否かを判定する(ステップS112)。 Further, the
検出期間は、例えば、基準時刻に基づいて定まる期間である。検出期間の長さは、あらかじめ定められた長さの期間であっていてもよい。その場合、変更部103は、例えば、基準時刻、又は、基準時刻よりも、あらかじめ定められた時間前の時刻を、検出期間の開始時刻として設定すればよい。そして、変更部103は、例えば、基準時刻、又は、基準時刻よりも、あらかじめ定められた時間後の時刻を、検出期間の終了時刻として設定すればよい。検出期間の長さは、定まっていなくてもよい。その場合、変更部103は、例えば、基準時刻、又は、基準時刻よりも、あらかじめ定められた時間前の時刻を、検出期間の開始時刻として設定すればよい。そして、変更部103は、時刻として設定可能な最大値を、検出期間の終了時刻にしてもよい。変更部103は、検出期間の終了時刻を定めなくてもよい。基準時刻は一時断通知に基づく時刻であるので、検出期間は一時断通知に基づいて定まる期間であると見なすことができる。 The detection period is, for example, a period determined based on a reference time. The length of the detection period may be a period of a predetermined length. In that case, the changing
例えば、第1の通信装置1が無線によって第2の通信装置2と通信を行っている場合、通信路の切り替えは、例えば、無線による通信を中継する無線基地局が切り替わることによっても生じる。一般に、無線によって通信する装置は、通信を中継する無線基地局を特定する情報を有する。切替検知部105は、例えば、第1の通信装置1が行う無線による通信を中継する無線基地局の変更を検知することによって、通信路の切り替えを検知すればよい。切替検知部105は、第1の通信装置1が接続されている通信回線の種類に応じた方法によって、通信路の切り替えを検知すればよい。 For example, when the
検出期間内に通信路の切り替えが検出されなかった場合(ステップS112においてNo)、通信制御装置3は、次に、ステップS111の動作を行う。すなわち、通知受信部104は、次に送信される一時断通知を待つ。 If switching of the communication path is not detected within the detection period (No in step S112), the
一時断通知の受信に応じた検出期間に終了時刻が定められており、その検出期間内に通信路の切り替えが検知されなかった場合、通信制御装置3は、その一時断通知に基づく処理を行わない。すなわち、一時断通知の受信に応じた検出期間内に通信路の切り替えが検知されなかった場合、通信制御装置3は、その一時断通知を無視する。 If the end time is determined in the detection period corresponding to the reception of the temporary disconnection notification and switching of the communication path is not detected within the detection period, the
検出期間内に通信路の切り替えが検出された場合(ステップS112においてYes)、変更部103は、データ送信部101が第2の通信装置2へのデータの送信に使用するコネクションである、送信コネクションを変更する(ステップS113)。そして、通信制御装置3は、図3に示す動作を終了する。ステップS113の後、通信制御装置3の動作は、ステップS111に戻ってもよい。 When switching of the communication path is detected within the detection period (Yes in step S112), the changing
上述のように、検出期間の終了時刻が定められていない場合、変更部103は、切替検知部105による通信路の切り替えの検知を待つ。その場合、変更部103は、一時断通知の受信後であればいつでも、通信路の切り替えが検出された場合に、通信路の切り替えを行う。 As described above, when the end time of the detection period is not determined, the changing
本実施形態には、断続的に送信されるデータの送信間隔より十分長い期間、通信路の切り替えによってデータが全てロスする場合でも、通信の遅延を短縮することができるという効果がある。 The present embodiment has an effect that the communication delay can be shortened even when all the data is lost due to the switching of the communication channel for a period sufficiently longer than the transmission interval of the intermittently transmitted data.
その理由は、通信路一時断の発生が判定されたことが通知された場合、変更部103が、切替検知部105によって通信路の切り替えの完了が検知された後、送信コネクションを変更するからである。 The reason is that the
通信路の切り替えが行われている場合、通信路の切り替えが完了する前にデータが送信されたコネクションでは、送信されたデータがロスするので、順序制御が実施される。通信路の切り替えが完了する前に送信コネクションが切り替えられた場合、切り替え後の送信コネクションを介してデータが送信され、送信されたデータは全てロスする。そのため、切り替え後の送信コネクションにおいても順序制御が実施される。通信路の切り替えが完了する前に、複数のコネクションのそれぞれが、順次送信コネクションに切り替えられた場合、それらの複数のコネクションの全てにおいて、順序制御が実施される。従って、通信路の切り替えが完了しても、複数のコネクションの全てにおいて順序制御が実施されているので、通信にさらに遅延が生じる。 When switching of the communication path is being performed, in the connection to which data is transmitted before the switching of the communication path is completed, since the transmitted data is lost, order control is performed. If the transmission connection is switched before the switching of the communication channel is completed, data is transmitted via the switched transmission connection, and all the transmitted data is lost. Therefore, order control is implemented also in the transmission connection after switching. When each of the plurality of connections is sequentially switched to the transmission connection before the switching of the communication path is completed, order control is performed on all of the plurality of connections. Therefore, even if the switching of the communication path is completed, the order control is performed on all of the plurality of connections, which further delays the communication.
一方、本実施形態では、通信路の切り替えの完了が検知された後、送信コネクションが変更されるので、通信路の切り替えが行われた時送信コネクションとして設定されていたコネクション以外で、順序制御は実施されない。従って、通信路の切り替えの完了が検知された後に、変更された送信コネクションでは順序制御は実施されない。そのため、順序制御が実施されるために生じる通信の遅延は生じない。従って、本実施形態では、通信の遅延を短縮することができる。 On the other hand, in the present embodiment, the transmission connection is changed after the completion of the switching of the communication path is detected. Therefore, when the switching of the communication path is performed, order control is performed other than the connection set as the transmission connection. Not implemented. Therefore, after the completion of the switching of the communication path is detected, order control is not performed on the changed transmission connection. Therefore, there is no communication delay that occurs because order control is implemented. Therefore, in the present embodiment, the communication delay can be shortened.
<第2の実施形態>
次に、本発明の第2の実施形態について、図面を参照して詳細に説明する。Second Embodiment
Next, a second embodiment of the present invention will be described in detail with reference to the drawings.
図1は、本実施形態の通信システム10の構成を表す図である。本実施形態の通信システム10の構成は、第1の実施形態の通信システム10の構成と同じである。以下では、本実施形態と第1の実施形態との相違点を中心に説明を行う。 FIG. 1 is a diagram showing the configuration of the communication system 10 of the present embodiment. The configuration of the communication system 10 of the present embodiment is the same as the configuration of the communication system 10 of the first embodiment. The following description will focus on the differences between the present embodiment and the first embodiment.
本実施形態では、データ送信部101は、送信されるデータに加えて、そのデータが送信された時刻である送信時刻を送信する。データ送信部101は、送信されるデータである送信データに、そのデータの送信時刻を表すデータである送信時刻データを付加すればよい。そして、データ送信部101は、送信時刻データが付加された送信データを、第2の通信装置2に送信すればよい。 In the present embodiment, the
第2の通信装置2のデータ受信部201は、受信した送信データに付加されている送信時刻データを、判定部202に送信する。 The
判定部202は、データ受信部201が最後に受信した送信データに付加されていた送信時刻データを記憶する。判定部202は、データ受信部201が新しく送信データを受信した場合、第1の実施形態の判定部202と同様に、データの受信間隔が閾値を超えているか否かを判断する。データの受信間隔が閾値を超えていない場合、判定部202は、新しく受信した送信データに加えて送信された送信時刻データを、最後に受信した送信データとして記憶する。データの受信間隔が閾値を超えている場合、判定部202は、記憶している、最後に受信した送信データに付加されていた送信時刻データを、通知送信部203に送信する。 The
通知送信部203は、データの受信間隔が閾値を超えている場合、一時断通知に加えて、判定部202が記憶している送信時刻データを送信する。その場合、通知送信部203は、一時断通知に送信時刻データを付加すればよい。そして、通知送信部203は、送信時刻データが付加された一時断通知を送信すればよい。 The
通知受信部104は、一時断通知に加えて、送信時刻データを、通知送信部203から受信する。通知受信部104は、上述のように送信時刻データが付加された、一時断通知を受信すればよい。 The
変更部103は、通知受信部104が受信した送信時刻データが表す時刻を、検出期間の開始時刻に設定する。 The changing
なお、送信時刻データは、送信時刻を表すデータ値であってもよい。送信時刻データは、例えば、送信されたデータのそれぞれに付与された、送信の順番を特定することができる、シーケンス番号あるいはID(Identifier)であってもよい。送信時刻データは、例えば、データ受信部201がデータを受信した時刻である、データ受信時刻であってもよい。 The transmission time data may be a data value representing the transmission time. The transmission time data may be, for example, a sequence number or an ID (Identifier) that can specify the order of transmission assigned to each of the transmitted data. The transmission time data may be, for example, data reception time, which is the time when the
送信時刻データがシーケンス番号である場合、変更部103は、例えば、送信時刻が特定されているデータの送信時刻及びシーケンス番号と、送信間隔とを、あらかじめ保持していればよい。以下の説明において、変更部103が保持する、送信時刻が特定されているデータの送信時刻を、基準送信時刻と表記する。さらに、変更部103が保持する、送信時刻が特定されているデータのシーケンス番号を、基準シーケンス番号と表記する。基準シーケンス番号は、シーケンス番号の初期値であってもよい。その場合、基準送信時刻は、初期値であるシーケンス番号が付与されたデータが送信された時刻であればよい。変更部103は、例えば、シーケンス番号の初期値と、初期値であるシーケンス番号が付与されたデータの送信時刻と、送信間隔とを、あらかじめデータ送信部101から取得しておけばよい。変更部103は、通知受信部104が受信したシーケンス番号と、基準シーケンス番号との差によって、基準時刻以降にデータが送信された回数を特定すればよい。変更部103は、基準時刻以降にデータが更新された回数と、データが送信される送信間隔とに基づき、基準時刻から、通知受信部104が受信したシーケンス番号が付与されたデータが送信された時刻までに経過した時間を推定すればよい。このように、変更部103は、通知受信部104が送信時刻データとして受信したシーケンス番号と、基準送信時刻及び基準シーケンス番号と、送信間隔とに基づき、通知受信部104が受信したシーケンス番号が付与されたデータが送信された時刻を推定する。 When the transmission time data is a sequence number, for example, the changing
通知送信部203が、送信時刻データとして、データ受信部201がデータを受信した時刻である受信時刻を表すデータ値を送信する場合、変更部103は、受信した送信時刻データが表す時刻よりも、遅延時間前の時刻を、送信時刻として推定すればよい。その遅延時間は、第1の通信装置1から第2の通信装置2へのデータの送信に要する時間の代表値であればよい。代表値は、例えば、実験的に導出された、平均値、中間値、あるいは他の統計値であればよい。 When the
次に、本実施形態の第1の通信装置1及び第2の通信装置2の動作について、図面を参照して詳細に説明する。以下では、データ送信部101が、データ送信時刻を表す送信時刻データが付加されたデータを送信する場合の説明を行う。 Next, operations of the
図2は、本実施形態の第2の通信装置2の、一時断の発生を検出する動作の例を表すフローチャートである。 FIG. 2 is a flowchart showing an example of the operation of the
データ受信部201にデータが送信された場合(ステップS101においてYes)、データ受信部201は、送信時刻データが付加されたデータを受信する(ステップS102)。データ受信部201にデータが送信されない場合(ステップS101においてNo)、通信制御装置3は、次に、ステップS103の動作を行う。 When data is transmitted to the data receiving unit 201 (Yes in step S101), the
ステップS103における判定部202の動作は、第1の実施形態の判定部202のステップS103における動作と同じである。前述のように、判定部202は、データ受信部201が最後にデータを受信した時刻を記憶していればよい。そして、ステップS103において、判定部202は、データ受信部201が最後にデータを受信した時刻から経過した時間と閾値とを比較することによって、データの受信間隔が閾値を越えているか否かを判定すればよい。判定部202は、記憶している時刻から、新たにデータ受信部201がデータを受信した時刻までに経過した時間と、閾値とを比較することによって、データの受信間隔が閾値を越えているか否かを判定してもよい。 The operation of the
データの受信間隔が所定の閾値を超えていない場合(ステップS103においてNo)、通信制御装置3は、次に、ステップS101の動作を行う。そしてデータ受信部201は、データの受信を継続する。 If the data reception interval does not exceed the predetermined threshold (No in step S103), the
判定部202による判定の結果、データの受信間隔が所定の閾値を超えている場合(ステップS103においてYes)、通知送信部203は、一時断通知に加えて、送信時刻データを送信する(ステップS104)。 As a result of the determination by the
図3は、本実施形態の通信制御装置3の、一時断通知を受信した場合の動作の例を表すフローチャートである。 FIG. 3 is a flowchart showing an example of the operation of the
まず、通知受信部104は、例えば、一時断通知と、その一時断通知に付加された送信時刻データを受信する。(ステップS111)。 First, the
通知受信部104が、一時断通知と、その一時断通知に付加された送信時刻データを受信した場合、切替検知部105は、検出期間を決定する。切替検知部105は、まず、通知受信部104が受信した送信時刻データが表す時刻を特定する。切替検知部105は、特定した時刻を、検出期間の開始時刻に設定する。切替検知部105は、検出期間の終了時刻を、あらかじめ定められた決定方法に従って、決定する。切替検知部105は、例えば、第1の実施形態における検出期間の終了時刻の決定方法のいずれかによって、検出期間の終了時刻を決定すればよい。 When the
切替検知部105が検出期間内に通信路の切り替えを検出した場合(ステップS112においてYes)、変更部103は、第1の実施形態の変更部103と同様に、送信コネクションを変更する(ステップS113)。切替検知部105が検出期間内に通信路の切り替えを検出した場合(ステップS112においてNo)、通信制御装置3は、次に、例えばステップS111の動作を行う。 When the switching
本実施形態には、第1の実施形態と同じ効果がある。その理由は、第1の実施形態の効果が生じる理由と同じである。 The present embodiment has the same effect as the first embodiment. The reason is the same as the reason for the effect of the first embodiment.
本実施形態には、さらに通信の遅延を短縮することができるという第2の効果がある。 The present embodiment has the second effect that the communication delay can be further shortened.
その理由は、最後に送信されたデータの送信時刻又はその送信時刻の推定時刻が開始時刻である検知期間において、通信路の切り替えが検出された場合に、変更部103が送信コネクションを変更するからである。従って、送信されたデータが全てロスする期間の変動が大きい場合においても、その期間を更に正確に特定することができる。従って、さらに確実に順序制御を回避することができるので、通信の遅延を短縮することができる。また、ロスしたデータを正確に把握することができるので、ロスしたデータだけを変更後の送信コネクションを介して送信することができる。そのため、さらに通信の遅延を短縮することができる。 The reason is that the
<第3の実施形態>
次に、本発明の第3の実施形態について、図面を参照して詳細に説明する。Third Embodiment
Next, a third embodiment of the present invention will be described in detail with reference to the drawings.
図4は、本実施形態の通信システム10Bの構成の例を表すブロック図である。 FIG. 4 is a block diagram showing an example of the configuration of the communication system 10B of the present embodiment.
図4を参照すると、通信システム10Bは、第1の通信装置1Bと、第2の通信装置2Bとを含む。第1の通信装置1Bと、第2の通信装置2Bは、互いに通信することができる。 Referring to FIG. 4, the communication system 10B includes a first communication device 1B and a second communication device 2B. The first communication device 1B and the second communication device 2B can communicate with each other.
第1の通信装置1Bは、データ送信部101と、通信制御装置3Bとを含む。 The first communication device 1B includes a
通信制御装置3Bは、管理部102と、変更部103と、送達確認受信部106と、判定部107と、切替受信部108とを含む。 The
第2の通信装置2Bは、データ受信部201と、送達確認送信部204と、切替検知部205と、切替送信部206とを含む。 The second communication device 2B includes a
データ送信部101及びデータ受信部201は、それぞれ、第1の実施形態のデータ送信部101及びデータ受信部201と同様に動作する。 The
管理部102は、第1の実施形態の管理部102と同様に、第1の通信装置1Bと第2の通信装置2Bとの間に確立されている複数のコネクションを管理する。 The managing
送達確認送信部204は、データ受信部201がデータを受信すると、そのデータに関する送達確認を第1の通信装置1Bに送信する。送達確認は、例えば、あらかじめ定められたデータ値又は信号であればよい。 When the
送達確認受信部106は、第2の通信装置2Bの送達確認送信部204から、送達確認を受信する。送達確認を受信した場合、送達確認受信部106は、例えば、送達確認を受信した時刻を、判定部107に送信する。 The delivery
判定部107は、送達確認受信部106が送達確認を最後に受信した時刻を記憶している。判定部107は、送達確認受信部106から、新たに送達確認を受信した時刻を受信した場合、記憶している時刻と新たに受信した時刻とに基づき、送達確認受信部106が送達確認を受信する間隔を導出する。判定部107は、送達確認受信部106が送達確認を受信する間隔が、所定の閾値を超えているか否かを判定する。判定部107は、送達確認受信部106が送達確認を受信する間隔が所定の閾値を超えている場合、通信路一時断が発生したと判定する。そして、判定部107は、送達確認受信部106が送達確認を受信する間隔が所定の閾値を超えている場合、一時断通知を変更部103に送信する。 The
切替検知部205は、第1の実施形態の切替検知部105と同様に、第1の通信装置1Bと第2の通信装置2Bとの間においてデータの送信に使用される通信路の切り替えを監視する。そして、切替検知部205は、通信路の切り替えの完了を検知する。 Similar to the switching
切替送信部206は、切替検知部205が通信路の切り替えの完了を検知した場合、切替通知を第1の通信装置1Bに送信する。切替通知は、例えば、あらかじめ定められたデータ値又は信号であればよい。 When the switching
切替受信部108は、第2の通信装置2Bから、切替通知を受信する。 The
変更部103は、判定部107から一時断通知を受信する。変更部103は、例えば、一時断通知を受信した時刻を基準時刻にする。変更部103は、判定部107が、通信路一時断が発生したと判定した時刻を、基準時刻にしてもよい。その場合、変更部103は、判定部107が、通信路一時断が発生したと判定した時刻を、判定部107から受信すればよい。そして、変更部103は、第1の実施形態の変更部103と同様に、基準時刻に基づき検出期間を設定する。変更部103は、設定した検出期間内に切替受信部108が切替通知を受信した場合、第1の実施形態の変更部103と同様に、送信コネクションを変更する。 The
次に、本実施形態の第2の通信装置2Bの動作について、図面を参照して詳細に説明する。 Next, the operation of the second communication device 2B of the present embodiment will be described in detail with reference to the drawings.
図5は、本実施形態の第2の通信装置2Bの動作の例を表すブロック図である。図5に示す動作の開始時において、第1の通信装置1Bのデータ送信部101が第2の通信装置2Bにデータを送信する。 FIG. 5 is a block diagram showing an example of the operation of the second communication device 2B of the present embodiment. At the start of the operation shown in FIG. 5, the
データ受信部201はデータを受信する(ステップS201)。 The
データ受信部201がデータを受信するのに応じて、送達確認送信部204が第1の通信装置1Bに対して送達確認を送信する(ステップS202)。 In response to the
前述のように、切替検知部205は、第1の通信装置1Bと第2の通信装置2Bとの間の通信路の切り替えを監視する。そして、切替検知部205は、通信路の切り替えの完了を検出する。切替検知部205によって通信路の切り替えが検出されない場合(ステップS203においてNo)、第2の通信装置2Bは、次に、例えばステップS201の動作を行う。そして、データ受信部201は、次のデータが送られるまで待機する。切替検知部205によって通信路の切り替えが検出された場合(ステップS203においてYes)、切替検知部205は、第1の通信装置1Bに切替通知を送信する(ステップS204)。 As described above, the switching
次に、本実施形態の通信制御装置3Bの動作について、図面を参照して詳細に説明する。 Next, the operation of the
図6は、本実施形態の通信制御装置3Bの動作の例を表すフローチャートである。図6に示す動作の開始時において、データ送信部101が第2の通信装置2Bにデータを送信する。そして、データを受信した第2の通信装置2Bは、受信したデータの送達確認を、第1の通信装置1Bに返信する。 FIG. 6 is a flowchart showing an example of the operation of the
データの送達確認が送達確認受信部106に送信された場合(ステップS211においてYes)、送達確認受信部106は、第2の通信装置2Bから送達確認を受信する(ステップS212)。送達確認受信部106は、送達確認を受信した時刻を判定部107に送信する。データの送達確認が送達確認受信部106に送信されない場合(ステップS211においてNo)、通信制御装置3Bは、次に、ステップS213の動作を行う。 When the delivery confirmation of the data is transmitted to the delivery confirmation receiving unit 106 (Yes in step S211), the delivery
前述のように、判定部107は、送達確認受信部106が最後に送達確認を受信した時刻を記憶している。判定部107は、例えば、送達確認受信部106が最後に送達確認を受信した時刻から経過した時間を特定すればよい。そして、判定部107は、送達確認受信部106が最後に送達確認を受信した時刻から経過した時間と、所定の閾値とを比較すればよい。送達確認受信部106が最後に送達確認を受信した時刻から経過した時間がその閾値を越えている場合、判定部107は、送達確認の受信の間隔が閾値を超えていると判定すればよい。送達確認受信部106が最後に送達確認を受信した時刻から経過した時間がその閾値を越えていない場合、判定部107は、送達確認の受信の間隔が閾値を超えていないと判定すればよい。判定部107は、新しく送達確認受信部106から受信した送達確認を受信した場合、その送達確認を受信した時刻と、記憶している、送達確認を受信した時刻と差である、送達確認の受信の間隔を導出してもよい。判定部107は、導出された送達確認の受信の間隔が、所定の閾値を越えているか否かを判定してもよい。 As described above, the
送達確認の受信の間隔が、所定の閾値を超えていない場合(ステップS213においてNo)、通信制御装置3Bは、次に、ステップS211の動作を行う。送達確認受信部106は、次の送達確認が送信されるまで待機する。 If the interval of reception of the delivery confirmation does not exceed the predetermined threshold (No in step S213), the
送達確認の受信の間隔が、所定の閾値を超えている場合(ステップS213においてYes)、判定部107は、通信路一時断が発生したと判定する(ステップS214)。 If the interval of reception of the delivery confirmation exceeds the predetermined threshold (Yes in step S213), the
通信路一時断が発生したと判定された場合、変更部103は、上述のように、検出期間を設定する。そして、変更部103は、検出期間内に通信路の切り替えが検知されたか否かを判定する(ステップS215)。変更部103は、例えば、検出期間内に切替受信部108が切替通知を受信した場合、検出期間内に通信路の切り替えが検知されたと判定すればよい。変更部103は、例えば、検出期間内に切替受信部108が切替通知を受信しなかった場合、検出期間内に通信路の切り替えが検知されなかったと判定すればよい。 When it is determined that the communication channel temporary disconnection has occurred, the changing
検出期間内に通信路の切り替えが検知されなかった場合(ステップS215においてNo)、通信制御装置3Bは、次に、例えばステップS211の動作を行う。 If switching of the communication path is not detected within the detection period (No in step S215), the
検出期間内に通信路の切り替えが検知された場合(ステップS215においてYes)、変更部103は、第1の実施形態と同様に、送信コネクションを変更する(ステップS216)。 If switching of the communication channel is detected within the detection period (Yes in step S215), the changing
本実施形態には、データを受信する第2の通信装置2Bが、通信一時断の判定を行えない場合であっても、第1の実施形態と同じ効果がある。 The present embodiment has the same effect as that of the first embodiment even when the second communication device 2B that receives data can not determine the temporary communication disconnection.
その理由は、データ受信部201によるデータの受信に応じて、送達確認送信部204が送達確認を第1の通信装置1Bに送信するからである。そして、変更部103が、送達確認送信部204が送信する送達確認の受信の間隔に基づいて、通信一時断が発生したか否かを判定するからである。 The reason is that the delivery
本実施形態には、さらに、データを送信する第1の通信装置1Bが通信路の切り替えの完了を検知できない場合であっても、第1の実施形態と同じ効果がある。 The present embodiment has the same effect as that of the first embodiment even when the first communication device 1B that transmits data can not detect the completion of the switching of the communication path.
その理由は、データを受信する第2の通信装置2Bが含む切替検知部205によって通信路の切り替えの完了が検知された場合、切替送信部206が切替通知を第1の通信装置1Bに送信するからである。そして、変更部103は、検出期間内に切替受信部108が切替通知を受信した場合、検出期間内に通信路の切り替えが行われたと判定するからである。 The reason is that the switching
<変形例>
第1〜第3の実施形態において、切替検知部205は、図1及び図4において図示されない、切替検知装置に含まれていてもよい。第1及び第2の実施形態では、切替検知装置の切替検知部205は、第1の通信装置1に切替通知を送信すればよい。その場合、通信制御装置3は、さらに、第3の実施形態の通信制御装置3Bと同様に、切替受信部108を含んでいればよい。第3の実施形態では、切替検知装置の切替検知部205は、第1の通信装置1Bに切替通知を送信すればよい。<Modification>
In the first to third embodiments, the switching
第1及び第2の実施形態において、通信制御装置3は第1の通信装置1に含まれている。しかし、通信制御装置3は、第2の通信装置2に含まれていてもよい。あるいは、通信制御装置3の構成要素の一部が第1の通信装置1に含まれていてもよい。そして、第1の通信装置1に含まれる構成要素を除く、通信制御装置3の構成要素が、第2の通信装置2に含まれていてもよい。 In the first and second embodiments, the
第3の実施形態においても同様に、通信制御装置3Bは、第1の通信装置1Bに含まれている。しかし、通信制御装置3Bは、第2の通信装置2Bに含まれていてもよい。あるいは、通信制御装置3Bの構成要素の一部が第1の通信装置1Bに含まれていてもよい。そして、第1の通信装置1Bに含まれる構成要素を除く、通信制御装置3Bの構成要素が、第2の通信装置2Bに含まれていてもよい。 Similarly in the third embodiment, the
第1の実施形態において、例えば、第1の通信装置1ではなく、第2の通信装置2が、管理部102と変更部103とを含んでいてもよい。その場合、通知送信部203と通知受信部104は必要ない。そして、第1の通信装置1は、後述の切替送信部109を含んでいればよい。そして、第2の通信装置2は、後述の切替受信部207を含んでいればよい。切替検知部105が通信路の切替の完了を検知した場合、切替送信部109は、通信路の切替が完了したことを表す切替通知を送信する。切替受信部207は、切替送信部109が送信した切替通知を受信する。第2の通信装置2に含まれる変更部103は、第1の実施形態の変更部103と同様に設定された検出期間内に、切替送信部109が切替通知を受信した場合、新しく送信コネクションとして使用するコネクションを決定する。第2の通信装置2は、さらに、決定された送信コネクションを送信に使用する指示を第1の通信装置1に送信する変更指示部208を含んでいればよい。データ送信部101は、変更指示部208から受信した指示に従って送信コネクションを変更すればよい。 In the first embodiment, for example, the
図7は、第1の実施形態の変形例に係る通信システム10Aの構成の例を表すブロック図である。図7に示す例では、第1の通信装置1Aではなく、第2の通信装置2Aが、通信制御装置3Aを含む。 FIG. 7 is a block diagram showing an example of a configuration of a communication system 10A according to a modification of the first embodiment. In the example shown in FIG. 7, the
本変形例では、第1の通信装置1Aは、データ送信部101と、切替検知部105と、切替送信部109とを含む。第2の通信装置2Aは、データ受信部201と、通信制御装置3Aとを含む。通信制御装置3Aは、管理部102と、変更部103と、判定部202と、切替受信部207と、変更指示部208とを含む。 In the present variation, the first communication device 1A includes a
また、第1及び第2の実施形態では、通知送信部203は、一時断通知を、1回ではなく、所定の送信期間内に複数回送信してもよい。送信期間は、あらかじめ決められている固定的な期間であってもよい。送信期間は、判定部202が通信路一時断が発生したと判定した後、データ受信部201がデータを受信するまでの期間であってもよい。送信期間は、あらかじめ計測された、第1の通信装置1と第2の通信装置2との間の往復の遅延時間や、過去に計測されたその往復の遅延時間から導出された統計量であってもよい。統計量は、例えば、平均値、中間値、あるいは中央値などである。通知送信部203が、一時断通知を複数回送信する場合、通知送信部203は、一時断通知に、その一時断通知が基づく通信路一時断の発生の判定を特定する識別子を含めてもよい。 Further, in the first and second embodiments, the
第3の実施形態において、例えば、通信に使用される通信プロトコルのうち、下層の通信プロトコルにおいて送達確認がなされている場合、送達確認受信部106は、その下層の通信プロトコルに基づき送達確認を検出してもよい。あるいは、第1の通信装置1Bは送達確認受信部106を含んでいなくてもよい。そして、第2の通信装置2は、送達確認送信部204を含んでいなくてもよい。そして、第1の通信装置1は、送達確認が行われる下層の通信プロトコルにおける送達確認を検出する送達確認部を含んでいてもよい。TCPは、上述のような、送達確認がなされる通信プロトコルの例である。 In the third embodiment, for example, when delivery confirmation is made in the lower layer communication protocol among the communication protocols used for communication, the delivery
<第1の実装例>
次に、第1の実施形態に基づく実装例である、第1の実装例について説明する。<First implementation example>
Next, a first implementation example, which is an implementation example based on the first embodiment, will be described.
本実装例では、第1の通信装置1及び第2の通信装置2は、中央演算装置、メモリ、記憶装置、及びネットワーク接続機能を持つ通信端末である。 In this implementation example, the
第1の通信装置1は、例えば、インターネットと通信可能に接続されているモバイル網に、基地局を介して接続されている、可搬な通信端末装置である。第1の通信装置1は、第1の通信装置1を保持するユーザの移動によって、移動する。第1の通信装置1が移動することによって、第1の通信装置1が接続している基地局が切り替えられる。切替検知部105は、モバイル網において第1の通信装置1が接続している基地局の切り替えを、通信路の切り替えとして検知する。 The
第2の通信装置2は、例えば、インターネットに配置されたサーバである。第2の通信装置2は、移動しない。第2の通信装置2は、通信網の切り替えを検知しない。 The
第1の通信装置1及び第2の通信装置2は、互いを通信可能に接続する2つのTCPコネクションを維持している。第1の通信装置1と第2の通信装置2との間において、データの転送はTCPコネクションを使用して直接行われる。本変形例の以下の説明において、それらの2つのTCPコネクションのうちの一つを、TCPコネクションAと表記する。さらに、それらの2つのTCPコネクションのうちの他の一つを、TCPコネクションBと表記する。 The
第1の通信装置1は、例えば100ミリ秒間隔で、TCPコネクションAを用いて、第2の通信装置2に対してデータを送信し続けている。第1の通信装置1は、データの送信に使用していないTCPコネクションBが確立されている状態を維持するために、コネクション管理処理を行う。第1の通信装置1は、コネクション管理処理として、例えば、300ミリ秒毎に、TCPコネクションを使用してキープアライブメッセージを送信する。キープアライブメッセージは、通信装置間においてデータを交換することを目的とするデータではなく、コネクションが確立された状態を維持することを目的とするデータである。 The
第2の通信装置2は、例えば、データの受信する間隔が5秒を越えた場合、通信路が一時的に断絶した状態である通信一時断が発生したと判定するように設定されている。例えば、第2の通信装置2がn番目のデータであるデータnを受信した後、5秒経過しても、(n+1)番目のデータであるデータ(n+1)が第2の通信装置2に到着しなかった場合、第2の通信装置2は、通信路一時断が発生したと判定する。第2の通信装置2は、通信路一時断が発生したと判定した場合、一時断通知として、例えば、“Ichijidan”というテキストデータを第1の通信装置1に送信する。一時断通知は、前述のテキストデータに限られない。一時断通知は、あらかじめ定められているデータであればよい。 For example, when the data reception interval exceeds 5 seconds, the
第1の通信装置1は、例えば、一時断通知を受信した時刻と通信路の切り替えの完了が検知された時刻との差が1秒以内である場合、送信コネクションを変更するように設定されている。例えば、第1の通信装置1は、通信路の切り替えの完了を検知し、その検知の100ミリ秒後に一時断通知を受信した場合、送信コネクションとして、TCPコネクションAの代わりにTCPコネクションBを使用するよう決定する。 The
<第2の実装例>
次に、第3の実施形態に基づく実装例である、第2の実装例について説明する。Second Implementation Example
Next, a second implementation example, which is an implementation example based on the third embodiment, will be described.
本実装例では、第1の実装例と同様に、第1の通信装置1B及び第2の通信装置2Bは、中央演算装置、メモリ、記憶装置、及びネットワーク接続機能を持つ通信端末である。 In this implementation example, as in the first implementation example, the first communication device 1B and the second communication device 2B are communication terminals having a central processing unit, a memory, a storage device, and a network connection function.
本実装例では、第1の通信装置1Bは、インターネット上に配置されたサーバである。第1の通信装置1Bは、移動しない。そして、第1の通信装置1Bは、通信路の切り替えを検知することができない。 In the present implementation example, the first communication device 1B is a server disposed on the Internet. The first communication device 1B does not move. Then, the first communication device 1B can not detect switching of the communication path.
第2の通信装置2Bは、インターネットと通信可能に接続されているモバイル網に、基地局を介して接続されている可搬な通信端末装置である。第2の通信装置2Bの移動に応じて、第2の通信装置2Bが接続される、モバイル網の基地局は切り替わる。第2の通信装置2Bは、モバイル網の基地局の切り替えを、通信路の切り替えとして検知する。 The second communication device 2B is a portable communication terminal device connected via a base station to a mobile network communicably connected to the Internet. The base station of the mobile network to which the second communication device 2B is connected is switched in response to the movement of the second communication device 2B. The second communication device 2B detects switching of the base station of the mobile network as switching of the communication path.
第1の通信装置1B及び第2の通信装置2Bの間において、例えば2つのTCPコネクションが維持されている。第1の通信装置1Bと第2の通信装置2Bとの間におけるデータの転送は、TCPコネクションを介して、直接行われる。本実装例でも、それらの2つのTCPコネクションのうち、一方を、TCPコネクションAと表記する。また、それらの2つのTCPコネクションのうち、他方を、TCPコネクションBと表記する。 For example, two TCP connections are maintained between the first communication device 1B and the second communication device 2B. Transfer of data between the first communication device 1B and the second communication device 2B is directly performed via a TCP connection. Also in this implementation example, one of those two TCP connections is denoted as TCP connection A. Also, the other of the two TCP connections is denoted as TCP connection B.
第1の通信装置1Bは、あらかじめ決められた間隔で、TCPコネクションAを用いて、第2の通信装置2Bにデータを送信し続けている。本実装例では、そのあらかじめ決められた間隔は100ミリ秒である。第2の通信装置2Bは、第1の通信装置1Bから、例えば1番目のデータであるデータ1を受信した場合、データ1が送達されたことを表す送達確認1を、第1の通信装置1Bに返信する。第1の通信装置1Bは、返信された送達確認1を受信する。第1の通信装置1B及び第2の通信装置2Bの間において、2番目のデータを表すデータ2以降のデータに対しても同様に、データの送信と送達確認の返信が行われる。 The first communication device 1B continues to transmit data to the second communication device 2B using the TCP connection A at predetermined intervals. In this implementation, the predetermined interval is 100 milliseconds. When the second communication device 2B receives, for example, the
第1の通信装置1Bは、データの送信に使用されていないTCPコネクションBが確立されている状態を維持するために、コネクション管理処理を行う。第1の通信装置1Bは、コネクション管理処理として、例えば、300ミリ秒毎にTCPコネクションBを使用してキープアライブメッセージを第2の通信装置2Bに送信する。 The first communication device 1B performs connection management processing in order to maintain the state in which the TCP connection B not used for data transmission is established. As a connection management process, for example, the first communication device 1B transmits a keepalive message to the second communication device 2B using the TCP connection B every 300 milliseconds.
第1の通信装置1Bは、送信されているn番目のデータであるデータnの送達確認nを受信してから所定時間内に、同様に送信されている(n+1)番目のデータであるデータ(n+1)の送達確認(n+1)が到着しない場合、通信路一時断が発生したと判定する。その所定時間は、例えば5秒である。その場合、第1の通信装置1Bは、データnの送達確認nを受信してから5秒が経過しても、データ(n+1)の送達確認(n+1)が到着しない場合、通信路一時断が発生したと判定する。 The first communication device 1B receives the delivery confirmation n of the data n, which is the nth data being transmitted, within a predetermined time, the data which is the (n + 1) th data that is similarly transmitted (the If the (n + 1) delivery confirmation (n + 1) does not arrive, it is determined that a communication channel temporary disconnection has occurred. The predetermined time is, for example, 5 seconds. In that case, the first communication device 1B temporarily disconnects the communication path if the delivery confirmation (n + 1) of the data (n + 1) does not arrive even if 5 seconds have passed since the receipt of the delivery confirmation n of the data n. Determine that it has occurred.
第2の通信装置2Bは、通信路の切り替えの完了を検知した場合、切替通知を、第1の通信装置1Bに送信する。切替通知は、例えば、“Tsushinrokirikae”等のテキストデータであってもよい。切替通知は、あらかじめ定められているデータであればよい。 When the second communication device 2B detects the completion of the switching of the communication path, the second communication device 2B transmits a switching notification to the first communication device 1B. The switching notification may be, for example, text data such as "Tsushinrokirikae". The switching notification may be predetermined data.
第1の通信装置1Bは、例えば、通信路一時断が発生したと判定した時刻と切替通知を受信した時刻との差が所定時間以内である場合、送信コネクションを変更する。その所定時間は、例えば1秒である。その場合、例えば、第1の通信装置1Bが通信路一時断が発生したと判定してから100ミリ秒後に切替通知を受信した場合、第1の通信装置1Bは、送信コネクションを変更する。第1の通信装置1Bは、2つのTCPコネクションのうち、送信コネクションではないTCPコネクションBを、新しい送信コネクションに決定する。すなわち第1の通信装置1Bは、データを送信するために、TCPコネクションBを使用するよう決定する。 The first communication device 1B changes the transmission connection, for example, when the difference between the time when it is determined that the communication channel temporary disconnection has occurred and the time when the switching notification is received is within a predetermined time. The predetermined time is, for example, one second. In that case, for example, if the first communication device 1B receives the switching notification 100 milliseconds after determining that the communication path temporary disconnection has occurred, the first communication device 1B changes the transmission connection. Among the two TCP connections, the first communication device 1B determines a TCP connection B that is not a transmission connection as a new transmission connection. That is, the first communication device 1B decides to use the TCP connection B to transmit data.
<第4の実施形態>
次に、本発明の第4の実施形態について、図面を参照して詳細に説明する。Fourth Embodiment
Next, a fourth embodiment of the present invention will be described in detail with reference to the drawings.
図8は、本実施形態の通信制御装置3Cの構成の例を表す図である。 FIG. 8 is a diagram illustrating an example of a configuration of the
図8を参照すると、本実施形態の通信制御装置3Cは、管理部102と、変更部103と、を備える。管理部102は、送信先装置に対する複数のコネクションを維持する。変更部103は、判定部202から、一時断通知を受信するのに加えて、切替検知部105から、前記一時断通知に基づく所定期間内に切替通知を受信した場合、選択コネクション以外の複数のコネクションから新たな選択コネクションを選択する。そして、変更部103は、選択した選択コネクションの識別子をデータ送信部101に送信する。判定部202は、複数のコネクションから選択された選択コネクションを介してデータ送信部101が行う送信先装置に対する通信が中断された状態である一時断を検出し、その一時断を検出するのに応じて一時断通知を送信する。切替検知部105は、データ送信部101と送信先装置との間の通信路の切り替えを検出し、その切り替えの完了が検出された場合に切替通知を送信する。 Referring to FIG. 8, the
本実施形態には、第1の実施形態と同じ効果がある。その理由は、第1の実施形態の効果が生じる理由と同じである。 The present embodiment has the same effect as the first embodiment. The reason is the same as the reason for the effect of the first embodiment.
本発明の実施形態に係る通信装置は、それぞれ、コンピュータ及びコンピュータを制御するプログラム、専用のハードウェア、又は、コンピュータ及びコンピュータを制御するプログラムと専用のハードウェアの組合せにより実現することができる。本発明の実施形態に係る通信装置は、第1の通信装置1、第1の通信装置1A、第1の通信装置1B、第2の通信装置2、第2の通信装置2A、第2の通信装置2B、通信制御装置3、通信制御装置3A、通信制御装置3B、及び通信制御装置3Cである。 The communication device according to the embodiment of the present invention can be realized by a computer and a program for controlling the computer, dedicated hardware, or a combination of the computer and the program for controlling the computer and the dedicated hardware. The communication apparatus according to the embodiment of the present invention includes a
図9は、本発明の実施形態に係る通信装置を実現することができる、コンピュータ1000の構成の一例を表す図である。図9を参照すると、コンピュータ1000は、プロセッサ1001と、メモリ1002と、記憶装置1003と、I/O(Input/Output)インタフェース1004とを含む。また、コンピュータ1000は、記録媒体1005にアクセスすることができる。メモリ1002と記憶装置1003は、例えば、RAM(Random Access Memory)、ハードディスクなどの記憶装置である。記録媒体1005は、例えば、RAM、ハードディスクなどの記憶装置、ROM(Read Only Memory)、可搬記録媒体である。記憶装置1003が記録媒体1005であってもよい。プロセッサ1001は、メモリ1002と、記憶装置1003に対して、データやプログラムの読み出しと書き込みを行うことができる。プロセッサ1001は、I/Oインタフェース1004を介して、例えば、他の装置にアクセスすることができる。プロセッサ1001は、記録媒体1005にアクセスすることができる。記録媒体1005には、コンピュータ1000を、本発明の実施形態に係る通信装置のいずれかとして動作させるプログラムが格納されている。 FIG. 9 is a diagram showing an example of the configuration of a
プロセッサ1001は、記録媒体1005に格納されている、コンピュータ1000を、本発明の実施形態に係る通信装置のいずれかとして動作させるプログラムを、メモリ1002にロードする。そして、プロセッサ1001が、メモリ1002にロードされたプログラムを実行することにより、コンピュータ1000は、本発明の実施形態に係る通信装置のいずれかとして動作する。 The
下記の第1のグループに含まれる部は、例えば、プログラムを記憶する記録媒体1005からメモリ1002に読み込まれた、各部の機能を実現することができる専用のプログラムと、そのプログラムを実行するプロセッサ1001により実現することができる。下記の第2のグループに含まれる部は、例えば、プログラムを記憶する記録媒体1005からメモリ1002に読み込まれた、各部の機能を実現することができる専用のプログラムと、そのプログラムを実行するプロセッサ1001により実現することができる。第1のグループは、データ送信部101、管理部102、変更部103、通知受信部104、切替検知部105、送達確認受信部106、判定部107、切替受信部108、及び、切替送信部109である。第2のグループは、データ受信部201、判定部202、通知送信部203、送達確認送信部204、切替検知部205、切替送信部206、切替受信部207、及び、変更指示部208である。 The units included in the first group below are, for example, a dedicated program which can read the functions of each unit read from the
あるいは、第1のグループに含まれる部及び第2のグループに含まれる部の一部又は全部を、各部の機能を実現する専用の回路によって実現することもできる。 Alternatively, part or all of the parts included in the first group and the parts included in the second group can be realized by a dedicated circuit that implements the function of each part.
以上、実施形態を参照して本発明を説明したが、本発明は上記実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解し得る様々な変更をすることができる。 As mentioned above, although this invention was demonstrated with reference to embodiment, this invention is not limited to the said embodiment. Various modifications that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.
また、上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。 Moreover, although a part or all of the above-mentioned embodiment may be described as the following additional notes, it is not limited to the following.
(付記1)
送信先装置に対する複数のコネクションを維持する管理手段と、
前記複数のコネクションから選択された選択コネクションを介してデータ送信手段が行う前記送信先装置に対する通信が中断された状態である一時断を検出し、当該一時断を検出するのに応じて一時断通知を送信する判定手段から、前記一時断通知を受信するのに加えて、
前記データ送信手段と前記送信先装置との間の通信路の切り替えを検出し、当該切り替えの完了が検出された場合に切替通知を送信する切替検知手段から、前記一時断通知に基づく所定期間内に前記切替通知を受信した場合、
前記選択コネクション以外の前記複数のコネクションから新たな前記選択コネクションを選択し、選択した前記選択コネクションの識別子を前記データ送信手段に送信する変更手段と、
を備える通信制御装置。(Supplementary Note 1)
Management means for maintaining a plurality of connections to the destination device;
A temporary disconnection notification, which is a state in which communication with the transmission destination device performed by the data transmission unit is interrupted via the selected connection selected from the plurality of connections, is detected, and a temporary disconnection notification is detected according to the detection of the temporary disconnection. In addition to receiving the temporary disconnection notification from the determining means for transmitting
Within a predetermined period based on the temporary disconnection notification from the switching detection unit which detects switching of the communication path between the data transmission unit and the transmission destination device and transmits the switching notification when completion of the switching is detected. If the switch notification is received on
Changing means for selecting a new selected connection from the plurality of connections other than the selected connection, and transmitting an identifier of the selected connection to the data transmission means;
A communication control apparatus comprising:
(付記2)
前記データ送信手段は、前記データに当該データの送信時刻を関連付けて送信し、
前記判定手段は、前記一時断の発生前に最後に送信された前記データに関連付けられている送信時刻を、前記一時断通知に関連付けて送信し、
前記変更手段は、前記一時断通知に関連付けられている送信時刻を、前記所定期間の開始時刻に設定する
付記1に記載の通信制御装置。(Supplementary Note 2)
The data transmission unit transmits the data in association with the transmission time of the data, and transmits the data.
The determination means transmits a transmission time associated with the data last transmitted before the occurrence of the temporary disconnection in association with the temporary disconnection notification.
The communication control apparatus according to
(付記3)
前記判定手段は、前記送信先装置が前記データ送信手段から最後にデータを受信してから経過した時間に基づき、前記一時断を検出する
付記1又は2に記載の通信制御装置。(Supplementary Note 3)
The communication control device according to
(付記4)
前記データ送信手段は、所定間隔で前記データを送信し、
前記判定手段は、前記データを受信する間隔の前記所定間隔に対するずれの大きさが所定閾値を超える場合、前記一時断の発生を判定する
付記1乃至3のいずれかに記載の通信制御装置。(Supplementary Note 4)
The data transmission means transmits the data at predetermined intervals,
The communication control apparatus according to any one of
(付記5)
前記所定期間の開始時刻は、前記一時断通知に基づく時刻である確定時刻より第1の所定時間前の時刻、又は前記一時断の発生前における前記データの最後の送信時刻であり、前記所定期間の終了時刻は、前記一時断通知に基づく時刻である確定時刻より第2の所定時間後の時刻、又は前記切替通知の受信時刻である
付記1乃至4のいずれかに記載の通信制御装置。(Supplementary Note 5)
The start time of the predetermined period is a time that is a first predetermined time before the determined time that is the time based on the temporary disconnection notification, or the last transmission time of the data before the temporary disconnection occurs, and the predetermined period The communication control device according to any one of
(付記6)
前記データ送信手段を含む送信装置と、
前記データを受信するのに応じて、前記データの受信を前記判定手段に通知するデータ受信手段を含む前記送信先装置と、
付記1乃至5のいずれかに記載の通信制御装置と、
を含む通信システム。(Supplementary Note 6)
A transmitting device including the data transmitting means;
The transmission destination apparatus including data receiving means for notifying the determination means of the reception of the data in response to receiving the data;
The communication control device according to any one of
Communication system including.
(付記7)
前記送信装置は、前記切替検知手段と、前記通信制御装置とを更に含み、
前記送信先装置は、前記判定手段を更に含む、
付記6に記載の通信システム。(Appendix 7)
The transmission device further includes the switching detection unit and the communication control device.
The destination apparatus further includes the determination unit.
The communication system according to appendix 6.
(付記8)
前記送信先装置は、前記データ受信手段が前記データを受信したことを表す送達確認を送信する確認送信手段と、前記切替検知手段とを更に含み、
前記送信装置は、前記送達確認を受信するのに応じて、当該送達確認の受信時刻を、前記データの受信時刻として、前記判定手段に通知する確認受信手段と、前記判定手段とを更に含む、
付記6に記載の通信システム。(Supplementary Note 8)
The destination apparatus further includes confirmation transmission means for transmitting a delivery confirmation indicating that the data reception means has received the data, and the switching detection means.
The transmitting apparatus further includes confirmation receiving means for notifying the determination means of the reception time of the delivery confirmation as the reception time of the data in response to receiving the delivery confirmation, and the determination means.
The communication system according to appendix 6.
(付記9)
送信先装置に対する複数のコネクションを維持し、
前記複数のコネクションから選択された選択コネクションを介してデータ送信手段が行う前記送信先装置に対する通信が中断された状態である一時断を検出し、当該一時断を検出するのに応じて一時断通知を送信する判定手段から、前記一時断通知を受信するのに加えて、
前記データ送信手段と前記送信先装置との間の通信路の切り替えを検出し、当該切り替えの完了が検出された場合に切替通知を送信する切替検知手段から、前記一時断通知に基づく所定期間内に前記切替通知を受信した場合、
前記選択コネクション以外の前記複数のコネクションから新たな前記選択コネクションを選択し、選択した前記選択コネクションの識別子を前記データ送信手段に送信する
通信制御方法。(Appendix 9)
Maintain multiple connections to the destination device,
A temporary disconnection notification, which is a state in which communication with the transmission destination device performed by the data transmission unit is interrupted via the selected connection selected from the plurality of connections, is detected, and a temporary disconnection notification is detected according to the detection of the temporary disconnection. In addition to receiving the temporary disconnection notification from the determining means for transmitting
Within a predetermined period based on the temporary disconnection notification from the switching detection unit which detects switching of the communication path between the data transmission unit and the transmission destination device and transmits the switching notification when completion of the switching is detected. If the switch notification is received on
A communication control method comprising: selecting a new selected connection from the plurality of connections other than the selected connection; and transmitting an identifier of the selected connection selected to the data transmission means.
(付記10)
前記データに当該データの送信時刻を関連付けて送信し、
前記一時断の発生前に最後に送信された前記データに関連付けられている送信時刻を、前記一時断通知に関連付けて送信し、
前記一時断通知に関連付けられている送信時刻を、前記所定期間の開始時刻に設定する
付記9に記載の通信制御方法。(Supplementary Note 10)
Transmitting the data in association with the transmission time of the data;
A transmission time associated with the data last transmitted before the occurrence of the temporary disconnection is transmitted in association with the temporary disconnection notification,
The communication control method according to appendix 9, wherein a transmission time associated with the temporary disconnection notification is set as a start time of the predetermined period.
(付記11)
前記送信先装置が前記データ送信手段から最後にデータを受信してから経過した時間に基づき、前記一時断を検出する
付記9又は10に記載の通信制御方法。(Supplementary Note 11)
The communication control method according to appendix 9 or 10, wherein the temporary disconnection is detected based on the time elapsed since the transmission destination apparatus last received data from the data transmission means.
(付記12)
所定間隔で前記データを送信し、
前記データを受信する間隔の前記所定間隔に対するずれの大きさが所定閾値を超える場合、前記一時断の発生を判定する
付記9乃至11のいずれかに記載の通信制御方法。(Supplementary Note 12)
Transmit the data at predetermined intervals,
The communication control method according to any one of appendices 9 to 11, wherein the occurrence of the temporary disconnection is determined when the magnitude of the deviation of the interval for receiving the data from the predetermined interval exceeds a predetermined threshold.
(付記13)
前記所定期間の開始時刻は、前記一時断通知に基づく時刻である確定時刻より第1の所定時間前の時刻、又は前記一時断の発生前における前記データの最後の送信時刻であり、前記所定期間の終了時刻は、前記一時断通知に基づく時刻である確定時刻より第2の所定時間後の時刻、又は前記切替通知の受信時刻である
付記9乃至12のいずれかに記載の通信制御方法。(Supplementary Note 13)
The start time of the predetermined period is a time that is a first predetermined time before the determined time that is the time based on the temporary disconnection notification, or the last transmission time of the data before the temporary disconnection occurs, and the predetermined period The communication control method according to any one of appendices 9 to 12, wherein an end time of is a time after a second predetermined time from a determined time that is a time based on the temporary disconnection notification, or a reception time of the switching notification.
(付記14)
コンピュータを、
送信先装置に対する複数のコネクションを維持する管理手段と、
前記複数のコネクションから選択された選択コネクションを介してデータ送信手段が行う前記送信先装置に対する通信が中断された状態である一時断を検出し、当該一時断を検出するのに応じて一時断通知を送信する判定手段から、前記一時断通知を受信するのに加えて、
前記データ送信手段と前記送信先装置との間の通信路の切り替えを検出し、当該切り替えの完了が検出された場合に切替通知を送信する切替検知手段から、前記一時断通知に基づく所定期間内に前記切替通知を受信した場合、
前記選択コネクション以外の前記複数のコネクションから新たな前記選択コネクションを選択し、選択した前記選択コネクションの識別子を前記データ送信手段に送信する変更手段と、
して動作させる通信制御プログラム。(Supplementary Note 14)
Computer,
Management means for maintaining a plurality of connections to the destination device;
A temporary disconnection notification, which is a state in which communication with the transmission destination device performed by the data transmission unit is interrupted via the selected connection selected from the plurality of connections, is detected, and a temporary disconnection notification is detected according to the detection of the temporary disconnection. In addition to receiving the temporary disconnection notification from the determining means for transmitting
Within a predetermined period based on the temporary disconnection notification from the switching detection unit which detects switching of the communication path between the data transmission unit and the transmission destination device and transmits the switching notification when completion of the switching is detected. If the switch notification is received on
Changing means for selecting a new selected connection from the plurality of connections other than the selected connection, and transmitting an identifier of the selected connection to the data transmission means;
Communication control program to operate.
(付記15)
コンピュータを、
前記データに当該データの送信時刻を関連付けて送信する前記データ送信手段と、
前記一時断の発生前に最後に送信された前記データに関連付けられている送信時刻を、前記一時断通知に関連付けて送信する前記判定手段と、
前記一時断通知に関連付けられている送信時刻を、前記所定期間の開始時刻に設定する前記変更手段と、
して動作させる付記14に記載の通信制御プログラム。(Supplementary Note 15)
Computer,
The data transmission unit that transmits the data in association with the transmission time of the data;
The determination means for transmitting a transmission time associated with the data last transmitted before the occurrence of the temporary disconnection in association with the temporary disconnection notification;
The changing unit configured to set a transmission time associated with the temporary disconnection notification as a start time of the predetermined period;
The communication control program according to appendix 14, which is operated.
(付記16)
コンピュータを、
前記送信先装置が前記データ送信手段から最後にデータを受信してから経過した時間に基づき、前記一時断を検出する前記判定手段と、
して動作させる付記14又は15に記載の通信制御プログラム。(Supplementary Note 16)
Computer,
The determination means for detecting the temporary disconnection based on the time elapsed since the transmission destination device last received data from the data transmission means;
15. The communication control program according to appendix 14 or 15, which is operated.
(付記17)
コンピュータを、
所定間隔で前記データを送信する前記データ送信手段と、
前記データを受信する間隔の前記所定間隔に対するずれの大きさが所定閾値を超える場合、前記一時断の発生を判定する前記判定手段と、
して動作させる付記14乃至16のいずれかに記載の通信制御プログラム。(Supplementary Note 17)
Computer,
Said data transmission means for transmitting said data at predetermined intervals;
The determination unit that determines the occurrence of the temporary disconnection when the magnitude of the deviation of the interval for receiving the data from the predetermined interval exceeds a predetermined threshold;
The communication control program according to any one of appendices 14 to 16 which is operated.
(付記18)
前記所定期間の開始時刻は、前記一時断通知に基づく時刻である確定時刻より第1の所定時間前の時刻、又は前記一時断の発生前における前記データの最後の送信時刻であり、前記所定期間の終了時刻は、前記一時断通知に基づく時刻である確定時刻より第2の所定時間後の時刻、又は前記切替通知の受信時刻である
付記14乃至17のいずれかに記載の通信制御プログラム。(Appendix 18)
The start time of the predetermined period is a time that is a first predetermined time before the determined time that is the time based on the temporary disconnection notification, or the last transmission time of the data before the temporary disconnection occurs, and the predetermined period The communication control program according to any one of Appendices 14 to 17, wherein an end time of is a time after a second predetermined time from a determined time that is a time based on the temporary disconnection notification or a reception time of the switching notification.
この出願は、2014年4月10日に出願された日本出願特願2014−0081114を基礎とする優先権を主張し、その開示の全てをここに取り込む。 This application claims priority based on Japanese Patent Application No. 2014-0081114 filed on April 10, 2014, the entire disclosure of which is incorporated herein.
本発明は、音声やインタラクティブなサービスなどの、通信遅延に厳しいシステムに適用できる。 The present invention is applicable to systems that are sensitive to communication delays, such as voice and interactive services.
1 第1の通信装置
1A 第1の通信装置
1B 第1の通信装置
2 第2の通信装置
2A 第2の通信装置
2B 第2の通信装置
3 通信制御装置
3A 通信制御装置
3B 通信制御装置
3C 通信制御装置
10 通信システム
10A 通信システム
10B 通信システム
101 データ送信部
102 管理部
103 変更部
104 通知受信部
105 切替検知部
106 送達確認受信部
107 判定部
108 切替受信部
109 切替送信部
201 データ受信部
202 判定部
203 通知送信部
204 送達確認送信部
205 切替検知部
206 切替送信部
207 切替受信部
208 変更指示部
1000 コンピュータ
1001 プロセッサ
1002 メモリ
1003 記憶装置
1004 I/Oインタフェース
1005 記録媒体1 first communication device 1A first communication device 1B
Claims (10)
前記複数のコネクションから選択された選択コネクションを介してデータ送信手段が行う前記送信先装置に対してデータを送信する通信が中断された状態である一時断を検出し、当該一時断を検出するのに応じて一時断通知を送信する判定手段から、前記一時断通知を受信するのに加えて、
前記データ送信手段と前記送信先装置との間の通信路の切り替えを検出し、当該切り替えの完了が検出された場合に切替通知を送信する切替検知手段から、前記一時断通知に基づく所定期間内に前記切替通知を受信した場合、
前記選択コネクション以外の前記複数のコネクションから新たな前記選択コネクションを選択し、選択した前記選択コネクションの識別子を前記データ送信手段に送信する変更手段と、
を備える通信制御装置。 Management means for maintaining a plurality of connections to the destination device;
Detecting a temporary disconnection communication is a suspended state to transmit the data for the destination device performs the data transmission means over the selected connection selected from the plurality of connections, to detect the temporary disconnection In addition to receiving the temporary disconnection notification from the judging means for transmitting the temporary disconnection notification according to
Within a predetermined period based on the temporary disconnection notification from the switching detection unit which detects switching of the communication path between the data transmission unit and the transmission destination device and transmits the switching notification when completion of the switching is detected. If the switch notification is received on
Changing means for selecting a new selected connection from the plurality of connections other than the selected connection, and transmitting an identifier of the selected connection to the data transmission means;
A communication control apparatus comprising:
前記判定手段は、前記一時断の発生前に最後に送信された前記データに関連付けられている送信時刻を、前記一時断通知に関連付けて送信する
請求項1に記載の通信制御装置。 The data transmission unit transmits the data in association with the transmission time of the data, and transmits the data.
Said determination means, a transmission time associated with the data sent last before the occurrence of the one o'clock cross, to send in association with the one o'clock discontinuity notification
The communication control device according to 請 Motomeko 1.
請求項1又は2に記載の通信制御装置。 The communication control device according to claim 1 or 2, wherein the determination unit detects the temporary disconnection based on a time elapsed since the transmission destination device last received data from the data transmission unit.
前記判定手段は、前記データを受信する間隔の前記所定間隔に対するずれの大きさが所定閾値を超える場合、前記一時断の発生を判定する
請求項1乃至3のいずれか1項に記載の通信制御装置。 The data transmission means transmits the data at predetermined intervals,
The determination means, the case where the magnitude of the displacement for a given space in the space for receiving the data exceeds a predetermined threshold value, the communication control according to any one of claims 1 to 3 determines the occurrence of one o'clock sectional apparatus.
請求項1乃至4のいずれか1項に記載の通信制御装置。 The start time of the predetermined period is a reference time that is a time based on the temporary disconnection notification, a time before a first predetermined time before the reference time, or the last transmission time of the data before the occurrence of the temporary disconnection There, the end time of the predetermined period, the communication control apparatus according to any one of the second predetermined time after the time than the reference time, or claims 1 to 4 wherein a reception time of the switching notification.
前記データを受信するのに応じて、前記データの受信を前記判定手段に通知するデータ受信手段を含む前記送信先装置と、
請求項1乃至5のいずれか1項に記載の通信制御装置と、
を含む通信システム。 A transmitting device including the data transmitting means;
The transmission destination apparatus including data receiving means for notifying the determination means of the reception of the data in response to receiving the data;
A communication control device according to any one of claims 1 to 5,
Communication system including.
前記送信先装置は、前記判定手段を更に含む、
請求項6に記載の通信システム。 The transmission device further includes the switching detection unit and the communication control device.
The destination apparatus further includes the determination unit.
The communication system according to claim 6.
前記送信装置は、前記送達確認を受信するのに応じて、当該送達確認の受信時刻を、前記データの受信時刻として、前記判定手段に通知する確認受信手段と、前記判定手段とを更に含む、
請求項6に記載の通信システム。 The destination apparatus further includes confirmation transmission means for transmitting a delivery confirmation indicating that the data reception means has received the data, and the switching detection means.
The transmitting apparatus further includes confirmation receiving means for notifying the determination means of the reception time of the delivery confirmation as the reception time of the data in response to receiving the delivery confirmation, and the determination means.
The communication system according to claim 6.
前記複数のコネクションから選択された選択コネクションを介してデータ送信手段が行う前記送信先装置に対する通信が中断された状態である一時断を検出し、当該一時断を検出するのに応じて一時断通知を送信する判定手段から、前記一時断通知を受信するのに加えて、
前記データ送信手段と前記送信先装置との間の通信路の切り替えを検出し、当該切り替えの完了が検出された場合に切替通知を送信する切替検知手段から、前記一時断通知に基づく所定期間内に前記切替通知を受信した場合、
前記選択コネクション以外の前記複数のコネクションから新たな前記選択コネクションを選択し、選択した前記選択コネクションの識別子を前記データ送信手段に送信する
通信制御方法。 Maintain multiple connections to the destination device,
A temporary disconnection notification, which is a state in which communication with the transmission destination device performed by the data transmission unit is interrupted via the selected connection selected from the plurality of connections, is detected, and a temporary disconnection notification is detected according to the detection of the temporary disconnection. In addition to receiving the temporary disconnection notification from the determining means for transmitting
Within a predetermined period based on the temporary disconnection notification from the switching detection unit which detects switching of the communication path between the data transmission unit and the transmission destination device and transmits the switching notification when completion of the switching is detected. If the switch notification is received on
A communication control method comprising: selecting a new selected connection from the plurality of connections other than the selected connection; and transmitting an identifier of the selected connection selected to the data transmission means.
送信先装置に対する複数のコネクションを維持する管理処理と、
前記複数のコネクションから選択された選択コネクションを介してデータ送信手段が行う前記送信先装置に対する通信が中断された状態である一時断を検出し、当該一時断を検出するのに応じて一時断通知を送信する判定手段から、前記一時断通知を受信するのに加
えて、
前記データ送信手段と前記送信先装置との間の通信路の切り替えを検出し、当該切り替えの完了が検出された場合に切替通知を送信する切替検知手段から、前記一時断通知に基づく所定期間内に前記切替通知を受信した場合、
前記選択コネクション以外の前記複数のコネクションから新たな前記選択コネクションを選択し、選択した前記選択コネクションの識別子を前記データ送信手段に送信する変更処理と、
を実行させる通信制御プログラム。 On the computer,
Management processing for maintaining a plurality of connections to the destination device;
A temporary disconnection notification, which is a state in which communication with the transmission destination device performed by the data transmission unit is interrupted via the selected connection selected from the plurality of connections, is detected, and a temporary disconnection notification is detected according to the detection of the temporary disconnection. In addition to receiving the temporary disconnection notification from the determining means for transmitting
Within a predetermined period based on the temporary disconnection notification from the switching detection unit which detects switching of the communication path between the data transmission unit and the transmission destination device and transmits the switching notification when completion of the switching is detected. If the switch notification is received on
A change process of selecting a new selected connection from the plurality of connections other than the selected connection, and transmitting an identifier of the selected connection to the data transmission means;
Communication control program to execute .
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014081114 | 2014-04-10 | ||
| JP2014081114 | 2014-04-10 | ||
| PCT/JP2015/002018 WO2015155996A1 (en) | 2014-04-10 | 2015-04-10 | Communication control apparatus, communication control method, and recording medium on which communication control program has been stored |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPWO2015155996A1 JPWO2015155996A1 (en) | 2017-04-13 |
| JP6528768B2 true JP6528768B2 (en) | 2019-06-12 |
Family
ID=54287580
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016512608A Expired - Fee Related JP6528768B2 (en) | 2014-04-10 | 2015-04-10 | Communication control device, communication control method and communication control program |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP6528768B2 (en) |
| WO (1) | WO2015155996A1 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4292884B2 (en) * | 2003-06-20 | 2009-07-08 | ソニー株式会社 | Real-time data communication system, real-time data communication apparatus, and real-time data communication method |
| JP2013121028A (en) * | 2011-12-07 | 2013-06-17 | Nippon Telegr & Teleph Corp <Ntt> | Data packet transmission method and system |
-
2015
- 2015-04-10 WO PCT/JP2015/002018 patent/WO2015155996A1/en not_active Ceased
- 2015-04-10 JP JP2016512608A patent/JP6528768B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| WO2015155996A1 (en) | 2015-10-15 |
| JPWO2015155996A1 (en) | 2017-04-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4509545B2 (en) | Reliable messaging system with configurable settings | |
| JP2008547329A (en) | Session maintenance in wireless networks | |
| US9037935B2 (en) | Apparatus and method for retransmitting message in message transmission system | |
| JP5784139B2 (en) | Communications system | |
| US10911295B2 (en) | Server apparatus, cluster system, cluster control method and program | |
| JP5867188B2 (en) | Information processing apparatus, congestion control method, and congestion control program | |
| JP6408580B2 (en) | Method and node apparatus for operating a node in a network | |
| EP3979588B1 (en) | Improved error handling for media access control security | |
| EP3205054B1 (en) | Method, traffic monitor (tm), request router (rr) and system for monitoring a content delivery network (cdn) | |
| TWI254524B (en) | Distributed router application serialization | |
| US8060628B2 (en) | Technique for realizing high reliability in inter-application communication | |
| CN103338524A (en) | Wireless access method, wireless access device, wireless access system, access controller and access point equipment | |
| CN105516252A (en) | TCP (Transmission Control Protocol) connection switching method, apparatus and system | |
| CN104243473B (en) | A kind of method and device of data transmission | |
| JP6528768B2 (en) | Communication control device, communication control method and communication control program | |
| US20110238819A1 (en) | Apparatus and method for transmitting information on an operational state of the same | |
| JP4818338B2 (en) | Monitoring server, network monitoring method | |
| JP6117345B2 (en) | Message system that avoids degradation of processing performance | |
| EP4459939A1 (en) | Channel resource adjustment method and apparatus, and communication device | |
| US9319266B2 (en) | Method and apparatus for managing diameter routing | |
| US20170118072A1 (en) | Communication control method, network system, and communication control device | |
| CN112398744B (en) | Network communication method, device and electronic equipment | |
| WO2015194134A1 (en) | Communications state estimation device, communications state estimation method, and storage medium that stores communications state estimation program | |
| JP6146409B2 (en) | Communication apparatus and communication method | |
| CN110601972A (en) | Message transmission method and device and intelligent elastic architecture system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180315 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20181120 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190117 |
|
| 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: 20190416 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190429 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6528768 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |