Method and apparatus for reminding user based on set position by using mobile terminal
A method and an apparatus for reminding a user based on a set position by using a mobile terminal. The method includes connecting the mobile terminal of the user to a wireless network, determining, by a mobile terminal of a user by using a wireless network, that a distance between the mobile terminal and a set position is greater than a set value and reminding, by the mobile terminal, the user of a set event according to a set reminding manner when the distance between the mobile terminal and the set position is greater than the set distance value. The present disclosure can make full use of a wireless local area network (WLAN) function or a wireless communication function of a mobile terminal to determine, without any additional hardware, a position of a user by using a WLAN or a positioning system, thereby implementing a function of reminding the user.
1. A method for reminding a user based on a set position by using a mobile terminal of the user, the method comprising:
connecting the mobile terminal of the user to a wireless network, wherein connecting comprises connecting the mobile terminal of the user to a wireless router at the set position;
determining, by the mobile terminal of the user, that a distance between the mobile terminal and a set position is greater than a set distance value by using the wireless network, wherein determining that the distance between the mobile terminal and the set position is greater than the set distance value comprises determining that the distance between the mobile terminal and the set position is greater than the set distance value based on the mobile terminal of the user having determined that the mobile terminal is disconnected from the wireless router at the set position; and
reminding, by the mobile terminal, the user to bring an article according to a set reminding manner when the distance between the mobile terminal and the set position is greater than the set distance value.
2. The method according to claim 1 , wherein determining, by the mobile terminal of the user by using a wireless network, that a distance between the mobile terminal and a set position is greater than a set distance value comprises:
connecting, by the mobile terminal of the user, to a positioning system;
acquiring a geographical position of the mobile terminal from the positioning system; and
determining that the distance between the mobile terminal and the set position is greater than the set distance value when a distance between the geographical position of the mobile terminal and a geographical position of the set position is greater than the set distance value.
3. The method according to claim 2 , wherein the positioning system comprises a Global Positioning System (GPS).
4. The method according to claim 2 , wherein the positioning system comprises a BeiDou Navigation Satellite System.
5. The method according to claim 2 , wherein the positioning system comprises a base station of the mobile terminal.
6. The method according to claim 1 , wherein reminding comprises causing the mobile terminal to at least one of ring, vibrate, and generate a visual reminder on a display screen of the mobile terminal.
7. The method according to claim 1 , wherein the set position is a home address of the user.
8. The method according to claim 1 , wherein the set position is an office address of the user.
9. A mobile terminal, comprising:
a processor; and
a non-transitory computer-readable storage medium coupled to the processor and storing programming instructions that, when executed by the processor, cause the processor to:
connect the mobile terminal of a user to a wireless network, wherein connecting the mobile terminal of a user to a wireless network comprises connecting the mobile terminal of the user to a wireless router at the set position;
determine that a distance between the mobile terminal and a set position is greater than a set distance value by using the wireless network, wherein determining that a distance between the mobile terminal and a set position is greater than a set distance value by using the wireless network comprises determining that the distance between the mobile terminal and the set position is greater than the set distance value after the mobile terminal of the user has detected that the mobile terminal is disconnected from the wireless router at the set position; and
remind the user to bring an article according to a set reminding manner based on determining that the distance between the mobile terminal and the set position is greater than the set distance value.
10. The mobile terminal according to claim 9 , wherein the processor is further configured to:
connect the mobile terminal of the user to a positioning system;
acquire a geographical position of the mobile terminal from the positioning system; and
determine that the distance between the mobile terminal and the set position is greater than the set distance value when a distance between the geographical position of the mobile terminal and a geographical position of the set position is greater than the set distance value.
11. The mobile terminal according to claim 10 , wherein the positioning system comprises a Global Positioning System (GPS).
12. The mobile terminal according to claim 10 , wherein the positioning system comprises a BeiDou Navigation Satellite System.
13. The mobile terminal according to claim 10 , wherein the positioning system comprises a base station of the mobile terminal.
14. The mobile terminal according to claim 9 , wherein, to remind the user, the processor is configured to:
perform at least one of a ringing operation and a vibrating operation; and
generate a visual reminder on a display screen of the mobile terminal.