CN112801634A - Intelligent alarm clock setting method and device and computer readable storage medium - Google Patents

Intelligent alarm clock setting method and device and computer readable storage medium Download PDF

Info

Publication number
CN112801634A
CN112801634A CN202110254508.4A CN202110254508A CN112801634A CN 112801634 A CN112801634 A CN 112801634A CN 202110254508 A CN202110254508 A CN 202110254508A CN 112801634 A CN112801634 A CN 112801634A
Authority
CN
China
Prior art keywords
time
alarm clock
day
duty
current day
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.)
Pending
Application number
CN202110254508.4A
Other languages
Chinese (zh)
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 Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo Technology Co 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 Shenzhen Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN202110254508.4A priority Critical patent/CN112801634A/en
Publication of CN112801634A publication Critical patent/CN112801634A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting
    • G06Q10/1093Calendar-based scheduling for persons or groups

Abstract

The invention discloses an intelligent alarm clock setting method, equipment and a computer readable storage medium. Wherein, the method comprises the following steps: acquiring off-duty time T1 of the current day; judging whether the off duty time T1 is earlier than a standard off duty time T0; if yes, keeping the alarm clock setting of the next day unchanged; and if not, delaying the alarm clock time of the next day by a time delta T on the basis of the reference alarm clock time T2 to obtain an adjusted dynamic alarm clock time T3, wherein the delay time delta T is determined according to a preset rule. The intelligent alarm clock setting scheme is realized, the alarm clock on the next day can be dynamically adjusted according to the off-duty time of the day, the requirement of an elastic attendance system can be automatically met, the burden of manually adjusting the alarm clock by a user is reduced, and the user experience is improved.

Description

Intelligent alarm clock setting method and device and computer readable storage medium
Technical Field
The invention relates to the technical field of mobile terminals, in particular to an intelligent alarm clock setting method, intelligent alarm clock setting equipment and a computer readable storage medium.
Background
At present, in order to get up on time on a working day, a working worker can set an alarm clock by using a mobile terminal such as a mobile phone, for example, the mobile terminal is set to get up every morning at 7 o' clock from Monday to Friday, the setting method is convenient, and the trouble of repeatedly setting the alarm clock by a user is avoided. However, this setting method also has a problem of insufficient flexibility.
At present, many companies implement an elastic attendance system, if going out of work too late on the day, the next day can be delayed, under the attendance system, if an alarm clock of 7 o' clock in the morning every day from Monday to Friday is set, the requirement that a user wants to dynamically adjust the getting-up time cannot be met, the getting-up time can be delayed if going out of work too late every time, and at the moment, the user needs to manually modify the getting-up alarm clock on the next day, so that the burden of the user is increased.
Disclosure of Invention
In order to solve the technical defects in the prior art, the invention provides an intelligent alarm clock setting method, which comprises the following steps:
acquiring off-duty time T1 of the current day;
judging whether the off duty time T1 is earlier than a standard off duty time T0;
if yes, keeping the alarm clock setting of the next day unchanged;
and if not, delaying the alarm clock time of the next day by a time delta T on the basis of the reference alarm clock time T2 to obtain an adjusted dynamic alarm clock time T3, wherein the delay time delta T is determined according to a preset rule.
Optionally, the preset rule includes:
and dividing the time after the standard off-duty time T0 into a plurality of time periods, wherein each time period corresponds to a different value of the delay time delta T.
Optionally, the preset rule further includes:
comparing the off-duty time T1 with the plurality of time periods, and determining the time period N of the off-duty time T1;
obtaining the value delta t of the delay time delta t corresponding to the time period NN
Optionally, the step of dividing the time after the standard off-duty time T0 into a plurality of time segments includes:
and dividing the time after the standard off-duty time T0 into a plurality of equally or unequally spaced time periods.
Optionally, the preset rule includes:
and taking the delay time delta t as a preset fixed time length.
Optionally, the step of obtaining the off-duty time T1 of the current day includes:
acquiring off-duty time T1 of the current day from attendance software; or
Acquiring the off-duty time T1 of the current day from an OA system of the enterprise; or
Acquiring the time T4 of the last time of leaving the enterprise on the current day from positioning software, and if the time T4 of the last time of leaving the enterprise on the current day is not earlier than the attendance off-duty time T5 of the enterprise, taking the time T4 of the last time of leaving the enterprise on the current day as the off-duty time T1 of the current day; or
Acquiring the time T6 of the current day to home from positioning software, and taking the time (T6-T7) obtained by subtracting the time T7 of the business to home from the time T6 of the current day as the off-duty time T1 of the current day; or
And acquiring the working schedule information of the current day, and if the end time T8 of the last schedule in the working schedule information of the current day is later than the last time T4 of leaving the enterprise of the current day, taking the end time T8 of the last schedule as the off-duty time T1 of the current day.
Optionally, before the step of delaying the alarm clock time of the second day by a time Δ T based on a reference alarm clock time T2 to obtain an adjusted dynamic alarm clock time T3, where the step of determining the delay time Δ T according to a preset rule further includes:
and acquiring calendar time, and if the second day is a holiday, defining a first working day after the holiday as the second day.
Optionally, the delaying the alarm clock time of the next day by a time Δ T on the basis of a reference alarm clock time T2 to obtain an adjusted dynamic alarm clock time T3, where the step of determining the delay time Δ T according to a preset rule includes:
obtaining calendar time, and judging whether the second day is a holiday or not;
if yes, determining the alarm clock time of the first working day after the holiday as the reference alarm clock time T2;
and if not, delaying the alarm clock time of the next day by a time delta T on the basis of the reference alarm clock time T2 to obtain an adjusted dynamic alarm clock time T3, wherein the delay time delta T is determined according to a preset rule.
The invention also provides an alarm clock setting device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the alarm clock intelligent setting method are realized.
The invention also proposes a computer-readable storage medium having stored thereon an alarm clock setting program, which, when executed by a processor, implements the steps of the intelligent alarm clock setting method as described above.
The method has the advantages that the off-duty time T1 of the current day is obtained; judging whether the off duty time T1 is earlier than a standard off duty time T0; if yes, keeping the alarm clock setting of the next day unchanged; and if not, delaying the alarm clock time of the next day by a time delta T on the basis of the reference alarm clock time T2 to obtain an adjusted dynamic alarm clock time T3, wherein the delay time delta T is determined according to a preset rule. The intelligent alarm clock setting scheme is realized, the alarm clock on the next day can be dynamically adjusted according to the off-duty time of the day, the requirement of an elastic attendance system can be automatically met, the burden of manually adjusting the alarm clock by a user is reduced, and the user experience is improved.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a flowchart of an intelligent alarm clock setting method according to a first embodiment of the present invention;
FIG. 2 is a flowchart of an intelligent alarm clock setting method according to a third embodiment of the present invention;
fig. 3 is a block diagram of an alarm clock intelligent setting device according to a fourth embodiment of the present invention;
fig. 4 is a block diagram of a computer-readable storage medium according to a fifth embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
Example one
Fig. 1 is a flowchart of an intelligent alarm clock setting method according to a first embodiment of the present invention, and a power consumption detection method for a door lock, the method includes the steps of:
s1, acquiring off-duty time T1 of the current day;
s2, judging whether the off-duty time T1 is earlier than a standard off-duty time T0;
s3, if yes, keeping the alarm clock setting of the next day unchanged;
and S4, if not, delaying the alarm clock time of the next day by a time delta T on the basis of the reference alarm clock time T2 to obtain an adjusted dynamic alarm clock time T3, wherein the delay time delta T is determined according to a preset rule.
In this embodiment, it should be noted that, based on the prior art, if an alarm clock with a fixed time is set in the morning every monday to friday, the requirement that the user wants to dynamically adjust the waking time cannot be met; if the user gets off work too late each time, the user needs to manually modify the alarm clock for getting up the next day, and the burden of the user is increased. Therefore, in the present embodiment, first, the off-duty time T1 of the user on the current day is automatically acquired; then, whether the off-duty time T1 of the current day is earlier than the standard off-duty time T0 of deferrable on the next day specified by the attendance system of the enterprise; if yes, keeping the alarm clock setting of the next day unchanged; and if not, delaying the alarm clock time of the next day by the time delta T on the basis of the reference alarm clock time T2 to obtain the adjusted dynamic alarm clock time T3. Therefore, the alarm clock in the next day can be dynamically adjusted according to the off-duty time of the day, the requirements of an elastic attendance system can be automatically met, the burden of manually adjusting the alarm clock by a user is reduced, and the user experience is improved.
In this embodiment, it should be noted that the intelligent setting method for an alarm clock provided in this embodiment is suitable for mobile terminals such as mobile phones, tablet computers, and smart watches, and is also suitable for intelligent control devices with an intelligent control function such as smart televisions, smart stereos, and smart home control devices.
Specifically, in the present embodiment, the off-duty time T1 of the day is acquired. That is, the off-duty time T1 of the user on the same day is automatically obtained, so as to subsequently determine whether the off-duty time of the user on the same day meets the attendance requirement that the attendance can be postponed on the next day. The embodiment does not limit the specific acquisition manner.
Optionally, the off-duty time T1 of the current day is obtained from attendance software. When an enterprise where a user is located carries out attendance through attendance software, the user needs to install corresponding attendance software on a mobile terminal or intelligent control equipment of the user, and the attendance software is used for recording the time of going to and leaving the office so as to carry out attendance. At this time, the off-duty time T1 of the user on the current day can be conveniently acquired from the attendance software. The present embodiment does not limit the specific attendance software type.
Optionally, the off-hours time of the day T1 is obtained from the enterprise OA system. When the enterprise where the user is located performs attendance on the employee through the attendance function of the enterprise OA system, the user needs to log in the enterprise OA system to record the attendance time so as to perform attendance. At this time, the user may bind the website of the enterprise OA system in advance, so as to log in the enterprise OA system to obtain the off-hours time T1 of the user on the current day.
Optionally, the time T4 of the last leaving of the enterprise on the current day is obtained from the positioning software, and if the time T4 of the last leaving of the enterprise on the current day is not earlier than the attendance time T5 of the enterprise, the time T4 of the last leaving of the enterprise on the current day is used as the time T1 of the current day. Currently, mobile terminals generally have positioning software, which can position the location of a user. Each enterprise generally has its own attendance time T5, and if the employee goes out of office earlier than the attendance time T5, the employee will be recorded as early-quit. The positioning software records the time of each time the user leaves the enterprise, acquires the time T4 of the last time the user leaves the enterprise from the positioning software, and if the time T4 of the last time the user leaves the enterprise is not earlier than the attendance off-duty time T5 of the enterprise, the user is off duty at the moment, and takes the time T4 of the last time the user leaves the enterprise as the off-duty time T1 of the day.
Optionally, the time T6 of the current day from home is obtained from the positioning software, and the time (T6-T7) obtained by subtracting the time length T7 of the business from home from the time T6 of home is used as the off-duty time T1 of the current day. In the case of the determination of the enterprise at work, the commute time of the user from the enterprise to the home is generally fixed, the time duration from the enterprise to the home is preset T7, and the time T6 of the user from the current day to the home can be obtained from the positioning software, and the time (T6-T7) obtained by subtracting the time T7 from the time from the enterprise to the home from the time T6 of the user from the time T1 of the current day.
Optionally, the work schedule information of the current day is obtained, and if the end time T8 of the last schedule in the work schedule information of the current day is later than the time T4 of last leaving the enterprise of the current day, the end time T8 of the last schedule is used as the off-duty time T1 of the current day. In actual work, the working stroke information of the user is generally recorded on the mobile terminal and can be directly obtained; the last work of the user on the current day may be finished outside the enterprise, so that the end time of the last journey of the current day of the user is later than the time when the user leaves the enterprise for the last time of the current day, and at this time, the end time of the last journey of the current day of the user can be used as the off-duty time of the current day. Therefore, the current-day work schedule information of the user can be obtained, and if the end time T8 of the last schedule in the current-day work schedule information is later than the last business leaving time T4 of the current day, the end time T8 of the last schedule is taken as the next work time T1 of the current day.
Specifically, in this embodiment, it is determined whether the off-duty time T1 is earlier than a standard off-duty time T0. The standard off-duty time T0 is the starting point of the off-duty time that can be delayed to go to work on the next day specified by the enterprise attendance system, that is, if the off-duty time of the user on the current day is earlier than the standard off-duty time T0, the user needs to go to work on the next day according to the normal attendance time, and if the off-duty time of the user on the current day is not earlier than the standard off-duty time T0, the off-duty time of the user on the next day can be delayed to go to work for a period of time from the normal attendance time. Therefore, by determining whether the off-hours time T1 is earlier than the standard off-hours time T0, it can be determined whether the alarm time for the next day needs to be adjusted.
Specifically, in this embodiment, if yes, the alarm clock setting for the next day is kept unchanged. When the off-duty time T1 is earlier than the standard off-duty time T0, the alarm clock setting for the next day is kept unchanged. That is, when the off-duty time of the day does not reach the standard that the next day can postpone the on-duty time, no adjustment is made to the alarm clock preset by the user.
Specifically, in this embodiment, if not, the alarm clock time of the next day is delayed by a time Δ T on the basis of the reference alarm clock time T2, so as to obtain an adjusted dynamic alarm clock time T3, where the time Δ T is determined according to a preset rule. That is, when the off-duty time of the current day reaches the standard that the next day can be delayed from work, the alarm clock time of the next day is delayed by the time Δ T based on the reference alarm clock time T2, so as to obtain the adjusted dynamic alarm clock time T3, that is, the dynamic alarm clock time T3 is the sum of the reference alarm clock time T2 and the delay time Δ T, so that the user can delay the time Δ T and get up again based on the preset fixed alarm clock time on the next day. The reference alarm clock time T2 is a fixed alarm clock time preset by a user. It can be understood that the delay time Δ T is determined according to a preset rule, where the preset rule may be flexibly set according to an attendance system of an enterprise where the user is located, for example, the delay time Δ T may be dynamically adjusted according to a difference of the off-duty time T1, or may be fixed, and a determination manner of the preset rule is not limited in this embodiment.
Optionally, the preset rule includes: and dividing the time after the standard off-duty time T0 into a plurality of time periods, wherein each time period corresponds to a different value of the delay time delta T. For fairness, enterprises will typically specify that the deferral time Δ T is dynamically adjusted according to the off-hours T1, and further for ease of operation, the standard off-hours T0 is followedThe time is divided into a plurality of time segments, each of which corresponds to a different value of the delay time Δ t. Optionally, the time after the standard off-duty time T0 is divided into a plurality of equally-spaced or unequally-spaced time periods to meet different attendance requirements. Optionally, comparing the off-duty time T1 with the plurality of time periods, and determining a time period N where the off-duty time T1 is located; obtaining the value delta t of the delay time delta t corresponding to the time period NNTo further obtain the adjusted dynamic alarm time T3. For example, the normal work time of the enterprise where the user is located is 9 am, and under normal circumstances, the user needs to get up at 8 am, so the reference alarm clock time T2 set by the user is 8: 00; the specified standard off-duty time T0 is 21:30, the time after 21:30 is divided into a time section every half hour, the first time section is from 21:30 (including 21:30) to 22:00, the corresponding delay time delta T is 30 minutes, the corresponding dynamic alarm time T3 is the sum of the reference alarm time T2 and 30 minutes, namely 8: 30; the second time period is from 22:00 (including 22:00) to 22:30, corresponding to a delay time Δ T of 60 minutes, and a dynamic alarm time T3 being the sum of the reference alarm time T2 and 60 minutes, i.e., 9: 00; and so on. It is understood that the value of the delay time Δ t may be increased in equal or unequal increments over the time period to meet different attendance system requirements.
Optionally, the preset rule includes: and taking the delay time delta t as a preset fixed time length. For convenience of management, some enterprises may set the attendance system to be that the employee goes off duty no earlier than the standard time-out-duty T0 on the same day, that is, the employee can defer to go on duty for a fixed time the next day, for example, the employee goes off duty no earlier than 21:30 on the same day, that is, the employee can defer to go on duty for 1 hour the next day.
The method has the advantages that the off-duty time T1 of the current day is acquired; judging whether the off duty time T1 is earlier than a standard off duty time T0; if yes, keeping the alarm clock setting of the next day unchanged; and if not, delaying the alarm clock time of the next day by a time delta T on the basis of the reference alarm clock time T2 to obtain an adjusted dynamic alarm clock time T3, wherein the delay time delta T is determined according to a preset rule. The intelligent alarm clock setting scheme is realized, the alarm clock on the next day can be dynamically adjusted according to the off-duty time of the day, the requirement of an elastic attendance system can be automatically met, the burden of manually adjusting the alarm clock by a user is reduced, and the user experience is improved.
Example two
Based on the above embodiment, in order to improve the adaptability of the intelligent alarm clock setting method of the present invention, the method further includes, before the step of postponing the alarm clock time of the next day by the time Δ T on the basis of the reference alarm clock time T2 to obtain the adjusted dynamic alarm clock time T3, where the postponed time Δ T is determined according to a preset rule, the method further includes the steps of:
s40, obtaining the calendar time, and if the second day is a holiday, defining the first working day after the holiday as the second day.
Specifically, in this embodiment, when the off-duty time T1 is not earlier than the standard off-duty time T0, a calendar time is obtained first, whether the second day is a holiday is judged, and if yes, the first working day after the holiday is updated to the second day; and then, delaying the alarm clock time of the next day by a time delta T on the basis of the reference alarm clock time T2 to obtain an adjusted dynamic alarm clock time T3, wherein the delay time delta T is determined according to a preset rule. Therefore, when the day is one day before the holiday and the off-duty time T1 of the day is not earlier than the standard off-duty time T0, the alarm clock of the first working day after the holiday can be automatically adjusted, and the adaptability of the intelligent alarm clock setting method is improved. It can be understood that, after obtaining the calendar time, if the second day is a non-holiday, the following steps are directly performed, that is, the alarm clock time of the second day is delayed by a time Δ T on the basis of the reference alarm clock time T2, so as to obtain the adjusted dynamic alarm clock time T3, where the time Δ T is determined according to a preset rule. It can be understood that, in this embodiment, the above-mentioned defining the first working day after the holiday as the second day refers to processing the first working day after the holiday as the second day in the following steps of the intelligent alarm setting method.
Optionally, in this embodiment, after the step of defining the first working day after the holiday as the second day, schedule information included in the calendar time is further obtained, and if the ending time of the working schedule in the schedule information is later than the off-duty time T1, the ending time of the working schedule is defined as the off-duty time T1. Specifically, in this embodiment, when the off-duty time T1 is not earlier than the standard off-duty time T0, a calendar time is obtained first, whether the second day is a holiday is judged, and if yes, the first working day after the holiday is updated to the second day; then, further acquiring schedule information included in the calendar time, and if the ending time of the work schedule in the schedule information is later than the off-duty time T1, defining the ending time of the work schedule as the off-duty time T1; and finally, delaying the alarm clock time of the next day by a time delta T on the basis of the reference alarm clock time T2 to obtain an adjusted dynamic alarm clock time T3, wherein the delay time delta T is determined according to a preset rule. Therefore, when the day is one day before the holiday, the off-duty time T1 of the day is not earlier than the standard off-duty time T0, and the off-duty time during the holiday is later than the off-duty time T1 of the day, the alarm clock of the first working day after the holiday can be automatically adjusted according to the off-duty time during the holiday, and the adaptability of the intelligent alarm clock setting method is improved. It can be understood that, in this embodiment, the above-mentioned defining the end time of the work schedule as the off-duty time T1 means that the end time of the work schedule is treated as the off-duty time T1 in the following steps of the alarm clock intelligent setting method.
The method has the advantages that the off-duty time T1 of the current day is acquired; judging whether the off duty time T1 is earlier than a standard off duty time T0; if yes, keeping the alarm clock setting of the next day unchanged; if not, obtaining calendar time, if the second day is a holiday, defining a first working day after the holiday as the second day, and delaying the alarm clock time of the second day by a time delta T on the basis of a reference alarm clock time T2 to obtain an adjusted dynamic alarm clock time T3, wherein the delay time delta T is determined according to a preset rule. The intelligent alarm clock setting scheme with high adaptability is realized, the alarm clock on the next day can be dynamically adjusted according to the off-duty time of the day, the requirements of an elastic attendance system can be automatically met, the burden of manually adjusting the alarm clock by a user is reduced, and the user experience is improved.
EXAMPLE III
Based on the first embodiment, in order to improve the adaptability of the intelligent alarm clock setting method of the present invention, the alarm clock time of the next day is delayed by the time Δ T on the basis of the reference alarm clock time T2 to obtain the adjusted dynamic alarm clock time T3, where the step of determining the delay time Δ T according to the preset rule includes the steps of:
s41, obtaining calendar time and judging whether the second day is a holiday or not;
s42, if yes, determining the alarm clock time of the first working day after the holiday as the reference alarm clock time T2;
s43, if not, delaying the alarm clock time of the next day by a time delta T on the basis of the reference alarm clock time T2 to obtain an adjusted dynamic alarm clock time T3, wherein the delay time delta T is determined according to a preset rule.
Specifically, in this embodiment, when the off-duty time is not earlier than the standard off-duty time T0, a calendar time is obtained first, and whether the second day is a holiday or not is judged; if yes, determining the alarm clock time of the first working day after the holiday as the reference alarm clock time T2; and if not, delaying the alarm clock time of the next day by a time delta T on the basis of the reference alarm clock time T2 to obtain an adjusted dynamic alarm clock time T3, wherein the delay time delta T is determined according to a preset rule. So that when the off-duty time T1 of the day is not earlier than the standard off-duty time T0, if the day is one day before the holiday, the alarm clock time of the first working day after the holiday is determined as the reference alarm clock time T2; and only when the current day is not one day before the holiday, delaying the alarm clock time of the next day by a time delta T on the basis of the reference alarm clock time T2 to obtain an adjusted dynamic alarm clock time T3, wherein the delay time delta T is determined according to a preset rule. The attendance system requirement of some enterprises considering both humanization and efficiency is met, and the adaptability of the intelligent alarm clock setting method is improved.
The method has the advantages that the off-duty time T1 of the current day is acquired; judging whether the off duty time T1 is earlier than a standard off duty time T0; if yes, keeping the alarm clock setting of the next day unchanged; if not, obtaining the calendar time, and judging whether the second day is a holiday or not; if yes, determining the alarm clock time of the first working day after the holiday as the reference alarm clock time T2; and if not, delaying the alarm clock time of the next day by a time delta T on the basis of the reference alarm clock time T2 to obtain an adjusted dynamic alarm clock time T3, wherein the delay time delta T is determined according to a preset rule. The intelligent alarm clock setting scheme with high adaptability is realized, the alarm clock on the next day can be dynamically adjusted according to the off-duty time of the day, the requirements of an elastic attendance system can be automatically met, the burden of manually adjusting the alarm clock by a user is reduced, and the user experience is improved.
Example four
Based on the above embodiments, referring to fig. 3, the present invention further provides an alarm clock setting device 400, which includes a memory 401, a processor 402, and a computer program stored in the memory and running on the processor, wherein the computer program, when executed by the processor, implements the steps of the alarm clock intelligent setting method described above.
It should be noted that the above device embodiment and method embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment, and technical features in the method embodiment are uniformly and correspondingly applicable in the device embodiment, which is not described herein again.
EXAMPLE five
Based on the above embodiments, referring to fig. 4, the present invention further proposes a computer-readable storage medium 500, on which an alarm setting program 501 is stored, and when being executed by a processor, the alarm setting program implements the steps of the alarm intelligent setting method as described in any one of the above.
It should be noted that the above medium embodiments and method embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments, and technical features in the method embodiments are all applicable in one-to-one correspondence in the computer-readable storage medium embodiments, which are not described herein again.
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.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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, 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 (10)

1. An intelligent alarm clock setting method is characterized by comprising the following steps:
acquiring off-duty time T1 of the current day;
judging whether the off duty time T1 is earlier than a standard off duty time T0;
if yes, keeping the alarm clock setting of the next day unchanged;
and if not, delaying the alarm clock time of the next day by a time delta T on the basis of the reference alarm clock time T2 to obtain an adjusted dynamic alarm clock time T3, wherein the delay time delta T is determined according to a preset rule.
2. The intelligent alarm clock setting method according to claim 1, wherein the preset rules include:
and dividing the time after the standard off-duty time T0 into a plurality of time periods, wherein each time period corresponds to a different value of the delay time delta T.
3. The intelligent alarm clock setting method according to claim 2, wherein the preset rule further comprises:
comparing the off-duty time T1 with the plurality of time periods, and determining the time period N of the off-duty time T1;
obtaining the value delta t of the delay time delta t corresponding to the time period NN
4. The intelligent alarm clock setting method according to claim 2, wherein the step of dividing the time after the standard off-duty time T0 into a plurality of time periods comprises:
and dividing the time after the standard off-duty time T0 into a plurality of equally or unequally spaced time periods.
5. The intelligent alarm clock setting method according to claim 1, wherein the preset rules include:
and taking the delay time delta t as a preset fixed time length.
6. The intelligent alarm clock setting method according to claim 1, wherein the step of obtaining the off-hours time of the day T1 comprises:
acquiring off-duty time T1 of the current day from attendance software; or
Acquiring the off-duty time T1 of the current day from an OA system of the enterprise; or
Acquiring the time T4 of the last time of leaving the enterprise on the current day from positioning software, and if the time T4 of the last time of leaving the enterprise on the current day is not earlier than the attendance off-duty time T5 of the enterprise, taking the time T4 of the last time of leaving the enterprise on the current day as the off-duty time T1 of the current day; or
Acquiring the time T6 of the current day to home from positioning software, and taking the time (T6-T7) obtained by subtracting the time T7 of the business to home from the time T6 of the current day as the off-duty time T1 of the current day; or
And acquiring the working schedule information of the current day, and if the end time T8 of the last schedule in the working schedule information of the current day is later than the last time T4 of leaving the enterprise of the current day, taking the end time T8 of the last schedule as the off-duty time T1 of the current day.
7. An alarm clock intelligent setting method according to any of the claims 1-6, characterized in that, after the step of postponing the alarm clock time of the second day by a time Δ T based on a reference alarm clock time T2, an adjusted dynamic alarm clock time T3 is obtained, wherein the postponed time Δ T is determined according to a preset rule, further comprising:
and acquiring calendar time, and if the second day is a holiday, defining a first working day after the holiday as the second day.
8. An alarm clock intelligent setting method according to any of the claims 1 to 6, wherein the step of postponing the alarm clock time of the second day by a time Δ T based on a reference alarm clock time T2, resulting in an adjusted dynamic alarm clock time T3, wherein the postponing time Δ T is determined according to a preset rule, comprising:
obtaining calendar time, and judging whether the second day is a holiday or not;
if yes, determining the alarm clock time of the first working day after the holiday as the reference alarm clock time T2;
and if not, delaying the alarm clock time of the next day by a time delta T on the basis of the reference alarm clock time T2 to obtain an adjusted dynamic alarm clock time T3, wherein the delay time delta T is determined according to a preset rule.
9. Alarm clock setting device characterized in that it comprises a memory, a processor 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 intelligent setting method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that it has an alarm clock setting program stored thereon, which, when executed by a processor, implements the steps of the alarm clock intelligent setting method according to any one of claims 1 to 8.
CN202110254508.4A 2021-03-09 2021-03-09 Intelligent alarm clock setting method and device and computer readable storage medium Pending CN112801634A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110254508.4A CN112801634A (en) 2021-03-09 2021-03-09 Intelligent alarm clock setting method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110254508.4A CN112801634A (en) 2021-03-09 2021-03-09 Intelligent alarm clock setting method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112801634A true CN112801634A (en) 2021-05-14

Family

ID=75816727

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110254508.4A Pending CN112801634A (en) 2021-03-09 2021-03-09 Intelligent alarm clock setting method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112801634A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517307A (en) * 2017-08-03 2017-12-26 深圳市金立通信设备有限公司 A kind of method and its terminal that alarm clock is set
CN107580136A (en) * 2017-09-08 2018-01-12 深圳天珑无线科技有限公司 Alarm clock setting method, equipment and readable storage medium storing program for executing
CN107613136A (en) * 2017-10-10 2018-01-19 惠州Tcl移动通信有限公司 A kind of method, mobile terminal and the storage medium of the adjust automatically of intelligent alarm clock
WO2019041135A1 (en) * 2017-08-29 2019-03-07 深圳传音通讯有限公司 Alarm clock reminding method and device and computer-readable storage medium
CN109451156A (en) * 2018-11-06 2019-03-08 珠海格力电器股份有限公司 A kind of alarm clock automatic reminding method, system, intelligent terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517307A (en) * 2017-08-03 2017-12-26 深圳市金立通信设备有限公司 A kind of method and its terminal that alarm clock is set
WO2019041135A1 (en) * 2017-08-29 2019-03-07 深圳传音通讯有限公司 Alarm clock reminding method and device and computer-readable storage medium
CN107580136A (en) * 2017-09-08 2018-01-12 深圳天珑无线科技有限公司 Alarm clock setting method, equipment and readable storage medium storing program for executing
CN107613136A (en) * 2017-10-10 2018-01-19 惠州Tcl移动通信有限公司 A kind of method, mobile terminal and the storage medium of the adjust automatically of intelligent alarm clock
CN109451156A (en) * 2018-11-06 2019-03-08 珠海格力电器股份有限公司 A kind of alarm clock automatic reminding method, system, intelligent terminal

Similar Documents

Publication Publication Date Title
EP3454209A1 (en) Multi-task scheduling method and system, application server and computer-readable storage medium
US11301419B2 (en) Data retention handling for data object stores
CN110162384B (en) Redis distributed lock-based timeout time dynamic adjustment method and system
US20130332207A1 (en) System and method for intelligent management of appointment waiting list
US6442569B1 (en) Apparatus and method for data transfer between databases
CN110580544B (en) Traffic prediction method based on periodic dependence
CN111507608A (en) Work order early warning method and device and storage medium
CN109688218A (en) Method, apparatus, electronic equipment and the computer readable storage medium of pushed information
CN112801634A (en) Intelligent alarm clock setting method and device and computer readable storage medium
US20190266666A1 (en) Vehicle management device, vehicle management method, and non-transitory computer-readable medium
CN108648088B (en) Method and device for determining insurance effective date, storage medium and server
US20140153047A1 (en) Information processing apparatus, information processing system, and information processing method
CN109634812B (en) Process CPU occupancy rate control method of Linux system, terminal device and storage medium
KR100339498B1 (en) Method for scheduling of scheduler interlocking with radio communication system
CN111314561A (en) Intelligent reminding method, terminal and storage medium
CN114648289A (en) Schedule management method and system, terminal and computer storage medium
CN114742521A (en) Reminding method and device, computer equipment and computer readable storage medium
CN109764475B (en) Air treatment equipment, control method and device thereof, and computer readable storage medium
CN109523648B (en) Automatic card punching method and device, storage medium and terminal
CN113706114A (en) Information prompting method, device, equipment and storage medium based on user state
CN110780988B (en) Task triggering method and device and computer readable storage medium
CN114198858B (en) Task processing method, device and computer readable storage medium
US20230245075A1 (en) Precomputing user time resource utilization for querying for appointment distribution
CN114945909B (en) Optimized query scheduling for resource utilization optimization
CN117495324A (en) Management method, processor, device and storage medium for employee canteen consumption

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