WO2013127239A1 - 网页内容显示的实现方法、装置、浏览器及移动终端 - Google Patents

网页内容显示的实现方法、装置、浏览器及移动终端 Download PDF

Info

Publication number
WO2013127239A1
WO2013127239A1 PCT/CN2012/087522 CN2012087522W WO2013127239A1 WO 2013127239 A1 WO2013127239 A1 WO 2013127239A1 CN 2012087522 W CN2012087522 W CN 2012087522W WO 2013127239 A1 WO2013127239 A1 WO 2013127239A1
Authority
WO
WIPO (PCT)
Prior art keywords
webpage
coordinate information
center point
display window
zoom
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.)
Ceased
Application number
PCT/CN2012/087522
Other languages
English (en)
French (fr)
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 US14/344,389 priority Critical patent/US20140351689A1/en
Priority to IN3219CHN2014 priority patent/IN2014CN03219A/en
Publication of WO2013127239A1 publication Critical patent/WO2013127239A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00—Handling natural language data
    • G06F40/10—Text processing
    • G06F40/12—Use of codes for handling textual entities
    • G06F40/14—Tree-structured documents
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90—Details of database functions independent of the retrieved data types
    • G06F16/95—Retrieval from the web
    • G06F16/957—Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents

Definitions

  • the present invention relates to the field of mobile communications, and in particular to a method, an apparatus, a browser, and a mobile terminal for implementing webpage content display.
  • BACKGROUND At present, most browsers have a webpage zooming function, and a user can zoom in or out on a webpage being browsed through a webpage zooming function.
  • the structure of the web page changes, and the size of the viewable area of the browser does not change. Since the structure of the webpage has changed, and the size of the visible area has not changed, the browsing area before the zooming is inconsistent with the zoomed browsing area, and the area that was originally browsed is offset to other areas of the browser after being scaled.
  • webpage zooming will cause a larger shift in the browsing area, causing the area currently browsed by the user to enter all or part of the invisible area of the browser after zooming, and the user needs to zoom in after the webpage is zoomed.
  • the mobile web page can see the area of the webpage before zooming again.
  • part or all of the area that the user browses before zooming into the invisible area of the browser so that the user needs to move the scaled webpage to browse the content of the webpage before zooming, no effective solution has been proposed yet.
  • the present invention provides an implementation scheme for displaying webpage content, so as to at least solve the above problem, in which the user's current browsing area is offset after the webpage is zoomed, so that the user needs to move the scaled webpage to browse the content being browsed before zooming. problem.
  • a method for implementing webpage content display including: after receiving an input zoom command, acquiring a zoom center point corresponding to the zoom command; performing the zoom command to obtain the zoom The first coordinate information of the center point relative to the webpage after zooming; the zoomed center point is used as a center point of the display window, and the zoomed display window is obtained by combining the acquired first coordinate information Corresponding to the second coordinate information of the webpage; displaying the content of the webpage after the zooming is located in the display window according to the second coordinate information of the display window.
  • the zoomed center point is used as a center point of the current display window, and combined with the obtained first coordinate information, obtaining second coordinate information of the display window relative to the webpage after scaling, including : obtaining the second coordinate information of the display window relative to the webpage after scaling according to the following formula:
  • the method before the performing the zooming command, further includes: acquiring a position ratio of the zoom center point in a node area corresponding to the webpage; acquiring the zoom center point after zooming relative to the
  • the first coordinate information of the webpage includes: obtaining coordinate area information of the zoomed node area relative to the webpage; using the scaled zoom center point as a center point of the display window, and combining the acquired The first coordinate information, the second coordinate information of the display window relative to the webpage after the zooming is obtained, including: obtaining a zoom according to the position ratio and the coordinate area information of the node area relative to the webpage after being scaled And then displaying the second coordinate information of the window relative to the webpage.
  • obtaining a position ratio of the zoom center point in a node area corresponding to the webpage comprising: acquiring third coordinate information (Xpl, Ypl) of the zoom center point relative to the webpage before zooming; And acquiring, according to the acquired third coordinate information, a node area of the webpage corresponding to the zoom center point; acquiring a coordinate area (Xn, Yn) (Wn, Hn) of the node area relative to the webpage, Wherein (Xn, Yn) is the coordinate information of the upper left corner vertex of the node area with respect to the webpage, Wn is the width of the node area, and Hn is the height of the node area; according to the third coordinate information Obtaining, in the coordinate region of the node region, a position ratio of the zoom center point in the node region, wherein the position ratio includes a ratio PercentX in a horizontal direction and a ratio PercentY in a vertical direction:
  • obtaining the coordinate area information of the zoomed node area relative to the webpage comprising: obtaining a coordinate area of the node area relative to the webpage after scaling (Xm, Ym) (Wm, Hm), where (Xm, Ym) is the coordinate information of the upper left corner vertex of the node area with respect to the webpage, Wm is the width of the node area, and Hm is the height of the node area;
  • the node area is a text area or a picture area of the webpage that is pre-divided.
  • acquiring a zoom center point corresponding to the zoom command comprises: responding to the zoom command input by the user through the multi-touch touch display screen, acquiring multiple points of the user contact a center point, the center point is used as the zoom center point; or, in response to a zoom command input by a user, acquiring a zoom center point of the zoom command, including: responding to the zoom command input by a user through a zoom button The center point of the display window is used as the zoom center point.
  • an apparatus for implementing webpage content display including: a first obtaining module, configured to: after receiving an input zoom command, acquire a zoom center point corresponding to the zoom command; An acquiring module, configured to execute the zoom command, to obtain first coordinate information of the zoom center point relative to the webpage after being zoomed; and a third acquiring module, configured to use the zoomed zoom center point as a display window a central point, and in combination with the obtained first coordinate information, obtaining second coordinate information of the display window relative to the webpage after scaling; the display module is configured to display according to the second coordinate information of the display window
  • the web page is located at the content of the display window after being scaled.
  • the third acquiring module acquires second coordinate information of the display window relative to the webpage after scaling according to the following formula-
  • Y2 Yf-H/2 ; where (X2, Y2) is the coordinate information of the top left vertex of the display window relative to the webpage, (Xf,
  • the device further includes: a fourth obtaining module, configured to acquire a position ratio of the zoom center point in a node area corresponding to the webpage before performing the zooming command; Module, The third acquisition module is further configured to obtain the coordinate area information of the node area relative to the webpage after being scaled, and further configured to: according to the coordinate area information and the location of the webpage after the zooming of the node area The position ratio is obtained, and the second coordinate information of the display window relative to the webpage after zooming is obtained.
  • a fourth obtaining module configured to acquire a position ratio of the zoom center point in a node area corresponding to the webpage before performing the zooming command
  • Module The third acquisition module is further configured to obtain the coordinate area information of the node area relative to the webpage after being scaled, and further configured to: according to the coordinate area information and the location of the webpage after the zooming of the node area The position ratio is obtained, and the second coordinate information of the display window relative to the webpage after zooming is obtained.
  • the fourth obtaining module includes: a first acquiring unit, configured to acquire third coordinate information (Xpl, Ypl) of the zoom center point relative to the webpage before zooming; and a positioning unit, configured to Determining, according to the acquired third coordinate information, a node area of the webpage corresponding to the zoom center point; and acquiring, by the second acquiring unit, the coordinate area of the node area relative to the webpage (Xn, Yn) (Wn, Hn), where (Xn, Yn) is the coordinate information of the upper left corner vertex of the node area with respect to the webpage, Wn is the width of the node area, and Hn is the height of the node area; a ratio determining unit, configured to acquire the zoom center point according to the third coordinate information acquired by the first acquiring unit and the coordinate area of the node area acquired by the second acquiring unit with respect to the webpage a position ratio in a node region, wherein the position ratio includes a ratio PercentX in the horizontal direction and a ratio Per
  • the second obtaining module is further configured to obtain a coordinate region (Xm, Ym) (Wm, Hm) of the node region relative to the webpage after scaling, where (Xm , Ym) is the coordinate information of the upper left corner vertex of the node area with respect to the webpage, Wm is the width of the node area, and Hm is the height of the node area;
  • a browser including: the implementation device for displaying the webpage content provided by the present invention.
  • a mobile terminal including: the above browser provided by the present invention.
  • the present invention after receiving the input zoom command, acquiring a zoom center point corresponding to the zoom command; performing a zoom command to obtain first coordinate information of the zoom center point relative to the webpage after zooming; scaling the zoomed
  • the center point is used as a center point of the display window, and obtains second coordinate information of the display window relative to the webpage after zooming; according to the second coordinate information of the display window, the content of the display window located in the display window after zooming is displayed. Therefore, the present invention realizes that after the webpage is zoomed, the area browsed by the user before the webpage is zoomed can be displayed in the visible area of the browser, the consistency of the browsing of the user is maintained, and the user is prevented from performing the position adjustment of the webpage moving operation. Improve the user experience.
  • FIG. 1 is a flowchart of a method for implementing webpage content display according to a first embodiment of the present invention
  • FIG. 2 is a flowchart of a method for implementing webpage content display according to a second embodiment of the present invention
  • FIG. 4 is a structural block diagram of an apparatus for implementing a webpage content display according to a third embodiment of the present invention
  • FIG. 4 is a block diagram of a preferred fourth embodiment of the webpage content display according to the third embodiment of the present invention
  • FIG. 6 is an effect diagram of webpage content display before the wap page is enlarged
  • FIG. 7 is an effect diagram of webpage content display in the wap page enlargement
  • FIG. 8 is a webpage content after the wap page is enlarged and automatically centered.
  • Figure 9 is an effect diagram of the webpage content display before the www page is reduced
  • Figure 10 is an effect diagram of the webpage content display in the www page reduction
  • Figure 11 is the webpage content after the wwwpage is reduced and automatically centered.
  • the resulting rendering BEST MODE FOR CARRYING OUT THE INVENTION
  • Embodiment 1 According to an embodiment of the present invention, a method for implementing webpage content display is provided, which can display an area that a user browses before displaying a webpage zoom in a browser visible area after the webpage is zoomed, and maintains the user's browsing consistency. Sex, avoiding users from moving web pages.
  • 1 is a flowchart of a method for implementing webpage content display according to a first embodiment of the present invention. As shown in FIG. 1, the method includes the following steps (step S102-step S108). Step S102: After receiving the input zoom command, obtain a zoom center point corresponding to the zoom command.
  • Step S104 executing a zoom command to obtain first coordinate information of the zoom center point relative to the webpage after being scaled.
  • Step S106 The zoomed zoom center point is used as a center point of the display window, and combined with the acquired first coordinate information, the second coordinate information of the zoomed display window relative to the webpage is obtained.
  • Step S108 Display, according to the second coordinate information of the display window, the content of the webpage that is located in the display window after being zoomed.
  • the zoom center point corresponding to the zoom command is obtained; after the zoom command is executed, the first coordinate information of the zoom center point relative to the webpage after zooming is obtained; The point is used as the center point of the current display window, and the second coordinate information of the display window relative to the webpage is obtained after zooming; according to the second coordinate information of the display window, the content of the display window located in the display window after zooming is displayed.
  • the present invention realizes that after the webpage is zoomed, the area that the user browses before the webpage is zoomed can be displayed in the visible area of the browser, and the consistency of the user's browsing is maintained, thereby avoiding the trouble of the user performing the webpage moving operation to realize the position adjustment, and improving.
  • the user experience the user can perform the webpage zooming operation through the multi-touch touch display, or the webpage zooming operation by using the zoom button of the browser, and different zooming centers can be selected in the zooming process for different zooming operations. point.
  • acquiring the zoom center point corresponding to the zoom command may include: receiving the zoom input by the user through the multi-touch touch screen display The command acquires the center point of the multipoint that the user touches, and uses the center point of the multipoint that the user touches as the zoom center point.
  • acquiring the zoom center point corresponding to the zoom command may include: receiving a zoom command input by the user through the zoom button, and displaying the center of the window Point as the zoom center point.
  • the zoom center point After receiving the input zoom command, acquiring a zoom center point corresponding to the zoom command, after obtaining the zoom center point, performing a zoom command to obtain first coordinate information of the zoom center point relative to the webpage after zooming, in the present invention
  • the first coordinate information may be labeled as (Xf, Yf), and (Xf, Yf) is coordinate information of the scaled zoom center point relative to the web page.
  • the zoom center point After obtaining the first coordinate information of the zoom center point relative to the webpage after zooming, the zoom center point can be used as the center of the display window, and the position of the current window is adjusted, so that the area scanned by the user before zooming is displayed in the visible area in the window. .
  • the zoomed zoom center point is used as the center point of the current display window, and the second coordinate information of the zoomed display window relative to the webpage is obtained, which may include: obtaining the zoom according to the following formula The second coordinate information of the display window relative to the webpage:
  • the zoom center point is relative to the coordinate information of the web page)
  • W is the width of the display window
  • H is the height of the display window.
  • the node area of the webpage corresponding to the zoom center point may be first located, and the position proportion of the zoom center point in the node area is obtained, after adjusting the zoom When the window position is used, it can be adjusted according to the obtained proportional position.
  • the position ratio of the zoom center point in the node area corresponding to the web page may also be acquired.
  • the first coordinate information of the zoom center point relative to the webpage after zooming is obtained to obtain the coordinate area information of the zoomed node area relative to the webpage.
  • the second coordinate information of the zoomed display window relative to the webpage may be obtained according to the position ratio and the coordinate area information of the node area relative to the webpage after being scaled.
  • the position ratio of the zoom center point in the node area corresponding to the web page may be obtained by the following steps 1 - 4.
  • Step 1 Obtain third coordinate information (Xpl, Ypl) of the zoom center point relative to the webpage before zooming.
  • Step 2 According to the acquired third coordinate information, locate a node area of the webpage corresponding to the zoom center point.
  • Step 3 Obtain a coordinate area (Xn, Yn) (Wn, Hn) of the node area relative to the webpage, where (Xn, Yn) is coordinate information of a top-end vertex of the node area relative to the webpage, and Wn is a width of the node area.
  • Hn is the height of the node area.
  • Step 4 Obtain a position ratio of the zoom center point in the node area according to the third coordinate information and the coordinate area of the node area, where the position ratio includes a ratio PercentX in the horizontal direction and a ratio PercentY in the vertical direction:
  • Y2 Ym+ PercentY*Hm-H/2 ;
  • (X2, Y2) is the coordinate information of the top left vertex of the display window relative to the web page
  • W is the width of the display window
  • ⁇ is the height of the display window.
  • the node area may be a text area or a picture area of a pre-divided webpage.
  • Embodiment 2 according to an embodiment of the present invention, after the user scales the webpage scale (multi-touch enlargement/reduction, or clicks the zoom button), the webpage is automatically re-typed, and the content that the user is watching before is aligned to the center of the screen. Thus, the user is saved and the reading position is manually adjusted.
  • the size of the webpage is: the size of the entire webpage; the size of the window is: the size of the window visible by the browser; the location of the window is: the coordinates of the upper left corner of the browser visible window in the entire webpage.
  • the coordinates of the point are expressed as (X, Y), X is the X-axis coordinate of the point, and ⁇ is the pivot coordinate of the point.
  • the area coordinates of the area are expressed as (X, Y), (W, H), where X is the X-axis coordinate of the upper left corner of the area, Y is the Y-axis coordinate of the upper left corner of the area, and W is the width of the area.
  • H is the height of the area. Taking the window width and height of the mobile browser as W and H respectively, and the position of the window as (XI, Y1) as an example, the zoom ratio of the current webpage is represented as Zl.
  • Step S202 calculating the coordinates of the center point of the two-point touch of the user on the screen, that is, (Xp, Yp), and calculating the coordinates of the entire webpage as ( ⁇ + ⁇ 1, ⁇ + ⁇ 1), that is, (Xpl, Ypl).
  • this step begins to calculate the coordinates of the center point of the user's two-point touch on the screen.
  • the coordinates (Xp, Yp) of the center point of the two-point touch are calculated by the following formula:
  • Step S204 by calculating the coordinates (Xpl, Ypl) of the center point relative to the entire webpage, and positioning the nodes (text, picture, etc.) in the webpage corresponding to the coordinates (Xpl, Ypl), the node may be marked as "Node”.
  • Step S206 calculating a coordinate area (Xn, Yn) (Wn, Hn) of the Node.
  • Xn is the X-axis coordinate of the upper left corner of the node area
  • Yn is the Y-axis coordinate of the upper left corner of the node area
  • Wn is the width of the node area
  • Hn is the height of the node area.
  • the web page is typeset according to the official specifications of HTML4.1 and CSS2.1, and then the node corresponding to the element (text, picture, etc.) is found according to the Dom specification, and then the browser will give the section.
  • the layout area of the point which is represented by the X coordinate, the y coordinate, the width, and the height. In this way, the coordinate area of the Node can be obtained.
  • Step S208 calculating a position ratio of the center point in the Node node.
  • step S210 the page is zoomed and re-typed. Since the screen width is folded when the typesetting is performed, the layout structure may change. Under the result of the new typesetting, the new coordinate area (Xm, Ym) (Wm, Hm) of Node is calculated. This step is scaled in response to the user's zooming operation (eg, the user's two-point zoom zoom action), and the various parameters obtained in the previous steps are also recorded before scaling and layout.
  • the new coordinate area (Xm, Ym) (Wm, Hm) of Node is calculated.
  • This step is scaled in response to the user's zooming operation (eg, the user's two-point zoom zoom action), and the various parameters obtained in the previous steps are also recorded before scaling and layout.
  • the new coordinate area of Node is obtained in the same manner as described in step 206.
  • Step S212 calculating a new window position according to the scale value calculated in step S208, and the screen width and height.
  • Y2 Ym+Hm*PercentY-H/2, that is, the position of the visible area window is set to ( ⁇ 2, ⁇ 2).
  • step S214 the position is moved according to the coordinate of the window (X2, Y2).
  • the coordinates (X2, Y2) which are the coordinates of the area to which the browser's visible window moves.
  • the visible window is moved to the coordinate, and the content of the display window located in the display window after zooming is displayed.
  • the content can be automatically adjusted to the center of the screen after zooming, and the consistency of the user's browsing is saved.
  • the embodiment of the present invention implements automatic center alignment after the webpage is scaled by the above steps.
  • the above describes the case of zooming by multi-touch, for the case where the user uses the normal zoom button to zoom, that is, there is no center point of two points.
  • the embodiment 3 corresponds to the implementation method of the webpage content display provided by the above embodiment of the present invention.
  • the embodiment of the invention further provides an apparatus for implementing webpage content display.
  • 3 is a structural block diagram of an apparatus for implementing webpage content display according to a third embodiment of the present invention. As shown in FIG. 3, the apparatus may include: a first obtaining module 10, a second obtaining module 20, a third obtaining module 30, and a display.
  • the first obtaining module 10 is configured to obtain a zoom center point corresponding to the zoom command after receiving the input zoom command.
  • the second obtaining module 20 is connected to the first acquiring module 10, and is configured to execute a zoom command to obtain a zoom center. Pointing the first coordinate information relative to the webpage after the zooming;
  • the third obtaining module 30 is connected to the second acquiring module 20, and is configured to set the zoomed zoom center point as a center point of the display window, and combined with the acquired
  • the first coordinate information is used to obtain the second coordinate information of the zoomed display window relative to the webpage;
  • the display module 40 is connected to the third obtaining module 30, and is configured to display the webpage after being zoomed according to the second coordinate information of the display window. The content of the window.
  • the zoom center point of the zoom command is obtained in response to the zoom command input by the user; after the zoom command is executed, the first coordinate information of the zoom center point relative to the webpage after zooming is obtained; and the zoomed zoom center point is used as The center point of the current display window is obtained, and the second coordinate information of the display window relative to the webpage is obtained after zooming; according to the second coordinate information of the display window, the content of the display window located after the zoom is displayed is displayed.
  • the webpage is zoomed, the area browsed by the user before the webpage is zoomed is displayed in the visible area of the browser, the consistency of the user's browsing is maintained, and the user's webpage moving operation is avoided, thereby improving the user experience.
  • the user can perform the webpage zooming operation through the multi-touch touch display, or the webpage zooming operation by using the zoom button of the browser, and different zooming centers can be selected in the zooming process for different zooming operations. point.
  • the first obtaining module 10 may acquire the user in response to the zoom command input by the user through the multi-touch touch screen display.
  • the center point of the multi-point contact, the center point of the multi-point contacted by the user is used as the zoom center point.
  • the first obtaining module 10 may use a zooming command input by the zooming button to display a center point of the display window as a zooming center point. After the zooming command of the zoom command is obtained, the zoom command may be executed to obtain the first coordinate information of the zoom center point relative to the webpage after zooming. In the embodiment of the present invention, the first coordinate information may be marked. (Xf, Yf), (Xf, Yf) is the coordinate information of the zoomed zoom center point relative to the web page.
  • the center of the zoom window may be used as the center of the display window, and the position of the current window may be adjusted, so that the area scanned by the user before zooming is displayed in the visible area in the window.
  • the third obtaining module 30 may obtain the second coordinate information of the zoomed display window relative to the webpage according to the following formula:
  • the node area of the webpage corresponding to the zoom center point may be first located, and the position proportion of the zoom center point in the node area is obtained, after adjusting the zoom When the window position is used, it can be adjusted according to the obtained proportional position.
  • the apparatus may further include: a fourth obtaining module 50, connected to the first obtaining module 10, configured to acquire a zoom center before executing the zooming command
  • the second acquisition module 20 is further configured to obtain the coordinate area information of the scaled node area relative to the webpage
  • the third obtaining module 30 is further configured to be based on the node area After zooming, relative to the coordinate area information of the webpage and the obtained position ratio, the second coordinate information of the zoomed display window relative to the webpage is obtained.
  • the fourth obtaining module 50 may include: a first acquiring unit 502, configured to acquire third coordinate information (Xpl, Ypl) of the zoom center point relative to the webpage before zooming; 504, connected to the first obtaining unit 502, configured to locate a node area of the webpage corresponding to the zoom center point according to the acquired third coordinate information; the second obtaining unit 506 is connected to the positioning unit 504, and is set as the acquiring node.
  • a first acquiring unit 502 configured to acquire third coordinate information (Xpl, Ypl) of the zoom center point relative to the webpage before zooming
  • 504 connected to the first obtaining unit 502, configured to locate a node area of the webpage corresponding to the zoom center point according to the acquired third coordinate information
  • the second obtaining unit 506 is connected to the positioning unit 504, and is set as the acquiring node.
  • the height determining unit 508 is connected to the second obtaining unit 506, and is configured to obtain the zoom according to the third coordinate information acquired by the first obtaining unit 502 and the coordinate area of the node area acquired by the second acquiring unit 506 with respect to the webpage.
  • the second acquiring module 20 is further configured to obtain a coordinate area (Xm, Ym) (Wm, Hm) of a node area of the webpage corresponding to the zoomed center point corresponding to the webpage, where (Xm, Ym) is the coordinate information of the upper left corner of the node area with respect to the webpage, Wm is the width of the node area, and Hm is the height of the node area.
  • a browser is provided, which may include: the implementation device for displaying the webpage content provided by the embodiment of the present invention.
  • a portable electronic device such as a mobile terminal, which may include: the foregoing apparatus provided by the embodiment of the present invention.
  • the scaled webpage content can be automatically centered and aligned, which is convenient for the user to browse.
  • the effects of the display scheme of the webpage content provided by the embodiment of the present invention will be described below through two specific examples. 6 is an effect diagram of the webpage content display before the wap page is enlarged, and the user performs multi-touch enlargement on the page shown in FIG.
  • FIG. 7 is an effect diagram of the content display of the webpage in the enlargement of the wap page
  • the page is re-wrapped by the scheme provided by the embodiment of the present invention, and the window position is calculated and moved to "browse"
  • the original image is aligned at the middle of the screen to achieve the effect shown in Figure 8.
  • Figure 8 is an effect diagram of the web content implementation after the wap page is enlarged and automatically centered.
  • FIG. 9 is an effect diagram of the webpage content display before the www page is reduced. The user performs multi-touch reduction on the page shown in FIG.
  • FIG. 10 is an effect diagram of web page content display in the page page reduction
  • the page is re-wraped by the scheme provided by the embodiment of the present invention, and the window position is calculated and moved.
  • the text of the "UC Browser” is aligned in the middle of the screen to achieve the effect shown in FIG. 11, and
  • FIG. 11 is an effect diagram of the web content display after the www page is reduced and automatically centered.
  • the zoom center point of the zoom command is obtained; after the zoom command is executed, the zoom center point is obtained after zooming.
  • the first coordinate information of the webpage; the zoomed zoom center point is used as the center point of the current display window, and the second coordinate information of the zoomed display window relative to the webpage is obtained; according to the second coordinate information of the display window, the display webpage is zoomed After the content of the display window.
  • the node area of the webpage corresponding to the zoom center point may be first located, and the position proportion of the zoom center point in the node area may be obtained, and when the zoomed window position is adjusted, the scale position may be adjusted according to the obtained scale position. , to achieve more precise display of the area viewed by the user before zooming in the window.
  • the technical solution provided by the embodiment of the invention avoids the user performing the webpage movement operation and improves the user experience.
  • the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • the computing device may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)
PCT/CN2012/087522 2012-02-28 2012-12-26 网页内容显示的实现方法、装置、浏览器及移动终端 Ceased WO2013127239A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US14/344,389 US20140351689A1 (en) 2012-02-28 2012-12-26 Methods and systems for displaying webpage content
IN3219CHN2014 IN2014CN03219A (enExample) 2012-02-28 2012-12-26

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210048961.0 2012-02-28
CN201210048961.0A CN102637198B (zh) 2012-02-28 2012-02-28 网页内容显示的实现方法、装置、浏览器及移动终端

Publications (1)

Publication Number Publication Date
WO2013127239A1 true WO2013127239A1 (zh) 2013-09-06

Family

ID=46621592

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/087522 Ceased WO2013127239A1 (zh) 2012-02-28 2012-12-26 网页内容显示的实现方法、装置、浏览器及移动终端

Country Status (4)

Country Link
US (1) US20140351689A1 (enExample)
CN (1) CN102637198B (enExample)
IN (1) IN2014CN03219A (enExample)
WO (1) WO2013127239A1 (enExample)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102637198B (zh) * 2012-02-28 2015-04-01 优视科技有限公司 网页内容显示的实现方法、装置、浏览器及移动终端
CN103942202B (zh) * 2013-01-18 2018-01-30 腾讯科技(深圳)有限公司 网页文本域高度自适应缩放方法及装置
CN103336787B (zh) * 2013-06-05 2017-07-07 百度在线网络技术(北京)有限公司 一种用于缩放网页的方法和装置
CN103336817B (zh) * 2013-06-28 2016-08-10 北京奇虎科技有限公司 一种电子设备上网页缩放的方法和装置
CN103324738B (zh) * 2013-06-28 2016-12-28 北京奇虎科技有限公司 一种电子设备上网页缩放后对齐的方法和装置
CN103345497B (zh) * 2013-06-28 2017-05-03 北京奇虎科技有限公司 一种电子设备上网页缩放的方法和装置
CN103336819B (zh) * 2013-06-28 2016-12-28 北京奇虎科技有限公司 一种电子设备上网页缩放后对齐的方法和装置
CN103324734B (zh) * 2013-06-28 2017-04-05 北京奇虎科技有限公司 一种电子设备上网页缩放的方法和装置
CN103324743B (zh) * 2013-06-28 2016-08-17 北京奇虎科技有限公司 一种电子设备上网页缩放和对齐的方法和装置
US10061494B2 (en) * 2013-06-28 2018-08-28 Beijing Qihoo Technology Company Limited Method and device for webpage zooming on electronic apparatus
CN103885712B (zh) * 2014-03-21 2017-08-15 小米科技有限责任公司 网页调整方法、装置及电子设备
CN104133623B (zh) * 2014-06-27 2017-06-16 小米科技有限责任公司 页面缩放方法和装置
CN106980494B (zh) 2016-01-19 2021-08-03 中兴通讯股份有限公司 一种实现智能识别缩放手势指令的浏览器的方法及装置
CN108121648B (zh) * 2016-11-29 2020-09-01 北京京东尚科信息技术有限公司 一种界面错误监控方法
CN111163685B (zh) * 2017-10-02 2023-01-24 波士顿科学医学有限公司 对多个电描记图的解剖标测图的显示
CN108170350A (zh) * 2017-12-28 2018-06-15 努比亚技术有限公司 实现数码变焦的方法、终端及计算机可读存储介质
CN109800372B (zh) * 2019-01-03 2020-12-29 北京字节跳动网络技术有限公司 提升第三方网页打开速度的方法、装置及电子设备
CN112035105A (zh) * 2020-09-16 2020-12-04 北京思明启创科技有限公司 可视化区域的渲染方法、装置、设备和存储介质
WO2022089076A1 (zh) * 2020-10-29 2022-05-05 海信视像科技股份有限公司 显示设备、移动终端、图片同步缩放方法
CN112699324B (zh) * 2021-01-12 2023-11-14 腾讯科技(深圳)有限公司 内容显示方法、装置、电子设备及计算机可读介质
CN116302289B (zh) * 2023-04-04 2026-02-24 北京火山引擎科技有限公司 一种显示交互方法、装置及设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329860A (zh) * 2007-06-22 2008-12-24 鸿富锦精密工业(深圳)有限公司 图像缩放系统及缩放方法
JP2009015267A (ja) * 2007-06-20 2009-01-22 Celsys:Kk 携帯電話での画像コンテンツ閲覧時において、画像を拡大したい時の操作性の向上方法
US20090061948A1 (en) * 2007-08-20 2009-03-05 Lg Electronics Inc. Terminal having zoom feature for content displayed on the display screen
CN101763214A (zh) * 2009-12-30 2010-06-30 宇龙计算机通信科技(深圳)有限公司 一种移动终端显示页面的缩放方法、系统及移动终端
CN102637198A (zh) * 2012-02-28 2012-08-15 优视科技有限公司 网页内容显示的实现方法、装置、浏览器及移动终端

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070244990A1 (en) * 2006-04-03 2007-10-18 National Instruments Corporation Web browser graph user interface element with rich interactive capabilities
US7768536B2 (en) * 2007-04-11 2010-08-03 Sony Ericsson Mobile Communications Ab Methods of displaying information at different zoom settings and related devices and computer program products
US8869239B2 (en) * 2009-04-15 2014-10-21 Wyse Technology L.L.C. Method and system for rendering composite view of an application
KR101567785B1 (ko) * 2009-05-28 2015-11-11 삼성전자주식회사 휴대단말에서 줌 기능 제어 방법 및 장치
US8312387B2 (en) * 2009-08-10 2012-11-13 Microsoft Corporation Target element zoom
US20110252302A1 (en) * 2010-04-12 2011-10-13 Microsoft Corporation Fitting network content onto a reduced-size screen
US20120311487A1 (en) * 2011-05-31 2012-12-06 George Ross Staikos Automatically wrapping zoomed content

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009015267A (ja) * 2007-06-20 2009-01-22 Celsys:Kk 携帯電話での画像コンテンツ閲覧時において、画像を拡大したい時の操作性の向上方法
CN101329860A (zh) * 2007-06-22 2008-12-24 鸿富锦精密工业(深圳)有限公司 图像缩放系统及缩放方法
US20090061948A1 (en) * 2007-08-20 2009-03-05 Lg Electronics Inc. Terminal having zoom feature for content displayed on the display screen
CN101763214A (zh) * 2009-12-30 2010-06-30 宇龙计算机通信科技(深圳)有限公司 一种移动终端显示页面的缩放方法、系统及移动终端
CN102637198A (zh) * 2012-02-28 2012-08-15 优视科技有限公司 网页内容显示的实现方法、装置、浏览器及移动终端

Also Published As

Publication number Publication date
IN2014CN03219A (enExample) 2015-07-03
CN102637198A (zh) 2012-08-15
CN102637198B (zh) 2015-04-01
US20140351689A1 (en) 2014-11-27

Similar Documents

Publication Publication Date Title
CN102637198B (zh) 网页内容显示的实现方法、装置、浏览器及移动终端
CN107015751B (zh) 文档中的对象和文本的最佳显示和缩放
US8307279B1 (en) Smooth zooming in web applications
TWI494842B (zh) 網頁輔助放大系統和方法
CN102662566A (zh) 屏幕内容放大显示方法及终端
JP5638648B2 (ja) 広告生成装置、広告生成プログラム、及び端末装置
CN102855072B (zh) 网页辅助放大系统和方法
CN113536173B (zh) 一种页面处理方法、装置、电子设备及可读存储介质
CN104102418A (zh) 一种移动终端浏览器中输入框目标位置定位方法及装置
CN106168894B (zh) 一种内容显示方法及移动终端
CN103164163A (zh) 显示调整的方法及装置
CN101419532B (zh) 一种在移动终端改变信息内容尺寸的方法和移动终端
CN101677392B (zh) 用于交互式个人电视终端的当前焦点移动方法及装置
CN113741763A (zh) 电子书的显示方法、装置及电子设备
CN107861711B (zh) 页面适配方法及装置
CN106954091B (zh) 电视浏览器快速浏览网页的方法及装置
JP2013131155A (ja) 情報処理装置及びプログラム
US20120256964A1 (en) Information processing device, information processing method, and program storage medium
CN113918070B (zh) 同步显示方法、装置、可读存储介质及电子设备
JP5946965B2 (ja) 表示システム、表示方法、及びプログラム
WO2012146122A1 (zh) 数据显示方法和装置
WO2016188199A1 (zh) 图片裁剪方法和装置
CN104715053A (zh) 网页内容显示的实现方法、装置及浏览器
KR20030071080A (ko) 개인정보단말기의 화면 확대/축소 장치 및 방법
JP6520674B2 (ja) 表示システム、表示端末、表示方法、および表示プログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12870179

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14344389

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 04/11/2014)

122 Ep: pct application non-entry in european phase

Ref document number: 12870179

Country of ref document: EP

Kind code of ref document: A1