WO2017185624A1 - 一种闹钟实现方法、装置和电子设备 - Google Patents
一种闹钟实现方法、装置和电子设备 Download PDFInfo
- Publication number
- WO2017185624A1 WO2017185624A1 PCT/CN2016/100274 CN2016100274W WO2017185624A1 WO 2017185624 A1 WO2017185624 A1 WO 2017185624A1 CN 2016100274 W CN2016100274 W CN 2016100274W WO 2017185624 A1 WO2017185624 A1 WO 2017185624A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- alarm
- current date
- wake
- working day
- setting
- 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.)
- Ceased
Links
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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/10—Office automation; Time management
Definitions
- the present application relates to the field of information processing technologies, and in particular, to an alarm clock implementation method, apparatus, and electronic device.
- the alarm clock of the smart mobile terminal can be set once and then repeated multiple times, that is, it is not necessary to set or turn on the alarm every night. For example, a user can set an alarm to make a ringtone reminder at a fixed time each day. For regular office workers, then he only needs to wake up the alarm on the morning of the weekday, but not on weekends. Therefore, the alarm clock of the existing smart mobile terminal can also be selected to be repeated only from Monday to Friday.
- the above alarm clock greatly reduces the required user operations, it requires the user to manually turn off or turn on the holidays other than the weekend and the day off work except the working day. If the user forgets to turn off the alarm the day before the day off, or forget to add the alarm for the next day the day before the day of work, It may happen that you are woken up by an alarm clock on a rest day or oversleep on the day of work because there is no alarm clock.
- the technical problem to be solved by the present application is that the existing alarm clock cannot automatically adjust the wake-up alarm according to the holiday.
- the method for implementing an alarm clock includes the following steps: determining whether the current date is a holiday, and whether the current date is set to wake up the working day; if the current date is not a holiday and the working day is not set to wake up the alarm, the other is obtained.
- the date of the weekday wakes up the alarm; reminds you of the reminder strategy for wake-up alarms on weekdays on other days.
- the method further comprises: canceling the working day wake-up alarm if the current date is a holiday and the working day wake-up alarm is set.
- the reminder strategies for waking up the alarm clock on weekdays of other dates include reminder mode and/or ringtone and/or reminder time and/or number of reminders and/or stop operation.
- the step of determining whether the current date has set the working day wake-up alarm comprises: obtaining a historical alarm setting in the preset time period; and extracting an alarm setting of the normal working day in the historical alarm setting in the preset time period; according to the normal working day
- the alarm setting determines whether the current date is set to the weekday wake-up alarm.
- the step of determining whether the current date has set the working day wake-up alarm according to the alarm setting of the normal working day comprises: obtaining the number of times of each alarm setting in the alarm setting of the normal working day; respectively, respectively, respectively, each alarm of the current date is used most frequently The alarm settings are compared; if there is an alarm in the current date that matches the time of the most used alarm setting The clock determines that the current date has set the working day wake-up alarm.
- the step of determining whether the current date has set the working day wake-up alarm comprises: respectively obtaining the reminding time of the alarm clock of the current date; determining whether the current date has an alarm clock between 6 am and 9 am during the reminding time; if yes, Determines that the current date sets the weekday wake-up alarm.
- An alarm clock implementing apparatus includes: a determining unit, configured to determine whether the current date is a holiday, and whether the current date is set to a working day wake-up alarm; and the reference reminding policy obtaining unit, if the current date is not a holiday and there is no Set the working day wake-up alarm, which is used to obtain the working day wake-up alarm for other dates; the automatic reminder unit is used to remind the reminding strategy based on the working day wake-up alarm of other dates.
- the device further comprises: an automatic cancellation unit, configured to cancel the working day wake-up alarm if the current date is a holiday and the working day wake-up alarm is set.
- an automatic cancellation unit configured to cancel the working day wake-up alarm if the current date is a holiday and the working day wake-up alarm is set.
- the determining unit includes: a history setting acquiring unit, configured to acquire a historical alarm clock setting in a preset time period; and a historical alarm setting setting unit, configured to extract an alarm setting of a normal working day in the historical alarm setting in the preset time period
- the alarm setting determination unit is configured to determine whether the current date is set to wake up the alarm according to the alarm setting of the normal working day.
- the alarm setting determination unit includes: a usage number acquisition unit, configured to acquire the number of times of each alarm setting in the alarm setting of the normal working day; and a comparison unit, configured to set each alarm of the current date and the alarm with the most usage For comparison, the determining unit, if there is an alarm clock matching the time set by the most used alarm clock in the alarm clock of the current date, is used to determine that the current date sets the working day wake-up alarm.
- An electronic device provided by an embodiment of the present application includes at least one processor; and, The at least one processor communicatively coupled memory; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor Capable of: determining whether the current date is a holiday, and whether the current date is set to a weekday wake-up alarm; if the current date is not a holiday and the working day wake-up alarm is not set, acquiring a weekday wake-up alarm of another date; according to the other date The reminder strategy for wake-up alarms on the working day is reminded.
- the electronic device enables the at least one processor to further cancel the weekday wake-up alarm if the current date is a holiday and the weekday wake-up alarm is set.
- the reminder policy of the other day's weekday wake-up alarm includes a reminder mode and/or a ringtone and/or a reminder time and/or a reminder time and/or a stop operation.
- the determining whether the current date has set the working day wake-up alarm comprises: acquiring a historical alarm setting in the preset time period; and extracting an alarm setting of the normal working day in the historical alarm setting in the preset time period; The alarm setting of the normal working day determines whether the current date is set to wake up the working day.
- the determining, according to the alarm setting of the normal working day, whether the current date is set to the working day wake-up alarm comprises: obtaining the usage times of each alarm setting in the alarm setting of the normal working day; Compare with the most used alarm settings; if there is an alarm in the alarm of the current date that matches the time set by the most used alarm, it is determined that the current date has set the weekday wake-up alarm.
- the determining whether the current date has set a working day wake-up alarm includes: obtaining respectively The reminder time of the alarm clock of the current date is taken; the current date is judged whether there is an alarm clock between 6 am and 9 am during the reminding time; if yes, it is determined that the current date sets the working day wake-up alarm.
- a non-volatile computer storage medium provided by an embodiment of the present application, wherein the storage medium stores computer-executable instructions that, when executed by an electronic device, enable the electronic device to: determine whether the current date is Is the holiday, and whether the current date is set to the weekday wake-up alarm; if the current date is not a holiday and the weekday wake-up alarm is not set, the weekday wake-up alarm is acquired for other dates; the alarm is awakened according to the weekday of the other date Remind the strategy to remind you.
- the non-volatile computer storage medium is such that the electronic device is further capable of canceling the weekday wake-up alarm when the current date is a holiday and the weekday wake-up alarm is set.
- the reminder policy of the other day's weekday wake-up alarm includes a reminder mode and/or a ringtone and/or a reminder time and/or a reminder time and/or a stop operation.
- the determining whether the current date has set the working day wake-up alarm comprises: acquiring a historical alarm setting in the preset time period; and extracting an alarm setting of the normal working day in the historical alarm setting in the preset time period; The alarm setting of the normal working day determines whether the current date is set to wake up the working day.
- the determining, according to the alarm setting of the normal working day, whether the current date is set to the working day wake-up alarm comprises: obtaining the usage times of each alarm setting in the alarm setting of the normal working day; Compare with the most used alarm settings; if there is a time kiss with the most used alarms in the alarm for the current date The combined alarm clock determines that the current date has set the working day wake-up alarm.
- the determining whether the current date has set the working day wake-up alarm comprises: respectively obtaining the reminding time of the alarm clock of the current date; determining whether the current date has an alarm clock between 6:00 and 9:00 am; if yes, Determines that the current date sets the weekday wake-up alarm.
- the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
- the computer is caused to perform the method of any of the above.
- the method, device and electronic device for implementing the alarm clock provided by the embodiment of the present application can automatically adjust the alarm reminder according to whether the current date is a holiday. If the user forgets to set or adjust the alarm clock one day before the working day, the user automatically sets the alarm according to the previous setting. A reminder strategy to wake up the alarm clock on the working day to remind. If the user forgets to turn off the alarm on the day before the rest day, the wake-up alarm for the rest day can be automatically cancelled.
- the method, device and electronic device for implementing the alarm provided by the embodiment of the present application can determine whether the current date is set to wake up the alarm according to the alarm setting record of the normal working day in the previous period. Thus, only the reminder to wake up the alarm on the working day is cancelled, and the reminder is not cancelled for other alarms, such as a holiday wake-up alarm or an event reminder alarm.
- FIG. 1 is a flowchart of a method for implementing an alarm clock according to Embodiment 1 of the present application;
- FIG. 2 is a schematic block diagram of an apparatus for implementing an alarm clock according to Embodiment 2 of the present application;
- FIG. 3 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present application.
- connection or integral connection; can be mechanical connection or electrical connection; can be directly connected, indirectly connected through an intermediate medium, or can be internal to two components
- the connectivity can be either a wireless connection or a wired connection.
- this embodiment provides a method for implementing an alarm clock, including the following steps:
- S3 Remind according to the reminder strategy of wake-up alarm on weekdays of other dates.
- the alarm clock implementation method provided in this embodiment can automatically adjust the alarm alarm according to whether the current date is a holiday. If the user forgets to set or adjust the alarm on the day before the working day, the alarm is automatically triggered according to the reminder strategy of the working day set by the user. remind.
- the reminder strategy includes a reminder mode (belling or vibrating or other means), a ringtone (belling music and ringtone size, etc.), a reminder time (a few starts to remind), a reminder number (a reminder repetition number), and a stop operation The part in (stop reminder). Specifically, whether the current date is a holiday is obtained from a calendar application.
- the method further includes:
- the current date is a holiday and the weekday wake-up alarm is set, cancel the weekday wake-up Alarm reminder. That is, if the user forgets to turn off the alarm on the day before the rest day, the wake-up alarm for the rest day can be automatically cancelled.
- the alarm is automatically adjusted to wake up the holiday. Specifically, the reminder time for the holiday wake-up alarm is later than the reminder time for the wake-up alarm on the working day.
- the step S1 that is, determining whether the current date has set the working day wake-up alarm, includes:
- the alarm clock implementation method provided in this embodiment may determine whether the current date is set to wake up the alarm according to the alarm setting record of the normal working day in the previous period of time. Thus, only the reminder to wake up the alarm on the working day is cancelled, and the alarm is not cancelled for other alarms, such as the holiday wake-up alarm.
- the step of determining whether the current date is set to wake up the alarm on the current date according to the alarm setting of the normal working day includes:
- the alarm clock setting with the most usage is automatically regarded as the working day wake-up alarm setting.
- the working day wake-up alarm of the other date is also judged according to the above method, that is, automatically judges other Which alarm clock in the date (previous) is the working day wake-up alarm.
- the step of determining whether the current date has set the working day wake-up alarm includes:
- the alarm clock implementation method provided in this embodiment reminds the alarm clock that the reminder time is between 6 am and 9 am as the working day wake-up alarm clock.
- the last method is used to judge the working day to wake up the alarm clock.
- the embodiment provides an alarm clock implementation device, including:
- the determining unit U1 is configured to determine whether the current date is a holiday, and whether the current date is set to a working day wake-up alarm;
- the reminder policy obtaining unit U2 if the current date is not a holiday and the working day wake-up alarm is not set, the working day wake-up alarm for acquiring other dates;
- the automatic reminding unit U3 is used for reminding according to the reminding strategy of the wake-up alarm on the working day of other dates.
- the alarm realizing device provided in this embodiment can automatically adjust the alarm alarm according to whether the current date is a holiday. If the user forgets to set or adjust the alarm on the day before the working day, the alarm is automatically activated according to the reminding policy of the working day set by the user. remind.
- the device further includes:
- the unit is automatically canceled, and if the current date is a holiday and the weekday wake-up alarm is set, it is used to cancel the working day wake-up alarm. That is, if the user forgets to turn off the alarm on the day before the rest day, the wake-up alarm for the rest day can be automatically cancelled.
- the determining unit U1 includes:
- a history setting acquisition unit configured to acquire a history alarm setting in a preset time period
- the historical alarm clock setting extracting unit is configured to extract an alarm setting of a normal working day in the historical alarm setting in the preset time period;
- An alarm setting determining unit for judging that the current date is based on an alarm setting of a normal working day No Workday wake up alarm is set.
- the alarm realization device can determine whether the current date is set to wake up the alarm according to the alarm setting record of the normal working day in the previous period of time. Thus, only the reminder to wake up the alarm on the working day is cancelled, and the alarm is not cancelled for other alarms, such as the holiday wake-up alarm.
- the alarm setting determination unit includes:
- the usage number obtaining unit is configured to obtain the usage times of each alarm setting in the alarm setting of the normal working day;
- the comparison unit is configured to compare each alarm clock of the current date with the alarm clock setting with the most usage
- the determining unit is configured to determine that the current date has set the working day wake-up alarm if there is an alarm clock matching the time set by the most used alarm clock in the alarm clock of the current date.
- the alarm implementation device automatically considers the alarm clock setting that is used most frequently as the working day wake-up alarm setting.
- the determining unit U1 includes:
- a time period judging unit configured to determine whether the current date has an alarm clock with a reminding time between 6 am and 9 am;
- the second determining unit is configured to determine that the current date has set the working day wake-up alarm if the current date has an alarm clock with a reminding time between 6 am and 9 am.
- the alarm implementing device provided in this embodiment will remind the alarm clock that the reminding time is between 6 am and 9 am as the working day wake-up alarm.
- An electronic device includes at least one processor 810; and a memory 800 communicably coupled to the at least one processor 810; wherein the memory 800 is stored
- the at least one processor 810 executes an instruction executed by the at least one processor 810 to enable the at least one processor 810 to: determine whether the current date is a holiday, and whether the current date is set to a working day Wake up the alarm clock; if the current date is not a holiday and the working day wake-up alarm is not set, the working day wake-up alarm is acquired for other dates; and the reminding strategy for waking up the alarm according to the working day of the other date is reminded.
- the electronic device also includes an input device 830 and an output device 840 that are electrically coupled to the memory 800 and the processor, the electrical connections preferably being connected by a bus.
- the at least one processor is further capable of canceling the working day wake-up alarm when the current date is a holiday and the working day wake-up alarm is set.
- the workday of the other date wakes up the alarm clock
- the wake-up policy includes a reminder mode and/or a ringtone and/or reminder time and/or number of reminders and/or a stop operation.
- determining whether the current date is set to the working day wake-up alarm comprises: acquiring a historical alarm setting in the preset time period; and extracting the normal working time in the historical alarm setting in the preset time period The alarm setting of the day; determining whether the current date is set to wake up the alarm according to the alarm setting of the normal working day.
- determining, according to the alarm setting of the normal working day, whether the current date is set to the working day wake-up alarm comprises: obtaining the number of times of setting each alarm set in the alarm setting of the normal working day; Each alarm of the current date is compared with the alarm setting with the most usage; if there is an alarm in the alarm of the current date that matches the time set by the most used alarm, it is determined that the current date sets the working day wake-up alarm.
- determining whether the current date has set the working day wake-up alarm comprises: respectively obtaining the reminding time of the current date alarm clock; determining whether the current date has a reminding time between 6 am and 9 am Alarm clock; if yes, it determines that the current date has set the weekday wake-up alarm.
- a non-volatile computer storage medium provided by an embodiment of the present application, wherein the storage medium stores computer-executable instructions that, when executed by an electronic device, enable the electronic device to: determine whether the current date is Is the holiday, and whether the current date is set to the weekday wake-up alarm; if the current date is not a holiday and the weekday wake-up alarm is not set, the weekday wake-up alarm for other dates is obtained; the working day according to the other date Reminder reminder strategy to wake up the alarm.
- the non-volatile computer storage medium of the embodiment preferably the non-volatile computer storage medium, such that the electronic device is further capable of canceling the alarm if the current date is a holiday and the working day wake-up alarm is set The working day wakes up the alarm reminder.
- the reminder policy of the other day's weekday wake-up alarm includes a reminder mode and/or a ringtone and/or a reminder time and/or a reminder time and/or a stop operation.
- determining whether the current date has set the working day wake-up alarm comprises: acquiring a historical alarm setting in the preset time period; and extracting the history in the preset time period The alarm setting of the normal working day in the alarm setting; determining whether the current date is set to wake up the alarm according to the alarm setting of the normal working day.
- determining, according to the alarm setting of the normal working day, whether the current date is set to the working day wake-up alarm comprises: obtaining each alarm in the alarm setting of the normal working day Set the number of uses; compare each alarm of the current date with the most used alarm setting; if there is an alarm in the alarm of the current date that matches the time set by the most used alarm, it is determined that the current date is set to work. Wake up the alarm clock.
- the determining whether the current date has set the working day wake-up alarm comprises: respectively obtaining the reminding time of the current date alarm; determining whether the current date has a reminding time at 6 am An alarm clock between nine o'clock; if yes, it is determined that the current date has set a weekday wake-up alarm.
- the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
- the computer is caused to perform the method of any of the above.
- embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
- computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the device is implemented in a flow chart A function specified in a block or blocks of a process or multiple processes and/or block diagrams.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- Operations Research (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Data Mining & Analysis (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Electric Clocks (AREA)
Abstract
本申请提供了一种闹钟实现方法、装置和电子设备,涉及信息处理技术领域,该方法包括如下步骤:判断当前日期是否是节假日,以及当前日期是否设置了工作日唤醒闹钟;如果当前日期不是节假日且没有设置工作日唤醒闹钟,则获取其他日期的工作日唤醒闹钟;根据其他日期的工作日唤醒闹钟的提醒策略进行提醒。本申请可以根据当前日期是否是节假日来自动调整闹钟提醒,如果用户忘记在上班日前一天设置或者调整闹钟的话,就自动根据用户之前设置的工作日唤醒闹钟的提醒策略进行提醒。
Description
交叉引用
本申请为在2016年04月29日提交中国专利局、申请号为201610282478.7、发明名称为“一种闹钟实现方法及装置”的中国专利申请的继续申请,本申请要求在2016年04月29日提交中国专利局、申请号为201610282478.7、发明名称为“一种闹钟实现方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及信息处理技术领域,具体涉及一种闹钟实现方法、装置和电子设备。
现有智能移动终端大多具备闹钟功能,例如智能手机。与传统闹钟一样,用户可以根据自己的需要来设置闹钟。但与传统闹钟相比,智能移动终端的闹钟可以设置一次,然后多次重复,即不需要每天晚上都去设置或开启闹钟。例如,用户可以设置一个闹钟,每天在固定的时间进行铃声提醒。对于规律的上班族用户来说,那么他就只需要在工作日的早上需要唤醒闹钟,而在周末时候就不需要了。因此,现有的智能移动终端的闹钟还可以选择仅在周一至周五重复。
上述闹钟虽然大大减少了所需的用户操作,但是遇到除周末外的节假日和除工作日外的调休上班日,就需要用户手动关闭或开启了。如果用户忘记在休息日前一天关闭闹钟或者忘记在上班日前一天添加第二天的闹钟,
就有可能出现在休息日被闹钟吵醒或在上班日因没有闹钟而睡过头的情况。
发明内容
因此,本申请要解决的技术问题在于现有闹钟不能自动根据节假日调整唤醒闹钟。
为此,本申请实施例提供了如下技术方案:
本申请实施例提供的一种闹钟实现方法,包括如下步骤:判断当前日期是否是节假日,以及当前日期是否设置了工作日唤醒闹钟;如果当前日期不是节假日且没有设置工作日唤醒闹钟,则获取其他日期的工作日唤醒闹钟;根据其他日期的工作日唤醒闹钟的提醒策略进行提醒。
优选地,该方法还包括:如果当前日期是节假日且设置了工作日唤醒闹钟,则取消工作日唤醒闹钟提醒。
优选地,其他日期的工作日唤醒闹钟的提醒策略包括提醒方式和/或铃声和/或提醒时间和/或提醒次数和/或停止操作。
优选地,判断当前日期是否设置了工作日唤醒闹钟的步骤包括:获取预设时间段内的历史闹钟设置;提取预设时间段内的历史闹钟设置中正常工作日的闹钟设置;根据正常工作日的闹钟设置判断当前日期是否设置了工作日唤醒闹钟。
优选地,根据正常工作日的闹钟设置判断当前日期是否设置了工作日唤醒闹钟的步骤包括:获取正常工作日的闹钟设置中各个闹钟设置的使用次数;将当前日期的各个闹钟分别与使用次数最多的闹钟设置进行对比;如果当前日期的闹钟中存在有与使用次数最多的闹钟设置的时间吻合的闹
钟,则判定当前日期设置了工作日唤醒闹钟。
优选地,判断当前日期是否设置了工作日唤醒闹钟的步骤包括:分别获取当前日期的闹钟的提醒时间;判断当前日期是否有提醒时间在上午六点到九点之间的闹钟;如果是,则判定当前日期设置了工作日唤醒闹钟。
本申请实施例提供的一种闹钟实现装置,包括:判断单元,用于判断当前日期是否是节假日,以及当前日期是否设置了工作日唤醒闹钟;参考提醒策略获取单元,如果当前日期不是节假日且没有设置工作日唤醒闹钟,则用于获取其他日期的工作日唤醒闹钟;自动提醒单元,用于根据其他日期的工作日唤醒闹钟的提醒策略进行提醒。
优选地,该装置还包括:自动取消单元,如果当前日期是节假日且设置了工作日唤醒闹钟,则用于取消工作日唤醒闹钟提醒。
优选地,判断单元包括:历史设置获取单元,用于获取预设时间段内的历史闹钟设置;历史闹钟设置提取单元,用于提取预设时间段内的历史闹钟设置中正常工作日的闹钟设置;闹钟设置判断单元,用于根据正常工作日的闹钟设置判断当前日期是否设置了工作日唤醒闹钟。
优选地,闹钟设置判断单元包括:使用次数获取单元,用于获取正常工作日的闹钟设置中各个闹钟设置的使用次数;对比单元,用于将当前日期的各个闹钟分别与使用次数最多的闹钟设置进行对比;判定单元,如果当前日期的闹钟中存在有与使用次数最多的闹钟设置的时间吻合的闹钟,则用于判定当前日期设置了工作日唤醒闹钟。
本申请实施例提供的一种电子设备,包括至少一个处理器;以及,与
所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:判断当前日期是否是节假日,以及当前日期是否设置了工作日唤醒闹钟;如果当前日期不是节假日且没有设置所述工作日唤醒闹钟,则获取其他日期的工作日唤醒闹钟;根据所述其他日期的工作日唤醒闹钟的提醒策略进行提醒。
优选地,所述电子设备,使所述至少一个处理器还能够:如果当前日期是节假日且设置了所述工作日唤醒闹钟,则取消所述工作日唤醒闹钟提醒。
优选地,所述其他日期的工作日唤醒闹钟的提醒策略包括提醒方式和/或铃声和/或提醒时间和/或提醒次数和/或停止操作。
优选地,所述判断当前日期是否设置了工作日唤醒闹钟包括:获取预设时间段内的历史闹钟设置;提取所述预设时间段内的历史闹钟设置中正常工作日的闹钟设置;根据所述正常工作日的闹钟设置判断当前日期是否设置了所述工作日唤醒闹钟。
优选地,所述根据所述正常工作日的闹钟设置判断当前日期是否设置了所述工作日唤醒闹钟包括:获取正常工作日的闹钟设置中各个闹钟设置的使用次数;将当前日期的各个闹钟分别与使用次数最多的闹钟设置进行对比;如果当前日期的闹钟中存在有与使用次数最多的闹钟设置的时间吻合的闹钟,则判定当前日期设置了工作日唤醒闹钟。
优选地,所述判断当前日期是否设置了工作日唤醒闹钟包括:分别获
取当前日期的闹钟的提醒时间;判断当前日期是否有提醒时间在上午六点到九点之间的闹钟;如果是,则判定当前日期设置了工作日唤醒闹钟。
本申请实施例提供的一种非易失性计算机存储介质,其中,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:判断当前日期是否是节假日,以及当前日期是否设置了工作日唤醒闹钟;如果当前日期不是节假日且没有设置所述工作日唤醒闹钟,则获取其他日期的工作日唤醒闹钟;根据所述其他日期的工作日唤醒闹钟的提醒策略进行提醒。
优选地,所述的非易失性计算机存储介质,使得电子设备还能够:如果当前日期是节假日且设置了所述工作日唤醒闹钟,则取消所述工作日唤醒闹钟提醒。
优选地,所述其他日期的工作日唤醒闹钟的提醒策略包括提醒方式和/或铃声和/或提醒时间和/或提醒次数和/或停止操作。
优选地,所述判断当前日期是否设置了工作日唤醒闹钟包括:获取预设时间段内的历史闹钟设置;提取所述预设时间段内的历史闹钟设置中正常工作日的闹钟设置;根据所述正常工作日的闹钟设置判断当前日期是否设置了所述工作日唤醒闹钟。
优选地,所述根据所述正常工作日的闹钟设置判断当前日期是否设置了所述工作日唤醒闹钟包括:获取正常工作日的闹钟设置中各个闹钟设置的使用次数;将当前日期的各个闹钟分别与使用次数最多的闹钟设置进行对比;如果当前日期的闹钟中存在有与使用次数最多的闹钟设置的时间吻
合的闹钟,则判定当前日期设置了工作日唤醒闹钟。
优选地,所述判断当前日期是否设置了工作日唤醒闹钟包括:分别获取当前日期的闹钟的提醒时间;判断当前日期是否有提醒时间在上午六点到九点之间的闹钟;如果是,则判定当前日期设置了工作日唤醒闹钟。
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一所述的方法。
本申请技术方案,具有如下优点:
1.本申请实施例提供的闹钟实现方法、装置和电子设备,可以根据当前日期是否是节假日来自动调整闹钟提醒,如果用户忘记在上班日前一天设置或者调整闹钟的话,就自动根据用户之前设置的工作日唤醒闹钟的提醒策略进行提醒。如果用户忘记在休息日前一天关闭闹钟的话,可以自动取消休息日的唤醒闹钟。
2.本申请实施例提供的闹钟实现方法、装置和电子设备,可以根据前一段时间内正常工作日的闹钟设置记录判断当前日期是否设置了工作日唤醒闹钟。从而,只取消工作日唤醒闹钟的提醒,对于其他闹钟,例如节假日唤醒闹钟或事项提醒闹钟则不取消提醒。
为了更清楚地说明本申请具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,
显而易见地,下面描述中的附图是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例1中闹钟实现方法的流程图;
图2为本申请实施例2中闹钟实现装置的原理框图;
图3为本申请实施例的电子设备的硬件结构示意图。
下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
在本发明的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部
的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。
此外,下面所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。
实施例1
如图1所示,本实施例提供一种闹钟实现方法,包括如下步骤:
S1:判断当前日期是否是节假日,以及当前日期是否设置了工作日唤醒闹钟;
S2:如果当前日期不是节假日且没有设置工作日唤醒闹钟,则获取其他日期的工作日唤醒闹钟;
S3:根据其他日期的工作日唤醒闹钟的提醒策略进行提醒。
本实施例提供的闹钟实现方法,可以根据当前日期是否是节假日来自动调整闹钟提醒,如果用户忘记在上班日前一天设置或者调整闹钟的话,就自动根据用户之前设置的工作日唤醒闹钟的提醒策略进行提醒。具体地,该提醒策略包括提醒方式(响铃还是震动或者其他方式)、铃声(响铃的音乐和铃声大小等)、提醒时间(几点开始提醒)、提醒次数(提醒重复次数)和停止操作(停止提醒)中的部分。具体地,上述当前日期是否是节假日是从日历应用中获取的。
另外,该方法还包括:
如果当前日期是节假日且设置了工作日唤醒闹钟,则取消工作日唤醒
闹钟提醒。即如果用户忘记在休息日前一天关闭闹钟的话,可以自动取消休息日的唤醒闹钟。
在其他的实施方式里,如果当前日期是节假日且设置了工作日唤醒闹钟,就自动调整为节假日唤醒闹钟。具体地,节假日唤醒闹钟的提醒时间比工作日唤醒闹钟的提醒时间迟。
作为优选的实施方式,上述步骤S1,即判断当前日期是否设置了工作日唤醒闹钟的步骤包括:
获取预设时间段内的历史闹钟设置;
提取预设时间段内的历史闹钟设置中正常工作日的闹钟设置;
根据正常工作日的闹钟设置判断当前日期是否设置了工作日唤醒闹钟。
由于用户不仅仅可以使用闹钟来实现唤醒功能,也可以使用闹钟来实现其他事项的提醒。因此,如果只要是节假日就关闭一切闹钟的话,那么其他事项提醒的闹钟也就被关闭了,可能导致用户错过重要事件。本实施例提供的闹钟实现方法,可以根据前一段时间内正常工作日的闹钟设置记录判断当前日期是否设置了工作日唤醒闹钟。从而,只取消工作日唤醒闹钟的提醒,对于其他闹钟,例如节假日唤醒闹钟则不取消提醒。
作为具体的实施方式,上述根据正常工作日的闹钟设置判断当前日期是否设置了工作日唤醒闹钟的步骤包括:
获取正常工作日的闹钟设置中各个闹钟设置的使用次数;
将当前日期的各个闹钟分别与使用次数最多的闹钟设置进行对比;
如果当前日期的闹钟中存在有与使用次数最多的闹钟设置的时间吻合的闹钟,则判定当前日期设置了工作日唤醒闹钟。
一般来说,对于具有自动重复功能的闹钟,用户的工作日唤醒闹钟都是一次设置后很少再动的,并且工作日唤醒闹钟也是使用最频繁的,而其他的事项提醒闹钟一般都需要每次设置,因为各事项提醒的时间都不一样。因此,本实施例提供的闹钟实现方法,就自动将使用次数最多的闹钟设置认为是工作日唤醒闹钟设置。
另外,当用户忘记在上班日前一天设置工作日唤醒闹钟,自动根据其他日期的工作日唤醒闹钟的提醒策略进行提醒时,该其他日期的工作日唤醒闹钟也是根据上述方法判断的,即自动判断其他日期(之前的)中哪一个闹钟是工作日唤醒闹钟。当然,也可以根据下述方法来判断之前的闹钟中哪一个是工作日唤醒闹钟。
作为另一具体的实施方式,上述判断当前日期是否设置了工作日唤醒闹钟的步骤包括:
分别获取当前日期的闹钟的提醒时间;
判断当前日期是否有提醒时间在上午六点到九点之间的闹钟;
如果是,则判定当前日期设置了工作日唤醒闹钟。
由于一般用户的上班时间都是在上午8点-9点,因此用户的工作日起床时间都会在6点-9点之间。因此,本实施例提供的闹钟实现方法就将提醒时间在上午六点到九点之间的闹钟认为是工作日唤醒闹钟。对于上夜班或者日夜倒班的用户就根据上一种方法来判断工作日唤醒闹钟。
实施例2
如图2所示,本施例提供一种闹钟实现装置,包括:
判断单元U1,用于判断当前日期是否是节假日,以及当前日期是否设置了工作日唤醒闹钟;
参考提醒策略获取单元U2,如果当前日期不是节假日且没有设置工作日唤醒闹钟,则用于获取其他日期的工作日唤醒闹钟;
自动提醒单元U3,用于根据其他日期的工作日唤醒闹钟的提醒策略进行提醒。
本实施例提供的闹钟实现装置,可以根据当前日期是否是节假日来自动调整闹钟提醒,如果用户忘记在上班日前一天设置或者调整闹钟的话,就自动根据用户之前设置的工作日唤醒闹钟的提醒策略进行提醒。
另外,该装置还包括:
自动取消单元,如果当前日期是节假日且设置了工作日唤醒闹钟,则用于取消工作日唤醒闹钟提醒。即如果用户忘记在休息日前一天关闭闹钟的话,可以自动取消休息日的唤醒闹钟。
作为优选的实施方式,上述判断单元U1包括:
历史设置获取单元,用于获取预设时间段内的历史闹钟设置;
历史闹钟设置提取单元,用于提取预设时间段内的历史闹钟设置中正常工作日的闹钟设置;
闹钟设置判断单元,用于根据正常工作日的闹钟设置判断当前日期是
否设置了工作日唤醒闹钟。
由于用户不仅仅可以使用闹钟来实现唤醒功能,也可以使用闹钟来实现其他事项的提醒。因此,如果只要是节假日就关闭一切闹钟的话,那么其他事项提醒的闹钟也就被关闭了,可能导致用户错过重要事件。本实施例提供的闹钟实现装置,可以根据前一段时间内正常工作日的闹钟设置记录判断当前日期是否设置了工作日唤醒闹钟。从而,只取消工作日唤醒闹钟的提醒,对于其他闹钟,例如节假日唤醒闹钟则不取消提醒。
作为具体的实施方式,上述闹钟设置判断单元包括:
使用次数获取单元,用于获取正常工作日的闹钟设置中各个闹钟设置的使用次数;
对比单元,用于将当前日期的各个闹钟分别与使用次数最多的闹钟设置进行对比;
判定单元,如果当前日期的闹钟中存在有与使用次数最多的闹钟设置的时间吻合的闹钟,则用于判定当前日期设置了工作日唤醒闹钟。
一般来说,对于具有自动重复功能的闹钟,用户的工作日唤醒闹钟都是一次设置后很少再动的,并且工作日唤醒闹钟也是使用最频繁的,而其他的事项提醒闹钟一般都需要每次设置,因为各事项提醒的时间都不一样。因此,本实施例提供的闹钟实现装置,就自动将使用次数最多的闹钟设置认为是工作日唤醒闹钟设置。
作为另一优选的实施方式,上述判断单元U1包括:
提醒时间获取单元,用于分别获取当前日期的闹钟的提醒时间;
时间段判断单元,用于判断当前日期是否有提醒时间在上午六点到九点之间的闹钟;
第二判定单元,如果当前日期有提醒时间在上午六点到九点之间的闹钟,则用于判定当前日期设置了工作日唤醒闹钟。
由于一般用户的上班时间都是在上午8点-9点,因此用户的工作日起床时间都会在6点-9点之间。因此,本实施例提供的闹钟实现装置就将提醒时间在上午六点到九点之间的闹钟认为是工作日唤醒闹钟。
实施例3
本申请实施例提供的一种电子设备,如图3所示,包括至少一个处理器810;以及,与所述至少一个处理器810通信连接的存储器800;其中,所述存储器800存储有可被所述至少一个处理器810执行的指令,所述指令被所述至少一个处理器810执行,以使所述至少一个处理器810能够:判断当前日期是否是节假日,以及当前日期是否设置了工作日唤醒闹钟;如果当前日期不是节假日且没有设置所述工作日唤醒闹钟,则获取其他日期的工作日唤醒闹钟;根据所述其他日期的工作日唤醒闹钟的提醒策略进行提醒。所述电子设备还包括与所述存储器800和所述处理器电连接的输入装置830和输出装置840,所述电连接优选为通过总线连接。
本实施例的电子设备,优选地,使所述至少一个处理器还能够:如果当前日期是节假日且设置了所述工作日唤醒闹钟,则取消所述工作日唤醒闹钟提醒。
本实施例的电子设备,优选地,所述其他日期的工作日唤醒闹钟的提
醒策略包括提醒方式和/或铃声和/或提醒时间和/或提醒次数和/或停止操作。
本实施例的电子设备,优选地,所述判断当前日期是否设置了工作日唤醒闹钟包括:获取预设时间段内的历史闹钟设置;提取所述预设时间段内的历史闹钟设置中正常工作日的闹钟设置;根据所述正常工作日的闹钟设置判断当前日期是否设置了所述工作日唤醒闹钟。
本实施例的电子设备,优选地,所述根据所述正常工作日的闹钟设置判断当前日期是否设置了所述工作日唤醒闹钟包括:获取正常工作日的闹钟设置中各个闹钟设置的使用次数;将当前日期的各个闹钟分别与使用次数最多的闹钟设置进行对比;如果当前日期的闹钟中存在有与使用次数最多的闹钟设置的时间吻合的闹钟,则判定当前日期设置了工作日唤醒闹钟。
本实施例的电子设备,优选地,所述判断当前日期是否设置了工作日唤醒闹钟包括:分别获取当前日期的闹钟的提醒时间;判断当前日期是否有提醒时间在上午六点到九点之间的闹钟;如果是,则判定当前日期设置了工作日唤醒闹钟。
实施例4
本申请实施例提供的一种非易失性计算机存储介质,其中,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:判断当前日期是否是节假日,以及当前日期是否设置了工作日唤醒闹钟;如果当前日期不是节假日且没有设置所述工作日唤醒闹钟,则获取其他日期的工作日唤醒闹钟;根据所述其他日期的工作日
唤醒闹钟的提醒策略进行提醒。
本实施例的非易失性计算机存储介质,优选地,所述的非易失性计算机存储介质,使得电子设备还能够:如果当前日期是节假日且设置了所述工作日唤醒闹钟,则取消所述工作日唤醒闹钟提醒。
本实施例的非易失性计算机存储介质,优选地,所述其他日期的工作日唤醒闹钟的提醒策略包括提醒方式和/或铃声和/或提醒时间和/或提醒次数和/或停止操作。
本实施例的非易失性计算机存储介质,优选地,所述判断当前日期是否设置了工作日唤醒闹钟包括:获取预设时间段内的历史闹钟设置;提取所述预设时间段内的历史闹钟设置中正常工作日的闹钟设置;根据所述正常工作日的闹钟设置判断当前日期是否设置了所述工作日唤醒闹钟。
本实施例的非易失性计算机存储介质,优选地,所述根据所述正常工作日的闹钟设置判断当前日期是否设置了所述工作日唤醒闹钟包括:获取正常工作日的闹钟设置中各个闹钟设置的使用次数;将当前日期的各个闹钟分别与使用次数最多的闹钟设置进行对比;如果当前日期的闹钟中存在有与使用次数最多的闹钟设置的时间吻合的闹钟,则判定当前日期设置了工作日唤醒闹钟。
本实施例的非易失性计算机存储介质,优选地,所述判断当前日期是否设置了工作日唤醒闹钟包括:分别获取当前日期的闹钟的提醒时间;判断当前日期是否有提醒时间在上午六点到九点之间的闹钟;如果是,则判定当前日期设置了工作日唤醒闹钟。
实施例5
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一所述的方法。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个
流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本发明创造的保护范围之中。
Claims (23)
- 一种闹钟实现方法,其特征在于,包括:判断当前日期是否是节假日,以及当前日期是否设置了工作日唤醒闹钟;如果当前日期不是节假日且没有设置所述工作日唤醒闹钟,则获取其他日期的工作日唤醒闹钟;根据所述其他日期的工作日唤醒闹钟的提醒策略进行提醒。
- 根据权利要求1所述的方法,其特征在于,还包括:如果当前日期是节假日且设置了所述工作日唤醒闹钟,则取消所述工作日唤醒闹钟提醒。
- 根据权利要求1或2所述的方法,其特征在于,所述其他日期的工作日唤醒闹钟的提醒策略包括提醒方式和/或铃声和/或提醒时间和/或提醒次数和/或停止操作。
- 根据权利要求1-3中任一项所述的方法,其特征在于,所述判断当前日期是否设置了工作日唤醒闹钟的步骤包括:获取预设时间段内的历史闹钟设置;提取所述预设时间段内的历史闹钟设置中正常工作日的闹钟设置;根据所述正常工作日的闹钟设置判断当前日期是否设置了所述工作日唤醒闹钟。
- 根据权利要求1-4中任一项所述的方法,其特征在于,所述根据所 述正常工作日的闹钟设置判断当前日期是否设置了所述工作日唤醒闹钟的步骤包括:获取正常工作日的闹钟设置中各个闹钟设置的使用次数;将当前日期的各个闹钟分别与使用次数最多的闹钟设置进行对比;如果当前日期的闹钟中存在有与使用次数最多的闹钟设置的时间吻合的闹钟,则判定当前日期设置了工作日唤醒闹钟。
- 根据权利要求1-5中任一项所述的方法,其特征在于,所述判断当前日期是否设置了工作日唤醒闹钟的步骤包括:分别获取当前日期的闹钟的提醒时间;判断当前日期是否有提醒时间在上午六点到九点之间的闹钟;如果是,则判定当前日期设置了工作日唤醒闹钟。
- 一种闹钟实现装置,其特征在于,包括:判断单元,用于判断当前日期是否是节假日,以及当前日期是否设置了工作日唤醒闹钟;参考提醒策略获取单元,如果当前日期不是节假日且没有设置所述工作日唤醒闹钟,则用于获取其他日期的工作日唤醒闹钟;自动提醒单元,用于根据所述其他日期的工作日唤醒闹钟的提醒策略进行提醒。
- 根据权利要求7所述的装置,其特征在于,还包括:自动取消单元,如果当前日期是节假日且设置了所述工作日唤醒闹钟,则用于取消所述工作日唤醒闹钟提醒。
- 根据权利要求7或8所述的装置,其特征在于,所述判断单元包括:历史设置获取单元,用于获取预设时间段内的历史闹钟设置;历史闹钟设置提取单元,用于提取所述预设时间段内的历史闹钟设置中正常工作日的闹钟设置;闹钟设置判断单元,用于根据所述正常工作日的闹钟设置判断当前日期是否设置了所述工作日唤醒闹钟。
- 根据权利要求7-9中任一项所述的装置,其特征在于,所述闹钟设置判断单元包括:使用次数获取单元,用于获取正常工作日的闹钟设置中各个闹钟设置的使用次数;对比单元,用于将当前日期的各个闹钟分别与使用次数最多的闹钟设置进行对比;判定单元,如果当前日期的闹钟中存在有与使用次数最多的闹钟设置的时间吻合的闹钟,则用于判定当前日期设置了工作日唤醒闹钟。
- 一种电子设备,其特征在于,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:判断当前日期是否是节假日,以及当前日期是否设置了工作日唤醒闹钟;如果当前日期不是节假日且没有设置所述工作日唤醒闹钟,则获取其他日期的工作日唤醒闹钟;根据所述其他日期的工作日唤醒闹钟的提醒策略进行提醒。
- 根据权利要求11所述的电子设备,其特征在于,使所述至少一个处理器还能够:如果当前日期是节假日且设置了所述工作日唤醒闹钟,则取消所述工作日唤醒闹钟提醒。
- 根据权利要求11或12所述的电子设备,其特征在于,所述其他日期的工作日唤醒闹钟的提醒策略包括提醒方式和/或铃声和/或提醒时间和/或提醒次数和/或停止操作。
- 根据权利要求11-13中任一项所述的电子设备,其特征在于,所述判断当前日期是否设置了工作日唤醒闹钟包括:获取预设时间段内的历史闹钟设置;提取所述预设时间段内的历史闹钟设置中正常工作日的闹钟设置;根据所述正常工作日的闹钟设置判断当前日期是否设置了所述工作日唤醒闹钟。
- 根据权利要求11-14中任一项所述的电子设备,其特征在于,所述根据所述正常工作日的闹钟设置判断当前日期是否设置了所述工作日唤醒 闹钟包括:获取正常工作日的闹钟设置中各个闹钟设置的使用次数;将当前日期的各个闹钟分别与使用次数最多的闹钟设置进行对比;如果当前日期的闹钟中存在有与使用次数最多的闹钟设置的时间吻合的闹钟,则判定当前日期设置了工作日唤醒闹钟。
- 根据权利要求11-15中任一项所述的电子设备,其特征在于,所述判断当前日期是否设置了工作日唤醒闹钟包括:分别获取当前日期的闹钟的提醒时间;判断当前日期是否有提醒时间在上午六点到九点之间的闹钟;如果是,则判定当前日期设置了工作日唤醒闹钟。
- 一种非易失性计算机存储介质,其特征在于,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:判断当前日期是否是节假日,以及当前日期是否设置了工作日唤醒闹钟;如果当前日期不是节假日且没有设置所述工作日唤醒闹钟,则获取其他日期的工作日唤醒闹钟;根据所述其他日期的工作日唤醒闹钟的提醒策略进行提醒。
- 根据权利要求17所述的非易失性计算机存储介质,其特征在于,使得电子设备还能够:如果当前日期是节假日且设置了所述工作日唤醒闹钟,则取消所述工作日唤醒闹钟提醒。
- 根据权利要求17或18所述的非易失性计算机存储介质,其特征在于,所述其他日期的工作日唤醒闹钟的提醒策略包括提醒方式和/或铃声和/或提醒时间和/或提醒次数和/或停止操作。
- 根据权利要求17-19中任一项所述的非易失性计算机存储介质,其特征在于,所述判断当前日期是否设置了工作日唤醒闹钟包括:获取预设时间段内的历史闹钟设置;提取所述预设时间段内的历史闹钟设置中正常工作日的闹钟设置;根据所述正常工作日的闹钟设置判断当前日期是否设置了所述工作日唤醒闹钟。
- 根据权利要求17-20中任一项所述的非易失性计算机存储介质,其特征在于,所述根据所述正常工作日的闹钟设置判断当前日期是否设置了所述工作日唤醒闹钟包括:获取正常工作日的闹钟设置中各个闹钟设置的使用次数;将当前日期的各个闹钟分别与使用次数最多的闹钟设置进行对比;如果当前日期的闹钟中存在有与使用次数最多的闹钟设置的时间吻合的闹钟,则判定当前日期设置了工作日唤醒闹钟。
- 根据权利要求17-21中任一项所述的非易失性计算机存储介质,其特征在于,所述判断当前日期是否设置了工作日唤醒闹钟包括:分别获取当前日期的闹钟的提醒时间;判断当前日期是否有提醒时间在上午六点到九点之间的闹钟;如果是,则判定当前日期设置了工作日唤醒闹钟。
- 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,其特征在于,当所述程序指令被计算机执行时,使所述计算机执行上述任一权利要求所述的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610282478.7 | 2016-04-29 | ||
| CN201610282478.7A CN105847579A (zh) | 2016-04-29 | 2016-04-29 | 一种闹钟实现方法及装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017185624A1 true WO2017185624A1 (zh) | 2017-11-02 |
Family
ID=56591891
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/100274 Ceased WO2017185624A1 (zh) | 2016-04-29 | 2016-09-27 | 一种闹钟实现方法、装置和电子设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105847579A (zh) |
| WO (1) | WO2017185624A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108833719A (zh) * | 2018-08-31 | 2018-11-16 | 阿里巴巴集团控股有限公司 | 提醒服务的实现方法及装置 |
| CN112116315A (zh) * | 2020-08-28 | 2020-12-22 | 泰康保险集团股份有限公司 | 日期确定装置及电子设备 |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105847579A (zh) * | 2016-04-29 | 2016-08-10 | 乐视控股(北京)有限公司 | 一种闹钟实现方法及装置 |
| CN107277233A (zh) * | 2017-06-01 | 2017-10-20 | 深圳天珑无线科技有限公司 | 智能匹配闹钟铃声的方法、设备及可读存储介质 |
| CN107222624A (zh) * | 2017-06-05 | 2017-09-29 | 广东欧珀移动通信有限公司 | 应用控制方法及相关产品 |
| CN107172291A (zh) * | 2017-06-06 | 2017-09-15 | 深圳市乃斯网络科技有限公司 | 终端闹钟的设置方法及系统 |
| CN107346483A (zh) * | 2017-06-30 | 2017-11-14 | 广东欧珀移动通信有限公司 | 闹铃设置方法、装置、存储介质及电子设备 |
| CN109005290A (zh) * | 2018-07-27 | 2018-12-14 | 努比亚技术有限公司 | 一种闹钟设置方法、终端及计算机可读存储介质 |
| CN111629106A (zh) * | 2020-05-22 | 2020-09-04 | Oppo(重庆)智能科技有限公司 | 闹钟控制方法、电子装置和非易失性计算机可读存储介质 |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101997950A (zh) * | 2010-05-19 | 2011-03-30 | 宇龙计算机通信科技(深圳)有限公司 | 一种闹钟实现的方法、装置及终端 |
| CN102750630A (zh) * | 2012-07-09 | 2012-10-24 | 宇龙计算机通信科技(深圳)有限公司 | 自动调整闹钟的方法和装置 |
| CN103188399A (zh) * | 2013-03-20 | 2013-07-03 | 北京小米科技有限责任公司 | 一种控制闹钟响铃的方法、装置及终端 |
| CN103475786A (zh) * | 2013-09-25 | 2013-12-25 | 上海斐讯数据通信技术有限公司 | 一种移动终端闹钟的设置方法及其系统 |
| US20140074535A1 (en) * | 2012-09-10 | 2014-03-13 | Vee-How Philip WOO-KWAN-CHUNG | System and method for alarm and calendar event management |
| CN104951921A (zh) * | 2014-03-26 | 2015-09-30 | 联想移动通信科技有限公司 | 一种提醒节假日的方法及装置 |
| CN105847579A (zh) * | 2016-04-29 | 2016-08-10 | 乐视控股(北京)有限公司 | 一种闹钟实现方法及装置 |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105262775A (zh) * | 2015-11-12 | 2016-01-20 | 北京百纳威尔无线通信设备有限公司 | 闹钟控制方法、装置、闹钟及电子设备 |
-
2016
- 2016-04-29 CN CN201610282478.7A patent/CN105847579A/zh active Pending
- 2016-09-27 WO PCT/CN2016/100274 patent/WO2017185624A1/zh not_active Ceased
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101997950A (zh) * | 2010-05-19 | 2011-03-30 | 宇龙计算机通信科技(深圳)有限公司 | 一种闹钟实现的方法、装置及终端 |
| CN102750630A (zh) * | 2012-07-09 | 2012-10-24 | 宇龙计算机通信科技(深圳)有限公司 | 自动调整闹钟的方法和装置 |
| US20140074535A1 (en) * | 2012-09-10 | 2014-03-13 | Vee-How Philip WOO-KWAN-CHUNG | System and method for alarm and calendar event management |
| CN103188399A (zh) * | 2013-03-20 | 2013-07-03 | 北京小米科技有限责任公司 | 一种控制闹钟响铃的方法、装置及终端 |
| CN103475786A (zh) * | 2013-09-25 | 2013-12-25 | 上海斐讯数据通信技术有限公司 | 一种移动终端闹钟的设置方法及其系统 |
| CN104951921A (zh) * | 2014-03-26 | 2015-09-30 | 联想移动通信科技有限公司 | 一种提醒节假日的方法及装置 |
| CN105847579A (zh) * | 2016-04-29 | 2016-08-10 | 乐视控股(北京)有限公司 | 一种闹钟实现方法及装置 |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108833719A (zh) * | 2018-08-31 | 2018-11-16 | 阿里巴巴集团控股有限公司 | 提醒服务的实现方法及装置 |
| CN108833719B (zh) * | 2018-08-31 | 2020-07-24 | 阿里巴巴集团控股有限公司 | 提醒服务的实现方法及装置 |
| CN112116315A (zh) * | 2020-08-28 | 2020-12-22 | 泰康保险集团股份有限公司 | 日期确定装置及电子设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105847579A (zh) | 2016-08-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2017185624A1 (zh) | 一种闹钟实现方法、装置和电子设备 | |
| US20140074535A1 (en) | System and method for alarm and calendar event management | |
| CN101707639B (zh) | 闹钟设置方法及装置 | |
| CN103491249A (zh) | 一种移动终端闹钟提醒取消方法及移动终端 | |
| CN101014065A (zh) | 一种自动提醒信息的方法和装置 | |
| CN107247516A (zh) | 闹钟启动方法、装置、穿戴式设备及存储介质 | |
| KR20070036516A (ko) | 스케줄 관리 휴대단말기 및 그 방법 | |
| CN101488995A (zh) | 通信终端和通信提示方法 | |
| WO2016074403A1 (zh) | 提醒信息处理方法及装置 | |
| CN102750630A (zh) | 自动调整闹钟的方法和装置 | |
| CN103188399A (zh) | 一种控制闹钟响铃的方法、装置及终端 | |
| CN104951921A (zh) | 一种提醒节假日的方法及装置 | |
| WO2017161836A1 (zh) | 一种利用闹钟进行音量提示的方法、装置、手机和电子设备 | |
| US10401799B2 (en) | Information processing apparatus, method for controlling information processing apparatus, and recording medium | |
| CN102594993A (zh) | 一种手机备忘录多次提醒功能的设置方法 | |
| CN105843038A (zh) | 一种控制闹钟的方法及装置 | |
| CN106529909A (zh) | 事件提醒方法及装置 | |
| CN106101419B (zh) | 一种基于移动终端的闹钟提示方法及系统 | |
| CN105306720A (zh) | 一种闹钟及其实现方法 | |
| CN105608560A (zh) | 智能终端的闹钟提醒方法和系统 | |
| CN110658717B (zh) | 闹钟控制方法、装置、设备以及存储介质 | |
| CN114648289A (zh) | 日程管理方法及系统、终端和计算机存储介质 | |
| CN107222640B (zh) | 一种闹钟提醒方法、闹钟提醒装置及移动终端 | |
| CN103067580B (zh) | 多重时间设置和提醒方法及装置 | |
| CN104767885A (zh) | 一种闹钟调整方法及终端 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16900133 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16900133 Country of ref document: EP Kind code of ref document: A1 |