When one base station to which a terminal is to connect is determined from
a plurality of base stations in a wireless communication system, the best
base station is selected according to the communication quality or the
content of communication services. In the wireless communication system,
the plurality of base stations are classified into a plurality of groups.
Indexes of communication quality between the base stations and the
terminal are obtained and, for each group, the characterizing quantities
of the indexes of communication quality are calculated. The base station
group with which the terminal is to communicate is specified based on the
characterizing quantities. One of the base stations in the specified
group is determined as a communication destination base station.