CN109213915A - weather forecast method, terminal device and computer readable storage medium - Google Patents
weather forecast method, terminal device and computer readable storage medium Download PDFInfo
- Publication number
- CN109213915A CN109213915A CN201811011647.9A CN201811011647A CN109213915A CN 109213915 A CN109213915 A CN 109213915A CN 201811011647 A CN201811011647 A CN 201811011647A CN 109213915 A CN109213915 A CN 109213915A
- Authority
- CN
- China
- Prior art keywords
- weather
- behavioural information
- weather conditions
- duration
- lookup instruction
- 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.)
- Pending
Links
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The present embodiments relate to field of communication technology, a kind of weather forecast method, terminal device and computer readable storage medium are disclosed.In the present invention, weather forecast method, comprising the following steps: after detecting weather lookup instruction, judge whether carry behavioural information in weather lookup instruction;If carrying behavioural information in weather lookup instruction, according to the type of behavioural information, duration to be predicted corresponding with the type of behavioural information is obtained;Wherein, the type of different behavioural informations, corresponding different duration to be predicted;Inquire the weather conditions in corresponding duration to be predicted, and according to the weather conditions inquired, the matching degree of forecasting weather situation and behavioural information, so that is inquired is no longer single weather conditions, the matching degree of weather conditions and behavioural information can also be provided, more convenience are provided for the daily life of user, greatly meet the demand of user.
Description
Technical field
The present embodiments relate to field of communication technology, in particular to a kind of weather forecast method, terminal device and calculating
Machine readable storage medium storing program for executing.
Background technique
Changes in weather is related to daily life, checks that weather condition almost has become people's daily life daily
In indispensable a part, affect the work and trip of people.
However, it is found by the inventors that at least there are the following problems in the prior art: with the raising of modern life level, user
The more next remote height of requirement for weather lookup, weather lookup method single at present are to inquire the result returned after weather every time only
There are temperature, humidity, if the information such as rain, these information are no longer satisfied the demand of user, not convenient enough for users.
Summary of the invention
Embodiment of the present invention is designed to provide a kind of weather forecast method, terminal device and computer-readable storage
Medium, so that is inquired is no longer single weather conditions, moreover it is possible to provide the matching degree of weather conditions and behavioural information, be
The daily life of user provides more convenience, greatly meets the demand of user.
In order to solve the above technical problems, embodiments of the present invention provide a kind of weather forecast method, including following step
It is rapid: after detecting weather lookup instruction, to judge whether carry behavioural information in weather lookup instruction;If weather lookup instructs
In carry behavioural information, then according to the type of behavioural information, obtain duration to be predicted corresponding with the type of behavioural information;Its
In, the type of different behavioural informations, corresponding different duration to be predicted;The day inquired in corresponding duration to be predicted is vaporous
Condition, and according to the weather conditions inquired, the matching degree of forecasting weather situation and behavioural information.
Embodiments of the present invention additionally provide a kind of terminal device, comprising: at least one processor;And at least
The memory of one processor communication connection;Wherein, memory is stored with the instruction that can be executed by least one processor, instruction
It is executed by least one processor, so that at least one processor is able to carry out above-mentioned weather forecast method.
Embodiments of the present invention additionally provide a kind of computer readable storage medium, are stored with computer program, calculate
Machine program realizes above-mentioned weather forecast method when being executed by processor.
Embodiment of the present invention in terms of existing technologies, after detecting weather lookup instruction, judges weather lookup
Whether carry behavioural information in instruction, facilitate deciding on to obtain user be it is simple merely desire to inquiry weather, or inquiry is current
Weather conditions whether properly carry out the behavior that carries in weather lookup instruction, to be conducive to make user targetedly anti-
Feedback.If carrying behavioural information in weather lookup instruction, according to the type of behavioural information, the type pair with behavioural information is obtained
The duration to be predicted answered;Wherein, the type of different behavioural informations, corresponding different duration to be predicted.It inquires corresponding to pre-
The weather conditions in duration are surveyed, and according to the weather conditions inquired, the matching degree of forecasting weather situation and behavioural information.Due to
Different behavioural informations needs the time completed or the time that start to carry out may not be identical, therefore obtains and behavioural information
The corresponding duration to be predicted of type, be conducive to it is more targeted inquire weather conditions in the duration to be predicted of acquisition, thus
According to the matching degree of weather conditions forecasting weather situation and behavioural information in duration to be predicted, the size of matching degree is conducive to table
Requisition family a possibility that certain behavior is successfully completed under certain weather conditions, allow the matching degree of user according to weather report
It knows whether properly to carry out certain behavior.What embodiment of the present invention to inquire is no longer single weather conditions, also
The matching degree of weather conditions and behavioural information can be provided, provide more convenience for the daily life of user, greatly met
The demand of user.
In addition, judging whether carry behavioural information in weather lookup instruction, specifically include: in detection weather lookup instruction
Whether preset keyword is carried;If carrying preset keyword in weather lookup instruction, determine that weather lookup instructs
In carry behavioural information, be conducive to it is accurate, easily obtain weather lookup instruction in whether carry behavioural information.
In addition, weather lookup instruction is the weather lookup instruction of user speech input;Detect weather lookup instruction in whether
Preset keyword is carried, is specifically included: semantics recognition is carried out to the weather lookup instruction of user speech input;If semanteme is known
In other result, there are keywords, then determine whether carry preset keyword in weather lookup instruction, can pass through user
The weather lookup instruction of voice input is judged, provides great convenience for user.
In addition, then being obtained if the keyword for carrying preset keyword in weather lookup instruction, and carrying is laundry clothes
Before taking duration to be predicted corresponding with the type of behavioural information, user is prompted to input garment type;It obtains and behavioural information
The corresponding duration to be predicted of type, specifically: duration to be predicted corresponding to the garment type inputted with user is obtained, to have
The garment type for the clothes that user needs to wash and the matching degree of the weather conditions in duration to be predicted are targetedly obtained, is user
It cleans different types of clothes and effective guiding opinion is provided, facilitate user and clean different types of clothes.
In addition, according to the weather conditions inquired, the matching degree of forecasting weather situation and behavioural information is specifically included: root
According to the corresponding relationship of weather conditions and behavioural information in pre-stored each duration, in the duration to be predicted for obtaining and inquiring
The corresponding behavioural information of weather conditions;The behavioural information carried in corresponding behavioural information and the weather lookup instruction that will acquire
Matching degree forecast as the matching degree of weather conditions and behavioural information, be conducive to rapidly and accurately to obtain weather conditions with
The matching degree of behavioural information, the matching degree allowed users to according to weather report make suitable selection, improve the use of user
Experience.
In addition, weather forecast method is applied to terminal device, weather lookup instruction is the bracket for being used to support terminal device
It is sent to the instruction of terminal device;The matching degree of forecasting weather situation and behavioural information, specifically: by the weather conditions of forecast with
The matching degree of behavioural information, is sent to bracket, for bracket to the matching degree of user feedback forecasting weather situation and behavioural information.It is logical
The matching degree for being used to support the bracket of terminal device to user feedback forecasting weather situation and behavioural information is crossed, is conducive to user more
It is accurately obtained the matching degree of feedback.
In addition, inquiring if not carrying behavioural information in weather lookup instruction and broadcasting current weather conditions;With pre-
If the current weather conditions of cyclic polling, and after inquiring weather conditions each time, judge this weather conditions inquired
Whether the weather conditions of casting are identical with the last time, if it is different, then broadcasting this weather conditions inquired, are conducive to logical in time
Know the situation of change of user's weather.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys
The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove
Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is the flow diagram of the weather forecast method of first embodiment according to the present invention;
Fig. 2 is the flow diagram of the weather forecast method of second embodiment according to the present invention;
Fig. 3 is the flow diagram of the weather forecast method of third embodiment according to the present invention;
Fig. 4 is the structural schematic diagram of the terminal device of the 4th embodiment according to the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention
In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details
And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.
The first embodiment of the present invention is related to a kind of weather forecast methods.The core of present embodiment is detecting
After weather lookup instruction, judge whether carry behavioural information in weather lookup instruction;If carrying row in weather lookup instruction
Duration to be predicted corresponding with the type of behavioural information is obtained then according to the type of behavioural information for information;Wherein, different
The type of behavioural information, corresponding different duration to be predicted;Inquire the weather conditions in corresponding duration to be predicted, and according to looking into
The weather conditions ask, the matching degree of forecasting weather situation and behavioural information, so that is inquired is no longer single weather
Situation, moreover it is possible to the matching degree of weather conditions and behavioural information be provided, provide more convenience for the daily life of user, greatly
The demand for meeting user.The realization details of the weather forecast method of present embodiment is specifically described below, with
Lower content only for convenience of the realization details provided is understood, not implements the necessary of this programme.
The flow diagram of weather forecast method in present embodiment, as shown in Figure 1, specifically including:
Step 101: after detecting weather lookup instruction, judge whether carry behavioural information in weather lookup instruction,
If so, 102 are thened follow the steps, it is no to then follow the steps 104.
Specifically, weather lookup instruction by voice, text, pressing keys or can touch on terminal device for user
The inquiry instruction of a certain region input, in present embodiment by taking voice input weather lookup instruction as an example, but in practical applications
It is not limited thereto, such as: weather lookup instruction can be " weather of today be suitble to laundry take ", in weather lookup instruction
The behavioural information of carrying is just " laundry clothes ".Terminal device can be the smart machines such as mobile phone, tablet computer, in present embodiment
It takes the mobile phone as an example, but is not limited thereto in practical applications.Mobile phone can detecte weather lookup instruction in whether carry it is pre-
If keyword;If carrying preset keyword in weather lookup instruction, determine to carry behavior in weather lookup instruction
Information.Preset keyword can be one of the following or any combination thereof: be gone out, do washing clothes, working etc. can be characterized and not gone together
For the keyword of information.The method that preset keyword whether is carried in mobile phone detection weather lookup instruction can be with are as follows: to
The weather lookup instruction of family voice input carries out semantics recognition;If in the result of semantics recognition, there are keywords, then weather is determined
Preset keyword is carried in inquiry instruction.
Step 102: according to the type of behavioural information, obtaining duration to be predicted corresponding with the type of behavioural information.
Specifically, the type of behavioural information can be with are as follows: it gos out, the different types such as clothes, working of doing washing, different behavior letters
The type of breath, corresponding different duration to be predicted, duration to be predicted can be one day, one hour following etc..Laundry takes corresponding
Duration to be predicted can be required duration is dried after washing clothing, such as, a length of 8 hours when drying required for clothing,
8 hours a length of when so laundry takes corresponding to be predicted, corresponding duration to be predicted of going to work can be for required for working road
Duration, going out, it is outgoing and outgoing for a long time to be subdivided into the short time according to the length of time gone out, that is, go out it is corresponding to
Predict that duration can be the required time of going out.The type pass corresponding with duration to be predicted of behavioural information can be prestored in mobile phone
System, mobile phone can obtain duration to be predicted corresponding with the type of behavioural information according to the corresponding relationship prestored.In practical application
In, behavioural information may carry behavior duration, such as behavioural information can be an afternoon of going window-shopping, then the row that mobile phone obtains
Type for information can be to go out, and the duration to be predicted corresponding with the type of behavioural information of acquisition can be " afternoon ".
It should be noted that the type of behavioural information is by taking clothes of going out, do washing, working as an example, in practical application in present embodiment
In be not limited thereto.
Step 103: the weather conditions in the corresponding duration to be predicted of inquiry, and according to the weather conditions inquired, forecast
The matching degree of weather conditions and behavioural information.
Specifically, mobile phone can inquire the weather conditions in corresponding duration to be predicted in network side, according to inquiring
Weather conditions, the matching degree of forecasting weather situation and behavioural information.Such as behavioural information is laundry clothes, laundry clothes correspond to
It is to be predicted when it is 8 hours a length of, the weather conditions in mobile phones enquiring arrive 8 hours are fine day, then weather conditions and behavior are believed
The matching degree of breath can be higher, and in practical applications, the temperature in 8 hours is higher (clothing is easier to be dry), and matching degree can be got over
Greatly, user is after learning matching degree, in that case it can be decided that whether current weather will do washing clothes.Preferably, mobile phone can be according to lookup
To future 8 hours temperature height estimate clothes airing needed for the time, and prompt user that can receive time point of clothes.Such as
Weather conditions in fruit 8 hours can rain for certain time period, then the matching degree of weather conditions and behavioural information can be lower,
Show that current time point is not suitable for laundry clothes, then user after obtaining this lower matching degree, can carefully examine again
Considering current point in time wants laundry to take.In practical applications, if matching degree is lower, mobile phone can suggest user by clothing
Object sunning provides the period that rain stops to interior, or according to the weather conditions inquired for user, it is proposed that user stops it in rain
Laundry clothes afterwards.
In practical applications, the corresponding relationship of weather conditions and behavioural information in each duration can also be stored in advance, according to
Pre-stored corresponding relationship obtains behavioural information corresponding with the weather conditions in the duration to be predicted inquired;It will acquire
The matching degree of behavioural information carried in corresponding behavioural information and weather lookup instruction, as weather conditions and behavioural information
Matching degree is forecast.
In another example, if behavioural information is working, the day inquired in corresponding duration to be predicted is vaporous
Condition is rain after a hour, is set out in advance then may remind the user that, or the road that can be reached within one hour of selection
Line is gone to work, and to avoid rainy spell, user can also be reminded to need band umbrella certainly.
Step 104: inquiring and broadcast current weather conditions.
Specifically, if not carrying behavioural information in weather lookup instruction, such as, weather lookup instruction is " today
Weather is how ", then mobile phone can directly in network side inquiry, simultaneously voice plays current weather conditions, current day is vaporous
Condition can be the weather conditions in mobile phone location, or the weather conditions in the place that user wants, if weather lookup
Designated place is carried in instruction, then inquires and broadcast the weather conditions of designated place, if do not carried in weather lookup instruction
There is designated place, then defaults the weather conditions for playing mobile phone location.
Step 105: current weather conditions are inquired with predetermined period.
Specifically, since weather conditions may change, mobile phone can be inquired current with predetermined period
Weather conditions, predetermined period can be configured according to actual needs by those skilled in the art or user.
Step 106: after inquiring weather conditions each time, judging the weather conditions and last casting that this is inquired
Weather conditions it is whether identical, it is no to then follow the steps 107 if it is, the process terminates.
Step 107: broadcasting this weather conditions inquired.
Compared with prior art, present embodiment judges that weather lookup is in instructing after detecting weather lookup instruction
It is no to carry behavioural information, facilitate deciding on to obtain user be it is simple merely desire to inquiry weather, or inquiry it is current day it is vaporous
Whether condition properly carries out the behavior carried in weather lookup instruction, targetedly feeds back to be conducive to make user.If it
Behavioural information is carried in gas inquiry instruction, then according to the type of behavioural information, obtain it is corresponding with the type of behavioural information to
Predict duration;Wherein, the type of different behavioural informations, corresponding different duration to be predicted.Inquire corresponding duration to be predicted
Interior weather conditions, and according to the weather conditions inquired, the matching degree of forecasting weather situation and behavioural information.Due to different
Behavioural information needs the time completed or the time that start to carry out may not be identical, therefore obtains the type pair with behavioural information
The duration to be predicted answered, be conducive to it is more targeted inquire weather conditions in the duration to be predicted of acquisition, thus according to
Predict that the matching degree of the weather conditions forecasting weather situation and behavioural information in duration, the size of matching degree are conducive to characterize user
A possibility that certain behavior is successfully completed under certain weather conditions, the matching degree of user according to weather report, which is learnt, is
It is no properly to carry out certain behavior.What embodiment of the present invention to inquire is no longer single weather conditions, moreover it is possible to be provided
The matching degree of weather conditions and behavioural information provides more convenience for the daily life of user, greatly meets user
Demand.
Second embodiment of the present invention is related to a kind of weather forecast method.Second embodiment is second embodiment
It is further improved, mainly thes improvement is that: in second embodiment of the invention, if the key carried in weather lookup instruction
Word is laundry clothes, then targetedly cleans different types of clothes for user and provide effective guiding opinion, facilitate user
Clean different types of clothes.
The flow diagram of weather forecast method in present embodiment, as shown in Fig. 2, specifically including:
Step 201: after detecting weather lookup instruction, judge whether carry behavioural information in weather lookup instruction,
If so, 202 are thened follow the steps, it is no to then follow the steps 207.
Step 201 is roughly the same with step 101 in first embodiment, the difference is that, step 101 is in judging result
When to be, to obtain duration to be predicted corresponding with the type of behavioural information according to the type of behavioural information the step of execution, and
The step of step 201 executes when the judgment result is yes is to judge whether the behavioural information carried is laundry clothes.
Step 202: judging whether the behavioural information carried is laundry clothes, if it is thening follow the steps 203, otherwise executes step
Rapid 205.
Specifically, mobile phone can detecte whether the keyword carried in weather lookup instruction is laundry clothes;If weather is looked into
Asking the keyword taken in instruction is laundry clothes, then determines the behavioural information carried for laundry clothes.
Step 203: prompt user inputs garment type.
Specifically, mobile phone can input garment type with voice prompting user, user again may be by voice input, when
So user can also manual text input or the region touching of the corresponding kinds of laundry on selection mobile phone screen in practical applications
Touch output.Garment type can be thin clothes, thick clothes, the clothes of Various Seasonal, the suitable clothes shone in the sun, suitable yin
The types such as dry clothes.
Step 204: obtaining and duration to be predicted corresponding to the garment type of user's input.
Specifically, the corresponding duration to be predicted of different kinds of laundry is not identical, such as, what thin clothes airing needed
Time is short, then thin clothes can be shorter relative to duration to be predicted corresponding to thick clothes.
Step 205: according to the type of behavioural information, obtaining duration to be predicted corresponding with the type of behavioural information.
Step 206: the weather conditions in the corresponding duration to be predicted of inquiry, and according to the weather conditions inquired, forecast
The matching degree of weather conditions and behavioural information.
It, can be in addition to combining fine day and rainy day specifically, for the matching degree of weather conditions and different garment types
In conjunction with Yanguan Pass index, some kinds of laundry may be not appropriate for being exposed to the sun in the sun, even fine day when that is, Yanguan Pass index is higher,
Obtained matching degree may also be lower, and what time period mobile phone can be not suitable for shining clothes in sunlight at this time with voice prompting user
Under.Can certainly the flash-off time according to needed for different types of clothes remind in time user receive clothes.
Step 207: inquiring and broadcast current weather conditions.
Step 208: current weather conditions are inquired with predetermined period.
Step 209: after inquiring weather conditions each time, judging the weather conditions and last casting that this is inquired
Weather conditions it is whether identical, it is no to then follow the steps 210 if it is, the process terminates.
Step 210: broadcasting this weather conditions inquired.
Step 205 is roughly the same with step 102 in first embodiment, and step 207 to step 210 is implemented with first respectively
Step 104 is roughly the same to step 107 in mode, and to avoid repeating, this is no longer going to repeat them.
Compared with prior art, present embodiment, if preset keyword is carried in weather lookup instruction, and carry
Keyword is laundry clothes, then before obtaining duration to be predicted corresponding with the type of behavioural information, user is prompted to input clothes
Type;Duration to be predicted corresponding with the type of behavioural information is obtained, specifically: it is right to obtain the garment type institute inputted with user
The duration to be predicted answered, thus the garment type for targetedly obtaining the clothes that user needs to wash and the day in duration to be predicted
The matching degree of vaporous condition cleans different types of clothes for user and provides effective guiding opinion, facilitates user and cleans difference
The clothes of type.
Third embodiment of the present invention is related to a kind of weather forecast method.Third embodiment is first embodiment
It is further improved, mainly thes improvement is that: in third embodiment of the invention, by the bracket for being used to support terminal device
To the matching degree of user feedback forecasting weather situation and behavioural information, be conducive to the matching degree that user is more accurately fed back.
The flow diagram of weather forecast method in present embodiment, as shown in figure 3, specifically including:
Step 301: after detecting weather lookup instruction, judge whether carry behavioural information in weather lookup instruction,
If so, 302 are thened follow the steps, it is no to then follow the steps 304.
Specifically, weather lookup instruction is to be used to support the bracket of terminal device to be sent to terminal and set in present embodiment
Standby instruction.Microphone array can be set on bracket, the phonetic order i.e. weather lookup for receiving user instructs, in bracket
Bluetooth module can also be set, and bracket can be established by bluetooth module and terminal device and be communicated to connect, the weather that will be received
Inquiry instruction is sent to terminal device, judges that weather lookup is in instructing according to the weather lookup instruction received by terminal device
It is no to carry behavioural information.
Step 302: according to the type of behavioural information, obtaining duration to be predicted corresponding with the type of behavioural information.
Step 303: the weather conditions in the corresponding duration to be predicted of inquiry, and by the weather conditions and behavioural information of forecast
Matching degree, bracket is sent to, for bracket to the matching degree of user feedback weather conditions and behavioural information.
Specifically, terminal device is when inquiring the weather conditions in corresponding duration to be predicted, by weather conditions with
The matching degree of behavioural information is sent to bracket, such as can be sent to bracket by bluetooth connection, and bracket can use setting
Microphone array play the matching degree that inquires.The microphone array being arranged on bracket allow user with terminal device
Distance farther out when also can be realized effective information exchange.
Step 304: it inquires and current weather conditions is sent to bracket, it is vaporous to the current day of user feedback for bracket
Condition.
Specifically, terminal device is inquired and current weather conditions are sent to bracket, bracket can be to user speech
Play current weather conditions.
Step 305: current weather conditions are inquired with predetermined period.
Step 306: after inquiring weather conditions each time, judging the weather conditions and last casting that this is inquired
Weather conditions it is whether identical, it is no to then follow the steps 307 if it is, the process terminates.
Step 307: the weather conditions that this is inquired are sent to bracket, and for bracket, to user feedback, this is inquired
Weather conditions.
Specifically, the weather conditions that terminal device can inquire this are sent to bracket, bracket can be to user
Voice plays this weather conditions inquired.
Step in step 102 in step 302 and first embodiment, step 305 to step 306 and first embodiment
Rapid 105 is roughly the same to step 106, and to avoid repeating, this is no longer going to repeat them.
Compared with prior art, in present embodiment, weather forecast method is applied to terminal device, and weather lookup instruction is
The bracket for being used to support terminal device is sent to the instruction of terminal device;The matching degree of forecasting weather situation and behavioural information, tool
Body are as follows: by the matching degree of forecasting weather situation and behavioural information, bracket is sent to, for bracket to user feedback forecasting weather situation
With the matching degree of behavioural information.By being used to support the bracket of terminal device to user feedback forecasting weather situation and behavioural information
Matching degree, be conducive to the matching degree that user is more accurately fed back, terminal device is placed on bracket by user, be not necessarily to user
Hand is taken, and the voice output effect of bracket is more preferable, more convenient for users.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or
Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection scope of this patent
It is interior;To adding inessential modification in algorithm or in process or introducing inessential design, but its algorithm is not changed
Core design with process is all in the protection scope of the patent.
Four embodiment of the invention is related to a kind of terminal device, as shown in figure 4, including at least one processor 401;With
And the memory 402 with the communication connection of at least one processor 401;Wherein, be stored with can be by least one for memory 402
The instruction that device 401 executes is managed, instruction is executed by least one processor 401, so that at least one processor 401 is able to carry out
The weather forecast method stated.
Wherein, memory 402 is connected with processor 401 using bus mode, and bus may include any number of interconnection
Bus and bridge, bus is by one or more processors together with the various circuit connections of memory.Bus can also will be all
As peripheral equipment, voltage-stablizer and management circuit or the like various other circuit connections together with, these are all this fields
Known, therefore, it will not be further described herein.Bus interface provides interface between bus and transceiver.
Transceiver can be an element, be also possible to multiple element, such as multiple receivers and transmitter, provide for being situated between in transmission
The unit communicated in matter with various other devices.The data handled through processor 401 are passed on the radio medium by antenna
Defeated, further, antenna also receives data and transfers data to processor 401.
Processor 401 is responsible for management bus and common processing, can also provide various functions, including timing, periphery connects
Mouthful, voltage adjusting, power management and other control functions.And memory 402 can be used for storage processor 401 and execute
Used data when operation.
Fifth embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program.Computer
Above method embodiment is realized when program is executed by processor.
That is, it will be understood by those skilled in the art that implement the method for the above embodiments be can be with
Relevant hardware is instructed to complete by program, which is stored in a storage medium, including some instructions are to make
It obtains an equipment (can be single-chip microcontroller, chip etc.) or processor (processor) executes side described in each embodiment of the application
The all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention,
And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.
Claims (10)
1. a kind of weather forecast method characterized by comprising
After detecting weather lookup instruction, judge whether carry behavioural information in the weather lookup instruction;
If carrying behavioural information in the weather lookup instruction, according to the type of the behavioural information, obtains and believe with behavior
The corresponding duration to be predicted of the type of breath;Wherein, the type of different behavioural informations, corresponding different duration to be predicted;
The weather conditions in the corresponding duration to be predicted are inquired, and according to the weather conditions inquired, forecasting weather situation
With the matching degree of the behavioural information.
2. weather forecast method according to claim 1, which is characterized in that be in the judgement weather lookup instruction
It is no to carry behavioural information, it specifically includes:
It detects in the weather lookup instruction and whether carries preset keyword;
If carrying preset keyword in the weather lookup instruction, determine to carry behavior in the weather lookup instruction
Information.
3. weather forecast method according to claim 2, which is characterized in that the weather lookup instruction is that user speech is defeated
The weather lookup instruction entered;
Preset keyword whether is carried in the detection weather lookup instruction, is specifically included:
Semantics recognition is carried out to the weather lookup instruction of user speech input;
If in the result of semantics recognition, there are the keywords, then determine to carry preset pass in the weather lookup instruction
Key word.
4. weather forecast method according to claim 2, which is characterized in that the preset keyword, including it is following it
One or any combination thereof:
It gos out, clothes of doing washing, working.
5. weather forecast method according to claim 4, which is characterized in that further include:
If carrying preset keyword in the weather lookup instruction, and the keyword carried is laundry clothes, then obtains described
Before taking duration to be predicted corresponding with the type of behavioural information, user is prompted to input garment type;
It is described to obtain duration to be predicted corresponding with the type of behavioural information, specifically: obtain the garment type with user's input
Corresponding duration to be predicted.
6. weather forecast method according to any one of claim 1 to 5, which is characterized in that the basis inquired
Weather conditions, the matching degree of forecasting weather situation and the behavioural information, specifically include:
The corresponding relationship of weather conditions and behavioural information in each duration according to the pre-stored data, obtain with it is described inquire to pre-
Survey the corresponding behavioural information of weather conditions in duration;
The matching degree of the corresponding behavioural information that will acquire and the behavioural information carried in weather lookup instruction, as described
The matching degree of weather conditions and the behavioural information, is forecast.
7. weather forecast method according to any one of claim 1 to 5, which is characterized in that the weather forecast method
Applied to terminal device, the weather lookup instructs to be used to support the finger that the bracket of terminal device is sent to the terminal device
It enables;
The matching degree of the forecasting weather situation and the behavioural information, specifically: by the weather conditions of forecast with it is described
The matching degree of behavioural information is sent to the bracket, believes for the bracket to weather conditions described in user feedback and the behavior
The matching degree of breath.
8. weather forecast method according to any one of claim 1 to 5, which is characterized in that further include:
If not carrying behavioural information in the weather lookup instruction, inquires and broadcast current weather conditions;
Current weather conditions are inquired with predetermined period, and after inquiring weather conditions each time, judge what this was inquired
Whether weather conditions are identical as the weather conditions of last time casting, if it is different, then broadcasting this weather conditions inquired.
9. a kind of terminal device characterized by comprising
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one
It manages device to execute, so that at least one described processor is able to carry out the weather forecast side as described in any in claim 1 to 8
Method.
10. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the computer program is located
Reason device realizes weather forecast method described in any item of the claim 1 to 8 when executing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811011647.9A CN109213915A (en) | 2018-08-31 | 2018-08-31 | weather forecast method, terminal device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811011647.9A CN109213915A (en) | 2018-08-31 | 2018-08-31 | weather forecast method, terminal device and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109213915A true CN109213915A (en) | 2019-01-15 |
Family
ID=64985443
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811011647.9A Pending CN109213915A (en) | 2018-08-31 | 2018-08-31 | weather forecast method, terminal device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109213915A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112802460A (en) * | 2021-04-14 | 2021-05-14 | 中国科学院国家空间科学中心 | Space environment forecasting system based on voice processing |
CN112948647A (en) * | 2021-02-26 | 2021-06-11 | 北京百度网讯科技有限公司 | Weather query method and device, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101935937A (en) * | 2010-09-09 | 2011-01-05 | 海尔集团公司 | Washing machine control method for regulating washing process according to weather condition |
CN103046290A (en) * | 2012-12-28 | 2013-04-17 | 惠州Tcl家电集团有限公司 | Washer washing method, washer washing system and server |
US20130339367A1 (en) * | 2012-06-14 | 2013-12-19 | Santhosh Adayikkoth | Method and system for preferential accessing of one or more critical entities |
CN105224278A (en) * | 2015-08-21 | 2016-01-06 | 百度在线网络技术(北京)有限公司 | Interactive voice service processing method and device |
CN105512269A (en) * | 2015-12-03 | 2016-04-20 | 北京彩彻区明科技有限公司 | Method and device for acquiring weather information based on user |
CN106982289A (en) * | 2016-01-16 | 2017-07-25 | 平安科技(深圳)有限公司 | Wear based reminding method and mobile terminal |
CN107979528A (en) * | 2017-11-17 | 2018-05-01 | 广东乐心医疗电子股份有限公司 | Weather reminding method and system |
-
2018
- 2018-08-31 CN CN201811011647.9A patent/CN109213915A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101935937A (en) * | 2010-09-09 | 2011-01-05 | 海尔集团公司 | Washing machine control method for regulating washing process according to weather condition |
US20130339367A1 (en) * | 2012-06-14 | 2013-12-19 | Santhosh Adayikkoth | Method and system for preferential accessing of one or more critical entities |
CN103046290A (en) * | 2012-12-28 | 2013-04-17 | 惠州Tcl家电集团有限公司 | Washer washing method, washer washing system and server |
CN105224278A (en) * | 2015-08-21 | 2016-01-06 | 百度在线网络技术(北京)有限公司 | Interactive voice service processing method and device |
CN105512269A (en) * | 2015-12-03 | 2016-04-20 | 北京彩彻区明科技有限公司 | Method and device for acquiring weather information based on user |
CN106982289A (en) * | 2016-01-16 | 2017-07-25 | 平安科技(深圳)有限公司 | Wear based reminding method and mobile terminal |
CN107979528A (en) * | 2017-11-17 | 2018-05-01 | 广东乐心医疗电子股份有限公司 | Weather reminding method and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112948647A (en) * | 2021-02-26 | 2021-06-11 | 北京百度网讯科技有限公司 | Weather query method and device, electronic equipment and storage medium |
CN112802460A (en) * | 2021-04-14 | 2021-05-14 | 中国科学院国家空间科学中心 | Space environment forecasting system based on voice processing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104021019B (en) | A kind of apply the control method of self-starting, terminal and server | |
CN104469707B (en) | A kind of mobile terminal and integrate the means of communication and the device of social account | |
CN107276866A (en) | Home appliance match somebody with somebody network method, device and home appliance | |
CN100488272C (en) | Mobile communication terminal and communication control method | |
CN107274587A (en) | The display methods and device, clothes washing system and storage medium of free time laundry machine information | |
CN102075601A (en) | Mobile phone speed dialing method based on fingerprint recognition | |
CN107241771A (en) | Method for switching network, mobile terminal and computer-readable recording medium | |
CN107484190B (en) | Method for connecting network, mobile terminal and computer readable storage medium | |
CN109450747B (en) | Method and device for awakening smart home equipment and computer storage medium | |
CN110392414B (en) | Wireless network connection method and device, terminal equipment and readable storage medium | |
CN104980557A (en) | Multi-card switching method and device for mobile phone terminal and terminal | |
CN109636433A (en) | Feeding card identification method, device, equipment and storage medium based on big data analysis | |
CN104754130A (en) | Intelligent dialing method and device | |
CN109213915A (en) | weather forecast method, terminal device and computer readable storage medium | |
CN106327703A (en) | Storage method, device and storage system of locker | |
CN108055386A (en) | Mobile terminal and its management method, storage device | |
CN114091712A (en) | Hotel self-service clothes washing method and device, electronic equipment and storage medium | |
CN105912583A (en) | Member service data interaction method and device for mobile terminal | |
CN105989103A (en) | Method for recommending application program and terminal | |
CN107624252A (en) | Control the method and device of network insertion | |
CN106022059A (en) | Fingerprint unlocking method and terminal | |
CN109957910B (en) | Clothes washing management method based on big data analysis | |
CN105898047A (en) | Contact dialing management method, dialing method and related devices | |
CN110113645A (en) | Control method for playing back, device, electronic equipment and the storage medium of multimedia equipment | |
CN109710278A (en) | A kind of method, apparatus and terminal device unloading application program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20211222 Address after: 276002 room 605, Zhongxing business enterprise development center, Pingshang Town, Lingang Economic Development Zone, Linyi City, Shandong Province Applicant after: Shandong influence Intelligent Technology Co.,Ltd. Address before: 201506 Room 1309, Building 6558, Tingwei Highway, Jinshan District, Shanghai Applicant before: SHANGHAI WIND SCIENCE AND TECHNOLOGIES Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190115 |
|
WD01 | Invention patent application deemed withdrawn after publication |