Communication device, relay device, control method, and computer-readable storage medium
A communication device that performs communication wirelessly transmits, to one or more other communication devices, a request signal requesting information indicating a condition regarding communication with a predetermined device, in each of one or more communication methods in the one or more other communication devices, receives, from at least any of the one or more other communication devices, a response including the information indicating the condition regarding the communication in the other communication devices, selects, based on the received response, a device to be requested to transfer the communication of the communication device from a transmission source device of the response, and selects a communication method in the device to be used for transferring, and performs connection establishment processing including requesting the selected device to relay the communication of the communication device.
1 . A communication device that performs communication wirelessly, the communication device comprising:
one or more processors; and
a memory storing instructions that, when executed by the one or more processors, cause the communication device to perform operations comprising:
transmitting, to one or more other communication devices that support communication with a base station of a cellular communication system using a cellular communication method and communication with a predetermined device using one or more other communication methods that are different from the cellular communication method, a request signal requesting information indicating a wireless quality for the communication using the one or more other communication methods between the predetermined device and the one or more other communication devices, in each of one or more other communication methods in the one or more other communication devices, the predetermined device being different from the communication device and the base station of the cellular communication system;
receiving, from at least any of the one or more other communication devices, a response including the information indicating the wireless quality for the communication using the one or more other communication methods between the predetermined device and the one or more other communication devices;
selecting, based on the response received by the receiving, a device to be requested to transfer the communication of the communication device from a transmission source device of the response, and selecting a communication method to be used for transferring among the one or more other communication methods, in the device; and
performing connection establishment processing including requesting the device selected by the selecting to relay the communication of the communication device, by performing communication between the device and the predetermined device using the communication method selected by the selecting.
2 . The communication device according to claim 1 , wherein the transmitting designates the one or more other communication methods in the request signal, and requests the one or more other communication devices for the information indicating the wireless quality for the communication between the one or more other communication devices and the predetermined device in the communication method designated.
3 . The communication device according to claim 1 , wherein the transmitting designates, in the request signal, communication performance requested in the communication of the communication device, and requests transmission of the information indicating the wireless quality for the communication with the predetermined device in each of the one or more other communication methods, and
the receiving receives the response from the one or more other communication devices capable of communicating with the predetermined device in a communication method that satisfies the communication performance.
4 . The communication device according to claim 1 , wherein the wireless quality includes received signal strength, a signal to noise ratio, a signal to interference plus noise ratio, reference signal received power, or reference signal received quality in the one or more other communication devices.
5 . The communication device according to claim 1 , wherein the one or more other communication methods include a wireless LAN communication method, or a Bluetooth communication method.
6 . The communication device according to claim 1 , wherein
the receiving waits for the response for a predetermined period of time, and
the selecting selects the device to be requested to transfer the communication, based on the response received during the predetermined period.
7 . The communication device according to claim 1 , wherein the selecting selects the transmission source device of the response received as the device to be requested to transfer the communication, without waiting for receiving the response from another device, based on receiving the response including the information indicating the wireless quality for the communication indicating that performance requested in transferring the communication of the communication device to the predetermined device is satisfiable.
8 . The communication device according to claim 1 , wherein the transmitting transmits the request signal in a broadcast manner.
9 . The communication device according to claim 1 , wherein the request signal includes information indicating requesting for relaying the communication of the communication device.
10 . The communication device according to claim 1 , wherein the communication device is a vehicle.
11 . A relay device that relays communication wirelessly between a communication device and a predetermined device, the relay device comprising:
one or more processors; and
a memory storing instructions that, when executed by the one or more processors, cause the relay device to perform operations comprising:
communicating with a base station of a cellular communication system using a cellular communication method and communicating with a predetermined device using one or more other communication methods that are different from the cellular communication method;
receiving, from the communication device, a request signal requesting information indicating a wireless quality for the communication using the one or more other communication methods with the predetermined device in each of one or more other communication methods in the relay device; and
transmitting, to the communication device, a response including the information indicating the wireless quality for the communication using the one or more other communication methods between the predetermined device and the relay device.
12 . The relay device according to claim 11 , wherein
the request signal includes information designating the one or more other communication methods, and
the transmitting transmits the response including the information indicating the wireless quality for the communication with the predetermined device in a communication method designated.
13 . The relay device according to claim 11 , wherein
the request signal includes information designating communication performance requested for the communication of the communication device, and
the transmitting transmits the response including the information indicating the wireless quality for the communication with the predetermined device with regard to a communication method that satisfies the communication performance.
14 . The relay device according to claim 11 , wherein the wireless quality includes received signal strength, a signal to noise ratio, a signal to interference plus noise ratio, reference signal received power, or reference signal received quality, in the relay device.
15 . The relay device according to claim 11 , wherein the one or more other communication methods include a wireless LAN communication method, or a Bluetooth communication method.
16 . The relay device according to claim 11 , wherein the relay device is a vehicle.
17 . A control method performed by a communication device that performs communication wirelessly, the control method comprising:
transmitting, to one or more other communication devices that support communication with a base station of a cellular communication system using a cellular communication method and communication with a predetermined device using one or more other communication methods that are different from the cellular communication method, a request signal requesting information indicating a wireless quality for the communication using the one or more other communication methods between the predetermined device and the one or more other communication devices, in each of one or more other communication methods in the one or more other communication devices, the predetermined device being different from the communication device and the base station of the cellular communication system;
receiving, from at least any of the one or more other communication devices, a response including the information indicating the wireless quality for the communication using the one or more other communication methods between the predetermined device and the one or more other communication devices;
selecting, based on the response received, a device to be requested to transfer the communication of the communication device from a transmission source device of the response, and selecting a communication method to be used for transferring among the one or more other communication methods, in the device; and
performing connection establishment processing including requesting the device selected to relay the communication of the communication device, by performing communication between the device and the predetermined device using the communication method selected.
18 . A control method performed by a relay device that relays communication wirelessly between a communication device and a predetermined device, the control method comprising:
communicating with a base station of a cellular communication system using a cellular communication method and communicating with a predetermined device using one or more other communication methods that are different from the cellular communication method;
receiving, from the communication device, a request signal requesting information indicating a wireless quality for the communication using the one or more other communication methods with the predetermined device in each of one or more other communication methods in the relay device; and
transmitting, to the communication device, a response including the information indicating the wireless quality for the communication using the one or more other communication methods between the predetermined device and the relay device.
19 . A non-transitory computer-readable storage medium that stores a program for causing a computer included in a communication device that performs communication wirelessly to:
transmit, to one or more other communication devices that support communication with a base station of a cellular communication system using a cellular communication method and communication with a predetermined device using one or more other communication methods that are different from the cellular communication method, a request signal requesting information indicating a wireless quality for the communication using the one or more other communication methods between the predetermined device and the one or more other communication devices, in each of one or more other communication methods in the one or more other communication devices, the predetermined device being different from the communication device and the base station of the cellular communication system;
receive, from at least any of the one or more other communication devices, a response including the information indicating the wireless quality for the communication using the one or more other communication methods between the predetermined device and the one or more other communication devices;
select, based on the response received, a device to be requested to transfer the communication of the communication device from a transmission source device of the response, and select a communication method to be used for transferring among the one or more other communication methods, in the device; and
perform connection establishment processing including requesting the device selected to relay the communication of the communication device, by performing communication between the device and the predetermined device using the communication method selected.
20 . A non-transitory computer-readable storage medium that stores a program for causing a computer included in a relay device that relays communication wirelessly between a communication device and a predetermined device to:
communicate with a base station of a cellular communication system using a cellular communication method and communicate with a predetermined device using one or more other communication methods that are different from the cellular communication method;
receive, from the communication device, a request signal requesting information indicating a wireless quality for the communication using the one or more other communication methods with the predetermined device in each of one or more other communication methods in the relay device; and
transmit, to the communication device, a response including the information indicating the wireless quality for the communication using the one or more other communication methods between the predetermined device and the relay device.