CN110574355B - Alarm clock reminding method and device, storage medium and electronic equipment - Google Patents

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

Info

Publication number
CN110574355B
CN110574355B CN201780090137.2A CN201780090137A CN110574355B CN 110574355 B CN110574355 B CN 110574355B CN 201780090137 A CN201780090137 A CN 201780090137A CN 110574355 B CN110574355 B CN 110574355B
Authority
CN
China
Prior art keywords
alarm clock
control
controlling
time
preset
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.)
Expired - Fee Related
Application number
CN201780090137.2A
Other languages
Chinese (zh)
Other versions
CN110574355A (en
Inventor
梁昆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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
Publication of CN110574355A publication Critical patent/CN110574355A/en
Application granted granted Critical
Publication of CN110574355B publication Critical patent/CN110574355B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G13/00Producing acoustic time signals
    • G04G13/02Producing acoustic time signals at preselected times, e.g. alarm clocks
    • 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/725Cordless telephones
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an alarm clock reminding method, an alarm clock reminding device, a storage medium and electronic equipment; the method comprises the following steps: acquiring first control information for controlling a first alarm clock at a first reminding moment, wherein the first control information comprises closing information for controlling the first alarm clock; acquiring characteristic information of a first alarm clock in a closing process; generating a control threshold value according to the closing information and the characteristic information; if the control threshold value is smaller than the preset threshold value, controlling the second alarm clock to be in a closed state; and if the control threshold is greater than or equal to the preset threshold, controlling the second alarm clock to be in an on state.

Description

Alarm clock reminding method and device, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of mobile equipment, in particular to an alarm clock reminding method, an alarm clock reminding device, a storage medium and electronic equipment.
Background
With the rapid development of electronic device technology, the functions of electronic devices are more and more. For example, using an alarm application to perform a reminder on the electronic device, etc.
Generally, an alarm clock at the electronic device end reminds according to preset time. However, if the user gets up before the time that the alarm clock reminds, the user does not need to remind again, and the alarm clock still reminds when reaching the preset time, which wastes the electric quantity of the electronic equipment.
Disclosure of Invention
The embodiment of the invention provides an alarm clock reminding method, an alarm clock reminding device, a storage medium and electronic equipment, and the electric quantity of the electronic equipment can be saved.
In a first aspect, an embodiment of the present invention provides an alarm clock reminding method, including:
acquiring first control information for controlling a first alarm clock at a first reminding moment, wherein the first control information comprises closing information for controlling the first alarm clock;
acquiring characteristic information of the first alarm clock in a closing process;
generating a control threshold according to the closing information and the characteristic information;
if the control threshold value is smaller than a preset threshold value, controlling the second alarm clock to be in a closed state;
and if the control threshold is greater than or equal to the preset threshold, controlling the second alarm clock to be in an on state.
In a second aspect, an embodiment of the present invention further provides an alarm clock reminding device, which includes:
the second acquisition module is used for acquiring first control information for controlling a first alarm clock at a first reminding moment, wherein the first control information comprises closing information for controlling the first alarm clock;
the third acquisition module is used for acquiring the characteristic information of the first alarm clock in the closing process;
the second generation module is used for generating a control threshold value according to the closing information and the characteristic information;
the second control module is used for controlling the second alarm clock to be in a closed state if the control threshold value is smaller than a preset threshold value;
the second control module is further configured to control the second alarm clock to be in an on state if the control threshold is greater than or equal to the preset threshold.
In a third aspect, an embodiment of the present invention further provides a storage medium, where a plurality of instructions are stored in the storage medium, and the instructions are suitable for being loaded by a processor to execute the alarm clock reminding method described above.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes a processor and a memory, the processor is electrically connected to the memory, the memory is used to store instructions and data, and the processor is used to execute the alarm clock reminding method.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a scene schematic diagram of an alarm clock reminding method according to an embodiment of the present invention.
Fig. 2 is another schematic view of a scene of an alarm clock reminding method according to an embodiment of the present invention.
Fig. 3 is a schematic flow chart of an alarm clock reminding method according to an embodiment of the present invention.
Fig. 4 is a schematic view of a scene of interaction between an electronic device and a user according to an embodiment of the present invention.
Fig. 5 is another schematic flow chart of an alarm clock reminding method according to an embodiment of the present invention.
Fig. 6 is a schematic view of another scene of the alarm clock reminding method according to the embodiment of the present invention.
Fig. 7 is a schematic diagram illustrating that a first alarm clock in an electronic device detects whether the electronic device is triggered according to an embodiment of the present invention.
Fig. 8 is a schematic interface diagram of an electronic device according to an embodiment of the present invention.
Fig. 9 is a schematic structural diagram of an alarm clock reminding device according to an embodiment of the present invention.
Fig. 10 is another schematic structural diagram of an alarm clock reminding device according to an embodiment of the present invention.
Fig. 11 is another schematic structural diagram of an alarm clock reminding device according to an embodiment of the present invention.
Fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Fig. 13 is another schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second", etc. in the present invention are used for distinguishing different objects, not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the listed steps or modules but may alternatively include other steps or modules not listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention provides an alarm clock reminding method, an alarm clock reminding device, a storage medium and electronic equipment. The method comprises the following specific steps:
an alarm clock reminding method comprises the following steps:
acquiring first control information for controlling a first alarm clock at a first reminding moment, wherein the first control information comprises closing information for controlling the first alarm clock;
acquiring characteristic information of the first alarm clock in a closing process;
generating a control threshold according to the closing information and the characteristic information;
if the control threshold value is smaller than a preset threshold value, controlling the second alarm clock to be in a closed state;
and if the control threshold is greater than or equal to the preset threshold, controlling the second alarm clock to be in an on state.
In some embodiments, the control threshold comprises a control time to control the first alarm clock to turn off, and the preset threshold comprises a preset time;
if the control threshold is smaller than a preset threshold, the step of controlling the second alarm clock to be in a closed state comprises the following steps:
if the control time is less than the preset time, controlling the second alarm clock to be in a closed state;
if the control threshold is greater than or equal to the preset threshold, the step of controlling the second alarm clock to be in an on state comprises:
and if the control time is greater than or equal to the preset time, controlling the second alarm clock to be in an on state.
In some embodiments, the control threshold comprises a number of controls to control the first alarm clock to turn off, and the preset threshold comprises a preset number of times;
if the control threshold is smaller than the preset threshold, the step of controlling the second alarm clock to be in a closed state comprises the following steps:
if the control times are less than the preset times, controlling the second alarm clock to be in a closed state;
if the control threshold is greater than or equal to the preset threshold, the step of controlling the second alarm clock to be in an on state comprises:
and if the control times are more than or equal to the preset times, controlling the second alarm clock to be in an open state.
In some embodiments, before the step of controlling the second alarm clock to be in the off state if the control threshold is smaller than the preset threshold, the alarm clock reminding method further includes:
sending out voice inquiry information;
and if the voice reply information is not received, controlling the second alarm clock to be in an open state.
In some embodiments, after the step of sending out the voice query message, the alarm clock reminding method further comprises:
if the voice reply information is received, determining a corresponding voice instruction according to the voice reply information;
and controlling the second alarm clock according to the voice instruction.
In some embodiments, before the step of controlling the second alarm clock to be in the off state if the control threshold is smaller than the preset threshold, the alarm clock reminding method further includes:
acquiring second control information for controlling the second alarm clock within a historical time period of a user;
and controlling the second alarm clock according to the second control information.
In some embodiments, before the step of obtaining first control information for controlling a first alarm clock at a first reminding time, where the first control information includes turn-off information for controlling the first alarm clock, the alarm clock reminding method further includes:
acquiring all first moments at which the electronic equipment is triggered for the first time in a target time period within preset time;
generating a second moment according to the first moment, wherein the second moment is earlier than or equal to the maximum moment in the first moments;
when the electronic equipment is triggered in the target time period and before the second moment, controlling the first alarm clock to be in a closed state;
and when the electronic equipment is not triggered in the target time period and before the second moment, setting the second moment as a first alarm clock reminding moment, and controlling the first alarm clock to be in an on state when the first alarm clock reminding moment is reached.
An alarm clock reminding device, comprising:
the second acquisition module is used for acquiring first control information for controlling a first alarm clock at a first reminding moment, wherein the first control information comprises closing information for controlling the first alarm clock;
the third acquisition module is used for acquiring the characteristic information of the first alarm clock in the closing process;
the second generation module is used for generating a control threshold value according to the closing information and the characteristic information;
the second control module is used for controlling the second alarm clock to be in a closed state if the control threshold value is smaller than a preset threshold value;
the second control module is further configured to control the second alarm clock to be in an on state if the control threshold is greater than or equal to the preset threshold.
In some embodiments, the control threshold comprises a control time to control the first alarm clock to turn off, and the preset threshold comprises a preset time;
the second control module is specifically configured to control the second alarm clock to be in an off state if the control time is less than a preset time;
the second control module is further specifically configured to control the second alarm clock to be in an on state if the control time is greater than or equal to a preset time.
In some embodiments, the control threshold comprises a number of controls to control the first alarm clock to turn off, and the preset threshold comprises a preset number of times;
the second control module is specifically configured to control the second alarm clock to be in an off state if the control times are less than preset times;
the second control module is further specifically configured to control the second alarm clock to be in an on state if the control times are greater than or equal to preset times.
In some embodiments, the alarm clock reminding device further comprises a sending module and a receiving module;
the sending module is used for sending out voice inquiry information when the first alarm clock is in a closed state;
the receiving module is used for receiving voice reply information;
the second control module is further configured to control the second alarm clock to be in an on state if the voice reply message is not received.
In some embodiments, the alarm clock reminding apparatus further comprises a confirmation module;
the determining module is used for determining a corresponding voice instruction according to the voice reply information if the voice reply information is received;
the second control module is further used for controlling the second alarm clock according to the voice instruction.
In some embodiments, the alarm clock reminding apparatus further comprises a fourth obtaining module;
the fourth obtaining module is used for obtaining second control information for controlling the second alarm clock within a historical period of time of a user;
the second control module is further configured to control the second alarm clock according to the second control information.
In some embodiments, the alarm clock reminding apparatus further comprises:
the first acquisition module is used for acquiring all first moments when the electronic equipment is triggered for the first time in a target time period within preset time;
the first generation module is used for generating a second moment according to the first moment, wherein the second moment is earlier than or equal to the maximum moment in the first moments;
the first control module is used for controlling the first alarm clock to be in a closed state when the electronic equipment is triggered in the target time period and before the second moment;
the first control module is further configured to set the second time as a first alarm clock reminding time when the electronic device is not triggered in the target time period and before the second time, and control the first alarm clock to be in an on state when the first alarm clock reminding time is reached.
An electronic device comprising a processor and a memory, the processor and the memory being electrically connected, the memory for storing instructions and data, the processor for performing the steps of:
acquiring first control information for controlling a first alarm clock at a first reminding moment, wherein the first control information comprises closing information for controlling the first alarm clock;
acquiring characteristic information of the first alarm clock in a closing process;
generating a control threshold according to the closing information and the characteristic information;
if the control threshold value is smaller than a preset threshold value, controlling the second alarm clock to be in a closed state;
and if the control threshold is greater than or equal to the preset threshold, controlling the second alarm clock to be in an on state.
In some embodiments, the control threshold comprises a control time to control the first alarm clock to turn off, and the preset threshold comprises a preset time;
if the control threshold is smaller than a preset threshold, the step of controlling the second alarm clock to be in a closed state comprises the following steps:
if the control time is less than the preset time, controlling the second alarm clock to be in a closed state;
if the control threshold is greater than or equal to the preset threshold, the step of controlling the second alarm clock to be in an on state comprises:
and if the control time is greater than or equal to the preset time, controlling the second alarm clock to be in an on state.
In some embodiments, the control threshold comprises a number of controls to control the first alarm clock to turn off, and the preset threshold comprises a preset number of times;
if the control threshold is smaller than the preset threshold, the step of controlling the second alarm clock to be in a closed state comprises the following steps:
if the control times are less than the preset times, controlling the second alarm clock to be in a closed state;
if the control threshold is greater than or equal to the preset threshold, the step of controlling the second alarm clock to be in an on state comprises:
and if the control times are more than or equal to the preset times, controlling the second alarm clock to be in an open state.
A storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the steps of:
acquiring first control information for controlling a first alarm clock at a first reminding moment, wherein the first control information comprises closing information for controlling the first alarm clock;
acquiring characteristic information of the first alarm clock in a closing process;
generating a control threshold according to the closing information and the characteristic information;
if the control threshold value is smaller than a preset threshold value, controlling the second alarm clock to be in a closed state;
and if the control threshold is greater than or equal to the preset threshold, controlling the second alarm clock to be in an on state.
In some embodiments, the control threshold comprises a control time to control the first alarm clock to turn off, and the preset threshold comprises a preset time;
if the control threshold is smaller than a preset threshold, the step of controlling the second alarm clock to be in a closed state comprises the following steps:
if the control time is less than the preset time, controlling the second alarm clock to be in a closed state;
if the control threshold is greater than or equal to the preset threshold, the step of controlling the second alarm clock to be in an on state comprises:
and if the control time is greater than or equal to the preset time, controlling the second alarm clock to be in an on state.
In some embodiments, the control threshold comprises a number of controls to control the first alarm clock to turn off, and the preset threshold comprises a preset number of times;
if the control threshold is smaller than the preset threshold, the step of controlling the second alarm clock to be in a closed state comprises the following steps:
if the control times are less than the preset times, controlling the second alarm clock to be in a closed state;
if the control threshold is greater than or equal to the preset threshold, the step of controlling the second alarm clock to be in an on state comprises:
if the control times are more than or equal to the preset times, controlling the second alarm clock to be in an open state
Referring to fig. 1, fig. 1 is a schematic view of a scene of an alarm clock reminding method according to an embodiment of the present invention, where the scene may include an alarm clock reminding device 200, where the alarm clock reminding device 200 may be specifically integrated in an electronic device 10 having a computing capability and including a storage unit and a microprocessor, such as a tablet, a PC (Personal Computer), and a mobile phone, and an application having a reminding function, such as an alarm clock 11, may be installed in the electronic device 10, and the alarm clock reminding device 200 may be directly integrated in the alarm clock 11, or the alarm clock reminding device 200 may be integrated in the electronic device 10. The alarm clock reminding device 200 is mainly used for acquiring first control information for controlling the first alarm clock 11 at a first reminding time, wherein the first control information comprises closing information for controlling the first alarm clock 11; acquiring characteristic information of the first alarm clock 11 in a closing process; generating a control threshold value according to the closing information and the characteristic information; if the control threshold is smaller than the preset threshold, controlling the second alarm clock 12 to be in a closed state; and if the control threshold is greater than or equal to the preset threshold, controlling the second alarm clock 12 to be in an on state.
Referring to fig. 2, fig. 2 is a schematic view of another scenario of the alarm clock reminding method according to the embodiment of the present invention, the scenario may include an alarm clock reminding device 200, the alarm clock reminding device 200 may be integrated in the electronic device 10, where the electronic device 10 and the alarm clock reminding device 200 may refer to fig. 1. The alarm clock reminding device 200 is mainly used for acquiring first control information for controlling the first alarm clock 11 at a first reminding time, wherein the first control information comprises closing information for controlling the first alarm clock 11; acquiring characteristic information of the first alarm clock 11 in a closing process; generating a control threshold value according to the closing information and the characteristic information; if the control threshold is smaller than the preset threshold, controlling the second alarm clock 12 to be in a closed state; if the control threshold is greater than or equal to the preset threshold, controlling the second alarm clock 12 to be in an on state; and when the first alarm clock 11 is in the off state, sending out voice inquiry information; if the voice reply information is not received, controlling the second alarm clock 12 to be in an open state; if the voice reply information is received, determining a corresponding voice instruction according to the voice reply information; and controlling the second alarm clock 12 according to the voice instruction.
The details will be described below separately.
In the embodiment of the present invention, the alarm clock reminding device will be described in terms of an alarm clock reminding device, and the alarm clock reminding device can be specifically integrated into an electronic device having a storage unit and a microprocessor installed therein, such as a tablet, a PC, and a mobile phone, and having an arithmetic capability.
It can be understood that, due to the reason of sleeping late, the user often cannot get up normally in the morning at the time of getting up, and therefore, one or more alarm clock reminders need to be set. Such as: the user needs to get up at 7:30 from Monday to Friday within one week, and in order to ensure that the user can get up at 7:30, the user sets a first alarm clock and a second alarm clock on an electronic device such as a mobile phone, wherein the reminding time of the first alarm clock is 7:20, and the reminding time of the second alarm clock is 7: 26. Even the user sets a third alarm clock, the reminding time of the third alarm clock is 7:29, and the like. However, if the user wakes up and gets up in the first alarm clock reminding process, the second alarm clock and even the third alarm clock still remind when reaching the respective reminding time, at this time, if the user is busy with other things such as washing and rinsing, and does not have time to turn off the second alarm clock or the third alarm clock, the second alarm clock or the third alarm clock can remind continuously, which not only wastes the electric quantity of the electronic device, but also brings noise interference to the user and the surrounding, and seriously affects other users.
The alarm clock reminding method comprises the steps of obtaining first control information for controlling a first alarm clock at a first reminding moment, wherein the first control information comprises closing information for controlling the first alarm clock; acquiring characteristic information of a first alarm clock in a closing process; generating a control threshold value according to the closing information and the characteristic information; if the control threshold value is smaller than the preset threshold value, controlling the second alarm clock to be in a closed state; and if the control threshold is greater than or equal to the preset threshold, controlling the second alarm clock to be in an on state.
Referring to fig. 3, fig. 3 is a schematic flow chart of an alarm clock reminding method according to an embodiment of the present invention. The alarm clock reminding method comprises the following steps:
in step S101, first control information for controlling the first alarm clock at the first reminding time is obtained, where the first control information includes closing information for controlling the first alarm clock.
It can be understood that the user sets the alarm clock mainly for reminding to remind the user of getting up or reminding the user of doing something, and the embodiment of the present invention is described by taking the alarm clock as an example to remind the user of getting up. The reminding mode of the alarm clock in the embodiment of the invention includes but is not limited to the reminding modes of vibration, ringing, screen lightening and the like, and the embodiment specifically describes the mode of alarm clock ringing and vibration reminding at the same time as an example.
In some embodiments, an electronic device is provided with at least two alarms, including a first alarm and a second alarm. Of course, the electronic device in the embodiment of the present invention may further include a third alarm clock, a fourth alarm clock, and the like. The reminding time of the first alarm clock to the reminding time of the fourth alarm clock are sequentially increased, for example, the reminding time of the first alarm clock is 7:20, and the reminding time of the second alarm clock is 7: 26; the reminding time of the third alarm clock is 7: 29; the reminding time of the fourth alarm clock is 7: 33.
The electronic equipment obtains first control information for controlling the first alarm clock at the first reminding time, wherein the first control information comprises closing information for controlling the first alarm clock, and the first control information can comprise closing information for controlling the first alarm clock to close, re-reminding information for controlling the first alarm clock to delay re-reminding or unprocessed information for not closing the first alarm clock.
Specifically, when the first alarm clock does not receive processing in the reminding process, that is, the user does not process the first alarm clock, it indicates that the user is still in a sleep state, and needs the second alarm clock to be in an on state, and reminds the user at the reminding moment of the second alarm clock. And when the first alarm clock receives processing in the reminding process, namely the user processes the first alarm clock, specifically, the processing comprises the following steps: and in the first alarm clock reminding process, the user turns off the first alarm clock or controls the first alarm clock to remind again. When the user controls the first alarm clock to remind again in the reminding process of the first alarm clock, the fact that the user wants to sleep again is indicated, the second alarm clock is required to be in an open state, and the user is reminded when the reminding time of the second alarm clock is reached. When the user turns off the first alarm clock in the reminding process of the first alarm clock, the user is awake or in a half-awake state, and whether the user wakes up needs to be further judged so as to control the state of the second alarm clock.
In step S102, feature information of the first alarm clock in the closing process is acquired.
In some embodiments, the characteristic information includes, but is not limited to: the method comprises the steps of controlling the time length for closing the first alarm clock in the closing process of the first alarm clock by a user, controlling the times for closing the first alarm clock in the closing process of the first alarm clock by the user, and controlling the reminding time length of the first alarm clock in the reminding process. Specifically, in the process of reminding an alarm clock in the existing electronic device, the time length of the alarm clock needs to be the time length of a pattern displayed on a sliding display screen of a user to be able to close the alarm clock, for example: the first alarm clock is turned off by sliding from one side of the display screen of the electronic equipment to the other side of the display screen of the electronic equipment. When the user is in a waking state, the user can see the display screen of the electronic device, the pattern can be completed at one time according to the pattern for closing the first alarm clock in the display screen, the first alarm clock is closed, and the time used by the user is short in the process. When the user is in a semi-awake state or in an awake state, the user may close eyes during the process of closing the first alarm clock, and close the first alarm clock only by the habit of closing the first alarm clock at ordinary times, and during the process from the time when the user touches the electronic device to the time when the user tries to close the first alarm clock, the user may need to close the first alarm clock by 2 times, 3 times and the like, and the time taken by the user to close the first alarm clock is longer.
It should be noted that the first alarm clock reminds at the reminding time, when the first alarm clock is turned off in the reminding process, the first alarm clock is necessarily triggered, the first alarm clock is turned off at least once, and meanwhile, the corresponding triggering duration is greater than zero. Therefore, the duration in the feature information of the embodiment of the present invention is greater than zero, and the number of times is greater than or equal to 1.
In step S103, a control threshold is generated based on the shutdown information and the feature information.
In some embodiments, the control threshold may include a control time to control the first alarm clock to turn off and a number of controls to control the first alarm clock to turn off. Specifically, the control time is a duration used by the user to turn off the first alarm clock in the process of controlling the first alarm clock to turn off, for example, the control time is 5 seconds. The control times are specifically times used by the user to turn off the first alarm clock in the process of controlling the first alarm clock to turn off, for example, the control times are 1 time.
In step S104, if the control threshold is smaller than the preset threshold, the second alarm clock is controlled to be in an off state.
In some embodiments, if the control threshold is the control time, the preset threshold includes a preset time, and specifically, if the control time is less than the preset time, the second alarm clock is controlled to be in the off state. For example, the control time is 1 second, the preset time is 3 seconds, the time length used by the user in the process of turning off the first alarm clock is 1 second, the user turns off the first alarm clock with a short time length, and the user is indicated to be in a waking state, so that the user does not need to be continuously reminded by the second alarm clock, the second alarm clock is controlled to be in a turning off state, and the second alarm clock does not remind any more when the reminding time of the second alarm clock is reached. It should be noted that the preset time may be set differently by different users, for example, the preset time is set to 2 seconds, 4 seconds, and the like.
In some embodiments, if the control threshold is the control times, the preset threshold includes a preset number, and specifically, if the control times is less than the preset number, the second alarm clock is controlled to be in the off state. For example, the control frequency is 1, the preset frequency is 3, the frequency used by the user in the process of turning off the first alarm clock is 1, the user turns off the first alarm clock once, which indicates that the user is in a waking state, so that the user does not need to be continuously reminded by the second alarm clock, the second alarm clock is controlled to be in a turning off state, and the second alarm clock does not remind any more when the reminding time of the second alarm clock is reached. It should be noted that the preset number of times may be set differently according to different users, for example, the preset number of times is set to 2 times, 4 times, and so on.
In some embodiments, if the control threshold is the control times and the control time, the preset threshold includes a preset time and a preset time, and specifically, if the control time is less than the preset time and when the control times is less than the preset time, the second alarm clock is controlled to be in the off state. For example, if the control frequency is 1 time, and the preset frequency is 3 times, the frequency used by the user in the process of turning off the first alarm clock is 1 time, and if the user turns off the first alarm clock once, it indicates that the user is in a waking state. And if the control time is 1 second and the preset time is 3 seconds, the time length used by the user in the process of closing the first alarm clock is 1 second, and if the user closes the first alarm clock by using a shorter time length, the user is in a waking state. Therefore, the user is not required to be continuously reminded by the second alarm clock, the second alarm clock is controlled to be in the off state, and the second alarm clock does not remind any more when the reminding time of the second alarm clock is reached.
The above are some specific examples of controlling the second alarm clock to be in the off state when the control threshold is smaller than the preset threshold in the embodiment of the present invention, and it should be noted that the manner of controlling the second alarm clock to be in the off state in the embodiment of the present invention is not limited thereto.
In step S105, if the control threshold is greater than or equal to the preset threshold, the second alarm clock is controlled to be in an on state.
In some embodiments, if the control threshold is the control time, the preset threshold includes a preset time, and specifically, if the control time is greater than or equal to the preset time, the second alarm clock is controlled to be in the on state. For example, the control time is 5 seconds, the preset time is 3 seconds, the time length used by the user in the process of turning off the first alarm clock is 5 seconds, the user turns off the first alarm clock with a longer time length, and it is indicated that the user is not in a waking state, so that the user needs to be continuously reminded by the second alarm clock, the second alarm clock is controlled to be in an on state, and the second alarm clock reminds at the reminding time of the second alarm clock. It should be noted that the preset time may be set differently by different users, for example, the preset time is set to 2 seconds, 4 seconds, and the like.
In some embodiments, if the control threshold is the control times, the preset threshold includes a preset number, and specifically, if the control times is greater than or equal to the preset number, the second alarm clock is controlled to be in an on state. For example, the control frequency is 3 times, the preset frequency is 3 times, the frequency used by the user in the process of turning off the first alarm clock is 3 times, the user controls the first alarm clock to be turned off for many times, it is indicated that the user is not in a waking state, and therefore the user needs to be continuously reminded by the second alarm clock, the second alarm clock is controlled to be in an on state, and the second alarm clock reminds when the reminding time of the second alarm clock is reached. It should be noted that the preset number of times may be set differently according to different users, for example, the preset number of times is set to 2 times, 4 times, and so on.
In some embodiments, if the control threshold is the control times and the control time, the preset threshold includes a preset time and a preset time, and specifically, if the control time is greater than or equal to the preset time and when the control times is greater than or equal to the preset time, the second alarm clock is controlled to be in the on state. For example, if the number of times of the control is 3, and the preset number of times is 3, the number of times used by the user in the process of turning off the first alarm clock is 3, and if the user turns off the first alarm clock for multiple times, it indicates that the user is not in a waking state. And the control time is 5 seconds, the preset time is 3 seconds, the time length used by the user in the process of closing the first alarm clock is 5 seconds, and the user closes the first alarm clock by using a longer time length, so that the user is not in a waking state. Therefore, the second alarm clock is required to continuously remind the user, the second alarm clock is controlled to be in an open state, and the second alarm clock reminds when the reminding time of the second alarm clock is reached.
The above are some specific examples of controlling the second alarm clock to be in the off state when the control threshold is greater than or equal to the preset threshold in the embodiment of the present invention, and it should be noted that the manner of controlling the second alarm clock to be in the on state in the embodiment of the present invention is not limited thereto.
Therefore, the electronic equipment acquires the closing information and the characteristic information of the first alarm clock when the user closes the first alarm clock in the reminding process, and the electronic equipment realizes the control of the second alarm clock according to the closing information and the characteristic information of the first alarm clock when the user closes the first alarm clock, so that the second alarm clock is intelligently controlled.
In some embodiments, the electronic device may record feature information, habits, and the like of the user for turning off the first alarm clock in a historical period, such as morning of a continuous week, and may analyze and learn the recorded feature information, habits, and the like by using a learning algorithm, and the electronic device generates second control information for controlling the second alarm clock by performing self-analysis and learning processing, and controls the second alarm clock to be in an off state or an on state according to the second control information. After the user manually turns off the first alarm clock, the electronic equipment automatically judges whether the user gets up or not through self-learning, analysis and other processing, and then automatically controls whether the second alarm clock needs to be in an open state or not to remind. And after the user closes the first alarm clock, the user gets up, and does not need the second alarm clock to continue reminding at the reminding moment, then the electronic equipment controls the second alarm clock to be in a closed state according to the second control information obtained by self-learning and self-analysis of the electronic equipment, and does not need the user to manually close the second alarm clock, so that the user can use the electronic equipment conveniently, noise interference is reduced, and the electric quantity of the electronic equipment is saved.
In summary, in the alarm clock reminding method provided by the present invention, first control information for controlling a first alarm clock at a first reminding time is obtained, where the first control information includes closing information for controlling the first alarm clock; simultaneously acquiring characteristic information of the first alarm clock in the closing process; then generating a control threshold value according to the closing information and the characteristic information; if the control threshold value is smaller than the preset threshold value, controlling the second alarm clock to be in a closed state; and if the control threshold is greater than or equal to the preset threshold, controlling the second alarm clock to be in an on state. According to the embodiment of the invention, the second alarm clock is automatically controlled through the combined action of the closing information and the characteristic information when the user closes the first alarm clock, so that the second alarm clock is intelligently controlled to reach the reminding time of the second alarm clock, the user does not need to manually close the alarm clock because the second alarm clock is in the opening state when the first alarm clock is automatically controlled to be in the closing state, the interference of the user in the surrounding environment when the user gets up or wakes up and the second alarm clock is still in the opening state is reduced, and the electric quantity consumed when the second alarm clock is in the opening state is saved.
In some embodiments, before the electronic device controls the second alarm clock, the alarm clock reminding method includes the following steps:
(01) when the first alarm clock is in a closed state, the electronic equipment sends out voice inquiry information;
(02) if the voice reply information is not received, controlling the second alarm clock to be in an open state;
(03) if the voice reply information is received, determining a corresponding voice instruction according to the voice reply information;
(04) and controlling the second alarm clock according to the voice instruction.
Specifically, when the first alarm clock is in an off state, that is, when the first alarm clock is in a reminding process, the user turns off the first alarm clock, and the electronic device sends a voice query message, such as "is the owner getting up? "," is the second alarm clock of the master continue reminding? "and the like. The voice query message mainly queries whether the user gets up or whether the second alarm clock needs to be reminded. Such as "go up and do", "second alarm no longer alerts", etc. If the electronic equipment does not receive the voice reply information, the fact that the user still sleeps is indicated, the user does not want to answer, the electronic equipment controls the second alarm clock to be in an open state, and the second alarm clock carries out reminding when the reminding time of the second alarm clock is reached. If the electronic device receives the voice reply message, the electronic device confirms a voice instruction according to the voice reply message, and the voice instruction is, for example, "get up", "not get up", "remind", "no more remind", and the like. Thereby the second alarm clock is correspondingly controlled according to the corresponding voice instruction.
More specifically, referring to fig. 4, fig. 4 is a schematic view of a scene of interaction between the electronic device and the user according to the embodiment of the present invention, in which the electronic device 10 sends out a voice query message of "owner gets up and does not get up" and transmits the voice query message to the user 20, and after hearing the query message, the user sends out a voice reply message of "goto hula" and transmits the voice reply message to the electronic device 10, so that the electronic device 10 determines that the user has got up by the voice command "goto hula" in the "goto hula", and thus the electronic device determines that the user 20 has got up to control the second alarm clock to be in the off state.
It will be appreciated that the user will generally get to the toilet first, or wash first, after getting up in the morning. Most users do not use the electronic device in the process, such as a mobile phone. At the moment, if the reminding time of the second alarm clock arrives, the second alarm clock reminds, and the user gets up, does not need the second alarm clock to continue reminding again, so that noise interference is avoided, and the electric quantity of the electronic equipment is wasted. At this moment, the user can stop reminding at the toilet or other positions through voice control second alarm clock, namely close the second alarm clock through the pronunciation.
According to the embodiment of the invention, the second alarm clock is controlled together according to the closing information and the characteristic information of the first alarm clock closed by the user and the received voice reply information, the control effect is better, and the second alarm clock is prevented from being controlled mistakenly only according to the closing information and the characteristic information of the first alarm clock. Embodiments of the present invention are further based on voice response information.
It should be noted that the manner of controlling the second alarm clock according to the embodiment of the present invention is not limited to the control information when the user controls the first alarm clock and the voice response information received by the electronic device. Such as: the control mode of the second alarm clock can also be based on the fact that the user controls the second alarm clock in a historical time period, the second alarm clock is controlled by combining the historical information of the second alarm clock with the first control information, the characteristic information, the language reply information and the like, and the accuracy is further improved.
Specifically, before the electronic device controls the second alarm clock, the alarm clock reminding method further comprises the following steps:
(001) the electronic equipment acquires second control information for controlling a second alarm clock within a historical period of time of a user;
(002) and controlling the second alarm clock according to the second control information.
Specifically, if the user continuously and repeatedly turns off the first alarm clock in the reminding process of the first alarm clock, and simultaneously controls the second alarm clock to be in the off state, and controls the second alarm clock to be in the on state again after the reminding time of the second alarm clock is over. And when the user controls the first alarm clock to be turned off again, the electronic equipment automatically controls the second alarm clock to be in a turned-off state, and controls the second alarm clock to be in a turned-on state after the reminding time of the second alarm clock is over.
The embodiment of the invention controls the second alarm clock through the combined action of the user on the control of the first alarm clock, the use habit of the second alarm clock and the language instruction. The following embodiment of the present invention describes a control method of the first alarm clock in detail.
Referring to fig. 5 and fig. 6 together, fig. 5 is another schematic flow chart of the alarm clock reminding method according to the embodiment of the present invention, and fig. 6 is another schematic view of a scene of the alarm clock reminding method according to the embodiment of the present invention. The alarm clock reminding method comprises the following steps:
in step S1001, all first moments when the electronic device is first triggered in the target time period within the preset time are acquired.
The target time period is specifically a time period in which the user needs to be reminded, for example, the user is reminded to get up through the first alarm clock, the target time period is set to be 6:00-7:00, 6:30-7:00, 7:00-8:00 and the like in the morning, and the time interval value of the target time period may be 30 minutes, 1 hour, 1 half hour and the like. The target time period of the embodiment of the invention is described in detail by taking an example of 7:00-8:00 in the morning.
The electronic equipment is triggered for the first time in the target time period, and specifically the electronic equipment is used for the first time in the target time period. Such as: the physical switch key of the electronic equipment is pressed for the first time in the target time period, and the electronic equipment is started to be in a bright screen state, so that the first moment is the moment when the physical switch key of the electronic equipment is pressed for the first time in the target time period.
It can be understood that, when waking up in the morning, the first thing of the user is often to press a physical switch key of the electronic device, such as a physical switch key of a mobile phone, so that the mobile phone is in a bright screen state, the user knows a specific time through a mobile phone screen, and then the user selects to go to sleep or get up according to the seen time.
However, when some users wake up in the morning, the electronic device is unlocked directly through unlocking manners such as fingerprint unlocking without pressing a physical switch key of the electronic device, for example, unlocking a mobile phone. For this reason, the electronic device is triggered for the first time in the target time period, specifically the electronic device is used for the first time in the target time period is further as follows: the electronic equipment is unlocked for the first time in the target time period, and the electronic equipment enters a main interface of the electronic equipment after being unlocked, so that the first moment is the moment when the electronic equipment is unlocked for the first time in the target time period.
It should be noted that, in the embodiment of the present invention, in the target time period, the physical switch key of the electronic device is pressed for the first time, and the electronic device is unlocked for the first time, for example, the user presses the physical switch key of the electronic device in the target time period first, and then enters the main interface of the electronic device in a password unlocking manner, so that it can be determined that the user unlocks to enter the main interface not for viewing time, but for viewing the content in the electronic device, and further it can be determined that the user has awakened or has got up. And the user may continue to sleep again after pressing the physical switch key of the electronic device. Therefore, in this case, the first time is the time when the electronic device is unlocked for the first time.
In order to set the first time as the time when the user wakes up, further, after the user unlocks the electronic device and enters the main interface of the electronic device, a background program in the electronic device may be woken up to be in an interactive state, or other application programs in the electronic device may be started to be in the interactive state. Here, the first triggering of the electronic device in the target time period is specifically the first using of the electronic device in the target time period, such as: the application program in the electronic equipment is started or is in an interactive state for the first time, so that the first time is the time when the application program in the electronic equipment is started or is in the interactive state for the first time.
In order to save workload and reduce resource occupation, the embodiment of the present invention only obtains the first time when the electronic device is triggered for the first time. The first time is located in the target time period, taking the target time period as 7:00-8:00 a morning as an example, the first time is between 7:00-8:00 a morning, for example: 7:10, 7:15, 7:20, 7:30, etc.
In some embodiments, at least two first moments when the electronic device is first triggered in the same target time period within a preset time are obtained, where the preset time may be within several days, for example, 7 first moments when the electronic device is first triggered in the same target time period within one week are obtained; the preset time may also be tens of days or tens of days, such as acquiring a plurality of first moments in time at which the electronic device is first triggered in the same target time period within a month. Further, the preset time is continuous multiple days, and specifically, multiple first moments at which the electronic device is triggered for the first time each day in the same target time period within the continuous multiple days are obtained. Each first moment corresponds to each day. And then, counting the acquired first time of each day to perform the next operation.
It should be noted that the target time period of each day corresponds to a first time, and the first times of the multiple days may be the same or different.
In step S1002, a second time is generated from the first times, the second time being earlier than or equal to the largest time among all the first times.
In step S1002, it may be determined whether there is a time at which the at least two first times overlap, and if there is a time at which the at least two first times overlap in the determination result, the second time is a time at which the repetition frequency is highest among the at least two first times. Such as: the first time of the first day is morning 7:28, the first time of the second day is morning 7:28, and the first time of the third day is morning 7:31, and the two first times of the first day and the second day are repeated, thereby setting morning 7:28 as the second time. When a plurality of first moments are respectively repeated and the repetition frequency is the same, the average value of all the first moments is set as a second moment. Such as: the first time of the first day is 7:28 morning, the first time of the second day is 7:28 morning, the first time of the third day is 7:31 morning, and the first time of the fourth day is 7:31 morning, and the repetition of the two first times is the same.
In some embodiments, the second time is an average of all the first times, that is, the second time is an average of all the first times, and the second time is an average of the first times per day of the electronic device acquired in the target time period over a plurality of days, specifically, over a plurality of consecutive days. Such as: within 3 consecutive days, the first time when the electronic device is acquired in the target time period on the first day is 7:29 in the morning, the first time when the electronic device is acquired in the target time period on the second day is 7:30 in the morning, and the first time when the electronic device is acquired in the target time period on the third day is 7:31 in the morning, so the average time of the first time of the three consecutive days is 7:30 in the morning, and therefore, the second time is equal to 7:30 in the morning.
It should be noted that, in the embodiment of the present invention, a time having the highest frequency of the same first time may be preferentially used as the second time, and when the first times do not have the same time or have the same repetition frequency, an average value of all the first times may be used as the second time.
In step S1003, when the electronic device is triggered in the target time period and before the second time, the first alarm clock is controlled to be in the off state.
Therefore, the habit of using the electronic equipment by the user is acquired in the multi-day target time period, the first alarm clock is automatically controlled to be in the off state, the first alarm clock is intelligently controlled to be in the off state, and the manual control of the user is not needed.
Referring to fig. 7, fig. 7 is a schematic diagram illustrating an embodiment of detecting whether an electronic device is triggered by a first alarm clock 11 in the electronic device according to the present invention, where the embodiment of the present invention can detect whether the electronic device 10 is triggered according to the first alarm clock 11, and can also detect whether the electronic device is triggered according to other devices in the electronic device 10, and the embodiment of the present invention takes the first alarm clock 11 as an example to detect the electronic device in detail.
When the first alarm clock 11 reaches the target time period, specifically, for example, the first alarm clock 11 starts to detect the electronic device 10 at 7:00-8:00 in the morning, and at the same time, the electronic device 10 needs to be detected before a second time, for example, 7:30 in the morning, the first alarm clock 11 specifically detects whether the electronic device 10 is triggered at 7:00-7:30 in the morning, where the electronic device 10 is triggered, please refer to the above contents, which are not described herein again, and the electronic device 10 is not triggered, which indicates that the physical switch key of the electronic device 10 is not pressed and the electronic device 10 is not unlocked. When the first alarm clock 11 detects that the electronic device 10 is triggered before the second time within the target time period, the first alarm clock 11 automatically determines that the user has woken up, for example: the user has got up or is using the electronic device 10, so that the first alarm clock 11 is automatically controlled to be in the off state, the reminding time of the first alarm clock is reached, the user does not need to manually turn off the first alarm clock 11 because the first alarm clock is in the on state when the first alarm clock 11 is automatically controlled to be in the off state, the interference of the user who has got up or has awakened that the first alarm clock 11 is still in the on state to the surrounding environment is reduced, and the electric quantity consumed when the first alarm clock 11 is in the on state is saved.
Referring to fig. 8, fig. 8 is an interface schematic diagram of the electronic device according to the embodiment of the invention, in a target time period and before a second time, specifically, for example, 7:00-7:30 in the morning, the first alarm clock 11 detects that the physical switch key of the electronic device 10 is pressed, and then detects that the electronic device 10 is unlocked, and further, detects that the wechat application of the electronic device 10 is woken up and is in an interactive state after the electronic device 10 is unlocked. For example, a user spends entering a circle of friends of their WeChat application and sees within their circle of friends the status of their friend's Small white hair list "New day, New Start, insist on running in the morning" and the status of their friend's Small Forwarding "on-duty road rain not blocked".
In step S1004, when the electronic device is not triggered before the second time within the target time period, the second time is set as a first alarm clock reminding time, and when the first alarm clock reminding time is reached, the first alarm clock is controlled to be in an on state for reminding.
When the first alarm clock 11 is in the target time period and before the second time, for example, no trigger of the electronic device 10 is detected in the morning from 7:00 to 7:30, the first alarm clock 11 determines that the physical switch key of the electronic device 10 is not pressed and the electronic device 10 is not unlocked, thereby determining that the user does not get up or wake up. Therefore, the user needs to be reminded by the first alarm clock 11.
Specifically, the second time, for example, 7:30 in the morning is set as the reminding time of the first alarm clock 11, and when the morning is 7:30, the first alarm clock 11 vibrates and rings to remind the user to get up.
Therefore, the embodiment of the invention can automatically control the first alarm clock to be in the off state or the on state by acquiring the habit of using the electronic equipment by the user in a multi-day target time period, thereby realizing the intelligent control of the first alarm clock. In some embodiments, the electronic device may record a habit of the user for starting or using the electronic device for the first time in a historical period, such as morning of a plurality of consecutive days, and may perform analysis and learning processing on the recorded habit of using the electronic device by using a learning algorithm, the electronic device generates the habit of using the user through a self-analysis and learning processing process, and automatically controls the first alarm clock to remind or turn off according to the habit of using the user. The first alarm clock does not need to be manually turned off by a user, so that the interference of the first alarm clock to the surrounding environment is reduced, and the electric quantity consumed in the reminding process of the first alarm clock is saved.
Therefore, according to the alarm clock reminding method provided by the embodiment of the invention, the first alarm clock is controlled by acquiring the use habit of the user on the electronic equipment in the morning, specifically, the first alarm clock is automatically controlled to be in the on state or the off state according to the time when the user uses the electronic equipment in the morning, the operations of additionally setting the first alarm clock, turning off the first alarm clock and the like are not needed, the use is greatly facilitated, and the electric quantity of the electronic equipment is saved.
In order to better implement the alarm clock reminding method provided by the embodiment of the invention, the embodiment of the invention also provides a device based on the alarm clock reminding method. The meaning of the noun is the same as that in the alarm clock reminding method, and specific implementation details can refer to the description in the method embodiment.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an alarm clock reminding apparatus according to an embodiment of the present invention, and an alarm clock reminding apparatus 200 according to an embodiment of the present invention includes a second obtaining module 204, a third obtaining module 205, a second generating module 206, and a second control module 207.
The second obtaining module 204 is configured to obtain first control information for controlling the first alarm clock at the first reminding time, where the first control information includes closing information for controlling the first alarm clock.
The second obtaining module 204 obtains first control information for controlling the first alarm clock at the first reminding time, where the first control information may include closing information for controlling the first alarm clock to close, re-reminding information for controlling the first alarm clock to delay re-reminding, or unprocessed information for not closing the first alarm clock. Please refer to the above contents, which are not described herein.
The third obtaining module 205 is configured to obtain feature information of the first alarm clock in a closing process.
In some embodiments, the characteristic information includes, but is not limited to: the method comprises the steps of controlling the time length for closing the first alarm clock in the closing process of the first alarm clock by a user, controlling the times for closing the first alarm clock in the closing process of the first alarm clock by the user, and controlling the reminding time length of the first alarm clock in the reminding process. Please refer to the above contents, which are not described herein.
The second generating module 206 is configured to generate the control threshold according to the shutdown information and the feature information.
In some embodiments, the control threshold may include a control time to control the first alarm clock to turn off and a number of controls to control the first alarm clock to turn off. Specifically, the control time is a duration used by the user to turn off the first alarm clock in the process of controlling the first alarm clock to turn off, for example, the control time is 5 seconds. The control times are specifically times used by the user to turn off the first alarm clock in the process of controlling the first alarm clock to turn off, for example, the control times are 1 time.
The second control module 207 is configured to control the second alarm clock to be in an off state if the control threshold is smaller than a preset threshold.
In some embodiments, if the control threshold is the control time, the preset threshold includes a preset time, and specifically, if the control time is less than the preset time, the second alarm clock is controlled to be in the off state. Please refer to the above contents, which are not described herein.
In some embodiments, if the control threshold is the control times, the preset threshold includes a preset number, and specifically, if the control times is less than the preset number, the second alarm clock is controlled to be in the off state. Please refer to the above contents, which are not described herein.
In some embodiments, if the control threshold is the control time and the control time, the preset threshold includes a preset time and a preset time, and specifically, if the control time is less than the preset time and if the control time is less than the preset time, the second alarm clock is controlled to be in the off state. Please refer to the above contents, which are not described herein.
The above are some specific examples of controlling the second alarm clock to be in the off state when the control threshold is smaller than the preset threshold in the embodiment of the present invention, and it should be noted that the manner of controlling the second alarm clock to be in the off state in the embodiment of the present invention is not limited thereto.
The second control module 207 is further configured to control the second alarm clock to be in an on state if the control threshold is greater than or equal to the preset threshold.
In some embodiments, if the control threshold is the control time, the preset threshold includes a preset time, and specifically, if the control time is greater than or equal to the preset time, the second alarm clock is controlled to be in the on state. Please refer to the above contents, which are not described herein.
In some embodiments, if the control threshold is the control times, the preset threshold includes a preset number, and specifically, if the control times is greater than or equal to the preset number, the second alarm clock is controlled to be in an on state. Please refer to the above contents, which are not described herein.
In some embodiments, if the control threshold is the control time and the control time, the preset threshold includes a preset time and a preset time, and specifically, if the control time is greater than or equal to the preset time and if the control time is greater than or equal to the preset time, the second alarm clock is controlled to be in the on state. Please refer to the above contents, which are not described herein.
Therefore, in the embodiment of the present invention, the first obtaining module 204 obtains the closing information and the feature information of the first alarm clock when the user closes the first alarm clock in the reminding process, and the second control module 207 controls the second alarm clock according to the closing information and the feature information of the user when the user closes the first alarm clock, so as to intelligently control the second alarm clock.
In some embodiments, the alarm clock reminding apparatus 200 may record the feature information, habit and the like of the user turning off the first alarm clock in a historical period, for example, morning of a continuous week, and may analyze and learn the recorded feature information, habit and the like by using a learning algorithm, and the alarm clock reminding apparatus 200 generates the second control information for controlling the second alarm clock through the self-analysis and learning process, and controls the second alarm clock to be in the off state or in the on state according to the second control information. After the user manually turns off the first alarm clock, the alarm clock reminding device 200 automatically judges whether the user gets up through self-learning, analysis and other processes, and then automatically controls whether the second alarm clock needs to be in an on state for reminding. And after the user closes the first alarm clock, the user gets up, and does not need the second alarm clock to continue reminding at the reminding time, then the alarm clock reminding device 200 controls the second alarm clock to be in the closed state according to the second control information obtained by self-learning and self-analysis of the second alarm clock, and does not need the user to manually close the second alarm clock, so that the user can use the alarm clock conveniently, the noise interference is reduced, and the electric quantity of the electronic equipment is saved.
In summary, in the alarm clock reminding device 200 provided by the present invention, the second obtaining module 204 obtains the first control information for controlling the first alarm clock at the first reminding time, where the first control information includes the closing information for controlling the first alarm clock; the third obtaining module 205 obtains feature information of the first alarm clock in the closing process; the second generation module 206 generates a control threshold according to the closing information and the characteristic information; if the control threshold is smaller than the preset threshold, the second control module 204 controls the second alarm clock to be in a closed state; if the control threshold is greater than or equal to the preset threshold, the second control module 204 controls the second alarm clock to be in an on state. According to the embodiment of the invention, the second alarm clock is automatically controlled through the combined action of the closing information and the characteristic information when the user closes the first alarm clock, so that the second alarm clock is intelligently controlled to reach the reminding time of the first alarm clock, the user does not need to manually close the alarm clock because the second alarm clock is in the opening state when the first alarm clock is automatically controlled to be in the closing state, the interference of the user who gets up or wakes up the second alarm clock and is still in the opening state to the surrounding environment is reduced, and the electric quantity consumed when the second alarm clock is in the opening state is saved.
In some embodiments, referring to fig. 10, fig. 10 is another schematic structural diagram of an alarm clock reminding apparatus according to an embodiment of the present invention, and the alarm clock reminding apparatus 200 may further include a sending module 208, a receiving module 209, and a determining module 210.
The sending module 208 is configured to send out a voice query message when the first alarm clock is in an off state.
The receiving module 209 is configured to receive a voice reply message.
The determining module 210 is configured to determine, if the receiving module 209 receives the voice reply message, a corresponding voice instruction according to the voice reply message.
And the second control module 207 is further configured to control a second alarm clock according to the voice instruction.
The second control module 207 is further configured to control the second alarm clock to be in an on state if the voice receiving module does not receive the voice reply message.
Specifically, when the first alarm clock is in an off state, that is, when the first alarm clock is in a reminding process, the user turns off the first alarm clock, and the sending module 208 sends a voice query message, such as "is the owner got up? "," is the second alarm clock of the master continue reminding? "and the like. The voice query message mainly queries whether the user gets up or whether the second alarm clock needs to be reminded. Such as "go up and do", "second alarm no longer alerts", etc. If the receiving module 209 does not receive the voice reply message, it indicates that the user is still sleeping and does not want to answer, and the second control module 207 controls the second alarm clock to be in an on state, and the second alarm clock performs reminding at the reminding time of the second alarm clock. If the receiving module 209 receives the voice reply message, the determining module 210 determines a voice command according to the voice reply message, where the voice command is, for example, "get up", "not get up", "remind", "no more remind", or the like. The second control module 207 accordingly controls the second alarm clock according to the corresponding voice command.
More specifically, please refer to fig. 4 and the above description, which are not repeated herein.
It will be appreciated that the user will generally get to the toilet first, or wash first, after getting up in the morning. Most users do not use the electronic device in the process, such as a mobile phone. At the moment, if the reminding time of the second alarm clock arrives, the second alarm clock reminds, and the user gets up, does not need the second alarm clock to continue reminding again, so that noise interference is avoided, and the electric quantity of the electronic equipment is wasted. At this moment, the user can stop reminding at the toilet or other positions through voice control second alarm clock, namely close the second alarm clock through the pronunciation.
According to the embodiment of the invention, the second alarm clock is controlled together according to the closing information and the characteristic information of the first alarm clock closed by the user and the received voice reply information, the control effect is better, and the second alarm clock is prevented from being controlled mistakenly only according to the closing information and the characteristic information of the first alarm clock. Embodiments of the present invention are further based on voice response information.
It should be noted that the manner of controlling the second alarm clock according to the embodiment of the present invention is not limited to the control information when the user controls the first alarm clock and the voice response information received by the electronic device. Such as: the control mode of the second alarm clock can also be based on the fact that the user controls the second alarm clock in a historical time period, the second alarm clock is controlled by combining the historical information of the second alarm clock with the first control information, the characteristic information, the language reply information and the like, and the accuracy is further improved.
Specifically, referring to fig. 10, the alarm clock reminding apparatus 200 further includes a fourth obtaining module 211.
The fourth obtaining module 211 is configured to obtain second control information for controlling the second alarm clock within a historical period of the user.
And the second control module 207 is further configured to control a second alarm clock according to the second control information.
Specifically, if the user continuously and repeatedly turns off the first alarm clock in the reminding process of the first alarm clock, and simultaneously controls the second alarm clock to be in the off state, and controls the second alarm clock to be in the on state again after the reminding time of the second alarm clock is over. When the user controls the first alarm clock to be turned off again, the second control module 207 automatically controls the second alarm clock to be in a turned-off state, and controls the second alarm clock to be in a turned-on state after the reminding time of the second alarm clock is over.
Referring to fig. 11, fig. 11 is a schematic structural diagram of an alarm clock reminding apparatus according to an embodiment of the present invention, and the alarm clock reminding apparatus 200 according to the embodiment of the present invention further includes a first obtaining module 201, a first generating module 202, and a first control module 203.
The first acquiring module 201 is configured to acquire at least two first moments when the electronic device is triggered for the first time in the same target time period of at least two days.
The target time period is specifically a time period in which the user needs to be reminded, for example, the user is reminded to get up through the first alarm clock, the target time period is set to be 6:00-7:00, 6:30-7:00, 7:00-8:00 and the like in the morning, and the time interval value of the target time period may be 30 minutes, 1 hour, 1 half hour and the like. The target time period of the embodiment of the invention is described in detail by taking an example of 7:00-8:00 in the morning.
The electronic equipment is triggered for the first time in the target time period, and specifically the electronic equipment is used for the first time in the target time period. Such as: and the physical switch key of the electronic equipment is pressed for the first time in the target time period, and the electronic equipment is started to be in a bright screen state, so that the first moment is the moment when the physical switch key of the electronic equipment is pressed for the first time in the target time period.
It can be understood that, when waking up in the morning, the first thing of the user is often to press a physical switch key of the electronic device, such as a physical switch key of a mobile phone, so that the mobile phone is in a bright screen state, the user knows a specific time through a mobile phone screen, and then the user selects to go to sleep or get up according to the seen time.
However, when some users wake up in the morning, the electronic device is unlocked directly through unlocking manners such as fingerprint unlocking without pressing a physical switch key of the electronic device, for example, unlocking a mobile phone. For this reason, the electronic device is triggered for the first time in the target time period, specifically the electronic device is used for the first time in the target time period is further as follows: the electronic equipment is unlocked for the first time in the target time period, and the electronic equipment enters a main interface of the electronic equipment after being unlocked, so that the first moment is the moment when the electronic equipment is unlocked for the first time in the target time period.
It should be noted that, in the embodiment of the present invention, in the target time period, the physical switch key of the electronic device is pressed for the first time, and the electronic device is unlocked for the first time, for example, the user presses the physical switch key of the electronic device in the target time period first, and then enters the main interface of the electronic device in a password unlocking manner, so that it can be determined that the user unlocks to enter the main interface not for viewing time, but for viewing the content in the electronic device, and further it can be determined that the user has awakened or has got up. And the user may continue to sleep again after pressing the physical switch key of the electronic device. Therefore, in this case, the first time is the time when the electronic device is unlocked for the first time.
In order to set the first time as the time when the user wakes up, further, after the user unlocks the electronic device and enters the main interface of the electronic device, a background program in the electronic device may be woken up to be in an interactive state, or other application programs in the electronic device may be started to be in the interactive state. Here, the first triggering of the electronic device in the target time period is specifically the first using of the electronic device in the target time period, such as: the application program in the electronic equipment is started or is in an interactive state for the first time, so that the first time is the time when the application program in the electronic equipment is started or is in the interactive state for the first time.
In order to save workload and reduce resource occupation, the embodiment of the present invention only obtains the first time when the electronic device is triggered for the first time. The first time is located in the target time period, taking the target time period as 7:00-8:00 a morning as an example, the first time is between 7:00-8:00 a morning, for example: 7:10, 7:15, 7:20, 7:30, etc.
In some embodiments, the at least two first moments when the electronic device is first triggered are acquired in the same target time period of at least two days, and the 7 first moments when the electronic device is first triggered can be acquired in the same target time period within several days, such as within one week; the plurality of first moments at which the electronic device is first triggered may also be acquired in the same target time period of tens of days or tens of days, such as a month. Further, a plurality of first moments of the electronic device in the target time period each day are obtained in the same target time period in a plurality of consecutive days. And then, counting the acquired first time of each day to perform the next operation.
It should be noted that the target time period of each day corresponds to a first time, and the first times of the multiple days may be the same or different.
The first generating module 202 is configured to generate a second time according to at least two of the first times, where the second time is earlier than or equal to a maximum time of the at least two of the first times.
The first generating module 202 may further determine whether there is a duplicate time in the at least two first times, and if there is a duplicate time in the at least two first times in the determination result, the second time is a time with the highest repetition frequency in the at least two first times. Such as: the first time of the first day is morning 7:28, the first time of the second day is morning 7:28, and the first time of the third day is morning 7:31, and the two first times of the first day and the second day are repeated, thereby setting morning 7:28 as the second time. When a plurality of first moments are repeated respectively and the repetition frequency is the same, the first generation module 202 sets the average value of all the first moments as the second moment. Such as: the first time of the first day is 7:28 morning, the first time of the second day is 7:28 morning, the first time of the third day is 7:31 morning, and the first time of the fourth day is 7:31 morning, and the repetition of the two first times is the same.
In some embodiments, the second time is an average of at least two first times, that is, the second time is an average of at least two first times, and the second time is an average of the first times of the acquired electronic device each day in the target time period over a plurality of days, in particular over a plurality of consecutive days. Such as: within 3 consecutive days, the first time when the electronic equipment is acquired in the target time period on the first day is 7:29 in the morning, the first time when the electronic equipment is acquired in the target time period on the second day is 7:30 in the morning, and the first time when the electronic equipment is acquired in the preset time on the third day is 7:31 in the morning, so the average time of the first time of the three consecutive days is 7:30 in the morning, and therefore, the second time is equal to 7:30 in the morning.
It should be noted that, in the embodiment of the present invention, a time having the highest frequency of the same first time may be preferentially used as the second time, and when the first times do not have the same time or have the same repetition frequency, an average value of all the first times may be used as the second time.
And the first control module 203 is used for controlling the first alarm clock to be in an off state when the electronic equipment is triggered in the target time period and before the second moment.
Therefore, the first acquiring module 201 acquires the habit of the user using the electronic device in the multi-day target time period, and the first control module 203 automatically controls the first alarm clock to be in the off state, so that the first alarm clock is intelligently controlled.
Referring to fig. 7, the embodiment of the invention can detect whether the electronic device 10 is triggered according to the first control module 203.
When the target time period is reached, specifically, for example, the first control module 203 starts to detect the electronic device at 7:00-8:00 in the morning, and at the same time, the electronic device needs to be detected before the second time, for example, 7:30 in the morning, the first control module 203 specifically detects whether the electronic device is triggered at 7:00-7:30 in the morning, where the electronic device is triggered, please refer to the above contents, which are not described herein, and the electronic device is not triggered, which indicates that the physical switch key of the electronic device is not pressed and the electronic device is not unlocked. When the first control module 203 detects that the electronic device is triggered within the target time period and before the second time, the first control module 203 automatically determines that the user has woken up, for example: the user has got up or is using the electronic device 10, so that the first control module 203 further automatically controls the first alarm clock to be in the off state, the reminding time of the first alarm clock is reached, the user does not need to manually turn off the first alarm clock because the first alarm clock is in the on state when the first alarm clock is automatically controlled to be in the off state, the interference of the user to the surrounding environment that the user has got up or has awakened that the first alarm clock is still in the on state is reduced, and the electric quantity consumed when the first alarm clock is in the on state is saved.
Referring to fig. 8, in the target time period and before the second time, specifically, for example, in the morning from 7:00 to 7:30, the first control module 203 detects that the physical switch key of the electronic device 10 is pressed, and then detects that the electronic device 10 is unlocked, and further, after the electronic device 10 is unlocked, the first control module 203 detects that the wechat application of the electronic device 10 is woken up and is in the interactive state. For example, a user spends entering a circle of friends of their WeChat application and sees within their circle of friends the status of their friend's Small white hair list "New day, New Start, insist on running in the morning" and the status of their friend's Small Forwarding "on-duty road rain not blocked".
The first control module 203 is further configured to set the second time as a first alarm clock reminding time when the electronic device is not triggered before the second time in the target time period, and control the first alarm clock to be in an on state when the first alarm clock reminding time is reached, so as to remind the user.
When the first control module 203 does not detect that the electronic device 11 is triggered in the target time period and before the second time, for example, 7:00-7:30 in the morning, the first control module 203 determines that the physical switch key of the electronic device 11 is not pressed and the electronic device 11 is not unlocked, so that the first control module 203 determines that the user does not get up or wake up. Therefore, the first alarm clock 11 needs to be controlled by the first control module 203 to remind the user.
Specifically, the second time, for example, 7:30 in the morning, is set as the reminding time of the first alarm clock 11, and when the morning is 7:30, the first control module 203 controls the first alarm clock 11 to vibrate and ring to remind the user to get up.
Therefore, the embodiment of the invention can automatically control the first alarm clock to be in the off state or the on state by acquiring the habit of using the electronic equipment by the user in a multi-day target time period, thereby realizing the intelligent control of the first alarm clock.
In some embodiments, the electronic device 10 may record the habit of the user to start or use the electronic device for the first time in a historical period, such as morning of a plurality of consecutive days, and may perform analysis and learning processing on the recorded habit of using the electronic device by using a learning algorithm, and the electronic device generates the habit of using the user through the self-analysis and learning processing process, and automatically controls the first alarm clock to remind or turn off according to the habit of using the user. The first alarm clock does not need to be manually turned off by a user, so that the interference of the first alarm clock to the surrounding environment is reduced, and the electric quantity consumed in the reminding process of the first alarm clock is saved.
Therefore, the alarm clock reminding device provided by the embodiment of the invention controls the first alarm clock by acquiring the use habit of the user on the electronic equipment in the morning through the first acquisition module 201, specifically, the first control module 203 automatically controls the first alarm clock to be in an on state or in an off state according to the time when the user uses the electronic equipment in the morning every day, and operations such as additionally setting the first alarm clock, turning off the first alarm clock and the like are not needed, so that the use is greatly facilitated, and the electric quantity of the electronic equipment is saved.
The embodiment of the invention also provides the electronic equipment 300. The electronic device 300 may be a smart phone, a tablet computer, or the like. As shown in fig. 12, fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device 300 includes: a processor 301 and a memory 302. The processor 301 is electrically connected to the memory 302.
The processor 301 is a control center of the electronic device 300, connects various parts of the whole electronic device 300 by using various interfaces and lines, performs various functions of the electronic device 300 and processes data by running or loading an application program stored in the memory 302, and calling data stored in the memory 302, thereby monitoring the electronic device 300 as a whole.
In this embodiment, the processor 301 in the electronic device 300 loads instructions corresponding to processes of one or more application programs into the memory 302 according to the following steps, and the processor 301 runs the application programs stored in the memory 302, thereby implementing various functions:
acquiring first control information for controlling a first alarm clock at a first reminding moment, wherein the first control information comprises closing information for controlling the first alarm clock;
acquiring characteristic information of the first alarm clock in a closing process;
generating a control threshold according to the closing information and the characteristic information;
if the control threshold value is smaller than a preset threshold value, controlling the second alarm clock to be in a closed state;
and if the control threshold is greater than or equal to the preset threshold, controlling the second alarm clock to be in an on state.
In some embodiments, the processor 301 is also configured to,
the control threshold comprises control time for controlling the first alarm clock to be turned off, and the preset threshold comprises preset time;
if the control threshold is smaller than a preset threshold, the step of controlling the second alarm clock to be in a closed state comprises the following steps:
if the control time is less than the preset time, controlling the second alarm clock to be in a closed state;
if the control threshold is greater than or equal to the preset threshold, the step of controlling the second alarm clock to be in an on state comprises:
and if the control time is greater than or equal to the preset time, controlling the second alarm clock to be in an on state.
In some embodiments, the processor 301 is also configured to,
the control threshold comprises the control times for controlling the first alarm clock to be turned off, and the preset threshold comprises the preset times;
if the control threshold is smaller than the preset threshold, the step of controlling the second alarm clock to be in a closed state comprises the following steps:
if the control times are less than the preset times, controlling the second alarm clock to be in a closed state;
if the control threshold is greater than or equal to the preset threshold, the step of controlling the second alarm clock to be in an on state comprises:
and if the control times are more than or equal to the preset times, controlling the second alarm clock to be in an open state.
In some embodiments, the processor 301 is also configured to,
before the step of controlling the second alarm clock to be in the off state if the control threshold is smaller than the preset threshold, the alarm clock reminding method further includes:
sending out voice inquiry information;
and if the voice reply information is not received, controlling the second alarm clock to be in an open state.
In some embodiments, the processor 301 is further configured to, after the step of sending out the voice query message, further include:
if the voice reply information is received, determining a corresponding voice instruction according to the voice reply information;
and controlling the second alarm clock according to the voice instruction.
In some embodiments, the processor 301 is further configured to, before the step of controlling the second alarm clock to be in an off state if the control threshold is smaller than a preset threshold, further include:
acquiring second control information for controlling the second alarm clock within a historical time period of a user;
and controlling the second alarm clock according to the second control information.
In some embodiments, the processor 301 is further configured to, before the step of obtaining first control information for controlling a first alarm clock at a first reminding time, where the first control information includes closing information for controlling the first alarm clock, the alarm clock reminding method further includes:
acquiring all first moments at which the electronic equipment is triggered for the first time in a target time period within preset time;
generating a second moment according to the first moment, wherein the second moment is earlier than or equal to the maximum moment in the first moments;
when the electronic equipment is triggered in the target time period and before the second moment, controlling the first alarm clock to be in a closed state;
and when the electronic equipment is not triggered in the target time period and before the second moment, setting the second moment as a first alarm clock reminding moment, and controlling the first alarm clock to be in an on state when the first alarm clock reminding moment is reached.
The memory 302 may be used to store applications and data. The memory 302 stores applications containing instructions executable in the processor 301. The application programs may constitute various functional modules. The processor 301 executes various functional applications and data processing by running an application program stored in the memory 302.
In some embodiments, referring to fig. 13 together, fig. 13 is another schematic structural diagram of an electronic device, and the electronic device 300 further includes: radio frequency circuit 303, display screen 304, control circuit 305, input unit 306, audio circuit 307, sensor 308, and power supply 309. The processor 301 is electrically connected to the rf circuit 303, the display 304, the control circuit 305, the input unit 306, the audio circuit 307, the sensor 308, and the power source 309, respectively.
The radio frequency circuit 303 is used for transceiving radio frequency signals to communicate with a server or other electronic devices through a wireless communication network.
The display screen 304 may be used to display information entered by or provided to the user as well as various graphical user interfaces of the terminal, which may be comprised of images, text, icons, video, and any combination thereof.
The control circuit 305 is electrically connected to the display screen 304, and is used for controlling the display screen 304 to display information.
The input unit 306 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The audio circuit 307 may provide an audio interface between the user and the terminal through a speaker, microphone.
The sensor 308 is used to collect external environmental information. The sensor 28 may include one or more of an ambient light sensor, an acceleration sensor, a gyroscope, and the like.
The power supply 309 is used to power the various components of the electronic device 300. In some embodiments, the power source 309 may be logically coupled to the processor 301 through a power management system, such that functions to manage charging, discharging, and power consumption management are performed through the power management system.
Although not shown in fig. 13, the electronic device 300 may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
As can be seen from the above, an embodiment of the present invention provides an electronic device 300, where the electronic device 300 obtains first control information for controlling a first alarm clock at a first reminding time, where the first control information includes closing information for controlling the first alarm clock; simultaneously acquiring characteristic information of the first alarm clock in the closing process; then generating a control threshold value according to the closing information and the characteristic information; if the control threshold value is smaller than the preset threshold value, controlling the second alarm clock to be in a closed state; and if the control threshold is greater than or equal to the preset threshold, controlling the second alarm clock to be in an on state. According to the embodiment of the invention, the second alarm clock is automatically controlled through the combined action of the closing information and the characteristic information when the user closes the first alarm clock, so that the second alarm clock is intelligently controlled to reach the reminding time of the second alarm clock, the user does not need to manually close the alarm clock because the second alarm clock is in the opening state when the first alarm clock is automatically controlled to be in the closing state, the interference of the user in the surrounding environment when the user gets up or wakes up and the second alarm clock is still in the opening state is reduced, and the electric quantity consumed when the second alarm clock is in the opening state is saved.
The embodiment of the invention also provides a storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are suitable for being loaded by the processor to execute the alarm clock reminding method in any embodiment.
It will be understood by those of ordinary skill in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by instructions controlling associated hardware, and the instructions may be stored in a computer readable storage medium, such as a memory of the electronic device, and loaded and executed by at least one processor within the electronic device.
It should be noted that, as one of ordinary skill in the art would understand, all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a program, and the program may be stored in a computer-readable medium, which may include but is not limited to: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The alarm clock reminding method and the alarm clock reminding device provided by the embodiment of the invention are described in detail, and each functional module can be integrated in one processing chip, or each module can exist independently and physically, or two or more modules can be integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (20)

1. An alarm clock reminding method comprises the following steps:
acquiring first control information for controlling a first alarm clock at a first reminding moment, wherein the first control information comprises closing information for controlling the first alarm clock;
acquiring characteristic information of the first alarm clock in a closing process;
generating a control threshold according to the closing information and the characteristic information;
if the control threshold is smaller than a preset threshold, controlling a second alarm clock to be in a closed state;
if the control threshold is larger than or equal to the preset threshold, controlling the second alarm clock to be in an on state;
the first alarm clock and the second alarm clock are alarm clocks which are set by a user and used for reminding at intervals.
2. The alarm clock reminding method according to claim 1, wherein the control threshold comprises a control time for controlling the first alarm clock to turn off, and the preset threshold comprises a preset time;
if the control threshold is smaller than a preset threshold, the step of controlling the second alarm clock to be in a closed state comprises the following steps:
if the control time is less than the preset time, controlling the second alarm clock to be in a closed state;
if the control threshold is greater than or equal to the preset threshold, the step of controlling the second alarm clock to be in an on state comprises:
and if the control time is greater than or equal to the preset time, controlling the second alarm clock to be in an on state.
3. The alarm clock reminding method according to claim 1, wherein the control threshold comprises a control number of times for controlling the first alarm clock to turn off, and the preset threshold comprises a preset number of times;
if the control threshold is smaller than the preset threshold, the step of controlling the second alarm clock to be in a closed state comprises the following steps:
if the control times are less than the preset times, controlling the second alarm clock to be in a closed state;
if the control threshold is greater than or equal to the preset threshold, the step of controlling the second alarm clock to be in an on state comprises:
and if the control times are more than or equal to the preset times, controlling the second alarm clock to be in an open state.
4. The alarm clock reminding method according to claim 1, wherein before the step of controlling the second alarm clock to be in an off state if the control threshold is smaller than a preset threshold, the alarm clock reminding method further comprises:
sending out voice inquiry information;
and if the voice reply information is not received, controlling the second alarm clock to be in an open state.
5. The alarm clock reminding method according to claim 4, wherein after the step of issuing the voice query message, the alarm clock reminding method further comprises:
if the voice reply information is received, determining a corresponding voice instruction according to the voice reply information;
and controlling the second alarm clock according to the voice instruction.
6. The alarm clock reminding method according to claim 1, wherein before the step of controlling the second alarm clock to be in an off state if the control threshold is smaller than a preset threshold, the alarm clock reminding method further comprises:
acquiring second control information for controlling the second alarm clock within a historical time period of a user;
and controlling the second alarm clock according to the second control information.
7. The alarm clock reminding method according to claim 1, wherein before the step of obtaining first control information for controlling a first alarm clock at a first reminding time, the first control information including turn-off information for controlling the first alarm clock, the alarm clock reminding method further comprises:
acquiring all first moments at which the electronic equipment is triggered for the first time in a target time period within preset time;
generating a second moment according to the first moment, wherein the second moment is earlier than or equal to the maximum moment in the first moments;
when the electronic equipment is triggered in the target time period and before the second moment, controlling the first alarm clock to be in a closed state;
and when the electronic equipment is not triggered in the target time period and before the second moment, setting the second moment as a first alarm clock reminding moment, and controlling the first alarm clock to be in an on state when the first alarm clock reminding moment is reached.
8. An alarm clock reminding device, comprising:
the second acquisition module is used for acquiring first control information for controlling a first alarm clock at a first reminding moment, wherein the first control information comprises closing information for controlling the first alarm clock;
the third acquisition module is used for acquiring the characteristic information of the first alarm clock in the closing process;
the second generation module is used for generating a control threshold value according to the closing information and the characteristic information;
the second control module is used for controlling the second alarm clock to be in a closed state if the control threshold value is smaller than a preset threshold value;
the second control module is further configured to control the second alarm clock to be in an on state if the control threshold is greater than or equal to the preset threshold;
the first alarm clock and the second alarm clock are alarm clocks which are set by a user and used for reminding at intervals.
9. The alarm clock reminding device according to claim 8, wherein the control threshold comprises a control time for controlling the first alarm clock to turn off, and the preset threshold comprises a preset time;
the second control module is specifically configured to control the second alarm clock to be in an off state if the control time is less than a preset time;
the second control module is further specifically configured to control the second alarm clock to be in an on state if the control time is greater than or equal to a preset time.
10. The alarm clock reminding device according to claim 8, wherein the control threshold comprises a number of controls for controlling the first alarm clock to turn off, and the preset threshold comprises a preset number of times;
the second control module is specifically configured to control the second alarm clock to be in an off state if the control times are less than preset times;
the second control module is further specifically configured to control the second alarm clock to be in an on state if the control times are greater than or equal to preset times.
11. The alarm clock reminding device of claim 8, wherein the alarm clock reminding device further comprises a sending module and a receiving module;
the sending module is used for sending out voice inquiry information when the first alarm clock is in a closed state;
the receiving module is used for receiving voice reply information;
the second control module is further configured to control the second alarm clock to be in an on state if the voice reply message is not received.
12. The alarm clock reminder of claim 11, wherein the alarm clock reminder further comprises a confirmation module;
the confirmation module is used for determining a corresponding voice instruction according to the voice reply information if the voice reply information is received;
the second control module is further used for controlling the second alarm clock according to the voice instruction.
13. The alarm clock reminding device of claim 8, wherein the alarm clock reminding device further comprises a fourth acquisition module;
the fourth obtaining module is used for obtaining second control information for controlling the second alarm clock within a historical period of time of a user;
the second control module is further configured to control the second alarm clock according to the second control information.
14. The alarm clock reminder of claim 8, wherein the alarm clock reminder further comprises:
the first acquisition module is used for acquiring all first moments when the electronic equipment is triggered for the first time in a target time period within preset time;
the first generation module is used for generating a second moment according to the first moment, wherein the second moment is earlier than or equal to the maximum moment in the first moments;
the first control module is used for controlling the first alarm clock to be in a closed state when the electronic equipment is triggered in the target time period and before the second moment;
the first control module is further configured to set the second time as a first alarm clock reminding time when the electronic device is not triggered in the target time period and before the second time, and control the first alarm clock to be in an on state when the first alarm clock reminding time is reached.
15. An electronic device comprising a processor and a memory, the processor and the memory being electrically connected, the memory for storing instructions and data, the processor for performing the steps of:
acquiring first control information for controlling a first alarm clock at a first reminding moment, wherein the first control information comprises closing information for controlling the first alarm clock;
acquiring characteristic information of the first alarm clock in a closing process;
generating a control threshold according to the closing information and the characteristic information;
if the control threshold is smaller than a preset threshold, controlling a second alarm clock to be in a closed state;
if the control threshold is larger than or equal to the preset threshold, controlling the second alarm clock to be in an on state;
the first alarm clock and the second alarm clock are alarm clocks which are set by a user and used for reminding at intervals.
16. The electronic device of claim 15, wherein the control threshold comprises a control time to control the first alarm clock to turn off, the preset threshold comprises a preset time;
if the control threshold is smaller than a preset threshold, the step of controlling the second alarm clock to be in a closed state comprises the following steps:
if the control time is less than the preset time, controlling the second alarm clock to be in a closed state;
if the control threshold is greater than or equal to the preset threshold, the step of controlling the second alarm clock to be in an on state comprises:
and if the control time is greater than or equal to the preset time, controlling the second alarm clock to be in an on state.
17. The electronic device of claim 15, wherein the control threshold comprises a number of controls to control the first alarm clock to turn off, and the preset threshold comprises a preset number of times;
if the control threshold is smaller than the preset threshold, the step of controlling the second alarm clock to be in a closed state comprises the following steps:
if the control times are less than the preset times, controlling the second alarm clock to be in a closed state;
if the control threshold is greater than or equal to the preset threshold, the step of controlling the second alarm clock to be in an on state comprises:
and if the control times are more than or equal to the preset times, controlling the second alarm clock to be in an open state.
18. A storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the steps of:
acquiring first control information for controlling a first alarm clock at a first reminding moment, wherein the first control information comprises closing information for controlling the first alarm clock;
acquiring characteristic information of the first alarm clock in a closing process;
generating a control threshold according to the closing information and the characteristic information;
if the control threshold is smaller than a preset threshold, controlling a second alarm clock to be in a closed state;
if the control threshold is larger than or equal to the preset threshold, controlling the second alarm clock to be in an on state;
the first alarm clock and the second alarm clock are alarm clocks which are set by a user and used for reminding at intervals.
19. The storage medium of claim 18, wherein the control threshold comprises a control time to control the first alarm clock to turn off, the preset threshold comprises a preset time;
if the control threshold is smaller than a preset threshold, the step of controlling the second alarm clock to be in a closed state comprises the following steps:
if the control time is less than the preset time, controlling the second alarm clock to be in a closed state;
if the control threshold is greater than or equal to the preset threshold, the step of controlling the second alarm clock to be in an on state comprises:
and if the control time is greater than or equal to the preset time, controlling the second alarm clock to be in an on state.
20. The storage medium of claim 18, wherein the control threshold comprises a number of controls to control the first alarm clock to turn off, and the preset threshold comprises a preset number of times;
if the control threshold is smaller than the preset threshold, the step of controlling the second alarm clock to be in a closed state comprises the following steps:
if the control times are less than the preset times, controlling the second alarm clock to be in a closed state;
if the control threshold is greater than or equal to the preset threshold, the step of controlling the second alarm clock to be in an on state comprises:
and if the control times are more than or equal to the preset times, controlling the second alarm clock to be in an open state.
CN201780090137.2A 2017-06-30 2017-06-30 Alarm clock reminding method and device, storage medium and electronic equipment Expired - Fee Related CN110574355B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/091379 WO2019000467A1 (en) 2017-06-30 2017-06-30 Alarm clock prompt method and apparatus, storage medium, and electronic device

Publications (2)

Publication Number Publication Date
CN110574355A CN110574355A (en) 2019-12-13
CN110574355B true CN110574355B (en) 2021-04-13

Family

ID=64740928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780090137.2A Expired - Fee Related CN110574355B (en) 2017-06-30 2017-06-30 Alarm clock reminding method and device, storage medium and electronic equipment

Country Status (2)

Country Link
CN (1) CN110574355B (en)
WO (1) WO2019000467A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079251A (en) * 2021-03-26 2021-07-06 环鸿电子(昆山)有限公司 Alarm clock closing method applied to smart phone
CN115018437B (en) * 2021-11-16 2023-07-14 荣耀终端有限公司 Travel reminding method and electronic equipment
CN114244952B (en) * 2021-11-16 2024-03-26 维沃移动通信有限公司 Alarm clock processing method and device, electronic equipment and medium
CN114567694A (en) * 2022-02-28 2022-05-31 维沃移动通信有限公司 Alarm clock reminding method and device
CN116449363B (en) * 2023-03-30 2024-01-19 森思泰克河北科技有限公司 Alarm clock control method and device based on radar, radar and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152484A (en) * 2013-03-06 2013-06-12 Tcl通讯(宁波)有限公司 Method and system for turning off alarm of mobile terminal
CN103634468A (en) * 2013-11-26 2014-03-12 小米科技有限责任公司 Method, device and terminal equipment for processing alarm clock

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007309809A (en) * 2006-05-19 2007-11-29 Nec Saitama Ltd Cellular phone terminal and its control method
US20080259742A1 (en) * 2007-04-23 2008-10-23 Mediatek Inc. Methods and systems for controlling alarm clocks
CN101901628A (en) * 2010-08-04 2010-12-01 鸿富锦精密工业(深圳)有限公司 Digital photo frame having warning function and clock alarming method
KR20150127783A (en) * 2012-03-20 2015-11-18 삼성전자주식회사 Method and apparatus for providing an alarm service in mobile terminal
CN202796041U (en) * 2012-08-16 2013-03-13 北京播思软件技术有限公司 Mobile terminal using voice to control alarm clock
TWI624738B (en) * 2013-01-28 2018-05-21 群邁通訊股份有限公司 System and method of detecting intelligent alarm clock
CN103491249A (en) * 2013-09-16 2014-01-01 青岛海信传媒网络技术有限公司 Mobile terminal alarm clock prompt cancelling method and mobile terminal
CN103945055B (en) * 2014-03-18 2017-05-17 深圳市艾优尼科技有限公司 Method and device for turning off terminal alarm clock and terminal equipment
CN105224067A (en) * 2014-06-04 2016-01-06 中兴通讯股份有限公司 A kind of method, device and mobile terminal controlling quarter-bell
CN105303361B (en) * 2014-07-30 2020-06-05 腾讯科技(深圳)有限公司 Alarm clock adjusting method and device and terminal
CN105511745A (en) * 2014-09-22 2016-04-20 联想(北京)有限公司 Information processing method and electronic device
CN104853031A (en) * 2015-03-19 2015-08-19 惠州Tcl移动通信有限公司 Method and terminal for controlling alarm clock
CN105528155A (en) * 2015-12-09 2016-04-27 广东欧珀移动通信有限公司 Alarm clock reminding control method, and device and terminal equipment
CN106210306A (en) * 2016-07-08 2016-12-07 深圳天珑无线科技有限公司 A kind of alarm clock prompting method based on mobile terminal, device and mobile terminal
CN106357886A (en) * 2016-08-26 2017-01-25 努比亚技术有限公司 Method and device for managing alarm of intelligent watch
CN106850996A (en) * 2017-02-16 2017-06-13 广东小天才科技有限公司 A kind of alarm clock of mobile terminal starts method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152484A (en) * 2013-03-06 2013-06-12 Tcl通讯(宁波)有限公司 Method and system for turning off alarm of mobile terminal
CN103634468A (en) * 2013-11-26 2014-03-12 小米科技有限责任公司 Method, device and terminal equipment for processing alarm clock

Also Published As

Publication number Publication date
WO2019000467A1 (en) 2019-01-03
CN110574355A (en) 2019-12-13

Similar Documents

Publication Publication Date Title
CN110574355B (en) Alarm clock reminding method and device, storage medium and electronic equipment
JP6247384B2 (en) Air conditioner activation method, air conditioner activation apparatus, computer program, and computer-readable storage medium
CN107919123A (en) More voice assistant control method, device and computer-readable recording medium
EP3113549A1 (en) Method and device for waking up mcu chip
CN107343096B (en) Information reminding method and device, storage medium and electronic equipment
CN109002387B (en) User reminding method and device of application program, terminal equipment and storage medium
CN105933539B (en) audio playing control method and device and terminal
CN104657057A (en) Terminal waking method and device
CN106055458B (en) A kind of charging reminding method, device and mobile device
CN107134823A (en) Charge prompting method and device
CN105487650A (en) Intelligent alarm clock turn-off method and apparatus
CN107222391A (en) Group's based reminding method, device and equipment
KR20170035829A (en) Method and device for managing alarm clock, electronic device
CN108564947A (en) The method, apparatus and storage medium that far field voice wakes up
CN107783790B (en) Terminal awakening method and device
CN106354242A (en) Mode switching method and device
CN108460352A (en) The method and apparatus of fingerprint detection
CN108108090B (en) Communication message reminding method and device
CN106572260A (en) Event reminding method and device
CN106371831A (en) Awakening control method and device and terminal
CN109034747A (en) Task reminders method and device
CN105242775B (en) The method and device of state adjustment
CN105549376A (en) Terminal alarm clock control method and device
CN105159434A (en) Time display method, device and terminal
CN107844691B (en) Method and device for awakening terminal screen

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210413