CN101854431A - Mobile phone with weather warning function and weather warning method based on same - Google Patents
Mobile phone with weather warning function and weather warning method based on same Download PDFInfo
- Publication number
- CN101854431A CN101854431A CN201010166133A CN201010166133A CN101854431A CN 101854431 A CN101854431 A CN 101854431A CN 201010166133 A CN201010166133 A CN 201010166133A CN 201010166133 A CN201010166133 A CN 201010166133A CN 101854431 A CN101854431 A CN 101854431A
- Authority
- CN
- China
- Prior art keywords
- weather
- weather information
- mobile phone
- state
- control signal
- 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
- 238000000034 method Methods 0.000 title claims abstract description 20
- 230000010365 information processing Effects 0.000 claims description 27
- 239000000284 extract Substances 0.000 claims description 8
- 238000001914 filtration Methods 0.000 claims description 8
- 230000006698 induction Effects 0.000 claims description 4
- 238000010295 mobile communication Methods 0.000 abstract description 3
- 230000005540 biological transmission Effects 0.000 abstract 1
- 241001269238 Data Species 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 2
- 239000012467 final product Substances 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
The invention relates to the field of mobile communication terminals and discloses a mobile phone with a weather warning function and a weather warning method based on the same. Because a weather information treatment module is adopted to obtain weather information, an analysis and transmission module periodically reads and analyzes whether a weather state in the weather information changes or not, and if changing, the weather state is sent to a background display and control module; the background display and control module controls a corresponding background graph displayed by the mobile phone based on weather state change control signals to enable the mobile phone to be added with a new function; and the invention can accordingly changes the function of displaying the background graph of the mobile phone based on weather change, and a user can be warned whether the weather changes or not in time, therefore, the invention provides convenience to the user.
Description
Technical field
The present invention relates to the mobile communication terminal field, in particular a kind of with the weather prompting function mobile phone and based on the weather based reminding method of mobile phone.
Background technology
Along with the development of mobile communication and the raising of people's living standard, the use of mobile phone more and more widely, mobile phone becomes an indispensable part in the people life.
And the most universal communication terminal of mobile phone conduct, its function is abundant further, and a lot of mobile phones all provide the function of User Defined mobile phone wallpaper picture and weather forecast.Usually these two kinds of functions all are independently to use as two.
Whether the mobile phone of prior art does not possess the function that changes the background picture of demonstration according to current weather condition, be not easy in time remind the user to know current weather and change.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, above-mentioned defective at prior art, provide a kind of with the weather prompting function mobile phone and based on the weather based reminding method of mobile phone, it makes mobile phone increase new function: can be according to the variation of weather and correspondingly change the function of handset displays background picture, provide users with the convenient.
The technical scheme that technical solution problem of the present invention is adopted is as follows:
A kind of mobile phone with the weather prompting function wherein, comprising:
The Weather information processing module is used to obtain current Weather information;
Resolve forwarding module, be used for periodically reading described Weather information from described Weather information processing module, and described Weather information resolved, Weather information after resolving is compared the control signal that produces a weather state change when state of weather changes with a preceding Weather information, and the control signal of this weather state change is sent to the background display control module;
The background display control module is used for the control signal according to described weather state change, controls the corresponding background picture of described handset displays.
The mobile phone of described band weather prompting function, wherein, it also comprises display module, is used for showing corresponding background picture according to the control of described background display control module.
The mobile phone of described band weather prompting function, wherein, described parsing forwarding module specifically comprises:
Regularly acquiring unit is used for periodically reading described Weather information from described Weather information processing module;
Resolve filter element, be used to resolve described Weather information, extract current weather conditions and filter out unwanted weather data, and the Weather information that filters is sent to the state of weather comparing unit;
The state of weather comparing unit is used for the Weather information of described filtration is compared with a preceding Weather information, when judging the control signal that produces a weather state change when state of weather changes;
Transmitting element is used for the control signal of described weather state change is sent to the background display control module.
The mobile phone of described band weather prompting function, wherein, described Weather information processing module comprises: the network receiving element is used for obtaining current Weather information by network from the service provider.
The mobile phone of described band weather prompting function, wherein, described Weather information processing module also comprises: sensor unit is used for the current Weather information of induction automatically.
A kind of weather based reminding method based on mobile phone wherein, may further comprise the steps:
A, obtain current Weather information;
B, periodicity read described Weather information, and described Weather information is resolved, and the Weather information after resolving is compared the control signal that produces a weather state change when state of weather changes with a preceding Weather information;
C, according to the control signal of described weather state change, control the corresponding background picture of described handset displays.
The described awake method of weather prompting based on mobile phone, wherein, described step B specifically comprises:
B1, periodicity read described Weather information from described Weather information processing module;
B2, resolve described Weather information, extract current weather conditions and filter out unwanted weather data, and the Weather information that filters is sent to the state of weather comparing unit;
B3, the Weather information of described filtration is compared with a preceding Weather information, when judging the control signal that produces a weather state change when state of weather changes;
B4, the control signal of described weather state change is sent to the background display control module.
The described awake method of weather prompting based on mobile phone, wherein, described steps A specifically comprises:
A1, obtain current Weather information from the service provider by network.
The described awake method of weather prompting based on mobile phone, wherein, described steps A also comprises:
A2, respond to current Weather information automatically.
The mobile phone of band weather prompting function provided by the present invention and based on the weather based reminding method of mobile phone, does owing to adopted the Weather information processing module to obtain Weather information: resolve forwarding module and periodically read and resolve Weather information: state of weather change? if change, then state of weather is sent to the background display control module; The background display control module is controlled the corresponding background picture of described handset displays according to the control signal of described weather state change; It makes mobile phone increase new function: can be according to the variation of weather and correspondingly change the function of handset displays background picture, and the user can in time be subjected to whether vicissitudinous prompting of weather, provides users with the convenient.
Description of drawings
Fig. 1 is the handset structure schematic diagram of the band weather prompting function that provides of the embodiment of the invention;
Fig. 2 is the Weather information processing module structure principle chart of the embodiment of the invention;
Fig. 3 is the parsing forwarding module structure principle chart of the embodiment of the invention;
Fig. 4 is the weather based reminding method flow chart based on mobile phone that the embodiment of the invention provides.
Embodiment
Provided by the invention a kind of with the weather prompting function mobile phone and based on the weather based reminding method of mobile phone, clearer, clear and definite for making purpose of the present invention, technical scheme and advantage, below develop simultaneously with reference to accompanying drawing that the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In order to realize to change according to current weather condition the function of the background picture of demonstration, a kind of mobile phone of the present invention with the weather prompting function, as shown in Figure 1, mainly comprise: Weather information processing module 110, parsing forwarding module 120, background display control module 130 and display module 140.
Described Weather information processing module 110 is mainly used in and obtains current Weather information; Concrete acquisition methods can be determined according to physical condition, for example can adopt the Weather information processing module 110 with network receiving element 111, obtains described current Weather information by network from the service provider; Or adopt Weather information processing module 110 to calculate current Weather information as induction chip by embedded in mobile phone by the sensing apparatus that terminal carries with sensor unit 112; One of dual mode gets final product.
Can certainly adopt described Weather information processing module 110 to comprise network receiving element 111 and sensor unit 112 simultaneously, as shown in Figure 2, the invention is not restricted to aforesaid way, can select Weather information obtain manner flexibly as the case may be.
Described parsing forwarding module 120, be mainly used in periodically and read described Weather information from described Weather information processing module, and described Weather information resolved, Weather information after resolving is compared the control signal that produces a weather state change when state of weather changes with a preceding Weather information, and the control signal of this weather state change is sent to the background display control module;
Described parsing forwarding module 120 will be periodically obtains current weather data and resolves from Weather information processing module 110, extracts current weather conditions and filters out other unwanted weather datas (as humidity, wind direction etc.); And keep some main weather datas, as fine day or rainy day etc.For example,, obtain data and be generally the XML form if obtain Weather information from the service provider by network, in the following example:
<WeatherInfo〉(Weather information)
<temperature〉43</temperature〉(temperature)
<realfeel〉47</realfeel〉(actual temperature)
<humidity〉58%</humidity〉(humidity)
<weathertext〉Sunny</weathertext〉(state of weather)
<wind〉S</wind〉(wind direction)
<windspeed〉3</windspeed〉(wind speed)
<visibility〉10</visibility〉(visibility)
</WeatherInfo>
Then only need extract wherein<weathertext data, promptly state of weather gets final product.Resolve forwarding module and will write down these data, and compare with previous state of weather, identical as state, then the weather data that continues next time reads; As the state difference, weather state change is described, then can pass through as application programming interfaces (API), the form that weather conditions can be discerned with the background control module passes to it, for example represent a certain weather with certain positive integer, fine as 1 expression, 2 expressions are cloudy etc., and the weather data that continues next time reads then.
Described background display control module 130 is mainly used in the control signal according to described weather state change, and the display module 140 of controlling described mobile phone shows corresponding background picture.Background display control module 130 can be according to the weather data that receives as described, platform interface by mobile phone terminal is changed the background picture that shows, for example, current is the fine scenery picture that then background is made as a fine day, can certainly allow user oneself set the associated picture of different weather.
Embodiment further, as shown in Figure 3, described parsing forwarding module 120 specifically comprises: acquiring unit 121 regularly, resolve filter element 122, state of weather comparing unit 123 and transmitting element 124.
Described timing acquiring unit 121 is used for periodically reading described Weather information from described Weather information processing module 110; For example read described Weather information from described Weather information processing module every 15 seconds.
Described parsing filter element 122 is used to resolve described Weather information, extracts current weather conditions and filters out unwanted weather data (as humidity, wind direction etc.), and the Weather information that filters is sent to state of weather comparing unit 123;
Described state of weather comparing unit 123 is used for the Weather information of described filtration is compared with a preceding Weather information, when judging the control signal that produces a weather state change when state of weather changes;
Transmitting element 124 is used for the control signal of described weather state change is sent to the background display control module.
Realized a kind of mobile phone that can change the background picture function of demonstration according to current weather condition based on above-mentioned, the embodiment of the invention also provides a kind of weather based reminding method based on mobile phone, as shown in Figure 4, may further comprise the steps:
The first step, Weather information processing module 110 are obtained current Weather information (step S410 as shown in Figure 4), concrete as previously described acquisition methods can be determined according to physical condition, as obtaining from the service provider by network receiving element 111, or the induction etc. automatically of the sensing apparatus that carries by terminal such as sensor unit 112.
Second step, parsing forwarding module 120 periodically read described Weather information from described Weather information processing module 110, and described Weather information resolved, Weather information after resolving is compared the control signal that produces a weather state change when state of weather changes with a preceding Weather information, and the control signal of this weather state change sent to the background display control module, it specifically may further comprise the steps, as shown in Figure 4.
S420, parsing forwarding module 120 periodically read and resolve described Weather information, the timing acquiring unit 121 that is described parsing forwarding module 120 periodically reads described Weather information from described Weather information processing module, extracts current weather conditions and filters out other unwanted weather datas (as humidity, wind direction etc.); And keep some main weather datas, as fine day or rainy day etc., and the Weather information that filters is sent to the state of weather comparing unit.
The state of weather comparing unit of S430, described parsing forwarding module is compared the Weather information of described filtration with a preceding Weather information, when judging the control signal that produces a weather state change when state of weather changes, does Weather information after being about to resolve and a preceding Weather information compare judge that state of weather changes? as not changing, promptly the Weather information of resolving after filtering is identical with a preceding Weather information state, then return step S420, the weather data that continues next time reads; If state of weather changes, then change step S440 over to.
S440, state of weather is sent to the background display control module: promptly compare the control signal that produces a weather state change when state of weather changes with a preceding Weather information when the Weather information of resolving after filtering, and the control signal of this weather state change is sent to the background display control module.
S450, background display control module are controlled the corresponding background picture of described handset displays according to the control signal of described weather state change, for example show corresponding background picture by display module according to the control of described background display control module.
The mobile phone of band weather prompting function provided by the present invention and based on the weather based reminding method of mobile phone, does owing to adopted the Weather information processing module to obtain Weather information: resolve forwarding module and periodically read and resolve Weather information: state of weather change? if change, then state of weather is sent to the background display control module; The background display control module is controlled the corresponding background picture of described handset displays according to the control signal of described weather state change; It makes mobile phone increase new function: can be according to the variation of weather and correspondingly change the function of handset displays background picture, and the user can in time be subjected to whether vicissitudinous prompting of weather, provides users with the convenient.
Should be understood that application of the present invention is not limited to above-mentioned giving an example, for those of ordinary skills, can be improved according to the above description or conversion that all these improvement and conversion all should belong to the protection range of claims of the present invention.
Claims (9)
1. the mobile phone with the weather prompting function is characterized in that, comprising:
The Weather information processing module is used to obtain current Weather information;
Resolve forwarding module, be used for periodically reading described Weather information from described Weather information processing module, and described Weather information resolved, Weather information after resolving is compared the control signal that produces a weather state change when state of weather changes with a preceding Weather information, and the control signal of this weather state change is sent to the background display control module;
The background display control module is used for the control signal according to described weather state change, controls the corresponding background picture of described handset displays.
2. according to the mobile phone of the described band weather of claim 1 prompting function, it is characterized in that it also comprises display module, be used for showing corresponding background picture according to the control of described background display control module.
3. according to the mobile phone of the described band weather of claim 1 prompting function, it is characterized in that described parsing forwarding module specifically comprises:
Regularly acquiring unit is used for periodically reading described Weather information from described Weather information processing module;
Resolve filter element, be used to resolve described Weather information, extract current weather conditions and filter out unwanted weather data, and the Weather information that filters is sent to the state of weather comparing unit;
The state of weather comparing unit is used for the Weather information of described filtration is compared with a preceding Weather information, when judging the control signal that produces a weather state change when state of weather changes;
Transmitting element is used for the control signal of described weather state change is sent to the background display control module.
4. according to the mobile phone of the described band weather of claim 1 prompting function, it is characterized in that described Weather information processing module comprises: the network receiving element is used for obtaining current Weather information by network from the service provider.
5. according to the mobile phone of claim 1 or 4 described band weather prompting functions, it is characterized in that described Weather information processing module also comprises: sensor unit is used for the current Weather information of induction automatically.
6. the weather based reminding method based on mobile phone is characterized in that, may further comprise the steps:
A, obtain current Weather information;
B, periodicity read described Weather information, and described Weather information is resolved, and the Weather information after resolving is compared the control signal that produces a weather state change when state of weather changes with a preceding Weather information;
C, according to the control signal of described weather state change, control the corresponding background picture of described handset displays.
7. according to the described awake method of weather prompting of claim 6, it is characterized in that described step B specifically comprises based on mobile phone:
B1, periodicity read described Weather information from described Weather information processing module;
B2, resolve described Weather information, extract current weather conditions and filter out unwanted weather data, and the Weather information that filters is sent to the state of weather comparing unit;
B3, the Weather information of described filtration is compared with a preceding Weather information, when judging the control signal that produces a weather state change when state of weather changes;
B4, the control signal of described weather state change is sent to the background display control module.
8. according to the described awake method of weather prompting of claim 6, it is characterized in that described steps A specifically comprises based on mobile phone:
A1, obtain current Weather information from the service provider by network.
9. according to the described awake method of weather prompting of claim 6, it is characterized in that described steps A also comprises based on mobile phone:
A2, respond to current Weather information automatically.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010166133A CN101854431A (en) | 2010-04-29 | 2010-04-29 | Mobile phone with weather warning function and weather warning method based on same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010166133A CN101854431A (en) | 2010-04-29 | 2010-04-29 | Mobile phone with weather warning function and weather warning method based on same |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101854431A true CN101854431A (en) | 2010-10-06 |
Family
ID=42805688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010166133A Pending CN101854431A (en) | 2010-04-29 | 2010-04-29 | Mobile phone with weather warning function and weather warning method based on same |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101854431A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102098631A (en) * | 2011-01-26 | 2011-06-15 | 华为终端有限公司 | Method for processing weather information, and terminal |
CN102467500A (en) * | 2010-10-19 | 2012-05-23 | 深圳富泰宏精密工业有限公司 | Meteorological information display system and method |
CN102932529A (en) * | 2012-09-28 | 2013-02-13 | 广东欧珀移动通信有限公司 | A method for automatically changing the theme of a mobile phone |
CN103150150A (en) * | 2011-12-06 | 2013-06-12 | 腾讯科技(深圳)有限公司 | Method and device for displaying weather information |
CN103167064A (en) * | 2011-12-16 | 2013-06-19 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and method for achieving color change of mobile terminal shell |
CN103294424A (en) * | 2012-02-23 | 2013-09-11 | 联想(北京)有限公司 | Mobile terminal and interface display method thereof |
CN105635421A (en) * | 2014-11-04 | 2016-06-01 | 中兴通讯股份有限公司 | Method and apparatus for achieving information reminding |
CN106599314A (en) * | 2016-12-30 | 2017-04-26 | 深圳天珑无线科技有限公司 | Weather variation prompt method and device |
CN107391943A (en) * | 2014-09-10 | 2017-11-24 | 气象预报公司 | Customizable synoptic analysis system, method and computer-readable medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20020078613A (en) * | 2001-04-06 | 2002-10-19 | 엘지전자 주식회사 | Method of weather forecast using a mobile phone |
KR20050030394A (en) * | 2003-09-26 | 2005-03-30 | 삼성전자주식회사 | Method for displaying back screen as weather information in mobile communication terminal |
KR20070014596A (en) * | 2005-07-29 | 2007-02-01 | 브이케이 주식회사 | How to automatically change desktop of mobile terminal |
CN1964543A (en) * | 2006-11-22 | 2007-05-16 | 华为技术有限公司 | User terminal to automatically change wall paper and/or topic mode and its realization method |
CN101359291A (en) * | 2008-09-08 | 2009-02-04 | 深圳华为通信技术有限公司 | Method and device for replacing interface styles |
CN101471972A (en) * | 2007-12-28 | 2009-07-01 | 希姆通信息技术(上海)有限公司 | Mobile phone weather forecast system |
-
2010
- 2010-04-29 CN CN201010166133A patent/CN101854431A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20020078613A (en) * | 2001-04-06 | 2002-10-19 | 엘지전자 주식회사 | Method of weather forecast using a mobile phone |
KR20050030394A (en) * | 2003-09-26 | 2005-03-30 | 삼성전자주식회사 | Method for displaying back screen as weather information in mobile communication terminal |
KR20070014596A (en) * | 2005-07-29 | 2007-02-01 | 브이케이 주식회사 | How to automatically change desktop of mobile terminal |
CN1964543A (en) * | 2006-11-22 | 2007-05-16 | 华为技术有限公司 | User terminal to automatically change wall paper and/or topic mode and its realization method |
CN101471972A (en) * | 2007-12-28 | 2009-07-01 | 希姆通信息技术(上海)有限公司 | Mobile phone weather forecast system |
CN101359291A (en) * | 2008-09-08 | 2009-02-04 | 深圳华为通信技术有限公司 | Method and device for replacing interface styles |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102467500A (en) * | 2010-10-19 | 2012-05-23 | 深圳富泰宏精密工业有限公司 | Meteorological information display system and method |
CN102098631A (en) * | 2011-01-26 | 2011-06-15 | 华为终端有限公司 | Method for processing weather information, and terminal |
CN103150150A (en) * | 2011-12-06 | 2013-06-12 | 腾讯科技(深圳)有限公司 | Method and device for displaying weather information |
CN103167064A (en) * | 2011-12-16 | 2013-06-19 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and method for achieving color change of mobile terminal shell |
CN103294424A (en) * | 2012-02-23 | 2013-09-11 | 联想(北京)有限公司 | Mobile terminal and interface display method thereof |
CN102932529A (en) * | 2012-09-28 | 2013-02-13 | 广东欧珀移动通信有限公司 | A method for automatically changing the theme of a mobile phone |
CN107391943A (en) * | 2014-09-10 | 2017-11-24 | 气象预报公司 | Customizable synoptic analysis system, method and computer-readable medium |
CN107423401A (en) * | 2014-09-10 | 2017-12-01 | 气象预报公司 | Customizable synoptic analysis system, method and computer-readable medium |
CN105635421A (en) * | 2014-11-04 | 2016-06-01 | 中兴通讯股份有限公司 | Method and apparatus for achieving information reminding |
CN106599314A (en) * | 2016-12-30 | 2017-04-26 | 深圳天珑无线科技有限公司 | Weather variation prompt method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101854431A (en) | Mobile phone with weather warning function and weather warning method based on same | |
CN101827173B (en) | Mobile phone changing ring tone according to changes of weather and implementation method thereof | |
CN104902086B (en) | Alarm clock ringing method and device | |
CN106488037B (en) | Calendar prompting method and device | |
CN201167365Y (en) | Mobile terminal | |
CN103546641A (en) | Mobile terminal notification bar message filtering method and device | |
CN101951435A (en) | Alarm clock reminding method, device and mobile terminal | |
CN104144260A (en) | Control method and device for avoiding disturbing from mobile terminal incoming calls | |
CN104880942A (en) | Display method and device for intelligent watch | |
CN103973550A (en) | Method, system and device for rapidly and intelligently identifying instant messaging application ID (identity) number and carrying out instant messaging | |
CN101902531A (en) | Method and device for switching contextual model and mobile terminal | |
CN102547614B (en) | A kind of automatic reminding method based on mobile phone and mobile phone | |
CN110807895A (en) | Monitoring method, device, equipment and storage medium based on intelligent wearable equipment | |
CN102480557A (en) | BREW platform-based mobile phone application program management method and system | |
KR101339019B1 (en) | Alarm clock with nfc terminal | |
CN106303077A (en) | Working mode of mobile terminal method to set up and device | |
CN103781032A (en) | Customized ring back tone playing method, system and customized ring back tone platform | |
CN104767886A (en) | Information prompting method | |
CN101872551A (en) | Method for controlling voice promoting device with code | |
CN201118611Y (en) | Pre-alarm information distribution terminal | |
CN104427493A (en) | Method for displaying user interface of wireless broadband equipment and wireless broadband equipment | |
CN105848250A (en) | Method and device for adding icon for service mark set, and terminal for displaying icon | |
CN105426044A (en) | Telephone answering method and terminal | |
CN101835126A (en) | Method for displaying state information and wireless data transmission terminal | |
CN106603813A (en) | Application program response and setting method and device |
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: 20101006 |