Patent ID: 8203996

Claim:
A wireless communication device that performs communication via a communication device, comprising: a providing unit to provide the communication device with information which includes a predetermined authentication condition when a connection request is sent to the communication device; a reception unit to receive identification information identifying other communication devices and a predetermined authentication condition of the other communication devices from the communication device which has permitted a connection in response to the connection request; a judging unit to judge whether the received predetermined authentication condition of the other communication devices matches the predetermined authentication condition of the wireless communication device; a recording unit to record the identification information identifying the other communication devices having the authentication condition that matches the predetermined authentication condition of the wireless communication device when the received predetermined authentication condition of the other communication devices matches the predetermined authentication condition of the wireless communication device; a collecting unit to collect communication qualities of information provided by the other communication devices identified by the recorded identification information identifying the other communication devices, and communication quality of information provided by the communication device which has permitted the connection; a comparing unit to compare the communication qualities of information collected from the other communication devices with the communication quality of information provided by the communication device which has permitted the connection; a determining unit to determine, based on a result obtained by the comparing unit, one of the other communication devices which provide information with the communication quality better than the communication quality of information provided by the communication device which has permitted the connection; and a connection request unit to send the connection request to the determined one of the other communication devices.