CN104504107A - Search picture display method and device - Google Patents

Search picture display method and device Download PDF

Info

Publication number
CN104504107A
CN104504107A CN201410843272.8A CN201410843272A CN104504107A CN 104504107 A CN104504107 A CN 104504107A CN 201410843272 A CN201410843272 A CN 201410843272A CN 104504107 A CN104504107 A CN 104504107A
Authority
CN
China
Prior art keywords
picture
size
needed
background color
main background
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
CN201410843272.8A
Other languages
Chinese (zh)
Other versions
CN104504107B (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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410843272.8A priority Critical patent/CN104504107B/en
Publication of CN104504107A publication Critical patent/CN104504107A/en
Application granted granted Critical
Publication of CN104504107B publication Critical patent/CN104504107B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/5838Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information

Abstract

The invention provides a search picture display method and device. The search picture display method comprises the following steps that the size of a picture captured by a search engine is obtained, wherein the picture is obtained through the search of the search engine according to search key words input by a user; when the size of the picture is smaller than the size required by the front end display, the major base color of the picture is recognized; the major base color is filled at the edge of at least one edge of four edges of the picture according to the size required by the front end display, so that the size of the picture filled with the major base color is identical to the size required by the front end display; the picture filled with the major base color is displayed. The method and the device have the advantages that the utilization rate of picture materials captured by the search engine can be improved, and the picture material loss is reduced.

Description

The methods of exhibiting of search pictures and device
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of methods of exhibiting and device of search pictures.
Background technology
At current searching engine field, along with user is to the continuous rising of picture demand, in Search Results (comprising natural result and ad result) or net alliance, the quantity of front end picture presentation gets more and more, and Search Results or net alliance front end need the picture pattern represented to be all generally the picture pattern that size and ratio are fixed.
But in prior art, a lot of search engine collecting figure sheet material of coming needs the size of the picture shown and ratio to differ larger with front end due to size and ratio, cannot be scaled to the picture that applicable front end is shown, thus the figure sheet material causing a lot of search engine collecting to be come cannot use and loss figure sheet material.
Summary of the invention
Object of the present invention is intended to solve one of technical matters in correlation technique at least to a certain extent.
For this reason, first object of the present invention is the methods of exhibiting proposing a kind of search pictures.Pass through the method, when the size of the picture of search engine collecting is less than the size needed for the displaying of front end, size needed for showing according to front end outer rim at least on one side in four limits of above-mentioned picture fills the main background color of this picture, measure-alike needed for showing with the size of the picture after making the above-mentioned main background color of filling and front end, thus the utilization factor of the figure sheet material of search engine collecting can be improved, reduce the loss of figure sheet material.
Second object of the present invention is the exhibiting device proposing a kind of search pictures.
To achieve these goals, the methods of exhibiting of the search pictures of first aspect present invention embodiment, comprising: the size obtaining the picture of search engine collecting, and described picture is that the search keyword search that described search engine inputs according to user obtains; When the size of described picture is less than the size needed for the displaying of front end, identify the main background color of described picture; Size needed for showing according to described front end outer rim at least on one side in four limits of described picture fills described main background color, measure-alike needed for showing with the size and described front end that make the picture of the described main background color of filling; Show the picture after filling described main background color.
The methods of exhibiting of the search pictures of the embodiment of the present invention, when the size of the picture of search engine collecting is less than the size needed for the displaying of front end, identify the main background color of above-mentioned picture, then the outer rim at least on one side in four limits of above-mentioned picture of the size needed for showing according to front end fills the main background color of this picture, measure-alike needed for showing with the size of the picture after making the above-mentioned main background color of filling and front end, thus the utilization factor of the figure sheet material of search engine collecting can be improved, reduce the loss of figure sheet material.
To achieve these goals, the exhibiting device of a kind of search pictures of second aspect present invention embodiment, comprise: acquisition module, for obtaining the size of the picture of search engine collecting, described picture is that the search keyword search that described search engine inputs according to user obtains; Identification module, during for being less than the size needed for the displaying of front end when the size of the picture that described acquisition module obtains, identifies the main background color of described picture; Packing module, the main background color of described identification module identification is filled, measure-alike needed for showing with the size and described front end that make the picture of the described main background color of filling for the outer rim at least on one side in four limits of described picture of the size needed for showing according to described front end; Display module, for showing that described packing module fills the picture after described main background color.
The exhibiting device of the search pictures of the embodiment of the present invention, when the size of the picture of search engine collecting is less than the size needed for the displaying of front end, the main background color of the above-mentioned picture of identification module identification, then packing module show according to front end needed for size outer rim at least on one side in four limits of above-mentioned picture fill the main background color of this picture, measure-alike needed for showing with the size of the picture after making the above-mentioned main background color of filling and front end, thus the utilization factor of the figure sheet material of search engine collecting can be improved, reduce the loss of figure sheet material.
The aspect that the present invention adds and advantage will part provide in the following description, and part will become obvious from the following description, or be recognized by practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or additional aspect and advantage will become obvious and easy understand from the following description of the accompanying drawings of embodiments, wherein:
Fig. 1 is the process flow diagram of a methods of exhibiting embodiment of search pictures of the present invention;
Fig. 2 is the schematic diagram of a methods of exhibiting example of search pictures of the present invention;
Fig. 3 is the schematic diagram of another example of methods of exhibiting of search pictures of the present invention;
Fig. 4 is the structural representation of an exhibiting device embodiment of search pictures of the present invention;
Fig. 5 is the structural representation of another embodiment of exhibiting device of search pictures of the present invention.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.On the contrary, embodiments of the invention comprise fall into attached claims spirit and intension within the scope of all changes, amendment and equivalent.
Fig. 1 is the process flow diagram of a methods of exhibiting embodiment of search pictures of the present invention, and as shown in Figure 1, the methods of exhibiting of this search pictures can comprise:
Step 101, obtains the size of the picture of search engine collecting, and above-mentioned picture is that the search keyword search that search engine inputs according to user obtains.
Step 102, when the size of above-mentioned picture is less than the size needed for the displaying of front end, identifies the main background color of above-mentioned picture.
Step 103, the above-mentioned main background color of outer rim filling at least in four limits of above-mentioned picture of the size needed for showing according to front end, measure-alike needed for showing with the size and front end that make the picture of the above-mentioned main background color of filling.
Step 104, shows the picture after filling above-mentioned main background color.
That is, when the size of above-mentioned picture is less than the size needed for the displaying of front end, can identify the main background color of this picture, then the outer rim at least on one side in four limits of above-mentioned picture of the size needed for showing according to front end fills above-mentioned main background color, measure-alike needed for showing with the size and front end that make the picture of the above-mentioned main background color of filling.
Particularly, if the longer sides of this picture and the length compared with minor face are all less than the length of corresponding edge in the size needed for the displaying of front end, then all fill above-mentioned main background color in the outer rim on four limits of this picture, as shown in Figure 2, Fig. 2 is the schematic diagram of a methods of exhibiting example of search pictures of the present invention.In Fig. 2, the main background color of picture is black, and the longer sides of this picture and compared with the length of minor face be all less than front end show needed for size in the length of corresponding edge, so all fill black in the outer rim on four limits of this picture, to extend the longer sides of this picture and the length compared with minor face, make the longer sides of the picture after filling black and the length compared with minor face show with front end needed for size in the length of corresponding edge identical, thus make the picture after filling black meet the requirement of the size needed for the displaying of front end, decrease the loss of figure sheet material.
If the length of the longer sides of this picture show with front end needed for size in the length of corresponding edge identical, and this picture compared with the length of minor face be less than front end show needed for size in the length of corresponding edge, then fill above-mentioned main background color in the outer rim of two longer sides of this picture, as shown in Figure 3, Fig. 3 is the schematic diagram of another example of methods of exhibiting of search pictures of the present invention.3 width pictures in Fig. 3 are all that the length of corresponding edge in the size needed for the length of longer sides is shown with front end is identical, but compared with the length of minor face be less than front end show needed for size in the length of corresponding edge, so fill the main background color of picture in the outer rim of two longer sides of picture, to extend the length compared with minor face, make the length compared with minor face of the picture after the main background color of filling show with front end needed for size in the length of corresponding edge identical, thus make the picture after the main background color of filling meet the requirement of the size needed for the displaying of front end, decrease the loss of figure sheet material.
In the present embodiment, the methods of exhibiting of above-mentioned search pictures can also comprise: the ratio obtaining the picture of search engine collecting, and wherein, above-mentioned picture is that the search keyword search that search engine inputs according to user obtains; When the size of above-mentioned picture be greater than front end show needed for size, and the ratio of above-mentioned picture show from front end needed for ratio different time, identify the main background color of above-mentioned picture.Further, before in four limits of size at above-mentioned picture needed for showing according to front end, outer rim at least on one side fills main background color, size needed for can also showing according to front end reduce above-mentioned picture, with make above-mentioned picture longer sides and compared with the length of minor face be all less than or equal to front end show needed for size in the length of corresponding edge.At this moment, show according to front end needed for size outer rim at least in four limits of above-mentioned picture fill above-mentioned main background color can be for: the above-mentioned main background color of outer rim filling at least on one side in four limits of the picture of size after reducing needed for showing according to front end.
That is, when the size of the picture of search engine collecting be greater than front end show needed for size, and the ratio of above-mentioned picture show from front end needed for ratio different time, only the object that process cannot reach the size needed for the displaying of applicable front end is reduced to picture, the size needed for first showing according to front end is needed to reduce above-mentioned picture, make above-mentioned picture longer sides and compared with the length of minor face be all less than or equal to front end show needed for size in the length of corresponding edge, and then outer rim at least on one side fills above-mentioned main background color in four limits of the picture of size after reducing needed for showing according to front end.
Particularly, if the longer sides of the picture after reducing and the length compared with minor face be all less than front end show needed for size in the length of corresponding edge, then the outer rim on four limits of the picture after reducing all fills above-mentioned main background color, as shown in Figure 2; And if the length of the longer sides of picture after reducing show with front end needed for size in the length of corresponding edge identical, and picture after reducing compared with the length of minor face be less than front end show needed for size in the length of corresponding edge, the outer rim of two longer sides of the picture then after reducing fills above-mentioned main background color, as shown in Figure 3.
Further, in the present embodiment, in step 102, before identifying the main background color of above-mentioned picture, can also according to the size of screen of the equipment running above-mentioned search engine obtain above-mentioned front end show needed for size; Size needed for the displaying of above-mentioned front end is less than or equal to the size of above-mentioned screen.Wherein, the equipment running above-mentioned search engine can be portable smart machine, such as: smart mobile phone or panel computer etc., also can be PC (Personal Computer; Hereinafter referred to as: PC).
And the size working as the picture of search engine collecting is greater than the size needed for the displaying of front end, but the ratio of above-mentioned picture show with front end needed for ratio identical time, process can be reduced to reach the object of the size needed for the displaying of applicable front end, at this moment just without the need to being picture filling background color to picture.
In addition, when the size of the picture of search engine collecting be less than front end show needed for size, but the ratio of above-mentioned picture show with front end needed for ratio identical time, also can carry out amplifying process to reach the object of the size needed for the displaying of applicable front end to picture, but this may affect the sharpness of picture, method provided by the invention is still adopted to be that main background color filled by picture better.
It should be noted that, in the present embodiment, the main body performing said method can be search engine, also can be an independently device, and such as: third party software, the form of the present embodiment to the main body performing said method is not construed as limiting.
In above-described embodiment, when the size of the picture of search engine collecting is less than the size needed for the displaying of front end, identify the main background color of above-mentioned picture, then the outer rim at least on one side in four limits of above-mentioned picture of the size needed for showing according to front end fills the main background color of this picture, measure-alike needed for showing with the size of the picture after making the above-mentioned main background color of filling and front end, thus the utilization factor of the figure sheet material of search engine collecting can be improved, reduce the loss of figure sheet material.
Fig. 4 is the structural representation of an exhibiting device embodiment of search pictures of the present invention, the exhibiting device of the search pictures in the present embodiment can realize the present invention's flow process embodiment illustrated in fig. 1, as shown in Figure 4, the exhibiting device of this search pictures can comprise: acquisition module 41, identification module 42, packing module 43 and display module 44;
Acquisition module 41, for obtaining the size of the picture of search engine collecting, above-mentioned picture is that the search keyword search that search engine inputs according to user obtains;
Identification module 42, during for being less than the size needed for the displaying of front end when the size of the picture that acquisition module 41 obtains, identifies the main background color of above-mentioned picture;
Packing module 43, fills the main background color of identification module 42 identification for the size outer rim at least in four limits of above-mentioned picture needed for showing according to front end, measure-alike needed for showing with the size and front end that make the picture of the above-mentioned main background color of filling;
Display module 44, for showing that packing module 43 fills the picture after above-mentioned main background color.
That is, when the size of above-mentioned picture is less than the size needed for the displaying of front end, identification module 42 can identify the main background color of this picture, then packing module 43 show according to front end needed for size outer rim at least on one side in four limits of above-mentioned picture fill above-mentioned main background color, measure-alike needed for showing with the size and front end that make the picture of the above-mentioned main background color of filling.
Particularly, if the longer sides of this picture and the length compared with minor face be all less than front end show needed for size in the length of corresponding edge, then packing module 43 all fills above-mentioned main background color in the outer rim on four limits of this picture, as shown in Figure 2.In Fig. 2, the main background color of picture is black, and the longer sides of this picture and compared with the length of minor face be all less than front end show needed for size in the length of corresponding edge, so packing module 43 all fills black in the outer rim on four limits of this picture, to extend the longer sides of this picture and the length compared with minor face, make the longer sides of the picture after filling black and the length compared with minor face show with front end needed for size in the length of corresponding edge identical, thus make the picture after filling black meet the requirement of the size needed for the displaying of front end, decrease the loss of figure sheet material.
If the length of the longer sides of this picture show with front end needed for size in the length of corresponding edge identical, and this picture compared with the length of minor face be less than front end show needed for size in the length of corresponding edge, then packing module 43 fills above-mentioned main background color in the outer rim of two longer sides of this picture, as shown in Figure 3.3 width pictures in Fig. 3 are all that the length of corresponding edge in the size needed for the length of longer sides is shown with front end is identical, but compared with the length of minor face be less than front end show needed for size in the length of corresponding edge, so packing module 43 fills the main background color of picture in the outer rim of two longer sides of picture, to extend the length compared with minor face, make the length compared with minor face of the picture after the main background color of filling show with front end needed for size in the length of corresponding edge identical, thus make the picture after the main background color of filling meet the requirement of the size needed for the displaying of front end, decrease the loss of figure sheet material.
Further, in the present embodiment, acquisition module 41, also for identify above-mentioned picture at identification module 42 main background color before, according to the size of screen of the equipment running above-mentioned search engine obtain front end show needed for size; Size needed for the displaying of above-mentioned front end is less than or equal to the size of above-mentioned screen.
In the present embodiment, the exhibiting device of above-mentioned search pictures can be search engine, also can be an independently device, and such as: third party software, the form of the present embodiment to the exhibiting device of above-mentioned search pictures is not construed as limiting.
The exhibiting device of above-mentioned search pictures, when the size of the picture of search engine collecting is less than the size needed for the displaying of front end, identification module 42 identifies the main background color of above-mentioned picture, then packing module 43 show according to front end needed for size outer rim at least on one side in four limits of above-mentioned picture fill the main background color of this picture, measure-alike needed for showing with the size of the picture after making the above-mentioned main background color of filling and front end, thus the utilization factor of the figure sheet material of search engine collecting can be improved, reduce the loss of figure sheet material.
Fig. 5 is the structural representation of another embodiment of exhibiting device of search pictures of the present invention, compared with the exhibiting device of the search pictures shown in Fig. 4, difference is, in the exhibiting device of above-mentioned search pictures, acquisition module 41, also for obtaining the ratio of the picture of search engine collecting, above-mentioned picture is that the search keyword search that search engine inputs according to user obtains; Identification module 42, also for be greater than when the size of above-mentioned picture front end show needed for size, and the ratio of above-mentioned picture show from front end needed for ratio different time, identify the main background color of above-mentioned picture.
Further, the exhibiting device of above-mentioned search pictures can also comprise:
Reduce module 45, before filling above-mentioned main background color for outer rim at least on one side in four limits of size at above-mentioned picture needed for showing according to front end at packing module 43, size needed for showing according to front end reduces above-mentioned picture, with make above-mentioned picture longer sides and compared with the length of minor face be all less than or equal to front end show needed for size in the length of corresponding edge.
At this moment, packing module 43, specifically for according to front end show needed for size reduce module 45 reduce after picture four limits at least outer rim filling above-mentioned main background color.
That is, when the size of the picture of search engine collecting be greater than front end show needed for size, and the ratio of above-mentioned picture show from front end needed for ratio different time, only the object that process cannot reach the size needed for the displaying of applicable front end is reduced to picture, need to reduce above-mentioned picture by reducing the size of module 45 first needed for the displaying of front end, make above-mentioned picture longer sides and compared with the length of minor face be all less than or equal to front end show needed for size in the length of corresponding edge, then packing module 43 show according to front end again needed for the picture of size after reducing four limits in outer rim at least on one side fill above-mentioned main background color.
Particularly, if reduce module 45 reduce after picture longer sides and compared with the length of minor face be all less than front end show needed for size in the length of corresponding edge, then the outer rim on four limits of the picture of packing module 43 after reducing all fills above-mentioned main background color, as shown in Figure 2; And if reduce module 45 reduce after the length of longer sides of picture show with front end needed for size in the length of corresponding edge identical, and picture after reducing compared with the length of minor face be less than front end show needed for size in the length of corresponding edge, then the outer rim of two longer sides of the picture of packing module 43 after reducing fills above-mentioned main background color, as shown in Figure 3.
And the size working as the picture of search engine collecting is greater than the size needed for the displaying of front end, but the ratio of above-mentioned picture show with front end needed for ratio identical time, process can be reduced to reach the object of the size needed for the displaying of applicable front end, at this moment just without the need to being picture filling background color to picture.
In addition, when the size of the picture of search engine collecting be less than front end show needed for size, but the ratio of above-mentioned picture show with front end needed for ratio identical time, also can carry out amplifying process to reach the object of the size needed for the displaying of applicable front end to picture, but this may affect the sharpness of picture, or for picture, to fill main background color better by packing module 43.
The exhibiting device of above-mentioned search pictures can improve the utilization factor of the figure sheet material of search engine collecting, reduces the loss of figure sheet material.
The methods of exhibiting of search pictures provided by the invention and device can according to the main background colors of picture itself, above-mentioned main background color is filled the upper and lower of former picture and/or left and right when front end is shown, thus can by the original picture presentation cannot shown due to size or ratio reason out, the utilization factor of the figure sheet material of search engine collecting can be improved, reduce the loss of figure sheet material.Method and apparatus provided by the invention applies in large search commercial product, and what can promote picture recalls ratio.
It should be noted that, in describing the invention, except as otherwise noted, the implication of " multiple " is two or more.
Describe and can be understood in process flow diagram or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the executable instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carry out n-back test, this should understand by embodiments of the invention person of ordinary skill in the field.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple step or method can with to store in memory and the software performed by suitable instruction execution system or firmware realize.Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: the discrete logic with the logic gates for realizing logic function to data-signal, there is the special IC of suitable combinational logic gate circuit, programmable gate array (Programmable Gate Array; Hereinafter referred to as: PGA), field programmable gate array (Field ProgrammableGate Array; Hereinafter referred to as: FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, this program perform time, step comprising embodiment of the method one or a combination set of.
In addition, each functional module in each embodiment of the present invention can be integrated in a processing module, also can be that the independent physics of modules exists, also can two or more module integrations in a module.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
In the description of this instructions, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, identical embodiment or example are not necessarily referred to the schematic representation of above-mentioned term.And the specific features of description, structure, material or feature can combine in an appropriate manner in any one or more embodiment or example.
Although illustrate and describe embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and those of ordinary skill in the art can change above-described embodiment within the scope of the invention, revises, replace and modification.

Claims (10)

1. a methods of exhibiting for search pictures, is characterized in that, comprising:
Obtain the size of the picture of search engine collecting, described picture is that the search keyword search that described search engine inputs according to user obtains;
When the size of described picture is less than the size needed for the displaying of front end, identify the main background color of described picture;
Size needed for showing according to described front end outer rim at least on one side in four limits of described picture fills described main background color, measure-alike needed for showing with the size and described front end that make the picture of the described main background color of filling;
Show the picture after filling described main background color.
2. method according to claim 1, is characterized in that, also comprises:
Obtain the ratio of the picture of search engine collecting, described picture is that the search keyword search that described search engine inputs according to user obtains;
When the size of described picture be greater than front end show needed for size, and the ratio of described picture show from front end needed for ratio different time, identify the main background color of described picture.
3. method according to claim 2, is characterized in that, described show according to described front end needed for size before the described main background color of outer rim filling at least, also comprise in four limits of described picture:
Size needed for showing according to described front end reduces described picture, with make described picture longer sides and compared with the length of minor face be all less than or equal to described front end show needed for size in the length of corresponding edge.
4. method according to claim 3, is characterized in that, described show according to described front end needed for size described main background color of outer rim filling at least in four limits of described picture comprise:
In four limits of the picture of size after reducing needed for showing according to described front end, at least the outer rim on one side fills described main background color.
5. the method according to claim 1-4 any one, is characterized in that, before the main background color of the described picture of described identification, also comprises:
The size needed for the displaying of described front end is obtained according to the size of the screen of the equipment of the described search engine of operation; Size needed for the displaying of described front end is less than or equal to the size of described screen.
6. an exhibiting device for search pictures, is characterized in that, comprising:
Acquisition module, for obtaining the size of the picture of search engine collecting, described picture is that the search keyword search that described search engine inputs according to user obtains;
Identification module, during for being less than the size needed for the displaying of front end when the size of the picture that described acquisition module obtains, identifies the main background color of described picture;
Packing module, the main background color of described identification module identification is filled, measure-alike needed for showing with the size and described front end that make the picture of the described main background color of filling for the outer rim at least on one side in four limits of described picture of the size needed for showing according to described front end;
Display module, for showing that described packing module fills the picture after described main background color.
7. device according to claim 6, is characterized in that,
Described acquisition module, also for obtaining the ratio of the picture of search engine collecting, described picture is that the search keyword search that described search engine inputs according to user obtains;
Described identification module, also for be greater than when the size of described picture front end show needed for size, and the ratio of described picture show from front end needed for ratio different time, identify the main background color of described picture.
8. device according to claim 7, is characterized in that, also comprises:
Reduce module, before filling described main background color for outer rim at least on one side in four limits of the size needed for showing according to described front end at described packing module at described picture, size needed for showing according to described front end reduces described picture, with make described picture longer sides and compared with the length of minor face be all less than or equal to described front end show needed for size in the length of corresponding edge.
9. device according to claim 8, is characterized in that,
Described packing module, specifically for the size needed for showing according to described front end described reduce module reduce after picture four limits in the described main background color of outer rim filling at least.
10. the device according to claim 6-9 any one, is characterized in that,
Described acquisition module, also for before the main background color of picture described in described identification module identification, obtains the size needed for the displaying of described front end according to the size of the screen of the equipment of the described search engine of operation; Size needed for the displaying of described front end is less than or equal to the size of described screen.
CN201410843272.8A 2014-12-30 2014-12-30 The methods of exhibiting and device of search pictures Active CN104504107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410843272.8A CN104504107B (en) 2014-12-30 2014-12-30 The methods of exhibiting and device of search pictures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410843272.8A CN104504107B (en) 2014-12-30 2014-12-30 The methods of exhibiting and device of search pictures

Publications (2)

Publication Number Publication Date
CN104504107A true CN104504107A (en) 2015-04-08
CN104504107B CN104504107B (en) 2018-07-13

Family

ID=52945504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410843272.8A Active CN104504107B (en) 2014-12-30 2014-12-30 The methods of exhibiting and device of search pictures

Country Status (1)

Country Link
CN (1) CN104504107B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106997265A (en) * 2016-01-26 2017-08-01 腾讯科技(深圳)有限公司 A kind of method and device of the setting excessive color of background
CN107102863A (en) * 2017-05-08 2017-08-29 广州视源电子科技股份有限公司 A kind of method and system that carousel region background color is automatically determined according to carousel picture
CN113032626A (en) * 2021-03-23 2021-06-25 北京字节跳动网络技术有限公司 Search result processing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458821A (en) * 2008-12-09 2009-06-17 三星电子(中国)研发中心 Method for animation processing image and video
CN102073497A (en) * 2010-12-23 2011-05-25 深圳市同洲电子股份有限公司 Display method of screen lock standby picture and device thereof
CN102394053A (en) * 2011-06-20 2012-03-28 深圳市茁壮网络股份有限公司 Method and device for displaying pure monochrome picture
CN103218989A (en) * 2013-04-09 2013-07-24 广东欧珀移动通信有限公司 Personalized display method and personalized display terminal during picture preloading
CN103325107A (en) * 2013-05-22 2013-09-25 北京小米科技有限责任公司 Method, device and terminal device for processing image
CN103793498A (en) * 2014-01-22 2014-05-14 百度在线网络技术(北京)有限公司 Picture searching method and device and searching engine

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458821A (en) * 2008-12-09 2009-06-17 三星电子(中国)研发中心 Method for animation processing image and video
CN102073497A (en) * 2010-12-23 2011-05-25 深圳市同洲电子股份有限公司 Display method of screen lock standby picture and device thereof
CN102394053A (en) * 2011-06-20 2012-03-28 深圳市茁壮网络股份有限公司 Method and device for displaying pure monochrome picture
CN103218989A (en) * 2013-04-09 2013-07-24 广东欧珀移动通信有限公司 Personalized display method and personalized display terminal during picture preloading
CN103325107A (en) * 2013-05-22 2013-09-25 北京小米科技有限责任公司 Method, device and terminal device for processing image
CN103793498A (en) * 2014-01-22 2014-05-14 百度在线网络技术(北京)有限公司 Picture searching method and device and searching engine

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106997265A (en) * 2016-01-26 2017-08-01 腾讯科技(深圳)有限公司 A kind of method and device of the setting excessive color of background
CN107102863A (en) * 2017-05-08 2017-08-29 广州视源电子科技股份有限公司 A kind of method and system that carousel region background color is automatically determined according to carousel picture
CN107102863B (en) * 2017-05-08 2020-09-18 广州视源电子科技股份有限公司 Method and system for automatically determining background color of carousel region according to carousel picture
CN113032626A (en) * 2021-03-23 2021-06-25 北京字节跳动网络技术有限公司 Search result processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104504107B (en) 2018-07-13

Similar Documents

Publication Publication Date Title
CN104850388B (en) web page rendering method and device
CN104038705B (en) Video creating method and device
EP2871560B1 (en) Image processing method and apparatus
CN104111990A (en) Displaying method and device of search result card
EP2911113A1 (en) Method, apparatus and computer program product for image segmentation
CN104571877A (en) Display processing method and device for pages
CN104063433A (en) Method and device for displaying recommended contents
CN104504107A (en) Search picture display method and device
CN105786308A (en) Character string display method and apparatus
CN104268152A (en) Method and device for displaying webpage
CN103995722A (en) Method and device for opening multiple windows simultaneously on screen
CN104504085A (en) Method and device for displaying statistical data
CN103207906A (en) Method for delivering search results and search engine
CN106648356A (en) Trotting horse lamp effect achieving device and method based on Android platform
CN104504108A (en) Information search method and device
CN106446027A (en) Information recommendation method and apparatus
CN110297585A (en) Electronic white board realization method, device, equipment and storage medium
CN105812881A (en) User interface window processing method and system and television set
CN103065349B (en) A kind of data rendering method and device
CN105630893B (en) A kind of display methods and device of group picture title
CN104216631A (en) Information exhibition method and information exhibition device
CN107621951B (en) View level optimization method and device
CN108874392A (en) User's guideline interface generation method and device
CN104407773A (en) Page display method and device
CN109495697A (en) Multi-screen extended method, system, storage medium and terminal based on video cutting

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant