WO2019084755A1 - Information processing method and apparatus, mobile terminal, and nonvolatile readable storage medium - Google Patents

Information processing method and apparatus, mobile terminal, and nonvolatile readable storage medium Download PDF

Info

Publication number
WO2019084755A1
WO2019084755A1 PCT/CN2017/108526 CN2017108526W WO2019084755A1 WO 2019084755 A1 WO2019084755 A1 WO 2019084755A1 CN 2017108526 W CN2017108526 W CN 2017108526W WO 2019084755 A1 WO2019084755 A1 WO 2019084755A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
alarm
mobile terminal
random number
preset
Prior art date
Application number
PCT/CN2017/108526
Other languages
French (fr)
Chinese (zh)
Inventor
任超
Original Assignee
深圳市云中飞网络科技有限公司
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 深圳市云中飞网络科技有限公司 filed Critical 深圳市云中飞网络科技有限公司
Priority to PCT/CN2017/108526 priority Critical patent/WO2019084755A1/en
Publication of WO2019084755A1 publication Critical patent/WO2019084755A1/en

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

Definitions

  • the present application relates to the field of computer technologies, and in particular, to an information processing method, apparatus, mobile terminal, and non-volatile readable storage medium.
  • the user often uses an alarm clock in daily life.
  • the usual mobile terminal provides an alarm clock function.
  • the mobile terminal can send an audible signal or other signal to remind the user that the user has reached the preset time. time.
  • an information processing method, apparatus, mobile terminal, and non-volatile readable storage medium are provided.
  • An information processing method includes:
  • a time is randomly selected as an alarm time
  • An information processing apparatus comprising:
  • a time acquisition module configured to acquire a preset start time and an end time
  • a selection module configured to randomly select a time as an alarm time in a time period between the start time and the end time
  • the reminding module is configured to perform an alarm reminder when the clock moment of the mobile terminal reaches the alarm time.
  • a mobile terminal comprising a memory and a processor, the memory storing computer executable instructions, the computer executable instructions being executed by the processor such that when executed by the processor, the method as described above is implemented.
  • One or more non-volatile readable storage media storing computer-executable instructions that, when executed by one or more processors, cause the one or more processors to be implemented as described above The method described.
  • FIG. 1 is an application scenario diagram of an information processing method in an embodiment
  • FIG. 2 is a block diagram of a mobile terminal in an embodiment
  • FIG. 3 is a flow chart of an information processing method in an embodiment
  • Figure 5 is a flow chart for obtaining a random number in one embodiment
  • FIG. 6 is a flow chart of selecting a new alarm time in an embodiment
  • FIG. 7 is a block diagram of an information processing apparatus in an embodiment
  • Figure 8 is a block diagram of a module selected in an embodiment
  • FIG. 9 is a block diagram of a mobile terminal in another embodiment.
  • FIG. 1 is an application scenario diagram of an information processing method in an embodiment.
  • the mobile terminal 10 provides an alarm reminder function, and the user can set a start time and an end time on the mobile terminal 10.
  • the mobile terminal 10 can acquire a preset start time and end time.
  • the mobile terminal 10 may randomly select a time as an alarm time in a time period between the start time and the end time, and perform an alarm reminder when the clock time of the mobile terminal 10 reaches the selected alarm time.
  • the mobile terminal includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus.
  • the memory may include a non-volatile storage medium and a processor.
  • the non-volatile storage medium of the mobile terminal stores an operating system and computer-executable instructions, which are executed by the processor to implement an information processing method provided in the embodiments of the present application.
  • the processor is used to provide computing and control capabilities to support the operation of the entire mobile terminal.
  • the internal memory in the mobile terminal provides an environment for the operation of computer readable instructions in a non-volatile storage medium.
  • the network interface is used for network communication with the server.
  • the display screen of the mobile terminal may be a liquid crystal display or an electronic ink display screen.
  • the input device may be a touch layer covered on the display screen, or may be a button, a trackball or a touchpad provided on the casing of the mobile terminal, or may be An external keyboard, trackpad, or mouse.
  • the mobile terminal can be a mobile phone, a tablet or a personal digital assistant or a wearable device.
  • FIG. 2 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the mobile terminal to which the solution of the present application is applied.
  • the specific mobile terminal may It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
  • an information processing method including the following steps:
  • Step 310 Acquire a preset start time and end time.
  • the user can preset the start time and the end time of the alarm on the mobile terminal, and the start time and the end time can be used to limit the time interval in which the mobile terminal randomly performs the alarm reminder, in the time period between the start time and the end time.
  • Alarm alarms are possible at any time.
  • the user sets the start time and the end time of the alarm on the mobile terminal, and the mobile terminal can establish an alarm task according to the set start time and end time, and register the alarm task into the operating system.
  • Step 320 randomly select a time as an alarm time in a time period between the start time and the end time.
  • the mobile terminal may acquire a preset start time and an end time, and randomly select a time as an alarm time in a time period between the preset start time and the end time.
  • the mobile terminal may acquire all the moments included between the start time and the end time, and generate a set of all the moments included, and then randomly select a moment in the set as the alarm time. For example, if the preset starting time is 7:00 and the ending time is 7:20 of the same day, you can divide it into units, get all the time contained in 7:00 to 7:20 of the same day, and generate all the included A collection of moments, which can include 7:00, 7:01, 7:02, 7:03, 7:04...7:20, etc. 7:00 to the same day : All the time between 20.
  • the mobile terminal can randomly select a time from the set as an alarm time.
  • the alarm alarm may be set at the alarm time, and when the clock moment of the mobile terminal reaches the alarm time, the alarm is performed.
  • the mobile terminal can detect whether the clock time inside the mobile terminal reaches the alarm time every preset time period, and the preset time period can be a short time period of 60 milliseconds, 30 milliseconds, etc., thereby ensuring the time. The accuracy.
  • the mobile terminal when the clock moment of the mobile terminal reaches the preset starting time, the mobile terminal randomly selects a time as the alarm time in the time period between the starting time and the ending time.
  • the mobile terminal can also select the alarm time at other times, for example, after the user sets the start time and the end time, select the alarm time and the like.
  • Step 330 When the clock moment of the mobile terminal reaches the alarm time, the alarm is performed.
  • the reminding manner for the alarm of the alarm clock may include, but is not limited to, playing a ringing tone, vibrating, etc., and the reminding manner may be set by the user in advance, or may be moved by The reminder method that the terminal randomly selects.
  • the mobile terminal may set a plurality of different reminding manners in advance, for example, playing different ringtones.
  • the mobile terminal may randomly select a reminding manner to perform an alarm reminder.
  • the alarm task can send a broadcast, and the execution method corresponding to the selected reminding mode is called by the broadcast, and the mobile terminal can perform the alarm reminder according to the selected reminding manner.
  • a time is randomly selected as the alarm time in the time period between the preset start time and the end time.
  • step 320 randomly selects a time as an alarm time in a time period between a start time and an end time, and includes steps 402-408:
  • Step 402 Calculate the time difference between the start time and the end time.
  • the mobile terminal acquires a preset start time and an end time, and randomly selects a time as an alarm time in a time period between the preset start time and the end time.
  • the mobile terminal can calculate a time difference between the preset start time and the end time, wherein the time difference refers to a time difference between the end time and the start time. For example, the preset starting time is 7:00, and the ending time is 7:20 of the same day, then the time difference between the starting time and the ending time is 20 minutes.
  • step 404 a random number is obtained.
  • the mobile terminal can obtain a random number, and the time limit can be used to randomly select a time in the time period between the start time and the end time as the alarm time.
  • the mobile terminal may randomly acquire a random number from 0 to 1, and the random number may be a decimal number greater than or equal to 0 and less than or equal to 1, and the number of digits of the random number may be set, such as setting When the random number is 1 decimal place, the random number may be any decimal number such as 0.0, 0.1, 0.2, 0.3, 0.4, etc. between 0 and 1. It can be understood that the random number is not limited to one decimal place, and may be two or three decimal places, etc., and can be set according to requirements.
  • step 404 obtains a random number, which may include step 502 and step 504:
  • Step 502 Acquire a pre-divided random number interval between 0 and 1, and a random weight corresponding to each random number interval.
  • the mobile terminal may divide the random number that may be generated between 0 and 1 into multiple random number intervals, and each random number interval is used to represent a numerical range corresponding to the random number, for example, may be generated between 0 and 1.
  • the random number is divided into two random number intervals, which may include [0, 0.5], [0.6, 1], etc., and may also be divided into other random number intervals, and is not limited thereto.
  • Each random number interval may be set with a corresponding random weight, and the random weight may be used to indicate a probability that the random number falls within the corresponding random number interval.
  • the mobile terminal divides the random number that may be generated between 0 and 1 into 2
  • the random number intervals are [0, 0.5] and [0.6, 1], where [0, 0.5] corresponds to a weight of 0.7, and [0.6, 1] corresponds to a weight of 0.3, indicating that the selected random number has The 70% probability falls into the random number interval [0, 0.5], and a 30% probability falls into the random number interval [0.6, 1].
  • the division of the random number interval and the random weight corresponding to each random number interval may be set by the user according to the user's needs, and the user may select the time for the alarm to be alarmed by dividing the random number interval and setting the random weight corresponding to the random number interval.
  • the larger random weight can be set in the random number interval with a smaller random number, and the mobile terminal has a time period between the start time and the end time. Larger probability is randomly selected to the earlier time as the alarm time.
  • Step 504. A random number is randomly selected between 0 and 1 according to the random weight.
  • the mobile terminal may randomly select a random number between 0 and 1 according to the divided random number interval and the random weight corresponding to each random number interval.
  • the mobile terminal can create an array and put the value contained in each random number interval in the array, and put a corresponding proportional number of values in the array according to the random weight corresponding to the random number interval, and in the array Randomly select a value as a random number.
  • the mobile terminal divides the random number that may be generated between 0 and 1 into two random number intervals, which are [0, 0.5] and [0.6, 1], respectively, where [0, 0.5] corresponds to a weight of 0.7.
  • [0.6,1] corresponds to a weight of 0.3
  • the mobile terminal can create an array, and put 7 0, 7 0.1, 7 0.2, 7 0.3, 7 0.4 and 7 0.5 in the array, while placing Enter 3 0.6, 3 0.7, 3 0.8, 3 0.9 and 3 1 so that the number of values placed in the array for each random number interval is proportional to the corresponding random weight, thus satisfying the selected
  • the random number has a 70% probability of falling into the random number interval [0, In 0.5], there is a 30% probability that the condition falls within the random number interval [0.6, 1].
  • the mobile terminal can randomly select a value in the array as a random number.
  • the random number is selected according to the random weight, which can help the user to set the time segment of the random alarm reminder between the start time and the end time to fit the user's needs, and the operation is simple and quick.
  • step 406 the time difference is multiplied by the random number to obtain a random time point.
  • step 408 the random time point is added to the starting time to obtain an alarm time.
  • the alarm time may be determined according to the time difference from the start time to the end time and the random number.
  • the mobile terminal may multiply the time difference from the start time to the end time by a random number to obtain a random time point, and the random time point may be used to indicate a time difference between the randomly selected time and the start time.
  • the time difference from the start time to the end time is 20 minutes, and the random number is 0.5, then the time difference can be multiplied by the random number to obtain a random time point of 10 minutes.
  • the mobile terminal can add the obtained random time point to the starting time, and then obtain a randomly selected time, and can use the time as the alarm time.
  • the calculated random time point is 10 minutes, and the starting time is 7:00, then the alarm time is 7:10.
  • step 410 an alarm reminder is set at the time of the alarm.
  • the mobile terminal can set an alarm reminder at the time of the alarm, and can set a reminder manner of the alarm reminder, such as playing a ringtone, vibrating, etc., wherein the reminding manner can be set by the user in advance, or can be a reminding manner randomly selected by the mobile terminal.
  • the mobile terminal may first determine whether an alarm alarm has been set at the alarm time before the alarm is set. For example, the randomly selected alarm time is just the same as the other alarm alarms preset by the user. If the alarm reminder has been set at the alarm time, the mobile terminal may randomly select a time as the alarm time in the time period between the start time and the end time. The mobile terminal may reacquire the random number, and compare the re-acquired random number with the last acquired random number. If the re-acquired random number is different from the last acquired random number, the re-acquisition random number may be used. The time difference from the start time to the end time determines the alarm time. If the re-acquired random number is the same as the last acquired random number, the mobile terminal may discard the re-acquired random number and obtain the random number again until the acquired random number and the last acquired random number. different.
  • a time is randomly selected as the alarm time in the time period between the preset start time and the end time, so that the alarm alarm can be avoided at the same time for a long time, and the operation is simple and quick.
  • the foregoing information processing method includes the following steps:
  • Step 602 It is detected whether a preset gesture operation is received, and if yes, step 608 is performed, and if no, step 604 is performed.
  • the mobile terminal may be preset with a gesture operation of turning off the alarm of the alarm.
  • the gesture operation may include, but is not limited to, triggering the alarm button to be turned off, and swiping on the screen according to the preset trajectory.
  • the gesture operation of turning off the alarm may be performed according to actual needs. Settings. After the mobile terminal reminds the alarm clock at the randomly selected alarm time, it can detect whether the preset gesture operation is received. If the preset gesture operation is received, the mobile terminal can turn off the alarm alarm and no longer alarm the alarm.
  • Step 604 randomly select a time as a new alarm time in the time period between the alarm time and the end time.
  • the new alarm time is selected to perform the alarm reminder.
  • the mobile terminal may randomly select a time as a new alarm time in a time period between the original alarm time and the preset end time.
  • the mobile terminal may be provided with a duration period of an alarm reminder and detect whether a preset gesture operation is received during the duration period. If the preset gesture operation is not received during the duration of the alarm reminder, a time may be randomly selected as the new alarm time in the time period between the alarm reminder end time and the preset end time. For example, the alarm time is 7:10. When the clock time of the mobile terminal reaches 7:10, the alarm is given, and the alarm reminds for 1 minute. If the preset gesture operation is not received within 1 minute of the alarm reminder, The alarm reminder ends between 7:11 and the preset end time between 7:20, and a random time is selected as the new alarm time.
  • Step 606 When the time of the mobile terminal reaches the new alarm time, the alarm is given.
  • the mobile terminal can follow the pre- The reminder mode is set to perform an alarm reminder, and steps 602 to 606 may be repeatedly executed until a preset gesture operation of turning off the alarm reminder is received.
  • step 608 the alarm reminder is turned off.
  • detecting whether to turn off the alarm reminder is not limited to the manner of the preset gesture operation described above, and may be other methods.
  • the mobile terminal can detect whether a voice command to close the alarm reminder is received, or the mobile terminal can collect the physiological parameter of the user, determine whether the user is in the awake state according to the physiological parameter, and if the user is in the awake state, the alarm can be turned off. If the user is in a sleepy state, he or she can re-randomly select a new alarm clock to remind the alarm.
  • the new alarm time can be re-randomly selected to perform the alarm alarm, which can avoid alarming the alarm at the same time for a long time, and automatically alarming the alarm repeatedly. It fits the user's needs and is easy and quick to operate.
  • the method may include: acquiring an alarm mode, and when the alarm mode is a random alarm mode, between the start time and the preset end time. During the time period, a time is randomly selected as the alarm time; if the alarm mode is the normal mode, the alarm is given when the clock time of the mobile terminal reaches the start time or the end time.
  • the alarm clock mode can be obtained.
  • the alarm mode can include a random alarm mode and a normal mode, wherein the random alarm mode refers to the preset time.
  • the random alarm mode refers to the preset time.
  • a mode in which an alarm is given at a time is randomly selected within the range, and the normal mode refers to an alarm reminder at a time set by the user. The user can select the alarm mode in advance according to actual needs.
  • the mobile terminal acquires an alarm mode. If the alarm mode is a random alarm mode, a time may be randomly selected as the alarm time in the time period between the start time and the preset end time, and the time is reached when the clock time of the mobile terminal arrives. When the alarm clock is at a time, the alarm can be reminded according to the preset reminder mode. If the alarm mode is the normal mode, when the clock moment of the mobile terminal reaches the start time or the end time, the mobile terminal can directly perform the alarm reminder according to the preset reminding manner.
  • the user can select different alarm modes according to actual needs, and the user needs to be close to the user. Seek, and the operation is simple and fast.
  • an information processing method including the following steps:
  • step (1) the preset start time and end time are obtained.
  • step (2) in the time period between the start time and the end time, one time is randomly selected as the alarm time.
  • the step (2) includes: calculating a time difference between the start time and the end time; acquiring a random number, the random number is greater than or equal to 0, and less than or equal to 1; multiplying the time difference by the random number to obtain a random time point; Add the random time point to the starting time to get the alarm time; set the alarm reminder at the alarm time.
  • acquiring the random number includes: acquiring a pre-divided random number interval between 0 and 1, and a random weight corresponding to each random number interval; and randomly selecting the random number between 0 and 1 according to the random weight.
  • the method further includes: determining whether the alarm time has been set with an alarm reminder, and if the alarm reminder is set, re-in the time period between the start time and the end time , randomly select a moment as the alarm time.
  • step (3) when the clock moment of the mobile terminal reaches the alarm time, the alarm is given.
  • Step (4) detecting whether a preset gesture operation is received, the preset gesture operation is used to turn off the alarm alarm, and if the preset gesture operation is not received, randomly selecting one in the time period between the alarm time and the end time As a new alarm time, the alarm is given when the new alarm time arrives at the clock moment of the mobile terminal.
  • the method further includes: acquiring an alarm clock mode; when the alarm mode is a random alarm mode, randomly selecting a time in a time period between the start time and the preset end time The alarm time; if the alarm mode is the normal mode, the alarm is given when the clock time of the mobile terminal reaches the start time or the end time.
  • a time is randomly selected as the alarm time in the time period between the preset start time and the end time.
  • an information processing apparatus 700 including a time acquisition module 710, a selection module 720, and a reminder module 730.
  • the time acquisition module 710 is configured to acquire a preset start time and an end time.
  • the selecting module 720 is configured to randomly select a time as an alarm time in a time period between the start time and the end time.
  • the reminding module 730 is configured to perform an alarm reminder when the clock moment of the mobile terminal reaches the alarm time.
  • a time is randomly selected as the alarm time in the time period between the preset start time and the end time.
  • the selection module 720 includes a calculation unit 722, an acquisition unit 724, an alarm time determination unit 726, and a setting unit 728.
  • the calculating unit 722 is configured to calculate a time difference between the start time and the end time.
  • the obtaining unit 724 is configured to obtain a random number, where the random number is greater than or equal to 0, and is less than or equal to 1.
  • the obtaining unit 724 includes a weight acquiring subunit and a selecting subunit.
  • the weight acquisition subunit is configured to obtain a pre-divided random number interval between 0 and 1, and a random weight corresponding to each random number interval.
  • a subunit is selected for randomly selecting a random number between 0 and 1 according to the random weight.
  • the alarm time determination unit 726 is configured to multiply the time difference by a random number to obtain a random time point; and add the random time point to the start time to obtain an alarm time.
  • the setting unit 728 is configured to set an alarm reminder at the time of the alarm.
  • the selection module 720 is further configured to determine whether an alarm alarm has been set at an alarm time. If an alarm reminder has been set, re-select a time in a time period between the start time and the end time. As an alarm clock moment.
  • a time is randomly selected as the alarm time in the time period between the preset start time and the end time, so that the alarm alarm can be avoided at the same time for a long time, and the operation is performed. It's quick and easy.
  • the information processing apparatus 700 includes a time acquisition module 710, a selection module 720, and a reminder module 730, and further includes a detection module.
  • the detecting module is configured to detect whether a preset gesture operation is received, and the preset gesture operation is used to turn off the alarm alarm.
  • the selection module 720 is further configured to randomly select a time as a new alarm time in a time period between an alarm time and an end time if the preset gesture operation is not received.
  • the reminder module 730 is further configured to perform an alarm reminder when a new alarm time is reached at a clock moment of the mobile terminal.
  • the new alarm time can be re-randomly selected to perform the alarm alarm, which can avoid alarming the alarm at the same time for a long time, and automatically alarming the alarm repeatedly. It fits the user's needs and is easy and quick to operate.
  • the information processing apparatus 700 includes a time acquisition module 710, a selection module 720, a reminder module 730, and a detection module, and an alarm mode acquisition module.
  • An alarm mode acquisition module for acquiring an alarm mode.
  • the selection module 720 is further configured to: when the alarm mode is the random alarm mode, randomly select a time as the alarm time in the time period between the start time and the preset end time.
  • the reminding module 730 is further configured to: when the alarm mode is the normal mode, when the clock moment of the mobile terminal reaches the start time or the end time, the alarm is performed.
  • the user can select different alarm modes according to actual needs, and is close to the user's needs, and the operation is simple and quick.
  • the embodiment of the present application further provides a mobile terminal.
  • a mobile terminal As shown in FIG. 9 , for the convenience of description, only the parts related to the embodiments of the present application are shown. If the specific technical details are not disclosed, please refer to the method part of the embodiment of the present application.
  • the mobile terminal can be any mobile device, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an on-board computer, a wearable device, or the like, and the mobile terminal is used as a mobile phone as an example. :
  • FIG. 9 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present application.
  • the mobile phone includes: a radio frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a Wireless-Fidelity (WiFi) module 970, and a processor. 980, and power supply 990 and other components.
  • RF radio frequency
  • the structure of the handset shown in FIG. 9 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
  • the RF circuit 910 can be used for receiving and transmitting signals during the transmission and reception of information or during a call.
  • the downlink information of the base station can be received and processed by the processor 980.
  • the uplink data can also be sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • RF circuitry 910 can also communicate with the network and other devices via wireless communication.
  • the above wireless communication may use any communication standard or protocol, including but not limited to GSM, General Packet Radio Service (GPRS), CDMA, Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Evolution, LTE), e-mail, Short Messaging Service (SMS), etc.
  • GSM Global System for Mobile Communications
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • e-mail Short Messaging Service
  • the memory 920 can be used to store software programs and modules, and the processor 980 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 920.
  • the memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as an application of a sound playing function, an application of an image playing function, etc.);
  • the data storage area can store data (such as audio data, address book, etc.) created according to the use of the mobile phone.
  • memory 920 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 930 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 900.
  • the input unit 930 Touch panel 932 and other input devices 934 can be included.
  • the touch panel 932 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 932 or near the touch panel 932. Operation) and drive the corresponding connection device according to a preset program.
  • the touch panel 932 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 980 is provided and can receive commands from the processor 980 and execute them.
  • the touch panel 932 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 930 may also include other input devices 934.
  • other input devices 934 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.).
  • the display unit 940 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
  • the display unit 940 can include a display panel 942.
  • the display panel 942 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 932 can cover the display panel 942. When the touch panel 932 detects a touch operation on or near it, the touch panel 932 transmits to the processor 980 to determine the type of the touch event, and then the processor 980 is The type of touch event provides a corresponding visual output on display panel 942.
  • the touch panel 932 and the display panel 942 are used as two separate components to implement the input and input functions of the mobile phone, in some embodiments, the touch panel 932 can be integrated with the display panel 942. Realize the input and output functions of the phone.
  • the handset 900 can also include at least one type of sensor 950, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 942 according to the brightness of the ambient light, and the proximity sensor may close the display panel 942 and/or when the mobile phone moves to the ear. Or backlight.
  • the motion sensor may include an acceleration sensor that can detect acceleration in various directions by the acceleration sensor Size, the magnitude and direction of gravity can be detected at rest, can be used to identify the gesture of the phone (such as horizontal and vertical screen switching), vibration recognition related functions (such as pedometer, tap), etc.; in addition, the phone can also be configured with gyroscope Other sensors such as barometers, hygrometers, thermometers, and infrared sensors.
  • Audio circuitry 960, speaker 962, and microphone 964 can provide an audio interface between the user and the handset.
  • the audio circuit 960 can transmit the converted electrical data of the received audio data to the speaker 962 for conversion to the sound signal output by the speaker 962; on the other hand, the microphone 964 converts the collected sound signal into an electrical signal by the audio circuit 960. After receiving, it is converted into audio data, and after being processed by the audio data output processor 980, it can be sent to another mobile phone via the RF circuit 910, or the audio data can be output to the memory 920 for subsequent processing.
  • WiFi is a short-range wireless transmission technology
  • the mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 970, which provides users with wireless broadband Internet access.
  • the processor 980 is the control center of the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 920, and invoking data stored in the memory 920, executing The phone's various functions and processing data, so that the overall monitoring of the phone.
  • processor 980 can include one or more processing units.
  • the processor 980 can integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, a user interface, an application, and the like; the modem processor primarily processes wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 980.
  • the mobile phone 900 also includes a power source 990 (such as a battery) for powering various components.
  • a power source 990 such as a battery
  • the power source 990 can be logically coupled to the processor 980 through a power management system to manage functions such as charging, discharging, and power management through the power management system. .
  • the handset 900 can also include a camera, a Bluetooth module, and the like.
  • the processor 980 included in the mobile terminal implements the above information processing method when executing computer executable instructions stored in the memory.
  • the mobile terminal can include a memory 920 and a processor 980 having stored therein computer executable instructions that, when executed by the processor 980, cause the processor to perform the following steps:
  • a time is randomly selected as the alarm time
  • one or more non-volatile readable storage media storing computer-executable instructions are provided, when executed by one or more processors, causing one or more processors to execute The above information processing method is implemented.
  • a computer program product comprising a computer program, when executed on a computer device, causes the computer device to perform the information processing method described above when executed.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or the like.
  • Non-volatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM), which acts as an external cache.
  • RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDR SDRAM dual data rate SDRAM
  • ESDRAM enhanced SDRAM
  • Link (Synchlink) DRAM (SLDRAM) Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamics RAM (RDRAM).

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

An information processing method comprises: obtaining a preset start time point and a preset end time point; in a time period between the start time point and the end time point, randomly selecting a time point as an alarm clock time point; and when a clock time point of the mobile terminal reaches the alarm clock time point, carrying out alarm clock wake-up.

Description

信息处理方法、装置、移动终端及非易失性可读存储介质Information processing method, device, mobile terminal and non-volatile readable storage medium 技术领域Technical field
本申请涉及计算机技术领域,特别是涉及一种信息处理方法、装置、移动终端及非易失性可读存储介质。The present application relates to the field of computer technologies, and in particular, to an information processing method, apparatus, mobile terminal, and non-volatile readable storage medium.
背景技术Background technique
用户在日常生活经常使用闹钟,通常的移动终端中提供有闹钟功能,当到达用户预先设定的时刻时,移动终端可发出音响信号或其他信号等进行闹钟提醒,提醒用户已经到达预先设定的时间。The user often uses an alarm clock in daily life. The usual mobile terminal provides an alarm clock function. When the user presets the time, the mobile terminal can send an audible signal or other signal to remind the user that the user has reached the preset time. time.
发明内容Summary of the invention
根据本申请的各种实施例,提供一种信息处理方法、装置、移动终端及非易失性可读存储介质。According to various embodiments of the present application, an information processing method, apparatus, mobile terminal, and non-volatile readable storage medium are provided.
一种信息处理方法,包括:An information processing method includes:
获取预设的起始时刻及结束时刻;Obtain a preset start time and end time;
在所述起始时刻与所述结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻;In a time period between the start time and the end time, a time is randomly selected as an alarm time;
当移动终端的时钟时刻到达所述闹钟时刻时,进行闹钟提醒。When the clock moment of the mobile terminal reaches the alarm time, an alarm is given.
一种信息处理装置,包括:An information processing apparatus comprising:
时刻获取模块,用于获取预设的起始时刻及结束时刻;a time acquisition module, configured to acquire a preset start time and an end time;
选取模块,用于在所述起始时刻与所述结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻;a selection module, configured to randomly select a time as an alarm time in a time period between the start time and the end time;
提醒模块,用于当移动终端的时钟时刻到达所述闹钟时刻时,进行闹钟提醒。 The reminding module is configured to perform an alarm reminder when the clock moment of the mobile terminal reaches the alarm time.
一种移动终端,包括存储器及处理器,所述存储器中储存有计算机可执行指令,所述计算机可执行指令被所述处理器执行时,使得所述处理器执行时实现如上所述的方法。A mobile terminal comprising a memory and a processor, the memory storing computer executable instructions, the computer executable instructions being executed by the processor such that when executed by the processor, the method as described above is implemented.
一个或多个存储有计算机可执行指令的非易失性可读存储介质,所述计算机可执行指令被一个或多个处理器执行时,使得所述一个或多个处理器执行时实现如上所述的方法。One or more non-volatile readable storage media storing computer-executable instructions that, when executed by one or more processors, cause the one or more processors to be implemented as described above The method described.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。Details of one or more embodiments of the present application are set forth in the accompanying drawings and description below. Other features, objects, and advantages of the invention will be apparent from the description and appended claims.
附图说明DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings to be used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present application, and other drawings can be obtained according to the drawings without any creative work for those skilled in the art.
图1为一个实施例中信息处理方法的应用场景图;1 is an application scenario diagram of an information processing method in an embodiment;
图2为一个实施例中移动终端的框图;2 is a block diagram of a mobile terminal in an embodiment;
图3为一个实施例中信息处理方法的流程图;3 is a flow chart of an information processing method in an embodiment;
图4为一个实施例中随机选取闹钟时刻的流程图;4 is a flow chart of randomly selecting an alarm time in an embodiment;
图5为一个实施例中获取随机数的流程图;Figure 5 is a flow chart for obtaining a random number in one embodiment;
图6为一个实施例中选取新的闹钟时刻的流程图;6 is a flow chart of selecting a new alarm time in an embodiment;
图7为一个实施例中信息处理装置的框图;Figure 7 is a block diagram of an information processing apparatus in an embodiment;
图8为一个实施例中选取模块的框图;Figure 8 is a block diagram of a module selected in an embodiment;
图9为另一个实施例中移动终端的框图。9 is a block diagram of a mobile terminal in another embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施 例仅用以解释本申请,并不用于限定本申请。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific implementation described herein The examples are only used to explain the present application and are not intended to limit the application.
图1为一个实施例中信息处理方法的应用场景图。如图1所示,移动终端10提供闹钟提醒功能,用户可在移动终端10上设置起始时刻及结束时刻。移动终端10可获取预设的起始时刻及结束时刻。移动终端10可在起始时刻与结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻,并当移动终端10的时钟时刻到达该选取的闹钟时刻时,进行闹钟提醒。FIG. 1 is an application scenario diagram of an information processing method in an embodiment. As shown in FIG. 1, the mobile terminal 10 provides an alarm reminder function, and the user can set a start time and an end time on the mobile terminal 10. The mobile terminal 10 can acquire a preset start time and end time. The mobile terminal 10 may randomly select a time as an alarm time in a time period between the start time and the end time, and perform an alarm reminder when the clock time of the mobile terminal 10 reaches the selected alarm time.
图2为一个实施例中移动终端的框图。如图2所示,该移动终端包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,存储器可包括非易失性存储介质及处理器。移动终端的非易失性存储介质存储有操作系统及计算机可执行指令,该计算机可执行指令被处理器执行时以实现本申请实施例中提供的一种信息处理方法。该处理器用于提供计算和控制能力,支撑整个移动终端的运行。移动终端中的内存储器为非易失性存储介质中的计算机可读指令的运行提供环境。网络接口用于与服务器进行网络通信。移动终端的显示屏可以是液晶显示屏或者电子墨水显示屏等,输入装置可以是显示屏上覆盖的触摸层,也可以是移动终端外壳上设置的按键、轨迹球或触控板,也可以是外接的键盘、触控板或鼠标等。该移动终端可以是手机、平板电脑或者个人数字助理或穿戴式设备等。本领域技术人员可以理解,图2中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的移动终端的限定,具体的移动终端可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。2 is a block diagram of a mobile terminal in one embodiment. As shown in FIG. 2, the mobile terminal includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. The memory may include a non-volatile storage medium and a processor. The non-volatile storage medium of the mobile terminal stores an operating system and computer-executable instructions, which are executed by the processor to implement an information processing method provided in the embodiments of the present application. The processor is used to provide computing and control capabilities to support the operation of the entire mobile terminal. The internal memory in the mobile terminal provides an environment for the operation of computer readable instructions in a non-volatile storage medium. The network interface is used for network communication with the server. The display screen of the mobile terminal may be a liquid crystal display or an electronic ink display screen. The input device may be a touch layer covered on the display screen, or may be a button, a trackball or a touchpad provided on the casing of the mobile terminal, or may be An external keyboard, trackpad, or mouse. The mobile terminal can be a mobile phone, a tablet or a personal digital assistant or a wearable device. A person skilled in the art can understand that the structure shown in FIG. 2 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the mobile terminal to which the solution of the present application is applied. The specific mobile terminal may It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
如图3所示,在一个实施例中,提供一种信息处理方法,包括以下步骤:As shown in FIG. 3, in an embodiment, an information processing method is provided, including the following steps:
步骤310,获取预设的起始时刻及结束时刻。Step 310: Acquire a preset start time and end time.
用户可预先在移动终端上设置闹钟的起始时刻及结束时刻,该起始时刻及结束时刻可用于限定移动终端随机进行闹钟提醒的时间区间,在起始时刻与结束时刻之间的时间段中的任意一个时刻均有可能进行闹钟提醒。在一个 实施例中,用户在移动终端上设置闹钟的起始时刻及结束时刻,移动终端可根据设置的起始时刻及结束时刻建立闹钟任务,并将闹钟任务注册到操作系统中。The user can preset the start time and the end time of the alarm on the mobile terminal, and the start time and the end time can be used to limit the time interval in which the mobile terminal randomly performs the alarm reminder, in the time period between the start time and the end time. Alarm alarms are possible at any time. in a In an embodiment, the user sets the start time and the end time of the alarm on the mobile terminal, and the mobile terminal can establish an alarm task according to the set start time and end time, and register the alarm task into the operating system.
步骤320,在起始时刻与结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻。Step 320: randomly select a time as an alarm time in a time period between the start time and the end time.
移动终端可获取预设的起始时刻及结束时刻,并在该预设的起始时刻与结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻。在一个实施例中,移动终端可获取起始时刻与结束时刻之间包含的所有时刻,并生成包含的所有时刻的集合,再在该集合中随机选取一个时刻作为闹钟时刻。例如,预设的起始时刻为7:00,结束时刻为同一天的7:20,则可以分为单位,获取7:00至同一天的7:20包含的所有时刻,并生成包含的所有时刻的集合,该集合中可包含有“7:00、7:01、7:02、7:03、7:04......7:20”等处于7:00至同一天的7:20之间的所有时刻。移动终端可从该集合中随机选取一个时刻作为闹钟时刻。The mobile terminal may acquire a preset start time and an end time, and randomly select a time as an alarm time in a time period between the preset start time and the end time. In an embodiment, the mobile terminal may acquire all the moments included between the start time and the end time, and generate a set of all the moments included, and then randomly select a moment in the set as the alarm time. For example, if the preset starting time is 7:00 and the ending time is 7:20 of the same day, you can divide it into units, get all the time contained in 7:00 to 7:20 of the same day, and generate all the included A collection of moments, which can include 7:00, 7:01, 7:02, 7:03, 7:04...7:20, etc. 7:00 to the same day : All the time between 20. The mobile terminal can randomly select a time from the set as an alarm time.
在一个实施例中,移动终端随机选取闹钟时刻后,可在该闹钟时刻设置闹钟提醒,并当移动终端的时钟时刻到达该闹钟时刻时,进行闹钟提醒。移动终端可通过建立的闹钟任务,每隔预设时间段检测移动终端内部的时钟时刻是否到达闹钟时刻,其中,预设时间段可以是60毫秒、30毫秒等较短的时间段,从而保证时刻的准确性。In an embodiment, after the mobile terminal randomly selects the alarm time, the alarm alarm may be set at the alarm time, and when the clock moment of the mobile terminal reaches the alarm time, the alarm is performed. The mobile terminal can detect whether the clock time inside the mobile terminal reaches the alarm time every preset time period, and the preset time period can be a short time period of 60 milliseconds, 30 milliseconds, etc., thereby ensuring the time. The accuracy.
在一个实施例中,可在移动终端的时钟时刻到达预设的起始时刻时,移动终端在起始时刻与结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻。移动终端也可在其他时刻选取闹钟时刻,例如在用户设置起始时刻及结束时刻后,选取闹钟时刻等。In an embodiment, when the clock moment of the mobile terminal reaches the preset starting time, the mobile terminal randomly selects a time as the alarm time in the time period between the starting time and the ending time. The mobile terminal can also select the alarm time at other times, for example, after the user sets the start time and the end time, select the alarm time and the like.
步骤330,当移动终端的时钟时刻到达闹钟时刻时,进行闹钟提醒。Step 330: When the clock moment of the mobile terminal reaches the alarm time, the alarm is performed.
当移动终端的时钟时刻到达随机选取的闹钟时刻时,移动终端可按照设置的提醒方式进行闹钟提醒。进行闹钟提醒的提醒方式可包括但不限于播放铃声、震动等方式,提醒方式可以是用户提前进行设置的,也可以是由移动 终端随机选取的提醒方式。在一个实施例中,移动终端可提前设置有多种不同的提醒方式,例如播放不同的铃声等,当需要进行闹钟提醒时,移动终端可随机选取一种提醒方式进行闹钟提醒。当移动终端的时钟时刻到达随机选取的闹钟时刻时,闹钟任务可发送广播,通过广播调用选择的提醒方式对应的执行方法,则移动终端可按照选择的提醒方式进行闹钟提醒。When the clock moment of the mobile terminal reaches the randomly selected alarm time, the mobile terminal can perform the alarm reminder according to the set reminding manner. The reminding manner for the alarm of the alarm clock may include, but is not limited to, playing a ringing tone, vibrating, etc., and the reminding manner may be set by the user in advance, or may be moved by The reminder method that the terminal randomly selects. In an embodiment, the mobile terminal may set a plurality of different reminding manners in advance, for example, playing different ringtones. When the alarm is required, the mobile terminal may randomly select a reminding manner to perform an alarm reminder. When the clock moment of the mobile terminal reaches the randomly selected alarm time, the alarm task can send a broadcast, and the execution method corresponding to the selected reminding mode is called by the broadcast, and the mobile terminal can perform the alarm reminder according to the selected reminding manner.
在本实施例中,可在预设的起始时刻与结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻,当移动终端的时钟时刻到达闹钟时刻时,进行闹钟提醒,可避免长时间在同一时刻进行闹钟提醒,且操作简便快捷。In this embodiment, a time is randomly selected as the alarm time in the time period between the preset start time and the end time. When the clock time of the mobile terminal reaches the alarm time, the alarm is alarmed to avoid long Time reminds the alarm at the same time, and the operation is simple and quick.
如图4所示,在一个实施例中,步骤320在起始时刻与结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻,包括步骤402~408:As shown in FIG. 4, in an embodiment, step 320 randomly selects a time as an alarm time in a time period between a start time and an end time, and includes steps 402-408:
步骤402,计算起始时刻与结束时刻的时间差。Step 402: Calculate the time difference between the start time and the end time.
移动终端获取预设的起始时刻及结束时刻,可在预设的起始时刻与结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻。移动终端可计算预设的起始时刻与结束时刻的时间差,其中,时间差指的是结束时刻与起始时刻之间的时间差距。例如,预设的起始时刻为7:00,结束时刻为同一天的7:20,则起始时刻与结束时刻的时间差为20分钟。The mobile terminal acquires a preset start time and an end time, and randomly selects a time as an alarm time in a time period between the preset start time and the end time. The mobile terminal can calculate a time difference between the preset start time and the end time, wherein the time difference refers to a time difference between the end time and the start time. For example, the preset starting time is 7:00, and the ending time is 7:20 of the same day, then the time difference between the starting time and the ending time is 20 minutes.
步骤404,获取随机数。In step 404, a random number is obtained.
移动终端可获取随机数,该随时数可用于在起始时刻与结束时刻之间的时间段中随机选取一个时刻作为闹钟时刻。在本实施例中,移动终端可从0至1之间随机获取随机数,该随机数可以是大于或等于0,且小于或等于1的小数,可设定随机数的位数,比如设定随机数为1位小数,则该随机数可以是0至1之间的0.0、0.1、0.2、0.3、0.4......等任意小数。可以理解地,随机数并不仅限于1位小数,也可以是2位或3位小数等,可根据需求进行设定。The mobile terminal can obtain a random number, and the time limit can be used to randomly select a time in the time period between the start time and the end time as the alarm time. In this embodiment, the mobile terminal may randomly acquire a random number from 0 to 1, and the random number may be a decimal number greater than or equal to 0 and less than or equal to 1, and the number of digits of the random number may be set, such as setting When the random number is 1 decimal place, the random number may be any decimal number such as 0.0, 0.1, 0.2, 0.3, 0.4, etc. between 0 and 1. It can be understood that the random number is not limited to one decimal place, and may be two or three decimal places, etc., and can be set according to requirements.
可选地,如图5所示,步骤404获取随机数,可包括步骤502及步骤504:Optionally, as shown in FIG. 5, step 404 obtains a random number, which may include step 502 and step 504:
步骤502,获取预先划分的0至1之间的随机数区间,以及与各个随机数区间对应的随机权重。 Step 502: Acquire a pre-divided random number interval between 0 and 1, and a random weight corresponding to each random number interval.
移动终端可预先将0至1之间可能产生的随机数划分为多个随机数区间,每个随机数区间用于表示随机数对应的数值范围,比如,可将0至1之间可能产生的随机数划分为2个随机数区间,可包括[0,0.5]及[0.6,1]等,也可以划分为其他随机数区间,并不限于此。每个随机数区间可设定有对应的随机权重,该随机权重可用于表示随机数落入对应的随机数区间的概率,例如,移动终端将0至1之间可能产生的随机数划分为2个随机数区间,分别为[0,0.5]及[0.6,1],其中,[0,0.5]对应的权重为0.7,[0.6,1]对应的权重为0.3,则表示选取的随机数有70%的概率落入随机数区间[0,0.5]中,有30%的概率落入随机数区间[0.6,1]。The mobile terminal may divide the random number that may be generated between 0 and 1 into multiple random number intervals, and each random number interval is used to represent a numerical range corresponding to the random number, for example, may be generated between 0 and 1. The random number is divided into two random number intervals, which may include [0, 0.5], [0.6, 1], etc., and may also be divided into other random number intervals, and is not limited thereto. Each random number interval may be set with a corresponding random weight, and the random weight may be used to indicate a probability that the random number falls within the corresponding random number interval. For example, the mobile terminal divides the random number that may be generated between 0 and 1 into 2 The random number intervals are [0, 0.5] and [0.6, 1], where [0, 0.5] corresponds to a weight of 0.7, and [0.6, 1] corresponds to a weight of 0.3, indicating that the selected random number has The 70% probability falls into the random number interval [0, 0.5], and a 30% probability falls into the random number interval [0.6, 1].
可选地,随机数区间的划分及每个随机数区间对应的随机权重可由用户根据自身需求进行设置,用户可以通过划分随机数区间并设置随机数区间对应的随机权重倾向选择进行闹钟提醒的时间早晚,比如用户倾向于早点进行闹钟响铃,则可在随机数较小的随机数区间中,设置较大的随机权重,则移动终端在起始时刻与结束时刻之间的时间段中,有较大的概率随机选取到较早的时刻作为闹钟时刻。Optionally, the division of the random number interval and the random weight corresponding to each random number interval may be set by the user according to the user's needs, and the user may select the time for the alarm to be alarmed by dividing the random number interval and setting the random weight corresponding to the random number interval. In the morning and evening, for example, if the user tends to ring the alarm early, the larger random weight can be set in the random number interval with a smaller random number, and the mobile terminal has a time period between the start time and the end time. Larger probability is randomly selected to the earlier time as the alarm time.
步骤504。根据随机权重在0至1之间随机选取随机数。 Step 504. A random number is randomly selected between 0 and 1 according to the random weight.
移动终端可根据划分的随机数区间及各个随机数区间对应的随机权重,在0至1之间随机选取随机数。在一个实施例中,移动终端可建立数组,并在数组中放入每个随机数区间包含的数值,可根据随机数区间对应的随机权重在数组中放入相应比例数量的数值,并在数组中随机选取一个数值作为随机数。The mobile terminal may randomly select a random number between 0 and 1 according to the divided random number interval and the random weight corresponding to each random number interval. In one embodiment, the mobile terminal can create an array and put the value contained in each random number interval in the array, and put a corresponding proportional number of values in the array according to the random weight corresponding to the random number interval, and in the array Randomly select a value as a random number.
例如,移动终端将0至1之间可能产生的随机数划分为2个随机数区间,分别为[0,0.5]及[0.6,1],其中,[0,0.5]对应的权重为0.7,[0.6,1]对应的权重为0.3,则移动终端可建立数组,并在数组中放入7个0、7个0.1、7个0.2、7个0.3、7个0.4及7个0.5,同时放入3个0.6、3个0.7、3个0.8、3个0.9及3个1,使每个随机数区间在数组中放入的数值的数量是与对应的随机权重成比例的,从而满足选取的随机数有70%的概率落入随机数区间[0, 0.5]中,有30%的概率落入随机数区间[0.6,1]的条件。移动终端可在该数组中随机选取一个数值作为随机数。根据随机权重选取随机数,可帮助用户设定倾向性的随机闹钟提醒在起始时刻与结束时刻之间的时间段部分,贴合用户需求,且操作简便快捷。For example, the mobile terminal divides the random number that may be generated between 0 and 1 into two random number intervals, which are [0, 0.5] and [0.6, 1], respectively, where [0, 0.5] corresponds to a weight of 0.7. [0.6,1] corresponds to a weight of 0.3, the mobile terminal can create an array, and put 7 0, 7 0.1, 7 0.2, 7 0.3, 7 0.4 and 7 0.5 in the array, while placing Enter 3 0.6, 3 0.7, 3 0.8, 3 0.9 and 3 1 so that the number of values placed in the array for each random number interval is proportional to the corresponding random weight, thus satisfying the selected The random number has a 70% probability of falling into the random number interval [0, In 0.5], there is a 30% probability that the condition falls within the random number interval [0.6, 1]. The mobile terminal can randomly select a value in the array as a random number. The random number is selected according to the random weight, which can help the user to set the time segment of the random alarm reminder between the start time and the end time to fit the user's needs, and the operation is simple and quick.
步骤406,将时间差乘以随机数,得到随机时间点。In step 406, the time difference is multiplied by the random number to obtain a random time point.
步骤408,将随机时间点加上起始时刻,得到闹钟时刻。In step 408, the random time point is added to the starting time to obtain an alarm time.
移动终端获取0至1之间的随机数后,可根据起始时刻至结束时刻的时间差及该随机数确定闹钟时刻。在一个实施例中,移动终端可将起始时刻至结束时刻的时间差乘以随机数,得到随机时间点,该随机时间点可用于表示随机选取的时刻与起始时刻的时间差距。例如,起始时刻至结束时刻的时间差为20分钟,随机数为0.5,则可将时间差乘以随机数得到随机时间点10分钟。移动终端可将得到的随机时间点加上起始时刻,则可得到随机选取的时刻,并可将该时刻作为闹钟时刻。比如,计算得到的随机时间点为10分钟,起始时刻为7:00,则可得到闹钟时刻为7:10分。After the mobile terminal acquires a random number between 0 and 1, the alarm time may be determined according to the time difference from the start time to the end time and the random number. In an embodiment, the mobile terminal may multiply the time difference from the start time to the end time by a random number to obtain a random time point, and the random time point may be used to indicate a time difference between the randomly selected time and the start time. For example, the time difference from the start time to the end time is 20 minutes, and the random number is 0.5, then the time difference can be multiplied by the random number to obtain a random time point of 10 minutes. The mobile terminal can add the obtained random time point to the starting time, and then obtain a randomly selected time, and can use the time as the alarm time. For example, the calculated random time point is 10 minutes, and the starting time is 7:00, then the alarm time is 7:10.
步骤410,在闹钟时刻设置闹钟提醒。In step 410, an alarm reminder is set at the time of the alarm.
移动终端可在闹钟时刻设置闹钟提醒,可设置闹钟提醒的提醒方式,比如播放铃声、震动等方式,其中,提醒方式可以是用户提前进行设置的,也可以是由移动终端随机选取的提醒方式。The mobile terminal can set an alarm reminder at the time of the alarm, and can set a reminder manner of the alarm reminder, such as playing a ringtone, vibrating, etc., wherein the reminding manner can be set by the user in advance, or can be a reminding manner randomly selected by the mobile terminal.
在一个实施例中,移动终端在闹钟时刻设置闹钟提醒之前,可先判断该闹钟时刻是否已设置有闹钟提醒,比如该随机选取的闹钟时刻刚好与用户预先设置的其他闹钟提醒的时刻相同等。若该闹钟时刻已设置有闹钟提醒,则移动终端可重新在起始时刻与结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻。移动终端可重新获取随机数,并将重新获取的随机数与上一次获取的随机数进行比较,若重新获取的随机数与上一次获取的随机数不同,则可根据重新获取的随机数及起始时刻至结束时刻的时间差确定闹钟时刻。若重新获取的随机数与上一次获取的随机数相同,移动终端可丢弃该重新获取的随机数,并再次获取随机数,直至获取的随机数与上一次获取的随机数 不同。In one embodiment, the mobile terminal may first determine whether an alarm alarm has been set at the alarm time before the alarm is set. For example, the randomly selected alarm time is just the same as the other alarm alarms preset by the user. If the alarm reminder has been set at the alarm time, the mobile terminal may randomly select a time as the alarm time in the time period between the start time and the end time. The mobile terminal may reacquire the random number, and compare the re-acquired random number with the last acquired random number. If the re-acquired random number is different from the last acquired random number, the re-acquisition random number may be used. The time difference from the start time to the end time determines the alarm time. If the re-acquired random number is the same as the last acquired random number, the mobile terminal may discard the re-acquired random number and obtain the random number again until the acquired random number and the last acquired random number. different.
在本实施例中,可在预设的起始时刻与结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻,可避免长时间在同一时刻进行闹钟提醒,且操作简便快捷。In this embodiment, a time is randomly selected as the alarm time in the time period between the preset start time and the end time, so that the alarm alarm can be avoided at the same time for a long time, and the operation is simple and quick.
如图6所示,在一个实施例中,上述信息处理方法,包括以下步骤:As shown in FIG. 6, in an embodiment, the foregoing information processing method includes the following steps:
步骤602,检测是否接收到预设手势操作,若是,则执行步骤608,若否,则执行步骤604。Step 602: It is detected whether a preset gesture operation is received, and if yes, step 608 is performed, and if no, step 604 is performed.
移动终端可预先设置有关闭闹钟提醒的手势操作,该手势操作可包括但不限于触发关闭闹钟提醒按钮、按照预设轨迹在屏幕上进行划动等,关闭闹钟提醒的手势操作可根据实际需求进行设置。移动终端在随机选取的闹钟时刻进行闹钟提醒后,可检测是否接收到预设手势操作,若接收到预设手势操作,移动终端可关闭闹钟提醒,不再进行闹钟提醒。The mobile terminal may be preset with a gesture operation of turning off the alarm of the alarm. The gesture operation may include, but is not limited to, triggering the alarm button to be turned off, and swiping on the screen according to the preset trajectory. The gesture operation of turning off the alarm may be performed according to actual needs. Settings. After the mobile terminal reminds the alarm clock at the randomly selected alarm time, it can detect whether the preset gesture operation is received. If the preset gesture operation is received, the mobile terminal can turn off the alarm alarm and no longer alarm the alarm.
步骤604,在闹钟时刻与结束时刻之间的时间段中,随机选取一个时刻作为新的闹钟时刻。Step 604: randomly select a time as a new alarm time in the time period between the alarm time and the end time.
若移动终端没有接收到关闭闹钟提醒的预设手势操作,则可在结束本次闹钟提醒后,选取新的闹钟时刻进行闹钟提醒。移动终端可在原有的闹钟时刻与预设的结束时刻之间的时间段中,随机选取一个时刻作为新的闹钟时刻。If the mobile terminal does not receive the preset gesture operation of turning off the alarm reminder, after the end of the alarm reminder, the new alarm time is selected to perform the alarm reminder. The mobile terminal may randomly select a time as a new alarm time in a time period between the original alarm time and the preset end time.
在一个实施例中,移动终端可设置有闹钟提醒的持续时间段,并在该持续时间段中检测是否接收到预设手势操作。若在闹钟提醒的持续时间段没有接收到预设手势操作,则可在闹钟提醒结束时刻与预设的结束时刻之间的时间段中,随机选取一个时刻作为新的闹钟时刻。例如,闹钟时刻为7:10,当移动终端的时钟时刻到达7:10时进行闹钟提醒,闹钟提醒可持续1分钟,若在闹钟提醒的1分钟内没有接收到预设手势操作,则可在闹钟提醒结束的时刻7:11至预设的结束时刻7:20之间,重新随机选取一个时刻作为新的闹钟时刻。In one embodiment, the mobile terminal may be provided with a duration period of an alarm reminder and detect whether a preset gesture operation is received during the duration period. If the preset gesture operation is not received during the duration of the alarm reminder, a time may be randomly selected as the new alarm time in the time period between the alarm reminder end time and the preset end time. For example, the alarm time is 7:10. When the clock time of the mobile terminal reaches 7:10, the alarm is given, and the alarm reminds for 1 minute. If the preset gesture operation is not received within 1 minute of the alarm reminder, The alarm reminder ends between 7:11 and the preset end time between 7:20, and a random time is selected as the new alarm time.
步骤606,在移动终端的时钟时刻到达新的闹钟时刻时,进行闹钟提醒。Step 606: When the time of the mobile terminal reaches the new alarm time, the alarm is given.
当移动终端的时钟时刻到达选取的新的闹钟时刻时,移动终端可按照预 设的提醒方式进行闹钟提醒,并可重复执行步骤602~步骤606,直至接收到关闭闹钟提醒的预设手势操作。When the clock moment of the mobile terminal reaches the selected new alarm time, the mobile terminal can follow the pre- The reminder mode is set to perform an alarm reminder, and steps 602 to 606 may be repeatedly executed until a preset gesture operation of turning off the alarm reminder is received.
步骤608,关闭闹钟提醒。In step 608, the alarm reminder is turned off.
可以理解地,检测是否关闭闹钟提醒并不仅限于上述的预设手势操作的方式,还可以是其他方式。比如,移动终端可检测是否接收到关闭闹钟提醒的语音指令,或是移动终端可采集用户的生理参数,根据生理参数判断用户是否处于清醒状态,若用户处于清醒状态,则可关闭闹钟提醒,若用户处于睡眠状诚,则可重新随机选取新的闹钟时刻进行闹钟提醒等。It can be understood that detecting whether to turn off the alarm reminder is not limited to the manner of the preset gesture operation described above, and may be other methods. For example, the mobile terminal can detect whether a voice command to close the alarm reminder is received, or the mobile terminal can collect the physiological parameter of the user, determine whether the user is in the awake state according to the physiological parameter, and if the user is in the awake state, the alarm can be turned off. If the user is in a sleepy state, he or she can re-randomly select a new alarm clock to remind the alarm.
在本实施例中,若没有接收到关闭闹钟提醒的预设手势操作,可重新随机选取新的闹钟时刻进行闹钟提醒,可避免长时间在同一时刻进行闹钟提醒,并自动多次进行闹钟提醒,贴合用户需求且操作简便快捷。In this embodiment, if the preset gesture operation of turning off the alarm reminder is not received, the new alarm time can be re-randomly selected to perform the alarm alarm, which can avoid alarming the alarm at the same time for a long time, and automatically alarming the alarm repeatedly. It fits the user's needs and is easy and quick to operate.
在一个实施例中,在步骤310获取预设的起始时刻及结束时刻之后,可包括:获取闹钟模式,当闹钟模式为随机闹钟模式时,则在起始时刻与预设的结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻;若闹钟模式为正常模式,则当移动终端的时钟时刻到达起始时刻或结束时刻时,进行闹钟提醒。In an embodiment, after acquiring the preset start time and end time in step 310, the method may include: acquiring an alarm mode, and when the alarm mode is a random alarm mode, between the start time and the preset end time. During the time period, a time is randomly selected as the alarm time; if the alarm mode is the normal mode, the alarm is given when the clock time of the mobile terminal reaches the start time or the end time.
移动终端获取预设的起始时刻及结束时刻后,可获取闹钟模式,在本实施例中,闹钟模式可包括随机闹钟模式及正常模式等,其中,随机闹钟模式指的是在预设的时间范围内随机选取一个时刻进行闹钟提醒的模式,正常模式指的是在用户设定的时刻进行闹钟提醒。用户可根据实际需求提前选取闹钟模式。After the mobile terminal obtains the preset start time and the end time, the alarm clock mode can be obtained. In this embodiment, the alarm mode can include a random alarm mode and a normal mode, wherein the random alarm mode refers to the preset time. A mode in which an alarm is given at a time is randomly selected within the range, and the normal mode refers to an alarm reminder at a time set by the user. The user can select the alarm mode in advance according to actual needs.
移动终端获取闹钟模式,若闹钟模式为随机闹钟模式,可在起始时刻与预设的结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻,并当移动终端的时钟时刻到达该选取的闹钟时刻时,可按照预设的提醒方式进行闹钟提醒。若闹钟模式为正常模式,当移动终端的时钟时刻到达起始时刻或结束时刻时,移动终端可直接按照预设的提醒方式进行闹钟提醒。The mobile terminal acquires an alarm mode. If the alarm mode is a random alarm mode, a time may be randomly selected as the alarm time in the time period between the start time and the preset end time, and the time is reached when the clock time of the mobile terminal arrives. When the alarm clock is at a time, the alarm can be reminded according to the preset reminder mode. If the alarm mode is the normal mode, when the clock moment of the mobile terminal reaches the start time or the end time, the mobile terminal can directly perform the alarm reminder according to the preset reminding manner.
在本实施例中,用户可根据实际需求选择不同的闹钟模式,贴近用户需 求,且操作简便快捷。In this embodiment, the user can select different alarm modes according to actual needs, and the user needs to be close to the user. Seek, and the operation is simple and fast.
在一个实施例中,提供一种信息处理方法,包括以下步骤:In one embodiment, an information processing method is provided, including the following steps:
步骤(1),获取预设的起始时刻及结束时刻。In step (1), the preset start time and end time are obtained.
步骤(2),在起始时刻与结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻。In step (2), in the time period between the start time and the end time, one time is randomly selected as the alarm time.
可选地,步骤(2),包括:计算起始时刻与结束时刻的时间差;获取随机数,随机数大于或等于0,且小于或等于1;将时间差乘以随机数,得到随机时间点;将随机时间点加上起始时刻,得到闹钟时刻;在闹钟时刻设置闹钟提醒。Optionally, the step (2) includes: calculating a time difference between the start time and the end time; acquiring a random number, the random number is greater than or equal to 0, and less than or equal to 1; multiplying the time difference by the random number to obtain a random time point; Add the random time point to the starting time to get the alarm time; set the alarm reminder at the alarm time.
可选地,获取随机数,包括:获取预先划分的0至1之间的随机数区间,以及与各个随机数区间对应的随机权重;根据随机权重在0至1之间随机选取随机数。Optionally, acquiring the random number includes: acquiring a pre-divided random number interval between 0 and 1, and a random weight corresponding to each random number interval; and randomly selecting the random number between 0 and 1 according to the random weight.
可选地,在根据时间差与随机数确定闹钟时刻之后,还包括:判断闹钟时刻是否已设置有闹钟提醒,若已设置有闹钟提醒,则重新在起始时刻与结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻。Optionally, after determining the alarm time according to the time difference and the random number, the method further includes: determining whether the alarm time has been set with an alarm reminder, and if the alarm reminder is set, re-in the time period between the start time and the end time , randomly select a moment as the alarm time.
步骤(3),当移动终端的时钟时刻到达闹钟时刻时,进行闹钟提醒。In step (3), when the clock moment of the mobile terminal reaches the alarm time, the alarm is given.
步骤(4),检测是否接收到预设手势操作,预设手势操作用于关闭闹钟提醒,若没有接收到预设手势操作,则在闹钟时刻与结束时刻之间的时间段中,随机选取一个时刻作为新的闹钟时刻,在移动终端的时钟时刻到达新的闹钟时刻时,进行闹钟提醒。Step (4), detecting whether a preset gesture operation is received, the preset gesture operation is used to turn off the alarm alarm, and if the preset gesture operation is not received, randomly selecting one in the time period between the alarm time and the end time As a new alarm time, the alarm is given when the new alarm time arrives at the clock moment of the mobile terminal.
可选地,在步骤(1)之后,还包括:获取闹钟模式;当闹钟模式为随机闹钟模式时,则在起始时刻与预设的结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻;若闹钟模式为正常模式,则当移动终端的时钟时刻到达起始时刻或结束时刻时,进行闹钟提醒。Optionally, after step (1), the method further includes: acquiring an alarm clock mode; when the alarm mode is a random alarm mode, randomly selecting a time in a time period between the start time and the preset end time The alarm time; if the alarm mode is the normal mode, the alarm is given when the clock time of the mobile terminal reaches the start time or the end time.
在本实施例中,可在预设的起始时刻与结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻,当移动终端的时钟时刻到达闹钟时刻时,进行闹钟提醒,可避免长时间在同一时刻进行闹钟提醒,且操作简便快捷。 In this embodiment, a time is randomly selected as the alarm time in the time period between the preset start time and the end time. When the clock time of the mobile terminal reaches the alarm time, the alarm is alarmed to avoid long Time reminds the alarm at the same time, and the operation is simple and quick.
如图7所示,在一个实施例中,提供一种信息处理装置700,包括时刻获取模块710、选取模块720及提醒模块730。As shown in FIG. 7, in an embodiment, an information processing apparatus 700 is provided, including a time acquisition module 710, a selection module 720, and a reminder module 730.
时刻获取模块710,用于获取预设的起始时刻及结束时刻。The time acquisition module 710 is configured to acquire a preset start time and an end time.
选取模块720,用于在起始时刻与结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻。The selecting module 720 is configured to randomly select a time as an alarm time in a time period between the start time and the end time.
提醒模块730,用于当移动终端的时钟时刻到达闹钟时刻时,进行闹钟提醒。The reminding module 730 is configured to perform an alarm reminder when the clock moment of the mobile terminal reaches the alarm time.
在本实施例中,可在预设的起始时刻与结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻,当移动终端的时钟时刻到达闹钟时刻时,进行闹钟提醒,可避免长时间在同一时刻进行闹钟提醒,且操作简便快捷。In this embodiment, a time is randomly selected as the alarm time in the time period between the preset start time and the end time. When the clock time of the mobile terminal reaches the alarm time, the alarm is alarmed to avoid long Time reminds the alarm at the same time, and the operation is simple and quick.
如图8所示,在一个实施例中,选取模块720,包括计算单元722、获取单元724、闹钟时刻确定单元726及设置单元728。As shown in FIG. 8, in an embodiment, the selection module 720 includes a calculation unit 722, an acquisition unit 724, an alarm time determination unit 726, and a setting unit 728.
计算单元722,用于计算起始时刻与结束时刻的时间差。The calculating unit 722 is configured to calculate a time difference between the start time and the end time.
获取单元724,用于获取随机数,随机数大于或等于0,且小于或等于1。The obtaining unit 724 is configured to obtain a random number, where the random number is greater than or equal to 0, and is less than or equal to 1.
可选地,获取单元724,包括权重获取子单元及选取子单元。Optionally, the obtaining unit 724 includes a weight acquiring subunit and a selecting subunit.
权重获取子单元,用于获取预先划分的0至1之间的随机数区间,以及与各个随机数区间对应的随机权重。The weight acquisition subunit is configured to obtain a pre-divided random number interval between 0 and 1, and a random weight corresponding to each random number interval.
选取子单元,用于根据随机权重在0至1之间随机选取随机数。A subunit is selected for randomly selecting a random number between 0 and 1 according to the random weight.
闹钟时刻确定单元726,用于将时间差乘以随机数,得到随机时间点;以及将随机时间点加上起始时刻,得到闹钟时刻。The alarm time determination unit 726 is configured to multiply the time difference by a random number to obtain a random time point; and add the random time point to the start time to obtain an alarm time.
设置单元728,用于在闹钟时刻设置闹钟提醒。The setting unit 728 is configured to set an alarm reminder at the time of the alarm.
在一个实施例中,选取模块720,还用于判断闹钟时刻是否已设置有闹钟提醒,若已设置有闹钟提醒,则重新在起始时刻与结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻。In an embodiment, the selection module 720 is further configured to determine whether an alarm alarm has been set at an alarm time. If an alarm reminder has been set, re-select a time in a time period between the start time and the end time. As an alarm clock moment.
在本实施例中,可在预设的起始时刻与结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻,可避免长时间在同一时刻进行闹钟提醒,且操 作简便快捷。In this embodiment, a time is randomly selected as the alarm time in the time period between the preset start time and the end time, so that the alarm alarm can be avoided at the same time for a long time, and the operation is performed. It's quick and easy.
在一个实施例中,上述信息处理装置700,包括时刻获取模块710、选取模块720及提醒模块730,还包括检测模块。In one embodiment, the information processing apparatus 700 includes a time acquisition module 710, a selection module 720, and a reminder module 730, and further includes a detection module.
检测模块,用于检测是否接收到预设手势操作,预设手势操作用于关闭闹钟提醒。The detecting module is configured to detect whether a preset gesture operation is received, and the preset gesture operation is used to turn off the alarm alarm.
选取模块720,还用于若没有接收到预设手势操作,则在闹钟时刻与结束时刻之间的时间段中,随机选取一个时刻作为新的闹钟时刻。The selection module 720 is further configured to randomly select a time as a new alarm time in a time period between an alarm time and an end time if the preset gesture operation is not received.
提醒模块730,还用于在移动终端的时钟时刻到达新的闹钟时刻时,进行闹钟提醒。The reminder module 730 is further configured to perform an alarm reminder when a new alarm time is reached at a clock moment of the mobile terminal.
在本实施例中,若没有接收到关闭闹钟提醒的预设手势操作,可重新随机选取新的闹钟时刻进行闹钟提醒,可避免长时间在同一时刻进行闹钟提醒,并自动多次进行闹钟提醒,贴合用户需求且操作简便快捷。In this embodiment, if the preset gesture operation of turning off the alarm reminder is not received, the new alarm time can be re-randomly selected to perform the alarm alarm, which can avoid alarming the alarm at the same time for a long time, and automatically alarming the alarm repeatedly. It fits the user's needs and is easy and quick to operate.
在一个实施例中,上述信息处理装置700,包括时刻获取模块710、选取模块720、提醒模块730及检测模块,还包括闹钟模式获取模块。In one embodiment, the information processing apparatus 700 includes a time acquisition module 710, a selection module 720, a reminder module 730, and a detection module, and an alarm mode acquisition module.
闹钟模式获取模块,用于获取闹钟模式。An alarm mode acquisition module for acquiring an alarm mode.
选取模块720,还用于当闹钟模式为随机闹钟模式时,则在起始时刻与预设的结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻。The selection module 720 is further configured to: when the alarm mode is the random alarm mode, randomly select a time as the alarm time in the time period between the start time and the preset end time.
提醒模块730,还用于若闹钟模式为正常模式,则当移动终端的时钟时刻到达起始时刻或结束时刻时,进行闹钟提醒。The reminding module 730 is further configured to: when the alarm mode is the normal mode, when the clock moment of the mobile terminal reaches the start time or the end time, the alarm is performed.
在本实施例中,用户可根据实际需求选择不同的闹钟模式,贴近用户需求,且操作简便快捷。In this embodiment, the user can select different alarm modes according to actual needs, and is close to the user's needs, and the operation is simple and quick.
本申请实施例还提供了一种移动终端。如图9所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该移动终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、穿戴式设备等任意终端设备,以移动终端为手机为例: The embodiment of the present application further provides a mobile terminal. As shown in FIG. 9 , for the convenience of description, only the parts related to the embodiments of the present application are shown. If the specific technical details are not disclosed, please refer to the method part of the embodiment of the present application. The mobile terminal can be any mobile device, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an on-board computer, a wearable device, or the like, and the mobile terminal is used as a mobile phone as an example. :
图9为与本申请实施例提供的移动终端相关的手机的部分结构的框图。参考图9,手机包括:射频(Radio Frequency,RF)电路910、存储器920、输入单元930、显示单元940、传感器950、音频电路960、无线保真(Wireless-Fidelity,WiFi)模块970、处理器980、以及电源990等部件。本领域技术人员可以理解,图9所示的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 9 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present application. Referring to FIG. 9, the mobile phone includes: a radio frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a Wireless-Fidelity (WiFi) module 970, and a processor. 980, and power supply 990 and other components. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 9 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
其中,RF电路910可用于收发信息或通话过程中,信号的接收和发送,可将基站的下行信息接收后,给处理器980处理;也可以将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路910还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于GSM、通用分组无线服务(General Packet Radio Service,GPRS)、CDMA、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 910 can be used for receiving and transmitting signals during the transmission and reception of information or during a call. The downlink information of the base station can be received and processed by the processor 980. The uplink data can also be sent to the base station. Generally, RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 910 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to GSM, General Packet Radio Service (GPRS), CDMA, Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Evolution, LTE), e-mail, Short Messaging Service (SMS), etc.
存储器920可用于存储软件程序以及模块,处理器980通过运行存储在存储器920的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器920可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能的应用程序、图像播放功能的应用程序等)等;数据存储区可存储根据手机的使用所创建的数据(比如音频数据、通讯录等)等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 920 can be used to store software programs and modules, and the processor 980 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 920. The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as an application of a sound playing function, an application of an image playing function, etc.); The data storage area can store data (such as audio data, address book, etc.) created according to the use of the mobile phone. Moreover, memory 920 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元930可用于接收输入的数字或字符信息,以及产生与手机900的用户设置以及功能控制有关的键信号输入。具体地,输入单元930 可包括触控面板932以及其他输入设备934。触控面板932,也可称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板932上或在触控面板932附近的操作),并根据预先设定的程式驱动相应的连接装置。在一个实施例中,触控面板932可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器980,并能接收处理器980发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板932。除了触控面板932,输入单元930还可以包括其他输入设备934。具体地,其他输入设备934可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)等中的一种或多种。The input unit 930 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 900. Specifically, the input unit 930 Touch panel 932 and other input devices 934 can be included. The touch panel 932, also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 932 or near the touch panel 932. Operation) and drive the corresponding connection device according to a preset program. In one embodiment, the touch panel 932 can include two portions of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 980 is provided and can receive commands from the processor 980 and execute them. In addition, the touch panel 932 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 932, the input unit 930 may also include other input devices 934. In particular, other input devices 934 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.).
显示单元940可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元940可包括显示面板942。在一个实施例中,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板942。在一个实施例中,触控面板932可覆盖显示面板942,当触控面板932检测到在其上或附近的触摸操作后,传送给处理器980以确定触摸事件的类型,随后处理器980根据触摸事件的类型在显示面板942上提供相应的视觉输出。虽然在图9中,触控面板932与显示面板942是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板932与显示面板942集成而实现手机的输入和输出功能。The display unit 940 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone. The display unit 940 can include a display panel 942. In one embodiment, the display panel 942 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. In one embodiment, the touch panel 932 can cover the display panel 942. When the touch panel 932 detects a touch operation on or near it, the touch panel 932 transmits to the processor 980 to determine the type of the touch event, and then the processor 980 is The type of touch event provides a corresponding visual output on display panel 942. Although in FIG. 9, the touch panel 932 and the display panel 942 are used as two separate components to implement the input and input functions of the mobile phone, in some embodiments, the touch panel 932 can be integrated with the display panel 942. Realize the input and output functions of the phone.
手机900还可包括至少一种传感器950,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板942的亮度,接近传感器可在手机移动到耳边时,关闭显示面板942和/或背光。运动传感器可包括加速度传感器,通过加速度传感器可检测各个方向上加速度的 大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换)、振动识别相关功能(比如计步器、敲击)等;此外,手机还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器等。The handset 900 can also include at least one type of sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 942 according to the brightness of the ambient light, and the proximity sensor may close the display panel 942 and/or when the mobile phone moves to the ear. Or backlight. The motion sensor may include an acceleration sensor that can detect acceleration in various directions by the acceleration sensor Size, the magnitude and direction of gravity can be detected at rest, can be used to identify the gesture of the phone (such as horizontal and vertical screen switching), vibration recognition related functions (such as pedometer, tap), etc.; in addition, the phone can also be configured with gyroscope Other sensors such as barometers, hygrometers, thermometers, and infrared sensors.
音频电路960、扬声器962和传声器964可提供用户与手机之间的音频接口。音频电路960可将接收到的音频数据转换后的电信号,传输到扬声器962,由扬声器962转换为声音信号输出;另一方面,传声器964将收集的声音信号转换为电信号,由音频电路960接收后转换为音频数据,再将音频数据输出处理器980处理后,经RF电路910可以发送给另一手机,或者将音频数据输出至存储器920以便后续处理。 Audio circuitry 960, speaker 962, and microphone 964 can provide an audio interface between the user and the handset. The audio circuit 960 can transmit the converted electrical data of the received audio data to the speaker 962 for conversion to the sound signal output by the speaker 962; on the other hand, the microphone 964 converts the collected sound signal into an electrical signal by the audio circuit 960. After receiving, it is converted into audio data, and after being processed by the audio data output processor 980, it can be sent to another mobile phone via the RF circuit 910, or the audio data can be output to the memory 920 for subsequent processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块970可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。WiFi is a short-range wireless transmission technology, and the mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 970, which provides users with wireless broadband Internet access.
处理器980是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器920内的软件程序和/或模块,以及调用存储在存储器920内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。在一个实施例中,处理器980可包括一个或多个处理单元。在一个实施例中,处理器980可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等;调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器980中。The processor 980 is the control center of the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 920, and invoking data stored in the memory 920, executing The phone's various functions and processing data, so that the overall monitoring of the phone. In one embodiment, processor 980 can include one or more processing units. In one embodiment, the processor 980 can integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, a user interface, an application, and the like; the modem processor primarily processes wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 980.
手机900还包括给各个部件供电的电源990(比如电池),优选的,电源990可以通过电源管理系统与处理器980逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone 900 also includes a power source 990 (such as a battery) for powering various components. Preferably, the power source 990 can be logically coupled to the processor 980 through a power management system to manage functions such as charging, discharging, and power management through the power management system. .
在一个实施例中,手机900还可以包括摄像头、蓝牙模块等。In one embodiment, the handset 900 can also include a camera, a Bluetooth module, and the like.
在本申请实施例中,该移动终端所包括的处理器980执行存储在存储器上的计算机可执行指令时实现上述的信息处理方法。 In the embodiment of the present application, the processor 980 included in the mobile terminal implements the above information processing method when executing computer executable instructions stored in the memory.
在一个实施例中,该移动终端可包括存储器920及处理器980,存储器920中存储有计算机可执行指令,该计算机可执行指令被处理器980执行时,使得处理器执行如下步骤:In one embodiment, the mobile terminal can include a memory 920 and a processor 980 having stored therein computer executable instructions that, when executed by the processor 980, cause the processor to perform the following steps:
获取预设的起始时刻及结束时刻;Obtain a preset start time and end time;
在起始时刻与结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻;In the time period between the start time and the end time, a time is randomly selected as the alarm time;
当移动终端的时钟时刻到达闹钟时刻时,进行闹钟提醒。When the clock of the mobile terminal reaches the alarm time, the alarm is given.
在一个实施例中,提供一个或多个存储有计算机可执行指令的非易失性可读存储介质,计算机可执行指令被一个或多个处理器执行时,使得一个或多个处理器执行时实现上述的信息处理方法。In one embodiment, one or more non-volatile readable storage media storing computer-executable instructions are provided, when executed by one or more processors, causing one or more processors to execute The above information processing method is implemented.
在一个实施例中,提供一种包含计算机程序的计算机程序产品,当其在计算机设备上运行时,使得计算机设备执行时实现上述的信息处理方法。In one embodiment, a computer program product comprising a computer program, when executed on a computer device, causes the computer device to perform the information processing method described above when executed.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a non-volatile computer readable storage medium. Wherein, the program, when executed, may include the flow of an embodiment of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or the like.
如此处所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态 RAM(RDRAM)。Any reference to a memory, storage, database or other medium as used herein may include non-volatile and/or volatile memory. Suitable non-volatile memories can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM), which acts as an external cache. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization. Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamics RAM (RDRAM).
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be considered as the scope of this manual.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。 The above-mentioned embodiments are merely illustrative of several embodiments of the present application, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the present application. Therefore, the scope of the invention should be determined by the appended claims.

Claims (10)

  1. 一种信息处理方法,包括:An information processing method includes:
    获取预设的起始时刻及结束时刻;Obtain a preset start time and end time;
    在所述起始时刻与所述结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻;In a time period between the start time and the end time, a time is randomly selected as an alarm time;
    当移动终端的时钟时刻到达所述闹钟时刻时,进行闹钟提醒。When the clock moment of the mobile terminal reaches the alarm time, an alarm is given.
  2. 根据权利要求1所述的方法,其特征在于,所述在所述起始时刻与所述结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻,包括:The method according to claim 1, wherein the time period between the start time and the end time is randomly selected as an alarm time, including:
    计算所述起始时刻与所述结束时刻的时间差;Calculating a time difference between the start time and the end time;
    获取随机数,所述随机数大于或等于0,且小于或等于1;Obtaining a random number, the random number being greater than or equal to 0, and less than or equal to 1;
    将所述时间差乘以所述随机数,得到随机时间点;Multiplying the time difference by the random number to obtain a random time point;
    将所述随机时间点加上所述起始时刻,得到闹钟时刻;Adding the random time point to the starting time to obtain an alarm time;
    在所述闹钟时刻设置闹钟提醒。An alarm reminder is set at the time of the alarm.
  3. 根据权利要求2所述的方法,其特征在于,所述获取随机数,包括:The method of claim 2, wherein the obtaining the random number comprises:
    获取预先划分的0至1之间的随机数区间,以及与各个随机数区间对应的随机权重;Obtaining a pre-divided random number interval between 0 and 1, and a random weight corresponding to each random number interval;
    根据所述随机权重在0至1之间随机选取随机数。A random number is randomly selected between 0 and 1 according to the random weight.
  4. 根据权利要求2或3所述的方法,其特征在于,在所述根据所述时间差与随机数确定闹钟时刻之后,所述方法还包括:The method according to claim 2 or 3, wherein after the determining the alarm time according to the time difference and the random number, the method further comprises:
    判断所述闹钟时刻是否已设置有闹钟提醒,若已设置有闹钟提醒,则重新在所述起始时刻与所述结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻。It is determined whether the alarm clock has been set with an alarm reminder. If an alarm reminder has been set, a time is randomly selected as the alarm time in the time period between the start time and the end time.
  5. 根据权利要求1所述的方法,其特征在于,所述方法,还包括:The method according to claim 1, wherein the method further comprises:
    检测是否接收到预设手势操作,所述预设手势操作用于关闭闹钟提醒;Detecting whether a preset gesture operation is received, and the preset gesture operation is used to turn off the alarm reminder;
    若没有接收到预设手势操作,则在所述闹钟时刻与所述结束时刻之间的时间段中,随机选取一个时刻作为新的闹钟时刻;If no preset gesture operation is received, a time is randomly selected as a new alarm time in a time period between the alarm time and the end time;
    在所述移动终端的时钟时刻到达所述新的闹钟时刻时,进行闹钟提醒。 When the clock moment of the mobile terminal reaches the new alarm time, an alarm is given.
  6. 根据权利要求1所述的方法,其特征在于,在所述获取预设的起始时刻及结束时刻之后,所述方法还包括:The method according to claim 1, wherein after the obtaining the preset start time and the end time, the method further comprises:
    获取闹钟模式;Get the alarm mode;
    当所述闹钟模式为随机闹钟模式时,则在所述起始时刻与预设的结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻。When the alarm mode is the random alarm mode, a time is randomly selected as the alarm time in the time period between the start time and the preset end time.
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method of claim 6 wherein the method further comprises:
    若所述闹钟模式为正常模式,则当所述移动终端的时钟时刻到达所述起始时刻或结束时刻时,进行闹钟提醒。If the alarm mode is the normal mode, when the clock moment of the mobile terminal reaches the start time or the end time, an alarm is given.
  8. 一种信息处理装置,包括:An information processing apparatus comprising:
    时刻获取模块,用于获取预设的起始时刻及结束时刻;a time acquisition module, configured to acquire a preset start time and an end time;
    选取模块,用于在所述起始时刻与所述结束时刻之间的时间段中,随机选取一个时刻作为闹钟时刻;a selection module, configured to randomly select a time as an alarm time in a time period between the start time and the end time;
    提醒模块,用于当移动终端的时钟时刻到达所述闹钟时刻时,进行闹钟提醒。The reminding module is configured to perform an alarm reminder when the clock moment of the mobile terminal reaches the alarm time.
  9. 一种移动终端,包括存储器及处理器,所述存储器中储存有计算机可执行指令,所述计算机可执行指令被所述处理器执行时,使得所述处理器执行时实现如权利要求1至7任一所述的方法。A mobile terminal comprising a memory and a processor, wherein the memory stores computer executable instructions, the computer executable instructions being executed by the processor, such that when executed by the processor, implementing claims 1 to 7 Any of the methods described.
  10. 一个或多个存储有计算机可执行指令的非易失性可读存储介质,所述计算机可执行指令被一个或多个处理器执行时,使得所述一个或多个处理器执行时实现如权利要求1至7任一所述的方法。 One or more non-volatile readable storage media storing computer-executable instructions that, when executed by one or more processors, cause the one or more processors to perform as claimed The method of any of 1 to 7 is claimed.
PCT/CN2017/108526 2017-10-31 2017-10-31 Information processing method and apparatus, mobile terminal, and nonvolatile readable storage medium WO2019084755A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/108526 WO2019084755A1 (en) 2017-10-31 2017-10-31 Information processing method and apparatus, mobile terminal, and nonvolatile readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/108526 WO2019084755A1 (en) 2017-10-31 2017-10-31 Information processing method and apparatus, mobile terminal, and nonvolatile readable storage medium

Publications (1)

Publication Number Publication Date
WO2019084755A1 true WO2019084755A1 (en) 2019-05-09

Family

ID=66331189

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/108526 WO2019084755A1 (en) 2017-10-31 2017-10-31 Information processing method and apparatus, mobile terminal, and nonvolatile readable storage medium

Country Status (1)

Country Link
WO (1) WO2019084755A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6326881B1 (en) * 2000-06-14 2001-12-04 Mark V. Dahl Alarm clock system
US20040090311A1 (en) * 2002-11-12 2004-05-13 Schwartz Adam L. Random offset alarm clock
CN1798398A (en) * 2004-12-29 2006-07-05 乐金电子(中国)研究开发中心有限公司 Alarm-service method and apparatus utilizing random-menu
CN101339403A (en) * 2007-07-04 2009-01-07 鹏智科技(深圳)有限公司 Electronic equipment possess alarm clock function and its alarm clock closing method
CN102193498A (en) * 2011-03-18 2011-09-21 南京邮电大学 Method for setting intelligent electronic alarm clock based on applied statistical method and embedded computing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6326881B1 (en) * 2000-06-14 2001-12-04 Mark V. Dahl Alarm clock system
US20040090311A1 (en) * 2002-11-12 2004-05-13 Schwartz Adam L. Random offset alarm clock
CN1798398A (en) * 2004-12-29 2006-07-05 乐金电子(中国)研究开发中心有限公司 Alarm-service method and apparatus utilizing random-menu
CN101339403A (en) * 2007-07-04 2009-01-07 鹏智科技(深圳)有限公司 Electronic equipment possess alarm clock function and its alarm clock closing method
CN102193498A (en) * 2011-03-18 2011-09-21 南京邮电大学 Method for setting intelligent electronic alarm clock based on applied statistical method and embedded computing

Similar Documents

Publication Publication Date Title
CN107465803B (en) Intelligent reminding method, terminal, wearable device and system
WO2018219104A1 (en) Power saving control method and related product
EP3294011A1 (en) Method and apparatus for wake-up control of intelligent terminal
CN108174044B (en) Alarm clock setting method and mobile terminal
WO2018223535A1 (en) Vibration notification method for mobile terminal, and mobile terminal
WO2020093208A1 (en) Application processing method and apparatus, computer device, and computer readable storage medium
CN108984066B (en) Application icon display method and mobile terminal
CN108681437B (en) Display method and device, storage medium and electronic equipment
CN111161515A (en) Reminding information pushing method, terminal equipment and computer readable storage medium
CN109246291B (en) Mobile terminal and sleep reminding method and device
WO2014105398A1 (en) Recommendations for applications based on device context
WO2013155918A1 (en) Scheduled task execution method and device, computer readable storage medium, graphical user interface, and mobile terminal
CN112997471B (en) Audio channel switching method and device, readable storage medium and electronic equipment
WO2017206857A1 (en) Response control method and mobile terminal
CN112805988B (en) Call control method and device, computer readable storage medium and electronic equipment
CN106850957B (en) Application notification management method and device and mobile terminal
CN110753914A (en) Information processing method, storage medium and mobile terminal
CN112997507B (en) Audio system control method, device, terminal and computer readable storage medium
CN108184029B (en) Alarm clock reminding method and mobile terminal
WO2019084755A1 (en) Information processing method and apparatus, mobile terminal, and nonvolatile readable storage medium
US10110720B2 (en) Dialing method for user terminal and user terminal
CN111416908A (en) Alarm clock reminding method, alarm clock reminding device and mobile terminal
WO2020113392A1 (en) Network processing method, computer-readable storage medium and electronic device
CN108900692B (en) Screen display method and device, electronic equipment and computer readable storage medium
CN108512993B (en) Timing reminding method and mobile terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17930349

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17930349

Country of ref document: EP

Kind code of ref document: A1