CN107423950A - Alarm clock setting method and device - Google Patents

Alarm clock setting method and device Download PDF

Info

Publication number
CN107423950A
CN107423950A CN201710550079.9A CN201710550079A CN107423950A CN 107423950 A CN107423950 A CN 107423950A CN 201710550079 A CN201710550079 A CN 201710550079A CN 107423950 A CN107423950 A CN 107423950A
Authority
CN
China
Prior art keywords
date
prompting
alarm clock
classification
determination
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.)
Granted
Application number
CN201710550079.9A
Other languages
Chinese (zh)
Other versions
CN107423950B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710550079.9A priority Critical patent/CN107423950B/en
Publication of CN107423950A publication Critical patent/CN107423950A/en
Application granted granted Critical
Publication of CN107423950B publication Critical patent/CN107423950B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation, e.g. computer aided management of electronic mail or groupware; Time management, e.g. calendars, reminders, meetings or time accounting
    • G06Q10/109Time management, e.g. calendars, reminders, meetings, time accounting
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G13/00Producing acoustic time signals
    • G04G13/02Producing acoustic time signals at preselected times, e.g. alarm clocks
    • G04G13/025Producing acoustic time signals at preselected times, e.g. alarm clocks acting only at one preselected time
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue

Abstract

The disclosure is directed to a kind of alarm clock setting method and device, the method includes:Receive the phonetic order that alarm clock is set;Prompting date and the prompt time of the alarm clock carried in the phonetic order are obtained, then determines the date classification on prompting date, then according to the date classification and prompt time of determination, alarm clock is set.Therefore, by phonetic order, alarm clock is not only set to the prompting date, but according to the date classification and prompt time on prompting date, repeat to set alarm clock;Solve the problems, such as that an alarm clock can only be set according to phonetic order in the prior art, efficiency is set so as to improve alarm clock, improves Consumer's Experience.

Description

Alarm clock setting method and device
Technical field
This disclosure relates to alarm clock technical field, more particularly to alarm clock setting method and device.
Background technology
With the development of voice technology, interactive voice product is more and more, and people also can increasingly get used to passing through The mode of voice goes to set some common functions.For example user can set alarm clock, example when user sets quarter-bell by voice It can such as say " 7 points of tomorrow morning reminds me to get up ", and the quarter-bell of the custom general work day of Chinese user is fixed, so User, which needs to give an account of before sleeping daily, could set alarm clock.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of alarm clock setting method and device.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of alarm clock setting method, including:
Receive the phonetic order that alarm clock is set;
Obtain prompting date and the prompt time of the alarm clock carried in the phonetic order;
The date classification on the prompting date, and the date classification according to determination and the prompt time are determined, institute is set State alarm clock.
Alternatively, the date classification for determining the prompting date, including:
Determine the date property on the prompting date;
By the date classification with the date property, it is defined as the date classification for prompting the date;
Wherein, belonging to the date of same classification has identical date property.
Alternatively, the date property on the prompting date is working day or nonworkdays.
Alternatively, the date classification according to determination and the prompt time, set the alarm clock, including:To described On date in date classification, the alarm clock with the prompt time is set.
Alternatively, the date classification according to determination and the prompt time, before the alarm clock is set, in addition to:
Output prompting inquiry message, the prompting inquiry message be used to prompting whether needing according to the date classification of determination and The prompt time, the alarm clock is set;
Based on the prompting inquiry message, prompting confirmation is obtained;
The date classification according to determination and the prompt time, the alarm clock is set, including:
It is used to indicate to need the date classification according to determination and the prompt time in the prompting confirmation, institute is set When stating alarm clock, according to the date classification of determination and the prompt time, the alarm clock is set.
Alternatively, methods described also includes:
It is described prompting confirmation be used for indicate need not be according to determination date classification and the prompt time, set During the alarm clock, to the prompting date, the alarm clock with the prompt time is set.
Alternatively, at least one in the prompting inquiry message and the prompting confirmation is voice.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of alarm clock sets device, including:
Receiving module, it is configured as receiving the phonetic order for setting alarm clock;
First acquisition module, when being configured as obtaining prompting date and the prompting of the alarm clock carried in the phonetic order Between;
Determining module, it is configured to determine that the date classification on the prompting date;
Setup module, the date classification according to determination and the prompt time are configured as, the alarm clock is set.
Alternatively, the determining module includes:First determination sub-module and the second determination sub-module;
First determination sub-module, it is configured to determine that the date property on the prompting date;
Second determination sub-module, it is configured as the date classification with the date property, is defined as described carry Show the date classification on date;
Wherein, belonging to the date of same classification has identical date property.
Alternatively, the date property on the prompting date is working day or nonworkdays.
Alternatively, the setup module, it is configured as to the date in the date classification, when setting has the prompting Between alarm clock.
Alternatively, described device also includes:Output module and the second acquisition module;
The output module, it is configured as in date classification of the setup module according to determination and the prompt time, Before setting the alarm clock, whether output prompting inquiry message, the prompting inquiry message is used to prompt to need according to determination Date classification and the prompt time, set the alarm clock;
Second acquisition module, it is configured as being based on the prompting inquiry message, obtains prompting confirmation;
The setup module, including:Judging submodule and setting submodule;
The judging submodule, it is configured as judging that the prompting confirmation is used to indicate whether to need according to determination Date classification and the prompt time, set the alarm clock;
The setting submodule, it is configured as judging that the prompting confirmation is used to indicate to need in the judging submodule Date classification that will be according to determination and the prompt time, when the alarm clock is set, according to the date classification of determination and described carry Show the time, the alarm clock is set.
Alternatively, the setting submodule, it is additionally configured to judge the prompting confirmation in the judging submodule For indicate need not be according to determination date classification and the prompt time, when the alarm clock is set, to the prompting date, Alarm clock with the prompt time is set.
Alternatively, at least one in the prompting inquiry message and the prompting confirmation is voice.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of terminal, including:Memory, processor and computer Program, the processor run the computer program and perform following method:
Receive the phonetic order that alarm clock is set;
Obtain prompting date and the prompt time of the alarm clock carried in the phonetic order;
The date classification on the prompting date, and the date classification according to determination and the prompt time are determined, institute is set State alarm clock.
Alternatively, the date classification for determining the prompting date, including:
Determine the date property on the prompting date;
By the date classification with the date property, it is defined as the date classification for prompting the date;
Wherein, belonging to the date of same classification has identical date property.
Alternatively, the date property on the prompting date is working day or nonworkdays.
Alternatively, the date classification according to determination and the prompt time, set the alarm clock, including:To described On date in date classification, the alarm clock with the prompt time is set.
Alternatively, the date classification according to determination and the prompt time, before the alarm clock is set, in addition to:
Output prompting inquiry message, the prompting inquiry message be used to prompting whether needing according to the date classification of determination and The prompt time, the alarm clock is set;
Based on the prompting inquiry message, prompting confirmation is obtained;
The date classification according to determination and the prompt time, the alarm clock is set, including:
It is used to indicate to need the date classification according to determination and the prompt time in the prompting confirmation, institute is set When stating alarm clock, according to the date classification of determination and the prompt time, the alarm clock is set.
Alternatively, methods described also includes:
It is described prompting confirmation be used for indicate need not be according to determination date classification and the prompt time, set During the alarm clock, to the prompting date, the alarm clock with the prompt time is set.
Alternatively, at least one in the prompting inquiry message and the prompting confirmation is voice.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of non-transitorycomputer readable storage medium, deposit thereon Computer program is contained, the computer program realizes methods described below when being executed by processor:
Receive the phonetic order that alarm clock is set;
Obtain prompting date and the prompt time of the alarm clock carried in the phonetic order;
The date classification on the prompting date, and the date classification according to determination and the prompt time are determined, institute is set State alarm clock.
Alternatively, the date classification for determining the prompting date, including:
Determine the date property on the prompting date;
By the date classification with the date property, it is defined as the date classification for prompting the date;
Wherein, belonging to the date of same classification has identical date property.
Alternatively, the date property on the prompting date is working day or nonworkdays.
Alternatively, the date classification according to determination and the prompt time, set the alarm clock, including:To described On date in date classification, the alarm clock with the prompt time is set.
Alternatively, the date classification according to determination and the prompt time, before the alarm clock is set, in addition to:
Output prompting inquiry message, the prompting inquiry message be used to prompting whether needing according to the date classification of determination and The prompt time, the alarm clock is set;
Based on the prompting inquiry message, prompting confirmation is obtained;
The date classification according to determination and the prompt time, the alarm clock is set, including:
It is used to indicate to need the date classification according to determination and the prompt time in the prompting confirmation, institute is set When stating alarm clock, according to the date classification of determination and the prompt time, the alarm clock is set.
Alternatively, methods described also includes:
It is described prompting confirmation be used for indicate need not be according to determination date classification and the prompt time, set During the alarm clock, to the prompting date, the alarm clock with the prompt time is set.
Alternatively, at least one in the prompting inquiry message and the prompting confirmation is voice.
The technical scheme provided by this disclosed embodiment can include the following benefits:The language of alarm clock is set by receiving Sound instructs;Prompting date and the prompt time of the alarm clock carried in the phonetic order are obtained, then determines the date on prompting date Classification, then according to the date classification and prompt time of determination, alarm clock is set.Therefore, by phonetic order, not only to prompting Date sets alarm clock, but according to the date classification and prompt time on prompting date, repeat to set alarm clock;Solves prior art A middle the problem of alarm clock can only be set according to phonetic order, efficiency is set so as to improve alarm clock, improves Consumer's Experience.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of alarm clock setting method according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of alarm clock setting method according to another exemplary embodiment.
Fig. 3 is a kind of flow chart of alarm clock setting method according to another exemplary embodiment.
Fig. 4 is a kind of block diagram of alarm clock setting device according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of alarm clock setting device according to another exemplary embodiment.
Fig. 6 is a kind of block diagram of alarm clock setting device according to another exemplary embodiment.
Fig. 7 is a kind of block diagram of alarm clock setting device 800 according to an exemplary embodiment.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings It is not intended to limit the scope of disclosure design by any mode with word description, but is by reference to specific embodiment Those skilled in the art illustrate the concept of the disclosure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of apparatus and method being described in detail in claims, disclosure some aspects are consistent.
Fig. 1 is a kind of flow chart of alarm clock setting method according to an exemplary embodiment, as shown in figure 1, alarm clock Method to set up is used in terminal, comprises the following steps.
In step s 11, the phonetic order that alarm clock is set is received.
In step s 12, prompting date and the prompt time of the alarm clock carried in the phonetic order are obtained.
In step s 13, the date classification on the prompting date, and the date classification according to determination and the prompting are determined Time, the alarm clock is set.
In the present embodiment, the phonetic order that alarm clock is set is received, carrying for the alarm clock that needs are set is carried in the phonetic order Showing date and prompt time, the phonetic order is used for prompting date and the prompt time for setting alarm clock, wherein, prompt the date for example For the information of date, prompt time is, for example, the information of Hour Minute Second, and the present embodiment is not limited this.Then the voice is obtained The prompting date of the alarm clock carried in instruction and prompt time, further according to the prompting date of acquisition, determine the day on prompting date Phase classifies.Then the above-mentioned date classification further according to determination and the above-mentioned prompt time obtained, set alarm clock.
In summary, the alarm clock setting method that the present embodiment provides, the phonetic order of alarm clock is set by receiving;Obtaining should The prompting date of the alarm clock carried in phonetic order and prompt time, then determine the date classification on prompting date, then basis The date classification and prompt time of determination, alarm clock is set.Therefore, by phonetic order, alarm clock not only is set to the prompting date, But according to the date classification and prompt time on prompting date, repeat to set alarm clock;Solve and referred in the prior art according to voice The problem of order can only set an alarm clock, efficiency is set so as to improve alarm clock, improves Consumer's Experience.
Fig. 2 is a kind of flow chart of alarm clock setting method according to another exemplary embodiment, as shown in Fig. 2 noisy Clock method to set up is used in terminal, comprises the following steps.
In the step s 21, the phonetic order that alarm clock is set is received.
In step S22, prompting date and the prompt time of the alarm clock carried in the phonetic order are obtained.
In the present embodiment, S21-S22 specific implementation process may refer to the associated description of embodiment illustrated in fig. 1, herein Repeat no more.
Illustrate below and above-mentioned steps are illustrated, the phonetic order for setting alarm clock is, for example, one section of voice " tomorrow morning 7 Point makes me get up ", the voice can be the voice that the user that the present embodiment collects in real time says.Correspondingly, tomorrow is alarm clock To prompt the date, be the prompt time of alarm clock o'clock sharp in the morning 7, wherein, if being January 1, tomorrow is January 2 today.Therefore, obtain The prompting date of the alarm clock carried in the phonetic order got is January 2, and prompt time was 7 o'clock sharps.
The phonetic order for setting alarm clock is, for example, one section of voice " January 2 reminded me at 7 points at night ", and correspondingly, January 2 was On the prompting date of alarm clock, 7 o'clock sharps were the prompt time of alarm clock at night.Therefore, the alarm clock carried in the phonetic order got The prompting date is January 2, and prompt time was 19 o'clock sharps.
Optionally it is determined that a kind of feasible implementation of the date classification on prompting date can include:Step S23 and S24。
In step S23, the date property on the prompting date is determined.
In step s 24, by the date classification with the date property, the date for being defined as the prompting date divides Class.
In the present embodiment, each date has date property corresponding to the date, and belongs to the date tool of same classification There is identical date property, i.e., the date with identical date property belongs to the date of same classification.Therefore, the present embodiment root According to the prompting date, the date property on prompting date is determined, then determines the date classification with the date property, therefore this is carried Show that the date belongs to the date classification, so as to which the date classification with the date property is defined as the prompting date by the present embodiment Date classification.
Alternatively, the date property on the prompting date is working day or nonworkdays.The date on date in the present embodiment Attribute is divided into two kinds, and one kind is working day, and another kind is nonworkdays, if January 2 was working day, the present embodiment determines The date property on the January 2 is working day, it is determined that being workaday date classification with date property, i.e. the date is categorized as work Make day classification, it is then determined that being working day classification for the date classification on the prompting date.If January 2 was nonworkdays, The present embodiment determines that the date property on the January 2 is nonworkdays, it is determined that being the date point of nonworkdays with date property Class, i.e. date are categorized as nonworkdays classification, it is then determined that being nonworkdays classification for the date classification on the prompting date.Its In, above-mentioned nonworkdays can include public holiday and weekend.
Alternatively, the date property on the prompting date is one in the Summer Solstice or the Winter Solstice on Monday.The date on date in the present embodiment Attribute is divided into seven kinds, respectively Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.If January 2 Day is Monday, then the present embodiment determines that the date property on the January 2 is Monday, it is determined that being Monday with date property Date classification, i.e. the date is categorized as Monday classification, it is then determined that the date classification for the prompting date is Monday point Class.
Alternatively, the date property on the prompting date is even number date or odd number date.The day on date in the present embodiment Phase attribute is divided into two kinds, and one kind is the even number date, and another kind is the odd number date.Such as January 2 was the even number date, then this implementation Example determines that the date property on the January 2 is the even number date, it is determined that with the date classification that date property is the even number date, this day Phase is categorized as even number date classification, it is then determined that the date classification for the prompting date is even number date classification.
It should be noted that the date property in the present embodiment is not limited to the example above.
Alternatively, can be user set or default setting above-mentioned date property according to the hobby of oneself Date property.
Alternatively, according to the date classification and prompt time of determination, set a kind of feasible implementation of alarm clock can be with Including:Step S25.
In step s 25, to the date in the date classification, the alarm clock with the prompt time is set.
In the present embodiment, after the date classification for determining the above-mentioned prompting date, to the date in the date classification, setting has The alarm clock of the prompt time, such as:To the date in the date classification, 7 points of alarm clock in morning is set, so as to reach to same The date of date classification, repetition set the purpose of same alarm clock.
If date classification is classified for working day, to all working day, 7 points of alarm clock in morning is set.
If date classification is Monday, to all Mondays, 7 points of alarm clock in morning is set.
If date classification is the even number date, to all even number dates, 7 points of alarm clock in morning is set.
In summary, the alarm clock setting method that the present embodiment provides, the phonetic order of alarm clock is set by receiving;Obtaining should The prompting date of the alarm clock carried in phonetic order and prompt time, then determine the date property on the prompting date;And will tool There is the date classification of the date property, be defined as the date classification on the prompting date, then in the date classification On the date, the alarm clock with the prompt time is set.Therefore, by phonetic order, pair same date point is belonged to the prompting date The date of class is respectively provided with identical alarm clock;Solve the problems, such as that an alarm clock can only be set according to phonetic order in the prior art, Efficiency is set so as to improve alarm clock, improves Consumer's Experience.
Fig. 3 is a kind of flow chart of alarm clock setting method according to another exemplary embodiment, as shown in figure 3, noisy Clock method to set up is used in terminal, comprises the following steps.
In step S31, the phonetic order that alarm clock is set is received.
In step s 32, prompting date and the prompt time of the alarm clock carried in the phonetic order are obtained.
In step S33, the date classification on the prompting date is determined.
In the present embodiment, S31-S32 specific implementation process may refer to the associated description of Fig. 1 or embodiment illustrated in fig. 2, Here is omitted.
In step S34, output prompting inquiry message.
In the present embodiment, according to the prompting date, it is determined that after the date classification on prompting date, letter is inquired in output prompting Breath, the prompting inquiry message is used to prompt whether need the date classification according to determination and the prompt time, described in setting Alarm clock.Wherein, inquiry message can be prompted in the present embodiment by voice output, or, prompting inquiry letter is exported by word Breath.
In step s 35, based on the prompting inquiry message, prompting confirmation is obtained.
In the present embodiment, after inquiry message is prompted in output, user can determine whether need according to prompting inquiry message Date classification that will be according to determination and the prompt time, set the alarm clock, then input prompting confirmation, correspondingly, The present embodiment obtains prompting confirmation.Wherein, prompting confirmation for example can be voice messaging in the present embodiment.
In step S36, judge to prompt confirmation to indicate whether to need the date classification according to determination and the prompting Time, the alarm clock is set.If so, S37 is then performed, if it is not, then performing S38.
In the present embodiment, after prompting confirmation is obtained, judge to prompt confirmation to indicate whether to need according to really Fixed date classification and the prompt time, set the alarm clock.Judging prompting confirmation instruction needs according to determination Date classification and the prompt time, when setting the alarm clock, then perform S37, are judging that confirmation instruction need not basis The date classification of determination and the prompt time, when setting the alarm clock, then perform S38.
In step S37, according to the date classification of determination and the prompt time, the alarm clock is set.
In the present embodiment, S37 specific implementation process may refer to the associated description of Fig. 1 or embodiment illustrated in fig. 2, herein Repeat no more.
In step S38, to the prompting date, the alarm clock with the prompt time is set.
In the present embodiment, it is used to indicating according to the date classification of determination and described to carry in the prompting confirmation Show the time, when the alarm clock is set, to the prompting date, the alarm clock with the prompt time is set, such as:To January 2 Set morning 7 points of alarm clock, and pair with belonged to January 2 same date classify other dates be not provided with 7 points of alarm clock in morning.
Such as:The phonetic order that the present embodiment collects be user voice " 7 points of tomorrow morning makes me get up ", this implementation Date classification for example is divided into working day classification for example and nonworkdays is classified, if the present embodiment judges for January 2, to belong to tomorrow Working day classifies, then " whether 7 points of morning every workday all makes you rise to the prompting inquiry message of the present embodiment output voice Bed ".If user needs to be respectively provided with the every workday in 7 points of alarm clock in morning, user can input voice " good ", " good " Voice is used to indicate to need to be respectively provided with working day in 7 points of alarm clock in morning, and then the present embodiment is respectively provided with morning to the every workday Upper 7 points of alarm clock.If user need not be respectively provided with 7 points of alarm clock in morning to the every workday, user can input voice " bad ", the voice of " bad " are used to indicate that confirmation is not respectively provided with working day in 7 points of alarm clock in morning, and then the present embodiment is only right Tomorrow sets 7 points of alarm clock in morning.
In summary, the alarm clock setting method that the present embodiment provides, the phonetic order of alarm clock is set by receiving;Obtaining should The prompting date of the alarm clock carried in phonetic order and prompt time, then the date classification on prompting date is determined, then obtaining When the prompting confirmation instruction got needs date classification and the prompt time according to determination, according to the date of determination point Class and prompt time, alarm clock is set.Therefore, by phonetic order, alarm clock not only is set to the prompting date, but according to prompting The date classification and prompt time on date, repeat to set alarm clock;One can only be set according to phonetic order in the prior art by solving The problem of secondary alarm clock, efficiency is set so as to improve alarm clock, improves Consumer's Experience, and could pass through one when user agrees to Secondary voice sets multiple alarm clock, ensure that user's is handling.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.It is real for disclosure device The details not disclosed in example is applied, refer to embodiments of the present disclosure.
Fig. 4 is a kind of block diagram of alarm clock setting device according to an exemplary embodiment.The alarm clock sets device can With being implemented in combination with as some or all of of the electronic equipment comprising touching display screen by software, hardware or both. Reference picture 4, the device include receiving module 410, the first acquisition module 420, determining module 430 and setup module 440.
Receiving module 410, it is configured as receiving the phonetic order for setting alarm clock.
First acquisition module 420, it is configured as obtaining prompting date and the prompting of the alarm clock carried in the phonetic order Time.
Determining module 430, it is configured to determine that the date classification on the prompting date.
Setup module 440, it is configured as the date classification and the first acquisition module determined according to determining module 430 420 prompt times obtained, set the alarm clock.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 5 is a kind of block diagram of alarm clock setting device according to another exemplary embodiment.The alarm clock sets device The part or complete being implemented in combination with as the electronic equipment comprising touching display screen of software, hardware or both can be passed through Portion.Reference picture 5, on the basis of Fig. 4 shown device embodiments, the determining module 430 includes the device of the present embodiment:First The determination sub-module 432 of determination sub-module 431 and second.
First determination sub-module 431, it is configured to determine that the date property on the prompting date.
Second determination sub-module 432, it is configured as the date classification with the date property, is defined as described Prompt the date classification on date.
Wherein, belonging to the date of same classification has identical date property.
Alternatively, the date property on the prompting date is working day or nonworkdays.
Alternatively, the setup module 440, it is configured as to the date in the date classification, setting has described carry Show the alarm clock of time.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 6 is a kind of block diagram of alarm clock setting device according to another exemplary embodiment.The alarm clock sets device The part or complete being implemented in combination with as the electronic equipment comprising touching display screen of software, hardware or both can be passed through Portion.Reference picture 6, on the basis of Fig. 4 or Fig. 5 shown device embodiments, described device also includes the device of the present embodiment:Output The acquisition module 460 of module 450 and second.
The output module 450, it is configured as in date classification of the setup module 440 according to determination and the prompting Time, before setting the alarm clock, whether output prompting inquiry message, the prompting inquiry message is used to prompt to need according to really Fixed date classification and the prompt time, set the alarm clock.
Second acquisition module 460, the prompting inquiry message exported based on output module 450 is configured as, is obtained Take prompting confirmation.
The setup module 440, including:Judging submodule 441 and setting submodule 442.
The judging submodule 441, it is configured as judging that the prompting confirmation that the second acquisition module 460 obtains is used In indicating whether date classification and the prompt time of the needs according to determination, the alarm clock is set.
The setting submodule 442, it is configured as judging that the prompting confirmation is used in the judging submodule 441 Indicate to need date classification according to determination and the prompt time, when the alarm clock is set, according to the date classification of determination and The prompt time, the alarm clock is set.
Alternatively, the setting submodule 442, it is additionally configured to judge that the prompting is true in the judging submodule 441 Recognize information be used for indicate need not be according to determination date classification and the prompt time, when the alarm clock is set, carried to described Show the date, the alarm clock with the prompt time is set.
Alternatively, at least one in the prompting inquiry message and the prompting confirmation is voice.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
In addition, according to the embodiment of the present disclosure, a kind of terminal is additionally provided, including:Memory, processor and computer journey Sequence, the processor run the computer program and perform following method:
Receive the phonetic order that alarm clock is set;
Obtain prompting date and the prompt time of the alarm clock carried in the phonetic order;
The date classification on the prompting date, and the date classification according to determination and the prompt time are determined, institute is set State alarm clock.
Alternatively, the date classification for determining the prompting date, including:
Determine the date property on the prompting date;
By the date classification with the date property, it is defined as the date classification for prompting the date;
Wherein, belonging to the date of same classification has identical date property.
Alternatively, the date property on the prompting date is working day or nonworkdays.
Alternatively, the date classification according to determination and the prompt time, set the alarm clock, including:
To the date in the date classification, the alarm clock with the prompt time is set.
Alternatively, the date classification according to determination and the prompt time, before the alarm clock is set, in addition to:
Output prompting inquiry message, the prompting inquiry message be used to prompting whether needing according to the date classification of determination and The prompt time, the alarm clock is set;
Based on the prompting inquiry message, prompting confirmation is obtained;
The date classification according to determination and the prompt time, the alarm clock is set, including:
It is used to indicate to need the date classification according to determination and the prompt time in the prompting confirmation, institute is set When stating alarm clock, according to the date classification of determination and the prompt time, the alarm clock is set.
Alternatively, at least one in the prompting inquiry message and the prompting confirmation is voice.
Alternatively, methods described also includes:
It is described prompting confirmation be used for indicate need not be according to determination date classification and the prompt time, set During the alarm clock, to the prompting date, the alarm clock with the prompt time is set.
Fig. 7 is a kind of block diagram of alarm clock setting device 800 according to an exemplary embodiment.For example, device 800 can To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, it is good for Body equipment, personal digital assistant etc..
Reference picture 7, device 800 can include following one or more assemblies:Processing component 802, memory 804, electric power Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Processing component 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 802 can include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown Example includes the instruction of any application program or method for being operated on device 800, contact data, telephone book data, disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of device 800.Electric power assembly 806 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When device 800 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 804 or via communication set Part 816 is sent.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor cluster 814 can detect opening/closed mode of device 800, and the relative positioning of component, for example, it is described Component is the display and keypad of device 800, and sensor cluster 814 can be with 800 1 components of detection means 800 or device Position change, the existence or non-existence that user contacts with device 800, the orientation of device 800 or acceleration/deceleration and device 800 Temperature change.Sensor cluster 814 can include proximity transducer, be configured to detect in no any physical contact The presence of neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of device 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 800 When device performs so that device 800 is able to carry out a kind of alarm clock setting method, and methods described includes:
Receive the phonetic order that alarm clock is set;
Obtain prompting date and the prompt time of the alarm clock carried in the phonetic order;
The date classification on the prompting date, and the date classification according to determination and the prompt time are determined, institute is set State alarm clock.
Alternatively, the date classification for determining the prompting date, including:
Determine the date property on the prompting date;
By the date classification with the date property, it is defined as the date classification for prompting the date;
Wherein, belonging to the date of same classification has identical date property.
Alternatively, the date property on the prompting date is working day or nonworkdays.
Alternatively, the date classification according to determination and the prompt time, set the alarm clock, including:
To the date in the date classification, the alarm clock with the prompt time is set.
Alternatively, the date classification according to determination and the prompt time, before the alarm clock is set, in addition to:
Output prompting inquiry message, the prompting inquiry message be used to prompting whether needing according to the date classification of determination and The prompt time, the alarm clock is set;
Based on the prompting inquiry message, prompting confirmation is obtained;
The date classification according to determination and the prompt time, the alarm clock is set, including:
It is used to indicate to need the date classification according to determination and the prompt time in the prompting confirmation, institute is set When stating alarm clock, according to the date classification of determination and the prompt time, the alarm clock is set.
Alternatively, at least one in the prompting inquiry message and the prompting confirmation is voice.
Alternatively, methods described also includes:
It is described prompting confirmation be used for indicate need not be according to determination date classification and the prompt time, set During the alarm clock, to the prompting date, the alarm clock with the prompt time is set.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claims are pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claims System.

Claims (14)

  1. A kind of 1. alarm clock setting method, it is characterised in that including:
    Receive the phonetic order that alarm clock is set;
    Obtain prompting date and the prompt time of the alarm clock carried in the phonetic order;
    The date classification on the prompting date, and the date classification according to determination and the prompt time are determined, is set described noisy Clock.
  2. 2. according to the method for claim 1, it is characterised in that the date classification for determining the prompting date, including:
    Determine the date property on the prompting date;
    By the date classification with the date property, it is defined as the date classification for prompting the date;
    Wherein, belonging to the date of same classification has identical date property.
  3. 3. according to the method for claim 2, it is characterised in that the date property on the prompting date is working day or non- Working day.
  4. 4. according to the method for claim 1, it is characterised in that during date classification and the prompting according to determination Between, the alarm clock is set, including:
    To the date in the date classification, the alarm clock with the prompt time is set.
  5. 5. according to the method described in claim 1-4 any one, it is characterised in that the date classification and institute according to determination Prompt time is stated, before the alarm clock is set, in addition to:
    Whether output prompting inquiry message, the prompting inquiry message are used to prompting needing according to the date classification of determination and described Prompt time, the alarm clock is set;
    Based on the prompting inquiry message, prompting confirmation is obtained;
    The date classification according to determination and the prompt time, the alarm clock is set, including:
    It is used to indicate to need the date classification according to determination and the prompt time in the prompting confirmation, sets described noisy Zhong Shi, according to the date classification of determination and the prompt time, the alarm clock is set.
  6. 6. according to the method for claim 5, it is characterised in that in the prompting inquiry message and the prompting confirmation At least one of be voice;And/or
    Methods described also includes:
    The prompting confirmation be used to indicating need not be according to determination date classification and the prompt time, described in setting During alarm clock, to the prompting date, the alarm clock with the prompt time is set.
  7. 7. a kind of alarm clock sets device, it is characterised in that including:
    Receiving module, it is configured as receiving the phonetic order for setting alarm clock;
    First acquisition module, it is configured as obtaining prompting date and the prompt time of the alarm clock carried in the phonetic order;
    Determining module, it is configured to determine that the date classification on the prompting date;
    Setup module, the date classification according to determination and the prompt time are configured as, the alarm clock is set.
  8. 8. device according to claim 7, it is characterised in that the determining module includes:First determination sub-module and Two determination sub-modules;
    First determination sub-module, it is configured to determine that the date property on the prompting date;
    Second determination sub-module, it is configured as the date classification with the date property, is defined as the prompting day The date classification of phase;
    Wherein, belonging to the date of same classification has identical date property.
  9. 9. device according to claim 8, it is characterised in that the date property on the prompting date is working day or non- Working day.
  10. 10. device according to claim 7, it is characterised in that the setup module, be configured as to the date classification In date, set with the prompt time alarm clock.
  11. 11. according to the device described in claim 7-10 any one, it is characterised in that described device also includes:Output module With the second acquisition module;
    The output module, it is configured as, in date classification of the setup module according to determination and the prompt time, setting Before the alarm clock, output prompting inquiry message, the prompting inquiry message is used to prompt whether to need the date according to determination Classification and the prompt time, set the alarm clock;
    Second acquisition module, it is configured as being based on the prompting inquiry message, obtains prompting confirmation;
    The setup module, including:Judging submodule and setting submodule;
    The judging submodule, it is configured as judging that the prompting confirmation is used to indicate whether to need the date according to determination Classification and the prompt time, set the alarm clock;
    The setting submodule, it is configured as judging that the prompting confirmation is used for instruction and needs root in the judging submodule Date classification and the prompt time according to determination, when the alarm clock is set, during according to the date classification of determination and the prompting Between, the alarm clock is set.
  12. 12. device according to claim 11, it is characterised in that the prompting inquiry message and the prompting confirmation In at least one of be voice;And/or
    The setting submodule, it is additionally configured to judge that the prompting confirmation is not required to for instruction in the judging submodule Date classification that will be according to determination and the prompt time, when the alarm clock is set, to the prompting date, set described in having The alarm clock of prompt time.
  13. A kind of 13. terminal, it is characterised in that including:Memory, processor and computer program, the processor run institute State computer program and perform method as claimed in any one of claims 1 to 6.
  14. 14. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, it is characterised in that the meter The step of calculation machine program realizes method as claimed in any one of claims 1 to 6 when being executed by processor.
CN201710550079.9A 2017-07-07 2017-07-07 Alarm clock setting method and device Active CN107423950B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710550079.9A CN107423950B (en) 2017-07-07 2017-07-07 Alarm clock setting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710550079.9A CN107423950B (en) 2017-07-07 2017-07-07 Alarm clock setting method and device

Publications (2)

Publication Number Publication Date
CN107423950A true CN107423950A (en) 2017-12-01
CN107423950B CN107423950B (en) 2021-07-23

Family

ID=60427034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710550079.9A Active CN107423950B (en) 2017-07-07 2017-07-07 Alarm clock setting method and device

Country Status (1)

Country Link
CN (1) CN107423950B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989401A (en) * 2018-07-02 2018-12-11 百度在线网络技术(北京)有限公司 Alarm clock setting method, device, terminal, server and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1406133A2 (en) * 2002-10-03 2004-04-07 Ewig Industries Co., LTD. Voice-commanded alarm clock system and associated method
CN101859093A (en) * 2010-06-01 2010-10-13 华为终端有限公司 Realizing method and device of alarm clock in electronic equipment
CN102082855A (en) * 2010-12-30 2011-06-01 东莞宇龙通信科技有限公司 Method for realizing alarm clock reminding on electronic terminal and electronic terminal
CN102750630A (en) * 2012-07-09 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Method and device for automatically adjusting clock
CN102957771A (en) * 2011-08-31 2013-03-06 深圳富泰宏精密工业有限公司 Method and system for setting alarm clock
CN103475786A (en) * 2013-09-25 2013-12-25 上海斐讯数据通信技术有限公司 Method and system for setting mobile terminal alarm clock
US20150148023A1 (en) * 2013-11-22 2015-05-28 Acer Inc. System and Method for Managing an Alarm Clock
CN104853031A (en) * 2015-03-19 2015-08-19 惠州Tcl移动通信有限公司 Method and terminal for controlling alarm clock
CN104885022A (en) * 2012-09-10 2015-09-02 胡尉好 System and method for alarm and calendar event management
CN104951077A (en) * 2015-06-24 2015-09-30 百度在线网络技术(北京)有限公司 Man-machine interaction method and device based on artificial intelligence and terminal equipment
CN105872204A (en) * 2016-03-17 2016-08-17 北京百纳威尔科技有限公司 Alarm clock control method and apparatus and electronic equipment
CN106409295A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Method and apparatus for recognizing time information from natural voice information
CN106921794A (en) * 2017-02-09 2017-07-04 歌尔股份有限公司 Alarm clock implementing method and device on a kind of smart machine

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1406133A2 (en) * 2002-10-03 2004-04-07 Ewig Industries Co., LTD. Voice-commanded alarm clock system and associated method
CN101859093A (en) * 2010-06-01 2010-10-13 华为终端有限公司 Realizing method and device of alarm clock in electronic equipment
CN102082855A (en) * 2010-12-30 2011-06-01 东莞宇龙通信科技有限公司 Method for realizing alarm clock reminding on electronic terminal and electronic terminal
CN102957771A (en) * 2011-08-31 2013-03-06 深圳富泰宏精密工业有限公司 Method and system for setting alarm clock
CN102750630A (en) * 2012-07-09 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Method and device for automatically adjusting clock
CN104885022A (en) * 2012-09-10 2015-09-02 胡尉好 System and method for alarm and calendar event management
CN103475786A (en) * 2013-09-25 2013-12-25 上海斐讯数据通信技术有限公司 Method and system for setting mobile terminal alarm clock
US20150148023A1 (en) * 2013-11-22 2015-05-28 Acer Inc. System and Method for Managing an Alarm Clock
CN104853031A (en) * 2015-03-19 2015-08-19 惠州Tcl移动通信有限公司 Method and terminal for controlling alarm clock
CN104951077A (en) * 2015-06-24 2015-09-30 百度在线网络技术(北京)有限公司 Man-machine interaction method and device based on artificial intelligence and terminal equipment
CN106409295A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Method and apparatus for recognizing time information from natural voice information
CN105872204A (en) * 2016-03-17 2016-08-17 北京百纳威尔科技有限公司 Alarm clock control method and apparatus and electronic equipment
CN106921794A (en) * 2017-02-09 2017-07-04 歌尔股份有限公司 Alarm clock implementing method and device on a kind of smart machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989401A (en) * 2018-07-02 2018-12-11 百度在线网络技术(北京)有限公司 Alarm clock setting method, device, terminal, server and storage medium
CN108989401B (en) * 2018-07-02 2020-11-24 百度在线网络技术(北京)有限公司 Alarm clock setting method, device, terminal, server and storage medium

Also Published As

Publication number Publication date
CN107423950B (en) 2021-07-23

Similar Documents

Publication Publication Date Title
CN104378441B (en) schedule creation method and device
CN104731688B (en) Point out the method and device of reading progress
CN105554253A (en) Event prompting method and device, and terminal
CN107222391A (en) Group's based reminding method, device and equipment
CN104156204B (en) Set up the method and device of calendar entry
CN106921797A (en) Information prompting method and device
CN106919629A (en) The method and device of information sifting is realized in group chat
CN107071179A (en) Agenda managing method and device
CN104219648B (en) Prompt the method and device of charging information
CN106774802A (en) The reminding method of terminal power, device and terminal
CN106303008A (en) Information prompting method and device
CN106789554A (en) The method and device of short message treatment
CN104394137B (en) A kind of method and device of prompting voice call
CN104536753B (en) Backlog labeling method and device
CN106843627A (en) The recording method of calendar event, device and equipment
CN107423950A (en) Alarm clock setting method and device
CN107135147A (en) Method, device and the computer-readable recording medium of sharing position information
CN106936986A (en) Application processing method and device
CN106775646A (en) Alarm clock control method and device
CN106325670A (en) Message prompting method and device
CN105868964A (en) Information presenting method and device
CN105516465A (en) Methods, apparatuses and system for cancelling reminding event
CN107896277A (en) The method, apparatus and computer-readable recording medium of setting alarm clock alerting pattern
CN104244202A (en) Information reminding method and device
CN107809538A (en) Alarm clock prompting method, device and computer-readable recording medium

Legal Events

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