Patent ID: 7412237

Claim:
An information processing apparatus having a communication apparatus which is configured to perform network connection via a wireless relay apparatus, the information processing apparatus comprising: an information acquisition unit which is adapted to acquire information of discovered wireless relay apparatuses by discovering the wireless relay apparatuses communicable with the communication apparatus, wherein the information acquisition unit discovers the communicable wireless relay apparatuses by receiving beacons from wireless relay apparatuses present around the information processing apparatus, and acquires a network name, a communication speed, a security level, a communication channel, and a radio field strength of each wireless relay apparatus as the information of each wireless relay apparatus; a profile setting unit which is configured to set communication profiles for the wireless relay apparatuses discovered by the information acquisition unit; a priority condition setting unit which is configured to set a priority condition for determining priorities of the communication profiles to be used by the communication apparatus, wherein the priority condition setting unit sets the priority condition based on the communication speed, the security level, the communication channel, and the radio field strength; an order determination unit which is configured to determine priorities for the communication profiles set by the profile setting unit on the basis of the priority condition set by the priority condition setting unit; and a profile determination unit which is configured to determine a communication profile to be used by the communication apparatus based on the priorities determined by the order determination unit.