CN104902086B - Alarm clock ringing method and device - Google Patents

Alarm clock ringing method and device Download PDF

Info

Publication number
CN104902086B
CN104902086B CN201510263193.4A CN201510263193A CN104902086B CN 104902086 B CN104902086 B CN 104902086B CN 201510263193 A CN201510263193 A CN 201510263193A CN 104902086 B CN104902086 B CN 104902086B
Authority
CN
China
Prior art keywords
alarm
time
current system
living environment
system time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510263193.4A
Other languages
Chinese (zh)
Other versions
CN104902086A (en
Inventor
王倩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510263193.4A priority Critical patent/CN104902086B/en
Publication of CN104902086A publication Critical patent/CN104902086A/en
Application granted granted Critical
Publication of CN104902086B publication Critical patent/CN104902086B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Electromechanical Clocks (AREA)

Abstract

The disclosure discloses a kind of method and device of alarm clock jingle bell, belongs to intelligent terminal field.The described method includes: when the time difference of the alarm clock ring time of the present system time and setting detected is predetermined time length, the matched living scene of determining and present system time institute, and obtain the quarter-bell the tinkle of bells to match with the living scene, when present system time reaches alarm clock ring time, play the quarter-bell the tinkle of bells to match with the living scene, on the one hand make the mode of alarm clock jingle bell more diversified, not in the setting for being confined to user or system, it on the other hand can also be while alarm clock jingle bell, the living scene for prompting user current, such as the birthday of user, current state of weather etc..

Description

Alarm clock ringing method and device
Technical Field
The disclosure relates to the field of intelligent terminal equipment, in particular to an alarm clock ringing method and device.
Background
Over the years, devices such as smart terminal devices (e.g., smartphones) have become quite common. Most of these devices are equipped with a built-in clock or clock application software, as well as the functionality of alarm settings. Under normal conditions, these alarms only have a preset sound or tone; in a few cases, a ring tone for such alarms can be selected.
Disclosure of Invention
The present disclosure provides an alarm clock ringing method, the technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, an alarm clock ringing method is provided, which is applied to an intelligent terminal device, and the method includes:
acquiring alarm clock ringing time set in the intelligent terminal equipment;
judging whether the time difference between the detected current system time and the set alarm clock ringing time is a preset time length or not;
when the time difference is the preset time length, determining a life scene matched with the current system time, and acquiring an alarm ring matched with the life scene;
and when the current system time reaches the alarm clock ringing time, playing the alarm bell matched with the life scene.
In one embodiment, determining a living scenario matching the current system time may include:
traversing a local event calendar or a notebook according to the current system time, and determining whether the current system time is marked as a special date so as to determine a living scene matched with the current system time; or,
and inquiring the locally installed application software according to the current system time so as to determine the living environment state under the current system time.
In one embodiment, obtaining an alarm ring tone matching the life scenario may include:
acquiring an alarm bell corresponding to the current determined life scene according to a preset corresponding relationship between the life scene and the alarm bell; or,
searching for an alarm ring which can identify the life scene according to the current determined life scene in a networking way; or,
and processing the existing stored information according to the currently acquired life scene according to a preset processing mode to obtain the alarm bell identifying the life scene.
In an embodiment, when the life scenario is a special date, according to a predetermined processing manner, processing existing stored information according to the currently acquired life scenario to obtain an alarm ring that can identify the life scenario may include:
reading local short messages or IM messages, and determining whether the local short messages or the IM messages receive information related to a special date;
if the information related to the special date is received, the content of the information is processed by a certain sound effect, the information is converted into voice information, and the voice information obtained by processing is used as the alarm bell.
In an embodiment, when the life scenario is a life environment state, according to a predetermined processing manner, processing existing stored information according to the currently acquired life scenario to obtain an alarm ring tone capable of identifying the life scenario may include:
and carrying out special effect processing on the locally stored alarm bell according to the acquired living environment state, and taking the alarm bell subjected to special effect processing as the current alarm bell.
According to a second aspect of the embodiments of the present disclosure, there is provided a device for alarm clock ringing, which is applied to an intelligent terminal device, the device including:
the time acquisition module is configured to acquire alarm clock ringing time set in the intelligent terminal equipment;
the time comparison module is configured to judge whether the time difference between the detected current system time and the set alarm clock ringing time is a preset time length;
a life scene matching module configured to determine a life scene matched with the current system time when the time difference is a predetermined time length;
an alarm ring acquiring module configured to acquire an alarm ring matched with the life scene;
and the ringing module is configured to play the alarm ring matched with the life scene when the current system time reaches the alarm ring time.
In one embodiment, the life scenario matching module includes:
the first matching unit is configured to traverse a local event calendar or a notebook according to the current system time, and determine whether the current system time is marked as a special date so as to determine a living scene matched with the current system time; or,
and the second matching unit is configured to query the locally installed application software according to the current system time so as to determine the living environment state at the current system time.
In one embodiment, an alarm ring tone acquisition module comprises:
the alarm clock generation device comprises a first obtaining unit, a second obtaining unit and a control unit, wherein the first obtaining unit is configured to obtain an alarm clock corresponding to a current determined life scene according to a preset corresponding relationship between the life scene and the alarm clock; or,
the second acquisition unit is configured to search for the alarm ring which can identify the life scene according to the current determined life scene in a networking way; or,
and the third acquisition unit is configured to process the existing stored information according to the currently acquired life scene according to a preset processing mode so as to obtain the alarm ring identifying the life scene.
In an embodiment, the third obtaining unit is specifically configured to, when the life scene is a special date, read a local short message or an IM message, and determine whether information related to the special date is received locally; if the information related to the special date is received, the content of the information is processed by a certain sound effect, the information is converted into voice information, and the voice information obtained by processing is used as the alarm bell.
In an embodiment, the third obtaining unit is specifically configured to, when the life scene is a life environment state, perform special effect processing on a locally stored alarm ring according to the obtained life environment state, and use the alarm ring after the special effect processing as the current alarm ring.
According to a third aspect of the embodiments of the present disclosure, there is provided an intelligent terminal device, the terminal device including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to:
acquiring alarm clock ringing time set in the intelligent terminal equipment;
judging whether the time difference between the detected current system time and the set alarm clock ringing time is a preset time length or not;
when the time difference is the preset time length, determining a life scene matched with the current system time, and acquiring an alarm ring matched with the life scene;
and when the current system time reaches the alarm clock ringing time, playing the alarm bell matched with the life scene.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
when the detected time difference between the current system time and the set alarm clock ringing time is the preset time length, determining a life scene matched with the current system time, acquiring the alarm clock ring matched with the life scene, and playing the alarm clock ring matched with the life scene when the current system time reaches the alarm clock ringing time.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic diagram of an implementation environment involved in an alarm clock ringing method according to some exemplary embodiments;
FIG. 2 is a flow chart illustrating a method of alarm ringing according to an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of alarm ringing according to another exemplary embodiment;
FIG. 4 is a flow chart illustrating a method of alarm ringing according to yet another exemplary embodiment;
FIG. 5 is a block diagram illustrating an alarm clock ringing apparatus according to an exemplary embodiment;
FIG. 6 is a block diagram of an alarm clock ringing device according to another exemplary embodiment;
fig. 7 is a block diagram illustrating an alarm clock alerting device according to still another exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a schematic diagram of an implementation environment related to an alarm clock ringing method according to some exemplary embodiments, and as shown in fig. 1, the implementation environment may include a smart terminal device 120 and a server 140.
The smart terminal device 120 may be an electronic device with a screen display function, which may be embedded with an alarm clock or installed with clock application software, such as a mobile phone, a smart wearable device, a tablet computer, and the like.
The server 140 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center, and the server 140 has a basic information storage function.
For example, the intelligent terminal device 120 obtains the alarm clock ringing time set by the user, and determines whether the time difference between the detected current system time and the set alarm clock ringing time is a predetermined time length; when the time difference is a preset time length, determining a life scene matched with the current system time, and acquiring an alarm ring matched with the life scene from the server 140; and when the current system time reaches the alarm clock ringing time, the intelligent terminal device 120 plays the alarm bell matched with the life scene.
In the above implementation environment, the intelligent terminal device 120 and the server 140 may be connected through a wired network or a wireless network (not shown in fig. 1).
Fig. 2 is a flowchart illustrating an alarm clock ringing method according to an exemplary embodiment, and as shown in fig. 2, the alarm clock ringing method is applied to the intelligent terminal device 120 in the implementation environment shown in fig. 1, and includes the following steps.
In step 201, the alarm clock ringing time set in the intelligent terminal device is obtained.
The user can set the alarm clock by the clock embedded in the intelligent terminal device or downloading the clock application software installed on the intelligent terminal device, if the ringing time of the alarm clock is set to be 8:30 in the morning, the intelligent terminal device stores the alarm clock setting information. If necessary, the intelligent terminal device can directly read the alarm clock time set by the user.
In step 202, judging whether the time difference between the detected current system time and the set alarm clock ringing time is a preset time length;
when the time difference is a predetermined time length, executing step 203;
when the time difference is not the predetermined time length, executing step 201;
in an embodiment, the predetermined time length may be set to 2 minutes, 3 minutes, or even 5 minutes, which is not specifically limited in this technical solution.
In step 203, a life scene matched with the current system time is determined, and an alarm ring matched with the life scene is obtained.
In one embodiment, determining the living scenario that matches the current system time may include: traversing a local event calendar or a notebook according to the current system time to determine whether the current system time is marked as a special date so as to determine a living scene matched with the current system time, such as a birthday, a anniversary and the like; or, locally installed application software, such as a weather forecast APP or a map APP, is queried according to the current system time to determine the living environment state, such as weather or traffic, at the current system time.
And then, acquiring the alarm ring tone matched with the life scene according to the determined life scene. There are three ways to obtain this: according to a preset corresponding relation between a life scene and an alarm ring, acquiring the alarm ring corresponding to the current determined life scene; alternatively, a networked search may identify an alarm ring tone for a life scenario based on a current determined life scenario; in another way, according to a predetermined processing mode, the existing stored information may be processed according to the currently acquired life scenario, so as to obtain an alarm ring that may identify the life scenario.
In step 204, when the current system time reaches the alarm clock ringing time, playing the alarm ring matched with the life scene.
For example, within two minutes before the alarm clock rings, whether the current system time is the birthday of the user is determined, if the current system time is the birthday of the user, a happy birthday song can be acquired to serve as the ring when the alarm clock rings, and if the current system time has no special significance, a preset alarm ring is adopted.
For example, within two minutes before the alarm clock rings, a weather state corresponding to the current system time is determined, and the preset alarm ring is processed based on the weather state, so that the processed ring can identify the weather state, for example, sound effects such as rain, wind, and the like are added to the preset alarm ring.
In summary, according to the alarm clock ringing method provided in the embodiment of the present disclosure, when the time difference between the detected current system time and the set alarm clock ringing time is the predetermined time length, the life scenario matched with the current system time is determined, the alarm ring matched with the life scenario is acquired, and when the current system time reaches the alarm clock ringing time, the alarm ring matched with the life scenario is played.
The technical solution is described in detail below with reference to specific application scenarios, and the following description is given by taking as an example a date (such as birthday, wedding anniversary) on which an alarm ring can be used to prompt a user with special significance:
fig. 3 is a flowchart illustrating an alarm clock ringing method according to another exemplary embodiment, and as shown in fig. 3, the alarm clock ringing method is applied to the intelligent terminal device 120 in the implementation environment shown in fig. 1, and includes the following steps:
in step 301, the alarm clock ringing time set in the intelligent terminal device is obtained.
In step 302, determining whether the time difference between the detected current system time and the set alarm clock ringing time is a preset time length;
when the time difference is a predetermined time length, executing step 303;
when the time difference is not the predetermined time length, step 301 is executed.
In step 303, determining whether the current system time is a special date which has special significance for the holder of the intelligent terminal equipment;
in one embodiment, a local calendar or notepad may be traversed depending on the current system time, determining whether the current system time is marked as a special date, which may be a birthday, a anniversary, etc. of the holder of the smart terminal device.
If the current system time is a special date which is meaningful for the holder of the intelligent terminal device, executing step 304;
if the current system time is not of special significance to the holder of the intelligent terminal device, step 306 is executed.
In step 304, audio identifying the special date is obtained as an alarm ring tone.
In one embodiment, the method of obtaining audio identifying the special date as an alarm ring tone may include one of three ways:
the first mode is as follows: and acquiring the alarm bell corresponding to the current determined special date according to the preset corresponding relation between the special date and the alarm bell.
For example, the correspondence relationship preset by the user includes: the corresponding alarm ring at birthday is happy birthday song, the corresponding alarm ring at marriage commemorative time is a song with commemorative significance for couple two, and the like. Then, after the device acquires the special date (e.g., birthday), the device may query the correspondence between the special date and the alarm preset by the user to acquire the alarm ring (e.g., happy birthday song) corresponding to the special date.
The second mode is as follows: a networked search based on the currently determined special date may identify the alarm ring tone for that special date.
For example, when the currently determined special date is the birthday, the user can go to the network to search and download the birthday happy song to the local as the ring tone of the alarm.
Reading local short messages or IM messages, and determining whether the local short messages or IM messages receive information related to a special date; if the information related to the special date is received, the content of the information is processed by a certain sound effect, the information is converted into voice information, and the voice information obtained by processing is used as the alarm bell.
For example, when the special date is a birthday, if a birthday blessing message sent by a family or a family is received, the received birthday blessing messages can be converted into voice in sequence, a certain sound effect can be added in the voice conversion process, and the processed voice information is used as the current alarm bell.
In step 305, when the current system time reaches the alarm clock ringing time, audio identifying the special date is played as an alarm ring.
In step 306, the alarm ring preset by the user is obtained, and when the current system time reaches the alarm ring time of the alarm clock, the preset alarm ring is played.
In summary, according to the alarm clock ringing method provided in the embodiment of the present disclosure, when the time difference between the detected current system time and the set alarm clock ringing time is the predetermined time length, the life scenario matched with the current system time is determined, the alarm ring matched with the life scenario is acquired, and when the current system time reaches the alarm clock ringing time, the alarm ring matched with the life scenario is played.
The following is an example of an environment (e.g., current weather state) in which an alarm ring can be used to alert a user to a current life:
fig. 4 is a flowchart illustrating an alarm clock ringing method according to another exemplary embodiment, and as shown in fig. 4, the alarm clock ringing method is applied to the intelligent terminal device 120 in the implementation environment shown in fig. 1, and includes the following steps:
in step 401, the alarm clock ringing time set in the intelligent terminal device is obtained.
In step 402, determining whether the time difference between the detected current system time and the set alarm clock ringing time is a preset time length;
when the time difference is a predetermined time length, executing step 403;
when the time difference is not the predetermined time length, step 401 is executed.
In step 403, determining the living environment state of the user at the current system time, and determining whether the living environment state is above a threshold value;
in one embodiment, locally installed application software may be queried according to a current system time to determine a state of a living environment at the current system time, such as a locally installed weather APP or map APP may be queried to determine a current weather or traffic state.
In this embodiment, the threshold may be used as a standard line indicating a weather condition, such as a pollution index or a precipitation index of the current living environment condition. In this embodiment, when the value of the living environment state is above the threshold, it indicates that the weather state is rainy day, windy day, or haze day, and when the value of the living environment state is below the threshold, it indicates that the weather state is good, such as clear, breezy, and good air quality.
For example, the acquired living environment state of the current user is that the precipitation amount is 100% or 10 mm/h and is greater than the threshold value 70% or 0, which indicates that the current weather state is rainy.
For example, the acquired living environment state of the current user is wind level 5, which is greater than threshold value 3, and it is indicated that the current weather state is a strong wind state.
If the living environment state of the user at the current system time is above the threshold, executing step 404;
if the living environment state of the user at the current system time is below the threshold, executing step 406;
in step 404, audio identifying the state of the living environment is obtained as an alarm ring.
In one embodiment, the method of obtaining audio identifying the state of the living environment as an alarm ring tone may include one of three ways:
the first mode is as follows: and acquiring the alarm bell corresponding to the current determined living environment state according to the preset corresponding relation between the living environment state and the alarm bell.
For example, the correspondence relationship preset by the user includes: the alarm bell corresponding to rainy days is the audio frequency of water drop, the alarm bell corresponding to windy days is the audio frequency of wind whistling, and the like. Then, when the device acquires that the weather of the day is rainy or windy, the device may query a correspondence between a living environment state preset by the user and an alarm to acquire a corresponding alarm ring tone (such as a sound of dropping water droplets or a sound of whistling with strong wind) in a special weather.
The second mode is as follows: a networked search can identify an alarm ring tone for the state of the living environment based on the currently determined state of the living environment.
For example, if the current determined living environment state is some special weather (such as rainy days and windy days), the user can go to the network to search and download the audio which can identify the special weather to the local, so as to be used as the alarm.
And in the third mode, the alarm ring sound stored locally is subjected to special effect processing according to the acquired living environment state, and the alarm ring sound subjected to special effect processing is used as the current alarm ring sound.
For example, when the living environment state is weather, a sound that can identify the weather state may be added to the alarm ring tone.
The specific application scenario may be, for example, that in rainy days, the current environment state is a sound of rain, and in windy days, the current environment state is a sound of wind, so as to prompt the user of the current weather state when the alarm rings.
In step 405, when the current system time reaches the alarm clock ringing time, audio identifying the living environment state is played as an alarm ring.
In step 406, an alarm ring preset by the user is obtained, and when the current system time reaches the alarm ring time of the alarm clock, the preset alarm ring is played.
In summary, according to the alarm clock ringing method provided in the embodiment of the present disclosure, when the time difference between the detected current system time and the set alarm clock ringing time is the predetermined time length, the life scenario matched with the current system time is determined, the alarm ring matched with the life scenario is acquired, and when the current system time reaches the alarm clock ringing time, the alarm ring matched with the life scenario is played.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 5 is a block diagram illustrating an alarm clock ringing apparatus according to an exemplary embodiment, which is applied to the intelligent terminal device 120 in the implementation environment shown in fig. 1, and which may be implemented as a part of the intelligent terminal device through hardware, software or a combination of the two, as shown in fig. 5, and includes but is not limited to: a time acquisition module 502, a time comparison module 504, a life scenario matching module 506, an alarm ring acquisition module 508, and a ringing module 510.
A time obtaining module 502 configured to obtain alarm clock ringing time set in the intelligent terminal device;
a time comparison module 504 configured to determine whether a time difference between the detected current system time and the set alarm clock ringing time is a predetermined time length;
a life scene matching module 506 configured to determine a life scene matched with the current system time when the time difference is a predetermined time length;
an alarm ring acquiring module 508 configured to acquire an alarm ring matching the life scene;
a ring module 510 configured to play an alarm ring matching the life scene when the current system time reaches the alarm ring time.
In summary, according to the alarm clock ringing method provided in the embodiment of the present disclosure, when the time difference between the detected current system time and the set alarm clock ringing time is the predetermined time length, the life scenario matched with the current system time is determined, the alarm ring matched with the life scenario is acquired, and when the current system time reaches the alarm clock ringing time, the alarm ring matched with the life scenario is played.
Fig. 6 is a block diagram illustrating an alarm clock ringing apparatus according to another exemplary embodiment, which is applied to the intelligent terminal device 120 in the implementation environment shown in fig. 1, and which may be implemented as part of the intelligent terminal device through hardware, software or a combination of the two, as shown in fig. 6, and includes but is not limited to: a time acquisition module 602, a time comparison module 604, a life scenario matching module 606, an alarm ring acquisition module 608, and a ringing module 610.
A time obtaining module 602, configured to obtain alarm clock ringing time set in the intelligent terminal device;
a time comparison module 604 configured to determine whether a time difference between the detected current system time and the set alarm clock ringing time is a predetermined time length;
a life scene matching module 606 configured to determine a life scene matched with the current system time when the time difference is a predetermined time length;
an alarm ring acquiring module 608 configured to acquire an alarm ring matching the life scene;
a ringing module 610 configured to play an alarm ring matching the life scene when the current system time reaches the alarm ring time.
In one possible implementation, the life scenario matching module 606 includes: a first matching unit 606a or a second matching unit 606 b;
a first matching unit 606a, configured to traverse a local calendar or notepad according to the current system time, and determine whether the current system time is marked as a special date, so as to determine a living scene matched with the current system time; or,
a second matching unit 606b configured to query locally installed application software according to the current system time to determine the state of the living environment at the current system time.
In one possible implementation, the alarm ring tone obtaining module 608 includes: a first acquisition unit 608a, a second acquisition unit 608b, or a third acquisition unit 608 c;
a first obtaining unit 608a, configured to obtain an alarm ring corresponding to a currently determined life scenario according to a preset correspondence between the life scenario and the alarm ring; or,
a second obtaining unit 608b, configured to network search for an alarm ring that can identify the life scenario according to the currently determined life scenario; or,
a third obtaining unit 608c, configured to process existing stored information according to the currently obtained life scenario according to a predetermined processing manner, so as to obtain an alarm ring tone identifying the life scenario.
In a possible implementation manner, the third obtaining unit 608c may be specifically configured to, when the life scene is a special date, read a local short message or an IM message, and determine whether information related to the special date is received locally; if the information related to the special date is received, the content of the information is processed by a certain sound effect, the information is converted into voice information, and the voice information obtained by processing is used as the alarm bell.
In a possible implementation manner, the third obtaining unit 608c may be specifically configured to, when the life scene is a living environment state, perform special effect processing on a locally stored alarm ring according to the obtained living environment state, and use the alarm ring after the special effect processing as the current alarm ring.
In summary, according to the alarm clock ringing method provided in the embodiment of the present disclosure, when the time difference between the detected current system time and the set alarm clock ringing time is the predetermined time length, the life scenario matched with the current system time is determined, the alarm ring matched with the life scenario is acquired, and when the current system time reaches the alarm clock ringing time, the alarm ring matched with the life scenario is played.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An exemplary embodiment of the present disclosure provides an intelligent terminal device, which can implement the alarm clock ringing method provided by the present disclosure, and the intelligent terminal device includes: a processor, a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring alarm clock ringing time set in the intelligent terminal equipment;
judging whether the time difference between the detected current system time and the set alarm clock ringing time is a preset time length or not;
when the time difference is the preset time length, determining a life scene matched with the current system time, and acquiring an alarm ring matched with the life scene;
and when the current system time reaches the alarm clock ringing time, playing the alarm bell matched with the life scene.
Fig. 7 is a block diagram illustrating an alarm clock alerting device according to still another exemplary embodiment. For example, the apparatus 700 may be a mobile phone with a screen display function, a tablet device, a smart wearable device, and the like.
Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 718 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of device 700, the change in position of device 700 or a component of device 700, the presence or absence of user contact with device 700, the orientation or acceleration/deceleration of device 700, and the change in temperature of device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the weight information obtaining method described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 718 of the device 700 to perform the alarm ringing method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (6)

1. An alarm clock ringing method is applied to intelligent terminal equipment and comprises the following steps:
acquiring alarm clock ringing time set in the intelligent terminal equipment;
judging whether the time difference between the detected current system time and the set alarm clock ringing time is a preset time length or not;
when the time difference is the preset time length, traversing a local event calendar or a note book according to the current system time, and determining whether the current system time is marked as a special date;
when the current system time is the special date, acquiring the alarm ring corresponding to the special date according to the preset corresponding relation between the special date and the alarm ring; or, searching for an alarm ring tone that identifies the particular date on a networked basis based on the particular date currently determined; or reading local short messages or Instant Messaging (IM) messages, determining whether the local receives information related to a special date, if the local receives the information related to the special date, processing the content of the information by a certain sound effect, converting the information into voice information, and using the processed voice information as an alarm bell;
and when the current system time reaches the alarm clock ringing time, playing the alarm bell matched with the special date.
2. An alarm clock ringing method is applied to intelligent terminal equipment and comprises the following steps:
acquiring alarm clock ringing time set in the intelligent terminal equipment;
judging whether the time difference between the detected current system time and the set alarm clock ringing time is a preset time length or not;
when the time difference is a preset time length, locally installed application software is inquired according to the current system time so as to determine the living environment state under the current system time and determine whether the living environment state is above a threshold value, wherein the living environment state refers to weather or traffic state;
when the living environment state under the current system time is above the threshold, acquiring an alarm ring corresponding to the current living environment state according to a preset corresponding relation between the living environment state and the alarm ring; or, according to the current living environment state, searching the alarm bell which can identify the living environment state in a networking way; or, according to the current living environment state, carrying out special effect processing on the locally stored alarm bell, and taking the alarm bell subjected to special effect processing as the current alarm bell;
and when the current system time reaches the alarm clock ringing time, playing the alarm bell matched with the living environment state.
3. The utility model provides an alarm clock ringing device which characterized in that, is applied to in intelligent terminal equipment, the device includes:
the time acquisition module is configured to acquire alarm clock ringing time set in the intelligent terminal equipment;
the time comparison module is configured to judge whether the time difference between the detected current system time and the set alarm clock ringing time is a preset time length;
a life scene matching module configured to determine a life scene matched with the current system time when the time difference is a predetermined time length, wherein the life scene comprises a special date;
wherein, the life scene matching module comprises:
the first matching unit is configured to traverse a local event calendar or a note book according to the current system time and determine whether the current system time is marked as a special date;
an alarm ring acquiring module configured to acquire an alarm ring matching the special date;
wherein, the module is acquireed to the alarm ring tone, includes:
the alarm clock comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is configured to acquire the alarm clock corresponding to the current determined special date according to the preset corresponding relation between the special date and the alarm clock; or,
a second acquisition unit configured to search for an alarm ring tone identifiable by a currently determined special date on-line according to the special date; or,
the third acquisition unit is used for reading local short messages or IM messages, determining whether the local receives information related to a special date or not, if the information related to the special date is received, processing the content of the information by a certain sound effect, converting the information into voice information, and using the voice information obtained by processing as an alarm bell;
a ringing module configured to play an alarm ring matching the special date when the current system time reaches the alarm clock ringing time.
4. The utility model provides an alarm clock ringing device which characterized in that, is applied to in intelligent terminal equipment, the device includes:
the time acquisition module is configured to acquire alarm clock ringing time set in the intelligent terminal equipment;
the time comparison module is configured to judge whether the time difference between the detected current system time and the set alarm clock ringing time is a preset time length;
the life scene matching module is configured to determine a life scene matched with the current system time when the time difference is a preset time length, wherein the life scene is a life environment state, and the life environment state refers to weather or a traffic state;
wherein, the life scene matching module comprises:
a second matching unit configured to query the locally installed application software according to the current system time to determine a living environment state at the current system time and determine whether the living environment state is above a threshold;
an alarm ring acquiring module configured to acquire an alarm ring matched with the living environment state;
wherein, the module is acquireed to the alarm ring tone, includes:
a first obtaining unit, configured to obtain, when the living environment state in the current system time is above the threshold, an alarm ring corresponding to the current determined living environment state according to a preset correspondence between the living environment state and the alarm ring; or,
the second acquisition unit is used for searching the alarm ring which can identify the living environment state in a networking way according to the currently determined living environment state; or,
the third acquisition unit is used for carrying out special effect processing on the locally stored alarm bell according to the acquired living environment state and taking the alarm bell subjected to special effect processing as the current alarm bell;
and the ringing module is configured to play the alarm ring matched with the living environment state when the current system time reaches the alarm ring time of the alarm clock.
5. An intelligent terminal device, characterized in that the terminal device comprises:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to:
acquiring alarm clock ringing time set in the intelligent terminal equipment;
judging whether the time difference between the detected current system time and the set alarm clock ringing time is a preset time length or not;
when the time difference is the preset time length, traversing a local event calendar or a note book according to the current system time, and determining whether the current system time is marked as a special date;
when the current system time is the special date, acquiring the alarm bell corresponding to the current special date according to the preset corresponding relation between the special date and the alarm bell; or, searching for an alarm ring tone that can identify the special date on a network according to the currently determined life scenario; or reading local short messages or Instant Messaging (IM) messages, determining whether the local receives information related to a special date, if the local receives the information related to the special date, processing the content of the information by a certain sound effect, converting the information into voice information, and using the processed voice information as an alarm bell;
and when the current system time reaches the alarm clock ringing time, playing the alarm bell matched with the special date.
6. An intelligent terminal device, characterized in that the terminal device comprises:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to:
acquiring alarm clock ringing time set in the intelligent terminal equipment;
judging whether the time difference between the detected current system time and the set alarm clock ringing time is a preset time length or not;
when the time difference is a preset time length, locally installed application software is inquired according to the current system time so as to determine the living environment state under the current system time and determine whether the living environment state is above a threshold value, wherein the living environment state refers to weather or traffic state;
when the living environment state under the current system time is above the threshold, acquiring an alarm ring corresponding to the current determined living environment state according to a preset corresponding relation between the living environment state and the alarm ring; or, according to the current determined living environment state, searching the network for the alarm bell which can identify the living environment state; or, according to the acquired living environment state, carrying out special effect processing on the locally stored alarm bell, and taking the alarm bell subjected to special effect processing as the current alarm bell;
and when the current system time reaches the alarm clock ringing time, playing the alarm bell matched with the living environment state.
CN201510263193.4A 2015-05-21 2015-05-21 Alarm clock ringing method and device Active CN104902086B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510263193.4A CN104902086B (en) 2015-05-21 2015-05-21 Alarm clock ringing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510263193.4A CN104902086B (en) 2015-05-21 2015-05-21 Alarm clock ringing method and device

Publications (2)

Publication Number Publication Date
CN104902086A CN104902086A (en) 2015-09-09
CN104902086B true CN104902086B (en) 2019-02-19

Family

ID=54034477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510263193.4A Active CN104902086B (en) 2015-05-21 2015-05-21 Alarm clock ringing method and device

Country Status (1)

Country Link
CN (1) CN104902086B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306705A (en) * 2015-10-14 2016-02-03 广东欧珀移动通信有限公司 Birthday reminding method and device of mobile terminal user and mobile terminal
CN105897854A (en) * 2015-12-31 2016-08-24 乐视移动智能信息技术(北京)有限公司 Mobile terminal alarm clock response method, device and system
CN105827837A (en) * 2016-03-28 2016-08-03 联想(北京)有限公司 Information processing method and electronic device
CN107341644A (en) * 2016-04-29 2017-11-10 宇龙计算机通信科技(深圳)有限公司 A kind of alarm clock establishing method and terminal
CN105872158A (en) * 2016-06-08 2016-08-17 乐视控股(北京)有限公司 Alarm clock ringing method and device
CN106408258A (en) * 2016-09-19 2017-02-15 北京小米移动软件有限公司 Ringtone reminding method and device
CN106412273A (en) * 2016-09-23 2017-02-15 珠海格力电器股份有限公司 Alarm reminding method and device
CN106649548A (en) * 2016-10-31 2017-05-10 维沃移动通信有限公司 Alarm clock ringing method and terminal
CN107257405A (en) * 2017-05-24 2017-10-17 北京小米移动软件有限公司 Alarm clock control method and device
CN107295164B (en) * 2017-05-31 2020-05-26 Oppo广东移动通信有限公司 Method for generating alarm clock ring, mobile terminal and storage medium
CN107577448A (en) * 2017-08-29 2018-01-12 努比亚技术有限公司 A kind of alarm clock alarming method, equipment and computer-readable recording medium
CN108418972A (en) * 2018-03-19 2018-08-17 广东欧珀移动通信有限公司 Method, apparatus, terminal and the computer readable storage medium that birthday reminds
CN109116718B (en) * 2018-06-29 2021-10-22 上海掌门科技有限公司 Method and device for setting alarm clock
CN109582272B (en) * 2018-11-23 2023-07-21 Oppo(重庆)智能科技有限公司 Control method, terminal equipment and storage medium
CN110191237B (en) * 2019-07-08 2020-09-15 中国联合网络通信集团有限公司 Terminal alarm clock setting method and terminal
CN110456687A (en) * 2019-07-19 2019-11-15 安徽亿联网络科技有限公司 A kind of Multimode Intelligent scenery control system
CN111314559A (en) * 2020-03-02 2020-06-19 上海传英信息技术有限公司 Ringing method, terminal and storage medium
CN115250308A (en) * 2021-04-26 2022-10-28 华为技术有限公司 Alarm clock ringing method and equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951435A (en) * 2010-09-07 2011-01-19 宇龙计算机通信科技(深圳)有限公司 Alarm clock reminding method, device and mobile terminal
CN103167124A (en) * 2012-07-24 2013-06-19 深圳市金立通信设备有限公司 System and method using microblog to achieve mobile phone alarm clock reminding

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1485765A (en) * 2003-08-19 2004-03-31 威盛电子股份有限公司 Multimedia player processing event prompting function and its event playing method
US7302395B2 (en) * 2003-09-09 2007-11-27 Nokia Corporation Speech notification
CN1773398A (en) * 2004-11-08 2006-05-17 英保达股份有限公司 A multimedia alarm bell presenting method and apparatus thereof
CN104618581A (en) * 2014-12-31 2015-05-13 深圳市金立通信设备有限公司 Terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951435A (en) * 2010-09-07 2011-01-19 宇龙计算机通信科技(深圳)有限公司 Alarm clock reminding method, device and mobile terminal
CN103167124A (en) * 2012-07-24 2013-06-19 深圳市金立通信设备有限公司 System and method using microblog to achieve mobile phone alarm clock reminding

Also Published As

Publication number Publication date
CN104902086A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN104902086B (en) Alarm clock ringing method and device
US10264085B2 (en) Method and device for presenting push notifications
CN104330973B (en) Equipment control method and apparatus
CN109920418B (en) Method and device for adjusting awakening sensitivity
CN105898032B (en) method and device for adjusting prompt tone
CN110233934B (en) Electronic equipment control method and device and computer readable storage medium
CN105100445A (en) Message reminding method and device, and terminal
CN106128478B (en) Voice broadcast method and device
CN104090741A (en) Statistical method and device for electronic book reading
CN103902002B (en) Method for managing power supply and device
CN106021077B (en) The alarming method for power and device of terminal
CN109087650B (en) Voice wake-up method and device
CN104539789A (en) Method and device for prompting call request
CN105898573B (en) Multimedia file playing method and device
CN105162940A (en) Call processing method and call processing device
CN105611048A (en) Alarm clock prompt method and device, and mobile terminal
CN107181849A (en) The way of recording and device
CN110418011B (en) Method and device for generating prompt tone, intelligent equipment and storage medium
CN111698373A (en) Voice broadcasting method and device, earphone and earphone storage device
CN106657543B (en) Voice information processing method and device
CN105657690A (en) Method and device for processing mobile terminal setting information
CN105208209A (en) Alarm clock setting method and device and terminal equipment
EP3125514A1 (en) Method and device for state notification
CN106534495A (en) Method of information processing, device and equipment
CN105677428A (en) Upgrading method and device for terminal and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant