Wireless communication apparatus, wireless communication method, and computer-readable recording medium
First Claim
1. A wireless communication apparatus comprising:
- a memory; and
a processor that is connected to the memory, wherein the processor executes a process including;
determining a first ratio of network sockets, when an application is executed, which are allocated to a first wireless interface using a mobile network and network sockets which are allocated to a second wireless interface using a wireless LAN, on the basis of a radio quality of the mobile network and a radio quality of the wireless LAN;
setting a value of a second ratio of network sockets to a value of the first ratio of network sockets when the first ratio is determined at the determining;
generating a predetermined number of network sockets at a time;
allocating the network sockets on the basis of the second ratio determined at the determining and performing wireless communication;
measuring an amount of traffic through the first wireless interface and an amount of traffic through the second wireless interface in the wireless communication;
increasing the second ratio to increase the sockets allocated to the first wireless interface when a ratio of network sockets calculated based on the amount of traffic through the first wireless interface and the second wireless interface measured at the measuring is less than the first ratio; and
decreasing the second ratio to decrease the sockets allocated to the first wireless interface when a ratio of network sockets calculated based on the amount of traffic through the first wireless interface and the second wireless interface measured at the measuring is greater than the first ratio.
5 Assignments
0 Petitions
Accused Products
Abstract
A wireless communication apparatus determines the ratio of sockets which are allocated to a first wireless interface using a first communication network and sockets which are allocated to a second wireless interface using a second communication network, on the basis of the radio quality of the first communication network and the radio quality of the second communication network. The wireless communication apparatus generates the sockets in accordance with the determined ratio and performs wireless communication. The wireless communication apparatus measures the amount of traffic through the first wireless interface and the amount of traffic through the second wireless interface in the wireless communication using the sockets which are generated in accordance with the determined ratio. The wireless communication apparatus corrects the number of sockets allocated to the first wireless interface and the second wireless interface on the basis of the measured amounts of traffic.
23 Citations
5 Claims
-
1. A wireless communication apparatus comprising:
-
a memory; and a processor that is connected to the memory, wherein the processor executes a process including; determining a first ratio of network sockets, when an application is executed, which are allocated to a first wireless interface using a mobile network and network sockets which are allocated to a second wireless interface using a wireless LAN, on the basis of a radio quality of the mobile network and a radio quality of the wireless LAN; setting a value of a second ratio of network sockets to a value of the first ratio of network sockets when the first ratio is determined at the determining; generating a predetermined number of network sockets at a time; allocating the network sockets on the basis of the second ratio determined at the determining and performing wireless communication; measuring an amount of traffic through the first wireless interface and an amount of traffic through the second wireless interface in the wireless communication; increasing the second ratio to increase the sockets allocated to the first wireless interface when a ratio of network sockets calculated based on the amount of traffic through the first wireless interface and the second wireless interface measured at the measuring is less than the first ratio; and decreasing the second ratio to decrease the sockets allocated to the first wireless interface when a ratio of network sockets calculated based on the amount of traffic through the first wireless interface and the second wireless interface measured at the measuring is greater than the first ratio. - View Dependent Claims (2, 3)
-
-
4. A wireless communication method comprising:
-
determining a first ratio of network sockets, when an application is executed, which are allocated to a first wireless interface using a mobile network and network sockets which are allocated to a second wireless interface using a wireless LAN, on the basis of a radio quality of the mobile network and a radio quality of the wireless LAN, using a processor; setting a value of a second ratio of network sockets to a value of the first ratio of network sockets when the first ratio is determined at the determining; generating a predetermined number of network sockets at a time; allocating the network sockets on the basis of the determined second ratio and performing wireless communication, using a processor; measuring an amount of traffic through the first wireless interface and an amount of traffic through the second wireless interface in the wireless communication; increasing the second ratio to increase the sockets allocated to the first wireless interface when a ratio of network sockets calculated based on the measured amounts of traffic is less than the first ratio; and decreasing the second ratio to decrease the sockets allocated to the first wireless interface when a ratio of network sockets calculated based on the measured amounts of traffic is greater than the first ratio.
-
-
5. A non-transitory computer-readable recording medium having stored a wireless communication program causing a computer to execute a process comprising:
-
determining a first ratio of network sockets, when an application is executed, which are allocated to a first wireless interface using a mobile network and network sockets which are allocated to a second wireless interface using a wireless LAN, on the basis of a radio quality of the mobile network and a radio quality of the wireless LAN, setting a value of a second ratio of network sockets to a value of the first ratio of network sockets when the first ratio is determined at the determining; generating a predetermined number of network sockets at a time; allocating the network sockets on the basis of the determined second ratio and performing wireless communication; measuring an amount of traffic through the first wireless interface and an amount of traffic through the second wireless interface in the wireless communication; increasing the second ratio to increase the sockets allocated to the first wireless interface when a ratio of network sockets calculated based on the measured amounts of traffic is less than the first ratio; and decreasing the second ratio to decrease the sockets allocated to the first wireless interface when a ratio of network sockets calculated based on the measured amounts of traffic is greater than the first ratio.
-
Specification