1. An electronic device comprising: a communication unit; a memory storing instructions; and a processor configured to execute the instructions to at least: control to obtain a message via a messaging program executed by the processor, the message being communicated through the communication unit, control to identify a first token including a first plurality of alphanumeric characters from the obtained message, control to identify and execute a target function program based at least on the first token, based at least on the identified target function program being a schedule management function program: control to determine a probability of a second plurality of alphanumeric characters from the obtained message being related to a location, control to determine whether the determined probability is larger than a reference probability, control to determine the second plurality of alphanumeric characters as being related to the location and control to identify a second token including the second plurality of alphanumeric characters related to the location, based at least on the determined probability being larger than the reference probability, control to obtain, based at least on the first token and descriptive data of the obtained message, first input data in a first format for specifying a date and a time, control to obtain, based at least on the second token, second input data in a second format for specifying the location, and control to supply the first input data and the second input data to the schedule management function program so that the first input data and the second input data are automatically presented in an execution screen of the schedule management function program executed by the processor, and based at least on the identified target function program being a contact management function program: control to determine whether the first token corresponds to a contact entry in the address book, control to present the first token and a name associated with a contact entry in an address book in an execution screen of the contact management function program based at least on a determination that the first token corresponds to the contact entry in the address book, control to determine whether the first token is to be added to a new contact entry in the address book, and control to present the first token in an execution screen of the contact management function program based at least on a determination that the first token is to be added to a new contact entry in the address book.