CN105812544A - Method for controlling ringing bell of alarm clock and alarm clock - Google Patents

Method for controlling ringing bell of alarm clock and alarm clock Download PDF

Info

Publication number
CN105812544A
CN105812544A CN201410843065.2A CN201410843065A CN105812544A CN 105812544 A CN105812544 A CN 105812544A CN 201410843065 A CN201410843065 A CN 201410843065A CN 105812544 A CN105812544 A CN 105812544A
Authority
CN
China
Prior art keywords
sleep
time
correction
weather
alarm clock
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
CN201410843065.2A
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.)
TCL Corp
Original Assignee
TCL Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Corp filed Critical TCL Corp
Priority to CN201410843065.2A priority Critical patent/CN105812544A/en
Publication of CN105812544A publication Critical patent/CN105812544A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)

Abstract

The invention provides a method for controlling ringing bell of an alarm clock and an alarm clock. The method for a ringing bell of an alarm clock comprises steps of calculating practical travel time according to a traffic condition and a weather condition through inquiring the weather condition and the traffic conditions of various paths, obtaining initial sleeping time and recent average sleeping time of a user, calculating a sleeping addition and correction time according to the initial sleeping time, the expected bell ringing time and the average sleeping time, and calculating the practical bell ringing time according to the expected bell ringing time, the sleeping addition and correction time and the practical travel time. As a result, the user can intelligently regulate the bell ringing time of the alarm work according to the weather condition, the traffic condition and the road condition on daily basis, which improves the life quality.

Description

A kind of method controlling alarm clock jingle bell and alarm clock
Technical field
The present invention relates to a kind of alarm clock, particularly to a kind of method controlling alarm clock jingle bell and alarm clock.
Background technology
Along with the development in epoch, smart machine more and more participates in our life, brings great convenience to our life.Current alarm clock is merely capable of performing pre-set order and performs, and this is and not humane for a user, specifically in the following aspects.First: user is set in alarm clock startup 7 thirty, and under normal circumstances, user can normally go to work, but such as the same day, rained suddenly in the evening, causes traffic jam, then user 7 gets up and be just not necessarily able to catch up with working thirty.Second: user goes to work in institute's via line if there is vehicle accident (road conditions), causes that user's work hours extend, then early ring is also necessary.3rd: some user's daily life system is not as stable, some evening is relatively late sleeps, then computationally class's time of advent, when not affecting working, and proper extension length of one's sleep.4th: sometimes user gets up early than the alarm time set, hear that when washing one's face and rinsing one's mouth alarm clock rings it is necessary to go troublesomely to close alarm clock, or user is not around, then alarm clock does not just stop to ring, and wastes electric power, not environmentally always.
Summary of the invention
It is an object of the invention to provide a kind of method controlling alarm clock jingle bell and alarm clock, it is intended to realizing can according to the sleep quality of the weather condition of every day, road conditions and user, the ring time of Intelligent adjustment alarm clock improves the life feeling of user better.
According to the first aspect of the invention, it is provided that a kind of method controlling alarm clock jingle bell.
A kind of method controlling alarm clock jingle bell, described method includes:
A, the expection ring time of alarm clock is set;
The traffic of b, inquiry weather conditions and each bar route, and calculate the actual travel time according to described traffic and described weather conditions;
C, the initial length of one's sleep obtaining user and the recent average length of one's sleep, and calculate the sleep correction time according to the described initial length of one's sleep, described expection ring time and the described average length of one's sleep;
D, calculate actual ring time according to described expection ring time, described sleep correction time and described actual travel time, and according to described actual ring time jingle bell.
According to a further aspect in the invention, it is provided that a kind of alarm clock.
A kind of alarm clock, described alarm clock includes:
Module is set, for arranging the expection ring time of alarm clock;
First calculation process module, for obtaining weather conditions and the traffic of each bar route, and calculates the actual travel time according to described traffic and described weather conditions;
Second calculation process module, for obtaining the initial length of one's sleep of user and the recent average length of one's sleep, and calculates the sleep correction time according to the described initial length of one's sleep, described expection ring time and the described average length of one's sleep;
Jingle bell module, for calculating actual ring time according to described expection ring time, described sleep correction time and described actual travel time, and according to described actual ring time jingle bell.
Beneficial effect:
Alarm clock in embodiments of the present invention is by inquiring about the traffic of weather conditions and each bar route, and calculate the actual travel time according to described traffic and described weather conditions, and obtain the initial length of one's sleep of user and the recent average length of one's sleep, and according to the described initial length of one's sleep, described expection ring time and the described average length of one's sleep calculate the sleep correction time, finally according to described expection ring time, described sleep correction time and described actual travel time calculate actual ring time, therefore, user can according to the weather condition of every day by this alarm clock of use, the sleep quality of road conditions and user, the ring time of Intelligent adjustment alarm clock, improve life feeling better.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of a kind of method controlling alarm clock jingle bell of the embodiment of the present invention 1.
Fig. 2 is the module frame chart of a kind of alarm clock of the embodiment of the present invention 2.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated;Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
In order to technical solutions according to the invention are described, illustrate below by specific embodiment.
Embodiment 1
As it is shown in figure 1, a kind of method controlling alarm clock jingle bell, comprise the following steps:
S101: the expection ring time of alarm clock is set;
S102: the traffic of inquiry weather conditions and each bar route, and calculate the actual travel time according to described traffic and described weather conditions;
S103: obtain the initial length of one's sleep of user and the recent average length of one's sleep, and calculate the sleep correction time according to the described initial length of one's sleep, described expection ring time and the described average length of one's sleep;
S104: calculate actual ring time according to described expection ring time, described sleep correction time and described actual travel time, and according to described actual ring time jingle bell.
In step S101, it should be noted that, the trip mode that expection ring time is typically based on usual daily life system, user selects of user setup alarm clock and user place of going on a journey is configured, and arranges user place of going on a journey and is generally place on and off duty or tourist destination of going on a journey weekend;User's trip mode then refers to main trip mode, such as user selects to go on a journey by bus, then user's whole process of going on a journey substantially all uses running car, or go by taxi, such as user selects public transit facility to go on a journey, then there is a variety of possible trip mode, with specific reference to optimal route, this trip mode is likely first to take transit bus and turns subway again, or first subway turns public transport again, or many times public transport plows ferrum plus one, etc., certainly, in the process with subway of taking transit bus, some section unavoidable needs to carry out walking.
In embodiments of the invention 1, described step S102 inquires about the traffic of weather conditions and each bar route, and includes according to described traffic and described weather conditions calculating actual travel time:
The traffic of b1, inquiry weather conditions and each bar route;
Alarm clock in this step is connected to the network, and in a preset time period before the expection ring time of alarm clock arrives, by calling the multiple third party's interfaces on network, obtain the weather condition in a preset time period before the expection ring time arrival of alarm clock and the traffic path being likely to reach described trip place based on trip mode;Certain traffic path can also by user's sets itself.
B2, according to weather conditions calculate each bar traffic path total travel time TSummation
Performing before this step b2, also to obtain the travel time of any bar traffic path in normal weather situation, with " TSummation=TWalking+TPublic transport+TDrive+TSubway+TBicycle+TElectric motor car" form preserve the travel time T of traffic path described in any bar in normal weather situationSummation, wherein, TWalking、TPublic transport、TDrive、TSubway、TBicycleAnd TElectric motor carRepresent that user uses the time used by walking, public transport, driving, subway, bicycle and electric motor car in traffic path described in any bar respectively correspondingly.
B3, filter out the normal traffic path of traffic, and from the traffic path filtered out, select total travel time TSummationMinimum traffic path is as actual traffic path, and with this total travel time for the actual travel time.
Concrete, we illustrate with the trip mode of public transport subway, if in the weather of light rain, optimal route is northern station, Zhong Shan main road (337 tunnels of taking transit bus)-western station, main road, Huangpu-walking 500 meters (turning No. two lines of subway) Milky Way passenger station-Ji'nan University's subway station-walking 500 meters to the south, and this circuit pavement behavior is good, without traffic congestion hydrops situation, then user selects this traffic path, if situation is just contrary, then can only select time major path: northern station, Zhong Shan main road (totally 15 station, 889 tunnels of taking transit bus)-Milky Way passenger station-Ji'nan University's subway station-walking 500 meters;If this circuit is still not smooth, then select other circuit.
In the preferred embodiment 1 of the present invention, this step b2, according to weather conditions calculate each bar traffic path total travel time TSummationSpecifically include:
B21, according to weather conditions inquire about weather/travel time synopsis, obtain the weather augmenting factor of corresponding each mode of transportation under these weather conditions;This weather/travel time synopsis is such as shown in table 1.1.
B22, calculate weather correction time of each mode of transportation in each bar traffic path according to described weather augmenting factor, and the weather correction temporal summation of each the traffic path of Time Calculation that make corrections according to the weather of each mode of transportation;
B23, weather correction temporal summation according to normal travel time of described each traffic path and correspondence, calculate total travel time T of each traffic path respectivelySummation weather.By described " TSummation=TWalking+TPublic transport+TDrive+TGround Ferrum+TBicycle+TElectric motor car" in each trip mode corresponding to time term be multiplied by augmenting factor a, b, c, d, e, the f in described weather/travel time synopsis, draw TSummation weather=TWalking*a+TPublic transport*b+TDrive*c+TGround Ferrum*d+TBicycle*e+TElectric motor car*f。
Shown in an example shown by table 1 specific as follows, and trip mode is for public transport subway, and weather condition selects moderate rain to be example, if the subnormal optimum travel route of weather is: TSummation(27)=TWalking(7)+TPublic Hand over(15)+TDrive(0)+TSubway(5)+TBicycle(0)+TElectric motor car(0), the same day, weather was moderate rain, then TSummation weather(35)=TWalking(7*1.25)+TPublic transport(15*1.35)+TDrive(0)+TSubway(5*1.1)+TBicycle(0)+TElectric motor car(0), but meanwhile, weather another travel route under normal circumstances is: TSummation(29)=TWalking(7)+TPublic transport(2)+TDrive(0)+TSubway(20)+TBicycle(0)+TElectric motor car(0), although be not optimal route in normal weather situation, but when this weather condition is moderate rain, TSummation weather(33)=TWalking(7*1.25)+TPublic transport(2*1.35)+TDrive(0)+TSubway(20*1.1)+TBicycle(0)+TElectric motor car(0), this circuit becomes the optimum traffic path in moderate rain weather on the contrary.
Table 1.1
In this preferred embodiment 1, in in a preset time period before expection ring time arrives, this preset time period generally takes one hour, if this expection ring time was 7 thirty, then alarm clock carries out network connection in 6 thirty, certainly, in other examples, it is possible to take other different time.In the particular content of step S102, by calling the multiple third party's interfaces on network, obtain the weather condition in a preset time period before alarm clock expection ring time arrives and the traffic path being likely to reach described trip place based on described trip mode, and obtain the travel time of traffic path described in any bar in normal weather situation, such as, this weather condition can be sunny, heavy rain, rain or slight snow etc., and work as the trip mode that user selects to go on a journey by bus, then the citing of this traffic path can be Zhong Shan main road-main road, Huangpu-Ji'nan University, Zhong Shan main road-milky way garden-Ji'nan University or other routes, and the time of this plurality of traffic path is obtained by third party's interface;And when user selects public transit facility to go on a journey, then traffic path citing can be northern station, Zhong Shan main road (337 tunnels of taking transit bus)-western station, main road, Huangpu-walking 500 meters (turning No. two lines of subway) Milky Way passenger station-Ji'nan University's subway station-walking 500 meters to the south, or other.
In embodiments of the invention 1, the initial length of one's sleep obtaining user in step S103 includes: start to detect the on off state that whether there is human body and bedroom lamp in preset range from a certain Preset Time in evening;When detecting that human body existed and within the time that human body exists: if detecting, bedroom lamp is closed when T1 and remains off in preset time period T2, then judge that this T1 is as the initial length of one's sleep.It should be noted that when determining that sleep starting time is T1, user leaves midway in sleeping process (going to toilet, open the door, drink water), and sleep starting time T1 delays T automaticallyLeave, TLeaveThe time used is left for this user midway in sleeping process.
In embodiments of the invention 1, step S103 included according to the described initial length of one's sleep, described expection ring time and the described average length of one's sleep calculating sleep correction time:
Calculate expect the length of one's sleep according to the described initial length of one's sleep and expection ring time, according to calculating the described expection length of one's sleep and the described average length of one's sleep difference T length of one's sleepSleep poor
According to work hours TWork hours, expection ring time TExpection ring timeAnd actual travel time TThe actual travel timeSet maximum sleep correction time TThe maximum sleep correction time=TWork hours-TExpection ring time-TSummation is optimum
If TSleep poor≤ 1 hour and TSleep poor> 7 hours, then T is setThe sleep correction time=0;If 2 hours > TSleep Sleep poor> 1 hour, then T is setThe sleep correction time=10 minutes;
If 3 hours > TSleep poor> 2 hours, then T is setThe sleep correction time=20 minutes;If 7 hours > TSleep Sleep poor> 3 hours, then TThe sleep correction time=30 minutes;
If described TThe sleep correction timeExceed described TThe maximum sleep correction time, then T is setThe sleep correction time=TThe maximum sleep correction time.In the embodiment of the present invention 1, calculate expect the length of one's sleep according to the described initial length of one's sleep and expection ring time, according to calculating the described expection length of one's sleep and the described average length of one's sleep difference T length of one's sleepSleep poorParticularly as follows: calculate the expection T length of one's sleep according to the described initial length of one's sleep and expection ring timeExpect the length of one's sleepFor: TDuring expection sleep Between=TExpection ring time-T1;Preserve the T judged each timeExpect the length of one's sleep, and according to described all of TExpect the length of one's sleepCalculate the T average length of one's sleep of userThe average length of one's sleep, and according to TSleep poor=TThe average length of one's sleep-TExpect the length of one's sleep, obtain the difference T of user's actual length of one's sleep and the average length of one's sleepSleep poor
With reference to table 1.2 it can be seen that concrete example illustrates, if work hours TWork hours=9 points, TSet ring time1: 30, TSummation is optimum=30 minutes, then TThe maximum sleep correction time=1 hour, now, no matter T could be set according to the comparison of table 1.2The sleep correction time;But, if TWork hours=9 points, TSet ring time1: 30, TSummation is optimum=30 minutes, then TThe maximum sleep correction time=0 hour, now, no matter how long user stayed up late last night, it is necessary to how long compensates sleep difference, does not all make corrections, with the situation such as avoid working late.If TWork hours=9 points, TSet ring time1: 15, TSummation is optimum=30 minutes, then TThe maximum sleep correction time=15 minutes, if then now TSleep poorIt is 5 hours, then T is setThe sleep correction time=15 minutes, may not exceed, if TSleep poorIt is 1.5 hours, then T is setThe sleep correction time=10 minutes.
TSleep poor≤ 1 hour Do not make corrections
2 hours > TSleep poor> 1 hour Make corrections 10 minutes
3 hours > TSleep poor> 2 hours Make corrections 20 minutes
7 hours > TSleep poor> 3 hours Make corrections 30 minutes
TSleep poor> 7 hours Do not make corrections (judging all night)
Table 1.2
In step S104: calculate actual ring time according to described expection ring time, described sleep correction time and described actual travel time, and according to described actual ring time jingle bell particularly as follows: making described actual ring time is TActual ring time, making described expection ring time is TExpection ring time, the order sleep correction time is TThe sleep correction time, making the described actual travel time is TThe actual travel time;And according to TActual ring time=TExpection ring time-TThe actual travel time+TThe sleep correction timeCalculate the actual ring time T of alarm clockActual ring time.Such as, by calculate this sleep correction the time be TThe sleep correction time=10 minutes, TThe actual travel time=30 minutes, TExpection ring time=8:00, the then T calculatedActual ring time=7: 40.
In embodiments of the invention 1, in described step S104, before according to described actual ring time jingle bell, also include:
In preset range, detect whether that human body exists, if existing, then carrying out normal jingle bell at actual ring time, if being absent from, then cancelling this jingle bell.
The alarm clock ringing method that controls in embodiments of the present invention passes through to inquire about the traffic of weather conditions and each bar route, and calculate the actual travel time according to described traffic and described weather conditions, and obtain the initial length of one's sleep of user and the recent average length of one's sleep, and according to the described initial length of one's sleep, described expection ring time and the described average length of one's sleep calculate the sleep correction time, finally according to described expection ring time, described sleep correction time and described actual travel time calculate actual ring time, therefore, user can according to the weather condition of every day by this alarm clock of use, the sleep quality of road conditions and user, the ring time of Intelligent adjustment alarm clock, improve life feeling better.
Embodiment 2
As in figure 2 it is shown, in embodiments of the invention 2, a kind of alarm clock, described alarm clock includes: arrange module 1, for arranging the expection ring time of alarm clock;First calculation process module 2, for obtaining weather conditions and the traffic of each bar route, and calculates the actual travel time according to described traffic and described weather conditions;Second calculation process module 3, for obtaining the initial length of one's sleep of user and the recent average length of one's sleep, and calculates the sleep correction time according to the described initial length of one's sleep, described expection ring time and the described average length of one's sleep;Jingle bell module 4, for calculating actual ring time according to described expection ring time, described sleep correction time and described actual travel time, and according to described actual ring time jingle bell.
In embodiments of the invention 2, described second calculation process module 3 includes: detection unit 301, for starting to detect the on off state that whether there is human body and bedroom lamp in preset range from a certain Preset Time in evening;Detection identifying unit 302, for when detecting that human body existed and within the time that human body exists: if detecting, bedroom lamp is closed when T1 and remains off in preset time period T2, then judge that this T1 is as the initial length of one's sleep.
In embodiments of the invention 2, described second calculation process module 3 also includes:
First computing unit 303, for according to the described initial length of one's sleep and expection ring time calculating and expect the length of one's sleep, according to calculating the described expection length of one's sleep and the described average length of one's sleep difference T length of one's sleepSleep poor
Setup unit 304, for according to work hours TWork hours, expection ring time TExpection ring timeAnd actual travel time TThe actual travel timeSet maximum sleep correction time TThe maximum sleep correction time=TWork hours-TExpection ring time-TSummation is optimum;And for calculating sleep correction time T according to following relationThe sleep correction time:
Work as TSleep poor≤ 1 hour and TSleep poor> 7 hours, then T is setThe sleep correction time=0;
When 2 is little > TSleep poor> 1 hour, then T is setThe sleep correction time=10 minutes;
When 3 is little > TSleep poor> 2 hours, then T is setThe sleep correction time=20 minutes;
When 7 is little > TSleep poor> 3 hours, then TThe sleep correction time=30 minutes;As described TThe sleep correction timeExceed described TThe maximum sleep correction time, then T is setThe sleep correction time=TThe maximum sleep correction time
In embodiments of the invention 2, described first calculation process module 2 includes:
Query unit 200, for inquiring about weather conditions and the traffic of each bar route;Query unit 200 is by the traffic of network interface inquiry weather conditions and each bar route.
Second computing unit 201, for calculating total travel time T of each bar traffic path according to weather conditionsAlways With
Screening unit 202, is used for filtering out the normal traffic path of traffic, and selects total travel time T from the traffic path filtered outSummationMinimum traffic path is as actual traffic path, and with this total travel time for the actual travel time.
In embodiments of the invention 2, described second computing unit 201 includes: obtain subelement 2011, inquires about weather/travel time synopsis according to weather conditions, obtains the weather augmenting factor of corresponding each mode of transportation under these weather conditions;First computation subunit 2022, for calculating the weather correction time of each mode of transportation in each bar traffic path according to described weather augmenting factor, and the weather correction temporal summation of weather correction each the traffic path of Time Calculation according to each mode of transportation;Second computation subunit 2023, for the weather correction temporal summation of the normal travel time according to described each traffic path and correspondence, calculates total travel time of each traffic path respectively.The circular of the second computing unit 201 is in the existing description of embodiment 1, therefore is not repeated herein.
In embodiments of the invention 2, described jingle bell module 4 is additionally operable to: before according to described actual ring time jingle bell, detected whether that human body exists in preset range, if existing, then carrying out normal jingle bell at actual ring time, if being absent from, then cancelling this jingle bell.
In the embodiment of the present invention 2, on alarm clock, carry infrared module and mixed-media network modules mixed-media.User is the setting alarm clock time while, it is possible to selecting to set trip place and trip mode, then alarm clock passes through mixed-media network modules mixed-media, from third party's interface traffic path, and obtains the travel time.Every day sets for the previous period near alarm clock, by infrared module, whether around to scan user, if, begin through third party's interface and obtain weather condition, road traffic condition etc..According to the weather obtained or traffic conditions, it may be judged whether early ring.In the previous preset time period of jingle bell, by whether around infrared module scans user, if around, preparing to start jingle bell, if do not existed, stopping this jingle bell.Therefore, user can according to the sleep quality of the weather condition of every day, road conditions and user, and the ring time of Intelligent adjustment alarm clock improves life feeling better.
It should be noted that in above-described embodiment, included unit is carry out dividing according to function logic, but is not limited to above-mentioned division, as long as being capable of corresponding function;It addition, the concrete title of each functional unit is also only to facilitate mutually distinguish, it is not limited to protection scope of the present invention.
Additionally, one of ordinary skill in the art will appreciate that all or part of step realizing in the various embodiments described above method can be by the hardware that program carrys out instruction relevant and completes, corresponding program can be stored in the storage medium in computer read/write memory medium, such as ROM/RAM, disk or CD etc..
These are only presently preferred embodiments of the present invention, not in order to limit the present invention, all any amendment, equivalent replacement and improvement etc. made within the spirit and principles in the present invention, should be included within protection scope of the present invention.

Claims (12)

1. the method controlling alarm clock jingle bell, it is characterised in that described method includes:
A, the expection ring time of alarm clock is set;
The traffic of b, inquiry weather conditions and each bar route, and calculate the actual travel time according to described traffic and described weather conditions;
C, the initial length of one's sleep obtaining user and the recent average length of one's sleep, and calculate the sleep correction time according to the described initial length of one's sleep, described expection ring time and the described average length of one's sleep;
D, calculate actual ring time according to described expection ring time, described sleep correction time and described actual travel time, and according to described actual ring time jingle bell.
2. the method for control alarm clock jingle bell according to claim 1, it is characterised in that in described step c, the described initial length of one's sleep obtaining user includes:
Start to detect the on off state that whether there is human body and bedroom lamp in preset range from a certain Preset Time in evening;
When detecting that human body existed and within the time that human body exists: if detecting, bedroom lamp is closed when T1 and remains off in preset time period T2, then judge that this T1 is as the initial length of one's sleep.
3. the method for control alarm clock jingle bell according to claim 2, it is characterised in that in described step c, includes according to calculating the described initial length of one's sleep, described expection ring time and the described average length of one's sleep sleep correction time:
Calculate expect the length of one's sleep according to the described initial length of one's sleep and expection ring time, according to calculating the described expection length of one's sleep and the described average length of one's sleep difference T length of one's sleepSleep poor
According to work hours TWork hours, expection ring time TExpection ring timeAnd actual travel time TThe actual travel timeSet maximum sleep correction time TThe maximum sleep correction time=TWork hours-TExpection ring time-TSummation is optimum
If TSleep poor≤ 1 hour and TSleep poor> 7 hours, then T is setThe sleep correction time=0;
If 2 hours > TSleep poor> 1 hour, then T is setThe sleep correction time=10 minutes;
If 3 hours > TSleep poor> 2 hours, then T is setThe sleep correction time=20 minutes;
If 7 hours > TSleep poor> 3 hours, then TThe sleep correction time=30 minutes;
If described TThe sleep correction timeExceed described TThe maximum sleep correction time, then T is setThe sleep correction time=TThe maximum sleep correction time
4. the method for control alarm clock jingle bell according to claim 1, it is characterised in that described step b includes:
The traffic of inquiry weather conditions and each bar route;
Total travel time T of each bar traffic path is calculated according to weather conditionsSummation
Filter out the normal traffic path of traffic, and from the traffic path filtered out, select total travel time TSummationMinimum traffic path is as actual traffic path, and with this total travel time for the actual travel time.
5. the method for control alarm clock jingle bell according to claim 4, it is characterised in that described step calculates total travel time T of each bar traffic path according to weather conditionsSummationIncluding:
Inquire about weather/travel time synopsis according to weather conditions, obtain the weather augmenting factor of corresponding each mode of transportation under these weather conditions;
The weather correction time of each mode of transportation in each bar traffic path the weather correction temporal summation of weather correction each the traffic path of Time Calculation according to each mode of transportation is calculated according to described weather augmenting factor;
The weather correction temporal summation of normal travel time according to described each traffic path and correspondence, calculates total travel time of each traffic path respectively.
6. the method for control alarm clock jingle bell according to claim 1, it is characterised in that in described step d, before according to described actual ring time jingle bell, also includes:
In preset range, detect whether that human body exists, if existing, then carrying out normal jingle bell at actual ring time, if being absent from, then cancelling this jingle bell.
7. an alarm clock, it is characterised in that described alarm clock includes:
Module is set, for arranging the expection ring time of alarm clock;
First calculation process module, for obtaining weather conditions and the traffic of each bar route, and calculates the actual travel time according to described traffic and described weather conditions;
Second calculation process module, for obtaining the initial length of one's sleep of user and the recent average length of one's sleep, and calculates the sleep correction time according to the described initial length of one's sleep, described expection ring time and the described average length of one's sleep;
Jingle bell module, for calculating actual ring time according to described expection ring time, described sleep correction time and described actual travel time, and according to described actual ring time jingle bell.
8. alarm clock according to claim 7, it is characterised in that described second calculation process module includes:
Detection unit, for starting to detect the on off state that whether there is human body and bedroom lamp in preset range from a certain Preset Time in evening;
Detection identifying unit, for when detecting that human body existed and within the time that human body exists: if detecting, bedroom lamp is closed when T1 and remains off in preset time period T2, then judge that this T1 is as the initial length of one's sleep.
9. alarm clock according to claim 8, it is characterised in that described second calculation process module also includes:
First computing unit, for according to the described initial length of one's sleep and expection ring time calculating and expect the length of one's sleep, according to calculating the described expection length of one's sleep and the described average length of one's sleep difference T length of one's sleepSleep poor
Setup unit, for according to work hours TWork hours, expection ring time TExpection ring timeAnd actual travel time TThe actual travel timeSet maximum sleep correction time TThe maximum sleep correction time=TWork hours-TExpection ring time-TSummation is optimum, and for calculating the sleep correction time according to following relation:
Work as TSleep poor≤ 1 hour and TSleep poor> 7 hours, then T is setThe sleep correction time=0;
When 2 is little > TSleep poor> 1 hour, then T is setThe sleep correction time=10 minutes;
When 3 is little > TSleep poor> 2 hours, then T is setThe sleep correction time=20 minutes;
When 7 is little > TSleep poor> 3 hours, then TThe sleep correction time=30 minutes;
As described TThe sleep correction timeExceed described TThe maximum sleep correction time, then T is setThe sleep correction time=TThe maximum sleep correction time
10. alarm clock according to claim 7, it is characterised in that described first calculation process module includes:
Query unit, for inquiring about weather conditions and the traffic of each bar route;
Second computing unit, for calculating total travel time T of each bar traffic path according to weather conditionsSummation
Screening unit, is used for filtering out the normal traffic path of traffic, and selects total travel time T from the traffic path filtered outSummationMinimum traffic path is as actual traffic path, and with this total travel time for the actual travel time.
11. alarm clock according to claim 10, it is characterised in that described second computing unit includes:
Obtain subelement, inquire about weather/travel time synopsis according to weather conditions, obtain the weather augmenting factor of corresponding each mode of transportation under these weather conditions;
First computation subunit, for calculating the weather correction time of each mode of transportation in each bar traffic path according to described weather augmenting factor, and the weather correction temporal summation of weather correction each the traffic path of Time Calculation according to each mode of transportation;
Second computation subunit, for the weather correction temporal summation of the normal travel time according to described each traffic path and correspondence, calculates total travel time of each traffic path respectively.
12. alarm clock according to claim 7, it is characterised in that described jingle bell module is additionally operable to: before according to described actual ring time jingle bell, in preset range, detecting whether that human body exists, if existing, then having carried out normal jingle bell at actual ring time, if being absent from, then cancel this jingle bell.
CN201410843065.2A 2014-12-30 2014-12-30 Method for controlling ringing bell of alarm clock and alarm clock Pending CN105812544A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410843065.2A CN105812544A (en) 2014-12-30 2014-12-30 Method for controlling ringing bell of alarm clock and alarm clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410843065.2A CN105812544A (en) 2014-12-30 2014-12-30 Method for controlling ringing bell of alarm clock and alarm clock

Publications (1)

Publication Number Publication Date
CN105812544A true CN105812544A (en) 2016-07-27

Family

ID=56419915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410843065.2A Pending CN105812544A (en) 2014-12-30 2014-12-30 Method for controlling ringing bell of alarm clock and alarm clock

Country Status (1)

Country Link
CN (1) CN105812544A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990708A (en) * 2017-04-28 2017-07-28 深圳如果技术有限公司 A kind of alarm clock ringing method, device and electronic equipment
CN107707743A (en) * 2017-09-21 2018-02-16 四川长虹电器股份有限公司 Intelligent alarm clock based on public transport and real-time road network information simultaneously
CN109040464A (en) * 2018-09-10 2018-12-18 奇酷互联网络科技(深圳)有限公司 Method, mobile terminal and the storage medium of alarm clock are intelligently adjusted based on location information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130018284A1 (en) * 2011-07-13 2013-01-17 Philippe Kahn Sleep Monitoring System
CN103297588A (en) * 2012-02-23 2013-09-11 宇龙计算机通信科技(深圳)有限公司 Reminding method of alarm clock and mobile terminal
CN103533175A (en) * 2013-10-24 2014-01-22 上海华勤通讯技术有限公司 Automatic setting system and method of mobile phone alarm clock

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130018284A1 (en) * 2011-07-13 2013-01-17 Philippe Kahn Sleep Monitoring System
CN103297588A (en) * 2012-02-23 2013-09-11 宇龙计算机通信科技(深圳)有限公司 Reminding method of alarm clock and mobile terminal
CN103533175A (en) * 2013-10-24 2014-01-22 上海华勤通讯技术有限公司 Automatic setting system and method of mobile phone alarm clock

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990708A (en) * 2017-04-28 2017-07-28 深圳如果技术有限公司 A kind of alarm clock ringing method, device and electronic equipment
CN107707743A (en) * 2017-09-21 2018-02-16 四川长虹电器股份有限公司 Intelligent alarm clock based on public transport and real-time road network information simultaneously
CN109040464A (en) * 2018-09-10 2018-12-18 奇酷互联网络科技(深圳)有限公司 Method, mobile terminal and the storage medium of alarm clock are intelligently adjusted based on location information

Similar Documents

Publication Publication Date Title
CN103402243B (en) A kind of method and apparatus of Data Update frequency of the application adjusted on mobile terminal
CN113409579A (en) Intelligent city traffic control system based on AI internet of things technology
CN103794066B (en) A kind of Bus Priority signal control method without dedicated bus lanes
US20070273552A1 (en) Control of traffic flow by sensing traffic states
CN105812544A (en) Method for controlling ringing bell of alarm clock and alarm clock
CN101520330A (en) System and method for reminding station arrival by mobile phone
CN105141759B (en) A kind of quarter-bell processing method and system based on mobile terminal
WO2008036362A3 (en) Method and system for a consumer traffic monitoring and notification system
CN103533175B (en) Automatic setting system and method of mobile phone alarm clock
CN106989754A (en) Multi-mode public transport planning system and method based on public bicycles
CN104269058A (en) Intelligent traffic information collection system and method based on wireless sensor network
CN108492589A (en) Traffic lights intelligent adjusting method and device
CN102654941A (en) Reservation type traffic signal priority control method
CN104464358A (en) Novel bus stop prompt system
CN107093322A (en) A kind of overlapping region overspeed alarming method and system based on limiting vehicle speed
CN103198654B (en) Mini type bus running method within resident sparse zone and control device thereof
CN107882365B (en) Intelligent waiting booth
CN106488026A (en) The control method of mobile terminal, device and mobile terminal
CN104867322B (en) A kind of method and apparatus for determining bus stop station
CN205040085U (en) Street lamp illumination control system
CN103400502B (en) Based on the traffic signal control system of scene application
SE0200233L (en) Method of reducing power consumption when establishing a connection according to so-called bluetooth technology
JP2004294236A (en) Alarm clock system
CN203931181U (en) Energy-conserving intelligent traffic light control system based on 4G network
CN205158634U (en) Open road culvert ponding monitoring system

Legal Events

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

Application publication date: 20160727

RJ01 Rejection of invention patent application after publication