CN102932538A - Method for automatically broadcasting weather forecast through voice in mobile phone - Google Patents
Method for automatically broadcasting weather forecast through voice in mobile phone Download PDFInfo
- Publication number
- CN102932538A CN102932538A CN2012104015473A CN201210401547A CN102932538A CN 102932538 A CN102932538 A CN 102932538A CN 2012104015473 A CN2012104015473 A CN 2012104015473A CN 201210401547 A CN201210401547 A CN 201210401547A CN 102932538 A CN102932538 A CN 102932538A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- weather
- execution
- weather conditions
- automatically
- 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
Images
Abstract
The invention relates to a method for automatically broadcasting a weather forecast through a voice in a mobile phone. The method is characterized by comprising the following steps that: S1, a user presets weather forecast time; S2, within the preset time, the mobile phone searches a weather state from a network through a general packet radio service (GPRS) or third generation (3G) and judges whether the weather state is in accordance with a preset broadcasting condition, and if the weather state is in accordance with the preset broadcasting condition, the step S3 is executed; S3, corresponding voice data are selected from a database according to the weather state; and S4, the mobile phone automatically plays the voice data. By the method for automatically broadcasting the weather forecast through the voice in the mobile phone, the weather state can be acquired within the preset time according to a user demand; when the weather state is in accordance with the preset broadcasting condition, the corresponding voice data are selected from the database and are broadcast; and the method is high in pertinence, and the user experience is enhanced.
Description
Technical field
The present invention relates to the mobile phone application, more particularly, relate to the method that a kind of mobile phone speech is reported weather forecast automatically.
Background technology
Along with the development of society, mobile phone is as modern communication apparatus, and in China's development rapidly, universal also more and more extensive, mobile phone has made things convenient for people's life greatly, and mobile phone has become requisite communication tool in people's daily life.People's life is more and more busy, usually ignore the inconvenience that weather conditions bring to trip, in existing enforcement, although people can obtain weather forecast by mobile phone, people can check weather condition at any time, but all be to need the user initiatively to go to inquire about weather conditions, and can not remind accordingly particular weather targetedly, the user experiences and is bad.
Summary of the invention
The technical problem to be solved in the present invention is, the user that needs for prior art initiatively goes to inquire about weather conditions, and particular weather is reminded accordingly targetedly, the user experiences and bad defective, provides a kind of and can automatically play the method for weather forecast according to the mobile phone speech that customer requirements carries out weather forecast automatically.
The technical solution adopted for the present invention to solve the technical problems is: construct the method that a kind of mobile phone speech is play weather forecast automatically, may further comprise the steps:
S1, user preset weather forecast time;
S2, at Preset Time, mobile phone is searched for weather conditions by GPRS or 3G from network, and judges whether these weather conditions meet default report condition, if so, execution in step S3 then;
S3, in database, select corresponding speech data according to these weather conditions;
S4, mobile phone are play speech data automatically.
Automatically report in the method for weather forecast at mobile phone speech of the present invention, store weather conditions-speech data table in the described database.
Automatically report in the method for weather forecast at mobile phone speech of the present invention, described weather conditions comprise state of weather, temperature, uitraviolet intensity, air quality and humidity.
Automatically report in the method for weather forecast at mobile phone speech of the present invention, described state of weather comprises rainy day, snow sky, strong wind, greasy weather, fine day, and described temperature comprises high temperature, low temperature, described uitraviolet intensity comprise ultraviolet ray by force, a little less than the ultraviolet ray.
Automatically report in the method for weather forecast at mobile phone speech of the present invention, the default broadcast condition among the described step S2 comprises that rainy day, high temperature or ultraviolet ray are strong.
Automatically report in the method for weather forecast at mobile phone speech of the present invention, in described weather conditions-speech data table for speech data corresponding to each weather conditions.
Automatically report in the method for weather forecast at mobile phone speech of the present invention, described step S2 is further comprising the steps:
S21, at Preset Time, whether detection of handset has opened wifi, if open, execution in step S23 then, otherwise execution in step S22;
S22, reopen wifi, again execution in step S23;
S23, detect whether the wifi network is arranged, if so, execution in step S26 then, otherwise execution in step S24;
S24, detect GPRS or whether 3G network is opened, if so, execution in step S27 then, if not, execution in step S25 then;
S25, unlatching GPRS or 3G network, then execution in step S27;
S26, mobile phone connect wifi;
S27, mobile phone are searched for weather conditions from network, and judge whether these weather conditions meet default report condition, if so, and execution in step S3 then.
Implement mobile phone speech of the present invention and automatically report the method for weather forecast, has following beneficial effect: the user preset weather forecast time, obtain weather conditions at Preset Time, and judge whether these weather conditions meet default broadcast condition, if, then in database, select corresponding speech data to report according to these weather conditions, can be according to user's demand, obtain weather conditions at Preset Time, and only voice broadcast is carried out in the weather conditions that meet default broadcast condition, more targeted, improve the user and experience.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the flow chart that mobile phone speech of the present invention is reported the method for weather forecast automatically;
Fig. 2 is the particular flow sheet of the step S2 of the mobile phone speech of the present invention method of automatically reporting weather forecast.
Embodiment
In order to make purpose of the present invention clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, automatically report in the flow chart of method of weather forecast at mobile phone speech of the present invention, may further comprise the steps:
S1, user preset weather forecast time; The user can preset the weather forecast time according to actual needs, for example, and when every mornings 8, point, mobile phone transferred start to by shutdown.
S2, at Preset Time, mobile phone is searched for weather conditions by GPRS or 3G from network, and judges whether these weather conditions meet default report condition, if so, execution in step S3 then;
S3, in database, select corresponding speech data according to these weather conditions;
S4, mobile phone are play speech data automatically.
Further, comprise database in the mobile phone, store weather conditions-speech data table in this database.
Further, weather conditions comprise state of weather, temperature, uitraviolet intensity, air quality and humidity.
Further, state of weather comprises rainy day, snow sky, strong wind, greasy weather, fine day, hail sky etc., and temperature comprises high temperature, low temperature, uitraviolet intensity comprise ultraviolet ray by force, a little less than the ultraviolet ray, air quality comprises that air quality is good, air quality is poor.
Further, the default broadcast condition among the step S2 comprises that rainy day, high temperature or ultraviolet ray are strong.Namely only weather conditions be rainy day, high temperature or ultraviolet ray strong in, just in weather conditions-speech data table, search corresponding speech data and report.
Further, in weather conditions-speech data table for speech data corresponding to each weather conditions.When being the rainy day such as weather conditions, then corresponding speech data is: " be the rainy day today, gos out and please remember to be with umbrella."; When being high temperature such as weather conditions, then corresponding speech data is: " high temperature was gone out and please be remembered heatstroke prevention today "; Be ultraviolet when high such as weather conditions, then corresponding speech data is: " today, ultraviolet ray was high, please noted sun-proof." etc.This speech data can be set according to the personal like by the user.
Further, step S2 following steps:
S21, at Preset Time, whether detection of handset has opened wifi, if open, execution in step S23 then, otherwise execution in step S22;
S22, reopen wifi, again execution in step S23;
S23, detect whether the wifi network is arranged, if so, execution in step S26 then, otherwise execution in step S24;
S24, detect GPRS or whether 3G network is opened, if so, execution in step S27 then, if not, execution in step S25 then;
S25, unlatching GPRS or 3G network, then execution in step S27;
S26, mobile phone connect wifi;
S27, mobile phone are searched for weather conditions from network, and judge whether these weather conditions meet default report condition, if so, and execution in step S3 then.
Adopt mobile phone speech of the present invention automatically to report the method for weather forecast, the user preset weather forecast time, obtain weather conditions at Preset Time, and judge whether these weather conditions meet default broadcast condition, if, then in database, select corresponding speech data to report according to these weather conditions, can be according to user's demand, obtain weather conditions at Preset Time, and only related voice being carried out in the weather conditions that meet default broadcast condition reports, more targeted, improve the user and experience.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (7)
1. a mobile phone speech is reported the method for weather forecast automatically, it is characterized in that, may further comprise the steps:
S1, user preset weather forecast time;
S2, at Preset Time, mobile phone is searched for weather conditions by GPRS or 3G from network, and judges whether these weather conditions meet default report condition, if so, execution in step S3 then;
S3, in database, select corresponding speech data according to these weather conditions;
S4, mobile phone are play speech data automatically.
2. mobile phone speech according to claim 1 is reported the method for weather forecast automatically, it is characterized in that, stores weather conditions-speech data table in the described database.
3. mobile phone speech according to claim 2 is reported the method for weather forecast automatically, it is characterized in that, described weather conditions comprise state of weather, temperature, uitraviolet intensity, air quality and humidity.
4. mobile phone speech according to claim 3 is reported the method for weather forecast automatically, it is characterized in that, described state of weather comprises rainy day, snow sky, strong wind, greasy weather, fine day, and described temperature comprises high temperature, low temperature, described uitraviolet intensity comprise ultraviolet ray by force, a little less than the ultraviolet ray.
5. mobile phone speech according to claim 4 is reported the method for weather forecast automatically, it is characterized in that, the default broadcast condition among the described step S2 comprises that rainy day, high temperature or ultraviolet ray are strong.
6. mobile phone speech according to claim 5 is reported the method for weather forecast automatically, it is characterized in that, in described weather conditions-speech data table for speech data corresponding to each weather conditions.
7. mobile phone speech according to claim 6 is reported the method for weather forecast automatically, it is characterized in that, described step S2 is further comprising the steps:
S21, at Preset Time, whether detection of handset has opened wifi, if open, execution in step S23 then, otherwise execution in step S22;
S22, reopen wifi, again execution in step S23;
S23, detect whether the wifi network is arranged, if so, execution in step S26 then, otherwise execution in step S24;
S24, detect GPRS or whether 3G network is opened, if so, execution in step S27 then, if not, execution in step S25 then;
S25, unlatching GPRS or 3G network, then execution in step S27;
S26, mobile phone connect wifi;
S27, mobile phone are searched for weather conditions from network, and judge whether these weather conditions meet default report condition, if so, and execution in step S3 then.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012104015473A CN102932538A (en) | 2012-10-19 | 2012-10-19 | Method for automatically broadcasting weather forecast through voice in mobile phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012104015473A CN102932538A (en) | 2012-10-19 | 2012-10-19 | Method for automatically broadcasting weather forecast through voice in mobile phone |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102932538A true CN102932538A (en) | 2013-02-13 |
Family
ID=47647231
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012104015473A Pending CN102932538A (en) | 2012-10-19 | 2012-10-19 | Method for automatically broadcasting weather forecast through voice in mobile phone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102932538A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105096535A (en) * | 2014-04-23 | 2015-11-25 | 阿里巴巴集团控股有限公司 | Prompt method and device of air quality information |
WO2019114642A1 (en) * | 2017-12-13 | 2019-06-20 | 西安中兴新软件有限责任公司 | Voice playing method and device |
CN111223204A (en) * | 2020-03-23 | 2020-06-02 | 贵州电网有限责任公司 | Power inspection management method based on Beidou positioning and mobile terminal |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1761335A (en) * | 2004-10-11 | 2006-04-19 | 英华达(上海)电子有限公司 | Method for setting up timed display of information of weather forecast |
CN101651751A (en) * | 2009-09-02 | 2010-02-17 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for reminding weather information and mobile terminal |
CN101754460A (en) * | 2009-12-25 | 2010-06-23 | 宇龙计算机通信科技(深圳)有限公司 | Weather forecast prompting method, device and mobile terminal |
CN102025833A (en) * | 2010-11-25 | 2011-04-20 | 北京播思软件技术有限公司 | Method and device for automatically reminding weather change based on mobile terminal |
CN102082855A (en) * | 2010-12-30 | 2011-06-01 | 东莞宇龙通信科技有限公司 | Method for realizing alarm clock reminding on electronic terminal and electronic terminal |
CN102129371A (en) * | 2011-03-08 | 2011-07-20 | 深圳桑菲消费通信有限公司 | Alarm clock reminding method for mobile terminal |
CN102263858A (en) * | 2011-07-22 | 2011-11-30 | 深圳市无线开锋科技有限公司 | Weather forecast prompting method, system and mobile terminal thereof |
CN102694917A (en) * | 2012-05-24 | 2012-09-26 | 四川华立德科技有限公司 | Method for automatically forecasting weather by mobile phone voice |
-
2012
- 2012-10-19 CN CN2012104015473A patent/CN102932538A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1761335A (en) * | 2004-10-11 | 2006-04-19 | 英华达(上海)电子有限公司 | Method for setting up timed display of information of weather forecast |
CN101651751A (en) * | 2009-09-02 | 2010-02-17 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for reminding weather information and mobile terminal |
CN101754460A (en) * | 2009-12-25 | 2010-06-23 | 宇龙计算机通信科技(深圳)有限公司 | Weather forecast prompting method, device and mobile terminal |
CN102025833A (en) * | 2010-11-25 | 2011-04-20 | 北京播思软件技术有限公司 | Method and device for automatically reminding weather change based on mobile terminal |
CN102082855A (en) * | 2010-12-30 | 2011-06-01 | 东莞宇龙通信科技有限公司 | Method for realizing alarm clock reminding on electronic terminal and electronic terminal |
CN102129371A (en) * | 2011-03-08 | 2011-07-20 | 深圳桑菲消费通信有限公司 | Alarm clock reminding method for mobile terminal |
CN102263858A (en) * | 2011-07-22 | 2011-11-30 | 深圳市无线开锋科技有限公司 | Weather forecast prompting method, system and mobile terminal thereof |
CN102694917A (en) * | 2012-05-24 | 2012-09-26 | 四川华立德科技有限公司 | Method for automatically forecasting weather by mobile phone voice |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105096535A (en) * | 2014-04-23 | 2015-11-25 | 阿里巴巴集团控股有限公司 | Prompt method and device of air quality information |
WO2019114642A1 (en) * | 2017-12-13 | 2019-06-20 | 西安中兴新软件有限责任公司 | Voice playing method and device |
CN111223204A (en) * | 2020-03-23 | 2020-06-02 | 贵州电网有限责任公司 | Power inspection management method based on Beidou positioning and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105307228B (en) | A kind of method for switching network of mobile terminal, device and mobile terminal | |
CN203708499U (en) | Mobile end system supporting narrowband and wideband dual-mode fusion | |
EP2629582B1 (en) | Mobile terminal with routing function for supporting multiple-mode access and implementation method thereof | |
CN103024672B (en) | Method for prompting user according to signal intensity of mobile phone | |
US20140171145A1 (en) | Method and device for adjusting transmission power of mobile terminal | |
CN101867659A (en) | Mobile terminal and interface display method and device thereof | |
US20130203385A1 (en) | Method and Device for Dual-Network Terminal Communication | |
CN104244355A (en) | Multi-card terminal and network accessing method thereof | |
CN102904018B (en) | A kind of method and device of active antenna self-adaptative adjustment angle of declination | |
CN102932538A (en) | Method for automatically broadcasting weather forecast through voice in mobile phone | |
CN104410751A (en) | Method and system for power saving of mobile phone based on Bluetooth peripheral | |
CN101707783B (en) | Method for searching high priority network by user terminal of third generation mobile communication system | |
CN103188767A (en) | Method and device for searching for network by mobile terminal with CDMA (Code Division Multiple Access) dual-mode card | |
CN103916870B (en) | Four net coordination with the synthesis analysis systems and method | |
CN103068007B (en) | WLAN WLAN cut-in method and multimode terminal | |
CN205725818U (en) | Mifi equipment | |
CN109495926A (en) | mobile communication device and system, and event-triggered measurement reporting method | |
CN101959273A (en) | Mobile communication device and network switching method thereof | |
CN201417499Y (en) | Home intelligent safety protection system based on 3G mobile communication network | |
CN202677575U (en) | Wireless early warning broadcast host based on GSM technology | |
CN105307153A (en) | Terminal and wireless network configuration method therefor | |
CN101707791A (en) | Mobile terminal and cell reselecting method thereof | |
CN102333328B (en) | Network resource analysis method and system based on user signaling | |
CN102045891B (en) | Dual-mode switch communication device | |
CN105430757A (en) | Method for closing access point equipment and access point 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 | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130213 |