CN107613136B - Automatic adjustment method of intelligent alarm clock, mobile terminal and storage medium - Google Patents

Automatic adjustment method of intelligent alarm clock, mobile terminal and storage medium Download PDF

Info

Publication number
CN107613136B
CN107613136B CN201710935252.7A CN201710935252A CN107613136B CN 107613136 B CN107613136 B CN 107613136B CN 201710935252 A CN201710935252 A CN 201710935252A CN 107613136 B CN107613136 B CN 107613136B
Authority
CN
China
Prior art keywords
time
alarm clock
user
alarm
time threshold
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
CN201710935252.7A
Other languages
Chinese (zh)
Other versions
CN107613136A (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201710935252.7A priority Critical patent/CN107613136B/en
Publication of CN107613136A publication Critical patent/CN107613136A/en
Application granted granted Critical
Publication of CN107613136B publication Critical patent/CN107613136B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electric Clocks (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an automatic adjustment method of an intelligent alarm clock, a mobile terminal and a storage medium, wherein the alarm clock time of a user is dynamically adjusted based on fixed alarm clock time set by the user and combined with the sleeping state of the user and external factors every day, the user does not need to manually and frequently turn on and off again, and meanwhile, the user is ensured to obtain enough rest time under the condition of not influencing work; the user can also select the setting from the line and get up in advance or delay for a long time, or can close the alarm clock without getting up after setting up to let the alarm clock more nimble, promote user experience.

Description

Automatic adjustment method of intelligent alarm clock, mobile terminal and storage medium
Technical Field
The invention relates to the technical field of mobile terminals, in particular to an automatic adjustment method of an intelligent alarm clock, a mobile terminal and a storage medium.
Background
With the continuous development of science and technology, various portable terminals including mobile phones have become important tools for people to perform communication or entertainment activities, and people hope to have an alarm clock which is convenient to carry around to remind people of completing various planning tasks in time, so that the portable terminals generally have an alarm clock reminding function.
The existing alarm clock service function of the terminal, such as a mobile phone alarm clock, requires a user to preset reminding time, and the terminal starts ringing reminding after the system time of the terminal reaches the preset reminding time. In real life, 2-3 alarm clocks are often set, such as a one-monday to friday getting-up alarm and a different one-saturday getting-up alarm.
After the alarm clock is set, a user generally cannot frequently adjust and change the alarm clock, a certain biological clock is continuously formed for a long time, for example, the alarm clock rings, and the user can wake up from sleep at once. When a special scene occurs, the alarm clock time needs to be changed manually, for example, a customer is seen on a certain day, the normal working time needs to be advanced by half an hour, the alarm clock getting-up time is advanced by half an hour, and the alarm clock is forgotten to be adjusted back after the working time is reached, so that the alarm clock time set for a long time is disordered.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a solution to the above mentioned drawbacks of the prior art
A method, a system and a mobile terminal for intelligent learning of an intelligent alarm clock aim at dynamically adjusting the alarm clock time of a user based on fixed alarm clock time set by the user and combined with the sleeping state of the user and external factors every day, the user does not need to manually and frequently turn on and off again, and meanwhile, the user is ensured to obtain enough rest time under the condition that work is not influenced; the user can also select the setting from the line and get up in advance or delay for a long time, or can close the alarm clock without getting up after setting up to let the alarm clock more nimble, promote user experience.
The technical scheme adopted by the invention for solving the technical problem is as follows:
an automatic adjusting method of an intelligent alarm clock comprises the following steps:
acquiring the date of the day and alarm clock time T1 input by a user, and setting the date of the day and the alarm clock time T1 as a first alarm clock and journey information of the user, wherein the journey information comprises the number of journeys, the journey content and all journey starting times T;
judging whether the starting time T in the journey is earlier than the alarm clock time T1 of the first alarm clock, if so, controlling to add a second alarm clock and start the second alarm clock, and setting the starting time as the starting time of the earliest journey; if not, judging that the date is in the time period from Monday to Friday or the time period from Saturday to Sunday;
if the current date is in the time period from Monday to Friday, controlling to add a third alarm clock and start according to the change of the first environmental factor, and setting the start time as the alarm clock time T1 of the first alarm clock and reducing the preset time threshold Y1;
and if the current date is in the time period from saturday to sunday, controlling to add a fourth alarm clock and start according to the change of the second environmental factor, and setting the start time to be the alarm clock time T1 of the first alarm clock and adding a preset time threshold Y2.
The automatic adjustment method of the intelligent alarm clock is characterized by further comprising the following steps:
the alarm time T1 of the first alarm clock is controlled to be unchanged if the day's date is not scheduled and/or is not influenced by the first environmental factor as well as the second environmental factor.
The automatic adjustment method of the intelligent alarm clock is characterized in that the step of obtaining the current time and the daily trip information comprises the following steps:
the method includes the steps that data stored in a mobile terminal and used for recording sleep states, fatigue states and travel information of a user are collected in advance, wherein the sleep states include: sleep time, sleep duration, deep sleep duration, and light sleep duration; the trip information includes: departure, destination, travel mode, vehicle license plate number, predicted departure time, and predicted arrival time.
The automatic adjustment method of the intelligent alarm clock is characterized in that whether the starting time in the journey is earlier than the alarm clock time T1 of the first alarm clock is judged, if yes, the second alarm clock is controlled to be added and started, and the starting time is set to be the starting time of the earliest journey; if not, the step of judging that the current date is in the time period from monday to friday or the time period from saturday to sunday specifically comprises the following steps:
counting the number n of the trips, and correspondingly recording the departure time t of each trip;
when n is equal to 0, judging that the date is in the time period from Monday to Friday or the time period from Saturday to Sunday;
and when n is more than or equal to 1, comparing the departure time T of each journey with the alarm clock time T1 of the first alarm clock, if one or more T is less than T1, controlling to add a second alarm clock and start, and selecting the earliest departure time in T as the start time.
The automatic adjustment method of the intelligent alarm clock is characterized in that the first environment factor comprises the following steps: the time of working trip, the motor vehicle number limit time period, the weather condition and the traffic condition; the second environmental factor includes: weather conditions, sleep conditions, and fatigue levels.
The automatic adjustment method of the intelligent alarm clock is characterized in that if the date of the day is in the time period from Monday to Friday, the third alarm clock is controlled to be added and started according to the change of the first environmental factor, and the setting of the starting time as the alarm clock time T1 of the first alarm clock is reduced by the preset time threshold Y1, specifically includes:
acquiring weather data after the control connection to the network is successful every preset time; acquiring the number limit time of a local motor vehicle and the license plate number of the motor vehicle of a user; acquiring an average value C1 of all driving times of the current day and the date recorded by the mobile terminal of the user and an average value C2 of all travel times of other days in the week where the date is located;
if the weather is rain and/or snow, controlling to add a third alarm clock and start, and setting the starting time to be the alarm clock time T1 of the first alarm clock and reducing a first time threshold;
if the license plate number of the motor vehicle of the user is the limit number, controlling to add a third alarm clock and start, and setting the starting time to be the alarm clock time T1 of the first alarm clock and reducing a second time threshold;
and if the C1 is larger than the C2, controlling to add a third alarm clock and turn on, and setting the turn-on time to be the alarm clock time T1 of the first alarm clock and reducing by a third time threshold.
The automatic adjustment method of the intelligent alarm clock is characterized in that if the current date is in the time period from saturday to sunday, the fourth alarm clock is controlled to be added and started according to the change of the second environmental factor, and the setting of the starting time to be the alarm clock time T1 of the first alarm clock and the addition of the preset time threshold Y2 specifically comprises the following steps:
acquiring weather data after the control connection to the network is successful every preset time; acquiring data of the sleep state of the user;
if the weather is rain and/or snow, controlling to add a fourth alarm clock and start, and setting the starting time to be the alarm clock time T1 of the first alarm clock and adding a fourth time threshold;
if the sleeping time of the data of the user sleeping state is less than 8 hours, controlling to add a fourth alarm clock and start, and setting the starting time to be a fifth time threshold added to the alarm clock time T1 of the first alarm clock;
and if the sleeping time of the data of the user sleeping state is more than 8 hours and the calculated ratio L1 of the deep sleeping time length to the sleeping time length is more than the ratio L2 of the light sleeping time length to the sleeping time length, controlling to add a fourth alarm clock and start the fourth alarm clock, and setting the start time to be the alarm clock time T1 of the first alarm clock and adding a sixth time threshold.
The automatic adjustment method of the intelligent alarm clock is characterized in that the preset time threshold Y1 and the preset time threshold Y2 are numerical values input by a user in advance, and the preset time threshold Y1 comprises a first time threshold, a second time threshold and a third time threshold; the preset time threshold value Y2 comprises a fourth time threshold value, a fifth time threshold value and a sixth time threshold value; if the user does not input a numerical value in advance, the preset time threshold Y1 and the preset time threshold Y2 are both default numerical values; the preset time is 5 am each day.
A mobile terminal comprises a fatigue sensor, a processor and a memory connected with the processor, wherein the memory stores a program of an automatic adjusting method of a smart alarm clock, and the program of the automatic adjusting method of the smart alarm clock is executed by the processor to realize the automatic adjusting method of the smart alarm clock.
A storage medium, wherein the storage medium stores a program of an automatic adjustment method of a smart alarm clock, which is executed by a processor for the automatic adjustment method of the smart alarm clock.
The invention discloses an automatic adjustment method of an intelligent alarm clock, a mobile terminal and a storage medium, wherein the alarm clock time of a user is dynamically adjusted based on fixed alarm clock time set by the user and combined with the sleeping state of the user and external factors every day, the user does not need to manually and frequently turn on and off again, and meanwhile, the user is ensured to obtain enough rest time under the condition of not influencing work; the user can also set how long to get up in advance or after the user selects the setting, or the alarm clock can be turned off after the setting without getting up; the fixed alarm clock time is not modified, and the original setting is quickly recovered when the adjustment is forgotten; the newly-added alarm clock reminds the user in different reminding modes and closing modes, the added voice function solves the problem that the traditional alarm clock is single in structure and function.
Drawings
Fig. 1 is a flowchart of a first preferred embodiment of an automatic adjusting method of an intelligent alarm clock according to the present invention.
Fig. 2 is a functional block diagram of a preferred embodiment of the mobile terminal of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for automatically adjusting an intelligent alarm clock according to a first preferred embodiment of the present invention. As shown in fig. 1, an automatic adjusting method of an intelligent alarm clock includes the following steps:
step S100, acquiring the date of the day and the alarm time T1 input and set by the user, and setting the date of the day and the alarm time T1 as a first alarm and the travel information of the user, wherein the travel information comprises the travel number, the travel content and all the travel starting times T.
In an embodiment of the present invention, the data stored in the mobile terminal for recording the sleep state, the fatigue state, and the trip information of the user is collected after the user wears the smart device and the user inputs the data, wherein collecting the sleep state includes: sleep time, sleep duration, deep sleep duration, and light sleep duration; the trip information includes: departure, destination, travel mode, vehicle license plate number, predicted departure time, and predicted arrival time. The intelligent wearable device, such as a known intelligent bracelet, is generally worn on the wrist of a user, various sensors are arranged on the intelligent bracelet, whether the user is in a sleep state or not and data such as the heart rate of the user can be measured, the measured data are transmitted to the terminal in real time when the intelligent bracelet is wirelessly connected with the terminal through Bluetooth or WIFI, and a program on the terminal can process the data transmitted by the intelligent bracelet and then output a result to be stored in a memory and can also be checked. In the invention, the sleep time, the light sleep time, the deep sleep time and the sleep time of a user are recorded through the intelligent bracelet.
In addition, the time length of deep sleep is in positive correlation with the fatigue degree of the user according to medical research, namely if the deep sleep time of the user in a certain day is suddenly longer than the previous average time, the user is in the fatigue state, so the fatigue degree of the user can be judged through the deep sleep time.
The travel mode can be bus travel, driving travel or walking. The user is required to input which travel mode is selected for getting on and off duty, and if the user selects to drive to get on and off duty, the user is further required to input the license plate number; if the user chooses to sit on a bus or a subway to work, the user is required to input the departure and reception times of the vehicle, the departure interval time, the peak departure time period, and the interval time. In addition, the time of going to and from work is calculated by the GPS system according to the residence address input by the user, the office address input by the user and the latest card punching time of the company.
Further, the alarm clock time T1 set by the user is alarm clock information input by the user through an alarm clock setting interface of the mobile terminal, and the alarm clock information includes alarm clock time T1, alarm clock date and ring. And the terminal sets the alarm clock according to the alarm clock set time and acquires the travel information of the user. And schedule management software which is input by the user and stored in the terminal is used for the schedule information of the user. When the software is started, if the software has a journey, an event prompt is given. The travel information comprises the number of travels, travel contents, departure times t of all the travels and the travel information. Setting the number n of the trips, wherein n is an integer which is more than or equal to 0, and corresponds to n trip departure times t, for example, n =0, which indicates that no trip arrangement exists on the same day, and no trip prompt exists; if n =1, a travel arrangement is arranged on the same day, and the corresponding travel starting time t is obtained; if n =2, two trips X1 and X2 are indicated, corresponding to departure times t1 and t2, respectively.
Further, after the intelligent alarm clock service is started, the terminal can set a trip plan by acquiring the travel information of the user at the specified time. And obtaining travel information through the travel plan. When the travel information of the user is sent and changed, the data can be automatically updated according to the information. Therefore, the user can be prevented from inputting the travel information at every time, the steps of manually setting the alarm clock by the user are reduced, and the user experience is improved.
Step S200, judging whether the starting time T in the journey is earlier than the alarm clock time T1 of the first alarm clock, if so, controlling to add a second alarm clock and start, and setting the starting time as the starting time of the earliest journey; if not, the current date is judged to be the time period from Monday to Friday or the time period from Saturday to Sunday.
In the embodiment of the invention, when a user starts the system, the terminal can automatically call and refer to various collected data in the system at preset time intervals and data collected from the outside through a sensor and a network so as to quickly determine whether to modify the alarm time of the user. The predetermined time interval is 5 am every day in the present embodiment. The network can be wifi, also can be bluetooth etc.. The system can automatically start a terminal, for example, a WIFI in a smart phone is connected with a router in a home, if the WIFI connection fails, the data service of a user is automatically started so as to be connected with an external network, it needs to be noted that the system can control the mobile phone to restart before being started, so that the situation that the data service is used by an application consuming the data service in a user background is avoided, and the use of data traffic is saved.
After the system is started, the schedule management software sends event prompt information, after the event prompt information is received, whether the starting time T of a journey in all the journey information is earlier than the alarm clock time T1 of a first alarm clock set by a user is obtained, when one or more times T are smaller than T1, the system controls an alarm clock setting interface to automatically add a second alarm clock, and the second alarm clock time T2 is selected as the second alarm clock time with the earliest starting time in T. The number of the trips may be one or more, and in step S100, when the number of trips n =0, the trip information does not exist, at this time, the alarm time is not modified, and the alarm time T1 of the first alarm clock is kept unchanged. For example, if the user preset the alarm time T1 of the first alarm clock to be 7 am, then in the above case, when 7 am is reached, the alarm operation will be executed at 7 am. It is then determined that the day date is in the time period of monday to friday or saturday to sunday. If the number of the trips is n =1, 1 event prompt is given, the trip departure time T is displayed, 1 trip corresponds to 1 trip departure time T, and at this time, if T is earlier than T1, for example, T is 6 am, and T1 is 7 am, the system controls the alarm clock setting interface to automatically add a second alarm clock, and sets the alarm clock time to 6 am, that is, the second alarm clock time T2= T, that is, the alarm clock operation is executed at 6 am. If n =2, i.e. the trips X1 and X2, correspond to the departure times T1 (6 am) and T2 (5: 30 am), where both T1 and T2 are earlier than T1 and T2 is the earliest departure time, the system will control the alarm clock setting interface to automatically add a second alarm clock, and select the earliest departure time as the on time, i.e. T2= T2, i.e. the alarm will be performed at 5:30 am.
Specifically, step S200 is described in detail as follows:
s201, counting the number n of the trips (n is an integer), and correspondingly recording the departure time t of each trip;
s202, when n is equal to 0, judging that the date is in the time period from Monday to Friday or the time period from Saturday to Sunday;
s203, when n is larger than or equal to 1, comparing the departure time T of each journey with the alarm clock time T1 of the first alarm clock, if one or more T is smaller than T1, controlling to add the second alarm clock and start, and selecting the earliest departure time in T as the start time.
And S300, if the current date is in the time period from Monday to Friday, controlling to add a third alarm clock and start according to the change of the first environmental factor, and setting the start time to be the alarm clock time T1 of the first alarm clock and reducing the preset time threshold value Y1.
In this embodiment, the week is divided into two time periods, one time period from monday to friday, and one time period from saturday to sunday. For example, the day is tuesday, and is in the period of monday through friday. If the day date is saturday, the day date is in a period of saturday to sunday.
Preferably, the preset time threshold Y1 and the preset time threshold Y2 are both values input by a user in advance, and the preset time threshold Y1 includes a first time threshold (default value is 15 minutes), a second time threshold (default value is 60 minutes), and a third time threshold (default value is 10 minutes); wherein the third time threshold value is set to an appropriate value according to the congestion degree. The preset time threshold Y2 includes a fourth time threshold (default is 30 minutes), a fifth time threshold (default is the difference between the sleep time of the user calculated by the system and 8), and a sixth time threshold (default is a value set by the system according to the fatigue degree of the user, such as 20 minutes); if the user does not input a value in advance, the preset time threshold Y1 and the preset time threshold Y2 are both default values, as described above.
The system will decide whether to modify the alarm setting for the day at a preset time by referring to external factors according to different time periods, thereby avoiding that the user is late on weekdays or ensures sufficient rest time on non-weekdays. The preset time is 5 am in the present embodiment, and the first environmental factor includes: the time of working trip, the motor vehicle number limit time period, the weather condition and the traffic condition; the weather condition refers to sunny weather, cloudy weather, rain weather, snow weather and combination weather thereof, and the system is connected with the network at 5 points in the morning to acquire real-time weather in the weather network; the traffic condition refers to road traffic information between a departure place and a destination in the travel information, and when the road is congested, the time when the bus is going out or the bus is driven to go out and will not be congested is long. The second environmental factor includes: weather conditions, sleep conditions, and fatigue levels. The sleep condition is associated with the fatigue degree, when the deep sleep time of a certain day of the user is suddenly longer than the past average time, the user is in the fatigue state, otherwise, the user is in a sufficient sleep state or a mental state.
Acquiring weather data after the control connection network is successful at 5 points every morning; acquiring the number limit time of a local motor vehicle and the license plate number of the motor vehicle of a user; acquiring an average value C1 of all driving times of the current date and the average value C2 of all travel times of other days in a week on which the current date and the current date are recorded by a mobile terminal of a user, controlling to add a third alarm clock and start the third alarm clock according to the change of the first link factor, and setting the start time to be the alarm clock time T1 of the first alarm clock and reduce the preset time threshold Y1, wherein the following three conditions exist in the embodiment:
(1) and if the weather is rain and/or snow, controlling to add a third alarm clock and start, and setting the start time to be the alarm clock time T1 of the first alarm clock and reducing by a first time threshold. E.g. T1 is 7 am (7: 00), the first time threshold takes the value entered by the user (15), then a third alarm clock is added, with an alarm time T3=6: 45.
(2) And if the motor vehicle license plate number of the user is the limit number, controlling to add a third alarm clock and start, and setting the start time to be the alarm clock time T1 of the first alarm clock and reducing a second time threshold. E.g. T1 is 7 am (7: 00), the second time threshold gets the value entered by the user (60), and a third alarm clock is added with an alarm time T3=6: 00.
(2) And if the C1 is larger than the C2, controlling to add a third alarm clock and turn on, and setting the turn-on time to be the alarm clock time T1 of the first alarm clock and reducing by a third time threshold. E.g., T1 is 7 am (7: 00), the third time threshold takes the value entered by the user (20), and a third alarm clock is added with an alarm time T3=6: 40.
If the above multiple situations exist simultaneously, the alarm time of the third alarm clock is T1-Y1, where Y1 is the sum of the time thresholds corresponding to the multiple situations. For example, if there are three cases, the value of Y1 is 15+60+20=95, and the alarm time of the third alarm clock is 5: 25.
Further, if the day's date is not scheduled and/or not affected by the first environmental factor, the alarm time T1 of the first alarm clock is controlled to be unchanged, i.e. T1 turns on the alarm.
And S400, if the current date is in the time period from saturday to sunday, controlling to add a fourth alarm clock and start according to the change of the second environmental factor, and setting the start time to be the alarm clock time T1 of the first alarm clock and adding a preset time threshold Y2.
In the embodiment of the invention, the weather data is acquired after the control connection network is successfully connected at 5 am every day, and the weather data is specifically as described above; and acquiring data of the sleep state of the user. And controlling to add a fourth alarm clock and start according to the change of the second environment factor, and setting the start time to be the alarm clock time T1 of the first alarm clock and adding a preset time threshold Y2, wherein the method comprises the following three conditions:
(1) and if the weather is rain and/or snow, controlling to add a fourth alarm clock and start, and setting the starting time to be the alarm clock time T1 of the first alarm clock and adding a fourth time threshold. For example T1 is 7 am (7: 00) and the fourth time threshold is a value previously entered by the user (10), a fourth alarm clock is added with an alarm time of T4=7: 10.
(2) And if the sleeping time of the data of the user sleeping state is less than 8 hours, controlling to add a fourth alarm clock and start, and setting the start time to be a fifth time threshold added to the alarm clock time T1 of the first alarm clock. The sleeping time length S is less than 8 hours, and a difference S1 is obtained through calculation (8-S) so as to ensure normal 8-hour sleeping time. For example, T1 is 7 am (7: 00), the user sleeps for 7 hours and 15 minutes, and the fifth time threshold is S1=45 (which may also be a value input by the user), then a fourth alarm clock is added, whose alarm time is T4=7: 45.
(3) And if the sleeping time of the data of the user sleeping state is longer than 8 hours and the calculated ratio L1 of the deep sleeping time length to the sleeping time length is larger than the ratio L2 of the light sleeping time length to the sleeping time length (L1 > L2), controlling the fourth alarm clock to be added and started, and setting the starting time to be the alarm clock time T1 of the first alarm clock and adding a sixth time threshold. For example T1 is 7 am (7: 00) and the sixth time threshold is a value previously entered by the user (25), a fourth alarm clock is added with an alarm time of T4=7: 25.
If the above multiple situations exist simultaneously, the alarm time of the fourth alarm clock is T1+ Y2, where Y2 is the sum of the time thresholds corresponding to the multiple situations. For example, if the above three conditions exist simultaneously, the value of Y2 is 10+45+25=80, and the alarm time of the fourth alarm clock is 8: 20.
Further, if the day's date is not scheduled and/or not affected by the second environmental factor, the alarm time T1 of the first alarm clock is controlled to be unchanged, i.e. T1 turns on the alarm.
In addition, the newly added alarm clock, whether it is the second alarm clock, the third alarm clock or the fourth alarm clock, is still the ring set by the first alarm clock, except that the time length of the second alarm clock is 30 seconds. In addition, the newly-added alarm clock also has a voice function, and can broadcast the real-time weather of the day and the number limiting time of the day through a network. When the alarm clock is executed, the user wants to continue sleeping, does not need to get up to turn off the alarm clock, and can turn off the alarm clock only by continuously swinging the intelligent bracelet for three times. Therefore, manual operation is avoided, the operation is convenient and simple, and the rest of the user is not disturbed.
Of course, it can be understood by those skilled in the art that all or part of the processes in the method of the above embodiments can be implemented by instructing relevant hardware (such as a processor, a temperature sensor, etc.) through a program of the automatic adjustment method of the intelligent alarm clock, where the program can be stored in a storage medium readable by a terminal, and the program can include the processes of the above method embodiments when executed. The storage medium can be a SIM card, a smart card, a memory, a magnetic disk, an optical disk and the like.
Example two
As shown in fig. 2, the mobile terminal according to the embodiment of the present invention may be a mobile phone (or a computer), where the mobile terminal according to the embodiment of the present invention includes a processor 10, a fatigue sensor 30 (not shown), and a memory 20 connected to the processor 10;
the memory 20 stores a program of an automatic adjusting method of the smart alarm clock, which when executed by the processor 10 implements the automatic adjusting method of the smart alarm clock, as described above.
The processor 10, in some embodiments, may be a Central Processing Unit (CPU), a microprocessor or other data Processing chip, for running program codes stored in the memory 20 or Processing data, such as a program for executing an automatic adjusting method of a smart alarm clock.
The temperature sensor 30 is a fatigue detection device, and the principle thereof is to detect frequency fluctuation of a user when the user is tired in real time by analyzing the fluctuation of the heart rate interval of the user, so as to remind the user whether the user is in a tired state. The fatigue sensor has wide application, and is widely applied to the field of driving at present. And giving out an early warning message when the user is judged to be tired.
EXAMPLE III
A storage medium storing a program of an automatic adjusting method of a smart alarm clock, which realizes the automatic adjusting method of the smart alarm clock when the program of the automatic adjusting method of the smart alarm clock is executed by a processor 10; as described above.
In summary, the invention discloses an automatic adjustment method, a mobile terminal and a storage medium for an intelligent alarm clock, and the automatic adjustment method, the mobile terminal and the storage medium for the intelligent alarm clock dynamically adjust the alarm clock time of a user based on the fixed alarm clock time set by the user and in combination with the sleep state of the user and external factors every day, do not need the user to manually and frequently turn on and off again, and ensure that the user can obtain enough rest time without affecting work; the user can also set how long to get up in advance or after the user selects the setting, or the alarm clock can be turned off after the setting without getting up; the fixed alarm clock time is not modified, and the original setting is quickly recovered when the adjustment is forgotten; the newly-added alarm clock reminds the user in different reminding modes and closing modes, the added voice function solves the problem that the traditional alarm clock is single in structure and function.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (7)

1. An automatic adjustment method of an intelligent alarm clock is characterized by comprising the following steps:
acquiring the date of the day, an alarm clock time T1 input and set by a user as a first alarm clock, and travel information of the user; the first alarm clock is alarm clock information input by a user through an alarm clock setting interface of the mobile terminal; the travel information is input into schedule management software of the mobile terminal by a user, and the travel information comprises travel quantity, travel content and all travel starting time t; after the intelligent alarm clock is started, a trip plan is set by acquiring the trip information at a specified time, and when the trip information of the user changes, the trip plan is automatically updated according to the trip information;
judging whether the departure time T in the journey is earlier than the alarm time T1 of the first alarm clock;
if so, controlling to add a second alarm clock and start, and setting the starting time as the starting time of the earliest journey;
if not, judging that the date is in the time period from Monday to Friday or the time period from Saturday to Sunday;
if the current date is in the time period from Monday to Friday, controlling to add a third alarm clock and start according to the change of the first environmental factor, and setting the start time as the alarm clock time T1 of the first alarm clock and reducing the preset time threshold Y1;
acquiring an average value C1 of all driving times of the current day and the date recorded by the mobile terminal of the user and an average value C2 of all travel times of other days in the week where the date is located;
if the weather is rain and/or snow, controlling to add a third alarm clock and start, and setting the starting time to be the alarm clock time T1 of the first alarm clock and reducing a first time threshold;
if the license plate number of the motor vehicle of the user is the limit number, controlling to add a third alarm clock and start, and setting the starting time to be the alarm clock time T1 of the first alarm clock and reducing a second time threshold;
if C1 is larger than C2, controlling to add a third alarm clock and start, and setting the start time as the alarm clock time T1 of the first alarm clock to be reduced by a third time threshold;
the change in the first environmental factor includes: the average working trip time is longer than that in one week, the license plate number of the motor vehicle of the user is limited, and the weather condition is one or more environmental factors in rain or/and snow weather;
if the environmental factor is one environmental factor, Y1 is the preset time threshold corresponding to the environmental factor; if the environmental factors are multiple, Y1 is the superposition of the preset time thresholds corresponding to the multiple environmental factors;
if the current date is in the time period from saturday to sunday, controlling to add a fourth alarm clock and start according to the change of the second environmental factor, and setting the start time to be the alarm clock time T1 of the first alarm clock and adding a preset time threshold Y2;
acquiring weather data after the control connection to the network is successful every preset time; acquiring data of the sleep state of the user;
if the weather is rain and/or snow, controlling to add a fourth alarm clock and start, and setting the starting time to be the alarm clock time T1 of the first alarm clock and adding a fourth time threshold;
if the sleeping time of the data of the user sleeping state is less than 8 hours, controlling to add a fourth alarm clock and start, and setting the starting time to be a fifth time threshold added to the alarm clock time T1 of the first alarm clock;
if the sleeping time of the data of the user sleeping state is more than 8 hours and the calculated ratio L1 of the deep sleeping time length to the sleeping time length is more than the ratio L2 of the light sleeping time length to the sleeping time length, controlling to add a fourth alarm clock and start the fourth alarm clock, and setting the starting time to be the alarm clock time T1 of the first alarm clock and adding a sixth time threshold;
the changes in the second environmental factor include: the weather condition is one or more environmental factors of rain or/and snow weather, the sleeping time is less than 8 hours and the condition of fatigue;
if the environmental factor is one environmental factor, Y2 is the preset time threshold corresponding to the environmental factor; if the environmental factors are multiple, Y2 is the superposition of the preset time thresholds corresponding to the multiple environmental factors.
2. The automatic adjustment method of the intelligent alarm clock according to claim 1, further comprising:
the alarm time T1 of the first alarm clock is controlled to be unchanged if the day's date is not scheduled and/or is not influenced by the first environmental factor as well as the second environmental factor.
3. The automatic adjustment method of the intelligent alarm clock according to claim 1, wherein the user sleep state comprises: sleep time, sleep duration, deep sleep duration, and light sleep duration; the trip information includes: departure, destination, travel mode, vehicle license plate number, predicted departure time, and predicted arrival time.
4. The automatic adjusting method of an intelligent alarm clock according to claim 1, wherein the step of judging whether the departure time in the journey is earlier than the alarm time T1 of the first alarm clock is performed, if yes, the step of adding a second alarm clock and starting is controlled, and the starting time is set to be the departure time of the earliest journey; if not, the step of judging that the current date is in the time period from monday to friday or the time period from saturday to sunday specifically comprises the following steps:
counting the number n of the trips, and correspondingly recording the departure time t of each trip;
when n is equal to 0, judging that the date is in the time period from Monday to Friday or the time period from Saturday to Sunday;
and when n is more than or equal to 1, comparing the departure time T of each journey with the alarm clock time T1 of the first alarm clock, if one or more T is less than T1, controlling to add a second alarm clock and start, and selecting the earliest departure time in T as the start time.
5. The automatic adjustment method for intelligent alarm clocks according to claim 1, wherein the preset time threshold Y1 and the preset time threshold Y2 are both values pre-input by users, and the preset time threshold Y1 includes a first time threshold, a second time threshold and a third time threshold; the preset time threshold value Y2 comprises a fourth time threshold value, a fifth time threshold value and a sixth time threshold value; if the user does not input a numerical value in advance, the preset time threshold Y1 and the preset time threshold Y2 are both default numerical values; the preset time is 5 am each day.
6. A mobile terminal, characterized by comprising a fatigue sensor, a processor, and a memory connected to the processor, the memory storing a program of an automatic adjusting method of a smart alarm clock, the program of the automatic adjusting method of the smart alarm clock being executed by the processor for implementing the automatic adjusting method of the smart alarm clock according to any one of claims 1-5.
7. A storage medium storing a program of an automatic adjusting method of a smart alarm clock, which is executed by a processor for implementing the automatic adjusting method of the smart alarm clock according to any one of claims 1 to 5.
CN201710935252.7A 2017-10-10 2017-10-10 Automatic adjustment method of intelligent alarm clock, mobile terminal and storage medium Active CN107613136B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710935252.7A CN107613136B (en) 2017-10-10 2017-10-10 Automatic adjustment method of intelligent alarm clock, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710935252.7A CN107613136B (en) 2017-10-10 2017-10-10 Automatic adjustment method of intelligent alarm clock, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN107613136A CN107613136A (en) 2018-01-19
CN107613136B true CN107613136B (en) 2021-03-23

Family

ID=61068337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710935252.7A Active CN107613136B (en) 2017-10-10 2017-10-10 Automatic adjustment method of intelligent alarm clock, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107613136B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108648422A (en) * 2018-05-14 2018-10-12 链家网(北京)科技有限公司 A kind of intelligent prompt method and system based on road conditions
CN109495650B (en) * 2018-12-14 2021-01-15 北京小米移动软件有限公司 Alarm clock reminding method, device, terminal and storage medium
CN110581922A (en) * 2019-08-29 2019-12-17 维沃移动通信有限公司 Alarm clock setting method and terminal equipment
CN113037917A (en) * 2019-12-25 2021-06-25 佛山市云米电器科技有限公司 Alarm clock control method, mobile terminal and computer readable storage medium
CN112801634A (en) * 2021-03-09 2021-05-14 深圳市欧瑞博科技股份有限公司 Intelligent alarm clock setting method and device and computer readable storage medium
CN113516450A (en) * 2021-07-05 2021-10-19 维沃移动通信(杭州)有限公司 Reminding task generation method and device and electronic equipment
CN113885608B (en) * 2021-10-21 2022-06-28 奇瑞汽车股份有限公司 Vehicle control method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100556858B1 (en) * 2003-06-20 2006-03-10 엘지전자 주식회사 Automatic control method for mobile communication device
CN103248759A (en) * 2013-04-03 2013-08-14 广东欧珀移动通信有限公司 Alarm clock promoting method, alarm clock promoting device and mobile equipment
CN106488026A (en) * 2016-10-19 2017-03-08 珠海格力电器股份有限公司 The control method of mobile terminal, device and mobile terminal
CN106773621B (en) * 2016-12-05 2020-01-14 Tcl集团股份有限公司 Method and system for realizing intelligent alarm clock
CN106484439A (en) * 2016-12-10 2017-03-08 北京小米移动软件有限公司 Event-prompting method and device

Also Published As

Publication number Publication date
CN107613136A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN107613136B (en) Automatic adjustment method of intelligent alarm clock, mobile terminal and storage medium
US11196838B2 (en) Dynamic scheduling system for planned service requests
US6678613B2 (en) Method and apparatus for notifying a user of an appointment
US9712643B2 (en) Method and device for calling a taxi
US10485474B2 (en) Sleep monitoring system
US10842968B1 (en) Using local data to improve sleep experience
JP6660098B2 (en) Semantic labeling apparatus and method
US20130103960A1 (en) Method and device with intelligent power management
US20140344375A1 (en) Systems and Methods for Wireless Activity Monitoring with Notifications
GB2548011A (en) Method and apparatus for battery charge monitoring
CN110720100A (en) Information processing apparatus, information processing method, and program
WO2016052100A1 (en) Information processing device, control method for information processing device, and control program
CN106200359A (en) Alarm clock prompting method, device and terminal
US10147062B2 (en) Apparatus, method, and computer program product for determining calendar entries to advance user goals
CN102103360A (en) Method and system for adjusting reminding time value
JP5043799B2 (en) Communication terminal and position information acquisition adjustment program
CN111314561A (en) Intelligent reminding method, terminal and storage medium
CN114073493A (en) Physiological data acquisition method and device and wearable equipment
CN114095601B (en) Reminding method and device and wearable equipment
JP2010117860A (en) Schedule management system and program therefor
JP2014226518A (en) Notification control apparatus, method of controlling the same and program
US10613484B2 (en) Intelligent wake-up alarm system
CN114648289A (en) Schedule management method and system, terminal and computer storage medium
JP2020098496A (en) Information processing program, information processor and information processing method
CN115412858B (en) Data recommendation method and system based on wearable device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant