Patent ID: 7272384

Claim:
A communication device comprising: a phonebook configured to store a plurality of phonebook items, each phonebook item including identification information and a name of a communication party; a communication history configured to store a plurality of communication history items, each communication history item including identification information and a name of a communication party; a changing device configured to change a content of a first phonebook item; a control device configured to, if said changing device changes a content of the first phonebook item, change a content of a first communication history item corresponding to the first phonebook item in accordance with the changed content of the first phonebook item; and a deleting device configured to delete the least recent communication history item or an unnecessary communication history item from said communication history, wherein said phonebook item further includes a first flag indicating whether a communication history item relating to the communication party is stored in said communication history, said control device determines based on the first flag whether the communication history item to be changed is stored in said communication history, said communication history item further includes a second flag indicating whether a phonebook item relating to the communication party is stored in said phonebook, and said deleting device changes the first flag relating to the phonebook item corresponding to a deleted communication history item based on the second flag relating to the deleted communication history item.