CN107360323A - Alarm clock prompting method, device, storage medium and electronic equipment - Google Patents

Alarm clock prompting method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN107360323A
CN107360323A CN201710531883.2A CN201710531883A CN107360323A CN 107360323 A CN107360323 A CN 107360323A CN 201710531883 A CN201710531883 A CN 201710531883A CN 107360323 A CN107360323 A CN 107360323A
Authority
CN
China
Prior art keywords
moment
alarm clock
electronic equipment
triggered
target time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710531883.2A
Other languages
Chinese (zh)
Inventor
梁昆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710531883.2A priority Critical patent/CN107360323A/en
Publication of CN107360323A publication Critical patent/CN107360323A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0264Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Electric Clocks (AREA)

Abstract

The invention discloses a kind of alarm clock prompting method, device, storage medium and electronic equipment.Wherein alarm clock prompting method includes obtaining all first moment that preset time inner electronic equipment is triggered first in target time section;According to the first moment generate the second moment, the second moment earlier than or equal to it is maximum in the first moment at the time of;When electronic equipment is triggered in target time section and before the second moment, then control alarm clock is closed;When electronic equipment is not triggered in target time section and before the second moment, then the second moment was set as the alarm clock calling moment, control alarm clock is in alert state when reaching the alarm clock calling moment.The present invention can automatically control alarm clock and be closed or in alert state, be controlled manually again without user, reduce interference of the alarm clock to surrounding environment, save electric quantity for electronic equipment.

Description

Alarm clock prompting method, device, storage medium and electronic equipment
Technical field
The present invention relates to mobile device technology field, and in particular to a kind of alarm clock prompting method, device, storage medium and electricity Sub- equipment.
Background technology
With the fast development of electronic device technology, the function of electronic equipment is more and more.For example use alarm clock application journey Sequence is reminded etc. on an electronic device.
Generally, the alarm clock at electronic equipment end according to it is default at the time of reminded.But if user alarm clock calling when Got up before carving, now without being reminded again, and can still have been reminded when alarm clock is at the time of reaching default, wasted Electric quantity for electronic equipment.
The content of the invention
The embodiment of the present invention provides a kind of alarm clock prompting method, device, storage medium and electronic equipment, can save electronics Equipment electricity.
The embodiment of the present invention provides a kind of alarm clock prompting method, applied in electronic equipment, the alarm clock prompting method bag Include:
Obtain all first moment that preset time inner electronic equipment is triggered first in target time section;
Second moment was generated according to first moment, second moment is maximum earlier than or equal in first moment At the time of;
It is triggered when in the target time section and in the second moment foregoing description electronic equipment, then control is noisy Clock is closed;
It is not triggered when in the target time section and in the second moment foregoing description electronic equipment, then by institute Stating for the second moment is set as the alarm clock calling moment, controls the alarm clock to be in alert state when reaching the alarm clock calling moment.
The embodiment of the present invention also provides a kind of alarm clock calling device, and the alarm clock calling device includes:
Acquisition module, all first to be triggered first in target time section for obtaining preset time inner electronic equipment Moment;
Generation module, for generating for the second moment according to first moment, second moment is earlier than or equal to described At the time of maximum in first moment;
Control module, for when in the target time section and in the second moment foregoing description electronic equipment quilt Triggering, then alarm clock is controlled to be closed;
The control module, it is additionally operable to when in the target time section and in the second moment foregoing description electronics Equipment is not triggered, then is set as into the alarm clock calling moment second moment, institute is controlled when reaching the alarm clock calling moment State alarm clock and be in alert state.
The embodiment of the present invention also provides a kind of storage medium, and a plurality of instruction, the instruction are stored with the storage medium Suitable for being loaded by processor to perform alarm clock prompting method as described above.
The embodiment of the present invention also provides a kind of electronic equipment, and the electronic equipment includes processor and memory, the place Manage device and the memory is electrically connected with, the memory is used for store instruction and data, and the processor is used to perform as above Described alarm clock prompting method.
Alarm clock prompting method provided by the invention, first obtain preset time inner electronic equipment in target time section first At all first moment being triggered, the second moment was then generated according to first moment, the second moment is earlier than or equal to all At the time of maximum in first moment, when electronic equipment is triggered in target time section and before the second moment, then automatic control Alarm clock processed is closed;And when in target time section and before the second moment electronic equipment not be triggered, then by the Two moment were set as the alarm clock calling moment, and automatically controlling alarm clock when reaching the alarm clock calling moment is in alert state.It is of the invention real Apply example and automatically control alarm clock using the custom of electronic equipment in preset time by obtaining user and be closed or be in Alert state, realize intelligent control alarm clock;So as to when automatically controlling alarm clock and being closed without user again because of alarm clock at In alert state and manual-lock alarm clock, reduce user's alarm clock of having got up or waken up and be still within alert state to surrounding The interference of environment, saving alarm clock are in the electricity spent by alert state.
Brief description of the drawings
Below in conjunction with the accompanying drawings, by the way that the embodiment of the present invention is described in detail, technical scheme will be made And other beneficial effects are apparent.
Fig. 1 is the schematic diagram of a scenario of alarm clock prompting method provided in an embodiment of the present invention.
Fig. 2 is the schematic flow sheet of alarm clock prompting method provided in an embodiment of the present invention.
Fig. 3 is that alarm clock provided in an embodiment of the present invention detects the schematic diagram whether electronic equipment is triggered.
Fig. 4 is the interface schematic diagram of electronic equipment provided in an embodiment of the present invention.
Fig. 5 is the structural representation of alarm clock calling device provided in an embodiment of the present invention.
Fig. 6 is the structural representation of electronic equipment provided in an embodiment of the present invention.
Fig. 7 is another structural representation of electronic equipment provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes.It is understood that specific embodiment described herein is only used for explaining the present invention, rather than the limit to the present invention It is fixed.It also should be noted that for the ease of description, part related to the present invention illustrate only in accompanying drawing and not all knot Structure.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made Every other embodiment, belongs to the scope of protection of the invention.
Term " first " and " second " in the present invention etc. are to be used to distinguish different objects, rather than specific suitable for describing Sequence.In addition, term " comprising " and " having " and their any deformations, it is intended that cover non-exclusive include.Such as comprising The step of process of series of steps or module, method, system, product or equipment are not limited to list or module, and It is alternatively also to include the step of not listing or module, or alternatively also includes for these processes, method, product or equipment Intrinsic other steps or module.
The embodiments of the invention provide a kind of alarm clock prompting method, device, storage medium and electronic equipment.
Referring to Fig. 1, the Fig. 1 is the schematic diagram of a scenario of alarm clock prompting method provided in an embodiment of the present invention, the scene can With including alarm clock calling device 200, the alarm clock calling device 200 can specifically be integrated in tablet PC (personal computer, Personal Computer), mobile phone etc. possesses storage element and is provided with microprocessor and the electronic equipment with operational capability In 10, the grade of alarm clock 11 can be provided with the electronic equipment 10 has the application program of prompting function, directly can carry alarm clock Device 200 of waking up is integrated in alarm clock 11, and the alarm clock calling device 200 can also be integrated in electronic equipment 10.The alarm clock carries When device 200 of waking up is mainly used in all first that acquisition preset time inner electronic equipment is triggered first in target time section Carve;According to the first moment generate the second moment, the second moment earlier than or equal to it is maximum in the first moment at the time of;When in target Between electronic equipment is triggered in section and before the second moment, then control alarm clock to be closed;When in target time section In and before the second moment electronic equipment is not triggered, then the second moment was set as the alarm clock calling moment, reach alarm clock carry Control alarm clock is in alert state during the awake moment.
It will be described in detail respectively below.
In embodiments of the present invention, will be described from the angle of alarm clock calling device, the alarm clock calling device specifically may be used Be integrated in tablet PC, mobile phone etc. possess storage element and microprocessor is installed and with operational capability electronic equipment in.
A kind of alarm clock prompting method, including obtain what preset time inner electronic equipment was triggered first in target time section All first moment;According to the first moment generate the second moment, the second moment earlier than or equal to it is maximum in the first moment at the time of; When electronic equipment is triggered in target time section and before the second moment, then control alarm clock is closed;When in mesh Mark in the period and electronic equipment is not triggered before the second moment, then the second moment was set as the alarm clock calling moment, arrived Alarm clock is controlled to be in alert state up to during the alarm clock calling moment.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of alarm clock prompting method provided in an embodiment of the present invention.The alarm clock calling Method can include:
In step S101, preset time inner electronic equipment is triggered first in target time section all first are obtained Moment.
It is understood that user sets alarm clock to be mainly used in reminding, to remind user to need to get up or remind user to need Something etc. is done, and the embodiment of the present invention illustrates so that alarm clock calling user gets up as an example.Made a noise in the embodiment of the present invention The alerting pattern of clock includes but is not limited to the alerting patterns such as vibration, jingle bell, bright screen, and the present embodiment is with alarm clock jingle bell and vibrates simultaneously It is specifically described exemplified by the mode of prompting.
Wherein, target time section is specially the period that user needs to be alerted, for example is got up by alarm clock calling user, The target time section is arranged to morning 6:00-7:00、6:30-7:00、7:00-8:00 etc., the time interval of the target time section Value can be 30 minutes, 1 hour, 1 and a half hours etc..The target time section of the embodiment of the present invention is with morning 7:00-8:00 is Example is described in detail.
Wherein, the electronic equipment electronic equipment in specially target time section that is triggered first is made first in target time section With.Such as:The physical switch button of target time section electronic equipment is pressed first, is started electronic equipment and is in bright screen state, So as to which the first moment is then at the time of the physical switch button of electronic equipment is pressed first in target time section.
It is understood that when waking up in the morning, the first thing feelings of user are often that the physics for pressing electronic equipment is opened Close button, such as the physical switch button of mobile phone so that mobile phone is in bright screen state, and user is recognized specifically by mobile phone screen Time, then user continue to sleep according to the selection of time seen, still get up.
However, when waking up in the morning for some users, do not go to press the physical switch button of electronic equipment and directly pass through The unlocking manners such as unlocked by fingerprint are unlocked to electronic equipment, for example mobile phone is unlocked.Therefore, electronics in target time section Equipment is triggered in specially target time section electronic equipment first by using also such as first:Electronic equipment in target time section It is unlocked first, the main interface of electronic equipment is entered after unblock, so as to which first moment is then the electronics in target time section At the time of equipment is unlocked first.
It should be noted that the embodiment of the present invention is when in target time section, the physical switch button of electronic equipment is first It is pressed, and electronic equipment is unlocked first, such as, user first presses the physical switch of electronic equipment in target time section Button, the main interface of electronic equipment is then entered by way of password unblock, enter master so as to judge that user unlocks Interface is not intended to check the time, but in order to check the content in electronic equipment, and then may determine that user has waken up Or get up.And user pressing electronic equipment physical switch button after it is also possible to continue sleep again.So as to which the present invention is real Example is applied in this case, at the time of the first moment was that the electronic equipment is unlocked first.
At the time of in order to which the first moment was set as into user has waken up, further, enter when user unlocks electronic equipment Enter to after the main interface of electronic equipment, the background program in electronic equipment may be waken up and be in interaction mode, or electronics is set Standby interior other application program may be activated and be in interaction mode.Here, electronic equipment is touched first in target time section Electronic equipment is first by using also such as in hair specially target time section:Application program in electronic equipment started first or Interaction mode is in first, so as to which the first moment was that the application program in electronic equipment is activated or is in first first At the time of interaction mode.
In the target time section, electronic equipment may be triggered repeatedly, here, to save workload, reduce resource Take, the embodiment of the present invention only obtains the first moment that the electronic equipment is triggered first.First moment is located at the object time Section, using target time section as morning 7:00-8:Exemplified by 00, then first moment in the morning 7:00-8:Between 00, such as when first Carve and be:7:10、7:15、7:20、7:30 etc..
In certain embodiments, electronic equipment is triggered at least first in the same target period in acquisition preset time Two the first moment, the preset time can be in several days, for example obtain in a week that electronics is set in the same target period Standby 7 the first moment being triggered first;The preset time can also be at more than ten days or tens days, for example obtain phase in one month Multiple first moment being triggered first with electronic equipment in target time section.Further, the preset time is continuously more days, Specifically, obtain in continuous more days multiple first moment that electronic equipment in the same target period is triggered every day first. Each first moment corresponds to every day.Then, the first moment for getting every day is counted, to carry out in next step Operation.
It should be noted that corresponding first moment, each first moment of more days in the target time section of every day Can be with identical, can also be different.
In step s 102, the second moment was generated according to the first moment, the second moment is earlier than or equal to all first moment At the time of middle maximum.
In step s 102, judge at the time of can also be to whether having repetition at least two first moment, if sentencing At the time of having repetition at least two first moment in disconnected result, then the second moment was repetition rate at least two first moment At the time of highest.Such as:First moment of first day is morning 7:28, first moment of second day is morning 7:28, the 3rd day The first moment be morning 7:31, then two first moment of first day and second day repeat, so as to by morning 7:28 are set as Second moment.And working as has multiple first moment to repeat respectively, and repetition rate is identical, then sets the average value at all first moment It was set to for the second moment.Such as:First moment of first day is morning 7:28, first moment of second day is morning 7:28, the 3rd It the first moment is morning 7:31, the 4th the first moment is morning 7:31, then there is the repetition at two the first moment identical.
In certain embodiments, the second moment was the average moment at all first moment, that is to say, that the second moment was institute Have the average value at the first moment, the second moment be in more days, it is particularly continuous more days in it is acquired in target time section The average value at electronic equipment the first moment of every day.Such as:It is interior for three days on end, electronics is got in target time section within first day First moment of equipment is morning 7:29, the first moment for getting electronic equipment for second day in target time section is morning 7: 30, the 3rd day the first moment that electronic equipment is got in target time section was morning 7:31, then this continuous three days first The average moment at moment is morning 7:30, therefore, the second moment was equal to morning 7:30.
It should be noted that the embodiment of the present invention can be preferentially to be used as second at the time of identical first moment frequency highest Moment, and at the time of the first moment not have identical, or when repetition rate is identical, then make the average value at all first moment For the second moment.
In step s 103, when electronic equipment is triggered in target time section and before the second moment, then control is noisy Clock is closed.
So as to automatically control alarm clock by obtaining user in more days target time sections using the custom of electronic equipment and be in Closed mode, realizes that intelligent control alarm clock is closed, and is controlled manually without user.
Also referring to Fig. 3, Fig. 3 is that alarm clock provided in an embodiment of the present invention detects the signal whether electronic equipment is triggered Figure, the embodiment of the present invention can detect whether electronic equipment 10 is triggered according to alarm clock 11, can also be according in electronic equipment 10 Other devices detection electronic equipment whether be triggered, and the embodiment of the present invention by alarm clock 11 to electronic equipment detect exemplified by carry out Describe in detail.
Wherein, alarm clock 11 is when reaching target time section, specifically such as morning 7:00-8:00 alarm clock 11 starts to electronics Equipment is detected, meanwhile, electronic equipment need to also be detected before the second moment, second moment is such as morning 7: 30, then alarm clock specific in the morning 7:00-7:30 detect whether electronic equipment is triggered, and wherein electronic equipment, which is triggered, refers to Above content will not be repeated here, and electronic equipment is not triggered, then shows that the physical switch button of electronic equipment is not pressed, And electronic equipment is not unlocked.When alarm clock 11 detects electronic equipment quilt in target time section and before the second moment Triggering, then the automatic decision of alarm clock 11 goes out user and waken up, such as:Get up or used electronic equipment 10, so as to automatic Control alarm clock is closed, when automatically controlling alarm clock and being closed without user again because alarm clock is in alert state And manual-lock alarm clock, reduce user's alarm clock of having got up or waken up and be still within alert state surrounding environment is done Disturb, saving alarm clock is in the electricity spent by alert state.
Also referring to Fig. 4, Fig. 4 is the interface schematic diagram of electronic equipment provided in an embodiment of the present invention, in the object time Duan Zhong and before the second moment, specifically such as in the morning 7:00-7:30, alarm clock 11 detects the physics of electronic equipment 10 Switch key is pressed, and then detects that electronic equipment 10 is unlocked, and further, electronic equipment 10 detects electronics after unlocking The wechat application program of equipment 10 is waken up and is in interaction mode.For example user little Hua enters the friend of its wechat application program Enclose, and the state " new one day, NEW BEGINNING, adhere to morning run " of the small white hair table of its good friend is seen in its circle of friends, and see To the small state " working road is stopped by neither wind or rain " delivered by force of its good friend.
In step S104, when electronic equipment is not touched in the target time section and before second moment Hair, then be set as the alarm clock calling moment by the second moment, and control alarm clock is in alert state when reaching the alarm clock calling moment.
Wherein, when alarm clock 11 is in target time section and before the second moment, such as morning 7:00-7:30 do not detect It is triggered to electronic equipment 10, then alarm clock 11 judges that the physical switch button of electronic equipment 10 is not pressed, electronic equipment 10 It is not unlocked, so as to judge that user does not get up or do not waken up.Therefore, it is necessary to remind user by alarm clock 11.
Specifically, by the second moment, such as morning 7:30 are set as the prompting moment of alarm clock 11, reach the morning 7:30 When alarm clock 11 vibrate and jingle bell, to remind user to get up.
So as to which the embodiment of the present invention is automatic using the custom of electronic equipment by obtaining user in more days target time sections Control alarm clock is closed or in alert state, realizes intelligent control alarm clock.In certain embodiments, electronic equipment 10 User can be recorded within the phase of history period, for example continuous more days morning starts first or the custom using electronic equipment, And can using learning algorithm by the custom using electronic equipment of record be analyzed and study handle, electronic equipment pass through from The use habit of the processing procedure generation user of row analysis and study, and alarm clock calling is automatically controlled according to the use habit of user Or close.Without user's manual-lock alarm clock again, interference of the alarm clock to surrounding environment is reduced, saves during alarm clock calling and is consumed The electricity taken.
Therefore, alarm clock prompting method provided in an embodiment of the present invention, by obtaining use of user's morning to electronic equipment Custom control alarm clock, alarm clock is automatically controlled at the time of particularly according to user's every morning using electronic equipment it is in and remind shape State is closed, and is set the operation such as alarm clock and closing alarm clock without extra, is greatly facilitated and use, save electronics and set Standby electricity.
In summary, alarm clock prompting method provided by the invention, preset time inner electronic equipment is obtained first in target Between all first moment for being triggered first in section, then generated for the second moment according to all first moment, the second moment earlier than Or in equal at least about two the first moment it is maximum at the time of, when the electronic equipment in target time section and before the second moment It is triggered, then automatically controls alarm clock and be closed;And when the electronic equipment in target time section and before the second moment Be not triggered, then the second moment be set as the alarm clock calling moment, reach the alarm clock calling moment when automatically control alarm clock be in carry The state of waking up.The embodiment of the present invention automatically controls alarm clock using the custom of electronic equipment in preset time by obtaining user and is in Closed mode or in alert state, realizes intelligent control alarm clock;So that need not when automatically controlling alarm clock and being closed User again because alarm clock is in alert state and manual-lock alarm clock, reduce user's alarm clock of having got up or waken up and be still within Interference of the alert state to surrounding environment, saving alarm clock are in the electricity spent by alert state.
For ease of preferably implementing alarm clock prompting method provided in an embodiment of the present invention, the embodiment of the present invention also provides one kind Device based on above-mentioned alarm clock prompting method.Wherein the implication of noun is identical with above-mentioned alarm clock prompting method, specific implementation Details may be referred to the explanation in embodiment of the method.
Referring to Fig. 5, Fig. 5 is the structural representation of alarm clock calling device provided in an embodiment of the present invention, the present invention is implemented Example alarm clock calling device 200 includes acquisition module 201, generation module 202 and control module 203.
Acquisition module 201, for obtaining what electronic equipment was triggered first in the same target period of at least two days At least two first moment.
It is understood that user sets alarm clock to be mainly used in reminding, to remind user to need to get up or remind user to need Something etc. is done, and the embodiment of the present invention illustrates so that alarm clock calling user gets up as an example.Made a noise in the embodiment of the present invention The alerting pattern of clock includes but is not limited to the alerting patterns such as vibration, jingle bell, bright screen, and the present embodiment is with alarm clock jingle bell and vibrates simultaneously It is specifically described exemplified by the mode of prompting.
Wherein, target time section is specially the period that user needs to be alerted, for example is got up by alarm clock calling user, The target time section is arranged to morning 6:00-7:00、6:30-7:00、7:00-8:00 etc., the time interval of the target time section Value can be 30 minutes, 1 hour, 1 and a half hours etc..The target time section of the embodiment of the present invention is with morning 7:00-8:00 is Example is described in detail.
Wherein, the electronic equipment electronic equipment in specially target time section that is triggered first is made first in target time section With.Such as:The physical switch button of electronic equipment is pressed first in target time section, is started electronic equipment and is in bright screen shape State, so as to which the first moment is then at the time of the physical switch button of electronic equipment is pressed first in target time section.
It is understood that when waking up in the morning, the first thing feelings of user are often that the physics for pressing electronic equipment is opened Close button, such as the physical switch button of mobile phone so that mobile phone is in bright screen state, and user is recognized specifically by mobile phone screen Time, then user continue to sleep according to the selection of time seen, still get up.
However, when waking up in the morning for some users, do not go to press the physical switch button of electronic equipment and directly pass through The unlocking manners such as unlocked by fingerprint are unlocked to electronic equipment, for example mobile phone is unlocked.Therefore, electronics in target time section Equipment is triggered in specially target time section electronic equipment first by using also such as first:Electronic equipment in target time section It is unlocked first, the main interface of electronic equipment is entered after unblock, so as to which first moment is then the electronics in target time section At the time of equipment is unlocked first.
It should be noted that the embodiment of the present invention is when in target time section, the physical switch button of electronic equipment is first It is pressed, and electronic equipment is unlocked first, such as, user first presses the physical switch of electronic equipment in target time section Button, the main interface of electronic equipment is then entered by way of password unblock, enter master so as to judge that user unlocks Interface is not intended to check the time, but in order to check the content in electronic equipment, and then may determine that user has waken up Or get up.And user pressing electronic equipment physical switch button after it is also possible to continue sleep again.So as to which the present invention is real Example is applied in this case, at the time of the first moment was that the electronic equipment is unlocked first.
At the time of in order to which the first moment was set as into user has waken up, further, enter when user unlocks electronic equipment Enter to after the main interface of electronic equipment, the background program in electronic equipment may be waken up and be in interaction mode, or electronics is set Standby interior other application program may be activated and be in interaction mode.Here, electronic equipment is touched first in target time section Electronic equipment is first by using also such as in hair specially target time section:Application program in electronic equipment started first or Interaction mode is in first, so as to which the first moment was that the application program in electronic equipment is activated or is in first first At the time of interaction mode.
In the target time section, electronic equipment may be triggered repeatedly, here, to save workload, reduce resource Take, the embodiment of the present invention only obtains the first moment that the electronic equipment is triggered first.First moment is located at the object time Section, using target time section as morning 7:00-8:Exemplified by 00, then first moment in the morning 7:00-8:Between 00, such as when first Carve and be:7:10、7:15、7:20、7:30 etc..
In certain embodiments, in the same target period of at least two days obtain electronic equipment be triggered first to Few two the first moment, can be in several days, for example obtain electronic equipment first in same target period in a week 7 the first moment being triggered;Can also be at more than ten days or tens days, for example obtained in same target period in one month Multiple first moment that electronic equipment is triggered first.Further, continuously electricity is obtained in the same target period in more days Multiple first moment of the sub- equipment every day in target time section.Then, the first moment for getting every day is united Meter, to carry out next step operation.
It should be noted that corresponding first moment, each first moment of more days in the target time section of every day Can be with identical, can also be different.
Generation module 202, for generating for the second moment according at least two first moment, second moment earlier than Or in equal at least about two first moment it is maximum at the time of.
The generation module 202 judges at the time of can also be to whether having repetition at least two first moment, if sentencing At the time of having repetition at least two first moment in disconnected result, then the second moment was repetition rate at least two first moment At the time of highest.Such as:First moment of first day is morning 7:28, first moment of second day is morning 7:28, the 3rd day The first moment be morning 7:31, then two first moment of first day and second day repeat, so as to by morning 7:28 are set as Second moment.And working as has multiple first moment to repeat respectively, and repetition rate is identical, then when generation module 202 is by all first The average value at quarter was set as the second moment.Such as:First moment of first day is morning 7:28, first moment of second day is early Morning 7:28, first moment of the 3rd day is morning 7:31, first moment of the 4th day is morning 7:31, then there are two the first moment Repetition it is identical.
In certain embodiments, the second moment was the average moment at least two first moment, that is to say, that the second moment For the average value at least two first moment, the second moment was in more days, particularly continuously in more days in target time section In acquired moment electronic equipment every day first average value.Such as:Interior for three days on end, first day in target time section The first moment for getting electronic equipment is morning 7:29, when the first of electronic equipment is got in target time section within second day Carve as morning 7:30, the 3rd day the first moment that electronic equipment is got in preset time was morning 7:31, then this continuous three The average moment at it the first moment is morning 7:30, therefore, the second moment was equal to morning 7:30.
It should be noted that the embodiment of the present invention can be preferentially to be used as second at the time of identical first moment frequency highest Moment, and at the time of the first moment not have identical, or when repetition rate is identical, then make the average value at all first moment For the second moment.
Control module 203, for working as, electronic equipment is triggered in target time section and before the second moment, then controls Alarm clock processed is closed.
So as to, by more days target time sections acquisition module 201 obtain user use electronic equipment custom, control Module 203 automatically controls alarm clock and is closed, and realizes intelligent control alarm clock.
Also referring to Fig. 3, the embodiment of the present invention can detect whether electronic equipment 10 is touched according to control module 203 Hair.
Wherein, when reaching target time section, specific such as morning 7:00-8:00 control module 203 starts to electronics Equipment is detected, meanwhile, electronic equipment need to also be detected before the second moment, second moment is such as morning 7: 30, then control module 203 specific in the morning 7:00-7:30 detect whether electronic equipment is triggered, and wherein electronic equipment is touched Hair refers to above content and will not be repeated here, and electronic equipment is not triggered, then shows the physical switch button of electronic equipment It is not pressed, and electronic equipment is not unlocked.When control module 203 is examined in target time section and before the second moment Electronic equipment is measured to be triggered, then the automatic decision of control module 203 goes out user and waken up, such as:Get up or used Electronic equipment 10, it is closed so as to which control module 203 further automatically controls alarm clock, pass is in automatically controlling alarm clock During closed state without user again because alarm clock is in alert state and manual-lock alarm clock, reduce user and got up or waken up Alarm clock is still within interference of the alert state to surrounding environment, and saving alarm clock is in the electricity spent by alert state.
Also referring to Fig. 4, in target time section and before the second moment, specifically such as in the morning 7:00-7: 30, control module 203 detects that the physical switch button of electronic equipment 10 is pressed, and then detects that electronic equipment 10 is solved Lock, further, control module 203 detects that the wechat application program of electronic equipment 10 is waken up simultaneously after electronic equipment 10 unlocks In interaction mode.For example user little Hua enters the circle of friends of its wechat application program, and its good friend is seen in its circle of friends The state " new one day, NEW BEGINNING, adhere to morning run " of small white hair table, and see the small state " working delivered by force of its good friend Road is stopped by neither wind or rain ".
Control module 203, it is additionally operable to when electronic equipment is not triggered in target time section and before the second moment, The second moment was then set as the alarm clock calling moment, control alarm clock is in alert state when reaching the alarm clock calling moment.
Wherein, when in target time section and before the second moment, such as morning 7:00-7:30 control modules 203 are not Detect that electronic equipment 10 is triggered, then control module 203 judges that the physical switch button of electronic equipment 10 is not pressed, electricity Sub- equipment 10 is not unlocked, so as to which control module 203 judges that user does not get up or do not waken up.Therefore, it is necessary to pass through control Molding block 203 controls alarm clock 11 to remind user.
Specifically, by the second moment, such as morning 7:30 are set as the prompting moment of alarm clock 11, reach the morning 7:30 When control module 203 control alarm clock 11 to vibrate and jingle bell, to remind user to get up.
So as to which the embodiment of the present invention is automatic using the custom of electronic equipment by obtaining user in more days target time sections Control alarm clock is closed or in alert state, realizes intelligent control alarm clock.
In certain embodiments, electronic equipment 10 can record user within the phase of history period, such as continuous more days Start first in the morning or the custom using electronic equipment, and can utilize learning algorithm by the custom using electronic equipment of record Analyzed and study processing, electronic equipment generate the use habit of user by the processing procedure voluntarily analyzed and learnt, and Alarm clock calling or closing are automatically controlled according to the use habit of user.Without user's manual-lock alarm clock again, alarm clock is reduced to week The interference in collarette border, save spent electricity during alarm clock calling.
Therefore, alarm clock calling device provided in an embodiment of the present invention, user's morning is obtained to electronics by acquisition module 201 The use habit control alarm clock of equipment, control module 203 at the time of particularly using electronic equipment every morning according to user Automatically control alarm clock to be in alert state or be closed, the operation such as alarm clock and closing alarm clock, pole are set without extra Big convenient use, save electric quantity for electronic equipment.
In summary, alarm clock calling device provided by the invention, acquisition module 201 obtain preset time inner electronic equipment and existed All first moment being triggered first in target time section, generation module 202 generated for the second moment according to all first moment, Second moment earlier than or equal to it is maximum in the first moment at the time of, when the electronics in target time section and before the second moment Equipment is triggered, then control module 203 automatically controls alarm clock and is closed;And when in target time section and second Electronic equipment is not triggered before moment, then the second moment was set as the alarm clock calling moment by control module 203, is reached alarm clock and is carried Alarm clock, which is automatically controlled, during the awake moment is in alert state.The embodiment of the present invention obtains user when default by acquisition module 201 The interior custom using electronic equipment automatically controls alarm clock and is closed or in alert state, realizes control module 203 Intelligent control alarm clock;So as to be automatically controlled in control module 203 when alarm clock is closed without user again because alarm clock is in Alert state and manual-lock alarm clock, reduce user's alarm clock of having got up or waken up and be still within alert state to ring around The interference in border, saving alarm clock are in the electricity spent by alert state.
The embodiment of the present invention also provides a kind of electronic equipment 300.The electronic equipment 300 can be smart mobile phone, flat board electricity The equipment such as brain.As shown in fig. 6, Fig. 6 is the structural representation of electronic equipment provided in an embodiment of the present invention, electronic equipment 300 wraps Include:Processor 301 and memory 302.Wherein, processor 301 is electrically connected with memory 302.
Processor 301 is the control centre of electronic equipment 300, utilizes various interfaces and the whole electronic equipment of connection 300 various pieces, by the application program of operation or load store in memory 302, and call and be stored in memory Data in 302, the various functions and processing data of electronic equipment 300 are performed, so as to carry out overall prison to electronic equipment 300 Control.
In the present embodiment, processor 301 in electronic equipment 300 can according to the steps, by one or one with On application program process corresponding to instruction be loaded into memory 302, and be stored in memory by processor 301 to run Application program in 302, so as to realize various functions:
Obtain all first moment that preset time inner electronic equipment is triggered first in target time section;
According to the first moment generate the second moment, the second moment earlier than or equal to it is maximum in the first moment at the time of;
When electronic equipment is triggered in target time section and before the second moment, then control alarm clock, which is in, closes shape State;
When electronic equipment is not triggered in target time section and before the second moment, then the second moment was set as At the alarm clock calling moment, control alarm clock is in alert state when reaching the alarm clock calling moment.
Memory 302 can be used for storage application program and data.Including in the application program that memory 302 stores can be The instruction performed in processor 301.Application program can form various functions module.Processor 301 is stored in by operation The application program of reservoir 302, so as to perform various function application and data processing.
In certain embodiments, also referring to Fig. 7, Fig. 7 is another structural representation of electronic equipment, electronic equipment 300 also include:Radio circuit 303, display screen 304, control circuit 305, input block 306, voicefrequency circuit 307, sensor 308 And power supply 309.Wherein, processor 301 respectively with radio circuit 303, display screen 304, control circuit 305, input block 306th, voicefrequency circuit 307, sensor 308 and power supply 309 are electrically connected with.
Radio circuit 303 is used for transceiving radio frequency signal, to pass through cordless communication network and server or other electronic equipments Communicated.
Display screen 304 can be used for display by the information of user's input or be supplied to the information of user and the various figures of terminal Shape user interface, these graphical user interface can be made up of image, text, icon, video and its any combination.
Control circuit 305 is electrically connected with display screen 304, for the display information of control display screen 304.
Input block 306 can be used for numeral, character information or the user's characteristic information (such as fingerprint) for receiving input, and Keyboard, mouse, action bars, optics or the trace ball signal relevant with user's setting and function control is produced to input.
Voicefrequency circuit 307 can provide the COBBAIF between user and terminal by loudspeaker, microphone.
Sensor 308 is used to gather external environmental information.Sensor 28 can include ambient light sensor, acceleration passes One or more in the sensors such as sensor, gyroscope.
The all parts that power supply 309 is used for electron equipment 300 are powered.In certain embodiments, power supply 309 can pass through Power-supply management system and processor 301 are logically contiguous, so as to realize management charging, electric discharge, Yi Jigong by power-supply management system The functions such as consumption management.
Although not shown in Fig. 7, electronic equipment 300 can also include camera, bluetooth module etc., will not be repeated here.
From the foregoing, it will be observed that the embodiments of the invention provide a kind of electronic equipment, the electronic equipment obtains electronics in preset time All first moment that equipment is triggered first in target time section;Second moment, the second moment are generated according to the first moment Earlier than or equal to it is maximum in the first moment at the time of;When electronic equipment is touched in target time section and before the second moment Hair, then alarm clock is controlled to be closed;When electronic equipment is not triggered in target time section and before the second moment, The second moment was then set as the alarm clock calling moment, control alarm clock is in alert state when reaching the alarm clock calling moment.The present invention Embodiment automatically controls alarm clock using the custom of electronic equipment in preset time by obtaining user and is closed or locates In alert state, intelligent control alarm clock is realized;So that when automatically controlling alarm clock and being closed without user again because of alarm clock In alert state and manual-lock alarm clock, reduce user's alarm clock of having got up or waken up and be still within alert state to week The interference in collarette border, saving alarm clock are in the electricity spent by alert state.
The embodiment of the present invention also provides a kind of storage medium, and a plurality of instruction is stored with the storage medium, and the instruction is suitable to Loaded as processor to perform the alarm clock prompting method described in any of the above-described embodiment.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or Part steps are by program the hardware of correlation can be instructed to complete, and the program can be stored in computer-readable medium In, the medium can include but is not limited to:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Alarm clock prompting method, device, storage medium and the electronic equipment provided above the embodiment of the present invention is carried out It is discussed in detail, specific case used herein is set forth to the principle and embodiment of the present invention, above example Illustrate to be only intended to help the method and its core concept for understanding the present invention;Meanwhile for those skilled in the art, according to this The thought of invention, there will be changes in specific embodiments and applications, in summary, this specification content should It is interpreted as limitation of the present invention.

Claims (12)

1. a kind of alarm clock prompting method, applied in electronic equipment, it is characterised in that the alarm clock prompting method includes:
Obtain all first moment that preset time inner electronic equipment is triggered first in target time section;
Second moment was generated according to first moment, second moment earlier than or equal to it is maximum in first moment when Carve;
It is triggered, then controls at alarm clock when in the target time section and in the second moment foregoing description electronic equipment In closed mode;
It is not triggered when in the target time section and in the second moment foregoing description electronic equipment, then by described Two moment were set as the alarm clock calling moment, controlled the alarm clock to be in alert state when reaching the alarm clock calling moment.
2. alarm clock prompting method according to claim 1, it is characterised in that second moment is at least two described the The average moment at one moment.
3. alarm clock prompting method according to claim 1, it is characterised in that described to generate second according to first moment Moment, second moment earlier than or equal to it is maximum in first moment at the time of the step of include:
When at the time of having repetition in first moment, second moment is repetition rate highest in first moment Moment.
4. alarm clock prompting method according to claim 1, it is characterised in that the acquisition preset time inner electronic equipment exists The step of all first moment being triggered first in target time section, includes:
Obtain all first moment that continuous preset time inner electronic equipment is triggered first in target time section.
5. alarm clock prompting method according to claim 1, it is characterised in that first moment is in the object time At the time of the physical switch button of electronic equipment is pressed first described in section;Or
First moment is at the time of electronic equipment is unlocked first described in the target time section.
6. a kind of alarm clock calling device, it is characterised in that the alarm clock calling device includes:
Acquisition module, for obtain that preset time inner electronic equipment is triggered first in target time section all first when Carve;
Generation module, for generating for the second moment according to first moment, second moment is earlier than or equal to described first At the time of maximum in moment;
Control module, for being triggered when in the target time section and in the second moment foregoing description electronic equipment, Then control alarm clock is closed;
The control module, it is additionally operable to when in the target time section and in the second moment foregoing description electronic equipment It is not triggered, then second moment is set as the alarm clock calling moment, is controlled when reaching the alarm clock calling moment described noisy Clock is in alert state.
7. alarm clock calling device according to claim 6, it is characterised in that second moment is first moment The average moment.
8. alarm clock calling device according to claim 6, it is characterised in that the generation module, be additionally operable to when described the When at the time of having repetition in one moment, at the time of second moment is repetition rate highest in first moment.
9. alarm clock calling device according to claim 6, it is characterised in that the acquisition module, be additionally operable to obtain continuously All first moment that preset time inner electronic equipment is triggered first in target time section.
10. alarm clock calling device according to claim 6, it is characterised in that first moment is in the target Between the physical switch button of electronic equipment described in section at the time of be pressed first;Or
First moment is at the time of electronic equipment is unlocked first described in the target time section.
A kind of 11. storage medium, it is characterised in that be stored with a plurality of instruction in the storage medium, the instruction be suitable to by Reason device is loaded to perform the alarm clock prompting method as described in claim any one of 1-5.
12. a kind of electronic equipment, it is characterised in that the electronic equipment includes processor and memory, the processor and institute Memory electric connection is stated, the memory is used for store instruction and data, and the processor is used to perform such as claim 1-5 Alarm clock prompting method described in any one.
CN201710531883.2A 2017-06-30 2017-06-30 Alarm clock prompting method, device, storage medium and electronic equipment Pending CN107360323A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710531883.2A CN107360323A (en) 2017-06-30 2017-06-30 Alarm clock prompting method, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710531883.2A CN107360323A (en) 2017-06-30 2017-06-30 Alarm clock prompting method, device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN107360323A true CN107360323A (en) 2017-11-17

Family

ID=60291725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710531883.2A Pending CN107360323A (en) 2017-06-30 2017-06-30 Alarm clock prompting method, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN107360323A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865757A (en) * 2019-11-29 2020-03-06 维沃移动通信有限公司 Alarm clock setting method and electronic equipment
CN114697441A (en) * 2020-12-28 2022-07-01 深圳Tcl新技术有限公司 Alarm clock control method, storage medium and terminal equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009186324A (en) * 2008-02-06 2009-08-20 Nec Fielding Ltd Alarm notification system, alarm notification generation method, device, program, and recording medium
CN105068414A (en) * 2015-08-24 2015-11-18 联想(北京)有限公司 Alarm clock awakening method and electronic equipment
CN105094800A (en) * 2015-06-04 2015-11-25 小米科技有限责任公司 Alarm method, device and terminal
CN105892659A (en) * 2016-03-30 2016-08-24 北京小米移动软件有限公司 Method and device for managing alarm clock

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009186324A (en) * 2008-02-06 2009-08-20 Nec Fielding Ltd Alarm notification system, alarm notification generation method, device, program, and recording medium
CN105094800A (en) * 2015-06-04 2015-11-25 小米科技有限责任公司 Alarm method, device and terminal
CN105068414A (en) * 2015-08-24 2015-11-18 联想(北京)有限公司 Alarm clock awakening method and electronic equipment
CN105892659A (en) * 2016-03-30 2016-08-24 北京小米移动软件有限公司 Method and device for managing alarm clock

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865757A (en) * 2019-11-29 2020-03-06 维沃移动通信有限公司 Alarm clock setting method and electronic equipment
CN114697441A (en) * 2020-12-28 2022-07-01 深圳Tcl新技术有限公司 Alarm clock control method, storage medium and terminal equipment

Similar Documents

Publication Publication Date Title
CN105676984B (en) Portable electronic devices and its power control method
CN109583356B (en) Fingerprint identification method and related product
CN110574355B (en) Alarm clock reminding method and device, storage medium and electronic equipment
CN109151180A (en) A kind of object identifying method and mobile terminal
CN104899029A (en) Screen control method and apparatus
CN104503691A (en) Equipment control method and device
CN108495029A (en) A kind of photographic method and mobile terminal
CN108174044A (en) A kind of alarm clock setting method and mobile terminal
CN105892618A (en) Information display method and device and electronic device
CN108460352A (en) The method and apparatus of fingerprint detection
CN106471518A (en) Based on conversion between two kinds of power supply status for user's coherent signal
CN109283996A (en) Display control method and Related product
CN107302633A (en) application control method, device, storage medium and electronic equipment
CN110286980A (en) A kind of schedule creation method and mobile terminal
CN104461327A (en) Information processing method and electronic device
CN107360324A (en) Based reminding method, device, terminal and the storage medium that terminal is looked for
CN107562356B (en) Fingerprint identification positioning method and device, storage medium and electronic equipment
CN113220176A (en) Display method and device based on widget, electronic equipment and readable storage medium
CN108491713A (en) A kind of safety prompt function method and electronic equipment
CN107360323A (en) Alarm clock prompting method, device, storage medium and electronic equipment
CN108063861A (en) The method, apparatus and mobile terminal that a kind of state is reminded
CN105242775B (en) The method and device of state adjustment
CN108632461B (en) Alarm clock reminding method, device, terminal and computer readable storage medium
CN107203264A (en) The control method of display pattern, device, electronic equipment
CN109285002A (en) A kind of graphical identification code display methods and mobile terminal

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171117