CN104978428A - Method and device for displaying abstract pictures of resources - Google Patents
Method and device for displaying abstract pictures of resources Download PDFInfo
- Publication number
- CN104978428A CN104978428A CN201510406143.7A CN201510406143A CN104978428A CN 104978428 A CN104978428 A CN 104978428A CN 201510406143 A CN201510406143 A CN 201510406143A CN 104978428 A CN104978428 A CN 104978428A
- Authority
- CN
- China
- Prior art keywords
- picture
- summary picture
- height
- lower limb
- resource
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/74—Browsing; Visualisation therefor
- G06F16/743—Browsing; Visualisation therefor a collection of video files or sequences
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/73—Querying
- G06F16/738—Presentation of query results
- G06F16/739—Presentation of query results in form of a video summary, e.g. the video summary being a video sequence, a composite still image or having synthesized frames
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computational Linguistics (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a method and a device for displaying abstract pictures of recourses, wherein the method comprises the following steps of: displaying abstract pictures of each resource in row, wherein the height of the abstract pictures is corresponding to length of corresponding resource; judging whether the abstract pictures in each row are aligned or not within a preset range; and increasing height of unaligned abstract pictures. According to the method, a serial phenomenon caused by especially high lower side edge of certain abstract picture in one row is avoided by increasing the height of the unaligned abstract pictures.
Description
Technical field
The present invention relates to multimedia technology field, more specifically, relate to a kind of method and apparatus showing the summary picture of resource.
Background technology
Along with the development of multimedia technology, the function that increasing user uses video to upload, the video oneself being intercepted or make is uploaded to video website.Video website can show each video uploaded in the mode of picture of making a summary, browse and select for user.Usually, each summary picture is shown by row.
The height of the summary picture of each resource is corresponding with the length of corresponding resource, and the length of resource is different, and the height of each summary picture will be caused different.Due in every row, upper and lower picture is close to arrangement (centre can fixing space, interval), as the summary picture 1 in Fig. 1, summary picture 5 and picture 6 of making a summary.So just there will be this situation, if namely the housing size of the resource of a certain row is all smaller, there will be " serial phenomenon ", if resource sorts according to the degree of correlation, so coming lastrow with regard to there will be the lower resource of the next line degree of correlation, having occurred the phenomenon inserted.As the secondary series in Fig. 1, the height of summary picture 2, summary picture 6 and summary picture 10 is all smaller, causes almost visually being in the second row at the summary picture 10 of the third line, namely there occurs serial.
Summary of the invention
In view of this, the object of the embodiment of the present invention proposes a kind of method and apparatus showing the summary picture of resource, can avoid the generation of serial phenomenon.
In order to achieve the above object, the embodiment of the present invention proposes a kind of method showing the summary picture of resource, comprises the following steps:
Shown by row by the summary picture of each resource, wherein, the height of summary picture is corresponding with the length of resource corresponding to picture of making a summary;
Judge whether the summary picture in every a line aligns in preset range;
Increase the height of unjustified summary picture.
In an embodiment of the present invention, whether the described summary picture judged in every a line aligns in preset range, comprising:
Judge to make a summary the lower limb of picture whether higher than the height of the following predeterminable range of coboundary of adjacent summary picture; When the height of the lower limb of picture of making a summary higher than the following predeterminable range of coboundary of adjacent summary picture, confirm that summary picture does not align in preset range.
In an embodiment of the present invention, the height of the unjustified summary picture of described increase, comprising:
Increase not with the height of the summary picture alignd, align with the lower limb of adjacent summary picture to make the lower limb of unjustified summary picture.
In an embodiment of the present invention, the height of the unjustified summary picture of described increase, comprising:
Increase the height of unjustified summary picture, align to make the lower limb of the lower limb of the unjustified summary picture summary picture higher with lower limb in adjacent summary picture.
In an embodiment of the present invention, the described summary picture by each resource shows by row, comprising:
The summary picture of each resource is numbered;
The summary picture of each resource shows by order according to numbering by row.
The embodiment of the present invention also proposes a kind of device showing the summary picture of resource, comprising:
Display module, for being shown by row by the summary picture of each resource, wherein, the height of summary picture is corresponding with the length of resource corresponding to picture of making a summary;
Judge module, for judging whether the summary picture in every a line aligns in preset range;
Adjusting module, for increasing the height of unjustified summary picture.
In an embodiment of the present invention, described judge module also for:
Judge to make a summary the lower limb of picture whether higher than the height of the following predeterminable range of coboundary of adjacent summary picture; When the height of the lower limb of picture of making a summary higher than the following predeterminable range of coboundary of adjacent summary picture, confirm that summary picture does not align in preset range.
In an embodiment of the present invention, described adjusting module also for:
Increase not with the height of the summary picture alignd, align with the lower limb of adjacent summary picture to make the lower limb of unjustified summary picture.
In an embodiment of the present invention, described adjusting module also for:
Increase the height of unjustified summary picture, align to make the lower limb of the lower limb of the unjustified summary picture summary picture higher with lower limb in adjacent summary picture.
In an embodiment of the present invention, described display module comprises:
Numbering submodule, for being numbered the summary picture of each resource;
Display sub-module, for showing the summary picture of each resource by row according to the order of numbering.
The technical scheme that the embodiment of the present invention provides can comprise following beneficial effect:
The present invention, by increasing the height of unjustified summary picture, avoids the serial phenomenon occurring in a line that the lower limb of certain summary picture is high especially and cause.
The further feature of the embodiment of the present invention and advantage will be set forth in the following description, and, partly become apparent from instructions, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write instructions, claims and accompanying drawing and obtain.
Below by drawings and Examples, the technical scheme of the embodiment of the present invention is described in further detail.
Accompanying drawing explanation
Accompanying drawing is used to provide the further understanding to the embodiment of the present invention, and forms a part for instructions, together with embodiments of the present invention for explaining the present invention, does not form the restriction to the embodiment of the present invention.In the accompanying drawings:
Fig. 1 is the exemplary schematic diagram showing the summary picture of resource.
Fig. 2 is the process flow diagram of the method for the summary picture of display resource in one embodiment of the invention.
Fig. 3 is the process flow diagram of the method for the summary picture of display resource in one embodiment of the invention.
Fig. 4 is that judging in one embodiment of the invention is made a summary the schematic diagram whether picture align in preset range with adjacent summary picture.
Fig. 5 is the high schematic diagram of the summary picture 10 increased in one embodiment of the invention in Fig. 4.
Fig. 6 is the high schematic diagram of the summary picture 10 increased in another embodiment of the present invention in Fig. 4.
Fig. 7 is the high schematic diagram of the summary picture 10 increased in another embodiment of the present invention in Fig. 4.
Fig. 8 is the structural representation of the device of the summary picture showing resource in one embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein is only for instruction and explanation of the embodiment of the present invention, is not intended to limit the present invention embodiment.
Be illustrated in figure 2 the process flow diagram of the method for the summary picture of the display resource in the embodiment of the present invention, the method comprises:
Step S21: shown by row by the summary picture of each resource, wherein, the height of summary picture is corresponding with the length of resource corresponding to picture of making a summary.
Step S22: judge whether the summary picture in every a line aligns in preset range.
Step S23: the height increasing unjustified summary picture.
In the embodiment of the present invention, judging whether the summary picture in every a line aligns in preset range, can be judge whether the lower limb of summary picture aligns with the lower limb of summary picture adjacent in same a line, is straight line.Also can be judge whether the lower limb of summary picture aligns within the specific limits with the adjacent summary picture in same a line.When the lower limb of picture of making a summary does not align within the specific limits with adjacent summary picture, illustrate the lower limb of this summary picture its be expert in be in higher position, be easily regarded as serial.By increasing the height of unjustified summary picture in the embodiment of the present invention, avoid the serial phenomenon caused because the lower limb of certain summary picture is high especially in a line.
Be illustrated in figure 3 the process flow diagram of the method for the summary picture of the display resource that another embodiment of the present invention provides, in this embodiment, comprise the following steps:
Step S31: be numbered by the summary picture of each resource, wherein, the height of summary picture is corresponding with the length of resource corresponding to picture of making a summary.
A frame picture of the video of intercepting, the information such as title, uplink time, video length of video can be comprised in each width summary picture.
Step S32: the summary picture of each resource shows by order according to numbering by row.
The summary picture of resource being numbered, and according to the order of numbering, the benefit that summary picture shows by row being, the picture that the left and right of every width summary picture is adjacent can being determined like clockwork, particularly when there is serial phenomenon according to numbering.
Whether the lower limb of step S33: for each summary picture A in every a line, the picture A of judging to make a summary higher than the height of the following predeterminable range of coboundary of adjacent summary picture, if so, performs step S34; If not, then terminate.
As shown in Figure 4, the lower limb of summary picture 6 is lower than the height (the height schematic lines see shown in Fig. 4 center line 1) of the following predeterminable range of coboundary of summary picture 5 adjacent in same a line, descriptive abstract picture 6 also not too departs from this row, is not easy to be regarded as serial.Therefore, picture 6 of making a summary aligns in preset range with adjacent summary picture 5.The lower limb of summary picture 10 is higher than the height (the height schematic lines see shown in Fig. 4 center line 2) of the following predeterminable range of coboundary of summary picture 9 adjacent in same a line, therefore, picture 10 of making a summary does not align with adjacent summary picture 9 in preset range.
Adjacent summary picture comprises the adjacent summary picture in a left side in the same a line summary picture adjacent with the right side, in other embodiments of the invention, the summary picture that can set summary picture is only adjacent with its left side compares, and also can set and be compared by summary picture lower for the coboundary in summary picture and adjacent summary picture.
Step S34: the height increasing summary picture A, aligns with the lower limb of adjacent summary picture to make the lower limb of summary picture A.
As shown in Figure 5, increase the height of summary picture 10, align with the lower limb of adjacent summary picture to make the lower limb of summary picture 10.Can not only avoid summary picture 10 that serial occurs like this, also can avoid in next line with the summary picture generation serial of summary picture 10 same row.
In other embodiments of the invention, the height of summary picture 10 can also be increased, as shown in Figure 6, to make the lower limb of summary picture 10 lower than the height of the following predeterminable range of coboundary of summary picture 9 adjacent in same a line.
In other embodiments of the invention, also can increase the height of summary picture 10, as shown in Figure 7, align to make the lower limb of the lower limb of the summary picture 10 summary picture 11 higher with lower limb in adjacent summary picture.
As shown in Figure 8, the embodiment of the present invention also proposes a kind of device showing the summary picture of resource, comprising:
Display module 801, for being shown by row by the summary picture of each resource, wherein, the height of summary picture is corresponding with the length of resource corresponding to picture of making a summary;
Judge module 802, for judging whether the summary picture in every a line aligns in preset range;
Adjusting module 803, for increasing the height of unjustified summary picture.
Described judge module 802 also for:
Judge to make a summary the lower limb of picture whether higher than the height of the following predeterminable range of coboundary of adjacent summary picture; When the height of the lower limb of picture of making a summary higher than the following predeterminable range of coboundary of adjacent summary picture, confirm that summary picture does not align in preset range.
Described adjusting module 803 also for:
Increase the height of unjustified summary picture, align with the lower limb of adjacent summary picture to make the lower limb of unjustified summary picture.
Described adjusting module 803 also for:
Increase the height of unjustified summary picture, align to make the lower limb of the lower limb of the unjustified summary picture summary picture higher with lower limb in adjacent summary picture.
Described display module 801 comprises:
Numbering submodule, for being numbered the summary picture of each resource;
Display sub-module, for showing the summary picture of each resource by row according to the order of numbering.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (10)
1. show a method for the summary picture of resource, it is characterized in that, comprise the following steps:
Shown by row by the summary picture of each resource, wherein, the height of summary picture is corresponding with the length of resource corresponding to picture of making a summary;
Judge whether the summary picture in every a line aligns in preset range;
Increase the height of unjustified summary picture.
2. method according to claim 1, is characterized in that, whether the described summary picture judged in every a line aligns in preset range, comprising:
Judge to make a summary the lower limb of picture whether higher than the height of the following predeterminable range of coboundary of adjacent summary picture; When the height of the lower limb of picture of making a summary higher than the following predeterminable range of coboundary of adjacent summary picture, confirm that summary picture does not align in preset range.
3. method according to claim 1, is characterized in that, the height of the unjustified summary picture of described increase, comprising:
Increase the height of unjustified summary picture, align with the lower limb of adjacent summary picture to make the lower limb of unjustified summary picture.
4. method according to claim 1, is characterized in that, the height of the unjustified summary picture of described increase, comprising:
Increase the height of unjustified summary picture, align to make the lower limb of the lower limb of the unjustified summary picture summary picture higher with lower limb in adjacent summary picture.
5. method according to claim 1, is characterized in that, the described summary picture by each resource shows by row, comprising:
The summary picture of each resource is numbered;
The summary picture of each resource shows by order according to numbering by row.
6. show a device for the summary picture of resource, it is characterized in that, comprising:
Display module, for being shown by row by the summary picture of each resource, wherein, the height of summary picture is corresponding with the length of resource corresponding to picture of making a summary;
Judge module, for judging whether the summary picture in every a line aligns in preset range;
Adjusting module, for increasing the height of unjustified summary picture.
7. device according to claim 6, is characterized in that, described judge module also for:
Judge to make a summary the lower limb of picture whether higher than the height of the following predeterminable range of coboundary of adjacent summary picture; When the height of the lower limb of picture of making a summary higher than the following predeterminable range of coboundary of adjacent summary picture, confirm that summary picture does not align in preset range.
8. device according to claim 6, is characterized in that, described adjusting module also for:
Increase the height of unjustified summary picture, align with the lower limb of adjacent summary picture to make the lower limb of unjustified summary picture.
9. device according to claim 6, is characterized in that, described adjusting module also for:
Increase the height of unjustified summary picture, align to make the lower limb of the lower limb of the unjustified summary picture summary picture higher with lower limb in adjacent summary picture.
10. device according to claim 6, is characterized in that, described display module comprises:
Numbering submodule, for being numbered the summary picture of each resource;
Display sub-module, for showing the summary picture of each resource by row according to the order of numbering.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510406143.7A CN104978428A (en) | 2015-07-10 | 2015-07-10 | Method and device for displaying abstract pictures of resources |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510406143.7A CN104978428A (en) | 2015-07-10 | 2015-07-10 | Method and device for displaying abstract pictures of resources |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104978428A true CN104978428A (en) | 2015-10-14 |
Family
ID=54274932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510406143.7A Pending CN104978428A (en) | 2015-07-10 | 2015-07-10 | Method and device for displaying abstract pictures of resources |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104978428A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101923709A (en) * | 2009-06-16 | 2010-12-22 | 日电(中国)有限公司 | Image splicing method and equipment |
CN102591853A (en) * | 2011-12-29 | 2012-07-18 | 优视科技有限公司 | Webpage rearrangement method, webpage rearrangement device and mobile terminal |
US20120243803A1 (en) * | 2007-04-05 | 2012-09-27 | Adobe Systems Incorporated | Laying Out Multiple Images |
CN103324454A (en) * | 2013-05-23 | 2013-09-25 | 百度在线网络技术(北京)有限公司 | Method and device for detecting deranged display elements in target area |
CN104239005A (en) * | 2013-06-09 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Graph alignment method and device |
-
2015
- 2015-07-10 CN CN201510406143.7A patent/CN104978428A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120243803A1 (en) * | 2007-04-05 | 2012-09-27 | Adobe Systems Incorporated | Laying Out Multiple Images |
CN101923709A (en) * | 2009-06-16 | 2010-12-22 | 日电(中国)有限公司 | Image splicing method and equipment |
CN102591853A (en) * | 2011-12-29 | 2012-07-18 | 优视科技有限公司 | Webpage rearrangement method, webpage rearrangement device and mobile terminal |
CN103324454A (en) * | 2013-05-23 | 2013-09-25 | 百度在线网络技术(北京)有限公司 | Method and device for detecting deranged display elements in target area |
CN104239005A (en) * | 2013-06-09 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Graph alignment method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104090979A (en) | Method and device for editing webpage | |
CN104794116B (en) | The layout method and device of element in a kind of page | |
US20160063672A1 (en) | Electronic device and method for generating thumbnail picture | |
JP2014038601A (en) | Automatic image editing device by image analysis, method and computer readable recording medium | |
CN103631958A (en) | Method for multi-screen content display in automatic page matching mode | |
CN102800045A (en) | Image processing method and device | |
CN104978433A (en) | Web page display method and device | |
CN104517307A (en) | Method and device for animation producing | |
CN104834457A (en) | Method and apparatus for automatically adjusting touch screen keyboard | |
CN105407114A (en) | Client and method for processing Zookeeper cluster data | |
CN105373373A (en) | Quick icon generation method and apparatus | |
CN103455474B (en) | The edit methods of a kind of image material and system | |
CN104978428A (en) | Method and device for displaying abstract pictures of resources | |
CN104991945A (en) | Method and apparatus for displaying abstract pictures of resources | |
CN105336306A (en) | Color temperature adjustment method and electronic equipment | |
CN104991944A (en) | Method and apparatus for displaying abstract pictures of resources | |
CN109448085A (en) | Image rendering device, method and its non-transient computer-readable storage medium | |
CN104883477A (en) | Video data predistortion processing method and apparatus, and head-mounted display | |
CN104185085A (en) | Video on-demand method and device | |
CN104301520B (en) | A kind of information input method, device and terminal | |
CN104517273A (en) | Image super-resolution processing method and apparatus | |
CN103517132A (en) | Program list setting method and device | |
CN104580932A (en) | Image information modification method and device | |
CN104581359A (en) | Method and system for processing watching records in television box | |
CN103280208B (en) | A kind of method of automatic adjustment text importing size and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151014 |
|
RJ01 | Rejection of invention patent application after publication |