CN103645629B - A kind of alarm clock timing method - Google Patents

A kind of alarm clock timing method Download PDF

Info

Publication number
CN103645629B
CN103645629B CN201310515785.1A CN201310515785A CN103645629B CN 103645629 B CN103645629 B CN 103645629B CN 201310515785 A CN201310515785 A CN 201310515785A CN 103645629 B CN103645629 B CN 103645629B
Authority
CN
China
Prior art keywords
time
alarm clock
value
factor
adjusted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310515785.1A
Other languages
Chinese (zh)
Other versions
CN103645629A (en
Inventor
王书生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Samsung Electronics China R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Electronics China R&D Center
Priority to CN201310515785.1A priority Critical patent/CN103645629B/en
Publication of CN103645629A publication Critical patent/CN103645629A/en
Application granted granted Critical
Publication of CN103645629B publication Critical patent/CN103645629B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Electric Clocks (AREA)

Abstract

The application discloses a kind of alarm clock timing method, comprising: the current state value of a, definite all factors that affect alarm time adjustment, corresponding each factor i, determines and adjust weights qi, and determine the time adjusted value t of corresponding factor i according to current state valuei; B, the adjustment weights that utilize each described factor and time adjusted value, calculate the adjustment reference value of alarm clock timing time; In the time that described adjustment reference value is not 0, according to described adjustment reference value, on the basis of the alarm clock timing time of the current setting of system t, determine alarm clock actual ring time. Application the application, can self adaptation adjusts alarm clock actual ring time.

Description

A kind of alarm clock timing method
Technical field
The application relates to electronic technology, includes but not limited to portable consumer electronics, mobile terminal, particularly a kind of noisyClock timing method.
Background technology
At present, alarm clock is quite intelligent, for user provides the multiple pattern that arranges, comprises timer clock every day, workMake a day timer clock, Custom dates timer clock etc. But these still can not meet user's need under some occasionAsk, prior art is for we provide extra selection, and the setting of alarm time is more flexible, more tends to hommization.
At present, prior art one proposes a kind of alarm clock timing method, device and mobile terminal, can revise user in advanceThe alarm time arranging, adjusts alarm time outside user's time of having a rest, ensures user's physical and mental health, is more conducive to workDo the raising of efficiency. But this technology has only been considered the time of having a rest, do not take into account the working time, in working time and restBetween time, need to make balance.
Prior art two proposes a kind of smart electronics alarm clock, comprises sensing unit, control module, timing unit, warning listUnit etc. This smart electronics alarm clock is setting alarm clock cycle length arbitrarily, free setting alarm time, and can be according to useThe health at family, determines whether report to the police. But the main purpose of this technology is the health for monitor user ', alarm clockTime and cycle meeting frequent variations, have no rule, can not adapt to working clan's alarm clock rule. Working clan expects establishing of alarm timeFix in a relatively-stationary interval, can ensure the balance between work hours and time of having a rest.
Summary of the invention
The application provides a kind of alarm clock timing method and apparatus, can self adaptation adjusts alarm clock actual ring time.
A kind of alarm clock timing method, comprising:
The current state value of a, definite all factors that affect alarm time adjustment, corresponding each factor i, determines the power of adjustmentValue qi, and determine the time adjusted value t of corresponding factor i according to current state valuei
B, the adjustment weights that utilize each described factor and time adjusted value, calculate the adjustment reference value of alarm clock timing timeε; In the time that described adjustment reference value ε is not 0, according to described adjustment reference value, the alarm clock timing time of the current setting of system t'sOn basis, determine alarm clock actual ring time.
Preferably, the adjustment reference value ε of described calculating alarm clock timing time comprises:Wherein, i=1,2 ..., N, the number that N is all factors.
Preferably, described according to adjusting reference value definite actual ring of alarm clock on the basis of described alarm clock timing time tTime is:
If t+ ε is in time interval [t-α, t+ β], using t+ ε as alarm clock actual ring time;
If t+ ε is outside time interval [t-α, t+ β], using real as alarm clock the time interval endpoint value nearer apart from t+ εBorder ring time;
Wherein, described time interval [t-α, t+ β] is arranged by user.
Preferably, perform step a to step b, while adding up the actual ring of alarm clock in T cycle according to the cycle of settingBetween, and add up the alarm clock actual ring time of the number of times at time interval [t-α, t+ β] end points place, if number of times is more than or equal to T/W,Described time interval is adjusted; Wherein, T and W are the positive integer that user or system arrange, and T > W.
Preferably, described time interval adjustment is comprised: time interval is adjusted intoWherein, N1、N2Be respectively at the left end point of time interval and the actual ringing number of right endpoint, γ represents time interval [t-α, t+β] left and right end points adjusting range.
Preferably, according to the cycle execution step a and the step b that set.
Preferably, calculate avr average time of the actual ring of alarm clock in T cycle, if | avr-t| > 5min, adjusts instituteState t; Wherein, T is the positive integer that user or system arrange.
Preferably, determine that according to the current state value of each factor i the time adjusted value of corresponding factor i comprises: for appointingOne factor i, arranges corresponding time adjusted value for each state value in advance, and the time adjusted value corresponding with current state value doneFor the time adjusted value t of factor ii
Preferably, the described factor that affects alarm time adjustment comprises: weather condition, traffic, geographical position, seasonAnd/or the vehicles.
Preferably, in the time that the current state value in geographical position is equator and south poles, the time in described geographical position is adjustedValue and weights are 0; And/or,
In the time that the current state value of the vehicles is subway, time adjusted value and the weights of the described vehicles are 0.
Preferably, the cycle of described setting is 24 hours.
Preferably, described definite adjustment weights qiMode comprise: determine this adjust in inoperative factor j, andAdjusted weights and be made as 0; Determine again each factor k working in this adjustment, adjusted weights and be all made as 1/M; ItsIn, M is the sum of all factors of working during this is adjusted.
As seen from the above technical solution, in the application, obtain the alarm clock timing time t of the current setting of system; Determine impactThe current state value of all factors that alarm time is adjusted, corresponding each factor i, determines and adjusts weights qi, and according to current shapeState value is determined the time adjusted value t of corresponding factor ii; Utilize adjustment weights and the time adjusted value of each factor, calculate alarm clock fixedTime the time adjustment reference valueWherein, i=1,2 ..., N, the number that N is all factors; When described adjustment referenceValue is not 0 o'clock, according to described adjustment reference value, the alarm clock timing time is adjusted. By above-mentioned processing, can be according to variousThe impact of different factors, self adaptation is adjusted alarm clock actual ring time.
Brief description of the drawings
Fig. 1 is the basic procedure schematic diagram of alarm clock timing method in the application.
Detailed description of the invention
In order to make the application's object, technological means and advantage clearer, below in conjunction with accompanying drawing, the application is doneFurther describe.
The application proposes a kind ofly can carry out alarm clock actual ring time of tune according to setting the current state self adaptation of factorWhole alarm clock timing method. Wherein, the alarm clock timing time t setting according to user, near time district alarm clock timing time tIn, according to the actual ring time of current state adjustment alarm clock of the factor of setting.
Fig. 1 is the basic procedure schematic diagram of alarm clock timing method in the application. As shown in Figure 1, the method comprises:
Step 101, obtains the alarm clock timing time t of the current setting of system.
Under original state, the alarm clock timing time, t can be arranged by User Defined.
In addition, the alarm clock timing method in the application can periodically be carried out, carrying out after the timing adjustment in some cycles,Preferably, can, according to the actual ring time of alarm clock after adjusting in each cycle, alarm clock timing time t can be adjustedWhole, to adapt to nearest environmental aspect.
Step 102, the current state value of definite all factors that affect alarm time adjustment.
Can be as required, by User Defined arrange or adopt that system default arranges affect alarm time because ofElement. For example, the factor that affects alarm time can be weather condition, traffic, geographical position, season, the vehicles etc.
In the time obtaining the current state value of adjustment factor, the interface that can provide by other software obtains, for example logicalThe interface that crossing weather forecast software provides obtains weather condition, and current traffic etc. is provided by real-time road software.
In the factor that affects alarm time, geographical position is commonly referred to as interior in a big way geographical position, for example heatBand, subtropical zone, the Southern Hemisphere, the Northern Hemisphere etc. Some factor also can influence each other, and for example, geographical position and time can affect seasonCurrent state value etc.
Step 103, determines the adjustment weights of each factor, and determines time adjustment according to the current state value of each factorValue.
The adjustment weights of each factor can carry out self-defined setting as required, and each factor is adjusted the summation value of weightsBe 1. Or the adjustment weights of the factor that can work at present more simply, are set to identical. Particularly, can first determineThis adjust in inoperative factor j, and adjusted weights and be made as 0; Again determine this adjust in work each because ofElement k, is adjusted weights and is made as 1/M; Wherein, M is the sum of all factors of working during this is adjusted.
Wherein, can determine according to the current state value of correlative factor whether certain factor works in this is adjusted, exampleAs, in the time that the current state value in geographical position is equator and south poles, the adjustment weights of seasonal factor are 0; Or, for takingThe user of subway, the adjustment weights of traffic factor are 0.
In system, preserve in advance the time adjusted value corresponding to different current state values of each influence factor, when determining certainAfter the current state value of factor, according to the corresponding relation of preserving in advance, determine the time adjusted value that corresponding current state value is corresponding,Time adjusted value t while participating in adjusting as thisi
Wherein, the different current states of each factor are worth corresponding time adjusted value ti(i=1,2 ..., N) initial valueCan determine according to the statistical average of historical data; Follow-up, can further adjust according to the statistical average of a period of timeTime adjusted value ti(i=1,2 ..., N). Here, N represents the summation of all factors that affect the alarm clock timing time, and i is eachThe index value of factor.
Step 104, utilizes adjustment weights and the time adjusted value of each factor, calculates the adjustment reference of alarm clock timing timeValue.
Particularly, the mode of calculating alarm clock timing time adjustment reference value can be:Wherein, i=1,2 ..., N, the number that N is all factors.
Step 105, whether the adjustment reference value that determining step 104 calculates is 0, if so, to the alarm clock timing timeDo not adjust; Otherwise, determine alarm clock actual ring time by step 106.
If the adjustment reference value calculating in step 104 is 0, representing does not need actual ring time of alarm clock and isThe alarm clock timing time t of current setting of uniting is identical; If be not 0, represent that alarm clock actual ring time should be at alarm clock timingOn the basis of time t, adjust.
Step 106 according to adjusting reference value, is determined alarm clock on the basis of the alarm clock timing time of the current setting of system tActual ring time.
Particularly, system or user preset a time interval [t-α, t+ β], and alarm clock actual ring time can rootAdjust in this time interval according to needs. The concrete mode of determining alarm clock actual ring time can be: if t+ ε is in the timeIn interval [t-α, t+ β], using t+ ε as alarm clock actual ring time; If t+ ε is outside time interval [t-α, t+ β], by distanceTime interval endpoint value from t+ ε close to is as alarm clock actual ring time. Wherein, the value of ε may be positive number, may be alsoNegative.
Carry out ringing alarm clock actual ring time at alarm clock.
So far, the basic skills flow process in the application finishes. Above-mentioned the application's flow process preferably can periodically be carried out,For example can 24 hours carry out this flow process for the cycle, namely calculate the value of a ε every day, and determine whether to adjust according to valueWhole alarm clock actual ring time. At the some all after dates of process, the alarm clock timing to time interval and setting as requiredTime is adjusted.
For time interval, can add up T the alarm clock in the cycle actual ring time, and while adding up the actual ring of alarm clockBetween at the number of times at time interval [t-α, t+ β] end points place, if this number of times is more than or equal to T/W, can carry out time intervalAdjust; Wherein, T and W are the positive integer that user or system arrange, and T > W. For example, make W=5.
Wherein, when time interval is adjusted, can setting area between the scope sum adjusted of upper and lower bound time beγ, the actual quarter-bell number of times of adding up inherent upper and lower bound of T cycle is respectively N1And N2, time interval can be adjusted intoHere, if N1Or N2There is one to be 0, so just mean and only have the upper limitOr lower limit is adjusted γ. The value of γ can arrange as required, for example, can be 5 minutes.
For the alarm clock timing time t setting, can add up T the alarm clock in the cycle actual ring time, and it is individual to calculate TAvr average time of the actual ring of alarm clock in cycle, if | avr-t| > 5min, adjusts t.
The above-mentioned alarm clock timing method being in the application, by above-mentioned the application's processing, can be according to affecting alarm clockThe current state of each factor of timing, self adaptation is adjusted alarm clock actual ring time, balance user's time of having a rest andWorking time.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all in essence of the present inventionWithin god and principle, any amendment of making, be equal to replacement, improvement etc., within the scope of protection of the invention all should be included in.

Claims (8)

1. an alarm clock timing method, is characterized in that, comprising:
The current state value of a, definite all factors that affect alarm time adjustment, corresponding each factor i, determines and adjusts weights qi,And determine the time adjusted value t of corresponding factor i according to current state valuei
B, the adjustment weights that utilize each described factor and time adjusted value, calculate the adjustment reference value ε of alarm clock timing time; IfDescribed adjustment reference value ε be not 0 and t+ ε in time interval [t-α, t+ β], using t+ ε as alarm clock actual ring time; IfDescribed adjustment reference value ε be not 0 and t+ ε outside time interval [t-α, t+ β], by the time interval end points nearer apart from t+ εValue is as alarm clock actual ring time;
Cycle according to setting is carried out above step a to step b, adds up the actual ring time of alarm clock in T cycle, and statisticsAlarm clock actual ring time is at the number of times at time interval [t-α, t+ β] end points place, if number of times is more than or equal to T/W, by the timeInterval is adjusted into [ t - α - γN 2 N 1 + N 2 , t + β + γN 1 N 1 + N 2 ] ;
Wherein, described time interval [t-α, t+ β] is arranged by user, and T and W are the positive integer that user or system arrange, and T > W,N1、N2Be respectively at the left end point of time interval and the actual ringing number of right endpoint, γ represents time interval [t-α, t+ β]Left and right end points adjusting range.
2. method according to claim 1, is characterized in that, the adjustment reference value ε bag of described calculating alarm clock timing timeDraw together:Wherein, i=1,2 ..., N, the number that N is all factors.
3. method according to claim 1 and 2, is characterized in that, calculates the mean time of the actual ring of alarm clock in T cycleBetween avr, if | avr-t| > 5min, adjust described t; Wherein, T is the positive integer that user or system arrange.
4. method according to claim 1, is characterized in that, according to the current state value of each factor i determine corresponding because ofElement i time adjusted value comprise: for arbitrary factor i, for each state value, corresponding time adjusted value is set in advance, will with oughtTime adjusted value corresponding to front state value is as the time adjusted value t of factor ii
5. method according to claim 1, is characterized in that, the described factor that affects alarm time adjustment comprises: weatherSituation, traffic, geographical position, season and/or the vehicles.
6. method according to claim 5, is characterized in that, when the current state value in geographical position is equator and south polesTime, time adjusted value and the weights in described geographical position are 0; And/or,
In the time that the current state value of the vehicles is subway, time adjusted value and the weights of the described vehicles are 0.
7. method according to claim 1, is characterized in that, the cycle of described setting is 24 hours.
8. method according to claim 1 and 2, is characterized in that, described definite adjustment weights qiMode comprise: determineThis adjust in inoperative factor j, and adjusted weights and be made as 0; Again determine this adjust in work each because ofElement k, is adjusted weights and is all made as 1/M; Wherein, M is the sum of all factors of working during this is adjusted.
CN201310515785.1A 2013-10-28 2013-10-28 A kind of alarm clock timing method Active CN103645629B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310515785.1A CN103645629B (en) 2013-10-28 2013-10-28 A kind of alarm clock timing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310515785.1A CN103645629B (en) 2013-10-28 2013-10-28 A kind of alarm clock timing method

Publications (2)

Publication Number Publication Date
CN103645629A CN103645629A (en) 2014-03-19
CN103645629B true CN103645629B (en) 2016-05-04

Family

ID=50250861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310515785.1A Active CN103645629B (en) 2013-10-28 2013-10-28 A kind of alarm clock timing method

Country Status (1)

Country Link
CN (1) CN103645629B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303361B (en) * 2014-07-30 2020-06-05 腾讯科技(深圳)有限公司 Alarm clock adjusting method and device and terminal
CN105467819B (en) * 2015-11-20 2018-06-01 深圳威畅通科技有限公司 Time memorandum expression device, control device, time memorandum system and time memo method
CN105611074B (en) * 2016-02-26 2019-07-09 惠州Tcl移动通信有限公司 A kind of method and system optimizing the pushed information time according to alarm time
CN106303016B (en) * 2016-08-11 2019-10-01 Oppo广东移动通信有限公司 A kind of jingle bell method of adjustment, device and the terminal of alarm clock
CN106773621B (en) * 2016-12-05 2020-01-14 Tcl集团股份有限公司 Method and system for realizing intelligent alarm clock
CN106990708B (en) * 2017-04-28 2021-01-15 深圳如果技术有限公司 Alarm clock ringing method and device and electronic equipment
CN107517304A (en) * 2017-07-07 2017-12-26 深圳市金立通信设备有限公司 Alarm clock prompting method and terminal
CN109495650B (en) * 2018-12-14 2021-01-15 北京小米移动软件有限公司 Alarm clock reminding method, device, terminal and storage medium
CN112486011B (en) * 2020-11-17 2021-09-14 长沙学院 Method for waking up user based on alarm clock trolley

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101450534B1 (en) * 2007-06-28 2014-10-15 삼성전자주식회사 Method and apparatus for controling alarm in mobile terminal
CN102782733B (en) * 2009-12-31 2015-11-25 数字标记公司 Adopt the method and the allocation plan that are equipped with the smart phone of sensor
CN102478783A (en) * 2010-11-30 2012-05-30 瀚斯宝丽股份有限公司 Portable electronic apparatus having prompting time adjusting function and operating method thereof
CN102158594A (en) * 2011-02-17 2011-08-17 华为终端有限公司 Method for mobile terminal reminding and mobile terminal
CN102193498B (en) * 2011-03-18 2013-04-10 南京邮电大学 Method for setting intelligent electronic alarm clock based on applied statistical method and embedded computing

Also Published As

Publication number Publication date
CN103645629A (en) 2014-03-19

Similar Documents

Publication Publication Date Title
CN103645629B (en) A kind of alarm clock timing method
CN104506644B (en) A kind of method, apparatus and mobile terminal for carrying out network data access
US7834759B2 (en) Wireless sensor and system that determines exposure to an enviromental element based on local conditions
US11579634B1 (en) Irrigation controller and associated methods
CN104967731B (en) A kind of terminal notifying method and terminal
CN105527826B (en) The control method and electronic equipment of alarm clock
CN105302471A (en) Alarm setting method and alarm setting device
CN107705038B (en) Self-adaptive order dispatching method and system for maintenance tasks of operation and maintenance management system
CN102982769A (en) Method for adaptive control of screen designated area brightness
CN106488026A (en) The control method of mobile terminal, device and mobile terminal
CN105511516A (en) Temperature control method and temperature control device
CN106292251A (en) Electronic watch
CN105988841A (en) Update method of application program, and mobile terminal
CN111599298A (en) Color temperature adjusting method, wearable device and storage medium
CN204467705U (en) Intelligent water plate mat
EP2842074B1 (en) Method and apparatus for facilitating interaction between a radio frequency identification communications circuit and a mobile terminal
Kumar et al. Design of real time data acquisition with multi node embedded systems
CN105576752A (en) Charging remind method of intelligent terminal and intelligent terminal
CN116451872A (en) Carbon emission prediction distributed model training method, related method and device
CN104955019B (en) A kind of mobile data traffic automatic ordering system and its method
CN105259744A (en) Alarm clock controlling method and device, alarm clock and electronic equipment
CN107770288B (en) Method and system for reporting meter data, meter and application server
CN105450860A (en) Time adjusting method and time adjusting device
CN104571500A (en) Method for strengthening memory and wear-type intelligent device
CN105468374B (en) Method and system for realizing calendar time control of intelligent equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant