| CPC G06F 3/04883 (2013.01) [G06F 3/0414 (2013.01)] | 15 Claims |

|
1. A method performed by an electronic device, the method comprising:
obtaining touch data related to a touch input of a user, wherein the touch data includes data indicating at least one of a time interval during which the touch input is received or an area of a region of the touch input;
obtaining a feature vector from air pressure data by applying the air pressure data to an artificial intelligence model, the air pressure data being related to a change in air pressure inside the electronic device caused by the touch input of the user;
selecting a first training data set from among a plurality of pre-stored training data sets, the first training data set selected based on a similarity between the at least one of the time interval or the area of the region of the touch data and at least one of a time interval or an area of a region of a touch input of each of the plurality of pre-stored training data sets and selected based on a result of comparing the feature vector obtained from the air pressure data with a plurality of feature vectors obtained from air pressure data included in the plurality of pre-stored training data sets, respectively;
training the artificial intelligence model based on the first training data set;
identifying a type of a user input that is input to the electronic device, based on the trained artificial intelligence model; and
performing an operation corresponding to the identified type of the user input.
|