Patent 9904906 was granted and assigned to SAMSUNG ELECTRONICS CO., LTD. on February, 2018 by the United States Patent and Trademark Office.
A mobile terminal capable of transmitting and receiving messages and a data processing method thereof for retrieving data from a database and transmitting the data to a network in a message efficiently are provided. The method includes displaying at least one first message; extracting at least one first keyword from the first message; determining whether an attach request event occurs; searching, when the attach request event occurs, a database for a first data corresponding to the extracted at least one first keyword; displaying, according to a result of the search, at least one of the first data and a first icon representing the first data; and transmitting a second message including the first data.