CN103731555B - A kind of alarm clock prompting method of mobile terminal and device - Google Patents
A kind of alarm clock prompting method of mobile terminal and device Download PDFInfo
- Publication number
- CN103731555B CN103731555B CN201410002195.3A CN201410002195A CN103731555B CN 103731555 B CN103731555 B CN 103731555B CN 201410002195 A CN201410002195 A CN 201410002195A CN 103731555 B CN103731555 B CN 103731555B
- Authority
- CN
- China
- Prior art keywords
- temperature
- actual
- error
- value
- mobile terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Telephone Function (AREA)
- Electric Clocks (AREA)
Abstract
The invention discloses a kind of alarm clock prompting method and device of mobile terminal, it obtains the actual temperature of current location after confirmation user turn off the alarm the tinkle of bells, and the forecast temperature of current locale in described current location actual temperature and network weather forecast is compared calculate reference error temperature value, the actual error temperature value of current locale is calculated again by threshold values, actual maximum temperature and the actual minimum on current locale same day is finally calculated in conjunction with described actual error temperature value, and reported to user, thus this area's temperature conditions is more accurately provided, weather service and alarm clock calling service is better provided to user, for healthy the providing of user is protected better.
Description
Technical field
The present invention relates to a kind of mobile terminal, particularly a kind of alarm clock prompting method of mobile terminal and the device of application the method.
Background technology
Along with the development of life fast paceization, understanding the weather information of today has become one of people's daily life, work necessary tool, therefore understand in time weather condition to our trip of one day and job placement highly beneficial.But, although existing alarm clock mode also has the function providing weather forecast, because the regional compare of weather forecast is large, cause the actual weather condition of subregion and the weather condition of weather forecast to have big difference.
Summary of the invention
The present invention, for solving the problem, provides a kind of alarm clock prompting method and device of mobile terminal, and it can in time for user provides weather service more accurately.
For achieving the above object, the technical solution used in the present invention is:
An alarm clock prompting method for mobile terminal, comprises the following steps:
A. user's turn off the alarm the tinkle of bells is confirmed;
B. the actual temperature of current location is obtained;
C. the forecast temperature of current locale in described current location actual temperature and network weather forecast is compared and calculate reference error temperature value;
D. the actual error temperature value that threshold values calculates current locale is carried out in the error temperature list that described reference error temperature value and history retain, and described reference error temperature value is saved in the list of history error temperature;
E. obtain the weather condition of current locale in network weather forecast, calculate actual maximum temperature and the actual minimum on current locale same day in conjunction with described actual error temperature value, and reported to user.
As preferred embodiment, in described step C, in network weather forecast, the forecast temperature of current locale is undertaken obtaining alternately by the network of mobile terminal or wireless network and weather forecast servers.
As preferred embodiment, the current location actual temperature in described step C and the reference error temperature value produced between the forecast temperature of current locale refer to the temperature spread that the different altitude height position of current locale or different geographical environment position produce.
As preferred embodiment, the threshold values in described step D calculates and mainly comprises:
D1. the data in the list of history error temperature are added up, obtain overall error and;
D2. by error and the sum divided by the list of history error temperature, average error value is obtained;
D3. described reference error temperature value and average error value are carried out the actual error temperature value that minimum value calculates current locale.
As preferred embodiment, described step e comprises further:
E1. the weather condition of each period of current locale in network weather forecast and the maximum temperature on the same day and lowest temperature condition is obtained;
E2. described maximum temperature and minimum temperature are carried out with described actual error temperature value the actual maximum temperature and the actual minimum that are added the same day obtaining final current locale;
E3. described actual maximum temperature and actual minimum are reported to user, and provide prompting of wearing the clothes.
As preferred embodiment, final actual maximum temperature and actual minimum are mainly mated with database of wearing the clothes by described step e 3, thus provide most suitable suggestion of wearing the clothes.
In addition, the present invention also provides a kind of device applying above-mentioned alarm clock prompting method, and it can set up following structure at existing mobile terminal, simple and practical, and this device comprises:
Alarm clock calling module, for starting ring of alarm clock at Preset Time;
Temperature-sensitive module, for obtaining the real time temperature of current location after user's turn off the alarm the tinkle of bells;
Comparison module, compares the forecast temperature of current locale in described current location actual temperature and network weather forecast and calculates reference error temperature value;
Computing module, the actual error temperature value that threshold values calculates current locale is carried out in the error temperature list described reference error temperature value and history retained, and is saved in the list of history error temperature by described reference error temperature value
Calibration module, obtains the weather condition of current locale in network weather forecast, calculates actual maximum temperature and the actual minimum on current locale same day in conjunction with described actual error temperature value;
Voice broadcast module, reports described actual maximum temperature and actual minimum to user.
As preferred embodiment, described temperature-sensitive module is the temperature sensor being arranged at mobile terminal side.
As preferred embodiment, described temperature sensor is utilize the transducer that the temperature variant rule of the physical property of material is electricity temperature transition.
As preferred embodiment, described temperature sensor is contactless temperature sensor.
The invention has the beneficial effects as follows:
The alarm clock prompting method of a kind of mobile terminal of the present invention and the device of application the method, it obtains the actual temperature of current location after confirmation user turn off the alarm the tinkle of bells, and the forecast temperature of current locale in described current location actual temperature and network weather forecast is compared calculate reference error temperature value, the actual error temperature value of current locale is calculated again by threshold values, actual maximum temperature and the actual minimum on current locale same day is finally calculated in conjunction with described actual error temperature value, and reported to user, thus this area's temperature conditions is more accurately provided, weather service and alarm clock calling service is better provided to user, for healthy the providing of user is protected better.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms a part of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the general flow chart of the alarm clock prompting method of a kind of mobile terminal of the present invention;
Fig. 2 is the structural representation of the alarm clock calling device of a kind of mobile terminal of the present invention.
Embodiment
In order to make technical problem to be solved by this invention, technical scheme and beneficial effect clearly, understand, 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, be not intended to limit the present invention.
As shown in Figure 1, the alarm clock prompting method of a kind of mobile terminal of the present invention, comprises the following steps:
A. user's turn off the alarm the tinkle of bells is confirmed;
B. the actual temperature of current location is obtained;
C. the forecast temperature of current locale in described current location actual temperature and network weather forecast is compared and calculate reference error temperature value;
D. the actual error temperature value that threshold values calculates current locale is carried out in the error temperature list that described reference error temperature value and history retain, and described reference error temperature value is saved in the list of history error temperature;
E. obtain the weather condition of current locale in network weather forecast, calculate actual maximum temperature and the actual minimum on current locale same day in conjunction with described actual error temperature value, and reported to user.
In the present embodiment, in described step C, in network weather forecast, the forecast temperature of current locale is undertaken obtaining alternately by the network of mobile terminal or wireless network and weather forecast servers.
In the present embodiment, the current location actual temperature in described step C and the reference error temperature value produced between the forecast temperature of current locale refer to the temperature spread that the different altitude height position of current locale or different geographical environment position produce; Such as, in same area, the temperature low with height above sea level that height above sea level is high has very large gap, also has very large gap near seashore and the weather not near seashore.
In the present embodiment, the threshold values in described step D calculates and mainly comprises:
D1. the data in the list of history error temperature are added up, obtain overall error and;
D2. by error and the sum divided by the list of history error temperature, average error value is obtained;
D3. described reference error temperature value and average error value are carried out the actual error temperature value that minimum value calculates current locale.
In the present embodiment, described step e comprises further:
E1. the weather condition of each period of current locale in network weather forecast and the maximum temperature on the same day and lowest temperature condition is obtained;
E2. described maximum temperature and minimum temperature are carried out with described actual error temperature value the actual maximum temperature and the actual minimum that are added the same day obtaining final current locale;
E3. described actual maximum temperature and actual minimum are reported to user, and provide prompting of wearing the clothes.
In the present embodiment, final actual maximum temperature and actual minimum are mainly mated with database of wearing the clothes by described step e 3, thus provide most suitable suggestion of wearing the clothes.
As shown in Figure 2, present invention also offers a kind of alarm clock calling device of mobile terminal, it comprises:
Alarm clock calling module 10, for starting ring of alarm clock at Preset Time;
Temperature-sensitive module 20, for obtaining the real time temperature of current location after user's turn off the alarm the tinkle of bells;
Comparison module 30, compares the forecast temperature of current locale in described current location actual temperature and network weather forecast and calculates reference error temperature value;
Computing module 40, the actual error temperature value that threshold values calculates current locale is carried out in the error temperature list described reference error temperature value and history retained, and is saved in the list of history error temperature by described reference error temperature value
Calibration module 50, obtains the weather condition of current locale in network weather forecast, calculates actual maximum temperature and the actual minimum on current locale same day in conjunction with described actual error temperature value;
Voice broadcast module 60, reports described actual maximum temperature and actual minimum to user.
In the present embodiment, described temperature-sensitive module is the temperature sensor being arranged at mobile terminal side; Described temperature sensor is utilize the transducer that the temperature variant rule of the physical property of material is electricity temperature transition; Described temperature sensor is contactless temperature sensor, and the sensor model number that the present embodiment adopts is: DS18B20.
The alarm clock prompting method of a kind of mobile terminal of the present invention and the device of application the method; this area's temperature conditions more accurately can be provided for user; weather service and alarm clock calling service is better provided, for healthy the providing of user is protected better to user.
Above-mentioned explanation illustrate and describes the preferred embodiments of the present invention, as front, be to be understood that the present invention is not limited to the form disclosed by this paper, should not regard the eliminating to other embodiments as, and can be used for other combinations various, amendment and environment, and can in invention contemplated scope herein, changed by the technology of above-mentioned instruction or association area or knowledge.And the change that those skilled in the art carry out and change do not depart from the spirit and scope of the present invention, then all should in the protection range of claims of the present invention.
Claims (8)
1. an alarm clock prompting method for mobile terminal, is characterized in that, comprises the following steps:
A. user's turn off the alarm the tinkle of bells is confirmed;
B. the actual temperature of current location is obtained;
C. the forecast temperature of current locale in described current location actual temperature and network weather forecast compared and calculate reference error temperature value, this reference error temperature value refers to the temperature spread that the different altitude height position of current locale or different geographical environment position produce;
D. the actual error temperature value that threshold calculations obtains current locale is carried out in the error temperature list that described reference error temperature value and history retain, and described reference error temperature value is saved in the list of history error temperature; Described threshold calculations be by the data in the list of history error temperature are carried out cumulative obtain overall error and, obtain average error value by error with divided by the sum of history error temperature list again, then described reference error temperature value and average error value are carried out the actual error temperature value that minimum value calculates current locale;
E. obtain the weather condition of current locale in network weather forecast, calculate actual maximum temperature and the actual minimum on current locale same day in conjunction with described actual error temperature value, and reported to user.
2. the alarm clock prompting method of a kind of mobile terminal according to claim 1, is characterized in that: in described step C, in network weather forecast, the forecast temperature of current locale is undertaken obtaining alternately by the network of mobile terminal or wireless network and weather forecast servers.
3. the alarm clock prompting method of a kind of mobile terminal according to claim 1, is characterized in that: described step e comprises further:
E1. the weather condition of each period of current locale in network weather forecast and the maximum temperature on the same day and lowest temperature condition is obtained;
E2. described maximum temperature and minimum temperature are carried out with described actual error temperature value the actual maximum temperature and the actual minimum that are added the same day obtaining final current locale;
E3. described actual maximum temperature and actual minimum are reported to user, and provide prompting of wearing the clothes.
4. the alarm clock prompting method of a kind of mobile terminal according to claim 3, is characterized in that: final actual maximum temperature and actual minimum are mainly mated with database of wearing the clothes by described step e 3, thus provides most suitable suggestion of wearing the clothes.
5. an alarm clock calling device for mobile terminal, it is characterized in that, it comprises:
Alarm clock calling module, for starting ring of alarm clock at Preset Time;
Temperature-sensitive module, for obtaining the real time temperature of current location after user's turn off the alarm the tinkle of bells;
Comparison module, the forecast temperature of current locale in described current location actual temperature and network weather forecast compared and calculate reference error temperature value, this reference error temperature value refers to the temperature spread that the different altitude height position of current locale or different geographical environment position produce;
Computing module, the actual error temperature value that threshold calculations obtains current locale is carried out in the error temperature list described reference error temperature value and history retained, and is saved to by described reference error temperature value in the list of history error temperature; Described threshold calculations be by the data in the list of history error temperature are carried out cumulative obtain overall error and, obtain average error value by error with divided by the sum of history error temperature list again, then described reference error temperature value and average error value are carried out the actual error temperature value that minimum value calculates current locale;
Calibration module, obtains the weather condition of current locale in network weather forecast, calculates actual maximum temperature and the actual minimum on current locale same day in conjunction with described actual error temperature value;
Voice broadcast module, reports described actual maximum temperature and actual minimum to user.
6. the alarm clock calling device of a kind of mobile terminal according to claim 5, is characterized in that: described temperature-sensitive module is the temperature sensor being arranged at mobile terminal side.
7. the alarm clock calling device of a kind of mobile terminal according to claim 6, is characterized in that: described temperature sensor is utilize the transducer that the temperature variant rule of the physical property of material is electricity temperature transition.
8. the alarm clock calling device of a kind of mobile terminal according to claim 6, is characterized in that: described temperature sensor is contactless temperature sensor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410002195.3A CN103731555B (en) | 2014-01-01 | 2014-01-01 | A kind of alarm clock prompting method of mobile terminal and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410002195.3A CN103731555B (en) | 2014-01-01 | 2014-01-01 | A kind of alarm clock prompting method of mobile terminal and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103731555A CN103731555A (en) | 2014-04-16 |
CN103731555B true CN103731555B (en) | 2016-03-09 |
Family
ID=50455473
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410002195.3A Active CN103731555B (en) | 2014-01-01 | 2014-01-01 | A kind of alarm clock prompting method of mobile terminal and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103731555B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104317184A (en) * | 2014-11-05 | 2015-01-28 | 安徽立轩电子科技有限公司 | Electronic alarm clock with temperature reminding function |
CN104601807A (en) * | 2014-12-30 | 2015-05-06 | 西安乾易企业管理咨询有限公司 | Mobile terminal type intelligent reminding method for sudden changes of weather |
CN106844401A (en) * | 2015-12-07 | 2017-06-13 | 北京奇虎科技有限公司 | Wear the clothes suggestion method for pushing, user equipment and server |
WO2019183750A1 (en) * | 2018-03-26 | 2019-10-03 | 深圳市锐明技术股份有限公司 | Inertia sensor correction method and apparatus, terminal device and storage medium |
CN109130778B (en) * | 2018-08-15 | 2022-03-04 | 北京新能源汽车股份有限公司 | Control method, device and equipment for vehicle-mounted air conditioner |
CN110516860A (en) * | 2019-08-16 | 2019-11-29 | 上海掌门科技有限公司 | Processing method, equipment and the computer readable storage medium of weather forecasting data |
CN113532666B (en) * | 2021-06-10 | 2024-07-16 | 杭州唯灵医疗科技有限公司 | Temperature broadcasting method, system, electronic device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101150799A (en) * | 2006-09-18 | 2008-03-26 | 联想(北京)有限公司 | A method and system for displaying weather information on mobile terminal |
CN101471972A (en) * | 2007-12-28 | 2009-07-01 | 希姆通信息技术(上海)有限公司 | Mobile phone weather forecast system |
CN102006347A (en) * | 2010-12-02 | 2011-04-06 | 惠州Tcl移动通信有限公司 | Mobile communication equipment and alarming method thereof |
CN102694917A (en) * | 2012-05-24 | 2012-09-26 | 四川华立德科技有限公司 | Method for automatically forecasting weather by mobile phone voice |
CN102984366A (en) * | 2012-11-15 | 2013-03-20 | 广东欧珀移动通信有限公司 | Clothing reminding method and system |
CN103024150A (en) * | 2012-11-27 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method for awakening voice assistant |
-
2014
- 2014-01-01 CN CN201410002195.3A patent/CN103731555B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101150799A (en) * | 2006-09-18 | 2008-03-26 | 联想(北京)有限公司 | A method and system for displaying weather information on mobile terminal |
CN101471972A (en) * | 2007-12-28 | 2009-07-01 | 希姆通信息技术(上海)有限公司 | Mobile phone weather forecast system |
CN102006347A (en) * | 2010-12-02 | 2011-04-06 | 惠州Tcl移动通信有限公司 | Mobile communication equipment and alarming method thereof |
CN102694917A (en) * | 2012-05-24 | 2012-09-26 | 四川华立德科技有限公司 | Method for automatically forecasting weather by mobile phone voice |
CN102984366A (en) * | 2012-11-15 | 2013-03-20 | 广东欧珀移动通信有限公司 | Clothing reminding method and system |
CN103024150A (en) * | 2012-11-27 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method for awakening voice assistant |
Also Published As
Publication number | Publication date |
---|---|
CN103731555A (en) | 2014-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103731555B (en) | A kind of alarm clock prompting method of mobile terminal and device | |
CN110502820A (en) | A kind of structural steelwork Monitoring and forecasting system in real-time method based on BIM | |
CN108181607A (en) | Localization method, device and computer readable storage medium based on fingerprint base | |
CN102307262B (en) | Method for controlling mobile phone alarm clock | |
CN104851051A (en) | Dynamic-modification-combined storm rainfall fine alarming method for power grid zone | |
CN103516912B (en) | A kind of mobile terminal location electricity saving method | |
CN102984366A (en) | Clothing reminding method and system | |
CN104237466B (en) | Waterproof reminding method of wearable device and wearable device | |
CN105101090B (en) | A kind of node positioning method of environmental monitoring wireless sense network | |
CN103645629A (en) | Alarm clock timing method | |
CN104504616A (en) | Positioning method for electric network equipment with operating risk based on GIS (geographic information system) and weather information | |
CN109815611B (en) | Basin boundary generating method based on digital basin | |
CN102982658A (en) | Electric capital construction meteorological disaster warning method based on refined weather forecast information and system | |
CN103179279A (en) | Method and system for automatically switching scene model of mobile terminal | |
CN104143129A (en) | Emergency dispatching plan generation method oriented towards water pollution emergent event | |
CN104267798A (en) | Data processing method and device | |
CN103763773A (en) | Method and device for locating mobile terminal | |
WO2016092737A1 (en) | Information communicating method and information communicating device | |
CN104104760A (en) | Mobile terminal capable of displaying temperature and mobile terminal temperature providing method | |
CN109543994A (en) | A kind of unmanned plane dispositions method and device | |
CN105376402A (en) | Alarm method and device based on geographical position information | |
CN103500530A (en) | Automatic initial scale map making method based on space distribution of road network | |
CN104915196A (en) | Alarm clock optimization module | |
Nikbakht et al. | Effect of irrigation efficiency increasing on groundwater level fluctuations (Cast study: Ajab-Shir Plain, East Azarbaijan) | |
JP6452854B2 (en) | Power generation amount calculation device, power generation amount calculation system, power generation amount calculation method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |