WO2011027405A1 - Dispositif de communication - Google Patents

Dispositif de communication Download PDF

Info

Publication number
WO2011027405A1
WO2011027405A1 PCT/JP2009/004392 JP2009004392W WO2011027405A1 WO 2011027405 A1 WO2011027405 A1 WO 2011027405A1 JP 2009004392 W JP2009004392 W JP 2009004392W WO 2011027405 A1 WO2011027405 A1 WO 2011027405A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
interface
identifier
identification information
processing unit
Prior art date
Application number
PCT/JP2009/004392
Other languages
English (en)
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 PCT/JP2009/004392 priority Critical patent/WO2011027405A1/fr
Publication of WO2011027405A1 publication Critical patent/WO2011027405A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Definitions

  • the present invention relates to a communication device.
  • a communication device there is a device that includes a plurality of interfaces and can switch the interfaces.
  • Patent Document 1 For example, when the communication apparatus moves, the radio wave of the network connected to one interface is weakened, so the interface may be switched to an interface connected to a network with strong radio waves.
  • the present invention aims to prevent communication of an application from being stopped against the user's intention.
  • a communication apparatus is a communication apparatus that communicates with another apparatus via a network, and includes a first interface and a second interface that can be connected to the network.
  • Identification information including an interface, an application identifier for identifying an application, and an interface identifier for identifying an interface used by the application, a processing unit for switching an interface used for communication by the application, and the processing unit
  • it is a roamable application that can continue communication even when the interface used by the application is switched, or roaming that cannot continue communication when the interface used by the application is switched.
  • a determination unit that determines whether the application is an application, and when the application communicates using the first interface, the processing unit includes an application identifier that identifies the application and the first interface.
  • First identification information including a first interface identifier to be identified is output, and when the second interface is connected to a network, an application identifier and a second interface to identify an application capable of roaming are identified.
  • the second identification information including the second interface identifier is output, and the determination unit can roam the application specified by the application identifier included in both the first identification information and the second identification information. It is determined that the application is Determining that the application identified by the application identifier not included in the second identification information is an application that cannot be roamed, and the processing unit determines that the application is not roaming.
  • the interface used for communication by the application is not switched from the first interface to the second interface.
  • FIG. 1 is a diagram illustrating a communication system according to the first embodiment.
  • the communication device 10 of the communication system includes an interface 101 and an interface 102.
  • the communication device 10 can communicate with the communication device 60 and the communication device 70 via the wireless LAN 80 and the Internet 85 using the interface 101.
  • the communication apparatus 10 can communicate with the communication apparatus 60 and the communication apparatus 70 via the cellular network 90 and the Internet 85 using the interface 102.
  • an application operating in the communication device 10 is an application that can continue communication (an application that can roam). It is determined whether the application is an application that cannot be continued (an application that cannot be roamed). If the application is an application that cannot be roamed, communication from the interface 101 to communication using the interface 102 is performed for the application. The communication using the interface 101 is continued without switching.
  • the wireless LAN 80 is a network to which the interface 101 can be connected, and is connected to the Internet 85.
  • the cellular network 90 is a network to which the interface 102 can be connected, and is connected to the Internet 85.
  • the Internet 85 is connected to the communication device 60 and the communication device 70.
  • the communication device 10 detects that the radio wave has weakened. Then, it is determined whether to switch the interface from the interface 101 to the interface 102. When it is determined to switch, the communication device 10 switches from the interface 101 to the interface 102.
  • FIG. 2 is a block diagram showing the communication device 10.
  • the communication apparatus 10 includes a roaming application 104A and a non-roaming application 104B. Both the roamable application 104A and the non-roamable application 104B can communicate with the communication device 60 and the communication device 70 via the wireless LAN 80 and the Internet 85 using the interface 101. Can be communicated with the communication device 60 and the communication device 70 via the cellular network 90 and the Internet 85.
  • the roamable application 104A can continue communication even after the interface used for communication is switched from the interface 101 to the interface 102. On the other hand, when the application 104B that cannot roam is switched from the interface 101 to the interface 102, communication cannot be continued.
  • the application 104A capable of roaming is, for example, a VoIP application.
  • the application 104B that cannot be roamed at the present time is, for example, mail software or a web browser. Note that these non-roamable applications 104B can become roamable applications as future technology advances.
  • the processing unit 103 uses an application identifier (for example, process ID) that identifies the application 104A in response to a request from the determination unit 105 and the interface 101.
  • the first socket information (first identification information) including the first IP address (first interface identifier) that identifies the first IP address is output to the determination unit 105.
  • the processing unit 103 responds to the request from the determination unit 105 with an application identifier that identifies the application 104B and the first assigned to the interface 101.
  • the first socket information including one IP address is output to the determination unit 105.
  • the first socket information is socket information including the first IP address of the interface 101.
  • the determination unit 105 acquires all socket information from the processing unit 103 before and after connecting the interface 102 to the cellular network 90. Regardless of the time point at which the determination unit 105 acquires socket information, socket information including the first IP address assigned to the interface 101 is set as first socket information.
  • the processing unit 103 receives the application identifier that identifies the roaming application 104A and the second IP address (second interface identifier) assigned to the interface 102.
  • the included second socket information (second identification information) is output to the determination unit 105.
  • the second socket information is socket information including the second IP address of the interface 102.
  • the socket information including the second IP address of the interface 102 is set as the second socket information.
  • the roamable application 104A can detect when the interface 102 is connected to the cellular network. When detecting the connection, the roamable application 104A causes the processing unit 103 to generate socket information.
  • the processing unit 103 outputs the socket information to the determination unit 105. Note that the determination unit 105 may periodically acquire socket information from the processing unit 103.
  • the processing unit 103 and the application identifier that identifies the application 104B that cannot roam and the second interface 102 The second socket information including the IP address is not output to the determination unit 105.
  • the non-roamable application 104B does not communicate using the interface 102 even if the interface 102 is connected to the cellular network. Therefore, since there is no instruction for generating the second socket information to the processing unit 103 from the application 104B, the processing unit 103 does not generate the second socket information including the application identifier of the application 104B.
  • the determination unit 105 determines whether an application operating on the communication device 10 is a roamable application or a non-roamable application using all socket information acquired before and after connecting the interface 102 to the cellular network 90. To do. That is, as described above, the determination unit 105 can acquire the first socket information and the second socket information including the application identifier of the roamable application 104A. On the other hand, the determination unit 105 can acquire the first socket information including the application identifier of the application 104B that cannot be roamed, but cannot acquire the second socket information including the application identifier of the application 104B that cannot be roamed.
  • the application specified by the application identifier included in each of the first socket information and the second socket information can be specified as the roamable application 104A, and is specified by the application identifier included only in the first socket information. Can be identified as the application 104B that cannot be roamed.
  • the processing unit 103 receives an instruction from the determination unit 105 and uses the interface 101 for an interface used by the application for communication. Switch to the interface 102. Further, when it is determined that the application operating in the communication apparatus 10 includes the application 104B that cannot be roamed, the interface is not switched from the interface 101 to the interface 102.
  • the communication apparatus 10 includes an interface 101, an interface 102, a processing unit 103, applications 104A and 104B, a determination unit 105, an application management unit 106, and a setting storage unit 107.
  • both the applications 104A and 104B communicate with the communication device 60 or the communication device 70 via the wireless LAN 80 and the Internet 85 using the interface 101.
  • the determination unit 105 of the communication apparatus 10 determines whether to switch the interface from the interface 101 to the interface 102.
  • the communication device 10 switches from the interface 101 to the interface 102 and communicates with the communication device 60 or the communication device 70 via the cellular network 90 and the Internet 85.
  • the applications 104A and 104B generate data and output the data to the processing unit 103.
  • the data is voice information.
  • the application 104A detects that the interface 102 is connected to the cellular network 90, the application 104A causes the processing unit 103 to generate a packet including the second IP address that identifies the interface 102, The communication apparatus 60 of the communication partner is notified.
  • the processing unit 103 performs a protocol process on the data output from the application 104 to generate a packet.
  • the processing unit 103 transmits the generated packet from the interface 101 or the interface 102 to the communication device 60 or the communication device 70.
  • the processing unit 103 also determines an output interface using a routing table described later stored in the setting storage unit 107.
  • the processing unit 103 generates first socket information or second socket information according to an instruction from the application 104.
  • the processing unit 103 outputs the first socket information and the second socket information to the determination unit 105.
  • FIG. 3 is a diagram illustrating socket information.
  • the socket information is composed of a set of protocol type, own address, own port number, counterpart address, counterpart port number, and process ID.
  • the protocol type indicates a protocol used by the application for communication. For example, TCP or UDP.
  • the own address indicates an IP address assigned to the interface used by the application for communication.
  • the own port number indicates the TCP or UDP port number used by the application for communication.
  • the partner address and partner port number indicate the IP address of the interface of the communication device of the communication partner and the TCP or UDP port number used for communication, respectively.
  • the process ID is an identifier that identifies an application.
  • the setting storage unit 107 stores a route table set in the communication device and interface metrics of each interface included in the communication device.
  • Fig. 4 (a) shows an example of interface metrics.
  • the interface metrics of the interface 101 and the interface 102 are 20, 30, respectively.
  • Fig. 4 (c) shows an example representing a part of the route table.
  • the route table is composed of a plurality of routes.
  • a route is composed of a set of destination, netmask, gateway, interface, and metric.
  • the interface included in the route table is an interface connected to the network.
  • a route whose destination and netmask are 0.0.0.0 is referred to as a default route.
  • the processing unit 103 determines an interface that outputs a packet by applying a longest match algorithm to the destination and netmask of each route and the destination address of the packet. As a result, when a plurality of default routes are selected, the processing unit 103 selects an interface included in the default route having a small metric as an output interface.
  • the route table includes two default routes, and the metrics of the route including the interface 101 and the interface 102 are 20 and 30, respectively.
  • the route metric changes according to the value of the interface metric.
  • the interface metrics of the interface 101 and the interface 102 are 20 and 30, respectively.
  • the metric of each default route has the same value as the interface metric of the interface included in each default route. In this way, the magnitude relationship of each route is the same as the magnitude relationship of the interface metrics.
  • the interface metric and the route metric need not be the same value.
  • the path metric and interface metric can be changed independently. Therefore, in the example of FIG. 4C, the processing unit 103 transmits a packet from the interface 101 unless the application specifies an output interface.
  • the processing unit 103 also connects or disconnects the interfaces 101 and 102 to and from the wireless LAN 80 and the cellular network 90 according to instructions from the determination unit 105, respectively. Further, the processing unit 103 changes the value of the interface metric stored in the setting storage unit 107 in accordance with an instruction from the determination unit 105. Further, the processing unit 103 changes the metric value of the route stored in the setting storage unit 107 in accordance with the instruction of the determination unit 105. Further, when the interface 103 is connected to the network, the processing unit 103 adds a route corresponding to the interface to the route table. Further, when the interface 103 is disconnected from the network, the processing unit 103 deletes the route corresponding to the interface from the route table.
  • the determination unit 105 uses the socket information output from the processing unit 103 to determine whether the application 104A and the application 104B operating on the communication device 10 are roamable applications or non-roamable applications. Specifically, first, before the connection of the interface 102, the determination unit 105 acquires all socket information output by the processing unit 103. Also, the determination unit 105 acquires a process ID and a set of application names corresponding to the process ID from the application management unit 106. The application management unit 106 manages a combination of an application name and a process ID of an application running on the communication device 10. The determination unit 105 uses the socket information and information acquired from the application management unit 106 to identify an application that is communicating or preparing for communication before the interface 102 is connected.
  • the determination unit 105 acquires all socket information from the processing unit 103 again after the interface 102 is connected. Also, all combinations of process IDs and application names are acquired from the application management unit 106. The socket information and the information acquired from the application management unit 106 are used to identify an application that is communicating or preparing for communication using the interface 102 after the interface 102 is connected.
  • the socket information acquired before and after connection of the interface 102 includes first socket information including a process ID of a certain application, and the socket information acquired after connection of the interface 102 includes the process ID of the same application. If there is second socket information, it is determined that the application is a roamable application. In addition, an application that is communicating other than the roamable application is determined to be an application that cannot be roamed.
  • the determination unit 105 determines that the application 104A operating on the communication device 10 is a roamable application and switches the interface. Specifically, the determination unit 105 causes the processing unit 103 to disconnect the interface 101 from the wireless LAN 80. On the other hand, when the application 104B is operating, the determination unit 105 determines that the application 104B is an application that cannot be roamed, and interrupts interface switching. That is, the determination unit 105 causes the processing unit 103 to disconnect the interface 102 from the cellular network 102 without disconnecting the interface 101 from the wireless LAN 80.
  • FIG. 5 is a flowchart illustrating an operation method of the communication device 10.
  • the interface 101 is being connected to the wireless LAN 80, and the roamable application 104A and the non-roamable application 104B are in communication with the communication device 60 via the wireless LAN 80 and the Internet 85. . Further, it is assumed that the interface 102 is not connected to the cellular network 90.
  • the determination unit 105 acquires all socket information from the processing unit 103. Since the interface 101 is being connected before the interface is switched, the processing unit 103 outputs the first socket information (S1). As described above, the first socket information is socket information whose own address is the IP address of the interface 101.
  • the determination unit 105 identifies an application corresponding to each of the first socket information acquired from the processing unit 103 (S2). In other words, the determination unit 105 acquires the combination of the application name and the process ID managed by the application management unit 106 and compares the acquired process ID with the process ID included in the first socket information, thereby including it in the first socket information.
  • the application corresponding to the process ID to be specified is specified.
  • the determination unit 105 specifies that the applications corresponding to the first socket information are the applications 104A and 104B.
  • an application corresponding to socket information is defined as an application specified by an application identifier (process ID) included in the socket information.
  • the processing unit 103 connects the interface 102 to the cellular network 90 while maintaining the connection of the interface 101 (S3). Specifically, first, the processing unit 103 sets the interface metric of the interface 102 stored in the setting storage unit 105 to a value larger than the interface metric of the interface 101. For example, in FIG. 4A, the interface metric of the interface 101 is 20, and the processing unit 103 sets the interface metric of the interface 102 to 30. Next, the determination unit 105 instructs the processing unit 103 to connect the interface 102 to the cellular network 90. Next, the processing unit 103 connects the interface 102 to the cellular network 90 according to an instruction from the determination unit 105.
  • the processing unit 103 adds a default route associated with the interface 102 to the route table.
  • the processing unit 103 sets the metric of the default route associated with the interface 102 to 30. That is, the same value as the interface metric of the interface 102 is set. Note that the default route metric associated with the interface 102 may not be set to the same value as the interface metric of the interface 102.
  • FIGS. 4B and 4C show route tables before and after connecting the interface 102 to the cellular network 90, respectively. When comparing the metrics of the interfaces 101 and 102, the metric of the interface 101 is smaller. Accordingly, the applications 104A and 104B continue to communicate using the interface 101 unless a special instruction is given to the processing unit 103.
  • the determination unit 105 and the processing unit 103 connect the interface 102 to the cellular network 90 by a method that does not hinder communication of the application 104B that cannot roam.
  • the determination unit 105 acquires all socket information from the processing unit 103 (S4).
  • the processing unit 103 outputs the second socket information including the process ID of the application 104A to the determination unit 105.
  • the determination unit 105 identifies an application corresponding to the acquired socket information (S5).
  • the determination unit 105 identifies an application that operates on the communication device 10 and can roam (S6). Specifically, the determination unit 105 includes the first socket information including the process ID associated with the name of an application in the socket information acquired in S2 or S4, and the socket acquired in S4. When the second socket information including the process ID associated with the same application name exists in the information, it is determined that the application is a roamable application. In this embodiment, when the application 104A and the application 104B are operating, the determination unit 105 determines that the application 104A is a roamable application.
  • step S4 the communication device 10 determines whether or not roaming is possible for all applications in communication, until a predetermined time elapses, or is executed a predetermined number of times. Repeat S6.
  • the determination unit 105 determines that the application cannot be roamed once from step S4 to step S6, and determines that the communicating application is an application that cannot be roamed (S7). As a result, when the application 104A and the application 104B are operating, the determination unit 105 determines that the application 104A is an application that can be roamed, and determines that the application 104B is an application that cannot be roamed.
  • the processing unit 103 switches from the interface 101 to the interface 102 according to an instruction from the determination unit 105 ( S8). For example, when the application 104A capable of roaming is operating and the application 104B not capable of roaming is not operating, switching from the interface 101 to the interface 102 is performed. Specifically, the interface 101 is disconnected from the wireless LAN 80. On the other hand, when the determination unit 105 determines that there is an application that cannot be roamed among applications operating on the communication apparatus 10, the processing unit 103 does not switch from the interface 101 to the interface 102. When the application 104 ⁇ / b> B that cannot be roamed is operating, the processing unit 103 does not switch from the interface 101 to the interface 102.
  • FIG. 4D shows a path table when switching from the interface 101 to the interface 102 is performed.
  • the default route of the interface 102 is stored, and the default route of the interface 101 is not stored.
  • the setting storage unit 107 stores the interface metric, but it may not be stored.
  • the processing unit 103 sets the default route metrics of the interfaces 101 and 102 to, for example, 20 and 30, respectively, regardless of the interface metric.
  • the processing unit 103 does not have to have a function of determining an output interface using a path metric. Further, the processing unit 103 may not be able to set only one default route. In this case, the processing unit 103 does not add the default route to the route table in step S3. In this case, the application 104 communicates using the interface 101. In step S8, when the interface 101 is disconnected from the wireless LAN 80, the default route of the interface 101 in the setting storage unit 107 is deleted and the default route of the interface 102 is added. As a result, the application 104 communicates using the interface 102. According to the communication apparatus 10 of the present embodiment, it is possible to specify an application that can be roamed and an application that cannot be roamed. When an application that cannot roam is not operating, the interface is switched. In addition, it is possible to prevent the communication of the application from being stopped against the user's intention.
  • the user when it is determined in S7 that an application that cannot be roamed is in operation, the user is notified that the application that cannot be roamed is operating, and the interfaces 101 to 102 are instructed by the user. Whether or not to switch to may be selected.
  • the communication apparatus 10A determines in S7 that an application whose application cannot be roamed is in operation, “If the interface is switched, the application is stopped.
  • the display unit 121 displays a message such as “?”, And the input unit 120 inputs whether the user switches the display on the display unit.
  • switching from the interface 101 to the interface 102 is performed as in S8.
  • the user instructs not to switch switching from the interface 101 to the interface 102 is not performed.
  • the information used by the determination unit 105 to determine whether the application running on the communication device 10 is an application that can be roamed is not limited to socket information.
  • the processing unit 103 sets a combination of the process ID of the application that instructed the bind system call, the type of the system call, and the IP address specified in the bind system call. You may output to the determination part 105.
  • FIG. That is, any information including an identifier for identifying an application and an interface identifier for identifying an interface used by the application for communication may be used.
  • the determination unit 105 repeatedly acquires socket information from the processing unit 103 and identifies an application capable of roaming for a predetermined time.
  • the timing at which the determination unit 105 acquires socket information from the processing unit 103 is not limited to this.
  • the determination unit 105 causes the processing unit 103 to monitor packets transmitted and received by the interface 101 and the interface 102 for a certain period.
  • the processing unit 103 detects a packet including the IP address of the interface 102
  • the processing unit 103 notifies the determination unit 105 of the packet.
  • the determination unit 105 may acquire socket information from the processing unit 103.
  • the interface 101 is connected to the wireless LAN 80, and the interface 102 is connected to the cellular network 90.
  • the present invention is not limited to this.
  • the interface 101 and the interface 102 may be connected to the wireless LAN 80.
  • the communication device 10 can also be realized by using a general-purpose computer device as basic hardware. That is, the interface 101, the interface 102, the processing unit 103, the applications 104A and 104B, the determination unit 105, the application management unit 106, and the setting storage unit 107 execute a program on the processor mounted on the computer device. Can be realized. At this time, the communication device 10 can be realized by executing the above program. At this time, the communication device 10 may be realized by installing the above-described program in a computer device in advance, or may be stored in a storage medium such as a CD-ROM or distributed through the network 30. Then, this program may be realized by appropriately installing it in a computer device.
  • the setting storage unit 107 is realized by appropriately using a memory, a hard disk or a storage medium such as a CD-R, a CD-RW, a DVD-RAM, a DVD-R, or the like incorporated in or externally attached to the computer device. be able to.
  • the communication device 20 according to the second embodiment switches the interface using a method different from that of the communication device 10 according to the first embodiment.
  • the metric of the default route associated with the interface 101 is set to be larger than the metric of the default route associated with the interface 102 while maintaining the connection of the interface 101.
  • the interface 101 can be switched to the interface 102 while maintaining the connection of the interface 101 with the wireless LAN 80.
  • the method for determining the roamable application and the non-roamable application according to the second embodiment is different from the method according to the first embodiment. That is, in the method for determining a roamable application according to the second embodiment, an application that meets any of the following three conditions is determined as a roamable application.
  • the first condition is the same as the roamable application according to the first embodiment. That is, it is an application corresponding to the first socket information and an application corresponding to the second socket information.
  • the second condition is that the application corresponds to the first socket information, and the protocol type of the socket information is TCP.
  • the third condition is that the application corresponds to the first socket information, the protocol type of the socket information is UDP, and the socket information continues to use the interface 101 by the bind system call. Information to be included.
  • the reason why the application corresponding to the second condition or the third condition is an application capable of roaming will be described.
  • the reason for the second condition is as follows.
  • the IP address used by the application is determined when a TCP session is established.
  • the priority of the interface or route (metric) is changed, until the application disconnects the TCP session, the packet including the application data is transmitted from the interface to which the IP address at the time of establishing the TCP session is assigned.
  • the communication device 20 maintains the connection without disconnecting the switching-source interface 101 when switching the interface. Therefore, even if the interface 101 is switched to the interface 102 (the metric is changed), the application can continue communication using the interface 101.
  • the reason for the third condition is as follows.
  • the IP address used by the application is determined when the application is declared by the bind system call. Even if the interface or route priority (metric) is changed, the IP address at the time of the bind system call declaration is assigned to the packet including the application data until the application ends the UDP communication. Sent from the interface. Therefore, even if the application corresponding to the third condition is switched from the interface 101 to the interface 102 for the same reason as the application corresponding to the second condition, communication can be continued.
  • the components of the communication device 20 of the second embodiment are the same as the components of the communication device 10 of the first embodiment as shown in FIG.
  • the application 104B is an application that does not meet the first to third conditions and cannot be roamed.
  • FIG. 7 is a flowchart illustrating an operation method of the communication device 20.
  • S1 to S5 are the same operations as the operation method of the communication apparatus 10 of the first embodiment.
  • a roamable application operating on the communication device 20 is specified (S26). That is, it is determined whether or not the application corresponding to the acquired socket information is an application that meets any of the first to third conditions.
  • the first condition is the same as the method determined in the first embodiment. That is, the application corresponds to the first socket information acquired in S1 and corresponds to the second socket information acquired in S4.
  • the second condition is that the application corresponds to the socket information in which the protocol type included in the socket information acquired in S1 or S4 is TCP and the IP address is the IP address of the interface 101.
  • the third condition is that the protocol type included in the socket information acquired in S4 is UDP and the application corresponds to the socket information whose IP address is the IP address of the interface 101.
  • the application causes the processing unit 103 to execute the bind system call. It shows that.
  • the communication device 10 determines whether or not roaming is possible for all applications in communication, until a predetermined time has elapsed, or until a predetermined number of times have been executed, from step S4 to step S26. repeat.
  • the determination unit 105 determines that the application cannot be roamed once from step S4 to step 26, and determines that the communicating application is an application that cannot be roamed (S27).
  • the processing unit 103 switches from the interface 101 to the interface 102 according to an instruction from the determination unit 105. (S28). Specifically, in order to change the interface metric of the interface 101 to be larger than the interface metric of the interface 102, the determination unit 105 outputs a new value of one or both of the interface metric of the interface 101 and the interface 102 to the processing unit 103. To do.
  • the processing unit 103 sets the metric of the default route associated with the interface 102 in the route table stored in the setting storage unit 107 to be smaller than the metric of the default route associated with the interface 101. . For example, as shown in FIG.
  • the metric of the default route of the interface 102 is set to 10.
  • the processing unit 103 does not switch from the interface 101 to the interface 102.
  • the same effect as that of the communication device 10 according to the first embodiment can be achieved. That is, when switching the interface, it is possible to prevent the communication of the application from being stopped against the user's intention.
  • the communication device 20 can switch from the interface 101 to the interface 102 while maintaining the connection of the interface 101.
  • the interface 101 can be switched to the interface 102 even when the following two applications are operating.
  • the first application is an application corresponding to the first socket information and the protocol type of the socket information is TCP.
  • the second application is an application corresponding to the first socket information, the protocol type of the socket information is UDP, and the socket information continues to use the interface 101 by the bind system call. It is an application including information indicating
  • the communication device 30 of the third embodiment is different from the first embodiment in that it determines whether or not the application is a roamable application using socket information acquired when the application is activated.
  • the switching source interface and the switching destination interface are already connected by a user or the like, it is different from the first embodiment in that it is determined whether to switch the interface.
  • the communication device 30 according to the third embodiment is different from the communication device 10 according to the first embodiment, in which the determination unit 105 determines whether the application running on the communication device is an application that can roam when the application is activated. After the determination, the application name of the roamable application is stored in the roamable application storage unit 308 without switching the interface immediately after the determination, and the roamable application storage unit 308 stores the active application and the roamable application storage unit 308. Are compared to determine whether or not the operating application is a roamable application, and the processing unit 103 switches from the interface 101 to the interface 102 based on the determination result.
  • the communication device 30 includes a roamable application storage unit 308 in addition to the configuration of the communication device 30 according to the third embodiment.
  • the roamable application storage unit 308 stores application names of roamable applications.
  • FIG. 10 is a flowchart illustrating an operation method of the communication device 30.
  • the application 104A of the communication device 30 is not activated when the operation starts. Further, it is assumed that the interface 101 is connected to the wireless LAN 80 and the interface 102 is connected to the cellular network 90. Assume that the metrics of the default route in the route table are 20 and 30 respectively for the interfaces 101 and 102 as shown in FIG.
  • the application 104A is activated (S31).
  • the determination unit 105 acquires socket information from the processing unit 103 (S32).
  • the determination unit 105 determines whether the application 104A is a roamable application from the socket information acquired from the processing unit 103 (S33). That is, first, the determination unit 105 acquires a combination of an application name and a process ID from the application management unit 106, and compares the process information of the socket information with each other, thereby specifying the socket information corresponding to the application 104A. Next, the determination unit 105 determines whether the first socket information (socket information including the IP address of the interface 101 as an IP address) from the IP address of the interface included in the specified socket information or the second socket information (IP Socket information including the IP address of the interface 102 as an address).
  • the determination unit 105 determines that the application 104A is a roamable application. Since the application 104A is a roamable application, the first socket information and the second socket information can be acquired, and it is determined that the application is roamable. This is because the fact that the first and second socket information corresponding to the application 104A can be acquired indicates that communication is performed using both the interface 101 and the interface 102.
  • the roamable application storage unit 108 stores the application name of the application 104A (S34).
  • the communication device 30 repeats steps S32 to S34 until a predetermined time elapses or until a predetermined number of times are executed.
  • the communication device 30 repeats S32 to S34 each time a new application is started. Therefore, there is a possibility that application names of a plurality of roamable applications are stored in the roamable application storage unit 108.
  • the determination unit 105 receives the socket information from the processing unit 103. Is acquired (S35).
  • the determination unit 105 specifies an application in communication by specifying an application corresponding to the socket information acquired in S35 (S36).
  • the determination unit 105 determines whether or not the application specified in S36 is a roamable application (S37). That is, the determination unit 105 determines whether the operating application is a roamable application based on whether or not the application name of the application specified in S36 exists in the roamable application storage unit 308.
  • the application 104A and 104B are operating, it is determined that the application 104A is an application that can roam, and the application 104B is determined to be an application that cannot be roamed.
  • the processing unit 103 switches from the interface 101 to the interface 102 according to an instruction from the determination unit 105 (S38). For example, when the application 104A operates and the application 104B does not operate, the interface is switched. That is, the interface 101 is disconnected from the wireless LAN 80. On the other hand, when the determination unit 105 determines that the application is an application that cannot be roamed, the processing unit 103 does not switch from the interface 101 to the interface 102. For example, when the application 104B is operating, the interface is not switched.
  • the same effect as that of the communication device 10 according to the first embodiment can be achieved. That is, when switching the interface, it is possible to prevent the communication of the application from being stopped against the user's intention.
  • the communication device 30 prevents the communication of the application from being stopped against the user's intention when the interface is switched in a state where the switching destination interface and the switching source interface are already connected. it can.
  • the communication device 30 stores the roamable application in the roamable application storage unit 308 after determining whether or not the application can be roamed. It is possible to shift the switching timing. Therefore, for example, if an application that cannot be roamed and is operating at the time of determining whether or not it is a roamable application is not operating at the time of interface switching, the interface can be switched.

Abstract

Selon l'invention, lorsqu'une application communique à l'aide d'une interface (101), l'unité de traitement (103) d'un dispositif de communication (10) délivre des premières informations de connecteur logiciel qui comprennent des identifiants d'application et l'adresse IP de l'interface (101), et lorsqu'une interface (102) est connectée à un réseau, l'unité de traitement délivre des secondes informations de connecteur logiciel qui comprennent des identifiants d'application et l'adresse IP de l'interface (102). Une unité de détermination (105) détermine qu'une application spécifiée par un identifiant d'application inclus à la fois dans les premières et secondes informations de connecteur logiciel est une application capable d'itinérance, et détermine qu'une application spécifiée par un identifiant d'application inclus dans les premières informations de connecteur logiciel mais pas dans les secondes informations de connecteur logiciel est une application incapable d'itinérance. Dans le cas où une application incapable d'itinérance est incluse, l'unité de traitement (103) ne commutera pas les interfaces.
PCT/JP2009/004392 2009-09-04 2009-09-04 Dispositif de communication WO2011027405A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2009/004392 WO2011027405A1 (fr) 2009-09-04 2009-09-04 Dispositif de communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2009/004392 WO2011027405A1 (fr) 2009-09-04 2009-09-04 Dispositif de communication

Publications (1)

Publication Number Publication Date
WO2011027405A1 true WO2011027405A1 (fr) 2011-03-10

Family

ID=43648967

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/004392 WO2011027405A1 (fr) 2009-09-04 2009-09-04 Dispositif de communication

Country Status (1)

Country Link
WO (1) WO2011027405A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013098819A (ja) * 2011-11-02 2013-05-20 Buffalo Inc ネットワーク通信装置、使用ネットワークインターフェイス部を選択する方法、パケットの送受信を行う方法、コンピュータプログラム及びコンピュータ読み取り可能な記録媒体
JP2014179927A (ja) * 2013-03-15 2014-09-25 Canon Inc 通信装置及びその制御方法と、通信システム、プログラム

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003319430A (ja) * 2002-04-23 2003-11-07 Matsushita Electric Ind Co Ltd 移動通信方法及び無線アクセスシステム
WO2004105272A1 (fr) * 2003-05-20 2004-12-02 Fujitsu Limited Procede de transfert d'une application dans un systeme de communication mobile, noeud de gestion mobile utilise dans le systeme de communication mobile et noeud mobile
JP2005057551A (ja) * 2003-08-06 2005-03-03 Nec Corp 移動通信システム及びそれに用いるハンドオーバ方法
JP2005198074A (ja) * 2004-01-08 2005-07-21 Mitsubishi Electric Corp ネットワーク選択方法およびネットワーク選択方式
JP2007521699A (ja) * 2003-11-05 2007-08-02 トムソン ライセンシング ネットワークを考慮するモバイルデバイスおよび動作

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003319430A (ja) * 2002-04-23 2003-11-07 Matsushita Electric Ind Co Ltd 移動通信方法及び無線アクセスシステム
WO2004105272A1 (fr) * 2003-05-20 2004-12-02 Fujitsu Limited Procede de transfert d'une application dans un systeme de communication mobile, noeud de gestion mobile utilise dans le systeme de communication mobile et noeud mobile
JP2005057551A (ja) * 2003-08-06 2005-03-03 Nec Corp 移動通信システム及びそれに用いるハンドオーバ方法
JP2007521699A (ja) * 2003-11-05 2007-08-02 トムソン ライセンシング ネットワークを考慮するモバイルデバイスおよび動作
JP2005198074A (ja) * 2004-01-08 2005-07-21 Mitsubishi Electric Corp ネットワーク選択方法およびネットワーク選択方式

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013098819A (ja) * 2011-11-02 2013-05-20 Buffalo Inc ネットワーク通信装置、使用ネットワークインターフェイス部を選択する方法、パケットの送受信を行う方法、コンピュータプログラム及びコンピュータ読み取り可能な記録媒体
JP2014179927A (ja) * 2013-03-15 2014-09-25 Canon Inc 通信装置及びその制御方法と、通信システム、プログラム

Similar Documents

Publication Publication Date Title
US9667537B2 (en) Transport system, packet transport apparatus, and packet transport method
US7627290B2 (en) Route convergence monitoring system and method
JP5290359B2 (ja) 移動体通信端末の試験装置及び試験方法
CN102598599B (zh) 快速重新路由条件下的rsvp-te完美重启
JP2006237815A (ja) 通信セッション切替方法およびシステム
US20130107794A1 (en) Network communication device and method of selecting active network interface
JP2009535956A5 (fr)
JP5318911B2 (ja) 通信システム
CN106878072B (zh) 一种报文传输方法和装置
US7646772B2 (en) Graceful shutdown of LDP on specific interfaces between label switched routers
US11711243B2 (en) Packet processing method and gateway device
EP3203685B1 (fr) Procédé et appareil pour mise en oeuvre d'une fonction d'exploitation, d'administration et de maintenance
US20230300048A1 (en) Tunnel bfd session establishment method and device
Stuedi et al. SIPHoc: Efficient SIP middleware for ad hoc networks
WO2013113241A1 (fr) Terminal mobile multimode et procédé d'équilibrage de charge
WO2011027405A1 (fr) Dispositif de communication
JP3732745B2 (ja) 通信コネクション確立方法
JP4251646B2 (ja) ブリッジ装置、ブリッジ装置の制御方法および制御プログラム
JP2009194787A (ja) ゲートウェイ装置
TW200836542A (en) A method of providing a mobility service
CN106105315B (zh) 基于无缝移动性条件的切换方法
JP5880701B2 (ja) 通信システム、通信制御方法、通信中継システム、及び、通信中継制御方法
JP2006333080A (ja) 携帯通信端末および通信経路選択方法と通信経路選択プログラム
US20120188945A1 (en) Route optimization method and access router
CN111934939A (zh) 一种网络节点故障检测方法、装置及系统

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: 09848936

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09848936

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP