CN105302411B - Display method of weather information, terminal and server - Google Patents
Display method of weather information, terminal and server Download PDFInfo
- Publication number
- CN105302411B CN105302411B CN201410373129.7A CN201410373129A CN105302411B CN 105302411 B CN105302411 B CN 105302411B CN 201410373129 A CN201410373129 A CN 201410373129A CN 105302411 B CN105302411 B CN 105302411B
- Authority
- CN
- China
- Prior art keywords
- weather information
- photo
- information
- weather
- picture
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The invention discloses a kind of display method of weather information, terminal and servers, belong to technical field of information processing.Method includes: to obtain the location data of terminal present position;It determines to picture mosaic photo and to the puzzle template of picture mosaic photo;Weather information acquisition request is sent, Weather information acquisition request includes at least the identification information of location data and puzzle template;Weather information corresponding with location data and identification information is received, is shown on puzzle template by Weather information and to picture mosaic photo, picture Weather information and textual weather information are included at least in Weather information.Due to for same weather conditions, different puzzle templates can the different Weather information of Show Styles, so this kind of Weather information display mode more diversity, adds interest;And further includes picture Weather information, so this kind of display mode is more fine, can meet the needs of user obtains detailed Weather information not only including textual weather information in Weather information.
Description
Technical field
The present invention relates to technical field of information processing, in particular to a kind of display method of weather information, terminal and server.
Background technique
With the rapid development of information technology, picture mosaic class applies the function having stronger and stronger.Using picture mosaic class application,
Multiple photos can be not only shown in a picture mosaic, can show the Weather information in user location, in picture mosaic also to increase interest
Taste.And then enhance user experience.
In the prior art, terminal calls URL (Uniform Resource Locator, the unified money of open weather service
Source finger URL), the weather data packet in user location is obtained from network, later by carrying out XML to weather data packet
(Extensible Markup Language, extensible markup language) parsing or json (JavaScript Object
Notation, JavaScript object notation) parsing, obtain the Weather information in user location.Wherein, it is wrapped in the Weather information
Include the textual weathers data such as temperature value, humidity value, wind-force value.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
When due to carrying out Weather information display in picture mosaic, only display text weather data, so this kind of display mode compared with
For coarseness, not enough finely, shown information is unable to satisfy demand of the user to detailed Weather information is obtained.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of display method of weather information, terminal and
Server.The technical solution is as follows:
In a first aspect, providing a kind of display method of weather information, which comprises
Obtain the location data of terminal present position;
It determines to picture mosaic photo and the puzzle template to picture mosaic photo;
Weather information acquisition request is sent, the Weather information acquisition request includes at least the location data and the spelling
The identification information of artwork plate;
Corresponding with the location data and identification information Weather information is received, by the Weather information and described
It is shown on the puzzle template to picture mosaic photo, picture Weather information and text day is included at least in the Weather information
Gas information.
Second aspect provides a kind of display method of weather information, which comprises
The Weather information acquisition request that terminal is sent is received, includes at least location data in the Weather information acquisition request
It is identified with puzzle template;
Weather information corresponding with the Weather information acquisition request, the weather letter are obtained in the Weather information of storage
Picture Weather information and textual weather information are included at least in breath;
The Weather information is sent to the terminal, so that the terminal is after receiving the Weather information, by institute
Weather information is stated to be shown on puzzle template.
The third aspect, provides a kind of terminal, and the terminal includes:
Location data obtains module, for obtaining the location data of terminal present position;
Picture mosaic resource determination module, for determining to picture mosaic photo and the puzzle template to picture mosaic photo;
Request sending module, for sending Weather information acquisition request, the Weather information acquisition request includes at least institute
State the identification information of location data and the puzzle template;
Weather information receiving module, for receiving weather letter corresponding with the location data and the identification information
Breath;
Display module, for by the Weather information and it is described shown on the puzzle template to picture mosaic photo,
Picture Weather information and textual weather information are included at least in the Weather information.
Fourth aspect, provides a kind of server, and the server includes:
Request receiving module, for receiving the Weather information acquisition request of terminal transmission, the Weather information acquisition request
In include at least location data and puzzle template and identify;
Weather information obtains module, corresponding with the Weather information acquisition request for obtaining in the Weather information of storage
Weather information, picture Weather information and textual weather information are included at least in the Weather information;
Weather information sending module, for the Weather information to be sent to the terminal, so that the terminal is receiving
To after the Weather information, the Weather information is shown on puzzle template.
Technical solution provided in an embodiment of the present invention has the benefit that
Terminal sends to server and wraps after obtaining the identification information of location data and puzzle template of present position
The Weather information acquisition request of location data and identification information is included, to be obtained and the location data and identification information by server
Corresponding Weather information, and include textual weather information and picture Weather information in the Weather information;Later, terminal will be determining
It is shown in puzzle template to picture mosaic photo and Weather information, due to for same weather conditions, different puzzle templates
Can the different Weather information of Show Styles, so this kind of Weather information display mode more diversity, adds interest;And day
Include not only textual weather information in gas information, further includes picture Weather information, so this kind of display mode is more fine, user
The information content learnt is larger, and shown information can meet the needs of user obtains detailed Weather information.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of system architecture signal of the implementation environment of display method of weather information provided in an embodiment of the present invention
Figure;
Fig. 2 is a kind of display method of weather information flow chart provided in an embodiment of the present invention;
Fig. 3 is a kind of display method of weather information flow chart provided in an embodiment of the present invention;
Fig. 4 is a kind of display method of weather information flow chart provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of puzzle template provided in an embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of terminal display interface provided in an embodiment of the present invention;
Fig. 7 is a kind of schematic diagram of terminal display interface provided in an embodiment of the present invention;
Fig. 8 is a kind of schematic diagram of terminal display interface provided in an embodiment of the present invention;
Fig. 9 is a kind of schematic diagram of terminal display interface provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Figure 11 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
The embodiment of the invention provides a kind of display method of weather information.Referring to Fig. 1, it illustrates the embodiment of the present invention to mention
The structural schematic diagram of implementation environment involved in the display method of weather information of confession.The implementation environment includes terminal and server.
Wherein, terminal can be mobile terminal, such as smart phone, tablet computer etc.;It can also be fixed terminal, such as a
People's computer, the embodiment of the present invention is to the type of terminal without specifically limiting.Terminal, is mainly used for obtaining it and is currently located position
The location data set determines to picture mosaic photo and to the puzzle template of picture mosaic photo, sends Weather information to server and obtain
Request, the Weather information acquisition request include at least the identification information of location data and puzzle template;Receive and location data with
And the corresponding Weather information of identification information, it is shown on puzzle template by Weather information and to picture mosaic photo, weather letter
Picture Weather information and textual weather information are included at least in breath.
Weather information database is stored in server, for receiving the Weather information acquisition request of terminal transmission, weather
Location data is included at least in information acquisition request and puzzle template identifies;Acquisition and Weather information in the Weather information of storage
The corresponding Weather information of acquisition request;Weather information is sent to terminal.
Fig. 2 is the method flow diagram that a kind of Weather information provided in an embodiment of the present invention is shown.This method is executed with terminal
Angle for, referring to fig. 2, method flow provided in an embodiment of the present invention includes:
201, the location data of terminal present position is obtained.
202, it determines to picture mosaic photo and to the puzzle template of picture mosaic photo.
203, Weather information acquisition request is sent, Weather information acquisition request includes at least location data and puzzle template
Identification information.
204, Weather information corresponding with location data and identification information is received, is existed by Weather information and to picture mosaic photo
It is shown on puzzle template, picture Weather information and textual weather information is included at least in Weather information.
Method provided in an embodiment of the present invention, mark of the terminal in the location data and puzzle template for obtaining present position
After knowing information, the Weather information acquisition request including location data and identification information is sent to server, to be obtained by server
Weather information corresponding with the location data and identification information is taken, and includes textual weather information and picture day in the Weather information
Gas information;Later, terminal is shown determining in puzzle template to picture mosaic photo and Weather information, due to for same
Weather conditions, different puzzle templates can the different Weather information of Show Styles, so this kind of Weather information display mode is more
Diversity adds interest;It further include picture Weather information and not only including textual weather information in Weather information, so
This kind of display mode is more fine, and the information content that user learns is larger, and shown information can meet user and obtain detailed day
The demand of gas information.
Optionally it is determined that picture mosaic photo and puzzle template, comprising:
During the display of the puzzle template page, when detecting user's clicking operation, user's click location will be located at
Puzzle template is determined as the puzzle template to picture mosaic photo;
It is when detecting user's clicking operation, the photo for being located at user's click location is true during the display of the photo page
It is set to picture mosaic photo.
Optionally, it is shown on puzzle template by Weather information and to picture mosaic photo, comprising:
Display is to picture mosaic photo in multiple photo display areas of puzzle template;Weather information is removed on puzzle template
Region except photo display area is shown;Or,
Display is to picture mosaic photo in multiple photo display areas of puzzle template;By Weather information in photo display area
In shown with being superimposed upon to the mode on picture mosaic photo.
Optionally, before display is to picture mosaic photo in multiple photo display areas of puzzle template, this method further include:
Picture mosaic photo is waited for for each, is instructed depending on the user's operation, to the correspondence photo display area of puzzle template
In image-region be adjusted, image-region adjusted is shown in corresponding photographic region.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer
It repeats one by one.
Fig. 3 is the method flow diagram that a kind of Weather information provided in an embodiment of the present invention is shown.The party is executed with server
For the angle of method, referring to Fig. 3, method flow provided in an embodiment of the present invention includes:
301, the Weather information acquisition request that terminal is sent is received, includes at least location data in Weather information acquisition request
It is identified with puzzle template.
302, Weather information corresponding with Weather information acquisition request, the Weather information are obtained in the Weather information of storage
In include at least picture Weather information and textual weather information.
303, Weather information is sent to terminal, so that terminal is after receiving Weather information, by Weather information in picture mosaic
It is shown in template.
Method provided in an embodiment of the present invention, mark of the terminal in the location data and puzzle template for obtaining present position
After knowing information, the Weather information acquisition request including location data and identification information is sent to server, to be obtained by server
Weather information corresponding with the location data and identification information is taken, and includes textual weather information and picture day in the Weather information
Gas information;Later, terminal is shown determining in puzzle template to picture mosaic photo and Weather information, due to for same
Weather conditions, different puzzle templates can the different Weather information of Show Styles, so this kind of Weather information display mode is more
Diversity adds interest;It further include picture Weather information and not only including textual weather information in Weather information, so
This kind of display mode is more fine, and the information content that user learns is larger, and shown information can meet user and obtain detailed day
The demand of gas information.
Optionally, Weather information corresponding with Weather information acquisition request is obtained in the Weather information of storage, comprising:
According to location data and identification information, obtained and location data and identification information in the textual weather information of storage
The textual weather information to match;
According to the textual weather information of storage, the corresponding relationship of identification information and picture Weather information, in the picture of storage
Picture Weather information corresponding with textual weather information and identification information is searched in Weather information;
Textual weather information and picture Weather information are determined as Weather information corresponding with Weather information acquisition request.
Optionally, weather characteristics numerical value and user reminding information are included at least in textual weather information.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer
It repeats one by one.
Fig. 4 is the method flow diagram that a kind of Weather information provided in an embodiment of the present invention is shown.Interaction agent be terminal and
Server, referring to fig. 4, method flow provided in an embodiment of the present invention includes:
401, terminal obtains the location data of present position.
Wherein, location data refers to the longitude data and latitude data of terminal.Certain location data is in addition to above-mentioned form, also
It can be other forms, for example, the geographical location information (city the * * street * * * * cell) of written form, the embodiment of the present invention does not make this
It is specific to limit.The embodiment of the present invention is only illustrated so that location data is longitude data and latitude data as an example.
Terminal can specifically be realized when obtaining the location data of present position by following methods:
By being built in the capture of terminal's signal reception machine by certain selected satellite to be measured of satellite angle of cut-off, and to this
The operating condition of a little satellites is tracked.After signal receiver captures the satellite-signal of tracking satellite transmitting, according to capture
To satellite-signal can measure receiving antenna to the pseudo-distance of satellite and the change rate of distance, and then according to the puppet measured
The change rate of distance and distance demodulates the data such as satellite orbit parameter.Later, the micro process computer in signal receiver is just
Location Calculation can be carried out by positioning calculation method, finally obtains the warp of terminal present position according to data such as satellite orbits
Degree evidence and latitude data.
Certainly, outside the mode for the location data that terminal takes the above method to obtain present position, other can also be taken
Mode obtains the mode of location data, and the present invention is not especially limit this.
402, terminal is determined to picture mosaic photo and to the puzzle template of picture mosaic photo.
Referring to Fig. 5, multiple photo display areas are generally comprised in puzzle template, thus for a puzzle template its
It can show multiple photos, can not only reduce the occupied space when display of photo single width, also can reach the effect beautified to photo
Fruit.
In embodiments of the present invention, terminal is being determined when picture mosaic photo and when the puzzle template of picture mosaic photo, specifically
It may be implemented in the following manner:
During the display of the puzzle template page, when detecting user's clicking operation, user's click location will be located at
Puzzle template is determined as the puzzle template to picture mosaic photo;
It is when detecting user's clicking operation, the photo for being located at user's click location is true during the display of the photo page
It is set to picture mosaic photo.
Wherein, include multiple puzzle templates in the puzzle template page, browse multiple puzzle templates in user and click a certain
After puzzle template, which is directly determined as to the puzzle template to picture mosaic photo.Since terminal is in the puzzle template page
When showing puzzle template, it can be shown according to certain rule and sequence, i.e., each puzzle template is in the puzzle template page
In correspond to a fixed display location, so after user executes clicking operation, according to the click location of user and each
The display location of a puzzle template can determine which puzzle template user has chosen actually.
Referring to Fig. 6, after user has chosen puzzle template, terminal can pull the photo of itself storage, and from puzzle template
The page enters the photo page.Wherein, multiple photos can be shown in the photo page in the form of ranks, when user executes sliding behaviour
When making, the photo in the photo page will be shown in the form of rolling, in order to which user chooses its favorite photo.Due to each
A photo corresponds to a display location, so when the corresponding display location of a certain photo is there are when clicking operation, then directly
The photo is determined as to picture mosaic photo.Later, which will be shown on the photo page in a manner of shown in Fig. 7 choose.
Certainly, in addition to above-mentioned acquisition determines puzzle template and mode to picture mosaic photo, other modes, this hair can also be taken
Bright embodiment is not especially limited this.
403, terminal to server sends Weather information acquisition request, which includes at least positioning number
According to the identification information with puzzle template.
In embodiments of the present invention, each puzzle template is corresponded to by an identification information.Wherein, which has
Body can be a character string, which can be made of pure character, can also be made of pure digi-tal, can also be mixed by character and number
Composition, the embodiment of the present invention are not especially limited the form of identification information, it is only necessary to guarantee the mark letter of each puzzle template
Breath is different.Terminal can load multiple puzzle templates when showing the puzzle template page, the meeting when loading multiple puzzle templates
Automatically the identification information of puzzle template is also loaded.So when determining the terminal after puzzle template of picture mosaic photo
Automatically the identification information of the puzzle template is got.
Terminal can take wire communication by built-in communication module when sending Weather information acquisition request to server
Or the mode of wireless communication is sent, specifically taking which kind of mode, the present invention is not especially limit this.In addition, being
Speeding up data transmission speed and the occupancy for reducing site resource can also obtain weather after information request carry out packing processing,
It is sent again.Certainly, Weather information acquisition request can also be directly transmitted, the embodiment of the present invention does not limit this specifically equally
It is fixed.
404, server obtains in the Weather information of storage after the Weather information acquisition request for receiving terminal transmission
Weather information corresponding with Weather information acquisition request, picture Weather information is included at least in the Weather information and textual weather is believed
Breath.
In embodiments of the present invention, Weather information has been stored in advance in server.The Weather information includes text weather letter
Breath and picture Weather information.Wherein, weather characteristics numerical value and user reminding information are included at least in literal weather.Weather is special
It levies numerical value and refers to wind-force numerical value, temperature value, humidity etc.;User reminding information refers to the prompt information of some hommizations.
For example, corresponding user reminding information can be " vast clear sky is the inning gone on a tour " when fine day;It is corresponding when rainy
User reminding information can be " a run of wet weather, it should full full to sleep ".It should be noted that clothes provided in an embodiment of the present invention
Device of being engaged in is provided with weather lookup service, can obtain the weather characteristics numerical value on the day of various regions, and by the longitude and latitude data and day of various regions
Gas character numerical value is stored.And user reminding information can be configured and be stored in advance by server.Picture Weather information refers to
The small icon for representing sign weather, for example, the corresponding sun icon of fine day, rainy day corresponding raindrop icon.Picture Weather information
It is configured and is stored in advance by server.Wherein, textual weather information and picture Weather information can be stored in server
In the storage mediums such as flash memory or hard disk, the embodiment of the present invention is to the type of storage medium without specifically limiting.
Wherein, when obtaining Weather information corresponding with Weather information acquisition request in the Weather information of storage, specifically may be used
Following methods are taken to realize:
The first step, according to location data and identification information, obtained in the textual weather information of storage with location data and
The textual weather information that identification information matches.
In embodiments of the present invention, server, can be according to the longitude and latitude of various regions after getting the weather characteristics numerical value of various regions
Degree is according to the corresponding relationship for generating longitude and latitude data and weather characteristics value.Later, the Weather information that server is sent according to terminal
The location data for including in acquisition request is inquired the corresponding relationship of longitude and latitude data and weather characteristics value, is obtained and location data
The Weather information to match.For example, the longitude and latitude data of Beijing area are located at 39 degree 26 points to 41 degree 03 point of north latitude, east longitude
115 degree 25 points to 117 degree 30 points, if then the longitude and latitude numerical value of location data is located within the scope of this, the location data is corresponding
Weather characteristics numerical value is just the current weather characteristics numerical value in Beijing area.Wherein, weather characteristics numerical value can be shaped like " fine, 27 DEG C, north
Wind level-one, humidity 40%, air quality are excellent " this printed words.
In addition, also needing after determining weather characteristics numerical value according to location data according to weather characteristics numerical value and puzzle template
Identification information obtain corresponding user reminding information.Wherein, weather characteristics numerical value, picture mosaic mould can be stored in advance in the server
The identification information of plate and the mapping table of user reminding information.Mapping table shaped like form shown in following table 1.
Table 1
Due to storing all mapping tables as shown in Table 1 in server, so obtaining weather according to location data
After character numerical value, according to the identification information of the weather characteristics numerical value and puzzle template, the mapping table is inquired, can be obtained pair
The textual weather information answered.
Second step, according to the textual weather information of storage, the corresponding relationship of identification information and picture Weather information, storing
Picture Weather information in search corresponding with textual weather information and identification information picture Weather information.
In embodiments of the present invention, it can also be stored except corresponding relationship off-balancesheet shown in storage table 1 such as 2 institute of table in server
The mapping table of the textual weather information, identification information and picture Weather information shown.
Table 2
Due to storing all mapping tables as shown in Table 2 in server, so obtaining weather according to location data
After character numerical value, according to the identification information of the weather characteristics numerical value and puzzle template, the mapping table is inquired, can be obtained pair
The picture Weather information answered.
Textual weather information and picture Weather information are determined as weather corresponding with Weather information acquisition request by third step
Information.
After obtaining textual weather information and picture Weather information according to the first step and second step, the two is combined,
It can obtain the corresponding Weather information of location data.It is " fine, 27 DEG C, north with the corresponding textual weather information of a certain location data
Wind level-one, humidity 40%, air quality are excellent ", " weather is very good, there is a good mood ", corresponding picture Weather information is
For, then the corresponding weather of the location data can be combined to "Fine, 27 DEG C, north wind level-one, humidity 40%, air quality
It is excellent;Weather is very good, there is a good mood ".
405, the Weather information is sent to terminal by server.
In embodiments of the present invention, server is when being sent to terminal for Weather information, can take by Weather information not into
Row is packaged the mode for handling and directly transmitting, and can also take and carry out Weather information to be packaged processing and then send packaged data
Sending method, which kind of sending method specifically taken, the present invention is not especially limit this, visual concrete condition and
It is fixed.
406, terminal is shown on puzzle template after receiving the Weather information by the Weather information and to picture mosaic photo
Show.
In embodiments of the present invention, terminal can take following two ways to show weather letter after receiving Weather information
It ceases and to picture mosaic photo.
First way is shown in multiple photo display areas of puzzle template to picture mosaic photo;Weather information is existed
Region on puzzle template in addition to photo display area is shown.
Wherein, usually there is at least two photo display boxes namely photo display area in puzzle template.It is determining wait spell
After figure photo, terminal can the size according to the sequencing selected to picture mosaic photo or to picture mosaic photo will be shone to picture mosaic
Piece is shown in the correspondence photo display area in puzzle template.For example, by size it is big shown to picture mosaic photo it is larger in region
Photo display area in, and shown in the lesser photo display area in region to picture mosaic photo by size is small.Alternatively, pre-
First each photo display area in puzzle template is numbered, by elder generation selected to picture mosaic photo show number it is small
In photo display area, by it is rear selected shown in numbering big photo display area to picture mosaic photo.
In addition, being limited to the size limitation of each photo display area in puzzle template, photo display area is only shown sometimes
Show the partial region to picture mosaic photo, for example, default is shown in photo viewing area with the image of the geometric center to picture mosaic photo
The center in domain.It is possible to can there are problems that showing the key images part to picture mosaic photo in this way.For this purpose, this hair
Bright embodiment additionally provides a kind of method adjusted in photo display area to the display image portion of picture mosaic photo point, detailed process
It is as follows:
Picture mosaic photo is waited for for each, is instructed depending on the user's operation, to the correspondence photo display area of puzzle template
In image-region be adjusted, image-region adjusted is shown in the corresponding photographic region.
Wherein, it when being adjusted to the image-region being shown in photo display area, can be grasped according to the sliding of user
It is adjusted, when user terminates slide, the image section in photo display area will can be shown at this time as most
The picture mosaic photo shown eventually.
And when showing Weather information, Weather information can be superimposed upon to the area in puzzle template in addition to photo display area
On domain.The region can be the region that terminal is arbitrarily chosen, and can also be specified region.It is added to the picture mosaic of photo and Weather information
Template can be as shown in Figure 8.
The second way is shown in multiple photo display areas of puzzle template to picture mosaic photo;Weather information is existed
It is shown with being superimposed upon to the mode on picture mosaic photo in photo display area.
For the second way, show that the mode to picture mosaic photo is consistent with the above method, details are not described herein again.
And when showing Weather information, carried out on the photo display area that Weather information can be superimposed upon in puzzle template
Display.Due to including multiple photo display areas in puzzle template, so Weather information can be superimposed when superposition Weather information
On any photo display area.Certainly, the Weather information being superimposed in order to prevent influences the display effect of picture mosaic photo, can also incite somebody to action
Weather information is superimposed upon in the maximum photo display area in region or photo is shown in the less photo display area of details, tool
Body takes the mode of which kind of superposition Weather information, and the present invention is not especially limit this.It is added to photo and weather letter
The puzzle template of breath can be as shown in Figure 9.
It should be noted that by the Weather information and when picture mosaic photo when being shown on puzzle template, in addition to adopting
It takes outside above two display mode, can also take other display modes, the present invention is not especially limit this.
Method provided in an embodiment of the present invention, mark of the terminal in the location data and puzzle template for obtaining present position
After knowing information, the Weather information acquisition request including location data and identification information is sent to server, to be obtained by server
Weather information corresponding with the location data and identification information is taken, and includes textual weather information and picture day in the Weather information
Gas information;Later, terminal is shown determining in puzzle template to picture mosaic photo and Weather information, due to for same
Weather conditions, different puzzle templates can the different Weather information of Show Styles, so this kind of Weather information display mode is more
Diversity adds interest;It further include picture Weather information and not only including textual weather information in Weather information, so
This kind of display mode is more fine, and the information content that user learns is larger, and shown information can meet user and obtain detailed day
The demand of gas information.
Figure 10 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.Referring to Figure 10, which includes: positioning
Data acquisition module 1001, picture mosaic resource determination module 1002, request sending module 1003, Weather information receiving module 1004,
Display module 1005.
Wherein, location data obtains module 1001, for obtaining the location data of terminal present position;Picture mosaic resource
Determining module 1002 obtains module 1001 with location data and connect, for determining to picture mosaic photo and to the picture mosaic of picture mosaic photo
Template;Request sending module 1002 is connect with picture mosaic resource determination module 1002, for sending Weather information acquisition request, weather
Information acquisition request includes at least the identification information of location data and puzzle template;Weather information receiving module 1004 and request are sent out
Module 1003 is sent to connect, for receiving Weather information corresponding with location data and identification information;Display module 1005 and day
Gas information receiving module 1004 connects, for being shown on puzzle template by Weather information and to picture mosaic photo, weather letter
Picture Weather information and textual weather information are included at least in breath.
Optionally, picture mosaic resource determination module, for the puzzle template page display during, when detect user click
When operation, the puzzle template for being located at user's click location is determined as the puzzle template to picture mosaic photo;It is shown in the photo page
In the process, when detecting user's clicking operation, the photo for being located at user's click location is determined as to picture mosaic photo.
Optionally, display module, for showing in multiple photo display areas of puzzle template to picture mosaic photo;By day
Region of the gas information on puzzle template in addition to photo display area is shown;Or, multiple photos in puzzle template are aobvious
Show that display is to picture mosaic photo in region;By Weather information be superimposed upon in photo display area to the mode on picture mosaic photo into
Row display.
Optionally, the terminal further include:
Image-region adjustment module instructs, for waiting for picture mosaic photo for each to picture mosaic mould depending on the user's operation
Image-region in the correspondence photo display area of plate is adjusted, and image-region adjusted is shown in corresponding photographic region
In.
Terminal provided in an embodiment of the present invention, in the mark letter for the location data and puzzle template for obtaining present position
After breath, to server send include location data and identification information Weather information acquisition request, thus by server obtain with
The location data and the corresponding Weather information of identification information, and include that textual weather information and picture weather are believed in the Weather information
Breath;Later, terminal is shown determining in puzzle template to picture mosaic photo and Weather information, due to for same weather
Situation, different puzzle templates can the different Weather information of Show Styles, so this kind of Weather information display mode is more various
Property, add interest;It further include picture Weather information, so this kind and not only including textual weather information in Weather information
Display mode is more fine, and the information content that user learns is larger, and shown information can meet user and obtain detailed weather letter
The demand of breath.
Figure 11 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.Referring to Figure 11, which includes:
Request receiving module 1101, Weather information obtain module 1102, Weather information sending module 1103.
Wherein, request receiving module 1101, for receiving the Weather information acquisition request of terminal transmission, Weather information is obtained
Location data is included at least in request and puzzle template identifies;
Weather information obtains module 1102 and connect with request receiving module 1101, for obtaining in the Weather information of storage
Weather information corresponding with Weather information acquisition request, picture Weather information is included at least in Weather information and textual weather is believed
Breath;
Weather information sending module 1103 obtains module 1102 with Weather information and connect, for Weather information to be sent to end
End, so that terminal is shown on puzzle template after receiving Weather information, by Weather information.
Optionally, Weather information obtains module, for being believed in the textual weather of storage according to location data and identification information
The textual weather information to match with location data and identification information is obtained in breath;According to the textual weather information of storage, mark
The corresponding relationship of information and picture Weather information is searched in the picture Weather information of storage and is believed with textual weather information and mark
The corresponding picture Weather information of manner of breathing;Textual weather information and picture Weather information are determined as and Weather information acquisition request pair
The Weather information answered.
Optionally, weather characteristics numerical value and user reminding information are included at least in textual weather information.
Server provided in an embodiment of the present invention obtains the location data and puzzle template of present position in terminal
After identification information, the Weather information acquisition request including location data and identification information is sent to server, thus by server
Weather information corresponding with the location data and identification information is obtained, and includes textual weather information and picture in the Weather information
Weather information;Later, terminal is shown determining in puzzle template to picture mosaic photo and Weather information, due to for same
One weather conditions, different puzzle templates can the different Weather information of Show Styles, so this kind of Weather information display mode compared with
For diversity, interest is added;It further include picture Weather information, institute and not only including textual weather information in Weather information
More fine with this kind of display mode, the information content that user learns is larger, and it is detailed that shown information can meet user's acquisition
The demand of Weather information.
It should be understood that terminal and server provided by the above embodiment is when showing Weather information, only with above-mentioned each
The division progress of functional module can according to need and for example, in practical application by above-mentioned function distribution by different function
Energy module is completed, i.e., the internal structure of equipment is divided into different functional modules, to complete whole described above or portion
Divide function.In addition, terminal and server provided by the above embodiment and display method of weather information embodiment belong to same design,
Its specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (14)
1. a kind of display method of weather information, which is characterized in that the described method includes:
Obtain the location data of terminal present position;
It determines to picture mosaic photo and the puzzle template to picture mosaic photo;
Weather information acquisition request is sent, the Weather information acquisition request includes at least the location data and the picture mosaic mould
The identification information of plate;
Corresponding with the location data and identification information Weather information is received, by the Weather information and described wait spell
Figure photo is shown on the puzzle template, and picture Weather information is included at least in the Weather information and textual weather is believed
Breath.
2. the method according to claim 1, wherein the determination is to picture mosaic photo and described to picture mosaic photo
Puzzle template, comprising:
During the display of the puzzle template page, when detecting user's clicking operation, the picture mosaic of user's click location will be located at
Template is determined as the puzzle template to picture mosaic photo;
During the display of the photo page, when detecting user's clicking operation, the photo for being located at user's click location is determined as
It is described to picture mosaic photo.
3. described existing the Weather information and to picture mosaic photo the method according to claim 1, wherein described
It is shown on the puzzle template, comprising:
It is shown in multiple photo display areas of the puzzle template described to picture mosaic photo;By the Weather information described
Region on puzzle template in addition to photo display area is shown;Or,
It is shown in multiple photo display areas of the puzzle template described to picture mosaic photo;By the Weather information described
It is shown in photo display area with being superimposed upon described to the mode on picture mosaic photo.
4. according to the method described in claim 3, it is characterized in that, multiple photo display areas in the puzzle template
Described in middle display to picture mosaic photo before, the method also includes:
Picture mosaic photo is waited for for each, is instructed depending on the user's operation, to the correspondence photo display area of the puzzle template
In image-region be adjusted, image-region adjusted is shown in the corresponding photo display area.
5. a kind of display method of weather information, which is characterized in that the described method includes:
The Weather information acquisition request that terminal is sent is received, includes at least location data and spelling in the Weather information acquisition request
The identification information of artwork plate;
Corresponding with Weather information acquisition request Weather information is obtained in the Weather information of storage, in the Weather information
Including at least picture Weather information and textual weather information;
The Weather information is sent to the terminal, so that the terminal is after receiving the Weather information, by the day
Gas information is shown on puzzle template.
6. according to the method described in claim 5, it is characterized in that, described obtain and the weather in the Weather information of storage
The corresponding Weather information of information acquisition request, comprising:
According to the location data and the identification information, obtained in the textual weather information of storage with the location data and
The textual weather information that the identification information matches;
According to the textual weather information of storage, the corresponding relationship of identification information and picture Weather information, in the picture weather of storage
Picture Weather information corresponding with the textual weather information and the identification information is searched in information;
The textual weather information and the picture Weather information are determined as day corresponding with the Weather information acquisition request
Gas information.
7. according to the method described in claim 6, it is characterized in that, including at least weather characteristics number in the textual weather information
Value and user reminding information.
8. a kind of terminal, which is characterized in that the terminal includes:
Location data obtains module, for obtaining the location data of terminal present position;
Picture mosaic resource determination module, for determining to picture mosaic photo and the puzzle template to picture mosaic photo;
Request sending module, for sending Weather information acquisition request, it is described fixed that the Weather information acquisition request includes at least
The identification information of position data and the puzzle template;
Weather information receiving module, for receiving Weather information corresponding with the location data and the identification information;
Display module, for by the Weather information and it is described shown on the puzzle template to picture mosaic photo, it is described
Picture Weather information and textual weather information are included at least in Weather information.
9. terminal according to claim 8, which is characterized in that the picture mosaic resource determination module, in puzzle template
During the page is shown, when detecting user's clicking operation, the puzzle template for being located at user's click location is determined as described
Puzzle template to picture mosaic photo;During the display of the photo page, when detecting user's clicking operation, user will be located at and clicked
The photo of position is determined as described to picture mosaic photo.
10. terminal according to claim 8, which is characterized in that the display module, in the more of the puzzle template
It is shown in a photo display area described to picture mosaic photo;The Weather information is removed into photo viewing area on the puzzle template
Region except domain is shown;Or, being shown in multiple photo display areas of the puzzle template described to picture mosaic photo;
The Weather information is superimposed upon in the photo display area and described is shown to the mode on picture mosaic photo.
11. terminal according to claim 10, which is characterized in that the terminal further include:
Image-region adjustment module instructs, for waiting for picture mosaic photo for each to the picture mosaic mould depending on the user's operation
Image-region in the correspondence photo display area of plate is adjusted, and image-region adjusted is shown in the corresponding photo
In display area.
12. a kind of server, which is characterized in that the server includes:
Request receiving module, for receiving the Weather information acquisition request of terminal transmission, in the Weather information acquisition request extremely
It less include the identification information of location data and puzzle template;
Weather information obtains module, for obtaining day corresponding with the Weather information acquisition request in the Weather information of storage
Gas information includes at least picture Weather information and textual weather information in the Weather information;
Weather information sending module, for the Weather information to be sent to the terminal, so that the terminal is receiving
After stating Weather information, the Weather information is shown on puzzle template.
13. server according to claim 12, which is characterized in that the Weather information obtains module, for according to institute
Location data and the identification information are stated, obtains in the textual weather information of storage and believes with the location data and the mark
The matched textual weather information of manner of breathing;According to the textual weather information of storage, identification information pass corresponding with picture Weather information
Picture weather corresponding with the textual weather information and the identification information is searched in the picture Weather information of storage by system
Information;The textual weather information and the picture Weather information are determined as day corresponding with the Weather information acquisition request
Gas information.
14. server according to claim 13, which is characterized in that it is special to include at least weather in the textual weather information
Levy numerical value and user reminding information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410373129.7A CN105302411B (en) | 2014-07-31 | 2014-07-31 | Display method of weather information, terminal and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410373129.7A CN105302411B (en) | 2014-07-31 | 2014-07-31 | Display method of weather information, terminal and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105302411A CN105302411A (en) | 2016-02-03 |
CN105302411B true CN105302411B (en) | 2019-10-08 |
Family
ID=55199732
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410373129.7A Active CN105302411B (en) | 2014-07-31 | 2014-07-31 | Display method of weather information, terminal and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105302411B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108156503B (en) * | 2017-12-14 | 2020-05-01 | 北京奇艺世纪科技有限公司 | Method and device for generating gift |
CN114969389B (en) * | 2022-06-22 | 2023-05-02 | 北京城市网邻信息技术有限公司 | Address template, data generation method, device, equipment and storage medium |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003114749A (en) * | 2001-10-05 | 2003-04-18 | Hitachi Ltd | Method of displaying detail information of meteorological chart |
KR100933817B1 (en) * | 2008-12-10 | 2009-12-24 | 주식회사 유코스텍 | Weather information display device and display management system |
CN101888410A (en) * | 2010-06-23 | 2010-11-17 | 宇龙计算机通信科技(深圳)有限公司 | Weather information processing method, server and terminal |
CN101893725A (en) * | 2010-06-30 | 2010-11-24 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal-based weather information processing method and mobile terminal |
WO2011099819A2 (en) * | 2010-02-12 | 2011-08-18 | Samsung Electronics Co., Ltd. | Method and apparatus for providing a widget |
CN102202134A (en) * | 2011-04-29 | 2011-09-28 | 宇龙计算机通信科技(深圳)有限公司 | Display method of weather forecast and mobile terminal |
CN102387413A (en) * | 2011-11-18 | 2012-03-21 | 四川长虹电器股份有限公司 | Method for displaying weather information on television |
CN102467500A (en) * | 2010-10-19 | 2012-05-23 | 深圳富泰宏精密工业有限公司 | Meteorological information display system and method |
CN103064713A (en) * | 2012-12-31 | 2013-04-24 | 广东欧珀移动通信有限公司 | Method of changing terminal wallpaper automatically with weather |
CN103150150A (en) * | 2011-12-06 | 2013-06-12 | 腾讯科技(深圳)有限公司 | Method and device for displaying weather information |
CN103259925A (en) * | 2013-04-16 | 2013-08-21 | 广东欧珀移动通信有限公司 | Method, device and mobile terminal for setting contact photo |
CN103294466A (en) * | 2013-05-09 | 2013-09-11 | 北京小米科技有限责任公司 | Method and device for displaying background image of application |
CN103500049A (en) * | 2013-09-13 | 2014-01-08 | 小米科技有限责任公司 | Desktop display method, device and terminal |
CN103812888A (en) * | 2012-11-09 | 2014-05-21 | 阿里巴巴集团控股有限公司 | Information pushing, receiving and transmitting method, server, client and system |
CN104063637A (en) * | 2014-01-16 | 2014-09-24 | 苏州天鸣信息科技有限公司 | Lock screen interface display method and unlocking method of mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8065155B1 (en) * | 1999-06-10 | 2011-11-22 | Gazdzinski Robert F | Adaptive advertising apparatus and methods |
-
2014
- 2014-07-31 CN CN201410373129.7A patent/CN105302411B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003114749A (en) * | 2001-10-05 | 2003-04-18 | Hitachi Ltd | Method of displaying detail information of meteorological chart |
KR100933817B1 (en) * | 2008-12-10 | 2009-12-24 | 주식회사 유코스텍 | Weather information display device and display management system |
WO2011099819A2 (en) * | 2010-02-12 | 2011-08-18 | Samsung Electronics Co., Ltd. | Method and apparatus for providing a widget |
CN101888410A (en) * | 2010-06-23 | 2010-11-17 | 宇龙计算机通信科技(深圳)有限公司 | Weather information processing method, server and terminal |
CN101893725A (en) * | 2010-06-30 | 2010-11-24 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal-based weather information processing method and mobile terminal |
CN102467500A (en) * | 2010-10-19 | 2012-05-23 | 深圳富泰宏精密工业有限公司 | Meteorological information display system and method |
CN102202134A (en) * | 2011-04-29 | 2011-09-28 | 宇龙计算机通信科技(深圳)有限公司 | Display method of weather forecast and mobile terminal |
CN102387413A (en) * | 2011-11-18 | 2012-03-21 | 四川长虹电器股份有限公司 | Method for displaying weather information on television |
CN103150150A (en) * | 2011-12-06 | 2013-06-12 | 腾讯科技(深圳)有限公司 | Method and device for displaying weather information |
CN103812888A (en) * | 2012-11-09 | 2014-05-21 | 阿里巴巴集团控股有限公司 | Information pushing, receiving and transmitting method, server, client and system |
CN103064713A (en) * | 2012-12-31 | 2013-04-24 | 广东欧珀移动通信有限公司 | Method of changing terminal wallpaper automatically with weather |
CN103259925A (en) * | 2013-04-16 | 2013-08-21 | 广东欧珀移动通信有限公司 | Method, device and mobile terminal for setting contact photo |
CN103294466A (en) * | 2013-05-09 | 2013-09-11 | 北京小米科技有限责任公司 | Method and device for displaying background image of application |
CN103500049A (en) * | 2013-09-13 | 2014-01-08 | 小米科技有限责任公司 | Desktop display method, device and terminal |
CN104063637A (en) * | 2014-01-16 | 2014-09-24 | 苏州天鸣信息科技有限公司 | Lock screen interface display method and unlocking method of mobile terminal |
Non-Patent Citations (1)
Title |
---|
照片后期处理更简单;刘长德;《电脑知识与技术》;20130731;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN105302411A (en) | 2016-02-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9621655B2 (en) | Application and device to memorialize and share events geographically | |
Turner | Introduction to neogeography | |
US9910866B2 (en) | Methods, apparatuses and computer program products for automatically generating suggested information layers in augmented reality | |
CN102737227B (en) | Terminal installation, information processor, object identifying method and system | |
AU2006201050B2 (en) | Geographic information storage, transmission and display system | |
US8321395B2 (en) | Associating digital images with waypoints | |
US20090167919A1 (en) | Method, Apparatus and Computer Program Product for Displaying an Indication of an Object Within a Current Field of View | |
EP2214107A1 (en) | Method and system for sharing location information and recording medium using the same | |
US9664527B2 (en) | Method and apparatus for providing route information in image media | |
CN103003847A (en) | Method and apparatus for rendering a location-based user interface | |
US20120124125A1 (en) | Automatic journal creation | |
CN102822824A (en) | Decoding location information in content for use by a native mapping application | |
US9092456B2 (en) | Method and system for reconstructing image having high resolution | |
CN104679879B (en) | A kind of photo intelligent storage method and device | |
Fedorov et al. | A framework for outdoor mobile augmented reality and its application to mountain peak detection | |
CN107967339A (en) | Image processing method, device, computer-readable recording medium and computer equipment | |
CN103488776B (en) | A kind of method that real-time online obtains map datum | |
CN109844734B (en) | Picture file management method, terminal and computer storage medium | |
CN105302411B (en) | Display method of weather information, terminal and server | |
WO2015035812A1 (en) | Position tracking method and terminal | |
CN104572830A (en) | Method and method for processing recommended shooting information | |
CN107888827A (en) | Image processing method and related product | |
CN103049499A (en) | Method and device for ordering by utilizing longitude and latitude position information | |
CN105260389A (en) | Unmanned aerial vehicle reconnaissance image data management and visual display method | |
CN105824977A (en) | Hydraulic engineering picture management system and method based on GPS (Global Positioning System) and label information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |