CN107454261A - A kind of weather icon display methods, device and mobile terminal - Google Patents
A kind of weather icon display methods, device and mobile terminal Download PDFInfo
- Publication number
- CN107454261A CN107454261A CN201710667344.1A CN201710667344A CN107454261A CN 107454261 A CN107454261 A CN 107454261A CN 201710667344 A CN201710667344 A CN 201710667344A CN 107454261 A CN107454261 A CN 107454261A
- Authority
- CN
- China
- Prior art keywords
- contact person
- weather
- weather information
- current location
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72457—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Abstract
The present embodiments relate to mobile communication technology field, discloses a kind of weather icon display methods, device and mobile terminal.Wherein, methods described includes:Obtain the Weather information of current location;Obtain the Weather information of the first contact person position;Show the Weather information of the current location and/or the Weather information of the first contact person position;Wherein, the Weather information includes positional information and weather data.The embodiment of the present invention realizes the effect for the Weather information that diverse location is shown on weather icon, so as to meet a variety of demands of user, lifts Consumer's Experience.
Description
Technical field
The present embodiments relate to mobile communication technology field, more particularly to a kind of weather icon display methods, device and
Mobile terminal.
Background technology
In recent years, mobile terminal (such as smart mobile phone, tablet personal computer etc.) is powerful with its, it is easy to use the features such as by
To the favor of many users, mobile terminal even becomes instrument essential in current people's daily life, work.Mesh
Before, most of mobile terminal can all be provided with various application programs, to realize various functions.Application program in the terminal is big
It is to be shown in the form of icon mostly, user is by selecting different icon cans to run different application programs.For example, with
Family can enter the application program of weather, understand weather condition by clicking on weather icon.
In the prior art, weather icon generally has two kinds of display modes at present:First, weather icon is shown as a kind of simplification
Pattern or symbol.Because the symbolic of icon acts on bigger, application program of the icon as mobile terminal in actual applications
Startup entrance, it is necessary to ensure basic identity, therefore, usual weather icon is the pattern or symbol of a kind of simplification.For example,
Weather icon in iOS operating systems.2nd, Current Temperatures or basic weather condition are shown on weather icon.This weather map
Mark display mode can understand the basic condition of weather without user into weather application.For example, the day in Android operation system
Gas icon.
In process of the present invention is realized, inventor has found that at least there are the following problems in correlation technique:Weather icon is one
, it is necessary to which user enters in weather application the situation that just will appreciate that weather when the pattern or symbol of kind simplification;Current Temperatures are basic
When weather condition is shown on weather icon, it just will appreciate that the situation of weather is asked although solving and need to enter in weather application
Topic, but this weather condition for being only limitted to show current location on weather icon, if user need to understand the weather of other positions
Situation then needs to enter in weather application.
The content of the invention
It is a primary object of the present invention to provide a kind of weather icon display methods, device and mobile terminal, realize in day
The effect of the Weather information of diverse location is shown on gas icon, so as to meet a variety of demands of user, lifts Consumer's Experience.
The embodiment of the invention discloses following technical scheme:
In a first aspect, the embodiments of the invention provide a kind of weather icon display methods, applied to mobile terminal, the side
Method includes:
Obtain the Weather information of current location;
Obtain the Weather information of the first contact person position;
Show the Weather information of the current location and/or the Weather information of the first contact person position;
Wherein, the Weather information includes positional information and weather data.
In certain embodiments, the Weather information for obtaining the first contact person position, including:
Obtain not in the Weather information of the first contact person position of current location.
In certain embodiments, the acquisition is not in the Weather information of the first contact person position of current location, bag
Include:
The positional information of the first contact person pre-set is obtained, the position of first contact person pre-set is believed
Breath is matched with current location, if matching is unsuccessful, is obtained not in the first contact person position of current location
Weather information;Or
Determine the first contact person of association by associating communication applications, and by the first contact person of the association
Position matched with current location, if matching is unsuccessful, the first contact person institute obtained not in current location is in place
The Weather information put.
In certain embodiments, the position of first contact person pre-set or the first contact person of the association
Confidence breath is determined by contact phone number ownership place;Or first contact person pre-set or the application are closed
The positional information of first contact person of connection is determined by GPS location service.
In certain embodiments, methods described also includes:
Obtain active user's type and/or the user type of first contact person;
The Weather information of the display current location and/or the Weather information of the first contact person position,
Including:
According to active user's type, the Weather information of current position is shown;And/or
According to the user type of first contact person, the Weather information of display the first contact person position.
In certain embodiments, it is described according to active user's type, show the Weather information of current position, and/
Or, the user type according to first contact person, the Weather information of display the first contact person position, including:
It is current according to active user's type, and the corresponding relation of default user type and weather data, display
Position Weather information;And/or
According to the user type of first contact person, and the corresponding relation of default user type and weather data,
Show the Weather information of the first contact person position.
Second aspect, the embodiments of the invention provide a kind of weather icon display device, applied to mobile terminal, the dress
Put including:
First acquisition unit, for obtaining the Weather information of current location;
Second acquisition unit, for obtaining the Weather information of the first contact person position;
Display unit, for the Weather information for showing the current location and/or the first contact person position
Weather information;
Wherein, the Weather information includes positional information and weather data.
In certain embodiments, the second acquisition unit includes:
Acquisition module, for obtaining not in the Weather information of the first contact person position of current location.
In certain embodiments, the acquisition module includes:
First processing module, for obtaining the positional information of the first contact person pre-set, pre-set described
The positional information of first contact person is matched with current location, if matching is unsuccessful, is obtained not the of current location
The Weather information of one contact person position;Or
Second processing module, for determining the first contact person of association by associating communication applications, and described it will answer
Matched with current location with the position of the first contact person of association, if matching is unsuccessful, obtained not in current location
The first contact person position Weather information.
In certain embodiments, the first processing module or the Second processing module include:
Determining module, for by contact phone number ownership place, it is determined that first contact person pre-set or
The positional information of first contact person of the association;Or for by GPS location service, it is determined that described pre-set
The first contact person or the association the first contact person positional information.
In certain embodiments, described device also includes:
3rd acquiring unit, for obtaining active user's type and/or described not in first contact person of current location
User type;
The display unit includes:
First display module, for according to active user's type, showing the Weather information of current position;And/or
Second display module, for the user type according to first contact person, show the first contact person place
The Weather information of position.
In certain embodiments, first display module is specifically used for:According to active user's type, and it is default
User type and weather data corresponding relation, show the Weather information of current position;And/or
Second display module is specifically used for:According to the user type of first contact person, and default user
The corresponding relation of type and weather data, show the Weather information of the first contact person position.
The third aspect, the embodiments of the invention provide a kind of mobile terminal, including:
At least one processor;And
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of at least one computing device, and the instruction is by described at least one
Individual computing device, so that at least one processor is able to carry out weather icon display methods as described above.
Fourth aspect, the embodiments of the invention provide a kind of computer program product, the computer program product includes
The computer program being stored on non-volatile computer readable storage medium storing program for executing, the computer program include programmed instruction, when
When described program instruction is performed by mobile terminal, the mobile terminal is set to perform weather icon display methods as described above.
5th aspect, the embodiment of the present invention additionally provide a kind of non-volatile computer readable storage medium storing program for executing, the calculating
Machine readable storage medium storing program for executing is stored with computer executable instructions, and the computer executable instructions are used to hold the mobile terminal
Row weather icon display methods as described above.
The beneficial effect of the embodiment of the present invention is:The situation of prior art is different from, the embodiments of the invention provide one kind
Weather icon display methods, device and mobile terminal.Wherein, methods described includes:Obtain the Weather information of current location;Obtain
The Weather information of first contact person position;Show the Weather information of the current location and/or the first contact person institute
Weather information in position;Wherein, the Weather information includes positional information and weather data.Realize and show on weather icon
Show the effect of the Weather information of diverse location, so as to meet a variety of demands of user, lift Consumer's Experience.
Brief description of the drawings
One or more embodiments are illustrative by the picture in corresponding accompanying drawing, these exemplary theorys
The bright restriction not formed to embodiment, the element for having same reference numbers label in accompanying drawing are expressed as similar element, removed
Non- have a special statement, and composition does not limit the figure in accompanying drawing.
Fig. 1 is a kind of schematic flow sheet of weather icon display methods provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of weather icon display methods provided in an embodiment of the present invention;
Fig. 3 is a kind of weather icon display device schematic diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of weather icon display device schematic diagram provided in an embodiment of the present invention;
Fig. 5 is mobile terminal hardware architecture diagram provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
In addition, as long as technical characteristic involved in each embodiment of invention described below is each other not
Conflict can is formed to be mutually combined.
Embodiment 1:
The embodiment of the present invention is a kind of embodiment of weather icon display methods provided by the invention.If Fig. 1 is the present invention
A kind of schematic flow sheet for weather icon display methods that embodiment provides.A kind of weather icon display side of the embodiment of the present invention
Method is applied to mobile terminal, can be performed by various mobile terminals, such as laptop computer, tablet personal computer, smart mobile phone.
Reference picture 1, methods described includes:
101:Obtain the Weather information of current location.
In embodiments of the present invention, mobile terminal can obtain the Weather information of current location.The Weather information includes
Positional information and weather data, namely positional information and current location of the Weather information including current location of the current location
Weather data.Mobile terminal can pass through the positional information of GPS location service acquisition current location, the essence of the positional information
Degree can be set according to user's request, such as geographical position is in units of city, such as Shenzhen and Guangzhou and Changsha etc., also may be used
To be refined into area, county, town, township, road, or even it is to provide specific geographical longitude and latitude;Mobile terminal can pass through cloud service
The network resources such as device obtain the weather data of the current location, namely day destiny corresponding to the current location information
According to, the weather data can be temperature, relative humidity, precipitation, wind direction, air quality index, index number of price and/or
State of weather etc..Wherein, the temperature can be temperature, same day temperature, the temperature of following a period of time (such as 7 days, 40 days) at that time
Degree;The index number of price includes:Ultraviolet index, flu index, drcssing index, carwash index, exercise index and/or air are dirty
Contaminate diffusion index etc.;The state of weather can be fine, cloudy, cloudy, wind, rain, mist and/or snow etc..
102:Obtain the Weather information of the first contact person position.
In embodiments of the present invention, mobile terminal can obtain the Weather information of the first contact person position.The day
Gas information includes positional information and weather data, namely the Weather information of the first contact person position includes the first contact
The positional information of people position and the weather data of the first contact person position.First contact person can be user
Relatives (such as father and mother), friend, classmate, colleague, business partner or other people related to user etc..First contact
One or more any contact person or one or more frequent contact that people can be selected with user.For example, both
There are relatives to have classmate again, and can be multiple relatives or multiple classmates.
103:Show the Weather information of the current location and/or the Weather information of the first contact person position.
In embodiments of the present invention, mobile terminal can show the Weather information and/or described first of the current location
The Weather information of contact person position.Wherein, the mobile terminal can show the current location Weather information and/or
The Weather information of the first contact person position includes but is not limited to following several situations:
(1) Weather information of the current location is only shown.The Weather information of the display current location can be
The positional information of current location and weather data are included on weather icon, for example, " Shenzhen ", " 25 DEG C " are shown in weather map
Put on.The positional information of current location can also be replaced to the words identification (" weather ") of weather application, such as current location is
" Shenzhen ", by " Shenzhen " replacement " weather ", weather data, such as " 25 DEG C " are shown on weather icon.
(2) Weather information of the first contact person position is only shown.Show the first contact person position
Weather information can be that the positional information of the first contact person position and weather data are shown on weather icon,
The positional information of first contact person position can also be replaced to the words identification (" weather ") of weather application, in weather icon
Upper display weather data.
(3) Weather information of the current location had both been shown, has shown the weather letter of the first contact person position again
Breath.Including two kinds of situations:1) Weather information of the current location and the weather of the first contact person position are believed
Breath is shown simultaneously;2) Weather information of the current location and the Weather information of the first contact person position are according to default
Sequential show that, for example, the current location is " Shenzhen ", the first contact person position is " Shanghai ", then can be first
The Weather information in " Shenzhen " is shown, according still further to default sequential (such as every 10 seconds), the Weather information of display " Shanghai ", then every 10
Second, the Weather information of display " Shenzhen ", repetitive cycling are shown again.
In certain embodiments, the first contact person position and the current location can with it is identical can not also
Together.If the first contact person position is identical with the current location, can only display current location weather letter
Breath, for example, current location is " Shenzhen ", the first contact person position is also " Shenzhen ", then can only display " Shenzhen "
Weather information.If the first contact person position is with the current location difference, above-mentioned 3 kinds displays can be included
Mode, i.e.,:(1) Weather information of the current location is only shown;(2) weather of the first contact person position is only shown
Information;(3) Weather information of the current location had both been shown, has shown the Weather information of the first contact person position again.
In embodiments of the present invention, the Weather information of current location is obtained;Obtain the weather of the first contact person position
Information;Show the Weather information of the current location and/or the Weather information of the first contact person position;Wherein, institute
Stating Weather information includes positional information and weather data.Realize the effect for the Weather information that diverse location is shown on weather icon
Fruit, so as to meet a variety of demands of user, lift Consumer's Experience.
Embodiment 2:
The embodiment of the present invention is a kind of embodiment of weather icon display methods provided by the invention.If Fig. 2 is the present invention
A kind of schematic flow sheet for weather icon display methods that embodiment provides.A kind of weather icon display side of the embodiment of the present invention
Method is applied to mobile terminal, can be performed by various mobile terminals, such as laptop computer, tablet personal computer, smart mobile phone.
Reference picture 2, methods described includes:
201:Obtain the Weather information of current location.
In embodiments of the present invention, mobile terminal can obtain the Weather information of current location.The Weather information includes
Positional information and weather data, namely positional information and current location of the Weather information including current location of the current location
Weather data.
202:Obtain the Weather information of the first contact person position.
In embodiments of the present invention, mobile terminal can obtain the Weather information of the first contact person position.The day
Gas information includes positional information and weather data, namely the Weather information of the first contact person position includes the first contact
The positional information of people position and the weather data of the first contact person position.The first contact person position of the acquisition
Weather information, including:Obtain not in the Weather information of the first contact person position of current location.If the first contact person
Position is same position, the then Weather information of the first contact person position and the weather of current location letter with current location
Breath is identical, therefore, there is no need to repeat to obtain.The mobile terminal need to be only obtained not in the first contact person institute of current location
Weather information in position.For example, the current location is " Nanshan District, Shenzhen City ", the first contact in " Nanshan District, Shenzhen City "
The Weather information of people is identical with the Weather information of current location, therefore need not obtain, it is only necessary to obtains not in " Shenzhen South Mountain
The Weather information of first contact person in area ".
It is described to obtain not in the Weather information of the first contact person position of current location, including:
(1) positional information of the first contact person pre-set is obtained, by the position of first contact person pre-set
Confidence breath is matched with current location, if matching is unsuccessful, the first contact person institute obtained not in current location is in place
The Weather information put.For example, current location is " Shenzhen ", mobile terminal receives the position letter of the contact person of input first of user
Breath, for example the positional information inputted is " Guangzhou ", and the positional information for inputting the first contact person is matched with current location, by
It is two diverse locations in " Guangzhou " and " Shenzhen ", therefore matching is unsuccessful, then obtains the Weather information in " Guangzhou ".
(2) the first contact person of association is determined by associating communication applications, and by the first of the association
It is that the position of people is matched with current location, if matching is unsuccessful, obtains not in the first contact person institute of current location
Weather information in position.The communications applications can be address list, wechat, QQ, microblogging, mail etc..
The positional information of first contact person pre-set or the first contact person of the association pass through contact
People's telephone number ownership place determines;Or first contact person pre-set or the first contact person of the association
Positional information determined by GPS location service.For example, described in being determined by the contact person in address list and message registration
The first contact person pre-set or the first contact person of the association, it is true by the first contact phone number ownership place
The positional information of fixed first contact person;Pre-set described in can also being determined by the contact person in wechat and chat record
First contact person or the first contact person of the association, the position for determining first contact person by GPS location service are believed
Breath.For example, by the mobile terminal (such as smart mobile phone 1) and first contact person pre-set or the association
The mobile terminal (such as smart mobile phone 2) of first contact person establishes communication connection, and smart mobile phone 2 licenses to smart mobile phone 1, permits
Perhaps the positional information authority where 1 real time access smart mobile phone of smart mobile phone 2.Thus, smart mobile phone 1 can pass through GPS location
Positional information where service acquisition smart mobile phone 2, namely the first contact by being pre-set described in GPS location service determination
People or the positional information of the first contact person of the association.It should be noted that pre-set described in determining first
Be the positional information of people or the first contact person of the association mode include by contact phone number ownership place it is true
Determine or determined by GPS location service, but be not limited to both.In certain embodiments, can also be according to other suitable sides
The first contact person pre-set described in formula determination or the positional information of the first contact person of the association, for example, passing through
The first contact person pre-set described in the determination of user's input position information or the position of the first contact person of the association
Information.
It should also be noted that, first contact person can be the relatives (such as father and mother) of user, it is friend, classmate, same
Thing, business partner etc..Also, first contact person can be multiple.For example, existing relatives have a classmate again, and can be with
It is multiple relatives or multiple classmates.
203:Show the Weather information of the current location and/or the Weather information of the first contact person position.
In embodiments of the present invention, mobile terminal can show the Weather information and/or described first of the current location
The Weather information of contact person position.Wherein, the mobile terminal can show the current location Weather information and/or
The Weather information of the first contact person position includes but is not limited to following several situations:(1) present bit is only shown
The Weather information put;(2) Weather information of the first contact person position is only shown;(3) current location had both been shown
Weather information, show the Weather information of the first contact person position again.
Wherein, the Weather information of the current location had both been shown, has shown the weather of the first contact person position again
Information includes two kinds of situations:1) Weather information of the current location and the Weather information of the first contact person position are same
When show;2) Weather information of the Weather information of the current location and the first contact person position according to it is default when
Sequence is shown.
In embodiments of the present invention, the weather icon display methods also includes:
204:Obtain active user's type and/or the user type of first contact person.
In embodiments of the present invention, the mobile terminal can obtain active user's type and/or first contact person
User type.Active user's type and/or the user type of first contact person can be based on age division, such as
It is divided into:The elderly, a middle-aged person, children;Active user's type and/or the user type of first contact person can be based on
Sex divides, for example is divided into:Male, women.Different user types, the weather data that may be paid close attention to is different, due to weather
Icon has the dimensions limitation, is not easy to weather data being shown on weather icon, therefore can be directed to different use
Family type shows different weather datas.Wherein it is possible to pass through the data acquisition active user type in address list and/or described
The user type of first contact person.For example, pre-set user and/or the user class of first contact person in address list
Type, the user class of active user's type and/or first contact person can be confirmed by obtaining default user type
Type.Or in address list pre-set user and/or first contact person sex and date of birth, it is default by obtaining
The sex and the date of birth can confirm the use of active user's type and/or first contact person by analysis again
Family type.For example, the date of birth for getting first contact person is " on January 1st, 2012 ", current time is " 2017 8
The moon 1 ", it is 5 years old that analysis, which obtains the contact person, then can confirm that corresponding user type is children.
Therefore, the Weather information of the display current location of the step 203 and/or the first contact person institute
Weather information in position, including:
According to active user's type, the Weather information of current position is shown.For example, women may more pay close attention to weather
Ultraviolet index in data, therefore can preferentially show ultraviolet index for the user of women;Male can compare concern
Exercise index in weather data, therefore can preferentially show exercise index for the user of male.
According to the user type of first contact person, the Weather information of display the first contact person position.Example
Such as, during the artificial old man of the first contact, the air quality index in concern weather data can be compared, therefore for user class
Type can preferentially show air quality index for old man's;During the artificial children of the first contact, concern day destiny can be compared
Drcssing index in, therefore can preferentially show drcssing index for user type for children.
In order to which more intelligence quickly be based on user type, display Weather information is described according to active user's type,
The Weather information of current position is shown, and/or, according to the user type of first contact person, display first contact
The Weather information of people position, including:According to active user's type, and default user type and weather data
Corresponding relation, show the Weather information of current position;And/or the user type according to first contact person, and it is default
User type and weather data corresponding relation, show the Weather information of the first contact person position.It is described default
User type and the corresponding relation of weather data can include:Weather data corresponding to old man is air quality index and air
Contamination index;Weather data corresponding to middle age is carwash index and exercise index;Weather data corresponding to children is flu
Index and drcssing index.
It is understood that in certain embodiments, the step 204 in various embodiments, can not be essential
Step, in addition, those of ordinary skill in the art, description according to embodiments of the present invention is appreciated that in different embodiments, institute
Different execution sequences can be had by stating step 201-204.
It should also be noted that, in step 201-204 described in the embodiment of the present invention not detailed description ins and outs, can
With reference to the specific descriptions of above-described embodiment.
In embodiments of the present invention, the Weather information of current location is obtained;Obtain the weather of the first contact person position
Information;Show the Weather information of the current location and/or the Weather information of the first contact person position;Wherein, institute
Stating Weather information includes positional information and weather data;Obtain active user's type and/or the user class of first contact person
Type.The effect for the Weather information that diverse location is shown on weather icon is realized, and it is possible to be based on user type, shows institute
The Weather information of current location and/or the Weather information of the first contact person position are stated, so as to meet that user's is a variety of
Demand, lift Consumer's Experience.
Embodiment 3:
The embodiment of the present invention is a kind of embodiment of weather icon display device provided by the invention.If Fig. 3 is the present invention
A kind of weather icon display device schematic diagram that embodiment provides.Wherein, described device is applied to mobile terminal.
Reference picture 3, described device 30 include:
First acquisition unit 301, for obtaining the Weather information of current location.
In embodiments of the present invention, the first acquisition unit 301 obtains the Weather information of current location.The weather letter
Breath includes positional information and weather data, namely the Weather information of the current location includes the positional information of current location and worked as
The weather data of front position.The first acquisition unit 301 can be believed by the position of GPS location service acquisition current location
Breath, the precision of the positional information can set according to user's request, such as geographical position is in units of city, such as Shenzhen,
Guangzhou and Changsha etc., area, county, town, township, road can also be refined into, or even be to provide specific geographical longitude and latitude;Described
One acquiring unit 301 can obtain the weather data of the current location by network resources such as cloud servers, namely
Weather data corresponding to the current location information, the weather data can be temperature, relative humidity, precipitation, wind-force wind
To, air quality index, index number of price and/or state of weather etc..Wherein, the temperature can be at that time temperature, same day temperature,
The temperature of following a period of time (such as 7 days, 40 days);The index number of price includes:Ultraviolet index, flu index, drcssing index,
Carwash index, exercise index and/or air pollution diffusion index etc.;The state of weather can be fine, cloudy, cloudy, wind,
Rain, mist and/or snow etc..
Second acquisition unit 302, for obtaining the Weather information of the first contact person position.
In embodiments of the present invention, second acquisition unit 302 can obtain the Weather information of the first contact person position.
The Weather information includes positional information and weather data, namely the Weather information of the first contact person position includes the
The positional information of one contact person position and the weather data of the first contact person position.First contact person can be
The relatives (such as father and mother) of user, friend, classmate, colleague, business partner etc..Also, first contact person can be
It is multiple.For example, existing relatives have classmate again, and can be multiple relatives or multiple classmates.
Display unit 303, for the Weather information for showing the current location and/or the first contact person position
Weather information.
In embodiments of the present invention, display unit 303 can show the Weather information and/or described of the current location
The Weather information of one contact person position.Wherein, the display unit 303 show the current location Weather information and/
Or the Weather information of the first contact person position includes but is not limited to following several situations:(1) display unit 303
Only show the Weather information of the current location;(2) display unit 303 shows the first contact person positions
Weather information;(3) display unit 303 had both shown the Weather information of the current location, showed first contact person again
The Weather information of position.
Wherein, the display unit 303 had both shown the Weather information of the current location, showed first contact person again
The Weather information of position includes two kinds of situations:1) Weather information of the current location and first contact person institute are in place
The Weather information put while show;2) Weather information of the current location and the weather of the first contact person position are believed
Breath is shown according to default sequential.
In certain embodiments, the first contact person position and the current location can with it is identical can not also
Together.If the first contact person position is identical with the current location, the display unit 303 only can work as in display
The Weather information of front position.If the first contact person position is with the current location difference, the display unit
303 can include above-mentioned 3 kinds of display modes, i.e.,:(1) Weather information of the current location is only shown;(2) described is only shown
The Weather information of one contact person position;(3) Weather information of the current location had both been shown, has shown first contact again
The Weather information of people position.
In embodiments of the present invention, first acquisition unit 301 obtains the Weather information of current location;Second acquisition unit
302 obtain the Weather information of the first contact person position;Display unit 303 show the current location Weather information and/
Or the Weather information of the first contact person position;Wherein, the Weather information includes positional information and weather data.
It should be noted that in embodiments of the present invention, the executable present invention of the weather icon display device 30 is implemented
The weather icon display methods that example 1 is provided, possess the corresponding functional module of execution method and beneficial effect.Not in weather icon
The ins and outs of detailed description in the embodiment of display device 30, reference can be made to the weather icon that the embodiment of the present invention 1 is provided shows
Show method.
Embodiment 4:
The embodiment of the present invention is a kind of embodiment of weather icon display device provided by the invention.If Fig. 4 is the present invention
A kind of weather icon display device schematic diagram that embodiment provides.Wherein, described device is applied to mobile terminal.
Reference picture 4, described device 40 include:
First acquisition unit 401, for obtaining the Weather information of current location.
In embodiments of the present invention, the first acquisition unit 401 obtains the Weather information of current location.The weather letter
Breath includes positional information and weather data, namely the Weather information of the current location includes the positional information of current location and worked as
The weather data of front position.The first acquisition unit 401 can be believed by the position of GPS location service acquisition current location
Breath, the precision of the positional information can be set according to user's request, such as geographical position can also be refined in units of city
Cheng Qu, county, town, township, road, or even it is to provide specific geographical longitude and latitude;The first acquisition unit 401 can pass through high in the clouds
The network resources such as server obtain the weather data of the current location, namely weather corresponding to the current location information
Data, the weather data can be temperature, relative humidity, precipitation, wind direction, air quality index, index number of price and/
Or state of weather etc..Wherein, the temperature can be temperature, same day temperature, following a period of time at that time (such as 7 days, 40 days)
Temperature;The index number of price includes:Ultraviolet index, flu index, drcssing index, carwash index, exercise index and/or air
Contamination index etc.;The state of weather can be fine, cloudy, cloudy, wind, rain, mist and/or snow etc..
Second acquisition unit 402, for obtaining not in the Weather information of the first contact person position of current location.
In embodiments of the present invention, second acquisition unit 402 can obtain the Weather information of the first contact person position.
The Weather information includes positional information and weather data, namely the Weather information of the first contact person position includes the
The positional information of one contact person position and the weather data of the first contact person position.First contact person can be
The relatives (such as father and mother) of user, friend, classmate, colleague, business partner etc..Also, first contact person can be
It is multiple.For example, existing relatives have classmate again, and can be multiple relatives or multiple classmates.
The second acquisition unit 402 includes:Acquisition module 4020, for obtaining not in the first contact person of current location
The Weather information of position.The acquisition module 4020 includes first processing module 4021 or Second processing module 4022.Institute
State first processing module 4021, for obtaining the positional information of the first contact person pre-set, by it is described pre-set the
The positional information of one contact person is matched with current location, if matching is unsuccessful, is obtained not the first of current location
The Weather information of contact person position;The Second processing module 4022, for determining that application is closed by associating communication applications
First contact person of connection, and the position of the first contact person of the association is matched with current location, if matching
It is unsuccessful, then obtain not in the Weather information of the first contact person position of current location.
The first processing module 4021 or the Second processing module 4022 include:Determining module 4023, for passing through
Contact phone number ownership place, it is determined that first contact person pre-set or the first contact person of the association
Positional information;Or for by GPS location service, it is determined that first contact person pre-set or the association
The first contact person positional information.
It should be noted that the first processing module 4021 or the Second processing module 4022 include determining module
4023, but it is not limited to this determining module.In certain embodiments, the first processing module 4021 or the second processing mould
Block 4022 can also include those skilled in the art and combine other similar modules that the embodiment of the present invention can be realized, the module
Available for the first contact person pre-set described in determination or the positional information of the first contact person of the association, for example,
Position information confirming module be used for by user's input position information determine described in the first contact person for pre-setting or it is described should
With the positional information of the first contact person of association.
Display unit 403, for the Weather information for showing the current location and/or the first contact person position
Weather information.
In embodiments of the present invention, display unit 403 can show the Weather information and/or described of the current location
The Weather information of one contact person position.Wherein, the display unit 403 show the current location Weather information and/
Or the Weather information of the first contact person position includes but is not limited to following several situations:(1) display unit 403
Only show the Weather information of the current location;(2) display unit 403 shows the first contact person positions
Weather information;(3) display unit 403 had both shown the Weather information of the current location, showed first contact person again
The Weather information of position.
Wherein, the display unit 403 had both shown the Weather information of the current location, showed first contact person again
The Weather information of position includes two kinds of situations:1) Weather information of the current location and first contact person institute are in place
The Weather information put while show;2) Weather information of the current location and the weather of the first contact person position are believed
Breath is shown according to default sequential.
In embodiments of the present invention, the weather icon display device also includes:
3rd acquiring unit 404, for obtaining the user type of active user's type and/or first contact person.
In embodiments of the present invention, the 3rd acquiring unit 404 can obtain active user's type and/or described first
The user type of contact person.Active user's type and/or the user type of first contact person can be drawn based on the age
Point, for example be divided into:The elderly, a middle-aged person, children;Active user's type and/or the user type of first contact person
Sex can be based on to divide, for example be divided into:Male, women.Different user types, the weather data that may be paid close attention to is different,
Because weather icon has the dimensions limitation, it is not easy to weather data being shown on weather icon, therefore can be directed to
Different user types shows different weather datas.
Therefore, the display unit 403 includes:
First display module 4031, for according to active user's type, showing the Weather information of current position.Institute
The first display module 4031 is stated to be specifically used for:According to active user's type, and default user type and weather data
Corresponding relation, show the Weather information of current position.And/or
Second display module 4032, for the user type according to first contact person, show first contact person
The Weather information of position.Second display module 4032 is specifically used for:According to the user type of the first contact person, and
The corresponding relation of default user type and weather data, show the Weather information of the first contact person position.
In embodiments of the present invention, first acquisition unit 401 obtains the Weather information of current location;Second acquisition unit
402 obtain the Weather information of the first contact person position;Display unit 403 show the current location Weather information and/
Or the Weather information of the first contact person position;Wherein, the Weather information includes positional information and weather data;The
Three acquiring units 404 obtain active user's type and/or the user type of first contact person;The display unit 403 wraps
Include:First display module 4031, for according to active user's type, showing the Weather information of current position;And/or
Second display module 4032, for the user type according to first contact person, show the first contact person position
Weather information.
It should be noted that in embodiments of the present invention, the executable present invention of the weather icon display device 40 is implemented
The weather icon display methods that example 2 is provided, possess the corresponding functional module of execution method and beneficial effect.Not in weather icon
The ins and outs of detailed description in the embodiment of display device 40, reference can be made to the weather icon that the embodiment of the present invention 2 is provided shows
Show method.
Embodiment 5:
Fig. 5 is mobile terminal hardware architecture diagram provided in an embodiment of the present invention, as shown in figure 5, the mobile terminal
50 include:
One or more processors 501 and memory 502, in Fig. 5 by taking a processor 501 as an example.
Processor 501 can be connected with memory 502 by bus or other modes, to be connected by bus in Fig. 5
Exemplified by.
Memory 502 is used as a kind of non-volatile computer readable storage medium storing program for executing, available for storage non-volatile software journey
Sequence, non-volatile computer executable program and module, as corresponding to the weather icon display methods in the embodiment of the present invention
Programmed instruction/unit (for example, first acquisition unit 401, second acquisition unit 402, display unit 403 shown in accompanying drawing 4 and
3rd acquiring unit 404).Processor 501 by operation be stored in non-volatile software program in memory 502, instruction with
And unit, so as to perform the various function application of mobile terminal and data processing, that is, realize the weather of methods described embodiment
Icon display method.
Memory 502 can include storing program area and storage data field, wherein, storing program area can store operation system
Application program required for system, at least one function;Storage data field, which can store, uses created data according to mobile terminal
Deng.In addition, memory 502 can include high-speed random access memory, nonvolatile memory can also be included, for example, at least
One disk memory, flush memory device or other non-volatile solid state memory parts.In certain embodiments, memory 502
It is optional including network connection to movement can be passed through relative to the remotely located memory of processor 501, these remote memories
Terminal.The embodiment of the network includes but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
One or more of units are stored in the memory 502, when by one or more of processors
501 perform when, perform the weather icon display methods in any means embodiment 1 and/or embodiment 2, for example, perform with
Method and step 201 in Fig. 2 of upper description realizes the function of the unit 401-404 in Fig. 4 to step 204.
The mobile terminal can perform the weather icon display methods that the embodiment of the present invention 1 and/or embodiment 2 are provided,
Possess the corresponding functional module of execution method and beneficial effect.The ins and outs of detailed description not in mobile terminal embodiment,
Reference can be made to the weather icon display methods that the embodiment of the present invention 1 and/or embodiment 2 are provided.
The embodiments of the invention provide a kind of computer program product, the computer program product is non-easy including being stored in
Computer program on the property lost computer-readable recording medium, the computer program includes programmed instruction, when described program refers to
When order is performed by mobile terminal, the mobile terminal is set to perform weather icon display methods as described above.For example, more than performing
Method and step 201 in Fig. 2 of description realizes the function of the unit 401-404 in Fig. 4 to step 204.
The embodiments of the invention provide a kind of non-volatile computer readable storage medium storing program for executing, the computer-readable storage medium
Matter is stored with computer executable instructions, and the computer executable instructions are executed by one or more processors, for example, perform with
Method and step 201 in Fig. 2 of upper description realizes the function of the unit 401-404 in Fig. 4 to step 204.
The mobile terminal of the embodiment of the present application can exist in a variety of forms, include but is not limited to:
(1) mobile communication equipment:This kind equipment is provided with the application such as weather, and can realize that weather icon is shown
Function.This Terminal Type can include:Smart mobile phone, multimedia handset, feature mobile phone etc..
(2) super mobile personal computer equipment:This kind equipment belongs to the category of personal computer, and can be provided with weather should
With.This Terminal Type includes:PDA, MID and UMPC equipment etc..
(3) other have the mobile terminal that weather icon is shown.
It should be noted that device embodiment described above is only schematical, wherein described be used as separation unit
The unit that part illustrates can be or may not be physically separate, can be as the part that unit is shown or also may be used
Not to be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Need select some or all of module therein to realize the purpose of this embodiment scheme.
The description of embodiment more than, those of ordinary skill in the art can be understood that each embodiment can borrow
Software is helped to add the mode of general hardware platform to realize, naturally it is also possible to pass through hardware.Those of ordinary skill in the art can manage
Solution realizes that all or part of flow in the embodiment method is can be by the related hardware of computer program instructions come complete
Into described program can be stored in computer read/write memory medium, and the program is upon execution, it may include such as each method
Embodiment flow.Wherein, described storage medium can be read-only memory (Read-Only Memory, ROM) or
Random access memory (Random Access Memory, RAM) etc..
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;At this
Under the thinking of invention, it can also be combined between the technical characteristic in above example or different embodiments, step can be with
Realized with random order, and many other changes of the different aspect of the present invention as described above be present, for simplicity, they do not have
Have and provided in details;Although the present invention is described in detail with reference to the foregoing embodiments, the ordinary skill people of this area
Member should be understood:It can still modify to the technical scheme described in foregoing embodiments, or to which part skill
Art feature carries out equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from each reality of the present invention
Apply the scope of a technical scheme.
Claims (13)
- A kind of 1. weather icon display methods, applied to mobile terminal, it is characterised in that methods described includes:Obtain the Weather information of current location;Obtain the Weather information of the first contact person position;Show the Weather information of the current location and/or the Weather information of the first contact person position;Wherein, the Weather information includes positional information and weather data.
- 2. according to the method for claim 1, it is characterised in that the weather letter for obtaining the first contact person position Breath, including:Obtain not in the Weather information of the first contact person position of current location.
- 3. according to the method for claim 2, it is characterised in that the acquisition is not where the first contact person in current location The Weather information of position, including:Obtain the positional information of the first contact person pre-set, by the positional information of first contact person pre-set with Current location is matched, if matching is unsuccessful, is obtained not in the weather of the first contact person position of current location Information;OrDetermine the first contact person of association by associating communication applications, and by the position of the first contact person of the association Put and matched with current location, if matching is unsuccessful, obtained not in the first contact person position of current location Weather information.
- 4. according to the method for claim 3, it is characterised in that first contact person pre-set or the application are closed The positional information of first contact person of connection is determined by contact phone number ownership place;Or it is described pre-set first The positional information of contact person or the first contact person of the association are determined by GPS location service.
- 5. according to the method described in claim any one of 1-4, it is characterised in that methods described also includes:Obtain active user's type and/or the user type of first contact person;The Weather information of the display current location and/or the Weather information of the first contact person position, including:According to active user's type, the Weather information of current position is shown;And/orAccording to the user type of first contact person, the Weather information of display the first contact person position.
- 6. according to the method for claim 5, it is characterised in that it is described according to active user's type, show current The Weather information of position, and/or, according to the user type of first contact person, show the first contact person position Weather information, including:According to active user's type, and the corresponding relation of default user type and weather data, current position is shown The Weather information put;And/orAccording to the user type of first contact person, and the corresponding relation of default user type and weather data, display The Weather information of the first contact person position.
- A kind of 7. weather icon display device, applied to mobile terminal, it is characterised in that described device includes:First acquisition unit, for obtaining the Weather information of current location;Second acquisition unit, for obtaining the Weather information of the first contact person position;Display unit, for showing the Weather information of the current location and/or the weather of the first contact person position Information;Wherein, the Weather information includes positional information and weather data.
- 8. device according to claim 7, it is characterised in that the second acquisition unit includes:Acquisition module, for obtaining not in the Weather information of the first contact person position of current location.
- 9. device according to claim 8, it is characterised in that the acquisition module includes:First processing module, for obtaining the positional information of the first contact person pre-set, by it is described pre-set first The positional information of contact person is matched with current location, if matching is unsuccessful, is obtained not the first of current location It is the Weather information of people position;OrSecond processing module, closed for determining the first contact person of association by associating communication applications, and by the application The position of the first contact person of connection is matched with current location, if matching is unsuccessful, is obtained not the of current location The Weather information of one contact person position.
- 10. device according to claim 9, it is characterised in that the first processing module or the Second processing module Including:Determining module, for by contact phone number ownership place, it is determined that first contact person or described pre-set The positional information of first contact person of association;Or for by GPS location service, it is determined that it is described pre-set One contact person or the positional information of the first contact person of the association.
- 11. according to the device described in claim any one of 7-10, it is characterised in that described device also includes:3rd acquiring unit, for obtaining the user type of active user's type and/or first contact person;The display unit includes:First display module, for according to active user's type, showing the Weather information of current position;And/orSecond display module, for the user type according to first contact person, show the first contact person position Weather information.
- 12. device according to claim 11, it is characterised in that first display module is specifically used for:According to described Active user's type, and the corresponding relation of default user type and weather data, show the Weather information of current position; And/orSecond display module is specifically used for:According to the user type of first contact person, and default user type With the corresponding relation of weather data, the Weather information of display the first contact person position.
- A kind of 13. mobile terminal, it is characterised in that including:At least one processor;AndThe memory being connected with least one processor communication;Wherein,The memory storage has can be by the instruction of at least one computing device, and the instruction is by least one place Manage device to perform, so that at least one processor is able to carry out the method described in any one of claim 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710667344.1A CN107454261A (en) | 2017-08-07 | 2017-08-07 | A kind of weather icon display methods, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710667344.1A CN107454261A (en) | 2017-08-07 | 2017-08-07 | A kind of weather icon display methods, device and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107454261A true CN107454261A (en) | 2017-12-08 |
Family
ID=60489490
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710667344.1A Pending CN107454261A (en) | 2017-08-07 | 2017-08-07 | A kind of weather icon display methods, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107454261A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108984636A (en) * | 2018-06-21 | 2018-12-11 | 上海二三四五网络科技有限公司 | A kind of control method and control device of automatic acquisition Weather information |
CN109062968A (en) * | 2018-06-28 | 2018-12-21 | 努比亚技术有限公司 | Weather information acquisition methods and terminal |
CN110780954A (en) * | 2019-09-03 | 2020-02-11 | 腾讯科技(深圳)有限公司 | Virtual article sending method and device |
CN111159584A (en) * | 2020-01-02 | 2020-05-15 | 上海掌门科技有限公司 | Method, device and computer readable medium for displaying weather information |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101945325A (en) * | 2010-08-13 | 2011-01-12 | 厦门雅迅网络股份有限公司 | Base station positioning-based friend perception method |
CN102033860A (en) * | 2010-12-15 | 2011-04-27 | 东莞宇龙通信科技有限公司 | Method and terminal for displaying weather application icon |
CN105657178A (en) * | 2016-02-19 | 2016-06-08 | 珠海市魅族科技有限公司 | Method and mobile terminal for displaying weather information |
CN105872967A (en) * | 2016-03-31 | 2016-08-17 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for reminding weather information |
CN105975522A (en) * | 2016-04-29 | 2016-09-28 | 清华大学深圳研究生院 | Multi-field content recommendation method and server |
-
2017
- 2017-08-07 CN CN201710667344.1A patent/CN107454261A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101945325A (en) * | 2010-08-13 | 2011-01-12 | 厦门雅迅网络股份有限公司 | Base station positioning-based friend perception method |
CN102033860A (en) * | 2010-12-15 | 2011-04-27 | 东莞宇龙通信科技有限公司 | Method and terminal for displaying weather application icon |
CN105657178A (en) * | 2016-02-19 | 2016-06-08 | 珠海市魅族科技有限公司 | Method and mobile terminal for displaying weather information |
CN105872967A (en) * | 2016-03-31 | 2016-08-17 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for reminding weather information |
CN105975522A (en) * | 2016-04-29 | 2016-09-28 | 清华大学深圳研究生院 | Multi-field content recommendation method and server |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108984636A (en) * | 2018-06-21 | 2018-12-11 | 上海二三四五网络科技有限公司 | A kind of control method and control device of automatic acquisition Weather information |
CN109062968A (en) * | 2018-06-28 | 2018-12-21 | 努比亚技术有限公司 | Weather information acquisition methods and terminal |
CN110780954A (en) * | 2019-09-03 | 2020-02-11 | 腾讯科技(深圳)有限公司 | Virtual article sending method and device |
CN110780954B (en) * | 2019-09-03 | 2022-02-18 | 腾讯科技(深圳)有限公司 | Virtual article sending method and device |
CN111159584A (en) * | 2020-01-02 | 2020-05-15 | 上海掌门科技有限公司 | Method, device and computer readable medium for displaying weather information |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107454261A (en) | A kind of weather icon display methods, device and mobile terminal | |
US11193786B2 (en) | System and method for determining location | |
CN110442813B (en) | Travel commemorative information processing system and method based on AR | |
US20130304658A1 (en) | Inferring user profile attributes from social information | |
CN103905976A (en) | Social network user searching method, terminal, server and system | |
CN111367575B (en) | User behavior prediction method and device, electronic equipment and storage medium | |
EP2894883A1 (en) | Methods and systems for content consumption | |
CN111522838A (en) | Address similarity calculation method and related device | |
US20190019230A1 (en) | System and method for presenting community emotive data geographically on a social mapping network | |
US10866977B2 (en) | Determining viewer language affinity for multi-lingual content in social network feeds | |
CN103533169A (en) | Method for positioning and linking field of electronic business card based on mobile terminal | |
US10757217B2 (en) | Determining viewer affinity for articles in a heterogeneous content feed | |
CN110168588A (en) | Document is identified based on position, use pattern and content | |
EP3246891A1 (en) | Device and method for notification of estimated arrival time on electronic ticket | |
CN103825957A (en) | Design and realization method of mobile phone and other mobile learning systems based on cloud computing | |
CN104580096A (en) | Method, device and terminal equipment for multimedia processing | |
CN111737374B (en) | Position coordinate determination method, device, electronic equipment and storage medium | |
CN111125272B (en) | Regional characteristic acquisition method, regional characteristic acquisition device, computer equipment and medium | |
CN112418442A (en) | Data processing method, device, equipment and storage medium for federal transfer learning | |
CN107026885A (en) | Information-pushing method and device | |
US20140108961A1 (en) | System and method for establishing cultural connections within an online computer system social media platform | |
Feierherd et al. | Combining artificial intelligence services for the recognition of flora photographs: Uses in augmented reality and tourism | |
US20230252183A1 (en) | Information processing apparatus, information processing method, and computer program | |
CN113115200B (en) | User relationship identification method and device and computing equipment | |
Yousfi et al. | Discovering commute patterns via process mining |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171208 |