摘要 |
An electronic device includes a main body; at least one proximity sensor arranged in the main body to detect a motion of a user in a predetermined range from the main body. A memory arranged in the main body store a relationship table defining a relationship between an operation event and an executable function. The operation event includes: the times of the proximity of a user to the main body, the duration of a stationary state of the user relative to the main body, and the distance of the movement of a user with respect to the main body. In addition, includes a processor receiving data from the at least one sensor determining an operation event and executing an executable function according to the relationship table. |