CN102968474A - Method for displaying webpage browsed by mobile communication device - Google Patents

Method for displaying webpage browsed by mobile communication device Download PDF

Info

Publication number
CN102968474A
CN102968474A CN2012104595981A CN201210459598A CN102968474A CN 102968474 A CN102968474 A CN 102968474A CN 2012104595981 A CN2012104595981 A CN 2012104595981A CN 201210459598 A CN201210459598 A CN 201210459598A CN 102968474 A CN102968474 A CN 102968474A
Authority
CN
China
Prior art keywords
font
page
mobile communication
size
webpage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012104595981A
Other languages
Chinese (zh)
Other versions
CN102968474B (en
Inventor
代旭东
陈家
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201210459598.1A priority Critical patent/CN102968474B/en
Publication of CN102968474A publication Critical patent/CN102968474A/en
Application granted granted Critical
Publication of CN102968474B publication Critical patent/CN102968474B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for displaying a webpage browsed by a mobile communication device. The method comprises the following steps of: receiving an operating command of a user in a browser interface, magnifying page display in the browser interface according to a proportion in the command when the command is to ''magnify the page with two fingers'' or ''double-click the page'', detecting whether words of text format exist in a display area by software after the page is magnified, if any, detecting the size of changed words, reading the changed size of the words, and automatically resetting the size of the words in a word setting area of a setting area of the mobile device (using the most approximate size of the words). Since automatic typesetting can be performed in the Android system after the size of the words is changed, automatic typesetting can be performed on the page. If no words of text format exist in the display area, the display state after magnification is maintained, and a user can wait for next operation. The problem of automatic typesetting after word magnification can be solved, and the user can easily read texts only by sliding the display area up and down after the words are magnified.

Description

Mobile communication equipment browsing page display packing
Technical field
The present invention relates to mobile communication equipment browsing page display packing, relates in particular to the method for browsing page magnifying text automatic typesetting.
Background technology
Along with take iPhone, Android and Windows as betting that smart mobile phone becomes the development of the market mainstream and mobile Internet gradually, utilize mobile device access internet page to become a kind of trend.But because the screen of mobile device is generally less, less than general computer screen, so webpage that tradition designs for computer user, often be unsuitable for visiting with mobile device, because: on the one hand, if webpage is dwindled demonstration, then can cause font too little, can't read, or figure is too little, does not see details; But then, if if webpage is shown by the size of setting on the webpage, webpage will exceed the scope of mobile device screen.The webpage that arranges even aim at mobile device, also can have 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 both be shown with the optimal mode of hope.Therefore, in use, the Zoom display of webpage becomes unavoidably.But just become problem with mobile device screen coupling behind the webpage convergent-divergent, such as: after the Android mobile phone browser page in the market amplified, literal can automatic typesetting, need horizontally slip and just can browse in full.It is just suitable loaded down with trivial details when the user wants that font carried out amplified read like this.
Summary of the invention
The purpose of this invention is to provide mobile communication equipment browsing page display packing, so that the user can the free convergent-divergent page and do not affect and read and show that program design is simple, and easy and simple to handle.
For this reason, the mobile communication equipment browsing page display packing that the present invention proposes is characterized in that comprising the steps: S1: when the browsing device net page browser interface, receive user's operational order; S2: when instruction is " two finger amplification page " or " the double-click page " operational order, show at the desired magnification ratio amplification page of browser interface by this operational order; S3: detect the page and be exaggerated the literal whether text formatting is arranged in the rear viewing area; S4: if any, then detect the size behind the Font Change, read the size of Font Change after, automatically go the size of the Set font Regional Gravity And new settings font in the mobile device setting area and automatic typesetting; S5: as there not being the literal of text formatting in the viewing area, the show state after then keeping amplifying is constant.
Compared with prior art, the present invention is owing to be to adopt default font in the communication terminal, and for default font, is easy to call default fixedly type-setting mode set type, and the computing that need not to set type, program design is simple, and easy and simple to handle.For example, in the Android system, when changing font size, the own composing function of Android system can be set type automatically fast, and need not to establish in addition a composing function or work out a page layout program.So just can under the prerequisite that does not change operating system, promote the user and experience, improve surfing and the comfort level of user after browser is browsed the text amplification.
Description of drawings
Fig. 1 is the schematic flow sheet of embodiments of the invention.
Embodiment
Below in conjunction with accompanying drawing, more excellent embodiment of the present invention is described in further detail:
In the following embodiments, all with carrying out example such as Fig. 1.Communication terminal is mobile phone among the embodiment.
Embodiment one,
As shown in Figure 1, operation steps is as follows:
When the browsing device net page browser interface, receive user's operational order, when instruction is " two finger amplification page " operational order, amplifying the page at browser interface in the ratio of the desired amplification of this operational order shows, the software detection page is exaggerated the literal whether text formatting is arranged in the rear viewing area, if any, then detect the size behind the Font Change, after reading the size of Font Change, automatically go the size (getting immediate font size) of the Set font Regional Gravity And new settings font in the mobile device setting area, and because Android change font size can automatic typesetting, so our space of a whole page has also been finished automatic typesetting; As there not being the literal of text formatting in the viewing area, the show state after then keeping amplifying is constant, waits for next step operation.
If there is not the font of the just the same size of font of storage and actual displayed in the fontlib of the zone of the Set font in the mobile device setting area, then get immediate font size and carry out automatic typesetting, and again finely tune in proportion page displaying ratio according to font size.
Present embodiment is to adopt the Android system.During accessed web page, webpage is resolved first, obtain the webpage font information such as color, font style, font size of appointment in the described webpage; Obtain the terminal font storehouse of portable terminal; Font information and the described terminal font library information of appointment in the described webpage are compared, obtain in the fontlib and the immediate font of webpage specific font; In portable terminal, the current character in the described webpage is carried out and show according to described immediate font, and utilize the own composing function of Android system, set type by the default composing scheme of this font size.
In the present embodiment, to the different disposal of literal, music, picture, video etc.: distinguish graph area and literal field, the graph area bi-directional scaling gets final product, and need not consider super border and line feed problem; To literal field, define first its rectangle border, be called text box border, this bi-directional scaling in rectangle border own, when the display screen border was run on a certain border of text box, then this direction was no longer amplified, and another direction continues to amplify; Then automatically line feed in text box of content wherein; When a plurality of text box was arranged, each text box was processed equally.Graph area and literal field and literal field the boundary move along with the convergent-divergent in each district, guarantee that picture and text are not overlapping.
When instruction is " the double-click page " operational order, also similarly operate.But if when double-clicking certain text box, amplify text frame, and adjust the border of text frame, make the left and right sides borderline phase of its border, left and right sides and display screen together, literal is again composing line feed in text box (changing first font size enters a new line in the process of changing the font size demonstration again) then.The part that screen does not take is used up and down, and adjacent element takes.
Embodiment two,
Convergent-divergent in the present embodiment and the operation of setting type all realize at server end, then the webpage after resetting are sent to mobile phone terminal and show.Although when server end is realized, can not utilize the own composing function of Android system, but the font size that reads first after the amplification is extracted the method that immediate font resets font size and sets type according to the new font size again from fontlib, still can simplify programming, make things convenient for the user.
In order to reduce flow, improve speed of download, increased the resolution adaptation function in this example: when amplifying, only download WEB page or leaf picture and literal in the display screen scope from server; When dwindling, produce the webpage of low resolution and download to mobile phone at server end, thereby no matter so that amplify and dwindle and all can save flow.
In the present embodiment, also generate the transition webpage in the convergent-divergent process, the redundant content in the filtering webpage is such as advertisement, floating frame etc., to avoid advertisement also being amplified the synchronously waste flow in amplification process.
Present embodiment can adopt first module of downloading in the middle of (rearrangements), then just download the method for (rearrangements) all the other modules, with raising download display speed.
Above content is the further description of the present invention being done in conjunction with concrete preferred implementation, can not assert that implementation of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (9)

1. mobile communication equipment browsing page display packing is characterized in that comprising the steps:
S1: when the browsing device net page browser interface, receive user's operational order;
S2: when instruction is " two finger amplification page " or " the double-click page " operational order, show at the desired magnification ratio amplification page of browser interface by this operational order;
S3: detect the page and be exaggerated the literal whether text formatting is arranged in the rear viewing area;
S4: if any, then detect the size behind the Font Change, read the size of Font Change after, automatically go the size of the Set font Regional Gravity And new settings font in the mobile device setting area and automatic typesetting;
S5: as there not being the literal of text formatting in the viewing area, the show state after then keeping amplifying is constant.
2. mobile communication equipment browsing page display packing as claimed in claim 1, it is characterized in that: in described step S4, if there is not the font of the just the same size of font of storage and actual displayed in the fontlib of the zone of the Set font in the mobile device setting area, then get immediate font size and carry out automatic typesetting, and again finely tune in proportion page displaying ratio according to font size.
3. mobile communication equipment browsing page display packing as claimed in claim 1 or 2 is characterized in that: before step S1, enter the Web page first when browsing, carry out following steps:
Webpage is resolved, obtain the webpage font information such as color, font style, font size of appointment in the described webpage;
The fontlib in the Set font zone in the setting area of acquisition mobile communication equipment;
Font information and the described terminal font library information of appointment in the described webpage are compared, obtain in the fontlib and the immediate font of webpage specific font; Current character in the described webpage is shown in mobile communication equipment according to described immediate font.
4. mobile communication equipment browsing page display packing as claimed in claim 1 or 2, it is characterized in that: when in step S2, amplifying page demonstration, different disposal to literal, music, picture, video etc.: distinguish graph area and literal field, the graph area bi-directional scaling need not be considered super border and line feed problem; To literal field, define first its rectangle border, be called text box border, this bi-directional scaling in rectangle border own, when the display screen border was run on a certain border of text box, then this direction was no longer amplified, and another direction continues to amplify.
5. mobile communication equipment browsing page display packing as claimed in claim 4 is characterized in that: in step S4, to specific text box, content wherein is automatically line feed in text box; When a plurality of text box was arranged, each text box was processed equally.
6. mobile communication equipment browsing page display packing as claimed in claim 1 or 2, it is characterized in that: in step S2, when double-clicking certain text box, amplify text frame, and adjust the border of text frame, the left and right sides borderline phase that makes its border, left and right sides and display screen with, then in text box, change first font size at step S4 Chinese word and changing again in the process that font size shows and enter a new line, the part that the screen top and the bottom do not take takes with adjacent element up and down.
7. mobile communication equipment browsing page display packing as claimed in claim 1 or 2 is characterized in that: then the convergent-divergent of webpage and set type and carry out at server end is sent to communication terminal and shows; Wherein, when amplify showing, communication terminal is only downloaded content in the display screen scope from server end; When dwindling demonstration, then the low-definition version that server end generation resolution and communication terminal resolution adapt downloads to communication terminal and shows.
8. mobile communication equipment browsing page display packing as claimed in claim 7 is characterized in that: when zoom operations, server end generates transition webpage, the redundant content in the filtering webpage.
9. mobile communication equipment browsing page display packing as claimed in claim 8 is characterized in that: generate first and download the module that is positioned at the display screen centre, then just generate and download all the other modules.
CN201210459598.1A 2012-11-15 2012-11-15 Webpage display process browsed by mobile communication equipment Expired - Fee Related CN102968474B (en)

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 true CN102968474A (en) 2013-03-13
CN102968474B 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)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063161A (en) * 2013-03-19 2014-09-24 腾讯科技(深圳)有限公司 Page scaling method and device
CN104133623A (en) * 2014-06-27 2014-11-05 小米科技有限责任公司 Page zooming method and page zooming device
CN104239326A (en) * 2013-06-17 2014-12-24 腾讯科技(深圳)有限公司 Method, device and system for zooming webpage fonts
CN104361082A (en) * 2014-11-07 2015-02-18 北京奇虎科技有限公司 Method and device for displaying specified element in web page in browser
CN104391641A (en) * 2014-09-22 2015-03-04 贵阳朗玛信息技术股份有限公司 Information processing method and device
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
CN104978756A (en) * 2014-04-02 2015-10-14 北京大学 Method and device for seamlessly zooming in and out page equipped with embedded interactive assembly
CN105824561A (en) * 2016-03-17 2016-08-03 广东欧珀移动通信有限公司 Method and device for zooming character in display interface
CN105892929A (en) * 2016-04-29 2016-08-24 乐视控股(北京)有限公司 Method and system for scaling characters
CN105912519A (en) * 2016-05-27 2016-08-31 北京京东尚科信息技术有限公司 Electronic document typesetting method and typesetting device
CN106020680A (en) * 2016-05-04 2016-10-12 北京小米移动软件有限公司 Information display method and device
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
CN108228284A (en) * 2016-12-14 2018-06-29 腾讯科技(深圳)有限公司 A kind of 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
CN111143731A (en) * 2019-12-19 2020-05-12 浙江大华技术股份有限公司 Display method and device for webpage interface zooming and terminal equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120110438A1 (en) * 2010-11-03 2012-05-03 Microsoft Corporation Proportional Font Scaling
CN101202748B (en) * 2007-11-27 2012-06-06 优视科技有限公司 Method for browsing web of micro browser and micro browser
CN102622382A (en) * 2011-03-14 2012-08-01 北京小米科技有限责任公司 Webpage rearranging method
CN102663137A (en) * 2012-05-03 2012-09-12 奇智软件(北京)有限公司 Method and system for displaying webpage applied in mobile terminal
US20120240063A1 (en) * 2011-03-18 2012-09-20 International Business Machines Corporation Web site sectioning for mobile web browser usability

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
US20120110438A1 (en) * 2010-11-03 2012-05-03 Microsoft Corporation Proportional Font Scaling
CN102622382A (en) * 2011-03-14 2012-08-01 北京小米科技有限责任公司 Webpage rearranging method
US20120240063A1 (en) * 2011-03-18 2012-09-20 International Business Machines Corporation Web site sectioning for mobile web browser usability
CN102663137A (en) * 2012-05-03 2012-09-12 奇智软件(北京)有限公司 Method and system for displaying webpage applied in mobile terminal

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063161A (en) * 2013-03-19 2014-09-24 腾讯科技(深圳)有限公司 Page scaling method and device
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
CN104239326A (en) * 2013-06-17 2014-12-24 腾讯科技(深圳)有限公司 Method, device and system for zooming webpage fonts
WO2014201814A1 (en) * 2013-06-17 2014-12-24 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
CN104978756A (en) * 2014-04-02 2015-10-14 北京大学 Method and device for seamlessly zooming in and out page equipped with embedded interactive assembly
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
CN104133623A (en) * 2014-06-27 2014-11-05 小米科技有限责任公司 Page zooming method and page zooming device
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 广东欧珀移动通信有限公司 Method and device for zooming character in 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
CN105912519A (en) * 2016-05-27 2016-08-31 北京京东尚科信息技术有限公司 Electronic document typesetting method and typesetting device
CN108228284A (en) * 2016-12-14 2018-06-29 腾讯科技(深圳)有限公司 A kind of 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
CN111143731A (en) * 2019-12-19 2020-05-12 浙江大华技术股份有限公司 Display method and device for webpage interface zooming and terminal equipment
CN111143731B (en) * 2019-12-19 2023-04-21 浙江大华技术股份有限公司 Display method and device for webpage interface zooming and terminal equipment

Also Published As

Publication number Publication date
CN102968474B (en) 2016-02-24

Similar Documents

Publication Publication Date Title
CN102968474B (en) Webpage display process browsed by mobile communication equipment
JP5983983B2 (en) Information processing apparatus and method, and program
US9286390B2 (en) Presentation of rich search results in delineated areas
US20100125807A1 (en) Electronic Scrolling Text Display
CN101819500A (en) Browsing adjustment method for list line display of handheld device
CN102163126A (en) Display method and electronic device for using the same
CN101882055A (en) Method and device for displaying page in zoomed mode on terminal
JP2012008686A (en) Information processor and method, and program
WO2023155811A1 (en) Page layout adjustment method and apparatus
CN102053787A (en) Information processing apparatus, image enlargement processing method, and program
CN106484883A (en) webpage loading method and device
CN104035676B (en) A kind of switching method and device of the page
CN110019037A (en) A kind of pdf document methods of exhibiting, device, equipment and storage medium
US20160004389A1 (en) Display controller, display control method, control program, and recording medium
CN112445400A (en) Visual graph creating method, device, terminal and computer readable storage medium
CN103513855A (en) Method and device for updating display pages
CN102135958A (en) Webpage capturing method and webpage capturing system
CN107368236A (en) The methods of exhibiting and device of title in a kind of message catalog
CN108446152B (en) Page display method and device
CN102681974B (en) Display packing, display device and electronic equipment
CN201820226U (en) Network data converter supporting multiple display modes
CN103218357A (en) Page setting method and device
CN111104039A (en) Method, device and equipment for displaying content data of e-book page
US20130083077A1 (en) Method of displaying a digital content on a screen
KR102581745B1 (en) A data prcessing device, data processing method and computer readable storage medium

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
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.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160224