CN107770386B - Alarm clock setting method, mobile terminal and computer readable storage medium - Google Patents
Alarm clock setting method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN107770386B CN107770386B CN201711047146.1A CN201711047146A CN107770386B CN 107770386 B CN107770386 B CN 107770386B CN 201711047146 A CN201711047146 A CN 201711047146A CN 107770386 B CN107770386 B CN 107770386B
- Authority
- CN
- China
- Prior art keywords
- alarm clock
- reminding alarm
- reminding
- user
- mobile terminal
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000012545 processing Methods 0.000 claims description 35
- 238000004590 computer program Methods 0.000 claims description 13
- 230000006870 function Effects 0.000 description 14
- 238000007726 management method Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 238000005070 sampling Methods 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses an alarm clock setting method, a mobile terminal and a computer readable storage medium, wherein the method comprises the following steps: when detecting that a user sets a first single-time reminding alarm clock, acquiring historical use information of the user on the previously set single-time reminding alarm clock; and determining whether to delete the first single reminding alarm clock after reminding according to the first single reminding alarm clock according to the historical use information. According to the method and the device, the set single reminding alarm clock is managed according to the historical use information of the user on the previously set single reminding alarm clock, so that the situation that too many single reminding alarm clocks are reserved in the alarm clock setting list can be avoided, the manual operation of the user is reduced, and the intelligent degree of the mobile terminal is improved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an alarm clock setting method, a mobile terminal, and a computer-readable storage medium.
Background
With the rapid development of mobile terminals, the application functions of the mobile terminals are increasing, and the mobile terminals provide much convenience for life and become an indispensable part of life gradually. The alarm clock reminding function becomes a basic function of the mobile terminal, and a user can be reminded to learn, work or process important matters and the like by setting the alarm clock. Generally, the user can set a repeat reminder alarm and a single reminder alarm, for example: setting the alarm clock reminding of 8:00 of each morning on a working day (Monday to Friday), namely a repeated reminding alarm clock; and setting 8:00 of a certain morning for alarm clock reminding, and after the alarm clock rings for reminding, the corresponding alarm clock does not ring for reminding at the same time of the next day, namely the alarm clock with single reminding.
At present, when a user reminds a to-be-processed transaction by setting a single reminding alarm clock, a single reminding alarm clock is often newly built. Therefore, more and more alarm clocks are set in the alarm clock setting list, and when the alarm clocks set in the alarm clock setting list need to be edited or deleted, the problem of inconvenience in searching exists, frequent manual operation is needed for a user, and management of the set alarm clocks is not facilitated.
Disclosure of Invention
The invention provides an alarm clock setting method, a mobile terminal and a computer readable storage medium, which aim to solve the problem that an alarm clock setting mode in the prior art is not beneficial to the management of a set alarm clock.
In a first aspect, an embodiment of the present invention provides an alarm clock setting method, which is applied to a mobile terminal, where the method includes:
when detecting that a user sets a first single-time reminding alarm clock, acquiring historical use information of the user on the previously set single-time reminding alarm clock;
and determining whether to delete the first single reminding alarm clock after reminding according to the first single reminding alarm clock according to the historical use information.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes:
the acquisition module is used for acquiring historical use information of a user for a previously set single-time reminding alarm clock when detecting that the user sets the first single-time reminding alarm clock;
and the first processing module is used for determining whether to delete the first single reminding alarm clock after reminding according to the first single reminding alarm clock according to the historical use information.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the steps of the alarm clock setting method described above.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the alarm clock setting method described above.
According to the embodiment of the invention, the set single reminding alarm clock is managed according to the historical use information of the user on the previously set single reminding alarm clock, so that the situation that too many single reminding alarm clocks are reserved in the alarm clock setting list can be avoided, the manual operation of the user is reduced, and the intelligent degree of the mobile terminal is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 shows one of the flow charts of an alarm clock setting method of an embodiment of the invention;
FIG. 2 is a schematic diagram of an alarm clock editing interface according to an embodiment of the invention;
FIG. 3 is a second flowchart of an alarm clock setting method according to an embodiment of the invention;
FIG. 4 shows one of the block diagrams of a mobile terminal of an embodiment of the invention;
fig. 5 shows a second block diagram of a mobile terminal according to an embodiment of the invention;
fig. 6 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, an embodiment of the present invention provides an alarm clock setting method, which is applied to a mobile terminal, where the method includes:
and step 11, when detecting that the user sets the first single reminding alarm clock, acquiring historical use information of the user on the previously set single reminding alarm clock.
Specifically, the step of obtaining the historical use information of the user for the previously set single reminding alarm clock comprises the following steps:
when detecting that a user sets a first single reminding alarm clock, acquiring the pre-counted set times of setting the single reminding alarm clock.
In this embodiment, whenever detecting when setting up the single warning alarm clock, detect the setting mode that the single of setting reminded the alarm clock, wherein the setting mode includes: the method comprises the steps of setting a single reminding alarm clock in a new alarm clock mode and setting the single reminding alarm clock in a set alarm clock editing mode. The preset times for setting the single reminding alarm clock are the sum of the newly-built times for setting the single reminding alarm clock in a newly-built alarm clock mode and the editing times for setting the single reminding alarm clock in an editing set alarm clock mode.
When the set times are counted, if the set single reminding alarm clock is set in a new alarm clock mode, adding 1 to the counted new times; and if the set single reminding alarm clock is set in a mode of editing the set alarm clock, adding 1 to the counted numerical value of the editing times. And obtaining the setting times of the single-time reminding alarm clock according to the sum of the newly-built times and the editing times.
And determining historical use information of the user for the previously set single-time reminding alarm clock according to the set times. In the embodiment, according to the setting times, the historical use information of the alarm clock set for a single time in advance by the user is determined, namely the setting habit of the user for setting the alarm clock is determined.
The historical use information is a first ratio of the new times to the set times or a second ratio of the editing times to the set times. For example: and if the first ratio is smaller than the first preset value, determining that the setting habit of the user is a preference editing alarm clock. And if the second ratio is smaller than the second preset ratio, determining that the setting habit of the user is to prefer to newly build the alarm clock.
And step 12, determining whether to delete the first single reminding alarm clock after reminding according to the first single reminding alarm clock according to the historical use information.
Specifically, if the setting habit of the user is determined to be the preference editing alarm clock according to the historical use information, after the first single reminding alarm clock rings to remind, the setting of the first single reminding alarm clock is reserved so that the user can set the single reminding alarm clock again, and the editing operation is convenient.
If the setting habit of the user is determined to be a preference for newly building the alarm clock according to the historical use information, the setting of the first single reminding alarm clock is deleted after the first single reminding alarm clock rings to remind, so that the situation that the number of the set single reminding alarm clocks in the alarm clock setting list is too large, and the alarm clock setting management is influenced is avoided.
According to the scheme, when the fact that the user sets the first single-time reminding alarm clock is detected, historical use information of the user for the previously set single-time reminding alarm clock is obtained; and according to historical use information, whether the first single reminding alarm clock is deleted after the alarm clock is reminded according to the first single reminding alarm clock is determined, so that the single reminding alarm clock is managed, and the influence on user operation caused by the fact that the number of the set single reminding alarm clocks in an alarm clock setting list is too large is avoided. Wherein, in the step 11: before obtaining the pre-counted setting times for setting the single reminding alarm clock, the method further comprises the following steps:
when detecting that a user sets a first single reminding alarm clock, judging whether the first single reminding alarm clock is a single reminding alarm clock set in a new alarm clock mode.
And if the alarm clock is reminded in a single time set in the newly-built alarm clock mode, executing the step 11, and obtaining the preset times for setting the single-time reminding alarm clock counted in advance.
And if the alarm clock is not the single-time reminding alarm clock set in the newly-built alarm clock mode, adding 1 to the counted numerical value of the editing times, and keeping the first single-time reminding alarm clock after the first single-time reminding alarm clock rings to remind.
In the embodiment, when the first single reminding alarm clock is detected to be set, the first single reminding alarm clock is determined to be directly reserved when the first single reminding alarm clock is set in a mode of newly building the alarm clock or in a mode of editing the set alarm clock by judging whether the first single reminding alarm clock is set in a mode of editing the set alarm clock, so that on one hand, the setting of the single reminding alarm clock by a user is facilitated, and the operation of the user is facilitated; on the other hand, the processing process of the mobile terminal can be shortened, and the processing efficiency of the mobile terminal is improved.
Wherein, in the step 12: according to the historical use information, whether the first single reminding alarm clock is deleted after the first single reminding alarm clock is reminded is determined, and the method further comprises the following steps:
and judging whether the set times are larger than a preset value or not.
And if the set times is greater than the preset value, executing the step 12, and determining whether to delete the first single reminding alarm clock after reminding according to the first single reminding alarm clock according to the historical use information.
And if the set times is less than or equal to the preset value, adding 1 to the counted value of the new times, and reserving the first single reminding alarm clock after the first single reminding alarm clock rings for reminding.
In this embodiment, if the setting times is less than or equal to the preset value, it is determined that the setting times for the user to set the single reminding alarm clock is small, that is, the number of the single reminding alarm clocks set in the alarm clock setting list is small, and the management influence on the alarm clock setting is small. In order to avoid processing errors caused by small sampling data (set times), adding 1 to the counted numerical value of the new times, and reserving the first single reminding alarm clock after the first single reminding alarm clock rings to remind.
Specifically, as an implementation manner, if the historical usage information is the first ratio, the step 12: according to the historical use information, whether the first single reminding alarm clock is deleted after the first single reminding alarm clock is reminded is determined, and the method specifically comprises the following steps:
and when the historical use information is the first ratio, determining a preset interval range in which the first ratio is located.
If the first ratio is within the preset interval range smaller than the first preset ratio threshold, determining that the setting habit of the user is a preference editing alarm clock, adding 1 to the counted numerical value of the editing times, keeping the first single reminding alarm clock after the first single reminding alarm clock reminds, ensuring that the setting of the single reminding alarm clock is carried out again, and facilitating the operation of the user.
And if the first ratio is in a preset interval range larger than a second preset ratio threshold, determining that the setting habit of the user is to prefer to newly build the alarm clock, adding 1 to the counted numerical value of the newly-built times, and deleting the first single reminding alarm clock after the first single reminding alarm clock reminds to avoid the influence on the management of the alarm clock setting due to the fact that the number of the set single reminding alarm clocks in the alarm clock setting list is too large. The first preset proportion threshold value is smaller than the second preset proportion threshold value.
If the first ratio is larger than or equal to a first preset ratio threshold and smaller than or equal to a preset interval range of a second preset ratio threshold, determining that the setting habit of the user is fuzzy, prompting the user whether to delete the first single reminding alarm clock after the first single reminding alarm clock reminds, so that the user can select whether to delete the first single reminding alarm clock, processing errors are avoided, and the processing precision of the mobile terminal is further ensured.
As another implementation manner, if the historical usage information is the second ratio, step 12 above: according to the historical use information, whether the first single reminding alarm clock is deleted after the first single reminding alarm clock is reminded is determined, and the method specifically comprises the following steps:
and when the historical use information is the second ratio, determining a preset interval range in which the second ratio is located.
If the second ratio is within the preset interval range larger than the third preset proportion threshold value, determining that the setting habit of the user is a preference editing alarm clock, adding 1 to the counted numerical value of the editing times, keeping the first single reminding alarm clock after the first single reminding alarm clock reminds, ensuring that the setting of the single reminding alarm clock is carried out again, and facilitating the operation of the user.
And if the second ratio is smaller than a fourth preset proportion threshold, determining that the setting habit of the user is a preference for newly building the alarm clock, adding 1 to the counted numerical value of the newly-built times, and deleting the first single reminding alarm clock after the first single reminding alarm clock reminds the alarm clock to avoid the influence on the management of the alarm clock setting due to the fact that the number of the set single reminding alarm clocks in the alarm clock setting list is too large. And the third preset proportion threshold is larger than the fourth preset proportion threshold.
If the second ratio is smaller than or equal to a third preset proportion threshold value and larger than or equal to a preset interval range of a fourth preset proportion threshold value, determining that the setting habit of the user is fuzzy, prompting the user whether to delete the first single reminding alarm clock after the first single reminding alarm clock reminds, so that the user can select whether to delete the first single reminding alarm clock, processing errors are avoided, and the processing precision of the mobile terminal is further ensured.
Specifically, after the step of deleting the first single reminding alarm clock after prompting whether the first single reminding alarm clock carries out reminding or not, the method further includes:
and if a first trigger instruction which is input by a user and used for deleting the first single reminding alarm clock is obtained, adding 1 to the counted numerical value of the new times, and deleting the first single reminding alarm clock after the first single reminding alarm clock rings for reminding.
And if a second trigger instruction which is input by the user and used for reserving the first single reminding alarm clock is obtained, adding 1 to the counted numerical value of the editing times, and reserving the first single reminding alarm clock after the first single reminding alarm clock rings for reminding.
As an implementation mode, the prompt can be realized by deleting the prompt information of the first single reminding alarm clock in a mode of displaying in a prompt box after whether the first single reminding alarm clock rings for reminding or not. For example: the prompt box comprises: whether the prompt message of the first single reminding alarm clock is deleted, and a delete button and a reserve button. Deleting the first single-time reminding alarm clock when a first trigger operation that a user operates in an area where a deleting button is located is acquired; and reserving the first single-time reminding alarm clock when a second trigger operation of the user in the area where the reservation button is located is acquired.
As another implementation manner, referring to fig. 2, a switch button for deleting after ringing may be further set in an editing interface of the alarm clock, so that a user sets whether to delete the first single-time reminder alarm clock after the first single-time reminder alarm clock rings for reminding.
In the embodiment, when the setting habit of the user is determined to be fuzzy according to the proportion of the new times to the setting times, whether the first single reminding alarm clock is deleted after the first single reminding alarm clock rings to remind is prompted, so that the user can select whether the first single reminding alarm clock is deleted, processing errors are avoided, and the processing precision of the mobile terminal is further ensured.
Fig. 3 is a flowchart of an alarm clock setting method according to another embodiment of the present invention. The method comprises the steps of setting the setting times m + n of the single reminding alarm clock in advance, and setting the sum of the new times m of the single reminding alarm clock in a new alarm clock mode and the editing times n of the single reminding alarm clock in an editing set alarm clock mode. Referring to fig. 3, a method for setting an alarm clock according to another embodiment of the present invention includes:
Specifically, if the first alarm clock is the first single-time reminding alarm clock, step 302 is executed; otherwise, the flow ends.
Specifically, if the first single-time reminding alarm clock is not set in the new alarm clock mode, that is, the first single-time reminding alarm clock is set in the mode of editing the set alarm clock, step 303 is executed. If the first single-time reminding alarm clock is set in the new alarm clock mode, step 305 is executed.
And step 304, after the first single reminding alarm clock rings for reminding, reserving the first single reminding alarm clock.
And 305, if the first single reminding alarm clock is set in a new alarm clock mode, acquiring the preset times of setting the single reminding alarm clock counted in advance.
And 307, adding 1 to the numerical value of the new establishment times, namely the new establishment times are m + 1.
Specifically, after step 307 is executed, step 304 is executed.
And step 310, adding 1 to the numerical value of the new establishment times, namely the new establishment times are m + 1.
And 311, deleting the first single reminding alarm clock after the first single reminding alarm clock rings for reminding.
And 313, prompting whether the first single reminding alarm clock is deleted after the first single reminding alarm clock rings for reminding.
And step 314, detecting whether a trigger instruction for deleting the first single-time reminding alarm clock input by the user is acquired.
Specifically, if the information is acquired, step 310 is executed; otherwise, step 315 is performed.
And step 315, adding 1 to the numerical value of the new construction times, namely the new construction times are m + 1.
After step 315 is performed, step 304 is performed.
In the above scheme, when the alarm clock is reminded by setting the first single time is detected, if the alarm clock is reminded by judging the first single time and is set in a new alarm clock mode, the set times of the alarm clock is reminded by setting the single time, which is counted in advance, is acquired. If the first single-time reminding alarm clock is judged to be set by editing the set alarm clock, the first single-time reminding alarm clock is directly reserved, so that the user can set the single-time reminding alarm clock again, and the operation of the user is facilitated; on the other hand, the processing process of the mobile terminal can be shortened, and the processing efficiency of the mobile terminal is improved.
If the set times is smaller than or equal to the preset numerical value, determining that the set times for setting the single reminding alarm clock by the user is smaller, namely the number of the single reminding alarm clocks set in the alarm clock setting list is smaller, and the management influence on the alarm clock setting is smaller. In order to avoid processing errors caused by small sampling data (set times), adding 1 to the counted numerical value of the new times, and reserving the first single reminding alarm clock after the first single reminding alarm clock rings to remind.
And if the setting times are larger than the preset numerical value, determining the setting habit of the user for setting the alarm clock according to the ratio of the newly-built times to the setting times. When the proportion of the new times to the set times is smaller than a second preset proportion threshold value, namely the setting habit of the user is determined to be preference editing setting, the first single reminding alarm clock is reserved after ringing reminding, so that the user can conveniently edit and operate when the user sets the single reminding alarm clock again. When the ratio of the new times to the set times is larger than a second preset ratio threshold, namely the setting habit of the user is determined to be the preference new setting, the alarm clock is reminded at the first single time, and then the alarm clock is reminded of ringing, and the alarm clock is reminded by deleting the first single time, so that the situation that the number of the set single time reminding alarm clocks in the alarm clock setting list is too large, and the alarm clock setting management is influenced is avoided. When the ratio of the newly-built times to the set times is smaller than or equal to a second preset ratio threshold and is larger than or equal to a first preset ratio threshold, namely the ratio of the newly-built times to the set times is within a preset ratio range, it is determined that the setting habit of the user is fuzzy in preference, whether the alarm clock is reminded to ring at the first time or not is prompted, the alarm clock is reminded to delete the first time, so that the user can select whether the alarm clock is reminded to delete the first time or not, processing errors are avoided, and the processing precision of the mobile terminal is guaranteed.
Referring to fig. 4 and 5, an embodiment of the present invention further provides a mobile terminal 400, including:
the obtaining module 410 is configured to, when it is detected that the user sets the first single reminding alarm clock, obtain historical usage information of the user on a previously set single reminding alarm clock.
The first processing module 420 is configured to determine whether to delete the first single reminding alarm clock after reminding according to the first single reminding alarm clock according to the historical usage information.
Wherein the obtaining module 410 comprises:
an obtaining unit 4101, configured to, when it is detected that a user sets a first single-time reminding alarm clock, obtain a preset number of times of setting the single-time reminding alarm clock, where the preset number of times is a sum of a new number of times of setting the single-time reminding alarm clock by newly building the alarm clock and an edit number of times of setting the single-time reminding alarm clock by editing the set alarm clock.
A processing unit 4102, configured to determine, according to the set times, historical usage information of a user on a previously set single-time reminder alarm clock, where the historical usage information is a first ratio of the newly set times to the set times or a second ratio of the editing times to the set times.
Wherein the mobile terminal 400 further comprises:
the first judging module 430 is configured to, when it is detected that the user sets a first single-time reminding alarm clock, judge whether the first single-time reminding alarm clock is a single-time reminding alarm clock set in a newly-built alarm clock manner.
And a second processing module 440, configured to, if the single-time reminding alarm clock is set in a newly-built alarm clock manner, execute the step of obtaining the pre-counted setting times for setting the single-time reminding alarm clock.
And a third processing module 450, configured to, if the single-time reminding alarm clock is not set in a newly-built alarm clock manner, reserve the first single-time reminding alarm clock after the first single-time reminding alarm clock reminds.
Wherein the mobile terminal 400 further comprises:
a second determining module 460, configured to determine whether the set number is greater than a preset number.
A fourth processing module 470, configured to execute, if the set number of times is greater than the preset value, a step of determining whether to delete the first single-time reminder alarm clock after reminding according to the first single-time reminder alarm clock according to the historical usage information.
A fifth processing module 480, configured to, if the set number of times is less than or equal to the preset value, reserve the first single reminding alarm clock after the first single reminding alarm clock reminds.
Wherein the first processing module 420 comprises:
a first determining unit 4201, configured to determine, when the historical usage information is the first ratio, a preset interval range where the first ratio is located.
The first saving unit 4202 is configured to, if the first ratio is within a preset interval range smaller than a first preset ratio threshold, reserve the first single reminding alarm clock after the first single reminding alarm clock reminds.
A first deleting unit 4203, configured to delete the first single reminding alarm clock after the first single reminding alarm clock reminds if the first ratio is within a preset interval range larger than a second preset ratio threshold.
A first prompting unit 4204, configured to prompt whether to delete the first single reminding alarm clock after the first single reminding alarm clock reminds if the first ratio is within a preset interval range that is greater than or equal to the first preset ratio threshold and less than or equal to the second preset ratio threshold.
Wherein the first preset proportion threshold is smaller than the second preset proportion threshold.
Wherein the first processing module 420 comprises:
a second determining unit 4205, configured to determine, when the historical usage information is the second ratio, a preset interval range in which the second ratio is located.
A second saving unit 4206, configured to, if the second ratio is within a preset interval range larger than a third preset ratio threshold, reserve the first single reminding alarm clock after the first single reminding alarm clock reminds.
A second deleting unit 4207, configured to delete the first single reminding alarm clock after the first single reminding alarm clock reminds if the second ratio is within a preset interval range smaller than a fourth preset ratio threshold.
A second prompting unit 4208, configured to prompt whether to delete the first single reminding alarm clock after the first single reminding alarm clock reminds if the second ratio is within a preset interval range that is smaller than or equal to the third preset ratio threshold and larger than or equal to the fourth preset ratio threshold.
Wherein the third preset proportion threshold is greater than the fourth preset proportion threshold.
Wherein the first processing module 420 further comprises:
a third deleting unit 4209, configured to delete the first single reminder alarm clock after the first single reminder alarm clock rings for reminder if a first trigger instruction for deleting the first single reminder alarm clock input by a user is obtained;
a third saving unit 4210, configured to, if a second trigger instruction for reserving the first single reminding alarm clock input by the user is obtained, reserve the first single reminding alarm clock after the first single reminding alarm clock rings for reminding.
The mobile terminal provided by the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 and fig. 3, and is not described herein again to avoid repetition.
Fig. 6 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 610 is configured to, when it is detected that the user sets the first single-time reminding alarm clock, obtain historical use information of the user for a previously set single-time reminding alarm clock; and determining whether to delete the first single reminding alarm clock after reminding according to the first single reminding alarm clock according to the historical use information.
In the scheme, the mobile terminal 600 acquires the historical use information of the user for the previously set single-time reminding alarm clock when detecting that the user sets the first single-time reminding alarm clock; and according to historical use information, whether the first single reminding alarm clock is deleted after the alarm clock is reminded according to the first single reminding alarm clock is determined, so that the single reminding alarm clock is managed, and the influence on user operation caused by the fact that the number of the set single reminding alarm clocks in an alarm clock setting list is too large is avoided.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 602, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the mobile terminal 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The mobile terminal 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the mobile terminal 600 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 608 is an interface through which an external device is connected to the mobile terminal 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 600 or may be used to transmit data between the mobile terminal 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 609 and calling data stored in the memory 609, thereby integrally monitoring the mobile terminal. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The mobile terminal 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 is logically connected to the processor 610 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program is executed by the processor 610 to implement each process of the above-mentioned alarm clock setting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned alarm clock setting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, 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 like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (8)
1. An alarm clock setting method is applied to a mobile terminal, and is characterized by comprising the following steps:
when detecting that a user sets a first single-time reminding alarm clock, acquiring historical use information of the user on the previously set single-time reminding alarm clock;
determining whether to delete the first single reminding alarm clock after reminding according to the first single reminding alarm clock according to the historical use information;
when detecting that the user sets the first single reminding alarm clock, the step of obtaining the historical use information of the user for the previously set single reminding alarm clock comprises the following steps:
when detecting that a user sets a first single-time reminding alarm clock, acquiring the pre-counted setting times of the single-time reminding alarm clock, wherein the setting times are the sum of the newly-built times of the single-time reminding alarm clock set in a newly-built alarm clock mode and the editing times of the single-time reminding alarm clock set in a set alarm clock editing mode;
and determining historical use information of the user for a previously set single-time reminding alarm clock according to the set times, wherein the historical use information is a first ratio of the newly set times to the set times or a second ratio of the editing times to the set times.
2. The alarm clock setting method according to claim 1, wherein before the step of obtaining a pre-counted number of times of setting a single reminder alarm clock, the method further comprises:
when a first single-time reminding alarm clock set by a user is detected, judging whether the first single-time reminding alarm clock is a single-time reminding alarm clock set in a newly-built alarm clock mode;
if the single-time reminding alarm clock is set in the newly-built alarm clock mode, executing the step of obtaining the pre-counted setting times of the single-time reminding alarm clock;
if the single reminding alarm clock is not set in the newly-built alarm clock mode, the first single reminding alarm clock is reserved after the first single reminding alarm clock reminds.
3. The method for setting an alarm clock according to claim 1, wherein before the step of determining whether to delete the first single-time reminding alarm clock after reminding according to the first single-time reminding alarm clock according to the historical usage information, the method further comprises:
judging whether the set times are larger than a preset value or not;
if the set times is larger than the preset value, executing a step of determining whether to delete the first single-time reminding alarm clock after reminding according to the first single-time reminding alarm clock according to the historical use information;
if the set times is smaller than or equal to the preset value, the first single reminding alarm clock is reserved after the first single reminding alarm clock reminds.
4. A mobile terminal, characterized in that the mobile terminal comprises:
the acquisition module is used for acquiring historical use information of a user for a previously set single-time reminding alarm clock when detecting that the user sets the first single-time reminding alarm clock;
the first processing module is used for determining whether to delete the first single reminding alarm clock after reminding according to the first single reminding alarm clock according to the historical use information;
the acquisition module includes:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the pre-counted set times of the set single-time reminding alarm clock when detecting that a user sets a first single-time reminding alarm clock, and the set times are the sum of the newly-built times of the single-time reminding alarm clock set in a newly-built alarm clock mode and the editing times of the single-time reminding alarm clock set in a set alarm clock editing mode;
and the processing unit is used for determining historical use information of a user for a previously set single-time reminding alarm clock according to the set times, wherein the historical use information is a first ratio of the newly set times to the set times or a second ratio of the editing times to the set times.
5. The mobile terminal of claim 4, wherein the mobile terminal further comprises:
the first judging module is used for judging whether the first single-time reminding alarm clock is a single-time reminding alarm clock set in a newly-built alarm clock mode or not when the fact that the user sets the first single-time reminding alarm clock is detected;
the second processing module is used for executing the step of acquiring the pre-counted setting times of the single reminding alarm clock if the single reminding alarm clock is set in a new alarm clock mode;
and the third processing module is used for reserving the first single reminding alarm clock after the first single reminding alarm clock reminds if the first single reminding alarm clock is not set in a newly-built alarm clock mode.
6. The mobile terminal of claim 4, wherein the mobile terminal further comprises:
the second judgment module is used for judging whether the set times are greater than a preset value or not;
the fourth processing module is used for executing the step of determining whether to delete the first single reminding alarm clock after reminding according to the first single reminding alarm clock according to the historical use information if the set times are larger than the preset numerical value;
and the fifth processing module is used for reserving the first single reminding alarm clock after the first single reminding alarm clock reminds if the set times is less than or equal to the preset value.
7. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the alarm clock setting method according to any of claims 1 to 3.
8. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, realizes the steps of the alarm clock setting method according to any of the claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711047146.1A CN107770386B (en) | 2017-10-31 | 2017-10-31 | Alarm clock setting method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711047146.1A CN107770386B (en) | 2017-10-31 | 2017-10-31 | Alarm clock setting method, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107770386A CN107770386A (en) | 2018-03-06 |
CN107770386B true CN107770386B (en) | 2020-02-18 |
Family
ID=61270255
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711047146.1A Active CN107770386B (en) | 2017-10-31 | 2017-10-31 | Alarm clock setting method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107770386B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109117046A (en) * | 2018-08-28 | 2019-01-01 | 维沃移动通信有限公司 | A kind of alarm clock setting method, terminal and computer readable storage medium |
CN117573172B (en) * | 2024-01-15 | 2024-04-12 | 天津异乡好居网络科技股份有限公司 | Client updating method, device, equipment and medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030052984A (en) * | 2001-12-21 | 2003-06-27 | 삼성전자주식회사 | Schedule managing method in mobile communication terminal |
CN106155539A (en) * | 2015-03-27 | 2016-11-23 | 阿里巴巴集团控股有限公司 | For the alarm clock setting method of smart machine, device and electronic equipment |
CN104821987A (en) * | 2015-04-16 | 2015-08-05 | 小米科技有限责任公司 | Alarm clock-based reminding method and device |
CN106210317A (en) * | 2016-07-12 | 2016-12-07 | 佛山杰致信息科技有限公司 | A kind of ring of alarm clock Play System |
CN106921794B (en) * | 2017-02-09 | 2020-08-14 | 歌尔股份有限公司 | Method and device for realizing alarm clock on intelligent equipment |
-
2017
- 2017-10-31 CN CN201711047146.1A patent/CN107770386B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107770386A (en) | 2018-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109343759B (en) | Screen-turning display control method and terminal | |
CN108174044B (en) | Alarm clock setting method and mobile terminal | |
CN108135033B (en) | Bluetooth connection method and mobile terminal | |
CN108174103B (en) | Shooting prompting method and mobile terminal | |
CN108391008B (en) | Message reminding method and mobile terminal | |
CN111130989B (en) | Information display and sending method and electronic equipment | |
CN109343788B (en) | Operation control method of mobile terminal and mobile terminal | |
CN107888765B (en) | Method for switching scene mode and mobile terminal | |
CN108984066B (en) | Application icon display method and mobile terminal | |
CN107734170B (en) | Notification message processing method, mobile terminal and wearable device | |
CN109451158B (en) | Reminding method and device | |
CN108388335B (en) | Method for controlling mobile terminal and mobile terminal | |
CN110096203B (en) | Screenshot method and mobile terminal | |
CN111324268A (en) | Information reminding method and electronic equipment | |
CN107832067B (en) | Application updating method, mobile terminal and computer readable storage medium | |
CN111026305A (en) | Audio processing method and electronic equipment | |
CN108494962B (en) | Alarm clock control method and terminal | |
CN108536349B (en) | Icon management method and mobile terminal | |
CN108196781B (en) | Interface display method and mobile terminal | |
CN107770386B (en) | Alarm clock setting method, mobile terminal and computer readable storage medium | |
CN111221602A (en) | Interface display method and electronic equipment | |
CN108228357B (en) | Memory cleaning method and mobile terminal | |
CN108366167B (en) | Message reminding method and mobile terminal | |
CN111596986B (en) | Information prompting method and electronic equipment | |
CN109660657B (en) | Application program control method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |