CN101707748A - Picture adapting method and server - Google Patents

Picture adapting method and server Download PDF

Info

Publication number
CN101707748A
CN101707748A CN200910223683A CN200910223683A CN101707748A CN 101707748 A CN101707748 A CN 101707748A CN 200910223683 A CN200910223683 A CN 200910223683A CN 200910223683 A CN200910223683 A CN 200910223683A CN 101707748 A CN101707748 A CN 101707748A
Authority
CN
China
Prior art keywords
portable terminal
picture
server
information
duplicate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200910223683A
Other languages
Chinese (zh)
Inventor
林尤冲
邝宇锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200910223683A priority Critical patent/CN101707748A/en
Priority to PCT/CN2010/072627 priority patent/WO2010148799A1/en
Publication of CN101707748A publication Critical patent/CN101707748A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data

Abstract

The invention discloses a picture adapting method and a server. The method comprises the step of using the server to choose a picture duplicate corresponding to a mobile terminal in a plurality of pictures pre-stored in the server according to the mobile terminal information, after receiving picture request information and mobile terminal information from a mobile terminal, wherein a plurality of picture duplicates are a plurality of picture duplicates with different sizes after converting the sizes of original pictures required by the picture request information. The invention can rapidly adapt and respond to the pictures for different mobile terminals, improving the experience for mobile terminal user browsing the mobile pictures.

Description

Picture adapting method and server
Technical field
The present invention relates to the communications field, in particular to a kind of picture adapting method and server.
Background technology
Along with the development of Communication Technique and the arrival in 3G epoch, increasing portable terminal has possessed the function that inserts the Internet, and correspondingly, WAP site is also more and more, and mobile Internet has begun to form.Because the screen area of portable terminal is less, and the screen size of the portable terminal of different vendor's different model is different, this presents picture to the user for WAP site and has brought difficulty, and the screen size that the size of picture is greater than or less than portable terminal all can influence user's experience.
In the prior art, solve the problems referred to above in the following manner: the model of a large amount of portable terminals of server stores and screen size data, carried terminal type information when portable terminal sends request to server, after server obtains this mobile terminal screen size according to terminal models information, adjust the size and the terminal screen consistent size of picture, and adjusted picture is sent to portable terminal show.
Above method all needs to generate in real time picture at every turn when sending picture, and need special picture change server, a large amount of system resources have been expended, simultaneously, generate picture in real time and the interface interchange process between portal server and picture change server all can increase network delay, cause system responses slow, and, when the concurrent user measures when big, cause the machine of delaying easily, reduced user's experience.
At mobile portal in the correlation technique in the process of the picture request message of response terminal, all need to carry out the dimension of picture conversion at every turn, the problem that causes expending system resource, increase network delay and reduce the stability of a system does not propose effective solution at present as yet.
Summary of the invention
At mobile portal in the process of the picture request message of response terminal, all need to carry out the dimension of picture conversion at every turn, cause expending system resource, increase the problem of the network delay and the reduction stability of a system and propose the present invention, for this reason, main purpose of the present invention is to provide a kind of picture adapting method and server, one of to address the above problem at least.
To achieve these goals, according to an aspect of the present invention, a kind of picture adapting method is provided, after the information that receives from the picture request message of portable terminal and portable terminal, picture adapting method according to the present invention comprises: server is that portable terminal is selected in a plurality of picture duplicates that server stores in advance the picture duplicate corresponding to portable terminal according to the information of portable terminal, wherein, the picture duplicate of a plurality of picture duplicates a plurality of different sizes of original image after size conversion that are picture request message requests.
Preferably, server is that portable terminal is selected in a plurality of picture duplicates that server stores in advance before the picture duplicate corresponding to portable terminal according to the information of portable terminal, and said method also comprises: server is determined a plurality of mobile terminal screen sizes according to the information of all portable terminals of server stores; Server carries out size conversion according to a plurality of mobile terminal screen sizes to the original image that is stored in the server, and the picture duplicate after the storage conversion.
Preferably, server determines that according to the information of all portable terminals of server stores a plurality of mobile terminal screen sizes comprise: the percentage that server is occupied according to the information calculations different screen size of all portable terminals, and determine a plurality of mobile terminal screen sizes according to percentage; Perhaps, the percentage that server is occupied according to the information calculations different screen size of all portable terminals, and determine a plurality of mobile terminal screen sizes according to the occupation rate of market of percentage and all terminals.
Preferably, server is that portable terminal selects that the picture duplicate corresponding to portable terminal comprises in a plurality of picture duplicates that server stores in advance according to the information of portable terminal: whether the size of judging the original image in the server is greater than the screen size of portable terminal, if then server is that portable terminal is selected in a plurality of picture duplicates that server stores in advance the picture duplicate corresponding to portable terminal according to the information of portable terminal.
Preferably, under the situation of size smaller or equal to the screen size of portable terminal of the original image in judging server, server selects original image as the picture corresponding to portable terminal.
Preferably, server keeps the size conversion of original image depth-width ratio example according to a plurality of mobile terminal screen sizes commonly used to being stored in original image in the server.
Preferably, satisfy corresponding to the picture duplicate of portable terminal in a plurality of picture duplicates: the higher primary school of picture duplicate is in the wide and predetermined difference value of the wide screen smaller or equal to portable terminal of the height of the screen that equals portable terminal, the picture duplicate predetermined difference value smaller or equal to other picture duplicates in a plurality of picture duplicates, wherein, predetermined difference value is a|h-H|+b|w-W|, h is the height of picture duplicate, and H is the height of screen, and w is the wide of picture duplicate, W is the wide of screen, and a, b are predefined weights.
Preferably, server is that portable terminal is selected in a plurality of picture duplicates that server stores in advance after the picture duplicate corresponding to portable terminal according to the information of portable terminal, and said method also comprises: the information of server buffer portable terminal and corresponding to the corresponding relation between the picture duplicate of portable terminal.
Preferably, server is that portable terminal selects that the picture duplicate corresponding to portable terminal comprises in a plurality of picture duplicates that server stores in advance according to the information of portable terminal: server mates the information and the corresponding relation of portable terminal, if match the pairing picture duplicate of information of portable terminal, the picture duplicate that then is defined as the portable terminal selection is the picture duplicate that matches; Otherwise server is that portable terminal is selected in a plurality of picture duplicates the picture duplicate corresponding to the screen size of portable terminal according to the information of portable terminal.
Preferably, the information of portable terminal comprise following one of at least: the model of portable terminal, the screen size of portable terminal.
To achieve these goals, according to a further aspect in the invention, provide a kind of server.
Server according to the present invention comprises: mobile portal is used to receive from the picture request message of portable terminal and the information of portable terminal; Adaptation module, the information that is used for the portable terminal that receives according to mobile portal is that portable terminal is selected the picture duplicates of a plurality of picture duplicates of storage in advance corresponding to portable terminal, wherein, the picture duplicate of a plurality of picture duplicates a plurality of different sizes of original image after size conversion that are picture request message requests.
Preferably, above-mentioned server also comprises: end message database, the information that is used to store all portable terminals; The terminal data analysis module, the information that is used for all portable terminals of storing according to the end message database is determined a plurality of mobile terminal screen sizes; The picture modular converter is used for according to a plurality of mobile terminal screen sizes that the terminal data analysis module is determined the original image that is stored in server being carried out size conversion; Picture storage module is used to store the picture duplicate after the modular converter conversion.
Preferably, above-mentioned server also comprises: cache module is used for the information of buffer memory portable terminal and corresponding to the corresponding relation between the picture duplicate of portable terminal; It is that portable terminal is selected the picture duplicate of a plurality of picture duplicates of storage in advance corresponding to portable terminal that adaptation module also is used for according to the information of portable terminal and cache module stored relation.
Preferably, adaptation module also is used for the picture duplicate corresponding to portable terminal is sent to mobile portal; The picture duplicate corresponding to portable terminal from adaptation module that mobile portal also is used for receiving is sent to portable terminal.
By the present invention, a plurality of picture duplicates are stored in employing in advance in server, and after receiving request message, in a plurality of picture duplicates, select only picture duplicate for terminal, solved mobile portal in the process of the picture request message of response terminal, all need to carry out the dimension of picture conversion at every turn, the problem that causes expending system resource, increase network delay and reduce the stability of a system, can realize picture quick adaptive and response to different portable terminals, improve the experience that mobile phone users is browsed picture on the mobile portal.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart according to the picture adapting method of the embodiment of the invention;
Fig. 2 is the detail flowchart according to the picture adapting method of the embodiment of the invention;
Fig. 3 is the detail flowchart of the picture adapting method of example 1 according to the present invention;
Fig. 4 is the structured flowchart according to the server of the embodiment of the invention;
Fig. 5 is the detailed block diagram according to the server of the embodiment of the invention;
Fig. 6 is the server applied environment of the example 2 according to the present invention and the schematic diagram of server detailed structure.
Embodiment
Function was both stated
Consider problems of the prior art, the embodiment of the invention provides a kind of picture adaptation scheme, the treatment principle of this scheme is: server is that portable terminal is selected in a plurality of picture duplicates that server stores in advance the picture duplicate corresponding to portable terminal according to the information of portable terminal, wherein, the picture duplicate of a plurality of picture duplicates a plurality of different sizes of original image after size conversion that are picture request message requests.Can realize the quick adaptive of picture and respond different portable terminal by this scheme, improve the experience that mobile phone users is browsed picture on the mobile portal.
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Method embodiment
According to embodiments of the invention, a kind of picture adapting method is provided, Fig. 1 is the flow chart according to the picture adapting method of the embodiment of the invention, as shown in Figure 1, this method comprises the processing of following step S102 to step S104:
Step S102, server receive from the picture request message of portable terminal and the information of portable terminal.Preferably, also can in the picture request message, carry the information of portable terminal;
Step S104, server is that portable terminal is selected in a plurality of picture duplicates that server stores in advance the picture duplicate corresponding to portable terminal according to the information of portable terminal, wherein, the picture duplicate of a plurality of picture duplicates a plurality of different sizes of original image after size conversion that are picture request message requests.
Fig. 2 is the detail flowchart according to the picture adapting method of the embodiment of the invention, and as shown in Figure 2, this method can comprise the processing of following step S202 to step S210:
Step S202, server is determined a plurality of mobile terminal screen sizes according to the information of all portable terminals of server stores, preferably this process can comprise: the percentage that server is occupied according to the information calculations different screen size of all portable terminals, and determine a plurality of mobile terminal screen sizes according to percentage; Perhaps, the percentage that server is occupied according to the information calculations different screen size of all portable terminals, and determine a plurality of mobile terminal screen sizes according to the occupation rate of market of percentage and all terminals.
Step S204, server carries out size conversion according to a plurality of mobile terminal screen sizes to the original image that is stored in the server, and the picture duplicate after the storage conversion.Preferably, server can keep the size conversion of original image depth-width ratio example to being stored in original image in the server according to a plurality of mobile terminal screen sizes commonly used.
Step S206, server receive from the picture request message of portable terminal and the information of portable terminal, preferably, also can carry the information of portable terminal in the picture request message.The information of above-mentioned portable terminal can comprise following one of at least: the model of portable terminal, the screen size of portable terminal.
Step S208, server is that portable terminal is selected in a plurality of picture duplicates that server stores in advance the picture duplicate corresponding to portable terminal according to the information of portable terminal, wherein, the picture duplicate of a plurality of picture duplicates a plurality of different sizes of original image after size conversion that are picture request message requests.Preferably, server is that portable terminal selects that the picture duplicate corresponding to portable terminal comprises in a plurality of picture duplicates that server stores in advance according to the information of portable terminal: whether the size of judging the original image in the server is greater than the screen size of portable terminal, if then server is that portable terminal is selected in a plurality of picture duplicates that server stores in advance the picture duplicate corresponding to portable terminal according to the information of portable terminal.Preferably, under the situation of size smaller or equal to the screen size of portable terminal of the original image in judging server, server selects original image as the picture corresponding to portable terminal.Preferably, satisfy corresponding to the picture duplicate of portable terminal in a plurality of picture duplicates: the higher primary school of picture duplicate is in the wide and predetermined difference value of the wide screen smaller or equal to portable terminal of the height of the screen that equals portable terminal, the picture duplicate predetermined difference value smaller or equal to other picture duplicates in a plurality of picture duplicates, wherein, predetermined difference value is a|h-H|+b|w-W|, h is the height of picture duplicate, and H is the height of screen, and w is the wide of picture duplicate, W is the wide of screen, and a, b are predefined weights.
Preferably, among the step S208, server is that portable terminal selects that the picture duplicate corresponding to portable terminal can comprise in a plurality of picture duplicates that server stores in advance according to the information of portable terminal: server with the information of portable terminal and corresponding relation (promptly, before the information of the portable terminal of buffer memory and corresponding to the corresponding relation between the picture duplicate of portable terminal) mate, if match the pairing picture duplicate of information of portable terminal, the picture duplicate that then is defined as the portable terminal selection is the picture duplicate that matches; Otherwise server is that portable terminal is selected in a plurality of picture duplicates the picture duplicate corresponding to the screen size of portable terminal according to the information of portable terminal.
Step S210, the information of server buffer portable terminal and corresponding to the corresponding relation between the picture duplicate of portable terminal.
Preferably, above-mentioned server can be the server of mobile portal.
Be described in detail below in conjunction with the implementation procedure of example the embodiment of the invention.
Example 1
This case description the detailed process flow process of above-mentioned picture adapting method, Fig. 3 is the detail flowchart of the picture adapting method of example 1 according to the present invention, as shown in Figure 3, this method mainly may further comprise the steps:
Step 301 stores the terminal models information and/or the screen size information (can come the screen size of marking terminal by screen resolution) of portable terminal in the server.Amount of information in the database is the bigger the better, and should cover all main products of main flow portable terminal manufacturer at least, and screen size is the main information of paying close attention to, if but possible, occupation rate of market also can be used as a significant data when analyzing.Complete end message data can reach 20,000 terminal datas, and general on-the-spot database can have the data about 3000.
Step 302, server is analyzed terminal data, obtain the most frequently used N kind resolution as analysis result, above-mentioned N value can be configured according to actual conditions. and a kind of simple analysis process is only to add up the percentage of various screen resolutions in all screen resolution data, get the highest N kind resolution of percentage as analysis result. preferably, if also store the occupation rate of market data of terminal in the database, then can be with these data as weight, when rank, consider, and then obtain considering N kind resolution under the occupation rate of market situation. for example, under the situation of the N=4 that is provided with, obtaining the highest 4 kinds the resolution (wide * height) of percentage after by analysis is 128 * 128,128 * 160,176 * 220,240 * 320.
In this server, the function of manually adding data to analysis result can also be provided, can add some special resolution data, for example, 200 * 800.But in the ordinary course of things, need not manually to add special resolution, because analysis result has covered the terminal more than 90%, can satisfy exhausted most user, for minority according to the special terminal screen size of size, even if be not just consistent with screen size, but the picture that regulation is selected is no more than screen size, can guarantee that display effect can be too not poor.Such as: for screen size (wide * height) is 128 * 320 portable terminal, is its picture duplicate of selecting 128 * 160 specifications, and picture can not surpass screen size.
Step 303, server is converted to i the picture duplicate that is fit to i kind resolution according to the i kind resolution in the analysis result with the original image on the mobile portal, and is kept on the server, and wherein, i is positive integer and i<=N.
Particularly, server is converted to i duplicate (the high h of being, wide is w), the size conforms h of this duplicate≤H1, w≤W1 according to height (H1) and wide (W1) of the i kind resolution in the analysis result with the original image on the mobile portal.Preferably, the depth-width ratio example of this duplicate can be shown with former figure one and guarantees that the picture that the user watches is not out of shape.Consider that mobile terminal user Agent (User Agent) frame can occupy certain screen edge, h can be slightly littler than H.Preferably, under the situation of original image smaller or equal to the screen size of all terminals, can not carry out the size conversion of picture, at this moment, the picture duplicate is original image itself.
The picture duplicate that generates can (for example be organized according to certain catalogue, being placed under the same catalogue of i kind resolution), storage and uniform is on server, if used cluster, also can use special picture servers, use the static page server technology, performance has great raising.Requirement for memory space, common terminal size has: 128 * 128,128 * 160,176 * 220,240 * 320, with one big little be the former figure (602 * 1010) of 55.9K, generate resolution respectively and be 286 * 480,190 * 320,131 * 220,95 * 160 four pictures duplicates, size is respectively 16.3k, 8.9k, 5.35k, 3.4k, the memory space that takies is about 34k more, be no more than one times of former figure, so do not need a large amount of memory spaces, have good practicability.
For a width of cloth picture, only need when uploading, generate the duplicate of several different sizes in advance, just can reuse these picture duplicates.If 10,000 these width of cloth pictures of user capture use the method that generates in real time, need to generate 10,000 times in real time, the method for using the embodiment of the invention to provide only needs the pre-several times (being 4 times in this example) that generate.
Step 304, portable terminal to server (for example, mobile portal) information of transmission picture request message and portable terminal, wherein, the picture request message has been specified Target Photo, the information of portable terminal has been specified the employed portable terminal of user, the information of this portable terminal can comprise following one of at least: the model of portable terminal, the screen size of portable terminal.
Step 305, server (for example, mobile portal) after the information of the picture request message of mobile terminal receive and portable terminal (information that perhaps also can in the picture request message, comprise portable terminal), according to the Information Selection of portable terminal go out the Target Photo optimum j kind duplicate return to mobile portal.Particularly, said process can comprise the steps 1 processing to step 3:
Step 1, comprise in the information of portable terminal under the situation of model of portable terminal, find the screen size (can represent) of this terminal in the information of server according to all portable terminals of model (or model of the portable terminal in the picture request message) from be stored in server of portable terminal with resolution; Information at portable terminal comprises the screen size of portable terminal or not only comprises the model of portable terminal but also comprise under the situation of screen size that server can directly obtain the screen size (can represent with resolution) of this portable terminal.
Step 2, the photo resolution that server calculates this portable terminal the best according to the resolution of portable terminal (promptly, selection is corresponding to the picture duplicate of portable terminal) be the j kind resolution in the analysis result, the picture duplicate of this j kind resolution is the picture that feed back to portable terminal, and this terminal models and j kind resolution is established as best fitting relation (that is above-mentioned corresponding relation).Preferably, under the situation of screen size greater than original image of portable terminal, the photo resolution of this portable terminal the best is the resolution of original image.
As a concrete example, in step 2, best photo resolution satisfies: the higher primary school of picture duplicate is in the wide and predetermined difference value of the wide screen smaller or equal to portable terminal of the height of the screen that equals portable terminal, the picture duplicate predetermined difference value smaller or equal to other picture duplicates in a plurality of picture duplicates, wherein, predetermined difference value is a|h-H|+b|w-W|, h is the height of picture duplicate, H is the height of screen, w is the wide of picture duplicate, W is the wide of screen, a, b are predefined weights, and the value of above-mentioned a, b can be pre-configured according to actual conditions.
Need to prove, best photo resolution also can have other selective rule, for example, select the higher primary school that satisfies the picture duplicate wide picture duplicate earlier in the wide screen smaller or equal to portable terminal of the height of the screen that equals portable terminal and picture duplicate, calculate the difference of height (or wide) with the height (or wide) of picture duplicate of screen again, the resolution of selecting the picture duplicate of difference minimum is best photo resolution.
Step 3, server is put into cache blocks to this fitting relation, and double counting selection course again when read the fitting relation of same terminal model or terminal screen size next time more directly reads from buffer memory and gets final product.This process can comprise: the information (or the information of carrying portable terminal in the picture request message) that receives picture request message and portable terminal at server afterwards, in the fitting relation of buffer memory, mate earlier, determine whether to exist the resolution of picture duplicate of the information correspondence of this portable terminal, if, the resolution that then finds in fitting relation is the photo resolution of the best of this portable terminal, otherwise, determine the photo resolution of the best of this portable terminal by step 1 and step 2, preferably, after determining best photo resolution, execution in step 3.Can use lru algorithm during buffer memory, be about to least-recently-used data and go out buffer memory clearly, in order to avoid the too much internal memory of the system that takies, can adopt other algorithm yet, the embodiment of the invention does not limit this.
Step 306, server reads corresponding picture duplicate according to adaptive result and returns to portable terminal.
In above handling process, step 302 is an optional step, and under the situation that does not comprise step 302, step 303 can be dwindled original image different multiples and be obtained a plurality of picture duplicates, perhaps, changes or the like according to predefined size.
Need to prove, in above-mentioned example, represent size by resolution, in actual applications, can also be by other parameter (for example, height/width value cm) expression size.And, in above-mentioned example, the information of the portable terminal of server buffer and be that information by portable terminal and the fitting relation between the best photo resolution are represented corresponding to the corresponding relation between the picture duplicate of this portable terminal, preferably, numbering or the index that can also use the picture copy replace best photo resolution, can save spatial cache more like this.
Device embodiment
According to embodiments of the invention, a kind of server is provided, and Fig. 4 is the structured flowchart according to the server of the embodiment of the invention, as shown in Figure 4, this server comprises: mobile portal 42 is used to receive from the picture request message of portable terminal and the information of portable terminal; Adaptation module 44, be connected in mobile portal 42, the information that is used for the portable terminal that receives according to mobile portal 42 is that portable terminal is selected the picture duplicates of a plurality of picture duplicates of storage in advance corresponding to portable terminal, wherein, the picture duplicate of a plurality of picture duplicates a plurality of different sizes of original image after size conversion that are picture request message requests.
Fig. 5 is the detailed block diagram according to the server of the embodiment of the invention, and as shown in Figure 5, on the basis of Fig. 4, this server also comprises: end message database 52, the information that is used to store all portable terminals; Terminal data analysis module 54 is connected in end message database 52, is used for determining a plurality of mobile terminal screen sizes according to the information of all portable terminals of end message database 52 storage; Picture modular converter 56 is connected in terminal data analysis module 54, is used for according to a plurality of mobile terminal screen sizes that terminal data analysis module 54 is determined the original image that is stored in server being carried out size conversion; Picture storage module 58, be connected in picture modular converter 56 and adaptation module 44, be used to store the picture duplicate after modular converter 56 conversions. cache module 59, be connected in adaptation module 44, be used for the information of buffer memory portable terminal and corresponding to the corresponding relation between the picture duplicate of portable terminal; It is that portable terminal is selected the picture duplicate of a plurality of picture duplicates of storage in advance corresponding to portable terminal that adaptation module 44 also is used for according to the information of portable terminal and cache module 59 stored relation.
Preferably, adaptation module 44 also is used for the picture duplicate corresponding to portable terminal is sent to mobile portal 42; The picture duplicate corresponding to portable terminal from adaptation module 44 that mobile portal 42 also is used for receiving is sent to portable terminal.
Need to prove that the server of describing among the device embodiment is used to realize above-mentioned method embodiment, its concrete implementation method had been carried out detailed description in method embodiment, do not repeat them here.
Example 2
Fig. 6 is the server applied environment of the example 2 according to the present invention and the schematic diagram of server detailed structure, as shown in Figure 6, carry out mutual object with server and can comprise portable terminal 61, this server can comprise following several sections: mobile portal 62, end message database 63, terminal data analysis module 64, adaptation module 65, cache module 66, picture modular converter 67, picture storage module 68.Below introduce the function of above-mentioned various piece respectively:
Portable terminal 61: be used for sending picture request message and this terminal information (also can carry this terminal information at the picture request message, terminal information can comprise the model of terminal and/or the screen size of terminal) to mobile portal 62.
Mobile portal 62: one side is used for the picture request message of mobile terminal receive 61 and it is given to picture adaptation module 65 handles, and is used on the other hand a Target Photo that is fitted to is returned to portable terminal 61.
Adaptation module 65: be used to handle the picture request message that mobile portal 62 forwards, calculate fitting relation, be fitted to suitable picture duplicate and return to mobile portal 62.
Cache module 66: the optimal picture resolution fitting relation that is used for each terminal models correspondence of buffer memory.
End message database 63: be used to preserve portable terminal parameter information commonly used on the market, comprise terminal models and screen resolution (being used to represent screen size).
Terminal data analysis module 64: be used for regularly the resolution of end message database 63 being analyzed, draw the most frequently used several resolution.
Picture modular converter 67: be used for the picture on the mobile portal being converted to the duplicate that meets several resolution demonstrations according to the analysis result of terminal data analysis module 64.
Picture storage module 68: be used to deposit the picture duplicate after the conversion.
The course of work of each part mentioned above comprises the steps:
Step 401 is set up end message database 63, should comprise the terminal models information and/or the screen resolution information of portable terminal in the database;
Step 402,64 pairs of terminal datas of terminal data analysis module are analyzed, and obtain the most frequently used N kind resolution as analysis result;
Step 403, picture modular converter 67 is converted to suitable N duplicate of this resolution according to the N kind resolution in the analysis result with the original image on the mobile portal and is kept on the picture storage module 68.
Step 404, portable terminal 61 sends picture request message and terminal models information to mobile portal 62.
Step 405, the request message of mobile portal 62 mobile terminal receives 61 are given adaptation module 65 and are handled, and return to portable terminal 61 according to adaptive result from the picture duplicate that picture storage module 68 reads correspondence.
Step 406, adaptation module 65 receives the solicited message that mobile portals 62 forward, according to solicited message adaptive go out the Target Photo optimum N kind duplicate return to mobile portal 62.
Step 407, cache module 66 leaves the fitting relation result of the calculating of adaptation module 65 in the high-speed internal memory in, inquiry when adaptive once more.
In sum, the scheme that the embodiment of the invention provides has reduced the system resource use amount when picture is adaptive to be moved by in advance terminal data being analyzed and generated in advance the picture duplicate of different size, has improved the adaptive speed of picture.
Need to prove, can in computer system, carry out in the step shown in the flow chart of accompanying drawing such as a set of computer-executable instructions, and, though there is shown logical order in flow process, but in some cases, can carry out step shown or that describe with the order that is different from herein.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. picture adapting method after the information that receives from the picture request message of portable terminal and described portable terminal, is characterized in that described method comprises:
Server is that described portable terminal is selected in a plurality of picture duplicates that described server stores in advance the picture duplicate corresponding to described portable terminal according to the information of described portable terminal, wherein, the picture duplicate of the described a plurality of picture duplicate a plurality of different sizes of original image after size conversion that are described picture request message requests.
2. method according to claim 1, it is characterized in that, described server is that described portable terminal is selected in described a plurality of picture duplicates that described server stores in advance before the picture duplicate corresponding to described portable terminal according to the information of described portable terminal, and described method also comprises:
Described server is determined a plurality of mobile terminal screen sizes according to the information of all portable terminals of described server stores;
Described server carries out size conversion according to described a plurality of mobile terminal screen sizes to the original image that is stored in the described server, and the picture duplicate after the storage conversion.
3. method according to claim 2 is characterized in that, described server determines that according to the information of all portable terminals of described server stores described a plurality of mobile terminal screen size comprises:
The percentage that described server is occupied according to the information calculations different screen size of described all portable terminals, and determine described a plurality of mobile terminal screen size according to described percentage; Perhaps,
The percentage that described server is occupied according to the information calculations different screen size of described all portable terminals, and determine described a plurality of mobile terminal screen size according to the occupation rate of market of described percentage and described all terminals.
4. method according to claim 1 is characterized in that, described server is that described portable terminal selects that the picture duplicate corresponding to described portable terminal comprises in a plurality of picture duplicates that described server stores in advance according to the information of described portable terminal:
Whether the size of judging the original image in the described server is greater than the screen size of described portable terminal, if then described server is that described portable terminal is selected in a plurality of picture duplicates that described server stores in advance the picture duplicate corresponding to described portable terminal according to the information of described portable terminal.
5. method according to claim 4, it is characterized in that, under the situation of size smaller or equal to the screen size of described portable terminal of the original image in judging described server, described server selects described original image as the picture corresponding to described portable terminal.
6. method according to claim 2 is characterized in that, described server keeps the size conversion of original image depth-width ratio example according to described a plurality of mobile terminal screen sizes commonly used to being stored in original image in the described server.
7. method according to claim 1, it is characterized in that, picture duplicate corresponding to described portable terminal in described a plurality of picture duplicate satisfies: the higher primary school of picture duplicate is in the height of the screen that equals described portable terminal, the wide screen smaller or equal to described portable terminal of picture duplicate wide, and predetermined difference value is smaller or equal to the predetermined difference value of other picture duplicates in described a plurality of picture duplicates, wherein, described predetermined difference value is a|h-H|+b|w-W|, h is the height of picture duplicate, H is the height of described screen, w is the wide of picture duplicate, W is the wide of described screen, a, b is predefined weights.
8. method according to claim 1, it is characterized in that, described server is that described portable terminal is selected in a plurality of picture duplicates that described server stores in advance after the picture duplicate corresponding to described portable terminal according to the information of described portable terminal, and described method also comprises:
The information of the described portable terminal of described server buffer and described corresponding to the corresponding relation between the picture duplicate of described portable terminal.
9. method according to claim 8 is characterized in that, described server is that described portable terminal selects that the picture duplicate corresponding to described portable terminal comprises in a plurality of picture duplicates that described server stores in advance according to the information of described portable terminal:
Described server mates the information and the described corresponding relation of described portable terminal, if match the pairing picture duplicate of information of described portable terminal, the picture duplicate that then is defined as described portable terminal selection is the picture duplicate that matches; Otherwise described server is that described portable terminal is selected in described a plurality of picture duplicate the picture duplicate corresponding to the screen size of described portable terminal according to the information of described portable terminal.
10. according to each described method in the claim 1 to 9, it is characterized in that, the information of described portable terminal comprise following one of at least: the model of described portable terminal, the screen size of described portable terminal.
11. a server is characterized in that, comprising:
Mobile portal is used to receive from the picture request message of portable terminal and the information of described portable terminal;
Adaptation module, the information that is used for the described portable terminal that receives according to described mobile portal is that described portable terminal is selected the picture duplicates of a plurality of picture duplicates of storage in advance corresponding to described portable terminal, wherein, the picture duplicate of the described a plurality of picture duplicate a plurality of different sizes of original image after size conversion that are described picture request message requests.
12. server according to claim 11 is characterized in that, described server also comprises:
The end message database, the information that is used to store all portable terminals;
The terminal data analysis module, the information that is used for described all portable terminals of storing according to described end message database is determined a plurality of mobile terminal screen sizes;
The picture modular converter is used for according to described a plurality of mobile terminal screen sizes that the terminal data analysis module is determined the original image that is stored in server being carried out size conversion;
Picture storage module is used to store the picture duplicate after described modular converter conversion.
13. server according to claim 11 is characterized in that, described server also comprises:
Cache module is used for the information of the described portable terminal of buffer memory and described corresponding to the corresponding relation between the picture duplicate of described portable terminal;
The described corresponding relation that described adaptation module also is used for according to the information of described portable terminal and the storage of described cache module is that described portable terminal is selected the picture duplicate of a plurality of picture duplicates of storage in advance corresponding to described portable terminal.
14. according to each described server in the claim 11 to 13, it is characterized in that,
Described adaptation module also is used for the picture duplicate corresponding to described portable terminal is sent to described mobile portal;
The picture duplicate corresponding to described portable terminal from described adaptation module that described mobile portal also is used for receiving is sent to described portable terminal.
CN200910223683A 2009-11-24 2009-11-24 Picture adapting method and server Pending CN101707748A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200910223683A CN101707748A (en) 2009-11-24 2009-11-24 Picture adapting method and server
PCT/CN2010/072627 WO2010148799A1 (en) 2009-11-24 2010-05-11 Image adapting method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910223683A CN101707748A (en) 2009-11-24 2009-11-24 Picture adapting method and server

Publications (1)

Publication Number Publication Date
CN101707748A true CN101707748A (en) 2010-05-12

Family

ID=42377913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910223683A Pending CN101707748A (en) 2009-11-24 2009-11-24 Picture adapting method and server

Country Status (2)

Country Link
CN (1) CN101707748A (en)
WO (1) WO2010148799A1 (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307228A (en) * 2011-07-08 2012-01-04 宇龙计算机通信科技(深圳)有限公司 Adapting method and system for mobile terminal resource as well as mobile terminal and server
CN102546793A (en) * 2011-12-31 2012-07-04 广州杰赛科技股份有限公司 Self-adaption method and system of mobile terminal based on cloud computing
CN102572204A (en) * 2010-12-20 2012-07-11 ***通信集团浙江有限公司 Method and device for obtaining comics adaptive to terminal screen resolution
CN102684986A (en) * 2011-04-14 2012-09-19 天脉聚源(北京)传媒科技有限公司 Method and system for displaying pictures at terminal
WO2013060144A1 (en) * 2011-10-27 2013-05-02 腾讯科技(深圳)有限公司 Method for browsing webpage picture and client device
CN103136208A (en) * 2011-11-23 2013-06-05 腾讯科技(深圳)有限公司 Method for displaying images and device for displaying images
CN103593820A (en) * 2013-11-27 2014-02-19 深圳市金立通信设备有限公司 Method for picture processing and terminal
CN103634343A (en) * 2012-08-22 2014-03-12 腾讯科技(上海)有限公司 Wallpaper arranging method and terminal
CN104461417A (en) * 2013-09-23 2015-03-25 北大方正集团有限公司 Server and display method
CN105282255A (en) * 2015-11-03 2016-01-27 广州视源电子科技股份有限公司 Image transmission method and system
CN105450837A (en) * 2014-08-29 2016-03-30 阿里巴巴集团控股有限公司 Method and apparatus for displaying CDN image adaptively on terminal device
CN105761205A (en) * 2016-03-17 2016-07-13 网易有道信息技术(北京)有限公司 Picture delivery method and device
CN106603634A (en) * 2016-11-29 2017-04-26 北海高创电子信息孵化器有限公司 Multi-screen response type website set-up system
CN106843876A (en) * 2017-01-19 2017-06-13 惠州Tcl移动通信有限公司 A kind of application program uploading pictures method and system based on mobile terminal
CN107748688A (en) * 2017-09-30 2018-03-02 微梦创科网络科技(中国)有限公司 A kind of information displaying method and device
CN108377401A (en) * 2018-02-26 2018-08-07 上海康斐信息技术有限公司 A kind of page pictures display methods and system based on set-top box
CN109254653A (en) * 2018-08-15 2019-01-22 厦门美图之家科技有限公司 A kind of material matching process calculates equipment and storage medium
CN109936504A (en) * 2019-02-21 2019-06-25 Oppo广东移动通信有限公司 Method, apparatus, server apparatus and the storage medium of picture presentation
CN109981728A (en) * 2019-02-02 2019-07-05 珠海天燕科技有限公司 It is a kind of to be adapted to multimedia providing method and device
CN110427581A (en) * 2018-04-26 2019-11-08 北大方正集团有限公司 Issue picture adapting method and device in contribution multiple terminals
CN111259276A (en) * 2020-01-10 2020-06-09 北京字节跳动网络技术有限公司 Method and device for displaying title content, electronic equipment and storage medium
CN111562895A (en) * 2020-03-25 2020-08-21 北京字节跳动网络技术有限公司 Multimedia information display method and device and electronic equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262797B (en) * 2015-09-17 2019-03-15 北京金山安全软件有限公司 Music file loading method and related equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE513804C2 (en) * 1999-06-28 2000-11-06 Ericsson Telefon Ab L M Method and device in a telecommunication system
CN1585516A (en) * 2004-06-02 2005-02-23 卓望数码技术(深圳)有限公司 Preadapting universal multimedia short-message telecommunicating method
JP2009009334A (en) * 2007-06-27 2009-01-15 Ricoh Co Ltd Image processor, image processing method, and image processing program

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572204A (en) * 2010-12-20 2012-07-11 ***通信集团浙江有限公司 Method and device for obtaining comics adaptive to terminal screen resolution
CN102684986B (en) * 2011-04-14 2015-02-11 天脉聚源(北京)传媒科技有限公司 Method and system for displaying pictures at terminal
CN102684986A (en) * 2011-04-14 2012-09-19 天脉聚源(北京)传媒科技有限公司 Method and system for displaying pictures at terminal
CN102307228A (en) * 2011-07-08 2012-01-04 宇龙计算机通信科技(深圳)有限公司 Adapting method and system for mobile terminal resource as well as mobile terminal and server
WO2013060144A1 (en) * 2011-10-27 2013-05-02 腾讯科技(深圳)有限公司 Method for browsing webpage picture and client device
US10015284B2 (en) 2011-10-27 2018-07-03 Tencent Technology (Shenzhen) Company Limited Method for browsing webpage picture and client device therefor
CN103136208B (en) * 2011-11-23 2016-03-30 腾讯科技(深圳)有限公司 A kind of method of Showing Picture and device
CN103136208A (en) * 2011-11-23 2013-06-05 腾讯科技(深圳)有限公司 Method for displaying images and device for displaying images
CN102546793B (en) * 2011-12-31 2015-01-28 广州杰赛科技股份有限公司 Self-adaption method and system of mobile terminal based on cloud computing
CN102546793A (en) * 2011-12-31 2012-07-04 广州杰赛科技股份有限公司 Self-adaption method and system of mobile terminal based on cloud computing
CN103634343A (en) * 2012-08-22 2014-03-12 腾讯科技(上海)有限公司 Wallpaper arranging method and terminal
CN104461417A (en) * 2013-09-23 2015-03-25 北大方正集团有限公司 Server and display method
CN104461417B (en) * 2013-09-23 2018-03-23 北大方正集团有限公司 Server and display methods
CN103593820A (en) * 2013-11-27 2014-02-19 深圳市金立通信设备有限公司 Method for picture processing and terminal
CN105450837A (en) * 2014-08-29 2016-03-30 阿里巴巴集团控股有限公司 Method and apparatus for displaying CDN image adaptively on terminal device
CN105282255A (en) * 2015-11-03 2016-01-27 广州视源电子科技股份有限公司 Image transmission method and system
CN105761205A (en) * 2016-03-17 2016-07-13 网易有道信息技术(北京)有限公司 Picture delivery method and device
CN105761205B (en) * 2016-03-17 2018-12-11 网易有道信息技术(北京)有限公司 A kind of picture put-on method and device
CN106603634A (en) * 2016-11-29 2017-04-26 北海高创电子信息孵化器有限公司 Multi-screen response type website set-up system
CN106843876A (en) * 2017-01-19 2017-06-13 惠州Tcl移动通信有限公司 A kind of application program uploading pictures method and system based on mobile terminal
CN107748688A (en) * 2017-09-30 2018-03-02 微梦创科网络科技(中国)有限公司 A kind of information displaying method and device
CN107748688B (en) * 2017-09-30 2021-05-11 微梦创科网络科技(中国)有限公司 Information display method and device
CN108377401A (en) * 2018-02-26 2018-08-07 上海康斐信息技术有限公司 A kind of page pictures display methods and system based on set-top box
CN110427581A (en) * 2018-04-26 2019-11-08 北大方正集团有限公司 Issue picture adapting method and device in contribution multiple terminals
CN109254653A (en) * 2018-08-15 2019-01-22 厦门美图之家科技有限公司 A kind of material matching process calculates equipment and storage medium
CN109254653B (en) * 2018-08-15 2021-09-07 厦门美图之家科技有限公司 Material matching method, computing device and storage medium
CN109981728A (en) * 2019-02-02 2019-07-05 珠海天燕科技有限公司 It is a kind of to be adapted to multimedia providing method and device
CN109936504A (en) * 2019-02-21 2019-06-25 Oppo广东移动通信有限公司 Method, apparatus, server apparatus and the storage medium of picture presentation
CN109936504B (en) * 2019-02-21 2021-10-26 Oppo广东移动通信有限公司 Picture display method and device, server equipment and storage medium
CN111259276A (en) * 2020-01-10 2020-06-09 北京字节跳动网络技术有限公司 Method and device for displaying title content, electronic equipment and storage medium
CN111562895A (en) * 2020-03-25 2020-08-21 北京字节跳动网络技术有限公司 Multimedia information display method and device and electronic equipment
CN111562895B (en) * 2020-03-25 2023-09-22 抖音视界有限公司 Multimedia information display method and device and electronic equipment

Also Published As

Publication number Publication date
WO2010148799A1 (en) 2010-12-29

Similar Documents

Publication Publication Date Title
CN101707748A (en) Picture adapting method and server
WO2017167050A1 (en) Configuration information generation and transmission method, and resource loading method, apparatus and system
EP3399435A1 (en) Method and device for processing short link, and short link server
CN103718171B (en) Optimize WEB with user's history to crawl
CN108055302B (en) Picture caching processing method and system and server
CN103812888A (en) Information pushing, receiving and transmitting method, server, client and system
JP4913777B2 (en) Web page distribution system
CN102684986B (en) Method and system for displaying pictures at terminal
CN103312733B (en) Information processing method and device
CN103729438A (en) Webpage preloading method and device
CN102779063A (en) Method for providing application invocation and server
CN111092877A (en) Data processing method and device, electronic equipment and storage medium
CN102750291A (en) User customized analysis device, communication terminal, and method and system for internet access thereof
CN101662454A (en) Method, device and system for image processing in internet
CN104346345A (en) Data storage method and device
CN105512227A (en) Webpage data loading method and system
CN106777143A (en) A kind of news Aggreagation method and news Aggreagation server
CN110287444B (en) Website detection method and device and storage medium
CN110888672B (en) Expression engine implementation method and system based on metadata architecture
CN107592553B (en) Image compression agent balance processing method and device
CN201585139U (en) Mobile terminal graph adapting system
CN106294417A (en) A kind of data reordering method, device and electronic equipment
CN109561152B (en) Data access request response method, device, terminal and storage medium
CN107153574A (en) Picture code-transferring method and system
CN111444249A (en) User portrait generation method, device and equipment based on thermal data and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100512