WO2011144119A2 - 调整页面显示区域的方法、装置以及终端 - Google Patents

调整页面显示区域的方法、装置以及终端 Download PDF

Info

Publication number
WO2011144119A2
WO2011144119A2 PCT/CN2011/074875 CN2011074875W WO2011144119A2 WO 2011144119 A2 WO2011144119 A2 WO 2011144119A2 CN 2011074875 W CN2011074875 W CN 2011074875W WO 2011144119 A2 WO2011144119 A2 WO 2011144119A2
Authority
WO
WIPO (PCT)
Prior art keywords
coordinate
positioning point
displacement
page
display area
Prior art date
Application number
PCT/CN2011/074875
Other languages
English (en)
French (fr)
Other versions
WO2011144119A3 (zh
Inventor
王卫
Original Assignee
华为终端有限公司
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 华为终端有限公司 filed Critical 华为终端有限公司
Priority to EP11783036.4A priority Critical patent/EP2717139B1/en
Priority to CN201180000624.8A priority patent/CN102334120B/zh
Priority to PCT/CN2011/074875 priority patent/WO2011144119A2/zh
Publication of WO2011144119A2 publication Critical patent/WO2011144119A2/zh
Publication of WO2011144119A3 publication Critical patent/WO2011144119A3/zh
Priority to US14/092,315 priority patent/US20140085343A1/en

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/38Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory with means for controlling the display position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1694Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2200/00Indexing scheme relating to G06F1/04 - G06F1/32
    • G06F2200/16Indexing scheme relating to G06F1/16 - G06F1/18
    • G06F2200/163Indexing scheme relating to constructional details of the computer
    • G06F2200/1637Sensing arrangement for detection of housing movement or orientation, e.g. for controlling scrolling or cursor movement on the display of an handheld computer

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a terminal for adjusting a page display area.
  • the commonly used mobile phones have the Internet access function, and the user can browse the webpage by using the browser provided by the mobile phone.
  • the display can only display a small portion of the entire webpage, so that when the user browses the webpage, the display area of the webpage needs to be adjusted to browse the entire webpage.
  • the browser re-types the web page so that the width of the re-formatted web page matches the width of the display screen. Therefore, the user can browse the entire webpage by scrolling up and down the webpage using the mobile navigation key.
  • the re-formatted web pages are often modified beyond recognition, and the content is confusing and does not provide a good user experience.
  • the other is to adjust the display area of the webpage by controlling the webpage up, down, left, and right by means of touch screen drag and drop.
  • the original appearance of the webpage can be maintained, but it is easy to cause misoperation.
  • the operation of dragging the webpage is confusing with the operation of clicking the hyperlink, so that the operation of dragging the webpage is originally caused.
  • the result may become an operation to click on a hyperlink.
  • Embodiments of the present invention provide a method, an apparatus, and a terminal for adjusting a page display area.
  • a method of adjusting a page display area including:
  • a device for adjusting a page display area comprising:
  • a displacement acquiring module configured to acquire a displacement of the mobile communication terminal from the first moment to the second moment; and an adjustment module, configured to adjust a display area of the current browsing page according to the displacement.
  • a mobile communication terminal includes a display screen and the above-mentioned device for adjusting a page display area.
  • the embodiment of the present invention adopts a technical solution for acquiring the displacement of the mobile communication terminal and adjusting the display area of the current browsing page according to the displacement, so that the user can adjust the display of the page by using the mobile communication terminal.
  • the display area solves the problem that the prior art method is prone to misoperation.
  • FIG. 1 is a flowchart of a method for adjusting a page display area according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for adjusting a page display area according to another embodiment of the present invention
  • FIG. 3 is another embodiment of the present invention
  • FIG. 4 is a structural diagram of an apparatus for adjusting a page display area according to an embodiment of the present invention
  • FIG. 5 is a structural diagram of an apparatus for adjusting a page display area according to another embodiment of the present invention.
  • the embodiment of the invention provides a method for adjusting a page display area, and adopts a technical solution for adjusting a display area of a current browsing page according to the displacement of the mobile communication terminal, so that the user can adjust the display area of the page by using the mobile communication terminal, thereby solving the present problem.
  • the embodiments of the present invention further provide corresponding devices and terminals. The details are described below separately.
  • an embodiment of the present invention provides a method for adjusting a page display area, including: 100. Acquire a displacement of a mobile communication terminal from a first time to a second time.
  • the acceleration sensor is used to acquire the displacement of the mobile communication terminal.
  • the displacement is a vector that indicates both the distance traveled and the direction of movement.
  • An acceleration sensor is a sensor that senses acceleration and converts acceleration into an available output signal.
  • the acceleration it can experience can be constant or variable.
  • acceleration ( ) inertial force (F ) ⁇ mass (M)
  • M mass
  • the acceleration sensor inside the set mobile communication terminal can detect the acceleration of the mobile communication terminal between any two moments, for example, the first moment to the second moment, and the acceleration can be a constant or a variable.
  • the acceleration of the mobile communication terminal between the second time ⁇ is a.
  • the displacement S is the integral of the velocity v with respect to the time t, and has the following formula:
  • Velocity V is the integral of acceleration a relative to time t, with the following formula:
  • the integral of the acceleration from the first moment to the second moment is calculated, that is, the displacement of the mobile communication terminal is obtained.
  • the display area is an area on the current browsing page that is the same size as the display screen of the mobile communication terminal, and can be completely displayed on the display screen.
  • the negative value of the displacement can be used as the displacement of the current browsing page, and the page is moved relative to the display screen of the mobile communication terminal to adjust the page. Display area. For example, if the mobile communication terminal moves 3 cm to the left, the current browsing page can be moved 3 cm to the right with respect to the display screen.
  • the displacement of the page movement may be equal to or different from the displacement of the mobile communication terminal. In one embodiment, it may be converted according to a preset ratio, for example, the displacement of the page movement is equal to half or twice the displacement of the mobile communication terminal, and the like.
  • the page can be a web page, or a page of a Portable Document Format (PDF) file, or a page of a Microsoft Word processing program (Microsoft Word) file, or an email page, etc., various formats of electronic Document page.
  • PDF Portable Document Format
  • Microsoft Word Microsoft Word processing program
  • the user can adjust the display area of the current browsing page by using the mobile communication terminal, which solves the problem that the prior art is easy to cause an erroneous operation when the page display area is adjusted by the touch screen drag and drop method.
  • step 200 may specifically include:
  • the positioning point is a point on the current browsing page that coincides with a display origin of the display screen.
  • the display origin may be a predefined point on the display screen, such as a center point or a vertex of the display screen, and may of course be a point at any other position.
  • the display area of the first moment is the current browsing page at The first moment is displayed on the area on the display. Therefore, the display area and the positioning point have a unique correspondence relationship, and the positioning point can be determined according to the display area, and the display area can also be determined according to the positioning point.
  • a point on the current display area that coincides with the display origin of the display screen is the anchor point corresponding to the time.
  • a plane rectangular coordinate system is supported, with the lower left corner of page B as the origin 0, the lower boundary of page B as the X axis, and the left boundary of page B as the Y axis, then any one on the page
  • the points all have unique coordinates belonging to the coordinate system XOY.
  • the display origin of the display is the apex of the upper corner of the display
  • the vertices in the upper left corner of the current display area are the current anchor points.
  • the initial positioning point is positioned in the upper left corner of the display screen, thereby displaying a region CO in the upper left corner of the page, and the area CO is one
  • the initial positioning point is the vertices in the upper left corner
  • the display area is the size of the display screen.
  • the display area of the current browsing page is C1
  • the current positioning point is the vertex D1 of the upper left corner of the display area C1
  • the current positioning point is the first positioning point.
  • the mobile communication terminal acquires the coordinates of the first positioning point before adjusting the display area of the page.
  • This step can be specifically:
  • the anchor point coordinate permission range is a range on the page that is slightly smaller than the page, and the anchor point can only be determined within the range.
  • FIG. 3 how to determine the limit of the permission range of the positioning point coordinates:
  • the height of the page B is Y0
  • the width is X0
  • the height of the display screen is Y1
  • the width is XI
  • the vertex is the initial positioning point
  • the positioning permission coordinate range of the current browsing page is as shown in the area E in FIG. 3, and the four vertices of the area E are (0, Yl), (X0-X1, Y1), (X0). -X1, ⁇ 0) and (0, ⁇ 0).
  • the four vertices of the area E are (0, Yl), (X0-X1, Y1), (X0). -X1, ⁇ 0) and (0, ⁇ 0).
  • the new coordinate is the second positioning point Coordinates.
  • the new coordinate is D2 within the allowable range of the positioning point coordinates, and D2 is directly used as the second positioning point.
  • the new coordinate is beyond the allowable range of the positioning point coordinate, it is obvious that the new coordinate cannot be used as the second positioning point coordinate.
  • various strategies are preset to determine the second positioning point coordinate.
  • a strategy is to use a coordinate closest to the new coordinate within the permitted range of the anchor point coordinates as the second fixed point coordinate. As shown in Fig. 3, if the new coordinate is D3 outside the allowable range of the anchor point coordinate, the coordinate D4 closest to D3 within the allowable range of the anchor point coordinate can be used as the second anchor point coordinate.
  • Another strategy is to obtain the coordinates of the intersection of the new coordinate and the coordinates of the first anchor point coordinate with the boundary of the anchor point coordinate range, and the coordinates of the intersection point as the second anchor point coordinate.
  • the new coordinate is D3 outside the allowable range of the anchor point coordinate
  • the intersection of the line connecting D3 and D1 with the boundary of the coordinate range of the anchor point is D5
  • the coordinate of D5 can be used as the coordinate of the second anchor point.
  • the step is specifically: placing the position represented by the coordinates of the second positioning point on the current browsing page at the display origin of the display screen, and realizing the adjustment of the display area of the current browsing page at the second time.
  • the display origin of the display is the vertices in the upper left corner of the display.
  • the display area of the current browsing page at the second moment is the same as the display size of the current browsing page with the second positioning point as the upper left corner.
  • An area, such as area C0, Cl, C2, C4 or C5 as shown in Figure 3, will be completely displayed on the display.
  • the display origin on the display screen may be defined in other manners, such as defining a center point of the display screen to display an origin, and the like.
  • the anchor point will also be the center point of the display area.
  • the coordinates of the positioning point corresponding to each time can be calculated according to the displacement of the mobile communication terminal between the acquired two times, and the display area is determined according to the coordinates of the positioning point.
  • an embodiment of the present invention further provides an apparatus for adjusting a page display area, including: a displacement acquisition module 300, configured to acquire a displacement of a mobile communication terminal from a first moment to a second moment;
  • the adjustment module 400 is configured to adjust a display area of the currently browsed page according to the displacement.
  • the displacement acquisition module 300 can further include:
  • the acceleration sensor unit 301 is configured to detect acceleration of the mobile communication terminal from the first time to the second time;
  • the calculating unit 302 is configured to perform integral calculation on the acceleration to obtain a displacement of the mobile communication terminal from the first moment to the second moment.
  • the adjustment module 400 can further include:
  • a coordinate acquiring unit 401 configured to acquire a first positioning point coordinate on a display area of the current browsing page at the first moment
  • the calculating unit 402 is configured to obtain a second positioning point coordinate according to the first positioning point coordinate and the displacement;
  • the adjusting unit 403 is configured to adjust a display area of the currently browsed page at the second moment according to the second positioning point coordinate.
  • the calculating unit 402 may further include:
  • the determining unit 402a is configured to determine whether the new coordinate obtained by subtracting the displacement of the first positioning point coordinate exceeds the positioning point coordinate permission range of the current browsing page;
  • the first calculating unit 402b is configured to: if the determining unit determines that the parameter is not exceeded, the new coordinate is the second positioning point coordinate;
  • the second calculating unit 402c is configured to determine a coordinate as the second positioning point coordinate if the determining unit determines to exceed.
  • the second calculating unit 402c may be specifically configured to: if the determining unit determines that the parameter is exceeded, a coordinate that is closest to the new coordinate within the permission range of the positioning point coordinate is used as the second positioning point coordinate; Alternatively, the coordinates of the intersection of the boundary between the new coordinate and the first positioning point coordinate and the boundary of the positioning point coordinate permission range are obtained, and the coordinate of the intersection point is used as the second positioning point coordinate.
  • the device of the embodiment of the present invention is used in the mobile communication terminal, and the user can adjust the display area of the page by moving the mobile communication terminal, which solves the problem that the prior art is easy to cause an erroneous operation when the page display area is adjusted by the touch screen drag and drop method.
  • An embodiment of the present invention further provides a mobile communication terminal, where the mobile communication terminal includes a display screen and The apparatus for adjusting a page display area provided by the above embodiment.
  • the mobile communication terminal can be a mobile phone, an MP3, an MP4, a human-machine interactive terminal, an e-book or other terminal device having a display function.
  • the mobile communication terminal is a mobile phone
  • the mobile phone further includes: a display screen, a radio frequency circuit, a power supply circuit, etc.; wherein, the display screen is used for displaying page content; and the radio frequency circuit is used for establishing communication between the mobile phone and the wireless network, Data reception and transmission of mobile phones and wireless networks, such as requesting page content, etc.; power circuits for powering various circuits or devices of the mobile phone.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Memory, disk or disc, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明公开了一种调整页面显示区域的方法、装置以及终端,方法包括:获取移动通信终端从第一时刻到第二时刻的位移(100),根据所述位移调整当前浏览页面的显示区域(200)。本发明技术方案使用户可以通过移动移动通信终端来调整页面的显示区域,解决了现有技术通过触屏拖拽方式调整页面显示区域时容易导致误操作的问题。

Description

调整页面显示区域的方法、 装置以及终端
技术领域
本发明涉及通信技术领域, 具体涉及一种调整页面显示区域的方法、装置 以及终端。
背景技术
目前, 常用的手机都具备上网功能, 用户可以利用手机自带的浏览器浏览 网页。 但是, 由于网页的大小一般都超过手机显示屏的大小, 导致显示屏只能 显示整个网页的一小部分, 这样, 用户浏览网页的时候就需要调整网页的显示 区域, 以便浏览整个网页。
现有技术中, 调整网页显示区域的方法有以下两种:
一种是浏览器对网页进行重新排版,使重新排版后的网页宽度与显示屏的 宽度一致。从而,用户利用手机导航键上下滚动网页,就可以浏览整个网页了。 但是, 采用这种方法, 重新排版后的网页往往被修改的面目全非, 内容混乱, 不能提供良好的用户体验。
另一种是通过触屏拖拽方式控制网页上下左右移动来调整网页的显示区 域。 采用这种方法, 可以保持网页的原貌, 但是, 容易导致误操作, 例如, 在 网页上有许多超链接时,拖拽网页的操作与点击超链接的操作容易混淆,致使 原本是拖曳网页的操作结果可能变成了点击超链接的操作。
发明内容
本发明实施例提供一种调整页面显示区域的方法、 装置以及终端。
一种调整页面显示区域的方法, 包括:
获取移动通信终端从第一时刻到第二时刻的位移;
根据所述位移调整当前浏览页面的显示区域。
一种调整页面显示区域的装置, 包括:
位移获取模块, 用于获取移动通信终端从第一时刻到第二时刻的位移; 调整模块, 用于根据所述位移调整当前浏览页面的显示区域。
一种移动通信终端, 包括显示屏及上述的调整页面显示区域的装置。
本发明实施例采用获取移动通信终端的位移,根据位移调整当前浏览页面 的显示区域的技术方案 ,使得用户可以通过移动移动通信终端来调整页面的显 示区域, 解决了现有技术的方法容易导致误操作的问题。
附图说明
图 1是本发明一个实施例提供的调整页面显示区域的方法的流程图; 图 2是本发明另一实施例提供的调整页面显示区域的方法的流程图; 图 3是本发明另一实施例提供的调整页面显示区域的示意图;
图 4是本发明一个实施例提供的调整页面显示区域的装置的结构图; 图 5是本发明另一实施例提供的调整页面显示区域的装置的结构图。
具体实施方式
本发明实施例提供一种调整页面显示区域的方法,采用根据移动通信终端 的位移调整当前浏览页面的显示区域的技术方案,使得用户可以通过移动移动 通信终端来调整页面的显示区域,解决了现有技术的方法容易导致误操作的问 题。 本发明实施例还提供相应的装置及终端。 以下分别进行详细说明。
请参考图 1 , 本发明实施例提供一种调整页面显示区域的方法, 包括: 100、 获取移动通信终端从第一时刻到第二时刻的位移。
本实施例中, 利用加速度传感器来获取移动通信终端的位移。所说的位移 是一个矢量, 既表明移动的距离, 又表明移动的方向。
加速度传感器是一种能感受加速度并能将加速度转换为可用输出信号的 传感器, 它感受的加速度可以是常量, 也可以是变量。 加速度传感器的工作原 理是惯性原理, 也就是力的平衡。 根据公式, 加速度( ) =惯性力 (F ) ÷质 量(M ), 其中, 质量是已知的, 想要知道加速度, 只需要测量惯性力就可以 了。 利用电磁力来平衡惯性力, 就可以得到电流大小与惯性力的对应关系。 从 而, 通过测量电流就可以得到惯性力, 进而得到加速度。
设置的移动通信终端内部的加速度传感器可以检测到任两个时刻例如第 一时刻到第二时刻之间移动通信终端的加速度, 这个加速度可以是常量,也可 以是变量。 再根据公式: 位移 =速度 X时间 = (加速度 X时间) X时间, 在获 知加速度的基础上,计算加速度从第一时刻到第二时刻的积分, 即获得移动通 信终端从第一时刻到第二时刻的位移。
下面举例说明:
假设第一时刻 t。到第二时刻 ^之间移动通信终端的加速度为 a。 位移 S是速度 v相对于时间 t的积分, 有以下公式:
S = itotiVdt
速度 V是加速度 a相对于时间 t的积分, 有以下公式:
V = ito→tiadt
结合上述两个公式, 则 S =it→tl(v。+it→tladt)dt
假设 vo = 0 , 则得出位移 s与加速度 a的关系如下:
S
Figure imgf000005_0001
= _[t0→tl_[t0→tladt
从而, 在加速度传感器已获知加速度的基础上, 计算加速度从第一时刻到 第二时刻的积分, 即获得移动通信终端的位移。
200、 根据所述位移调整当前浏览页面的显示区域。
所说的显示区域是当前浏览页面上一个与移动通信终端的显示屏的大小 相同的区域, 可以完全显示在显示屏上。在获得了移动通信终端从第一时刻到 第二时刻的位移后, 即可将该位移的负值作为当前浏览页面需要移动的位移, 将页面相对于移动通信终端的显示屏进行移动来调整页面的显示区域。 例如, 移动通信终端往左侧移动了 3厘米, 则可以将当前浏览页面相对于显示屏往右 侧移动 3厘米。 其中, 页面移动的位移可以与移动通信终端移动的位移相等, 也可以不相等。 一种实施方式中, 可以根据预先设定的比例换算, 例如页面移 动的位移等于移动通信终端移动的位移的一半或者两倍, 等等。
所说的页面可以是网页页面, 或者便携文件格式 (Portable Document Format, PDF )文件的页面, 或者微软文字处理程序( Microsoft Word )文件的 页面, 或者电子邮件页面, 等等, 各种格式的电子文档页面。
采用本发明实施例方法,用户可以通过移动移动通信终端来调整当前浏览 页面的显示区域,解决了现有技术通过触屏拖拽方式调整页面显示区域时容易 导致误操作的问题。
如图 2所示, 一个实施例中, 步骤 200具体可以包括:
201、 获取第一时刻当前浏览页面的显示区域的第一定位点的坐标; 所说的定位点是当前浏览页面上与显示屏的显示原点重合的一个点。所说 的显示原点可以是显示屏上预先定义的一个点, 例如显示屏的中心点或者顶 点, 当然也可以是其它任意位置的点。 第一时刻的显示区域是当前浏览页面在 第一时刻显示在显示屏上的区域。从而,显示区域和定位点具有唯一的对应关 系, 根据显示区域可以确定定位点, 根据定位点也可以确定显示区域。 在任一 时刻, 当前的显示区域上与显示屏的显示原点重合的一个点, 即是该时刻对应 的定位点。 下面结合附图举例说明:
如图 3所示, 支设一个平面直角坐标系, 以页面 B的左下角为原点 0, 以页 面 B的下边界作为 X轴, 以页面 B的左边界为 Y轴, 则页面上的任一个点都具有 属于该坐标系 XOY的唯一坐标。 假设显示屏的显示原点是显示屏坐上角的顶 点, 则当前显示区域左上角的顶点即为当前的定位点。 如果以页面 B左上角的 顶点为初始定位点,移动通信终端在打开页面时, 该初始定位点定位在显示屏 的左上角, 从而显示页面最左上角的一块区域 CO, 该区域 CO是一个以初始定 位点为左上角的顶点, 以显示屏的大小为大小的显示区域。 假定第一时刻, 当 前浏览页面的显示区域为 C1 , 当前的定位点为显示区域 C1左上角的顶点 D1 , 记当前的定位点为第一定位点。移动通信终端在调整页面的显示区域之前, 先 获取该第一定位点的坐标。
202、 根据所述第一定位点的坐标和位移, 得到第二定位点的坐标; 将得到的第一时刻到第二时刻的位移的负值与第一定位点的坐标做矢量 和运算,也就是将所述第一定位点坐标减去所述位移, 即可得到第二时刻当前 浏览页面应当显示的显示区域的第二定位点的坐标。 本步骤具体可以是:
202a,判断第一定位点的坐标减去所述位移得到的新坐标是否超出当前浏 览页面的定位点坐标许可范围;
定位点坐标许可范围是页面上一个略小于该页面的范围,定位点只能在该 范围内确定。 下面结合图 3所示, 说明如何确定定位点坐标许可范围的界限: 假设页面 B的高度为 Y0, 宽度为 X0, 显示屏的高度为 Y1 , 宽度为 XI , 以页面 的显示区域的左上角的顶点为初始定位点,则当前浏览页面的定位点坐标许可 范围如图 3中的区域 E所示, 区域 E的四个顶点分别是(0, Yl )、 ( X0-X1 , Y1 )、 ( X0-X1 , Υ0 )和(0, Υ0 )。 然后, 通过判断第一定位点的坐标减去所述位 移得到的新坐标是否超出该定位点坐标许可范围,决定如何确定第二定位点的 坐标。
202b,若新坐标未超出定位点坐标许可范围, 以所述新坐标为第二定位点 坐标。
如图 3所示, 新坐标为定位点坐标许可范围内的 D2, 则直接以 D2为第二定 位点。
202c, 若新坐标超出定位点坐标许可范围, 另外确定一个坐标作为第二定 位点坐标。
若新坐标超出定位点坐标许可范围,显然不能以该新坐标作为第二定位点 坐标, 本实施例中允许预设各种策略来确定第二定位点坐标。
一种策略,以定位点坐标许可范围内最接近新坐标的一个坐标作为第二定 位点坐标。 如图 3所示, 新坐标为定位点坐标许可范围外的 D3 , 则可以以定位 点坐标许可范围内最接近 D3的坐标 D4作为第二定位点坐标。
另一种策略,获取新坐标和第一定位点坐标的连线上与定位点坐标许可范 围的边界的交点的坐标, 以所述交点的坐标作为第二定位点坐标。如图 3所示, 新坐标为定位点坐标许可范围外的 D3 , D3与 D1的连线与定位点坐标许可范围 的边界的交点为 D5 , 则可以以 D5的坐标作为第二定位点坐标。
203、 根据所述第二定位点坐标调整第二时刻当前浏览页面的显示区域。 本步骤具体为: 将当前浏览页面上第二定位点坐标表示的位置, 置于显示 屏的显示原点处, 实现对第二时刻当前浏览页面的显示区域的调整。
殳显示屏的显示原点是显示屏左上角的顶点,则第二时刻当前浏览页面 的显示区域, 就是当前浏览页面上以第二定位点为左上角的顶点延伸而出的、 与显示屏大小相同的一块区域, 如图 3中所示的区域 C0、 Cl、 C2、 C4或 C5 , 该区域将被完整的显示在显示屏上。
需要说明的是,在其它实施例中可以按照其它方式定义显示屏上的显示原 点, 例如定义显示屏的中心点为显示原点, 等等。 相应的, 定位点也将是显示 区域的中心点。
综上, 本实施例中通过定义坐标系, 可以根据获取的两个时刻间移动通信 终端的位移, 来计算各个时刻对应的定位点的坐标,在根据定位点的坐标确定 显示区域。
请参考图 4, 本发明实施例还提供一种调整页面显示区域的装置, 包括: 位移获取模块 300,用于获取移动通信终端从第一时刻到第二时刻的位移; 调整模块 400, 用于根据所述位移调整当前浏览页面的显示区域。
如图 5所示, 其它实施例中:
位移获取模块 300可以进一步包括:
加速度传感器单元 301 , 用于检测移动通信终端从第一到第二时刻的加速 度;
计算单元 302, 用于对所述加速度进行积分计算, 得到所述移动通信终端 从第一时刻到第二时刻的位移。
调整模块 400可以进一步包括:
坐标获取单元 401 , 用于获取第一时刻当前浏览页面的显示区域上的第一 定位点坐标;
计算单元 402, 用于根据所述第一定位点坐标和所述位移, 得到第二定位 点坐标;
调整单元 403 , 根据所述第二定位点坐标调整第二时刻当前浏览页面的显 示区域。
所述计算单元 402还可以进一步包括:
判断单元 402a,用于判断第一定位点坐标减去所述位移得到的新坐标是否 超出当前浏览页面的定位点坐标许可范围;
第一计算单元 402b, 用于若所述判断单元判断为未超出, 以所述新坐标为 第二定位点坐标;
第二计算单元 402c, 用于若所述判断单元判断为超出, 另外确定一个坐标 作为第二定位点坐标。
再进一步的, 所述第二计算单元 402c, 具体可以用于若所述判断单元判断 为超出,以所述定位点坐标许可范围内最接近所述新坐标的一个坐标作为第二 定位点坐标; 或者, 获取所述新坐标和第一定位点坐标的连线上与所述定位点 坐标许可范围的边界的交点的坐标, 以所述交点的坐标作为第二定位点坐标。
在移动通信终端中采用本发明实施例的装置,用户可以通过移动移动通信 终端来调整页面的显示区域,解决了现有技术通过触屏拖拽方式调整页面显示 区域时容易导致误操作的问题。
本发明实施例还提供一种移动通信终端,该移动通信终端中包括显示屏及 上述实施例提供的调整页面显示区域的装置。
该移动通信终端可以为手机、 MP3、 MP4、 人机交互终端、 电子书或其他 具有显示功能的终端设备。 在移动通信终端为手机的情下, 该手机还包括: 显 示屏, 射频电路、 电源电路等; 其中, 显示屏, 用于显示页面内容; 射频电路, 用于建立手机与无线网络的通信, 实现手机与无线网络的数据接收和发送, 例 如请求页面内容等; 电源电路, 用于为手机的各个电路或器件供电。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读 存储介质中, 存储介质可以包括: 存储器、 磁盘或光盘等。
以上对本发明实施例所提供的调整页面显示区域的方法、装置以及终端进 述, 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想, 不应理 解为对本发明的限制。

Claims

权 利 要 求
1、 一种调整页面显示区域的方法, 其特征在于, 包括:
获取移动通信终端从第一时刻到第二时刻的位移;
根据所述位移调整当前浏览页面的显示区域。
2、 根据权利要求 1所述的方法, 其特征在于, 所述获取移动通信终端从第 一时刻到第二时刻的位移包括:
检测移动通信终端从第一到第二时刻的加速度;
对所述加速度进行积分计算,得到所述移动通信终端从第一时刻到第二时 刻的位移。
3、 根据权利要求 1所述的方法, 其特征在于, 所述根据所述位移调整当前 浏览页面的显示区域包括:
获取第一时刻当前浏览页面的显示区域上的第一定位点坐标;
根据所述第一定位点坐标和所述位移, 得到第二定位点坐标;
根据所述第二定位点坐标调整第二时刻当前浏览页面的显示区域。
4、 根据权利要求 3所述的方法, 其特征在于, 所述根据所述第一定位点坐 标和所述位移, 得到第二定位点坐标包括:
判断第一定位点坐标减去所述位移得到的新坐标是否超出当前浏览页面 的定位点坐标许可范围,若未超出,以所述新坐标为第二定位点坐标;若超出, 另外确定一个坐标作为第二定位点坐标。
5、 根据权利要求 4所述的方法, 其特征在于, 所述另外确定一个坐标作为 第二定位点坐标包括:
以所述定位点坐标许可范围内最接近所述新坐标的一个坐标作为第二定 位点坐标; 或者,
获取所述新坐标和第一定位点坐标的连线上与所述定位点坐标许可范围 的边界的交点的坐标, 以所述交点的坐标作为第二定位点坐标。
6、 根据权利要求 3至 5任一所述的方法, 其特征在于:
所述第一定位点是第一时刻当前浏览页面的显示区域上与显示屏的显示 原点重合的一个点。
7、 根据权利要求 6所述的方法, 其特征在于, 根据所述第二定位点坐标调 整第二时刻当前浏览页面的显示区域包括:
将当前浏览页面上第二定位点坐标表示的位置, 置于显示屏的显示原点 处, 实现对第二时刻当前浏览页面的显示区域的调整。
8、 一种调整页面显示区域的装置, 其特征在于, 包括:
位移获取模块, 用于获取移动通信终端从第一时刻到第二时刻的位移; 调整模块, 用于根据所述位移调整当前浏览页面的显示区域。
9、 根据权利要求 8所述的装置, 其特征在于, 所述位移获取模块包括: 加速度传感器单元, 用于检测移动通信终端从第一到第二时刻的加速度; 计算单元, 用于对所述加速度进行积分计算,得到所述移动通信终端从第 一时刻到第二时刻的位移。
10、 根据权利要求 8所述的装置, 其特征在于, 所述调整模块包括: 坐标获取单元,用于获取第一时刻当前浏览页面的显示区域上的第一定位 点坐标;
计算单元, 用于根据所述第一定位点坐标和所述位移,得到第二定位点坐 标;
调整单元,根据所述第二定位点坐标调整第二时刻当前浏览页面的显示区 域。
11、根据权利要求 10所述的装置,其特征在于,所述计算单元进一步包括: 判断单元,用于判断第一定位点坐标减去所述位移得到的新坐标是否超出 当前浏览页面的定位点坐标许可范围;
第一计算单元, 用于若所述判断单元判断为未超出, 以所述新坐标为第二 定位点坐标;
第二计算单元, 用于若所述判断单元判断为超出, 另外确定一个坐标作为 第二定位点坐标。
12、 根据权利要求 11所述的装置, 其特征在于:
所述第二计算单元, 具体用于若所述判断单元判断为超出, 以所述定位点 坐标许可范围内最接近所述新坐标的一个坐标作为第二定位点坐标; 或者, 获 取所述新坐标和第一定位点坐标的连线上与所述定位点坐标许可范围的边界 的交点的坐标, 以所述交点的坐标作为第二定位点坐标。
13、 一种移动通信终端, 其特征在于, 包括显示屏及权利要求 8至 12中 任一项所述的调整页面显示区域的装置。
PCT/CN2011/074875 2011-05-30 2011-05-30 调整页面显示区域的方法、装置以及终端 WO2011144119A2 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP11783036.4A EP2717139B1 (en) 2011-05-30 2011-05-30 Method, device and terminal for adjusting display region of page
CN201180000624.8A CN102334120B (zh) 2011-05-30 2011-05-30 调整页面显示区域的方法、装置以及终端
PCT/CN2011/074875 WO2011144119A2 (zh) 2011-05-30 2011-05-30 调整页面显示区域的方法、装置以及终端
US14/092,315 US20140085343A1 (en) 2011-05-30 2013-11-27 Method, apparatus, and terminal for adjusting display area of page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/074875 WO2011144119A2 (zh) 2011-05-30 2011-05-30 调整页面显示区域的方法、装置以及终端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/092,315 Continuation US20140085343A1 (en) 2011-05-30 2013-11-27 Method, apparatus, and terminal for adjusting display area of page

Publications (2)

Publication Number Publication Date
WO2011144119A2 true WO2011144119A2 (zh) 2011-11-24
WO2011144119A3 WO2011144119A3 (zh) 2012-05-03

Family

ID=44992124

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/074875 WO2011144119A2 (zh) 2011-05-30 2011-05-30 调整页面显示区域的方法、装置以及终端

Country Status (4)

Country Link
US (1) US20140085343A1 (zh)
EP (1) EP2717139B1 (zh)
CN (1) CN102334120B (zh)
WO (1) WO2011144119A2 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841743A (zh) * 2012-06-28 2012-12-26 宇龙计算机通信科技(深圳)有限公司 页面控制方法及通信终端

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631472A (zh) * 2012-08-21 2014-03-12 百度在线网络技术(北京)有限公司 同类型页面的视图自动控制方法以及移动终端
CN111381765B (zh) * 2020-03-11 2023-06-27 汉海信息技术(上海)有限公司 文本框的显示方法、装置、计算机设备及存储介质

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100507909C (zh) * 2005-04-29 2009-07-01 马堃 手持设备交互式动态浏览器的显示控制方法
TW200734913A (en) * 2006-03-10 2007-09-16 Inventec Appliances Corp Electronic device and method using displacement sensor to move position displayed on screen
CN101578569B (zh) * 2007-06-20 2015-05-27 索尼株式会社 控制设备、输入设备、控制***、手持型信息处理设备、控制方法
US20090089705A1 (en) * 2007-09-27 2009-04-02 Microsoft Corporation Virtual object navigation
US8933875B2 (en) * 2008-07-30 2015-01-13 Apple Inc. Velocity stabilization for accelerometer based input devices
CN101494691A (zh) * 2009-03-06 2009-07-29 深圳华为通信技术有限公司 一种终端和调整显示内容的方法
EP2228110B1 (en) * 2009-03-09 2017-08-30 Nintendo Co., Ltd. Coordinate calculation apparatus and storage medium having coordinate calculation program stored therein
CN101877736A (zh) * 2009-04-30 2010-11-03 深圳富泰宏精密工业有限公司 移动终端用户界面自动调整***及方法
KR20110022347A (ko) * 2009-08-27 2011-03-07 삼성전자주식회사 터치 스크린에서의 노이즈 제거 방법 및 터치 스크린을 구비한 디스플레이 장치에서의 터치 동작 디스플레이 방법
CN104932687A (zh) * 2009-09-30 2015-09-23 联想(北京)有限公司 一种移动终端、和在移动终端上显示信息的方法
US9696809B2 (en) * 2009-11-05 2017-07-04 Will John Temple Scrolling and zooming of a portable device display with device motion

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See references of EP2717139A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841743A (zh) * 2012-06-28 2012-12-26 宇龙计算机通信科技(深圳)有限公司 页面控制方法及通信终端

Also Published As

Publication number Publication date
US20140085343A1 (en) 2014-03-27
EP2717139A4 (en) 2014-08-20
WO2011144119A3 (zh) 2012-05-03
EP2717139A2 (en) 2014-04-09
CN102334120A (zh) 2012-01-25
EP2717139B1 (en) 2017-11-15
CN102334120B (zh) 2014-09-03

Similar Documents

Publication Publication Date Title
US10585544B2 (en) Information processing apparatus and method for outputting a haptic guiding operation to a user
EP2857944B1 (en) Mobile communication terminal, screen adjusting method and storage medium
US9665216B2 (en) Display control device, display control method and program
TWI284274B (en) Method for controlling intelligent movement of touch pad
US20110080430A1 (en) Information Processing Apparatus, Information Processing Method, and Information Processing Program
US20180107265A1 (en) Apparatus and control method based on motion
US20170346999A1 (en) Capacative auto focus position detection
US9772757B2 (en) Enlarging image based on proximity of a pointing object to a display screen
EP3249498B1 (en) Display screen controlling method and apparatus
CN106445340B (zh) 一种双屏终端显示立体图像的方法和装置
WO2012162622A2 (en) Inductive charging and data transfer based upon mutual device capabilities
WO2015188691A1 (zh) 一种利用体感遥控设备控制浏览器的方法、装置及***
JP5278460B2 (ja) 携帯装置のプログラム、携帯装置および携帯装置の制御方法
US10558332B2 (en) Computationally efficient human-computer interface for web browser tab user interface button
US20170052343A1 (en) Optical position sensing with temperature calibration
US9438802B2 (en) Optical image stabilization calibration
WO2011144119A2 (zh) 调整页面显示区域的方法、装置以及终端
CN105493020A (zh) 触摸屏显示控制的方法及移动设备
WO2016161851A1 (zh) 移动终端控制方法及移动终端
US9146666B2 (en) Touch sensor navigation
JP5740060B2 (ja) ウェブページのスクロールトップ属性を用いたスクロール遂行システム及び方法
CN106843476B (zh) 一种基于穿戴式设备控制终端光标的方法及穿戴式设备
CN105975189A (zh) 一种移动设备触屏滑动方法及***
KR102117450B1 (ko) 디스플레이 장치 및 그 제어 방법
TW201501014A (zh) 用戶操作介面縮排系統及方法

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180000624.8

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2011783036

Country of ref document: EP