CN105677731A - Method, device, terminal and server for displaying picture previews - Google Patents

Method, device, terminal and server for displaying picture previews Download PDF

Info

Publication number
CN105677731A
CN105677731A CN201511017075.1A CN201511017075A CN105677731A CN 105677731 A CN105677731 A CN 105677731A CN 201511017075 A CN201511017075 A CN 201511017075A CN 105677731 A CN105677731 A CN 105677731A
Authority
CN
China
Prior art keywords
preview
picture
preview graph
graph
group
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
CN201511017075.1A
Other languages
Chinese (zh)
Other versions
CN105677731B (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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201511017075.1A priority Critical patent/CN105677731B/en
Publication of CN105677731A publication Critical patent/CN105677731A/en
Application granted granted Critical
Publication of CN105677731B publication Critical patent/CN105677731B/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/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/54Browsing; Visualisation therefor
    • 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

Abstract

The invention provides a method, a device, a terminal and a server for displaying picture previews. One embodiment of the method comprises: obtaining a picture to be previewed; determining a preview assignment manner which matches the picture to be previewed; and displaying the preview of the picture to be previewed according to the preview assignment manner. The embodiment of the invention increases efficiency for a user to use the terminal in browsing picture previews.

Description

The display method of picture preview graph, device, terminal and server
Technical field
It relates to field of computer technology, in particular to a kind of method, device, terminal and the server that show picture preview graph.
Background technology
Along with the development of science and technology, terminal technology becomes day by day to improve and maturation, and terminating unit is more and more widely used in daily life and work, makes the life of people more and more convenient. At present, a lot of terminal all has the function of display picture, in general, when user opens the picture library of certain in terminal (such as photograph album, deposit the folder etc. of picture) time, or time the picture library opened on webpage (such as the photograph album etc. uploaded in individual space), what interface can show picture in picture library reduces figure, and the figure that reduces of these pictures is arranged, the figure that reduces of this picture can as the preview graph of above-mentioned picture. User by browsing preview graph, thus can select picture, and do not need to open picture one by one and browse.
In the related, the preview graph of plurality of pictures adopts the arrangement mode of tiling usually, namely often opens preview graph and occupies same size, it is arranged in order, if therefore picture number is more, it is not easy to user and browses, reduce the efficiency that user uses terminal browsing pictures preview graph.
Summary of the invention
In order to above-mentioned technical problem, present disclose provides a kind of method, device, terminal and the server that show picture preview graph.
First aspect according to disclosure embodiment, it is provided that a kind of method showing picture preview graph, comprising:
Preview picture is treated in acquisition;
Determine and the described preview graph arrangement mode treating preview picture match;
According to the preview graph treating preview picture described in the display of described preview graph arrangement mode.
Optionally, described determine and the described preview graph arrangement mode treating preview picture match, comprising:
Described in getting, treat that preview picture is divided into one or more groups;
The preview graph arrangement mode of preview picture match is determined often to treat described in group respectively based on default multiple preview graph arrangement template.
Optionally, for treating preview picture described in any one group, determine the preview graph arrangement mode of coupling in the following way:
Determine this group is often opened the preview graph desired size treating preview picture;
Obtaining multiple test template group, to generate the test template group set corresponding to this group, wherein, test template group described in each comprises one or more described default preview graph arrangement template;
This group is treated, and the preview graph of preview picture travels through different preview graph arrangement modes according to test template group described in each in described test template group set;
Expectation difference parameter corresponding to often kind of preview graph arrangement mode is obtained respectively based on described desired size;
Find out the preview graph arrangement mode corresponding to minimum expectation difference parameter, as the preview graph arrangement mode of coupling.
Optionally, described determine this group is often opened the preview graph desired size treating preview picture, comprising:
This group will treat that preview picture is divided into one or more classification;
Obtain the original dimension grade that the preview graph of preview picture is corresponding for the treatment of in this group;
Based on described original dimension grade, that determines each classification respectively often opens the preview graph desired size class treating preview picture, to obtain the preview graph desired size class often opened in this group and treat preview picture;
Treat that the preview graph desired size class of preview picture determines corresponding preview graph desired size according to described.
Optionally, described this group will treat that preview picture is divided into one or more classification, comprising:
Calculate this group is often opened and treat other similarity treating preview picture in preview picture and this group;
Treat that preview picture is as mutually similar picture, add up the similar number treating preview picture often opened in this group and treat preview picture for two that described similarity is more than or equal to predetermined threshold;
Maximum for the described number of correspondence are treated that preview picture is as cluster centre, carries out cluster analysis, this group will treat that preview picture is divided into one or more classification.
Optionally, this group of described acquisition treats the original dimension grade that the preview graph of preview picture is corresponding, comprising:
Obtain the picture reconnaissance treating preview picture in this group;
The picture reconnaissance treating preview picture described in each is added with reference grade, to determine the corresponding initial desired size class of preview graph.
Optionally, for treating preview picture described in any one classification, determine corresponding preview graph desired size class in the following way:
Judge such other treat whether the quantity of preview picture is more than or equal to predetermined threshold; If being less than predetermined threshold, then treat such other that preview graph original dimension grade that preview picture is corresponding is as preview graph desired size class; If being more than or equal to predetermined threshold, then the preview graph original dimension grade treating preview picture to such other is needed to revise;
When determining to need to revise until the preview graph original dimension grade of preview picture such other, treat that based on such other size of the preview graph original dimension grade that preview picture is corresponding treats that to such other preview graph original dimension grade of preview picture is revised, with obtain such other often open the preview graph desired size class treating preview picture.
Optionally, described treat that based on such other size of the preview graph original dimension grade that preview picture is corresponding treats that to such other preview graph original dimension grade of preview picture is revised, comprising:
The size of the preview graph original dimension grade that preview picture is corresponding is treated in comparison such other;
Treat preview picture according to what described original dimension grade order from big to small obtained predetermined number, as main picture, such other other treat that preview picture is as secondary picture;
The preview graph desired size class of described main picture is modified to highest ranking, the preview graph desired size class of described picture is modified to the lowest class.
Optionally, for any one preview graph arrangement mode, obtain corresponding expectation difference parameter in the following way:
When acquisition is arranged according to this preview graph arrangement mode, this group is often opened the preview graph physical size treating preview picture;
Determine this group is often opened the difference of preview graph physical size and the corresponding desired size treating preview picture;
Calculate the absolute value sum often opening preview graph physical size and the difference of corresponding desired size treating preview picture in this group, as the expectation difference parameter of correspondence.
Second aspect according to disclosure embodiment, it is provided that a kind of device showing picture preview graph, comprising:
Acquisition module, is configured to acquisition and treats preview picture;
Determination module, is configured to determine and the described preview graph arrangement mode treating preview picture match;
Display module, is configured to according to the preview graph treating preview picture described in the display of described preview graph arrangement mode.
Optionally, described determination module comprises:
Grouping submodule block, is configured to treat that preview picture is divided into one or more groups described in getting;
Matched sub-block, is configured to determine respectively often to treat described in group the preview graph arrangement mode of preview picture match based on default multiple preview graph arrangement template.
Optionally, described matched sub-block comprises: the true stator modules of desired size, generates submodule block, traversal submodule block, it is desirable to difference parameter obtains submodule block, searches submodule block;
For treating preview picture described in any one group:
The true stator modules of desired size, is configured to determine often to open the preview graph desired size treating preview picture in this group;
Generating submodule block, be configured to obtain multiple test template group, to generate the test template group set corresponding to this group, wherein, test template group described in each comprises one or more described default preview graph arrangement template;
Traversal submodule block, is configured to this group being treated, the preview graph of preview picture travels through different preview graph arrangement modes according to test template group described in each in described test template group set;
Expect that difference parameter obtains submodule block, it is configured to obtain expectation difference parameter corresponding to often kind of preview graph arrangement mode respectively based on described desired size;
Search submodule block, it is configured to find out the preview graph arrangement mode corresponding to minimum expectation difference parameter, as the preview graph arrangement mode of coupling.
Optionally, the true stator modules of described desired size comprises:
Classification submodule block, is configured to treat that preview picture is divided into one or more classification in this group;
Original dimension grade obtains submodule block, is configured to the original dimension grade that the preview graph of preview picture is corresponding for the treatment of obtaining in this group;
Desired size class obtains submodule block, is configured to based on described original dimension grade, and that determines each classification respectively often opens the preview graph desired size class treating preview picture, to obtain the preview graph desired size class often opened in this group and treat preview picture;
The true stator modules of desired size, is configured to treat described in basis that the preview graph desired size class of preview picture determines corresponding preview graph desired size.
Optionally, described classification submodule block comprises:
Calculating sub module, is configured to calculate in this group often open and treats other similarity treating preview picture in preview picture and this group;
Statistics submodule block, treats that preview picture is as mutually similar picture, adds up the similar number treating preview picture often opened in this group and treat preview picture for two that are configured to be more than or equal to described similarity predetermined threshold;
Cluster submodule block, is configured to maximum for the described number of correspondence being treated, preview picture is as cluster centre, carries out cluster analysis, will treat that preview picture is divided into one or more classification in this group.
Optionally, described original dimension grade obtains submodule block, comprising:
Quality factor obtains submodule block, is configured to obtain the picture reconnaissance treating preview picture in this group;
Cumulative submodule block, is configured to be added the picture reconnaissance treating preview picture described in each with reference grade, to determine the corresponding initial desired size class of preview graph.
Optionally, described desired size class acquisition submodule block comprises: judges submodule block, repaiies syndrome generation module;
For treating preview picture described in any one classification:
Judge submodule block, be configured to judge such other treat whether the quantity of preview picture is more than or equal to predetermined threshold; If being less than predetermined threshold, then treat such other that preview graph original dimension grade that preview picture is corresponding is as preview graph desired size class; If being more than or equal to predetermined threshold, then the preview graph original dimension grade treating preview picture to such other is needed to revise;
Repair syndrome generation module, it is configured to when determining to need to revise until the preview graph original dimension grade of preview picture such other, treat that based on such other size of the preview graph original dimension grade that preview picture is corresponding treats that to such other preview graph original dimension grade of preview picture is revised, with obtain such other often open the preview graph desired size class treating preview picture.
Optionally, repair syndrome generation module described in comprise:
Comparison sub-module, be configured to compare such other treat the size of the preview graph original dimension grade that preview picture is corresponding;
Submodule block determined by primary and secondary picture, is configured to treat preview picture according to what described original dimension grade order from big to small obtained predetermined number, as main picture, such other other treat that preview picture is as secondary picture;
Grade repaiies syndrome generation module, is configured to the preview graph desired size class of described main picture is modified to highest ranking, the preview graph desired size class of described picture is modified to the lowest class.
Optionally, it is desirable to difference parameter obtains submodule block, comprising: physical size obtains submodule block, difference in size obtains submodule block, parameter acquiring submodule block;
For any one preview graph arrangement mode:
Physical size obtains submodule block, is configured to obtain when arranging according to this preview graph arrangement mode, often opens the preview graph physical size treating preview picture in this group;
Difference in size obtains submodule block, is configured to determine often to open in this group the difference of preview graph physical size and the corresponding desired size treating preview picture;
Parameter acquiring submodule block, is configured to calculate the absolute value sum often opening preview graph physical size and the difference of corresponding desired size treating preview picture in this group, as the expectation difference parameter of correspondence.
The third aspect according to disclosure embodiment, it is provided that a kind of terminal, comprising:
Treater;
The storer of instruction can be performed for storage of processor;
Wherein, described treater is configured to:
Preview picture is treated in acquisition;
Determine and the described preview graph arrangement mode treating preview picture match;
According to the preview graph treating preview picture described in the display of described preview graph arrangement mode.
Fourth aspect according to disclosure embodiment, it is provided that a kind of server, comprising:
Treater;
The storer of instruction can be performed for storage of processor;
Wherein, described treater is configured to:
Preview picture is treated in acquisition;
Determine and the described preview graph arrangement mode treating preview picture match;
According to the preview graph treating preview picture described in the display of described preview graph arrangement mode.
The technical scheme that embodiment of the present disclosure provides can comprise following useful effect:
A kind of method showing picture preview graph that embodiment of the present disclosure provides, by the preview graph arrangement mode determined with treat preview picture match, and shows the above-mentioned preview graph treating preview picture according to this preview graph arrangement mode. It is thus possible to facilitate user's preview picture, it is to increase user uses the efficiency of terminal browsing pictures preview graph.
The method of another kind of display picture preview graph that embodiment of the present disclosure provides, by treating that preview picture is divided into one or more groups by what get, and determine that often group treats the preview graph arrangement mode of preview picture match respectively, so that it is determined that the total preview graph arrangement mode mated with needed preview graph sheet, and treat the preview graph of preview picture according to the display of this arrangement mode.User's preview picture can be facilitated, further increasing the efficiency that user uses terminal browsing pictures preview graph.
The method of another kind of display picture preview graph that embodiment of the present disclosure provides, by this group being treated the preview graph of preview picture travels through different preview graph arrangement modes according to each the test template group in test template group set, expectation difference parameter corresponding to often kind of preview graph arrangement mode is obtained respectively based on the preview graph desired size got, and find out the preview graph arrangement mode corresponding to minimum expectation difference parameter, as the preview graph arrangement mode of coupling, and the preview graph of preview picture is treated according to the display of this preview graph arrangement mode, it is thus possible to facilitate user's preview picture, contribute to improving the efficiency that user uses terminal browsing pictures preview graph.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing herein is by being incorporated in specification sheets and forms the part of this specification sheets, shows and meets embodiment of the present disclosure, and is used from specification sheets one and explains principle of the present disclosure.
Fig. 1 is the schema of a kind of method that show picture preview graph of the disclosure according to an exemplary embodiment;
Fig. 2 is the schema of method of another kind display picture preview graph of the disclosure according to an exemplary embodiment;
Fig. 3 is the schema that a kind of according to an exemplary embodiment of the disclosure determines the method for the preview graph arrangement mode of coupling;
Fig. 4 is that a kind of two figures of the disclosure according to an exemplary embodiment arrange the schematic diagram of template;
Fig. 5 is that a kind of three figures of the disclosure according to an exemplary embodiment arrange the schematic diagram of template;
Fig. 6 is the block diagram of a kind of device that show picture preview graph of the disclosure according to an exemplary embodiment;
Fig. 7 is the block diagram of device of another kind display picture preview graph of the disclosure according to an exemplary embodiment;
Fig. 8 is the block diagram of device of another kind display picture preview graph of the disclosure according to an exemplary embodiment;
Fig. 9 is the block diagram of device of another kind display picture preview graph of the disclosure according to an exemplary embodiment;
Figure 10 is the block diagram of device of another kind display picture preview graph of the disclosure according to an exemplary embodiment;
Figure 11 is the block diagram of device of another kind display picture preview graph of the disclosure according to an exemplary embodiment;
Figure 12 is the block diagram of device of another kind display picture preview graph of the disclosure according to an exemplary embodiment;
Figure 13 is the block diagram of device of another kind display picture preview graph of the disclosure according to an exemplary embodiment;
Figure 14 is the block diagram of device of another kind display picture preview graph of the disclosure according to an exemplary embodiment;
Figure 15 is a structural representation of a kind of device that show picture preview graph of the disclosure according to an exemplary embodiment.
Embodiment
Here exemplary embodiment being described in detail, its example representation is in the accompanying drawings. When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or similar key element. Enforcement mode described in exemplary embodiment does not represent all enforcement modes consistent with the disclosure below. On the contrary, they only with as in appended claims describe in detail, the example of device that aspects more of the present disclosure are consistent and method.
The term used in the disclosure is only for the object describing specific embodiment, and the not intended to be limiting disclosure. " one ", " described " and " being somebody's turn to do " of the odd number form used in disclosure and the accompanying claims book also is intended to comprise most form, unless context clearly represents other implications. It is further understood that term "and/or" used herein refer to and comprise one or more project of listing being associated any or all may combine.
Although it is to be understood that term first, second, third, etc. may be adopted to describe various information in the disclosure, but these information should not be limited to these terms. These terms are only used for being distinguished from each other out the information of same type. Such as, when not departing from disclosure scope, the first information can also be called as the 2nd information, and similarly, the 2nd information can also be called as the first information. Depend on linguistic context, word as used in this " if " can be construed as " ... time " or " when ... time " or " in response to determining ".
As shown in Figure 1, Fig. 1 is the schema of a kind of method showing picture preview graph according to an exemplary embodiment, and the method can be applied in terminal, it is also possible to is applied in server. In the present embodiment, for the ease of understanding, illustrate in conjunction with the terminating unit that there is display screen and can show picture. It will be appreciated by those skilled in the art that, this terminating unit can include but not limited to portable computer and desktop computer etc. on the mobile terminal device of such as smart mobile phone, Intelligent wearable equipment, panel computer, personal digital assistant, E-book reader, knee. The method comprises the following steps:
In a step 101, preview picture is treated in acquisition.
In general, when user opens the picture library of certain in terminal (such as photograph album, deposit the folder etc. of picture) time, or time the picture library opened on webpage (photograph album etc. as uploaded in individual space), what interface can show picture in picture library reduces figure, and the figure that reduces of these pictures is arranged, the figure that reduces of this picture can as the preview graph of above-mentioned picture. User by browsing preview graph, thus can select picture, and do not need to open picture one by one and browse.
In the present embodiment, when user copies large quantities of picture to the picture library in terminal, or when uploading large quantities of picture to the picture library on webpage, or the picture with the equipment shooting of camera function is stored into picture library when reaching some amount one by one, and these large quantities of pictures stored in picture library can as treating preview picture. When user opens picture library preview interface, it is necessary to show the preview graph that these treat preview picture, treat preview picture consequently, it is desirable to first obtain, treat preview picture further and carry out analyzing and processing, thus show preview graph according to certain arrangement mode.
In a step 102, it is determined that with the above-mentioned preview graph arrangement mode treating preview picture match.
In the present embodiment, preview graph arrangement mode embodies between preview graph residing position relation, it is possible to using meet predetermined principle preview graph arrangement mode as the preview graph arrangement mode treating preview picture match. Such as, picture like multiple comparing class may occur in preview picture (when generally taking a picture, may to a scene shooting multiple pictures, or adopt identical background multiple people to be taken pictures), at this moment, can using plurality of pictures like comparing class as a class picture, then the picture selecting quality best from this class picture is as main picture, other picture in this class picture is as secondary picture, when preview graph is arranged, making the preview graph of main picture account for bigger area as far as possible, the preview graph of secondary picture accounts for less area.
In step 103, the above-mentioned preview graph treating preview picture is shown according to above-mentioned preview graph arrangement mode.
In the present embodiment, treat that the preview graph of preview picture is arranged according to above-mentioned preview graph arrangement mode to above-mentioned, make preview graph seamless connection when arranging. In order to enable preview graph seamless connection when arranging, it is necessary to preview graph is carried out contracting and puts. In general, the depth-width ratio of the preview graph of picture is consistent with the depth-width ratio of this picture, when preview graph carrying out contracting and puts, it should be noted that make the depth-width ratio of preview graph be consistent with the depth-width ratio of corresponding picture, to avoid preview graph distortion. According to above-mentioned preview graph arrangement mode and can treat that the depth-width ratio of preview picture is easy to calculate the display size (in units of pixel) often opening the preview graph treating preview picture. Then the preview graph of preview picture is treated according to above-mentioned preview graph arrangement mode and display size display.
The method of the display picture preview graph that above-described embodiment of the present disclosure provides, by the preview graph arrangement mode determined with treat preview picture match, and shows the above-mentioned preview graph treating preview picture according to this preview graph arrangement mode. It is thus possible to facilitate user's preview picture, it is to increase user uses the efficiency of terminal browsing pictures preview graph.
As shown in Figure 2, the schema of the method for another kind display picture preview graph of Fig. 2 according to an exemplary embodiment, this embodiment describes in detail to be determined and the process of the above-mentioned preview graph arrangement mode treating preview picture match, the method can be applied in terminal, can also be applied in server, comprise the following steps:
In step 201, preview picture is treated in acquisition.
In step 202., above-mentioned treat that preview picture is divided into one or more groups by what get.
In the present embodiment, if above-mentioned treating that preview picture number ratio is less, it is possible to disposable treat that preview picture processes to above-mentioned, treat that if above-mentioned preview picture number ratio is more, it is possible to treat that preview picture carries out batch treatment to above-mentioned. , it is possible to treat that preview picture is divided into one or more groups by above-mentioned, therefore often group comprise multiple (as, it is possible to be 10, it is also possible to be 15 etc.) treat preview picture. It can be appreciated that often group treats that the number of preview picture can be any amount, and, the number treating preview picture of different group can be identical, it is also possible to different, what often group was comprised by the disclosure treats that the number aspect of preview picture does not limit.
In the present embodiment, in order to reach better effect, to above-mentioned divide into groups until preview picture time, it is possible to establishment time picture relatively is assigned to identical group. Such as, it is possible to by get above-mentioned treat preview picture according to create the time order arrange, the picture then getting predetermined number successively divides into groups. Or e.g., again such as, it is also possible to be divided into one group at the picture that the establishment time is in identical predetermined amount of time (certain time period in one day, or on the same day etc.).
In step 203, determine that often group treats the preview graph arrangement mode of preview picture match respectively based on default multiple preview graph arrangement template.
In the present embodiment, adopt and determine that often group treats the preview graph arrangement mode of preview picture match, comprehensively gets up these preview graph arrangement modes in the same way respectively, so that it is determined that with the preview graph arrangement mode treating preview picture match.
In step 204, the above-mentioned preview graph treating preview picture is shown according to above-mentioned preview graph arrangement mode.
It should be noted that, for identical step in Fig. 1 embodiment, no longer repeat in above-mentioned Fig. 2 embodiment, associated viscera can see Fig. 1 embodiment.
The method of the display picture preview graph that above-described embodiment of the present disclosure provides, by treating that preview picture is divided into one or more groups by what get, and determine that often group treats the preview graph arrangement mode of preview picture match respectively, so that it is determined that the total preview graph arrangement mode mated with needed preview graph sheet, and treat the preview graph of preview picture according to the display of this preview graph arrangement mode. It is thus possible to facilitate user's preview picture, further increasing the efficiency that user uses terminal browsing pictures preview graph.
As shown in Figure 3, Fig. 3 is the schema of the method for a kind of preview graph arrangement mode determining coupling according to an exemplary embodiment, this embodiment describes in detail treats preview picture for any one group, determine the process of the preview graph arrangement mode of coupling, the method may be used in terminal, can also be applied in server, comprise the following steps:
In step 301, it is determined that this group is often opened the preview graph desired size treating preview picture.
In general, treat preview picture may occur picture like multiple comparing class, such as, to the multiple pictures of a scene shooting, or comprise the plurality of pictures etc. of the different personage of same background. At this moment, more wish to show the preview graph of the good picture of quality in similar picture relatively big a bit. In the present embodiment, therefore, first this group can will treat that preview picture is divided into one or more classification.
In the present embodiment, it is possible to based on the similarity of picture to this group treats that preview picture is classified. Specifically, it is possible to first calculate this group is often opened and treat other similarity treating preview picture in preview picture and this group. In the present embodiment, other similarity treating preview picture in preview picture and this group can be treated by calculating based on the Similarity Algorithm of Hamming distance this group is often opened, can also by calculating above-mentioned similarity based on the Similarity Algorithm of Euclidean distance, can also by calculating above-mentioned similarity based on the Similarity Algorithm of COS distance, it is appreciated that, can also being calculated by other method often to open in this group and treat other similarity treating preview picture in preview picture and this group, the disclosure be to not limiting in this respect. Then, add up the similar number treating preview picture often opened in this group and treat preview picture. In the present embodiment, it is possible to setting the threshold value of a similarity in advance, two pictures that similarity is more than or equal to this predetermined threshold are as mutually similar picture. Mutually similar two can being treated, in preview picture, any pictures is called that another treats that the similar of preview picture treats preview picture. Again maximum for the number of correspondence are treated that preview picture is as cluster centre, carries out cluster analysis, this group will treat that preview picture is divided into one or more classification.
Then, the preview graph original dimension grade that preview picture is corresponding for the treatment of in this group is obtained. In the present embodiment, it is possible to set between the display size field of a preview graph in advance, during display preview graph, the display size of preview graph should be in this interval, then will be divided into multiple grade between display size field, the corresponding display size of each grade. Grade (can with numeric representation) is more high, and corresponding display size is more big. For example, it is assumed that, it is [a, b] between the display size field of preview graph, 1,2,3,4,5 five grade will be divided between this display size field, the corresponding display size of each grade. Wherein, 1 grade of grade is minimum, and corresponding shows dimensions as a, and 5 grades of grades the highest, and corresponding shows dimensions as b, and 2,3,4 be middle grade, corresponding respectively shows dimensions as m, n, s, and these show sizes and all drop in interval [a, b].It should be noted that, in the present embodiment, the display size of picture all can in units of pixel.
In the present embodiment, treat that preview picture all has a corresponding preview graph original dimension grade, with corresponding, this preview graph original dimension grade can treat that the picture quality of preview picture is relevant. Picture quality can be weighed by the noise of the sharpness of picture, contrast gradient, brightness and picture. Specifically, obtain the picture reconnaissance treating preview picture in this group, then each being treated, the picture reconnaissance of preview picture is added with reference grade, to determine the corresponding initial desired size class of preview graph.
In the present embodiment, picture reconnaissance is a parameter for dimensioned plan tablet quality, and this parameter is determined by picture quality, and this parameter is identical with the unit of above-mentioned size grades. Such as, it is possible to set the noise threshold value etc. of clarity threshold, contrast gradient interval, brightness section and picture in advance. The unit assuming above-mentioned size grades is 1, and the sharpness factor of the picture that sharpness is less than clarity threshold is set as-1, and the sharpness factor of the picture being more than or equal to clarity threshold is set as 1; The contrast factor that contrast gradient drops on the picture outside contrast gradient interval is set as-1, and the contrast factor that contrast gradient drops on the picture in contrast gradient interval is set as 1; The luminance factor that brightness drops on the picture outside brightness section is set as-1, and the luminance factor that brightness drops on the picture in brightness section is set as 1; The noise factor of the picture that noise is greater than noise threshold value is set as-1, and the noise factor of the picture being less than or equal to noise threshold value is set as 1. Treat preview picture for one, this picture clarity factor, contrast factor, luminance factor and the noise factor are added, obtain the picture reconnaissance for dimensioned plan tablet quality.
In the present embodiment, reference grade can be grade in the middle of, for example, it is assumed that have 5 grades, then can using the 3rd grade as middle grade, it is assumed that have 9 grades, then can using the 5th grade as middle grade, etc.
It should be noted that, it is also possible to adopt other parameter or the quality of the combination metric picture of parameter, the concrete setting aspect of picture reconnaissance is not limited by the disclosure.
Then, based on above-mentioned original dimension grade, that determines each classification respectively often opens the preview graph desired size class treating preview picture, to obtain the preview graph desired size class often opened in this group and treat preview picture. Specifically, preview picture is treated for any one classification, corresponding preview graph desired size class can be determined in the following way: first judge such other treat whether the quantity of preview picture is more than or equal to predetermined threshold (as the predetermined threshold treating the quantity of preview picture can be 2), if being less than predetermined threshold, then treat such other that preview graph original dimension grade that preview picture is corresponding is as preview graph desired size class. If being more than or equal to predetermined threshold, then the preview graph original dimension grade treating preview picture to such other is needed to revise. When determining to need to revise until the preview graph original dimension grade of preview picture such other, treat that based on such other size of the preview graph original dimension grade that preview picture is corresponding treats that to such other preview graph original dimension grade of preview picture is revised, with obtain such other often open the preview graph desired size class treating preview picture.
In the present embodiment, can treat that the preview graph original dimension grade of preview picture is revised in the following way to such other: first, the size of the preview graph original dimension grade that preview picture is corresponding is treated in comparison such other, according to above-mentioned original dimension grade order from big to small obtain predetermined number (as, 1, or 2) treat preview picture, as main picture, such other other treat that preview picture is as secondary picture.The preview graph desired size class of main picture is modified to highest ranking (as, assume to be divided into 1,2,3,4,5 five grade, then no matter the preview graph original dimension grade of main picture is how many, all the preview graph desired size class of main picture is modified to highest ranking 5 grades), the preview graph desired size class of secondary picture is modified to the lowest class (as, assume to be divided into 1,2,3,4,5 five grade, then no matter the preview graph original dimension grade of secondary picture is how many, all the preview graph desired size class of secondary picture is modified to the most high low 1 grade).
Finally, according to treating that the preview graph desired size class of preview picture determines corresponding preview graph desired size. Because, the corresponding preview graph desired size of a grade of preview graph desired size, therefore, it is possible to determine corresponding preview graph desired size according to the corresponding relation of preview graph desired size class with preview graph desired size.
In step 302, obtaining multiple test template group, to generate the test template group set corresponding to this group, wherein, each test template group comprises one or more default preview graph arrangement template.
In the present embodiment, preview graph arrangement template is for defining the arrangement mode of the preview graph of pre-determined quantity, with this pre-determined quantity, above-mentioned template can be classified, such as, template for the arrangement mode of the preview graph that defines two can be arranged template as two figure, as shown in Figure 4, template 401 and template 402 are two figure and arrange template. Template for the arrangement mode of the preview graph that defines three can be arranged template as three figure, as shown in Figure 5, template 501, template 502 template, 503 templates, 504 templates, 505 and template 506 be three figure and arrange template.
It should be noted that, preview graph arrangement template only can determine the arrangement position of preview graph, but can not determine the size of preview graph, because each preview graph has fixing the ratio of width to height (treating that the ratio of width to height of preview picture is identical with corresponding). Owing to the width of preview graph arrangement template is fixed (highly not fixing), it is possible to the size (the display size in units of pixel) of the width of template, the ratio of width to height of preview graph and the preview graph arrangement mode calculating preview graph under this arrangement mode of arranging according to preview graph. For example, it is assumed that, A, B, C tri-preview graph adopt the arrangement mode of template 501 to arrange, and, A is positioned at upper left, and B is positioned at the lower section of A, and C is positioned at right-hand part and divides, if the ratio of width to height of A is RA, the ratio of width to height of B is RB, the ratio of width to height of C is RC, the width of template 501 is W. Because the width of left-half two figure is consistent, so left-half depth-width ratio RAB=RA+RB. Again because left and right two portions height is consistent, so template depth-width ratio RABC=1/ (1/RAB+1/RC). Owing to the width of preview graph arrangement template is fixed as W, then the height h=W*R of preview graph arrangement templateABC, this height is consistent with the height after C arrangement, therefore according to the ratio of width to height R of CCThe width after C arrangement can be obtained. Further, it is possible to obtain the width after the arrangement of A and B, it is possible to according to the ratio of width to height of A and B obtain A and B arrange after height, thus calculate the size (the display size in units of pixel) of preview graph under this arrangement mode. It can be appreciated that under the arrangement mode of other templates, it is also possible to adopt the size calculating preview graph under this arrangement mode with above-mentioned similar method.
In the present embodiment, it is possible to pre-set multiple preview graph arrangement template, it is possible to comprise two figure and arrange template, three figure arrange template, and four figure arrange template etc.Then, obtain one or more preview graph arrangement template arranging template from default preview graph and splice arbitrarily, as test template group. When choosing preview graph arrangement template, it is possible to reference to the quantity treating preview picture of this group so that the quantity of the display area that test template group is distributed just equals to treat the quantity of preview picture. The quantity meeting the display area that test template group is distributed equals the test template group treating the quantity term of preview picture, all can as the test template group corresponding to this group. For example, it is assumed that the quantity treating preview picture of a group is 8, then can choosing arbitrarily two figure and arrange template, two three figure arrange template, form the test template group corresponding to this group. Can also choosing arbitrarily four figure to arrange template, two two figure arrange template, form the test template group corresponding to this group. Two four figure can also be chosen arbitrarily arrange template, form the test template group corresponding to this group. Multiple test template group corresponding to this group can form a test template group set corresponding to this group.
In step 303, this group is treated, and the preview graph of preview picture travels through different preview graph arrangement modes according to each the test template group in above-mentioned test template group set.
In the present embodiment, owing to one group is treated that the quantity of preview picture is a lot, if arranging according to a test template group, can there is a variety of arrangement mode, for example, it is assumed that, there is M, N two figure, arrange according to template 401, just have two kinds of arrangement modes, one be M on a left side, N is on the right side, another kind be N on a left side, M is on the right side. Therefore, treat that the quantity of preview picture is more many for one group, the arrangement mode carrying out arranging according to a test template group more many (method of permutation and combination is more many). This group can being treated, the preview graph of preview picture travels through different preview graph arrangement modes according to each the test template group in above-mentioned test template group set successively.
In step 304, expectation difference parameter corresponding to often kind of preview graph arrangement mode is obtained respectively based on above-mentioned desired size.
In the present embodiment, it is desirable to difference parameter is the parameter embodying and treating difference between the preview graph desired size of preview picture and preview graph physical size. This parameter is more little, shows that corresponding preview graph arrangement mode and this group treat that the matching degree of preview picture is more high, and this preview graph arrangement mode is more close to desirable arrangement mode.
Specifically, for any one preview graph arrangement mode, corresponding expectation difference parameter can be obtained in the following way: when acquisition is arranged according to this preview graph arrangement mode, this group is often opened the preview graph physical size (can obtain above-mentioned preview graph physical size according to the method described in step 302) treating preview picture, then, determine this group is often opened and treat the difference of preview picture physical size with corresponding desired size, finally, calculate this group is often opened and treat the absolute value sum of preview picture physical size with the difference of corresponding desired size, as the expectation difference parameter of correspondence.
In step 305, find out the preview graph arrangement mode corresponding to minimum expectation difference parameter, as the preview graph arrangement mode of coupling.
The method of the display picture preview graph that above-described embodiment of the present disclosure provides, by this group being treated the preview graph of preview picture travels through different preview graph arrangement modes according to each the test template group in test template group set, expectation difference parameter corresponding to often kind of preview graph arrangement mode is obtained respectively based on the preview graph desired size got, and find out the preview graph arrangement mode corresponding to minimum expectation difference parameter, as the preview graph arrangement mode of coupling, and the preview graph of preview picture is treated according to the display of this preview graph arrangement mode, it is thus possible to facilitate user's preview picture, contribute to improving the efficiency that user uses terminal browsing pictures preview graph.
Although it should be noted that describe the operation of the inventive method in the accompanying drawings with particular order, but, this is not that requirement or hint must perform these operations according to this particular order, or must perform the result that all shown operation could realize expectation.On the contrary, the step described in schema can change and performs order. Additionally or alternatively, it is possible to omit some step, multiple step is merged into a step and performs, and/or a step is decomposed into multiple step performs.
Corresponding with the embodiment of the method for aforementioned display picture preview graph, the disclosure additionally provides the device of display picture preview graph and the embodiment of the terminal applied and server thereof.
As shown in Figure 6, Fig. 6 is a kind of device block diagram that show picture preview graph of the disclosure according to an exemplary embodiment, and this device comprises: acquisition module 601, it is determined that module 602, display module 603.
Wherein, acquisition module 601, is configured to acquisition and treats preview picture.
Determination module 602, is configured to the preview graph arrangement mode determined with treat preview picture match.
Display module 603, is configured to show the above-mentioned preview graph treating preview picture according to above-mentioned preview graph arrangement mode.
As shown in Figure 7, Fig. 7 be the disclosure according to an exemplary embodiment another kind display picture preview graph device block diagram, this embodiment is on aforementioned basis embodiment illustrated in fig. 6, it is determined that module 602 can comprise: grouping submodule block 701, matched sub-block 702.
Wherein, grouping submodule block 701, is configured to above-mentioned treat that preview picture is divided into one or more groups by what get.
Matched sub-block 702, is configured to determine respectively often to organize the above-mentioned preview graph arrangement mode treating preview picture match based on default multiple preview graph arrangement template.
As shown in Figure 8, Fig. 8 be the disclosure according to an exemplary embodiment another kind display picture preview graph device block diagram, this embodiment is on aforementioned basis embodiment illustrated in fig. 7, matched sub-block 702 can comprise: the true stator modules 801 of desired size, generate submodule block 802, traversal submodule block 803, it is desirable to difference parameter obtains submodule block 804, searches submodule block 805.
Wherein, preview picture is treated for any one group:
The true stator modules 801 of desired size, is configured to determine often to open the preview graph desired size treating preview picture in this group.
Generating submodule block 802, be configured to obtain multiple test template group, to generate the test template group set corresponding to this group, wherein, each above-mentioned test template group comprises one or more default preview graph arrangement template.
Traversal submodule block 803, is configured to this group being treated, the preview graph of preview picture travels through different preview graph arrangement modes according to each the test template group in above-mentioned test template group set.
Expect that difference parameter obtains submodule block 804, it is configured to obtain expectation difference parameter corresponding to often kind of preview graph arrangement mode respectively based on above-mentioned desired size.
Search submodule block 805, it is configured to find out the preview graph arrangement mode corresponding to minimum expectation difference parameter, as the preview graph arrangement mode of coupling.
As shown in Figure 9, Fig. 9 be the disclosure according to an exemplary embodiment another kind display picture preview graph device block diagram, this embodiment is on aforementioned basis embodiment illustrated in fig. 8, the true stator modules 801 of desired size can comprise: classification submodule block 901, original dimension grade obtains submodule block 902, desired size class obtains submodule block 903, it is desirable to the true stator modules 904 of size.
Wherein, classification submodule block 901, is configured to treat that preview picture is divided into one or more classification in this group.
Original dimension grade obtains submodule block 902, is configured to the original dimension grade that the preview graph of preview picture is corresponding for the treatment of obtaining in this group.
Desired size class obtains submodule block 903, is configured to based on above-mentioned original dimension grade, and that determines each classification respectively often opens the preview graph desired size class treating preview picture, to obtain the preview graph desired size class often opened in this group and treat preview picture.
The true stator modules 904 of desired size, is configured to treat that the preview graph desired size class of preview picture determines corresponding preview graph desired size according to above-mentioned.
As shown in Figure 10, Figure 10 be the disclosure according to an exemplary embodiment another kind display picture preview graph device block diagram, this embodiment is on aforementioned basis embodiment illustrated in fig. 9, classification submodule block 901 can comprise: calculating sub module 1001, statistics submodule block 1002, cluster submodule block 1003.
Wherein, calculating sub module 1001, is configured to calculate in this group often open and treats other similarity treating preview picture in preview picture and this group.
Statistics submodule block 1002, treats that preview picture is as mutually similar picture, adds up the similar number treating preview picture often opened in this group and treat preview picture for two that are configured to be more than or equal to above-mentioned similarity predetermined threshold.
Cluster submodule block 1003, is configured to maximum for the number of correspondence being treated, preview picture is as cluster centre, carries out cluster analysis, will treat that preview picture is divided into one or more classification in this group.
As shown in figure 11, Figure 11 be the disclosure according to an exemplary embodiment another kind display picture preview graph device block diagram, this embodiment is on aforementioned basis embodiment illustrated in fig. 10, original dimension grade obtains submodule block 902 and can comprise: quality factor obtains submodule block 1101, cumulative submodule block 1102.
Wherein, quality factor obtains submodule block 1101, is configured to obtain the picture reconnaissance treating preview picture in this group.
Cumulative submodule block 1102, is configured to above-mentioned each being treated, the picture reconnaissance of preview picture is added with reference grade, to determine the initial desired size class of preview graph of correspondence.
As shown in figure 12, Figure 12 be the disclosure according to an exemplary embodiment another kind display picture preview graph device block diagram, this embodiment is on aforementioned basis embodiment illustrated in fig. 9, it is desirable to the true stator modules 904 of size can comprise: judges submodule block 1201, repaiies syndrome generation module 1202.
Wherein, preview picture is treated for any one classification:
Judge submodule block 1201, be configured to judge such other treat whether the quantity of preview picture is more than or equal to predetermined threshold. If being less than predetermined threshold, then treat such other that preview graph original dimension grade that preview picture is corresponding is as preview graph desired size class. If being more than or equal to predetermined threshold, then the preview graph original dimension grade treating preview picture to such other is needed to revise.
Repair syndrome generation module 1202, it is configured to when determining to need to revise until the preview graph original dimension grade of preview picture such other, treat that based on such other size of the preview graph original dimension grade that preview picture is corresponding treats that to such other preview graph original dimension grade of preview picture is revised, with obtain such other often open the preview graph desired size class treating preview picture.
As shown in figure 13, Figure 13 be the disclosure according to an exemplary embodiment another kind display picture preview graph device block diagram, this embodiment is on aforementioned basis embodiment illustrated in fig. 12, repair syndrome generation module 1202 can comprise: comparison sub-module 1301, submodule block 1302 determined by primary and secondary picture, and grade repaiies syndrome generation module 1303.
Wherein, comparison sub-module 1301, be configured to compare such other treat the size of the preview graph original dimension grade that preview picture is corresponding.
Submodule block 1302 determined by primary and secondary picture, is configured to treat preview picture according to what above-mentioned original dimension grade order from big to small obtained predetermined number, as main picture, such other other treat that preview picture is as secondary picture.
Grade repaiies syndrome generation module 1303, is configured to the preview graph desired size class of main picture is modified to highest ranking, the preview graph desired size class of secondary picture is modified to the lowest class.
As shown in figure 14, Figure 14 be the disclosure according to an exemplary embodiment another kind display picture preview graph device block diagram, this embodiment is on aforementioned basis embodiment illustrated in fig. 8, expect that difference parameter obtains submodule block 804 and can comprise: physical size obtains submodule block 1401, difference in size obtains submodule block 1402, parameter acquiring submodule block 1403.
Wherein, for any one preview graph arrangement mode:
Physical size obtains submodule block 1401, is configured to obtain when arranging according to this preview graph arrangement mode, often opens the preview graph physical size treating preview picture in this group.
Difference in size obtains submodule block 1402, is configured to determine often to open in this group the difference of preview graph physical size and the corresponding desired size treating preview picture.
Parameter acquiring submodule block 1403, is configured to calculate the absolute value sum often opening preview graph physical size and the difference of corresponding desired size treating preview picture in this group, as the expectation difference parameter of correspondence.
It is to be understood that said apparatus can be set in advance in terminal or server, it is also possible to be loaded in terminal or server by modes such as downloads. Corresponding module in said apparatus can cooperatively interact the scheme realizing showing picture preview graph with the module in terminal or server.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method. Device embodiment described above is only schematic, the wherein said module unit illustrated as separating component or can may not be and physically separates, parts as the display of module unit can be or may not be physics module unit, namely can be positioned at a place, or can also be distributed on multiple NE. Some or all of module wherein can be selected according to the actual needs to realize the object of disclosure scheme. Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Accordingly, the disclosure also provides a kind of terminal, and this terminal includes treater; The storer of instruction can be performed for storage of processor; Wherein, this treater is configured to:
Preview picture is treated in acquisition;
Determine and the described preview graph arrangement mode treating preview picture match;
According to the preview graph treating preview picture described in the display of described preview graph arrangement mode.
Accordingly, the disclosure also provides a kind of server, and this server includes treater; The storer of instruction can be performed for storage of processor; Wherein, this treater is configured to:
Preview picture is treated in acquisition;
Determine and the described preview graph arrangement mode treating preview picture match;
According to the preview graph treating preview picture described in the display of described preview graph arrangement mode.
Figure 15 is a structural representation of a kind of device 1500 showing picture preview graph according to an exemplary embodiment.Such as, device 1500 can be mobile telephone, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical facilities, body-building equipment, personal digital assistant etc.
With reference to Figure 15, device 1500 can comprise following one or more assembly: processing components 1502, storer 1504, power supply module 1506, multimedia groupware 1508, audio-frequency assembly 1510, the interface 1512 of I/O (I/O), sensor module 1514, and communications component 1516.
The overall operation of the usual control device 1500 of processing components 1502, such as with display, the operation that telephone call, data corresponding, camera operation and recording operation are associated. Processing element 1502 can comprise one or more treater 1520 to perform instruction, to complete all or part of step of above-mentioned method. In addition, processing components 1502 can comprise one or more module, and what be convenient between processing components 1502 and other assemblies is mutual. Such as, processing components 1502 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1508 and processing components 1502.
Storer 1504 is configured to store various types of data to be supported in the operation of device 1500. The example of these data comprises for any application program of operation on device 1500 or the instruction of method, contact data, telephone book data, message, picture, video etc. Storer 1504 can be realized by the volatibility of any type or non-volatile memory device or their combination, such as static RAM (SRAM), electrically erasable read-only storage (EEPROM), erasable programmable read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magneticstorage, flash device, disk or CD.
The various assembly that power supply module 1506 is device 1500 provides electric power. Power supply module 1506 can comprise power-supply management system, one or more power supply, and other generate, manage and distribute, with for device 1500, the assembly that electric power is associated.
The screen that an output interface is provided that multimedia groupware 1508 is included between described device 1500 and user. In certain embodiments, screen can comprise liquid-crystal display (LCD) and touch panel (TP). If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user. Touch panel comprises one or more touch sensing device with the gesture on sensing touch, slip and touch panel. Described touch sensing device can the border of not only sensing touch or sliding action, but also the detection time length relevant to described touch or slide and pressure. In certain embodiments, multimedia groupware 1508 comprises a front-facing camera and/or rearmounted camera. When device 1500 is in operator scheme, during such as screening-mode or video pattern, front-facing camera and/or rearmounted camera can receive outside multi-medium data. Each front-facing camera and rearmounted camera can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 1510 is configured to export and/or input audio signal. Such as, audio-frequency assembly 1510 comprises a microphone (MIC), and when device 1500 is in operator scheme, during such as calling pattern, record pattern and speech recognition pattern, microphone is configured to receive external audio signal. The sound signal received can be stored in storer 1504 further or be sent via communications component 1516.In certain embodiments, audio-frequency assembly 1510 also comprises a loud speaker, for output audio signal.
I/O interface 1512 is for providing interface between processing components 1502 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc. These buttons can include but not limited to: home button, volume button, startup button and locking button.
Sensor module 1514 comprises one or more sensor, for providing the state estimation of all respects for device 1500. Such as, sensor module 1514 can detect the opening/closing state of device 1500, the relative location of assembly, such as described assembly is indicating meter and the keypad of device 1500, the position that sensor module 1514 can also detect device 1500 or device 1500 assemblies changes, the presence or absence that user contacts with device 1500, the temperature variation of device 1500 orientation or acceleration/deceleration and device 1500. Sensor module 1514 can comprise close to sensor, be configured to without any physical contact time detection near the existence of object. Sensor module 1514 can also comprise optical sensor, such as CMOS or ccd image sensor, for using in imaging applications. In certain embodiments, this sensor module 1514 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transmitter, microwave sensor or temperature sensor.
Communications component 1516 is configured to be convenient to the communication of wired or wireless mode between device 1500 and other equipment. Device 1500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or their combination. In an exemplary embodiment, communications component 1516 receives the broadcast signal from outside broadcasting management systems or broadcast related information via broadcast channel. In an exemplary embodiment, described communications component 1516 also comprises near-field communication (NFC) module, to promote short distance communication. Such as, can based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1500 can be realized by one or more application specific unicircuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device part (PLD), field-programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, for performing aforesaid method.
In the exemplary embodiment, additionally providing a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 1504 of instruction, above-mentioned instruction can perform aforesaid method by the treater 1520 of device 1500. Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage equipment etc.
Those skilled in the art, after considering specification sheets and putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure. The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the unexposed common practise in the art of the disclosure or conventional techniques means. Specification sheets and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to accurate structure described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (20)

1. one kind shows the method for picture preview graph, it is characterised in that, described method comprises:
Preview picture is treated in acquisition;
Determine and the described preview graph arrangement mode treating preview picture match;
According to the preview graph treating preview picture described in the display of described preview graph arrangement mode.
2. method according to claim 1, it is characterised in that, described determine and the described preview graph arrangement mode treating preview picture match, comprising:
Described in getting, treat that preview picture is divided into one or more groups;
The preview graph arrangement mode of preview picture match is determined often to treat described in group respectively based on default multiple preview graph arrangement template.
3. method according to claim 2, it is characterised in that,
For treating preview picture described in any one group, determine the preview graph arrangement mode of coupling in the following way:
Determine this group is often opened the preview graph desired size treating preview picture;
Obtaining multiple test template group, to generate the test template group set corresponding to this group, wherein, test template group described in each comprises one or more described default preview graph arrangement template;
This group is treated, and the preview graph of preview picture travels through different preview graph arrangement modes according to test template group described in each in described test template group set;
Expectation difference parameter corresponding to often kind of preview graph arrangement mode is obtained respectively based on described desired size;
Find out the preview graph arrangement mode corresponding to minimum expectation difference parameter, as the preview graph arrangement mode of coupling.
4. method according to claim 3, it is characterised in that, described determine this group is often opened the preview graph desired size treating preview picture, comprising:
This group will treat that preview picture is divided into one or more classification;
Obtain the original dimension grade that the preview graph of preview picture is corresponding for the treatment of in this group;
Based on described original dimension grade, that determines each classification respectively often opens the preview graph desired size class treating preview picture, to obtain the preview graph desired size class often opened in this group and treat preview picture;
Treat that the preview graph desired size class of preview picture determines corresponding preview graph desired size according to described.
5. method according to claim 4, it is characterised in that, described this group will treat that preview picture is divided into one or more classification, comprising:
Calculate this group is often opened and treat other similarity treating preview picture in preview picture and this group;
Treat that preview picture is as mutually similar picture, add up the similar number treating preview picture often opened in this group and treat preview picture for two that described similarity is more than or equal to predetermined threshold;
Maximum for the described number of correspondence are treated that preview picture is as cluster centre, carries out cluster analysis, this group will treat that preview picture is divided into one or more classification.
6. method according to claim 4, it is characterised in that, this group of described acquisition treats the original dimension grade that the preview graph of preview picture is corresponding, comprising:
Obtain the picture reconnaissance treating preview picture in this group;
The picture reconnaissance treating preview picture described in each is added with reference grade, to determine the corresponding initial desired size class of preview graph.
7. method according to claim 4, it is characterised in that, for treating preview picture described in any one classification, determine corresponding preview graph desired size class in the following way:
Judge such other treat whether the quantity of preview picture is more than or equal to predetermined threshold;If being less than predetermined threshold, then treat such other that preview graph original dimension grade that preview picture is corresponding is as preview graph desired size class; If being more than or equal to predetermined threshold, then the preview graph original dimension grade treating preview picture to such other is needed to revise;
When determining to need to revise until the preview graph original dimension grade of preview picture such other, treat that based on such other size of the preview graph original dimension grade that preview picture is corresponding treats that to such other preview graph original dimension grade of preview picture is revised, with obtain such other often open the preview graph desired size class treating preview picture.
8. method according to claim 7, it is characterised in that, described treat that based on such other size of the preview graph original dimension grade that preview picture is corresponding treats that to such other preview graph original dimension grade of preview picture is revised, comprising:
The size of the preview graph original dimension grade that preview picture is corresponding is treated in comparison such other;
Treat preview picture according to what described original dimension grade order from big to small obtained predetermined number, as main picture, such other other treat that preview picture is as secondary picture;
The preview graph desired size class of described main picture is modified to highest ranking, the preview graph desired size class of described picture is modified to the lowest class.
9. method according to claim 3, it is characterised in that,
For any one preview graph arrangement mode, obtain corresponding expectation difference parameter in the following way:
When acquisition is arranged according to this preview graph arrangement mode, this group is often opened the preview graph physical size treating preview picture;
Determine this group is often opened the difference of preview graph physical size and the corresponding desired size treating preview picture;
Calculate the absolute value sum often opening preview graph physical size and the difference of corresponding desired size treating preview picture in this group, as the expectation difference parameter of correspondence.
10. one kind shows the device of picture preview graph, it is characterised in that, described device comprises:
Acquisition module, is configured to acquisition and treats preview picture;
Determination module, is configured to determine and the described preview graph arrangement mode treating preview picture match;
Display module, is configured to according to the preview graph treating preview picture described in the display of described preview graph arrangement mode.
11. devices according to claim 10, it is characterised in that, described determination module comprises:
Grouping submodule block, is configured to treat that preview picture is divided into one or more groups described in getting;
Matched sub-block, is configured to determine respectively often to treat described in group the preview graph arrangement mode of preview picture match based on default multiple preview graph arrangement template.
12. devices according to claim 11, it is characterised in that, described matched sub-block comprises: the true stator modules of desired size, generates submodule block, traversal submodule block, it is desirable to difference parameter obtains submodule block, searches submodule block;
For treating preview picture described in any one group:
The true stator modules of desired size, is configured to determine often to open the preview graph desired size treating preview picture in this group;
Generating submodule block, be configured to obtain multiple test template group, to generate the test template group set corresponding to this group, wherein, test template group described in each comprises one or more described default preview graph arrangement template;
Traversal submodule block, is configured to this group being treated, the preview graph of preview picture travels through different preview graph arrangement modes according to test template group described in each in described test template group set;
Expect that difference parameter obtains submodule block, it is configured to obtain expectation difference parameter corresponding to often kind of preview graph arrangement mode respectively based on described desired size;
Search submodule block, it is configured to find out the preview graph arrangement mode corresponding to minimum expectation difference parameter, as the preview graph arrangement mode of coupling.
13. devices according to claim 12, it is characterised in that, the true stator modules of described desired size comprises:
Classification submodule block, is configured to treat that preview picture is divided into one or more classification in this group;
Original dimension grade obtains submodule block, is configured to the original dimension grade that the preview graph of preview picture is corresponding for the treatment of obtaining in this group;
Desired size class obtains submodule block, is configured to based on described original dimension grade, and that determines each classification respectively often opens the preview graph desired size class treating preview picture, to obtain the preview graph desired size class often opened in this group and treat preview picture;
The true stator modules of desired size, is configured to treat described in basis that the preview graph desired size class of preview picture determines corresponding preview graph desired size.
14. devices according to claim 13, it is characterised in that, described classification submodule block comprises:
Calculating sub module, is configured to calculate in this group often open and treats other similarity treating preview picture in preview picture and this group;
Statistics submodule block, treats that preview picture is as mutually similar picture, adds up the similar number treating preview picture often opened in this group and treat preview picture for two that are configured to be more than or equal to described similarity predetermined threshold;
Cluster submodule block, is configured to maximum for the described number of correspondence being treated, preview picture is as cluster centre, carries out cluster analysis, will treat that preview picture is divided into one or more classification in this group.
15. devices according to claim 13, it is characterised in that, described original dimension grade obtains submodule block, comprising:
Quality factor obtains submodule block, is configured to obtain the picture reconnaissance treating preview picture in this group;
Cumulative submodule block, is configured to be added the picture reconnaissance treating preview picture described in each with reference grade, to determine the corresponding initial desired size class of preview graph.
16. devices according to claim 13, it is characterised in that, described desired size class obtains submodule block and comprises: judges submodule block, repaiies syndrome generation module;
For treating preview picture described in any one classification:
Judge submodule block, be configured to judge such other treat whether the quantity of preview picture is more than or equal to predetermined threshold; If being less than predetermined threshold, then treat such other that preview graph original dimension grade that preview picture is corresponding is as preview graph desired size class; If being more than or equal to predetermined threshold, then the preview graph original dimension grade treating preview picture to such other is needed to revise;
Repair syndrome generation module, it is configured to when determining to need to revise until the preview graph original dimension grade of preview picture such other, treat that based on such other size of the preview graph original dimension grade that preview picture is corresponding treats that to such other preview graph original dimension grade of preview picture is revised, with obtain such other often open the preview graph desired size class treating preview picture.
17. devices according to claim 16, it is characterised in that, described in repair syndrome generation module and comprise:
Comparison sub-module, be configured to compare such other treat the size of the preview graph original dimension grade that preview picture is corresponding;
Submodule block determined by primary and secondary picture, is configured to treat preview picture according to what described original dimension grade order from big to small obtained predetermined number, as main picture, such other other treat that preview picture is as secondary picture;
Grade repaiies syndrome generation module, is configured to the preview graph desired size class of described main picture is modified to highest ranking, the preview graph desired size class of described picture is modified to the lowest class.
18. devices according to claim 12, it is characterised in that, it is desirable to difference parameter obtains submodule block, comprising: physical size obtains submodule block, and difference in size obtains submodule block, parameter acquiring submodule block;
For any one preview graph arrangement mode:
Physical size obtains submodule block, is configured to obtain when arranging according to this preview graph arrangement mode, often opens the preview graph physical size treating preview picture in this group;
Difference in size obtains submodule block, is configured to determine often to open in this group the difference of preview graph physical size and the corresponding desired size treating preview picture;
Parameter acquiring submodule block, is configured to calculate the absolute value sum often opening preview graph physical size and the difference of corresponding desired size treating preview picture in this group, as the expectation difference parameter of correspondence.
19. 1 kinds of terminals, it is characterised in that, comprising:
Treater;
The storer of instruction can be performed for storage of processor;
Wherein, described treater is configured to:
Preview picture is treated in acquisition;
Determine and the described preview graph arrangement mode treating preview picture match;
According to the preview graph treating preview picture described in the display of described preview graph arrangement mode.
20. 1 kinds of servers, it is characterised in that, comprising:
Treater;
The storer of instruction can be performed for storage of processor;
Wherein, described treater is configured to:
Preview picture is treated in acquisition;
Determine and the described preview graph arrangement mode treating preview picture match;
According to the preview graph treating preview picture described in the display of described preview graph arrangement mode.
CN201511017075.1A 2015-12-29 2015-12-29 Show method, apparatus, terminal and the server of preview picture figure Active CN105677731B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511017075.1A CN105677731B (en) 2015-12-29 2015-12-29 Show method, apparatus, terminal and the server of preview picture figure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511017075.1A CN105677731B (en) 2015-12-29 2015-12-29 Show method, apparatus, terminal and the server of preview picture figure

Publications (2)

Publication Number Publication Date
CN105677731A true CN105677731A (en) 2016-06-15
CN105677731B CN105677731B (en) 2019-05-21

Family

ID=56297944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511017075.1A Active CN105677731B (en) 2015-12-29 2015-12-29 Show method, apparatus, terminal and the server of preview picture figure

Country Status (1)

Country Link
CN (1) CN105677731B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106780314A (en) * 2016-12-29 2017-05-31 维沃移动通信有限公司 The method and mobile terminal of a kind of picture mosaic preview
CN107016124A (en) * 2017-04-27 2017-08-04 维沃移动通信有限公司 A kind of image processing method, mobile terminal and Cloud Server
CN107770577A (en) * 2016-08-16 2018-03-06 北京优朋普乐科技有限公司 For the method and apparatus of setting of the programs picture
CN109726343A (en) * 2018-12-26 2019-05-07 北京字节跳动网络技术有限公司 Image carousel method and device
CN109977247A (en) * 2019-03-27 2019-07-05 联想(北京)有限公司 Image processing method and image processing apparatus
CN111159441A (en) * 2019-12-25 2020-05-15 北大方正集团有限公司 Picture editing method, picture editing apparatus, and computer-readable storage medium
CN111857630A (en) * 2020-07-27 2020-10-30 平安科技(深圳)有限公司 Map multi-screen display method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100318908A1 (en) * 2009-06-11 2010-12-16 Apple Inc. User interface for media playback
CN103955481A (en) * 2014-04-03 2014-07-30 小米科技有限责任公司 Picture displaying method and device
CN104123339A (en) * 2014-06-24 2014-10-29 小米科技有限责任公司 Method and device for image management
CN104239315A (en) * 2013-06-09 2014-12-24 北京三星通信技术研究有限公司 Picture correlation method
US20150052136A1 (en) * 2013-08-19 2015-02-19 Qin Zhang Image Categorization Database and Related Applications
CN104461300A (en) * 2014-12-15 2015-03-25 宇龙计算机通信科技(深圳)有限公司 Picture preview method and picture preview system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100318908A1 (en) * 2009-06-11 2010-12-16 Apple Inc. User interface for media playback
CN104239315A (en) * 2013-06-09 2014-12-24 北京三星通信技术研究有限公司 Picture correlation method
US20150052136A1 (en) * 2013-08-19 2015-02-19 Qin Zhang Image Categorization Database and Related Applications
CN103955481A (en) * 2014-04-03 2014-07-30 小米科技有限责任公司 Picture displaying method and device
CN104123339A (en) * 2014-06-24 2014-10-29 小米科技有限责任公司 Method and device for image management
CN104461300A (en) * 2014-12-15 2015-03-25 宇龙计算机通信科技(深圳)有限公司 Picture preview method and picture preview system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107770577A (en) * 2016-08-16 2018-03-06 北京优朋普乐科技有限公司 For the method and apparatus of setting of the programs picture
CN106780314A (en) * 2016-12-29 2017-05-31 维沃移动通信有限公司 The method and mobile terminal of a kind of picture mosaic preview
CN106780314B (en) * 2016-12-29 2020-02-07 维沃移动通信有限公司 Jigsaw previewing method and mobile terminal
CN107016124A (en) * 2017-04-27 2017-08-04 维沃移动通信有限公司 A kind of image processing method, mobile terminal and Cloud Server
CN109726343A (en) * 2018-12-26 2019-05-07 北京字节跳动网络技术有限公司 Image carousel method and device
CN109977247A (en) * 2019-03-27 2019-07-05 联想(北京)有限公司 Image processing method and image processing apparatus
CN111159441A (en) * 2019-12-25 2020-05-15 北大方正集团有限公司 Picture editing method, picture editing apparatus, and computer-readable storage medium
CN111159441B (en) * 2019-12-25 2023-07-25 新方正控股发展有限责任公司 Picture editing method, picture editing apparatus, and computer-readable storage medium
CN111857630A (en) * 2020-07-27 2020-10-30 平安科技(深圳)有限公司 Map multi-screen display method and device, computer equipment and storage medium
CN111857630B (en) * 2020-07-27 2023-06-16 平安科技(深圳)有限公司 Map multi-screen display method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN105677731B (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN105677731A (en) Method, device, terminal and server for displaying picture previews
CN104216632B (en) The display methods and device of application icon
CN104820675A (en) Photo album displaying method and device
CN104299001A (en) Photograph album generating method and device
CN104717366A (en) Method and device for recommending contact photos
CN104615663A (en) File sorting method and device and terminal
CN111223045B (en) Jigsaw method and device and terminal equipment
CN107145270A (en) Emotion icons sort method and device
CN104951443A (en) Wallpaper downloading method, wallpaper uploading method, server and terminal
CN104636453A (en) Illegal user data identification method and device
CN104216971A (en) Method and device for indexing applications
CN105205494A (en) Similar picture identification method and device
CN105373580A (en) Method and device for displaying subjects
CN105426878A (en) Method and device for face clustering
CN104281703A (en) Method and device for calculating similarity among uniform resource locators (URL)
CN104991910A (en) Album creation method and apparatus
CN105678266A (en) Method and device for combining photo albums of human faces
CN106547547A (en) Collecting method and device
CN104636164A (en) Generating method and device for starting page
CN104598534A (en) Picture folding method and device
CN105654093A (en) Feature extraction method and apparatus thereof
CN105654092A (en) Feature extraction method and apparatus thereof
CN106021573A (en) Image classification method and device and electronic device
CN105205153A (en) File storage method and device
CN107424130A (en) Picture U.S. face method and apparatus

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