WO2018132947A1 - 一种显示控制方法和终端 - Google Patents

一种显示控制方法和终端 Download PDF

Info

Publication number
WO2018132947A1
WO2018132947A1 PCT/CN2017/071434 CN2017071434W WO2018132947A1 WO 2018132947 A1 WO2018132947 A1 WO 2018132947A1 CN 2017071434 W CN2017071434 W CN 2017071434W WO 2018132947 A1 WO2018132947 A1 WO 2018132947A1
Authority
WO
WIPO (PCT)
Prior art keywords
pressure value
bound
value interval
color
touch
Prior art date
Application number
PCT/CN2017/071434
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 廖建强
Priority to PCT/CN2017/071434 priority Critical patent/WO2018132947A1/zh
Publication of WO2018132947A1 publication Critical patent/WO2018132947A1/zh

Links

Images

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means

Definitions

  • the present invention relates to the field of interactive control, and in particular, to a display control method and a terminal.
  • more and more smart devices introduce pressure touch function, which is controlled by the pressure sensor set under the touch screen to detect the pressure of the touch action and the sliding track of the touch action.
  • the smart device that is, the user can interact with the smart device through the pressure touch gesture, so that the interaction mode of the smart device is increasingly rich, and the fun of the operation is improved.
  • the user In the current pressure touch operation, the user needs to exert a certain pressure on the touch screen to trigger the generation of the pressure touch gesture. If the pressure value of the applied pressure is too small, the pressure touch operation cannot be performed, and if the pressure value of the applied pressure is too large, The touch screen will be damaged, so the problem to be solved now is how to prompt the user to apply the pressure value on the touch screen in order to control the smart device.
  • a technical problem to be solved by embodiments of the present invention is to provide a display control method.
  • the user can be prompted to apply pressure values on the touch screen to facilitate related control of the smart device.
  • an embodiment of the present invention provides a display control method, including:
  • the pressure value of the touch action can be periodically detected by a pressure sensor disposed under the touch screen. If the touch action is a single touch action, only the pressure value of one touch point is measured, if the touch is When the action is a multi-touch action, the pressure values of the plurality of touch points are measured, and the measured plurality of pressure values are averaged, and the average value is taken as the final pressure value.
  • the terminal pre-stores seven pressure value intervals and seven color mapping relationships, each pressure value interval maps different colors, and the terminal determines which of the seven pressure value intervals the measured pressure value falls into (the target pressure interval).
  • the terminal queries the color associated with the target pressure value interval according to the pre-stored mapping relationship, and the terminal adjusts the color of the specified area on the touch screen to the queried color, and the designated area may be any position on the touch screen, which is not limited in this embodiment. .
  • the color associated with the pressure value interval is queried, and the designated area on the touch screen is The color is adjusted to the queried color so that the user can determine the pressure applied by the finger by observing different colors, which facilitates precise control of the pressure.
  • the method before the detecting the occurrence of the touch gesture on the touch screen, before acquiring the pressure value of the touch gesture, the method further includes:
  • the terminal sets more than 7 pressure value intervals, 7 pressure value intervals do not overlap each other, and the maximum pressure value in the 7 pressure value intervals is smaller than the maximum pressure value measurable by the pressure sensor; the terminal sets 7 different colors, 7 different The colors are red, orange, yellow, green, cyan, blue, and purple.
  • the seven pressure value intervals are bound one-to-one with seven different colors, and each pressure value interval is bound to only one color. The above embodiment distinguishes the pressure value by different colors, and can clearly indicate the change of the user's pressure value.
  • the terminal can measure the pressure value in a range of 0 to 1: (0, 1), when the pressure value on the touch screen is greater than 1, the pressure value measured by the terminal is still a one-to-one binding of the seven pressure value intervals and the different colors in the seven:
  • the pressure value interval (0, 0.1) is bound to the red color
  • the pressure value interval (0.15, 0.3) is bound to orange;
  • the pressure value interval (0.3, 0.45) is bound to yellow
  • the pressure value interval (0.45, 0.6) is bound to the green
  • the pressure value interval (0.6, 0.75) is bound to cyan
  • the pressure value interval (0.75, 0.9) is bound to yellow
  • the pressure value interval (0.9, 1) is bound to purple, where parentheses indicate that no endpoints are included and square brackets indicate that the endpoints are included.
  • the designated area is the entire display area of the touch screen.
  • the background color of the entire touch screen is adjusted according to the color corresponding to the pressure value of the touch gesture.
  • the designated area is a circular area formed by using a touch point as a terminal and a preset length as a radius.
  • the second aspect further provides a terminal, including: a measurement module, a determination module, a query module, and an adjustment module.
  • a measuring module configured to acquire a pressure value of the touch gesture when detecting a touch gesture occurring on the touch screen
  • a determining module configured to determine a target pressure value interval in which the pressure value is located from a preset seven pressure value intervals
  • a query module configured to query a color associated with the target pressure value interval; wherein the seven pressure value intervals respectively correspond to different colors;
  • an adjustment module configured to adjust a color of the designated area on the touch screen according to the associated color.
  • the method further includes:
  • a setting module for setting the seven pressure value intervals and seven different colors
  • a binding module configured to bind the seven pressure value intervals and the seven different colors one-to-one; wherein, the seven different colors are: red, orange, yellow, green, cyan, blue Color, purple.
  • the binding module is configured to:
  • the pressure value interval (0, 0.1) is bound to the red color
  • the pressure value interval (0.15, 0.3) is bound to orange;
  • the pressure value interval (0.3, 0.45) is bound to yellow
  • the pressure value interval (0.45, 0.6) is bound to the green
  • the pressure value interval (0.6, 0.75) is bound to cyan
  • the pressure value interval (0.75, 0.9) is bound to yellow
  • the pressure value interval (0.9, 1) is bound to the purple.
  • the designated area is an entire display area of the touch screen.
  • the designated area is a circular area formed by a touch point and a preset length being a radius.
  • FIG. 1 is a schematic flow chart of a display control method of the present invention
  • 2 and 3 are schematic views of a user interface
  • FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 5 is another schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a display control method according to an embodiment of the present invention.
  • the method includes:
  • the touch screen has a function of touch detection and display
  • the terminal can detect a touch gesture on the touch screen by detecting a current change value on the touch screen, and the touch gesture can be a single touch gesture or a multi-touch gesture.
  • the terminal can periodically measure the pressure value of the touch gesture by a pressure sensor disposed under the touch screen, and the measurement period can be set as needed, for example, the detection period is 1S.
  • the terminal may separately obtain pressure values corresponding to the plurality of touch points, and average the plurality of measured pressure values to obtain a final pressure value.
  • the terminal pre-stores seven pressure value intervals, and the seven pressure value intervals do not coincide with each other, and the terminal determines the pressure value measured by S101, and determines the target pressure value of the pressure value from the preset seven pressure value intervals.
  • the interval, the target pressure value interval is one of the seven pressure value intervals.
  • the terminal stores mapping information of seven colors in seven pressure value intervals, each pressure value interval is associated with a different color, and the terminal queries the color associated with the target pressure value interval according to the preset mapping information, 7 different types. Color This embodiment is not limited.
  • S104 Modulate a color of the designated area on the touch screen according to the associated color.
  • the user interface is displayed on the touch screen according to the existing display method.
  • the terminal modulates the color of the designated area on the touch screen according to the preset color.
  • the designated area is the entire area of the touch screen, the edge of the touch screen, and the shape
  • the position of the designated area or the touch point on the status bar, etc., is not limited in this embodiment.
  • the terminal by periodically measuring the pressure value of the touch action, determining the target pressure value interval where the pressure value is located, and determining the color associated with the target pressure interval, adjusting the color of the designated area on the touch screen according to the queried color, the pressure value
  • different pressure value intervals are displayed, different colors are displayed on the designated area, and the terminal can prompt the user to apply the current size by changing the color on the designated area, which is convenient for the user to operate.
  • the method when the detecting a touch gesture occurs on the touch screen, before acquiring the pressure value of the touch gesture, the method further includes:
  • the terminal sets more than 7 pressure value intervals, 7 pressure value intervals do not overlap each other, and the maximum pressure value in the 7 pressure value intervals is smaller than the maximum pressure value measurable by the pressure sensor; the terminal sets 7 different colors, 7 different The colors are red, orange, yellow, green, cyan, blue, and purple.
  • the seven pressure value intervals are bound one-to-one with seven different colors, and each pressure value interval is bound to only one color. The above embodiment distinguishes the pressure value by different colors, and can clearly indicate the change of the user's pressure value.
  • the terminal can measure the pressure value in a range of 0 to 1: (0, 1), when the pressure value on the touch screen is greater than 1, the pressure value measured by the terminal Still being 1; the one-to-one binding of the 7 pressure value intervals and the different colors in the 7 includes:
  • the pressure value interval (0, 0.1) is bound to the red color
  • the pressure value interval (0.15, 0.3) is bound to orange;
  • the pressure value interval (0.3, 0.45) is bound to yellow
  • the pressure value interval (0.45, 0.6) is bound to the green
  • the pressure value interval (0.6, 0.75) is bound to cyan
  • the pressure value interval (0.75, 0.9) is bound to yellow
  • the pressure value interval (0.9, 1) is bound to purple, where parentheses indicate that no endpoints are included and square brackets indicate that the endpoints are included.
  • the designated area is the entire display area of the touch screen.
  • the background color of the entire touch screen is adjusted according to the color corresponding to the pressure value of the touch gesture.
  • the terminal detects a touch gesture generated by the user's finger 21 on the touch screen 20
  • the background color of the touch screen 20 is adjusted according to the color associated with the pressure value of the touch gesture.
  • the designated area is a circular area formed by using a touch point as a terminal and a preset length as a radius.
  • FIG. 3 a schematic diagram of a user interface of the terminal, the user finger 32 performs a single touch gesture on the touch screen 30, and the terminal determines a touch point of the touch gesture, and the touch point is centered and the preset length is formed as a radius.
  • the circular area 31 is a designated area, and the color of the circular adjustment area 31 is queried by the terminal.
  • FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal in the embodiment of the present invention is used to perform a display method in FIG. 1 , and the related terms and processes may refer to the description of the embodiment in FIG. 1 .
  • the terminal 4 includes a measurement module 401, a determination module 402, a query module 403, and an adjustment module 404.
  • a measuring module configured to acquire a pressure value of the touch gesture when detecting a touch gesture occurring on the touch screen
  • a determining module configured to determine a target pressure value interval in which the pressure value is located from a preset seven pressure value intervals
  • a query module configured to query a color associated with the target pressure value interval; wherein the seven pressure value intervals respectively correspond to different colors;
  • an adjustment module configured to adjust a color of the designated area on the touch screen according to the associated color.
  • the terminal 4 further includes:
  • a setting module for setting the seven pressure value intervals and seven different colors
  • a binding module configured to bind the seven pressure value intervals and the seven different colors one-to-one; wherein, the seven different colors are: red, orange, yellow, green, cyan, blue Color, purple.
  • the binding module is configured to:
  • the pressure value interval (0, 0.1) is bound to the red color
  • the pressure value interval (0.15, 0.3) is bound to orange;
  • the pressure value interval (0.3, 0.45) is bound to yellow
  • the pressure value interval (0.45, 0.6) is bound to the green
  • the pressure value interval (0.6, 0.75) is bound to cyan
  • the pressure value interval (0.75, 0.9) is bound to yellow
  • the pressure value interval (0.9, 1) is bound to the purple.
  • the designated area is an entire display area of the touch screen.
  • the designated area is a circular area formed by a touch point and a preset length being a radius.
  • FIG. 5 is a schematic diagram of another structure of a terminal according to an embodiment of the present invention.
  • the terminal 5 includes a processor 501, a memory 502, and a transceiver 503.
  • the transceiver 503 is configured to transmit and receive data with and from an external device.
  • the number of processors 501 in the terminal 5 may be one or more.
  • processor 501, memory 502, and transceiver 503 may be coupled by a bus system or other means.
  • Terminal 5 can be used to perform the method shown in FIG. For the meaning and examples of the terms involved in the embodiment, reference may be made to the corresponding embodiment of FIG. 1. I will not repeat them here.
  • the program code is stored in the memory 502.
  • the processor 501 is configured to call the program code stored in the memory 502 for performing the following operations:
  • the method before the detecting the touch gesture occurring on the touch screen, before acquiring the pressure value of the touch gesture, the method further includes:
  • the seven pressure value intervals and seven different colors are set, and seven pressure value intervals and the seven different colors are bound one-to-one; among them, seven different colors are: red, orange, Yellow, green, cyan, blue, purple.
  • the one-to-one binding of the seven pressure value intervals and the different colors of the seven colors includes:
  • the pressure value interval (0, 0.1) is bound to the red color
  • the pressure value interval (0.15, 0.3) is bound to orange;
  • the pressure value interval (0.3, 0.45) is bound to yellow
  • the pressure value interval (0.45, 0.6) is bound to the green
  • the pressure value interval (0.6, 0.75) is bound to cyan
  • the pressure value interval (0.75, 0.9) is bound to yellow
  • the pressure value interval (0.9, 1) is bound to the purple.
  • the designated area is an entire display area of the touch screen.
  • the designated area is a circular area formed by a touch point and a preset length being a radius.
  • the embodiment of the invention provides a terminal, which includes but is not limited to piggybacking Or terminals of other operating systems, such as mobile phones.
  • Other terminals may also be used, such as a laptop or tablet or desktop computer with a touch-sensitive surface (eg, a touch screen display and/or a touch pad).
  • a terminal including a display and a touch-sensitive surface is described. It should be understood, however, that the terminal can include one or more other physical user interface devices, such as a physical keyboard, mouse, and/or joystick.
  • Terminals typically support a variety of applications, such as one or more of the following: a drawing application, a rendering application, a word processing application, a web page creation application, a disk editing application, a spreadsheet application, a gaming application, Telephony applications, video conferencing applications, email applications, instant messaging applications, workout support applications, photo management applications, digital camera applications, digital video camera applications, web browsing applications, digital music player applications Program, and/or digital video player application.
  • applications such as one or more of the following: a drawing application, a rendering application, a word processing application, a web page creation application, a disk editing application, a spreadsheet application, a gaming application, Telephony applications, video conferencing applications, email applications, instant messaging applications, workout support applications, photo management applications, digital camera applications, digital video camera applications, web browsing applications, digital music player applications Program, and/or digital video player application.
  • the various applications that can be executed on the terminal can use at least one shared physical user interface device, such as a touch-sensitive surface.
  • One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal may be adjusted and/or changed from one application to the next and/or adjusted and/or varied within the respective application.
  • the shared physical architecture of the terminal such as a touch-sensitive surface, can support a variety of applications with a user interface that is intuitive to the user.
  • the storage medium may be a magnetic disk, an optical disk, or a read-only memory (Read-Only Memory, ROM) or random access memory (RAM), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种显示控制方法,包括:检测到触摸屏上发生的触摸手势时,获取所述触摸手势的压力值(S101);从预设的7个压力值区间中确定所述压力值所在的目标压力值区间(S102);查询与所述目标压力值区间关联的颜色(S103),所述7个压力值区间各自对应关联不同的颜色;根据所述关联的颜色调整所述触摸屏上指定区域的颜色(S104)。所述方法能提升交互的趣味性。

Description

一种显示控制方法和终端 技术领域
本发明涉及交互控制领域,尤其涉及一种显示控制方法和终端。
背景技术
目前越来越多的智能设备(例如:智能手机、智能手表、平板电脑等)引入压力触控功能,通过在触摸屏下方设置的压力传感器检测触控动作的压力以及触控动作的滑动轨迹来控制智能设备,即用户可通过压力触控手势来与智能设备进行交互,使智能设备的交互方式日益丰富,提升操作的趣味性。
在目前的压力触控操作中,用户需要在触摸屏上施加一定的压力才能触发生成压力触摸手势,如果施加的压力的压力值太小无法进行压力触摸操作,如果施加的压力的压力值太大可能会对损坏触摸屏,因此目前要解决的问题是如何提示用户在触摸屏上施加的压力值,以便对智能设备进行相关控制。
发明内容
本发明实施例所要解决的技术问题在于,提供一种显示控制方法。可提示用户在触摸屏上施加的压力值,方便对智能设备进行相关控制。
为了解决上述技术问题,本发明实施例提供了一种显示控制方法,包括:
终端检测到触摸屏上发生触摸动作时,可通过触摸屏下方设置的压力传感器周期性的检测触摸动作的压力值,如果触摸动作为单点触摸动作时,只测量1个触摸点的压力值,如果触摸动作是多点触摸动作时,测量多个触摸点的压力值,对测量到的多个压力值取平均值,将平均值作为最终的压力值。终端预先存储有7个压力值区间和7种颜色的映射关系,每个压力值区间映射不同的颜色,终端判断测量得到的压力值落入到7个压力值区间中的哪个压力值区间(目标压力值区间),终端根据预存的映射关系查询目标压力值区间关联的颜色,终端将触摸屏上指定区域的颜色调整为查询到的颜色,指定区域可以是触摸屏上的任意位置,本实施例不作限制。上述实施例,通过测量触摸手势的压力值所示的压力值区间,查询压力值区间关联的颜色,将触摸屏上指定区域的 颜色调整为查询到的颜色,这样用户能够通过观察到不同的颜色来确定手指施加的压力,便于实现压力的精确控制。
在本方面的一种可能的实施方式中,所述检测到触摸屏上发生触摸手势时,获取所述触摸手势的压力值之前,还包括:
终端设置7多个压力值区间,7个压力值区间不互相重叠,且7个压力值区间中的最大压力值小于压力传感器可测量的最大压力值;终端设置7种不同的颜色,7种不同的颜色为赤色、橙色、黄色、绿色、青色、蓝色、紫色,7个压力值区间与7种不同的颜色进行一对一的绑定,每个压力值区间仅绑定一种颜色。上述实施例通过不同的颜色区分压力值,能清楚的提示用户压力值的变化。
在本方面的一种可能的实施方式中,终端可测量的压力值的范围为0到1之间:(0,1],当触摸屏上的压力值大于1时,终端测量到的压力值仍然为1;所述将7个压力值区间和所述7中不同的颜色进行一对一的绑定包括:
压力值区间(0,0.1)与赤色进行绑定;
压力值区间(0.15,0.3)与橙色进行绑定;
压力值区间(0.3,0.45)与黄色进行绑定;
压力值区间(0.45,0.6)与绿色进行绑定;
压力值区间(0.6,0.75)与青色进行绑定;
压力值区间(0.75,0.9)与黄色进行绑定;
压力值区间(0.9,1]与紫色进行绑定,其中,圆括号表示不包含端点,方括号表示包含端点。
在本方面的一种可能的实施方式中,指定区域为触摸屏的全部显示区域。终端检测到触摸手势时,根据触摸手势的压力值对应的颜色调整整个触摸屏的背景色。
在本方面的一种可能的实施方式中,指定区域为以触摸点为终端和预设长度为半径形成的圆形区域。
相应地,第二方面还提供了一种终端,包括:测量模块、确定模块、查询模块和调整模块。
测量模块,用于检测到触摸屏上发生的触摸手势时,获取所述触摸手势的压力值;
确定模块,用于从预设的7个压力值区间中确定所述压力值所在的目标压力值区间;
查询模块,用于查询与所述目标压力值区间关联的颜色;其中,所述7个压力值区间各自对应关联不同的颜色;
调整模块,用于根据所述关联的颜色调整所述触摸屏上指定区域的颜色。
在本方面的一种可能的实施方式中,还包括:
设置模块,用于设置所述7个压力值区间和7种不同的颜色;
绑定模块,用于将所述7个压力值区间和所述7种不同的颜色进行一对一的绑定;其中,7种不同的颜色为:赤色、橙色、黄色、绿色、青色、蓝色、紫色。
在本方面的一种可能的实施方式中,所述绑定模块用于:
压力值区间(0,0.1)与赤色进行绑定;
压力值区间(0.15,0.3)与橙色进行绑定;
压力值区间(0.3,0.45)与黄色进行绑定;
压力值区间(0.45,0.6)与绿色进行绑定;
压力值区间(0.6,0.75)与青色进行绑定;
压力值区间(0.75,0.9)与黄色进行绑定;
压力值区间(0.9,1]与紫色进行绑定。
在本方面的一种可能的实施方式中,所述指定区域为所述触摸屏的全部显示区域。
在本方面的一种可能的实施方式中,所述指定区域为以触摸点为中心和预设长度为半径形成的圆形区域。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明的一种显示控制方法的流程示意图;
图2和图3是用户界面示意图;
图4是本发明实施例提供的一种终端的结构示意图;
图5是本发明实施例提供的一种终端的另一结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
参见图1,图1是本发明实施例提供的一种显示控制方法的流程示意图,在本发明实施例中,所述方法包括:
S101、检测到触摸屏上发生的触摸手势时,获取所述触摸手势的压力值。
具体的,触摸屏具有触摸检测和显示的功能,终端可通过检测触摸屏上电流变化值在确定触摸屏上发生触摸手势,触摸手势可以是单点触摸手势,也可以是多点触摸手势。终端可通过设置在触摸屏下方的压力传感器周期性的来测量触摸手势的压力值,测量周期可根据需要设置,例如检测周期为1S。当触摸手势为多点触摸手势时,终端可分别获取多个触摸点对应的压力值,将测量得到的多个压力值取平均值后得到最终的压力值。
S102、从预设的7个压力值区间中确定所述压力值所在的目标压力值区间。
具体的,终端预先存储有7个压力值区间,7个压力值区间互不重合,终端确定S101测量得的压力值,从预设的7个压力值区间中确定该压力值所在的目标压力值区间,目标压力值区间为7个压力值区间中的一个。
S103、查询与所述目标压力值区间关联的颜色。
具体的,终端存储7个压力值区间月7种颜色的映射信息,每个压力值区间关联一个不同的颜色,终端根据预设的映射信息查询与目标压力值区间关联的颜色,7种不同的颜色本实施例不作限制。
S104、根据所述关联的颜色调制所述触摸屏上指定区域的颜色。
具体的,触摸屏上施加压力之前,触摸屏上根据现有显示方法显示用户界面。触摸屏上施加检测到触摸手势的压力值时,终端根据预设颜色调制触摸屏上指定区域的颜色。例如,指定区域为触摸屏的全部区域、触摸屏的边缘、状 态栏上指定区域或触摸点的位置等,本实施例不作限制。
通过上述实施例,通过周期性的测量触摸动作的压力值,确定压力值所在的目标压力值区间,以及确定目标压力区间关联的颜色,根据查询到的颜色调整触摸屏上指定区域的颜色,压力值在不同的压力值区间时,指定区域上显示不同的颜色,终端可以通过指定区域上颜色的变化来提示用户当前施加的大小,便于用户操作。
可选的,在一种可能的实施方式中,所述检测到触摸屏上发生触摸手势时,获取所述触摸手势的压力值之前,还包括:
终端设置7多个压力值区间,7个压力值区间不互相重叠,且7个压力值区间中的最大压力值小于压力传感器可测量的最大压力值;终端设置7种不同的颜色,7种不同的颜色为赤色、橙色、黄色、绿色、青色、蓝色、紫色,7个压力值区间与7种不同的颜色进行一对一的绑定,每个压力值区间仅绑定一种颜色。上述实施例通过不同的颜色区分压力值,能清楚的提示用户压力值的变化。
可选的,在一种可能的实施方式中,终端可测量的压力值的范围为0到1之间:(0,1],当触摸屏上的压力值大于1时,终端测量到的压力值仍然为1;所述将7个压力值区间和所述7中不同的颜色进行一对一的绑定包括:
压力值区间(0,0.1)与赤色进行绑定;
压力值区间(0.15,0.3)与橙色进行绑定;
压力值区间(0.3,0.45)与黄色进行绑定;
压力值区间(0.45,0.6)与绿色进行绑定;
压力值区间(0.6,0.75)与青色进行绑定;
压力值区间(0.75,0.9)与黄色进行绑定;
压力值区间(0.9,1]与紫色进行绑定,其中,圆括号表示不包含端点,方括号表示包含端点。
可选的,在一种可能的实施方式中,指定区域为触摸屏的全部显示区域。终端检测到触摸手势时,根据触摸手势的压力值对应的颜色调整整个触摸屏的背景色。
示例性的,参见图2所示,终端检测到用户手指21在触摸屏20上发生的触摸手势时,根据触摸手势的压力值关联的颜色调整触摸屏20的背景色。
在本方面的一种可能的实施方式中,指定区域为以触摸点为终端和预设长度为半径形成的圆形区域。
示例性的,参见图3所示,终端的用户界面示意图,用户手指32在触摸屏30上执行单点触摸手势,终端确定触摸手势的触摸点,以触摸点为中心点和预设长度为半径形成的圆形区域31为指定区域,终端查询到的颜色调整圆形区域31的颜色。
参见图4,为本发明实施例提供的一种终端的结构示意图,本发明实施例的终端用于执行图1中的一种显示方法,所涉及的术语和过程可参照图1实施例的描述。终端4包括:测量模块401、确定模块402、查询模块403和调整模块404。
测量模块,用于检测到触摸屏上发生的触摸手势时,获取所述触摸手势的压力值;
确定模块,用于从预设的7个压力值区间中确定所述压力值所在的目标压力值区间;
查询模块,用于查询与所述目标压力值区间关联的颜色;其中,所述7个压力值区间各自对应关联不同的颜色;
调整模块,用于根据所述关联的颜色调整所述触摸屏上指定区域的颜色。
可选的,终端4还包括:
设置模块,用于设置所述7个压力值区间和7种不同的颜色;
绑定模块,用于将所述7个压力值区间和所述7种不同的颜色进行一对一的绑定;其中,7种不同的颜色为:赤色、橙色、黄色、绿色、青色、蓝色、紫色。
可选的,所述绑定模块用于:
压力值区间(0,0.1)与赤色进行绑定;
压力值区间(0.15,0.3)与橙色进行绑定;
压力值区间(0.3,0.45)与黄色进行绑定;
压力值区间(0.45,0.6)与绿色进行绑定;
压力值区间(0.6,0.75)与青色进行绑定;
压力值区间(0.75,0.9)与黄色进行绑定;
压力值区间(0.9,1]与紫色进行绑定。
可选的,所述指定区域为所述触摸屏的全部显示区域。
可选的,所述指定区域为以触摸点为中心和预设长度为半径形成的圆形区域。
本发明实施例和方法实施例一基于同一构思,其带来的技术效果也相同,具体过程可参照方法实施例一的描述,此处不再赘述。
参见图5,为本发明实施例提供的一种终端的另一结构示意图,在本发明实施例中,终端5包括处理器501、存储器502和收发器503。收发器503用于与外部设备之间收发数据。终端5中的处理器501的数量可以是一个或多个。本发明的一些实施例中,处理器501、存储器502和收发器503可通过总线系统或其他方式连接。终端5可以用于执行图1所示的方法。关于本实施例涉及的术语的含义以及举例,可以参考图1对应的实施例。此处不再赘述。
其中,存储器502中存储程序代码。处理器501用于调用存储器502中存储的程序代码,用于执行以下操作:
检测到触摸屏上发生的触摸手势时,获取所述触摸手势的压力值;
从预设的7个压力值区间中确定所述压力值所在的目标压力值区间;
查询与所述目标压力值区间关联的颜色;其中,所述7个压力值区间各自对应关联不同的颜色;
根据所述关联的颜色调整所述触摸屏上指定区域的颜色。
在一种可能的实施方式中,所述检测到触摸屏上发生的触摸手势时,获取所述触摸手势的压力值之前,还包括:
设置所述7个压力值区间和7种不同的颜色,将7个压力值区间和所述7种不同的颜色进行一对一的绑定;其中,7种不同的颜色为:赤色、橙色、黄色、绿色、青色、蓝色、紫色。
在一种可能的实施方式中,所述将7个压力值区间和所述7中不同的颜色进行一对一的绑定包括:
压力值区间(0,0.1)与赤色进行绑定;
压力值区间(0.15,0.3)与橙色进行绑定;
压力值区间(0.3,0.45)与黄色进行绑定;
压力值区间(0.45,0.6)与绿色进行绑定;
压力值区间(0.6,0.75)与青色进行绑定;
压力值区间(0.75,0.9)与黄色进行绑定;
压力值区间(0.9,1]与紫色进行绑定。
在一种可能的实施方式中,所述指定区域为所述触摸屏的全部显示区域。
在一种可能的实施方式中,所述指定区域为以触摸点为中心和预设长度为半径形成的圆形区域。
本发明实施例提供一种终端,该终端包括但不限于搭载
Figure PCTCN2017071434-appb-000001
Figure PCTCN2017071434-appb-000002
或者其它操作系统的终端,诸如移动电话。也可以是其它终端,诸如具有触敏表面(例如,触摸屏显示器和/或触控板)的膝上型计算机或平板电脑或台式计算机。
在下面的讨论中,介绍了一种包括显示器和触敏表面的终端。然而应当理解,终端可以包括一个或多个其他物理用户接口设备,诸如物理键盘、鼠标和/或操作杆。
终端通常支持多种应用程序,诸如以下中的一种或多种:画图应用程序、呈现应用程序、文字处理应用程序、网页创建应用程序、盘编辑应用程序、电子表格应用程序、游戏应用程序、电话应用程序、视频会议应用程序、电子邮件应用程序、即时消息应用程序、锻炼支持应用程序、相片管理应用程序、数字相机应用程序、数字视频摄像机应用程序、网络浏览应用程序、数字音乐播放器应用程序、和/或数字视频播放器应用程序。
可在终端上执行的各种应用程序可使用至少一个共用的物理用户接口设备,诸如触敏表面。触敏表面的一种或多种功能以及显示在终端上的相应信息可从一种应用程序调整和/或变化至下一种应用程序和/或在相应应用程序内被调整和/或变化。这样,终端的共用物理架构(诸如触敏表面)可利用对于用户而言直观清楚的用户界面来支持各种应用程序。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory, ROM)或随机存储记忆体(RandomAccess Memory,RAM)等。
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。

Claims (10)

  1. 一种显示控制方法,其特征在于,包括:
    检测到触摸屏上发生的触摸手势时,获取所述触摸手势的压力值;
    从预设的7个压力值区间中确定所述压力值所在的目标压力值区间;
    查询与所述目标压力值区间关联的颜色;其中,所述7个压力值区间各自对应关联不同的颜色;
    根据所述关联的颜色调整所述触摸屏上指定区域的颜色。
  2. 如权利要求1所述的方法,其特征在于,所述检测到触摸屏上发生的触摸手势时,获取所述触摸手势的压力值之前,还包括:
    设置所述7个压力值区间和7种不同的颜色,将7个压力值区间和所述7种不同的颜色进行一对一的绑定;其中,7种不同的颜色为:赤色、橙色、黄色、绿色、青色、蓝色、紫色。
  3. 如权利要求2所述的方法,其特征在于,所述将7个压力值区间和所述7中不同的颜色进行一对一的绑定包括:
    压力值区间(0,0.1)与赤色进行绑定;
    压力值区间(0.15,0.3)与橙色进行绑定;
    压力值区间(0.3,0.45)与黄色进行绑定;
    压力值区间(0.45,0.6)与绿色进行绑定;
    压力值区间(0.6,0.75)与青色进行绑定;
    压力值区间(0.75,0.9)与黄色进行绑定;
    压力值区间(0.9,1]与紫色进行绑定。
  4. 如权利要求1所述的方法,其特征在于,所述指定区域为所述触摸屏的全部显示区域。
  5. 如权利要求1所述的方法,其特征在于,所述指定区域为以触摸点为中心和预设长度为半径形成的圆形区域。
  6. 一种终端,其特征在于,包括:
    测量模块,用于检测到触摸屏上发生的触摸手势时,获取所述触摸手势的压力值;
    确定模块,用于从预设的7个压力值区间中确定所述压力值所在的目标压力值区间;
    查询模块,用于查询与所述目标压力值区间关联的颜色;其中,所述7个压力值区间各自对应关联不同的颜色;
    调整模块,用于根据所述关联的颜色调整所述触摸屏上指定区域的颜色。
  7. 如权利要求6所述的终端,其特征在于,还包括:
    设置模块,用于设置所述7个压力值区间和7种不同的颜色;
    绑定模块,用于将所述7个压力值区间和所述7种不同的颜色进行一对一的绑定;其中,7种不同的颜色为:赤色、橙色、黄色、绿色、青色、蓝色、紫色。
  8. 如权利要求7所述的终端,其特征在于,所述绑定模块用于:
    压力值区间(0,0.1)与赤色进行绑定;
    压力值区间(0.15,0.3)与橙色进行绑定;
    压力值区间(0.3,0.45)与黄色进行绑定;
    压力值区间(0.45,0.6)与绿色进行绑定;
    压力值区间(0.6,0.75)与青色进行绑定;
    压力值区间(0.75,0.9)与黄色进行绑定;
    压力值区间(0.9,1]与紫色进行绑定。
  9. 如权利要求6所述的终端,其特征在于,所述指定区域为所述触摸屏的全部显示区域。
  10. 如权利要求6所述的终端,其特征在于,所述指定区域为以触摸点为中心和预设长度为半径形成的圆形区域。
PCT/CN2017/071434 2017-01-17 2017-01-17 一种显示控制方法和终端 WO2018132947A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/071434 WO2018132947A1 (zh) 2017-01-17 2017-01-17 一种显示控制方法和终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/071434 WO2018132947A1 (zh) 2017-01-17 2017-01-17 一种显示控制方法和终端

Publications (1)

Publication Number Publication Date
WO2018132947A1 true WO2018132947A1 (zh) 2018-07-26

Family

ID=62907470

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/071434 WO2018132947A1 (zh) 2017-01-17 2017-01-17 一种显示控制方法和终端

Country Status (1)

Country Link
WO (1) WO2018132947A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0595746A1 (en) * 1992-10-29 1994-05-04 International Business Machines Corporation Method and system for input device pressure indication in a data processing system
CN101213508A (zh) * 2004-08-02 2008-07-02 皇家飞利浦电子股份有限公司 具有与压力相关的视觉反馈的触摸屏
CN101226445A (zh) * 2008-02-04 2008-07-23 炬力集成电路设计有限公司 一种通过触摸屏进行输入的方法和装置
CN103631379A (zh) * 2013-11-21 2014-03-12 华为终端有限公司 触摸选择的视觉反馈方法和装置
CN105159500A (zh) * 2015-09-14 2015-12-16 广东欧珀移动通信有限公司 触摸屏的压力显示方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0595746A1 (en) * 1992-10-29 1994-05-04 International Business Machines Corporation Method and system for input device pressure indication in a data processing system
CN101213508A (zh) * 2004-08-02 2008-07-02 皇家飞利浦电子股份有限公司 具有与压力相关的视觉反馈的触摸屏
CN101226445A (zh) * 2008-02-04 2008-07-23 炬力集成电路设计有限公司 一种通过触摸屏进行输入的方法和装置
CN103631379A (zh) * 2013-11-21 2014-03-12 华为终端有限公司 触摸选择的视觉反馈方法和装置
CN105159500A (zh) * 2015-09-14 2015-12-16 广东欧珀移动通信有限公司 触摸屏的压力显示方法及装置

Similar Documents

Publication Publication Date Title
US9612675B2 (en) Emulating pressure sensitivity on multi-touch devices
US10175852B2 (en) Information processing methods and electronic devices for classifying applications
US20120113044A1 (en) Multi-Sensor Device
US20150052481A1 (en) Touch Screen Hover Input Handling
WO2019085921A1 (zh) 一种单手操作移动终端的方法、存储介质及移动终端
TW201602893A (zh) 附加資訊提供方法及使用其的觸控顯示裝置
CN104063128B (zh) 一种信息处理方法及电子设备
CN105159500B (zh) 触摸屏的压力显示方法及装置
JP2017518553A (ja) 携帯型デバイス上のユーザ操作モードを識別する方法及び携帯型デバイス
AU2015312632A1 (en) Method and apparatus for processing touch input
CN110377215B (zh) 模型展示方法、装置及终端设备
CN107219971A (zh) 一种展示对象的展示方法及装置
US9092085B2 (en) Configuring a touchpad setting based on the metadata of an active application of an electronic device
US10732719B2 (en) Performing actions responsive to hovering over an input surface
CN111025039B (zh) 触摸显示屏的精准度的测试方法、装置、设备以及介质
WO2016112791A1 (zh) 移动终端应用程序页面的展现方法和装置
US10779148B2 (en) Data transmission method and first electronic device
US11656761B2 (en) Touch hotspot adjustment method, apparatus, and device, and touchscreen terminal device
WO2018000382A1 (zh) 一种查看应用程序的图形用户界面、方法及终端
WO2014075540A1 (zh) 触摸屏滚屏控制系统及方法
WO2021092806A1 (zh) 一种屏幕参数调整方法、装置及终端设备
WO2017133244A1 (zh) 一种操作触控方法和终端
WO2018132947A1 (zh) 一种显示控制方法和终端
CN110874729B (zh) 电子红包识别策略的切换方法、切换装置及移动终端
WO2019051738A1 (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: 17892293

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 141119)

122 Ep: pct application non-entry in european phase

Ref document number: 17892293

Country of ref document: EP

Kind code of ref document: A1