CN105426072A - Alarm control method and user terminal - Google Patents
Alarm control method and user terminal Download PDFInfo
- Publication number
- CN105426072A CN105426072A CN201510701668.3A CN201510701668A CN105426072A CN 105426072 A CN105426072 A CN 105426072A CN 201510701668 A CN201510701668 A CN 201510701668A CN 105426072 A CN105426072 A CN 105426072A
- Authority
- CN
- China
- Prior art keywords
- bell
- quarter
- user terminal
- volume value
- value
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
Embodiments of the present invention relate to the field of communication technology, and disclose an alarm control method and a user terminal. The method comprises: when an alarm of a user terminal rings, determining a reminder date of the alarm; and detecting whether the reminder date of the alarm overlaps with a statutory holiday, and if the reminder date of the alarm overlaps with a statutory holiday, controlling a volume value of the alarm to gradually decrease from a set volume value. By implementing the alarm control method and the user terminal provided by the embodiments of the present invention, music that matches current environmental information can be intelligently chosen to play.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of quarter-bell control method and user terminal.
Background technology
In routine work life, user can arrange quarter-bell on the user terminal such as cell phone, panel computer, to prevent the mistake time.Usually, user can arrange the quarter-bell of the week on the subscriber terminal, because the week is generally the work hours.But, due to the introducing of some public holidays, the rule that the week is gone to work may be broken, such as suppose that Friday is the Mid-autumn Festival, so just may not need working Friday, if quarter-bell or the week are normally reminded, user just has to manually close quarter-bell, thus reduces the control efficiency of quarter-bell.
Summary of the invention
The embodiment of the invention discloses a kind of quarter-bell control method and user terminal, quarter-bell can be controlled intelligently in the public holiday, promote the control efficiency of quarter-bell.
Embodiment of the present invention first aspect discloses a kind of quarter-bell control method, comprising:
When user terminal quarter-bell, determine the prompt date of described quarter-bell;
Whether the prompt date detecting described quarter-bell is overlapping with the public holiday, if the prompt date of described quarter-bell is overlapping with the public holiday, the volume value controlling described quarter-bell reduces gradually by setting volume value.
As the optional embodiment of one, described method also comprises:
Judge whether the volume value of described quarter-bell is reduced to designated tone value gradually by setting volume value, if be reduced to designated tone value gradually, closes described quarter-bell.
As the optional embodiment of one, described method also comprises:
Judge whether the volume value of described quarter-bell reaches appointment duration by setting the process duration that volume value reduces gradually, if process duration reaches appointment duration, closes described quarter-bell.
As the optional embodiment of one, the described quarter-bell of described closedown comprises:
Obtain the primary importance information residing for described user terminal;
Obtain the second place information of user's wearable device of described user terminal binding;
Determine the distance value between described primary importance information and described second place information;
Judge whether described distance value is less than or equal to predeterminable range value, if described distance value is less than or equal to predeterminable range value, detect the whipping signal whether receiving described user's wearable device and send, if received, control described quarter-bell and close; Wherein, to be described user's wearable device shaken when getting rid of described whipping signal triggers the signal produced.
As the optional embodiment of one, the described quarter-bell of described closedown comprises:
Obtain the current context information that described quarter-bell is corresponding;
Obtain history environment information when closing quarter-bell;
Whether history environment information when judging described current context information and described closedown quarter-bell mates, if coupling, controls described quarter-bell and closes.
Embodiment of the present invention second aspect discloses a kind of user terminal, comprising:
First determining unit, for when described user terminal quarter-bell, determines the prompt date of described quarter-bell;
First detecting unit, whether overlapping with the public holiday for the prompt date detecting described quarter-bell;
Control module, for when the testing result of described first detecting unit is for being, the volume value controlling described quarter-bell reduces gradually by setting volume value.
As the optional embodiment of one, described user terminal also comprises:
First judging unit, for judging whether the volume value of described quarter-bell is reduced to designated tone value gradually by setting volume value;
Closing unit, for when the judged result of described first judging unit is for being, closes described quarter-bell.
As the optional embodiment of one, described user terminal also comprises:
Second judging unit, for judging whether the volume value of described quarter-bell reaches appointment duration by setting the process duration that volume value reduces gradually;
Closing unit, for when the judged result of described second judging unit is for being, closes described quarter-bell.
As the optional embodiment of one, the mode that described closing unit closes described quarter-bell is specially:
Obtain the primary importance information residing for described user terminal;
Obtain the second place information of user's wearable device of described user terminal binding;
Determine the distance value between described primary importance information and described second place information;
Judge whether described distance value is less than or equal to predeterminable range value, if described distance value is less than or equal to predeterminable range value, detect the whipping signal whether receiving described user's wearable device and send, if received, control described quarter-bell and close; Wherein, to be described user's wearable device shaken when getting rid of described whipping signal triggers the signal produced.
As the optional embodiment of one, the mode that described closing unit closes described quarter-bell is specially:
Obtain the current context information that described quarter-bell is corresponding;
Obtain history environment information when closing quarter-bell;
Whether history environment information when judging described current context information and described closedown quarter-bell mates, if coupling, controls described quarter-bell and closes.
Compared with prior art, the embodiment of the present invention has following beneficial effect:
In the embodiment of the present invention, when user terminal quarter-bell, if the prompt date detecting quarter-bell is overlapping with the public holiday, the volume value that so can control quarter-bell intelligently reduces gradually by setting volume value, thus reduce without the need to the volume value controlling quarter-bell in a manual manner, avoid considerable influence user to sleep, promote the control efficiency of quarter-bell.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of quarter-bell control method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another kind of quarter-bell control method disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another kind of quarter-bell control method disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of a kind of user terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another kind of user terminal disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of another kind of user terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of quarter-bell control method and user terminal, quarter-bell can be controlled intelligently in the public holiday, promote the control efficiency of quarter-bell.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of quarter-bell control method disclosed in the embodiment of the present invention.As shown in Figure 1, this quarter-bell control method can comprise the following steps.
101, user terminal is when quarter-bell, determines the prompt date of quarter-bell.
In the embodiment of the present invention, user terminal can comprise cell phone, panel computer, personal digital assistant (PersonalDigitalAssistant, PDA), mobile internet device (MobileInternetDevice, MID), all types of user terminal such as Intelligent worn device (as intelligent watch, Intelligent bracelet), the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, refer to prompt date of above-mentioned quarter-bell the date of user terminal displays during quarter-bell, this date in such a month, and on such a day represents with certain year usually.Optionally, user terminal, when quarter-bell, can determine the prompt date of quarter-bell from the calendar application of user terminal.
102, whether the prompt date of user terminal detection quarter-bell is overlapping with the public holiday, if the prompt date of quarter-bell is overlapping with the public holiday, performs step 103; Otherwise, if the prompt date of quarter-bell and the public holiday underlapped, continue quarter-bell.
In the embodiment of the present invention, the public holiday refers to according to the folkways and customs of various countries, various nationalities or commemorates requirement, by state's laws Uniform provisions in order to carry out the time of having a rest of celebrating and spending a holiday.Public holiday can comprise the Spring Festival, the Ching Ming Festival, International Labour Day, the Dragon Boat Festival, the Mid-autumn Festival and National Day etc.Optionally, user terminal is when quarter-bell, the prompt date of quarter-bell can be determined from the calendar application of user terminal, and, user terminal can detect whether be labeled the title of some public holidays this prompt date further from calendar application, if be labeled the title (as National Day) of some public holidays this prompt date, so user terminal can determine that the prompt date of quarter-bell is overlapping with the public holiday; Otherwise, if be not labeled the title of any one public holiday this prompt date, so user terminal can determine the prompt date of quarter-bell and the public holiday underlapped.
103, the volume value of user terminal control quarter-bell reduces gradually by setting volume value.
In the embodiment of the present invention, above-mentioned setting volume value can be default volume value (also referred to as normal quantity value), also can be set voluntarily larger than default volume value of user or is worth little volume value than default volume.Optionally, the volume value that user terminal can control quarter-bell is reduced to some designated tone values gradually by setting volume value, or, be reduced to quiet till.
In the method described by Fig. 1, user terminal is when quarter-bell, if the prompt date detecting quarter-bell is overlapping with the public holiday, the volume value that so can control quarter-bell intelligently reduces gradually by setting volume value, thus reduce without the need to the volume value controlling quarter-bell in a manual manner, avoid considerable influence user to sleep, promote the control efficiency of quarter-bell.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of another kind of quarter-bell control method disclosed in the embodiment of the present invention.As shown in Figure 2, this quarter-bell control method can comprise the following steps.
201, user terminal is when quarter-bell, determines the prompt date of quarter-bell.
202, whether the prompt date of user terminal detection quarter-bell is overlapping with the public holiday, if the prompt date of quarter-bell is overlapping with the public holiday, performs step 203; Otherwise, if the prompt date of quarter-bell and the public holiday underlapped, continue quarter-bell.
203, the volume value of user terminal control quarter-bell reduces gradually by setting volume value.
204, user terminal judges whether the volume value of quarter-bell is reduced to designated tone value gradually by setting volume value, if be reduced to designated tone value gradually, performs step 205; Otherwise, if be not reduced to designated tone value, return step 203.
205, user terminal closes quarter-bell.
As the optional mode mode of one, in above-mentioned steps 205, the mode that user terminal closes quarter-bell can comprise the following steps:
21), user terminal obtains the primary importance information residing for user terminal;
22), user terminal obtains the second place information of user's wearable device of user terminal binding;
23) distance value, between user terminal determination primary importance information and second place information;
24), user terminal judges whether this distance value is less than or equal to predeterminable range value, if this distance value is less than or equal to predeterminable range value, detects the whipping signal whether receiving user's wearable device and send, if received, controls quarter-bell and closes; Wherein, to be user's wearable device shaken when getting rid of this whipping signal triggers the signal produced.
In the embodiment of the present invention, by implementing above-mentioned steps 21) ~ step 24), when the distance of the user's wearable device can bound at user terminal and user terminal is very near, and when user shakes and gets rid of the user's wearable device oneself had on, close quarter-bell intelligently, prevent quarter-bell from continuing the electricity of loss user terminal and affecting the sleep of user.Such as, when user has on the sleep of user's wearable device, user terminal can user bound wearable device, and user terminal can be placed on the very near desk of distance users wearable device, when user terminal judge the volume value of quarter-bell by set volume value be reduced to designated tone value gradually time, user terminal can pass through to implement above-mentioned steps 21) ~ step 24) close quarter-bell intelligently, prevent quarter-bell from continuing the electricity of loss user terminal and affecting the sleep of user.
As the optional mode mode of another kind, in above-mentioned steps 205, the mode that user terminal closes quarter-bell can comprise the following steps:
31), user terminal obtains current context information corresponding to quarter-bell;
32), user terminal obtains history environment information when closing quarter-bell;
33), user terminal judge current context information and close quarter-bell time history environment information whether mate, if coupling, control quarter-bell close.
In the embodiment of the present invention, by implementing above-mentioned steps 31) ~ step 33), when current context information corresponding to quarter-bell is with history environment information matches when closing quarter-bell, quarter-bell can be closed intelligently, prevents quarter-bell from continuing the electricity of loss user terminal and affecting the sleep of user.
Wherein, history environment information is mated with current context information: the value of the weather parameters that the most types in the weather history information that history environment information comprises and the current weather information that current context information comprises are identical is identical, or the difference between the weather parameters that each type in the current weather information that weather history information and current context information that history environment information comprises comprise is identical is less than predetermined threshold value.
Wherein, environmental information can comprise positional information, Weather information etc., and wherein, Weather information can comprise all kinds of weather parameters such as temperature, wind speed, uitraviolet intensity, relative humidity, quantity of precipitation, and the embodiment of the present invention is not construed as limiting.
In the method described by Fig. 2, user terminal is when quarter-bell, if the prompt date detecting quarter-bell is overlapping with the public holiday, the volume value that so can control quarter-bell is intelligently reduced to designated tone value gradually by setting volume value, and close quarter-bell, thus close without the need to controlling quarter-bell in a manual manner, avoid considerable influence user to sleep, promote the control efficiency of quarter-bell.
Refer to Fig. 3, Fig. 3 is the schematic flow sheet of another kind of quarter-bell control method disclosed in the embodiment of the present invention.As shown in Figure 3, this quarter-bell control method can comprise the following steps.
301, user terminal is when quarter-bell, determines the prompt date of quarter-bell.
302, whether the prompt date of user terminal detection quarter-bell is overlapping with the public holiday, if the prompt date of quarter-bell is overlapping with the public holiday, performs step 303; Otherwise, if the prompt date of quarter-bell and the public holiday underlapped, continue quarter-bell.
303, the volume value of user terminal control quarter-bell reduces gradually by setting volume value.
304, user terminal judges whether the volume value of quarter-bell reaches appointment duration by setting the process duration that volume value reduces gradually, if process duration reaches appointment duration, performs step 305; Otherwise, if process duration does not reach appointment duration, return step 303.
305, user terminal closes quarter-bell.
As the optional mode mode of one, in above-mentioned steps 305, the mode that user terminal closes quarter-bell can comprise the following steps:
21), user terminal obtains the primary importance information residing for user terminal;
22), user terminal obtains the second place information of user's wearable device of user terminal binding;
23) distance value, between user terminal determination primary importance information and second place information;
24), user terminal judges whether this distance value is less than or equal to predeterminable range value, if this distance value is less than or equal to predeterminable range value, detects the whipping signal whether receiving user's wearable device and send, if received, controls quarter-bell and closes; Wherein, to be user's wearable device shaken when getting rid of this whipping signal triggers the signal produced.
In the embodiment of the present invention, by implementing above-mentioned steps 21) ~ step 24), when the distance of the user's wearable device can bound at user terminal and user terminal is very near, and when user shakes and gets rid of the user's wearable device oneself had on, close quarter-bell intelligently, prevent quarter-bell from continuing the electricity of loss user terminal and affecting the sleep of user.Such as, when user has on the sleep of user's wearable device, user terminal can user bound wearable device, and user terminal can be placed on the very near desk of distance users wearable device, when user terminal judge the volume value of quarter-bell by set volume value be reduced to designated tone value gradually time, user terminal can pass through to implement above-mentioned steps 21) ~ step 24) close quarter-bell intelligently, prevent quarter-bell from continuing the electricity of loss user terminal and affecting the sleep of user.
As the optional mode mode of another kind, in above-mentioned steps 305, the mode that user terminal closes quarter-bell can comprise the following steps:
31), user terminal obtains current context information corresponding to quarter-bell;
32), user terminal obtains history environment information when closing quarter-bell;
33), user terminal judge current context information and close quarter-bell time history environment information whether mate, if coupling, control quarter-bell close.
In the embodiment of the present invention, by implementing above-mentioned steps 31) ~ step 33), when current context information corresponding to quarter-bell is with history environment information matches when closing quarter-bell, quarter-bell can be closed intelligently, prevents quarter-bell from continuing the electricity of loss user terminal and affecting the sleep of user.
Wherein, history environment information is mated with current context information: the value of the weather parameters that the most types in the weather history information that history environment information comprises and the current weather information that current context information comprises are identical is identical, or the difference between the weather parameters that each type in the current weather information that weather history information and current context information that history environment information comprises comprise is identical is less than predetermined threshold value.
Wherein, environmental information can comprise positional information, Weather information etc., and wherein, Weather information can comprise all kinds of weather parameters such as temperature, wind speed, uitraviolet intensity, relative humidity, quantity of precipitation, and the embodiment of the present invention is not construed as limiting.
In the method described by Fig. 3, user terminal is when quarter-bell, if the prompt date detecting quarter-bell is overlapping with the public holiday, the volume value that so can control quarter-bell intelligently reduces gradually by setting volume value, and judge the volume value of quarter-bell by set process duration that volume value reduces gradually reach specify duration time, close quarter-bell, thus close without the need to controlling quarter-bell in a manual manner, avoid considerable influence user to sleep, promote the control efficiency of quarter-bell.
Refer to Fig. 4, Fig. 4 is the structural representation of a kind of user terminal disclosed in the embodiment of the present invention.Wherein, user terminal can comprise all types of user terminals such as cell phone, panel computer, PDA, MID, Intelligent worn device, and the embodiment of the present invention is not construed as limiting.As shown in Figure 4, user terminal can comprise:
First determining unit 401, for when user terminal quarter-bell, determines the prompt date of quarter-bell;
First detecting unit 402, whether overlapping with the public holiday for the prompt date detecting quarter-bell;
Control module 403, for when the testing result of the first detecting unit 402 is for being, the volume value controlling quarter-bell reduces gradually by setting volume value.
In the embodiment of the present invention, refer to prompt date of above-mentioned quarter-bell the date of user terminal displays during quarter-bell, this date in such a month, and on such a day represents with certain year usually.Optionally, the first determining unit 401, when user terminal quarter-bell, can determine the prompt date of quarter-bell from the calendar application of user terminal.
In the embodiment of the present invention, the public holiday refers to according to the folkways and customs of various countries, various nationalities or commemorates requirement, by state's laws Uniform provisions in order to carry out the time of having a rest of celebrating and spending a holiday.Public holiday can comprise the Spring Festival, the Ching Ming Festival, International Labour Day, the Dragon Boat Festival, the Mid-autumn Festival and National Day etc.Optionally, first detecting unit 402 can detect whether be labeled the title of some public holidays this prompt date from calendar application, if be labeled the title (as National Day) of some public holidays this prompt date, so the first detecting unit 402 can determine that the prompt date of quarter-bell is overlapping with the public holiday; Otherwise, if be not labeled the title of any one public holiday this prompt date, so the first detecting unit 402 can determine the prompt date of quarter-bell and the public holiday underlapped.
In the embodiment of the present invention, above-mentioned setting volume value can be default volume value (also referred to as normal quantity value), also can be set voluntarily larger than default volume value of user or is worth little volume value than default volume.Optionally, the volume value that user terminal can control quarter-bell is reduced to some designated tone values gradually by setting volume value, or, be reduced to quiet till.
In the user terminal described by Fig. 4, user terminal is when quarter-bell, if the prompt date detecting quarter-bell is overlapping with the public holiday, the volume value that so can control quarter-bell intelligently reduces gradually by setting volume value, thus reduce without the need to the volume value controlling quarter-bell in a manual manner, avoid considerable influence user to sleep, promote the control efficiency of quarter-bell.
Refer to Fig. 5, Fig. 5 is the structural representation of another kind of user terminal disclosed in the embodiment of the present invention.Wherein, the user terminal shown in Fig. 5 is that user terminal is as shown in Figure 4 optimized and obtains.Compared with the user terminal shown in Fig. 4, the user terminal shown in Fig. 5 can also comprise:
First judging unit 404, for judging whether the volume value of quarter-bell is reduced to designated tone value gradually by setting volume value;
Closing unit 405, for when the judged result of the first judging unit 404 is for being, closes quarter-bell.
As the optional mode mode of one, the mode that above-mentioned closing unit 405 closes quarter-bell can comprise the following steps:
21) the primary importance information residing for user terminal, is obtained;
22) second place information of user's wearable device of user terminal binding, is obtained;
23) distance value between primary importance information and second place information, is determined;
24), judge whether this distance value is less than or equal to predeterminable range value, if this distance value is less than or equal to predeterminable range value, detect the whipping signal whether receiving user's wearable device and send, if received, control quarter-bell and close; Wherein, to be user's wearable device shaken when getting rid of this whipping signal triggers the signal produced.
In the embodiment of the present invention, by implementing above-mentioned steps 21) ~ step 24), when the distance of the user's wearable device can bound at user terminal and user terminal is very near, and when user shakes and gets rid of the user's wearable device oneself had on, close quarter-bell intelligently, prevent quarter-bell from continuing the electricity of loss user terminal and affecting the sleep of user.Such as, when user has on the sleep of user's wearable device, user terminal can user bound wearable device, and user terminal can be placed on the very near desk of distance users wearable device, when user terminal judge the volume value of quarter-bell by set volume value be reduced to designated tone value gradually time, user terminal can pass through to implement above-mentioned steps 21) ~ step 24) close quarter-bell intelligently, prevent quarter-bell from continuing the electricity of loss user terminal and affecting the sleep of user.
As the optional mode mode of another kind, the mode that above-mentioned closing unit 405 closes quarter-bell can comprise the following steps:
31) current context information corresponding to quarter-bell, is obtained;
32) history environment information when closing quarter-bell, is obtained;
33), judge whether current context information mates with history environment information when closing quarter-bell, if coupling, control quarter-bell and close.
In the embodiment of the present invention, by implementing above-mentioned steps 31) ~ step 33), when current context information corresponding to quarter-bell is with history environment information matches when closing quarter-bell, quarter-bell can be closed intelligently, prevents quarter-bell from continuing the electricity of loss user terminal and affecting the sleep of user.
Wherein, history environment information is mated with current context information: the value of the weather parameters that the most types in the weather history information that history environment information comprises and the current weather information that current context information comprises are identical is identical, or the difference between the weather parameters that each type in the current weather information that weather history information and current context information that history environment information comprises comprise is identical is less than predetermined threshold value.
Wherein, environmental information can comprise positional information, Weather information etc., and wherein, Weather information can comprise all kinds of weather parameters such as temperature, wind speed, uitraviolet intensity, relative humidity, quantity of precipitation, and the embodiment of the present invention is not construed as limiting.
In the user terminal described by Fig. 5, user terminal is when quarter-bell, if the prompt date detecting quarter-bell is overlapping with the public holiday, the volume value that so can control quarter-bell is intelligently reduced to designated tone value gradually by setting volume value, and close quarter-bell, thus close without the need to controlling quarter-bell in a manual manner, avoid considerable influence user to sleep, promote the control efficiency of quarter-bell.
Refer to Fig. 6, Fig. 6 is the structural representation of another kind of user terminal disclosed in the embodiment of the present invention.Wherein, the user terminal shown in Fig. 6 is that user terminal is as shown in Figure 4 optimized and obtains.Compared with the user terminal shown in Fig. 4, the user terminal shown in Fig. 6 can also comprise:
Second judging unit 406, for judging whether the volume value of quarter-bell reaches appointment duration by setting the process duration that volume value reduces gradually;
Closing unit 407, for when the judged result of the second judging unit 406 is for being, closes quarter-bell.
As the optional mode mode of one, the mode that above-mentioned closing unit 407 closes quarter-bell can comprise the following steps:
21) the primary importance information residing for user terminal, is obtained;
22) second place information of user's wearable device of user terminal binding, is obtained;
23) distance value between primary importance information and second place information, is determined;
24), judge whether this distance value is less than or equal to predeterminable range value, if this distance value is less than or equal to predeterminable range value, detect the whipping signal whether receiving user's wearable device and send, if received, control quarter-bell and close; Wherein, to be user's wearable device shaken when getting rid of this whipping signal triggers the signal produced.
In the embodiment of the present invention, by implementing above-mentioned steps 21) ~ step 24), when the distance of the user's wearable device can bound at user terminal and user terminal is very near, and when user shakes and gets rid of the user's wearable device oneself had on, close quarter-bell intelligently, prevent quarter-bell from continuing the electricity of loss user terminal and affecting the sleep of user.Such as, when user has on the sleep of user's wearable device, user terminal can user bound wearable device, and user terminal can be placed on the very near desk of distance users wearable device, when user terminal judge the volume value of quarter-bell by set volume value be reduced to designated tone value gradually time, user terminal can pass through to implement above-mentioned steps 21) ~ step 24) close quarter-bell intelligently, prevent quarter-bell from continuing the electricity of loss user terminal and affecting the sleep of user.
As the optional mode mode of another kind, the mode that above-mentioned closing unit 407 closes quarter-bell can comprise the following steps:
31) current context information corresponding to quarter-bell, is obtained;
32) history environment information when closing quarter-bell, is obtained;
33), judge whether current context information mates with history environment information when closing quarter-bell, if coupling, control quarter-bell and close.
In the embodiment of the present invention, by implementing above-mentioned steps 31) ~ step 33), when current context information corresponding to quarter-bell is with history environment information matches when closing quarter-bell, quarter-bell can be closed intelligently, prevents quarter-bell from continuing the electricity of loss user terminal and affecting the sleep of user.
Wherein, history environment information is mated with current context information: the value of the weather parameters that the most types in the weather history information that history environment information comprises and the current weather information that current context information comprises are identical is identical, or the difference between the weather parameters that each type in the current weather information that weather history information and current context information that history environment information comprises comprise is identical is less than predetermined threshold value.
Wherein, environmental information can comprise positional information, Weather information etc., and wherein, Weather information can comprise all kinds of weather parameters such as temperature, wind speed, uitraviolet intensity, relative humidity, quantity of precipitation, and the embodiment of the present invention is not construed as limiting.
In the user terminal described by Fig. 6, user terminal is when quarter-bell, if the prompt date detecting quarter-bell is overlapping with the public holiday, the volume value that so can control quarter-bell intelligently reduces gradually by setting volume value, and judge the volume value of quarter-bell by set process duration that volume value reduces gradually reach specify duration time, close quarter-bell, thus close without the need to controlling quarter-bell in a manual manner, avoid considerable influence user to sleep, promote the control efficiency of quarter-bell.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium comprises ROM (read-only memory) (Read-OnlyMemory, ROM), random access memory (RandomAccessMemory, RAM), programmable read only memory (ProgrammableRead-onlyMemory, PROM), Erasable Programmable Read Only Memory EPROM (ErasableProgrammableReadOnlyMemory, EPROM), disposable programmable ROM (read-only memory) (One-timeProgrammableRead-OnlyMemory, OTPROM), the electronics formula of erasing can make carbon copies ROM (read-only memory) (Electrically-ErasableProgrammableRead-OnlyMemory, EEPROM), read-only optical disc (CompactDiscRead-OnlyMemory, or other optical disc memorys CD-ROM), magnetic disk memory, tape memory, or can be used in any other medium computer-readable carrying or store data.
Above a kind of quarter-bell control method disclosed in the embodiment of the present invention and user terminal are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (10)
1. a quarter-bell control method, is characterized in that, comprising:
When user terminal quarter-bell, determine the prompt date of described quarter-bell;
Whether the prompt date detecting described quarter-bell is overlapping with the public holiday, if the prompt date of described quarter-bell is overlapping with the public holiday, the volume value controlling described quarter-bell reduces gradually by setting volume value.
2. method according to claim 1, is characterized in that, described method also comprises:
Judge whether the volume value of described quarter-bell is reduced to designated tone value gradually by setting volume value, if be reduced to designated tone value gradually, closes described quarter-bell.
3. method according to claim 1, is characterized in that, described method also comprises:
Judge whether the volume value of described quarter-bell reaches appointment duration by setting the process duration that volume value reduces gradually, if process duration reaches appointment duration, closes described quarter-bell.
4. according to the method in claim 2 or 3, it is characterized in that, the described quarter-bell of described closedown comprises:
Obtain the primary importance information residing for described user terminal;
Obtain the second place information of user's wearable device of described user terminal binding;
Determine the distance value between described primary importance information and described second place information;
Judge whether described distance value is less than or equal to predeterminable range value, if described distance value is less than or equal to predeterminable range value, detect the whipping signal whether receiving described user's wearable device and send, if received, control described quarter-bell and close; Wherein, to be described user's wearable device shaken when getting rid of described whipping signal triggers the signal produced.
5. according to the method in claim 2 or 3, it is characterized in that, the described quarter-bell of described closedown comprises:
Obtain the current context information that described quarter-bell is corresponding;
Obtain history environment information when closing quarter-bell;
Whether history environment information when judging described current context information and described closedown quarter-bell mates, if coupling, controls described quarter-bell and closes.
6. a user terminal, is characterized in that, comprising:
First determining unit, for when described user terminal quarter-bell, determines the prompt date of described quarter-bell;
First detecting unit, whether overlapping with the public holiday for the prompt date detecting described quarter-bell;
Control module, for when the testing result of described first detecting unit is for being, the volume value controlling described quarter-bell reduces gradually by setting volume value.
7. user terminal according to claim 6, is characterized in that, also comprises:
First judging unit, for judging whether the volume value of described quarter-bell is reduced to designated tone value gradually by setting volume value;
Closing unit, for when the judged result of described first judging unit is for being, closes described quarter-bell.
8. user terminal according to claim 6, is characterized in that, described method also comprises:
Second judging unit, for judging whether the volume value of described quarter-bell reaches appointment duration by setting the process duration that volume value reduces gradually;
Closing unit, for when the judged result of described second judging unit is for being, closes described quarter-bell.
9. the user terminal according to claim 7 or 8, is characterized in that, the mode that described closing unit closes described quarter-bell is specially:
Obtain the primary importance information residing for described user terminal;
Obtain the second place information of user's wearable device of described user terminal binding;
Determine the distance value between described primary importance information and described second place information;
Judge whether described distance value is less than or equal to predeterminable range value, if described distance value is less than or equal to predeterminable range value, detect the whipping signal whether receiving described user's wearable device and send, if received, control described quarter-bell and close; Wherein, to be described user's wearable device shaken when getting rid of described whipping signal triggers the signal produced.
10. the user terminal according to claim 7 or 8, is characterized in that, the mode that described closing unit closes described quarter-bell is specially:
Obtain the current context information that described quarter-bell is corresponding;
Obtain history environment information when closing quarter-bell;
Whether history environment information when judging described current context information and described closedown quarter-bell mates, if coupling, controls described quarter-bell and closes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510701668.3A CN105426072B (en) | 2015-10-23 | 2015-10-23 | A kind of quarter-bell control method and user terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510701668.3A CN105426072B (en) | 2015-10-23 | 2015-10-23 | A kind of quarter-bell control method and user terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105426072A true CN105426072A (en) | 2016-03-23 |
CN105426072B CN105426072B (en) | 2018-12-11 |
Family
ID=55504310
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510701668.3A Active CN105426072B (en) | 2015-10-23 | 2015-10-23 | A kind of quarter-bell control method and user terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105426072B (en) |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101997950B (en) * | 2010-05-19 | 2013-07-31 | 宇龙计算机通信科技(深圳)有限公司 | Method, device and terminal for realizing alarm clock |
CN103188399A (en) * | 2013-03-20 | 2013-07-03 | 北京小米科技有限责任公司 | Method, device and terminal for controlling alarm clock rings |
CN103475786A (en) * | 2013-09-25 | 2013-12-25 | 上海斐讯数据通信技术有限公司 | Method and system for setting mobile terminal alarm clock |
CN104348973A (en) * | 2014-10-22 | 2015-02-11 | 小米科技有限责任公司 | Alarm clock management method and device for intelligent wearing equipment and intelligent wearing equipment |
CN104598246A (en) * | 2015-01-29 | 2015-05-06 | 小米科技有限责任公司 | Method and device for reminding event |
CN104898840A (en) * | 2015-05-26 | 2015-09-09 | 联想(北京)有限公司 | Information processing method and apparatus, and electronic device |
-
2015
- 2015-10-23 CN CN201510701668.3A patent/CN105426072B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105426072B (en) | 2018-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9696886B2 (en) | Systems and methods for communicating task reminders on portable electronic devices | |
JP5340567B2 (en) | Communication terminal, information management apparatus, and program | |
CN101115254A (en) | Screen displaying method of mobile terminal | |
KR20070036516A (en) | Mobile terminal for managing schedule and method therefor | |
CN104508573A (en) | Method and apparatus for alarm service using context awareness in portable terminal | |
US9413873B2 (en) | Mobile terminal and controlling method thereof | |
CN103347118A (en) | Message prompting method and device | |
WO2012155416A1 (en) | Method for obtaining charge parameters, method and terminal for displaying remaining charge duration | |
CN105828424A (en) | Intelligent terminal and energy consumption quantitative control method thereof | |
CN110190643B (en) | Method and device for reminding user of charging, wearable device and storage medium | |
CN103501390A (en) | Mobile terminal with reminding function and reminding realization method thereof | |
CN103188399A (en) | Method, device and terminal for controlling alarm clock rings | |
CN101488995A (en) | Communication terminal and communication prompt method | |
CN106101419B (en) | Alarm clock prompting method and system based on mobile terminal | |
CN106793040A (en) | Terminal control method and device | |
CN101859093B (en) | Realizing method and device of alarm clock in electronic equipment | |
CN105611041A (en) | Alarm clock prompting method and apparatus thereof | |
CN103763438B (en) | Information broadcasting method and device and mobile terminal | |
CN105426072A (en) | Alarm control method and user terminal | |
CN104267948A (en) | Alarm clock control method and device of intelligent mobile terminal | |
CN107172285A (en) | Method for adjusting alarm clock ringing time and mobile terminal | |
CN111092985A (en) | Reminding method of mobile terminal, mobile terminal and computer storage medium | |
CN102572082A (en) | Use method for networked mobile phone alarm clock | |
CN106231077A (en) | The based reminding method of terminal and device | |
CN105847526A (en) | Reminding method and system based on communication terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |