Patent ID: 8447844
Filing Date: 2013-05-21
Classification: H04L,H04W

Abstract:
1. A communication apparatus that transmits and receives data through a communication with other communication apparatus, the communication apparatus comprising: a storage unit that stores therein setting information for establishing a communication and history information on the communication established by the setting information in an associated manner; an information receiving unit that receives new setting information; a judging unit that, when the new setting information is received, judges whether number of pieces of setting information stored in the storage unit reached a predetermined value; a setting unit that sets a method, from a plurality of methods, used by a determining unit to determine a priority for each setting information; the determining unit that, when it is judged that the number of pieces of setting information reached the predetermined value, compares the history information corresponding to the setting information stored in the storage unit, and determines the priority for each setting information based on a result of comparison; a deleting unit that, when the priority is set for each setting information, deletes setting information having a lowest priority from the storage unit; and a storing unit that stores the new setting information in the storage unit, wherein the determining unit determines the priority for each setting information using a first method with high priority set by the setting unit, and determines the priority for each setting information using a second method with lower priority when the determining unit cannot determine the priority for each setting information using the first method with high priority, wherein when more than one piece of setting information is received substantially simultaneously and the number of pieces of setting information reaches the predetermined value, the determining unit determines the priority for each setting information based on communication frequency if the priority for each setting information cannot be determined based on communication established time, and wherein the history information is a frequency at which data is transmitted and received through the communication established by the setting information, and the determining unit determines the priority for each setting information such that a priority of setting information with a high frequency is higher than a priority of setting information with a low frequency.