CN105302411A - Weather information display method, terminal and server - Google Patents

Weather information display method, terminal and server Download PDF

Info

Publication number
CN105302411A
CN105302411A CN201410373129.7A CN201410373129A CN105302411A CN 105302411 A CN105302411 A CN 105302411A CN 201410373129 A CN201410373129 A CN 201410373129A CN 105302411 A CN105302411 A CN 105302411A
Authority
CN
China
Prior art keywords
weather information
photo
puzzle template
picture
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.)
Granted
Application number
CN201410373129.7A
Other languages
Chinese (zh)
Other versions
CN105302411B (en
Inventor
时峰
吕书田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410373129.7A priority Critical patent/CN105302411B/en
Publication of CN105302411A publication Critical patent/CN105302411A/en
Application granted granted Critical
Publication of CN105302411B publication Critical patent/CN105302411B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a weather information display method, a terminal and a server, and belongs to the technical field of information processing. The method comprises: obtaining positioning data of current position of the terminal; determining to-be-combined photos and a puzzle template of the to-be-combined photos; sending a weather information acquisition request, wherein the weather information acquisition request at least comprises the positioning data and identifier information of the puzzle template; and receiving weather information corresponding to the positioning data and the identifier information, and displaying the weather information and the to-be-combined photos on the puzzle template, wherein the weather information at least comprises picture weather information and text weather information. For the same weather condition, different puzzle templates can display weather information different in type, so that weather information display modes are relatively diversified and the interestingness is improved; and the weather information comprises not only the text weather information but also the picture weather information, so that the display modes are relatively fine, and the demands of acquiring detailed weather information by users can be met.

Description

Display method of weather information, terminal and server
Technical field
The present invention relates to technical field of information processing, particularly a kind of display method of weather information, terminal and server.
Background technology
Along with the develop rapidly of infotech, picture mosaic class applies the function that has from strength to strength.Adopt the application of picture mosaic class, not only can show multiple photos in a picture mosaic, also can show the on-site Weather information of user in picture mosaic, to increase interest.And then enhancing user experience.
In prior art, terminal calls the URL (UniformResourceLocator of open weather service, URL(uniform resource locator)), the on-site weather data bag of user is obtained from network, afterwards by carrying out XML (ExtensibleMarkupLanguage to weather data bag, extend markup language) resolve or json (JavaScriptObjectNotation, JavaScript Object Notation) parsing, obtain the on-site Weather information of user.Wherein, this Weather information comprises the textual weather data such as such as temperature value, humidity value, wind-force value.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
During owing to carrying out Weather information display in picture mosaic, only show textual weather data, so this kind of display mode comparatively coarseness, meticulous not, shown information cannot meet user to the demand obtaining detailed Weather information.
Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of display method of weather information, terminal and server.Described technical scheme is as follows:
First aspect, provides a kind of display method of weather information, and described method comprises:
Obtain the locator data of the current position of terminal;
Determine to treat picture mosaic photo and described in treat the puzzle template of picture mosaic photo;
Send Weather information and obtain request, described Weather information obtains the identification information that request at least comprises described locator data and described puzzle template;
Receive the Weather information corresponding with described locator data and described identification information, by described Weather information with describedly treat that picture mosaic photo shows on described puzzle template, in described Weather information, at least comprise picture Weather information and textual weather information.
Second aspect, provides a kind of display method of weather information, and described method comprises:
The Weather information that receiving terminal sends obtains request, and described Weather information obtains in request and at least comprises locator data and puzzle template mark;
In the Weather information stored, acquisition obtains with described Weather information and asks corresponding Weather information, at least comprises picture Weather information and textual weather information in described Weather information;
Described Weather information is sent to described terminal, to make described terminal after receiving described Weather information, described Weather information is shown on puzzle template.
The third aspect, provides a kind of terminal, and described terminal comprises:
Locator data acquisition module, for obtaining the locator data of the current position of terminal;
Picture mosaic resource determination module, for determine to treat picture mosaic photo and described in treat the puzzle template of picture mosaic photo;
Request sending module, obtain request for sending Weather information, described Weather information obtains the identification information that request at least comprises described locator data and described puzzle template;
Weather information receiving module, for receiving the Weather information corresponding with described locator data and described identification information;
Display module, for by described Weather information with describedly treat that picture mosaic photo shows on described puzzle template, at least comprises picture Weather information and textual weather information in described Weather information.
Fourth aspect, provides a kind of server, and described server comprises:
Request receiving module, the Weather information sent for receiving terminal obtains request, and described Weather information obtains in request and at least comprises locator data and puzzle template mark;
Weather information acquisition module, asking corresponding Weather information for obtaining to obtain with described Weather information in the Weather information stored, at least comprising picture Weather information and textual weather information in described Weather information;
Weather information sending module, for described Weather information is sent to described terminal, to make described terminal after receiving described Weather information, shows described Weather information on puzzle template.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
Terminal is after the acquisition locator data of current position and the identification information of puzzle template, send to server the Weather information comprising locator data and identification information and obtain request, thus obtain the Weather information corresponding with this locator data and identification information by server, and this Weather information comprises textual weather information and picture Weather information; Afterwards, by what determine, terminal treats that picture mosaic photo and Weather information show in puzzle template, due to for same weather conditions, different puzzle template can the different Weather information of Show Styles, so this kind of Weather information display mode comparatively diversity, add interest; And not only comprise textual weather information in Weather information, also comprise picture Weather information, so this kind of display mode is comparatively meticulous, the quantity of information that user learns is comparatively large, and shown information can meet the demand that user obtains detailed Weather information.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the system architecture schematic diagram of the implementation environment of a kind of display method of weather information that the embodiment of the present invention provides;
Fig. 2 is a kind of display method of weather information process flow diagram that the embodiment of the present invention provides;
Fig. 3 is a kind of display method of weather information process flow diagram that the embodiment of the present invention provides;
Fig. 4 is a kind of display method of weather information process flow diagram that the embodiment of the present invention provides;
Fig. 5 is the schematic diagram of a kind of puzzle template that the embodiment of the present invention provides;
Fig. 6 is the schematic diagram at a kind of terminal demonstration interface that the embodiment of the present invention provides;
Fig. 7 is the schematic diagram at a kind of terminal demonstration interface that the embodiment of the present invention provides;
Fig. 8 is the schematic diagram at a kind of terminal demonstration interface that the embodiment of the present invention provides;
Fig. 9 is the schematic diagram at a kind of terminal demonstration interface that the embodiment of the present invention provides;
Figure 10 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Figure 11 is the structural representation of a kind of server that the embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiments provide a kind of display method of weather information.See Fig. 1, it illustrates the structural representation of the implementation environment involved by display method of weather information that the embodiment of the present invention provides.This implementation environment comprises terminal and server.
Wherein, terminal can be mobile terminal, such as smart mobile phone, panel computer etc.; Also can be fixed terminal, such as personal computer, the type of the embodiment of the present invention to terminal does not specifically limit.Terminal, be mainly used in the locator data obtaining its current position, determine the puzzle template treated picture mosaic photo and treat picture mosaic photo, send Weather information to server and obtain request, this Weather information obtains the identification information that request at least comprises locator data and puzzle template; Receive the Weather information corresponding with locator data and identification information, by Weather information and treat that picture mosaic photo shows on puzzle template, in this Weather information, at least comprise picture Weather information and textual weather information.
Store Weather information database in server, the Weather information sent for receiving terminal obtains request, and Weather information obtains in request and at least comprises locator data and puzzle template mark; In the Weather information stored, acquisition obtains with Weather information and asks corresponding Weather information; Weather information is sent to terminal.
Fig. 2 is the method flow diagram of a kind of Weather information display that the embodiment of the present invention provides.Perform the angle of the method for terminal, see Fig. 2, the method flow that the embodiment of the present invention provides comprises:
201, the locator data of the current position of terminal is obtained.
202, the puzzle template treated picture mosaic photo and treat picture mosaic photo is determined.
203, send Weather information and obtain request, Weather information obtains the identification information that request at least comprises locator data and puzzle template.
204, receive the Weather information corresponding with locator data and identification information, by Weather information with treat that picture mosaic photo shows on puzzle template, at least comprise picture Weather information and textual weather information in Weather information.
The method that the embodiment of the present invention provides, terminal is after the acquisition locator data of current position and the identification information of puzzle template, send to server the Weather information comprising locator data and identification information and obtain request, thus obtain the Weather information corresponding with this locator data and identification information by server, and this Weather information comprises textual weather information and picture Weather information; Afterwards, by what determine, terminal treats that picture mosaic photo and Weather information show in puzzle template, due to for same weather conditions, different puzzle template can the different Weather information of Show Styles, so this kind of Weather information display mode comparatively diversity, add interest; And not only comprise textual weather information in Weather information, also comprise picture Weather information, so this kind of display mode is comparatively meticulous, the quantity of information that user learns is comparatively large, and shown information can meet the demand that user obtains detailed Weather information.
Alternatively, determine to treat picture mosaic photo and puzzle template, comprising:
In puzzle template page procedure for displaying, when user's clicking operation being detected, the puzzle template being positioned at user's click location is defined as the puzzle template treating picture mosaic photo;
In photo page procedure for displaying, when detecting user's clicking operation, the photo being positioned at user's click location is defined as treating picture mosaic photo.
Alternatively, by Weather information and treat that picture mosaic photo shows on puzzle template, comprising:
In multiple photo viewing areas of puzzle template, picture mosaic photo is treated in display; The region of Weather information on puzzle template except photo viewing area is shown; Or,
In multiple photo viewing areas of puzzle template, picture mosaic photo is treated in display; To be superimposed upon, Weather information is treated that the mode on picture mosaic photo shows in photo viewing area.
Alternatively, before in multiple photo viewing areas of puzzle template, picture mosaic photo is treated in display, the method also comprises:
Picture mosaic photo is treated for each, according to the operational order of user, the image-region in the corresponding photo viewing area of puzzle template is adjusted, the image-region after adjustment is presented in corresponding photo region.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Fig. 3 is the method flow diagram of a kind of Weather information display that the embodiment of the present invention provides.Perform the angle of the method for server, see Fig. 3, the method flow that the embodiment of the present invention provides comprises:
301, the Weather information that receiving terminal sends obtains request, and Weather information obtains in request and at least comprises locator data and puzzle template mark.
302, in the Weather information stored, acquisition obtains with Weather information and asks corresponding Weather information, at least comprises picture Weather information and textual weather information in this Weather information.
303, Weather information is sent to terminal, to make terminal after receiving Weather information, Weather information is shown on puzzle template.
The method that the embodiment of the present invention provides, terminal is after the acquisition locator data of current position and the identification information of puzzle template, send to server the Weather information comprising locator data and identification information and obtain request, thus obtain the Weather information corresponding with this locator data and identification information by server, and this Weather information comprises textual weather information and picture Weather information; Afterwards, by what determine, terminal treats that picture mosaic photo and Weather information show in puzzle template, due to for same weather conditions, different puzzle template can the different Weather information of Show Styles, so this kind of Weather information display mode comparatively diversity, add interest; And not only comprise textual weather information in Weather information, also comprise picture Weather information, so this kind of display mode is comparatively meticulous, the quantity of information that user learns is comparatively large, and shown information can meet the demand that user obtains detailed Weather information.
Alternatively, in the Weather information stored, acquisition obtains with Weather information and asks corresponding Weather information, comprising:
According to locator data and identification information, in the textual weather information stored, obtain the textual weather information matched with locator data and identification information;
According to the corresponding relation of the textual weather information stored, identification information and picture Weather information, in the picture Weather information stored, search the picture Weather information corresponding with textual weather information and identification information;
Textual weather information and picture Weather information are defined as obtaining with Weather information asking corresponding Weather information.
Alternatively, weather characteristics numerical value and user reminding information is at least comprised in textual weather information.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Fig. 4 is the method flow diagram of a kind of Weather information display that the embodiment of the present invention provides.Interaction agent is terminal and server, and see Fig. 4, the method flow that the embodiment of the present invention provides comprises:
401, terminal obtains the locator data of current position.
Wherein, locator data refers to longitude data and the latitude data of terminal.Certain locator data, except above-mentioned form, also can be other forms, and such as, the geographical location information (* * community, * * street, * * city) of written form, the embodiment of the present invention does not do concrete restriction to this.The embodiment of the present invention is only longitude data and latitude data with locator data for example is illustrated.
Terminal, when obtaining the locator data of current position, specifically realizes by following method:
Caught by the satellite to be measured selected by certain satellite cutoff angle by the signal receiver being built in terminal, and the ruuning situation of these satellites is followed the tracks of.After signal receiver captures the satellite-signal of tracking satellite transmitting, the pseudo-distance of receiving antenna to satellite and the rate of change of distance can be measured according to the satellite-signal captured, and then demodulate the data such as satellite orbit parameter according to the rate of change of the pseudo-distance measured and distance.Afterwards, the micro-process computer in signal receiver just according to data such as satellite orbits, can position calculating by positioning calculation method, finally obtains longitude data and the latitude data of the current position of terminal.
Certainly, terminal takes said method to obtain outside the mode of the locator data of current position, and other modes also can be taked to obtain the mode of locator data, and the embodiment of the present invention does not do concrete restriction to this.
402, terminal determines the puzzle template treating picture mosaic photo and treat picture mosaic photo.
See Fig. 5, in puzzle template, generally comprise multiple photo viewing area, so it can show multiple photos for a puzzle template, not only can reduce taking up room when photo single width shows, also can reach the effect that comparison film carries out beautifying.
In embodiments of the present invention, terminal is being determined until picture mosaic photo and when the puzzle template of picture mosaic photo, and following manner specifically can be taked to realize:
In puzzle template page procedure for displaying, when user's clicking operation being detected, the puzzle template being positioned at user's click location is defined as the puzzle template treating picture mosaic photo;
In photo page procedure for displaying, when detecting user's clicking operation, the photo being positioned at user's click location is defined as treating picture mosaic photo.
Wherein, the puzzle template page comprises multiple puzzle template, after user browses multiple puzzle template and clicks a certain puzzle template, directly this puzzle template is defined as the puzzle template treating picture mosaic photo.Because terminal is when puzzle template page presentation puzzle template, all can show according to certain rule and order, i.e. each puzzle template display location that all correspondence one is fixing in the puzzle template page, so after user performs clicking operation, just can determine which puzzle template user have chosen actually according to the click location of user and the display location of each puzzle template.
See Fig. 6, after user have chosen puzzle template, terminal can pull the photo that self stores, and enters into the photo page from the puzzle template page.Wherein, can show multiple photos with the form of ranks in the photo page, when user performs slide, the photo in the photo page will be shown with rolling form, so that user chooses its favorite photo.Due to all corresponding display location of each photo, so when the display location that a certain photo is corresponding exists clicking operation, so direct this photo is defined as treating picture mosaic photo.Afterwards, this photo is presented in the mode of choosing shown in Fig. 7 on the photo page.
Certainly, except determining puzzle template except above-mentioned acquisition and treating the mode of picture mosaic photo, also can take other modes, the embodiment of the present invention does not do concrete restriction to this.
403, terminal to server sends Weather information and obtains request, and this Weather information obtains the identification information that request at least comprises locator data and puzzle template.
In embodiments of the present invention, each puzzle template is all corresponding to an identification information.Wherein, this identification information specifically can be a character string, this character string can be made up of pure character, also can be made up of pure digi-tal, also can be made up of character and numeral mixing, the embodiment of the present invention does not do concrete restriction to the form of identification information, only needs the identification information ensureing each puzzle template different.Terminal, when showing the puzzle template page, can load multiple puzzle template, can automatically also be loaded by the identification information of puzzle template when loading multiple puzzle template.So when determining after the puzzle template of picture mosaic photo, terminal just can automatic acquisition to the identification information of this puzzle template.
Terminal, when sending Weather information to server and obtaining request, is taked the mode of wire communication or radio communication to send by built-in communication module, is specifically taked which kind of mode embodiment of the present invention not do concrete restriction to this.In addition, in order to speeding up data transmission speed with reduce the taking of site resource, also the request of weather obtaining information can be carried out after packing processes, then send.Certainly, Weather information can be obtained request yet and directly send, the embodiment of the present invention does not do concrete restriction equally to this.
404, server is after the Weather information receiving terminal transmission obtains request, and in the Weather information stored, acquisition obtains with Weather information and asks corresponding Weather information, at least comprises picture Weather information and textual weather information in this Weather information.
In embodiments of the present invention, Weather information has been prestored in server.This Weather information comprises word Weather information and picture Weather information.Wherein, weather characteristics numerical value and user reminding information is at least comprised in word Weather information.Weather characteristics numerical value refers to wind-force numerical value, Temperature numerical, humidity etc.; User reminding information refers to the information of some hommizations.Such as, when fine day, corresponding user reminding information can be " vast clear sky is an inning of going on a tour "; When rainy, corresponding user reminding information can be " a run of wet weather, should satisfy and sleep ".It should be noted that, the Servers installed that the embodiment of the present invention provides weather lookup service, can obtain the weather characteristics numerical value on the various places same day, and the longitude and latitude data of various places and weather characteristics numerical value are stored.And user reminding information can be carried out arranging and storing by server in advance.Picture Weather information refers to the small icon characterizing weather, such as, and the sun icon that fine day is corresponding, the raindrop icon that the rainy day is corresponding.Picture Weather information is also carried out arranging and storing by server in advance.Wherein, textual weather information and picture Weather information can be stored in the storage medium such as flash memory or hard disk of server, the type of the embodiment of the present invention to storage medium does not specifically limit.
Wherein, when acquisition and Weather information obtain and ask corresponding Weather information in the Weather information stored, following method specifically can be taked to realize:
The first step, according to locator data and identification information, in the textual weather information stored, obtain the textual weather information matched with locator data and identification information.
In embodiments of the present invention, server, can according to the corresponding relation of the longitude and latitude data genaration longitude and latitude data of various places and weather characteristics value after getting the weather characteristics numerical value of various places.Afterwards, server obtains the locator data asking to comprise according to the Weather information that terminal sends, the corresponding relation of inquiry longitude and latitude data and weather characteristics value, obtains the Weather information matched with locator data.Such as, the longitude and latitude data of Beijing area are seated in north latitude 39 degree 26 points to 41 degree 03 point, east longitude 115 degree 25 points to 117 degree 30 points, if then the longitude and latitude numerical value of locator data is positioned at this scope, then the weather characteristics numerical value that this locator data is corresponding is just the current weather characteristics numerical value in Beijing area.Wherein, weather characteristics numerical value can shape as " fine, 27 DEG C, north wind one-level, humidity 40%, air quality be excellent " this printed words.
In addition, after according to locator data determination weather characteristics numerical value, also need to obtain corresponding user reminding information according to the identification information of weather characteristics numerical value and puzzle template.Wherein, weather characteristics numerical value, the identification information of puzzle template and the mapping table of user reminding information can be prestored in the server.The shape form as described in Table 1 of mapping table.
Table 1
Owing to storing all mapping tables as shown in table 1 in server, so after obtaining weather characteristics numerical value according to locator data, according to the identification information of this weather characteristics numerical value and puzzle template, inquire about this mapping table, just can obtain corresponding textual weather information.
Second step, corresponding relation according to the textual weather information stored, identification information and picture Weather information, search the picture Weather information corresponding with textual weather information and identification information in the picture Weather information of storage.
In embodiments of the present invention, except the corresponding relation off-balancesheet shown in storage list 1 in server, the mapping table of textual weather information as shown in table 2, identification information and picture Weather information can also be stored.
Table 2
Owing to storing all mapping tables as shown in table 2 in server, so after obtaining weather characteristics numerical value according to locator data, according to the identification information of this weather characteristics numerical value and puzzle template, inquire about this mapping table, just can obtain corresponding picture Weather information.
3rd step, textual weather information and picture Weather information are defined as obtaining with Weather information asking corresponding Weather information.
After obtaining textual weather information and picture Weather information according to the first step and second step, the two is combined, just can obtain Weather information corresponding to locator data.Be " fine, 27 DEG C, north wind one-level, humidity 40%, air quality be excellent ", " weather is very good, has a good mood " with the textual weather information that a certain locator data is corresponding, corresponding picture Weather information is for example, then the weather that this locator data is corresponding can be combined to " fine, 27 DEG C, north wind one-level, humidity 40%, air quality be excellent; Weather is very good, has a good mood ".
405, this Weather information is sent to terminal by server.
In embodiments of the present invention, server is when sending to terminal by Weather information, can to take Weather information not carry out to pack process and the mode that directly sends, after also can taking Weather information to be carried out packing process, send the send mode of packing data again, specifically take which kind of send mode, the embodiment of the present invention does not do concrete restriction to this, can be determined on a case-by-case basis.
406, terminal is after this Weather information of reception, by this Weather information and treat that picture mosaic photo shows on puzzle template.
In embodiments of the present invention, terminal, after receiving Weather information, can take following two kinds of modes show Weather information and treat picture mosaic photo.
First kind of way, in multiple photo viewing areas of puzzle template display treat picture mosaic photo; The region of Weather information on puzzle template except photo viewing area is shown.
Wherein, usually having at least two photo display boxes in puzzle template, is also photo viewing area.Determining after picture mosaic photo, terminal can according to treating that picture mosaic photo is by the sequencing selected or treat that the size of picture mosaic photo will treat that picture mosaic photo is presented at the corresponding photo viewing area in puzzle template.Such as, large for size is treated that picture mosaic photo is presented in larger photo viewing area, region, and little for size is treated that picture mosaic photo is presented in less photo viewing area, region.Or, in advance each photo viewing area in puzzle template is numbered, first will be treated that picture mosaic photo is presented in the little photo viewing area of numbering by what select, treated that picture mosaic photo is presented in the large photo viewing area of numbering by rear by what select.
In addition, be limited to the size restriction of each photo viewing area in puzzle template, photo viewing area only shows the subregion for the treatment of picture mosaic photo sometimes, and such as, the image giving tacit consent to the geometric center treating picture mosaic photo is presented at the center of photo viewing area.So likely can there is the problem that can not show the key images part treating picture mosaic photo.For this reason, the embodiment of the present invention additionally provides and a kind ofly adjusts in photo viewing area the method that the display image portion of picture mosaic photo is divided for the treatment of, detailed process is as follows:
Picture mosaic photo is treated for each, according to the operational order of user, the image-region in the corresponding photo viewing area of puzzle template is adjusted, the image-region after adjustment is presented in described corresponding photo region.
Wherein, when adjusting the image-region be presented in photo viewing area, can adjust according to the slide of user, when user stops slide, can using the image section be now presented in photo viewing area as the picture mosaic photo finally carrying out showing.
And when showing Weather information, Weather information can be superimposed upon on the region in puzzle template except photo viewing area.This region can be the region that terminal is arbitrarily chosen, and also can be the region of specifying.The puzzle template that with the addition of photo and Weather information can be as shown in Figure 8.
The second way, in multiple photo viewing areas of puzzle template display treat picture mosaic photo; To be superimposed upon, Weather information is treated that the mode on picture mosaic photo shows in photo viewing area.
For the second way, display treats that the mode of picture mosaic photo is consistent with said method, repeats no more herein.
And when showing Weather information, Weather information can be superimposed upon on the photo viewing area in puzzle template and show.Owing to including multiple photo viewing area in puzzle template, so Weather information can be superimposed upon on arbitrary photo viewing area during superposition Weather information.Certainly, in order to the display effect preventing the Weather information superposed from affecting picture mosaic photo, also Weather information can be superimposed upon in maximum photo viewing area, region, or photo shows in the less photo viewing area of details, specifically take the mode of which kind of superposition Weather information, the embodiment of the present invention does not do concrete restriction to this.The puzzle template that with the addition of photo and Weather information can be as shown in Figure 9.
It should be noted that, by this Weather information and show on puzzle template until picture mosaic photo time, except taking above-mentioned two kinds of display modes, also can take other display modes, the embodiment of the present invention does not do concrete restriction to this.
The method that the embodiment of the present invention provides, terminal is after the acquisition locator data of current position and the identification information of puzzle template, send to server the Weather information comprising locator data and identification information and obtain request, thus obtain the Weather information corresponding with this locator data and identification information by server, and this Weather information comprises textual weather information and picture Weather information; Afterwards, by what determine, terminal treats that picture mosaic photo and Weather information show in puzzle template, due to for same weather conditions, different puzzle template can the different Weather information of Show Styles, so this kind of Weather information display mode comparatively diversity, add interest; And not only comprise textual weather information in Weather information, also comprise picture Weather information, so this kind of display mode is comparatively meticulous, the quantity of information that user learns is comparatively large, and shown information can meet the demand that user obtains detailed Weather information.
Figure 10 is the structural representation of a kind of terminal that the embodiment of the present invention provides.See Figure 10, this terminal comprises: locator data acquisition module 1001, picture mosaic resource determination module 1002, request sending module 1003, Weather information receiving module 1004, display module 1005.
Wherein, locator data acquisition module 1001, for obtaining the locator data of the current position of terminal; Picture mosaic resource determination module 1002 is connected with locator data acquisition module 1001, for determining the puzzle template treated picture mosaic photo and treat picture mosaic photo; Request sending module 1002 is connected with picture mosaic resource determination module 1002, and obtain request for sending Weather information, Weather information obtains the identification information that request at least comprises locator data and puzzle template; Weather information receiving module 1004 is connected with request sending module 1003, for receiving the Weather information corresponding with locator data and identification information; Display module 1005 is connected with Weather information receiving module 1004, for by Weather information and treat that picture mosaic photo shows on puzzle template, at least comprises picture Weather information and textual weather information in Weather information.
Alternatively, picture mosaic resource determination module, in puzzle template page procedure for displaying, when user's clicking operation being detected, is defined as the puzzle template being positioned at user's click location the puzzle template treating picture mosaic photo; In photo page procedure for displaying, when detecting user's clicking operation, the photo being positioned at user's click location is defined as treating picture mosaic photo.
Alternatively, display module, treats picture mosaic photo for display in multiple photo viewing areas of puzzle template; The region of Weather information on puzzle template except photo viewing area is shown; Or picture mosaic photo is treated in display in multiple photo viewing areas of puzzle template; To be superimposed upon, Weather information is treated that the mode on picture mosaic photo shows in photo viewing area.
Alternatively, this terminal also comprises:
Image-region adjusting module, for treating picture mosaic photo for each, according to the operational order of user, adjusts the image-region in the corresponding photo viewing area of puzzle template, is presented in corresponding photo region by the image-region after adjustment.
The terminal that the embodiment of the present invention provides, after the acquisition locator data of current position and the identification information of puzzle template, send to server the Weather information comprising locator data and identification information and obtain request, thus obtain the Weather information corresponding with this locator data and identification information by server, and this Weather information comprises textual weather information and picture Weather information; Afterwards, by what determine, terminal treats that picture mosaic photo and Weather information show in puzzle template, due to for same weather conditions, different puzzle template can the different Weather information of Show Styles, so this kind of Weather information display mode comparatively diversity, add interest; And not only comprise textual weather information in Weather information, also comprise picture Weather information, so this kind of display mode is comparatively meticulous, the quantity of information that user learns is comparatively large, and shown information can meet the demand that user obtains detailed Weather information.
Figure 11 is the structural representation of a kind of server that the embodiment of the present invention provides.See Figure 11, this server comprises: request receiving module 1101, Weather information acquisition module 1102, Weather information sending module 1103.
Wherein, request receiving module 1101, the Weather information sent for receiving terminal obtains request, and Weather information obtains in request and at least comprises locator data and puzzle template mark;
Weather information acquisition module 1102 is connected with request receiving module 1101, asking corresponding Weather information, at least comprising picture Weather information and textual weather information in Weather information for obtaining to obtain with Weather information in the Weather information stored;
Weather information sending module 1103 is connected with Weather information acquisition module 1102, for Weather information is sent to terminal, to make terminal after receiving Weather information, is shown by Weather information on puzzle template.
Alternatively, Weather information acquisition module, for according to locator data and identification information, obtains the textual weather information matched with locator data and identification information in the textual weather information stored; According to the corresponding relation of the textual weather information stored, identification information and picture Weather information, in the picture Weather information stored, search the picture Weather information corresponding with textual weather information and identification information; Textual weather information and picture Weather information are defined as obtaining with Weather information asking corresponding Weather information.
Alternatively, weather characteristics numerical value and user reminding information is at least comprised in textual weather information.
The server that the embodiment of the present invention provides, after terminal obtains the locator data of current position and the identification information of puzzle template, send to server the Weather information comprising locator data and identification information and obtain request, thus obtain the Weather information corresponding with this locator data and identification information by server, and this Weather information comprises textual weather information and picture Weather information; Afterwards, by what determine, terminal treats that picture mosaic photo and Weather information show in puzzle template, due to for same weather conditions, different puzzle template can the different Weather information of Show Styles, so this kind of Weather information display mode comparatively diversity, add interest; And not only comprise textual weather information in Weather information, also comprise picture Weather information, so this kind of display mode is comparatively meticulous, the quantity of information that user learns is comparatively large, and shown information can meet the demand that user obtains detailed Weather information.
It should be noted that: the terminal that above-described embodiment provides and server are when showing Weather information, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by equipment is divided into different functional modules, to complete all or part of function described above.In addition, the terminal that above-described embodiment provides and server and display method of weather information embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. a display method of weather information, is characterized in that, described method comprises:
Obtain the locator data of the current position of terminal;
Determine to treat picture mosaic photo and described in treat the puzzle template of picture mosaic photo;
Send Weather information and obtain request, described Weather information obtains the identification information that request at least comprises described locator data and described puzzle template;
Receive the Weather information corresponding with described locator data and described identification information, by described Weather information with describedly treat that picture mosaic photo shows on described puzzle template, in described Weather information, at least comprise picture Weather information and textual weather information.
2. method according to claim 1, is characterized in that, describedly determines to treat picture mosaic photo and puzzle template, comprising:
In puzzle template page procedure for displaying, when user's clicking operation being detected, described in being defined as by the puzzle template being positioned at user's click location, treat the puzzle template of picture mosaic photo;
In photo page procedure for displaying, when detecting user's clicking operation, described in being defined as by the photo being positioned at user's click location, treat picture mosaic photo.
3. method according to claim 1, is characterized in that, described by described Weather information with describedly treat that picture mosaic photo shows on described puzzle template, comprising:
Picture mosaic photo is treated described in display in multiple photo viewing areas of described puzzle template; The region of described Weather information on described puzzle template except photo viewing area is shown; Or,
Picture mosaic photo is treated described in display in multiple photo viewing areas of described puzzle template; Described Weather information is treated that the mode on picture mosaic photo shows in described photo viewing area described in being superimposed upon.
4. method according to claim 3, is characterized in that, described in multiple photo viewing areas of described puzzle template display described in treat picture mosaic photo before, described method also comprises:
Picture mosaic photo is treated for each, according to the operational order of user, the image-region in the corresponding photo viewing area of described puzzle template is adjusted, the image-region after adjustment is presented in described corresponding photo region.
5. a display method of weather information, is characterized in that, described method comprises:
The Weather information that receiving terminal sends obtains request, and described Weather information obtains in request and at least comprises locator data and puzzle template mark;
In the Weather information stored, acquisition obtains with described Weather information and asks corresponding Weather information, at least comprises picture Weather information and textual weather information in described Weather information;
Described Weather information is sent to described terminal, to make described terminal after receiving described Weather information, described Weather information is shown on puzzle template.
6. method according to claim 5, is characterized in that, in the described Weather information storing, acquisition obtains with described Weather information and asks corresponding Weather information, comprising:
According to described locator data and described identification information, in the textual weather information stored, obtain the textual weather information matched with described locator data and described identification information;
According to the corresponding relation of the textual weather information stored, identification information and picture Weather information, in the picture Weather information stored, search the picture Weather information corresponding with described textual weather information and described identification information;
Described textual weather information and described picture Weather information are defined as obtaining with described Weather information asking corresponding Weather information.
7. method according to claim 6, is characterized in that, at least comprises weather characteristics numerical value and user reminding information in described textual weather information.
8. a terminal, is characterized in that, described terminal comprises:
Locator data acquisition module, for obtaining the locator data of the current position of terminal;
Picture mosaic resource determination module, for determine to treat picture mosaic photo and described in treat the puzzle template of picture mosaic photo;
Request sending module, obtain request for sending Weather information, described Weather information obtains the identification information that request at least comprises described locator data and described puzzle template;
Weather information receiving module, for receiving the Weather information corresponding with described locator data and described identification information;
Display module, for by described Weather information with describedly treat that picture mosaic photo shows on described puzzle template, at least comprises picture Weather information and textual weather information in described Weather information.
9. terminal according to claim 8, it is characterized in that, described picture mosaic resource determination module, in puzzle template page procedure for displaying, when user's clicking operation being detected, described in being defined as by the puzzle template being positioned at user's click location, treat the puzzle template of picture mosaic photo; In photo page procedure for displaying, when detecting user's clicking operation, described in being defined as by the photo being positioned at user's click location, treat picture mosaic photo.
10. terminal according to claim 8, is characterized in that, described display module, for treating picture mosaic photo described in display in multiple photo viewing areas of described puzzle template; The region of described Weather information on described puzzle template except photo viewing area is shown; Or, in multiple photo viewing areas of described puzzle template, treat picture mosaic photo described in display; Described Weather information is treated that the mode on picture mosaic photo shows in described photo viewing area described in being superimposed upon.
11. terminals according to claim 10, is characterized in that, described terminal also comprises:
Image-region adjusting module, for treating picture mosaic photo for each, according to the operational order of user, adjusts the image-region in the corresponding photo viewing area of described puzzle template, is presented in described corresponding photo region by the image-region after adjustment.
12. 1 kinds of servers, is characterized in that, described server comprises:
Request receiving module, the Weather information sent for receiving terminal obtains request, and described Weather information obtains in request and at least comprises locator data and puzzle template mark;
Weather information acquisition module, asking corresponding Weather information for obtaining to obtain with described Weather information in the Weather information stored, at least comprising picture Weather information and textual weather information in described Weather information;
Weather information sending module, for described Weather information is sent to described terminal, to make described terminal after receiving described Weather information, shows described Weather information on puzzle template.
13. servers according to claim 12, it is characterized in that, described Weather information acquisition module, for according to described locator data and described identification information, obtains the textual weather information matched with described locator data and described identification information in the textual weather information stored; According to the corresponding relation of the textual weather information stored, identification information and picture Weather information, in the picture Weather information stored, search the picture Weather information corresponding with described textual weather information and described identification information; Described textual weather information and described picture Weather information are defined as obtaining with described Weather information asking corresponding Weather information.
14. servers according to claim 13, is characterized in that, at least comprise weather characteristics numerical value and user reminding information in described textual weather information.
CN201410373129.7A 2014-07-31 2014-07-31 Display method of weather information, terminal and server Active CN105302411B (en)

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 true CN105302411A (en) 2016-02-03
CN105302411B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156503A (en) * 2017-12-14 2018-06-12 北京奇艺世纪科技有限公司 A kind of method and device for generating present
CN114969389A (en) * 2022-06-22 2022-08-30 北京城市网邻信息技术有限公司 Address selection template and data generation method, device, equipment and storage medium

Citations (16)

* Cited by examiner, † Cited by third party
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
US20100217669A1 (en) * 1999-06-10 2010-08-26 Gazdzinski Robert F Adaptive information presentation apparatus and methods
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

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100217669A1 (en) * 1999-06-10 2010-08-26 Gazdzinski Robert F Adaptive information presentation apparatus and methods
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)

* Cited by examiner, † Cited by third party
Title
刘长德: "照片后期处理更简单", 《电脑知识与技术》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156503A (en) * 2017-12-14 2018-06-12 北京奇艺世纪科技有限公司 A kind of method and device for generating present
CN108156503B (en) * 2017-12-14 2020-05-01 北京奇艺世纪科技有限公司 Method and device for generating gift
CN114969389A (en) * 2022-06-22 2022-08-30 北京城市网邻信息技术有限公司 Address selection template and data generation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN105302411B (en) 2019-10-08

Similar Documents

Publication Publication Date Title
CN104035947B (en) Point of interest recommend method and device, acquisition recommend method and the device of point of interest
CN102985901B (en) For for the axonometric chart of location Based service rendering objects in mobile device and the method and apparatus of relative content
US6832070B1 (en) System and method for aiding in antenna selections
US9582937B2 (en) Method, apparatus and computer program product for displaying an indication of an object within a current field of view
US11193786B2 (en) System and method for determining location
CN105191261B (en) Content Management in peer system
US8868289B2 (en) Vehicle location navigation system
CN103577207B (en) A kind of loading method and device of defined interface system median surface component
CN103247226B (en) A kind of determination method and apparatus of electronic chart
US20120102165A1 (en) Crowdsourcing location based applications and structured data for location based applications
CN105260466A (en) Picture pushing method and apparatus
CN106413041A (en) Mobile terminal cell dwelling method and apparatus
CN104462436A (en) Display method and device with real-scene weather information inquiring function
CN109844734B (en) Picture file management method, terminal and computer storage medium
KR20170102517A (en) Method and apparatus for determining an area to be superimposed on an image, image superimposing method and apparatus, image displaying method and apparatus
CN103294466B (en) Method and device for displaying background image of application
CN110460958A (en) Internet of Things broadcasting method, device, broadcasting station and storage medium
CN105718568A (en) Uniform interaction device and method of multiple applications
CN102202134A (en) Display method of weather forecast and mobile terminal
CN106875279A (en) Information-pushing method and device
US20180293249A1 (en) System and method for utilizing preferences to curate venues based on data
CN105302411A (en) Weather information display method, terminal and server
CN105243100B (en) Map rendering method provides the method and device of post-processing object information
CN102932436A (en) Remote sensing conference and collaborative plotting system and method, browser and server
CN107343035A (en) A kind of image acquiring method and system of identified geographic positional 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