[go: up one dir, main page]

WO2017166883A1 - Weather information notification method and device - Google Patents

Weather information notification method and device Download PDF

Info

Publication number
WO2017166883A1
WO2017166883A1 PCT/CN2016/113485 CN2016113485W WO2017166883A1 WO 2017166883 A1 WO2017166883 A1 WO 2017166883A1 CN 2016113485 W CN2016113485 W CN 2016113485W WO 2017166883 A1 WO2017166883 A1 WO 2017166883A1
Authority
WO
WIPO (PCT)
Prior art keywords
contact
information
weather
preset
location
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.)
Ceased
Application number
PCT/CN2016/113485
Other languages
French (fr)
Chinese (zh)
Inventor
杨俊�
李家军
饶俊成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Publication of WO2017166883A1 publication Critical patent/WO2017166883A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Definitions

  • the embodiments of the present invention relate to the technical field of mobile terminals, and in particular, to a method and an apparatus for alerting weather information.
  • handheld mobile terminals such as mobile phones, etc.
  • functions such as calls and text messages
  • wireless Internet access and weather forecasting functions have been added.
  • the prior art weather reminder generally collects the current weather information of the city according to the GPS positioning city when the alarm clock sounds, and broadcasts the current city weather in the form of text-to-speech.
  • the weather broadcast information is relatively simple, lacks fun, and lacks social interaction.
  • the purpose of the embodiments of the present invention is to provide a method and apparatus for alerting weather information, aiming at solving the problem of how to improve social interaction between mobile terminal users.
  • the embodiment of the present invention adopts the following technical solutions:
  • a method of alerting weather information comprising:
  • the contact information includes historical communication records and/or address book information
  • the weather information is sent to the contact by a preset manner.
  • the obtaining the contact location according to the contact information comprises:
  • the obtaining the contact location according to the contact information comprises:
  • the text communication information includes short message text communication information.
  • the sorting and displaying the weather information according to a preset priority comprises:
  • the communication frequency is the number of communication times in a preset period of time.
  • the method before the sending the weather information to the contact by using a preset manner, the method further includes:
  • the reminder threshold includes a preset threshold, a preset display ranking threshold, or a difference between the historical average weather data of the contact location and the current weather data of the location of the contact acquired in real time;
  • the weather information is sent to the contact by using a short message or a voice.
  • an apparatus for alerting weather information comprising:
  • a first acquiring module configured to acquire contact information of the mobile terminal, where the contact information includes historical communication records and/or address book information;
  • a second acquiring module configured to acquire a location of the contact according to the contact information, and obtain weather information of the location of the contact
  • a display module configured to sort the weather information according to a preset priority
  • a sending module configured to send the weather information to the contact by using a preset manner.
  • the second obtaining module is configured to:
  • the second obtaining module is configured to:
  • the text communication information includes short message text communication information.
  • the display module is configured to:
  • the communication frequency is the number of communication times in a preset period of time.
  • the device further comprises:
  • the third obtaining module is configured to obtain a reminder threshold, where the reminder threshold includes a preset threshold, a preset display ranking threshold, or historical average weather data of the contact location and current weather data of the contact location of the real-time contact Difference
  • the sending module is set to:
  • the weather information is sent to the contact by using a short message or a voice.
  • An embodiment of the present invention provides a method and device for alerting weather information, and acquiring contact information of a mobile terminal, where the contact information includes historical communication records and/or address book information; and obtaining a contact location according to the contact information.
  • Obtaining the weather information of the location of the contact sorting and displaying the weather information according to a preset priority; sending the weather information to the contact by using a preset manner, thereby obtaining the user address book information, and querying Go to the corresponding weather information, rank and display the weather conditions of the address book friends, and can know the weather conditions of the friends in real time, and the threshold broadcast users care about the friends in the weather abnormal city, increase the social attributes of the weather alarm, and greatly improve the products.
  • FIG. 1 is a schematic flow chart of a first embodiment of a method for reminding weather information according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of a second embodiment of a method for reminding weather information according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of functional modules of an apparatus for reminding weather information according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of functional modules of an apparatus for reminding weather information according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for reminding weather information according to an embodiment of the present invention.
  • the method for reminding weather information includes:
  • Step 101 Obtain contact information of the mobile terminal, where the contact information includes historical communication records and/or address book information.
  • a historical communication record of the mobile terminal may be obtained, where the historical communication record includes information such as a voice, video, text communication record of the contact, or a phone number in the user's address book.
  • Step 102 Obtain a contact location according to the contact information, and obtain weather information of the contact location;
  • the way to obtain the location through contact information is as follows:
  • the obtaining the contact location according to the contact information comprises:
  • the home location of the contact may be obtained according to the contact phone number.
  • the obtaining the contact location according to the contact information comprises:
  • the text communication information includes short message text communication information.
  • the contact location may be obtained by the way and time contacted by the contact, and the contact method includes video, voice, and other non-text communication methods, or text communication mode, and the time may be preset to one day or one week or one. Within the month.
  • Step 103 Sort and display the weather information according to a preset priority.
  • the sorting and displaying the weather information according to a preset priority comprises:
  • Sort display according to the number of communications or communication frequency; or,
  • Preset contact priority is sorted and displayed
  • the communication frequency is the number of communication times in a preset period of time.
  • the acquired weather information of at least one contact needs to be sorted and displayed, and the sorting manner may be: sorting according to weather data, or sorting display according to the number of communications or communication frequency, or the importance of the preset contact. Priority is sorted and displayed.
  • the temperature is as high as 35 ° C, ranking first in the contact ranking, while Li Si is in Sydney, Australia, the temperature is 0 ° C.
  • the obtained ranking information is updated every day when the user is connected to the network, and is displayed to the user, and the user can choose to send a greeting to the friend.
  • Step 104 Send the weather information to the contact by using a preset manner.
  • an alarm reminder can be set to automatically send a prompt message to the contact after the alarm reminder time arrives. For example, when the alarm goes off, not only the weather of the city/region where the user is located, but also the weather of the city and region where the user is concerned, or the highest/lowest temperature, or the best/worst friend of PM2.5. happensing. In order to improve the accuracy, it can be set ten minutes before the alarm reminder. If the user's mobile phone is connected at this time, the corresponding ranking order can be updated.
  • An embodiment of the present invention provides a method for reminding weather information, which acquires contact information of a mobile terminal, where the contact information includes historical communication records and/or address book information; acquires a contact location according to the contact information, and obtains The weather information of the contact location; the weather information is sorted and displayed according to a preset priority; the weather information is sent to the contact in a preset manner, thereby obtaining a corresponding information by obtaining the user address book information
  • the weather information ranks and displays the weather conditions of the address book friends, can know the weather conditions of the friends in real time, and the threshold broadcasts the users concerned about the friends in the weather abnormal city, increases the social attributes of the weather alarm clock, and greatly improves the product taste. Sex.
  • Step 201 Obtain contact information of the mobile terminal, where the contact information includes historical communication records and/or address book information.
  • Step 202 Obtain a contact location according to the contact information, and obtain weather information of the contact location;
  • Step 203 Sort and display the weather information according to a preset priority.
  • Step 204 Obtain a reminder threshold, where the reminder threshold includes a preset threshold, a preset display ranking threshold, or a difference between the historical average weather data of the contact location and the current weather data of the contact location of the real-time contact;
  • the threshold value of the preset display ranking is taken as an example. After the ranking is obtained, the weather information corresponding to the two contacts at the beginning and the end of the ranking is compared with a threshold. If the threshold is exceeded, the reminder is sent to the user, and the threshold is not exceeded, for example, The highest temperature is 25 ° C, the lowest is 5 ° C does not need to remind.
  • the voice play will broadcast the interest of the first and last information of the ranking to the user, for example, Zhang San and Li Si mentioned.
  • the voice broadcast reminder is "Your friend - Zhang San's city temperature is 36 ° C, go to save him in the heat of the water," your friend - Li Si's city temperature 0 ° C, go to save in the snow and ice He.”
  • Step 205 Send the weather information to the contact by using a preset manner.
  • the weather information is sent to the contact by using a short message or a voice.
  • the sending manner may be a short message or a voice
  • the sent content may be a preset reminding content
  • An embodiment of the present invention provides a method for reminding weather information, which acquires contact information of a mobile terminal, where the contact information includes historical communication records and/or address book information; acquires a contact location according to the contact information, and obtains The weather information of the contact location; sorting and displaying the weather information according to a preset priority; sending the weather information to the contact in a preset manner, thereby setting a reminder threshold, when the reminder threshold is reached.
  • the weather information is sent to the contact by a preset manner, which increases the social attribute of the weather alarm, and greatly improves the interest of the product.
  • FIG. 3 is a schematic diagram of functional modules of an apparatus for alerting weather information according to an embodiment of the present invention.
  • the device for reminding weather information includes:
  • the first obtaining module 301 is configured to acquire contact information of the mobile terminal, where the contact information includes historical communication records and/or address book information;
  • a historical communication record of the mobile terminal may be obtained, where the historical communication record includes information such as a voice, video, text communication record of the contact, or a phone number in the user's address book.
  • the second obtaining module 302 is configured to obtain a location of the contact according to the contact information, and obtain weather information of the location of the contact;
  • the way to obtain the location through contact information is as follows:
  • the second obtaining module 302 is configured to:
  • the home location of the contact may be obtained according to the contact phone number.
  • the second obtaining module 302 is configured to:
  • the text communication information includes short message text communication information.
  • the contact location may be obtained by the way and time contacted by the contact, and the contact method includes video, voice, and other non-text communication methods, or text communication mode, and the time may be preset to one day or one week or one. Within the month.
  • the display module 303 is configured to sort and display the weather information according to a preset priority
  • the display module 303 is configured to:
  • the communication frequency is the number of communication times in a preset period of time.
  • the obtained weather information of at least one contact needs to be sorted and displayed, and the sorting manner may be: sorting according to weather data, or sorting according to the number of communications or communication frequency, or the importance of the preset contact. Priority is sorted and displayed.
  • the temperature is as high as 35 ° C, ranking first in the contact ranking, while Li Si is in Sydney, Australia, the temperature is 0 ° C.
  • the obtained ranking information is updated every day when the user is connected to the network, and is displayed to the user, and the user can choose to send a greeting to the friend.
  • the sending module 304 is configured to send the weather information to the contact by using a preset manner.
  • an alarm reminder can be set to automatically send a prompt message to the contact after the alarm reminder time arrives. For example, when the alarm goes off, not only the weather of the city/region where the user is located, but also the weather of the city and region where the user is concerned, or the highest/lowest temperature, or the best/worst friend of PM2.5. happensing. In order to improve the accuracy, it can be set ten minutes before the alarm reminder. If the user's mobile phone is connected at this time, the corresponding ranking order can be updated.
  • An embodiment of the present invention provides a device for reminding weather information, which acquires contact information of a mobile terminal, where the contact information includes historical communication records and/or address book information; acquires a contact location according to the contact information, and obtains The weather information of the contact location; the weather information is sorted and displayed according to a preset priority; the weather information is sent to the contact in a preset manner, thereby obtaining a corresponding information by obtaining the user address book information
  • the weather information ranks and displays the weather conditions of the address book friends, can know the weather conditions of the friends in real time, and the threshold broadcasts the users concerned about the friends in the weather abnormal city, increases the social attributes of the weather alarm clock, and greatly improves the product taste. Sex.
  • FIG. 4 is a schematic diagram of functional modules of an apparatus for reminding weather information according to an embodiment of the present invention.
  • the device for reminding weather information includes:
  • the first obtaining module 301 is configured to acquire contact information of the mobile terminal, where the contact information includes historical communication records and/or address book information;
  • the second obtaining module 302 is configured to obtain a location of the contact according to the contact information, and obtain weather information of the location of the contact;
  • the display module 303 is configured to sort and display the weather information according to a preset priority
  • the third obtaining module 404 is configured to obtain a reminder threshold, where the reminder threshold includes a preset threshold, a preset display ranking threshold, or historical average weather data of the contact location and current weather data of the contact location of the real-time contact. Difference
  • the threshold value of the preset display ranking is taken as an example. After the ranking is obtained, the weather information corresponding to the two contacts at the beginning and the end of the ranking is compared with a threshold. If the threshold is exceeded, the reminder is sent to the user, and the threshold is not exceeded, for example, The highest temperature is 25 ° C, the lowest is 5 ° C does not need to remind.
  • the voice play will broadcast the interest of the first and last information of the ranking to the user, for example, Zhang San and Li Si mentioned.
  • the voice broadcast reminder is "Your friend - Zhang San's city temperature is 36 ° C, go to save him in the heat of the water," your friend - Li Si's city temperature 0 ° C, go to save in the snow and ice He.”
  • the sending module 304 is configured to send the weather information to the contact by using a short message or a voice after the weather information exceeds the preset reminding threshold.
  • the sending manner may be a short message or a voice
  • the sent content may be a preset reminding content
  • An embodiment of the present invention provides a device for reminding weather information, which acquires contact information of a mobile terminal, where the contact information includes historical communication records and/or address book information; acquires a contact location according to the contact information, and obtains The weather information of the contact location; sorting and displaying the weather information according to a preset priority; sending the weather information to the contact in a preset manner, thereby setting a reminder threshold, when the reminder threshold is reached.
  • the weather information is sent to the contact by a preset manner, which increases the social attribute of the weather alarm, and greatly improves the interest of the product.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal 50 in the embodiment of the present invention may be different types of electronic devices, such as: smart phones, tablet computers, handheld computers, and mobile Internet devices, personal digital assistants, media players, smart televisions, smart watches. , smart glasses, smart bracelets, etc.
  • the mobile terminal 50 in the embodiment of the present invention includes: at least one processor 501, such as a CPU, at least one memory 502, and at least one transceiver 503.
  • the processor 501, the memory 502, and the transceiver 503 are connected and communicated through a bus system.
  • the memory 502 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • Program code is stored in the memory 502, and the processor 501 can call the program code stored in the memory 502 through a bus system to perform related functions.
  • the various modules eg, the first acquisition module 301, the second acquisition module 302, the display module 303, the transmission module 304, the third acquisition module 404, etc.
  • the program code in 502 is executed by the processor 501.
  • the processor 501 acquiring contact information of the mobile terminal, where the contact information includes historical communication records and/or address book information; acquiring a contact location according to the contact information, and acquiring the contact Weather information of the location of the person; sorting and displaying the weather information according to a preset priority; and transmitting the weather information to the contact by a preset manner.
  • the processor 501 obtains a contact location according to the contact information, including:
  • the processor 501 obtains a contact location according to the contact information, including:
  • the text communication information includes short message text communication information.
  • the processor 501 displays the weather information according to a preset priority, including:
  • Sort display according to the number of communications or communication frequency; or,
  • Preset contact priority is sorted and displayed
  • the communication frequency is the number of communication times in a preset period of time.
  • the processor 501 before the sending the weather information to the contact by using a preset manner, the processor 501:
  • the reminder threshold includes a preset threshold, a preset display ranking threshold, or a difference between the historical average weather data of the contact location and the current weather data of the location of the contact acquired in real time;
  • the weather information is sent to the contact by using a short message or a voice.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed in an embodiment of the invention are a weather information notification method and device. The method comprises: acquiring contact information of a mobile terminal, the contact information comprising historical communication records and/or address book information; acquiring locations of contacts according to the contact information, and acquiring weather information of the locations where the contacts are located; sorting and displaying the weather information according to a preset priority; and transmitting, to the contacts, the weather information by means of a preset method. The invention acquires information of an address book of a user to search for corresponding weather information, and sorts and displays the weather conditions of locations of friends in the address book, thereby ascertaining the weather conditions at the friend locations in real time. Moreover, threshold comparison is performed to inform the user of an extreme weather condition in a city in which a friend is located, so that the user can express his/her concern. The invention adds social network features to a weather and alarm clock function, thereby significantly increasing the enjoyment of a product.

Description

一种提醒天气信息的方法及装置Method and device for reminding weather information

本申请要求于2016年3月31日提交中国专利局,申请号为201610206479.3、发明名称为“一种提醒天气信息的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201610206479.3, entitled "A Method and Apparatus for Retaining Weather Information", filed on March 31, 2016, the entire contents of which are incorporated herein by reference. In the application.

技术领域Technical field

本发明实施例涉及移动终端的技术领域,尤其涉及一种提醒天气信息的方法及装置。The embodiments of the present invention relate to the technical field of mobile terminals, and in particular, to a method and an apparatus for alerting weather information.

背景技术Background technique

随着移动通信技术的发展,手持移动终端(如,手机等)的功能越来越多,除了通话、短信等功能之外,还增加了很多附加功能,例如无线上网功能、天气预报功能等。With the development of mobile communication technologies, handheld mobile terminals (such as mobile phones, etc.) have more and more functions. In addition to functions such as calls and text messages, many additional functions, such as wireless Internet access and weather forecasting functions, have been added.

现有技术的天气提醒一般是在闹钟响起时,根据GPS定位城市,获取该城市当前天气信息,用文字转语音的形式播报当前城市的天气。The prior art weather reminder generally collects the current weather information of the city according to the GPS positioning city when the alarm clock sounds, and broadcasts the current city weather in the form of text-to-speech.

在闹钟播放天气或者天气app语音播报时,只能播放用户所在地的天气,无法对移动终端其他联系人所在地的天气情况进行关注且提醒,天气播放信息较为单一,缺乏趣味性,缺少社交互动。When the alarm clock broadcasts the weather or the weather app voice broadcast, only the weather of the user's location can be played, and the weather conditions of the other contacts of the mobile terminal cannot be noticed and reminded, the weather broadcast information is relatively simple, lacks fun, and lacks social interaction.

发明内容Summary of the invention

本发明实施例的目的在于提出一种提醒天气信息的方法及装置,旨在解决如何提高移动终端用户之间的社交互动的问题。The purpose of the embodiments of the present invention is to provide a method and apparatus for alerting weather information, aiming at solving the problem of how to improve social interaction between mobile terminal users.

为达此目的,本发明实施例采用以下技术方案:To achieve this goal, the embodiment of the present invention adopts the following technical solutions:

第一方面,一种提醒天气信息的方法,所述方法包括:In a first aspect, a method of alerting weather information, the method comprising:

获取移动终端的联系人信息,所述联系人信息包括历史通信记录和/或通信录信息;Obtaining contact information of the mobile terminal, where the contact information includes historical communication records and/or address book information;

根据所述联系人信息获取联系人所在地,并获取所述联系人所在地的天气信息;Obtaining a contact location according to the contact information, and acquiring weather information of the contact location;

根据预设优先级将所述天气信息进行排序显示;Sorting and displaying the weather information according to a preset priority;

将所述天气信息通过预设方式发送给所述联系人。The weather information is sent to the contact by a preset manner.

优选地,所述根据所述联系人信息获取联系人所在地,包括:Preferably, the obtaining the contact location according to the contact information comprises:

根据所述通信录信息中的联系人电话获取所述联系人所在的归属地,将所述联系人所在的归属地设置为所述联系人所在地。Obtaining a home location where the contact is located according to the contact phone in the address book information, and setting a home place where the contact is located as the contact location.

优选地,所述根据所述联系人信息获取联系人所在地,包括:Preferably, the obtaining the contact location according to the contact information comprises:

根据所述历史通信记录获取最新的非文本通信信息和/或者文本通信信息,并根据所述历史通信记录获取所述联系人当前所在地,所述非文本通信信息包括视频聊天信息和/或语音聊天信息,所述文本通信信息包括短信文本通信信息。Obtaining the latest non-text communication information and/or text communication information according to the historical communication record, and acquiring the current location of the contact according to the historical communication record, where the non-text communication information includes video chat information and/or voice chat Information, the text communication information includes short message text communication information.

优选地,所述根据预设优先级将所述天气信息进行排序显示,包括:Preferably, the sorting and displaying the weather information according to a preset priority comprises:

根据天气的温度、湿度、PM值进行排序显示;或者,Sorted according to the temperature, humidity, and PM value of the weather; or,

根据通信次数或者通信频度进行排序显示;Sorting display according to the number of communications or communication frequency;

其中,所述通信频度为预设周期时间内的通信次数。The communication frequency is the number of communication times in a preset period of time.

优选地,所述将所述天气信息通过预设方式发送给所述联系人之前,还包括:Preferably, before the sending the weather information to the contact by using a preset manner, the method further includes:

获取提醒阈值,所述提醒阈值包括预设的阈值、预设显示排名的阈值,或者所述联系人所在地历史平均天气数据与实时获取的联系人所在地的当前天气数据的差值;Obtaining a reminder threshold, where the reminder threshold includes a preset threshold, a preset display ranking threshold, or a difference between the historical average weather data of the contact location and the current weather data of the location of the contact acquired in real time;

所述将所述天气信息通过预设方式发送给所述联系人,包括:Sending the weather information to the contact by using a preset manner, including:

在所述天气信息超过预设提醒阈值后,将所述天气信息通过短信或者语音的方式发送给联系人。After the weather information exceeds the preset reminder threshold, the weather information is sent to the contact by using a short message or a voice.

第二方面,一种提醒天气信息的装置,所述装置包括:In a second aspect, an apparatus for alerting weather information, the apparatus comprising:

第一获取模块,设置为获取移动终端的联系人信息,所述联系人信息包括历史通信记录和/或通信录信息;a first acquiring module, configured to acquire contact information of the mobile terminal, where the contact information includes historical communication records and/or address book information;

第二获取模块,设置为根据所述联系人信息获取联系人所在地,并获取所述联系人所在地的天气信息;a second acquiring module, configured to acquire a location of the contact according to the contact information, and obtain weather information of the location of the contact;

显示模块,设置为根据预设优先级将所述天气信息进行排序显示;a display module, configured to sort the weather information according to a preset priority;

发送模块,设置为将所述天气信息通过预设方式发送给所述联系人。And a sending module, configured to send the weather information to the contact by using a preset manner.

优选地,所述第二获取模块,设置为:Preferably, the second obtaining module is configured to:

根据所述通信录信息中的联系人电话获取所述联系人所在的归属地,将所述联系人所在的归属地设置为所述联系人所在地。Obtaining a home location where the contact is located according to the contact phone in the address book information, and setting a home place where the contact is located as the contact location.

优选地,所述第二获取模块,设置为:Preferably, the second obtaining module is configured to:

根据所述历史通信记录获取最新的非文本通信信息和/或者文本通信信息,并根据所述历史通信记录获取所述联系人当前所在地,所述非文本通信信息包括视频聊天信息和/或语音聊天信息,所述文本通信信息包括短信文本通信信息。Obtaining the latest non-text communication information and/or text communication information according to the historical communication record, and acquiring the current location of the contact according to the historical communication record, where the non-text communication information includes video chat information and/or voice chat Information, the text communication information includes short message text communication information.

优选地,所述显示模块,设置为:Preferably, the display module is configured to:

根据天气的温度、湿度、PM值进行排序显示;或者,Sorted according to the temperature, humidity, and PM value of the weather; or,

根据通信次数或者通信频度进行排序显示;Sorting display according to the number of communications or communication frequency;

其中,所述通信频度为预设周期时间内的通信次数。The communication frequency is the number of communication times in a preset period of time.

优选地,所述装置还包括:Preferably, the device further comprises:

第三获取模块,设置为获取提醒阈值,所述提醒阈值包括预设的阈值、预设显示排名的阈值,或者所述联系人所在地历史平均天气数据与实时获取的联系人所在地的当前天气数据的差值;The third obtaining module is configured to obtain a reminder threshold, where the reminder threshold includes a preset threshold, a preset display ranking threshold, or historical average weather data of the contact location and current weather data of the contact location of the real-time contact Difference

所述发送模块,设置为:The sending module is set to:

在所述天气信息超过预设提醒阈值后,将所述天气信息通过短信或者语音的方式发送给联系人。After the weather information exceeds the preset reminder threshold, the weather information is sent to the contact by using a short message or a voice.

本发明实施例提供一种提醒天气信息的方法及装置,获取移动终端的联系人信息,所述联系人信息包括历史通信记录和/或通信录信息;根据所述联系人信息获取联系人所在地,并获取所述联系人所在地的天气信息;根据预设优先级将所述天气信息进行排序显示;将所述天气信息通过预设方式发送给所述联系人,从而通过获取用户通讯录信息,查询到对应的天气信息,对通讯录好友的天气情况进行排名并显示,可以实时了解好友的天气情况,并且阈值播报用户关心处于天气异常城市的朋友,增加了天气闹钟的社交属性,大大提高了产品的趣味性。An embodiment of the present invention provides a method and device for alerting weather information, and acquiring contact information of a mobile terminal, where the contact information includes historical communication records and/or address book information; and obtaining a contact location according to the contact information. Obtaining the weather information of the location of the contact; sorting and displaying the weather information according to a preset priority; sending the weather information to the contact by using a preset manner, thereby obtaining the user address book information, and querying Go to the corresponding weather information, rank and display the weather conditions of the address book friends, and can know the weather conditions of the friends in real time, and the threshold broadcast users care about the friends in the weather abnormal city, increase the social attributes of the weather alarm, and greatly improve the products. Interesting.

附图说明DRAWINGS

图1是本发明实施例提醒天气信息的方法第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of a method for reminding weather information according to an embodiment of the present invention;

图2是本发明实施例提醒天气信息的方法第二实施例的流程示意图;2 is a schematic flow chart of a second embodiment of a method for reminding weather information according to an embodiment of the present invention;

图3是本发明实施例提醒天气信息的装置的功能模块示意图;3 is a schematic diagram of functional modules of an apparatus for reminding weather information according to an embodiment of the present invention;

图4是本发明实施例提醒天气信息的装置的功能模块示意图;4 is a schematic diagram of functional modules of an apparatus for reminding weather information according to an embodiment of the present invention;

图5是本发明实施例移动终端的结构示意图。FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.

具体实施方式detailed description

下面结合附图和实施例对本发明实施例作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明实施例,而非对本发明实施例的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明实施例相关的部分而非全部结构。The embodiments of the present invention are further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the embodiments of the invention, and are not intended to limit the invention. It is also to be noted that, for the convenience of description, only some but not all of the structures related to the embodiments of the present invention are shown in the drawings.

实施例一Embodiment 1

参照图1,图1是本发明实施例提醒天气信息的方法第一实施例的流程示意图。Referring to FIG. 1, FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for reminding weather information according to an embodiment of the present invention.

在第一实施例中,该提醒天气信息的方法包括:In the first embodiment, the method for reminding weather information includes:

步骤101,获取移动终端的联系人信息,所述联系人信息包括历史通信记录和/或通信录信息;Step 101: Obtain contact information of the mobile terminal, where the contact information includes historical communication records and/or address book information.

具体的,可以获取移动终端的历史通信记录,该历史通信记录包括与联系人的语音、视频、文本通信记录,或者用户的通信录中的电话号码等信息。Specifically, a historical communication record of the mobile terminal may be obtained, where the historical communication record includes information such as a voice, video, text communication record of the contact, or a phone number in the user's address book.

步骤102,根据所述联系人信息获取联系人所在地,并获取所述联系人所在地的天气信息;Step 102: Obtain a contact location according to the contact information, and obtain weather information of the contact location;

具体的,通过联系人信息获取所在地的方式如下:Specifically, the way to obtain the location through contact information is as follows:

优选地,所述根据所述联系人信息获取联系人所在地,包括:Preferably, the obtaining the contact location according to the contact information comprises:

根据所述通信录信息中的联系人电话获取所述联系人所在的归属地,将所述联系人所在的归属地设置为所述联系人所在地。Obtaining a home location where the contact is located according to the contact phone in the address book information, and setting a home place where the contact is located as the contact location.

具体的,可以根据联系人电话获取联系人所在的归属地。Specifically, the home location of the contact may be obtained according to the contact phone number.

优选地,所述根据所述联系人信息获取联系人所在地,包括:Preferably, the obtaining the contact location according to the contact information comprises:

根据所述历史通信记录获取最新的非文本通信信息和/或者文本通信信息,并根据所述历史通信记录获取所述联系人当前所在地,所述非文本通信信息包括视频聊天信息和/或语音聊天信息,所述文本通信信息包括短信文本通信信息。Obtaining the latest non-text communication information and/or text communication information according to the historical communication record, and acquiring the current location of the contact according to the historical communication record, where the non-text communication information includes video chat information and/or voice chat Information, the text communication information includes short message text communication information.

具体的,可以通过跟联系人联系过的方式和时间获取联系人所在地,联系过的方式包括视频、语音等非文本通信方式,或者文本通信方式,时间可以预设为一天内或者一周内或者一个月内。Specifically, the contact location may be obtained by the way and time contacted by the contact, and the contact method includes video, voice, and other non-text communication methods, or text communication mode, and the time may be preset to one day or one week or one. Within the month.

步骤103,根据预设优先级将所述天气信息进行排序显示;Step 103: Sort and display the weather information according to a preset priority.

优选地,所述根据预设优先级将所述天气信息进行排序显示,包括:Preferably, the sorting and displaying the weather information according to a preset priority comprises:

根据天气的温度、湿度、PM值进行排序显示;或者,Sorted according to the temperature, humidity, and PM value of the weather; or,

根据通信次数或者通信频度进行排序显示;或者,Sort display according to the number of communications or communication frequency; or,

预设的联系人优先级进行排序显示;Preset contact priority is sorted and displayed;

其中,所述通信频度为预设周期时间内的通信次数。The communication frequency is the number of communication times in a preset period of time.

具体的,获取到的至少一个联系人的天气信息需要进行排序显示,排序的方式可以为:根据天气数据进行排序,或者根据通信次数或者通信频度进行排序显示,或者预设的联系人的重要优先级进行排序显示。Specifically, the acquired weather information of at least one contact needs to be sorted and displayed, and the sorting manner may be: sorting according to weather data, or sorting display according to the number of communications or communication frequency, or the importance of the preset contact. Priority is sorted and displayed.

例如,在盛夏的某个日子,通过排名就可以知道,张三现在所处的城市长沙,气温高达35℃,在联系人排名中排名第一,而李四正在澳大利亚悉尼,此时的气温为0℃。获取的排名信息每天都会在用户联网时更新,并显示给用户,用户可以选择给好友发出关心问候。For example, on a certain day in the summer, you can know by ranking that Zhang San is now in the city of Changsha, the temperature is as high as 35 ° C, ranking first in the contact ranking, while Li Si is in Sydney, Australia, the temperature is 0 ° C. The obtained ranking information is updated every day when the user is connected to the network, and is displayed to the user, and the user can choose to send a greeting to the friend.

步骤104,将所述天气信息通过预设方式发送给所述联系人。Step 104: Send the weather information to the contact by using a preset manner.

具体的,可以设置闹钟提醒,在闹钟提醒时间到达后,自动向联系人发送提示信息。例如,在闹钟响起时,不仅播报用户所在城市/地区的天气,还播报用户所关心的好友所在城市和地区的天气,或者播报气温最高/最低,或者PM2.5最好/最差的好友的情况。为了提高精确度,可以设置在闹钟提醒前十分钟,若用户手机此时联网了,可以更新对应的排名顺序。Specifically, an alarm reminder can be set to automatically send a prompt message to the contact after the alarm reminder time arrives. For example, when the alarm goes off, not only the weather of the city/region where the user is located, but also the weather of the city and region where the user is concerned, or the highest/lowest temperature, or the best/worst friend of PM2.5. Happening. In order to improve the accuracy, it can be set ten minutes before the alarm reminder. If the user's mobile phone is connected at this time, the corresponding ranking order can be updated.

本发明实施例提供一种提醒天气信息的方法,获取移动终端的联系人信息,所述联系人信息包括历史通信记录和/或通信录信息;根据所述联系人信息获取联系人所在地,并获取所述联系人所在地的天气信息;根据预设优先级将所述天气信息进行排序显示;将所述天气信息通过预设方式发送给所述联系人,从而通过获取用户通讯录信息,查询到对应的天气信息,对通讯录好友的天气情况进行排名并显示,可以实时了解好友的天气情况,并且阈值播报用户关心处于天气异常城市的朋友,增加了天气闹钟的社交属性,大大提高了产品的趣味性。An embodiment of the present invention provides a method for reminding weather information, which acquires contact information of a mobile terminal, where the contact information includes historical communication records and/or address book information; acquires a contact location according to the contact information, and obtains The weather information of the contact location; the weather information is sorted and displayed according to a preset priority; the weather information is sent to the contact in a preset manner, thereby obtaining a corresponding information by obtaining the user address book information The weather information ranks and displays the weather conditions of the address book friends, can know the weather conditions of the friends in real time, and the threshold broadcasts the users concerned about the friends in the weather abnormal city, increases the social attributes of the weather alarm clock, and greatly improves the product taste. Sex.

实施例二Embodiment 2

步骤201,获取移动终端的联系人信息,所述联系人信息包括历史通信记录和/或通信录信息;Step 201: Obtain contact information of the mobile terminal, where the contact information includes historical communication records and/or address book information.

步骤202,根据所述联系人信息获取联系人所在地,并获取所述联系人所在地的天气信息;Step 202: Obtain a contact location according to the contact information, and obtain weather information of the contact location;

步骤203,根据预设优先级将所述天气信息进行排序显示;Step 203: Sort and display the weather information according to a preset priority.

步骤204,获取提醒阈值,所述提醒阈值包括预设的阈值、预设显示排名的阈值,或者所述联系人所在地历史平均天气数据与实时获取的联系人所在地的当前天气数据的差值;Step 204: Obtain a reminder threshold, where the reminder threshold includes a preset threshold, a preset display ranking threshold, or a difference between the historical average weather data of the contact location and the current weather data of the contact location of the real-time contact;

具体的,以预设显示排名的阈值为例,获取排名后,将排名首尾的两个联系人对应的天气信息与阈值比较,超过阈值则准备提醒告诉给用户,未超过阈值则不提醒,例如,气温最高也就25℃,最低也就5℃根本不需要去提醒。当闹钟到了语音提醒阶段时,语音播放就会将排名的首、尾信息趣味的播送给用户,例如所提到的张三,李四。语音播报提示为“您的好友——张三所在城市气温36℃,快去拯救处于水深火热中的他吧,“您的好友——李四所在的城市气温0℃,快去拯救处于冰天雪地中的他吧”。Specifically, the threshold value of the preset display ranking is taken as an example. After the ranking is obtained, the weather information corresponding to the two contacts at the beginning and the end of the ranking is compared with a threshold. If the threshold is exceeded, the reminder is sent to the user, and the threshold is not exceeded, for example, The highest temperature is 25 ° C, the lowest is 5 ° C does not need to remind. When the alarm clock reaches the voice reminding stage, the voice play will broadcast the interest of the first and last information of the ranking to the user, for example, Zhang San and Li Si mentioned. The voice broadcast reminder is "Your friend - Zhang San's city temperature is 36 ° C, go to save him in the heat of the water," your friend - Li Si's city temperature 0 ° C, go to save in the snow and ice He."

步骤205,将所述天气信息通过预设方式发送给所述联系人。Step 205: Send the weather information to the contact by using a preset manner.

优选地,在所述天气信息超过预设提醒阈值后,将所述天气信息通过短信或者语音的方式发送给联系人。Preferably, after the weather information exceeds the preset reminder threshold, the weather information is sent to the contact by using a short message or a voice.

具体的,发送的方式可以为短信或者语音,发送的内容可以为预设的提醒内容。Specifically, the sending manner may be a short message or a voice, and the sent content may be a preset reminding content.

本发明实施例提供一种提醒天气信息的方法,获取移动终端的联系人信息,所述联系人信息包括历史通信记录和/或通信录信息;根据所述联系人信息获取联系人所在地,并获取所述联系人所在地的天气信息;根据预设优先级将所述天气信息进行排序显示;将所述天气信息通过预设方式发送给所述联系人,从而通过设置提醒阈值,当达到提醒阈值后,将所述天气信息通过预设方式发送给所述联系人,增加了天气闹钟的社交属性,大大提高了产品的趣味性。An embodiment of the present invention provides a method for reminding weather information, which acquires contact information of a mobile terminal, where the contact information includes historical communication records and/or address book information; acquires a contact location according to the contact information, and obtains The weather information of the contact location; sorting and displaying the weather information according to a preset priority; sending the weather information to the contact in a preset manner, thereby setting a reminder threshold, when the reminder threshold is reached The weather information is sent to the contact by a preset manner, which increases the social attribute of the weather alarm, and greatly improves the interest of the product.

实施例三Embodiment 3

参考图3,图3是本发明实施例提醒天气信息的装置的功能模块示意图。Referring to FIG. 3, FIG. 3 is a schematic diagram of functional modules of an apparatus for alerting weather information according to an embodiment of the present invention.

在图3中,所述提醒天气信息的装置包括:In FIG. 3, the device for reminding weather information includes:

第一获取模块301,设置为获取移动终端的联系人信息,所述联系人信息包括历史通信记录和/或通信录信息;The first obtaining module 301 is configured to acquire contact information of the mobile terminal, where the contact information includes historical communication records and/or address book information;

具体的,可以获取移动终端的历史通信记录,该历史通信记录包括与联系人的语音、视频、文本通信记录,或者用户的通信录中的电话号码等信息。Specifically, a historical communication record of the mobile terminal may be obtained, where the historical communication record includes information such as a voice, video, text communication record of the contact, or a phone number in the user's address book.

第二获取模块302,设置为根据所述联系人信息获取联系人所在地,并获取所述联系人所在地的天气信息;The second obtaining module 302 is configured to obtain a location of the contact according to the contact information, and obtain weather information of the location of the contact;

具体的,通过联系人信息获取所在地的方式如下:Specifically, the way to obtain the location through contact information is as follows:

优选地,所述第二获取模块302,设置为:Preferably, the second obtaining module 302 is configured to:

根据所述通信录信息中的联系人电话获取所述联系人所在的归属地,将所述联系人所在的归属地设置为所述联系人所在地。Obtaining a home location where the contact is located according to the contact phone in the address book information, and setting a home place where the contact is located as the contact location.

具体的,可以根据联系人电话获取联系人所在的归属地。Specifically, the home location of the contact may be obtained according to the contact phone number.

优选地,所述第二获取模块302,设置为:Preferably, the second obtaining module 302 is configured to:

根据所述历史通信记录获取最新的非文本通信信息和/或者文本通信信息,并根据所述历史通信记录获取所述联系人当前所在地,所述非文本通信信息包括视频聊天信息和/或语音聊天信息,所述文本通信信息包括短信文本通信信息。Obtaining the latest non-text communication information and/or text communication information according to the historical communication record, and acquiring the current location of the contact according to the historical communication record, where the non-text communication information includes video chat information and/or voice chat Information, the text communication information includes short message text communication information.

具体的,可以通过跟联系人联系过的方式和时间获取联系人所在地,联系过的方式包括视频、语音等非文本通信方式,或者文本通信方式,时间可以预设为一天内或者一周内或者一个月内。Specifically, the contact location may be obtained by the way and time contacted by the contact, and the contact method includes video, voice, and other non-text communication methods, or text communication mode, and the time may be preset to one day or one week or one. Within the month.

显示模块303,设置为根据预设优先级将所述天气信息进行排序显示;The display module 303 is configured to sort and display the weather information according to a preset priority;

优选地,所述显示模块303,设置为:Preferably, the display module 303 is configured to:

根据天气的温度、湿度、PM值进行排序显示;或者,Sorted according to the temperature, humidity, and PM value of the weather; or,

根据通信次数或者通信频度进行排序显示;Sorting display according to the number of communications or communication frequency;

其中,所述通信频度为预设周期时间内的通信次数。The communication frequency is the number of communication times in a preset period of time.

具体的, 获取到的至少一个联系人的天气信息需要进行排序显示,排序的方式可以为:根据天气数据进行排序,或者根据通信次数或者通信频度进行排序显示,或者预设的联系人的重要优先级进行排序显示。Specifically, the obtained weather information of at least one contact needs to be sorted and displayed, and the sorting manner may be: sorting according to weather data, or sorting according to the number of communications or communication frequency, or the importance of the preset contact. Priority is sorted and displayed.

例如,在盛夏的某个日子,通过排名就可以知道,张三现在所处的城市长沙,气温高达35℃,在联系人排名中排名第一,而李四正在澳大利亚悉尼,此时的气温为0℃。获取的排名信息每天都会在用户联网时更新,并显示给用户,用户可以选择给好友发出关心问候。For example, on a certain day in the summer, you can know by ranking that Zhang San is now in the city of Changsha, the temperature is as high as 35 ° C, ranking first in the contact ranking, while Li Si is in Sydney, Australia, the temperature is 0 ° C. The obtained ranking information is updated every day when the user is connected to the network, and is displayed to the user, and the user can choose to send a greeting to the friend.

发送模块304,设置为将所述天气信息通过预设方式发送给所述联系人。The sending module 304 is configured to send the weather information to the contact by using a preset manner.

具体的,可以设置闹钟提醒,在闹钟提醒时间到达后,自动向联系人发送提示信息。例如,在闹钟响起时,不仅播报用户所在城市/地区的天气,还播报用户所关心的好友所在城市和地区的天气,或者播报气温最高/最低,或者PM2.5最好/最差的好友的情况。为了提高精确度,可以设置在闹钟提醒前十分钟,若用户手机此时联网了,可以更新对应的排名顺序。Specifically, an alarm reminder can be set to automatically send a prompt message to the contact after the alarm reminder time arrives. For example, when the alarm goes off, not only the weather of the city/region where the user is located, but also the weather of the city and region where the user is concerned, or the highest/lowest temperature, or the best/worst friend of PM2.5. Happening. In order to improve the accuracy, it can be set ten minutes before the alarm reminder. If the user's mobile phone is connected at this time, the corresponding ranking order can be updated.

本发明实施例提供一种提醒天气信息的装置,获取移动终端的联系人信息,所述联系人信息包括历史通信记录和/或通信录信息;根据所述联系人信息获取联系人所在地,并获取所述联系人所在地的天气信息;根据预设优先级将所述天气信息进行排序显示;将所述天气信息通过预设方式发送给所述联系人,从而通过获取用户通讯录信息,查询到对应的天气信息,对通讯录好友的天气情况进行排名并显示,可以实时了解好友的天气情况,并且阈值播报用户关心处于天气异常城市的朋友,增加了天气闹钟的社交属性,大大提高了产品的趣味性。An embodiment of the present invention provides a device for reminding weather information, which acquires contact information of a mobile terminal, where the contact information includes historical communication records and/or address book information; acquires a contact location according to the contact information, and obtains The weather information of the contact location; the weather information is sorted and displayed according to a preset priority; the weather information is sent to the contact in a preset manner, thereby obtaining a corresponding information by obtaining the user address book information The weather information ranks and displays the weather conditions of the address book friends, can know the weather conditions of the friends in real time, and the threshold broadcasts the users concerned about the friends in the weather abnormal city, increases the social attributes of the weather alarm clock, and greatly improves the product taste. Sex.

实施例四Embodiment 4

参考图4,图4是本发明实施例提醒天气信息的装置的功能模块示意图。Referring to FIG. 4, FIG. 4 is a schematic diagram of functional modules of an apparatus for reminding weather information according to an embodiment of the present invention.

在图4中,所述提醒天气信息的装置包括:In FIG. 4, the device for reminding weather information includes:

第一获取模块301,设置为获取移动终端的联系人信息,所述联系人信息包括历史通信记录和/或通信录信息;The first obtaining module 301 is configured to acquire contact information of the mobile terminal, where the contact information includes historical communication records and/or address book information;

第二获取模块302,设置为根据所述联系人信息获取联系人所在地,并获取所述联系人所在地的天气信息;The second obtaining module 302 is configured to obtain a location of the contact according to the contact information, and obtain weather information of the location of the contact;

显示模块303,设置为根据预设优先级将所述天气信息进行排序显示;The display module 303 is configured to sort and display the weather information according to a preset priority;

第三获取模块404,设置为获取提醒阈值,所述提醒阈值包括预设的阈值、预设显示排名的阈值,或者所述联系人所在地历史平均天气数据与实时获取的联系人所在地的当前天气数据的差值;The third obtaining module 404 is configured to obtain a reminder threshold, where the reminder threshold includes a preset threshold, a preset display ranking threshold, or historical average weather data of the contact location and current weather data of the contact location of the real-time contact. Difference

具体的,以预设显示排名的阈值为例,获取排名后,将排名首尾的两个联系人对应的天气信息与阈值比较,超过阈值则准备提醒告诉给用户,未超过阈值则不提醒,例如,气温最高也就25℃,最低也就5℃根本不需要去提醒。当闹钟到了语音提醒阶段时,语音播放就会将排名的首、尾信息趣味的播送给用户,例如所提到的张三,李四。语音播报提示为“您的好友——张三所在城市气温36℃,快去拯救处于水深火热中的他吧,“您的好友——李四所在的城市气温0℃,快去拯救处于冰天雪地中的他吧”。Specifically, the threshold value of the preset display ranking is taken as an example. After the ranking is obtained, the weather information corresponding to the two contacts at the beginning and the end of the ranking is compared with a threshold. If the threshold is exceeded, the reminder is sent to the user, and the threshold is not exceeded, for example, The highest temperature is 25 ° C, the lowest is 5 ° C does not need to remind. When the alarm clock reaches the voice reminding stage, the voice play will broadcast the interest of the first and last information of the ranking to the user, for example, Zhang San and Li Si mentioned. The voice broadcast reminder is "Your friend - Zhang San's city temperature is 36 ° C, go to save him in the heat of the water," your friend - Li Si's city temperature 0 ° C, go to save in the snow and ice He."

发送模块304,设置为在所述天气信息超过预设提醒阈值后,将所述天气信息通过短信或者语音的方式发送给联系人。The sending module 304 is configured to send the weather information to the contact by using a short message or a voice after the weather information exceeds the preset reminding threshold.

具体的,发送的方式可以为短信或者语音,发送的内容可以为预设的提醒内容。Specifically, the sending manner may be a short message or a voice, and the sent content may be a preset reminding content.

本发明实施例提供一种提醒天气信息的装置,获取移动终端的联系人信息,所述联系人信息包括历史通信记录和/或通信录信息;根据所述联系人信息获取联系人所在地,并获取所述联系人所在地的天气信息;根据预设优先级将所述天气信息进行排序显示;将所述天气信息通过预设方式发送给所述联系人,从而通过设置提醒阈值,当达到提醒阈值后,将所述天气信息通过预设方式发送给所述联系人,增加了天气闹钟的社交属性,大大提高了产品的趣味性。An embodiment of the present invention provides a device for reminding weather information, which acquires contact information of a mobile terminal, where the contact information includes historical communication records and/or address book information; acquires a contact location according to the contact information, and obtains The weather information of the contact location; sorting and displaying the weather information according to a preset priority; sending the weather information to the contact in a preset manner, thereby setting a reminder threshold, when the reminder threshold is reached The weather information is sent to the contact by a preset manner, which increases the social attribute of the weather alarm, and greatly improves the interest of the product.

实施例五Embodiment 5

参考图5,图5是本发明实施例移动终端的结构示意图。Referring to FIG. 5, FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.

如图所示,本发明实施例中的移动终端50可以是不同类型的电子设备,例如:智能手机、平板电脑、掌上电脑以及移动互联网设备、个人数字助理、媒体播放器、智能电视、智能手表、智能眼镜、智能手环等。如图5所示,本发明实施例中的移动终端50包括:至少一个处理器501,例如CPU,至少一个存储器502,至少一个收发器503。其中,所述处理器501、存储器502、收发器503通过总线系统连接通信。所述存储器502可以是高速RAM存储器,也可以是非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。As shown in the figure, the mobile terminal 50 in the embodiment of the present invention may be different types of electronic devices, such as: smart phones, tablet computers, handheld computers, and mobile Internet devices, personal digital assistants, media players, smart televisions, smart watches. , smart glasses, smart bracelets, etc. As shown in FIG. 5, the mobile terminal 50 in the embodiment of the present invention includes: at least one processor 501, such as a CPU, at least one memory 502, and at least one transceiver 503. The processor 501, the memory 502, and the transceiver 503 are connected and communicated through a bus system. The memory 502 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.

所述存储器502中存储有程序代码,且所述处理器501可通过总线系统,调用所述存储器502中存储的程序代码以执行相关的功能。例如,图3和图4中所述的各个模块(例如,第一获取模块301、第二获取模块302、显示模块303、发送模块304、第三获取模块404等),是存储在所述存储器502中的程序代码,并由所述处理器501所执行。Program code is stored in the memory 502, and the processor 501 can call the program code stored in the memory 502 through a bus system to perform related functions. For example, the various modules (eg, the first acquisition module 301, the second acquisition module 302, the display module 303, the transmission module 304, the third acquisition module 404, etc.) described in FIG. 3 and FIG. 4 are stored in the memory. The program code in 502 is executed by the processor 501.

具体而言,所述处理器501:获取移动终端的联系人信息,所述联系人信息包括历史通信记录和/或通信录信息;根据所述联系人信息获取联系人所在地,并获取所述联系人所在地的天气信息;根据预设优先级将所述天气信息进行排序显示;将所述天气信息通过预设方式发送给所述联系人。Specifically, the processor 501: acquiring contact information of the mobile terminal, where the contact information includes historical communication records and/or address book information; acquiring a contact location according to the contact information, and acquiring the contact Weather information of the location of the person; sorting and displaying the weather information according to a preset priority; and transmitting the weather information to the contact by a preset manner.

在进一步实施例中,所述处理器501根据所述联系人信息获取联系人所在地,包括:In a further embodiment, the processor 501 obtains a contact location according to the contact information, including:

根据所述通信录信息中的联系人电话获取所述联系人所在的归属地,将所述联系人所在的归属地设置为所述联系人所在地。Obtaining a home location where the contact is located according to the contact phone in the address book information, and setting a home place where the contact is located as the contact location.

在进一步实施例中,所述处理器501根据所述联系人信息获取联系人所在地,包括:In a further embodiment, the processor 501 obtains a contact location according to the contact information, including:

根据所述历史通信记录获取最新的非文本通信信息和/或者文本通信信息,并根据所述历史通信记录获取所述联系人当前所在地,所述非文本通信信息包括视频聊天信息和/或语音聊天信息,所述文本通信信息包括短信文本通信信息。Obtaining the latest non-text communication information and/or text communication information according to the historical communication record, and acquiring the current location of the contact according to the historical communication record, where the non-text communication information includes video chat information and/or voice chat Information, the text communication information includes short message text communication information.

在进一步实施例中,所述处理器501根据预设优先级将所述天气信息进行排序显示,包括:In a further embodiment, the processor 501 displays the weather information according to a preset priority, including:

根据天气的温度、湿度、PM值进行排序显示;或者,Sorted according to the temperature, humidity, and PM value of the weather; or,

根据通信次数或者通信频度进行排序显示;或者,Sort display according to the number of communications or communication frequency; or,

预设的联系人优先级进行排序显示;Preset contact priority is sorted and displayed;

其中,所述通信频度为预设周期时间内的通信次数。The communication frequency is the number of communication times in a preset period of time.

在进一步的实施例中,所述将所述天气信息通过预设方式发送给所述联系人之前,所述处理器501:In a further embodiment, before the sending the weather information to the contact by using a preset manner, the processor 501:

获取提醒阈值,所述提醒阈值包括预设的阈值、预设显示排名的阈值,或者所述联系人所在地历史平均天气数据与实时获取的联系人所在地的当前天气数据的差值;Obtaining a reminder threshold, where the reminder threshold includes a preset threshold, a preset display ranking threshold, or a difference between the historical average weather data of the contact location and the current weather data of the location of the contact acquired in real time;

所述将所述天气信息通过预设方式发送给所述联系人,包括:Sending the weather information to the contact by using a preset manner, including:

在所述天气信息超过预设提醒阈值后,将所述天气信息通过短信或者语音的方式发送给联系人。After the weather information exceeds the preset reminder threshold, the weather information is sent to the contact by using a short message or a voice.

以上结合具体实施例描述了本发明实施例的技术原理。这些描述只是为了解释本发明实施例的原理,而不能以任何方式解释为对本发明实施例保护范围的限制。基于此处的解释,本领域的技术人员不需要付出创造性的劳动即可联想到本发明实施例的其它具体实施方式,这些方式都将落入本发明实施例的保护范围之内。The technical principles of the embodiments of the present invention have been described above with reference to specific embodiments. The descriptions are only intended to explain the principles of the embodiments of the present invention, and are not to be construed as limiting the scope of the invention. Based on the explanation herein, those skilled in the art can associate other embodiments of the embodiments of the present invention without departing from the scope of the present invention.

Claims (10)

一种提醒天气信息的方法,其特征在于,所述方法包括:A method for reminding weather information, characterized in that the method comprises: 获取移动终端的联系人信息,所述联系人信息包括历史通信记录和/或通信录信息;Obtaining contact information of the mobile terminal, where the contact information includes historical communication records and/or address book information; 根据所述联系人信息获取联系人所在地,并获取所述联系人所在地的天气信息;Obtaining a contact location according to the contact information, and acquiring weather information of the contact location; 根据预设优先级将所述天气信息进行排序显示;Sorting and displaying the weather information according to a preset priority; 将所述天气信息通过预设方式发送给所述联系人。The weather information is sent to the contact by a preset manner. 根据权利要求1所述的方法,其特征在于,所述根据所述联系人信息获取联系人所在地,包括:The method according to claim 1, wherein the obtaining the contact location according to the contact information comprises: 根据所述通信录信息中的联系人电话获取所述联系人所在的归属地,将所述联系人所在的归属地设置为所述联系人所在地。Obtaining a home location where the contact is located according to the contact phone in the address book information, and setting a home place where the contact is located as the contact location. 根据权利要求1所述的方法,其特征在于,所述根据所述联系人信息获取联系人所在地,包括:The method according to claim 1, wherein the obtaining the contact location according to the contact information comprises: 根据所述历史通信记录获取最新的非文本通信信息和/或者文本通信信息,并根据所述历史通信记录获取所述联系人当前所在地,所述非文本通信信息包括视频聊天信息和/或语音聊天信息,所述文本通信信息包括短信文本通信信息。Obtaining the latest non-text communication information and/or text communication information according to the historical communication record, and acquiring the current location of the contact according to the historical communication record, where the non-text communication information includes video chat information and/or voice chat Information, the text communication information includes short message text communication information. 根据权利要求1所述的方法,其特征在于,所述根据预设优先级将所述天气信息进行排序显示,包括:The method according to claim 1, wherein the sorting and displaying the weather information according to a preset priority comprises: 根据天气的温度、湿度、PM值进行排序显示;或者,Sorted according to the temperature, humidity, and PM value of the weather; or, 根据通信次数或者通信频度进行排序显示;或者,Sort display according to the number of communications or communication frequency; or, 预设的联系人优先级进行排序显示;Preset contact priority is sorted and displayed; 其中,所述通信频度为预设周期时间内的通信次数。The communication frequency is the number of communication times in a preset period of time. 根据权利要求1至4任意一项所述的方法,其特征在于,所述将所述天气信息通过预设方式发送给所述联系人之前,还包括:The method according to any one of claims 1 to 4, wherein before the sending the weather information to the contact by using a preset manner, the method further includes: 获取提醒阈值,所述提醒阈值包括预设的阈值、预设显示排名的阈值,或者所述联系人所在地历史平均天气数据与实时获取的联系人所在地的当前天气数据的差值;Obtaining a reminder threshold, where the reminder threshold includes a preset threshold, a preset display ranking threshold, or a difference between the historical average weather data of the contact location and the current weather data of the location of the contact acquired in real time; 所述将所述天气信息通过预设方式发送给所述联系人,包括:Sending the weather information to the contact by using a preset manner, including: 在所述天气信息超过预设提醒阈值后,将所述天气信息通过短信或者语音的方式发送给联系人。After the weather information exceeds the preset reminder threshold, the weather information is sent to the contact by using a short message or a voice. 一种提醒天气信息的装置,其特征在于,所述装置包括:A device for reminding weather information, characterized in that the device comprises: 第一获取模块,设置为获取移动终端的联系人信息,所述联系人信息包括历史通信记录和/或通信录信息;a first acquiring module, configured to acquire contact information of the mobile terminal, where the contact information includes historical communication records and/or address book information; 第二获取模块,设置为根据所述联系人信息获取联系人所在地,并获取所述联系人所在地的天气信息;a second acquiring module, configured to acquire a location of the contact according to the contact information, and obtain weather information of the location of the contact; 显示模块,设置为根据预设优先级将所述天气信息进行排序显示;a display module, configured to sort the weather information according to a preset priority; 发送模块,设置为将所述天气信息通过预设方式发送给所述联系人。And a sending module, configured to send the weather information to the contact by using a preset manner. 根据权利要求6所述的装置,其特征在于,所述第二获取模块,设置为:The device according to claim 6, wherein the second obtaining module is configured to: 根据所述通信录信息中的联系人电话获取所述联系人所在的归属地,将所述联系人所在的归属地设置为所述联系人所在地。Obtaining a home location where the contact is located according to the contact phone in the address book information, and setting a home place where the contact is located as the contact location. 根据权利要求6所述的装置,其特征在于,所述第二获取模块,设置为:The device according to claim 6, wherein the second obtaining module is configured to: 根据所述历史通信记录获取最新的非文本通信信息和/或者文本通信信息,并根据所述历史通信记录获取所述联系人当前所在地,所述非文本通信信息包括视频聊天信息和/或语音聊天信息,所述文本通信信息包括短信文本通信信息。Obtaining the latest non-text communication information and/or text communication information according to the historical communication record, and acquiring the current location of the contact according to the historical communication record, where the non-text communication information includes video chat information and/or voice chat Information, the text communication information includes short message text communication information. 根据权利要求6所述的装置,其特征在于,所述显示模块,设置为:The device according to claim 6, wherein the display module is configured to: 根据天气的温度、湿度、PM值进行排序显示;或者,Sorted according to the temperature, humidity, and PM value of the weather; or, 根据通信次数或者通信频度进行排序显示;Sorting display according to the number of communications or communication frequency; 其中,所述通信频度为预设周期时间内的通信次数。The communication frequency is the number of communication times in a preset period of time. 根据权利要求6至9任意一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 6 to 9, wherein the device further comprises: 第三获取模块,设置为获取提醒阈值,所述提醒阈值包括预设的阈值、预设显示排名的阈值,或者所述联系人所在地历史平均天气数据与实时获取的联系人所在地的当前天气数据的差值;The third obtaining module is configured to obtain a reminder threshold, where the reminder threshold includes a preset threshold, a preset display ranking threshold, or historical average weather data of the contact location and current weather data of the contact location of the real-time contact Difference 所述发送模块,还设置为:The sending module is further configured to: 在所述天气信息超过预设提醒阈值后,将所述天气信息通过短信或者语音的方式发送给联系人。After the weather information exceeds the preset reminder threshold, the weather information is sent to the contact by using a short message or a voice.
PCT/CN2016/113485 2016-03-31 2016-12-30 Weather information notification method and device Ceased WO2017166883A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610206479.3A CN105872967B (en) 2016-03-31 2016-03-31 Method and device for reminding weather information
CN201610206479.3 2016-03-31

Publications (1)

Publication Number Publication Date
WO2017166883A1 true WO2017166883A1 (en) 2017-10-05

Family

ID=56628128

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/113485 Ceased WO2017166883A1 (en) 2016-03-31 2016-12-30 Weather information notification method and device

Country Status (2)

Country Link
CN (1) CN105872967B (en)
WO (1) WO2017166883A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112448879A (en) * 2019-08-27 2021-03-05 腾讯科技(深圳)有限公司 Reminding message pushing method and device, terminal and computer readable storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872967B (en) * 2016-03-31 2020-05-22 宇龙计算机通信科技(深圳)有限公司 Method and device for reminding weather information
CN106412306B (en) * 2016-10-10 2019-11-12 珠海格力电器股份有限公司 Mobile terminal social reminding method and device and mobile terminal
CN107454261A (en) * 2017-08-07 2017-12-08 珠海格力电器股份有限公司 Weather icon display method and device and mobile terminal
CN107332937A (en) * 2017-08-31 2017-11-07 江西博瑞彤芸科技有限公司 The interaction method for pushing of weather information
CN107832874A (en) * 2017-10-27 2018-03-23 朱秋华 A kind of weather based reminding method, device, equipment and computer-readable recording medium
CN109347723B (en) * 2018-10-22 2021-08-06 麒麟合盛网络技术股份有限公司 Information prompting method and device
CN109492074A (en) * 2018-11-22 2019-03-19 广州小鹏汽车科技有限公司 Intelligent greeting method, system, storage medium and automobile based on Weather information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827323A (en) * 2010-04-16 2010-09-08 东莞宇龙通信科技有限公司 Method and device for sending weather information to contact person and mobile terminal
CN102625261A (en) * 2011-06-14 2012-08-01 北京小米科技有限责任公司 Weather information prompting method and system
CN103686622A (en) * 2012-09-04 2014-03-26 中兴通讯股份有限公司 Method and device for pushing information to mobile terminal
CN105872967A (en) * 2016-03-31 2016-08-17 宇龙计算机通信科技(深圳)有限公司 Method and device for reminding weather information

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834896B (en) * 2010-04-16 2012-10-03 惠州Tcl移动通信有限公司 Method for linking whether information by address list of mobile communication terminal and mobile communication terminal
CN101997980A (en) * 2010-10-26 2011-03-30 东莞宇龙通信科技有限公司 A method for displaying weather information based on a map and a mobile terminal
CN102098631A (en) * 2011-01-26 2011-06-15 华为终端有限公司 Method for processing weather information, and terminal
CN102497333B (en) * 2011-12-18 2015-11-04 上海量明科技发展有限公司 In order to export the method for contact object Weather information, client and system
CN102546463A (en) * 2011-12-22 2012-07-04 上海量明科技发展有限公司 Method, client and system for outputting sudden weather information of contact object
CN103020271B (en) * 2012-12-27 2016-03-30 广东欧珀移动通信有限公司 The method of contact associated information is obtained in a kind of mobile terminal
CN103986820B (en) * 2014-04-18 2016-05-11 微梦创科网络科技(中国)有限公司 Mobile terminal carries out method, correlation module and the system of Weather information demonstration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827323A (en) * 2010-04-16 2010-09-08 东莞宇龙通信科技有限公司 Method and device for sending weather information to contact person and mobile terminal
CN102625261A (en) * 2011-06-14 2012-08-01 北京小米科技有限责任公司 Weather information prompting method and system
CN103686622A (en) * 2012-09-04 2014-03-26 中兴通讯股份有限公司 Method and device for pushing information to mobile terminal
CN105872967A (en) * 2016-03-31 2016-08-17 宇龙计算机通信科技(深圳)有限公司 Method and device for reminding weather information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112448879A (en) * 2019-08-27 2021-03-05 腾讯科技(深圳)有限公司 Reminding message pushing method and device, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN105872967A (en) 2016-08-17
CN105872967B (en) 2020-05-22

Similar Documents

Publication Publication Date Title
WO2017166883A1 (en) Weather information notification method and device
US10291774B2 (en) Method, device, and system for determining spam caller phone number
WO2018108024A1 (en) Method and system for remote controlling smart television on the basis of mobile terminal, and mobile terminal
CN103052041B (en) Method for automatically pushing wallpapers
HUP0100995A2 (en) Method for telecommunication, and mobile telecommunication device
WO2018040440A1 (en) Display method and display device for notification message, and terminal
WO2019041135A1 (en) Alarm clock reminding method and device and computer-readable storage medium
WO2013131434A1 (en) Interactive interface display control method, instant communication tool and computer storage medium
WO2016006721A1 (en) Electronic device group paging method and electronic device thereof
WO2013023529A1 (en) Method for processing contact information of mobile terminal and mobile terminal
WO2018139824A1 (en) Electronic device and tethering connection establishment method thereof
EP2966838A1 (en) Electronic device, image data output processing method and program
US9641467B2 (en) Intelligent notification filtering method and handheld communication device
WO2015009037A1 (en) Method and device for forming group using communication history information
WO2019128269A1 (en) Alert method and device
WO2014027855A1 (en) User interface method which controls output of incoming dial tone of smart device
WO2014038789A1 (en) System and method for supporting contact reminding
WO2020113850A1 (en) Implementation method for call-based authentication system, system, and readable storage medium
WO2021047081A1 (en) Processing method for rejecting call, called terminal, and storage medium
WO2019203502A1 (en) Banner advertisement service system, in messenger application, providing advertisements prioritized by reference area
WO2016048060A1 (en) Method for providing information and an electronic device thereof
WO2019056391A1 (en) Information processing method and apparatus, mobile terminal, and computer readable storage medium
WO2020138806A1 (en) Electronic apparatus and control method thereof
WO2018058777A1 (en) Method and apparatus for providing ar content, ar device and server
WO2016110085A1 (en) Method and system for discriminatively processing short messages and method for discriminatively processing application lists

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16896651

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896651

Country of ref document: EP

Kind code of ref document: A1