CN109302535B - Mobile terminal multi-alarm-clock processing method, mobile terminal and storage medium - Google Patents

Mobile terminal multi-alarm-clock processing method, mobile terminal and storage medium Download PDF

Info

Publication number
CN109302535B
CN109302535B CN201811389632.6A CN201811389632A CN109302535B CN 109302535 B CN109302535 B CN 109302535B CN 201811389632 A CN201811389632 A CN 201811389632A CN 109302535 B CN109302535 B CN 109302535B
Authority
CN
China
Prior art keywords
alarm clock
virtual
time
alarm
real
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
Application number
CN201811389632.6A
Other languages
Chinese (zh)
Other versions
CN109302535A (en
Inventor
俞斌
杨维琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Huaxi Investment Co ltd
Original Assignee
TCL Mobile Communication Technology Ningbo Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by TCL Mobile Communication Technology Ningbo Ltd filed Critical TCL Mobile Communication Technology Ningbo Ltd
Priority to CN201811389632.6A priority Critical patent/CN109302535B/en
Publication of CN109302535A publication Critical patent/CN109302535A/en
Application granted granted Critical
Publication of CN109302535B publication Critical patent/CN109302535B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User 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

Abstract

The invention discloses a mobile terminal multi-alarm-clock processing method, a mobile terminal and a storage medium.A plurality of virtual alarm clocks are sequenced and numbered according to the alarm clock time, and the adjacent virtual alarm clocks are screened out according to the time difference between two adjacent virtual alarm clocks and the comparison of the first time difference and the second time difference twice, and are set as real alarm clocks.

Description

Mobile terminal multi-alarm-clock processing method, mobile terminal and storage medium
Technical Field
The invention relates to the field of mobile terminals, in particular to a mobile terminal multi-alarm-clock processing method, a mobile terminal and a storage medium.
Background
With the development of science and technology, mobile terminals have become indispensable communication tools for people's life.
The alarm clock is one of the most common functions of the mobile terminal, and is used for sending a prompt to a user when the time point arrives according to the time point preset by the user. In the prior art, a plurality of alarm clocks are often set to manage multiple transactions to prompt a user. However, when the set multiple alarm clocks are close to the current alarm clock time, for example, the difference between two alarm clocks set back and forth is 60 seconds, one alarm clock will ring when the time arrives, once the user does not process the alarm clock with the ring, the alarm clock will ring all the time (generally continuously ring for 60 seconds), at this time, the alarm clock system of the mobile terminal is in a non-working state, and the other alarm clock with the difference of 60 seconds from the ring alarm clock cannot ring, so that the alarm clock is missed, the set resources are wasted, and all the set alarm clocks cannot be monitored while the resources are occupied.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a mobile terminal multi-alarm-clock processing method, a mobile terminal and a storage medium, aiming at converting an alarm clock with a small alarm clock time difference into a real alarm clock and starting an alarm clock function when the set multiple alarm clocks are very close to the current alarm clock time, so as to prevent the alarm clock which is not processed by a user to ring from being unable to execute the alarm clock function, thereby saving resources, monitoring and managing all alarm clocks, and facilitating the user.
The technical scheme adopted by the invention for solving the technical problem is as follows:
the invention provides a mobile terminal multi-alarm-clock processing method, which comprises the following steps:
acquiring the set virtual alarm clock time of all virtual alarm clocks, and sequencing and numbering all the virtual alarm clocks according to the virtual alarm clock time; the virtual alarm clock is an alarm clock which has not reached the alarm clock time and does not execute the alarm clock function;
calculating a first time difference between each current virtual alarm clock and a previous virtual alarm clock, and storing the first time difference in an alarm clock timetable according to a preset format;
when the first time difference is smaller than or equal to a first preset threshold, converting the corresponding current virtual alarm clock into a real alarm clock, and setting the real alarm clock time of the real alarm clock as the corresponding virtual alarm clock time; the real alarm clock is an alarm clock which automatically executes the alarm clock function when the current time reaches the real alarm clock time;
acquiring all real alarm clock time converted into real alarm clocks, converting the current real alarm clock into a virtual alarm clock when a second time difference between the current real alarm clock and a previous real alarm clock is greater than a second preset threshold, and updating an alarm clock time table;
and acquiring the current time and the alarm clock time of the updated alarm clock time table, starting timing, converting the virtual alarm clock corresponding to the virtual alarm clock time into a real alarm clock when the current time reaches the virtual alarm clock time, and automatically starting the real alarm clock to execute the alarm clock function.
According to the mobile terminal multi-alarm-clock processing method, when the current time reaches the real alarm clock time, the real alarm clock is started immediately, and the alarm clock function is executed.
According to the multi-alarm-clock processing method for the mobile terminal, when the first time difference is larger than a first preset threshold, the virtual alarm clock is kept unchanged and is not modified.
According to the mobile terminal multi-alarm-clock processing method, when the second time difference between the current real alarm clock and the previous real alarm clock is smaller than or equal to the second preset threshold, the real alarm clock is kept unchanged without modification.
The mobile terminal multi-alarm-clock processing method comprises the following steps of obtaining set virtual alarm clock time of all virtual alarm clocks, and sequencing and numbering all the virtual alarm clocks according to the virtual alarm clock time:
acquiring the set virtual alarm clock time of all the virtual alarm clocks;
sequencing all the virtual alarm clocks according to the sequence of the virtual alarm clock time from small to large, and respectively numbering, wherein the serial number uniquely identifies the virtual alarm clock;
and storing the time table to an alarm clock.
The mobile terminal multi-alarm-clock processing method comprises the steps of obtaining virtual alarm clock time of a newly added virtual alarm clock when detecting that the newly added virtual alarm clock is added, comparing the virtual alarm clock time of the newly added virtual alarm clock with current time, and storing the virtual alarm clock time in the updated alarm clock time table according to a preset format if the virtual alarm clock time is earlier than the current time.
The mobile terminal multi-alarm-clock processing method comprises the steps that when a virtual alarm clock is detected to be deleted, the serial number of the deleted virtual alarm clock is obtained, and the updated alarm clock time table corresponding to the line information is automatically deleted according to the serial number.
The mobile terminal multi-alarm-clock processing method is characterized in that the first preset threshold value is 60 seconds; the second preset threshold value is 1000 seconds.
The invention also provides a mobile terminal, which comprises a processor and a memory connected with the processor, wherein the memory stores a mobile terminal multi-alarm-clock processing program, and the mobile terminal multi-alarm-clock processing program is used by the processor to realize the steps of the mobile terminal multi-alarm-clock processing method.
The invention also provides a storage medium, wherein the storage medium stores the mobile terminal multi-alarm-clock processing program, and the mobile terminal multi-alarm-clock processing program is used for realizing the mobile terminal multi-alarm-clock processing method when being executed by the processor.
The mobile terminal multi-alarm-clock processing method, the mobile terminal and the storage medium provided by the invention have the beneficial effects that:
according to the invention, through controlling the first time difference and the second time difference between the adjacent alarm clocks, the virtual alarm clock with too short time difference for starting the alarm function is screened out and converted into the real alarm clock, so that the alarm function is realized, and therefore, the problem that one alarm clock rings and the other alarm clock cannot ring when the alarm times of the two adjacent alarm clocks are very close in the prior art is solved, the optimal utilization of resources is realized, all the set virtual alarm clocks are monitored and managed while resources are saved and energy consumption is reduced, and convenience is provided for users.
Drawings
Fig. 1 is a flowchart of a multi-alarm-clock processing method of a mobile terminal according to a first preferred embodiment of the present invention.
Fig. 2 is a functional block diagram of a preferred embodiment of the mobile terminal of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating a multi-alarm-clock processing method of a mobile terminal according to a first preferred embodiment of the present invention. As shown in fig. 1, a method for processing multiple alarm clocks of a mobile terminal includes the following steps:
step S100, acquiring the set virtual alarm clock time of all virtual alarm clocks, and sequencing and numbering all the virtual alarm clocks according to the virtual alarm clock time; the virtual alarm clock is an alarm clock which has not reached the alarm clock time and does not execute the alarm clock function.
In the embodiment of the invention, when the mobile terminal starts the alarm clock function, the set virtual alarm clock time of all the virtual alarm clocks is obtained. The virtual alarm clock is an alarm clock which does not execute the alarm clock function and the alarm clock time does not reach, and is a real alarm clock opposite to the virtual alarm clock, and the real alarm clock is an alarm clock which automatically executes the alarm clock function when the current time reaches the real alarm clock time. That is, all the set virtual alarm clocks can start the alarm clock function only when the virtual alarm clocks are converted into real alarm clocks. The virtual alarm clock time corresponding to the virtual alarm clock, the real alarm clock time corresponding to the real alarm clock.
At this time, all the virtual alarm clocks are sequenced from small to large according to the acquired virtual alarm clock time, meanwhile, each virtual alarm clock is numbered, the numbers are used for uniquely identifying the virtual alarm clocks and also uniquely identifying the real alarm clocks, the numbers are represented by random complementary same numbers, as shown in the following example, wherein the alarm clock reaching time comprises the virtual alarm clock time and the real alarm clock time.
Example 1:
virtual alarm clock numbering alarm clock arrival time
The virtual alarm clock 611: 00: 00
Virtual alarm clock 6212: 00: 00
Virtual alarm clock 5513: 00: 00
Virtual alarm clock 5113: 01: 00
Virtual alarm clock 513: 02: 00
Virtual alarm clock 2613: 03: 00
Virtual alarm clock 2713: 04: 00
Virtual alarm clock 1614: 04: 00
Virtual alarm clock 5915: 04: 00
Virtual alarm clock 2515: 05: 00
Virtual alarm clock 2115: 06: 00
Virtual alarm clock 1715: 07: 00
Virtual alarm clock 2816: 07: 00
Of course, in some embodiments, the virtual alarm clock is also referred to as a background alarm clock, and the real alarm clock is also referred to as a foreground alarm clock, which are also applicable to the present invention.
Step S200, calculating a first time difference between each current virtual alarm clock and the previous virtual alarm clock, and storing the first time difference in an alarm clock timetable according to a preset format.
In the embodiment of the present invention, based on step S100, according to the sorted virtual alarm clock times, a first time difference between the virtual alarm clock times corresponding to the adjacent virtual alarm clocks, that is, a first time difference between the time when the previous virtual alarm clock reaches the current virtual alarm clock time, is calculated, and then the virtual alarm clock numbers, the virtual alarm clock times, and the first time difference of step S100 are stored in an alarm clock time table according to a preset format. The preset format is represented in the form of a line, as follows:
difference between the arrival time of the numbered alarm clock and the time of the previous alarm clock
At this time, in combination with the example given in example 1 in step S100, based on step S200, the alarm clock schedule is as shown in example 2:
example 2:
difference between arrival time of numbered alarm clock and previous alarm clock
The virtual alarm clock 611: 00: 000 seconds
Virtual alarm clock 6212: 00: 003600 seconds
Virtual alarm clock 5513: 00: 003600 seconds
Virtual alarm clock 5113: 01: 0060 seconds
Virtual alarm clock 513: 02: 0060 seconds
Virtual alarm clock 2613: 03: 0060 seconds
Virtual alarm clock 2713: 04: 0060 seconds
Virtual alarm clock 1614: 04: 003600 seconds
Virtual alarm clock 5915: 04: 003600 seconds
Virtual alarm clock 2515: 05: 0060 seconds
Virtual alarm clock 2115: 06: 0060 seconds
Virtual alarm clock 1715: 07: 0060 seconds
Virtual alarm clock 2816: 07: 003600 seconds
Step S300, when the first time difference is less than or equal to a first preset threshold, converting the corresponding current virtual alarm clock into a real alarm clock, and setting the real alarm clock time of the real alarm clock as the corresponding virtual alarm clock time; the real alarm clock is an alarm clock which automatically executes the alarm clock function when the current time reaches the real alarm clock time.
In the embodiment of the present invention, the first preset threshold is 60 seconds. When the time difference between the alarm clocks of the adjacent virtual alarm clocks reaches a first preset threshold (namely 60 seconds), the next corresponding virtual alarm clock is converted into a real alarm clock, meanwhile, the real alarm clock time of the real alarm clock is set to be the corresponding virtual alarm clock time, namely, when the current time reaches the real alarm clock time, the alarm clock function is directly started, namely, the alarm clock rings to prompt a user. And of course, when the first time difference is greater than the first preset threshold, the virtual alarm clock is kept unchanged without modification.
Example 2 above, based on the modification in step S300 to a real alarm clock, is as shown under example 3 (assuming that the current time is exactly 11: 00: 00):
example 3:
real alarm clock 101 (based on virtual alarm clock 611: 00: 00)
Real alarm clock 102 (based on virtual alarm clock 5113: 01: 00)
Real alarm clock 103 (based on virtual alarm clock 513: 02: 00)
Real alarm clock 104 (based on virtual alarm clock 2613: 03: 00)
Real alarm clock 105 (based on virtual clock 2713: 04: 00)
The rest virtual alarm clocks are kept in an unchanged state.
The virtual alarm clocks with similar alarm clock time are screened out through the step S300, so as to prevent the phenomenon that the two corresponding virtual alarm clocks cannot realize the alarm clock function one by one when the adjacent virtual alarm clocks differ by the first preset threshold, which causes resource waste.
It should be noted that the first preset threshold may be set according to a user requirement, and is not limited.
Step S400, obtaining all real alarm clock time converted into a real alarm clock, converting the current real alarm clock into a virtual alarm clock when a second time difference between the current real alarm clock and a previous real alarm clock is greater than a second preset threshold, and updating the alarm clock time table.
In the embodiment of the present invention, a plurality of real alarm clocks are obtained based on step S300, but in order to further save resources and reduce the number of real alarm clocks, at this time, all real alarm clock times converted into real alarm clocks are obtained, and as shown in example 3 above, it is determined whether a second time difference between a real alarm clock time of a next real alarm clock and a real alarm clock time of a previous real alarm clock is greater than a second preset threshold. And when the second time difference between the current real alarm clock and the previous real alarm clock is larger than a second preset threshold, converting the next real alarm clock into the virtual alarm clock, namely, restoring the related information of the original virtual alarm clock.
The time difference between the time of the next real alarm clock and the time of the previous real alarm clock is obtained based on example 3 as shown in example 4:
example 4:
real alarm clock 101 (original virtual alarm clock 611: 00: 00)
The time difference of the real alarm clock 102 (original virtual alarm clock 5113: 01: 00) is 7236 seconds
The time difference of the real alarm clock 103 (the original virtual alarm clock 513: 02: 00) is 60 seconds
The time difference of the real alarm clock 104 (the original virtual alarm clock 2613: 03: 00) is 60 seconds
The time difference of the real alarm clock 105 (original virtual alarm clock 2713: 04: 00) is 60 seconds
The time difference of the real alarm clock 106 (the original virtual alarm clock 2515: 05: 00) is 3636 seconds
The time difference of the real alarm clock 107 (the original virtual alarm clock 2115: 06: 00) is 60 seconds
The real alarm clock 108 (original virtual alarm clock 1715: 07: 00) has a time difference of 60 seconds.
After the steps S100 to S400, the alarm clock schedule is updated, and in this case, example 1 is finally as shown in example 5:
example 5:
the virtual alarm clock 611: 00: 00 a real alarm clock 101 is provided,
virtual alarm clock 6212: 00: 00
Virtual alarm clock 5513: 00: 00
Virtual alarm clock 5113: 01: 00
Virtual alarm clock 513: 02: 00 true alarm clock 103
Virtual alarm clock 2613: 03: 00 real alarm clock 104
Virtual alarm clock 2713: 04: 00 real alarm clock 105
Virtual alarm clock 1614: 04: 00
Virtual alarm clock 5915: 04: 00
Virtual alarm clock 2515: 05: 00
Virtual alarm clock 2115: 06: 00 real alarm clock 107
Virtual alarm clock 1715: 07: 00 true alarm clock 108
Virtual alarm clock 2816: 07: 00
Step S500, acquiring current time and the alarm clock time of the updated alarm clock timetable, starting timing, converting the virtual alarm clock corresponding to the virtual alarm clock time into a real alarm clock when the current time reaches the virtual alarm clock time, automatically starting the real alarm clock, and executing the alarm clock function.
In the embodiment of the invention, the current time and the alarm clock time of the updated alarm clock time table are obtained, and timing is started. The virtual alarm clock corresponding to the alarm clock time of the alarm clock timetable closest to the current time is started indirectly or the real alarm clock is started directly in sequence, namely, the real alarm clock closest to the current time is triggered to alarm, and meanwhile, corresponding alarm clock information can be displayed and used for prompting a user.
Specifically, when the current time reaches the virtual alarm clock time corresponding to the virtual alarm clock, the virtual alarm clock is converted into a real alarm clock, and meanwhile, the real alarm clock is automatically started to execute the alarm clock function. Once the current alarm function is executed, the alarm clock schedule will automatically delete the executed virtual alarm clock information or real alarm clock information.
In order to further improve the detection speed and save time, in the updated alarm clock timetable, the virtual alarm clock which is closest to the current time and is not converted into the real alarm clock can be automatically converted into the real alarm clock in advance, and the corresponding virtual alarm clock time is set as the real alarm clock time of the real alarm clock.
After step 500, based on example 5, the following is shown:
assume that 11: 00: 00 is reached (virtual alarm clock 611: 00: 00 rings are automatically deleted, automatically jumping to the nearest time point):
virtual alarm clock 6212: 00: 00 a real alarm clock 101 is provided,
virtual alarm clock 5513: 00: 00
Virtual alarm clock 5113: 01: 00
Virtual alarm clock 513: 02: 00 true alarm clock 103
Virtual alarm clock 2613: 03: 00 real alarm clock 104
Virtual alarm clock 2713: 04: 00 real alarm clock 105
Virtual alarm clock 1614: 04: 00
Virtual alarm clock 5915: 04: 00
Virtual alarm clock 2515: 05: 00
Virtual alarm clock 2115: 06: 00 real alarm clock 107
Virtual alarm clock 1715: 07: 00 true alarm clock 108
Virtual alarm clock 2816: 07: 00
The same principle is that: 12: 00: 00 after arriving (automatic delete virtual alarm clock 6212: 00: 00 after ringing)
Virtual alarm clock 5513: 00: 00 a real alarm clock 101 is provided,
virtual alarm clock 5113: 01: 00
Virtual alarm clock 513: 02: 00 true alarm clock 103
Virtual alarm clock 2613: 03: 00 real alarm clock 104
Virtual alarm clock 2713: 04: 00 real alarm clock 105
Virtual alarm clock 1614: 04: 00
Virtual alarm clock 5915: 04: 00
Virtual alarm clock 2515: 05: 00
Virtual alarm clock 2115: 06: 00 real alarm clock 107
Virtual alarm clock 1715: 07: 00 true alarm clock 108
Virtual alarm clock 2816: 07: 00
By analogy, if 13: 01: 00 arrive later (identifier 101 automatic jump to virtual alarm clock 1614: 04: 00)
Virtual alarm clock 513: 02: 00 true alarm clock 103
Virtual alarm clock 2613: 03: 00 real alarm clock 104
Virtual alarm clock 2713: 04: 00 real alarm clock 105
Virtual alarm clock 1614: 04: 00 real alarm clock 101
Virtual alarm clock 5915: 04: 00
Virtual alarm clock 2515: 05: 00
Virtual alarm clock 2115: 06: 00 real alarm clock 107
Virtual alarm clock 1715: 07: 00 true alarm clock 108
Virtual alarm clock 2816: 07: 00
And the alarm clock time of the alarm clock time table is completely executed.
Further, when the mobile terminal detects that a virtual alarm clock is newly added, acquiring the virtual alarm clock time of the newly added virtual alarm clock, comparing the virtual alarm clock time of the newly added virtual alarm clock with the current time, if the virtual alarm clock time is earlier than the current time, storing the virtual alarm clock time to the updated alarm clock time table according to the preset format, and then executing the steps S100-S500. If the time is later than the current time, the newly added virtual alarm clock is an invalid alarm clock, and no processing is performed.
Furthermore, when the mobile terminal detects that the user deletes one virtual alarm clock, the mobile terminal acquires the number of the deleted virtual alarm clock, and automatically deletes the corresponding row information of the updated alarm clock schedule according to the number. And then still according to steps S100-S500 above.
Of course, it can be understood by those skilled in the art that all or part of the processes in the method of the above embodiments can be implemented by instructing relevant hardware (such as a processor, a controller, etc.) through a multi-alarm-clock processing program of the mobile terminal, where the program can be stored in a computer-readable storage medium, and the program can include the processes of the above method embodiments when executed. The storage medium may be a memory, a magnetic disk, an optical disk, etc.
Example two
An embodiment of the present invention further provides a mobile terminal, as shown in fig. 2, the mobile terminal of the embodiment of the present invention may be a mobile phone (or a tablet computer), where the mobile terminal of the embodiment includes a processor 10 and a memory 20 connected to the processor 10;
the memory 20 stores a mobile terminal multi-alarm processing program, and the mobile terminal multi-alarm processing program realizes the mobile terminal multi-alarm processing method when being executed by the processor 10; as described above.
EXAMPLE III
A storage medium storing a mobile terminal multi-alarm processing program which, when executed by a processor 10, implements the mobile terminal multi-alarm processing method; as described above.
In summary, the present invention discloses a mobile terminal multi-alarm-clock processing method, a mobile terminal and a storage medium, wherein the method comprises: acquiring the set virtual alarm clock time of all virtual alarm clocks, and sequencing and numbering all the virtual alarm clocks according to the virtual alarm clock time; the virtual alarm clock is an alarm clock which has not reached the alarm clock time and does not execute the alarm clock function; calculating a first time difference between each current virtual alarm clock and a previous virtual alarm clock, and storing the first time difference in an alarm clock timetable according to a preset format; when the first time difference is smaller than or equal to a first preset threshold, converting the corresponding current virtual alarm clock into a real alarm clock, and setting the real alarm clock time of the real alarm clock as the corresponding virtual alarm clock time; the real alarm clock is an alarm clock which automatically executes the alarm clock function when the current time reaches the real alarm clock time; acquiring all real alarm clock time converted into real alarm clocks, converting the current real alarm clock into a virtual alarm clock when a second time difference between the current real alarm clock and a previous real alarm clock is greater than a second preset threshold, and updating an alarm clock time table; and acquiring the current time and the alarm clock time of the updated alarm clock time table, starting timing, converting the virtual alarm clock corresponding to the virtual alarm clock time into a real alarm clock when the current time reaches the virtual alarm clock time, and automatically starting the real alarm clock to execute the alarm clock function. According to the invention, when the time of the alarm clocks is very close to that of the current alarm clock, the alarm clocks with small time difference are converted into real alarm clocks, and the alarm clock function is started, so that the situation that the alarm clock adjacent to the ringing alarm clock cannot execute the alarm clock function due to the fact that the user does not process the ringing alarm clock is prevented, resources are saved, all the alarm clocks are monitored and managed, and convenience is brought to the user.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A mobile terminal multi-alarm-clock processing method is characterized by comprising the following steps:
acquiring the set virtual alarm clock time of all the virtual alarm clocks, and sequencing and respectively numbering all the virtual alarm clocks from small to large according to the virtual alarm clock time; the virtual alarm clock is an alarm clock which has not reached the alarm clock time and does not execute the alarm clock function;
calculating a first time difference between each current virtual alarm clock and a previous virtual alarm clock, and storing the first time difference in an alarm clock timetable according to a preset format;
when the first time difference is smaller than or equal to a first preset threshold, converting the corresponding current virtual alarm clock into a real alarm clock, and setting the real alarm clock time of the real alarm clock as the corresponding virtual alarm clock time; the real alarm clock is an alarm clock which automatically executes the alarm clock function when the current time reaches the real alarm clock time;
acquiring all real alarm clock time converted into real alarm clocks, converting the current real alarm clock into a virtual alarm clock when a second time difference between the current real alarm clock and a previous real alarm clock is greater than a second preset threshold, and updating an alarm clock time table;
and acquiring the current time and the alarm clock time of the updated alarm clock time table, starting timing, converting the virtual alarm clock corresponding to the virtual alarm clock time into a real alarm clock when the current time reaches the virtual alarm clock time, and automatically starting the real alarm clock to execute the alarm clock function.
2. The multi-alarm-clock processing method of a mobile terminal according to claim 1, wherein when the current time reaches a real alarm clock time, the real alarm clock is immediately started to perform an alarm clock function.
3. The method for processing multiple alarm clocks of a mobile terminal according to claim 1, wherein when the first time difference is greater than a first preset threshold, the virtual alarm clock is kept unchanged without modification.
4. The multi-alarm-clock processing method of the mobile terminal according to claim 1, wherein when a second time difference between a current real alarm clock and a previous real alarm clock is less than or equal to a second preset threshold, the real alarm clock is kept unchanged without modification.
5. The method for processing multiple alarm clocks of a mobile terminal according to claim 1, wherein the step of obtaining the set virtual alarm clock times of all the virtual alarm clocks, and the step of sequencing and respectively numbering all the virtual alarm clocks from small to large according to the virtual alarm clock times specifically comprises the following steps:
acquiring the set virtual alarm clock time of all the virtual alarm clocks;
sequencing all the virtual alarm clocks according to the sequence of the virtual alarm clock time from small to large, and respectively numbering, wherein the serial number uniquely identifies the virtual alarm clock;
and storing the time table to an alarm clock.
6. The method as claimed in claim 1, wherein when a new virtual alarm clock is detected, acquiring a virtual alarm clock time of the new virtual alarm clock, comparing the virtual alarm clock time of the new virtual alarm clock with a current time, and storing the virtual alarm clock time of the new virtual alarm clock in the updated alarm clock schedule according to a preset format if the virtual alarm clock time is earlier than the current time.
7. The method as claimed in claim 1, wherein when a virtual alarm clock is detected to be deleted, the number of the deleted virtual alarm clock is obtained, and the updated alarm clock schedule is automatically deleted according to the number.
8. The multi-alarm-clock processing method of the mobile terminal according to claim 1, wherein the first preset threshold value is 60 seconds; the second preset threshold value is 1000 seconds.
9. A mobile terminal comprising a processor and a memory coupled to the processor, the memory storing a mobile terminal multi-alarm processing program for use by the processor in performing the mobile terminal multi-alarm processing method steps of any of claims 1-8.
10. A storage medium, characterized in that the storage medium stores a mobile terminal multi-alarm clock processing program, which when executed by a processor is adapted to implement the mobile terminal multi-alarm clock processing method according to any one of claims 1-8.
CN201811389632.6A 2018-11-21 2018-11-21 Mobile terminal multi-alarm-clock processing method, mobile terminal and storage medium Active CN109302535B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811389632.6A CN109302535B (en) 2018-11-21 2018-11-21 Mobile terminal multi-alarm-clock processing method, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811389632.6A CN109302535B (en) 2018-11-21 2018-11-21 Mobile terminal multi-alarm-clock processing method, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109302535A CN109302535A (en) 2019-02-01
CN109302535B true CN109302535B (en) 2020-08-11

Family

ID=65143941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811389632.6A Active CN109302535B (en) 2018-11-21 2018-11-21 Mobile terminal multi-alarm-clock processing method, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109302535B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933232B (en) * 2019-12-27 2021-01-26 维沃移动通信有限公司 Alarm clock reminding method and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465801A (en) * 2016-06-02 2017-12-12 西安中兴新软件有限责任公司 The method and device of management equipment alarm clock
CN107770368A (en) * 2017-09-28 2018-03-06 努比亚技术有限公司 A kind of based reminding method and terminal of the alarm clock application based on terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8792934B2 (en) * 2010-08-18 2014-07-29 Microsoft Corporation Selective update of core mobile device user interface through application marketplace
CN102821207B (en) * 2012-08-15 2014-04-16 小米科技有限责任公司 Implementation method for alarm clock under shutdown state and mobile terminal
TWI493300B (en) * 2013-11-22 2015-07-21 Acer Inc System and method for managing alarm clock
US9462113B2 (en) * 2014-06-18 2016-10-04 Htc Corporation Methods and systems for alarm management in an electronic device
CN105162946B (en) * 2015-06-30 2018-05-08 Tcl移动通信科技(宁波)有限公司 A kind of alarm clock processing method and mobile terminal based on mobile terminal
US9692874B2 (en) * 2015-09-30 2017-06-27 Apple Inc. Adjusting alarms based on sleep onset latency
CN105979078A (en) * 2016-04-27 2016-09-28 努比亚技术有限公司 Alarm clock processing method and mobile terminal
CN106303018A (en) * 2016-08-11 2017-01-04 深圳市金立通信设备有限公司 A kind of alarm clock control method and terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465801A (en) * 2016-06-02 2017-12-12 西安中兴新软件有限责任公司 The method and device of management equipment alarm clock
CN107770368A (en) * 2017-09-28 2018-03-06 努比亚技术有限公司 A kind of based reminding method and terminal of the alarm clock application based on terminal

Also Published As

Publication number Publication date
CN109302535A (en) 2019-02-01

Similar Documents

Publication Publication Date Title
CN106775965B (en) Processing method and device for timing task
KR101641174B1 (en) Method for enabling shutdown alarm clock and mobile terminal, and program, and recording medium for enabling shutdown alarm clock
CN107783803B (en) System optimization method and device of intelligent terminal, storage medium and intelligent terminal
US9929868B2 (en) Wireless wake-up device for cellular module
EP2330794A1 (en) Status prompt method and system
CN104133687A (en) Method for handling unhandled notification event and portable terminal
JP2003177926A (en) Personal digital assistant device
CN109343902A (en) Operation method, device, terminal and the storage medium of audio processing components
CN106296135A (en) Event-prompting method, device and terminal
KR102020358B1 (en) Terminal and method for synchronizing application thereof
CN109302535B (en) Mobile terminal multi-alarm-clock processing method, mobile terminal and storage medium
CN111913793A (en) Distributed task scheduling method, device, node equipment and system
CN106027739A (en) Incoming call processing method and device, and terminal
CN110968410A (en) Task failure retry method and device, computer equipment and storage medium
CN110737526A (en) method and device for managing timed tasks under Redis-based distributed cluster
CN106406997B (en) Timer scheduling method and device
CN106851595B (en) Ordered broadcast processing method, device and terminal device
WO2013167015A2 (en) Method, apparatus and mobile terminal for implementing profile mode setting
CN103377071B (en) A kind of batch data delet method and system
CN104270522B (en) A kind of dispatching method, controlling equipment and mobile terminal called
CN105162946B (en) A kind of alarm clock processing method and mobile terminal based on mobile terminal
JP4563710B2 (en) Mobile phone terminal device, program management method, and computer program therefor
WO2011140765A1 (en) Task processing method and mobile terminal
CN111880910A (en) Data processing method and device, server and storage medium
WO2017206620A1 (en) Method and apparatus for setting state of application program

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230321

Address after: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Patentee after: Shenzhen Huaxi Investment Co.,Ltd.

Address before: 10 / F, No.5, Lane 999, Yangfan Road, high tech Zone, Ningbo, Zhejiang 315100

Patentee before: TCL mobile communication technology (Ningbo) Co.,Ltd.