CN102968474B - Webpage display process browsed by mobile communication equipment - Google Patents
Webpage display process browsed by mobile communication equipment Download PDFInfo
- Publication number
- CN102968474B CN102968474B CN201210459598.1A CN201210459598A CN102968474B CN 102968474 B CN102968474 B CN 102968474B CN 201210459598 A CN201210459598 A CN 201210459598A CN 102968474 B CN102968474 B CN 102968474B
- Authority
- CN
- China
- Prior art keywords
- font
- webpage
- mobile communication
- communication equipment
- page
- 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.)
- Expired - Fee Related
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Telephone Function (AREA)
Abstract
Webpage display process browsed by the open mobile communication equipment of the present invention, comprise the steps: when browser interface, receive the operational order of user, when instruction be " two finger amplify the page " or " the double-click page " operates time, show at the scale amplifying page of browser interface by instruction, the software detection page is exaggerated the word whether having text formatting in rear viewing area, if any, then detect the size after Font Change, after reading the size of Font Change, automatically the size (getting immediate font size) of the Set font Regional Gravity new settings font in mobile device setting area is gone, and because Android change font size can automatic typesetting, so our space of a whole page also completes automatic typesetting, as there is no the word of text formatting in viewing area, then keep the display state after amplifying constant, wait for that next step operates.The present invention solves the problem that dispatch word amplifies rear automatic typesetting, and user only need be slided up and down and can easily read after word amplifies.
Description
Technical field
The present invention relates to mobile communication equipment and browses Webpage display process, particularly relates to the method browsing webpage magnifying text automatic typesetting.
Background technology
Along with the development becoming the market mainstream and mobile Internet with iPhone, Android and Windows smart mobile phone gradually, utilizing mobile device to access internet page becomes a kind of trend.But because the screen of mobile device is general less, be less than general computer screen, so the webpage that tradition designs for computer user, often be unsuitable for visiting with mobile device, because: on the one hand, if webpage is reduced display, font then can be caused too little, cannot read, or figure is too little, does not see details; But then, if webpage is shown by the size that webpage sets, webpage will exceed the scope of mobile device screen.Even if the webpage aiming at mobile device and arrange, also can there is same problem: because mobile device is of a great variety, screen size differs, and user's use habit also varies, be difficult to design a general page, all visitors can be shown with the optimal mode of hope.Therefore, in use, the Zoom display of webpage becomes inevitable.But mate with mobile device screen after webpage convergent-divergent and just become problem, such as: after Android mobile phone browser page in the market amplifies, word can not automatic typesetting, need horizontally slip and just can browse in full.It is just suitable loaded down with trivial details time such user wants to carry out amplified read to font.
Summary of the invention
The object of this invention is to provide mobile communication equipment and browse Webpage display process, user can be read and display the free convergent-divergent page and not affecting, and program design is simple, and easy and simple to handle.
For this reason, Webpage display process browsed by the mobile communication equipment that the present invention proposes, and it is characterized in that comprising the steps: S1: when browsing device net page browser interface, receives the operational order of user; S2: when instruction be " two finger amplify the page " or " the double-click page " operational order time, amplify page display at browser interface by the magnification ratio required by this operational order; S3: detect the page and be exaggerated the word whether having text formatting in rear viewing area; S4: if any, then detect the size after Font Change, after reading the size of Font Change, automatically go the size of the Set font Regional Gravity new settings font in mobile device setting area, and automatic typesetting; S5: as not having the word of text formatting in viewing area, then keep the display state after amplifying constant.
Compared with prior art, the present invention is owing to being adopt in communication terminal to preset font, and for default font, being easy to call default fixing type-setting mode carries out typesetting, and without the need to carrying out typesetting computing, program design is simple, and easy and simple to handle.Such as, in android system, while changing font size, the typesetting function that android system is had by oneself can carry out quick typesetting automatically, and without the need to separately establishing a typesetting function or an establishment page layout program.So just can promote Consumer's Experience under the prerequisite not changing operating system, improve user browser browse text amplify after surfing and comfort level.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of embodiments of the invention.
Embodiment
Below in conjunction with accompanying drawing, preferably embodiment of the present invention is described in further detail:
In the following embodiments, all example is carried out with such as Fig. 1.In embodiment, communication terminal is mobile phone.
Embodiment one,
As shown in Figure 1, operation steps is as follows:
When browsing device net page browser interface, receive the operational order of user, when instruction is " two finger amplifies the page " operational order, in the scale amplifying page display of browser interface by the amplification required by this operational order, the software detection page is exaggerated the word whether having text formatting in rear viewing area, if any, then detect the size after Font Change, after reading the size of Font Change, automatically the size (getting immediate font size) of the Set font Regional Gravity new settings font in mobile device setting area is gone, and because Android change font size can automatic typesetting, so our space of a whole page also completes automatic typesetting, as there is no the word of text formatting in viewing area, then keep the display state after amplifying constant, wait for that next step operates.
If there is no to store the font with the just the same size of font of actual displayed in the Set font region fontlib in mobile device setting area, then get immediate font size and carry out automatic typesetting, and again finely tune page displaying ratio in proportion according to font size.
The present embodiment adopts android system.First during accessed web page, webpage is resolved, obtain the webpage font information such as color, font style, font size of specifying in described webpage; Obtain the terminal font storehouse of mobile terminal; The font information of specifying in described webpage and described terminal font library information are contrasted, obtains font immediate with webpage specific font in fontlib; In the terminal the current character in described webpage is shown according to described immediate font, and the typesetting function utilizing android system own, carry out typesetting by the default typesetting scheme of this font size.
In the present embodiment, the different disposal to word, music, picture, video etc.: distinguish graph area and literal field, graph area bi-directional scaling, need not consider super border and line feed problem; To literal field, first define its rectangle border, be called text box border, this bi-directional scaling in rectangle border own, when display screen border is encountered on a certain border of text box, then this direction is no longer amplified, and another direction continues to amplify; Content wherein then automatically enters a new line in text box; When having multiple text box, each text box processes equally.The boundary of graph area and literal field and literal field is moved along with the convergent-divergent in each district, ensures that picture and text are not overlapping.
When instruction is " the double-click page " operational order, also carry out similar operation.But if when double-clicking certain text box, amplify text frame, and adjust the border of text frame, make its right boundary identical with the right boundary of display screen, word then typesetting line feed again in text box (first transpose number enters a new line in the process of transpose number display again).The neighbouring element of the part that screen does not take takes.
Embodiment two,
Convergent-divergent in the present embodiment and typesetting operation all realize at server end, then send to mobile phone terminal to show the webpage after rearrangement.Although the typesetting function that android system is own can not be utilized when server end realizes, but the font size after first reading amplification is extracted immediate font again and is reset font size and the method carrying out typesetting according to new font size from fontlib, still can simplify programming, facilitate user.
In order to reduce flow, improving speed of download, in this example, adding resolution adaptation function: when amplifying, only from the WEB page picture within the scope of server download display screen and word; When reducing, produce the webpage of low resolution at server end and download to mobile phone, no matter thus make mitigation and amplification all can save flow.
In the present embodiment, in convergent-divergent process, also generate transition webpage, the redundant content in filtering webpage, such as advertisement, floating frame etc., to avoid in amplification process, advertisement also synchronously being amplified, waste flow.
The present embodiment can adopt the method first downloaded (rearrangement) middle module, then just download (rearrangement) all the other modules, to improve download display speed.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, all should be considered as belonging to protection scope of the present invention.
Claims (5)
1. Webpage display process browsed by mobile communication equipment, it is characterized in that comprising the steps:
S1: when browsing device net page browser interface, receives the operational order of user;
S2: when instruction be " two finger amplify the page " or " the double-click page " operational order time, amplify page display at browser interface by the magnification ratio required by this operational order; When amplifying page display, different disposal is carried out to word, music, picture, video: distinguish graph area and literal field, graph area bi-directional scaling, need not consider super border and line feed problem; To literal field, first define its rectangle border, be called text box border, this bi-directional scaling in rectangle border own, when display screen border is encountered on a certain border of text box, then this direction is no longer amplified, and another direction continues to amplify;
S3: detect the page and be exaggerated the word whether having text formatting in rear viewing area;
S4: if any, then detect the size after Font Change, after reading the size of Font Change, automatically go the size of the Set font Regional Gravity new settings font in mobile communication equipment setting area, and automatic typesetting;
S5: as not having the word of text formatting in viewing area, then keep the display state after amplifying constant;
In described step S4, if there is no to store the font with the just the same size of font of actual displayed in the Set font region fontlib in mobile communication equipment setting area, then get immediate font size and carry out automatic typesetting, and again finely tune page displaying ratio in proportion according to font size;
In step s 2, when instruction is " the double-click page " operational order, when double-clicking certain text box, amplify text frame, and adjust the border of text frame, make its right boundary identical with the right boundary of display screen, in step s 4 which word then in text box first transpose enter a new line in the process of transpose number display number again, the neighbouring element of the part that screen top and the bottom do not take takes;
The convergent-divergent of webpage and typesetting are carried out at server end, are then sent to mobile communication equipment and show; Wherein, when amplifying display, mobile communication equipment only downloads the content within the scope of display screen from server end; When reducing display, the low-definition version that server end generation resolution and mobile communication equipment resolution adapt, then downloads to mobile communication equipment and shows.
2. Webpage display process browsed by mobile communication equipment as claimed in claim 1, it is characterized in that: before step S1, enters the Web page when browsing first, performs following steps:
Webpage is resolved, obtains the webpage font information such as color, font style, font size of specifying in described webpage;
Obtain the fontlib in the Set font region in the setting area of mobile communication equipment;
The font information of specifying in described webpage and mobile communication equipment fontlib information are contrasted, obtains font immediate with webpage specific font in fontlib; Current character in described webpage is shown in mobile communication equipment according to described immediate font.
3. Webpage display process browsed by mobile communication equipment as claimed in claim 1, and it is characterized in that: in step s 4 which, to specific text box, content wherein automatically enters a new line in text box; When having multiple text box, each text box processes equally.
4. Webpage display process browsed by mobile communication equipment as claimed in claim 1, it is characterized in that: when zoom operations, and server end generates transition webpage, the redundant content in filtering webpage.
5. Webpage display process browsed by mobile communication equipment as claimed in claim 1, it is characterized in that: first generate and download the module be positioned in the middle of display screen, then just generates and downloads all the other modules.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210459598.1A CN102968474B (en) | 2012-11-15 | 2012-11-15 | Webpage display process browsed by mobile communication equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210459598.1A CN102968474B (en) | 2012-11-15 | 2012-11-15 | Webpage display process browsed by mobile communication equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102968474A CN102968474A (en) | 2013-03-13 |
CN102968474B true CN102968474B (en) | 2016-02-24 |
Family
ID=47798612
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210459598.1A Expired - Fee Related CN102968474B (en) | 2012-11-15 | 2012-11-15 | Webpage display process browsed by mobile communication equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102968474B (en) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104063161B (en) * | 2013-03-19 | 2019-03-19 | 腾讯科技(深圳)有限公司 | Page zoom-in and zoom-out method and apparatus |
CN104239326B (en) * | 2013-06-17 | 2018-06-12 | 腾讯科技(深圳)有限公司 | A kind of methods, devices and systems zoomed in and out to webpage font |
US9916287B2 (en) | 2013-06-17 | 2018-03-13 | Tencent Technology (Shenzhen) Company Limited | Method, device and system for zooming font in web page file, and storage medium |
CN104636098A (en) * | 2013-11-12 | 2015-05-20 | 英业达科技有限公司 | Scaling system and method for adjusting file content according to measurement distance |
CN104850536A (en) * | 2014-02-14 | 2015-08-19 | 珠海金山办公软件有限公司 | Paragraph composition display method and device |
CN104978756B (en) * | 2014-04-02 | 2018-01-12 | 北京大学 | A kind of seamless Zoom method and device of the page of embedded interactive assemblies |
CN104133623B (en) * | 2014-06-27 | 2017-06-16 | 小米科技有限责任公司 | Page zoom-in and zoom-out method and apparatus |
CN104391641A (en) * | 2014-09-22 | 2015-03-04 | 贵阳朗玛信息技术股份有限公司 | Information processing method and device |
CN104361082A (en) * | 2014-11-07 | 2015-02-18 | 北京奇虎科技有限公司 | Method and device for displaying specified element in web page in browser |
CN105824561A (en) * | 2016-03-17 | 2016-08-03 | 广东欧珀移动通信有限公司 | A text zooming method and device in a display interface |
CN105892929A (en) * | 2016-04-29 | 2016-08-24 | 乐视控股(北京)有限公司 | Method and system for scaling characters |
CN106020680A (en) * | 2016-05-04 | 2016-10-12 | 北京小米移动软件有限公司 | Information display method and device |
CN105912519B (en) * | 2016-05-27 | 2019-01-25 | 北京京东尚科信息技术有限公司 | A kind of composition method and composing device of electronic document |
CN108228284B (en) * | 2016-12-14 | 2021-05-28 | 腾讯科技(深圳)有限公司 | Window display method and terminal |
CN110221739A (en) * | 2019-05-17 | 2019-09-10 | 北京搜狗科技发展有限公司 | A kind of data processing method, device and electronic equipment |
CN110675939A (en) * | 2019-09-24 | 2020-01-10 | 深圳安泰创新科技股份有限公司 | Image processing method, image processing apparatus, and computer-readable storage medium |
CN111143731B (en) * | 2019-12-19 | 2023-04-21 | 浙江大华技术股份有限公司 | Display method and device for webpage interface zooming and terminal equipment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101202748B (en) * | 2007-11-27 | 2012-06-06 | 优视科技有限公司 | Method for browsing web of micro browser and micro browser |
US9195637B2 (en) * | 2010-11-03 | 2015-11-24 | Microsoft Technology Licensing, Llc | Proportional font scaling |
CN102622382A (en) * | 2011-03-14 | 2012-08-01 | 北京小米科技有限责任公司 | Webpage rearranging method |
US9348939B2 (en) * | 2011-03-18 | 2016-05-24 | International Business Machines Corporation | Web site sectioning for mobile web browser usability |
CN102663137B (en) * | 2012-05-03 | 2016-06-29 | 北京奇虎科技有限公司 | A kind of method and system being applied in mobile terminal show webpage |
-
2012
- 2012-11-15 CN CN201210459598.1A patent/CN102968474B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN102968474A (en) | 2013-03-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102968474B (en) | Webpage display process browsed by mobile communication equipment | |
CN105095200B (en) | The method and apparatus that picture is shown in a manner of waterfall stream | |
CN100383783C (en) | Presenting html content on a small screen terminal display | |
CN109308155A (en) | Adjust method, apparatus, computer equipment and the storage medium of the page | |
CN101241416B (en) | A method and system for processing electronic books adapted to screen resolution | |
CN105069060B (en) | HTML document paging typesetting method | |
CN104268221A (en) | Page turning method and page turning system based on Ios system WebView | |
CN104820589B (en) | A kind of method and its device of dynamic adaptation webpage | |
US20140215308A1 (en) | Web Page Reflowed Text | |
CN103678622A (en) | Method and device for dynamic rendering of waterfall-type picture | |
CN103678646A (en) | Method and device for presenting pages | |
CN103853417A (en) | Rolling and pagination display method and device for network dynamic picture | |
CN102364460B (en) | Automatic page amplification method and system based on mobile terminal | |
CN103648055A (en) | Screen adaptive method of intelligent TV browser, device thereof and intelligent TV | |
KR20140012664A (en) | Method for rearranging web page | |
CN101882055A (en) | Method and device for displaying page in zoomed mode on terminal | |
CN102033917A (en) | Webpage browsing method for mobile terminal and mobile terminal applying same | |
CN110019037A (en) | A kind of pdf document methods of exhibiting, device, equipment and storage medium | |
CN106708478B (en) | Scroll view display method and apparatus | |
CN103885959A (en) | Webpage bookmark generating method and webpage bookmark generating device | |
CN106484883A (en) | webpage loading method and device | |
CN103856507A (en) | Network dynamic picture static display method and device | |
CN102053787A (en) | Information processing apparatus, image enlargement processing method, and program | |
CN106874387B (en) | Method for displaying real-time information in self-adaptive HTML (Hypertext markup language) scrolling mode | |
CN105791524B (en) | A kind of method and device adjusting page font |
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 | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160224 |
|
CF01 | Termination of patent right due to non-payment of annual fee |