WO2015155996A1 - Communication control apparatus, communication control method, and recording medium on which communication control program has been stored - Google Patents

Communication control apparatus, communication control method, and recording medium on which communication control program has been stored Download PDF

Info

Publication number
WO2015155996A1
WO2015155996A1 PCT/JP2015/002018 JP2015002018W WO2015155996A1 WO 2015155996 A1 WO2015155996 A1 WO 2015155996A1 JP 2015002018 W JP2015002018 W JP 2015002018W WO 2015155996 A1 WO2015155996 A1 WO 2015155996A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
communication
unit
notification
transmission
Prior art date
Application number
PCT/JP2015/002018
Other languages
French (fr)
Japanese (ja)
Inventor
由明 西川
Original Assignee
日本電気株式会社
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 日本電気株式会社 filed Critical 日本電気株式会社
Priority to JP2016512608A priority Critical patent/JP6528768B2/en
Publication of WO2015155996A1 publication Critical patent/WO2015155996A1/en

Links

Images

Definitions

  • the present invention relates to a technology for controlling communication.
  • packet communication which is generally used in Internet communication
  • packet loss and route change occur on the route.
  • retransmission control and order control are required in order to deliver transmitted data to a receiving terminal in the order of transmission.
  • retransmission control for example, when a transmission acknowledgment (ACK; Acknowledgment) indicating that data has been delivered to the receiving side is not received for a certain period of time, retransmission of the data is started.
  • ACK transmission acknowledgment
  • NACK non-delivery acknowledgment
  • retransmission control for example, when the transmission side receives a non-delivery acknowledgment (NACK) indicating that data has not been delivered to the reception side, retransmission of the data is started.
  • NACK non-delivery acknowledgment
  • retransmission control for example, when the number of received data is changed by a change in order on the receiving side, retransmission of the data whose order has been changed is started.
  • TCP Transmission Control Protocol
  • a transmission side when a transmission side does not receive an ACK for a certain period after transmitting a segment, the segment is retransmitted.
  • a segment is a communication unit in TCP.
  • TCP even when it is determined by duplicate ACK that the number of segments received by changing the order is equal to or greater than a threshold value, the data in which the segments are generated is retransmitted.
  • the specific number of the threshold values varies depending on the OS (Operating System) and settings.
  • TCP when a transmitted segment arrives at the receiving side, if a segment sent before that segment has not arrived at the receiving side, the receiving side of the segment sent before it has not arrived Waiting for arrival. Then, the segments are rearranged in the order of transmission and then passed to a higher-level protocol or application.
  • Patent Document 1 describes a cyclic transmission method that avoids order control by sequentially transmitting different data for each of a plurality of connections.
  • the transmitting apparatus transmits different data in order for each of the established connections.
  • the receiving device can use the arrived data at any time in the application program being executed.
  • the device on the transmission side described in Patent Document 1 identifies the difference between the largest number and the smallest number among the numbers assigned to each segment that is being transmitted via any connection according to the order of transmission. To do. When the identified difference is equal to or larger than the predetermined value, the transmitting side apparatus retransmits the earliest transmitted segment through another connection. Therefore, even if an accidental loss occurs during segment transmission, it is possible to avoid the order control for waiting for retransmission.
  • Patent Document 2 describes a relay node and a destination node connected by an active communication path and a backup communication path.
  • the relay node switches the communication path to be used to the backup communication path. Then, the relay node retransmits the data transmitted between the occurrence of the failure and the completion of the switching of the communication path.
  • JP 2010-056990 A Japanese Patent Laid-Open No. 11-308233
  • switching of communication paths such as handover in a mobile network may cause a situation in which all data transmitted to each communication path is lost over a period sufficiently longer than the transmission interval of intermittently transmitted data.
  • retransmission control is performed in all connections established in that period. Therefore, in the above case, the order control cannot be avoided in the data communication according to the cyclic transmission method as described in Patent Document 1. Therefore, in the technique of Patent Document 1, when all data transmitted by switching the communication path is lost for a period sufficiently longer than the transmission interval of intermittently transmitted data, the communication delay cannot be shortened.
  • the relay node described in Patent Document 2 switches a communication path to be used to a backup communication path, which is the other communication path, when a failure occurs in an active communication path out of two communication paths. Therefore, when a situation occurs in which all data transmitted within a period sufficiently longer than the transmission interval of intermittently transmitted data occurs, not only the communication link via the working communication path but also the communication link via the backup communication path A failure also occurs. Accordingly, in that case, a failure occurs in all communications, so retransmission control is performed in communication links via all communication paths. As described above, in the technique of Patent Document 2, when all data transmitted by switching the communication path is lost for a period sufficiently longer than the transmission interval of intermittently transmitted data, the communication delay cannot be shortened. .
  • One of the objects of the present invention is communication that can reduce communication delay even when all data transmitted by switching the communication path is lost for a period sufficiently longer than the transmission interval of intermittently transmitted data. It is to provide a control device and the like.
  • the communication control device includes a management unit that maintains a plurality of connections to a transmission destination device, and a communication to the transmission destination device that is performed by a data transmission unit via a selected connection selected from the plurality of connections.
  • the data transmission unit and The switching notification is detected within a predetermined period based on the temporary disconnection notification from the switching detection means that detects switching of the communication path with the transmission destination device and detects the completion of the switching. If received, the new selected connection is selected from the plurality of connections other than the selected connection, and the selected connection identifier is selected. And a changing means for transmitting to said data transmission means.
  • the communication control method maintains a plurality of connections to a destination device, and communication with the destination device performed by a data transmission unit via a selected connection selected from the plurality of connections is interrupted.
  • the data transmission unit and the transmission destination 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 detects the completion of the switching when the switching is detected. , Selecting a new selected connection from the plurality of connections other than the selected connection, and specifying an identifier of the selected selected connection as the data To send to the signal means.
  • the recording medium includes: a management unit that maintains a plurality of connections to a transmission destination device; and a transmission destination device that a data transmission unit performs via a selected connection selected from the plurality of connections.
  • the data transmission The switching is detected within a predetermined period based on the temporary disconnection notification from the switching detection unit that detects switching of the communication path between the unit and the destination device and transmits a switching notification when the completion of the switching is detected.
  • a new selected connection is selected from the plurality of connections other than the selected connection, and the selected selection connection is selected.
  • the present invention can also be realized by a communication control program stored in the recording medium.
  • FIG. 1 is a diagram illustrating an example of a configuration of a communication system 10 according to the first and second embodiments of the present invention.
  • FIG. 2 is a flowchart illustrating an example of an operation of detecting the occurrence of a temporary disconnection in the second communication device 2 of the first and second embodiments.
  • FIG. 3 is a flowchart illustrating an example of an operation when the communication control device 3 according to the first and second embodiments receives a temporary disconnection notification.
  • FIG. 4 is a block diagram illustrating an example of a configuration of a communication system 10B according to the third exemplary embodiment of the present invention.
  • FIG. 5 is a block diagram illustrating an example of the operation of the second communication device 2B according to the third embodiment.
  • FIG. 6 is a flowchart illustrating an example of the operation of the communication control device 3B of the third embodiment.
  • FIG. 7 is a block diagram illustrating an example of a configuration of a communication system 10A according to a modification of the first embodiment.
  • FIG. 8 is a diagram illustrating an example of the configuration of the communication control device 3C according to the fourth embodiment of the present invention.
  • FIG. 9 is a diagram illustrating an example of a configuration of a computer 1000 that can realize the communication control device and the communication device according to the present invention.
  • FIG. 1 is a diagram illustrating an example of a configuration of a communication system 10 according to the present embodiment.
  • a communication system 10 includes a first communication device 1 and a second communication device 2.
  • the 1st communication apparatus 1 and the 2nd communication apparatus 2 are connected so that communication is possible.
  • the communication path connecting the first communication device 1 and the second communication device 2 is switched irregularly, for example.
  • the first communication device 1 and the second communication device 2 are connected by wireless communication via a base station. Then, when a handover is performed due to movement of the first communication device 1 or the second communication device 2, the communication path that connects the first communication device 1 and the second communication device 2 is switched.
  • the first communication device 1 and the second communication device 2 perform connection-type communication, which is communication performed in a state where a connection that is a virtual dedicated communication path is established.
  • An example of connection-type communication performed between the first communication device 1 and the second communication device 2 is communication using TCP. Communication performed between the first communication device 1 and the second communication device 2 may not be communication by TCP.
  • the first communication device 1 is also referred to as a transmission device.
  • the second communication device 2 is also expressed as a transmission destination device.
  • the first communication device 1 includes a data transmission unit 101 and a communication control device 3.
  • the communication control device 3 includes a management unit 102, a changing unit 103, a notification receiving unit 104, and a switching detection unit 105.
  • the management unit 102, the change unit 103, the notification reception unit 104, and the switching detection unit 105 may be components of the first communication device 1.
  • the management unit 102, the change unit 103, the notification reception unit 104, and the switch detection unit 105 may operate as the communication control device 3.
  • the second communication device 2 includes a data reception unit 201, a determination unit 202, and a notification transmission unit 203.
  • the data transmission unit 101 transmits data at a predetermined timing.
  • the data transmission unit 101 may transmit data at a predetermined interval.
  • the management unit 102 manages a plurality of connections established in the first communication device 1.
  • the management unit 102 manages a plurality of connections including connections used for data transmission.
  • the management of the connection is, for example, performing a process for maintaining the established state so that the connection is not disconnected.
  • the data reception unit 201 receives data transmitted by the data transmission unit 101 of the first communication device 1.
  • the determination unit 202 When the time interval at which the data reception unit 201 receives data exceeds a predetermined threshold, the determination unit 202 has a “communication channel temporary disconnection” in which the communication channel is temporarily disconnected. Is determined. In the description of this embodiment and other embodiments, the communication path temporary interruption is also referred to as “temporary interruption”.
  • the notification transmission unit 203 sends a “communication path temporary disconnection notification” that is a notification indicating that the communication path temporary disconnection has occurred. Transmit to the first communication device 1.
  • the communication path temporary interruption notification is also referred to as “temporary interruption notification”.
  • the notification reception unit 104 receives a communication path temporary disconnection notification from the notification transmission unit 203 of the second communication device 2.
  • the switching detection unit 105 monitors the switching of the communication path. For example, the switching detection unit 105 may always monitor switching of the communication path. Then, the switching detection unit 105 detects the completion of switching of the communication path.
  • the change unit 103 is used for data transmission from a plurality of connections managed by the management unit 102 when the notification reception unit 104 receives the temporary disconnection notification and the switching detection unit 105 detects completion of switching of the communication path. Select a connection that is not connected. In the description of the present embodiment, the selected connection is also referred to as a selected connection.
  • the changing unit 103 designates the selected connection as a connection used for data transmission. For example, the changing unit 103 may designate the selected connection as a connection used for data transmission by transmitting the identifier of the selected connection to the data transmitting unit 101. In this case, for example, when receiving the connection identifier, the data transmission unit 101 may be designed to change the connection used for data transmission to the connection specified by the received identifier. In the following description, the connection used by the data transmission unit 101 for data transmission is also referred to as a transmission connection.
  • FIG. 2 is a flowchart showing an example of an operation of detecting the occurrence of a temporary disconnection in the second communication device 2 of the present embodiment.
  • the data transmission unit 101 of the first communication device 1 transmits data.
  • the data transmission unit 101 may transmit data by any transmission method based on TCP, for example.
  • the data transmission unit 101 transmits data at predetermined time intervals.
  • the data receiving unit 201 receives the data transmitted by the data transmitting unit 101 (step S102).
  • a method for receiving data by the data receiving unit 201 may be any method that can receive data transmitted by the data transmitting unit 101. For example, when the data transmission unit 101 transmits data based on TCP, the data reception unit 201 may receive the transmitted data similarly based on TCP. The data receiving unit 201 may transmit the time when the data is received to the determination unit 202. When the data receiving unit 201 receives the data, for example, the data receiving unit 201 may transmit a notification indicating that the data has been received to the determining unit 202.
  • the determination unit 202 may regard the time when the notification indicating that the data has been received is received as the time when the data reception unit 201 receives the data.
  • the communication control device 3 performs the operation of step S103.
  • the determination unit 202 determines whether or not the data reception interval, which is the time interval at which the data reception unit 201 receives the data, exceeds a threshold (step S103).
  • the determination unit 202 only needs to store the time when the data reception unit 201 last received data. And the determination part 202 should just specify the time which passed since the data reception part 201 received the data last.
  • the determination unit 202 may determine that the data reception interval exceeds the threshold. As described above, when it is determined that the data reception interval exceeds the threshold, the determination unit 202 determines that a temporary interruption has occurred.
  • the determination unit 202 may determine that the data reception interval does not exceed the threshold. If it is determined that the data reception interval does not exceed the threshold value, the determination unit 202 determines that no interruption has occurred. The determination unit 202 may determine whether the data reception interval exceeds a predetermined threshold based on the stored time and the time when the data reception unit 201 newly receives data. The above threshold value may be given in advance. Alternatively, for example, the determination unit 202 may determine the above-described threshold based on an interval at which the data reception unit 201 receives data within a predetermined period.
  • the second communication device 2 next performs the operation of step S101.
  • the data receiving unit 201 waits for the next data transmitted from the first communication device 1.
  • step S104 the notification transmission unit 203 transmits a temporary disconnection notification to the notification reception unit 104 (step S104). Then, the second communication device 2 ends the operation shown in FIG. After the operation in step S104, the operation of the second communication device 2 may return to step S102.
  • FIG. 3 is a flowchart showing an example of the operation when the communication control device 3 of the present embodiment receives a temporary disconnection notification.
  • the communication control device 3 performs the operation shown in FIG.
  • the switching detection unit 105 of the communication control device 3 monitors a communication path used in communication between the first communication device 1 and the second communication device 2. When the switching of the communication path used in the communication between the first communication device 1 and the second communication device 2 occurs, the switching detection unit 105 detects the completion of the switching.
  • the notification reception unit 104 receives the temporary suspension notification (step S111).
  • the notification receiving unit 104 may transmit the received temporary disconnection notification to the changing unit 103.
  • the changing unit 103 that has received the temporary suspension notification identifies the time based on the temporary suspension notification, and sets the identified time as the reference time.
  • the time based on the temporary suspension notification may be, for example, the time when the changing unit 103 receives the temporary suspension notification.
  • the time based on the temporary disconnection notification may be, for example, the time when the notification receiving unit 104 receives the temporary disconnection notification.
  • the time based on the temporary suspension notification may be the time at which the temporary suspension notification is transmitted. In that case, the notification transmission unit 203 may transmit the transmission time of the temporary suspension notification to the notification reception unit 104 in addition to the temporary suspension notification.
  • the time based on the temporary disconnection notification may be the time when the determination unit 202 determines that the temporary disconnection has occurred.
  • the determination unit 202 may transmit a data value representing the time at which it was determined that a temporary interruption has occurred to the notification transmission unit 203. Then, in addition to the temporary disconnection notification, the notification transmission unit 203 may transmit a data value representing the time when it is determined that the temporary disconnection has occurred to the notification reception unit 104.
  • the changing unit 103 sets a detection period based on the reference time. Then, the changing unit 103 determines whether or not switching of the communication path is detected within the detection period (step S112).
  • the detection period is a period determined based on the reference time, for example.
  • the length of the detection period may be a period of a predetermined length.
  • the changing unit 103 may set, for example, a reference time or a time that is a predetermined time before the reference time as the start time of the detection period. And the change part 103 should just set the time after predetermined time rather than reference
  • the length of the detection period may not be determined.
  • the changing unit 103 may set, for example, a reference time or a time that is a predetermined time before the reference time as the start time of the detection period.
  • the changing unit 103 may set the maximum value that can be set as the time as the end time of the detection period.
  • the changing unit 103 may not determine the end time of the detection period. Since the reference time is a time based on the temporary suspension notification, the detection period can be regarded as a period determined based on the temporary suspension notification.
  • switching of the communication path also occurs, for example, when the wireless base station that relays wireless communication is switched.
  • a device that communicates by radio has information that identifies a radio base station that relays communication.
  • the switching detection unit 105 may detect the switching of the communication path by detecting a change of a wireless base station that relays wireless communication performed by the first communication device 1.
  • the switching detection unit 105 may detect the switching of the communication path by a method according to the type of the communication line to which the first communication device 1 is connected.
  • step S112 If the switching of the communication path is not detected within the detection period (No in step S112), the communication control device 3 next performs the operation of step S111. That is, the notification receiving unit 104 waits for a temporary disconnection notification to be transmitted next.
  • the communication control device 3 When the end time is set in the detection period corresponding to the reception of the temporary disconnection notification and the switching of the communication path is not detected within the detection period, the communication control device 3 performs processing based on the temporary disconnection notification. Absent. That is, when the switching of the communication path is not detected within the detection period corresponding to reception of the temporary disconnection notification, the communication control device 3 ignores the temporary disconnection notification.
  • the changing unit 103 When switching of the communication path is detected within the detection period (Yes in step S112), the changing unit 103 is a transmission connection that is a connection used by the data transmitting unit 101 to transmit data to the second communication device 2. Is changed (step S113). And the communication control apparatus 3 complete
  • the change unit 103 waits for detection of switching of the communication path by the switching detection unit 105. In that case, the change unit 103 switches the communication path whenever the switching of the communication path is detected whenever the temporary disconnection notification is received.
  • This embodiment has an effect that communication delay can be reduced even when all data is lost due to switching of the communication path for a period sufficiently longer than the transmission interval of intermittently transmitted data.
  • the change unit 103 changes the transmission connection after the switching detection unit 105 detects the completion of the switching of the communication path. is there.
  • the transmitted data is lost in the connection in which the data is transmitted before the switching of the communication path is completed, so the order control is performed.
  • the transmission connection is switched before the switching of the communication path is completed, data is transmitted through the transmission connection after the switching, and all the transmitted data is lost. Therefore, order control is also performed in the transmission connection after switching. If each of the plurality of connections is sequentially switched to the transmission connection before the switching of the communication path is completed, the order control is performed on all of the plurality of connections. Therefore, even if the switching of the communication path is completed, the sequence control is performed in all of the plurality of connections, so that further delay occurs in the communication.
  • the order control is performed except for the connection set as the transmission connection when the switching of the communication path is performed. Not implemented. Therefore, the order control is not performed on the changed transmission connection after the completion of the switching of the communication path is detected. Therefore, there is no communication delay caused by the order control. Therefore, in this embodiment, communication delay can be shortened.
  • FIG. 1 is a diagram illustrating a configuration of a communication system 10 according to the present embodiment.
  • the configuration of the communication system 10 according to the present embodiment is the same as the configuration of the communication system 10 according to the first embodiment. Below, it demonstrates focusing on the difference between this embodiment and 1st Embodiment.
  • the data transmission unit 101 transmits a transmission time that is a time at which the data is transmitted in addition to the data to be transmitted.
  • the data transmission unit 101 may add transmission time data that is data representing the transmission time of the data to the transmission data that is data to be transmitted. Then, the data transmission unit 101 may transmit the transmission data to which the transmission time data is added to the second communication device 2.
  • the data reception unit 201 of the second communication device 2 transmits the transmission time data added to the received transmission data to the determination unit 202.
  • the determination unit 202 stores the transmission time data added to the transmission data last received by the data reception unit 201.
  • the determination unit 202 determines whether the data reception interval exceeds a threshold, as in the determination unit 202 of the first embodiment.
  • the determination unit 202 stores the transmission time data transmitted in addition to the newly received transmission data as the last received transmission data.
  • the determination unit 202 transmits the stored transmission time data added to the last received transmission data to the notification transmission unit 203.
  • the notification transmission unit 203 transmits the transmission time data stored in the determination unit 202 in addition to the temporary disconnection notification. In that case, the notification transmission unit 203 may add transmission time data to the temporary disconnection notification. And the notification transmission part 203 should just transmit the temporary stop notification to which transmission time data was added.
  • the notification reception unit 104 receives transmission time data from the notification transmission unit 203 in addition to the temporary disconnection notification.
  • the notification receiving unit 104 only has to receive the temporary disconnection notification to which the transmission time data is added as described above.
  • the changing unit 103 sets the time represented by the transmission time data received by the notification receiving unit 104 as the start time of the detection period.
  • 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 ID (Identifier) assigned to each of the transmitted data, which can specify the order of transmission.
  • the transmission time data may be, for example, a data reception time that is a time when the data receiving unit 201 receives the data.
  • the changing unit 103 may hold, for example, the transmission time and sequence number of the data for which the transmission time is specified and the transmission interval in advance.
  • the transmission time of data for which the transmission time is specified and held by the changing unit 103 is referred to as a reference transmission time.
  • the sequence number of the data for which the transmission time is specified and held by the changing unit 103 is referred to as a reference sequence number.
  • the reference sequence number may be an initial value of the sequence number.
  • the reference transmission time may be a time at which data with an initial sequence number is transmitted.
  • the changing unit 103 may acquire the initial value of the sequence number, the transmission time of the data to which the sequence number that is the initial value, and the transmission interval are obtained from the data transmitting unit 101 in advance.
  • the changing unit 103 may specify the number of times data is transmitted after the reference time based on the difference between the sequence number received by the notification receiving unit 104 and the reference sequence number. Based on the number of times the data has been updated since the reference time and the transmission interval at which the data is transmitted, the changing unit 103 has transmitted the data to which the sequence number received by the notification receiving unit 104 is added from the reference time What is necessary is just to estimate the time elapsed until the time.
  • the changing unit 103 assigns the sequence number received by the notification receiving unit 104 based on the sequence number received by the notification receiving unit 104 as the transmission time data, the reference transmission time and the reference sequence number, and the transmission interval. Estimate the time when the transmitted data was transmitted.
  • the notification transmitting unit 203 transmits a data value representing the reception time, which is the time when the data receiving unit 201 receives the data, as the transmission time data
  • the changing unit 103 is more than the time represented by the received transmission time data.
  • the time before the delay time may be estimated as the transmission time.
  • the delay time may be a representative value of the time required for data transmission from the first communication device 1 to the second communication device 2.
  • the representative value may be, for example, an average value, an intermediate value, or another statistical value derived experimentally.
  • FIG. 2 is a flowchart showing an example of an operation of detecting the occurrence of a temporary disconnection in the second communication device 2 of the present embodiment.
  • step S101 When the data is transmitted to the data receiving unit 201 (Yes in step S101), the data receiving unit 201 receives the data to which the transmission time data is added (step S102). When data is not transmitted to the data receiving unit 201 (No in step S101), the communication control device 3 next performs the operation of step S103.
  • step S103 The operation of the determination unit 202 in step S103 is the same as the operation in step S103 of the determination unit 202 of the first embodiment.
  • the determination unit 202 only needs to store the time when the data reception unit 201 last received data.
  • step S ⁇ b> 103 the determination unit 202 determines whether the data reception interval exceeds the threshold value by comparing the threshold value with the time elapsed since the data reception unit 201 last received the data. do it. Whether the data reception interval exceeds the threshold value is determined by comparing the threshold value with the time elapsed from the stored time to the time when the data receiving unit 201 newly received the data. It may be determined.
  • step S103 If the data reception interval does not exceed the predetermined threshold (No in step S103), the communication control device 3 next performs the operation of step S101. Then, the data receiving unit 201 continues to receive data.
  • the notification transmission unit 203 transmits transmission time data in addition to the temporary disconnection notification (step S104). ).
  • FIG. 3 is a flowchart showing an example of the operation when the communication control device 3 of the present embodiment receives a temporary disconnection notification.
  • the notification receiving unit 104 receives, for example, a temporary suspension notification and transmission time data added to the temporary suspension notification. (Step S111).
  • the switching detection unit 105 determines the detection period. First, the switch detection unit 105 identifies the time represented by the transmission time data received by the notification reception unit 104. The switch detection unit 105 sets the specified time as the start time of the detection period. The switching detection unit 105 determines the end time of the detection period according to a predetermined determination method. For example, the switching detection unit 105 may determine the end time of the detection period by any one of the methods for determining the end time of the detection period in the first embodiment.
  • step S112 When the switching detection unit 105 detects switching of the communication path within the detection period (Yes in step S112), the changing unit 103 changes the transmission connection in the same manner as the changing unit 103 of the first embodiment (step S113). ). If the switching detection unit 105 detects switching of the communication path within the detection period (No in step S112), the communication control device 3 next performs, for example, the operation of step S111.
  • This embodiment has the same effect as the first embodiment.
  • the reason is the same as the reason for the effect of the first embodiment.
  • This embodiment has a second effect that communication delay can be further reduced.
  • the change unit 103 changes the transmission connection when the switching of the communication path is detected in the detection period in which the transmission time of the last transmitted data or the estimated time of the transmission time is the start time. It is. Therefore, even when the fluctuation of the period during which all transmitted data is lost is large, the period can be specified more accurately. Therefore, the sequence control can be avoided more reliably, and the communication delay can be shortened. In addition, since the lost data can be accurately grasped, only the lost data can be transmitted through the changed transmission connection. Therefore, communication delay can be further reduced.
  • FIG. 4 is a block diagram illustrating an example of the configuration of the communication system 10B according to the present embodiment.
  • 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.
  • the first communication device 1B includes a data transmission unit 101 and a communication control device 3B.
  • the communication control device 3B includes a management unit 102, a change unit 103, a delivery confirmation reception unit 106, a determination unit 107, and a switching reception unit 108.
  • the second communication device 2B includes a data reception unit 201, a delivery confirmation transmission unit 204, a switching detection unit 205, and a switching transmission unit 206.
  • the data transmission unit 101 and the data reception unit 201 operate in the same manner as the data transmission unit 101 and the data reception unit 201 of the first embodiment, respectively.
  • the management unit 102 manages a plurality of connections established between the first communication device 1B and the second communication device 2B, as with the management unit 102 of the first embodiment.
  • the delivery confirmation transmission unit 204 transmits a delivery confirmation regarding the data to the first communication device 1B.
  • the delivery confirmation may be, for example, a predetermined data value or signal.
  • the delivery confirmation receiving unit 106 receives the delivery confirmation from the delivery confirmation transmitting unit 204 of the second communication device 2B. When the delivery confirmation is received, the delivery confirmation receiving unit 106 transmits, for example, the time when the delivery confirmation is received to the determination unit 107.
  • the determination unit 107 stores the time when the delivery confirmation receiving unit 106 last received the delivery confirmation.
  • the delivery confirmation receiving unit 106 receives the delivery confirmation based on the stored time and the newly received time.
  • the interval to be derived is derived.
  • the determination unit 107 determines whether the interval at which the delivery confirmation receiving unit 106 receives the delivery confirmation exceeds a predetermined threshold.
  • the judging unit 107 determines that a communication path temporary interruption has occurred.
  • the determination unit 107 transmits a temporary suspension notification to the change unit 103.
  • the switching detection unit 205 monitors switching of the communication path used for data transmission between the first communication device 1B and the second communication device 2B, as with the switching detection unit 105 of the first embodiment. To do. Then, the switching detection unit 205 detects the completion of switching of the communication path.
  • the switching transmission unit 206 transmits a switching notification to the first communication device 1B when the switching detection unit 205 detects the completion of switching of the communication path.
  • the switching notification may be, for example, a predetermined data value or signal.
  • the switch receiving unit 108 receives a switch notification from the second communication device 2B.
  • the change unit 103 receives a temporary disconnection notification from the determination unit 107.
  • the changing unit 103 sets the time at which the suspension notification is received as the reference time.
  • the change unit 103 may set the time at which the determination unit 107 determines that a communication path temporary interruption has occurred as the reference time. In that case, the changing unit 103 may receive the time when the determining unit 107 determines that the communication path temporary interruption has occurred from the determining unit 107.
  • the change part 103 sets a detection period based on reference
  • the switching receiving unit 108 receives a switching notification within the set detection period
  • the changing unit 103 changes the transmission connection in the same manner as the changing unit 103 of the first embodiment.
  • FIG. 5 is a block diagram illustrating an example of the operation of the second communication device 2B of the present embodiment.
  • the data transmission unit 101 of the first communication device 1B transmits data to the second communication device 2B.
  • the data receiving unit 201 receives data (step S201).
  • the delivery confirmation transmitting unit 204 transmits a delivery confirmation to the first communication device 1B (step S202).
  • the switching detection unit 205 monitors the switching of the communication path between the first communication device 1B and the second communication device 2B. Then, the switching detection unit 205 detects completion of switching of the communication path. If switching of the communication path is not detected by the switching detection unit 205 (No in step S203), the second communication device 2B next performs, for example, the operation of step S201. Then, the data receiving unit 201 waits until the next data is sent. When switching of the communication path is detected by the switching detection unit 205 (Yes in step S203), the switching detection unit 205 transmits a switching notification to the first communication device 1B (step S204).
  • FIG. 6 is a flowchart showing an example of the operation of the communication control device 3B of the present embodiment.
  • the data transmission unit 101 transmits data to the second communication device 2B.
  • the 2nd communication apparatus 2B which received data returns the delivery confirmation of the received data to the 1st communication apparatus 1B.
  • Step S211 When the data delivery confirmation is transmitted to the delivery confirmation receiving unit 106 (Yes in Step S211), the delivery confirmation receiving unit 106 receives the delivery confirmation from the second communication device 2B (Step S212). The delivery confirmation receiving unit 106 transmits the time when the delivery confirmation is received to the determination unit 107. When the data delivery confirmation is not transmitted to the delivery confirmation receiving unit 106 (No in step S211), the communication control device 3B next performs the operation of step S213.
  • the determination unit 107 stores the time when the delivery confirmation receiving unit 106 last received the delivery confirmation. For example, the determination unit 107 may specify the time that has elapsed since the time when the delivery confirmation receiving unit 106 last received the delivery confirmation. And the determination part 107 should just compare the time which passed since the time when the delivery confirmation receiving part 106 received the delivery confirmation last, and a predetermined threshold value. When the time elapsed from the time when the delivery confirmation receiving unit 106 last received the delivery confirmation exceeds the threshold, the determination unit 107 may determine that the reception interval of the delivery confirmation exceeds the threshold.
  • the determination unit 107 may determine that the delivery confirmation reception interval does not exceed the threshold.
  • the determination unit 107 receives a delivery confirmation newly received from the delivery confirmation reception unit 106, the determination unit 107 receives the delivery confirmation, which is the difference between the time when the delivery confirmation is received and the stored time when the delivery confirmation is received.
  • the interval may be derived.
  • the determination unit 107 may determine whether the reception interval of the derived delivery confirmation exceeds a predetermined threshold value.
  • the communication control device 3B next performs the operation of step S211.
  • the delivery confirmation receiving unit 106 waits until the next delivery confirmation is transmitted.
  • Step S214 the determination unit 107 determines that a communication path temporary interruption has occurred.
  • the changing unit 103 sets the detection period as described above. Then, the changing unit 103 determines whether or not switching of the communication path is detected within the detection period (step S215). For example, when the switching reception unit 108 receives a switching notification within the detection period, the changing unit 103 may determine that switching of the communication path has been detected within the detection period. For example, when the switching reception unit 108 does not receive the switching notification within the detection period, the changing unit 103 may determine that the switching of the communication path has not been detected within the detection period.
  • step S215 the communication control device 3B next performs, for example, the operation of step S211.
  • the changing unit 103 changes the transmission connection as in the first embodiment (step S216).
  • This embodiment has the same effects as those of the first embodiment even when the second communication device 2B that receives data cannot determine whether or not communication is temporarily interrupted.
  • the reason is that the delivery confirmation transmission unit 204 transmits a delivery confirmation to the first communication device 1B in response to the data reception by the data reception unit 201. This is because the changing unit 103 determines whether or not a communication interruption has occurred based on the reception confirmation reception interval transmitted by the delivery confirmation transmitting unit 204.
  • This embodiment further has the same effect as the first embodiment even when the first communication device 1B that transmits data cannot detect the completion of the switching of the communication path.
  • the switching transmission unit 206 transmits a switching notification to the first communication device 1B. Because. Then, the change unit 103 determines that the communication path has been switched within the detection period when the switching reception unit 108 receives the switching notification within the detection period.
  • the switching detection unit 205 may be included in a switching detection device that is not illustrated in FIGS. 1 and 4.
  • the switch detection unit 205 of the switch detection device may transmit a switch notification to the first communication device 1.
  • the communication control apparatus 3 should just further include the switch receiving part 108 similarly to the communication control apparatus 3B of 3rd Embodiment.
  • the switch detection unit 205 of the switch detection device may transmit a switch notification to the first communication device 1B.
  • the communication control device 3 is included in the first communication device 1.
  • the communication control device 3 may be included in the second communication device 2.
  • some of the components of the communication control device 3 may be included in the first communication device 1.
  • the component of the communication control apparatus 3 except the component contained in the 1st communication apparatus 1 may be contained in the 2nd communication apparatus 2.
  • the communication control device 3B is included in the first communication device 1B.
  • the communication control device 3B may be included in the second communication device 2B.
  • some of the components of the communication control device 3B may be included in the first communication device 1B.
  • the component of the communication control apparatus 3B except the component contained in the 1st communication apparatus 1B may be contained in the 2nd communication apparatus 2B.
  • the second communication device 2 may include the management unit 102 and the change unit 103 instead of the first communication device 1. In that case, the notification transmission unit 203 and the notification reception unit 104 are not necessary. And the 1st communication apparatus 1 should just contain the below-mentioned switching transmission part 109. FIG. And the 2nd communication apparatus 2 should just contain the switching receiving part 207 mentioned later.
  • the switching detection unit 105 detects completion of switching of the communication path
  • the switching transmission unit 109 transmits a switching notification indicating that the switching of the communication path is completed.
  • the switch receiving unit 207 receives the switch notification transmitted by the switch transmitting unit 109.
  • the change unit 103 included in the second communication device 2 newly creates a transmission connection when the switch transmission unit 109 receives a switch notification within the detection period set in the same manner as the change unit 103 of the first embodiment. Decide which connection to use.
  • the second communication device 2 may further include a change instruction unit 208 that transmits an instruction to use the determined transmission connection for transmission to the first communication device 1.
  • the data transmission unit 101 may change the transmission connection in accordance with the instruction received from the change instruction unit 208.
  • FIG. 7 is a block diagram illustrating an example of a configuration of a communication system 10A according to a modification of the first embodiment.
  • the second communication device 2A includes the communication control device 3A.
  • the first communication device 1A includes a data transmission unit 101, a switching detection unit 105, and a switching transmission unit 109.
  • the second communication device 2A includes a data receiving unit 201 and a communication control device 3A.
  • the communication control device 3A includes a management unit 102, a change unit 103, a determination unit 202, a switching reception unit 207, and a change instruction unit 208.
  • the notification transmission unit 203 may transmit the temporary interruption notification a plurality of times within a predetermined transmission period instead of once.
  • the transmission period may be a fixed period determined in advance.
  • the transmission period may be a period until the data receiving unit 201 receives data after the determining unit 202 determines that a communication path temporary interruption has occurred.
  • the transmission period is a statistical amount derived from a round trip delay time between the first communication device 1 and the second communication device 2 measured in advance or from the round trip delay time measured in the past. May be.
  • the statistic is, for example, an average value, an intermediate value, or a median value.
  • the notification transmission unit 203 may include an identifier that identifies the determination of the occurrence of the communication path temporary disconnection based on the temporary disconnection notification. .
  • the delivery confirmation receiving unit 106 detects delivery confirmation based on the lower-layer communication protocol. May be.
  • the first communication device 1B may not include the delivery confirmation receiving unit 106.
  • the second communication device 2 may not include the delivery confirmation transmission unit 204.
  • the 1st communication apparatus 1 may contain the delivery confirmation part which detects the delivery confirmation in the lower layer communication protocol in which delivery confirmation is performed.
  • TCP is an example of a communication protocol in which delivery confirmation is performed as described above.
  • the first communication device 1 and the second communication device 2 are communication terminals having a central processing unit, a memory, a storage device, and a network connection function.
  • the first communication device 1 is, for example, a portable communication terminal device connected via a base station to a mobile network that is communicably connected to the Internet.
  • the first communication device 1 moves due to the movement of the user who holds the first communication device 1.
  • the base station to which the first communication device 1 is connected is switched.
  • the switching detection unit 105 detects switching of the base station to which the first communication device 1 is connected in the mobile network as switching of the communication path.
  • the second communication device 2 is, for example, a server disposed on the Internet.
  • the second communication device 2 does not move.
  • the second communication device 2 does not detect switching of the communication network.
  • the first communication device 1 and the second communication device 2 maintain two TCP connections that connect each other so that they can communicate with each other. Data transfer is directly performed between the first communication device 1 and the second communication device 2 using a TCP connection.
  • TCP connection A one of those two TCP connections
  • TCP connection B the other one of the two TCP connections
  • the first communication device 1 continues to transmit data to the second communication device 2 using the TCP connection A at intervals of, for example, 100 milliseconds.
  • the first communication device 1 performs connection management processing in order to maintain a state in which a TCP connection B that is not used for data transmission is established.
  • the first communication device 1 transmits a keep alive message using a TCP connection, for example, every 300 milliseconds.
  • the keep alive message is not data intended to exchange data between communication devices, but data intended to maintain a connection established state.
  • the second communication device 2 is set to determine that a communication interruption, which is a state in which the communication path is temporarily disconnected, occurs when the data reception interval exceeds 5 seconds. For example, the data (n + 1) as the (n + 1) th data arrives at the second communication device 2 even after 5 seconds have elapsed since the second communication device 2 received the data n as the nth data. If not, the second communication device 2 determines that a communication path temporary interruption has occurred. If the second communication device 2 determines that a communication path temporary interruption has occurred, the second communication apparatus 2 transmits, for example, text data “Ichijidan” to the first communication apparatus 1 as a temporary interruption notification.
  • the temporary disconnection notification is not limited to the text data described above.
  • the temporary interruption notification may be data determined in advance.
  • the first communication device 1 is set to change the transmission connection when, for example, the difference between the time when the temporary disconnection notification is received and the time when the completion of the switching of the communication path is detected is within one second. Yes. For example, when the first communication device 1 detects the completion of the switching of the communication channel and receives a temporary disconnection notification 100 milliseconds after the detection, the first communication device 1 uses the TCP connection B instead of the TCP connection A as the transmission connection. Decide to do.
  • 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.
  • the first communication device 1B is a server arranged on the Internet.
  • the first communication device 1B does not move.
  • the 1st communication apparatus 1B cannot detect switching of a communication path.
  • the second communication device 2B is a portable communication terminal device connected via a base station to a mobile network that is communicably connected to the Internet. As the second communication device 2B moves, the base station of the mobile network to which the second communication device 2B is connected is switched. The second communication device 2B detects the switching of the mobile network base station as the switching of the communication path.
  • TCP connections are maintained between the first communication device 1B and the second communication device 2B.
  • Data transfer between the first communication device 1B and the second communication device 2B is performed directly via a TCP connection.
  • TCP connection A one of these two TCP connections
  • TCP connection B The other of the two TCP connections
  • the first communication device 1B continues to transmit data to the second communication device 2B using the TCP connection A at predetermined intervals.
  • the predetermined interval is 100 milliseconds.
  • the second communication device 2B receives, for example, data 1 as the first data from the first communication device 1B
  • the second communication device 2B displays a delivery confirmation 1 indicating that the data 1 has been delivered to the first communication device 1B.
  • Reply to The first communication device 1B receives the returned delivery confirmation 1.
  • the data transmission and the delivery confirmation reply are performed for the data after the data 2 representing the second data.
  • the first communication device 1B performs connection management processing in order to maintain a state in which the TCP connection B that is not used for data transmission is established. As the connection management process, the first communication device 1B transmits a keep-alive message to the second communication device 2B using the TCP connection B every 300 milliseconds, for example.
  • the first communication device 1B receives the data (n + 1) th data (n + 1) transmitted in the same manner within a predetermined time after receiving the delivery confirmation n of the data n which is the nth data being transmitted ( If the delivery confirmation (n + 1) of (n + 1) does not arrive, it is determined that a communication path temporary interruption has occurred.
  • the predetermined time is, for example, 5 seconds. In that case, if the first communication apparatus 1B has not received the delivery confirmation (n + 1) of the data (n + 1) even after 5 seconds have elapsed after receiving the delivery confirmation n of the data n, the communication path is temporarily interrupted. It is determined that it has occurred.
  • the second communication device 2B When the second communication device 2B detects completion of 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 “Tsushirinkokire”.
  • the switching notification may be data determined in advance.
  • the first communication device 1B changes the transmission connection when, for example, the difference between the time when it is determined that the communication path is temporarily interrupted and the time when the switching notification is received is within a predetermined time.
  • the predetermined time is, for example, 1 second.
  • the first communication device 1B determines TCP connection B that is not a transmission connection as a new transmission connection. That is, the first communication device 1B determines to use the TCP connection B in order to transmit data.
  • FIG. 8 is a diagram illustrating an example of the configuration of the communication control device 3C according to the present embodiment.
  • the communication control device 3 ⁇ / b> C of the present embodiment includes a management unit 102 and a change unit 103.
  • the management unit 102 maintains a plurality of connections to the transmission destination device.
  • the changing unit 103 receives a switching notification from the switching detection unit 105 within a predetermined period based on the temporary disconnection notification. Select a new selected connection from the connections. Then, the change unit 103 transmits the selected connection identifier to the data transmission unit 101.
  • the determination unit 202 detects a temporary interruption that is a state where communication with the transmission destination device performed by the data transmission unit 101 via a selected connection selected from a plurality of connections is interrupted, and responds to detecting the temporary interruption Send a suspension notice.
  • the switch detection unit 105 detects the switching of the communication path between the data transmission unit 101 and the transmission destination device, and transmits a switch notification when the completion of the switch is detected.
  • This embodiment has the same effect as the first embodiment.
  • the reason is the same as the reason for the effect of the first embodiment.
  • the communication apparatus can be realized by a computer and a program for controlling the computer, dedicated hardware, or a combination of a program for controlling the computer and the computer and dedicated hardware.
  • the communication device includes a first communication device 1, a first communication device 1A, a first communication device 1B, a second communication device 2, a second communication device 2A, and a second communication.
  • FIG. 9 is a diagram illustrating an example of a configuration of a computer 1000 that can realize the communication apparatus according to the embodiment of the present invention.
  • a computer 1000 includes a processor 1001, a memory 1002, a storage device 1003, and an I / O (Input / Output) interface 1004.
  • the computer 1000 can access the recording medium 1005.
  • the memory 1002 and the storage device 1003 are storage devices such as a RAM (Random Access Memory) and a hard disk, for example.
  • the recording medium 1005 is, for example, a storage device such as a RAM or a hard disk, a ROM (Read Only Memory), or a portable recording medium.
  • the storage device 1003 may be the recording medium 1005.
  • the processor 1001 can read and write data and programs from and to the memory 1002 and the storage device 1003.
  • the processor 1001 can access, for example, other devices via the I / O interface 1004.
  • the processor 1001 can access the recording medium 1005.
  • the recording medium 1005 stores a program that causes the computer 1000 to operate as one of the communication apparatuses according to the embodiment of the present invention.
  • the processor 1001 loads a program stored in the recording medium 1005 to cause the computer 1000 to operate as one of the communication apparatuses according to the embodiment of the present invention. Then, when the processor 1001 executes the program loaded in the memory 1002, the computer 1000 operates as one of the communication apparatuses according to the embodiment of the present invention.
  • the units included in the following first group include, for example, a dedicated program that can be read from a recording medium 1005 that stores the program into the memory 1002 and that can realize the function of each unit, and a processor 1001 that executes the program. Can be realized.
  • the units included in the following second group include, for example, a dedicated program that can be read from a recording medium 1005 that stores the program into the memory 1002 and that can realize the function of each unit, and a processor 1001 that executes the program. Can be realized.
  • the first group includes a data transmission unit 101, a management unit 102, a change unit 103, a notification reception unit 104, a switching detection unit 105, a delivery confirmation reception unit 106, a determination unit 107, a switching reception unit 108, and a switching transmission unit 109. It is.
  • the second group includes a data reception unit 201, a determination unit 202, a notification transmission unit 203, a delivery confirmation transmission unit 204, a switching detection unit 205, a switching transmission unit 206, a switching reception unit 207, and a change instruction unit 208.
  • a part or all of the parts included in the first group and the part included in the second group can be realized by a dedicated circuit that realizes the function of each part.
  • (Appendix 1) Management means for maintaining a plurality of connections to the destination device; A temporary disconnection is detected in response to detecting a temporary disconnection in a state where communication with the transmission destination device performed by the data transmission unit via the selected connection selected from the plurality of connections is interrupted. In addition to receiving the temporary suspension notification from the determination means for transmitting Within a predetermined period based on the temporary disconnection notification from the switching detection unit that detects switching of the communication path between the data transmission unit and the transmission destination device and transmits a switching notification when the 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 selected connection to the data transmitting means;
  • a communication control device comprising:
  • the data transmission means transmits the data in association with a transmission time of the data
  • the determination means transmits the transmission time associated with the data transmitted last before the occurrence of the temporary disconnection in association with the temporary disconnection notification
  • the communication control device according to claim 1, wherein the changing unit sets a transmission time associated with the temporary disconnection notification to a start time of the predetermined period.
  • the data transmission means transmits the data at a predetermined interval, The communication control apparatus according to any one of appendices 1 to 3, wherein the determination unit determines the occurrence of the temporary disconnection when a magnitude of a deviation of the interval for receiving the data from the predetermined interval exceeds a predetermined threshold.
  • the start time of the predetermined period is a time that is a first predetermined time before a fixed time that is a time based on the temporary disconnection notification, or a last transmission time of the data before the occurrence of the temporary disconnection,
  • the communication control according to any one of appendices 1 to 4, wherein an end time of the predetermined period is a time after a second predetermined time from a fixed time that is a time based on the temporary suspension notification, or a reception time of the switching notification. apparatus.
  • a transmission device including the data transmission means;
  • the destination device including data receiving means for notifying the determination means of reception of the data in response to receiving the data;
  • the communication control device according to any one of appendices 1 to 5,
  • a communication system including:
  • the transmission device further includes the switching detection means and the communication control device,
  • the transmission destination device further includes the determination unit.
  • the communication system according to attachment 6.
  • the transmission destination device further includes a confirmation transmission unit that transmits a delivery confirmation indicating that the data reception unit has received the data, and the switching detection unit,
  • the transmission device further includes a confirmation reception unit that notifies the determination unit 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 unit.
  • Appendix 11 The communication control method according to appendix 9 or 10, wherein the temporary disconnection is detected based on a time elapsed since the transmission destination device last received data from the data transmission unit.
  • the start time of the predetermined period is a time that is a first predetermined time before a fixed time that is a time based on the temporary disconnection notification, or a last transmission time of the data before the occurrence of the temporary disconnection,
  • the communication control according to any one of appendices 9 to 12, wherein the end time of the predetermined period is a time that is a second predetermined time after a fixed time that is a time based on the temporary suspension notification, or a reception time of the switching notification.
  • (Appendix 14) Computer Management means for maintaining a plurality of connections to the destination device; A temporary disconnection is detected in response to detecting a temporary disconnection in a state where communication with the transmission destination device performed by the data transmission unit via the selected connection selected from the plurality of connections is interrupted.
  • a temporary suspension notification from the determination means for transmitting Within a predetermined period based on the temporary disconnection notification from the switching detection unit that detects switching of the communication path between the data transmission unit and the transmission destination device and transmits a switching notification when the 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 selected connection to the data transmitting means; Communication control program to be operated.
  • (Appendix 15) Computer
  • the data transmission means for transmitting the data in association with the transmission time of the data;
  • the determination means for transmitting the transmission time associated with the data transmitted last before the occurrence of the suspension in association with the suspension notification;
  • the changing means for setting a transmission time associated with the suspension notice to a start time of the predetermined period;
  • Appendix 16 Computer The determination means for detecting the temporary disconnection based on a time elapsed since the transmission destination device last received data from the data transmission means; The communication control program according to appendix 14 or 15, which is operated as described above.
  • (Appendix 17) Computer The data transmission means for transmitting the data at a predetermined interval; The determination means for determining the occurrence of the temporary disconnection when the magnitude of 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 as described above.
  • the start time of the predetermined period is a time that is a first predetermined time before a fixed time that is a time based on the temporary disconnection notification, or a last transmission time of the data before the occurrence of the temporary disconnection,
  • the communication control according to any one of appendices 14 to 17, wherein the end time of the predetermined period is a time after a second predetermined time from a fixed time that is a time based on the temporary suspension notification, or a reception time of the switching notification. program.
  • the present invention can be applied to systems that are severe in communication delay, such as voice and interactive services.

Abstract

Provided is a communication control apparatus that can shorten delays even if all pieces of data transmitted to communication paths are subjected to loss during a time sufficiently longer than an interval between transmissions of the data that are intermittently transmitted. The communication control apparatus comprises: a management means that maintains a plurality of connections to a transmission destination apparatus; and a changing means. A determination means detects a temporary disconnection, which is a state that a communication performed by a data transmission means via a selected connection that is selected from the plurality of connections has been interrupted, and transmits a notification of temporary disconnection upon detection of the temporary disconnection. The changing means receives, from the determination means, the notification of temporary disconnection. A switching detection means detects a communication path switching performed between the data transmission means and the transmission destination apparatus, and transmits a notification of switching upon detection of a completion of the switching. When having received, from the switching detection means, the notification of switching within a predetermined time period based on the notification of temporary disconnection, the changing means selects a new selected connection from the plurality of connections except the foregoing selected connection, and transmits the identifier of the new selected connection to the data transmission means.

Description

通信制御装置、通信制御方法及び通信制御プログラムを記憶する記録媒体Communication control apparatus, communication control method, and recording medium for storing communication control program
 本発明は、通信を制御する技術に関する。 The present invention relates to a technology for controlling communication.
 インターネットの通信において一般的に用いられているパケット交換方式による通信では、経路上でパケットロスや経路変更が発生する。そのため、パケット交換方式による通信では、送信したデータを、送信した順番で受信側の端末に届けるために、再送制御や順序制御が必要である。 In packet communication, which is generally used in Internet communication, packet loss and route change occur on the route. For this reason, in communication using the packet switching method, retransmission control and order control are required in order to deliver transmitted data to a receiving terminal in the order of transmission.
 再送制御では、例えば、送信側が受信側にデータが送達されたことを示す送達確認応答(ACK;Acknowledgement)を一定期間受信しない場合、そのデータの再送が開始される。あるいは、再送制御では、例えば、送信側が受信側にデータが送達されていないことを示す非送達確認応答(NACK;Negative Acknowledgement)を受信した場合、そのデータの再送が開始される。あるいは、再送制御では、例えば、受信側において順序が入れ替わって受信されたデータ数が一定以上貯まった場合、順序が入れ替わったデータの再送が開始される。 In retransmission control, for example, when a transmission acknowledgment (ACK; Acknowledgment) indicating that data has been delivered to the receiving side is not received for a certain period of time, retransmission of the data is started. Alternatively, in the retransmission control, for example, when the transmission side receives a non-delivery acknowledgment (NACK) indicating that data has not been delivered to the reception side, retransmission of the data is started. Alternatively, in the retransmission control, for example, when the number of received data is changed by a change in order on the receiving side, retransmission of the data whose order has been changed is started.
 例えばTCP(Transmission Control Protocol)では、送信側がセグメント送信後に一定期間ACKを受信しない場合にそのセグメントの再送が行われる。セグメントは、TCPにおける通信単位である。さらに、TCPでは、順序が入れ替わって受信されたセグメントの個数が閾値以上であることが重複ACKにより判明した場合にも、そのセグメントが生成されたデータの再送が行われる。その閾値の具体的な個数はOS(Operating System)や設定により異なる。 For example, in TCP (Transmission Control Protocol), when a transmission side does not receive an ACK for a certain period after transmitting a segment, the segment is retransmitted. A segment is a communication unit in TCP. Furthermore, in TCP, even when it is determined by duplicate ACK that the number of segments received by changing the order is equal to or greater than a threshold value, the data in which the segments are generated is retransmitted. The specific number of the threshold values varies depending on the OS (Operating System) and settings.
 順序制御では、受信側で送信順序と異なる順番でデータが受信された場合、受信されたデータが送信順に整列される。 In order control, when data is received on the receiving side in a different order from the transmission order, the received data are arranged in the order of transmission.
 例えば、TCPでは、送信されたセグメントが受信側に到着したときに、そのセグメントより先に送信されたセグメントが受信側に到着していない場合、到着していない先に送信されたセグメントの受信側への到着が待機される。そして、セグメントは、送信順に並べ替えられてから、上位のプロトコルやアプリケーションに渡される。 For example, in TCP, when a transmitted segment arrives at the receiving side, if a segment sent before that segment has not arrived at the receiving side, the receiving side of the segment sent before it has not arrived Waiting for arrival. Then, the segments are rearranged in the order of transmission and then passed to a higher-level protocol or application.
 通信路においてデータの損失(すなわち、ロス)が発生した場合、再送制御と再送待ちの順序制御とが行われる。再送制御と再送待ちの順序制御とによって、通信に大きな遅延が発生する。パケット交換方式による通信には、そのような遅延が発生するという問題がある。この順序制御を回避するデータ通信方法の一例が、特許文献1に記載されている。 When data loss (that is, loss) occurs in the communication path, retransmission control and order control for waiting for retransmission are performed. A large delay occurs in communication due to the retransmission control and the sequence control for waiting for retransmission. The communication using the packet switching method has a problem that such a delay occurs. An example of a data communication method that avoids this order control is described in Patent Document 1.
 特許文献1には、複数のコネクション毎に異なるデータを順番に送信することによって、順序制御を回避する巡回送信方式が記載されている。上述のように、特許文献1に記載されている巡回送信方式では、順序制御を回避することによって、低遅延な通信を実現する。この方式では、送信側の装置は、確立しておいた複数のコネクション毎に異なるデータを順番に送信する。受信側の装置は、実行中のアプリケーションプログラムにおいて、到着したデータを随時利用できる。特許文献1に記載の送信側の装置は、いずれかのコネクションを介して送信中である各セグメントに、送信の順番に従って付与された番号のうち、最大の番号と最小の番号との差を特定する。特定された差が所定値以上である場合、送信側の装置は、最も早く送信されたセグメントを、他のコネクションを介して再送する。従って、セグメントの送信中に偶発的なロスが発生したとしても、再送待ちの順序制御を回避することができる。 Patent Document 1 describes a cyclic transmission method that avoids order control by sequentially transmitting different data for each of a plurality of connections. As described above, in the cyclic transmission method described in Patent Document 1, low-delay communication is realized by avoiding order control. In this method, the transmitting apparatus transmits different data in order for each of the established connections. The receiving device can use the arrived data at any time in the application program being executed. The device on the transmission side described in Patent Document 1 identifies the difference between the largest number and the smallest number among the numbers assigned to each segment that is being transmitted via any connection according to the order of transmission. To do. When the identified difference is equal to or larger than the predetermined value, the transmitting side apparatus retransmits the earliest transmitted segment through another connection. Therefore, even if an accidental loss occurs during segment transmission, it is possible to avoid the order control for waiting for retransmission.
 特許文献2には、現用通信路と予備通信路とによって接続されている中継ノード及び着ノードが記載されている。現用通信路の通信リンクにおいて障害が発生した場合、中継ノードは、使用する通信路を予備通信路に切り替える。そして、中継ノードは、障害の発生から通信路の切替が完了するまでの間に送信されたデータを再送する。 Patent Document 2 describes a relay node and a destination node connected by an active communication path and a backup communication path. When a failure occurs in the communication link of the working communication path, the relay node switches the communication path to be used to the backup communication path. Then, the relay node retransmits the data transmitted between the occurrence of the failure and the completion of the switching of the communication path.
特開2010-056990号公報JP 2010-056990 A 特開平11-308233号公報Japanese Patent Laid-Open No. 11-308233
 例えば、モバイル網におけるハンドオーバなどの通信路の切替えによって、断続的に送信されるデータの送信間隔よりも十分長い期間にわたって、各通信路に送信されたデータが全てロスする状況が生じることがある。その場合、特許文献1に記載されているような、巡回送信方式に従ったデータの送信では、その期間において確立されている全てのコネクションにおいて再送制御が行われる。従って、上述の場合、特許文献1に記載されているような、巡回送信方式に従ったデータの通信では、順序制御を回避できない。従って、特許文献1の技術では、断続的に送信されるデータの送信間隔より十分長い期間、通信路の切り替えによって送信されたデータが全てロスする場合、通信の遅延を短縮することはできない。 For example, switching of communication paths such as handover in a mobile network may cause a situation in which all data transmitted to each communication path is lost over a period sufficiently longer than the transmission interval of intermittently transmitted data. In that case, in data transmission according to the cyclic transmission method as described in Patent Document 1, retransmission control is performed in all connections established in that period. Therefore, in the above case, the order control cannot be avoided in the data communication according to the cyclic transmission method as described in Patent Document 1. Therefore, in the technique of Patent Document 1, when all data transmitted by switching the communication path is lost for a period sufficiently longer than the transmission interval of intermittently transmitted data, the communication delay cannot be shortened.
 特許文献2に記載されている中継ノードは、2つの通信路のうち現用通信路に障害が発生した場合、使用する通信路を、他方の通信路である予備通信路に切り替える。従って、断続的に送信されるデータの送信間隔より十分長い期間内に送信されたデータが全てロスする状況が生じた場合、現用通信路を介する通信リンクだけでなく、予備通信路を介する通信リンクにおいても障害が発生する。従って、その場合、全ての通信において障害が発生するので、全ての通信路を介する通信リンクにおいて再送制御が行われる。このように、特許文献2の技術では、断続的に送信されるデータの送信間隔より十分長い期間、通信路の切り替えによって送信されたデータが全てロスする場合、通信の遅延を短縮することはできない。 The relay node described in Patent Document 2 switches a communication path to be used to a backup communication path, which is the other communication path, when a failure occurs in an active communication path out of two communication paths. Therefore, when a situation occurs in which all data transmitted within a period sufficiently longer than the transmission interval of intermittently transmitted data occurs, not only the communication link via the working communication path but also the communication link via the backup communication path A failure also occurs. Accordingly, in that case, a failure occurs in all communications, so retransmission control is performed in communication links via all communication paths. As described above, in the technique of Patent Document 2, when all data transmitted by switching the communication path is lost for a period sufficiently longer than the transmission interval of intermittently transmitted data, the communication delay cannot be shortened. .
 本発明の目的の一つは、断続的に送信されるデータの送信間隔より十分長い期間、通信路の切り替えによって送信されたデータが全てロスする場合でも、通信の遅延を短縮することができる通信制御装置等を提供することにある。 One of the objects of the present invention is communication that can reduce communication delay even when all data transmitted by switching the communication path is lost for a period sufficiently longer than the transmission interval of intermittently transmitted data. It is to provide a control device and the like.
 本発明の一態様に係る通信制御装置は、送信先装置に対する複数のコネクションを維持する管理手段と、前記複数のコネクションから選択された選択コネクションを介してデータ送信手段が行う前記送信先装置に対する通信が中断された状態である一時断を検出し、当該一時断を検出するのに応じて一時断通知を送信する判定手段から、前記一時断通知を受信するのに加えて、前記データ送信手段と前記送信先装置との間の通信路の切り替えを検出し、当該切り替えの完了が検出された場合に切替通知を送信する切替検知手段から、前記一時断通知に基づく所定期間内に前記切替通知を受信した場合、前記選択コネクション以外の前記複数のコネクションから新たな前記選択コネクションを選択し、選択した前記選択コネクションの識別子を前記データ送信手段に送信する変更手段と、を備える。 The communication control device according to an aspect of the present invention includes a management unit that maintains a plurality of connections to a transmission destination device, and a communication to the transmission destination device that is 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 unit that detects the temporary disconnection in a state in which the temporary interruption is detected and 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 means that detects switching of the communication path with the transmission destination device and detects the completion of the switching. If received, the new selected connection is selected from the plurality of connections other than the selected connection, and the selected connection identifier is selected. And a changing means for transmitting to said data transmission means.
 本発明の一態様に係る通信制御方法は、送信先装置に対する複数のコネクションを維持し、前記複数のコネクションから選択された選択コネクションを介してデータ送信手段が行う前記送信先装置に対する通信が中断された状態である一時断を検出し、当該一時断を検出するのに応じて一時断通知を送信する判定手段から、前記一時断通知を受信するのに加えて、前記データ送信手段と前記送信先装置との間の通信路の切り替えを検出し、当該切り替えの完了が検出された場合に切替通知を送信する切替検知手段から、前記一時断通知に基づく所定期間内に前記切替通知を受信した場合、前記選択コネクション以外の前記複数のコネクションから新たな前記選択コネクションを選択し、選択した前記選択コネクションの識別子を前記データ送信手段に送信する。 The communication control method according to an aspect of the present invention maintains a plurality of connections to a destination device, and communication with the destination device performed by a data transmission unit via a selected connection selected from the plurality of connections is interrupted. In addition to receiving the temporary disconnection notification from the determination unit that detects the temporary disconnection that is in a state and transmits the temporary disconnection notification in response to detecting the temporary disconnection, the data transmission unit and the transmission destination 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 detects the completion of the switching when the switching is detected. , Selecting a new selected connection from the plurality of connections other than the selected connection, and specifying an identifier of the selected selected connection as the data To send to the signal means.
 本発明の一態様に係る記録媒体は、コンピュータを、送信先装置に対する複数のコネクションを維持する管理手段と、前記複数のコネクションから選択された選択コネクションを介してデータ送信手段が行う前記送信先装置に対する通信が中断された状態である一時断を検出し、当該一時断を検出するのに応じて一時断通知を送信する判定手段から、前記一時断通知を受信するのに加えて、前記データ送信手段と前記送信先装置との間の通信路の切り替えを検出し、当該切り替えの完了が検出された場合に切替通知を送信する切替検知手段から、前記一時断通知に基づく所定期間内に前記切替通知を受信した場合、前記選択コネクション以外の前記複数のコネクションから新たな前記選択コネクションを選択し、選択した前記選択コネクションの識別子を前記データ送信手段に送信する変更手段と、して動作させる通信制御プログラムを記憶する。本発明は、その記録媒体が記憶する通信制御プログラムによっても実現可能である。 The recording medium according to one aspect of the present invention includes: a management unit that maintains a plurality of connections to a transmission destination device; and a transmission destination device that a data transmission unit performs via a selected connection selected from the plurality of connections. In addition to receiving the temporary disconnection notification from the determination unit that detects the temporary disconnection in a state in which communication with respect to the communication is interrupted and detects the temporary disconnection, the data transmission The switching is detected within a predetermined period based on the temporary disconnection notification from the switching detection unit that detects switching of the communication path between the unit and the destination device and transmits a switching notification when the completion of the switching is detected. When the notification is received, a new selected connection is selected from the plurality of connections other than the selected connection, and the selected selection connection is selected. Changing means for transmitting a down identifiers to said data transmission means, for storing a communication control program for operating in. The present invention can also be realized by a communication control program stored in the recording medium.
 断続的に送信されるデータの送信間隔より十分長い期間、通信路の切り替えによって送信されたデータが全てロスする場合でも、通信の遅延を短縮することができるという効果がある。 Even when all the data transmitted by switching the communication path is lost for a period sufficiently longer than the transmission interval of intermittently transmitted data, there is an effect that communication delay can be reduced.
図1は、本発明の第1、第2の実施形態の通信システム10の構成の例を表す図である。FIG. 1 is a diagram illustrating an example of a configuration of a communication system 10 according to the first and second embodiments of the present invention. 図2は、第1、第2の実施形態の第2の通信装置2の、一時断の発生を検出する動作の例を表すフローチャートである。FIG. 2 is a flowchart illustrating an example of an operation of detecting the occurrence of a temporary disconnection in the second communication device 2 of the first and second embodiments. 図3は、第1、第2の実施形態の通信制御装置3の、一時断通知を受信した場合の動作の例を表すフローチャートである。FIG. 3 is a flowchart illustrating an example of an operation when the communication control device 3 according to the first and second embodiments receives a temporary disconnection notification. 図4は、本発明の第3の実施形態の通信システム10Bの構成の例を表すブロック図である。FIG. 4 is a block diagram illustrating an example of a configuration of a communication system 10B according to the third exemplary embodiment of the present invention. 図5は、第3の実施形態の第2の通信装置2Bの動作の例を表すブロック図である。FIG. 5 is a block diagram illustrating an example of the operation of the second communication device 2B according to the third embodiment. 図6は、第3の実施形態の通信制御装置3Bの動作の例を表すフローチャートである。FIG. 6 is a flowchart illustrating an example of the operation of the communication control device 3B of the third embodiment. 図7は、第1の実施形態の変形例に係る通信システム10Aの構成の例を表すブロック図である。FIG. 7 is a block diagram illustrating an example of a configuration of a communication system 10A according to a modification of the first embodiment. 図8は、本発明の第4の本実施形態の通信制御装置3Cの構成の例を表す図である。FIG. 8 is a diagram illustrating an example of the configuration of the communication control device 3C according to the fourth embodiment of the present invention. 図9は、本発明に係る通信制御装置及び通信装置を実現することができる、コンピュータ1000の構成の一例を表す図である。FIG. 9 is a diagram illustrating an example of a configuration of a computer 1000 that can realize the communication control device and the communication device according to the present invention.
 次に、本発明の実施の形態について図面を参照して詳細に説明する。 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 a configuration of a communication system 10 according to the present embodiment. Referring to FIG. 1, a communication system 10 includes a first communication device 1 and a second communication device 2. The 1st communication apparatus 1 and the 2nd communication apparatus 2 are connected so that communication is possible. The communication path connecting the first communication device 1 and the second communication device 2 is switched irregularly, for example. For example, the first communication device 1 and the second communication device 2 are connected by wireless communication via a base station. Then, when a handover is performed due to movement of the first communication device 1 or the second communication device 2, the communication path that connects the first communication device 1 and the second communication device 2 is switched. The first communication device 1 and the second communication device 2 perform connection-type communication, which is communication performed in a state where a connection that is a virtual dedicated communication path is established. An example of connection-type communication performed between the first communication device 1 and the second communication device 2 is communication using TCP. Communication performed between the first communication device 1 and the second communication device 2 may not be communication by TCP. In the present embodiment and other embodiments of the present invention, the first communication device 1 is also referred to as a transmission device. Further, the second communication device 2 is also expressed as a transmission destination device.
 第1の通信装置1は、データ送信部101と、通信制御装置3とを含む。通信制御装置3は、管理部102と、変更部103と、通知受信部104と、切替検知部105とを含む。管理部102と、変更部103と、通知受信部104と、切替検知部105とは、第1の通信装置1の構成要素であってもよい。そして、管理部102と、変更部103と、通知受信部104と、切替検知部105とは、通信制御装置3として動作してもよい。 The first communication device 1 includes a data transmission unit 101 and a communication control device 3. The communication control device 3 includes a management unit 102, a changing unit 103, a notification receiving unit 104, and a switching detection unit 105. The management unit 102, the change unit 103, the notification reception unit 104, and the switching detection unit 105 may be components of the first communication device 1. The management unit 102, the change unit 103, the notification reception unit 104, and the switch detection unit 105 may operate as the communication control device 3.
 第2の通信装置2は、データ受信部201と、判定部202と、通知送信部203とを含む。 The second communication device 2 includes a data reception unit 201, a determination unit 202, and a notification transmission unit 203.
 データ送信部101は、あらかじめ決められたタイミングでデータを送信する。データ送信部101は、例えば、あらかじめ決められた一定の間隔で、データを送信してもよい。 The data transmission unit 101 transmits data at a predetermined timing. For example, the data transmission unit 101 may transmit data at a predetermined interval.
 管理部102は、第1の通信装置1において確立されている複数のコネクションを管理する。管理部102は、データ送信に使用しているコネクションを含めて、複数のコネクションを管理する。コネクションの管理は、例えば、そのコネクションが切断されないように、確立状態を維持する処理を行うことである。 The management unit 102 manages a plurality of connections established in the first communication device 1. The management unit 102 manages a plurality of connections including connections used for data transmission. The management of the connection is, for example, performing a process for maintaining the established state so that the connection is not disconnected.
 データ受信部201は、第1の通信装置1のデータ送信部101が送信するデータを受信する。 The data reception unit 201 receives data transmitted by the data transmission unit 101 of the first communication device 1.
 判定部202は、データ受信部201がデータを受信した時刻の間隔が、所定の閾値を超えた場合に、通信路が一時的に切断された状態である、「通信路一時断」が発生したと判定する。本実施形態及び他の実施形態の説明において、通信路一時断は、「一時断」とも表記される。 When the time interval at which the data reception unit 201 receives data exceeds a predetermined threshold, the determination unit 202 has a “communication channel temporary disconnection” in which the communication channel is temporarily disconnected. Is determined. In the description of this embodiment and other embodiments, the communication path temporary interruption is also referred to as “temporary interruption”.
 通知送信部203は、判定部202が、通信路一時断が発生したと判定した場合、通信路一時断が発生したと判定されたことを表す通知である、「通信路一時断通知」を、第1の通信装置1に送信する。本実施形態及び他の実施形態の説明において、通信路一時断通知を、「一時断通知」とも表記する。 When the determination unit 202 determines that a communication path temporary disconnection has occurred, the notification transmission unit 203 sends a “communication path temporary disconnection notification” that is a notification indicating that the communication path temporary disconnection has occurred. Transmit to the first communication device 1. In the description of this embodiment and other embodiments, the communication path temporary interruption notification is also referred to as “temporary interruption notification”.
 通知受信部104は第2の通信装置2の通知送信部203から、通信路一時断通知を受信する。 The notification reception unit 104 receives a communication path temporary disconnection notification from the notification transmission unit 203 of the second communication device 2.
 切替検知部105は、通信路の切り替えを監視する。切替検知部105は、例えば常時、通信路の切り替えを監視してもよい。そして、切替検知部105は、通信路の切り替えの完了を検知する。 The switching detection unit 105 monitors the switching of the communication path. For example, the switching detection unit 105 may always monitor switching of the communication path. Then, the switching detection unit 105 detects the completion of switching of the communication path.
 変更部103は、通知受信部104が一時断通知を受信し、切替検知部105が通信路の切り替えの完了を検知した場合、管理部102が管理する複数のコネクションから、データの送信に使用されていないコネクションを選択する。本実施形態の説明において、選択されたコネクションを、選択コネクションとも表記する。変更部103は、選択したコネクションを、データの送信に使用するコネクションに指定する。変更部103は、例えば、選択したコネクションの識別子をデータ送信部101に送信することによって、選択したコネクションを、データの送信に使用するコネクションに指定すればよい。その場合、データ送信部101は、例えば、コネクションの識別子を受信した場合、データの送信に使用するコネクションを、受信した識別子によって特定されるコネクションに変更するように設計されていればよい。以下の説明において、データ送信部101が、データの送信に使用するコネクションを、送信コネクションとも表記する。 The change unit 103 is used for data transmission from a plurality of connections managed by the management unit 102 when the notification reception unit 104 receives the temporary disconnection notification and the switching detection unit 105 detects completion of switching of the communication path. Select a connection that is not connected. In the description of the present embodiment, the selected connection is also referred to as a selected connection. The changing unit 103 designates the selected connection as a connection used for data transmission. For example, the changing unit 103 may designate the selected connection as a connection used for data transmission by transmitting the identifier of the selected connection to the data transmitting unit 101. In this case, for example, when receiving the connection identifier, the data transmission unit 101 may be designed to change the connection used for data transmission to the connection specified by the received identifier. In the following description, the connection used by the data transmission unit 101 for data transmission is also referred to as a transmission connection.
 次に、本実施形態の第1の通信装置1及び第2の通信装置2の動作について、図面を参照して詳細に説明する。 Next, operations of the first communication device 1 and the second communication device 2 of the present embodiment will be described in detail with reference to the drawings.
 図2は、本実施形態の第2の通信装置2の、一時断の発生を検出する動作の例を表すフローチャートである。図2に示す動作の開始時において、第1の通信装置1のデータ送信部101が、データを送信する。データ送信部101がデータを送信する方法は、例えば、TCPに基づく送信方法であればよい。データ送信部101は、例えば、あらかじめ定められた一定の時間間隔で、データを送信する。 FIG. 2 is a flowchart showing an example of an operation of detecting the occurrence of a temporary disconnection in the second communication device 2 of the present embodiment. At the start of the operation illustrated in FIG. 2, the data transmission unit 101 of the first communication device 1 transmits data. The data transmission unit 101 may transmit data by any transmission method based on TCP, for example. For example, the data transmission unit 101 transmits data at predetermined time intervals.
 データがデータ受信部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 data receiving unit 201 receives the data transmitted by the data transmitting unit 101 (step S102). A method for receiving data by the data receiving unit 201 may be any method that can receive data transmitted by the data transmitting unit 101. For example, when the data transmission unit 101 transmits data based on TCP, the data reception unit 201 may receive the transmitted data similarly based on TCP. The data receiving unit 201 may transmit the time when the data is received to the determination unit 202. When the data receiving unit 201 receives the data, for example, the data receiving unit 201 may transmit a notification indicating that the data has been received to the determining unit 202. In this case, the determination unit 202 may regard the time when the notification indicating that the data has been received is received as the time when the data reception unit 201 receives the data. When data is not transmitted (No in step S101), the communication control device 3 performs the operation of step S103.
 判定部202は、データ受信部201がデータを受信した時刻の間隔である、データの受信間隔が、閾値を超えているか否かを判定する(ステップS103)。判定部202は、データ受信部201が最後にデータを受信した時刻を記憶していればよい。そして、判定部202は、データ受信部201が最後にデータを受信した時刻から経過した時間を特定すればよい。データ受信部201が最後にデータを受信した時刻から経過した時間が閾値を越えている場合、判定部202は、データの受信間隔が閾値を越えていると判定すればよい。上述のように、データの受信間隔が閾値を越えていると判定した場合、判定部202は、一時断が発生したと判定する。データ受信部201が最後にデータを受信した時刻から経過した時間が閾値を越えていない場合、判定部202は、データの受信間隔が閾値を越えていないと判定すればよい。データの受信間隔が閾値を越えていないと判定した場合、判定部202は、一時断が発生していないと判定する。判定部202は、記憶している時刻と、データ受信部201が新たにデータを受信した時刻とに基づき、データの受信間隔が所定の閾値を超えているか否かを判定してもよい。上述の閾値は、あらかじめ与えられていてもよい。あるいは、例えば、判定部202が、所定期間内において、データ受信部201がデータを受信した間隔に基づき、上述の閾値を決定してもよい。 The determination unit 202 determines whether or not the data reception interval, which is the time interval at which the data reception unit 201 receives the data, exceeds a threshold (step S103). The determination unit 202 only needs to store the time when the data reception unit 201 last received data. And the determination part 202 should just specify the time which passed since the data reception part 201 received the data last. When the time elapsed from the time when the data reception unit 201 last received data exceeds the threshold, the determination unit 202 may determine that the data reception interval exceeds the threshold. As described above, when it is determined that the data reception interval exceeds the threshold, the determination unit 202 determines that a temporary interruption has occurred. If the time elapsed since the data reception unit 201 last received data does not exceed the threshold, the determination unit 202 may determine that the data reception interval does not exceed the threshold. If it is determined that the data reception interval does not exceed the threshold value, the determination unit 202 determines that no interruption has occurred. The determination unit 202 may determine whether the data reception interval exceeds a predetermined threshold based on the stored time and the time when the data reception unit 201 newly receives data. The above threshold value may be given in advance. Alternatively, for example, the determination unit 202 may determine the above-described threshold based on an interval at which the data reception unit 201 receives data within a predetermined period.
 データの受信間隔が所定の閾値を超えていない場合(ステップS103においてNo)、第2の通信装置2は、次に、ステップS101の動作を行う。データ受信部201は、第1の通信装置1から送信される次のデータを待つ。 If the data reception interval does not exceed the predetermined threshold (No in step S103), the second communication device 2 next performs the operation of step S101. The data receiving unit 201 waits for the next data transmitted from the first communication device 1.
 データの受信間隔が所定の閾値を超えている場合(ステップ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 notification transmission unit 203 transmits a temporary disconnection notification to the notification reception unit 104 (step S104). Then, the second communication device 2 ends the operation shown in FIG. After the operation in step S104, the operation of the second communication device 2 may return to step S102.
 次に、通信制御装置3の、一時断通知を受信した場合の動作について説明する。 Next, the operation of the communication control device 3 when receiving a temporary disconnection notification will be described.
 図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 when the communication control device 3 of the present embodiment receives a temporary disconnection notification. When the notification transmission unit 203 of the second communication device 2 transmits a temporary disconnection notification, the communication control device 3 performs the operation shown in FIG. Further, the switching detection unit 105 of the communication control device 3 monitors a communication path used in communication between the first communication device 1 and the second communication device 2. When the switching of the communication path used in the communication between the first communication device 1 and the second communication device 2 occurs, the switching detection unit 105 detects the completion of the switching.
 通知送信部203が一時断通知を送信した場合、通知受信部104は、一時断通知を受信する(ステップS111)。通知受信部104は、受信した一時断通知を、変更部103に送信すればよい。 When the notification transmission unit 203 transmits a temporary suspension notification, the notification reception unit 104 receives the temporary suspension notification (step S111). The notification receiving unit 104 may transmit the received temporary disconnection notification to the changing unit 103.
 一時断通知を受信した変更部103は、一時断通知に基づく時刻を特定し、特定した時刻を基準時刻にする。一時断通知に基づく時刻は、例えば、変更部103が一時断通知を受信した時刻であってもよい。一時断通知に基づく時刻は、例えば、通知受信部104が一時断通知を受信した時刻であってもよい。一時断通知に基づく時刻は、その一時断通知が送信された時刻であってもよい。その場合、通知送信部203は、一時断通知に加えて、その一時断通知の送信時刻を通知受信部104に送信すればよい。一時断通知に基づく時刻は、判定部202が一時断が生じたことを判定した時刻であってもよい。その場合、判定部202は一時断が生じたことを判定した時刻を表すデータ値を通知送信部203に送信すればよい。そして、通知送信部203は、一時断通知に加えて、一時断が生じたことが判定された時刻を表すデータ値を、通知受信部104に送信すればよい。 The changing unit 103 that has received the temporary suspension notification identifies the time based on the temporary suspension notification, and sets the identified time as the reference time. The time based on the temporary suspension notification may be, for example, the time when the changing unit 103 receives the temporary suspension notification. The time based on the temporary disconnection notification may be, for example, the time when the notification receiving unit 104 receives the temporary disconnection notification. The time based on the temporary suspension notification may be the time at which the temporary suspension notification is transmitted. In that case, the notification transmission unit 203 may transmit the transmission time of the temporary suspension notification to the notification reception unit 104 in addition to the temporary suspension notification. The time based on the temporary disconnection notification may be the time when the determination unit 202 determines that the temporary disconnection has occurred. In that case, the determination unit 202 may transmit a data value representing the time at which it was determined that a temporary interruption has occurred to the notification transmission unit 203. Then, in addition to the temporary disconnection notification, the notification transmission unit 203 may transmit a data value representing the time when it is determined that the temporary disconnection has occurred to the notification reception unit 104.
 さらに、変更部103は、基準時刻に基づき、検出期間を設定する。そして、変更部103は、検出期間内に、通信路の切り替えが検出されたか否かを判定する(ステップS112)。 Furthermore, the changing unit 103 sets a detection period based on the reference time. Then, the changing unit 103 determines whether or not switching of the communication path is detected within the detection period (step S112).
 検出期間は、例えば、基準時刻に基づいて定まる期間である。検出期間の長さは、あらかじめ定められた長さの期間であっていてもよい。その場合、変更部103は、例えば、基準時刻、又は、基準時刻よりも、あらかじめ定められた時間前の時刻を、検出期間の開始時刻として設定すればよい。そして、変更部103は、例えば、基準時刻、又は、基準時刻よりも、あらかじめ定められた時間後の時刻を、検出期間の終了時刻として設定すればよい。検出期間の長さは、定まっていなくてもよい。その場合、変更部103は、例えば、基準時刻、又は、基準時刻よりも、あらかじめ定められた時間前の時刻を、検出期間の開始時刻として設定すればよい。そして、変更部103は、時刻として設定可能な最大値を、検出期間の終了時刻にしてもよい。変更部103は、検出期間の終了時刻を定めなくてもよい。基準時刻は一時断通知に基づく時刻であるので、検出期間は一時断通知に基づいて定まる期間であると見なすことができる。 The detection period is a period determined based on the reference time, for example. The length of the detection period may be a period of a predetermined length. In this case, the changing unit 103 may set, for example, a reference time or a time that is a predetermined time before the reference time as the start time of the detection period. And the change part 103 should just set the time after predetermined time rather than reference | standard time or reference | standard time as an end time of a detection period, for example. The length of the detection period may not be determined. In this case, the changing unit 103 may set, for example, a reference time or a time that is a predetermined time before the reference time as the start time of the detection period. Then, the changing unit 103 may set the maximum value that can be set as the time as the end time of the detection period. The changing unit 103 may not determine the end time of the detection period. Since the reference time is a time based on the temporary suspension notification, the detection period can be regarded as a period determined based on the temporary suspension notification.
 例えば、第1の通信装置1が無線によって第2の通信装置2と通信を行っている場合、通信路の切り替えは、例えば、無線による通信を中継する無線基地局が切り替わることによっても生じる。一般に、無線によって通信する装置は、通信を中継する無線基地局を特定する情報を有する。切替検知部105は、例えば、第1の通信装置1が行う無線による通信を中継する無線基地局の変更を検知することによって、通信路の切り替えを検知すればよい。切替検知部105は、第1の通信装置1が接続されている通信回線の種類に応じた方法によって、通信路の切り替えを検知すればよい。 For example, when the first communication device 1 is communicating with the second communication device 2 wirelessly, switching of the communication path also occurs, for example, when the wireless base station that relays wireless communication is switched. Generally, a device that communicates by radio has information that identifies a radio base station that relays communication. For example, the switching detection unit 105 may detect the switching of the communication path by detecting a change of a wireless base station that relays wireless communication performed by the first communication device 1. The switching detection unit 105 may detect the switching of the communication path by a method according to the type of the communication line to which the first communication device 1 is connected.
 検出期間内に通信路の切り替えが検出されなかった場合(ステップS112においてNo)、通信制御装置3は、次に、ステップS111の動作を行う。すなわち、通知受信部104は、次に送信される一時断通知を待つ。 If the switching of the communication path is not detected within the detection period (No in step S112), the communication control device 3 next performs the operation of step S111. That is, the notification receiving unit 104 waits for a temporary disconnection notification to be transmitted next.
 一時断通知の受信に応じた検出期間に終了時刻が定められており、その検出期間内に通信路の切り替えが検知されなかった場合、通信制御装置3は、その一時断通知に基づく処理を行わない。すなわち、一時断通知の受信に応じた検出期間内に通信路の切り替えが検知されなかった場合、通信制御装置3は、その一時断通知を無視する。 When the end time is set in the detection period corresponding to the reception of the temporary disconnection notification and the switching of the communication path is not detected within the detection period, the communication control device 3 performs processing based on the temporary disconnection notification. Absent. That is, when the switching of the communication path is not detected within the detection period corresponding to reception of the temporary disconnection notification, the communication control device 3 ignores the temporary disconnection notification.
 検出期間内に通信路の切り替えが検出された場合(ステップ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 unit 103 is a transmission connection that is a connection used by the data transmitting unit 101 to transmit data to the second communication device 2. Is changed (step S113). And the communication control apparatus 3 complete | finishes the operation | movement shown in FIG. After step S113, the operation of the communication control device 3 may return to step S111.
 上述のように、検出期間の終了時刻が定められていない場合、変更部103は、切替検知部105による通信路の切り替えの検知を待つ。その場合、変更部103は、一時断通知の受信後であればいつでも、通信路の切り替えが検出された場合に、通信路の切り替えを行う。 As described above, when the end time of the detection period is not determined, the change unit 103 waits for detection of switching of the communication path by the switching detection unit 105. In that case, the change unit 103 switches the communication path whenever the switching of the communication path is detected whenever the temporary disconnection notification is received.
 本実施形態には、断続的に送信されるデータの送信間隔より十分長い期間、通信路の切り替えによってデータが全てロスする場合でも、通信の遅延を短縮することができるという効果がある。 This embodiment has an effect that communication delay can be reduced even when all data is lost due to switching of the communication path for a period sufficiently longer than the transmission interval of intermittently transmitted data.
 その理由は、通信路一時断の発生が判定されたことが通知された場合、変更部103が、切替検知部105によって通信路の切り替えの完了が検知された後、送信コネクションを変更するからである。 The reason is that, when it is notified that the occurrence of a communication path temporary interruption has been determined, the change unit 103 changes the transmission connection after the switching detection unit 105 detects the completion of the switching of the communication path. is there.
 通信路の切り替えが行われている場合、通信路の切り替えが完了する前にデータが送信されたコネクションでは、送信されたデータがロスするので、順序制御が実施される。通信路の切り替えが完了する前に送信コネクションが切り替えられた場合、切り替え後の送信コネクションを介してデータが送信され、送信されたデータは全てロスする。そのため、切り替え後の送信コネクションにおいても順序制御が実施される。通信路の切り替えが完了する前に、複数のコネクションのそれぞれが、順次送信コネクションに切り替えられた場合、それらの複数のコネクションの全てにおいて、順序制御が実施される。従って、通信路の切り替えが完了しても、複数のコネクションの全てにおいて順序制御が実施されているので、通信にさらに遅延が生じる。 When the communication path is switched, the transmitted data is lost in the connection in which the data is transmitted before the switching of the communication path is completed, so the order control is performed. When the transmission connection is switched before the switching of the communication path is completed, data is transmitted through the transmission connection after the switching, and all the transmitted data is lost. Therefore, order control is also performed in the transmission connection after switching. If each of the plurality of connections is sequentially switched to the transmission connection before the switching of the communication path is completed, the order control is performed on all of the plurality of connections. Therefore, even if the switching of the communication path is completed, the sequence control is performed in all of the plurality of connections, so that further delay occurs in the communication.
 一方、本実施形態では、通信路の切り替えの完了が検知された後、送信コネクションが変更されるので、通信路の切り替えが行われた時送信コネクションとして設定されていたコネクション以外で、順序制御は実施されない。従って、通信路の切り替えの完了が検知された後に、変更された送信コネクションでは順序制御は実施されない。そのため、順序制御が実施されるために生じる通信の遅延は生じない。従って、本実施形態では、通信の遅延を短縮することができる。 On the other hand, in this embodiment, since the transmission connection is changed after the completion of the switching of the communication path is detected, the order control is performed except for the connection set as the transmission connection when the switching of the communication path is performed. Not implemented. Therefore, the order control is not performed on the changed transmission connection after the completion of the switching of the communication path is detected. Therefore, there is no communication delay caused by the order control. Therefore, in this embodiment, 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 illustrating a configuration of a communication system 10 according to the present embodiment. The configuration of the communication system 10 according to the present embodiment is the same as the configuration of the communication system 10 according to the first embodiment. Below, it demonstrates focusing on the difference between this embodiment and 1st Embodiment.
 本実施形態では、データ送信部101は、送信されるデータに加えて、そのデータが送信された時刻である送信時刻を送信する。データ送信部101は、送信されるデータである送信データに、そのデータの送信時刻を表すデータである送信時刻データを付加すればよい。そして、データ送信部101は、送信時刻データが付加された送信データを、第2の通信装置2に送信すればよい。 In this embodiment, the data transmission unit 101 transmits a transmission time that is a time at which the data is transmitted in addition to the data to be transmitted. The data transmission unit 101 may add transmission time data that is data representing the transmission time of the data to the transmission data that is data to be transmitted. Then, the data transmission unit 101 may transmit the transmission data to which the transmission time data is added to the second communication device 2.
 第2の通信装置2のデータ受信部201は、受信した送信データに付加されている送信時刻データを、判定部202に送信する。 The data reception unit 201 of the second communication device 2 transmits the transmission time data added to the received transmission data to the determination unit 202.
 判定部202は、データ受信部201が最後に受信した送信データに付加されていた送信時刻データを記憶する。判定部202は、データ受信部201が新しく送信データを受信した場合、第1の実施形態の判定部202と同様に、データの受信間隔が閾値を超えているか否かを判断する。データの受信間隔が閾値を超えていない場合、判定部202は、新しく受信した送信データに加えて送信された送信時刻データを、最後に受信した送信データとして記憶する。データの受信間隔が閾値を超えている場合、判定部202は、記憶している、最後に受信した送信データに付加されていた送信時刻データを、通知送信部203に送信する。 The determination unit 202 stores the transmission time data added to the transmission data last received by the data reception unit 201. When the data reception unit 201 newly receives transmission data, the determination unit 202 determines whether the data reception interval exceeds a threshold, as in the determination unit 202 of the first embodiment. When the data reception interval does not exceed the threshold value, the determination unit 202 stores the transmission time data transmitted in addition to the newly received transmission data as the last received transmission data. When the data reception interval exceeds the threshold, the determination unit 202 transmits the stored transmission time data added to the last received transmission data to the notification transmission unit 203.
 通知送信部203は、データの受信間隔が閾値を超えている場合、一時断通知に加えて、判定部202が記憶している送信時刻データを送信する。その場合、通知送信部203は、一時断通知に送信時刻データを付加すればよい。そして、通知送信部203は、送信時刻データが付加された一時断通知を送信すればよい。 When the data reception interval exceeds the threshold value, the notification transmission unit 203 transmits the transmission time data stored in the determination unit 202 in addition to the temporary disconnection notification. In that case, the notification transmission unit 203 may add transmission time data to the temporary disconnection notification. And the notification transmission part 203 should just transmit the temporary stop notification to which transmission time data was added.
 通知受信部104は、一時断通知に加えて、送信時刻データを、通知送信部203から受信する。通知受信部104は、上述のように送信時刻データが付加された、一時断通知を受信すればよい。 The notification reception unit 104 receives transmission time data from the notification transmission unit 203 in addition to the temporary disconnection notification. The notification receiving unit 104 only has to receive the temporary disconnection notification to which the transmission time data is added as described above.
 変更部103は、通知受信部104が受信した送信時刻データが表す時刻を、検出期間の開始時刻に設定する。 The changing unit 103 sets the time represented by the transmission time data received by the notification receiving unit 104 as the start time of the detection period.
 なお、送信時刻データは、送信時刻を表すデータ値であってもよい。送信時刻データは、例えば、送信されたデータのそれぞれに付与された、送信の順番を特定することができる、シーケンス番号あるいはID(Identifier)であってもよい。送信時刻データは、例えば、データ受信部201がデータを受信した時刻である、データ受信時刻であってもよい。 Note that 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 ID (Identifier) assigned to each of the transmitted data, which can specify the order of transmission. The transmission time data may be, for example, a data reception time that is a time when the data receiving unit 201 receives the data.
 送信時刻データがシーケンス番号である場合、変更部103は、例えば、送信時刻が特定されているデータの送信時刻及びシーケンス番号と、送信間隔とを、あらかじめ保持していればよい。以下の説明において、変更部103が保持する、送信時刻が特定されているデータの送信時刻を、基準送信時刻と表記する。さらに、変更部103が保持する、送信時刻が特定されているデータのシーケンス番号を、基準シーケンス番号と表記する。基準シーケンス番号は、シーケンス番号の初期値であってもよい。その場合、基準送信時刻は、初期値であるシーケンス番号が付与されたデータが送信された時刻であればよい。変更部103は、例えば、シーケンス番号の初期値と、初期値であるシーケンス番号が付与されたデータの送信時刻と、送信間隔とを、あらかじめデータ送信部101から取得しておけばよい。変更部103は、通知受信部104が受信したシーケンス番号と、基準シーケンス番号との差によって、基準時刻以降にデータが送信された回数を特定すればよい。変更部103は、基準時刻以降にデータが更新された回数と、データが送信される送信間隔とに基づき、基準時刻から、通知受信部104が受信したシーケンス番号が付与されたデータが送信された時刻までに経過した時間を推定すればよい。このように、変更部103は、通知受信部104が送信時刻データとして受信したシーケンス番号と、基準送信時刻及び基準シーケンス番号と、送信間隔とに基づき、通知受信部104が受信したシーケンス番号が付与されたデータが送信された時刻を推定する。 When the transmission time data is a sequence number, the changing unit 103 may hold, for example, the transmission time and sequence number of the data for which the transmission time is specified and the transmission interval in advance. In the following description, the transmission time of data for which the transmission time is specified and held by the changing unit 103 is referred to as a reference transmission time. Further, the sequence number of the data for which the transmission time is specified and held by the changing unit 103 is referred to as a reference sequence number. The reference sequence number may be an initial value of the sequence number. In this case, the reference transmission time may be a time at which data with an initial sequence number is transmitted. For example, the changing unit 103 may acquire the initial value of the sequence number, the transmission time of the data to which the sequence number that is the initial value, and the transmission interval are obtained from the data transmitting unit 101 in advance. The changing unit 103 may specify the number of times data is transmitted after the reference time based on the difference between the sequence number received by the notification receiving unit 104 and the reference sequence number. Based on the number of times the data has been updated since the reference time and the transmission interval at which the data is transmitted, the changing unit 103 has transmitted the data to which the sequence number received by the notification receiving unit 104 is added from the reference time What is necessary is just to estimate the time elapsed until the time. As described above, the changing unit 103 assigns the sequence number received by the notification receiving unit 104 based on the sequence number received by the notification receiving unit 104 as the transmission time data, the reference transmission time and the reference sequence number, and the transmission interval. Estimate the time when the transmitted data was transmitted.
 通知送信部203が、送信時刻データとして、データ受信部201がデータを受信した時刻である受信時刻を表すデータ値を送信する場合、変更部103は、受信した送信時刻データが表す時刻よりも、遅延時間前の時刻を、送信時刻として推定すればよい。その遅延時間は、第1の通信装置1から第2の通信装置2へのデータの送信に要する時間の代表値であればよい。代表値は、例えば、実験的に導出された、平均値、中間値、あるいは他の統計値であればよい。 When the notification transmitting unit 203 transmits a data value representing the reception time, which is the time when the data receiving unit 201 receives the data, as the transmission time data, the changing unit 103 is more than the time represented by the received transmission time data. The time before the delay time may be estimated as the transmission time. The delay time may be a representative value of the time required for data transmission from the first communication device 1 to the second communication device 2. The representative value may be, for example, an average value, an intermediate value, or another statistical value derived experimentally.
 次に、本実施形態の第1の通信装置1及び第2の通信装置2の動作について、図面を参照して詳細に説明する。以下では、データ送信部101が、データ送信時刻を表す送信時刻データが付加されたデータを送信する場合の説明を行う。 Next, operations of the first communication device 1 and the second communication device 2 of the present embodiment will be described in detail with reference to the drawings. Hereinafter, a case where the data transmission unit 101 transmits data to which transmission time data representing the data transmission time is added will be described.
 図2は、本実施形態の第2の通信装置2の、一時断の発生を検出する動作の例を表すフローチャートである。 FIG. 2 is a flowchart showing an example of an operation of detecting the occurrence of a temporary disconnection in the second communication device 2 of the present embodiment.
 データ受信部201にデータが送信された場合(ステップS101においてYes)、データ受信部201は、送信時刻データが付加されたデータを受信する(ステップS102)。データ受信部201にデータが送信されない場合(ステップS101においてNo)、通信制御装置3は、次に、ステップS103の動作を行う。 When the data is transmitted to the data receiving unit 201 (Yes in step S101), the data receiving unit 201 receives the data to which the transmission time data is added (step S102). When data is not transmitted to the data receiving unit 201 (No in step S101), the communication control device 3 next performs the operation of step S103.
 ステップS103における判定部202の動作は、第1の実施形態の判定部202のステップS103における動作と同じである。前述のように、判定部202は、データ受信部201が最後にデータを受信した時刻を記憶していればよい。そして、ステップS103において、判定部202は、データ受信部201が最後にデータを受信した時刻から経過した時間と閾値とを比較することによって、データの受信間隔が閾値を越えているか否かを判定すればよい。判定部202は、記憶している時刻から、新たにデータ受信部201がデータを受信した時刻までに経過した時間と、閾値とを比較することによって、データの受信間隔が閾値を越えているか否かを判定してもよい。 The operation of the determination unit 202 in step S103 is the same as the operation in step S103 of the determination unit 202 of the first embodiment. As described above, the determination unit 202 only needs to store the time when the data reception unit 201 last received data. In step S <b> 103, the determination unit 202 determines whether the data reception interval exceeds the threshold value by comparing the threshold value with the time elapsed since the data reception unit 201 last received the data. do it. Whether the data reception interval exceeds the threshold value is determined by comparing the threshold value with the time elapsed from the stored time to the time when the data receiving unit 201 newly received the data. It may be determined.
 データの受信間隔が所定の閾値を超えていない場合(ステップS103においてNo)、通信制御装置3は、次に、ステップS101の動作を行う。そしてデータ受信部201は、データの受信を継続する。 If the data reception interval does not exceed the predetermined threshold (No in step S103), the communication control device 3 next performs the operation of step S101. Then, the data receiving unit 201 continues to receive data.
 判定部202による判定の結果、データの受信間隔が所定の閾値を超えている場合(ステップS103においてYes)、通知送信部203は、一時断通知に加えて、送信時刻データを送信する(ステップS104)。 If the data reception interval exceeds a predetermined threshold as a result of determination by the determination unit 202 (Yes in step S103), the notification transmission unit 203 transmits transmission time data in addition to the temporary disconnection notification (step S104). ).
 図3は、本実施形態の通信制御装置3の、一時断通知を受信した場合の動作の例を表すフローチャートである。 FIG. 3 is a flowchart showing an example of the operation when the communication control device 3 of the present embodiment receives a temporary disconnection notification.
 まず、通知受信部104は、例えば、一時断通知と、その一時断通知に付加された送信時刻データを受信する。(ステップS111)。 First, the notification receiving unit 104 receives, for example, a temporary suspension notification and transmission time data added to the temporary suspension notification. (Step S111).
 通知受信部104が、一時断通知と、その一時断通知に付加された送信時刻データを受信した場合、切替検知部105は、検出期間を決定する。切替検知部105は、まず、通知受信部104が受信した送信時刻データが表す時刻を特定する。切替検知部105は、特定した時刻を、検出期間の開始時刻に設定する。切替検知部105は、検出期間の終了時刻を、あらかじめ定められた決定方法に従って、決定する。切替検知部105は、例えば、第1の実施形態における検出期間の終了時刻の決定方法のいずれかによって、検出期間の終了時刻を決定すればよい。 When the notification receiving unit 104 receives the temporary disconnection notification and the transmission time data added to the temporary disconnection notification, the switching detection unit 105 determines the detection period. First, the switch detection unit 105 identifies the time represented by the transmission time data received by the notification reception unit 104. The switch detection unit 105 sets the specified time as the start time of the detection period. The switching detection unit 105 determines the end time of the detection period according to a predetermined determination method. For example, the switching detection unit 105 may determine the end time of the detection period by any one of the methods for determining the end time of the detection period in the first embodiment.
 切替検知部105が検出期間内に通信路の切り替えを検出した場合(ステップS112においてYes)、変更部103は、第1の実施形態の変更部103と同様に、送信コネクションを変更する(ステップS113)。切替検知部105が検出期間内に通信路の切り替えを検出した場合(ステップS112においてNo)、通信制御装置3は、次に、例えばステップS111の動作を行う。 When the switching detection unit 105 detects switching of the communication path within the detection period (Yes in step S112), the changing unit 103 changes the transmission connection in the same manner as the changing unit 103 of the first embodiment (step S113). ). If the switching detection unit 105 detects switching of the communication path within the detection period (No in step S112), the communication control device 3 next performs, for example, the operation of step S111.
 本実施形態には、第1の実施形態と同じ効果がある。その理由は、第1の実施形態の効果が生じる理由と同じである。 This 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の効果がある。 This embodiment has a second effect that communication delay can be further reduced.
 その理由は、最後に送信されたデータの送信時刻又はその送信時刻の推定時刻が開始時刻である検知期間において、通信路の切り替えが検出された場合に、変更部103が送信コネクションを変更するからである。従って、送信されたデータが全てロスする期間の変動が大きい場合においても、その期間を更に正確に特定することができる。従って、さらに確実に順序制御を回避することができるので、通信の遅延を短縮することができる。また、ロスしたデータを正確に把握することができるので、ロスしたデータだけを変更後の送信コネクションを介して送信することができる。そのため、さらに通信の遅延を短縮することができる。 The reason is that the change unit 103 changes the transmission connection when the switching of the communication path is detected in the detection period in which the transmission time of the last transmitted data or the estimated time of the transmission time is the start time. It is. Therefore, even when the fluctuation of the period during which all transmitted data is lost is large, the period can be specified more accurately. Therefore, the sequence control can be avoided more reliably, and the communication delay can be shortened. In addition, since the lost data can be accurately grasped, only the lost data can be transmitted through the changed transmission connection. Therefore, communication delay can be further reduced.
 <第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 illustrating an example of the configuration of the communication system 10B according to 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 data transmission unit 101 and a communication control device 3B.
 通信制御装置3Bは、管理部102と、変更部103と、送達確認受信部106と、判定部107と、切替受信部108とを含む。 The communication control device 3B includes a management unit 102, a change unit 103, a delivery confirmation reception unit 106, a determination unit 107, and a switching reception unit 108.
 第2の通信装置2Bは、データ受信部201と、送達確認送信部204と、切替検知部205と、切替送信部206とを含む。 The second communication device 2B includes a data reception unit 201, a delivery confirmation transmission unit 204, a switching detection unit 205, and a switching transmission unit 206.
 データ送信部101及びデータ受信部201は、それぞれ、第1の実施形態のデータ送信部101及びデータ受信部201と同様に動作する。 The data transmission unit 101 and the data reception unit 201 operate in the same manner as the data transmission unit 101 and the data reception unit 201 of the first embodiment, respectively.
 管理部102は、第1の実施形態の管理部102と同様に、第1の通信装置1Bと第2の通信装置2Bとの間に確立されている複数のコネクションを管理する。 The management unit 102 manages a plurality of connections established between the first communication device 1B and the second communication device 2B, as with the management unit 102 of the first embodiment.
 送達確認送信部204は、データ受信部201がデータを受信すると、そのデータに関する送達確認を第1の通信装置1Bに送信する。送達確認は、例えば、あらかじめ定められたデータ値又は信号であればよい。 When the data reception unit 201 receives data, the delivery confirmation transmission unit 204 transmits a delivery confirmation regarding the data to the first communication device 1B. The delivery confirmation may be, for example, a predetermined data value or signal.
 送達確認受信部106は、第2の通信装置2Bの送達確認送信部204から、送達確認を受信する。送達確認を受信した場合、送達確認受信部106は、例えば、送達確認を受信した時刻を、判定部107に送信する。 The delivery confirmation receiving unit 106 receives the delivery confirmation from the delivery confirmation transmitting unit 204 of the second communication device 2B. When the delivery confirmation is received, the delivery confirmation receiving unit 106 transmits, for example, the time when the delivery confirmation is received to the determination unit 107.
 判定部107は、送達確認受信部106が送達確認を最後に受信した時刻を記憶している。判定部107は、送達確認受信部106から、新たに送達確認を受信した時刻を受信した場合、記憶している時刻と新たに受信した時刻とに基づき、送達確認受信部106が送達確認を受信する間隔を導出する。判定部107は、送達確認受信部106が送達確認を受信する間隔が、所定の閾値を超えているか否かを判定する。判定部107は、送達確認受信部106が送達確認を受信する間隔が所定の閾値を超えている場合、通信路一時断が発生したと判定する。そして、判定部107は、送達確認受信部106が送達確認を受信する間隔が所定の閾値を超えている場合、一時断通知を変更部103に送信する。 The determination unit 107 stores the time when the delivery confirmation receiving unit 106 last received the delivery confirmation. When the determination unit 107 receives a time when a new delivery confirmation is received from the delivery confirmation receiving unit 106, the delivery confirmation receiving unit 106 receives the delivery confirmation based on the stored time and the newly received time. The interval to be derived is derived. The determination unit 107 determines whether the interval at which the delivery confirmation receiving unit 106 receives the delivery confirmation exceeds a predetermined threshold. When the interval at which the delivery confirmation receiving unit 106 receives the delivery confirmation exceeds a predetermined threshold, the judging unit 107 determines that a communication path temporary interruption has occurred. When the interval at which the delivery confirmation receiving unit 106 receives the delivery confirmation exceeds a predetermined threshold, the determination unit 107 transmits a temporary suspension notification to the change unit 103.
 切替検知部205は、第1の実施形態の切替検知部105と同様に、第1の通信装置1Bと第2の通信装置2Bとの間においてデータの送信に使用される通信路の切り替えを監視する。そして、切替検知部205は、通信路の切り替えの完了を検知する。 The switching detection unit 205 monitors switching of the communication path used for data transmission between the first communication device 1B and the second communication device 2B, as with the switching detection unit 105 of the first embodiment. To do. Then, the switching detection unit 205 detects the completion of switching of the communication path.
 切替送信部206は、切替検知部205が通信路の切り替えの完了を検知した場合、切替通知を第1の通信装置1Bに送信する。切替通知は、例えば、あらかじめ定められたデータ値又は信号であればよい。 The switching transmission unit 206 transmits a switching notification to the first communication device 1B when the switching detection unit 205 detects the completion of switching of the communication path. The switching notification may be, for example, a predetermined data value or signal.
 切替受信部108は、第2の通信装置2Bから、切替通知を受信する。 The switch receiving unit 108 receives a switch notification from the second communication device 2B.
 変更部103は、判定部107から一時断通知を受信する。変更部103は、例えば、一時断通知を受信した時刻を基準時刻にする。変更部103は、判定部107が、通信路一時断が発生したと判定した時刻を、基準時刻にしてもよい。その場合、変更部103は、判定部107が、通信路一時断が発生したと判定した時刻を、判定部107から受信すればよい。そして、変更部103は、第1の実施形態の変更部103と同様に、基準時刻に基づき検出期間を設定する。変更部103は、設定した検出期間内に切替受信部108が切替通知を受信した場合、第1の実施形態の変更部103と同様に、送信コネクションを変更する。 The change unit 103 receives a temporary disconnection notification from the determination unit 107. For example, the changing unit 103 sets the time at which the suspension notification is received as the reference time. The change unit 103 may set the time at which the determination unit 107 determines that a communication path temporary interruption has occurred as the reference time. In that case, the changing unit 103 may receive the time when the determining unit 107 determines that the communication path temporary interruption has occurred from the determining unit 107. And the change part 103 sets a detection period based on reference | standard time similarly to the change part 103 of 1st Embodiment. When the switching receiving unit 108 receives a switching notification within the set detection period, the changing unit 103 changes the transmission connection in the same manner as the changing unit 103 of the first embodiment.
 次に、本実施形態の第2の通信装置2Bの動作について、図面を参照して詳細に説明する。 Next, the operation of the second communication device 2B of this 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 illustrating an example of the operation of the second communication device 2B of the present embodiment. At the start of the operation illustrated in FIG. 5, the data transmission unit 101 of the first communication device 1B transmits data to the second communication device 2B.
 データ受信部201はデータを受信する(ステップS201)。 The data receiving unit 201 receives data (step S201).
 データ受信部201がデータを受信するのに応じて、送達確認送信部204が第1の通信装置1Bに対して送達確認を送信する(ステップS202)。 In response to the data receiving unit 201 receiving data, the delivery confirmation transmitting unit 204 transmits a delivery confirmation to the first communication device 1B (step S202).
 前述のように、切替検知部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 detection unit 205 monitors the switching of the communication path between the first communication device 1B and the second communication device 2B. Then, the switching detection unit 205 detects completion of switching of the communication path. If switching of the communication path is not detected by the switching detection unit 205 (No in step S203), the second communication device 2B next performs, for example, the operation of step S201. Then, the data receiving unit 201 waits until the next data is sent. When switching of the communication path is detected by the switching detection unit 205 (Yes in step S203), the switching detection unit 205 transmits a switching notification to the first communication device 1B (step S204).
 次に、本実施形態の通信制御装置3Bの動作について、図面を参照して詳細に説明する。 Next, the operation of the communication control device 3B of this embodiment will be described in detail with reference to the drawings.
 図6は、本実施形態の通信制御装置3Bの動作の例を表すフローチャートである。図6に示す動作の開始時において、データ送信部101が第2の通信装置2Bにデータを送信する。そして、データを受信した第2の通信装置2Bは、受信したデータの送達確認を、第1の通信装置1Bに返信する。 FIG. 6 is a flowchart showing an example of the operation of the communication control device 3B of the present embodiment. At the start of the operation shown in FIG. 6, the data transmission unit 101 transmits data to the second communication device 2B. And the 2nd communication apparatus 2B which received data returns the delivery confirmation of the received data to the 1st communication apparatus 1B.
 データの送達確認が送達確認受信部106に送信された場合(ステップS211においてYes)、送達確認受信部106は、第2の通信装置2Bから送達確認を受信する(ステップS212)。送達確認受信部106は、送達確認を受信した時刻を判定部107に送信する。データの送達確認が送達確認受信部106に送信されない場合(ステップS211においてNo)、通信制御装置3Bは、次に、ステップS213の動作を行う。 When the data delivery confirmation is transmitted to the delivery confirmation receiving unit 106 (Yes in Step S211), the delivery confirmation receiving unit 106 receives the delivery confirmation from the second communication device 2B (Step S212). The delivery confirmation receiving unit 106 transmits the time when the delivery confirmation is received to the determination unit 107. When the data delivery confirmation is not transmitted to the delivery confirmation receiving unit 106 (No in step S211), the communication control device 3B next performs the operation of step S213.
 前述のように、判定部107は、送達確認受信部106が最後に送達確認を受信した時刻を記憶している。判定部107は、例えば、送達確認受信部106が最後に送達確認を受信した時刻から経過した時間を特定すればよい。そして、判定部107は、送達確認受信部106が最後に送達確認を受信した時刻から経過した時間と、所定の閾値とを比較すればよい。送達確認受信部106が最後に送達確認を受信した時刻から経過した時間がその閾値を越えている場合、判定部107は、送達確認の受信の間隔が閾値を超えていると判定すればよい。送達確認受信部106が最後に送達確認を受信した時刻から経過した時間がその閾値を越えていない場合、判定部107は、送達確認の受信の間隔が閾値を超えていないと判定すればよい。判定部107は、新しく送達確認受信部106から受信した送達確認を受信した場合、その送達確認を受信した時刻と、記憶している、送達確認を受信した時刻と差である、送達確認の受信の間隔を導出してもよい。判定部107は、導出された送達確認の受信の間隔が、所定の閾値を越えているか否かを判定してもよい。 As described above, the determination unit 107 stores the time when the delivery confirmation receiving unit 106 last received the delivery confirmation. For example, the determination unit 107 may specify the time that has elapsed since the time when the delivery confirmation receiving unit 106 last received the delivery confirmation. And the determination part 107 should just compare the time which passed since the time when the delivery confirmation receiving part 106 received the delivery confirmation last, and a predetermined threshold value. When the time elapsed from the time when the delivery confirmation receiving unit 106 last received the delivery confirmation exceeds the threshold, the determination unit 107 may determine that the reception interval of the delivery confirmation exceeds the threshold. When the time elapsed from the time when the delivery confirmation receiving unit 106 last received the delivery confirmation does not exceed the threshold, the determination unit 107 may determine that the delivery confirmation reception interval does not exceed the threshold. When the determination unit 107 receives a delivery confirmation newly received from the delivery confirmation reception unit 106, the determination unit 107 receives the delivery confirmation, which is the difference between the time when the delivery confirmation is received and the stored time when the delivery confirmation is received. The interval may be derived. The determination unit 107 may determine whether the reception interval of the derived delivery confirmation exceeds a predetermined threshold value.
 送達確認の受信の間隔が、所定の閾値を超えていない場合(ステップS213においてNo)、通信制御装置3Bは、次に、ステップS211の動作を行う。送達確認受信部106は、次の送達確認が送信されるまで待機する。 If the reception interval of the delivery confirmation does not exceed the predetermined threshold (No in step S213), the communication control device 3B next performs the operation of step S211. The delivery confirmation receiving unit 106 waits until the next delivery confirmation is transmitted.
 送達確認の受信の間隔が、所定の閾値を超えている場合(ステップS213においてYes)、判定部107は、通信路一時断が発生したと判定する(ステップS214)。 When the reception interval of the delivery confirmation exceeds a predetermined threshold (Yes in Step S213), the determination unit 107 determines that a communication path temporary interruption has occurred (Step S214).
 通信路一時断が発生したと判定された場合、変更部103は、上述のように、検出期間を設定する。そして、変更部103は、検出期間内に通信路の切り替えが検知されたか否かを判定する(ステップS215)。変更部103は、例えば、検出期間内に切替受信部108が切替通知を受信した場合、検出期間内に通信路の切り替えが検知されたと判定すればよい。変更部103は、例えば、検出期間内に切替受信部108が切替通知を受信しなかった場合、検出期間内に通信路の切り替えが検知されなかったと判定すればよい。 When it is determined that the communication path is temporarily interrupted, the changing unit 103 sets the detection period as described above. Then, the changing unit 103 determines whether or not switching of the communication path is detected within the detection period (step S215). For example, when the switching reception unit 108 receives a switching notification within the detection period, the changing unit 103 may determine that switching of the communication path has been detected within the detection period. For example, when the switching reception unit 108 does not receive the switching notification within the detection period, the changing unit 103 may determine that the switching of the communication path has not been detected within the detection period.
 検出期間内に通信路の切り替えが検知されなかった場合(ステップS215においてNo)、通信制御装置3Bは、次に、例えばステップS211の動作を行う。 If the switching of the communication path is not detected within the detection period (No in step S215), the communication control device 3B next performs, for example, the operation of step S211.
 検出期間内に通信路の切り替えが検知された場合(ステップS215においてYes)、変更部103は、第1の実施形態と同様に、送信コネクションを変更する(ステップS216)。 When the switching of the communication path is detected within the detection period (Yes in step S215), the changing unit 103 changes the transmission connection as in the first embodiment (step S216).
 本実施形態には、データを受信する第2の通信装置2Bが、通信一時断の判定を行えない場合であっても、第1の実施形態と同じ効果がある。 This embodiment has the same effects as those of the first embodiment even when the second communication device 2B that receives data cannot determine whether or not communication is temporarily interrupted.
 その理由は、データ受信部201によるデータの受信に応じて、送達確認送信部204が送達確認を第1の通信装置1Bに送信するからである。そして、変更部103が、送達確認送信部204が送信する送達確認の受信の間隔に基づいて、通信一時断が発生したか否かを判定するからである。 The reason is that the delivery confirmation transmission unit 204 transmits a delivery confirmation to the first communication device 1B in response to the data reception by the data reception unit 201. This is because the changing unit 103 determines whether or not a communication interruption has occurred based on the reception confirmation reception interval transmitted by the delivery confirmation transmitting unit 204.
 本実施形態には、さらに、データを送信する第1の通信装置1Bが通信路の切り替えの完了を検知できない場合であっても、第1の実施形態と同じ効果がある。 This embodiment further has the same effect as the first embodiment even when the first communication device 1B that transmits data cannot detect the completion of the switching of the communication path.
 その理由は、データを受信する第2の通信装置2Bが含む切替検知部205によって通信路の切り替えの完了が検知された場合、切替送信部206が切替通知を第1の通信装置1Bに送信するからである。そして、変更部103は、検出期間内に切替受信部108が切替通知を受信した場合、検出期間内に通信路の切り替えが行われたと判定するからである。 The reason is that, when the switching detection unit 205 included in the second communication device 2B that receives data detects completion of switching of the communication path, the switching transmission unit 206 transmits a switching notification to the first communication device 1B. Because. Then, the change unit 103 determines that the communication path has been switched within the detection period when the switching reception unit 108 receives the switching notification within the detection period.
 <変形例>
 第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 detection unit 205 may be included in a switching detection device that is not illustrated in FIGS. 1 and 4. In the first and second embodiments, the switch detection unit 205 of the switch detection device may transmit a switch notification to the first communication device 1. In that case, the communication control apparatus 3 should just further include the switch receiving part 108 similarly to the communication control apparatus 3B of 3rd Embodiment. In the third embodiment, the switch detection unit 205 of the switch detection device may transmit a switch notification to the first communication device 1B.
 第1及び第2の実施形態において、通信制御装置3は第1の通信装置1に含まれている。しかし、通信制御装置3は、第2の通信装置2に含まれていてもよい。あるいは、通信制御装置3の構成要素の一部が第1の通信装置1に含まれていてもよい。そして、第1の通信装置1に含まれる構成要素を除く、通信制御装置3の構成要素が、第2の通信装置2に含まれていてもよい。 In the first and second embodiments, the communication control device 3 is included in the first communication device 1. However, the communication control device 3 may be included in the second communication device 2. Alternatively, some of the components of the communication control device 3 may be included in the first communication device 1. And the component of the communication control apparatus 3 except the component contained in the 1st communication apparatus 1 may be contained in the 2nd communication apparatus 2. FIG.
 第3の実施形態においても同様に、通信制御装置3Bは、第1の通信装置1Bに含まれている。しかし、通信制御装置3Bは、第2の通信装置2Bに含まれていてもよい。あるいは、通信制御装置3Bの構成要素の一部が第1の通信装置1Bに含まれていてもよい。そして、第1の通信装置1Bに含まれる構成要素を除く、通信制御装置3Bの構成要素が、第2の通信装置2Bに含まれていてもよい。 Similarly, in the third embodiment, the communication control device 3B is included in the first communication device 1B. However, the communication control device 3B may be included in the second communication device 2B. Alternatively, some of the components of the communication control device 3B may be included in the first communication device 1B. And the component of the communication control apparatus 3B except the component contained in the 1st communication apparatus 1B may be contained in the 2nd communication apparatus 2B.
 第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 second communication device 2 may include the management unit 102 and the change unit 103 instead of the first communication device 1. In that case, the notification transmission unit 203 and the notification reception unit 104 are not necessary. And the 1st communication apparatus 1 should just contain the below-mentioned switching transmission part 109. FIG. And the 2nd communication apparatus 2 should just contain the switching receiving part 207 mentioned later. When the switching detection unit 105 detects completion of switching of the communication path, the switching transmission unit 109 transmits a switching notification indicating that the switching of the communication path is completed. The switch receiving unit 207 receives the switch notification transmitted by the switch transmitting unit 109. The change unit 103 included in the second communication device 2 newly creates a transmission connection when the switch transmission unit 109 receives a switch notification within the detection period set in the same manner as the change unit 103 of the first embodiment. Decide which connection to use. The second communication device 2 may further include a change instruction unit 208 that transmits an instruction to use the determined transmission connection for transmission to the first communication device 1. The data transmission unit 101 may change the transmission connection in accordance with the instruction received from the change instruction unit 208.
 図7は、第1の実施形態の変形例に係る通信システム10Aの構成の例を表すブロック図である。図7に示す例では、第1の通信装置1Aではなく、第2の通信装置2Aが、通信制御装置3Aを含む。 FIG. 7 is a block diagram illustrating 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, not the first communication device 1A but the second communication device 2A includes the communication control device 3A.
 本変形例では、第1の通信装置1Aは、データ送信部101と、切替検知部105と、切替送信部109とを含む。第2の通信装置2Aは、データ受信部201と、通信制御装置3Aとを含む。通信制御装置3Aは、管理部102と、変更部103と、判定部202と、切替受信部207と、変更指示部208とを含む。 In the present modification, the first communication device 1A includes a data transmission unit 101, a switching detection unit 105, and a switching transmission unit 109. The second communication device 2A includes a data receiving unit 201 and a communication control device 3A. The communication control device 3A includes a management unit 102, a change unit 103, a determination unit 202, a switching reception unit 207, and a change instruction unit 208.
 また、第1及び第2の実施形態では、通知送信部203は、一時断通知を、1回ではなく、所定の送信期間内に複数回送信してもよい。送信期間は、あらかじめ決められている固定的な期間であってもよい。送信期間は、判定部202が通信路一時断が発生したと判定した後、データ受信部201がデータを受信するまでの期間であってもよい。送信期間は、あらかじめ計測された、第1の通信装置1と第2の通信装置2との間の往復の遅延時間や、過去に計測されたその往復の遅延時間から導出された統計量であってもよい。統計量は、例えば、平均値、中間値、あるいは中央値などである。通知送信部203が、一時断通知を複数回送信する場合、通知送信部203は、一時断通知に、その一時断通知が基づく通信路一時断の発生の判定を特定する識別子を含めてもよい。 Further, in the first and second embodiments, the notification transmission unit 203 may transmit the temporary interruption notification a plurality of times within a predetermined transmission period instead of once. The transmission period may be a fixed period determined in advance. The transmission period may be a period until the data receiving unit 201 receives data after the determining unit 202 determines that a communication path temporary interruption has occurred. The transmission period is a statistical amount derived from a round trip delay time between the first communication device 1 and the second communication device 2 measured in advance or from the round trip delay time measured in the past. May be. The statistic is, for example, an average value, an intermediate value, or a median value. When the notification transmission unit 203 transmits the temporary disconnection notification a plurality of times, the notification transmission unit 203 may include an identifier that identifies the determination of the occurrence of the communication path temporary disconnection based on the temporary disconnection notification. .
 第3の実施形態において、例えば、通信に使用される通信プロトコルのうち、下層の通信プロトコルにおいて送達確認がなされている場合、送達確認受信部106は、その下層の通信プロトコルに基づき送達確認を検出してもよい。あるいは、第1の通信装置1Bは送達確認受信部106を含んでいなくてもよい。そして、第2の通信装置2は、送達確認送信部204を含んでいなくてもよい。そして、第1の通信装置1は、送達確認が行われる下層の通信プロトコルにおける送達確認を検出する送達確認部を含んでいてもよい。TCPは、上述のような、送達確認がなされる通信プロトコルの例である。 In the third embodiment, for example, when delivery confirmation is performed in a lower-layer communication protocol among communication protocols used for communication, the delivery confirmation receiving unit 106 detects delivery confirmation based on the lower-layer communication protocol. May be. Alternatively, the first communication device 1B may not include the delivery confirmation receiving unit 106. The second communication device 2 may not include the delivery confirmation transmission unit 204. And the 1st communication apparatus 1 may contain the delivery confirmation part which detects the delivery confirmation in the lower layer communication protocol in which delivery confirmation is performed. TCP is an example of a communication protocol in which delivery confirmation is performed as described above.
 <第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 first communication device 1 and the second communication device 2 are communication terminals having a central processing unit, a memory, a storage device, and a network connection function.
 第1の通信装置1は、例えば、インターネットと通信可能に接続されているモバイル網に、基地局を介して接続されている、可搬な通信端末装置である。第1の通信装置1は、第1の通信装置1を保持するユーザの移動によって、移動する。第1の通信装置1が移動することによって、第1の通信装置1が接続している基地局が切り替えられる。切替検知部105は、モバイル網において第1の通信装置1が接続している基地局の切り替えを、通信路の切り替えとして検知する。 The first communication device 1 is, for example, a portable communication terminal device connected via a base station to a mobile network that is communicably connected to the Internet. The first communication device 1 moves due to the movement of the user who holds the first communication device 1. As the first communication device 1 moves, the base station to which the first communication device 1 is connected is switched. The switching detection unit 105 detects switching of the base station to which the first communication device 1 is connected in the mobile network as switching of the communication path.
 第2の通信装置2は、例えば、インターネットに配置されたサーバである。第2の通信装置2は、移動しない。第2の通信装置2は、通信網の切り替えを検知しない。 The second communication device 2 is, for example, a server disposed on the Internet. The second communication device 2 does not move. The second communication device 2 does not detect switching of the communication network.
 第1の通信装置1及び第2の通信装置2は、互いを通信可能に接続する2つのTCPコネクションを維持している。第1の通信装置1と第2の通信装置2との間において、データの転送はTCPコネクションを使用して直接行われる。本変形例の以下の説明において、それらの2つのTCPコネクションのうちの一つを、TCPコネクションAと表記する。さらに、それらの2つのTCPコネクションのうちの他の一つを、TCPコネクションBと表記する。 The first communication device 1 and the second communication device 2 maintain two TCP connections that connect each other so that they can communicate with each other. Data transfer is directly performed between the first communication device 1 and the second communication device 2 using a TCP connection. In the following description of this modification, one of those two TCP connections is denoted as TCP connection A. Further, the other one of the two TCP connections is denoted as TCP connection B.
 第1の通信装置1は、例えば100ミリ秒間隔で、TCPコネクションAを用いて、第2の通信装置2に対してデータを送信し続けている。第1の通信装置1は、データの送信に使用していないTCPコネクションBが確立されている状態を維持するために、コネクション管理処理を行う。第1の通信装置1は、コネクション管理処理として、例えば、300ミリ秒毎に、TCPコネクションを使用してキープアライブメッセージを送信する。キープアライブメッセージは、通信装置間においてデータを交換することを目的とするデータではなく、コネクションが確立された状態を維持することを目的とするデータである。 The first communication device 1 continues to transmit data to the second communication device 2 using the TCP connection A at intervals of, for example, 100 milliseconds. The first communication device 1 performs connection management processing in order to maintain a state in which a TCP connection B that is not used for data transmission is established. As the connection management process, the first communication device 1 transmits a keep alive message using a TCP connection, for example, every 300 milliseconds. The keep alive message is not data intended to exchange data between communication devices, but data intended to maintain a connection established state.
 第2の通信装置2は、例えば、データの受信する間隔が5秒を越えた場合、通信路が一時的に断絶した状態である通信一時断が発生したと判定するように設定されている。例えば、第2の通信装置2がn番目のデータであるデータnを受信した後、5秒経過しても、(n+1)番目のデータであるデータ(n+1)が第2の通信装置2に到着しなかった場合、第2の通信装置2は、通信路一時断が発生したと判定する。第2の通信装置2は、通信路一時断が発生したと判定した場合、一時断通知として、例えば、“Ichijidan”というテキストデータを第1の通信装置1に送信する。一時断通知は、前述のテキストデータに限られない。一時断通知は、あらかじめ定められているデータであればよい。 For example, the second communication device 2 is set to determine that a communication interruption, which is a state in which the communication path is temporarily disconnected, occurs when the data reception interval exceeds 5 seconds. For example, the data (n + 1) as the (n + 1) th data arrives at the second communication device 2 even after 5 seconds have elapsed since the second communication device 2 received the data n as the nth data. If not, the second communication device 2 determines that a communication path temporary interruption has occurred. If the second communication device 2 determines that a communication path temporary interruption has occurred, the second communication apparatus 2 transmits, for example, text data “Ichijidan” to the first communication apparatus 1 as a temporary interruption notification. The temporary disconnection notification is not limited to the text data described above. The temporary interruption notification may be data determined in advance.
 第1の通信装置1は、例えば、一時断通知を受信した時刻と通信路の切り替えの完了が検知された時刻との差が1秒以内である場合、送信コネクションを変更するように設定されている。例えば、第1の通信装置1は、通信路の切り替えの完了を検知し、その検知の100ミリ秒後に一時断通知を受信した場合、送信コネクションとして、TCPコネクションAの代わりにTCPコネクションBを使用するよう決定する。 The first communication device 1 is set to change the transmission connection when, for example, the difference between the time when the temporary disconnection notification is received and the time when the completion of the switching of the communication path is detected is within one second. Yes. For example, when the first communication device 1 detects the completion of the switching of the communication channel and receives a temporary disconnection notification 100 milliseconds after the detection, the first communication device 1 uses the TCP connection B instead of the TCP connection A as the transmission connection. Decide to do.
 <第2の実装例>
 次に、第3の実施形態に基づく実装例である、第2の実装例について説明する。
<Second implementation example>
Next, a second implementation example that 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 arranged on the Internet. The first communication device 1B does not move. And the 1st communication apparatus 1B cannot detect switching of a 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 that is communicably connected to the Internet. As the second communication device 2B moves, the base station of the mobile network to which the second communication device 2B is connected is switched. The second communication device 2B detects the switching of the mobile network base station as the 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. Data transfer between the first communication device 1B and the second communication device 2B is performed directly via a TCP connection. Also in this implementation example, one of these two TCP connections is denoted as TCP connection A. 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 example, the predetermined interval is 100 milliseconds. When the second communication device 2B receives, for example, data 1 as the first data from the first communication device 1B, the second communication device 2B displays a delivery confirmation 1 indicating that the data 1 has been delivered to the first communication device 1B. Reply to The first communication device 1B receives the returned delivery confirmation 1. Similarly, between the first communication device 1B and the second communication device 2B, the data transmission and the delivery confirmation reply are performed for the data after the data 2 representing the second data.
 第1の通信装置1Bは、データの送信に使用されていないTCPコネクションBが確立されている状態を維持するために、コネクション管理処理を行う。第1の通信装置1Bは、コネクション管理処理として、例えば、300ミリ秒毎にTCPコネクションBを使用してキープアライブメッセージを第2の通信装置2Bに送信する。 The first communication device 1B performs connection management processing in order to maintain a state in which the TCP connection B that is not used for data transmission is established. As the connection management process, the first communication device 1B transmits a keep-alive message to the second communication device 2B using the TCP connection B every 300 milliseconds, for example.
 第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 data (n + 1) th data (n + 1) transmitted in the same manner within a predetermined time after receiving the delivery confirmation n of the data n which is the nth data being transmitted ( If the delivery confirmation (n + 1) of (n + 1) does not arrive, it is determined that a communication path temporary interruption has occurred. The predetermined time is, for example, 5 seconds. In that case, if the first communication apparatus 1B has not received the delivery confirmation (n + 1) of the data (n + 1) even after 5 seconds have elapsed after receiving the delivery confirmation n of the data n, the communication path is temporarily interrupted. It is determined that it has occurred.
 第2の通信装置2Bは、通信路の切り替えの完了を検知した場合、切替通知を、第1の通信装置1Bに送信する。切替通知は、例えば、“Tsushinrokirikae”等のテキストデータであってもよい。切替通知は、あらかじめ定められているデータであればよい。 When the second communication device 2B detects completion of 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 “Tsushirinkokire”. The switching notification may be data determined in advance.
 第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 when, for example, the difference between the time when it is determined that the communication path is temporarily interrupted and the time when the switching notification is received is within a predetermined time. The predetermined time is, for example, 1 second. In this case, for example, when the first communication device 1B receives the switching notification 100 milliseconds after determining that the communication path temporary interruption has occurred, the first communication device 1B changes the transmission connection. Of the two TCP connections, the first communication device 1B determines TCP connection B that is not a transmission connection as a new transmission connection. That is, the first communication device 1B determines to use the TCP connection B in order 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 the configuration of the communication control device 3C according to the present embodiment.
 図8を参照すると、本実施形態の通信制御装置3Cは、管理部102と、変更部103と、を備える。管理部102は、送信先装置に対する複数のコネクションを維持する。変更部103は、判定部202から、一時断通知を受信するのに加えて、切替検知部105から、前記一時断通知に基づく所定期間内に切替通知を受信した場合、選択コネクション以外の複数のコネクションから新たな選択コネクションを選択する。そして、変更部103は、選択した選択コネクションの識別子をデータ送信部101に送信する。判定部202は、複数のコネクションから選択された選択コネクションを介してデータ送信部101が行う送信先装置に対する通信が中断された状態である一時断を検出し、その一時断を検出するのに応じて一時断通知を送信する。切替検知部105は、データ送信部101と送信先装置との間の通信路の切り替えを検出し、その切り替えの完了が検出された場合に切替通知を送信する。 Referring to FIG. 8, the communication control device 3 </ b> C of the present embodiment includes a management unit 102 and a change unit 103. The management unit 102 maintains a plurality of connections to the transmission destination device. In addition to receiving a temporary disconnection notification from the determination unit 202, the changing unit 103 receives a switching notification from the switching detection unit 105 within a predetermined period based on the temporary disconnection notification. Select a new selected connection from the connections. Then, the change unit 103 transmits the selected connection identifier to the data transmission unit 101. The determination unit 202 detects a temporary interruption that is a state where communication with the transmission destination device performed by the data transmission unit 101 via a selected connection selected from a plurality of connections is interrupted, and responds to detecting the temporary interruption Send a suspension notice. The switch detection unit 105 detects the switching of the communication path between the data transmission unit 101 and the transmission destination device, and transmits a switch notification when the completion of the switch is detected.
 本実施形態には、第1の実施形態と同じ効果がある。その理由は、第1の実施形態の効果が生じる理由と同じである。 This 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 apparatus 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 a program for controlling the computer and the computer and dedicated hardware. The communication device according to the embodiment of the present invention includes a first communication device 1, a first communication device 1A, a first communication device 1B, a second communication device 2, a second communication device 2A, and a second communication. The device 2B, the communication control device 3, the communication control device 3A, the communication control device 3B, and the communication control device 3C.
 図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 illustrating an example of a configuration of a computer 1000 that can realize the communication apparatus according to the embodiment of the present invention. Referring to FIG. 9, a computer 1000 includes a processor 1001, a memory 1002, a storage device 1003, and an I / O (Input / Output) interface 1004. The computer 1000 can access the recording medium 1005. The memory 1002 and the storage device 1003 are storage devices such as a RAM (Random Access Memory) and a hard disk, for example. The recording medium 1005 is, for example, a storage device such as a RAM or a hard disk, a ROM (Read Only Memory), or a portable recording medium. The storage device 1003 may be the recording medium 1005. The processor 1001 can read and write data and programs from and to the memory 1002 and the storage device 1003. The processor 1001 can access, for example, other devices via the I / O interface 1004. The processor 1001 can access the recording medium 1005. The recording medium 1005 stores a program that causes the computer 1000 to operate as one of the communication apparatuses according to the embodiment of the present invention.
 プロセッサ1001は、記録媒体1005に格納されている、コンピュータ1000を、本発明の実施形態に係る通信装置のいずれかとして動作させるプログラムを、メモリ1002にロードする。そして、プロセッサ1001が、メモリ1002にロードされたプログラムを実行することにより、コンピュータ1000は、本発明の実施形態に係る通信装置のいずれかとして動作する。 The processor 1001 loads a program stored in the recording medium 1005 to cause the computer 1000 to operate as one of the communication apparatuses according to the embodiment of the present invention. Then, when the processor 1001 executes the program loaded in the memory 1002, the computer 1000 operates as one of the communication apparatuses according to the embodiment of the present invention.
 下記の第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 following first group include, for example, a dedicated program that can be read from a recording medium 1005 that stores the program into the memory 1002 and that can realize the function of each unit, and a processor 1001 that executes the program. Can be realized. The units included in the following second group include, for example, a dedicated program that can be read from a recording medium 1005 that stores the program into the memory 1002 and that can realize the function of each unit, and a processor 1001 that executes the program. Can be realized. The first group includes a data transmission unit 101, a management unit 102, a change unit 103, a notification reception unit 104, a switching detection unit 105, a delivery confirmation reception unit 106, a determination unit 107, a switching reception unit 108, and a switching transmission unit 109. It is. The second group includes a data reception unit 201, a determination unit 202, a notification transmission unit 203, a delivery confirmation transmission unit 204, a switching detection unit 205, a switching transmission unit 206, a switching reception unit 207, and a change instruction unit 208.
 あるいは、第1のグループに含まれる部及び第2のグループに含まれる部の一部又は全部を、各部の機能を実現する専用の回路によって実現することもできる。 Alternatively, a part or all of the parts included in the first group and the part included in the second group can be realized by a dedicated circuit that realizes the function of each part.
 以上、実施形態を参照して本発明を説明したが、本発明は上記実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解し得る様々な変更をすることができる。 The present invention has been described above with reference to the embodiments, but the present invention is not limited to the above embodiments. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.
 また、上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。 Further, a part or all of the above embodiment can be described as in the following supplementary notes, but is not limited thereto.
 (付記1)
 送信先装置に対する複数のコネクションを維持する管理手段と、
 前記複数のコネクションから選択された選択コネクションを介してデータ送信手段が行う前記送信先装置に対する通信が中断された状態である一時断を検出し、当該一時断を検出するのに応じて一時断通知を送信する判定手段から、前記一時断通知を受信するのに加えて、
 前記データ送信手段と前記送信先装置との間の通信路の切り替えを検出し、当該切り替えの完了が検出された場合に切替通知を送信する切替検知手段から、前記一時断通知に基づく所定期間内に前記切替通知を受信した場合、
 前記選択コネクション以外の前記複数のコネクションから新たな前記選択コネクションを選択し、選択した前記選択コネクションの識別子を前記データ送信手段に送信する変更手段と、
 を備える通信制御装置。
(Appendix 1)
Management means for maintaining a plurality of connections to the destination device;
A temporary disconnection is detected in response to detecting a temporary disconnection in a state where communication with the transmission destination device performed by the data transmission unit via the selected connection selected from the plurality of connections is interrupted. In addition to receiving the temporary suspension notification from the determination means for transmitting
Within a predetermined period based on the temporary disconnection notification from the switching detection unit that detects switching of the communication path between the data transmission unit and the transmission destination device and transmits a switching notification when the 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 selected connection to the data transmitting means;
A communication control device comprising:
 (付記2)
 前記データ送信手段は、前記データに当該データの送信時刻を関連付けて送信し、
 前記判定手段は、前記一時断の発生前に最後に送信された前記データに関連付けられている送信時刻を、前記一時断通知に関連付けて送信し、
 前記変更手段は、前記一時断通知に関連付けられている送信時刻を、前記所定期間の開始時刻に設定する
 付記1に記載の通信制御装置。
(Appendix 2)
The data transmission means transmits the data in association with a transmission time of the data,
The determination means transmits the transmission time associated with the data transmitted last before the occurrence of the temporary disconnection in association with the temporary disconnection notification,
The communication control device according to claim 1, wherein the changing unit sets a transmission time associated with the temporary disconnection notification to a start time of the predetermined period.
 (付記3)
 前記判定手段は、前記送信先装置が前記データ送信手段から最後にデータを受信してから経過した時間に基づき、前記一時断を検出する
 付記1又は2に記載の通信制御装置。
(Appendix 3)
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.
 (付記4)
 前記データ送信手段は、所定間隔で前記データを送信し、
 前記判定手段は、前記データを受信する間隔の前記所定間隔に対するずれの大きさが所定閾値を超える場合、前記一時断の発生を判定する
 付記1乃至3のいずれかに記載の通信制御装置。
(Appendix 4)
The data transmission means transmits the data at a predetermined interval,
The communication control apparatus according to any one of appendices 1 to 3, wherein the determination unit determines the occurrence of the temporary disconnection when a magnitude of a deviation of the interval for receiving the data from the predetermined interval exceeds a predetermined threshold.
 (付記5)
 前記所定期間の開始時刻は、前記一時断通知に基づく時刻である確定時刻より第1の所定時間前の時刻、又は前記一時断の発生前における前記データの最後の送信時刻であり、
前記所定期間の終了時刻は、前記一時断通知に基づく時刻である確定時刻より第2の所定時間後の時刻、又は前記切替通知の受信時刻である
 付記1乃至4のいずれかに記載の通信制御装置。
(Appendix 5)
The start time of the predetermined period is a time that is a first predetermined time before a fixed time that is a time based on the temporary disconnection notification, or a last transmission time of the data before the occurrence of the temporary disconnection,
The communication control according to any one of appendices 1 to 4, wherein an end time of the predetermined period is a time after a second predetermined time from a fixed time that is a time based on the temporary suspension notification, or a reception time of the switching notification. apparatus.
 (付記6)
 前記データ送信手段を含む送信装置と、
 前記データを受信するのに応じて、前記データの受信を前記判定手段に通知するデータ受信手段を含む前記送信先装置と、
 付記1乃至5のいずれかに記載の通信制御装置と、
 を含む通信システム。
(Appendix 6)
A transmission device including the data transmission means;
The destination device including data receiving means for notifying the determination means of reception of the data in response to receiving the data;
The communication control device according to any one of appendices 1 to 5,
A communication system including:
 (付記7)
 前記送信装置は、前記切替検知手段と、前記通信制御装置とを更に含み、
 前記送信先装置は、前記判定手段を更に含む、
 付記6に記載の通信システム。
(Appendix 7)
The transmission device further includes the switching detection means and the communication control device,
The transmission destination device further includes the determination unit.
The communication system according to attachment 6.
 (付記8)
 前記送信先装置は、前記データ受信手段が前記データを受信したことを表す送達確認を送信する確認送信手段と、前記切替検知手段とを更に含み、
 前記送信装置は、前記送達確認を受信するのに応じて、当該送達確認の受信時刻を、前記データの受信時刻として、前記判定手段に通知する確認受信手段と、前記判定手段とを更に含む、
 付記6に記載の通信システム。
(Appendix 8)
The transmission destination device further includes a confirmation transmission unit that transmits a delivery confirmation indicating that the data reception unit has received the data, and the switching detection unit,
The transmission device further includes a confirmation reception unit that notifies the determination unit 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 unit.
The communication system according to attachment 6.
 (付記9)
 送信先装置に対する複数のコネクションを維持し、
 前記複数のコネクションから選択された選択コネクションを介してデータ送信手段が行う前記送信先装置に対する通信が中断された状態である一時断を検出し、当該一時断を検出するのに応じて一時断通知を送信する判定手段から、前記一時断通知を受信するのに加えて、
 前記データ送信手段と前記送信先装置との間の通信路の切り替えを検出し、当該切り替えの完了が検出された場合に切替通知を送信する切替検知手段から、前記一時断通知に基づく所定期間内に前記切替通知を受信した場合、
 前記選択コネクション以外の前記複数のコネクションから新たな前記選択コネクションを選択し、選択した前記選択コネクションの識別子を前記データ送信手段に送信する
 通信制御方法。
(Appendix 9)
Maintain multiple connections to the destination device,
A temporary disconnection is detected in response to detecting a temporary disconnection in a state where communication with the transmission destination device performed by the data transmission unit via the selected connection selected from the plurality of connections is interrupted. In addition to receiving the temporary suspension notification from the determination means for transmitting
Within a predetermined period based on the temporary disconnection notification from the switching detection unit that detects switching of the communication path between the data transmission unit and the transmission destination device and transmits a switching notification when the completion of the switching is detected. If the switch notification is received on
A communication control method for selecting a new selected connection from the plurality of connections other than the selected connection and transmitting an identifier of the selected selected connection to the data transmitting means.
 (付記10)
 前記データに当該データの送信時刻を関連付けて送信し、
 前記一時断の発生前に最後に送信された前記データに関連付けられている送信時刻を、前記一時断通知に関連付けて送信し、
 前記一時断通知に関連付けられている送信時刻を、前記所定期間の開始時刻に設定する
 付記9に記載の通信制御方法。
(Appendix 10)
Transmitting the data in association with the transmission time of the data,
A transmission time associated with the data transmitted last before the occurrence of the suspension is transmitted in association with the suspension notification;
The communication control method according to claim 9, wherein a transmission time associated with the temporary suspension notification is set to a start time of the predetermined period.
 (付記11)
 前記送信先装置が前記データ送信手段から最後にデータを受信してから経過した時間に基づき、前記一時断を検出する
 付記9又は10に記載の通信制御方法。
(Appendix 11)
The communication control method according to appendix 9 or 10, wherein the temporary disconnection is detected based on a time elapsed since the transmission destination device last received data from the data transmission unit.
 (付記12)
 所定間隔で前記データを送信し、
 前記データを受信する間隔の前記所定間隔に対するずれの大きさが所定閾値を超える場合、前記一時断の発生を判定する
 付記9乃至11のいずれかに記載の通信制御方法。
(Appendix 12)
Sending the data at predetermined intervals,
The communication control method according to any one of appendices 9 to 11, wherein the occurrence of the temporary interruption is determined when the magnitude of deviation of the interval for receiving the data from the predetermined interval exceeds a predetermined threshold.
 (付記13)
 前記所定期間の開始時刻は、前記一時断通知に基づく時刻である確定時刻より第1の所定時間前の時刻、又は前記一時断の発生前における前記データの最後の送信時刻であり、
前記所定期間の終了時刻は、前記一時断通知に基づく時刻である確定時刻より第2の所定時間後の時刻、又は前記切替通知の受信時刻である
 付記9乃至12のいずれかに記載の通信制御方法。
(Appendix 13)
The start time of the predetermined period is a time that is a first predetermined time before a fixed time that is a time based on the temporary disconnection notification, or a last transmission time of the data before the occurrence of the temporary disconnection,
The communication control according to any one of appendices 9 to 12, wherein the end time of the predetermined period is a time that is a second predetermined time after a fixed time that is a time based on the temporary suspension notification, or a reception time of the switching notification. Method.
 (付記14)
 コンピュータを、
 送信先装置に対する複数のコネクションを維持する管理手段と、
 前記複数のコネクションから選択された選択コネクションを介してデータ送信手段が行う前記送信先装置に対する通信が中断された状態である一時断を検出し、当該一時断を検出するのに応じて一時断通知を送信する判定手段から、前記一時断通知を受信するのに加えて、
 前記データ送信手段と前記送信先装置との間の通信路の切り替えを検出し、当該切り替えの完了が検出された場合に切替通知を送信する切替検知手段から、前記一時断通知に基づく所定期間内に前記切替通知を受信した場合、
 前記選択コネクション以外の前記複数のコネクションから新たな前記選択コネクションを選択し、選択した前記選択コネクションの識別子を前記データ送信手段に送信する変更手段と、
 して動作させる通信制御プログラム。
(Appendix 14)
Computer
Management means for maintaining a plurality of connections to the destination device;
A temporary disconnection is detected in response to detecting a temporary disconnection in a state where communication with the transmission destination device performed by the data transmission unit via the selected connection selected from the plurality of connections is interrupted. In addition to receiving the temporary suspension notification from the determination means for transmitting
Within a predetermined period based on the temporary disconnection notification from the switching detection unit that detects switching of the communication path between the data transmission unit and the transmission destination device and transmits a switching notification when the 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 selected connection to the data transmitting means;
Communication control program to be operated.
 (付記15)
 コンピュータを、
 前記データに当該データの送信時刻を関連付けて送信する前記データ送信手段と、
 前記一時断の発生前に最後に送信された前記データに関連付けられている送信時刻を、前記一時断通知に関連付けて送信する前記判定手段と、
 前記一時断通知に関連付けられている送信時刻を、前記所定期間の開始時刻に設定する前記変更手段と、
 して動作させる付記14に記載の通信制御プログラム。
(Appendix 15)
Computer
The data transmission means for transmitting the data in association with the transmission time of the data;
The determination means for transmitting the transmission time associated with the data transmitted last before the occurrence of the suspension in association with the suspension notification;
The changing means for setting a transmission time associated with the suspension notice to a start time of the predetermined period;
The communication control program according to appendix 14, which is operated as described above.
 (付記16)
 コンピュータを、
 前記送信先装置が前記データ送信手段から最後にデータを受信してから経過した時間に基づき、前記一時断を検出する前記判定手段と、
 して動作させる付記14又は15に記載の通信制御プログラム。
(Appendix 16)
Computer
The determination means for detecting the temporary disconnection based on a time elapsed since the transmission destination device last received data from the data transmission means;
The communication control program according to appendix 14 or 15, which is operated as described above.
 (付記17)
 コンピュータを、
 所定間隔で前記データを送信する前記データ送信手段と、
 前記データを受信する間隔の前記所定間隔に対するずれの大きさが所定閾値を超える場合、前記一時断の発生を判定する前記判定手段と、
 して動作させる付記14乃至16のいずれかに記載の通信制御プログラム。
(Appendix 17)
Computer
The data transmission means for transmitting the data at a predetermined interval;
The determination means for determining the occurrence of the temporary disconnection when the magnitude of 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 as described above.
 (付記18)
 前記所定期間の開始時刻は、前記一時断通知に基づく時刻である確定時刻より第1の所定時間前の時刻、又は前記一時断の発生前における前記データの最後の送信時刻であり、
前記所定期間の終了時刻は、前記一時断通知に基づく時刻である確定時刻より第2の所定時間後の時刻、又は前記切替通知の受信時刻である
 付記14乃至17のいずれかに記載の通信制御プログラム。
(Appendix 18)
The start time of the predetermined period is a time that is a first predetermined time before a fixed time that is a time based on the temporary disconnection notification, or a last transmission time of the data before the occurrence of the temporary disconnection,
The communication control according to any one of appendices 14 to 17, wherein the end time of the predetermined period is a time after a second predetermined time from a fixed time that is a time based on the temporary suspension notification, or a reception time of the switching notification. program.
 この出願は、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 can be applied to systems that are severe in communication delay, 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  記録媒体
DESCRIPTION OF SYMBOLS 1 1st communication apparatus 1A 1st communication apparatus 1B 1st communication apparatus 2 2nd communication apparatus 2A 2nd communication apparatus 2B 2nd communication apparatus 3 Communication control apparatus 3A Communication control apparatus 3B Communication control apparatus 3C Communication Control device 10 Communication system 10A Communication system 10B Communication system 101 Data transmission unit 102 Management unit 103 Change unit 104 Notification reception unit 105 Switching detection unit 106 Delivery confirmation reception unit 107 Determination unit 108 Switching reception unit 109 Switching transmission unit 201 Data reception unit 202 Determination unit 203 Notification transmission unit 204 Delivery confirmation transmission unit 205 Switching detection unit 206 Switching transmission unit 207 Switching reception unit 208 Change instruction unit 1000 Computer 1001 Processor 1002 Memory 1003 Storage device 1004 I / O interface 1005 Recording Body

Claims (10)

  1.  送信先装置に対する複数のコネクションを維持する管理手段と、
     前記複数のコネクションから選択された選択コネクションを介してデータ送信手段が行う前記送信先装置に対する通信が中断された状態である一時断を検出し、当該一時断を検出するのに応じて一時断通知を送信する判定手段から、前記一時断通知を受信するのに加えて、
     前記データ送信手段と前記送信先装置との間の通信路の切り替えを検出し、当該切り替えの完了が検出された場合に切替通知を送信する切替検知手段から、前記一時断通知に基づく所定期間内に前記切替通知を受信した場合、
     前記選択コネクション以外の前記複数のコネクションから新たな前記選択コネクションを選択し、選択した前記選択コネクションの識別子を前記データ送信手段に送信する変更手段と、
     を備える通信制御装置。
    Management means for maintaining a plurality of connections to the destination device;
    A temporary disconnection is detected in response to detecting a temporary disconnection in a state where communication with the transmission destination device performed by the data transmission unit via the selected connection selected from the plurality of connections is interrupted. In addition to receiving the temporary suspension notification from the determination means for transmitting
    Within a predetermined period based on the temporary disconnection notification from the switching detection unit that detects switching of the communication path between the data transmission unit and the transmission destination device and transmits a switching notification when the 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 selected connection to the data transmitting means;
    A communication control device comprising:
  2.  前記データ送信手段は、前記データに当該データの送信時刻を関連付けて送信し、
     前記判定手段は、前記一時断の発生前に最後に送信された前記データに関連付けられている送信時刻を、前記一時断通知に関連付けて送信し、
     前記変更手段は、前記一時断通知に関連付けられている送信時刻を、前記所定期間の開始時刻に設定する
     請求項1に記載の通信制御装置。
    The data transmission means transmits the data in association with a transmission time of the data,
    The determination means transmits the transmission time associated with the data transmitted last before the occurrence of the temporary disconnection in association with the temporary disconnection notification,
    The communication control apparatus according to claim 1, wherein the changing unit sets a transmission time associated with the temporary suspension notification as a start time of the predetermined period.
  3.  前記判定手段は、前記送信先装置が前記データ送信手段から最後にデータを受信してから経過した時間に基づき、前記一時断を検出する
     請求項1又は2に記載の通信制御装置。
    The communication control device according to claim 1, 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.
  4.  前記データ送信手段は、所定間隔で前記データを送信し、
     前記判定手段は、前記データを受信する間隔の前記所定間隔に対するずれの大きさが所定閾値を超える場合、前記一時断の発生を判定する
     請求項1乃至3のいずれかに記載の通信制御装置。
    The data transmission means transmits the data at a predetermined interval,
    The communication control device according to any one of claims 1 to 3, wherein the determination unit determines the occurrence of the temporary disconnection when a magnitude of a deviation of the interval of receiving the data from the predetermined interval exceeds a predetermined threshold.
  5.  前記所定期間の開始時刻は、前記一時断通知に基づく時刻である確定時刻より第1の所定時間前の時刻、又は前記一時断の発生前における前記データの最後の送信時刻であり、
    前記所定期間の終了時刻は、前記一時断通知に基づく時刻である確定時刻より第2の所定時間後の時刻、又は前記切替通知の受信時刻である
     請求項1乃至4のいずれかに記載の通信制御装置。
    The start time of the predetermined period is a time that is a first predetermined time before a fixed time that is a time based on the temporary disconnection notification, or a last transmission time of the data before the occurrence of the temporary disconnection,
    5. The communication according to claim 1, wherein the end time of the predetermined period is a time after a second predetermined time from a fixed time that is a time based on the temporary suspension notification, or a reception time of the switching notification. Control device.
  6.  前記データ送信手段を含む送信装置と、
     前記データを受信するのに応じて、前記データの受信を前記判定手段に通知するデータ受信手段を含む前記送信先装置と、
     請求項1乃至5のいずれかに記載の通信制御装置と、
     を含む通信システム。
    A transmission device including the data transmission means;
    The destination device including data receiving means for notifying the determination means of reception of the data in response to receiving the data;
    A communication control device according to any one of claims 1 to 5;
    A communication system including:
  7.  前記送信装置は、前記切替検知手段と、前記通信制御装置とを更に含み、
     前記送信先装置は、前記判定手段を更に含む、
     請求項6に記載の通信システム。
    The transmission device further includes the switching detection means and the communication control device,
    The transmission destination device further includes the determination unit.
    The communication system according to claim 6.
  8.  前記送信先装置は、前記データ受信手段が前記データを受信したことを表す送達確認を送信する確認送信手段と、前記切替検知手段とを更に含み、
     前記送信装置は、前記送達確認を受信するのに応じて、当該送達確認の受信時刻を、前記データの受信時刻として、前記判定手段に通知する確認受信手段と、前記判定手段とを更に含む、
     請求項6に記載の通信システム。
    The transmission destination device further includes a confirmation transmission unit that transmits a delivery confirmation indicating that the data reception unit has received the data, and the switching detection unit,
    The transmission device further includes a confirmation reception unit that notifies the determination unit 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 unit.
    The communication system according to claim 6.
  9.  送信先装置に対する複数のコネクションを維持し、
     前記複数のコネクションから選択された選択コネクションを介してデータ送信手段が行う前記送信先装置に対する通信が中断された状態である一時断を検出し、当該一時断を検出するのに応じて一時断通知を送信する判定手段から、前記一時断通知を受信するのに加えて、
     前記データ送信手段と前記送信先装置との間の通信路の切り替えを検出し、当該切り替えの完了が検出された場合に切替通知を送信する切替検知手段から、前記一時断通知に基づく所定期間内に前記切替通知を受信した場合、
     前記選択コネクション以外の前記複数のコネクションから新たな前記選択コネクションを選択し、選択した前記選択コネクションの識別子を前記データ送信手段に送信する
     通信制御方法。
    Maintain multiple connections to the destination device,
    A temporary disconnection is detected in response to detecting a temporary disconnection in a state where communication with the transmission destination device performed by the data transmission unit via the selected connection selected from the plurality of connections is interrupted. In addition to receiving the temporary suspension notification from the determination means for transmitting
    Within a predetermined period based on the temporary disconnection notification from the switching detection unit that detects switching of the communication path between the data transmission unit and the transmission destination device and transmits a switching notification when the completion of the switching is detected. If the switch notification is received on
    A communication control method for selecting a new selected connection from the plurality of connections other than the selected connection and transmitting an identifier of the selected selected connection to the data transmitting means.
  10.  コンピュータを、
     送信先装置に対する複数のコネクションを維持する管理手段と、
     前記複数のコネクションから選択された選択コネクションを介してデータ送信手段が行う前記送信先装置に対する通信が中断された状態である一時断を検出し、当該一時断を検出するのに応じて一時断通知を送信する判定手段から、前記一時断通知を受信するのに加えて、
     前記データ送信手段と前記送信先装置との間の通信路の切り替えを検出し、当該切り替えの完了が検出された場合に切替通知を送信する切替検知手段から、前記一時断通知に基づく所定期間内に前記切替通知を受信した場合、
     前記選択コネクション以外の前記複数のコネクションから新たな前記選択コネクションを選択し、選択した前記選択コネクションの識別子を前記データ送信手段に送信する変更手段と、
     して動作させる通信制御プログラムを記憶する記録媒体。
    Computer
    Management means for maintaining a plurality of connections to the destination device;
    A temporary disconnection is detected in response to detecting a temporary disconnection in a state where communication with the transmission destination device performed by the data transmission unit via the selected connection selected from the plurality of connections is interrupted. In addition to receiving the temporary suspension notification from the determination means for transmitting
    Within a predetermined period based on the temporary disconnection notification from the switching detection unit that detects switching of the communication path between the data transmission unit and the transmission destination device and transmits a switching notification when the 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 selected connection to the data transmitting means;
    A recording medium for storing a communication control program to be operated.
PCT/JP2015/002018 2014-04-10 2015-04-10 Communication control apparatus, communication control method, and recording medium on which communication control program has been stored WO2015155996A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016512608A JP6528768B2 (en) 2014-04-10 2015-04-10 Communication control device, communication control method and communication control program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2014-081114 2014-04-10
JP2014081114 2014-04-10

Publications (1)

Publication Number Publication Date
WO2015155996A1 true WO2015155996A1 (en) 2015-10-15

Family

ID=54287580

Family Applications (1)

Application Number Title Priority Date Filing Date
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

Country Status (2)

Country Link
JP (1) JP6528768B2 (en)
WO (1) WO2015155996A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005012711A (en) * 2003-06-20 2005-01-13 Sony Corp 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

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005012711A (en) * 2003-06-20 2005-01-13 Sony Corp 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

Also Published As

Publication number Publication date
JPWO2015155996A1 (en) 2017-04-13
JP6528768B2 (en) 2019-06-12

Similar Documents

Publication Publication Date Title
JP4509545B2 (en) Reliable messaging system with configurable settings
US9037935B2 (en) Apparatus and method for retransmitting message in message transmission system
JP2013191931A (en) Information processing device, congestion control method, and congestion control program
KR20200065055A (en) Data transmission method and device
US8060628B2 (en) Technique for realizing high reliability in inter-application communication
CN114363147B (en) Improved error handling for medium access control security
JP2017505011A (en) Method and node apparatus for operating a node in a network
JP2010205234A (en) Monitoring system, network apparatus, monitoring information providing method, and program
WO2015155996A1 (en) Communication control apparatus, communication control method, and recording medium on which communication control program has been stored
KR101458624B1 (en) Congestion window control method using MPTCP and mobile station using the method
US8976648B2 (en) Method and apparatus for managing load on service devices in a communication network
JP6468566B2 (en) Data transmission control system and method, and data transmission control program
US9094879B2 (en) Handover method of wireless communication system, and wireless base station and wireless terminal of the same system
WO2015194134A1 (en) Communications state estimation device, communications state estimation method, and storage medium that stores communications state estimation program
US20150156164A1 (en) Communication system, communication control method, communication relay system, and communication relay control method
US20110238819A1 (en) Apparatus and method for transmitting information on an operational state of the same
KR101625399B1 (en) Method and apparatus for controlling tcp connection in software defined network
JP2010193039A (en) Communication device, communication system, and communication control method
CN113206795B (en) Transmission strategy adjusting method, device, equipment and readable storage medium
JP2004363986A (en) Wireless information communication system, program for terminal, and program for server
KR101933175B1 (en) Mediatioin appratus mediating communication betwwen server and client
JP2008017026A (en) Base station managing apparatus, program, and radio communication network system
WO2013179554A1 (en) Communication apparatus and communication method
JP2017034562A (en) Communication device and reconnection method
CN107801218B (en) Control method and device for aggregating frames in access point switching

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15776020

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016512608

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15776020

Country of ref document: EP

Kind code of ref document: A1