A kind of method and device of the automatic prompting Changes in weather based on portable terminal
Technical field
The present invention relates to a kind of portable terminal, relate in particular to a kind of method and device of the automatic prompting Changes in weather based on portable terminal.
Background technology
In the prior art, the user obtains Weather information by portable terminal and mainly contains following several mode: customize Meteorological Services note or program request weather information by mobile operator, receive weather information by special-purpose meteorological service system; Obtain weather information by network; Check weather information by mobile phone newspaper.
The above-mentioned means of obtaining weather information, need the user initiatively to read or inquire about, do not produce the stronger weather of user experience sense and remind effect, quickening along with modern's rhythm of life, people often do not have the too many time to go to pay close attention to the variation of weather, even perhaps paid close attention to weather, do not have to do necessary preparation for weather condition specially yet, for example get second day weather condition of cicada the previous day, but still forgot for it at second day and to prepare, running into special weather condition, we also carry out schedule according to normal situation, and the result has caused a lot of inconvenience to us.
Summary of the invention
In order to solve the deficiency that prior art exists, the object of the present invention is to provide a kind of method and device of the automatic prompting Changes in weather based on portable terminal, carry out the event notification application of meteorological information and portable terminal related, need not the user inquiring weather condition, when the event notification application start, just can notice the variation of weather.
For achieving the above object, the invention provides a kind of method of the automatic prompting Changes in weather based on portable terminal, may further comprise the steps:
1) obtains meteorological information, and it is resolved;
2), carry out the analysis result of this meteorology information and the event notification application of user's setting related according to analysis result to meteorological information;
3) remind the user to pay close attention to Changes in weather.
Wherein, to obtain meteorological information be to obtain meteorological information from mobile phone newspaper, meteorological information service device or carrier server to described step 1).
Wherein, described step 2) analysis result to meteorological information comprises: " fine ", " cloudy ", " the moon ", " heavy rain ", " heavy snow ", " dense fog ", " typhoon ", and temperature, wind-force.
Wherein, described step 2) further comprise: the analysis result to meteorological information changes for " fine ", " cloudy " or " the moon " non-special weather, and then the analysis result with meteorological information carries out related with the event notification application that the user is provided with; To the analysis result of meteorological information is that " heavy rain ", " heavy snow ", " dense fog ", " typhoon ", temperature are higher than 38 degrees centigrade or wind-force and change greater than the special weather of Pyatyi, if the user is provided with event notification and uses, then at first change the attribute that event notification is used, analysis result with meteorological information carries out related with the event notification application that the user is provided with then, if the user is not provided with event notification and uses, special weather then is set automatically changes reminder events.
Wherein, the attribute used of described change event notification comprises volume, the vibration function of time, the event notification of event notification, the duration or the frequency of event notification.
Wherein, the attribute used of described change event notification be to shift to an earlier date time with event notification.
For achieving the above object, the present invention also provides a kind of dynamic switching device shifter of mobile terminal data pattern, comprises meteorological information processing module, meteorological information prompting module, meteorological information receiver module, and the customer incident prompting module, it is characterized in that,
Described meteorological information processing module receives the meteorological information that described meteorological information receiver module sends, and it is resolved; According to analysis result, the analysis result with meteorological information sends to described meteorological information prompting module or described customer incident prompting module respectively;
Described meteorological information prompting module is accepted the instruction of described meteorological information processing module, starts or closes meteorological information reminder application;
Described meteorological information receiver module, it obtains meteorological information by network from mobile phone newspaper, meteorological information service device or carrier server, and analysis result that should the meteorology information is transmitted to described meteorological information processing module;
Described customer incident prompting module is accepted user's control, starts or the close event reminder application, and is associated with the analysis result of meteorological information, reminds at setting-up time and notice part.
Wherein, described meteorological information processing module is a non-special weather when changing at analysis result, and the analysis result of meteorological information is sent to described customer incident prompting module; At analysis result is that special weather changes, and the user at first changes the attribute that event notification is used when being provided with event notification and using, and the analysis result with meteorological information sends to described customer incident prompting module then.
Wherein, described meteorological information processing module is that special weather changes at analysis result, and the user is not when being provided with event notification and using, and the analysis result of meteorological information is sent to described meteorological information prompting module.
Wherein, described customer incident prompting module is " alarm clock " or " calendar reminding " of portable terminal.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, and with embodiments of the invention, is used to explain the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the method flow diagram according to the automatic prompting Changes in weather based on portable terminal of the present invention;
Fig. 2 is the principle of device block diagram according to the automatic prompting Changes in weather based on portable terminal of the present invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Fig. 1 is the method flow diagram according to the automatic prompting Changes in weather based on portable terminal of the present invention, below with reference to Fig. 1, the method for the automatic prompting Changes in weather based on portable terminal of the present invention is described in detail:
At first, in step 101, obtain meteorological information, and it is resolved.Meteorological information comes from mobile phone newspaper, meteorological information service device or carrier server.If the mobile phone newspaper user obtains meteorological information by mobile phone newspaper, portable terminal is directly resolved meteorological information from the mobile phone newspaper that the user receives when receiving mobile phone newspaper; If the user does not have customized mobile phone newspaper service, meteorological information service device of portable terminal timer access or carrier server obtain meteorological information.Analysis result to meteorological information comprises: " fine ", " cloudy ", " the moon ", " heavy rain ", " heavy snow ", " dense fog ", " typhoon ", and concrete temperature, wind conditions or the like.
In step 102, according to analysis result, judge whether to change greater than special weathers such as Pyatyis for " heavy rain ", " heavy snow ", " dense fog ", " typhoon ", temperature are higher than 38 degrees centigrade, wind-force, if there is special weather to change, forward step 103 to; If there is not special weather to change, but change, then forward step 105 to as non-special weather such as " fine ", " cloudy ", " the moon ".
In step 103, judge whether the user is provided with event notification and uses, and uses if the user is provided with as event notifications such as " alarm clock ", " calendar remindings ", forwards step 106 to; Otherwise forward step 104 to.
In step 104, special weather is set automatically changes reminder events, make the user obtain the prompting of special weather in time.
In step 105, analysis result to meteorological information is that non-special weather such as " fine ", " cloudy ", " the moon " changes, the analysis result of meteorological information is associated with the reminder events application, thereby when making the reminder events applications trigger, meteorological information is simultaneously displayed on the screen of portable terminal, makes the user in time understand weather condition.
For example, mobile phone users generally all can be provided with the alarm clock of getting up in morning, and meteorological information analysis result is associated with the alarm clock of getting up, and the user can trigger simultaneously at the alarm clock of getting up, see the weather condition on the same day, and can prepare clothing or schedule according to weather condition.
In step 106, to the analysis result of meteorological information is that " heavy rain ", " heavy snow ", " dense fog ", " typhoon ", temperature are higher than 38 degrees centigrade, wind-force and change greater than special weathers such as Pyatyis, and the user is provided with as event notifications such as " alarm clock ", " calendar remindings " and uses, then at first change the attribute that this event notification is used, then meteorological information analysis result is associated with reminder events, thereby when making the reminder events applications trigger, the analysis result of meteorological information is shown on the screen of portable terminal simultaneously, makes the user in time understand weather condition.The attribute that the change event notification is used can comprise the time of event notification, the volume that increases event notification, the duration of opening vibration function, increase event notification or frequency etc.Preferred, be that the special weather variation is prepared in order to allow the user that more time can be arranged, as prevent the traffic congestion that special weather brings that the attribute that changes reminder events can be that reminder time is shifted to an earlier date.
Fig. 2 is the principle of device block diagram according to the automatic prompting Changes in weather based on portable terminal of the present invention, as shown in Figure 2, the device of the automatic prompting Changes in weather based on portable terminal of the present invention, comprise the meteorological information processing module 201 that is used to resolve and handle meteorological information, meteorological information prompting module 202, meteorological information receiver module 203, and customer incident prompting module 204;
Meteorological information processing module 201 be used for the meteorological information that meteorological information receiver module 203 receives is resolved, and according to analysis result, the analysis result with meteorological information sends to meteorological information prompting module 202 or customer incident prompting module 204 respectively; The attribute that event notification is used in the change customer incident prompting module 204 and meteorological information prompting module 202 is provided with.
Meteorological information prompting module 202 is accepted the instruction of meteorological information processing module 201, starts or closes meteorological information reminder application.
Meteorological information receiver module 203 obtains meteorological information by network from mobile phone newspaper, meteorological information service device or carrier server, and it is transmitted to meteorological information processing module 201.
Customer incident prompting module 204, accept user's control, start or the close event reminder application, and be associated with the analysis result of meteorological information, remind in the setting-up time open event, and at the analysis result of thinking to show on the display screen (not shown) of portable terminal meteorological information.Preferably, the present invention adopts portable terminal " alarm clock " or " calendar reminding " as the customer incident prompting module.
The method and the device of the automatic prompting Changes in weather based on portable terminal of the present invention, the analysis result of the meteorological information that receives used with the mobile terminal user event notification be associated, in eye-catching mode weather information is notified to the user, if the user is not provided with event notification and uses, meteorological information reminder application then is set automatically, the arrangement that the user can in time live and work by weather condition.
One of ordinary skill in the art will appreciate that: the above only is the preferred embodiments of the present invention, be not limited to the present invention, although the present invention is had been described in detail with reference to previous embodiment, for a person skilled in the art, it still can be made amendment to the technical scheme of aforementioned each embodiment record, perhaps part technical characterictic wherein is equal to replacement.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.