CN105554273A - Alarm clock reminding method and terminal - Google Patents

Alarm clock reminding method and terminal Download PDF

Info

Publication number
CN105554273A
CN105554273A CN201510937894.1A CN201510937894A CN105554273A CN 105554273 A CN105554273 A CN 105554273A CN 201510937894 A CN201510937894 A CN 201510937894A CN 105554273 A CN105554273 A CN 105554273A
Authority
CN
China
Prior art keywords
music
alarm clock
keyword
weather information
terminal
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
CN201510937894.1A
Other languages
Chinese (zh)
Other versions
CN105554273B (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.)
Meizu Technology China Co Ltd
Original Assignee
Meizu Technology China 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 Meizu Technology China Co Ltd filed Critical Meizu Technology China Co Ltd
Priority to CN201510937894.1A priority Critical patent/CN105554273B/en
Publication of CN105554273A publication Critical patent/CN105554273A/en
Application granted granted Critical
Publication of CN105554273B publication Critical patent/CN105554273B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications

Abstract

The invention discloses an alarm clock reminding method. The method comprises: receiving weather information at an alarm clock reminding moment; acquiring audio matched with the received weather information at the alarm clock reminding moment according to a preset rule; and when the alarm clock reminding moment arrives, reminding a user according to the audio. The embodiments of the invention further provide a terminal. By adopting the method, audio matched with the weather information can be acquired according to the weather information for reminding.

Description

A kind of alarm clock prompting method and terminal
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of alarm clock prompting method and terminal.
Background technology
Alarm clock can send acoustic signal or other signals according to the moment of people's setting, and conveniently user uses alarm clock, is all provided with alarm clock program, possesses alarm clock calling function in current terminal equipment (such as smart mobile phone, panel computer etc.).Find in actual applications, when reaching the prompting moment, the alerting pattern that terminal equipment presets according to user is usually reminded, and alarm clock calling mode cannot be selected intelligently to remind.
Summary of the invention
The embodiment of the present invention provides a kind of alarm clock prompting method and terminal, reminds for obtaining according to Weather information the audio frequency matched with described Weather information.
Embodiment of the present invention first aspect provides a kind of alarm clock prompting method, comprising:
Receive the Weather information in alarm clock calling moment;
According to preset rules, obtain the audio frequency matched with the Weather information in the alarm clock calling moment of described reception;
When arriving the described alarm clock calling moment, according to described audio alert user.
In conjunction with embodiment of the present invention first aspect, according to preset rules described in the first possible implementation of first aspect, obtain the audio frequency matched with the Weather information in the alarm clock calling moment of described reception, comprising:
Extract the keyword in described Weather information;
Obtain the music/preset voice comprising described keyword, and described music/preset voice are set to audio frequency.
In conjunction with the first possible implementation of embodiment of the present invention first aspect, in the implementation that the second of first aspect is possible, described acquisition comprises the music/preset voice of described keyword, and described music/preset voice are set to audio frequency, comprise:
The music of described keyword is contained in terminal local or network side inquiry packet;
The music comprising described keyword if inquire is multiple, then by described multiple music, comprise the music of maximum described keyword as audio frequency;
The music comprising described keyword if inquire is one, then using a described music as audio frequency.
In conjunction with in the implementation that the first or the second of embodiment of the present invention first aspect, first aspect are possible, in the third possible implementation of first aspect, before the Weather information in described reception alarm clock calling moment, described method also comprises:
When the number of times that an online music is set to alarm clock calling mode exceedes predetermined threshold value, download described online music, and Weather information when being reminded by described online music binds described online music.
In conjunction with embodiment of the present invention first aspect, first aspect the first to the third in any one possible implementation, in the third possible implementation of first aspect, described according to after described alarm clock calling mode reminding user, described based reminding method also comprises:
Weather information described in prompting user.
Embodiment of the present invention second aspect provides a kind of terminal, comprising:
Receiving element, for receiving the Weather information in alarm clock calling moment;
Acquiring unit, for according to preset rules, obtains the audio frequency matched with the Weather information in the alarm clock calling moment of described reception;
Reminding unit, for when arriving the described alarm clock calling moment, according to the described audio alert user that described second acquisition unit gets.
In conjunction with embodiment of the present invention second aspect, in the first possible implementation of second aspect, described acquiring unit comprises:
Extraction unit, for extracting the keyword in described Weather information;
Described music/preset voice for obtaining the music/preset voice comprising the described keyword that described extraction unit extracts, and are set to audio frequency by setting unit.
In conjunction with the first possible implementation of embodiment of the present invention second aspect, in the implementation that the second of second aspect is possible, described setting unit specifically for:
The music of described keyword is contained in terminal local or network side inquiry packet;
The music comprising described keyword if inquire is multiple, then by described multiple music, comprise the music of maximum described keyword as audio frequency;
The music comprising described keyword if inquire is one, then using a described music as audio frequency.
In conjunction with the implementation that embodiment of the present invention second aspect, second aspect the first or the second are possible, in the third possible implementation of second aspect, described terminal also comprises:
Download unit, for when the number of times that an online music is set to alarm clock calling mode exceedes predetermined threshold value, downloads described online music;
Binding unit, Weather information during for being reminded by described online music binds described online music.
In conjunction with embodiment of the present invention second aspect, second aspect the first to the third any one possible implementation, in the 4th kind of possible implementation of second aspect, described terminal also comprises:
Tip element, for pointing out Weather information described in user.
Implement the embodiment of the present invention, there is following beneficial effect:
In the embodiment of the present invention, receive the Weather information in alarm clock calling moment; According to preset rules, obtain the audio frequency matched with the Weather information in the alarm clock calling moment of described reception; When arriving the described alarm clock calling moment, according to described audio alert user.Can only remind according to the alarm clock calling mode that user is pre-set compared to prior art, the present invention obtains according to Weather information the audio frequency matched with described Weather information and reminds, alerting pattern is various, and what be more conducive to meets the changeable demand of user flexibility under some scenes.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
First embodiment flow chart of the alarm clock prompting method that Fig. 1 provides for the embodiment of the present invention;
Second embodiment flow chart of the alarm clock prompting method that Fig. 2 provides for the embodiment of the present invention;
3rd embodiment flow chart of the alarm clock prompting method that Fig. 3 provides for the embodiment of the present invention;
The structural representation of the terminal that Fig. 4 provides for the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of alarm clock prompting method and terminal, reminds for obtaining according to Weather information the audio frequency matched with described Weather information.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
Below be described in detail respectively.
Term " first ", " second ", " the 3rd " and " the 4th " etc. in specification of the present invention and claims and described accompanying drawing are for distinguishing different object, instead of for describing particular order.In addition, term " comprises " and " having " and their any distortion, and intention is to cover not exclusive comprising.Such as contain the process of series of steps or unit, method, system, product or equipment and be not defined in the step or unit listed, but also comprise the step or unit do not listed alternatively, or also comprise alternatively for other intrinsic step of these processes, method, product or equipment or unit.
Mention that " embodiment " means in this article, the special characteristic in conjunction with the embodiments described, structure or characteristic can comprise at least one embodiment of the present invention.Each position in the description occurs that this phrase might not all refer to identical embodiment, neither with other embodiment mutual exclusion independently or alternative embodiment.Those skilled in the art's explicitly and implicitly understanding, embodiment described herein can combine with other embodiment.
First embodiment flow chart of a kind of alarm clock prompting method first provided for the embodiment of the present invention see Fig. 1, Fig. 1.Wherein, as shown in Figure 1, a kind of alarm clock prompting method that one embodiment of the present of invention provide can comprise step S101 ~ S103:
S101, terminal receive the Weather information in alarm clock calling moment.
Optionally, the embodiment that terminal receives the Weather information in alarm clock calling moment can be: terminal sends the acquisition request of the Weather information obtaining the alarm clock calling moment to the webserver, if terminal receives the above-mentioned acquisition request of above-mentioned network server response and send the response message of the Weather information carrying the alarm clock calling moment, wherein, above-mentioned Weather information comprise temperature information, humidity information, Geothermal Information, wind direction information, wind speed information, precipitation information, sunshine information, pressure information, weather phenomenon information etc.
Wherein, above-mentioned terminal can be such as below in any one or all, smart phone, wearable device (individual maincenter), individual or mobile multimedia player, personal digital assistant (PDA), laptop computer, panel computer, intelligence originally, palmtop computer and similar personal electronic equipments, above-mentioned mobile terminal can comprise network interface, processor, memory, audio frequency processing circuit, microphone, camera, photoflash lamp, and comprise and at inside or outside audio frequency amplifier and the loudspeaker unit being connected to audio frequency amplifier can be comprised.
S102, described terminal, according to preset rules, obtain the audio frequency matched with the Weather information in the alarm clock calling moment of described reception.
Optionally, terminal is according to preset rules, and the embodiment obtaining the audio frequency matched with the Weather information in the alarm clock calling moment of described reception can be: terminal extracts the keyword in described Weather information; Terminal obtains the music/preset voice comprising described keyword, and described music/preset voice are set to audio frequency.
Optionally, terminal obtains the music/preset voice comprising described keyword, and the embodiment described music/preset voice being set to audio frequency can be: terminal contains the music of described keyword in terminal local or network side inquiry packet: the music comprising described keyword if inquire is multiple, then terminal is by described multiple music, comprises the music of maximum described keyword as audio frequency; The music comprising described keyword if inquire is one, then terminal using a described music as audio frequency.
S103, when arrive the described alarm clock calling moment time, described according to described audio alert user.
Can find out, in the embodiment of the present invention, receive the Weather information in alarm clock calling moment; According to preset rules, obtain the audio frequency matched with the Weather information in the alarm clock calling moment of described reception; When arriving the described alarm clock calling moment, according to described audio alert user.Can only remind according to the alarm clock calling mode that user is pre-set compared to prior art, the present invention obtains according to Weather information the audio frequency matched with described Weather information and reminds, alerting pattern is various, and what be more conducive to meets the changeable demand of user flexibility under some scenes.
Optionally, receive the Weather information in alarm clock calling moment in terminal before, the alarm clock prompting method shown in Fig. 1 also comprises:
When the number of times that some online musics are set to alarm clock calling mode exceedes predetermined threshold value, a certain online music described in terminal downloads, and the described some online musics of Weather information binding when described some online musics are reminded.
Optionally, after terminal is according to described alarm clock calling mode reminding user, the alarm clock prompting method shown in Fig. 1 also comprises:
Weather information described in terminal notifying user.
Refer to Fig. 2, the second embodiment flow chart of a kind of alarm clock prompting method that Fig. 2 provides for the embodiment of the present invention.Wherein, as shown in Figure 2, a kind of alarm clock prompting method that one embodiment of the present of invention provide can comprise step S201 ~ S206:
S201, terminal receive the Weather information in alarm clock calling moment.
Optionally, the embodiment that terminal receives the Weather information in alarm clock calling moment can be: terminal sends the acquisition request of the Weather information obtaining the alarm clock calling moment to the webserver, if terminal receives the above-mentioned acquisition request of above-mentioned network server response and send the response message of the Weather information carrying the alarm clock calling moment, wherein, above-mentioned Weather information comprise temperature information, humidity information, Geothermal Information, wind direction information, wind speed information, precipitation information, sunshine information, pressure information, weather phenomenon information etc.
Wherein, above-mentioned terminal can be such as below in any one or all, smart phone, wearable device (individual maincenter), individual or mobile multimedia player, personal digital assistant (PDA), laptop computer, panel computer, intelligence originally, palmtop computer and similar personal electronic equipments, above-mentioned mobile terminal can comprise network interface, processor, memory, audio frequency processing circuit, microphone, camera, photoflash lamp, and comprise and at inside or outside audio frequency amplifier and the loudspeaker unit being connected to audio frequency amplifier can be comprised.
S202, described terminal extract the keyword in described Weather information.
In the embodiment of the present invention, the Weather information that terminal parses above-mentioned steps S201 gets, to extract the keyword comprised in above-mentioned Weather information, for example, it is more weak etc. that above-mentioned Weather information is that thunder shower turns heavy rain, temperature 32 ° ~ 26 °, gentle breeze, relative humidity 68%, uitraviolet intensity, and it can be such as " rain ", " rainy day ", " humidity is higher " etc. that terminal extracts the keyword comprised in above-mentioned Weather information.
S203, described terminal obtain the music/preset voice comprising described keyword.
In the embodiment of the present invention, terminal can store in the file of music/preset voice in terminal local, obtains the music/preset voice comprising above-mentioned keyword; Terminal can also obtain the music/preset voice comprising above-mentioned keyword from the webserver.The file of above-mentioned music/preset voice.Above-mentioned music/preset voice just can comprise any one in the keyword that above-mentioned steps S202 gets, and also can be that it is N number of arbitrarily to comprise in keyword that above-mentioned steps S202 gets, wherein, N be greater than 1 integer.For example, if the keyword that above-mentioned steps S202 gets comprises " rain ", be stored in the lyrics in terminal local or a certain music of network side/preset voice or voice content includes " rain " keyword, then represent that this certain music/preset voice are the music/preset voice comprising above-mentioned keyword.
Described music/preset voice are set to audio frequency by S204, described terminal.
In the embodiment of the present invention, if above-mentioned steps S203 obtains the quantity comprising the music/preset voice of above-mentioned keyword when being multiple, any one music in the music of above-mentioned keyword/preset voice/preset voice can be set to audio frequency by terminal; The music comprising maximum described keyword/preset voice in the music of above-mentioned keyword/preset voice also can be set to audio frequency by terminal; Terminal also can be maximum by the alarm clock calling mode that the is set to number of times in the music of above-mentioned keyword/preset voice music/preset voice be set to above-mentioned alarm clock calling mode; Same terminal also can be selected a music/preset voice by other means and be set to audio frequency from the music/preset voice of above-mentioned keyword.If above-mentioned steps S203 obtains the quantity comprising the music/preset voice of above-mentioned keyword when being one, terminal can be set to audio frequency by the music of this keyword/preset voice.
S205, when arrive the described alarm clock calling moment time, described terminal is according to described audio alert user.
Weather information described in S206, described terminal notifying user.
Optionally, the embodiment of the above-mentioned Weather information of terminal notifying user can be: terminal points out user above-mentioned Weather information by voice message mode, also can be that terminal points out user above-mentioned Weather information in a text form on display interface, same terminal also can point out user above-mentioned current weather information by other means.
It should be noted that, after according to alarm clock calling mode reminding user, prompting user current weather information, user can be made to understand current Weather information, better daily preparation is done according to Weather information, such as, it is more weak etc. that current Weather information is that thunder shower turns heavy rain, temperature 32 ° ~ 26 °, gentle breeze, relative humidity 68%, uitraviolet intensity, and user gos out and rain gear can be with to prevent from being moistened by rain.For another example, if current Weather information is reminded, current temperature is higher, ultraviolet is comparatively strong, and user can carry out sun-proof preparation etc.
Can find out, in the embodiment of the present invention, receive the Weather information in alarm clock calling moment; According to preset rules, obtain the audio frequency matched with the Weather information in the alarm clock calling moment of described reception; When arriving the described alarm clock calling moment, according to described audio alert user.Can only remind according to the alarm clock calling mode that user is pre-set compared to prior art, the present invention obtains according to Weather information the audio frequency matched with described Weather information and reminds, alerting pattern is various, and what be more conducive to meets the changeable demand of user flexibility under some scenes.
In addition, after according to above-mentioned alarm clock calling mode reminding user, prompting user Weather information recognizes current weather to make user, thus user can be made according to current weather to prepare the wearing needed.
Refer to Fig. 3, the 3rd embodiment flow chart of a kind of alarm clock prompting method that Fig. 3 provides for the embodiment of the present invention.Wherein, as shown in Figure 3, a kind of alarm clock prompting method that one embodiment of the present of invention provide can comprise step S301 ~ S306:
S301, terminal receive the Weather information in alarm clock calling moment.
Optionally, the embodiment that terminal receives the Weather information in alarm clock calling moment can be: terminal sends the acquisition request of the Weather information obtaining the alarm clock calling moment to the webserver, if terminal receives the above-mentioned acquisition request of above-mentioned network server response and send the response message of the Weather information carrying the alarm clock calling moment, wherein, above-mentioned Weather information comprise temperature information, humidity information, Geothermal Information, wind direction information, wind speed information, precipitation information, sunshine information, pressure information, weather phenomenon information etc.
Wherein, above-mentioned terminal can be such as below in any one or all, smart phone, wearable device (individual maincenter), individual or mobile multimedia player, personal digital assistant (PDA), laptop computer, panel computer, intelligence originally, palmtop computer and similar personal electronic equipments, above-mentioned mobile terminal can comprise network interface, processor, memory, audio frequency processing circuit, microphone, camera, photoflash lamp, and comprise and at inside or outside audio frequency amplifier and the loudspeaker unit being connected to audio frequency amplifier can be comprised.
S302, described terminal extract the keyword in described Weather information.
In the embodiment of the present invention, the Weather information that terminal parses above-mentioned steps S301 gets, to extract the keyword comprised in above-mentioned Weather information, for example, it is more weak etc. that above-mentioned Weather information is that thunder shower turns heavy rain, temperature 32 ° ~ 26 °, gentle breeze, relative humidity 68%, uitraviolet intensity, and it can be such as " rain ", " rainy day ", " humidity is higher " etc. that terminal extracts the keyword comprised in above-mentioned Weather information.
S303, described terminal contain the music of described keyword in terminal local or network side inquiry packet.
In an inventive embodiments, terminal contains the music of above-mentioned keyword embodiment in terminal local inquiry packet is: the lyrics that the keyword that above-mentioned steps S302 gets by terminal is corresponding with the music being stored in terminal local mate, if the keyword that above-mentioned steps S302 gets matches with some lyrics in the lyrics be stored in a certain music of terminal local, then terminal obtains above-mentioned a certain music.For example, if the keyword that above-mentioned steps S302 gets comprises " rain ", in the lyrics of a certain music that terminal local stores, promising " rainy day " or " raining " etc. follow the keyword that " rain " is relevant, then a certain music is the music comprising above-mentioned keyword.
In another inventive embodiments, terminal contains the music of above-mentioned keyword embodiment in terminal local inquiry packet is: the title of the song that the keyword that above-mentioned steps S302 gets by terminal is corresponding with the music being stored in terminal local is mated, if the keyword that above-mentioned steps S302 gets matches with some lyrics in the title of the song be stored in a certain music of terminal local, then terminal obtains above-mentioned a certain music.For example, if the keyword that above-mentioned steps S302 gets comprises " rain ", the title of the song of a certain music that terminal local stores is " rainy day ", then title of the song is " rainy day " music is the music comprising above-mentioned keyword.
In another inventive embodiments, if before step S301 obtains current weather information, alarm clock prompting method shown in Fig. 3 also comprises: when the number of times that some online musics are set to alarm clock calling mode exceedes predetermined threshold value, download above-mentioned a certain online music, and the above-mentioned some online musics of Weather information binding when above-mentioned some online musics are reminded.Wherein, above-mentioned predetermined threshold value can be 1,3,5,8,10 or other values.Above-mentioned steps S303 contains the music of described keyword embodiment in terminal local inquiry packet can be: the Weather information that the keyword that above-mentioned steps S302 gets by terminal is bound with the music being stored in terminal local mates, if the keyword that above-mentioned steps S302 gets matches with some keyword be stored in Weather information that a certain music in terminal local bind, then the above-mentioned a certain music of terminal acquisition.For example, if the keyword that above-mentioned steps S302 gets comprises " rain ", include the keyword such as " shower " or " thunder shower " in the Weather information of a certain music binding that terminal local stores, a certain music is the music comprising above-mentioned keyword.
In another inventive embodiments, terminal contains the music of above-mentioned keyword embodiment in network side inquiry packet is: terminal sends the music acquisition request obtaining and comprise above-mentioned keyword to the webserver, the predetermined number of the music needing acquisition is carried in above-mentioned music acquisition request; The above-mentioned webserver obtains the music that the lyrics comprise the predetermined number of above-mentioned keyword; The above-mentioned webserver sends music from predetermined number to terminal obtains request to respond above-mentioned music, and get the music comprising above-mentioned keyword to make terminal, wherein, above-mentioned predetermined number can be such as 1,2,3,5,6,8 or other values.
In another inventive embodiments, terminal contains the music of above-mentioned keyword embodiment in network side inquiry packet is: terminal sends the music acquisition request obtaining and comprise above-mentioned keyword to the webserver, the predetermined number of the music needing acquisition is carried in above-mentioned music acquisition request; The above-mentioned webserver obtains the music that title of the song comprises the predetermined number of above-mentioned keyword; The above-mentioned webserver sends music from predetermined number to terminal obtains request to respond above-mentioned music, gets the music comprising above-mentioned keyword to make terminal.
If it is multiple that S304 inquires the music comprising described keyword, then described terminal is by described multiple music, comprises the music of maximum described keyword as audio frequency.
In the embodiment of the present invention, if when the quantity that above-mentioned steps S303 gets the music comprising above-mentioned keyword is at least 2, terminal using one of them music in the music of above-mentioned keyword as above-mentioned alarm clock calling mode, wherein, one of them music in the music of above-mentioned keyword is comprise the maximum music of keyword that above-mentioned steps S302 gets in all music of getting of above-mentioned steps S303.For example, if it is A, B, C that above-mentioned steps S303 gets the music comprising above-mentioned keyword, music A comprises the keyword that an above-mentioned steps S302 gets, music B comprises the keyword that an above-mentioned steps S302 gets, music C comprises two keywords that an above-mentioned steps S302 gets, then terminal using music C as above-mentioned alarm clock calling mode.
In another inventive embodiments, if when the quantity that above-mentioned steps S303 gets the music comprising above-mentioned keyword is at least 2, terminal using one of them music in the music of above-mentioned keyword as above-mentioned alarm clock calling mode, wherein, one of them music in the music of above-mentioned keyword is be set to the maximum music of alarm clock calling mode number of times in all music of getting of above-mentioned steps S303.For example, if it is A, B, C that above-mentioned steps S303 gets the music comprising above-mentioned keyword, the number of times that music A is set to alarm clock calling mode is 2 times, the number of times that music B is set to alarm clock calling mode is 3 times, the number of times that music C is set to alarm clock calling mode is 10 times, then terminal using music C as above-mentioned alarm clock calling mode.
In another inventive embodiments, if when the quantity that above-mentioned steps S303 gets the music comprising above-mentioned keyword is at least 2, terminal using one of them music in the music of above-mentioned keyword as above-mentioned alarm clock calling mode, wherein, one of them music in the music of above-mentioned keyword is the music that in all music of getting of above-mentioned steps S303, web download amount is maximum.For example, if it is A, B, C that above-mentioned steps S303 gets the music comprising above-mentioned keyword, the web download amount of music A is 100 times, and the web download amount of music B is 200 times, the web download amount of music C is 1000 times, then terminal using music C as above-mentioned alarm clock calling mode.
If it is one that S305 inquires the music comprising described keyword, then described terminal using a described music as audio frequency.
S306, when arrive the described alarm clock calling moment time, described terminal is according to described audio alert user.
Can find out, in the embodiment of the present invention, terminal receives the Weather information in alarm clock calling moment; Terminal extracts the keyword in described Weather information; Terminal contains the music of described keyword in terminal local or network side inquiry packet; The music comprising described keyword if inquire is multiple, then terminal is by described multiple music, comprises the music of maximum described keyword as audio frequency; The music comprising described keyword if inquire is one, then terminal using a described music as audio frequency; When arriving the described alarm clock calling moment, terminal is according to described audio alert user.Can only remind according to the alarm clock calling mode that user is pre-set compared to prior art, the present invention obtains according to Weather information and reminds with the audio frequency of described gas information match, alerting pattern is various, and what be more conducive to meets the changeable demand of user flexibility under some scenes.
Refer to Fig. 4, the structural representation of a kind of terminal 400 that Fig. 4 provides for the embodiment of the present invention, this terminal comprises:
Receiving element 401, for receiving the Weather information in alarm clock calling moment.
Acquiring unit 402, for according to preset rules, obtains the audio frequency matched with the Weather information in the alarm clock calling moment of described reception.
Reminding unit 403, for when arriving the described alarm clock calling moment, according to the described audio alert user that described second acquisition unit gets.
Wherein, above-mentioned acquiring unit 402 comprises:
Extraction unit, for extracting the keyword in described Weather information;
Described music/preset voice for obtaining the music/preset voice comprising the described keyword that described extraction unit extracts, and are set to audio frequency by setting unit.
Wherein, above-mentioned setting unit specifically for:
The music of described keyword is contained in terminal local or network side inquiry packet:
The music comprising described keyword if inquire is multiple, then by described multiple music, comprise the music of maximum described keyword as audio frequency;
The music comprising described keyword if inquire is one, then using a described music as audio frequency.
Optionally, before above-mentioned receiving element 401 receives the Weather information in alarm clock calling moment, the terminal shown in Fig. 4 also comprises:
Download unit, for when the number of times that an online music is set to alarm clock calling mode exceedes predetermined threshold value, downloads described online music;
Binding unit, Weather information during for being reminded by described online music binds described online music.
Optionally, after above-mentioned reminding unit 403 is according to described alarm clock calling mode reminding user, the terminal shown in Fig. 4 also comprises:
Tip element, for pointing out Weather information described in user.
Be understandable that, the function of each functional module of the terminal 400 of the present embodiment can according to the method specific implementation in described embodiment of the method, and its specific implementation process with reference to the associated description of described embodiment of the method, can repeat no more herein.
Can find out, in the embodiment of the present invention, receiving element 401 receives the Weather information in alarm clock calling moment; Acquiring unit 402, according to preset rules, obtains the audio frequency matched with the Weather information in the alarm clock calling moment of described reception; Reminding unit 403 when arrive the described alarm clock calling moment time, according to described audio alert user.Can only remind according to the alarm clock calling mode that user is pre-set compared to prior art, the present invention obtains according to Weather information the audio frequency matched with described Weather information and reminds, alerting pattern is various, and what be more conducive to meets the changeable demand of user flexibility under some scenes.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can have program stored therein, and comprises the part or all of step of any one alarm clock prompting method recorded in said method embodiment when this program performs.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed device, the mode by other realizes.Such as, device embodiment described above is only schematic, the such as division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer-readable access to memory.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a memory, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, server or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid memory comprises: USB flash disk, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable memory, memory can comprise: flash disk, read-only memory are (English: Read-OnlyMemory, be called for short: ROM), random access device (English: RandomAccessMemory, RAM), disk or CD etc. be called for short:.
Be described in detail the embodiment of the present invention above, apply specific case herein and set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, to sum up above-mentioned, this description should not be construed as limitation of the present invention.

Claims (10)

1. an alarm clock prompting method, is characterized in that, comprising:
Receive the Weather information in alarm clock calling moment;
According to preset rules, obtain the audio frequency matched with the Weather information in the alarm clock calling moment of described reception;
When arriving the described alarm clock calling moment, according to described audio alert user.
2. method according to claim 1, is characterized in that, described according to preset rules, obtains the audio frequency matched with the Weather information in the alarm clock calling moment of described reception, comprising:
Extract the keyword in described Weather information;
Obtain the music/preset voice comprising described keyword, and described music/preset voice are set to audio frequency.
3. method according to claim 2, is characterized in that, described acquisition comprises the music/preset voice of described keyword, and described music/preset voice are set to audio frequency, comprise:
The music of described keyword is contained in terminal local or network side inquiry packet;
The music comprising described keyword if inquire is multiple, then by described multiple music, comprise the music of maximum described keyword as audio frequency;
The music comprising described keyword if inquire is one, then using a described music as audio frequency.
4. the based reminding method according to any one of claims 1 to 3, is characterized in that, before the Weather information in described reception alarm clock calling moment, described method also comprises:
When the number of times that an online music is set to alarm clock calling mode exceedes predetermined threshold value, download described online music, and Weather information when being reminded by described online music binds described online music.
5. the based reminding method according to any one of Claims 1 to 4, is characterized in that, described according to after described alarm clock calling mode reminding user, described based reminding method also comprises:
Weather information described in prompting user.
6. a terminal, is characterized in that, comprising:
Receiving element, for receiving the Weather information in alarm clock calling moment;
Acquiring unit, for according to preset rules, obtains the audio frequency matched with the Weather information in the alarm clock calling moment of described reception;
Reminding unit, for when arriving the described alarm clock calling moment, according to the described audio alert user that described second acquisition unit gets.
7. terminal according to claim 6, is characterized in that, described acquiring unit comprises:
Extraction unit, for extracting the keyword in described Weather information;
Described music/preset voice for obtaining the music/preset voice comprising the described keyword that described extraction unit extracts, and are set to audio frequency by setting unit.
8. terminal according to claim 7, is characterized in that, described setting unit specifically for:
The music of described keyword is contained in terminal local or network side inquiry packet;
The music comprising described keyword if inquire is multiple, then by described multiple music, comprise the music of maximum described keyword as audio frequency;
The music comprising described keyword if inquire is one, then using a described music as audio frequency.
9. the terminal according to any one of claim 6 ~ 8, is characterized in that, described terminal also comprises:
Download unit, for when the number of times that an online music is set to alarm clock calling mode exceedes predetermined threshold value, downloads described online music;
Binding unit, Weather information during for being reminded by described online music binds described online music.
10. the terminal according to any one of claim 6 ~ 9, is characterized in that, described terminal also comprises:
Tip element, for pointing out Weather information described in user.
CN201510937894.1A 2015-12-15 2015-12-15 A kind of alarm clock prompting method and terminal Expired - Fee Related CN105554273B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510937894.1A CN105554273B (en) 2015-12-15 2015-12-15 A kind of alarm clock prompting method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510937894.1A CN105554273B (en) 2015-12-15 2015-12-15 A kind of alarm clock prompting method and terminal

Publications (2)

Publication Number Publication Date
CN105554273A true CN105554273A (en) 2016-05-04
CN105554273B CN105554273B (en) 2019-07-19

Family

ID=55833204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510937894.1A Expired - Fee Related CN105554273B (en) 2015-12-15 2015-12-15 A kind of alarm clock prompting method and terminal

Country Status (1)

Country Link
CN (1) CN105554273B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577448A (en) * 2017-08-29 2018-01-12 努比亚技术有限公司 A kind of alarm clock alarming method, equipment and computer-readable recording medium
CN110750675A (en) * 2019-10-17 2020-02-04 广州酷狗计算机科技有限公司 Lyric sharing method and device and storage medium
CN111526244A (en) * 2020-04-02 2020-08-11 维沃移动通信有限公司 Alarm clock processing method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080171573A1 (en) * 2007-01-11 2008-07-17 Samsung Electronics Co., Ltd. Personalized service method using user history in mobile terminal and system using the method
CN101754460A (en) * 2009-12-25 2010-06-23 宇龙计算机通信科技(深圳)有限公司 Weather forecast prompting method, device and mobile terminal
CN102752714A (en) * 2012-06-25 2012-10-24 华为终端有限公司 Method and device for setting bell
CN102780808A (en) * 2011-05-09 2012-11-14 中兴通讯股份有限公司 Alarm method and alarm device for terminals
CN102984363A (en) * 2012-11-14 2013-03-20 广东欧珀移动通信有限公司 Alarm clock setting method and system based on mobile terminal weather conditions

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080171573A1 (en) * 2007-01-11 2008-07-17 Samsung Electronics Co., Ltd. Personalized service method using user history in mobile terminal and system using the method
CN101754460A (en) * 2009-12-25 2010-06-23 宇龙计算机通信科技(深圳)有限公司 Weather forecast prompting method, device and mobile terminal
CN102780808A (en) * 2011-05-09 2012-11-14 中兴通讯股份有限公司 Alarm method and alarm device for terminals
CN102752714A (en) * 2012-06-25 2012-10-24 华为终端有限公司 Method and device for setting bell
CN102984363A (en) * 2012-11-14 2013-03-20 广东欧珀移动通信有限公司 Alarm clock setting method and system based on mobile terminal weather conditions

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577448A (en) * 2017-08-29 2018-01-12 努比亚技术有限公司 A kind of alarm clock alarming method, equipment and computer-readable recording medium
CN110750675A (en) * 2019-10-17 2020-02-04 广州酷狗计算机科技有限公司 Lyric sharing method and device and storage medium
CN111526244A (en) * 2020-04-02 2020-08-11 维沃移动通信有限公司 Alarm clock processing method and electronic equipment

Also Published As

Publication number Publication date
CN105554273B (en) 2019-07-19

Similar Documents

Publication Publication Date Title
CN104679855B (en) A kind of play-list creation method and terminal device
CN103546634B (en) A kind of handheld device theme control method and device
CN105183865A (en) Reminding method based on keywords and mobile terminal
CN105022760B (en) A kind of news recommended method and device
CN105335483B (en) A kind of text filtering sensitive words system and method
CN105554273A (en) Alarm clock reminding method and terminal
CN106909447B (en) Background application processing method and device and terminal
CN104601202A (en) Method and terminal for realizing file search based on Bluetooth technology as well as Bluetooth device
CN105227760A (en) A kind of alarm clock setting method and terminal
CN105022297A (en) Sound box parameter configuration method, mobile terminal, server and system
CN102752714A (en) Method and device for setting bell
CN106599173A (en) Lyric matching method and terminal
CN104994223A (en) Text message editing method and device
CN105115509A (en) Indoor navigation method and mobile terminal
CN105988709A (en) Information processing method and device
CN104572981A (en) Web page caching method and mobile terminal device
CN104038637A (en) Ring playing method and device and mobile terminal
CN108427671B (en) Information conversion method and apparatus, storage medium, and electronic apparatus
CN106372003A (en) Method and device for cleaning cache data, and terminal
CN105550218A (en) Note management method and terminal
CN104572265A (en) Application running control method and mobile terminal equipment
CN109547329A (en) The display methods and Related product of group information
CN105551500B (en) A kind of acoustic signal processing method and device
CN104572264A (en) Application running control method and mobile terminal equipment
CN104461311A (en) Information processing method and electronic equipment

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190719

Termination date: 20211215