CN102646263A - Scaling regulating method and device - Google Patents

Scaling regulating method and device Download PDF

Info

Publication number
CN102646263A
CN102646263A CN2012100574308A CN201210057430A CN102646263A CN 102646263 A CN102646263 A CN 102646263A CN 2012100574308 A CN2012100574308 A CN 2012100574308A CN 201210057430 A CN201210057430 A CN 201210057430A CN 102646263 A CN102646263 A CN 102646263A
Authority
CN
China
Prior art keywords
font
scaling
size
current
divergent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012100574308A
Other languages
Chinese (zh)
Inventor
梁捷
许国庆
贺永明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ucweb Inc
Original Assignee
Ucweb 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 Ucweb Inc filed Critical Ucweb Inc
Priority to CN2012100574308A priority Critical patent/CN102646263A/en
Publication of CN102646263A publication Critical patent/CN102646263A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a scaling regulating method and device. The scaling regulating method comprises the steps of: obtaining the size of a current font displayed on a mobile terminal; and regulating the scaling corresponding to the current font according to the size of the current font so that the size of a font obtained after the current font is scaled by adopting the scaling is within a preset range. According to the technical scheme provided by the invention, the scaling of the current page can be regulated according to the size of the font of the page to ensure that the font size is increased or reduced to be within a range suitable for reading and the page is more comfortably browsed.

Description

The method of adjustment of scaling and device
Technical field
The present invention relates to moving communicating field, in particular to a kind of method of adjustment and device of scaling.
Background technology
At present; On the portable terminal of touch-screen or non-touch-screen during browsing page; Because the restriction of screen physical size and the displaying ratio of webpage are inconsistent; The physical size of the font that causes showing on some webpage is less, and the physical size of the font that shows on some page is bigger, and the vision that does not meet the user is browsed custom.
Yet the scaling of existing portable terminal font is normally fixed, and for example, the scaling of employing 100% carries out convergent-divergent to be handled.Fig. 1 is the screenshotss synoptic diagram one that on portable terminal, adopts fixedly scaling ratio browsing pages according to correlation technique, and as shown in Figure 1, the webpage of current browsing is go to market (ganji.cn), adopts 100% scaling, and the current page font size is No. 12.Fig. 2 is the synoptic diagram two that on portable terminal, adopts fixedly scaling ratio browsing pages according to correlation technique, and is as shown in Figure 2, and the webpage of current browsing adopts 100% scaling for happy wash in a pan (m.letao.com), and the current page font size also is No. 12.Obviously, the font that the page among Fig. 1 and Fig. 2 shows is too small, is not easy to the user and reads.
When browsing web interface as depicted in figs. 1 and 2, for the font on the read interface more clearly, the user needs continuous manual adjustment scaling, troublesome poeration; If do not adjust, can cause the user to read fatigue, be difficult to adapt to again, it is poor that user's browsing pages is experienced.
Summary of the invention
The invention provides a kind of method of adjustment and device of scaling, to solve in the correlation technique user at least on portable terminal during browsing pages, the manual adjustment scaling causes the not high problem of user experience.
A kind of method of adjustment of scaling is provided according to an aspect of the present invention.
Method of adjustment according to scaling of the present invention comprises: the size of obtaining the current font that is presented at portable terminal; Adjust the corresponding scaling of current font according to the size of current font, so that adopt size that scaling carries out the font behind the convergent-divergent to current font in preset range.
Preferably; Adjusting the corresponding scaling of current font according to the size of current font comprises: from a plurality of scalings of current saved, select a scaling one by one; And the scaling of adopt selecting carries out convergent-divergent to current font, until the size of the font behind the convergent-divergent in preset range.
Preferably, it is one of following from a plurality of scalings of current saved, to select a scaling to comprise one by one: in a plurality of scalings of current saved, choose a scaling successively according to order from small to large; In a plurality of scalings of current saved, choose a scaling successively according to order from big to small; In a plurality of scalings of current saved, scaling of picked at random successively; In a plurality of scalings of current saved, adopt the mode of choosing of dichotomy to choose a scaling successively.
Preferably, adjust the corresponding scaling of current font according to the size of current font before, also comprise: adopt the scaling of acquiescence that current font is carried out the convergent-divergent processing; The size of confirming the font after convergent-divergent is handled is not in preset range.
Preferably, adjusting the corresponding scaling of current font according to the size of current font comprises: selection need be presented at the size of the font on the portable terminal in the preset range; Size according to the size and the needs of current font are presented at the font on the portable terminal is confirmed the scaling that needs are adjusted to.
Preferably; Adjusting the corresponding scaling of current font according to the size of current font comprises: if the size of the font after convergent-divergent is handled is greater than the maximal value in the preset range; Then progressively reduce the scaling given tacit consent to; And adopt the scaling after reducing that current font is carried out convergent-divergent, until the size of the font behind the convergent-divergent in preset range; If the size of the font after convergent-divergent is handled less than the minimum value in the preset range, then progressively increases the scaling of acquiescence, and adopts the scaling after increasing that current font is carried out convergent-divergent, until the size of the font behind the convergent-divergent in preset range.
Preferably, adjust the corresponding scaling of current font according to the size of current font after, also comprise: the size of in preset range, choosing a font; The font that belongs to the same page after the adjustment is all zoomed to the size of the font of choosing.
A kind of adjusting gear of scaling is provided according to a further aspect in the invention.
Adjusting gear according to scaling of the present invention comprises: acquisition module is used to obtain the size of the current font that is presented at portable terminal; Adjusting module is used for adjusting the corresponding scaling of current font according to the size of current font, so that adopt size that scaling carries out the font behind the convergent-divergent to current font in preset range.
Preferably, above-mentioned adjusting module comprises: first selected cell is used for selecting a scaling from a plurality of scalings of current saved one by one; First unit for scaling is used to adopt the scaling of selection that current font is carried out convergent-divergent, until the size of the font behind the convergent-divergent in preset range.
Preferably, said apparatus also comprises: the first convergent-divergent processing module is used to adopt the scaling of acquiescence that current font is carried out the convergent-divergent processing; Determination module, the size that is used for confirming the font after convergent-divergent is handled is not in preset range.
Preferably, above-mentioned adjusting module comprises: second selected cell is used for the size that in preset range selection need be presented at the font on the portable terminal; Confirm the unit, be used for the size that size and needs according to current font are presented at the font on the portable terminal and confirm the scaling that needs are adjusted to.
Preferably, above-mentioned adjusting module comprises: first processing unit if be used for the maximal value of the size of the font after convergent-divergent is handled greater than preset range, then progressively reduces the scaling of giving tacit consent to; Second unit for scaling is used to adopt the scaling after first processing unit processes that current font is carried out convergent-divergent, until the size of the font behind the convergent-divergent in preset range; Second processing unit if be used for the minimum value of the size of the font after convergent-divergent is handled less than preset range, then progressively increases the scaling of acquiescence; The 3rd unit for scaling is used to adopt the scaling after second processing unit processes that current font is carried out convergent-divergent, until the size of the font behind the convergent-divergent in preset range.
Preferably, said apparatus also comprises: choose module, be used in preset range, choosing the size of a font; The second convergent-divergent processing module is used for the font that belongs to the same page after the adjustment is all zoomed to the size of the font of choosing.
Through the present invention, obtain the size of current page font on the portable terminal in real time; The corresponding scaling of adjustment current page font; Adopt the size of adjusted scaling adjustment current page font, when having solved in the correlation technique on portable terminal browsing pages, need constantly adjustment scaling; The problem that user experience is not high; And then reached the scaling that can adjust current page according to the font size of the page in real time, and make the font increase or narrow down to a scope that is suitable for reading, make the more comfortable effect of page browsing.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the screenshotss synoptic diagram one that on portable terminal, adopts fixedly scaling ratio browsing pages according to correlation technique;
Fig. 2 is the screenshotss synoptic diagram two that on portable terminal, adopts fixedly scaling ratio browsing pages according to correlation technique;
Fig. 3 is the process flow diagram according to the method for adjustment of the scaling of the embodiment of the invention;
Fig. 4 is the screenshotss synoptic diagram three that according to the preferred embodiment of the invention page font among Fig. 1 is carried out the browsing pages after convergent-divergent is handled;
Fig. 5 is the screenshotss synoptic diagram four that according to the preferred embodiment of the invention page font among Fig. 2 is carried out the browsing pages after convergent-divergent is handled;
Fig. 6 is the structured flowchart according to the adjusting gear of the scaling of the embodiment of the invention;
Fig. 7 is the structured flowchart according to the adjusting gear of the scaling of the preferred embodiment of the present invention one;
Fig. 8 is the structured flowchart according to the adjusting gear of the scaling of the preferred embodiment of the present invention two;
Fig. 9 is the structured flowchart according to the adjusting gear of the scaling of the preferred embodiment of the present invention three;
Figure 10 is the structured flowchart according to the adjusting gear of the scaling of the preferred embodiment of the present invention four; And
Figure 11 is the structured flowchart according to the adjusting gear of the scaling of the preferred embodiment of the present invention five.
Embodiment
Hereinafter will and combine embodiment to specify the present invention with reference to accompanying drawing.Need to prove that under the situation of not conflicting, embodiment and the characteristic among the embodiment among the application can make up each other.
Fig. 3 is the process flow diagram according to the method for adjustment of the scaling of the embodiment of the invention.As shown in Figure 3, this method mainly comprises following processing:
Step S302: the size of obtaining the current font that is presented at portable terminal;
Step S304: adjust the corresponding scaling of current font according to the size of current font, so that adopt size that scaling carries out the font behind the convergent-divergent to current font in preset range.
In the correlation technique, when on portable terminal, browsing the webpage of different web sites, need the constantly scaling of adjustment page display font, complex operation, user experience is not high.Adopt method as shown in Figure 3; The scope (being above-mentioned preset range) of a font size that is suitable for reading is set in advance, when on portable terminal, browsing the page of different web sites, can adjusts the size of page display font in real time; In adjusting to above-mentioned preset range; Thereby not only optimized the display effect of the page effectively, it is more comfortable that text reading is got up, and promoted user experience; And making the demonstration of webpage intelligent more, the frequent Adjustment System setting of user is avoided in hommization more.
Preferably, when execution in step S304, adjusting the corresponding scaling of current font according to the size of current font can may further comprise the steps:
Step 1: from a plurality of scalings of current saved, select a scaling one by one;
For example: in the initial setting up of portable terminal (as: mobile phone), a scaling storehouse can be set in advance, can deposit a plurality of scalings that set according to certain rule, wherein, include but not limited to following several kinds of set-up modes:
(a) scaling can be directly be provided with according to the mode of arithmetic progression, as: 100%, 110%, 120%, 130%......200%;
(b) scaling also can become the mode of arithmetic progression to be provided with according to every adjacent two difference, as: 100%, 105%, 115%, 130%......205%;
(c) scaling can also be that the mode that preset constant and positive integer multiply each other is provided with according to every adjacent two difference, as: 100%, 110%, 130%, 160%, 200%.
Step 2: the scaling of adopt selecting carries out convergent-divergent to current font, until the size of the font behind the convergent-divergent in preset range.
In preferred implementation process, in above-mentioned steps 1, can be through one of following mode scaling of selection from a plurality of scalings of current saved one by one:
Mode one: in a plurality of scalings of current saved, choose a scaling successively according to order from small to large;
For example: with above-mentioned set-up mode (a) is example, and the size that portable terminal obtains the current page font is No. 10 words, not in 16~No. 24 font scopes of predefined comfortable reading.Therefore, need select a scaling from small to large one by one in 100% to 200% the scaling according to the portable terminal current saved, choose 100% for the first time, the font size after convergent-divergent is handled still is No. 10 words, not in preset range; For the second time choose 110%, the font size after convergent-divergent is handled is No. 11 words, not in preset range; Choose 120% for the third time, the font size after convergent-divergent is handled is No. 12 words, not in preset range; Choose 130% the 4th time, the font size after convergent-divergent is handled is No. 13 words, not in preset range; Choose 140% the 5th time, the font size after convergent-divergent is handled is No. 14 words, not in preset range; Choose 150% the 6th time, the font size after convergent-divergent is handled is No. 15 words, not in preset range; Choose 160% the 7th time, the font size after convergent-divergent is handled is No. 16 words, in the preset range of 16~No. 24 words that are suitable for reading, and the then adjustment of end zoom ratio.
Mode two: in a plurality of scalings of current saved, choose a scaling successively according to order from big to small;
For example: be example with above-mentioned set-up mode (a) equally, the size that portable terminal obtains the current page font is No. 10 words, not in 16~No. 24 font scopes of predefined comfortable reading.Therefore; Need select a scaling from big to small one by one in 200% to 100% the scaling according to the portable terminal current saved; For the first time choose 200%; Font size after convergent-divergent is handled still is No. 20 words, in the preset range of 16~No. 24 words that are suitable for reading, no longer need carry out convergent-divergent and handle.If this time carry out convergent-divergent handle after still not in preset range, then can continue to choose 190%, 180%....
Mode three: in a plurality of scalings of current saved, scaling of picked at random successively;
For example: with above-mentioned set-up mode (b) is example, and the size that portable terminal obtains the current page font is No. 10 words, not in 16~No. 24 font scopes of predefined comfortable reading.Therefore, need select a scaling at random in 100% to 205% the scaling according to the portable terminal current saved, choose 105% for the first time, the font size after convergent-divergent is handled is No. 10.5 words, not in preset range; For the second time choose 150%, the font size after convergent-divergent is handled is No. 15 words, still not in preset range; Choose 175% for the third time, the font size after convergent-divergent is handled is No. 17.5 words, in the preset range of 16~No. 24 words that are suitable for reading, and the then adjustment of end zoom ratio.
Mode four: in a plurality of scalings of current saved, adopt the mode of choosing of dichotomy to choose a scaling successively.
For example: with above-mentioned set-up mode (c) is example, and the size that portable terminal obtains the current page font is No. 10 words, not in 16~No. 24 font scopes of predefined comfortable reading.Therefore, need choose mediant 130% for the first time according to adopting dichotomy to select a scaling one by one in 100% to 200% the scaling of portable terminal current saved, the font size after convergent-divergent is handled is No. 13 words, not in preset range; Because the font behind the convergent-divergent is littler than the font in the preset range; Therefore need choose the scaling bigger than mediant 130%; Between 130% and 200%, continue to select mediant 160%, the font size after convergent-divergent is handled is No. 16 words; In the preset range of 16~No. 24 words that are suitable for reading, the then adjustment of end zoom ratio.
Preferably, in execution in step S304, adjust before the corresponding scaling of current font, can also comprise following processing according to the size of current font:
(1) adopt the scaling of acquiescence that current font is carried out the convergent-divergent processing;
(2) size of confirming the font after convergent-divergent is handled is not in preset range.
For example: the scaling of portable terminal default setting is 100%.Do a product according to the font size (as: font is No. 12) of current page and the scaling 100% of acquiescence, the result still is No. 12 words.It is 16~No. 24 words that yet the browsing pages font is felt comfortable scope, and according to above-mentioned result of product, No. 12 fonts confirming current page are not in the scope of 16~No. 24 preset fonts.
In preferred implementation process; At the scaling that adopts acquiescence current font being carried out convergent-divergent handles; The size of confirming the font after convergent-divergent is handled not in preset range after, step S304, adjust the corresponding scaling of current font according to the size of current font and can also comprise following processing:
(1) selection need be presented at the size of the font on the portable terminal in the preset range;
(2) size that is presented at the font on the portable terminal according to the size and the needs of current font is confirmed the scaling that needs are adjusted to.
Below in conjunction with Fig. 4 and Fig. 5 above-mentioned preferred implementation is done further description.
Fig. 4 is the synoptic diagram three that according to the preferred embodiment of the invention page font among Fig. 1 is carried out the browsing pages after convergent-divergent is handled.Fig. 5 is the synoptic diagram four that according to the preferred embodiment of the invention page font among Fig. 2 is carried out the browsing pages after convergent-divergent is handled.Like Fig. 4 and shown in Figure 5, when load page, obtain the font size of page setup, can be through obtaining the font size that is provided with in <body>label.Obtaining the scaling of current page, is exactly the scaling of system under the default situations.According to font size, and scaling, the two value is done a product, for example: font is No. 12, and the acquiescence scaling is 100%, and both products are No. 12 words.Result according to this product; Whether the font of judging current page is in the scope of 16~No. 24 fonts of comfortable reading; If do not exist, then need in the scope of 16~No. 24 fonts, select a font (as: No. 18 words) at random, then scaling is adjusted to that to make product be No. 18 words.Method of adjustment is through 18/12=150%, calculates scaling and need adjust to 150% from 100% of acquiescence.Finally, page integral body is exaggerated, and the display effect of font will be the same big with No. 18 words.And other element, like picture, control etc., all can amplify synchronously, can not cause the confusion of setting type.
Certainly, in above-mentioned preferred implementation, the scaling that also can not adopt acquiescence carries out convergent-divergent and handles being presented at font on the said portable terminal, and judges that font behind the scaling convergent-divergent that adopts acquiescence is whether in preset range.And directly in preset range, choose a font, through the scaling that calculating need be adjusted to, handle with the convergent-divergent of accomplishing the current page font.For example: font is No. 12; The font size of current page is not in the scope of 16~No. 24 fonts of comfortable reading; Need in the scope of 16~No. 24 fonts, select a font (as: No. 18 words) at random, then scaling adjusted to that to make product be No. 18 words.Method of adjustment is through 18/12=150%, calculates scaling and need adjust to 150% from 100% of acquiescence.Finally, current page integral body is exaggerated, and the display effect of font will be the same big with No. 18 words.
Need to prove; In this kind method, portable terminal does not need the scaling storehouse is set in advance, and the font scope of comfortable reading only need be set; The size of the current page font of confirming at portable terminal to get access to is not in the font scope of comfortable reading; Just in this scope, select a font at random, and calculate the scaling that need be adjusted to, thus the adjustment of completion page font size.
In preferred implementation process; At the scaling that adopts acquiescence current font being carried out convergent-divergent handles; The size of confirming the font after convergent-divergent is handled not in preset range after, then adjust the corresponding scaling of current font and can also comprise following processing according to the size of current font:
(1), and adopt the scaling after reducing that current font is carried out convergent-divergent if the size of the font after convergent-divergent is handled, then can progressively reduce the scaling given tacit consent to greater than the maximal value in the preset range, until the size of the font behind the convergent-divergent in preset range;
For example: the scaling of portable terminal default setting is 100%.Do a product according to the font size (as: font is No. 30) of current page and the scaling 100% of acquiescence, the result still is No. 30 words.The browsing pages font feels that comfortable scope is 16~No. 24 words, and according to above-mentioned result of product, No. 30 font is also bigger than No. 24 fonts of maximal value of above-mentioned scope; And then No. 30 fonts of definite current page are not in the scope of 16~No. 24 preset fonts; Therefore, need progressively reduce the scaling given tacit consent to, and adopt the scaling after reducing that current font is carried out convergent-divergent; Such as; Scaling with acquiescence is adjusted to 90% for the first time, and the font size after convergent-divergent is handled is No. 27 words, not in preset range; Scaling with acquiescence is adjusted to 70% for the second time, and the font size after convergent-divergent is handled is No. 21 words, in the preset range of 16~No. 24 words that are suitable for reading, and the then adjustment of end zoom ratio.
It should be noted that the scaling value (being step-length) that at every turn reduces can equate, also can be not wait.Can dynamically arrange step-length according to practical application.
(2) if the size of the font after convergent-divergent is handled less than the minimum value in the preset range, then progressively increases the scaling of acquiescence, and adopts the scaling after increasing that current font is carried out convergent-divergent, until the size of the font behind the convergent-divergent in preset range.
For example: the scaling of portable terminal default setting is 100%.Do a product according to the font size (as: font is No. 10) of current page and the scaling 100% of acquiescence, the result still is No. 10 words.The browsing pages font feels that comfortable scope is 16~No. 24 words, and according to above-mentioned result of product, No. 10 font is also littler than No. 16 fonts of minimum value of above-mentioned scope; And then No. 10 fonts of definite current page are not in the scope of 16~No. 24 preset fonts; Therefore, need progressively to increase the scaling of acquiescence, and adopt the scaling after increasing that current font is carried out convergent-divergent; Such as; Scaling with acquiescence is adjusted to 120% for the first time, and the font size after convergent-divergent is handled is No. 12 words, not in preset range; Scaling with acquiescence is adjusted to 150% for the second time, and the font size after convergent-divergent is handled is No. 15 words, still not in preset range; Scaling with acquiescence is adjusted to 180% for the third time, and the font size after convergent-divergent is handled is No. 18 words, in the preset range of 16~No. 24 words that are suitable for reading, and the then adjustment of end zoom ratio.
The scaling value (being step-length) that it should be noted that each increase can equate, also can be not wait.Can dynamically arrange step-length according to practical application.
Need to prove; In above-mentioned preferred implementation, portable terminal does not need the scaling storehouse is set in advance equally, and the font scope of comfortable reading only need be set; The size of the current page font of confirming at portable terminal to get access to is not in the font scope of comfortable reading the time; The size of further confirming the current page font is the minimum value less than preset range, still greater than the maximal value of preset range, then the scaling of acquiescence is adjusted accordingly.
Preferably, in step S304, adjust according to the size of current font after the scaling of current font correspondence, can also comprise following operation:
Step S1: the size of in preset range, choosing a font;
Step S2: the font that will belong to the same page after will adjusting all zooms to the size of the font of choosing.
In a preferred embodiment; Through the size that sets font in above-mentioned <body>label being carried out after convergent-divergent handles; Though the size of font that belongs to current page the skimble-scamble situation of current page font possibly occur all within the scope of the comfortable reading of user.At this moment; For convenient user reads on portable terminal; Can adopt all fonts (that is the font size through being provided with in < head>and <body>label) of current page are all carried out unified convergent-divergent processing according to the size of a font of choosing in the preset range once more.
For example: after the font of current page was handled through convergent-divergent, the size of some font was No. 16 words, and the size of some font is No. 17 words, is No. 18 words and also have the size of some fonts.Therefore,, can adopt dynamic calculation to ask for the mode of the mean value of all fonts of the page, promptly choose word No. 17, all fonts of full page carried out unified convergent-divergent once more handle, so that the font of full page is unified mutually for page font is unified.
Certainly, the mode of taking the dynamic calculation averaged only is of the present invention preferred embodiment a kind of, can also include but not limited to following mode:
Mode one, according to 16~No. 24 fonts of above-mentioned preset range, choose successively from small to large, for example: choose No. 16 words unified scaling as all fonts of the page;
Mode two, according to 16~No. 24 fonts of above-mentioned preset range, choose successively from big to small, for example: choose No. 24 words unified scaling as all fonts of the page;
Mode three, according to 16~No. 24 fonts of above-mentioned preset range, picked at random, for example: choose No. 20 words unified scaling as all fonts of the page.
Fig. 6 is the structured flowchart according to the adjusting gear of the scaling of the embodiment of the invention.As shown in Figure 6, the adjusting gear of this scaling mainly comprises: acquisition module 10 is used to obtain the size of the current font that is presented at portable terminal; Adjusting module 20 is used for adjusting the corresponding scaling of current font according to the size of current font, so that adopt size that scaling carries out the font behind the convergent-divergent to current font in preset range.
Adopted device as shown in Figure 6; When having solved in the correlation technique on portable terminal browsing page; Need constantly adjustment scaling, the disagreeableness problem of user experience, and then reached the scaling that can adjust current page according to the font size of the page; Make the font increase or narrow down to a moderate scope, make the more comfortable effect of page browsing.
Preferably, as shown in Figure 7, above-mentioned adjusting module 20 may further include: first selected cell 200 is used for selecting a scaling from a plurality of scalings of current saved one by one; First unit for scaling 202 is used to adopt the scaling of selection that current font is carried out convergent-divergent, until the size of the font behind the convergent-divergent in preset range.
In preferred implementation process, above-mentioned first selected cell 200 can adopt but be not limited to following mode selects a scaling one by one from a plurality of scalings of current saved:
Mode one: in a plurality of scalings of current saved, choose a scaling successively according to order from small to large;
Mode two: in a plurality of scalings of current saved, choose a scaling successively according to order from big to small;
Mode three: in a plurality of scalings of current saved, scaling of picked at random successively;
Mode four: in a plurality of scalings of current saved, adopt the mode of choosing of dichotomy to choose a scaling successively.
Preferably, as shown in Figure 8, above-mentioned adjusting module 20 can comprise: second selected cell 204 is used for the size that in preset range selection need be presented at the font on the portable terminal; Confirm unit 206, be used for the size that size and needs according to current font are presented at the font on the portable terminal and confirm the scaling that needs are adjusted to.
Preferably, as shown in Figure 9, said apparatus can also comprise: the first convergent-divergent processing module 30 is used to adopt the scaling of acquiescence that current font is carried out the convergent-divergent processing; Determination module 40, the size that is used for confirming the font after convergent-divergent is handled is not in preset range.
Preferably, shown in figure 10, above-mentioned adjusting module 20 can comprise: first processing unit 208 if be used for the maximal value of the size of the font after convergent-divergent is handled greater than preset range, then progressively reduces the scaling of giving tacit consent to; Second unit for scaling 210 is used to adopt the scaling after first processing unit processes that current font is carried out convergent-divergent, until the size of the font behind the convergent-divergent in preset range; Second processing unit 212 if be used for the minimum value of the size of the font after convergent-divergent is handled less than preset range, then progressively increases the scaling of acquiescence; The 3rd unit for scaling 214 is used to adopt the scaling after second processing unit processes that current font is carried out convergent-divergent, until the size of the font behind the convergent-divergent in preset range.
Preferably, shown in figure 11, said apparatus can also comprise: choose module 50, be used in preset range, choosing the size of a font; The second convergent-divergent processing module 60, be used for belong to after the adjustment the same page font all zoom to the size of the font of choosing.
The preferred working method of each module and unit can repeat no more referring to said method embodiment here among Fig. 6 to Figure 11.
From above description, can find out that the present invention has realized following technique effect: not only optimized the display effect of the page effectively, it is more comfortable that text reading is got up, and promoted user experience; And making the demonstration of webpage intelligent more, the frequent Adjustment System setting of user is avoided in hommization more.
Obviously, it is apparent to those skilled in the art that above-mentioned each module of the present invention or each step can realize with the general calculation device; They can concentrate on the single calculation element; Perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element; Thereby; Can they be stored in the memory storage and carry out, and in some cases, can carry out step shown or that describe with the order that is different from here by calculation element; Perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (13)

1. the method for adjustment of a scaling is characterized in that, comprising:
Obtain the size of the current font that is presented at portable terminal;
Adjust the corresponding scaling of said current font according to the size of said current font, so that adopt size that said scaling carries out the font behind the convergent-divergent to said current font in preset range.
2. method according to claim 1 is characterized in that, adjusts the corresponding scaling of said current font according to the size of said current font and comprises:
From a plurality of scalings of current saved, select a scaling one by one, and adopt the scaling of said selection that said current font is carried out convergent-divergent, until the size of the font behind the convergent-divergent in said preset range.
3. method according to claim 2 is characterized in that, it is one of following from a plurality of scalings of current saved, to select a scaling to comprise one by one:
In a plurality of scalings of said current saved, choose a scaling successively according to order from small to large;
In a plurality of scalings of said current saved, choose a scaling successively according to order from big to small;
In a plurality of scalings of said current saved, scaling of picked at random successively;
In a plurality of scalings of said current saved, adopt the mode of choosing of dichotomy to choose a scaling successively.
4. method according to claim 1 is characterized in that, adjust the corresponding scaling of said current font according to the size of said current font before, also comprises:
Adopt the scaling of acquiescence that said current font is carried out the convergent-divergent processing;
The size of confirming the font after said convergent-divergent is handled is not in said preset range.
5. according to claim 1 or 4 described methods, it is characterized in that, adjust the corresponding scaling of said current font according to the size of said current font and comprise:
Selection need be presented at the size of the font on the said portable terminal in the said preset range;
Size according to the size and the said needs of said current font are presented at the font on the said portable terminal is confirmed the scaling that needs are adjusted to.
6. method according to claim 4 is characterized in that, adjusts the corresponding scaling of said current font according to the size of said current font and comprises:
If the size of the font after said convergent-divergent is handled is greater than the maximal value in the said preset range; Then progressively reduce the scaling of said acquiescence; And adopt the scaling behind said the reducing that said current font is carried out convergent-divergent, until the size of the font behind the convergent-divergent in said preset range;
If the size of the font after said convergent-divergent is handled is less than the minimum value in the said preset range; Then progressively increase the scaling of said acquiescence; And adopt the scaling after the said increase that said current font is carried out convergent-divergent, until the size of the font behind the convergent-divergent in said preset range.
7. method according to claim 1 is characterized in that, adjust the corresponding scaling of said current font according to the size of said current font after, also comprises:
In said preset range, choose the size of a font;
The font that belongs to the same page after the adjustment is all zoomed to the size of the said font of choosing.
8. the adjusting gear of a scaling is characterized in that, comprising:
Acquisition module is used to obtain the size of the current font that is presented at portable terminal;
Adjusting module is used for adjusting the corresponding scaling of said current font according to the size of said current font, so that adopt size that said scaling carries out the font behind the convergent-divergent to said current font in preset range.
9. device according to claim 8 is characterized in that, said adjusting module comprises:
First selected cell is used for selecting a scaling from a plurality of scalings of current saved one by one;
First unit for scaling is used to adopt the scaling of said selection that said current font is carried out convergent-divergent, until the size of the font behind the convergent-divergent in said preset range.
10. device according to claim 8 is characterized in that, said device also comprises:
The first convergent-divergent processing module is used to adopt the scaling of acquiescence that said current font is carried out the convergent-divergent processing;
Determination module, the size that is used for confirming the font after said convergent-divergent is handled is not in said preset range.
11. according to Claim 8 or 10 described devices, it is characterized in that said adjusting module comprises:
Second selected cell is used for the size that in said preset range selection need be presented at the font on the said portable terminal;
Confirm the unit, be used for the size that size and said needs according to said current font are presented at the font on the said portable terminal and confirm the scaling that needs are adjusted to.
12. device according to claim 10 is characterized in that, said adjusting module comprises:
First processing unit if be used for the maximal value of the size of the font after said convergent-divergent is handled greater than said preset range, then progressively reduces the scaling of said acquiescence;
Second unit for scaling is used to adopt the scaling after said first processing unit processes that said current font is carried out convergent-divergent, until the size of the font behind the convergent-divergent in said preset range;
Second processing unit if be used for the minimum value of the size of the font after said convergent-divergent is handled less than said preset range, then progressively increases the scaling of said acquiescence;
The 3rd unit for scaling is used to adopt the scaling after said second processing unit processes that said current font is carried out convergent-divergent, until the size of the font behind the convergent-divergent in said preset range.
13. device according to claim 8 is characterized in that, said device also comprises:
Choose module, be used in said preset range, choosing the size of a font;
The second convergent-divergent processing module is used for the font that belongs to the same page after the adjustment is all zoomed to the size of the said font of choosing.
CN2012100574308A 2012-03-06 2012-03-06 Scaling regulating method and device Pending CN102646263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100574308A CN102646263A (en) 2012-03-06 2012-03-06 Scaling regulating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100574308A CN102646263A (en) 2012-03-06 2012-03-06 Scaling regulating method and device

Publications (1)

Publication Number Publication Date
CN102646263A true CN102646263A (en) 2012-08-22

Family

ID=46659076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100574308A Pending CN102646263A (en) 2012-03-06 2012-03-06 Scaling regulating method and device

Country Status (1)

Country Link
CN (1) CN102646263A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103076955A (en) * 2012-12-28 2013-05-01 北京小米科技有限责任公司 Method, device and terminal for adjusting characters of application
CN104866202A (en) * 2015-06-15 2015-08-26 北京金山安全软件有限公司 Page scaling method and device
CN105791524A (en) * 2014-12-24 2016-07-20 广州市动景计算机科技有限公司 Method and device for adjusting page font
CN106776969A (en) * 2016-12-05 2017-05-31 乐视控股(北京)有限公司 Page adaptation method, device and electronic equipment
CN107402911A (en) * 2017-07-19 2017-11-28 三星电子(中国)研发中心 Method for editing text and device for terminal
CN110800040A (en) * 2017-07-05 2020-02-14 三菱电机株式会社 Drawing device and drawing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101271678A (en) * 2008-04-30 2008-09-24 深圳华为通信技术有限公司 Screen font zooming method and terminal unit
CN101645970A (en) * 2009-05-15 2010-02-10 上海闻泰电子科技有限公司 Method and device for adjusting test font size of mobile terminal
CN101751209A (en) * 2008-11-28 2010-06-23 联想(北京)有限公司 Method and computer for adjusting screen display element
CN102073650A (en) * 2009-11-25 2011-05-25 阿里巴巴集团控股有限公司 Adaptive adjustment method and equipment for webpage
CN102364460A (en) * 2011-06-28 2012-02-29 广州市动景计算机科技有限公司 Automatic page amplification method and system based on mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101271678A (en) * 2008-04-30 2008-09-24 深圳华为通信技术有限公司 Screen font zooming method and terminal unit
CN101751209A (en) * 2008-11-28 2010-06-23 联想(北京)有限公司 Method and computer for adjusting screen display element
CN101645970A (en) * 2009-05-15 2010-02-10 上海闻泰电子科技有限公司 Method and device for adjusting test font size of mobile terminal
CN102073650A (en) * 2009-11-25 2011-05-25 阿里巴巴集团控股有限公司 Adaptive adjustment method and equipment for webpage
CN102364460A (en) * 2011-06-28 2012-02-29 广州市动景计算机科技有限公司 Automatic page amplification method and system based on mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103076955A (en) * 2012-12-28 2013-05-01 北京小米科技有限责任公司 Method, device and terminal for adjusting characters of application
CN105791524A (en) * 2014-12-24 2016-07-20 广州市动景计算机科技有限公司 Method and device for adjusting page font
CN105791524B (en) * 2014-12-24 2019-03-29 广州市动景计算机科技有限公司 A kind of method and device adjusting page font
CN104866202A (en) * 2015-06-15 2015-08-26 北京金山安全软件有限公司 Page scaling method and device
CN104866202B (en) * 2015-06-15 2018-10-16 北京金山安全软件有限公司 Page scaling method and device
CN106776969A (en) * 2016-12-05 2017-05-31 乐视控股(北京)有限公司 Page adaptation method, device and electronic equipment
CN110800040A (en) * 2017-07-05 2020-02-14 三菱电机株式会社 Drawing device and drawing method
CN107402911A (en) * 2017-07-19 2017-11-28 三星电子(中国)研发中心 Method for editing text and device for terminal

Similar Documents

Publication Publication Date Title
CN102646263A (en) Scaling regulating method and device
CN110837617B (en) Webpage self-adaptive layout method, server and computer readable storage medium
CN101325040B (en) Mobile terminal capable of adjusting resolution and method for adjusting resolution of the mobile terminal
CN102364460B (en) Automatic page amplification method and system based on mobile terminal
CN102637198B (en) Realization method and device of webpage content display, browser and mobile terminal
CN105975576B (en) Terminal content adaptive display method and device and terminal
EP3438808A1 (en) Split-screen displaying method and apparatus, and electronic device
CN104615343A (en) Terminal printscreen method and device
CN102073650A (en) Adaptive adjustment method and equipment for webpage
CN103309451B (en) The display packing of mobile terminal and mobile terminal
CN105912336A (en) Multi-screen adaptive method for mobile terminal front-end development
CN103218195A (en) Method and device for display adjustment of application program
CN102800302B (en) A kind of method of terminal device adjustment display resolution and terminal device
CN103475916B (en) The method and system of mirror image synchronization between controlled device and remote controller with touch screen
CN104765600A (en) Page processing method
CN106407261A (en) Method for enabling page to be adaptive to screen and intelligent terminal
CN107256259A (en) Page display method, device, electronic equipment and storage medium
CN104978433A (en) Web page display method and device
CN105320481A (en) Data display method and device and mobile terminal
CN104714703A (en) Sensitivity adjustment method and device
KR20140038830A (en) Method and apparatus for adjusting zoom level in terminal
EP2874054A1 (en) Application text adjusting method, device, and terminal
CN112148398A (en) Image processing method and device
CN102053787A (en) Information processing apparatus, image enlargement processing method, and program
CN103076954A (en) Method and device for adjusting display effect

Legal Events

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

Application publication date: 20120822