Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide alarm clock control method and device in a kind of electronic equipment, woke up before alarm time for solving user in prior art, trouble closed by alarm clock, or the problem that alarm clock still sounds by former setting-up time and impacts user or other people.
For achieving the above object and other relevant objects, the invention provides alarm clock control method in a kind of electronic equipment, described electronic equipment comprises display screen; Described alarm clock control method comprises the following steps: in the ticket reserving time before alarm time, monitors the show state of described display screen; If described display screen lights, then judge whether the triggering behavior that described display screen lights is predetermined trigger;
If so, then the alarm clock corresponding with described alarm time on the same day is closed.
In one embodiment of the present invention, described triggering behavior is the call reminding of described electronic equipment; If described display screen lights, judge whether the triggering behavior that described display screen lights is that predetermined trigger comprises: judge that whether described call reminding is call reminding first; If not, then judge whether described electronic equipment unlocks successfully; If so, the triggering behavior that then described display screen lights is predetermined trigger.
In one embodiment of the present invention, if described call reminding is call reminding first, then shield described call reminding.
In one embodiment of the present invention, described alarm clock control method also comprises: after the described call reminding of shielding, send reminding short message to the number corresponding with described call reminding.
In one embodiment of the present invention, described triggering behavior is user's triggering; If described display screen lights, judge whether the triggering behavior that described display screen lights is that predetermined trigger comprises: judge whether described electronic equipment unlocks successfully; If so, the triggering behavior that then described display screen lights is predetermined trigger.
Accordingly, present invention also offers alarm clock control device in a kind of electronic equipment, described electronic equipment comprises display screen; Described alarm clock control device comprises: memory cell, for storing alarm time and the scheduled time; Monitoring unit, is connected with described display screen and memory cell, in the ticket reserving time before alarm time, monitors the show state of described display screen; Judging unit, is connected with described monitoring unit, for when described display screen lights, judges whether the triggering behavior that described display screen lights is predetermined trigger; Processing unit, is connected with described judging unit, when the triggering behavior for lighting at described display screen is predetermined trigger, closes the alarm clock corresponding with described alarm time on the same day.
In one embodiment of the present invention, described triggering behavior is the call reminding of described electronic equipment; Described judging unit comprises the first judging unit and the second judging unit; Described first judging unit is connected with described monitoring unit, for when described display screen lights, judges that whether described call reminding is call reminding first; Described second judging unit is connected with described first judging unit, for at described call reminding be not first call reminding time, judge whether described electronic equipment unlocks successfully, and determine that when unlocking successfully the triggering behavior that described display screen lights is predetermined trigger.
In one embodiment of the present invention, described processing unit is also connected with described first judging unit, at described call reminding be first call reminding time, shield described call reminding.
In one embodiment of the present invention, described alarm clock control device also comprises: reminding unit, is connected with described first judging unit, at described call reminding be first call reminding time, send reminding short message to the number corresponding with described call reminding.
In one embodiment of the present invention, described triggering behavior is user's triggering; Described judging unit is used for when described display screen lights, and judges whether described electronic equipment unlocks successfully; And when unlocking successfully, determine that the triggering behavior that described display screen lights is predetermined trigger.
As mentioned above, alarm clock control method and device in electronic equipment of the present invention, have following beneficial effect:
In ticket reserving time before alarm time, the show state of described display screen is monitored, when display screen lights, judge whether the triggering behavior that described display screen lights is predetermined trigger, when being reservation triggering behavior, think that user wakes up, alarm clock is no longer needed to carry out jingle bell prompting, thus close the alarm clock corresponding with described alarm time on the same day, thus conveniently turn off the alarm, avoid after user wakes up, alarm clock jingle bell causes unnecessary puzzlement to other people, also eliminates the step of user's initiatively turn off the alarm simultaneously.In addition, owing to only closing the alarm clock corresponding with alarm time on the same day, on normally sounding the not impact of later alarm clock.
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
Refer to Fig. 1, the invention provides the schematic flow sheet of a quarter-bell control method embodiment in a kind of electronic equipment.In Fig. 1, in electronic equipment, quarter-bell control method comprises:
Step S11, in the ticket reserving time before alarm time, monitors the show state of described display screen;
Step S12, judges whether described display screen lights;
If described display screen lights, then perform step S13, judge whether the triggering behavior that described display screen lights is predetermined trigger; Otherwise, continue to perform step S11.
In step s 13, if the triggering behavior that described display screen lights is predetermined trigger, then perform step S14, then close the alarm clock corresponding with described alarm time on the same day.Otherwise, continue to perform step S11.
In the present embodiment, in ticket reserving time before alarm time, the show state of described display screen is monitored, when display screen lights, judge whether the triggering behavior that described display screen lights is predetermined trigger, when being reservation triggering behavior, think that user wakes up, alarm clock is no longer needed to carry out jingle bell prompting, thus close the alarm clock corresponding with described alarm time on the same day, thus conveniently turn off the alarm, avoid after user wakes up, alarm clock jingle bell causes unnecessary puzzlement to other people, also eliminates the step of user's active turn off the alarm simultaneously.In addition, owing to only closing the alarm clock corresponding with alarm time on the same day, on normally sounding the not impact of later alarm clock.
Refer to Fig. 2, the schematic flow sheet of another embodiment of quarter-bell control method in electronic equipment provided by the invention.In the present embodiment, described triggering behavior is the call reminding of described electronic equipment.In Fig. 2, in electronic equipment, quarter-bell control method comprises:
Step S21, in the ticket reserving time before alarm time, monitors the show state of described display screen;
Step S22, judges whether described display screen lights;
If described display screen lights, then perform step S23, judge that whether described call reminding is call reminding first; Otherwise, continue to perform step S21.
In step S23, if described call reminding is call reminding first, then perform step S24, then at the described call reminding of shielding, and send reminding short message to the number corresponding with described call reminding.If described call reminding is not call reminding first, then performs step S25, judge whether described electronic equipment unlocks successfully.
In step S25, if described electronic equipment unlocks successfully, then perform step S26, then close the alarm clock corresponding with described alarm time on the same day.Otherwise, continue to perform step S21.
In the present embodiment, subscribing triggering behavior is more than twice incoming call, and electronic equipment unlocks successfully by user, thus determines that user wakes up, and then says that the same day, the alarm clock corresponding with described alarm time was closed.Alarm clock control method in electronic equipment in the present embodiment, can effectively avoid within the alarm time scheduled time, user wakes up by harassing call.Meanwhile, more than twice incoming call is defaulted as important incoming call, reminds.If user does not unlock, then illustrate that user does not wake up, alarm clock is normally opened; Otherwise, think that user wakes up, close the alarm clock corresponding with described alarm time on the same day, thus conveniently turn off the alarm, avoid after user wakes up, alarm clock jingle bell causes unnecessary puzzlement to other people, also eliminates the step of user's initiatively turn off the alarm simultaneously.
In addition, for sending a telegram here first, while shielding incoming call, also sending note to described corresponding number of sending a telegram here, avoiding the communication caused because of shielding incoming call to omit.
In another embodiment, only can also shield incoming call, and not send note to described corresponding number of sending a telegram here.
Refer to Fig. 3, the schematic flow sheet of another embodiment of quarter-bell control method in electronic equipment of the present invention.The behavior that triggers described in Fig. 3 is for user's triggering, and in described electronic equipment, quarter-bell control method comprises:
Step S31, in the ticket reserving time before alarm time, monitors the show state of described display screen;
Step S32, judges whether described display screen lights;
If described display screen lights, then perform step S33, judge whether described electronic equipment unlocks successfully; Otherwise, continue to perform step S31.
In step S33, if described electronic equipment unlocks successfully, then perform step S34, then close the alarm clock corresponding with described alarm time on the same day.Otherwise, continue to perform step S31.
In the present embodiment, can to user's initiatively trigger electronics bright screen, and the use of successful unlock electronic equipment is monitored, now, user is in waking state, close the alarm clock corresponding with described alarm time on the same day, alarm clock jingle bell can be avoided to cause unnecessary puzzlement to other people, also eliminate the step of user's active turn off the alarm simultaneously.
Please refer to Fig. 4, the structural representation of alarm control unit in electronic equipment of the present invention.Described electronic equipment to comprise in display 11, Fig. 4 alarm control unit 1 in electronic equipment and comprises:
Memory cell 12, for storing alarm time and the scheduled time;
Monitoring unit 13, is connected with described display screen 11 and memory cell 12, in the ticket reserving time before alarm time, monitors the show state of described display screen 11;
Judging unit 14, is connected with described monitoring unit 13, for when described display screen 11 lights, judges whether the triggering behavior that described display screen 11 lights is predetermined trigger;
Processing unit 15, is connected with described judging unit 14, when the triggering behavior for lighting at described display screen 11 is predetermined trigger, closes the alarm clock corresponding with described alarm time on the same day.
In the present embodiment, in the ticket reserving time of monitoring unit 13 before alarm time, the show state of described display screen 11 is monitored; When display screen 11 lights, judging unit 14 judges whether the triggering behavior that described display screen 11 lights is predetermined trigger; When being reservation triggering behavior, think that user wakes up, alarm clock is no longer needed to carry out jingle bell prompting, thus trigger processing unit 15 closes the alarm clock corresponding with described alarm time on the same day, thus conveniently turn off the alarm, avoid after user wakes up, alarm clock jingle bell causes unnecessary puzzlement to other people, also eliminates the step of user's initiatively turn off the alarm simultaneously.And, owing to only closing the alarm clock corresponding with alarm time on the same day, on normally sounding the not impact of later alarm clock.
In one embodiment, described triggering behavior is the call reminding of described electronic equipment; Judging unit 14 described in Fig. 4 comprises the first judging unit (not shown) and the second judging unit (not shown) further;
Described first judging unit is connected with described monitoring unit 13, for when described display screen 11 lights, judges that whether described call reminding is call reminding first;
Described second judging unit is connected with described first judging unit, for at described call reminding be not first call reminding time, judge whether described electronic equipment unlocks successfully, and determine that when unlocking successfully the triggering behavior that described display screen lights is predetermined trigger.
In another embodiment, described processing unit 15 is also connected with described first judging unit, at described call reminding be first call reminding time, shield described call reminding.
In the present embodiment, described alarm clock control device also can comprise: reminding unit (not shown), be connected with described first judging unit, at described call reminding be first call reminding time, send reminding short message to the number corresponding with described call reminding.Alarm clock control method in electronic equipment in the present embodiment, can effectively avoid within the alarm time scheduled time, user wakes up by harassing call.Meanwhile, more than twice incoming call is defaulted as important incoming call, reminds.If user does not unlock, then illustrate that user does not wake up, alarm clock is normally opened; Otherwise, think that user wakes up, close the alarm clock corresponding with described alarm time on the same day, thus conveniently turn off the alarm, avoid after user wakes up, alarm clock jingle bell causes unnecessary puzzlement to other people, also eliminates the step of user's initiatively turn off the alarm simultaneously.In addition, for sending a telegram here first, while shielding incoming call, also sending note to described corresponding number of sending a telegram here, avoiding the communication caused because of shielding incoming call to omit.
In a further embodiment, described triggering behavior is user's triggering; Described judging unit 14, for when described display screen 11 lights, judges whether described electronic equipment unlocks successfully; And when unlocking successfully, determine that the triggering behavior that described display screen lights is predetermined trigger.In the present embodiment, can to user's initiatively trigger electronics bright screen, and the use of successful unlock electronic equipment is monitored, now, user is in waking state, close the alarm clock corresponding with described alarm time on the same day, alarm clock jingle bell can be avoided to cause unnecessary puzzlement to other people, also eliminate the step of user's active turn off the alarm simultaneously.
As mentioned above, alarm clock control method and device in electronic equipment of the present invention, have following beneficial effect:
In ticket reserving time before alarm time, the show state of described display screen is monitored, when display screen lights, judge whether the triggering behavior that described display screen lights is predetermined trigger, when being reservation triggering behavior, think that user wakes up, alarm clock is no longer needed to carry out jingle bell prompting, thus close the alarm clock corresponding with described alarm time on the same day, thus conveniently turn off the alarm, avoid after user wakes up, alarm clock jingle bell causes unnecessary puzzlement to other people, also eliminates the step of user's initiatively turn off the alarm simultaneously.In addition, owing to only closing the alarm clock corresponding with alarm time on the same day, on normally sounding the not impact of later alarm clock.
In sum, in electronic equipment of the present invention, quarter-bell control technology is by the ticket reserving time before alarm time, can after determining that user wakes up, conveniently turn off the alarm, avoid alarm clock jingle bell to cause unnecessary puzzlement to other people, also eliminate the step of user's active turn off the alarm simultaneously.And, owing to only closing the alarm clock corresponding with alarm time on the same day, on normally sounding the not impact of later alarm clock.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.