Patent ID: 8855966
Filing Date: 2014-10-07
Classification: G06F

Abstract:
1. An electronic device comprising: a main body; at least one proximity sensor arranged in the main body and configured to detect a user's motion in a predetermined range from the main body; a memory arranged in the main body and configured to store a relationship table defining a relationship between an operation event and an executable function, wherein the operation event comprises: times of the proximity of a user to the main body, a duration of a stationary state of the user relative to the main body, and a distance of the movement of a user with respect to the main body; and a processor configured to receive data from the at least one proximity sensor to determine an operation event and to execute an executable function according to the relationship table; wherein the number of at least one proximity sensor is two, the two proximity sensors are respectively arranged at a first side and a second side of the main body; the relationship table further defines that a movement of a user's hand from the first side to the second side corresponds to starting media playing, and that a movement of a user's hand from the second side to the first side corresponds to ending media playing; and the processor determines the movement of a user's hand from the first side to the second side or from the second side to the first side based on the sequence of receiving signals from the two proximity sensors, and executes starting media playing function or ending media playing function according to the relationship table.