CN113132536A - Reminding method and device - Google Patents
Reminding method and device Download PDFInfo
- Publication number
- CN113132536A CN113132536A CN201911421117.6A CN201911421117A CN113132536A CN 113132536 A CN113132536 A CN 113132536A CN 201911421117 A CN201911421117 A CN 201911421117A CN 113132536 A CN113132536 A CN 113132536A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- determining
- time
- user
- electronic device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 68
- 230000004622 sleep time Effects 0.000 claims description 69
- 230000003044 adaptive effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 13
- 238000004590 computer program Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000003203 everyday effect Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 238000012935 Averaging Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000010411 cooking Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000035515 penetration Effects 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Telephone Function (AREA)
Abstract
The embodiment of the invention provides a reminding method and a reminding device, relates to the technical field of terminals, and is used for enabling a reminding mode of electronic equipment to be adaptive to a use scene and improving the use experience of a user, wherein the method comprises the following steps: determining a use scene of the electronic equipment according to the geographical position of the electronic equipment or the geographical position of the electronic equipment and the current moment under the condition that the electronic equipment is in the first working state and a user needs to be reminded to view the electronic equipment; determining a reminding mode corresponding to the use scene; and reminding the user to check the electronic equipment in a reminding mode corresponding to the use scene. The embodiment of the invention is used for reminding of checking the electronic equipment.
Description
Technical Field
The embodiment of the invention relates to the technical field of terminals, in particular to a reminding method and a reminding device.
Background
Along with the popularization of electronic equipment such as mobile phones and tablet computers, the electronic equipment has become an indispensable communication tool in people's life nowadays, and people also gradually increase the demand for reminding the electronic equipment, and the electronic equipment reminds that there are two modes of ringing and vibration.
Currently, the reminding method of the electronic device includes: the user manually adjusts the volume and the vibration or mute mode of the switch; collecting and measuring environmental sounds of the mobile phone, and adjusting the size of the ring according to the result; starting a human body detector on the mobile phone and detecting, and muting the mobile phone if no one exists; and the mobile phone ring is automatically filtered within the appointed time, so that the frequency and loudness of the ring are reduced. However, the prior art has disadvantages in that: the reminding of the electronic equipment may not be suitable for the use scene, and bad use experience is caused for the user.
Disclosure of Invention
In view of the foregoing problems, an object of the embodiments of the present invention is to provide a method and an apparatus for reminding, so that a reminding manner of a mobile terminal is adapted to a usage scenario, and user experience is improved.
In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:
in a first aspect, an embodiment of the present invention provides a reminding method, including:
determining a use scene of the electronic equipment according to the geographic position of the electronic equipment or the geographic position of the electronic equipment and the current moment under the condition that the electronic equipment is in a first working state and a user needs to be reminded to view the electronic equipment;
determining a reminding mode corresponding to the use scene;
and reminding a user to check the electronic equipment in a reminding mode corresponding to the use scene.
As an optional implementation manner of the embodiment of the present invention, the determining a usage scenario of the electronic device according to the geographic location of the electronic device, or the geographic location of the electronic device and the current time includes:
determining whether the geographical position of the electronic equipment is in a first area, wherein the first area is an area formed by the geographical position, and the distance between the geographical position and the position of a working unit of a user is smaller than a first preset distance;
and if so, determining that the use scene of the electronic equipment is a working scene.
As an optional embodiment of the present invention, in a case that it is determined that a usage scenario of the electronic device is a working scenario, the reminding a user to view the electronic device in a reminding manner corresponding to the usage scenario includes:
the user is alerted to view the electronic device by vibration and 20% of the ringing volume.
As an optional implementation manner of the embodiment of the present invention, the determining a usage scenario of the terminal device according to the geographic location of the electronic device, or the geographic location of the electronic device and the current time further includes:
determining whether the geographic position of the electronic equipment is in a second area, wherein the second area is an area formed by geographic positions, the distance between the geographic positions and the position of the home of the user is smaller than a second preset distance;
if yes, determining whether the current time is the sleep time period of the user;
if the current time belongs to the sleep time period of the user, determining that the use scene of the electronic equipment is a sleep scene;
and if the current time does not belong to the sleep time period of the user, determining that the use scene of the electronic equipment is a non-sleep scene.
As an optional implementation manner of the embodiment of the present invention, before determining whether the current time is a sleep time period of the user, the method further includes:
acquiring the starting time and the ending time of a target time period of each day in the last N days, wherein the target time period of any day is the longest time period for the screen of the electronic equipment to be extinguished in the day, and N is a positive integer;
determining the starting time of the sleep time period according to the starting time of the target time period of each day in the last N days;
determining the end time of the sleep time period according to the end time of the target time period of each day in the last N days;
and determining the sleep time period according to the starting time of the sleep time period and the ending time of the sleep time period.
As an optional implementation manner of the embodiment of the present invention, the determining the starting time of the sleep time period according to the starting time of the target time period of each day of the last N days includes: determining the average value of each starting time in a starting time set as the starting time of the sleep time period, wherein the starting time set is a set formed by the starting times of other target time periods except the starting times of the earliest and latest target time periods in the starting times of the N target time periods of the latest N days;
determining the end time of the sleep time period according to the end time of the target time period of each of the last N days comprises: and determining the average value of all the end moments in an end moment set as the end moments of the sleep time periods, wherein the end moment set is a set formed by the end moments of other target time periods except the end moments of the earliest and latest target time periods in the end moments of the target time periods of each day in the last N days.
As an optional embodiment of the present invention, in a case that it is determined that a usage scenario of the electronic device is a sleep scenario, the reminding a user to view the electronic device in a reminding manner corresponding to the usage scenario includes:
the user is alerted to view the electronic device by vibration and 10% of the ringing volume.
As an optional implementation manner of the embodiment of the present invention, in a case that it is determined that a usage scenario of the electronic device is a non-sleep scenario, the reminding a user to view the electronic device in a reminding manner corresponding to the usage scenario includes:
the user is alerted to view the electronic device by vibration and 80% of the ringing volume.
As an optional implementation manner of the embodiment of the present invention, the determining a usage scenario of the electronic device according to the geographic location of the electronic device, or the geographic location of the electronic device and the current time further includes:
determining whether the geographic position of the electronic equipment is outside a first area or a second area, wherein the first area is an area formed by geographic positions, the distance between the geographic positions and the position of a work unit of a user is smaller than a first preset distance, and the distance between the geographic positions and the position of a home of the user is smaller than a second preset distance;
if so, acquiring the moving speed of the electronic equipment, and if the moving speed is less than or equal to a first threshold value, determining that the use scene of the electronic equipment is a first outgoing scene;
if the moving speed is greater than the first threshold and less than or equal to a second threshold, determining that the usage scenario of the electronic device is a second outgoing scenario;
and if the moving speed is greater than a second threshold value, determining that the use scene of the electronic equipment is a third outgoing scene.
As an optional implementation manner of the embodiment of the present invention, the acquiring a moving speed of the electronic device includes:
acquiring longitude and latitude coordinates of a period starting time and longitude and latitude coordinates of a period ending time of the position of the electronic equipment through a preset period, and determining a difference value between the longitude and latitude coordinates of the period ending time and the longitude and latitude coordinates of the period starting time of the electronic equipment as a moving distance of a user; and determining the ratio of the moving distance to a preset period as the moving speed.
As an optional implementation manner of the embodiment of the present invention, in a case that it is determined that a usage scenario of the electronic device is a first outgoing scenario, the reminding a user to view the electronic device in a reminding manner corresponding to the usage scenario includes:
and reminding a user to view the electronic equipment by the vibration and the ringing volume of 60%.
As an optional implementation manner of the embodiment of the present invention, in a case that it is determined that a usage scenario of the electronic device is a second outgoing scenario, the reminding a user to view the electronic device in a reminding manner corresponding to the usage scenario includes:
and reminding a user to view the electronic equipment through the vibration and the ringing volume of 90%.
As an optional implementation manner of the embodiment of the present invention, in a case that it is determined that a usage scenario of the electronic device is a third outgoing scenario, the reminding a user to view the electronic device in a reminding manner corresponding to the usage scenario includes:
and reminding a user to view the electronic equipment by the aid of vibration and ring volume of 50%.
As an optional implementation manner of the embodiment of the present invention, the first operating state includes:
the electronic device screen is off and no audio output, or the electronic device screen is locked and no audio output.
As an optional implementation manner of the embodiment of the present invention, the method further includes:
when the electronic equipment is in a second working state and a user needs to be reminded of viewing the electronic equipment, according to the fact that a screen of the electronic equipment is lightened and a recommended reading interface of a screen saver of the electronic equipment is entered, the screen of the electronic equipment is unlocked and an application program installed on the electronic equipment is entered, and the screen is turned off and one of audio outputs determines that a use scene of the electronic equipment is a used scene;
the reminding mode corresponding to the used scene of the electronic equipment is to remind a user to check the electronic equipment through a preset reminding mode.
In a second aspect, an embodiment of the present invention provides a reminding device, including: the electronic equipment comprises a use scene determining module, a display module and a display module, wherein the use scene determining module is used for determining a use scene of the electronic equipment according to the geographic position of the electronic equipment or the geographic position of the electronic equipment and the current moment under the condition that the electronic equipment is in a first working state and a user needs to be reminded to view the electronic equipment;
the determining module is used for determining a reminding mode corresponding to the using scene;
and the reminding module is used for reminding a user to check the electronic equipment in a reminding mode corresponding to the use scene.
As an optional implementation manner of the embodiment of the present invention, the usage scenario determining module includes:
the using scene determining unit is used for determining whether the geographic position of the electronic equipment is in a first area, wherein the first area is an area formed by the geographic position, the distance between the geographic position and the position of a working unit of a user is smaller than a first preset distance; and if so, determining that the use scene of the electronic equipment is a working scene.
As an optional implementation manner of the embodiment of the present invention, the reminding module is specifically configured to remind a user to view the electronic device through vibration and 20% of ring volume when it is determined that a usage scene of the electronic device is a working scene.
As an optional implementation manner of the embodiment of the present invention, the usage scenario determining module further includes:
the usage scenario determining unit is specifically configured to determine whether the geographic location of the electronic device is within a second area, where the second area is an area formed by geographic locations whose distance from the home location of the user is smaller than a second preset distance; if yes, determining whether the current time is the sleep time period of the user; if the current time belongs to the sleep time period of the user, determining that the use scene of the electronic equipment is a sleep scene; and if the current time does not belong to the sleep time period of the user, determining that the use scene of the electronic equipment is a non-sleep scene.
As an optional implementation manner of the embodiment of the present invention, the apparatus further includes:
the acquisition module is used for acquiring the starting time and the ending time of a target time period of each day in the last N days, the target time period of any day is the longest time period for the screen of the electronic equipment to be extinguished in the current day, and N is a positive integer;
the starting time determining module is used for determining the starting time of the sleep time period according to the starting time of the target time period of each day in the last N days;
the end time determining module is used for determining the end time of the sleep time period according to the end time of the target time period of each day in the last N days;
a sleep time period determining module, configured to determine the sleep time period according to a start time of the sleep time period and an end time of the sleep time period.
As an optional implementation manner of the embodiment of the present invention, the start time determining module is further configured to determine an average value of each start time in a start time set as the start time of the sleep time period, where the start time set is a set of start times of other target time periods except for start times of the earliest and latest target time periods among start times of N target time periods of the latest N days;
the end time determining module is further configured to determine an average value of each end time in an end time set as the end time of the sleep time period, where the end time set is a set of end times of other target time periods except for the end times of the earliest and latest target time periods in the end times of the target time periods of each day of the latest N days.
As an optional implementation manner of the embodiment of the present invention, the reminding module is specifically configured to remind a user to view the electronic device through vibration and 10% of ring volume when it is determined that a usage scenario of the electronic device is a sleep scenario.
As an optional implementation manner of the embodiment of the present invention, the reminding module is specifically configured to remind a user to view the electronic device through vibration and 80% of ring volume when it is determined that a usage scenario of the electronic device is a non-sleep scenario.
As an optional implementation manner of the embodiment of the present invention, the usage scenario determining module further includes:
the usage scenario determining unit is specifically configured to determine whether the geographic location of the electronic device is outside a first area or a second area, where the first area is an area formed by geographic locations whose distances from the location of the work unit of the user are smaller than a first preset distance, and the second area is an area formed by geographic locations whose distances from the location of the home of the user are smaller than a second preset distance; if so, acquiring the moving speed of the electronic equipment, and if the moving speed is less than or equal to a first threshold value, determining that the use scene of the electronic equipment is a first outgoing scene; if the moving speed is greater than the first threshold and less than or equal to a second threshold, determining that the usage scenario of the electronic device is a second outgoing scenario; and if the moving speed is greater than a second threshold value, determining that the use scene of the electronic equipment is a third outgoing scene.
As an optional implementation manner of the embodiment of the present invention, the apparatus further includes: the mobile speed determining module is used for acquiring the longitude and latitude coordinates of the electronic equipment at the cycle starting moment and the longitude and latitude coordinates of the cycle ending moment through a preset cycle, and determining the difference value between the longitude and latitude coordinates of the electronic equipment at the cycle ending moment and the longitude and latitude coordinates of the cycle starting moment as the mobile distance of the user; and determining the ratio of the moving distance to a preset period as the moving speed.
As an optional implementation manner of the embodiment of the present invention, the reminding module is specifically configured to remind a user to view the electronic device by using a vibration and a ring volume of 60% when it is determined that a usage scenario of the electronic device is a first outgoing scenario.
As an optional implementation manner of the embodiment of the present invention, the reminding module is specifically configured to remind a user to view the electronic device by using a vibration and a ring volume of 90% when it is determined that the usage scenario of the electronic device is a second outgoing scenario.
As an optional implementation manner of the embodiment of the present invention, the reminding module is specifically configured to remind a user to view the electronic device by using vibration and ring volume of 50% when it is determined that the usage scenario of the electronic device is a third outgoing scenario.
As an optional implementation manner of the embodiment of the present invention, the apparatus further includes: and the first working state determining module is used for turning off the screen of the electronic equipment and outputting no audio, or locking the screen of the electronic equipment and outputting no audio.
As an optional implementation manner of the embodiment of the present invention, the apparatus further includes:
the second working state determining module is used for lighting the screen of the electronic equipment and entering a recommended reading interface of the screen saver of the electronic equipment according to the condition that the electronic equipment is in a second working state and a user needs to be reminded to view the electronic equipment, unlocking the screen of the electronic equipment and entering an application program installed on the electronic equipment, and determining that the use scene of the electronic equipment is a used scene by one of screen turning-off and audio output;
the reminding module is specifically used for reminding a user to check the electronic equipment through a preset reminding mode corresponding to the used scene of the electronic equipment.
In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes: at least one processor; and at least one memory, bus connected with the processor; the processor and the memory complete mutual communication through the bus; the processor is configured to call the program instructions in the memory to perform the method according to one or more of the above-mentioned embodiments.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the storage medium includes a stored program, and when the program runs, a device in which the storage medium is located is controlled to perform a method in one or more of the above technical solutions.
The reminding method provided by the embodiment of the invention comprises the following steps that firstly, under the condition that the electronic equipment is in the first working state and a user needs to be reminded of checking the electronic equipment, the use scene of the electronic equipment is determined according to the geographic position of the electronic equipment or the geographic position of the electronic equipment and the current moment; then, determining a reminding mode corresponding to the use scene; and finally, reminding the user to check the electronic equipment in a reminding mode corresponding to the use scene. That is, the method for reminding the electronic device according to the embodiment of the present invention can determine the reminding modes of the electronic device corresponding to different usage scenarios according to the usage scenarios of the electronic device; the reminding mode of the electronic equipment is determined according to the current use scene, so that the reminding mode of the electronic equipment can be well adapted to the current use scene, and the user experience is further improved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a first schematic flow chart of a reminding method in an embodiment of the present invention;
FIG. 2 is a second flowchart illustrating a reminding method according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a reminder device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
The method in the examples of the present invention will be described in detail below.
Fig. 1 is a first schematic flow chart of a reminding method in an embodiment of the present invention, and referring to fig. 1, the method may include:
s101, under the condition that the electronic equipment is in the first working state and a user needs to be reminded of viewing the electronic equipment, determining a use scene of the electronic equipment according to the geographic position of the electronic equipment or the geographic position and the current moment of the electronic equipment.
The electronic equipment provided by the embodiment of the invention can be electronic equipment and can also be a non-mobile terminal. The mobile terminal may be a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, an electronic photo frame, a Personal Digital Assistant (PDA), an intelligent watch, an intelligent bracelet, etc., and the non-mobile terminal may be a television, a Personal Computer (PC) smart speaker, a car-mounted device, etc., or the electronic device may be other types of terminal devices, which is not limited in the embodiments of the present invention. For convenience of understanding, in the following embodiments, the terminal device is taken as an example of a mobile phone.
As an optional implementation manner of the embodiment of the present invention, that the electronic device is in the first operating state means that a screen of the electronic device is turned off and no audio is output, or the screen of the electronic device is locked and no audio is output. For example, if the current state of the mobile phone of the user is screen-off and no audio output exists, it may be determined that the mobile phone is in the first working state; the user's mobile phone screen is locked and no audio is output, and it can also be determined that the mobile phone is in the first working state.
The absence of audio output means that music, audio, an electronic book, a broadcast, a video, etc. are not played.
Specifically, the situations that require the user to view the electronic device include: the user receives the short message, the incoming call request, the notification message, the alarm clock, the set work schedule viewing prompt and the like. For example, the user has set the work schedule viewing time on the mobile phone to be 14 pm: at this point in time, the user needs to view the mobile phone, and the above-mentioned case of viewing the electronic device is not limited here.
The geographical position of the electronic device may be obtained by GPS positioning, base station positioning, or the like.
And S102, determining a reminding mode corresponding to the use scene.
Specifically, the usage scenarios and the reminding modes are in one-to-one correspondence, a corresponding relationship table can be set, all the usage scenarios of the electronic device and the reminding modes corresponding to each usage scenario can be stored in the corresponding relationship table, the electronic device can be searched in the corresponding relationship table according to the usage scenarios to configure the corresponding reminding modes, and therefore the efficiency of determining the reminding modes corresponding to the usage scenarios by the electronic device can be improved.
S103, reminding the user to check the electronic equipment through a reminding mode corresponding to the use scene.
Specifically, the reminding manner may include one or more of flashing of an indicator light, flashing of a flash, vibration, and ringing of the electronic device.
The user may set different ring tones for different usage scenarios, e.g., may set a penetration ring tone or may set a soft ring tone. The user can set different ring tones for different use scenes, and more comfortable use experience of the electronic equipment can be obtained.
As can be seen from the above, in the reminding method provided in the embodiment of the present invention, first, under the condition that the electronic device is in the first working state and the user needs to be reminded to view the electronic device, the usage scenario of the electronic device is determined according to the geographic position of the electronic device, or the geographic position of the electronic device and the current time; then, determining a reminding mode corresponding to the use scene; and finally, reminding the user to check the electronic equipment in a reminding mode corresponding to the use scene. That is, the method for reminding the electronic device according to the embodiment of the present invention can determine the reminding modes of the electronic device corresponding to different usage scenarios according to the usage scenarios of the electronic device; the reminding mode of the electronic equipment is determined according to the current use scene, so that the reminding mode of the electronic equipment can be well adapted to the current use scene, and the user experience is further improved.
Further, as a refinement and an extension of the method shown in fig. 1, the embodiment of the present invention further provides a reminding method.
Fig. 2 is a schematic flow diagram of a reminding method in an embodiment of the present invention, and referring to fig. 2, the reminding method provided in the embodiment of the present invention may include:
s201, determining whether the electronic equipment is in the first working state or not and reminding a user of checking the electronic equipment.
In the above step S201, if the electronic device is in the first working state and the user needs to be reminded to view the electronic device, the following steps S202 to S212 of the embodiment of the present invention are executed.
S202, determining whether the geographic position of the electronic equipment is in the first area.
The first area is an area formed by geographic positions, wherein the distance between the first area and the position of the working unit of the user is smaller than a first preset distance.
For example, the first preset distance may be 100 meters, 120 meters, and the like, and the first preset distance is not limited herein.
The determination method of the position of the work unit of the user may be that the geographical position where the user is located in the longest time during the work period is determined as the position of the work unit of the user.
For example, counting the time of the location of the work period of the user in the last 5 days, the work period of the user may be 9: 00 to 6 pm: 00, the time of the first day at the geographic position A is 8 hours, and the time of the first day at the geographic position B is 1 hour; the time of the second day at the geographic position A is 3 hours, the time of the second day at the geographic position B is 1 hour, and the time of the second day at the geographic position C is 5 hours; the time of the third day at the geographic position A is 5 hours, the time of the third day at the geographic position B is 1 hour, and the time of the third day at the geographic position C is 3 hours; the time of the fourth day at the geographic position A is 8 hours, and the time of the fourth day at the geographic position B is 2 hours; the fifth day is 8 hours at geographic location a and 1 hour at geographic location B. Even if the time of the user at the geographic position A in the next day is less than the time of the user at the geographic position C, the time of the user at the geographic position A in the five days is the longest, so that the geographic position A can be determined as the position of the work unit of the user. The time period of the above working time period is not limited herein.
The determination method of the position of the work unit of the user may also be that the electronic device prompts the user to input the position of the work unit.
After step S202 is performed, the geographical location of the electronic device is within the first area, and step S204 is performed.
S203, determining whether the geographic position of the electronic equipment is in the second area.
The second area is an area formed by geographic positions, wherein the distance between the second area and the position of the home of the user is smaller than a second preset distance.
The second preset distance may be 70 meters, 80 meters, etc., and the second preset distance may be set according to practical situations, and the second preset distance is not limited herein.
The determination method of the home position of the user is to determine the geographical position of the user with the longest time in the time period other than the working time period as the home position of the user.
Illustratively, the time of the position of the user in the time period outside the working time period of the last 5 days is counted, and the working time period of the user is 9: 00 to 6 pm: 00, obtaining that the time period of the user outside the working time period is 6 pm: 00 to the next morning 9: 00, during which the first day is 3 hours at geographic location D and 15 hours at geographic location E; the time of the second day at the geographic position D is 3 hours, the time of the second day at the geographic position E is 13 hours, and the time of the second day at the geographic position F is 2 hours; the time of the third day at the geographic position D is 3 hours, the time of the third day at the geographic position E is 7 hours, and the time of the third day at the geographic position F is 8 hours; the time of the fourth day at the geographic position D is 3 hours, and the time of the fourth day at the geographic position E is 15 hours; the fifth day is 4 hours at geographic location D and 14 hours at geographic location E. Even if the user is located at the geographic position E for a time shorter than the time at the geographic position F on the third day, the user is located at the geographic position E for the longest time on the total of five days, and therefore, the geographic position E can be determined as the position of the user's home. The time period other than the above-mentioned operation time period is not limited herein.
The determination method of the home location of the user may be that the electronic device prompts the user to input the home location.
In the embodiment of the present invention, under the condition that the electronic device is in the first working state and the user needs to be reminded to view the electronic device, there are three ways to determine whether the geographic position of the electronic device is in the first area and to determine whether the geographic position of the electronic device is in the second area: the first way is to determine whether the geographical position of the electronic device is within a first area and whether the geographical position of the electronic device is within a second area in parallel; the second way is that whether the geographical position of the electronic equipment is in the first area is determined, and then whether the geographical position of the electronic equipment is in the second area is determined; the third way is to determine whether the geographical location of the electronic device is within the second area, and then determine whether the geographical location of the electronic device is within the first area.
After step S203 is executed, if the geographical location of the electronic device is within the second area, step S205 is executed.
After steps S202 and S203 are performed, the geographical location of the electronic device is not within the first area and the geographical location of the electronic device is not within the second area, then step S208 is performed.
S204, determining the use scene of the electronic equipment as a working scene, and reminding a user to view the electronic equipment through vibration and 20% of ringing volume.
The working scene is a relatively quiet place, and the user is required to concentrate on working, and under the scene, the user is reminded to check the electronic equipment through vibration and 20% ringing volume, so that the user can be prevented from disturbing other surrounding colleagues when working, the user can be reminded of the user, and the user is prevented from missing calls.
S205, determining whether the current time is the sleep time period of the user.
Specifically, the sleep period of the user can be determined in, but not limited to, the following two ways.
The first mode is as follows: as an optional implementation manner of the embodiment of the present invention, the implementation process before the step S205 may be implemented by the following steps 1 to 2:
step 1, obtaining the starting time and the ending time of a target time period of each day in the last N days, wherein the target time period of any day is the longest time period for the screen of the electronic equipment to be extinguished in the current day.
N is a positive integer, N can be 10, 15, 17 and the like, and the larger the value of N is, the better the value is, and the starting time and the ending time can be obtained more accurately. There may be several periods of time for which the screen of the electronic device is extinguished every day, and the longest period of time for which the screen of the electronic device is extinguished every day is only one, that is, only one target period of time is available every day, and 15 target periods of time are available every 15 days. For example, the time period from 6 am of the previous day to 6 am of the next day is one day, and the screen blanking time of the mobile phone of the user is: 6: 00-7: 30. 8: 00-12: 00. 13: 30-18: 00. 23: 00-6: 00, the longest time period for screen blanking during the day is selected to be 23: 00-6: 00, therefore, 23: 00-6: the time period of 00 serves as the target time period during the day.
Specifically, the start time and the end time of each day, that is, the 24-hour period may be adjusted according to the longest period of time (target period of time) during which the screen is turned off. The 24-hour period includes all periods of the target period of the electronic device, and the end time of the target period is taken as the end time of the 24-hour period. The starting time of the 24 hour period may be adjusted based on the 24 hours minus the ending time of the target period. Therefore, the longest black screen time period can be acquired more accurately, and the accuracy of acquiring the starting time and the ending time of the target time period is improved.
Illustratively, the start and end times of the 24 hour period for each day are typically 6 am to 6 am of the previous day to the next day. When a user actually uses a mobile phone, acquiring a target time period of any day as 23: 30-6: 30, the ending time of the 24-hour period is generally 6 am on the next day, and in order to satisfy the condition that the 24-hour period includes the entire period of the longest period (target period) in which the screen of the electronic device is turned off, and the ending time of the target period is the ending time of the 24-hour period, the ending time of the 24-hour period is adjusted to 6 am on the next day: 30, i.e. the starting and ending times of the 24 hour period are 6 in the morning of the previous day: 30 to the morning of the next day 6: 30.
step 2, determining the starting time of the sleep time period according to the starting time of the target time period of each day in the last N days; and determining the end time of the sleep time period according to the end time of the target time period of each day in the last N days.
As an optional implementation manner of the embodiment of the present invention, determining the starting time of the sleep time period according to the starting time of the target time period of each day of the last N days may include:
and determining the average value of all the starting moments in the starting moment set as the starting moments of the sleep time periods, wherein the starting moment set is a set formed by the starting moments of other target time periods except the starting moments of the earliest and latest target time periods in the starting moments of 10 target time periods of the latest 10 days. Therefore, early sleep and late sleep caused by uncontrollable factors of a user are eliminated, the uncontrollable factors are avoided occasionally, and the accuracy of determining the starting time of the sleep time period of the electronic equipment is improved.
Illustratively, the starting time of the target time period is: 23: 00. 23: 10. 23: 05. 23: 00. 23: 00. 00: 30. 22: 20. 23: 10. 23: 15. 23: 00, divided by the earliest and latest time instants 22: 20 and 00: 30, averaging the remaining 8 moments to 23: 05, mixing 23: 05 determined as the starting moment of the sleep period.
As an optional implementation manner of the embodiment of the present invention, determining the end time of the sleep time period according to the end time of the target time period of each day of the last N days may include:
and determining the average value of all the end moments in the end moment set as the end moments of the sleep time periods, wherein the end moment set is a set formed by the end moments of other target time periods except the end moments of the earliest and latest target time periods in the end moments of the target time periods of each day in the last 10 days. Therefore, the late start of the user caused by the fact that the alarm clock does not sound or the early start of the user needing to drive away the airport due to occasional business trip can be eliminated, the occasional uncontrollable factors are avoided, and the accuracy of determining the end time of the sleep time period of the electronic equipment is improved.
Illustratively, the starting time of the target time period is: 6: 00. 6: 10. 6: 05. 4: 50. 6: 00. 7: 10. 5: 00. 6: 10. 6: 15. 6: 00, divided by the earliest and latest time instants 4: 50 and 7: 10, averaging the remaining 8 moments to 6: 05, mixing 6: 05 is determined as the end time of the sleep period.
And 3, determining the sleep time period according to the starting time of the sleep time period and the ending time of the sleep time period.
Illustratively, the starting time of the sleep period is 23: 05, end time of sleep period 6: 05, mixing 23: 05 to 6: 05 determined as sleep time period.
The second mode is as follows: the method comprises the steps of receiving a starting time of a preset sleep time period and an ending time of the sleep time period to determine the sleep time period.
Specifically, the starting time of the preset sleep time period is 23: 00, the end time of the sleep period is 6: 00, and mixing 23: 00 to 6: 00 is determined as a sleep period; the starting time of the preset sleep time period may be 23: 15, the end time of the sleep period is 6: 15, mixing 23: 15 to 6: 15 are determined as sleep periods. The starting time of the sleep time period and the ending time of the sleep time period are preset, and may be set according to actual requirements, which is not limited herein.
After step S205 is executed, if it is determined that the current time is the sleep time period of the user, step S206 is executed; if it is determined that the current time is not the sleep time period of the user, step S207 is performed.
S206, determining that the use scene of the electronic equipment is a sleep scene, and reminding a user to check the electronic equipment through vibration and 10% of ringing volume.
The sleep scene needs to be quite quiet, and in the scene, the user is reminded to check the electronic equipment through vibration and 10% of ringing volume, so that the rest of children and old people at home can be avoided, and the purpose of reminding the user to check the electronic equipment is achieved.
S207, determining that the use scene of the electronic equipment is a non-sleep scene, and reminding a user to check the electronic equipment through vibration and 80% of ringing volume.
The non-sleep scene is that a user needs to be reminded of relatively large ringing volume when watching videos, cooking or washing clothes through a television at home, and is reminded of checking the electronic equipment through vibration and 80% ringing volume, so that the user can be reminded of the user when busy at home or entertain, and the user is prevented from missing calls.
S208, determining whether the geographic position of the electronic equipment is outside the first area or the second area.
The first area is an area formed by geographic positions, wherein the distance between the first area and the position of the working unit of the user is smaller than a first preset distance. The second area is an area formed by geographic positions, wherein the distance between the second area and the position of the home of the user is smaller than a second preset distance.
Whether the geographical location of the electronic device is outside the first area or the second area, that is, whether the geographical location of the electronic device is in all areas outside the work unit area or the home area.
After step S208 is executed, if the geographical location of the electronic device is outside the first area or the second area, step S209 is executed.
S209, acquiring the moving speed of the electronic equipment.
As an optional implementation manner of the embodiment of the present invention, the implementation process of step S209 may be implemented by steps a to b as follows:
step a, acquiring the longitude and latitude coordinates of the period starting time and the longitude and latitude coordinates of the period ending time of the position of the electronic equipment through a preset period.
Generally, a GPS positioning system is used to obtain longitude and latitude coordinates of a cycle start time and a cycle end time of a location where an electronic device is located. The GPS positioning system may be a positioning system provided in the electronic device, or may be application software downloaded by the electronic device. The GPS positioning system is not limited herein.
The preset period can be dynamically changed, and the preset period is determined according to the change of the moving speed. For example, the moving speed is fast, the preset cycle time can be set to be short, and the minimum cycle is set to be 1 minute once; when the user is detected not to move any more or the moving speed is reduced, the preset period time can be set to be long, and the maximum period is set to be adjusted to be once in 15 minutes. The preset period is dynamically adjusted, so that the acquired longitude and latitude coordinates of the period starting time and the acquired longitude and latitude coordinates of the period ending time of the position of the electronic equipment are more accurate, and when the user does not move, the positioning coordinates are acquired at short intervals, so that the electric quantity of the electronic equipment can be prevented from being wasted.
Step b, determining the difference value of the longitude and latitude coordinates of the electronic equipment at the cycle ending moment and the longitude and latitude coordinates of the cycle starting moment as the moving distance of the user; and determining the ratio of the moving distance to the preset period as the moving speed.
The moving speed of the electronic device is calculated according to the position change of the electronic device every minute. In practical applications, for example, the longitude and latitude coordinates of the cycle ending time and the longitude and latitude coordinates of the cycle starting time of a preset cycle are acquired through a high-resolution map, and the distance (difference) between the two coordinates can be directly calculated. The user moves 15 minutes from the point A to the point B, the distance from the point A to the point B is calculated to be 300 meters, and the moving speed of the user is 20 meters per minute by dividing 300 meters by 15 minutes.
S210, if the moving speed is smaller than or equal to a first threshold value, determining that the use scene of the electronic equipment is a first outgoing scene, and reminding a user to view the electronic equipment through vibration and ringing volume of 60%.
Specifically, the first threshold may be appropriately adjusted, and the first threshold may be set to 20 m/min, and the first threshold is not limited herein.
In a first outgoing scene, the moving speed of the electronic device is relatively low, the scene can be considered as a static mode, the first outgoing scene can also be called as an outgoing static scene, the noise is relatively low, and the user is reminded to view the electronic device through vibration and 60% of ringing volume. The setting can make the user avoid missing the call under the environment that the relative noise is less, reaches the purpose that reminds the user to look over electronic equipment.
S211, if the moving speed is larger than the first threshold and smaller than or equal to a second threshold, determining that the use scene of the electronic equipment is a second outgoing scene, and reminding a user to view the electronic equipment through the fact that the vibration and the ring volume are 90%.
Specifically, the second threshold may be appropriately adjusted, and the second threshold may be set to 200 m/min, which is not limited herein.
Under the second external scene, the moving speed of the electronic equipment is moderate, the scene can be considered as a walking mode, the second external scene can also be called as an external walking scene, the noise is relatively high at the moment, and the user is reminded to check the electronic equipment through vibration and 90% of ringing volume. The setting can make the user under the relatively noisy environment, can remind the user to look over electronic equipment, avoids missing the call, promotes user's use and experiences.
And S212, if the moving speed is higher than a second threshold value, determining that the use scene of the electronic equipment is a third outgoing scene, and reminding the user to view the electronic equipment through vibration and ring volume of 50%.
In a third outgoing scene, the moving speed of the electronic device is high, the scene can be considered as a motor vehicle riding mode, the third outgoing scene can also be called as an outgoing motor vehicle riding scene, the noise is relatively moderate at the moment, and the user is reminded to view the electronic device through vibration and 50% of ringing volume. The setting can make the user avoid disturbing other passengers under the environment that the noise is moderate relatively to can reach the purpose of reminding the user to look over electronic equipment, avoid missing and connect the phone, promote user's use and experience.
Specifically, the determination method for determining that the moving speed is less than or equal to the first threshold, or is greater than the first threshold and less than or equal to the second threshold, or is greater than the second threshold includes two determination methods:
the first mode is as follows: comparing the moving speed with a first threshold value, and determining that the moving speed is in a range less than or equal to the first threshold value if the moving speed is less than or equal to the first threshold value; if the moving speed is greater than the first threshold, it is necessary to further determine the magnitude relationship between the moving speed and the second threshold, if the moving speed is greater than the second threshold, it is determined that the moving speed is in a range greater than the second threshold, and if the moving speed is equal to or less than the second threshold, it is determined that the moving speed is in a range greater than the first threshold and less than or equal to the second threshold.
For example, if the first threshold is 20 m/min, the second threshold is 200 m/min, the moving speed of the electronic device is 18 m/min, and 18 m/min is less than 20 m/min compared with 20 m/min, it can be determined that the current electronic device is in the range less than or equal to the first threshold. If the moving speed of the electronic device is 180 m/min, comparing 180 m/min with 20 m/min, where 180 m/min is greater than 20 m/min, and further comparing 180 m/min with 200 m/min, where 180 m/min is less than 200 m/min, it may be determined that the current electronic device is in a range greater than the first threshold value and less than or equal to the second threshold value.
The second mode is as follows: comparing the moving speed with a second threshold value, and if the moving speed is greater than the second threshold value, determining that the moving speed is in a range greater than the second threshold value; if the moving speed is less than the second threshold, it is necessary to further determine the magnitude relationship of the moving speed to the first threshold, if the moving speed is less than or equal to the first threshold, determine that the moving speed is in a range less than or equal to the first threshold, and if the moving speed is greater than the first threshold, determine that the moving speed is in a range greater than the first threshold and less than or equal to the second threshold.
For example, if the first threshold is 20 m/min, the second threshold is 200 m/min, and the moving speed of the electronic device is 280 m/min, and the 280 m/min is compared with 200 m/min, and the 280 m/min is greater than 200 m/min, it can be determined that the current electronic device is within a range larger than the second threshold. If the moving speed of the electronic device is 180 m/min, comparing 180 m/min with 200 m/min, where 180 m/min is less than 200 m/min, and further comparing 180 m/min with 20 m/min, where 180 m/min is greater than 20 m/min, it may be determined that the current electronic device is in a range greater than the first threshold value and less than or equal to the second threshold value.
As an optional implementation manner of the embodiment of the present invention, as an implementation manner parallel to the step S201, the method for reminding provided by the embodiment of the present invention further includes:
and under the condition that the electronic equipment is in the second working state and the user needs to be reminded to check the electronic equipment, according to the fact that the screen of the electronic equipment is lightened and a recommended reading interface of the screen saver of the electronic equipment is entered, the screen of the electronic equipment is unlocked and an application program installed on the electronic equipment is entered, the screen is extinguished and one of audio outputs determines that the use scene of the electronic equipment is the used scene. The reminding mode corresponding to the used scene is to remind a user to check the electronic equipment through a preset reminding mode.
Specifically, the preset reminding mode may be that the vibration and ringing volume is 0%, or may be that the vibration and ringing volume is 5%. The preset reminding manner is not limited herein.
Under the condition that the use scene of the electronic equipment is the used scene, because the user uses the electronic equipment, when short messages, incoming call requests, notification messages and the like are received and the mobile phone needs to be checked, the user can be directly watched for reminding, the user is reminded to check the electronic equipment in a preset reminding mode, the waste of the electric quantity of the electronic equipment caused by large ringing volume can be avoided, and the user can be prevented from missing calls.
Usage scenarios of electronic devices are divided into work scenarios, sleep scenarios, outgoing stationary scenarios, outgoing walk scenarios, outgoing riding vehicle scenarios, and used scenarios.
Based on the same inventive concept, as the implementation of the method, the embodiment of the invention also provides a reminding device. Fig. 3 is a schematic structural diagram of an apparatus in an embodiment of the present invention, and referring to fig. 3, the apparatus 30 may include: a usage scenario determining module 301, configured to determine, when an electronic device is in a first working state and a user needs to be reminded to view the electronic device, a usage scenario of the terminal device according to a geographic location of the electronic device, or the geographic location of the electronic device and a current time; a determining module 302, configured to determine a reminding manner corresponding to the usage scenario; and the reminding module 303 is configured to remind a user to view the electronic device in a reminding mode corresponding to the usage scenario.
As an optional implementation manner of the embodiment of the present invention, the usage scenario determining module 301 includes: the using scene determining unit is used for determining whether the geographic position of the electronic equipment is in a first area, wherein the first area is an area formed by the geographic position, the distance between the geographic position and the position of a working unit of a user is smaller than a first preset distance; and if so, determining that the use scene of the electronic equipment is a working scene.
As an optional implementation manner of the embodiment of the present invention, the reminding module 303 is specifically configured to remind a user to view the electronic device through vibration and 20% of ring volume when it is determined that a usage scene of the electronic device is a working scene.
As an optional implementation manner of the embodiment of the present invention, the usage scenario determining module 301 further includes: the usage scenario determining unit is specifically configured to determine whether the geographic location of the electronic device is within a second area, where the second area is an area formed by geographic locations whose distance from the home location of the user is smaller than a second preset distance; if yes, determining whether the current time is the sleep time period of the user; if the current time belongs to the sleep time period of the user, determining that the use scene of the electronic equipment is a sleep scene; and if the current time does not belong to the sleep time period of the user, determining that the use scene of the electronic equipment is a non-sleep scene.
As an optional implementation manner of the embodiment of the present invention, the apparatus further includes: the acquisition module is used for acquiring the starting time and the ending time of a target time period of each day in the last N days, the target time period of any day is the longest time period for the screen of the electronic equipment to be extinguished in the current day, and N is a positive integer; the starting time determining module is used for determining the starting time of the sleep time period according to the starting time of the target time period of each day in the last N days; the end time determining module is used for determining the end time of the sleep time period according to the end time of the target time period of each day in the last N days; a sleep time period determining module, configured to determine the sleep time period according to a start time of the sleep time period and an end time of the sleep time period.
As an optional implementation manner of the embodiment of the present invention, the start time determining module is further configured to determine an average value of each start time in a start time set as the start time of the sleep time period, where the start time set is a set of start times of other target time periods except for start times of the earliest and latest target time periods among start times of N target time periods of the latest N days; the end time determining module is further configured to determine an average value of each end time in an end time set as the end time of the sleep time period, where the end time set is a set of end times of other target time periods except for the end times of the earliest and latest target time periods in the end times of the target time periods of each day of the latest N days.
As an optional implementation manner of the embodiment of the present invention, the reminding module 303 is specifically configured to remind a user to view the electronic device through vibration and 10% of ring volume when it is determined that a usage scenario of the electronic device is a sleep scenario.
As an optional implementation manner of the embodiment of the present invention, the reminding module 303 is specifically configured to remind a user to view the electronic device through vibration and 80% of ring volume when it is determined that a usage scenario of the electronic device is a non-sleep scenario.
As an optional implementation manner of the embodiment of the present invention, the usage scenario determining module 301 further includes: the usage scenario determining unit is specifically configured to determine whether the geographic location of the electronic device is outside a first area or a second area, where the first area is an area formed by geographic locations whose distances from the location of the work unit of the user are smaller than a first preset distance, and the second area is an area formed by geographic locations whose distances from the location of the home of the user are smaller than a second preset distance; if so, acquiring the moving speed of the electronic equipment, and if the moving speed is less than or equal to a first threshold value, determining that the use scene of the electronic equipment is a first outgoing scene; if the moving speed is greater than the first threshold and less than or equal to a second threshold, determining that the usage scenario of the electronic device is a second outgoing scenario; and if the moving speed is greater than a second threshold value, determining that the use scene of the electronic equipment is a third outgoing scene.
As an optional implementation manner of the embodiment of the present invention, the apparatus further includes: the mobile speed determining module is used for acquiring the longitude and latitude coordinates of the electronic equipment at the cycle starting moment and the longitude and latitude coordinates of the cycle ending moment through a preset cycle, and determining the difference value between the longitude and latitude coordinates of the electronic equipment at the cycle ending moment and the longitude and latitude coordinates of the cycle starting moment as the mobile distance of the user; and determining the ratio of the moving distance to a preset period as the moving speed.
As an optional implementation manner of the embodiment of the present invention, the reminding module 303 is specifically configured to remind a user to view the electronic device by using a vibration and a ringing volume of 60% when it is determined that a usage scenario of the electronic device is a first outgoing scenario.
As an optional implementation manner of the embodiment of the present invention, the reminding module 303 is specifically configured to remind a user to view the electronic device by using a vibration and a ringing volume of 90% when it is determined that the usage scenario of the electronic device is a second outgoing scenario.
As an optional implementation manner of the embodiment of the present invention, the reminding module 303 is specifically configured to remind a user to view the electronic device by using a vibration and a ring volume of 50% when it is determined that the usage scenario of the electronic device is a third outgoing scenario.
As an optional implementation manner of the embodiment of the present invention, the apparatus further includes: and the first working state determining module is used for turning off the screen of the electronic equipment and outputting no audio, or locking the screen of the electronic equipment and outputting no audio.
As an optional implementation manner of the embodiment of the present invention, the apparatus further includes:
the second working state determining module is used for lighting the screen of the electronic equipment and entering a recommended reading interface of the screen saver of the electronic equipment according to the condition that the electronic equipment is in a second working state and a user needs to be reminded to view the electronic equipment, unlocking the screen of the electronic equipment and entering an application program installed on the electronic equipment, and determining that the use scene of the electronic equipment is a used scene by one of screen turning-off and audio output; the reminding module 303 is specifically configured to remind a user to check the electronic device through a preset reminding mode in a reminding mode corresponding to a used scene of the electronic device.
Here, it should be noted that: the above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus according to the invention, reference is made to the description of the embodiments of the method according to the invention for understanding.
Based on the same inventive concept, the embodiment of the invention also provides electronic equipment. Fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the present invention, and referring to fig. 4, the electronic device 40 may include: at least one processor 401; and at least one memory 402, a bus 403 connected to the processor 401; the processor 401 and the memory 402 complete communication with each other through the bus 403; the processor 401 is configured to call program instructions in the memory 402 to execute the reminder method in one or more embodiments described above.
Here, it should be noted that: the above description of the embodiments of the electronic device is similar to the description of the embodiments of the method described above, and has similar advantageous effects to the embodiments of the method. For technical details not disclosed in the embodiments of the electronic device according to the embodiments of the present invention, please refer to the description of the method embodiments of the present invention.
Based on the same inventive concept, the embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program runs, the apparatus on which the storage medium is located is controlled to execute the method in one or more embodiments described above.
Here, it should be noted that: the above description of the computer-readable storage medium embodiments is similar to the description of the method embodiments described above, with similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the computer-readable storage medium of the embodiments of the present invention, reference is made to the description of the method embodiments of the present invention for understanding.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (10)
1. A reminding method is characterized by comprising the following steps:
determining a use scene of the electronic equipment according to the geographic position of the electronic equipment or the geographic position of the electronic equipment and the current moment under the condition that the electronic equipment is in a first working state and a user needs to be reminded to view the electronic equipment;
determining a reminding mode corresponding to the use scene;
and reminding a user to check the electronic equipment in a reminding mode corresponding to the use scene.
2. The method of claim 1, wherein determining the usage scenario of the electronic device according to the geographic location of the electronic device or the geographic location of the electronic device and the current time comprises:
determining whether the geographical position of the electronic equipment is in a first area, wherein the first area is an area formed by the geographical position, and the distance between the geographical position and the position of a working unit of a user is smaller than a first preset distance;
and if so, determining that the use scene of the electronic equipment is a working scene.
3. The method of claim 1, wherein determining the usage scenario of the terminal device according to the geographic location of the electronic device, or the geographic location of the electronic device and the current time further comprises:
determining whether the geographic position of the electronic equipment is in a second area, wherein the second area is an area formed by geographic positions, the distance between the geographic positions and the position of the home of the user is smaller than a second preset distance;
if yes, determining whether the current time is the sleep time period of the user;
if the current time belongs to the sleep time period of the user, determining that the use scene of the electronic equipment is a sleep scene;
and if the current time does not belong to the sleep time period of the user, determining that the use scene of the electronic equipment is a non-sleep scene.
4. The method of claim 3, wherein prior to determining whether the current time is a sleep period for the user, the method further comprises:
acquiring the starting time and the ending time of a target time period of each day in the last N days, wherein the target time period of any day is the longest time period for the screen of the electronic equipment to be extinguished in the day, and N is a positive integer;
determining the starting time of the sleep time period according to the starting time of the target time period of each day in the last N days;
determining the end time of the sleep time period according to the end time of the target time period of each day in the last N days;
and determining the sleep time period according to the starting time of the sleep time period and the ending time of the sleep time period.
5. The method of claim 4,
determining the starting time of the sleep time period according to the starting time of the target time period of each of the last N days comprises: determining the average value of each starting time in a starting time set as the starting time of the sleep time period, wherein the starting time set is a set formed by the starting times of other target time periods except the starting times of the earliest and latest target time periods in the starting times of the N target time periods of the latest N days;
determining the end time of the sleep time period according to the end time of the target time period of each of the last N days comprises: and determining the average value of all the end moments in an end moment set as the end moments of the sleep time periods, wherein the end moment set is a set formed by the end moments of other target time periods except the end moments of the earliest and latest target time periods in the end moments of the target time periods of each day in the last N days.
6. The method of claim 1, wherein determining the usage scenario of the electronic device according to the geographic location of the electronic device or the geographic location of the electronic device and the current time further comprises:
determining whether the geographic position of the electronic equipment is outside a first area or a second area, wherein the first area is an area formed by geographic positions, the distance between the geographic positions and the position of a work unit of a user is smaller than a first preset distance, and the distance between the geographic positions and the position of a home of the user is smaller than a second preset distance;
if so, acquiring the moving speed of the electronic equipment, and if the moving speed is less than or equal to a first threshold value, determining that the use scene of the electronic equipment is a first outgoing scene;
if the moving speed is greater than the first threshold and less than or equal to a second threshold, determining that the usage scenario of the electronic device is a second outgoing scenario;
and if the moving speed is greater than a second threshold value, determining that the use scene of the electronic equipment is a third outgoing scene.
7. The method of claim 6, wherein the obtaining the moving speed of the electronic device comprises:
acquiring longitude and latitude coordinates of a period starting time and longitude and latitude coordinates of a period ending time of the position of the electronic equipment through a preset period, and determining a difference value between the longitude and latitude coordinates of the period ending time and the longitude and latitude coordinates of the period starting time of the electronic equipment as a moving distance of a user; and determining the ratio of the moving distance to a preset period as the moving speed.
8. The method according to any of claims 1-7, wherein the first operating state comprises:
the electronic device screen is off and no audio output, or the electronic device screen is locked and no audio output.
9. The method of claim 1, further comprising:
when the electronic equipment is in a second working state and a user needs to be reminded of viewing the electronic equipment, according to the fact that a screen of the electronic equipment is lightened and a recommended reading interface of a screen saver of the electronic equipment is entered, the screen of the electronic equipment is unlocked and an application program installed on the electronic equipment is entered, and the screen is turned off and one of audio outputs determines that a use scene of the electronic equipment is a used scene;
the reminding mode corresponding to the used scene of the electronic equipment is to remind a user to check the electronic equipment through a preset reminding mode.
10. A reminder device, comprising:
the electronic equipment comprises a use scene determining module, a display module and a display module, wherein the use scene determining module is used for determining a use scene of the electronic equipment according to the geographic position of the electronic equipment or the geographic position of the electronic equipment and the current moment under the condition that the electronic equipment is in a first working state and a user needs to be reminded to view the electronic equipment;
the determining module is used for determining a reminding mode corresponding to the using scene;
and the reminding module is used for reminding a user to check the electronic equipment in a reminding mode corresponding to the use scene.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911421117.6A CN113132536A (en) | 2019-12-31 | 2019-12-31 | Reminding method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911421117.6A CN113132536A (en) | 2019-12-31 | 2019-12-31 | Reminding method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113132536A true CN113132536A (en) | 2021-07-16 |
Family
ID=76769553
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911421117.6A Withdrawn CN113132536A (en) | 2019-12-31 | 2019-12-31 | Reminding method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113132536A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801865A (en) * | 2012-08-21 | 2012-11-28 | 东莞宇龙通信科技有限公司 | Incoming call notification system and method for mobile terminal |
CN105657142A (en) * | 2014-12-04 | 2016-06-08 | 中兴通讯股份有限公司 | Incoming call reminding method and device |
CN106095059A (en) * | 2016-06-08 | 2016-11-09 | 维沃移动通信有限公司 | A kind of method reducing mobile terminal power consumption and mobile terminal |
WO2017088403A1 (en) * | 2015-11-26 | 2017-06-01 | 乐视控股(北京)有限公司 | Muting method and terminal device |
CN107395910A (en) * | 2016-09-29 | 2017-11-24 | 维沃移动通信有限公司 | A kind of incoming call notifying method and mobile terminal |
CN107846512A (en) * | 2017-10-31 | 2018-03-27 | 珠海市魅族科技有限公司 | Indicating mode switching method, device, terminal and readable storage medium storing program for executing |
CN110365844A (en) * | 2019-07-19 | 2019-10-22 | 深圳传音控股股份有限公司 | Scene mode switching method and terminal |
-
2019
- 2019-12-31 CN CN201911421117.6A patent/CN113132536A/en not_active Withdrawn
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801865A (en) * | 2012-08-21 | 2012-11-28 | 东莞宇龙通信科技有限公司 | Incoming call notification system and method for mobile terminal |
CN105657142A (en) * | 2014-12-04 | 2016-06-08 | 中兴通讯股份有限公司 | Incoming call reminding method and device |
WO2017088403A1 (en) * | 2015-11-26 | 2017-06-01 | 乐视控股(北京)有限公司 | Muting method and terminal device |
CN106095059A (en) * | 2016-06-08 | 2016-11-09 | 维沃移动通信有限公司 | A kind of method reducing mobile terminal power consumption and mobile terminal |
CN107395910A (en) * | 2016-09-29 | 2017-11-24 | 维沃移动通信有限公司 | A kind of incoming call notifying method and mobile terminal |
CN107846512A (en) * | 2017-10-31 | 2018-03-27 | 珠海市魅族科技有限公司 | Indicating mode switching method, device, terminal and readable storage medium storing program for executing |
CN110365844A (en) * | 2019-07-19 | 2019-10-22 | 深圳传音控股股份有限公司 | Scene mode switching method and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6943671B2 (en) | Generating an alarm based on location and time | |
US8090415B2 (en) | Intelligent battery warning system | |
EP3163524A1 (en) | Method and device for calling taxi | |
US10423379B2 (en) | Method and device for screen-off display | |
US20130326209A1 (en) | Automatic Alert Mode Selection | |
US20110295498A1 (en) | Communications device having a commute time function and methods of use thereof | |
CN103186844B (en) | The control method of message processing device and alarm clock calling | |
KR102092057B1 (en) | Method and apparatus for sharing location information of electronic device | |
CN107452221B (en) | Arrival reminding method and device | |
CN105975241A (en) | Volume regulation method and device | |
US10165404B2 (en) | Method for triggering operation and portable electronic device | |
CN103377205A (en) | Method and device for executing scheduled tasks | |
EP3148122B1 (en) | Communication message processing method and device, computer program and recording medium | |
CN106408258A (en) | Ringtone reminding method and device | |
US20050136904A1 (en) | Usage of cellular phones to announce/notify timings of muslim prayers | |
CN105791542B (en) | Method and device for searching mobile terminal and mobile terminal | |
CN111314561A (en) | Intelligent reminding method, terminal and storage medium | |
CN107864279A (en) | Indicating mode switching method, device, computer installation and computer-readable recording medium | |
US8897811B2 (en) | Systems and methods for aggregating missed call data and adjusting telephone settings | |
CN113132536A (en) | Reminding method and device | |
CN106464760B (en) | Clock adding method and device | |
CN112689975B (en) | Message reminding method, message reminding device and mobile terminal | |
CN105101077B (en) | The method and device of jingle bell setting | |
CN103900601A (en) | Event reminding method and device based on navigation map | |
CN111698367A (en) | Method and device for terminal silent alarm, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20210716 |
|
WW01 | Invention patent application withdrawn after publication |