CN103020127B - For rendering method and the device of picture - Google Patents
For rendering method and the device of picture Download PDFInfo
- Publication number
- CN103020127B CN103020127B CN201210468160.XA CN201210468160A CN103020127B CN 103020127 B CN103020127 B CN 103020127B CN 201210468160 A CN201210468160 A CN 201210468160A CN 103020127 B CN103020127 B CN 103020127B
- Authority
- CN
- China
- Prior art keywords
- picture element
- element unit
- unit cell
- cell
- requested
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 92
- 238000009877 rendering Methods 0.000 title claims abstract description 14
- 230000003321 amplification Effects 0.000 claims abstract description 70
- 238000003199 nucleic acid amplification method Methods 0.000 claims abstract description 70
- 230000008569 process Effects 0.000 claims abstract description 45
- 238000012545 processing Methods 0.000 claims abstract description 14
- 230000009467 reduction Effects 0.000 claims description 37
- 238000003780 insertion Methods 0.000 claims description 21
- 230000037431 insertion Effects 0.000 claims description 21
- 230000000903 blocking effect Effects 0.000 claims description 5
- 238000000605 extraction Methods 0.000 claims description 3
- 230000003993 interaction Effects 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 230000009931 harmful effect Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 230000000116 mitigating effect Effects 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
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/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/54—Browsing; Visualisation therefor
Landscapes
- Engineering & Computer Science (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)
- Controls And Circuits For Display Device (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
The invention discloses a kind of rendering method for picture and device, described device comprises: resize unit, is suitable for each picture element unit cell to be adjusted to same size and shows with waterfall wall layout type; Information acquisition unit, is suitable for, when receiving the amplification request to picture element unit cell, obtaining the positional information of requested picture element unit cell; Magnification processing, is suitable for the enlargement factor based on setting, carries out amplifications under process show current browsing requested picture element unit cell; Wherein, magnification processing be also suitable for current browse amplification display is carried out to requested picture element unit cell under process time, each picture element unit cell of amplifying the place of taking up space of display institute to be moved down or hiding.The method of the invention and device achieve user can when retaining former waterfall wall paper office and not affecting that user is current browses process, use more large regions to check detailed information and the Geng Duo content of picture, information display amount increase while user interactions cost reduce.
Description
Technical field
The present invention relates to network communication technology field, particularly relate to a kind of rendering method for picture and device.
Background technology
Waterfall wall is that comparatively common web page contents presents scheme at present, and the main part branch of waterfall wall comprises multiple little unit, a such as pictures, and the general width of these unit is fixing.Main part branch is divided into multiple row, and all unit are filled into according to a definite sequence in each row, makes each unit class seemingly one by one little " water droplet ", and just defines waterfall wall according to " water droplet " stream of multiple row arrangement.Due to the indefinite height of the equal fixed width of each unit in waterfall wall, and self-adaptation is paved with full page, so the content of the page does not need the page turning of traditional approach but directly automatically loads to during bottom at page scroll, and generally can load many times, be similar to the innumerable of waterfall, concrete bandwagon effect figure as shown in Figure 1.
At present, waterfall wall, in order to hold more content, often makes the size of each unit smaller, which results in and there is natural defect on content displaying, can not show more effective informations easily and fast.For this problem, waterfall wall scheme provides picture amplifying display function, but when user utilizes this function to carry out amplification display to waterfall unit within the walls, the unit amplifying display can be shown in the new page.Visible, when utilizing this amplifying display function to carry out amplification display, original waterfall wall paper office must be departed from, so just upset user original browse process, simultaneously also make the interactivity of user reduce.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the rendering method for picture solved the problem at least in part and device.
According to one aspect of the present invention, provide a kind of rendering method for picture, comprising:
Each picture element unit cell is adjusted to same size and shows with waterfall wall layout type;
When receiving the amplification request to a certain picture element unit cell, obtain the positional information of requested picture element unit cell;
Based on the enlargement factor of setting, with the position of requested picture element unit cell for benchmark, amplifications is carried out to requested picture element unit cell under process show current browsing.
Alternatively, in the method for the invention, the described enlargement factor based on setting, with the position of requested picture element unit cell for benchmark, amplifications is carried out to requested picture element unit cell under process show current browsing, comprise further:
According to the enlargement factor of setting, the lateral cell number that the described requested picture element unit cell of calculating amplification takies and longitudinal unit number;
With the position of described requested picture element unit cell for benchmark, insert on horizontal and vertical respectively and meet corresponding unit number and the multiple dummy cells covering described requested picture element unit cell;
The requested picture element unit cell of display is amplified at the dummy cell region place inserted.
Alternatively, in the method for the invention, the described enlargement factor according to setting, the lateral cell number that the described requested picture element unit cell of calculating amplification takies and longitudinal unit number, comprise further:
According to the enlargement factor of described setting, determine lateral magnification and the vertical magnification multiple of requested picture element unit cell;
With the original lateral dimension of picture element unit cell for radix, according to described lateral magnification, determine to amplify the lateral cell number that described picture element unit cell takies;
With the original longitudinal size of picture element unit cell for radix, according to described vertical magnification multiple, determine to amplify longitudinal unit number that described picture element unit cell takies.
Alternatively, in the method for the invention, described with the position of requested picture element unit cell for benchmark, insert on horizontal and vertical respectively and meet corresponding unit number and the multiple dummy cells covering described requested picture element unit cell, comprise further:
To ask the lateral attitude of picture element unit cell under waterfall wall layout type for benchmark, insert in described lateral attitude and left side thereof and/or right side the dummy cell meeting described lateral cell number;
With laterally inserted dummy cell for benchmark, insert the dummy cell meeting described longitudinal unit number downwards.
Alternatively, in the method for the invention, the described dummy cell region place inserting amplifies the requested picture element unit cell of display and specifically comprises: requested former picture element unit cell hidden, and generates the picture element unit cell after amplifying at the dummy cell region place of described insertion and show.
Alternatively, in the method for the invention, described current browse amplification display is carried out to requested picture element unit cell under process time, each picture element unit cell of amplifying the place of taking up space of display institute to be moved down or hiding.
Alternatively, the method for the invention comprises further: receive the reduction request to exaggerated picture element unit cell, the picture element unit cell of amplification is carried out reduction display.
Alternatively, in the method for the invention, described the picture element unit cell of amplification is carried out reduction display, comprise further:
Obtain the insertion position of the original position being exaggerated picture element unit cell and each dummy cell inserted when amplifying described picture element unit cell;
The picture element unit cell of reduction is shown in described original position, each dummy cell at described insertion position place is destroyed, the space of release busy.
Alternatively, the method for the invention comprises further:
When adjustment occurs the terminal page width Showed Picture, detect the current picture element unit cell that whether there is amplification, if, then by after the picture element unit cell reduction treatment of amplification, the columns of waterfall wall is adjusted, and after the adjustment, the picture element unit cell be reduced is re-started and amplifies process; Otherwise, directly the columns of waterfall wall is adjusted.
Alternatively, in the method for the invention, described picture element unit cell is the picture element unit cell in wallpaper website; The location contents of described picture element unit cell is picture or is blocking word content.
According to a further aspect in the invention, provide and a kind ofly present device for picture, comprising:
Resize unit, is suitable for each picture element unit cell to be adjusted to same size and shows with waterfall wall layout type;
Information acquisition unit, is suitable for, when receiving the amplification request to a certain picture element unit cell, obtaining the positional information of requested picture element unit cell;
Magnification processing, is suitable for the enlargement factor based on setting, with the position of requested picture element unit cell for benchmark, carries out amplifications under process show current browsing requested picture element unit cell.
Alternatively, in device of the present invention, described magnification processing, comprises further:
Computation subunit, is suitable for the enlargement factor according to setting, the lateral cell number that the described requested picture element unit cell of calculating amplification takies and longitudinal unit number;
Intron unit, is suitable for the position of described requested picture element unit cell for benchmark, inserts on horizontal and vertical respectively and meets corresponding unit number and the multiple dummy cells covering described requested picture element unit cell;
Amplify subelement, be suitable for amplifying the requested picture element unit cell of display at the dummy cell region place inserted.
Alternatively, in device of the present invention, described computation subunit, be further adapted for the enlargement factor according to described setting, determine lateral magnification and the vertical magnification multiple of requested picture element unit cell, with the original lateral dimension of picture element unit cell for radix, according to described lateral magnification, determine to amplify the lateral cell number that described picture element unit cell takies, and with the original longitudinal size of picture element unit cell for radix, according to described vertical magnification multiple, determine to amplify longitudinal unit number that described picture element unit cell takies.
Alternatively, in device of the present invention, described intron unit, be further adapted for ask the lateral attitude of picture element unit cell under waterfall wall layout type to be benchmark, the dummy cell meeting described lateral cell number is inserted in described lateral attitude and left side thereof and/or right side, and with laterally inserted dummy cell for benchmark, insert the dummy cell meeting described longitudinal unit number downwards.
Alternatively, in device of the present invention, described amplification subelement, is further adapted for and requested former picture element unit cell is hidden, and generates the picture element unit cell after amplifying at the dummy cell region place of described insertion and show.
Alternatively, in device of the present invention, described magnification processing, be further adapted for current browse amplification display is carried out to requested picture element unit cell under process time, each picture element unit cell of amplifying the place of taking up space of display institute to be moved down or hiding.
Alternatively, device of the present invention also comprises:
Reduction treatment unit, is suitable for receiving the reduction request to exaggerated picture element unit cell, the picture element unit cell of amplification is carried out reduction display.
Alternatively, in device of the present invention, described reduction treatment unit, comprises further:
Information extraction subelement, the insertion position of each dummy cell inserted when being suitable for obtaining the original position of exaggerated picture element unit cell and amplifying described picture element unit cell;
Also atomic unit, is suitable for the picture element unit cell of reduction to show in described original position, is destroyed by each dummy cell at described insertion position place, the space of release busy.
Alternatively, device of the present invention also comprises:
Adjustment unit, be suitable for when adjustment occurs the terminal page width Showed Picture, detect the current picture element unit cell that whether there is amplification, if, then by after the picture element unit cell reduction treatment of amplification, the columns of waterfall wall is adjusted, and after the adjustment, the picture element unit cell be reduced is re-started and amplifies process; Otherwise, directly the columns of waterfall wall is adjusted.
Alternatively, in device of the present invention, described picture element unit cell is the picture element unit cell in wallpaper website; The location contents of described picture element unit cell is picture or is blocking word content.
Can be implemented in the displaying of waterfall wall paper office according to the rendering method for picture of the present invention and device, carry out zoom in/out operation to a certain picture element unit cell and do not affect original waterfall wall showing and user interaction process, user under waterfall wall layout pattern, can check more information simply and easily.In addition, the present invention also achieves when page zoom-in and zoom-out causes waterfall wall columns to change, and can not cause harmful effect, can ensure originally to browse correctly carrying out of process to the picture element unit cell in amplification.The present invention well solves for the defect that the presentation mode of picture exists in prior art as can be seen here, the Advantageous Effects achieved.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 is waterfall wall local mode schematic diagram in prior art;
The process flow diagram of the rendering method for picture that Fig. 2 provides for the embodiment of the present invention one;
The process flow diagram of the rendering method for picture that Fig. 3 provides for the embodiment of the present invention two;
Fig. 4 is the schematic diagram selecting picture element unit cell in the embodiment of the present invention three;
Fig. 5 is the schematic diagram of the shared band of position after determining enlarged drawing blade unit after selecting picture element unit cell in the embodiment of the present invention three;
Fig. 6 is schematic diagram after inserting dummy cell in the embodiment of the present invention three in waterfall wall layout type;
Fig. 7 is the design sketch of enlarged drawing blade unit in the embodiment of the present invention three;
The structured flowchart presenting device for picture that Fig. 8 provides for the embodiment of the present invention four;
The structured flowchart presenting device for picture that Fig. 9 provides for the embodiment of the present invention five.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
The embodiment of the present invention provides a kind of rendering method for picture and device, described method and apparatus is in conjunction with waterfall wall technology, existing waterfall wall scheme is optimized, make in waterfall wall paper office shows, when amplifieroperation is carried out to a certain picture element unit cell, do not affect user current browse process, make user under waterfall wall layout pattern, more information can be checked simply and easily.
In order to the implementation procedure of method and apparatus described in the clearer elaboration embodiment of the present invention, be described in detail below by several specific embodiment.
Embodiment one
As shown in Figure 2, the embodiment of the present invention provides a kind of rendering method for picture, and the method specifically comprises:
Step S201, is adjusted to same size by each picture element unit cell and shows with waterfall wall layout type;
In this step, the location contents of described picture element unit cell is picture or is blocking word content; Described picture element unit cell can be the picture element unit cell in wallpaper website.
Step S202, when receiving the amplification request to a certain picture element unit cell, obtains the positional information of requested picture element unit cell;
Step S203, based on the enlargement factor of setting, with the position of requested picture element unit cell for benchmark, carries out to requested picture element unit cell amplifications under process show current browsing.
This step specific implementation is: 1) according to the enlargement factor of setting, the lateral cell number that the described requested picture element unit cell of calculating amplification takies and longitudinal unit number; 2) with the position of described requested picture element unit cell for benchmark, insert on horizontal and vertical respectively and meet corresponding unit number and the multiple dummy cells covering described requested picture element unit cell; 3) the requested picture element unit cell of display is amplified at the dummy cell region place inserted.
In described step 1), according to the enlargement factor of setting, the lateral cell number that the described requested picture element unit cell of calculating amplification takies and longitudinal unit number, specific implementation is:
11) according to the enlargement factor of described setting, lateral magnification and the vertical magnification multiple of requested picture element unit cell is determined;
12) with the original lateral dimension of picture element unit cell for radix, according to described lateral magnification, determine to amplify the lateral cell number that described picture element unit cell takies;
13) with the original longitudinal size of picture element unit cell for radix, according to described vertical magnification multiple, determine to amplify longitudinal unit number that described picture element unit cell takies.
Further, described step 2) in, described with the position of requested picture element unit cell for benchmark, insert on horizontal and vertical respectively and meet corresponding unit number and the multiple dummy cells covering described requested picture element unit cell, specific implementation is: to ask the lateral attitude of picture element unit cell under waterfall wall layout type for benchmark, inserts in described lateral attitude and left side thereof and/or right side the dummy cell meeting described lateral cell number; With laterally inserted dummy cell for benchmark, insert the dummy cell meeting described longitudinal unit number downwards.
Further, in described step 3), the described dummy cell region place inserting amplifies the requested picture element unit cell of display and specifically comprises: requested former picture element unit cell hidden, and generates the picture element unit cell after amplifying at the dummy cell region place of described insertion and show.
Further, in the embodiment of the present invention, described current browse amplification display is carried out to requested picture element unit cell under process time, each picture element unit cell of amplifying the place of taking up space of display institute to be moved down or hiding.
In sum, method described in the visible embodiment of the present invention achieves in waterfall wall paper office shows, carry out amplifieroperation to a certain picture element unit cell and do not affect original waterfall wall showing and user interaction process, user under waterfall wall layout pattern, can check more information simply and easily.
Embodiment two
As shown in Figure 3, the embodiment of the present invention provides a kind of rendering method for picture, and the method comprises all technical characteristics of embodiment one, and further discloses picture reduction treatment flow process, specifically comprises the steps:
Step S301, is adjusted to same size by each picture element unit cell and shows with waterfall wall layout type;
Step S302, when receiving the amplification request to a certain picture element unit cell, obtains the positional information of requested picture element unit cell;
Step S303, based on the enlargement factor of setting, with the position of requested picture element unit cell for benchmark, carries out to requested picture element unit cell amplifications under process show current browsing.
The specific implementation of this step is: 1) according to the enlargement factor of setting, the lateral cell number that the described requested picture element unit cell of calculating amplification takies and longitudinal unit number; 2) with the position of described requested picture element unit cell for benchmark, insert on horizontal and vertical respectively and meet corresponding unit number and the multiple dummy cells covering described requested picture element unit cell; 3) the requested picture element unit cell of display is amplified at the dummy cell region place inserted.
Step S304, when receiving the reduction request to exaggerated picture element unit cell, carries out reduction display by the picture element unit cell of amplification.
In this step, the picture element unit cell of amplification is carried out reduction display, specifically comprise: the insertion position of each dummy cell inserted when obtaining the original position of exaggerated picture element unit cell and amplify described picture element unit cell; The picture element unit cell of reduction is shown in described original position, each dummy cell at described insertion position place is destroyed, the space of release busy.
Further, in the embodiment of the present invention, when there is adjustment in the terminal page width Showed Picture, detect the current picture element unit cell that whether there is amplification, if so, then by after the picture element unit cell reduction treatment of amplification, the columns of waterfall wall is adjusted, and after the adjustment, the picture element unit cell be reduced is re-started and amplifies process; Otherwise, directly the columns of waterfall wall is adjusted.
In sum, method described in the visible embodiment of the present invention achieves in waterfall wall paper office shows, carry out mitigation and amplification operation to a certain picture element unit cell and do not affect original waterfall wall showing and user interaction process, user under waterfall wall layout pattern, can check more information simply and easily.In addition, the present invention also achieves when page zoom-in and zoom-out causes waterfall wall columns to change, and can not cause harmful effect, can ensure originally to browse correctly carrying out of process to the picture element unit cell in amplification.
Embodiment three
A kind of rendering method for picture that the embodiment of the present invention provides, the method is for the basis of the presentation mode of picture described in embodiment one, two, in conjunction with the further elaboration that concrete example is carried out, in order to the detailed process illustrating that in the present invention, picture presents, certainly the specific implementation described in this example is not unique implementation of the method for the invention, it uniquely limits the present invention for explaining the present invention and being not used in, and specifically comprises:
Step 1, is adjusted to same size by picture element unit cell each in wallpaper website and shows with waterfall wall layout type; In this step, the size of fixing each picture element unit cell, can show good page effect when carrying out zoom in/out operation, prevents page entanglement.
Step 2, when user clicks certain picture element unit cell, this picture element unit cell, in the position of whole content flow, is denoted as A by the picture element unit cell of the current click of recording user, and picture element unit cell position is the y position of x row; Concrete design sketch as shown in Figure 4.
Step 3, according to picture element unit cell lateral magnification M, the columns at the total columns in content regions (cNum) and unit place (x), determines the horizontal display location of amplifying rear unit, and the columns (i, i=M) of the dummy cell laterally will filled up is determined according to horizontal display location.
Step 4, according to the position (y) at picture element unit cell vertical magnification multiple N and unit place, determines the line number (j, j=N) longitudinally needing the dummy cell filled up, specifically as shown in Figure 5.
Step 5, inserts the dummy cell number of specifying respectively in the horizontal and vertical directions, obtains picture element unit cell magnification region, specifically as shown in Figure 6.
In this step, former picture element unit cell A covers by the magnification region obtained, and former picture element unit cell A is hidden;
Further, in this step, when after insertion dummy cell, current dummy cell each picture element unit cell at the place of taking up space move down or be hidden.
Step 6, the magnification region place obtained, shows the unit (Az) amplified; Bandwagon effect figure as shown in Figure 7.
Further, when the picture amplified is reduced, perform picture and reduce flow process, this picture reduces the inverse process that flow process is above-mentioned amplification process, that is: obtain the insertion position of the original position being exaggerated picture element unit cell and each dummy cell inserted when amplifying described picture element unit cell; The picture element unit cell of reduction is shown in described original position, each dummy cell at described insertion position place is destroyed, the space of release busy.
In addition, also it should be noted that, because the waterfall wall page can according to the columns in the automatic Suitable content district of the width of terminal page, so when the page performs zoom operations, there is amplifying unit to exist if current, then first reduce this unit, and record this cell data and position.After page zoom-in and zoom-out adjustment is complete, amplification effect is being re-executed to the unit of record.
In sum, use method described in the embodiment of the present invention, user can when retaining former waterfall wall paper office, uses more that large regions is to check detailed information and the Geng Duo content of picture, and while information display amount increases, user interactions cost reduces.In addition, the embodiment of the present invention has also taken into full account that the page changes the impact caused waterfall wall, and has made corresponding treatment mechanism, ensures the continuity that user browses.
Embodiment four
As shown in Figure 8, the embodiment of the present invention provides a kind of and presents device for picture, and this device specifically comprises:
Resize unit 810, is suitable for each picture element unit cell to be adjusted to same size and shows with waterfall wall layout type;
Information acquisition unit 820, is suitable for, when receiving the amplification request to a certain picture element unit cell, obtaining the positional information of requested picture element unit cell;
Magnification processing 830, is suitable for the enlargement factor based on setting, with the position of requested picture element unit cell for benchmark, carries out amplifications under process show current browsing requested picture element unit cell.
Wherein, magnification processing 830, comprises further:
Computation subunit 831, is suitable for the enlargement factor according to setting, the lateral cell number that the described requested picture element unit cell of calculating amplification takies and longitudinal unit number;
Intron unit 832, is suitable for the position of described requested picture element unit cell for benchmark, inserts on horizontal and vertical respectively and meets corresponding unit number and the multiple dummy cells covering described requested picture element unit cell;
Amplify subelement 833, be suitable for amplifying the requested picture element unit cell of display at the dummy cell region place inserted.
Wherein, computation subunit 831, be further adapted for the enlargement factor according to described setting, determine lateral magnification and the vertical magnification multiple of requested picture element unit cell, with the original lateral dimension of picture element unit cell for radix, according to described lateral magnification, determine to amplify the lateral cell number that described picture element unit cell takies, and with the original longitudinal size of picture element unit cell for radix, according to described vertical magnification multiple, determine to amplify longitudinal unit number that described picture element unit cell takies.
Intron unit 832, be further adapted for ask the lateral attitude of picture element unit cell under waterfall wall layout type to be benchmark, the dummy cell meeting described lateral cell number is inserted in described lateral attitude and left side thereof and/or right side, and with laterally inserted dummy cell for benchmark, insert the dummy cell meeting described longitudinal unit number downwards.
Amplify subelement 833, be further adapted for and requested former picture element unit cell is hidden, and generate the picture element unit cell after amplifying at the dummy cell region place of described insertion and show.
Further, magnification processing 830, be also suitable for current browse amplification display is carried out to requested picture element unit cell under process time, each picture element unit cell of amplifying the place of taking up space of display institute to be moved down or hiding.
In sum, device described in the visible embodiment of the present invention achieves in waterfall wall paper office shows, carry out amplifieroperation to a certain picture element unit cell and do not affect original waterfall wall showing and user interaction process, user under waterfall wall layout pattern, can check more information simply and easily.
Embodiment five
As shown in Figure 9, the embodiment of the present invention also provides a kind of and presents device for picture, this device comprises all technical characteristics of embodiment four, and further disclose picture reduction treatment mode, specifically comprise: resize unit 910, information acquisition unit 920, magnification processing 930 and reduction treatment unit 940;
Resize unit 910, is suitable for each picture element unit cell to be adjusted to same size and shows with waterfall wall layout type;
Information acquisition unit 920, is suitable for, when receiving the amplification request to a certain picture element unit cell, obtaining the positional information of requested picture element unit cell;
Magnification processing 930, is suitable for the enlargement factor based on setting, with the position of requested picture element unit cell for benchmark, carries out amplifications under process show current browsing requested picture element unit cell.
This magnification processing 930, comprises further:
Computation subunit 931, is suitable for the enlargement factor according to setting, the lateral cell number that the described requested picture element unit cell of calculating amplification takies and longitudinal unit number;
Intron unit 932, is suitable for the position of described requested picture element unit cell for benchmark, inserts on horizontal and vertical respectively and meets corresponding unit number and the multiple dummy cells covering described requested picture element unit cell;
Amplify subelement 933, be suitable for amplifying the requested picture element unit cell of display at the dummy cell region place inserted.
Reduction treatment unit 940, is suitable for receiving the reduction request to exaggerated picture element unit cell, the picture element unit cell of amplification is carried out reduction display.
Concrete, this reduction treatment unit 940, comprises further:
Information extraction subelement 941, the insertion position of each dummy cell inserted when being suitable for obtaining the original position of exaggerated picture element unit cell and amplifying described picture element unit cell;
Also atomic unit 942, is suitable for the picture element unit cell of reduction to show in described original position, is destroyed by each dummy cell at described insertion position place, the space of release busy.
Preferably, described in the embodiment of the present invention, device also comprises: adjustment unit 950, be suitable for when adjustment occurs the terminal page width Showed Picture, detect the current picture element unit cell that whether there is amplification, if so, then by after the picture element unit cell reduction treatment of amplification, the columns of waterfall wall is adjusted, and after the adjustment, the picture element unit cell be reduced is re-started and amplifies process; Otherwise, directly the columns of waterfall wall is adjusted.
In sum, device described in the visible embodiment of the present invention achieves in waterfall wall paper office shows, carry out mitigation and amplification operation to a certain picture element unit cell and do not affect original waterfall wall showing and user interaction process, user under waterfall wall layout pattern, can check more information simply and easily.In addition, the present invention also achieves when page zoom-in and zoom-out causes waterfall wall columns to change, and can not cause harmful effect, can ensure originally to browse correctly carrying out of process to the picture element unit cell in amplification.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions presenting the some or all parts in device for picture that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
Claims (16)
1., for a rendering method for picture, comprising:
Each picture element unit cell is adjusted to same size and shows with waterfall wall layout type;
When receiving the amplification request to a certain picture element unit cell, obtain the positional information of requested picture element unit cell;
Based on the enlargement factor of setting, with the position of requested picture element unit cell for benchmark, amplifications is carried out to requested picture element unit cell under process show current browsing;
Wherein, described current browse amplification display is carried out to requested picture element unit cell under process time, each picture element unit cell of amplifying the place of taking up space of display institute to be moved down or hiding;
Described picture element unit cell is the picture element unit cell in wallpaper website; The location contents of described picture element unit cell is picture or is blocking word content.
2. the method for claim 1, is characterized in that, the described enlargement factor based on setting, with the position of requested picture element unit cell for benchmark, carries out amplifications under process and shows, comprise further current browsing to requested picture element unit cell:
According to the enlargement factor of setting, the lateral cell number that the described requested picture element unit cell of calculating amplification takies and longitudinal unit number;
With the position of described requested picture element unit cell for benchmark, insert on horizontal and vertical respectively and meet corresponding unit number and the multiple dummy cells covering described requested picture element unit cell;
The requested picture element unit cell of display is amplified at the dummy cell region place inserted.
3. method as claimed in claim 2, is characterized in that, the described enlargement factor according to setting, and the lateral cell number that the described requested picture element unit cell of calculating amplification takies and longitudinal unit number, comprise further:
According to the enlargement factor of described setting, determine lateral magnification and the vertical magnification multiple of requested picture element unit cell;
With the original lateral dimension of picture element unit cell for radix, according to described lateral magnification, determine to amplify the lateral cell number that described picture element unit cell takies;
With the original longitudinal size of picture element unit cell for radix, according to described vertical magnification multiple, determine to amplify longitudinal unit number that described picture element unit cell takies.
4. method as claimed in claim 2, is characterized in that, described with the position of requested picture element unit cell for benchmark, insert on horizontal and vertical respectively and meet corresponding unit number and the multiple dummy cells covering described requested picture element unit cell, comprise further:
To ask the lateral attitude of picture element unit cell under waterfall wall layout type for benchmark, insert in described lateral attitude and left side thereof and/or right side the dummy cell meeting described lateral cell number;
With laterally inserted dummy cell for benchmark, insert the dummy cell meeting described longitudinal unit number downwards.
5. the method as described in any one of claim 2 to 4, it is characterized in that, the described dummy cell region place inserting amplifies the requested picture element unit cell of display and specifically comprises: requested former picture element unit cell hidden, and generates the picture element unit cell after amplifying at the dummy cell region place of described insertion and show.
6. method as claimed in claim 2, it is characterized in that, described method comprises further: receive the reduction request to exaggerated picture element unit cell, the picture element unit cell of amplification is carried out reduction display.
7. method as claimed in claim 6, is characterized in that, describedly the picture element unit cell of amplification is carried out reduction and shows, and comprises further:
Obtain the insertion position of the original position being exaggerated picture element unit cell and each dummy cell inserted when amplifying described picture element unit cell;
The picture element unit cell of reduction is shown in described original position, each dummy cell at described insertion position place is destroyed, the space of release busy.
8. method as claimed in claims 6 or 7, it is characterized in that, described method comprises further:
When adjustment occurs the terminal page width Showed Picture, detect the current picture element unit cell that whether there is amplification, if, then by after the picture element unit cell reduction treatment of amplification, the columns of waterfall wall is adjusted, and after the adjustment, the picture element unit cell be reduced is re-started and amplifies process; Otherwise, directly the columns of waterfall wall is adjusted.
9. present a device for picture, comprising:
Resize unit, is suitable for each picture element unit cell to be adjusted to same size and shows with waterfall wall layout type;
Information acquisition unit, is suitable for, when receiving the amplification request to a certain picture element unit cell, obtaining the positional information of requested picture element unit cell;
Magnification processing, is suitable for the enlargement factor based on setting, with the position of requested picture element unit cell for benchmark, carries out amplifications under process show current browsing requested picture element unit cell;
Wherein, described magnification processing be further adapted for current browse amplification display is carried out to requested picture element unit cell under process time, each picture element unit cell of amplifying the place of taking up space of display institute to be moved down or hiding;
Described picture element unit cell is the picture element unit cell in wallpaper website; The location contents of described picture element unit cell is picture or is blocking word content.
10. device as claimed in claim 9, it is characterized in that, described magnification processing, comprises further:
Computation subunit, is suitable for the enlargement factor according to setting, the lateral cell number that the described requested picture element unit cell of calculating amplification takies and longitudinal unit number;
Intron unit, is suitable for the position of described requested picture element unit cell for benchmark, inserts on horizontal and vertical respectively and meets corresponding unit number and the multiple dummy cells covering described requested picture element unit cell;
Amplify subelement, be suitable for amplifying the requested picture element unit cell of display at the dummy cell region place inserted.
11. devices as claimed in claim 10, it is characterized in that, described computation subunit, be further adapted for the enlargement factor according to described setting, determine lateral magnification and the vertical magnification multiple of requested picture element unit cell, with the original lateral dimension of picture element unit cell for radix, according to described lateral magnification, determine to amplify the lateral cell number that described picture element unit cell takies, and with the original longitudinal size of picture element unit cell for radix, according to described vertical magnification multiple, determine to amplify longitudinal unit number that described picture element unit cell takies.
12. devices as claimed in claim 10, it is characterized in that, described intron unit, be further adapted for ask the lateral attitude of picture element unit cell under waterfall wall layout type to be benchmark, the dummy cell meeting described lateral cell number is inserted in described lateral attitude and left side thereof and/or right side, and with laterally inserted dummy cell for benchmark, insert the dummy cell meeting described longitudinal unit number downwards.
13. devices as described in any one of claim 10 to 12, is characterized in that described amplification subelement is further adapted for and requested former picture element unit cell is hidden, and generate the picture element unit cell after amplifying at the dummy cell region place of described insertion and show.
14. devices as claimed in claim 10, it is characterized in that, described device also comprises:
Reduction treatment unit, is suitable for receiving the reduction request to exaggerated picture element unit cell, the picture element unit cell of amplification is carried out reduction display.
15. devices as claimed in claim 14, it is characterized in that, described reduction treatment unit, comprises further:
Information extraction subelement, the insertion position of each dummy cell inserted when being suitable for obtaining the original position of exaggerated picture element unit cell and amplifying described picture element unit cell;
Also atomic unit, is suitable for the picture element unit cell of reduction to show in described original position, is destroyed by each dummy cell at described insertion position place, the space of release busy.
16. devices as described in claims 14 or 15, it is characterized in that, described device also comprises:
Adjustment unit, be suitable for when adjustment occurs the terminal page width Showed Picture, detect the current picture element unit cell that whether there is amplification, if, then by after the picture element unit cell reduction treatment of amplification, the columns of waterfall wall is adjusted, and after the adjustment, the picture element unit cell be reduced is re-started and amplifies process; Otherwise, directly the columns of waterfall wall is adjusted.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210468160.XA CN103020127B (en) | 2012-11-19 | 2012-11-19 | For rendering method and the device of picture |
CN201510482096.4A CN105159939B (en) | 2012-11-19 | 2012-11-19 | A kind of rendering method and device for picture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210468160.XA CN103020127B (en) | 2012-11-19 | 2012-11-19 | For rendering method and the device of picture |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510482096.4A Division CN105159939B (en) | 2012-11-19 | 2012-11-19 | A kind of rendering method and device for picture |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103020127A CN103020127A (en) | 2013-04-03 |
CN103020127B true CN103020127B (en) | 2015-09-09 |
Family
ID=47968731
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510482096.4A Active CN105159939B (en) | 2012-11-19 | 2012-11-19 | A kind of rendering method and device for picture |
CN201210468160.XA Active CN103020127B (en) | 2012-11-19 | 2012-11-19 | For rendering method and the device of picture |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510482096.4A Active CN105159939B (en) | 2012-11-19 | 2012-11-19 | A kind of rendering method and device for picture |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN105159939B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461267A (en) * | 2013-09-16 | 2015-03-25 | 联想(北京)有限公司 | Interface interactive object display method and device |
CN103546820B (en) * | 2013-10-30 | 2017-03-15 | 乐视致新电子科技(天津)有限公司 | Cloud television picture presentation method and device |
CN104238888B (en) * | 2014-09-18 | 2019-06-07 | 努比亚技术有限公司 | A kind of mobile terminal and its global method and apparatus for checking picture |
CN106874485A (en) * | 2017-02-20 | 2017-06-20 | 郑州云海信息技术有限公司 | The method and picture that a kind of picture is presented are presented device |
CN111125571B (en) * | 2018-10-11 | 2024-02-20 | 杭州海康存储科技有限公司 | Picture display method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200603624A (en) * | 2004-07-15 | 2006-01-16 | Skanhex Technology Inc | Display method and preview method for display apparatus |
CN101430702A (en) * | 2007-11-05 | 2009-05-13 | 株式会社理光 | Image displaying apparatus, image display method, and image display system |
CN102999599A (en) * | 2012-11-19 | 2013-03-27 | 北京奇虎科技有限公司 | Method and device for displaying picture |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5436975B2 (en) * | 2009-08-21 | 2014-03-05 | オリンパスイメージング株式会社 | CAMERA, CAMERA DISPLAY CONTROL METHOD, DISPLAY DEVICE, AND DISPLAY METHOD |
KR101753141B1 (en) * | 2010-09-07 | 2017-07-04 | 삼성전자 주식회사 | Display apparatus and displaying method of contents |
-
2012
- 2012-11-19 CN CN201510482096.4A patent/CN105159939B/en active Active
- 2012-11-19 CN CN201210468160.XA patent/CN103020127B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200603624A (en) * | 2004-07-15 | 2006-01-16 | Skanhex Technology Inc | Display method and preview method for display apparatus |
CN101430702A (en) * | 2007-11-05 | 2009-05-13 | 株式会社理光 | Image displaying apparatus, image display method, and image display system |
CN102999599A (en) * | 2012-11-19 | 2013-03-27 | 北京奇虎科技有限公司 | Method and device for displaying picture |
Also Published As
Publication number | Publication date |
---|---|
CN105159939B (en) | 2019-03-08 |
CN103020127A (en) | 2013-04-03 |
CN105159939A (en) | 2015-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102999599B (en) | A kind of picture display method and device | |
CN103020127B (en) | For rendering method and the device of picture | |
US8996981B2 (en) | Managing forms in electronic documents | |
CN104679906A (en) | Method and system for generating links by utilizing pictures | |
CN104360882A (en) | Method and device for displaying images in web page in browser | |
CN104077387A (en) | Webpage content display method and browser device | |
CN104395884A (en) | Tiers of data storage for web applications and browser extensions | |
CN105677742A (en) | Method and apparatus for storing files | |
CN106469047A (en) | A kind of list implementation method and device | |
CN109960491A (en) | Application program generation method, generating means, electronic equipment and storage medium | |
JP6975339B2 (en) | Backdrop rendering of digital components | |
CN109145272B (en) | Text rendering and layout method, device, equipment and storage medium | |
CN104794116A (en) | Layout method and device for elements in page | |
CN104765528A (en) | Display method and device of virtual keyboard | |
CN104021016A (en) | Method and browser for loading browser plug-in icons | |
CN103518195A (en) | Apparatus, system and method for vector-based form field document | |
CN107526592A (en) | A kind of page adaptation method and apparatus | |
CN105989166A (en) | Waterfall flow type object display method, apparatus and system as well as electronic device | |
CN103473282A (en) | Device and method for generating hot content page | |
CN107391534A (en) | The page is shown, pagefile return method and device, computer-readable storage medium | |
CN102254023A (en) | Method and device for editing webpage | |
WO2015051505A1 (en) | Method and system for displaying web page on device by automatically adapting the web page to the size of browser of the device | |
CN106331335A (en) | Image data processing method and terminal | |
KR102087274B1 (en) | Web electric document editing apparatus for rendering object and operating method thereof | |
CN103200266B (en) | To method, network applications manager and system that network application manages |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220801 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |