CN102014347B - Method and terminal for updating weather forecast city list - Google Patents

Method and terminal for updating weather forecast city list Download PDF

Info

Publication number
CN102014347B
CN102014347B CN 201010543903 CN201010543903A CN102014347B CN 102014347 B CN102014347 B CN 102014347B CN 201010543903 CN201010543903 CN 201010543903 CN 201010543903 A CN201010543903 A CN 201010543903A CN 102014347 B CN102014347 B CN 102014347B
Authority
CN
China
Prior art keywords
city
warning
contact
list
target
Prior art date
Application number
CN 201010543903
Other languages
Chinese (zh)
Other versions
CN102014347A (en
Inventor
郭晓涛
蔡胜
袁武
Original Assignee
宇龙计算机通信科技(深圳)有限公司
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 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Priority to CN 201010543903 priority Critical patent/CN102014347B/en
Publication of CN102014347A publication Critical patent/CN102014347A/en
Application granted granted Critical
Publication of CN102014347B publication Critical patent/CN102014347B/en

Links

Abstract

本发明的实施例公开一种更新天气预报城市列表的方法及终端,涉及通讯技术领域,在更新天气预报城市列表时,可以简化用户的操作,根据天气信息的实时变化,自动添加用户关心的城市至天气预报城市列表中。 Embodiments of the present invention discloses a weather forecast for the city list update method and a terminal, relates to the field of communication technology, when updating the list of city weather forecast, can simplify operations, changes in real time according to the weather information, the user is automatically added city of interest the weather forecast for cities to the list. 包括:从服务器获取预警城市的名称;判断本地存储的联系人中是否存在处于所述预警城市中的目标联系人;当判断出存在所述目标联系人时,将所述目标联系人所处的预警城市的名称添加到天气预报城市列表中,所述天气预报城市列表用于显示城市的天气信息。 Comprising: obtaining from the server of the name of the city warning; determining whether the target is in the warning contact city locally stored contact; when there is contact is determined that the target, the target contacts located city ​​name warning added to the list of cities weather forecast, the weather forecast is used to display a list of cities weather information of the city. 本发明实施例主要应用在对终端上的天气预报城市列表进行更新的过程中。 Example embodiments of the present invention is mainly applied in the process of city weather forecast on the terminal list update.

Description

更新天气预报城市列表的方法及终端 Update the list of cities weather forecast method and terminal

技术领域 FIELD

[0001] 本发明涉及通讯技术领域,尤其涉及一种更新天气预报城市列表的方法及终端。 [0001] The present invention relates to communication technologies, and in particular relates to a method and a terminal weather forecast for the city list updates.

背景技术 Background technique

[0002]目前,在支持天气预报应用的移动终端上,一般会设有一个城市列表,移动终端会从存储有天气信息的服务器上获取上述城市列表中各个城市的天气预报,并显示在该城市列表中。 [0002] Currently, the weather forecast application on a supported mobile terminal, usually has a list of cities, from the mobile terminal will get weather forecasts above stores a list of cities in each city on a server weather information, and displays in the city List.

[0003] 现有方案中,位于上述城市列表中的城市名称可以是终端默认设置,也可以由用户自行添加。 [0003] In the conventional embodiment, positioned in the urban city names in the list may be a default setting terminal, may be added by the user. 如果用户发现移动终端上的联系人所处的城市有天气预警信息,比如,台风预警,高温预警等等,用户希望关注该城市的天气变化时,需要手动将该城市更新到上述城市列表中,操作较繁琐。 If users find contacts on the mobile terminal is located in the cities of weather warning information, such as a typhoon warning, high temperature warning and so on, you want to focus on changes in the weather of the city, the city will need to manually update the above list of cities, operation more complicated.

发明内容 SUMMARY

[0004] 本发明的实施例提供一种更新天气预报城市列表的方法及终端,在更新天气预报城市列表时,可以简化用户的操作,根据天气信息的实时变化,自动添加用户关心的城市至天气预报城市列表中。 Example [0004] The present invention provides a weather forecast for the city list update method and a terminal, when updating the list of city weather forecast, can simplify operations, changes in real time according to the weather information, is automatically added to the users concerned city weather forecasting cities list.

[0005] 为达到上述目的,本发明的实施例采用如下技术方案: [0005] To achieve the above object, embodiments of the present invention adopts the following technical solutions:

[0006] 一种更新天气预报城市列表的方法,包括: [0006] A method of updating a list of cities weather forecast, including:

[0007] 从服务器获取预警城市的名称,所述预警城市具有天气预警信息; [0007] Gets the name of the city from the server warning, warning the city has a weather warning information;

[0008] 判断本地存储的联系人中是否存在处于所述预警城市中的目标联系人; [0008] It is determined whether the locally stored contact is in the presence of the target contact warning cities;

[0009] 当判断出存在所述目标联系人时,将所述目标联系人所处的预警城市的名称添加到天气预报城市列表中,所述天气预报城市列表用于显示城市的天气信息。 [0009] When judged that the presence of the target contact, the contact to add the name of the target to which the city weather forecast warning list of cities, the city weather forecast weather information for displaying a list of cities.

[0010] 一种终端,包括: [0010] A terminal, comprising:

[0011] 获取单元,用于从服务器获取预警城市的名称,所述预警城市具有天气预警信息; [0011] acquiring unit, configured to obtain the name of the city from the server warning, the warning information warning city having weather;

[0012] 判断单元,用于判断本地存储的联系人中是否存在处于所述预警城市中的目标联系人; [0012] determination means for determining whether the locally stored contact is in the presence of the target contact warning cities;

[0013] 添加单元,用于当判断出存在所述目标联系人时,将所述目标联系人所处的预警城市的名称添加到天气预报城市列表中,所述天气预报城市列表用于显示城市的天气信肩、O [0013] adding unit for the presence of the target when it is determined that contact, the contact to add the name of the target to which the weather forecast for the city of the city warning list, the list of cities for displaying city weather forecast weather letter shoulder, O

[0014] 由上述技术方案所描述的本发明实施例中,终端从服务器获取到预警城市的名称后,如果判断出本地存储的联系人中存在处于所述预警城市中的目标联系人,则将所述预警城市的名称添加到天气预报城市列表中。 [0014] The embodiment of the present invention, the above technical solutions described embodiment, after the terminal acquires from the server to the name of the city warning, if it is determined that the contact is in the presence of the locally stored contact the warning target city, then the city's name warning added to the list of cities weather forecast. 与现有技术中用户需要手动将有天气预警信息的城市更新到天气预报城市列表相比,本发明实施例提供可以实时判断是否存在目标联系人处于预警城市中,并在判断出存在目标联系人时,将预警城市添加到天气预报城市列表中,无需用户进行人为判断是否有联系人处于有天气预警信息的城市,同时,也无需手动进行添加,从而在对天气预报城市列表的更新过程中,简化了用户的操作,根据天气信息的实时变化,自动添加用户关心的城市至天气预报城市列表中。 The prior art have the user must manually update the weather warning information to the weather forecast for the city list of cities as compared to embodiments of the present invention provide real-time contacts is determined whether the target city is in the warning, and determines that there is a target contacts , the city will add a warning to the weather forecast for cities list, users do not need to determine whether there is human contact in the city have weather warning information, but also do not need to add them manually, so that the process of updating a list of cities in weather forecasting, simplifying the user's actions, according to real-time changes in the weather information is automatically added to urban users concerned about the weather forecast city list.

附图说明 BRIEF DESCRIPTION

[0015] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 [0015] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, briefly introduced hereinafter, embodiments are described below in the accompanying drawings or described in the prior art needed to be used in describing the embodiments the drawings are only some embodiments of the present invention, those of ordinary skill in the art is concerned, without creative efforts, can derive from these drawings other drawings.

[0016] 图1为本发明实施例1提供的一种更新天气预报城市列表的方法的流程图; [0016] Figure 1 a flowchart of a method for updating a list of city weather forecast according to one embodiment of the present invention provides;

[0017] 图2为本发明实施例1提供的另一种更新天气预报城市列表的方法的流程图; [0017] FIG 2 is a flowchart of another method for updating a list of city weather forecast according to one embodiment of the present invention provides;

[0018] 图3为本发明实施例1提供的一种终端的显示界面的效果图; [0018] Figure 3 graph shows the effect of a terminal interface provided in Example 1 of the present embodiment of the invention;

[0019] 图4为本发明实施例1提供的另一种终端的显示界面的效果图; [0019] FIG 4 FIG effect display interface terminal according to another embodiment of the present invention to provide a;

[0020] 图5为本发明实施例1提供的又一种更新天气预报城市列表的方法的流程图; [0020] FIG 5 is a flowchart further method for updating the weather forecast for the city list according to an embodiment of the present invention 1;

[0021] 图6为本发明实施例2提供的一种终端的结构图; [0021] FIG 6 provides a configuration diagram of a terminal according to the second embodiment of the present invention;

[0022] 图7为本发明实施例2提供的终端的判断单元的结构图; [0022] FIG. 7 is a configuration diagram of embodiment 2 determination unit provided in the embodiment of the present invention, a terminal;

[0023] 图8为本发明实施例2提供的又一种终端的结构图; [0023] FIG. 8 and FIG configuration of a terminal provided by the embodiment of Example 2 of the present invention;

[0024] 图9为本发明实施例2提供的再一种终端的结构图; [0024] Figure 9 further structural diagram of a terminal provided in Example 2 of the present embodiment of the invention;

[0025] 图10为本发明实施例2提供的还一种终端的结构图。 [0025] FIG. 10 is also a configuration diagram of a terminal provided by the embodiment of Example 2 of the present invention.

具体实施方式 Detailed ways

[0026] 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。 [0026] below in conjunction with the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described embodiments are merely part of embodiments of the present invention, but not all embodiments example. 基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, those of ordinary skill in the art to make all other embodiments without creative work obtained by, it falls within the scope of the present invention.

[0027] 实施例1: [0027] Example 1:

[0028] 本发明实施例提供一种更新天气预报城市列表的方法,所提供的终端支持天气预报应用,如图1所示,该方法包括: [0028] Example embodiments provide a method for updating a list of city weather forecast of the present invention, a terminal is provided to support weather forecast application, shown in Figure 1, the method comprising:

[0029] 101、终端从服务器获取预警城市的名称,所述预警城市具有天气预警信息。 [0029] 101, get the name of the terminal server warning from the city, the city has a warning weather warning information.

[0030] 需要说明的是,该服务器中存储着全国甚至全球不同城市的天气信息,并可以对天气信息进行实时更新。 [0030] It should be noted that the server stores information about the weather in different cities of the country and even the world, and can be updated in real-time weather information. 所述天气信息包含各类天气预警信息,例如台风预警、暴雨预警、高温预警、海嘯预警、雷电预警等。 The weather information includes all types of weather warning information, such as a typhoon warning, storm warning, high temperature warning, tsunami warning, lightning early warning.

[0031] 具体地,当终端支持天气预报应用时,可以从服务器获取到所有具有天气预警信息的预警城市的名称,本发明实施例中将预警城市定义为具有天气预警信息的城市。 [0031] Specifically, when a weather forecast application supported by the terminal, the name can be acquired from the server to all cities having warning information, weather alerts, warnings Example embodiments will be defined as urban city weather warning information with the present invention.

[0032] 102、判断本地存储的联系人中是否存在处于所述预警城市中的目标联系人。 [0032] 102, it is determined whether the locally stored contact is in the presence of the target contact warning cities.

[0033] 103、当判断出存在所述目标联系人时,将所述目标联系人所处的预警城市的名称添加到天气预报城市列表中,所述天气预报城市列表用于显示城市的天气信息。 [0033] 103, when there is contact is determined that the target, to add the name of the target is located warning contact city weather forecast to a list of cities, the city weather forecast weather information for displaying a list of city .

[0034] 与现有技术中用户需要手动将有天气预警信息的城市更新到天气预报城市列表相比,本发明实施例提供可以实时判断是否存在目标联系人处于预警城市中,并在判断出存在目标联系人时,将预警城市添加到天气预报城市列表中,无需用户进行人为判断是否有联系人处于有天气预警信息的城市,同时,也无需手动进行添加,从而在对天气预报城市列表的更新过程中,简化了用户的操作,根据天气信息的实时变化,可以实现自动添加用户关心的城市至天气预报城市列表中。 [0034] The prior art requires the user to have to manually update the city weather warning information to the weather forecast for the city list comparison, embodiments of the present invention provide real-time contacts is determined whether the target city warning, and determines the presence of when the target contact, add the warning to city weather forecast for cities list, users do not need to determine whether there is human contact in the city have weather warning information, but also need to manually add, so updates to the list of cities weather forecast process, simplifies user operation, changes in real-time weather information, the user can automatically add the city to care about the weather forecast city list.

[0035] 另外,采用上述方法实现自动添加预警城市后,可选的,可以在终端的显示界面上向用户显示一条提示信息,用来告诉用户已经将预警城市(同时可以将预警城市的名称显示给用户)添加到了天气预报城市列表中。 [0035] Further, after the automatic warning added city using the above method, optionally, may be displayed on a display interface of the terminal a message to the user, the user has to tell the city warning (warning while the name of the city is displayed to the user) added to the list of cities weather forecast.

[0036] 可选的,如图2所示,上述步骤102具体通过如下子步骤实现: [0036] Optionally, as shown in FIG. 2, step 102 is achieved by specific sub-steps:

[0037] 102A、获取本地存储的联系人各自所处的城市; [0037] 102A, the city acquired locally stored contacts each located;

[0038] 具体应用时,终端上一般会存储有联系人的相关信息,例如,该联系人的相关信息包括:联系人的手机号码,固定电话,通讯地址、电子邮箱等等。 [0038] specific applications, usually have contact information stored on the terminal, for example, include the contact information: phone number of the contact, phone, mailing address, e-mail and so on.

[0039] 本步骤在获取各个联系人各自所处的城市的名称时,具体可以获取联系人的手机号码的归属城市的名称,或者固定电话的归属城市的名称,或者通讯地址所在的城市的名称。 Name [0039] In this step, getting the names of their contacts in which the city can get the name of the specific ownership of the city's mobile phone number of the contact's name or ownership of the city's fixed telephone or mailing address where the city .

[0040] 102B、判断所述本地存储的联系人中是否存在目标联系人,所述目标联系人所处的城市包含在所述获取到的预警城市中。 [0040] 102B, Contacts determining whether the target in the local storage, which contacts the target city is included in the acquired warning city.

[0041] 例如,终端从服务器获取到的预警城市有上海(台风预警)、南京(台风预警)、大理(干旱预警)和昆明(干旱预警),并获取到有联系人A和联系人B的手机号码的归属城市为上海,一个联系人C的通讯地址所处的城市为昆明,其他联系人所处的城市均非上述获取到的4个预警城市。 [0041] For example, the terminal acquires from the server to the warning cities Shanghai (typhoon warning), Nanjing (typhoon warning), Dali (drought early warning) and Kunming (drought early warning), and get to have contact A and contact B of the city belonging to Shanghai mobile phone number, a contact C of the mailing address is located in Kunming city, other cities in which the non-contact above to get early warning of four cities. 此时,终端可以判断出联系人A、联系人B和联系人C所处的城市包含在上述4个预警城市中,则将所述上海和昆明添加到天气预报城市列表中。 In this case, the terminal can determine a contact A, a contact B, and C in which the city is included in the contact of the four cities warning, then added to the weather forecast Shanghai and Kunming city list. 具体实施时,可以通过图3所示的终端的一种显示界面中的提示界面上提示用户“昆明有干旱预警信息,上海有暴雨预警信息,将上海和昆明添加到天气预报城市列表中,时刻关注上海和昆明的天气”。 In specific implementation, may be prompted by a display screen on the terminal shown in FIG. 3, the user interface prompts "warning information Kunming drought, heavy rain warning information Shanghai, Shanghai and Kunming added to the list of city weather forecast, time Watch Shanghai and Kunming weather. " 当用户查看预警城市的天气信息时,例如查看昆明的天气,可以在图4所示的显示界面中,将昆明的天气和处在昆明的联系人C显示给用户。 When a user views the weather information warning of the city, for example, the weather of view, the interface may be displayed as shown in FIG. 4, and the weather in Kunming Kunming contact C to the user.

[0042] 进一步地,通过步骤103将所述预警城市的名称添加到天气预报城市列表中之前,如图5所示,还可以包括: Before [0042] Further, the step 103 by adding the name of the city weather forecast warning to the city list, shown in Figure 5, may further comprise:

[0043] 1030、显示所述目标联系人所处的预警城市的名称。 [0043] 1030, which displays the name of the target contact warning of the city.

[0044] 相应地,步骤103具体在实现时将替换为: [0044] Accordingly, particularly in implementing step 103 will be replaced by:

[0045] 1031、在接收到城市添加指令后,将所述目标联系人所处的预警城市的名称添加到天气预报城市列表中。 [0045] 1031, after receiving the city addition instruction, warning add the name of the city is located to contact the target in the weather forecast for the city list.

[0046] 例如,终端接收到的预警城市的名称为深圳和昆明,此时可以为用户提供一个询问界面,在该询问界面上显示“您有联系人处在预警城市上海、昆明,是否将上述城市添加到天气预报城市列表? ”如果用户选择“是”,则会产生一个城市添加指令,终端在接收到该城市添加指令后,将所述上海和昆明添加到天气预报城市列表中,从而完成对天气预报城市列表的更新。 [0046] For example, the name of the terminal received warning of Shenzhen and Kunming city, then you can ask provide a user interface displayed on the screen asking "Do you have contacts in the city warning Shanghai, Kunming, whether or not the above urban added to the list of city weather forecast? "If the user selects" yES ", will produce a city add instruction, the terminal receiving the city after the addition instruction, the weather forecast Shanghai and Kunming added to a list of cities to complete updates to the list of cities weather forecast.

[0047] 进一步地,为了方便用户与处于所述预警城市的联系人进行沟通,终端在所述天气预报城市列表中显示所述目标联系人所处的预警城市的天气信息时,还可以显示所述目标联系人的名称。 When [0047] Further, in order to facilitate contact with the user's city warning communication terminal displays weather information warning contact the target city is located in the weather forecast for the city list may also be displayed as said the name of the target contact. 如果终端接收到通讯指令时,与所述目标联系人进行所述通讯指令所指示的通讯,所述通讯指令包括:语音呼叫,发送短信或者发送邮件。 If the terminal receives the communication command, the communication instruction to communicate with the indicated target contact, the communication instructions comprising: a voice call, send a text message or email.

[0048] 例如,当用户查看上述天气预报城市列表中“上海”的天气信息时,终端可以将“上海”的天气信息显示给用户,同时也可以通过一个提示界面将位于“上海”的联系人的名称(例如张三)显示出来,在该提示界面上还可以为用户设置一些终端所支持的通讯操作方式,比如,“以短信方式发送天气预报给张三”,或者“以邮件方式发送天气预报给张三”,又或者“进行语音呼叫”,当用户选择使用某一种通讯操作方式时,将产生相应的通讯指令,此时终端接收到该通讯指令时,与所述处在所述预警城市的联系人进行通讯。 [0048] For example, when the "Shanghai" users to view weather information above weather forecast for cities list, the terminal can "Shanghai" weather information displayed to the user, but can also be located in the "Shanghai" contacts via a prompt interface the name (eg John Doe) is displayed on the prompt interface users can also set some communication operation mode supported by the terminal, such as, "send a text message weather forecast for San" or "weather sent by mail when Joe Smith to forecast ", or" voice call ", when the user selects to use one of communication operation mode, a corresponding communication command, then the terminal receives the communication command, and in the said contact the city's early warning communication. 例如,用户选择了“以短信方式发送天气预报给张三”的操作方式,则终端会接收到发送短信指令,并将天气预报发送给张三,从而,方便了用户与该预警城市中的联系人进行沟通。 For example, the user selects "send a text message to a weather forecast San" mode of operation, the terminal receives the transmitted SMS command sent to the weather forecast and Zhang, thereby to facilitate the user associated with the warning cities people communicate.

[0049] 进一步地,由于天气信息在不断发生变化,当上述预警城市的天气预警信息被取消后,为了实现所述天气预报城市列表中的预警城市可以根据天气情况动态变化而进行实时更新,可选的,本发明实施例中,当终端检测到所述预警城市的天气预警信息被取消后,将所述预警城市从所述天气预报城市列表中删除。 [0049] Further, due to the constantly changing weather information, weather warning information when the city above warning was canceled, in order to achieve the City list of warning Weather Forecast city can dynamically vary depending on weather conditions updated in real time, can optional, embodiment of the present invention, when the terminal detects that the weather warning information warning of the city is canceled, the warning list of cities from the city remove the weather forecast.

[0050] 实施例2: [0050] Example 2:

[0051] 本发明实施例提供一种终端,如图6所示,该终端包括:获取单元11,判断单元12和添加单元13。 Embodiment [0051] The present invention provides a terminal, as shown in FIG. 6, the terminal includes: an acquiring unit 11, determination unit 12 and adding unit 13.

[0052] 其中,获取单元11用于从服务器获取预警城市的名称,所述预警城市具有天气预 [0052] wherein, obtaining 11 for obtaining from the server name of the city warning, said warning unit city having weather forecasts

θ IR >ιϊι', θ IR> ιϊι ',

[0053] 判断单元12用于判断本地存储的联系人中是否存在处于所述预警城市中的目标联系人; [0053] It is determined whether the target unit 12 for the contact in the determination of the city warning locally stored contacts;

[0054] 添加单元13用于当判断出存在所述目标联系人时,将所述目标联系人所处的预警城市的名称添加到天气预报城市列表中,所述天气预报城市列表用于显示城市的天气信肩、O [0054] The addition unit 13 for the presence of the target when it is determined that contact, the contact to add the name of the target to which the weather forecast for the city of the city warning list, the list of cities for displaying city weather forecast weather letter shoulder, O

[0055] 本发明实施例提供的终端从服务器获取到预警城市的名称后,如果判断出本地存储的联系人中存在处于所述预警城市中的目标联系人,则将所述预警城市的名称添加到天气预报城市列表中。 [0055] After the terminal provided by the embodiment of the present invention is obtained from the server to the name of the city warning, if it is determined that the contact is in the presence of the locally stored contact the warning target city, then add the name of the city warning Weather Forecast city to the list. 与现有技术中用户需要手动将有天气预警信息的城市更新到天气预报城市列表相比,无需用户进行人为判断是否有联系人处于有天气预警信息的城市,同时,也无需手动进行添加,从而在对天气预报城市列表的更新过程中,简化了用户的操作,根据天气信息的实时变化,自动添加用户关心的城市至天气预报城市列表中。 The prior art user will have to manually city weather warning information to update a list of cities compared to the weather forecast, without the user to determine whether there is human contact in the city have weather warning information, but also need to manually add, so in the process of updating the list of cities weather forecast, simplifying the user's actions, according to real-time changes in the weather information is automatically added to urban users concerned about the weather forecast city list.

[0056] 可选的,采用上述终端实现自动添加有预警城市后,可选的,可以在终端的显示界面上向用户显示一条提示信息,用来告诉用户已经将预警城市(同时可以将预警城市的名称显示给用户)添加到了天气预报城市列表中。 After [0056] Alternatively, the above-described terminal automatically added warning cities Alternatively, a message may be displayed, the user has to tell the warning city (city and can be alert to a user on the display screen of the terminal the name is displayed to the user) added to the list of cities weather forecast.

[0057] 可选的,具体应用时,可以对所述判断单元12进行功能细分,如图7所示,所述判断单元12具体包括:获取模块12Α和判断模块12Β。 [0057] Alternatively, when the particular application, the determination may be made to the function unit 12 segments, as shown in Figure 7, the judging unit 12 comprises: an obtaining module and a determining module 12Α 12Β.

[0058] 获取模块12Α用于获取本地存储的联系人各自所处的城市; [0058] 12Α obtaining module configured to obtain the locally stored contact each city is located;

[0059] 实际实施时,所述获取模块12Α具体用于获取本地存储的联系人各自的手机号码的归属城市的名称,或者固定电话的归属城市的名称,或者通讯地址所在的城市的名称。 [0059] When an actual embodiment, the acquisition module configured to acquire specific 12Α home city names stored locally contacts a respective phone number or the name of the home city fixed telephone, or the name of the city where the mailing address.

[0060] 判断模块12Β用于判断所述本地存储的联系人中是否存在目标联系人,所述目标联系人所处的城市包含在所述获取到的预警城市中。 [0060] It is determined whether the target module 12Β for locally stored contact the contact determination, the target comprising a contact located in the city acquired warning city.

[0061] 进一步地,如图8所示,该终端还包括:第一显示单元14。 [0061] Further, as shown in FIG. 8, the terminal further comprising: a first display unit 14.

[0062] 第一显示单元14用于显示所述目标联系人所处的预警城市的名称;此时,所述添加单元13具体用于在接收到城市添加指令后,将所述目标联系人所处的预警城市名称添加到天气预报城市列表中。 [0062] The first display unit 14 for displaying the name of the city warning contact target is located; At this time, the adding unit 13 is specifically configured to add command after receiving the city, the target contacts the warning city name at the weather forecast for the city to add to the list.

[0063] 例如,终端接收到的预警城市的名称为深圳和昆明,此时可以为用户提供一个询问界面,在该询问界面上显示“您有联系人处在有天气预警信息的城市深圳、昆明,是否将上述城市添加到天气预报城市列表? ”如果用户选择“是”,则会产生一个城市添加指令,终端在接收到该城市添加指令后,将所述深圳和昆明添加到天气预报城市列表中,从而完成对天气预报城市列表的更新。 [0063] For example, the name of the terminal received warning of Shenzhen and Kunming city, then you can ask provide a user interface displayed on the screen asking "Do you have a contact there at the weather warning information city of Shenzhen, Kunming , whether to add to these cities weather forecast city list? "If the user selects" Yes ", it will produce a list of cities weather forecast for the city add instruction terminal after receiving instructions to add the city to add to the Shenzhen and Kunming in order to complete the update of the list of cities weather forecast.

[0064] 进一步地,为了方便用户与处于所述预警城市的联系人进行沟通,终端在显示所述预警城市的天气信息时,如图9所示,所述终端还包括:第二显示单元15和通讯单元16。 [0064] Further, in order to facilitate contact with the user's city warning communication terminal while displaying the weather information warning of the city, 9, said terminal further comprising: a second display unit 15 and a communication unit 16.

[0065] 第二显示单元15在显示所述目标联系人所处的预警城市的天气信息时,显示所述目标联系人的名称;通讯单元16用于在接收到通讯指令时,与所述目标联系人进行所述通讯指令所指示的通讯,所述通讯指令包括:语音呼叫,发送短信或者发送邮件。 [0065] The second display unit 15 which displays a warning when target contact city weather information, displaying the name of the target contact; communication unit 16 when receiving the communication command, and the target contacts for the communication indicated by the instruction communications, the communication instructions comprising: a voice call, send a text message or email.

[0066] 进一步地,由于天气信息在不断发生变化,当上述预警城市的天气预警信息被取消后,为了实现所述天气预报城市列表中的预警城市可以根据天气情况动态变化而进行实时更新,可选的,如图10所示,所述终端还包括:删除单元17,用于当检测到所述预警城市的天气预警信息被取消后,将所述预警城市从所述天气预报城市列表中删除。 [0066] Further, due to the constantly changing weather information, weather warning information when the city above warning was canceled, in order to achieve the City list of warning Weather Forecast city can dynamically vary depending on weather conditions updated in real time, can selected, as shown in FIG. 10, the terminal further comprising: a deletion unit 17 for detecting when the weather warning information to the warning is canceled city, the city removed from the warning list of city weather forecast .

[0067] 本发明实施例主要应用在对终端上的天气预报城市列表进行更新的过程中,可以简化用户的操作,根据天气信息的实时变化,自动添加用户关心的城市至天气预报城市列表中。 Example main application Embodiment [0067] In the process of the present invention on the weather forecast for the city list updating the terminal, the user's operation can be simplified, in accordance with changes in real time weather information, user interest is automatically added to the city weather forecast for the city list.

[0068] 通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。 [0068] By the above described embodiments, those skilled in the art may clearly understand that the present invention may be implemented by software plus necessary universal hardware implemented, also be implemented by hardware, but the former is preferred in many cases embodiments. 基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。 Based on such understanding, the technical solutions of the present invention in essence or the part contributing to the prior art may be embodied in a software product out, in the storage medium may be readable, such as a floppy disk of the computer software product is stored and the like, a hard disk or optical disk, and include several instructions that enable a computer device (may be a personal computer, a server, or network device) to execute the methods according to embodiments of the present invention.

[0069] 以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。 [0069] The above are only specific embodiments of the present invention, but the scope of the present invention is not limited thereto, any skilled in the art in the art within the technical scope of the present invention is disclosed, variations may readily occur or Alternatively, it shall fall within the protection scope of the present invention. 因此,本发明的保护范围应以所述权利要求的保护范围为准。 Accordingly, the scope of the present invention should be defined by the scope of the claims.

Claims (12)

1.一种更新天气预报城市列表的方法,其特征在于,包括: 从服务器获取预警城市的名称,所述预警城市具有天气预警信息; 判断本地存储的联系人中是否存在处于所述预警城市中的目标联系人; 当判断出存在所述目标联系人时,将所述目标联系人所处的预警城市的名称添加到天气预报城市列表中,所述天气预报城市列表用于显示城市的天气信息。 1. A method for updating a list of city weather forecast, characterized in that, comprising: acquiring the name of the city warning from the server, with the city weather warning information warning; determining whether the locally stored contact is present in the warning city target contact; when there is contact is determined that the target, to add the name of the target in which the warning contact city weather forecast to a list of cities, the city weather forecast weather information for displaying a list of city .
2.根据权利要求1所述的更新天气预报城市列表的方法,其特征在于,判断本地存储的联系人中是否存在处于所述预警城市中的目标联系人包括: 获取本地存储的联系人各自所处的城市; 判断所述本地存储的联系人中是否存在目标联系人,所述目标联系人所处的城市包含在所述获取到的预警城市中。 The method of updating the list of city weather forecast claimed in claim 1, wherein determining whether the locally stored contact is in the presence of a target city warning contacts comprising: obtaining respective contact locally stored at the city; contacts for determining whether the target in the local storage, which contacts the target city is included in the acquired warning city.
3.根据权利要求2所述的更新天气预报城市列表的方法,其特征在于,所述获取本地存储的联系人各自所处的城市包括: 获取本地存储的联系人各自的手机号码的归属城市的名称,或者固定电话的归属城市的名称,或者通讯地址所在的城市的名称。 3. The method of updating the list of city weather forecast according to claim 2, wherein the obtaining locally stored contacts each located City comprising: obtaining respective contact locally stored phone number in the home city name of the city name, or the name of the city of ownership of fixed-line telephone or mailing address is located.
4.根据权利要求1所述的更新天气预报城市列表的方法,其特征在于,还包括: 显示所述目标联系人所处的预警城市的名称; 将所述目标联系人所处的预警城市的名称添加到天气预报城市列表中具体为:在接收到城市添加指令后,将所述目标联系人所处的预警城市的名称添加到天气预报城市列表中。 The method of updating the list of city weather forecast as claimed in claim 1, characterized in that, further comprising: displaying the name of the contact is located warning target city; contact the target city is located warning Weather forecast name added to the list of cities in particular: after receiving the city add instruction, the name of the target contact the city in which early warning added to the list of cities weather forecast.
5.根据权利要求1所述的更新天气预报城市列表的方法,其特征在于,还包括: 在所述天气预报城市列表中显示所述目标联系人所处的预警城市的天气信息时,显示所述目标联系人的名称; 在接收到通讯指令时,与所述目标联系人进行所述通讯指令所指示的通讯,所述通讯指令包括:语音呼叫,发送短信或者发送邮件。 The weather forecast for the city list Method according to claim 1, characterized in that, further comprising: a weather information display warning the target city is located in the contact list of cities in the weather forecast, the display the name of said target contact; upon receiving the communication command, communicating with the contact with the target instruction indicated in the communication, the communication instructions comprising: a voice call, send a text message or email.
6.根据权利要求1所述的更新天气预报城市列表的方法,其特征在于,还包括: 当检测到所述预警城市的天气预警信息被取消后,将所述预警城市从所述天气预报城市列表中删除。 6. The method of updating the list of city weather forecast as claimed in claim 1, characterized in that, further comprising: when detecting the alarm information of the city weather warning is canceled, the warning from the urban city weather forecast removed from the list.
7.—种终端,其特征在于,包括: 获取单元,用于从服务器获取预警城市的名称,所述预警城市具有天气预警信息; 判断单元,用于判断本地存储的联系人中是否存在处于所述预警城市中的目标联系人; 添加单元,用于当判断出存在所述目标联系人时,将所述目标联系人所处的预警城市的名称添加到天气预报城市列表中,所述天气预报城市列表用于显示城市的天气信息。 7.- type of terminal, characterized by comprising: an acquisition unit configured to acquire from the server name of the city warning, the warning information warning city having weather; determining means for determining whether the locally stored contact is in the presence of said urban warning target contact; adding unit for the presence of the target when it is determined that contact, the contact to add the name of the target to which the weather forecast for the city of the city warning list, the weather forecast list of cities for displaying weather information of the city.
8.根据权利要求7所述的终端,其特征在于,所述判断单元包括: 获取模块,用于获取本地存储的联系人各自所处的城市; 判断模块,用于判断所述本地存储的联系人中是否存在目标联系人,所述目标联系人所处的城市包含在所述获取到的预警城市中。 8. The terminal according to claim 7, wherein the determination unit comprises: an obtaining module, configured to obtain the locally stored contact each city is located; determining means for determining the locally stored contact of those who target contact if the target contact in which the city is included in the acquired warning the city.
9.根据权利要求8所述的终端,其特征在于,所述获取模块具体用于获取本地存储的联系人各自的手机号码的归属城市的名称,或者固定电话的归属城市的名称,或者通讯地址所在的城市的名称。 9. The terminal according to claim 8, wherein the obtaining the name of the home city contacts module configured to obtain respective local storage of the phone number, or the name of the home city fixed phone or mailing address name of the city is located.
10.根据权利要求7所述的终端,其特征在于,还包括: 第一显示单元,用于显示所述目标联系人所处的预警城市的名称; 所述添加单元具有用于在接收到城市添加指令后,将所述目标联系人所处的预警城市的名称添加到天气预报城市列表中。 10. The terminal according to claim 7, characterized in that, further comprising: a first display unit for displaying the name of the contact is located warning target city; the addition means for receiving the city having after adding instructions to add the name of the target contact the city in which early warning of weather forecasts to the city list.
11.根据权利要求7所述的终端,其特征在于,还包括: 第二显示单元,用于在所述天气预报城市列表中显示所述目标联系人所处的预警城市的天气信息时,显示所述目标联系人的名称; 通讯单元,用于在接收到通讯指令时,与所述目标联系人进行所述通讯指令所指示的通讯,所述通讯指令包括:语音呼叫,发送短信或者发送邮件。 11. The terminal according to claim 7, characterized in that, further comprising: a second display unit configured to display a list of cities in the weather forecast for the weather warning information of the target city is located in the contact, the display a name of the target contact; communication unit, when receiving the communication command, and the target contact communication, the communication of the communication instruction indicated by the instruction comprising: a voice call, send a text message or email. .
12.根据权利要求7所述的终端,其特征在于,还包括: 删除单元,用于当检测到所述预警城市的天气预警信息被取消后,将所述预警城市从所述天气预报城市列表中删除。 12. The terminal according to claim 7, characterized in that, further comprising: a deleting unit for, when the weather forecast from the list of cities to the detected weather warning information warning of the city is canceled, the warning city deleted.
CN 201010543903 2010-11-15 2010-11-15 Method and terminal for updating weather forecast city list CN102014347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010543903 CN102014347B (en) 2010-11-15 2010-11-15 Method and terminal for updating weather forecast city list

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010543903 CN102014347B (en) 2010-11-15 2010-11-15 Method and terminal for updating weather forecast city list

Publications (2)

Publication Number Publication Date
CN102014347A CN102014347A (en) 2011-04-13
CN102014347B true CN102014347B (en) 2014-12-31

Family

ID=43844324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010543903 CN102014347B (en) 2010-11-15 2010-11-15 Method and terminal for updating weather forecast city list

Country Status (1)

Country Link
CN (1) CN102014347B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567934A (en) * 2009-06-02 2009-10-28 宇龙计算机通信科技(深圳)有限公司 Method for updating city list of weather forecast and handheld mobile terminal
CN101719961A (en) * 2009-12-16 2010-06-02 中兴通讯股份有限公司 Implementation method, terminal and communication system for inquiring region information
CN101834896A (en) * 2010-04-16 2010-09-15 惠州Tcl移动通信有限公司 Method for linking whether information by address list of mobile communication terminal and mobile communication terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009532980A (en) * 2006-04-04 2009-09-10 ユーアイキュー テクノロジー エービーUiq Technology Ab Retrieval and presentation of information on portable devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567934A (en) * 2009-06-02 2009-10-28 宇龙计算机通信科技(深圳)有限公司 Method for updating city list of weather forecast and handheld mobile terminal
CN101719961A (en) * 2009-12-16 2010-06-02 中兴通讯股份有限公司 Implementation method, terminal and communication system for inquiring region information
CN101834896A (en) * 2010-04-16 2010-09-15 惠州Tcl移动通信有限公司 Method for linking whether information by address list of mobile communication terminal and mobile communication terminal

Also Published As

Publication number Publication date
CN102014347A (en) 2011-04-13

Similar Documents

Publication Publication Date Title
CA2464817C (en) Method for confirming device locations
EP1959652A1 (en) Telephone background screensaver with live internet content
US20120117499A1 (en) Methods and apparatus to display mobile device contexts
RU2534970C2 (en) Display of contact information of incoming call
CN101304575B (en) Method and communication terminal capable of automatically matching incoming call number or note number
US9668092B2 (en) Visual representation of contact location
US20120260215A1 (en) Push notifications for updating multiple dynamic icon panels
CA2862876C (en) Systems and methods for sharing data among multiple end user devices
US7747679B2 (en) Managing a communication availability status
US20070293206A1 (en) Cell phone communication management
US7299032B2 (en) Communication terminal and program
US8655321B2 (en) Adaptive notifications
US20090210497A1 (en) Selective instant messaging (im) notifications based on sender/receiver relationships
CN108712562A (en) Equipment, method and graphic user interface for providing notice and being interacted with notice
CN103078949B (en) Method and system for displaying the telephone number information
CN101946532B (en) Utilizing mobile device functionality from remote computers
US8274935B2 (en) Mobile communication device notifier
CN101621578B (en) Method and terminal for setting alarm clock
US20060112339A1 (en) Mobile device interactions through objects on a computer
CN102172098A (en) Inter-threading indications of different types of communication
TW201038022A (en) Method and system for filtering incoming messages to a mobile device
US20150334118A1 (en) Method and apparatus for clearing notification icon, and storage medium
US20140379814A1 (en) System and method for optimized message creation and delivery
CN103902253A (en) Message processing method and system based on IOS platform
US20150019694A1 (en) Method for Screen Sharing, Related Device, and Communications System

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
TR01