WO2011113243A1 - 一种自动调整显示比例的方法和装置 - Google Patents

一种自动调整显示比例的方法和装置 Download PDF

Info

Publication number
WO2011113243A1
WO2011113243A1 PCT/CN2010/075049 CN2010075049W WO2011113243A1 WO 2011113243 A1 WO2011113243 A1 WO 2011113243A1 CN 2010075049 W CN2010075049 W CN 2010075049W WO 2011113243 A1 WO2011113243 A1 WO 2011113243A1
Authority
WO
WIPO (PCT)
Prior art keywords
proximity sensor
display
parameter
display ratio
ratio
Prior art date
Application number
PCT/CN2010/075049
Other languages
English (en)
French (fr)
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 WO2011113243A1 publication Critical patent/WO2011113243A1/zh

Links

Classifications

    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/041012.5D-digitiser, i.e. digitiser detecting the X/Y position of the input means, finger or stylus, also when it does not touch, but is proximate to the digitiser's interaction surface and also measures the distance of the input means within a short range in the Z direction, possibly with a separate measurement setup
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Definitions

  • the present invention relates to display control technologies for mobile terminals, and more particularly to a method and apparatus for automatically adjusting display ratios. Background technique
  • sensors which are a type of pre-component in the measurement system that converts input variables into available The measured signal; wherein the sensing device such as the proximity sensor has been gradually used on the mobile terminal, and is mainly used for judging at a very close distance, determining whether to activate the function, and the like.
  • the proximity sensor is used to close the screen when it is determined that the human head is close to the screen to prevent erroneous operation.
  • the main object of the present invention is to provide a method and apparatus for automatically adjusting the display ratio, which can automatically adjust the display ratio of the screen of the mobile terminal according to actual usage.
  • the invention provides a method for automatically adjusting a display scale, comprising:
  • the corresponding display scale is obtained, and the display scale of the screen of the mobile terminal is adjusted according to the obtained display scale.
  • the method further includes: setting a ranging range list and a display parameter table in the mobile terminal;
  • the parameter for selecting the proximity sensor is: selecting a proximity sensor parameter from the set ranging range list;
  • the acquisition display ratio is: reading the corresponding display scale from the set display parameter table according to the output code.
  • the method further comprises: adaptively adjusting the display ratio when the distance between the user's head and the screen changes.
  • the adaptive adjustment display ratio is specifically: when the distance between the user and the screen changes, the ratio of the adjusted display ratio to the display ratio before the adjustment is calculated, and the display ratio is adjusted according to the calculation result, and the adjustment ratio is adjusted.
  • the display scale is written to the display parameter table.
  • the selecting the proximity sensor parameter is specifically: selecting a ranging range The most d, the value is used as the proximity sensor parameter.
  • the parameter of the proximity sensor is adjusted, and the ranging range of the adjusted proximity sensor is obtained, and the code corresponding to the output of the ranging range is specifically:
  • the adjusting the proximity sensor parameter according to the output of the proximity sensor is specifically: the proximity sensor determines the actual distance between the user's head and the screen and the size of the parameter of the proximity sensor, and if the actual distance is smaller than the parameter of the proximity sensor, the proximity is reduced. The parameters of the sensor until the actual distance is greater than the parameter of the proximity sensor; if the actual distance is greater than the parameter of the proximity sensor, increase the parameter of the proximity sensor until the actual distance is greater than the parameter of the proximity sensor.
  • the corresponding display ratio is obtained according to the output code, and the display ratio of the screen of the mobile terminal is adjusted according to the obtained display ratio:
  • the present invention also provides an apparatus for automatically adjusting a display ratio, including: a ranging module, a display control module;
  • a ranging module configured to select and adjust a parameter of the proximity sensor, obtain a ranging range in which the proximity sensor is adjusted, and output a code corresponding to the ranging range to the display control module;
  • the display control module is configured to receive a code corresponding to the ranging range sent by the ranging module, and obtain a corresponding display ratio according to the output code, and adjust a display ratio of the screen of the mobile terminal according to the obtained display ratio.
  • the device further includes: a setting module, an adaptive adjustment module, wherein the setting module is configured to set a list of ranging ranges and a display parameter list in the mobile terminal;
  • the adaptive adjustment module is configured to adaptively adjust the display ratio when the distance between the user's head and the screen changes.
  • the method and device for automatically adjusting the display ratio provided by the invention, the distance between the screen and the user's head is determined by the proximity sensor, and the display ratio is automatically adjusted; and when the distance between the screen and the user's head changes, the display ratio is adaptively adjusted. Meet the needs of different users. In this way, the mobile terminal can automatically adjust the display ratio of its own screen according to the actual use situation, and the user no longer needs to perform manual adjustment, which brings a good experience and great convenience to the user.
  • FIG. 1 is a schematic flow chart of a method for automatically adjusting a display ratio according to the present invention
  • FIG. 2 is a schematic flow chart of a method for adaptively adjusting a display ratio according to the present invention
  • FIG. 3 is a schematic structural view of an apparatus for automatically adjusting a display scale according to the present invention.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The basic idea of the present invention is: selecting and adjusting a proximity sensor proximity sensor parameter, obtaining a ranging range in which the proximity sensor is adjusted, and outputting a code corresponding to the adjusted ranging range; according to the output code from the display parameter table Read the display scale and adjust the display scale.
  • FIG. 1 is a schematic flowchart of a method for automatically adjusting the display ratio according to the present invention. As shown in FIG. 1, the method includes the following steps:
  • Step 101 Set a ranging range list and a display parameter table in the mobile terminal.
  • the ranging range list is used to save the ranging range, and each ranging range is numbered, and the data in the ranging range list can be adjusted according to actual experience.
  • the ranging range list can be as shown in Table 1. Show:
  • the display parameter table is used to save the optimal display ratio after each display scale adjustment, and the code corresponding to the display scale.
  • the display parameter table can be as shown in Table 2:
  • the codes A to E in Table 2 indicate the numbers of the different ranging ranges, which are consistent with the numbers in the ranging range list.
  • Step 102 Select a parameter of the proximity sensor in the mobile terminal in the ranging range list. Specifically, select a parameter of the proximity sensor in the mobile terminal from the ranging range list, because the display parameter table may exist after the last adjustment of the display ratio.
  • the code corresponding to the current mobile screen display scale, and the code corresponds to a ranging range in the ranging range list, therefore, The selection here is: Select the minimum value of the ranging range as the parameter of the proximity sensor; for example: after the last adjustment of the display scale, the display ratio is 1.00, and the code corresponding to the display ratio in the display parameter table is 1.00, which is C, According to the code, the range corresponding to the code C in the ranging range list is searched, and the maximum value of the range corresponding to the code is 300, and the minimum value is 200, so 200 is selected as the proximity sensor parameter.
  • Step 103 Adjust a parameter of the proximity sensor, obtain a ranging range in which the proximity sensor is adjusted, and output a code corresponding to the adjusted ranging range;
  • the adjustment is to adjust the parameters of the proximity sensor according to the output of the proximity sensor
  • the specific processing is: the proximity sensor can determine whether the actual distance between the user's head and the screen is smaller than the parameter of the proximity sensor described in step 102, if the proximity sensor If OFF is displayed, indicating that the actual distance is smaller than the parameter of the proximity sensor, then the parameter of the proximity sensor is reduced, and the reduced minimum value is written into the register of the proximity sensor; if the proximity sensor continuously displays OFF, the parameters of the proximity sensor are continuously reduced.
  • the parameter of a proximity sensor before the final value is the actual value; if the proximity sensor is ON, indicating that the actual distance is greater than the parameter of the proximity sensor, then the parameter of the proximity sensor is increased, and will increase.
  • the minimum value is written to the register of the proximity sensor. If the proximity sensor continuously displays ON, the parameters of the proximity sensor are continuously increased until the proximity sensor is displayed as OFF. This is a proximity sensor before the final value.
  • the parameter is the actual value; according to the adjusted parameters of the proximity sensor, the ranging range of the parameter in the range of the ranging range is obtained; and the corresponding code is obtained according to the ranging range of the parameter of the adjusted proximity sensor.
  • Step 104 Obtain a corresponding display ratio according to the output code, and adjust a display ratio of the screen of the mobile terminal according to the obtained display ratio;
  • the corresponding display ratio of the code is obtained from the display parameter table according to the code obtained in the ranging range, and the display ratio is output to the system application interface of the mobile terminal, and the system automatically adjusts the mobile terminal according to the obtained display ratio.
  • the aspect ratio of the screen In practical applications, the display control module can receive the code, and according to the code, read the display ratio corresponding to the code from the display parameter table, and output the display ratio to the system application interface.
  • the present invention may further include a process of adaptively adjusting the display scale.
  • FIG. 2 is a schematic flowchart of a method for adaptively adjusting a display scale according to the present invention. As shown in FIG. 2, the method includes the following steps:
  • Step 201 it is determined whether the distance between the user and the screen changes, if there is a change, step 202 is performed, if there is no change, step 203 is performed;
  • the cycle reads the code from the ranging module. Because the code is ordered, it can be determined whether the distance between the user's head and the screen changes, and the change occurs whether the distance becomes smaller or the distance becomes larger.
  • the period is a system setting when the mobile terminal is produced, and generally cannot be modified.
  • Step 202 calculating the ratio of the adjusted display ratio to the display ratio before the adjustment, and then performing step 204;
  • the ratio of the adjusted display ratio to the display ratio before the adjustment can be expressed by the formula (1) l+20%*sgn[Dn]*5[Dn*Dn-l]+10%*sgn[Dn]*5 [-Dn*Dn-l] ( 1 )
  • Dn represents the user head
  • the ratio of the display ratio is 80%, the display ratio is reduced by 20%, and the display ratio is adjusted according to the ratio.
  • Step 203 without adjusting the display ratio, ending the current processing flow
  • Step 204 Adjust a display ratio according to the calculation result
  • the adjusted display ratio is sent to the system application interface, and the system adjusts the display ratio of the screen according to the calculation result in step 202.
  • the specific system adjusts the display ratio of the screen to the prior art, and details are not described herein again.
  • Step 205 Write the adjusted display scale to the display parameter table.
  • the adjusted display scale is written into the display parameter table, and the display parameter table is updated to provide data for the next automatic adjustment of the display scale.
  • FIG. 3 is a schematic structural diagram of an apparatus for automatically adjusting the display ratio according to the present invention.
  • the apparatus includes: a ranging module 32, a display Control module 33; wherein
  • the distance measuring module 32 is configured to select and adjust a parameter of the proximity sensor, obtain a ranging range in which the proximity sensor is adjusted, and output a code corresponding to the ranging range to the display control module 33;
  • the display control module 33 is configured to receive a code corresponding to the ranging range sent by the ranging module 32, and obtain a corresponding display ratio according to the output code, and adjust a display ratio of the mobile terminal screen according to the obtained display ratio;
  • the device further includes: a setting module 31, an adaptive adjustment module 34; wherein, the setting module 31 is configured to set a ranging range list and a display parameter table in the mobile terminal; and an adaptive adjustment module 34, configured for the user head and the screen The ratio is adjusted adaptively when the distance changes.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

一种自动调整显示比例的方法和装置 技术领域
本发明涉及移动终端显示控制技术, 尤其涉及一种自动调整显示比例 的方法和装置。 背景技术
随着科技的不断发展和移动终端的不断普及, 人们对于移动终端如手 机的需求已经不仅仅是打电话、 发短信这些基本的功能, 而是想利用手机 做更多的事情, 因此使得手机业务也是飞速发展。
随着手机业务的发展, 人们越来越依赖于手机进行阅读, 例如: 上网 浏览网页、 阅读小说、 移动办公等; 利用手机进行网页浏览和阅读小说等, 最大的好处是可以不受空间和时间的限制, 随时随地就可以阅读, 在乘车、 等车或者空闲时间都可以进行, 符合现代人的生活方式和阅读的需要。
信息处理技术取得的进展、 以及微处理器和计算机技术的高速发展, 都需要在传感器的开发方面有相应的进展, 传感器是测量系统中的一种前 置部件, 它将输入变量转换成可供测量的信号; 其中, 接近传感器等传感 设备已经逐渐在移动终端上使用, 主要用于极近距离的判断, 是否启动功 能的判断等。 例如: IPhone 手机以及很多其他机器上, 利用接近传感器在 确定人体头部与屏幕靠近时, 关闭屏幕, 防止出现错误操作。
由于不同的移动终端屏幕存在不同的分辨率, 以及应用不同大小的字 体, 此外, 阅读时眼睛与屏幕的距离也是因人而异, 因此在进行手机阅读 时, 用户需要根据自身的喜好, 手动调节屏幕显示的大小和调整眼睛与屏 幕的距离, 以满足阅读时对字体大小的要求。 目前, 手机大都采用了背光 的方式, 屏幕离眼睛过近的话, 很容易引起视觉疲劳, 影响视力, 同时手 机本身具有无线辐射, 与手机距离过近对人体健康有一定的影响。 因为用 户在利用手机进行阅读时, 头部与屏幕的距离通常会出现变化, 每次出现 变化用户都要手动调节屏幕显示的大小, 这样给用户带来很大不便; 而且, 现有技术中尚未提出有能够实现自动调整移动终端中显示比例的方案。 发明内容
有鉴于此, 本发明的主要目的在于提供一种自动调整显示比例的方法 和装置, 能根据实际使用情况自动调整移动终端屏幕的显示比例。
为达到上述目的, 本发明的技术方案是这样实现的:
本发明提供一种自动调整显示比例的方法, 包括:
选择并调整移动终端中接近传感器的参数, 获取调整后接近传感器所 在的测距范围, 输出所述测距范围对应的代码;
根据输出的代码获取相应的显示比例, 根据获得的显示比例调整移动 终端屏幕的显示比例。
上述方法中, 该方法还包括: 在移动终端中设置测距范围列表和显示 参数表;
所述选择接近传感器的参数为: 从所设置的测距范围列表中选择接近 传感器参数;
所述获取显示比例为: 根据输出的代码从所设置的显示参数表读取相 应的显示比例。
上述方法中, 该方法进一步包括: 用户头部与屏幕距离发生变化时, 自适应调节显示比例。
上述方法中, 所述自适应调节显示比例具体为: 当用户与屏幕的距离 发生变化时, 计算调整后的显示比例与调整前的显示比例的比值, 根据计 算结果调整显示比例, 并将调整后的显示比例写入显示参数表。
上述方法中, 所述选择接近传感器参数具体为: 选择一个测距范围的 最 d、值作为接近传感器参数。
上述方法中, 所述调整接近传感器的参数, 获取调整后接近传感器所 在测距范围, 输出所述测距范围对应的代码具体为:
根据接近传感器的输出调整接近传感器的参数, 根据调整后的接近传 感器的参数得到测距范围列表中该参数所在测距范围; 根据所述所在测距 范围得到对应的代码。
上述方法中, 所述根据接近传感器的输出调整接近传感器参数具体为: 接近传感器判断用户头部与屏幕的实际距离与接近传感器的参数的大 小, 如果实际距离小于接近传感器的参数, 则减小接近传感器的参数, 直 到实际距离大于接近传感器的参数; 如果实际距离大于接近传感器的参数, 则增加接近传感器的参数, 直到实际距离大于接近传感器的参数。
上述方法中, 所述根据输出的代码获取相应的显示比例, 根据获取的 显示比例调节移动终端屏幕的显示比例具体为:
根据在测距范围中得到的代码从显示参数表中获取该代码相应的显示 比例, 并将该显示比例输出给移动终端的系统应用接口, 系统根据获得的 显示比例自动调整移动终端屏幕的显示比例。
本发明还提供一种自动调整显示比例的装置, 包括: 测距模块、 显示 控制模块; 其中,
测距模块, 用于选择并调整接近传感器的参数, 获取调整后接近传感 器所在的测距范围, 输出所述测距范围对应的代码给显示控制模块;
显示控制模块, 用于接收测距模块发送的测距范围对应的代码, 并根 据输出的代码获取相应的显示比例, 根据获得的显示比例调整移动终端屏 幕的显示比例。
上述装置中, 该装置进一步包括: 设置模块、 自适应调节模块; 其中, 设置模块, 用于在移动终端中设置测距范围列表中和显示参数列表; 自适应调节模块, 用于在用户头部与屏幕距离发生变化时, 自适应调 节显示比例。
本发明所提供的自动调整显示比例的方法和装置, 通过接近传感器判 断屏幕与用户头部的距离, 自动调整显示比例; 并在屏幕与用户头部的距 离发生变化时, 自适应调节显示比例, 满足不同用户的需求。 如此, 使得 移动终端能根据实际使用情况自动调整自身屏幕的显示比例, 用户不再需 要进行手动调节, 给用户带来很好的体验和极大的方便。 附图说明
图 1为本发明自动调整显示比例的方法的流程示意图;
图 2为本发明自适应调节显示比例的方法的流程示意图;
图 3为本发明自动调整显示比例的装置的结构示意图。 具体实施方式 本发明的基本思想是: 选择并调整接近感应器接近传感器参数, 获取 调整后接近传感器所在的测距范围, 输出调整后的测距范围对应的代码; 根据输出代码从显示参数表中读取显示比例, 调节显示比例。
下面通过附图及具体实施例对本发明再做进一步的详细说明。
本发明提供一种自动调整显示比例的方法, 图 1 是本发明自动调整显 示比例的方法的流程示意图, 如图 1所示, 该方法包括以下步驟:
步驟 101 , 在移动终端中设置测距范围列表和显示参数表;
具体的, 测距范围列表用于保存测距范围, 并且对每个测距范围进行 编号, 可以根据实际的使用经验对测距范围列表中的数据进行调整, 测距 范围列表可以如表 1所示:
代码 最大值(单位: mm) 最小值 (单位: mm)
A 100 0 B 200 100
C 300 200
D 500 300
E +00 500 表 1
由于接近传感器可以判断屏幕到用户头部的距离, 而且人体头部结构 存在不规则性, 所以存在一定的误差, 无法十分精确判断屏幕到用户头部 的距离, 所以, 这里通过设置测距范围来解决可能产生的误差问题, 即: 设置某个判断值的最大值和最小值。 表 1中, 代码 A至 E表示不同测距范 围的编号, 最大值和最 '』、值表示不同代码对应的测距范围的最大值和最 d、 值;
显示参数表, 用于保存每次显示比例调节后的最佳显示比例、 以及与 显示比例对应的代码, 显示参数表可以如表 2所示:
Figure imgf000007_0001
表 2中代码 A至 E表示不同测距范围的编号, 该编号与测距范围列表 中的编号一致。
步驟 102 , 在测距范围列表中选择移动终端中接近传感器的参数; 具体的, 从测距范围列表中选择移动终端中接近传感器的参数, 因为 上一次调整显示比例之后, 显示参数表中会存在与当前手机屏幕显示比例 所对应的代码, 而且该代码在测距范围列表中对应一个测距范围, 因此, 这里所述选择为: 选择该测距范围的最小值作为接近传感器的参数; 例如: 上一次调整显示比例后,显示比例为 1.00,在显示参数表中显示比例为 1.00 所对应的代码是 C, 根据该代码查找测距范围列表中该代码 C所对应的范 围, 得到该代码对应的范围的最大值是 300, 最小值是 200, 因此选择 200 作为接近传感器参数。
步驟 103 ,调整接近传感器的参数, 获取调整后接近传感器所在测距范 围, 输出调整后的测距范围对应的代码;
这里, 所述调整是根据接近传感器的输出调整接近传感器的参数, 具 体处理为: 接近传感器可以判断用户头部与屏幕的实际距离是不是小于步 驟 102中所述的接近传感器的参数, 如果接近传感器显示 OFF, 表示实际 距离小于接近传感器的参数, 那么减小接近传感器的参数, 并将减小后的 最小值写入接近传感器的寄存器; 如果接近传感器不断显示 OFF, 就不断 减小接近传感器的参数, 直到接近传感器显示为 ON为止, 这时说明最终 值之前的一个接近传感器的参数为实际值; 如果接近传感器显示 ON, 表示 实际距离大于接近传感器的参数, 那么增加接近传感器的参数, 并将增加 后的最小值写入接近传感器的寄存器, 如果接近传感器不断显示 ON, 就不 断增加接近传感器的参数, 直到接近传感器显示为 OFF为止, 这是说明最 终值之前的一个接近传感器的参数为实际值; 根据调整后的接近传感器的 参数, 得到所在测距范围列表中该参数所在测距范围; 根据调整后的接近 传感器的参数所在的测距范围得到所对应的代码。
步驟 104,根据输出代码获取相应的显示比例,根据获得的显示比例调 整移动终端屏幕的显示比例;
具体的, 根据在测距范围中得到的代码从显示参数表中获取该代码相 应的显示比例, 并将该显示比例输出给移动终端的系统应用接口, 由系统 根据获得的显示比例自动调整移动终端屏幕的显示比例。 在实际应用中, 显示控制模块可以接收该代码, 并根据该代码从显示参数表中读取该代码 对应的显示比例, 并将显示比例输出给系统应用接口。
因为用户在利用手机进行阅读小说、 浏览网页等业务时, 会存在头部 与屏幕之间的距离发生变化, 这就需要周期的检查该距离是否发生变化, 如果发生变化就进行自适应调节显示比例, 以满足用户的使用习惯。 因此, 本发明还可以进一步包括自适应调节显示比例的过程。
具体的, 图 2是本发明自适应调节显示比例的方法的流程示意图, 如 图 2所示, 该方法包括以下步驟:
步驟 201 , 判断用户与屏幕的距离是否发生变化, 如果有变化, 则执行 步驟 202, 如果无变化, 则执行步驟 203;
具体的, 周期的从测距模块中读取代码, 因为代码是有序的, 所以可 以判断出用户头部与屏幕之间的距离是否发生变化, 发生的变化是距离变 小还是距离变大, 其中, 所述周期为在生产移动终端时的系统设置, 一般 无法进行修改。
步驟 202 ,计算调整后的显示比例与调整前的显示比例的比值,之后执 行步驟 204;
具体的, 调整后的显示比例与调整前的显示比例的比值可按公式(1 ) l+20%*sgn[Dn]*5[Dn*Dn-l]+10%*sgn[Dn]*5[-Dn*Dn-l] ( 1 ) 其中, sgn[n]表示符号函数, 当 n>0时, sgn[n]=l , 当 n<0时, sgn[n]=-l , 当 n=0时, sgn[n]=0; S[n]表示沖击函数,当 n>0时,δ[η]=1 ,当 η≤0时,δ[η]=0; Dn表示用户头部与屏幕之间的距离变化, Dn=l表示用户靠近屏幕, Dn=-1 表示用户远离屏幕, Dn=0表示无变化;
根据有序的代码判断用户是远离屏幕还是靠近屏幕, 如果远离屏幕, Dn=-1 , 将 Dn=-1代入计算公式( 1 ), 得到调整后的显示比例与调整前的显 示比例的比值为 120%, 显示比例增加了 20%, 根据该比值调整显示比例; 如果靠近屏幕, Dn=l , 将 Dn=l 代入计算公式(1 ), 得到调整后的显示比 例与调整前的显示比例的比值为 80%, 显示比例减小了 20%, 根据该比值 调整显示比例。
步驟 203 , 不调整显示比例, 结束当前处理流程;
步驟 204, 根据计算结果调整显示比例;
具体的, 将调整后的显示比例发送给系统应用接口, 系统根据步驟 202 中的计算结果调整屏幕的显示比例; 具体系统如何调整屏幕的显示比例为 现有技术, 在此不再赘述。
步驟 205 , 将调整后的显示比例写入显示参数表;
具体的, 将调整后的显示比例写入显示参数表, 更新显示参数表, 用 于为下一次自动调节显示比例提供数据。
为实现上述方法, 本发明还提供一种自动调整显示比例的装置, 图 3 是实现本发明自动调整显示比例的装置的结构示意图, 如图 3 所示, 该装 置包括: 测距模块 32、 显示控制模块 33; 其中,
测距模块 32, 用于选择并调整接近传感器的参数, 获取调整后接近传 感器所在的测距范围, 输出测距范围对应的代码给显示控制模块 33;
显示控制模块 33 , 用于接收测距模块 32发送的测距范围对应的代码, 并根据输出的代码获取相应的显示比例, 根据获得的显示比例调整移动终 端屏幕的显示比例;
该装置进一步包括: 设置模块 31、 自适应调节模块 34; 其中, 设置模块 31 , 用于在移动终端中设置测距范围列表和显示参数表; 自适应调节模块 34, 用于用户头部与屏幕距离发生变化时, 自适应调 节显示比例。
在实际应用中, 图 3所示装置可放置于移动终端中。 以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围, 凡在本发明的精神和原则之内所作的任何修改、 等同替换和改进 等, 均应包含在本发明的保护范围之内。

Claims

权利要求书
1、 一种自动调整显示比例的方法, 其特征在于, 该方法包括: 选择并调整移动终端中接近传感器的参数, 获取调整后接近传感器所 在的测距范围, 输出所述测距范围对应的代码;
根据输出的代码获取相应的显示比例, 根据获得的显示比例调整移动 终端屏幕的显示比例。
2、 根据权利要求 1所述的方法, 其特征在于, 该方法还包括: 在移动 终端中设置测距范围列表和显示参数表;
所述选择接近传感器的参数为: 从所设置的测距范围列表中选择接近 传感器参数;
所述获取显示比例为: 根据输出的代码从所设置的显示参数表读取相 应的显示比例。
3、 根据权利要求 2所述的方法, 其特征在于, 该方法进一步包括: 用 户头部与屏幕距离发生变化时, 自适应调节显示比例。
4、 根据权利要求 3所述的方法, 其特征在于, 所述自适应调节显示比 例具体为: 当用户与屏幕的距离发生变化时, 计算调整后的显示比例与调 整前的显示比例的比值, 根据计算结果调整显示比例, 并将调整后的显示 比例写入显示参数表。
5、 根据权利要求 2所述的方法, 其特征在于, 所述选择接近传感器参 数具体为: 选择一个测距范围的最小值作为接近传感器参数。
6、 根据权利要求 5所述的方法, 其特征在于, 所述调整接近传感器的 参数, 获取调整后接近传感器所在测距范围, 输出所述测距范围对应的代 码具体为:
根据接近传感器的输出调整接近传感器的参数, 根据调整后的接近传 感器的参数得到测距范围列表中该参数所在测距范围; 根据所述所在测距 范围得到对应的代码。
7、 根据权利要求 6所述的方法, 其特征在于, 所述根据接近传感器的 输出调整接近传感器参数具体为:
接近传感器判断用户头部与屏幕的实际距离与接近传感器的参数的大 小, 如果实际距离小于接近传感器的参数, 则减小接近传感器的参数, 直 到实际距离大于接近传感器的参数; 如果实际距离大于接近传感器的参数, 则增加接近传感器的参数, 直到实际距离大于接近传感器的参数。
8、 根据权利要求 1所述的方法, 其特征在于, 所述根据输出的代码获 取相应的显示比例, 根据获取的显示比例调节移动终端屏幕的显示比例具 体为:
根据在测距范围中得到的代码从显示参数表中获取该代码相应的显示 比例, 并将该显示比例输出给移动终端的系统应用接口, 系统根据获得的 显示比例自动调整移动终端屏幕的显示比例。
9、 一种自动调整显示比例的装置, 其特征在于, 该装置包括: 测距模 块、 显示控制模块; 其中,
测距模块, 用于选择并调整接近传感器的参数, 获取调整后接近传感 器所在的测距范围, 输出所述测距范围对应的代码给显示控制模块;
显示控制模块, 用于接收测距模块发送的测距范围对应的代码, 并根 据输出的代码获取相应的显示比例, 根据获得的显示比例调整移动终端屏 幕的显示比例。
10、 根据权利要求 9所述的装置, 其特征在于, 该装置进一步包括: 设置模块、 自适应调节模块; 其中,
设置模块, 用于在移动终端中设置测距范围列表中和显示参数列表; 自适应调节模块, 用于在用户头部与屏幕距离发生变化时, 自适应调 节显示比例。
PCT/CN2010/075049 2010-03-19 2010-07-08 一种自动调整显示比例的方法和装置 WO2011113243A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010139147.0 2010-03-19
CN201010139147A CN101815126A (zh) 2010-03-19 2010-03-19 一种自动调整显示比例的方法和装置

Publications (1)

Publication Number Publication Date
WO2011113243A1 true WO2011113243A1 (zh) 2011-09-22

Family

ID=42622240

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/075049 WO2011113243A1 (zh) 2010-03-19 2010-07-08 一种自动调整显示比例的方法和装置

Country Status (2)

Country Link
CN (1) CN101815126A (zh)
WO (1) WO2011113243A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI557629B (zh) * 2014-09-09 2016-11-11 鴻海精密工業股份有限公司 使用者介面自動縮放系統及方法

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102147655B (zh) * 2010-12-21 2013-01-23 华为终端有限公司 一种电子显示设备上的显示控制方法及电子显示设备
CN102063809A (zh) * 2010-12-29 2011-05-18 鸿富锦精密工业(深圳)有限公司 电子阅读装置及其控制方法
CN102752438B (zh) * 2011-04-20 2014-08-13 中兴通讯股份有限公司 自动调节终端界面显示的方法及装置
CN102298500B (zh) * 2011-09-22 2012-12-19 重庆大学 一种自适应屏幕缩放调整方法
CN103458115B (zh) * 2013-08-22 2016-04-13 Tcl通讯(宁波)有限公司 移动终端自动设置系统字体大小的处理方法及移动终端
CN110855882B (zh) * 2019-11-01 2021-10-08 RealMe重庆移动通信有限公司 拍摄处理方法及装置、存储介质和电子设备
CN110855881B (zh) * 2019-11-01 2021-07-02 RealMe重庆移动通信有限公司 拍摄处理方法及装置、存储介质和电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1205790A2 (en) * 2000-11-08 2002-05-15 Xerox Corporation Method and apparatus for indicating a field of view for a document camera
CN1837939A (zh) * 2005-03-21 2006-09-27 三星电子株式会社 具有摄像功能的移动通信终端和执行该摄像功能的方法
CN101533327A (zh) * 2008-03-13 2009-09-16 英业达股份有限公司 窗口调整界面及其调整方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101271678A (zh) * 2008-04-30 2008-09-24 深圳华为通信技术有限公司 屏幕字体缩放的方法及终端设备
CN101668068A (zh) * 2009-09-18 2010-03-10 深圳华为通信技术有限公司 一种移动终端的显示方法及移动终端

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1205790A2 (en) * 2000-11-08 2002-05-15 Xerox Corporation Method and apparatus for indicating a field of view for a document camera
CN1837939A (zh) * 2005-03-21 2006-09-27 三星电子株式会社 具有摄像功能的移动通信终端和执行该摄像功能的方法
CN101533327A (zh) * 2008-03-13 2009-09-16 英业达股份有限公司 窗口调整界面及其调整方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI557629B (zh) * 2014-09-09 2016-11-11 鴻海精密工業股份有限公司 使用者介面自動縮放系統及方法

Also Published As

Publication number Publication date
CN101815126A (zh) 2010-08-25

Similar Documents

Publication Publication Date Title
WO2011113243A1 (zh) 一种自动调整显示比例的方法和装置
CN103809843B (zh) 一种在浏览器中调节显示屏亮度的方法和装置
US9990902B2 (en) Electronic device for adjusting brightness of screen and method thereof
US8515491B2 (en) User distance detection for enhanced interaction with a mobile device
WO2019201073A1 (zh) 页面显示方法、装置、移动终端以及存储介质
CN108563394B (zh) 用于控制便携式终端中的屏幕显示的设备和方法
EP1947558A2 (en) Electronic device with touch screen and method of displaying information using the same
WO2011127689A1 (zh) 移动终端及其屏幕视效调整方法
RU2637475C2 (ru) Способ и устройство для регулирования отображения страницы
EP2045702A3 (en) Mobile terminal and method of controlling the same
EP1600939A1 (en) Image display method, image display program, and information device
CN112229507B (zh) 环境光检测方法、装置、存储介质及移动终端
EP2711827A2 (en) Touch-sensitive device and method for adjusting zoom level
CN107741814B (zh) 一种显示控制方法及移动终端
WO2019201102A1 (zh) 操作手势设置方法、装置、移动终端以及存储介质
EP3614244B1 (en) Touch screen adjustment method, touch chip and electronic terminal
CN107239184B (zh) 一种触屏触控装置、方法和移动终端
KR20100082903A (ko) 휴대단말기의 전자문서 표시 방법 및 장치
CN107370936B (zh) 变焦方法及变焦装置
KR20090023917A (ko) 사용자 인터페이스
CN113342229A (zh) 调节字体大小的方法、装置、终端设备以及计算机可读存储介质
US20110199293A1 (en) Multi-orientation handwriting trace input device and method for rotating its coordinate plane
CN109947345B (zh) 一种指纹识别方法和终端设备
JP2010258603A (ja) 通信端末及び表示サイズの調整方法
CN105653016A (zh) 一种用于自动调整呈现样式的方法与设备

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

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

Country of ref document: EP

Kind code of ref document: A1