CN104469000A - Implementation method and device for terminal alarm - Google Patents

Implementation method and device for terminal alarm Download PDF

Info

Publication number
CN104469000A
CN104469000A CN201410720753.XA CN201410720753A CN104469000A CN 104469000 A CN104469000 A CN 104469000A CN 201410720753 A CN201410720753 A CN 201410720753A CN 104469000 A CN104469000 A CN 104469000A
Authority
CN
China
Prior art keywords
bell
quarter
date
default
rule
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
CN201410720753.XA
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410720753.XA priority Critical patent/CN104469000A/en
Publication of CN104469000A publication Critical patent/CN104469000A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention relates to an implementation method and device for a terminal alarm and relates to the technical field of computers. The implementation method and device are used for solving the problem that existing alarm ringing modes cannot meet the demands of users who work at irregular hours. The method includes the steps that timeline rules of the alarm are obtained and comprise at least two preset alarm ringing dates and preset alarm ringing time of each alarm ringing date, wherein the preset alarm ringing time of at least one preset alarm ringing date is different from the preset alarm ringing time of the other preset alarm ringing dates; according to the timeline rules, alarm ringing dates for alarm ringing and the alarm ringing time of each alarm ringing date are determined to obtain alarm ringing rules of the alarm; alarm ringing is conducted according to the alarm ringing rules. The implementation method and device are not limited by workdays/nonworkdays or a week system in the using process, and an alarm ringing service is provided according to user needs.

Description

The implementation method of terminal quarter-bell and device
Technical field
The disclosure relates to field of computer technology, particularly relates to a kind of implementation method and device of terminal quarter-bell.
Background technology
Along with the progressively development of smart mobile phone, mobile phone is applied to as product indispensable in people's life.
In correlation technique, alarm of mobile phone is one of function that most people is conventional, when user uses alarm of mobile phone, can only select by working day/nonworkdays and week system repeat to arrange alarm clock.
In correlation technique, there are the following problems: for the user that the operating time is comparatively special, aforesaid way can not satisfy the demands.Such as, the charge station employee of highway, usually adopt and have holidays by turns, 2 day shifts, 1 night shift, have a rest 1 day, existing alarm of mobile phone cannot be arranged this kind of situation.
Summary of the invention
For overcoming Problems existing in correlation technique, disclosure embodiment provides a kind of implementation method and device of terminal quarter-bell.
According to the first aspect of disclosure embodiment, provide a kind of implementation method of terminal quarter-bell, described method comprises:
Obtain the timeline rule of quarter-bell, described timeline rule comprises the default alarm time at least two default quarter-bell dates and each quarter-bell date, and wherein, at least one default quarter-bell date is different from the default alarm time on other default quarter-bell dates;
According to described timeline rule, determine to carry out the quarter-bell date of quarter-bell and the alarm time on each quarter-bell date, obtain the jingle bell rule of described quarter-bell;
Quarter-bell is carried out according to described jingle bell rule.
In the present embodiment, can not by working day/nonworkdays or week system restriction, user freely can arrange the alarm time of every day, i.e. timeline rule, the timeline rule that terminal sets according to user provides clock alarming for user, meets the needs of operating time erratic user, can provide more accurate for these users, more humane, more intelligentized quarter-bell service, improves user experience.
Optionally, described regular according to described timeline, determine to carry out the quarter-bell date of quarter-bell and the alarm time on each quarter-bell date, obtain the jingle bell rule of described quarter-bell, comprising:
According to described timeline rule, determine the quarter-bell Cycle Length of described quarter-bell;
According to following formula, determine the quarter-bell date corresponding with the described default quarter-bell date:
X=i+(n-1)T,
Wherein, X is the quarter-bell date corresponding with default quarter-bell date i, and n is the periodicity at described quarter-bell date place, and T is quarter-bell Cycle Length, and i is the default quarter-bell date in the default quarter-bell cycle, and i is the integer being more than or equal to 1 and being less than or equal to T.
In possibility, although the operating time of user in a short time, operating time as one week interior every day does not advise rate, but in the long run, as in 1 month, the operating time is weekly rule, then user can arrange the beginning and ending time of carrying out quarter-bell according to this timeline rule, formation jingle bell rule, within the beginning and ending time, terminal carries out quarter-bell according to this jingle bell rule.Like this, for the regular and situation about remaining unchanged for a long period of time of timeline rule, carry out quarter-bell, more can meet user's needs according to timeline generate rule jingle bell rule, for user provides more accurate, more humane, more intelligentized quarter-bell service, improves user experience.
Optionally, described regular according to described timeline, determine to carry out the quarter-bell date of quarter-bell and the alarm time on each quarter-bell date, obtain the jingle bell rule of described quarter-bell, comprising:
According to following formula, determine the alarm time on the quarter-bell date corresponding with the described default quarter-bell date:
Y(X)=Y(i),
Wherein, the alarm time that Y (X) is quarter-bell date X, Y (i) is the default alarm time presetting quarter-bell date i, and quarter-bell date X is the quarter-bell date corresponding with described default quarter-bell date i.
In possibility, although the operating time of user in a short time, operating time as one week interior every day does not advise rate, but in the long run, as in 1 month, the operating time is weekly rule, then user can arrange the beginning and ending time of carrying out quarter-bell according to this timeline rule, formation jingle bell rule, within the beginning and ending time, terminal carries out quarter-bell according to this jingle bell rule.Like this, for the regular and situation about remaining unchanged for a long period of time of timeline rule, carry out quarter-bell, more can meet user's needs according to timeline generate rule jingle bell rule, for user provides more accurate, more humane, more intelligentized quarter-bell service, improves user experience.
Optionally, described method also comprises:
Obtain beginning rule and the end rules of described quarter-bell;
The date will carrying out quarter-bell is determined according to the beginning of described quarter-bell rule and end rules.
In possibility, according to beginning rule and end rules, can determine the duration of carrying out quarter-bell according to timeline rule, more can meet user's needs, for user provides more accurate, more humane, more intelligentized quarter-bell service, improves user experience.
Optionally, described method also comprises:
According to the clicking operation of user on calendar, obtain the default alarm time on default quarter-bell date corresponding to described clicking operation and selected described default quarter-bell date;
According to the default alarm time on described default quarter-bell date and described default quarter-bell date, generate described timeline rule.In possibility, in the calendar applications of terminal, realize quarter-bell arrange, user can in calendar free setup times line rule, method to set up is simple, and user is very easy to use, improves user experience.
Optionally, described method also comprises:
According to described timeline rule, it is user's PUSH message.
In possibility, be user's PUSH message according to the timeline rule that user is arranged, avoid the annoying users when user's rest, meanwhile, ensure that user can receive PUSH message in time, improve the accuracy of message push, make message push hommization more, improve user experience.
Optionally, described timeline rule also comprises alarm sound corresponding to each alarm time and/or quarter-bell volume.
In possibility, user to every day quarter-bell convenient freedom is set, make quarter-bell service more meet user's request, user experience is better.
According to the second aspect of disclosure embodiment, a kind of implement device of terminal quarter-bell is provided, comprises:
First acquisition module, for obtaining the timeline rule of quarter-bell, described timeline rule comprises the default alarm time at least two default quarter-bell dates and each quarter-bell date, and wherein, at least one default quarter-bell date is different from the default alarm time on other default quarter-bell dates;
Determination module, for according to described timeline rule, determines to carry out the quarter-bell date of quarter-bell and the alarm time on each quarter-bell date, obtains the jingle bell rule of described quarter-bell;
Quarter-bell module, for carrying out quarter-bell according to described jingle bell rule.
In the present embodiment, can not by working day/nonworkdays or week system restriction, user freely can arrange the alarm time of every day, i.e. timeline rule, the timeline rule that terminal sets according to user provides clock alarming for user, meets the needs of operating time erratic user, can provide more accurate for these users, more humane, more intelligentized quarter-bell service, improves user experience.
Optionally, described determination module comprises:
First determines submodule, for according to described timeline rule, determines the quarter-bell Cycle Length of described quarter-bell;
Second determines submodule, for according to following formula, determines the quarter-bell date corresponding with the described default quarter-bell date: X=i+ (n-1) T,
Wherein, X is the quarter-bell date corresponding with default quarter-bell date i, and n is the periodicity at described quarter-bell date place, and T is quarter-bell Cycle Length, and i is the default quarter-bell date in the default quarter-bell cycle, and i is the integer being more than or equal to 1 and being less than or equal to T.
In possibility, although the operating time of user in a short time, operating time as one week interior every day does not advise rate, but in the long run, as in 1 month, the operating time is weekly rule, then user can arrange the beginning and ending time of carrying out quarter-bell according to this timeline rule, formation jingle bell rule, within the beginning and ending time, terminal carries out quarter-bell according to this jingle bell rule.Like this, for the regular and situation about remaining unchanged for a long period of time of timeline rule, carry out quarter-bell, more can meet user's needs according to timeline generate rule jingle bell rule, for user provides more accurate, more humane, more intelligentized quarter-bell service, improves user experience.
Optionally, described determination module also comprises:
3rd determines submodule, for according to following formula, determines the alarm time on the quarter-bell date corresponding with the described default quarter-bell date: Y (X)=Y (i),
Wherein, the alarm time that Y (X) is quarter-bell date X, Y (i) is the default alarm time presetting quarter-bell date i, and quarter-bell date X is the quarter-bell date corresponding with described default quarter-bell date i.
In possibility, although the operating time of user in a short time, operating time as one week interior every day does not advise rate, but in the long run, as in 1 month, the operating time is weekly rule, then user can arrange the beginning and ending time of carrying out quarter-bell according to this timeline rule, formation jingle bell rule, within the beginning and ending time, terminal carries out quarter-bell according to this jingle bell rule.Like this, for the regular and situation about remaining unchanged for a long period of time of timeline rule, carry out quarter-bell, more can meet user's needs according to timeline generate rule jingle bell rule, for user provides more accurate, more humane, more intelligentized quarter-bell service, improves user experience.
Optionally, described first acquisition module, also for obtaining beginning rule and the end rules of described quarter-bell;
Described determination module, determines for and end rules regular according to the beginning of described quarter-bell the date will carrying out quarter-bell.
In possibility, according to beginning rule and end rules, can determine the duration of carrying out quarter-bell according to timeline rule, more can meet user's needs, for user provides more accurate, more humane, more intelligentized quarter-bell service, improves user experience.
Optionally, described device also comprises:
Second acquisition module, for according to the clicking operation of user on calendar, obtains the default alarm time on default quarter-bell date corresponding to described clicking operation and selected described default quarter-bell date;
Generation module, for the default alarm time according to described default quarter-bell date and described default quarter-bell date, generates described timeline rule.
In possibility, in the calendar applications of terminal, realize quarter-bell arrange, user can in calendar free setup times line rule, method to set up is simple, and user is very easy to use, improves user experience.
Optionally, described device also comprises:
Pushing module, for according to described timeline rule, is user's PUSH message.
In possibility, be user's PUSH message according to the timeline rule that user is arranged, avoid the annoying users when user's rest, meanwhile, ensure that user can receive PUSH message in time, improve the accuracy of message push, make message push hommization more, improve user experience.
According to the third aspect of disclosure embodiment, a kind of implement device of terminal quarter-bell is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the timeline rule of quarter-bell, described timeline rule comprises the default alarm time at least two default quarter-bell dates and each quarter-bell date, and wherein, at least one default quarter-bell date is different from the default alarm time on other default quarter-bell dates;
According to described timeline rule, determine to carry out the quarter-bell date of quarter-bell and the alarm time on each quarter-bell date, obtain the jingle bell rule of described quarter-bell;
Quarter-bell is carried out according to described jingle bell rule.
In the present embodiment, can not by working day/nonworkdays or week system restriction, user freely can arrange the alarm time of every day, i.e. timeline rule, the timeline rule that terminal sets according to user provides clock alarming for user, meets the needs of operating time erratic user, can provide more accurate for these users, more humane, more intelligentized quarter-bell service, improves user experience.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Fig. 1 is the flow chart of the implementation method of a kind of terminal quarter-bell according to an exemplary embodiment;
Fig. 2 is the schematic diagram that in the terminal according to another exemplary embodiment, quarter-bell arranges interface;
Fig. 3 is the flow chart of the implementation method of a kind of terminal quarter-bell according to another exemplary embodiment;
Fig. 4 is the flow chart of the implementation method of a kind of terminal quarter-bell according to another exemplary embodiment;
Fig. 5 is the block diagram of the implement device of a kind of terminal quarter-bell according to an exemplary embodiment;
Fig. 6 is the block diagram of the determination module according to an exemplary embodiment;
Fig. 7 is the block diagram of the determination module according to another exemplary embodiment;
Fig. 8 is the block diagram of the implement device of a kind of terminal quarter-bell according to another exemplary embodiment
Fig. 9 is the block diagram of the implement device of a kind of terminal quarter-bell according to another exemplary embodiment;
Figure 10 is the block diagram of a kind of device for terminal quarter-bell according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the flow chart of the implementation method of a kind of terminal quarter-bell according to an exemplary embodiment, and as shown in Figure 1, the implementation method of terminal quarter-bell is used for, in terminal, comprising the following steps.
In step s 11, obtain the timeline rule of quarter-bell, timeline rule comprises the default alarm time at least two default quarter-bell dates and each quarter-bell date, and wherein, at least one default quarter-bell date is different from the default alarm time on other default quarter-bell dates;
In step s 12, according to timeline rule, determine to carry out the quarter-bell date of quarter-bell and the alarm time on each quarter-bell date, obtain the jingle bell rule of quarter-bell;
In step s 13, quarter-bell is carried out according to jingle bell rule.
Fig. 2 is the schematic diagram that in the terminal according to another exemplary embodiment, quarter-bell arranges interface.As shown in Figure 2, quarter-bell in the terminal arranges on interface and can arrange " timeline quarter-bell ", namely can unrestricted choice " day shift ", " night shift " and day off, not by week system constraint.User selects No. 2-4 (Tuesday is to the Thursday) in this middle of the month for " day shift " quarter-bell, and day shift, alarm time was 6:30; 5, No. 6 (Friday, Saturdays) are " night shift " quarter-bell, and night shift alarm time is 18:30; 9, No. 10 (Tuesday, Wednesdays) are " day shift " quarter-bell, and day shift, alarm time was 6:30; No. 11-6 (Thursday is to Saturday) is " night shift " quarter-bell, and night shift alarm time is 18:30; Etc..The timeline rule that terminal pre-sets according to user, for user provides clock alarming.
In the present embodiment, can not by working day/nonworkdays or week system restriction, user freely can arrange the alarm time of every day, i.e. timeline rule, the timeline rule that terminal sets according to user provides clock alarming for user, meets the needs of operating time erratic user, can provide more accurate for these users, more humane, more intelligentized quarter-bell service, improves user experience.
Fig. 3 is the flow chart of the implementation method of a kind of terminal quarter-bell according to another exemplary embodiment, and as shown in Figure 3, optionally, step S12 comprises:
In step S31, according to timeline rule, determine the quarter-bell Cycle Length of quarter-bell;
In step s 32, according to following formula, determine the quarter-bell date corresponding with the default quarter-bell date:
X=i+(n-1)T,
Wherein, X is the quarter-bell date corresponding with default quarter-bell date i, and n is the periodicity at described quarter-bell date place, and T is quarter-bell Cycle Length, and i is the default quarter-bell date in the default quarter-bell cycle, and i is the integer being more than or equal to 1 and being less than or equal to T.Such as, as shown in Figure 2, determine that the quarter-bell Cycle Length of quarter-bell is two weeks (14 days), the the 1st, 2,8,9 day (October 31 in this quarter-bell cycle, November 1, No. 7, No. 8) have a rest, not quarter-bell, 3-5 days (November No. 2-4), 12-14 days (November No. 11-13) is " day shift " quarter-bell, and the 6th, 7,10,11 day (November 5,6,9, No. 10) is " night shift " quarter-bell.Therefore, according to formula X=i+ (n-1) T, work as n=2, during T=14, at the 1st day of the 2nd cycle, namely the 15th day (November 14) from quarter-bell Start Date, corresponding with the 1st day of default quarter-bell cycle, not quarter-bell; The like, in the 2nd cycle, 1st, 2,8,9 days (November 14,15,21, No. 22) has a rest, not quarter-bell, 3-5 days (November No. 16-18), 12-14 days (November 11-13, No. 25-27) is " day shift " quarter-bell, and the 6th, 7,10,11 day (November 19,20,23, No. 24) is " night shift " quarter-bell.In possibility, although the operating time of user in a short time, operating time as one week interior every day does not advise rate, but in the long run, as in 1 month, the operating time is weekly rule, then user can arrange the beginning and ending time of carrying out quarter-bell according to this timeline rule, formation jingle bell rule, within the beginning and ending time, terminal carries out quarter-bell according to this jingle bell rule.Like this, for the regular and situation about remaining unchanged for a long period of time of timeline rule, carry out quarter-bell, more can meet user's needs according to timeline generate rule jingle bell rule, for user provides more accurate, more humane, more intelligentized quarter-bell service, improves user experience.
Optionally, step S12 also comprises:
According to following formula, determine the alarm time on the quarter-bell date corresponding with the described default quarter-bell date:
Y(X)=Y(i),
Wherein, the alarm time that Y (X) is quarter-bell date X, Y (i) is the default alarm time presetting quarter-bell date i, and quarter-bell date X is the quarter-bell date corresponding with described default quarter-bell date i.
Such as, obtain according to above-mentioned formulae discovery, the alarm time in alarm time and the November 2 days on November 14 is identical.
In possibility, although the operating time of user in a short time, operating time as one week interior every day does not advise rate, but in the long run, as in 1 month, the operating time is weekly rule, then user can arrange the beginning and ending time of carrying out quarter-bell according to this timeline rule, formation jingle bell rule, within the beginning and ending time, terminal carries out quarter-bell according to this jingle bell rule.Like this, for the regular and situation about remaining unchanged for a long period of time of timeline rule, carry out quarter-bell, more can meet user's needs according to timeline generate rule jingle bell rule, for user provides more accurate, more humane, more intelligentized quarter-bell service, improves user experience.
Fig. 4 is the flow chart of the implementation method of a kind of terminal quarter-bell according to another exemplary embodiment, and as shown in Figure 4, optionally, the method also comprises:
In step S41, obtain beginning rule and the end rules of quarter-bell;
In step S42, determine according to the beginning of quarter-bell rule and end rules the date will carrying out quarter-bell.
Such as, starting rule can be " from today " or " from some day "; End rules can be " terminating to some day ", " continuing 30 days " or " self-defined continuous days " etc.
In possibility, according to beginning rule and end rules, can determine the duration of carrying out quarter-bell according to timeline rule, more can meet user's needs, for user provides more accurate, more humane, more intelligentized quarter-bell service, improves user experience.
Optionally, the method also comprises:
According to the clicking operation of user on calendar, obtain the default alarm time on default quarter-bell date corresponding to described clicking operation and selected described default quarter-bell date;
According to the default alarm time on described default quarter-bell date and described default quarter-bell date, generate described timeline rule.
In possibility, in the calendar applications of terminal, realize quarter-bell arrange, user can in calendar free setup times line rule, method to set up is simple, and user is very easy to use, improves user experience.
Optionally, the method also comprises:
According to described timeline rule, it is user's PUSH message.
Such as, application program propelling movement, mobile phone interruption-free pattern based on timeline rule, can be adjusted to the time of user's sending out notice and prompting.If user is night shift, so the same day day time period just do not give user's PUSH message, avoid annoying users, the propelling movement time can be changed into evening.
In possibility, be user's PUSH message according to the timeline rule that user is arranged, avoid the annoying users when user's rest, meanwhile, ensure that user can receive PUSH message in time, improve the accuracy of message push, make message push hommization more, improve user experience.
The implementation method of terminal quarter-bell such as, user is provided with the timeline rule of operating time in September, 2014 quarter-bell, be provided with simultaneously 11 have a holiday or vacation period quarter-bell timeline rule, so, in the 1-2 month in December, 2014 and 2015, can using the timeline rule of the timeline in September, 2014 rule as this two months operating times quarter-bell, and, the timeline timeline that is regular and period quarter-bell of having a holiday or vacation the Spring Festival that the timeline rule that can have a holiday or vacation period according to 11 arranges three-day holiday quarter-bell on New Year's Day for user is regular, thus the jingle bell rule obtained from year February in December, 2014 to 2015, according to this jingle bell rule for user provides quarter-bell service.
In possibility, when user is provided with multiple timeline rule, in conjunction with multiple timeline rule and country or the work of company, arrangements of having a holiday or vacation, by large data analysis, automatically generate jingle bell rule, for user carries out quarter-bell for user.Like this, making user without the need to manually setting quarter-bell, just can obtain quarter-bell service that is accurate, intelligent, hommization, improving user experience.
Optionally, timeline rule also comprises alarm sound corresponding to each alarm time and/or quarter-bell volume.Namely user can also each alarm time of free setting is corresponding in timeline rule the quarter-bell mode such as alarm sound and/or quarter-bell volume.
In possibility, user to every day quarter-bell convenient freedom is set, make quarter-bell service more meet user's request, user experience is better.
Fig. 5 is the block diagram of the implement device of a kind of terminal quarter-bell according to an exemplary embodiment.As shown in Figure 5, this device comprises acquisition module 51, generation module 52 and quarter-bell module 53.
First acquisition module 51 is configured to the timeline rule obtaining quarter-bell, described timeline rule comprises the default alarm time at least two default quarter-bell dates and each quarter-bell date, wherein, at least one default quarter-bell date is different from the default alarm time on other default quarter-bell dates;
Generation module 52 is configured to, according to described timeline rule, determine to carry out the quarter-bell date of quarter-bell and the alarm time on each quarter-bell date, obtains the jingle bell rule of described quarter-bell;
Quarter-bell module 53 is configured to carry out quarter-bell according to described jingle bell rule.
Fig. 6 is the block diagram of the determination module according to an exemplary embodiment.As shown in Figure 6, optionally, determination module 52 comprises:
First determines submodule 61, for according to described timeline rule, determines the quarter-bell Cycle Length of described quarter-bell;
Second determines submodule 62, for according to following formula, determines the quarter-bell date corresponding with the described default quarter-bell date: X=i+ (n-1) T,
Wherein, X is the quarter-bell date corresponding with default quarter-bell date i, and n is the periodicity at described quarter-bell date place, and T is quarter-bell Cycle Length, and i is the default quarter-bell date in the default quarter-bell cycle, and i is the integer being more than or equal to 1 and being less than or equal to T.
Fig. 7 is the block diagram of the determination module according to another exemplary embodiment.As shown in Figure 7, optionally, described determination module 52 also comprises:
3rd determines submodule 71, for according to following formula, determines the alarm time on the quarter-bell date corresponding with the described default quarter-bell date: Y (X)=Y (i),
Wherein, the alarm time that Y (X) is quarter-bell date X, Y (i) is the default alarm time presetting quarter-bell date i, and quarter-bell date X is the quarter-bell date corresponding with described default quarter-bell date i.
Optionally, described first acquisition module 51, also for obtaining beginning rule and the end rules of described quarter-bell;
Described determination module 52, determines for and end rules regular according to the beginning of described quarter-bell the date will carrying out quarter-bell.
Fig. 8 is the block diagram of the implement device of a kind of terminal quarter-bell according to another exemplary embodiment.As shown in Figure 8, optionally, this device also comprises:
Second acquisition module 54, for according to the clicking operation of user on calendar, obtains the default alarm time on default quarter-bell date corresponding to described clicking operation and selected described default quarter-bell date;
Generation module 55, for the default alarm time according to described default quarter-bell date and described default quarter-bell date, generates described timeline rule.
Fig. 9 is the block diagram of the implement device of a kind of terminal quarter-bell according to another exemplary embodiment.As shown in Figure 9, optionally, described device also comprises:
Pushing module 56 is configured according to described timeline rule, is user's PUSH message.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
In the present embodiment, can not by working day/nonworkdays or week system restriction, user freely can arrange the alarm time of every day, i.e. timeline rule, the timeline rule that terminal sets according to user provides clock alarming for user, meets the needs of operating time erratic user, can provide more accurate for these users, more humane, more intelligentized quarter-bell service, improves user experience.
The disclosure also provides a kind of implement device of terminal quarter-bell, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the timeline rule of quarter-bell, described timeline rule comprises the default alarm time at least two default quarter-bell dates and each quarter-bell date, and wherein, at least one default quarter-bell date is different from the default alarm time on other default quarter-bell dates;
According to described timeline rule, determine to carry out the quarter-bell date of quarter-bell and the alarm time on each quarter-bell date, obtain the jingle bell rule of described quarter-bell;
Quarter-bell is carried out according to described jingle bell rule.In the present embodiment, can not by working day/nonworkdays or week system restriction, user freely can arrange the alarm time of every day, i.e. timeline rule, the timeline rule that terminal sets according to user provides clock alarming for user, meets the needs of operating time erratic user, can provide more accurate for these users, more humane, more intelligentized quarter-bell service, improves user experience.
Figure 10 is the block diagram of a kind of device for terminal quarter-bell according to an exemplary embodiment.Such as, device 1000 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
As shown in Figure 10, device 1000 can comprise following one or more assembly: processing components 1002, memory 1004, power supply module 1006, multimedia groupware 1008, audio-frequency assembly 1010, the interface 1012 of I/O (I/O), sensor cluster 1014, and communications component 1016.
The integrated operation of the usual control device 1000 of processing components 1002, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1002 can comprise one or more processor 1020 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1002 can comprise one or more module, and what be convenient between processing components 1002 and other assemblies is mutual.Such as, processing components 1002 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1008 and processing components 1002.
Memory 1004 is configured to store various types of data to be supported in the operation of equipment 1000.The example of these data comprises for any application program of operation on device 1000 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 1004 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 1006 is device 1000 provide electric power.Power supply module 1006 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1000 and be associated.
Multimedia groupware 1008 is included in the screen providing an output interface between described device 1000 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1008 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1000 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1010 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1010 comprises a microphone (MIC), and when device 1000 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 1004 further or be sent via communications component 1016.In certain embodiments, audio-frequency assembly 1010 also comprises a loud speaker, for output audio signal.
I/O interface 1012 is for providing interface between processing components 1002 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 1014 comprises one or more transducer, for providing the state estimation of various aspects for device 1000.Such as, sensor cluster 1014 can detect the opening/closing state of equipment 1000, the relative positioning of assembly, such as described assembly is display and the keypad of device 1000, the position of all right checkout gear 1000 of sensor cluster 1014 or device 1000 assemblies changes, the presence or absence that user contacts with device 1000, the variations in temperature of device 1000 orientation or acceleration/deceleration and device 1000.Sensor cluster 1014 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 1014 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1014 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 1016 is configured to the communication being convenient to wired or wireless mode between device 1000 and other equipment.Device 1000 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 1016 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 1016 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1000 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 1004 of instruction, above-mentioned instruction can perform said method by the processor 1020 of device 1000.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of implementation method of terminal quarter-bell, described method comprises:
Obtain the timeline rule of quarter-bell, described timeline rule comprises the default alarm time at least two default quarter-bell dates and each quarter-bell date, and wherein, at least one default quarter-bell date is different from the default alarm time on other default quarter-bell dates;
According to described timeline rule, determine to carry out the quarter-bell date of quarter-bell and the alarm time on each quarter-bell date, obtain the jingle bell rule of described quarter-bell;
Quarter-bell is carried out according to described jingle bell rule.
Optionally, described regular according to described timeline, determine to carry out the quarter-bell date of quarter-bell and the alarm time on each quarter-bell date, obtain the jingle bell rule of described quarter-bell, comprising:
According to described timeline rule, determine the quarter-bell Cycle Length of described quarter-bell;
According to following formula, determine the quarter-bell date corresponding with the described default quarter-bell date:
X=i+(n-1)T,
Wherein, X is the quarter-bell date corresponding with default quarter-bell date i, and n is the periodicity at described quarter-bell date place, and T is quarter-bell Cycle Length, and i is the default quarter-bell date in the default quarter-bell cycle, and i is the integer being more than or equal to 1 and being less than or equal to T.
Optionally, described regular according to described timeline, determine to carry out the quarter-bell date of quarter-bell and the alarm time on each quarter-bell date, obtain the jingle bell rule of described quarter-bell, comprising:
According to following formula, determine the alarm time on the quarter-bell date corresponding with the described default quarter-bell date:
Y(X)=Y(i),
Wherein, the alarm time that Y (X) is quarter-bell date X, Y (i) is the default alarm time presetting quarter-bell date i, and quarter-bell date X is the quarter-bell date corresponding with described default quarter-bell date i.
Optionally, described method also comprises:
Obtain beginning rule and the end rules of described quarter-bell;
The date will carrying out quarter-bell is determined according to the beginning of described quarter-bell rule and end rules.
Optionally, described method also comprises:
According to the clicking operation of user on calendar, obtain the default alarm time on default quarter-bell date corresponding to described clicking operation and selected described default quarter-bell date;
According to the default alarm time on described default quarter-bell date and described default quarter-bell date, generate described timeline rule.
Optionally, described method also comprises:
According to described timeline rule, it is user's PUSH message.
Optionally, described timeline rule also comprises alarm sound corresponding to each alarm time and/or quarter-bell volume.
In the present embodiment, can not by working day/nonworkdays or week system restriction, user freely can arrange the alarm time of every day, i.e. timeline rule, the timeline rule that terminal sets according to user provides clock alarming for user, meets the needs of operating time erratic user, can provide more accurate for these users, more humane, more intelligentized quarter-bell service, improves user experience.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (14)

1. an implementation method for terminal quarter-bell, is characterized in that, comprising:
Obtain the timeline rule of quarter-bell, described timeline rule comprises the default alarm time at least two default quarter-bell dates and each quarter-bell date, and wherein, at least one default quarter-bell date is different from the default alarm time on other default quarter-bell dates;
According to described timeline rule, determine to carry out the quarter-bell date of quarter-bell and the alarm time on each quarter-bell date, obtain the jingle bell rule of described quarter-bell;
Quarter-bell is carried out according to described jingle bell rule.
2. method according to claim 1, is characterized in that, described regular according to described timeline, determines to carry out the quarter-bell date of quarter-bell and the alarm time on each quarter-bell date, obtains the jingle bell rule of described quarter-bell, comprising:
According to described timeline rule, determine the quarter-bell Cycle Length of described quarter-bell;
According to following formula, determine the quarter-bell date corresponding with the described default quarter-bell date:
X=i+(n-1)T,
Wherein, X is the quarter-bell date corresponding with default quarter-bell date i, and n is the periodicity at described quarter-bell date place, and T is quarter-bell Cycle Length, and i is the default quarter-bell date in the default quarter-bell cycle, and i is the integer being more than or equal to 1 and being less than or equal to T.
3. method according to claim 2, is characterized in that, described regular according to described timeline, determines to carry out the quarter-bell date of quarter-bell and the alarm time on each quarter-bell date, obtains the jingle bell rule of described quarter-bell, comprising:
According to following formula, determine the alarm time on the quarter-bell date corresponding with the described default quarter-bell date:
Y(X)=Y(i),
Wherein, the alarm time that Y (X) is quarter-bell date X, Y (i) is the default alarm time presetting quarter-bell date i, and quarter-bell date X is the quarter-bell date corresponding with described default quarter-bell date i.
4. the method according to any one of claim 1-3, is characterized in that, described method also comprises:
Obtain beginning rule and the end rules of described quarter-bell;
The date will carrying out quarter-bell is determined according to the beginning of described quarter-bell rule and end rules.
5. method according to claim 1, is characterized in that, described method also comprises:
According to the clicking operation of user on calendar, obtain the default alarm time on default quarter-bell date corresponding to described clicking operation and selected described default quarter-bell date;
According to the default alarm time on described default quarter-bell date and described default quarter-bell date, generate described timeline rule.
6. method according to claim 1, is characterized in that, described method also comprises:
According to described timeline rule, it is user's PUSH message.
7. method according to claim 1, is characterized in that, described timeline rule also comprises alarm sound corresponding to each alarm time and/or quarter-bell volume.
8. an implement device for terminal quarter-bell, is characterized in that, comprising:
First acquisition module, for obtaining the timeline rule of quarter-bell, described timeline rule comprises the default alarm time at least two default quarter-bell dates and each quarter-bell date, and wherein, at least one default quarter-bell date is different from the default alarm time on other default quarter-bell dates;
Determination module, for according to described timeline rule, determines to carry out the quarter-bell date of quarter-bell and the alarm time on each quarter-bell date, obtains the jingle bell rule of described quarter-bell;
Quarter-bell module, for carrying out quarter-bell according to described jingle bell rule.
9. device according to claim 8, is characterized in that, described determination module comprises:
First determines submodule, for according to described timeline rule, determines the quarter-bell Cycle Length of described quarter-bell;
Second determines submodule, for according to following formula, determines the quarter-bell date corresponding with the described default quarter-bell date: X=i+ (n-1) T,
Wherein, X is the quarter-bell date corresponding with default quarter-bell date i, and n is the periodicity at described quarter-bell date place, and T is quarter-bell Cycle Length, and i is the default quarter-bell date in the default quarter-bell cycle, and i is the integer being more than or equal to 1 and being less than or equal to T.
10. device according to claim 9, is characterized in that, described determination module also comprises:
3rd determines submodule, for according to following formula, determines the alarm time on the quarter-bell date corresponding with the described default quarter-bell date: Y (X)=Y (i),
Wherein, the alarm time that Y (X) is quarter-bell date X, Y (i) is the default alarm time presetting quarter-bell date i, and quarter-bell date X is the quarter-bell date corresponding with described default quarter-bell date i.
11. devices according to Claim 8 according to any one of-10, is characterized in that,
Described first acquisition module, also for obtaining beginning rule and the end rules of described quarter-bell;
Described determination module, determines for and end rules regular according to the beginning of described quarter-bell the date will carrying out quarter-bell.
12. devices according to claim 8, is characterized in that, described device also comprises:
Second acquisition module, for according to the clicking operation of user on calendar, obtains the default alarm time on default quarter-bell date corresponding to described clicking operation and selected described default quarter-bell date;
Generation module, for the default alarm time according to described default quarter-bell date and described default quarter-bell date, generates described timeline rule.
13. devices according to claim 8, is characterized in that, described device also comprises:
Pushing module, for according to described timeline rule, is user's PUSH message.
The implement device of 14. 1 kinds of terminal quarter-bells, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the timeline rule of quarter-bell, described timeline rule comprises the default alarm time at least two default quarter-bell dates and each quarter-bell date, and wherein, at least one default quarter-bell date is different from the default alarm time on other default quarter-bell dates;
According to described timeline rule, determine to carry out the quarter-bell date of quarter-bell and the alarm time on each quarter-bell date, obtain the jingle bell rule of described quarter-bell;
Quarter-bell is carried out according to described jingle bell rule.
CN201410720753.XA 2014-12-02 2014-12-02 Implementation method and device for terminal alarm Pending CN104469000A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410720753.XA CN104469000A (en) 2014-12-02 2014-12-02 Implementation method and device for terminal alarm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410720753.XA CN104469000A (en) 2014-12-02 2014-12-02 Implementation method and device for terminal alarm

Publications (1)

Publication Number Publication Date
CN104469000A true CN104469000A (en) 2015-03-25

Family

ID=52914335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410720753.XA Pending CN104469000A (en) 2014-12-02 2014-12-02 Implementation method and device for terminal alarm

Country Status (1)

Country Link
CN (1) CN104469000A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049624A (en) * 2015-07-23 2015-11-11 深圳市万普拉斯科技有限公司 Alarm clock viewing method and alarm clock viewing device of mobile terminal
CN106412254A (en) * 2016-09-13 2017-02-15 传线网络科技(上海)有限公司 Method and apparatus for pushing information by using alarm clock in intelligent terminal
CN106708482A (en) * 2015-07-30 2017-05-24 北京奇虎科技有限公司 Date information display method and apparatus
CN107909333A (en) * 2017-10-12 2018-04-13 深圳市万普拉斯科技有限公司 The method and apparatus of alarm clock setting, electronic equipment, computer-readable recording medium
CN110581922A (en) * 2019-08-29 2019-12-17 维沃移动通信有限公司 Alarm clock setting method and terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010148733A1 (en) * 2009-11-17 2010-12-29 中兴通讯股份有限公司 Method and device for setting alarm clock
CN103729759A (en) * 2013-12-31 2014-04-16 广州商科信息科技有限公司 Alarm clock prompting method of user terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010148733A1 (en) * 2009-11-17 2010-12-29 中兴通讯股份有限公司 Method and device for setting alarm clock
CN103729759A (en) * 2013-12-31 2014-04-16 广州商科信息科技有限公司 Alarm clock prompting method of user terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049624A (en) * 2015-07-23 2015-11-11 深圳市万普拉斯科技有限公司 Alarm clock viewing method and alarm clock viewing device of mobile terminal
CN106708482A (en) * 2015-07-30 2017-05-24 北京奇虎科技有限公司 Date information display method and apparatus
CN106412254A (en) * 2016-09-13 2017-02-15 传线网络科技(上海)有限公司 Method and apparatus for pushing information by using alarm clock in intelligent terminal
CN107909333A (en) * 2017-10-12 2018-04-13 深圳市万普拉斯科技有限公司 The method and apparatus of alarm clock setting, electronic equipment, computer-readable recording medium
CN110581922A (en) * 2019-08-29 2019-12-17 维沃移动通信有限公司 Alarm clock setting method and terminal equipment

Similar Documents

Publication Publication Date Title
EP3081998B1 (en) Method and device for reminding based on alarm clock
CN104580738A (en) Method and device for setting information reminding modes
CN105808050B (en) Information search method and device
CN104580642A (en) Clock reminding method and device
CN104469000A (en) Implementation method and device for terminal alarm
CN104156848A (en) Schedule management method and schedule management device
CN105898032A (en) Adjusting method and apparatus for warning tone
CN104156204A (en) Calendar event establishing method and device
WO2017166544A1 (en) Information presenting method and device
CN104267990A (en) Method and device for changing theme in terminal
CN105491211A (en) Event prompt method and device
CN105337839A (en) Exchange group control method and device
CN104484795A (en) Information prompting method and device
CN105224174A (en) The display packing of Paste and device
CN104539662A (en) Information transmission method and device
CN104461715A (en) Reminding task executing method and device based on reminding mode
CN105141769A (en) Communication message processing method and device as well as terminal
CN105611048A (en) Alarm clock prompt method and device, and mobile terminal
CN106843627B (en) Recording method, device and equipment of calendar event
CN105611029A (en) Method and device for controlling reminding function of terminal equipment
CN105611041A (en) Alarm clock prompting method and apparatus thereof
CN105208209A (en) Alarm clock setting method and device and terminal equipment
CN106921797A (en) Information prompting method and device
CN106534495A (en) Method of information processing, device and equipment
CN104184888A (en) Call transfer method, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150325

RJ01 Rejection of invention patent application after publication