WO2011160368A1 - Method and apparatus for scaling display page on terminal - Google Patents

Method and apparatus for scaling display page on terminal Download PDF

Info

Publication number
WO2011160368A1
WO2011160368A1 PCT/CN2010/077888 CN2010077888W WO2011160368A1 WO 2011160368 A1 WO2011160368 A1 WO 2011160368A1 CN 2010077888 W CN2010077888 W CN 2010077888W WO 2011160368 A1 WO2011160368 A1 WO 2011160368A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
page
terminal
zoom
display page
Prior art date
Application number
PCT/CN2010/077888
Other languages
French (fr)
Chinese (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 中兴通讯股份有限公司
Publication of WO2011160368A1 publication Critical patent/WO2011160368A1/en

Links

Classifications

    • 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

Abstract

A method and an apparatus for scaling a display page on a terminal are provided. The method involves: using a Mark-up Language for defining a display page which needs to be adjusted, storing the Mark-up Language as a Mark-up Language file, and further displaying the display page which needs to be adjusted by a browser; receiving a scaling command transmitted to a display page that is browsed by a user; modifying the corresponding Mark-up Language file according to the scaling command, and displaying the modified Mark-up Language file as the scaled display page by the browser. The beneficial effects of this invention are: first, low cost, utilizing the existing terminal browser to realize the scaling display of the terminal information, significantly lowering the implementation cost; second, simplify and easy operation, avoiding need of changing the display style of the whole terminal, and realizing the handy implementation of the instant scaling display of the page through keys or menus.

Description

一种终端上缩放显示页面的方法及装置 技术领域  Method and device for zooming display page on terminal
本发明涉及移动终端技术领域, 更具体地说, 涉及一种终端页面大小 调整的方法。 背景技术  The present invention relates to the field of mobile terminal technologies, and in particular, to a method for adjusting a page size of a terminal. Background technique
随着时代和科技的进步, 手机、 PDA (个人数字助理) 、 音乐播放器 等移动终端已经基本普及, 功能也越来越丰富, 终端中的大量信息是通过 文字, 图像来体现的, 包括: 功能菜单, 消息, 网页等。  With the advancement of the times and technology, mobile terminals such as mobile phones, PDAs (personal digital assistants), and music players have become popular and more and more abundant. The vast amount of information in the terminals is reflected by words and images, including: Function menus, messages, web pages, etc.
在实际使用中, 不同的用户群体对于终端的要求也往往有所不同, 例 如老年人喜欢文字图像显示大一些, 看的清楚, 而有些人则喜欢小一些, 这样一屏可显示更多的信息。 还有在不同的情况下, 用户希望即时缩放显 示正在浏览的页面。  In actual use, different user groups often have different requirements for the terminal. For example, the elderly prefer to display larger text images and see clearly, while others prefer smaller ones, so that one screen can display more information. . Also in different situations, the user wants to zoom in and out to display the page being viewed.
现在很多终端已经支持调整字体大小, 比如手机。 但是, 这种功能往 往是针对整部手机的显示风格, 当用户浏览信息的过程中想要缩放显示文 字内容时, 必须先退出当前界面, 然后进入菜单进行字体设置, 再进入相 应界面浏览信息, 过程复杂, 用户体验差。 还有一些终端釆用捕捉快照的 方式, 当页面完全载入后, 将其存储为一个图像信息, 当用户进行缩放操 作时, 只是对图像进行缩放显示, 这种方法需要终端支持快照等功能, 实 现成本较高。  Many terminals now support the adjustment of font size, such as mobile phones. However, this function is often directed to the display style of the entire mobile phone. When the user wants to zoom and display the text content during the browsing process, the user must first exit the current interface, then enter the menu for font setting, and then enter the corresponding interface to browse information. The process is complicated and the user experience is poor. Some terminals use the method of capturing snapshots. When the page is completely loaded, it is stored as an image information. When the user performs the zoom operation, it only zooms and displays the image. This method requires the terminal to support snapshots and other functions. The implementation cost is higher.
因此, 如何设置出简便的缩放显示页面的方法, 成为技术人员需要考 虑的问题。 发明内容 Therefore, how to set up a simple method of scaling the display page becomes a problem that the technician needs to consider. Summary of the invention
有鉴于此, 本发明所要解决的技术问题是: 针对现在终端用户的需求 和现有技术的缺陷, 提出一种终端上缩放显示页面的方法及装置, 使用户 能更方便、 快捷、 随意地调整页面的显示大小。  In view of the above, the technical problem to be solved by the present invention is: a method and a device for scaling a display page on a terminal, so as to enable the user to adjust the page more conveniently, quickly, and arbitrarily, in view of the needs of the current end user and the defects of the prior art. The display size of the page.
为了解决上述技术问题, 本发明提供一种终端上缩放显示页面的方法, 该方法包括:  In order to solve the above technical problem, the present invention provides a method for scaling a display page on a terminal, the method comprising:
对需要调整的显示页面使用标签语言定义并存储为标签语言文件, 还 将需要调整的显示页面通过浏览器显示;  The display page that needs to be adjusted is defined and stored as a label language file by using a label language, and the display page that needs to be adjusted is also displayed through a browser;
接收用户对浏览的显示页面发出的缩放指令;  Receiving a zoom instruction issued by the user to the displayed display page of the browsing;
根据所述缩放指令修改相对应的标签语言文件, 将修改后的标签语言 文件通过浏览器显示为缩放后的显示页面。  Modifying the corresponding label language file according to the scaling instruction, and displaying the modified label language file as a scaled display page through the browser.
进一步来说, 所述方法还包括:  Further, the method further includes:
预先设定终端上不同的按键或者菜单对应的显示元素属性; 相应地, 所述接收用户对浏览的显示页面发出的缩放指令, 包括:  Presetting the display element attributes corresponding to different buttons or menus on the terminal; correspondingly, the receiving user sends a zoom instruction to the browsed display page, including:
接收用户通过按键或者菜单对当前显示页面发出的更改显示元素属性 的缩放指令。  Receives a zoom instruction that the user displays the attribute of the element by changing the current display page through a button or menu.
进一步来说, 所述显示元素包括文本、 图像, 所述元素属性包括元素 的位置、 大小、 背景、 颜色中的一种或者多种。  Further, the display element includes text, an image, and the element attribute includes one or more of an element's position, size, background, and color.
进一步来说, 所述根据所述缩放指令修改相对应的标签语言文件, 包 括:  Further, the modifying the corresponding label language file according to the scaling instruction comprises:
根据用户通过按键或者菜单选择的对应的显示元素属性, 修改相对应 的标签语言文件。  The corresponding label language file is modified according to the corresponding display element attribute selected by the user through a button or a menu.
进一步来说, 所述方法还包括:  Further, the method further includes:
当用户输入的显示元素属性超过终端的支持范围时, 终端发出提示通 为了解决上述技术问题, 本发明还提供一种终端上缩放显示页面的装 置, 包括: 处理单元、 接收单元和缩放显示单元; 其中, When the attribute of the display element input by the user exceeds the support range of the terminal, the terminal issues a prompt In order to solve the above technical problem, the present invention further provides an apparatus for scaling a display page on a terminal, including: a processing unit, a receiving unit, and a zoom display unit;
处理单元, 用于对需要调整的显示页面使用标签语言定义并存储为标 签语言文件, 还将需要调整的显示页面通过浏览器显示;  a processing unit, configured to use a label language to define and store the display page to be adjusted as a label language file, and display the display page that needs to be adjusted through a browser;
接收单元, 用于接收用户对浏览的显示页面发出的缩放指令; 缩放显示单元, 用于根据所述缩放指令修改相对应的标签语言文件, 将修改后的标签语言文件通过浏览器显示为缩放后的显示页面。  a receiving unit, configured to receive a zoom instruction issued by the user to the browsed display page, and a zoom display unit, configured to modify the corresponding label language file according to the zoom instruction, and display the modified label language file as a zoom by the browser Display page.
进一步来说, 所述装置还包括:  Further, the device further includes:
预设单元, 用于预先设定终端上不同的按键或者菜单对应的显示元素 属性;  a preset unit, configured to preset a display element attribute corresponding to a different button or menu on the terminal;
相应地, 所述接收单元, 用于接收用户通过按键或者菜单对当前显示 页面发出的更改显示元素属性的缩放指令。  Correspondingly, the receiving unit is configured to receive a zoom instruction of a change display element attribute sent by the user to the currently displayed page by using a button or a menu.
进一步来说, 所述显示元素包括文本、 图像, 所述元素属性包括元素 的位置、 大小、 背景、 颜色中的一种或者多种。  Further, the display element includes text, an image, and the element attribute includes one or more of an element's position, size, background, and color.
进一步来说, 所述缩放显示单元, 进一步用于根据用户通过按键或者 菜单选择的对应的显示元素属性, 修改相对应的标签语言文件。  Further, the zoom display unit is further configured to modify the corresponding label language file according to a corresponding display element attribute selected by the user through a button or a menu.
本发明的有益效果是: 使用标签语言对显示页面进行定义, 并根据缩 放指令修改标签语言文件, 因此使用户能更方便、 快捷、 随意地调整页面 的显示大小。 综上可以看出, 本发明的优点是: 第一: 成本低, 利用了现 有的终端浏览器来实现终端信息的缩放显示, 大大降低了实现成本。 第二: 简单, 易操作, 不需要改变整个终端的显示风格, 通过按键或者菜单可以 轻松实现页面的即时缩放显示。 附图说明  The beneficial effects of the present invention are: using a label language to define a display page, and modifying the label language file according to the zoom instruction, thereby enabling the user to adjust the display size of the page more conveniently, quickly, and arbitrarily. In summary, the advantages of the present invention are as follows: First: The cost is low, and the existing terminal browser is used to realize the zoom display of the terminal information, which greatly reduces the implementation cost. Second: Simple, easy to operate, no need to change the display style of the entire terminal, and the instant zoom display of the page can be easily realized by buttons or menus. DRAWINGS
图 1 是本发明基于浏览器的缩放显示页面的实现方法流程图; 图 2 是本发明缩放显示页面的装置结构图; 图 3 是本发明浏览器显示的菜单界面效果图。 具体实施方式 1 is a flowchart of a method for implementing a browser-based zoom display page according to the present invention; FIG. 2 is a structural diagram of a device for zooming a display page according to the present invention; FIG. 3 is a diagram showing the effect of the menu interface displayed by the browser of the present invention. detailed description
本发明的前提是终端各页面的显示都由浏览器来实现, 并且终端支持 多种不同大小的字体。 本发明对需要调整的显示页面使用标签语言 ( Mark-up Language )定义,并将需要调整的显示页面存储为标签语言文件, 接收用户的缩放指令, 根据所述缩放指令修改相应的标签语言文件, 将修 改后的文件通过终端浏览器展示给用户。  The premise of the present invention is that the display of each page of the terminal is implemented by a browser, and the terminal supports a plurality of fonts of different sizes. The invention uses a mark-up language definition for the display page that needs to be adjusted, and stores the display page that needs to be adjusted as a label language file, receives a zoom instruction of the user, and modifies the corresponding label language file according to the zoom instruction. The modified file is displayed to the user through the terminal browser.
下面结合附图及优选实施例对本发明技术方案进行详细说明。  The technical solution of the present invention will be described in detail below with reference to the accompanying drawings and preferred embodiments.
参照图 1所示, 本发明的基于终端浏览器的缩放显示页面的实现方法, 包括:  Referring to FIG. 1 , a method for implementing a terminal browser-based zoom display page of the present invention includes:
步骤 101 :对需要调整的显示页面使用标签语言定义并存储为标签语言 文件, 还将需要调整的显示页面通过浏览器显示;  Step 101: The display page that needs to be adjusted is defined and stored as a label language file by using a label language, and the display page that needs to be adjusted is displayed by the browser;
对内容和格式固定的显示页面 (如: 功能菜单) , 使用标签语言来定 义, 并将定义后的显示页面以标签语言文件形式存储到终端中, 当浏览该 显示页面时, 通过浏览器读取相应文件展示给用户。  A display page with fixed content and format (such as a function menu) is defined by using a tag language, and the defined display page is stored in the terminal as a tag language file, and is read by the browser when browsing the display page. The corresponding file is presented to the user.
步骤 102: 接收用户对浏览的显示页面发出的缩放指令;  Step 102: Receive a zoom instruction issued by the user to the displayed display page of the browsing;
上述显示页面通过浏览器展示给用户后, 用户可以通过按键或者菜单 对当前显示页面进行缩放操作; 当然, 需要预先设定终端上不同的按键或 者菜单对应的显示元素属性, 所述显示元素包括文本、 图像等, 所述元素 属性包括元素的位置、 大小、 背景、 颜色等, 这样, 就可以通过按键或者 菜单对当前显示页面进行缩放操作。  After the display page is displayed to the user through the browser, the user can zoom in on the currently displayed page by using a button or a menu; of course, it is necessary to preset different display buttons or menu corresponding display element attributes on the terminal, and the display element includes text. The image attribute includes the position, size, background, color, and the like of the element, so that the currently displayed page can be zoomed by a button or a menu.
步骤 103: 根据所述缩放指令修改相对应的标签语言文件, 将修改后的 标签语言文件通过浏览器显示为缩放后的显示页面;  Step 103: Modify a corresponding label language file according to the scaling instruction, and display the modified label language file as a scaled display page by using a browser;
根据用户通过按键或者菜单选择的对应的显示元素属性, 修改相对应 的标签语言文件, 将修改后的文件通过终端浏览器展示给用户。 在本发明的一个优选实施例中, 所述方法还包括: 当用户输入的显示 元素属性超过终端的支持范围时, 终端发出提示音通知已经达到缩放显示 的极限。 The corresponding label language file is modified according to the corresponding display element attribute selected by the user through a button or a menu, and the modified file is displayed to the user through the terminal browser. In a preferred embodiment of the present invention, the method further includes: when the display element attribute input by the user exceeds the support range of the terminal, the terminal sends a prompt tone to notify that the limit of the zoom display has been reached.
参照图 2 所示, 本发明的基于浏览器的缩放显示页面的装置结构示意 图。 所述缩放显示页面的装置, 包括: 处理单元 201、 接收单元 202和缩放 显示单元 203 ; 其中,  Referring to Fig. 2, there is shown a schematic diagram of a device structure of a browser-based zoom display page of the present invention. The device for zooming and displaying a page includes: a processing unit 201, a receiving unit 202, and a zoom display unit 203;
处理单元 201 , 用于对需要调整的显示页面使用标签语言定义, 并将需 要调整的显示页面存储为标签语言文件, 还将需要调整的显示页面通过浏 览器显示;  The processing unit 201 is configured to use a label language definition for the display page that needs to be adjusted, and store the display page that needs to be adjusted as a label language file, and display the display page that needs to be adjusted through the browser;
接收单元 202 , 用于接收用户对浏览的显示页面发出的缩放指令; 缩放显示单元 203 , 用于根据所述缩放指令修改相对应的标签语言文 件, 将修改后的标签语言文件通过浏览器显示为缩放后的显示页面。  The receiving unit 202 is configured to receive a zoom instruction issued by the user to the browsed display page, and the zoom display unit 203 is configured to modify the corresponding label language file according to the zoom instruction, and display the modified label language file as a browser through the browser. The displayed page after scaling.
在本发明的一个优选实施例中, 还包括:  In a preferred embodiment of the present invention, the method further includes:
预设单元 200,用于预先设定终端上不同的按键或者菜单对应的显示元 素属性;  The preset unit 200 is configured to preset different display buttons or menu corresponding display element attributes on the terminal;
相应地, 所述接收单元 202, 用于接收用户通过按键或者菜单对当前显 示页面发出的更改显示元素属性的缩放指令。  Correspondingly, the receiving unit 202 is configured to receive a zoom instruction of a change display element attribute that is sent by the user to the current display page by using a button or a menu.
所述显示元素包括文本、 图像, 所述元素属性包括元素的位置、 大小、 背景、 颜色中的一种或者多种。  The display element includes text, an image, and the element attribute includes one or more of an element's position, size, background, and color.
在本发明的一个优选实施例中, 所述缩放显示单元 203 , 进一步用于根 据用户通过按键或者菜单选择的对应的显示元素属性, 修改相对应的标签 语言文件。  In a preferred embodiment of the present invention, the zoom display unit 203 is further configured to modify the corresponding tag language file according to a corresponding display element attribute selected by the user through a button or a menu.
需要指出的是, 为了实现本发明的功能, 本发明的浏览器包括: 收发模块, 用于在浏览网页时, 接收网站下发的标签语言文件; 解析模块, 用于对所述收发模块接收的标签语言文件中的数据进行解 析处理; It is to be noted that, in order to implement the functions of the present invention, the browser of the present invention includes: a transceiver module, configured to receive a label language file delivered by a website when browsing a webpage; and a parsing module, configured to receive the transceiver module The data in the tag language file is solved Analysis processing
布局模块, 用于处理解析所得数据, 确定所述数据描述的各类页面信 息在终端界面上的位置;  a layout module, configured to process the parsed data, and determine a location of the various page information described by the data on the terminal interface;
绘制模块, 用于将经过解析和布局的页面信息显示出来;  a drawing module for displaying the parsed and laid out page information;
内存管理模块, 用于保存显示的页面信息, 供以后再次打开各个界面 时使用。  The memory management module is used to save the displayed page information for use when opening each interface again.
通过上述的步骤和装置, 可以实现终端页面的缩放显示。 由于菜单文 件及 CSS (层叠样式表)文件都存储在本地且内容都比较简单, 所以使用浏 览器打开页面并进行缩放显示速度快。  Through the above steps and devices, the zoom display of the terminal page can be realized. Since menu files and CSS (Cascading Style Sheets) files are stored locally and the content is relatively simple, using a browser to open the page and zooming is fast.
下面通过具体应用中的实例对本发明作进一步的示例性说明。  The invention is further illustrated by the following examples in specific applications.
下面以一个消息菜单界面结合手机浏览器为例来详细说明一种对页面 进行缩放显示的具体实现方法, 包括以下步骤:  In the following, a message menu interface is combined with a mobile phone browser as an example to describe a specific implementation method for zooming and displaying a page, including the following steps:
( 1 )手机菜单界面的定义;  (1) definition of the mobile phone menu interface;
使用标签语言可以对文本、 图像的位置、 大小、 背景、 颜色等显示效 果进行准确的描述。 下面以一个常见的消息模块的菜单为例, 来说明如何 使用 html (超文本标记语言 )来实现。  Use the label language to accurately describe the display of text, image position, size, background, color, and more. Let's take a menu of a common message module as an example to illustrate how to use html (Hypertext Markup Language).
消息菜单对应的定义如下:  The corresponding definition of the message menu is as follows:
<HTML>  <HTML>
<HEAD>  <HEAD>
<TITLE> Messaging </TITLE>  <TITLE> Messaging </TITLE>
<LINK REL=stylesheet HREF="styles.css" type="text/css">  <LINK REL=stylesheet HREF="styles.css" type="text/css">
</HEAD>  </HEAD>
<BODY>  <BODY>
<p><img src="01.png" /><a hrel^"l.htmr> ^建消息 </a></p>  <p><img src="01.png" /><a hrel^"l.htmr> ^Build a message </a></p>
<p><img src="02.png" /><a hre^"2.htmM :件箱 </a></p>  <p><img src="02.png" /><a hre^"2.htmM : Box </a></p>
<p><img src="03.png" /><a hrel^"3.htmr>草稿箱 </a></p> <p><img src="04.png" /><a hre^"4.html">已发消 , </a></p> <p><img src="05.png" /><a hrel^"5.htmr> 息模板 </a></p> <p><img src="03.png"/><ahrel^"3.htmr>DraftBox</a></p> <p><img src="04.png"/><ahre^"4.html">Disappeared,</a></p><p><imgsrc="05.png"/><ahrel^"5.htmr> Information Template</a></p>
</BODY>  </BODY>
</HTML>  </HTML>
上述菜单文件以及 styles.css 文件均存储在手机的固定位置。 其中, styles.css是一个外联 ess文件, 该文件可以控制菜单的显示风格, 本发明的 缩放控制也是通过这个文件来完成的。 通过手机浏览器显示出来的效果参 见图 3。  The above menu files and styles.css files are stored in a fixed location on the phone. Among them, styles.css is an out-of-line ess file, which can control the display style of the menu. The zoom control of the present invention is also completed by this file. See Figure 3 for the effects displayed in the mobile browser.
( 2 )处理用户输入的缩放指令;  (2) processing a zoom instruction input by the user;
用户可以通过按键(如: 上下方向键或手机侧面的上下键)或菜单进 行缩放操作。 当手机收到用户输入的放大缩小指令时, 会根据输入的指令 修改( 1 )中所述 styles.css文件中字体及图像大小对应的属性值, 字体大小 属性的定义如下:  The user can zoom by pressing a button (such as the up/down direction keys or the up and down keys on the side of the phone) or menu. When the mobile phone receives the zoom-in and zoom-out command input by the user, it will modify the attribute value corresponding to the font and image size in the styles.css file described in (1) according to the input command. The font size attribute is defined as follows:
body { font-size: medium; }  Body { font-size: medium; }
其中 font-size的值包括:  The value of font-size includes:
xx-small/ x-small/ small/ medium/ large/ x-large/ xx-large  Xx-small/ x-small/ small/ medium/ large/ x-large/ xx-large
上述属性值对应的字体从小到大依次递增,其中 medium对应的是终端 默认的字体大小。  The fonts corresponding to the above attribute values are incremented from small to large, where medium corresponds to the default font size of the terminal.
图像缩放比例的定义如下:  The image scaling is defined as follows:
img {width="100%" height="100%"}  Img {width="100%" height="100%"}
其中 width和 height为图像宽、 高的缩放比例, 值为 100%时表示按照 图像自身大小显示。  Where width and height are the width and height of the image, and a value of 100% means that it is displayed according to the size of the image itself.
当用户输入的放大缩小倍数超过手机的支持范围时, 手机会发出提示 音告知用户已经达到缩放显示的极限。  When the zoom-in and multiplier input by the user exceeds the support range of the mobile phone, the mobile phone will give a prompt to inform the user that the limit of the zoom display has been reached.
( 3 )手机浏览器显示菜单页面;  (3) The mobile browser displays a menu page;
菜单界面的显示和一般网页的显示相同, 打开某个菜单时, 浏览器会 从文件系统中读取相应的文件并进行处理显示。 The display of the menu interface is the same as that of the general web page. When a menu is opened, the browser will Read the corresponding file from the file system and display it for processing.
本发明的其它用途有: 页面的缩放功能同样适用于浏览网页, 短消息、 记事本等。 此外, 浏览器还可以用作文本阅读器, 对于读入的文件首先将 其转换为标签语言文件, 然后通过浏览器来打开, 这样用户在阅读时即可 随意调节文字大小。  Other uses of the present invention are: The zoom function of the page is also suitable for browsing web pages, short messages, notepads, and the like. In addition, the browser can also be used as a text reader. For the read file, it is first converted into a tag language file, and then opened by the browser, so that the user can adjust the text size at will while reading.
最后, 需要注意的是: 以上列举的仅是本发明的具体实施例子, 当然 本领域的技术人员可以对本发明进行改动和变型, 倘若这些修改和变型属 于本发明权利要求及其等同技术的范围之内, 均应认为是本发明的保护范 围。  In the meantime, it is to be noted that the foregoing is only a specific embodiment of the present invention, and those skilled in the art can change and modify the present invention, and the modifications and variations are within the scope of the claims and the equivalents thereof. All should be considered as the scope of protection of the present invention.

Claims

权利要求书 Claim
1、 一种终端上缩放显示页面的方法, 其特征在于, 该方法包括: 对需要调整的显示页面使用标签语言定义并存储为标签语言文件, 还 将需要调整的显示页面通过浏览器显示;  A method for scaling a display page on a terminal, the method comprising: defining and storing a display language that needs to be adjusted using a label language as a label language file, and displaying the display page that needs to be adjusted through a browser;
接收用户对浏览的显示页面发出的缩放指令;  Receiving a zoom instruction issued by the user to the displayed display page of the browsing;
根据所述缩放指令修改相对应的标签语言文件, 将修改后的标签语言 文件通过浏览器显示为缩放后的显示页面。  Modifying the corresponding label language file according to the scaling instruction, and displaying the modified label language file as a scaled display page through the browser.
2、 如权利要求 1所述的终端上缩放显示页面的方法, 其特征在于, 所 述方法还包括:  2. The method of claim 1, wherein the method further comprises:
预先设定终端上不同的按键或者菜单对应的显示元素属性; 相应地, 所述接收用户对浏览的显示页面发出的缩放指令, 包括:  Presetting the display element attributes corresponding to different buttons or menus on the terminal; correspondingly, the receiving user sends a zoom instruction to the browsed display page, including:
接收用户通过按键或者菜单对当前显示页面发出的更改显示元素属性 的缩放指令。  Receives a zoom instruction that the user displays the attribute of the element by changing the current display page through a button or menu.
3、 如权利要求 2所述的终端上缩放显示页面的方法, 其特征在于, 所 述显示元素包括文本、 图像, 所述元素属性包括元素的位置、 大小、 背景、 颜色中的一种或者多种。  The method for zooming and displaying a page on a terminal according to claim 2, wherein the display element comprises text and an image, and the element attribute comprises one or more of an element's position, size, background, and color. Kind.
4、 如权利要求 2所述的终端上缩放显示页面的方法, 其特征在于, 所 述根据所述缩放指令修改相对应的标签语言文件, 包括:  The method for scaling a display page on the terminal according to claim 2, wherein the modifying the corresponding label language file according to the scaling instruction comprises:
根据用户通过按键或者菜单选择的对应的显示元素属性, 修改相对应 的标签语言文件。  The corresponding label language file is modified according to the corresponding display element attribute selected by the user through a button or a menu.
5、 如权利要求 2所述的终端上缩放显示页面的方法, 其特征在于, 所 述方法还包括:  The method of claim 2, wherein the method further comprises:
当用户输入的显示元素属性超过终端的支持范围时, 终端发出提示通 知已经达到缩放显示的极限。  When the display element attribute input by the user exceeds the support range of the terminal, the terminal issues a prompt notification that the limit of the zoom display has been reached.
6、 一种终端上缩放显示页面的装置, 其特征在于, 该装置包括: 处理 单元、 接收单元和缩放显示单元; 其中, 6. A device for scaling a display page on a terminal, the device comprising: processing a unit, a receiving unit, and a zoom display unit; wherein
处理单元, 用于对需要调整的终端显示页面使用标签语言定义并存储 为标签语言文件, 还将需要调整的显示页面通过浏览器显示;  a processing unit, configured to use a label language definition and store as a label language file for the terminal display page that needs to be adjusted, and display the display page that needs to be adjusted through a browser;
接收单元, 用于接收用户对浏览的显示页面发出的缩放指令; 缩放显示单元, 用于根据所述缩放指令修改相对应的标签语言文件, 将修改后的标签语言文件通过浏览器显示为缩放后的显示页面。  a receiving unit, configured to receive a zoom instruction issued by the user to the browsed display page, and a zoom display unit, configured to modify the corresponding label language file according to the zoom instruction, and display the modified label language file as a zoom by the browser Display page.
7、 如权利要求 6所述的终端上缩放显示页面的装置, 其特征在于, 所 述装置还包括:  The device for scaling a display page on the terminal according to claim 6, wherein the device further comprises:
预设单元, 用于预先设定终端上不同的按键或者菜单对应的显示元素 属性;  a preset unit, configured to preset a display element attribute corresponding to a different button or menu on the terminal;
相应地, 所述接收单元, 用于接收用户通过按键或者菜单对当前显示 页面发出的更改显示元素属性的缩放指令。  Correspondingly, the receiving unit is configured to receive a zoom instruction of a change display element attribute sent by the user to the currently displayed page by using a button or a menu.
8、 如权利要求 7所述的终端上缩放显示页面的装置, 其特征在于, 所 述显示元素包括文本、 图像, 所述元素属性包括元素的位置、 大小、 背景、 颜色中的一种或者多种。  8. The apparatus for zooming and displaying a page on a terminal according to claim 7, wherein the display element comprises text, an image, and the element attribute comprises one or more of an element's position, size, background, and color. Kind.
9、 如权利要求 7所述的终端上缩放显示页面的装置, 其特征在于, 所述缩放显示单元, 进一步用于根据用户通过按键或者菜单选择的对 应的显示元素属性, 修改相对应的标签语言文件。  9. The apparatus for zooming and displaying a page on a terminal according to claim 7, wherein the zoom display unit is further configured to modify a corresponding label language according to a corresponding display element attribute selected by a user through a button or a menu. file.
PCT/CN2010/077888 2010-06-21 2010-10-19 Method and apparatus for scaling display page on terminal WO2011160368A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010102059336A CN101882055A (en) 2010-06-21 2010-06-21 Method and device for displaying page in zoomed mode on terminal
CN201010205933.6 2010-06-21

Publications (1)

Publication Number Publication Date
WO2011160368A1 true WO2011160368A1 (en) 2011-12-29

Family

ID=43054078

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/077888 WO2011160368A1 (en) 2010-06-21 2010-10-19 Method and apparatus for scaling display page on terminal

Country Status (2)

Country Link
CN (1) CN101882055A (en)
WO (1) WO2011160368A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024055B (en) * 2010-12-20 2012-06-06 广州市动景计算机科技有限公司 Automatic alignment method and device during mobile terminal web browsing
CN102707935A (en) * 2011-03-28 2012-10-03 腾讯科技(深圳)有限公司 Mobile terminal browsing tool and method for setting text properties thereof
CN102890611B (en) * 2011-07-21 2016-03-30 华为技术有限公司 A kind of method and device that file project information is provided based on touching type operation
CN102830918B (en) * 2012-08-02 2016-05-04 东莞宇龙通信科技有限公司 Mobile terminal and this mobile terminal regulate the method for display font size
CN107247538B (en) 2012-09-17 2020-03-20 华为终端有限公司 Touch operation processing method and terminal device
CN103870508B (en) * 2012-12-18 2016-04-20 腾讯科技(深圳)有限公司 A kind of webpage Zoom method, device and system
CN103076955B (en) * 2012-12-28 2015-07-15 小米科技有限责任公司 Method, device and terminal for adjusting characters of application
CN103336787B (en) * 2013-06-05 2017-07-07 百度在线网络技术(北京)有限公司 A kind of method and apparatus for scaling webpage
CN104598131B (en) * 2015-01-15 2018-07-24 小米科技有限责任公司 Adjust the method and device of page display way
CN105975576B (en) * 2016-05-04 2019-12-31 北京京东尚科信息技术有限公司 Terminal content adaptive display method and device and terminal
JP6938680B2 (en) * 2017-09-13 2021-09-22 グーグル エルエルシーGoogle LLC Efficient image enhancement with related content
CN108829828B (en) * 2018-06-15 2022-01-21 卓米私人有限公司 Webpage display method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1613105A (en) * 2002-09-05 2005-05-04 奥帕拉软件公司 Presenting html content on a small screen terminal display
CN101641673A (en) * 2007-04-11 2010-02-03 索尼爱立信移动通讯有限公司 Methods of displaying information at different zoom settings and related devices and computer program products
CN101727495A (en) * 2009-12-31 2010-06-09 优视科技有限公司 Web page zoom-in and zoom-out management system for mobile communication device terminal and application method thereof
CN101739194A (en) * 2008-11-19 2010-06-16 宏达国际电子股份有限公司 Adjusting method of page display way and mobile electronic device thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1613105A (en) * 2002-09-05 2005-05-04 奥帕拉软件公司 Presenting html content on a small screen terminal display
CN101641673A (en) * 2007-04-11 2010-02-03 索尼爱立信移动通讯有限公司 Methods of displaying information at different zoom settings and related devices and computer program products
CN101739194A (en) * 2008-11-19 2010-06-16 宏达国际电子股份有限公司 Adjusting method of page display way and mobile electronic device thereof
CN101727495A (en) * 2009-12-31 2010-06-09 优视科技有限公司 Web page zoom-in and zoom-out management system for mobile communication device terminal and application method thereof

Also Published As

Publication number Publication date
CN101882055A (en) 2010-11-10

Similar Documents

Publication Publication Date Title
WO2011160368A1 (en) Method and apparatus for scaling display page on terminal
JP5235671B2 (en) Terminal device, content display method, and content display program
JP4850277B2 (en) Scroll display program, apparatus and method, and electronic terminal equipped with scroll display apparatus
CN102968474B (en) Webpage display process browsed by mobile communication equipment
US20110252302A1 (en) Fitting network content onto a reduced-size screen
WO2014206072A1 (en) Web page previewing method and system
US20130151974A1 (en) Outline view
WO2013097638A1 (en) Webpage re-typesetting method, webpage re-typesetting device and mobile terminal
KR20150048907A (en) Techniques for zooming in and out with dynamic content
WO2008001843A1 (en) Image data providing device, image display device, image display system, control method for image data providing device, control method for image display device, control program and recording medium
CN102799371A (en) Extended data input device and method
WO2016130236A1 (en) Responsive course design system and method
CN103020057A (en) Method and device for displaying RSS (really simple syndication) abstract by windowing
WO2008013127A1 (en) Terminal device, content display method, and content display program
CN110262723B (en) Office assisting method and system
JP5376685B2 (en) CONTENT DATA DISPLAY DEVICE, CONTENT DATA DISPLAY METHOD, AND PROGRAM
JP2017037521A (en) Printing system, printer, and program
WO2014187202A1 (en) Method, device, terminal, and computer storage medium for implementing webpage layout
CN102346620A (en) Electronic book and note display method thereof
TWI806258B (en) Electronic device and operation method thereof
TWI384392B (en) Webpage displaying method of mobile communication apparatus
JP2014164736A (en) Web page browsing device and program
JP6223007B2 (en) Document display apparatus and method, program and data structure thereof
KR101131215B1 (en) Method of processing hyperlink, mobile communication terminal for implementing the method and computer-readable store media
JP5793469B2 (en) Mobile terminal, information processing method, and computer program

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: 10853507

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10853507

Country of ref document: EP

Kind code of ref document: A1