CN105159505A - Interface operation method and terminal - Google Patents
Interface operation method and terminal Download PDFInfo
- Publication number
- CN105159505A CN105159505A CN201510639915.1A CN201510639915A CN105159505A CN 105159505 A CN105159505 A CN 105159505A CN 201510639915 A CN201510639915 A CN 201510639915A CN 105159505 A CN105159505 A CN 105159505A
- Authority
- CN
- China
- Prior art keywords
- touch
- display interface
- pressure value
- terminal
- operation area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
本发明实施例公开了一种界面操作方法及终端,该方法包括:终端通过触摸显示屏接收针对自身显示界面的触控操作;终端获取触控操作的触控参数,触控参数包括触控压力值;终端根据触控压力值,在显示界面中生成用于选定显示界面中内容的操作区域。采用本发明,能够提高用户触控终端的效率。
The embodiment of the present invention discloses an interface operation method and a terminal. The method includes: the terminal receives a touch operation for its own display interface through a touch screen; the terminal acquires touch parameters of the touch operation, and the touch parameters include touch pressure value; the terminal generates an operation area for selecting content in the display interface on the display interface according to the touch pressure value. By adopting the present invention, the efficiency of the user's touch terminal can be improved.
Description
技术领域technical field
本发明涉及电子技术领域,尤其涉及一种界面操作方法及终端。The present invention relates to the field of electronic technology, in particular to an interface operation method and a terminal.
背景技术Background technique
随着电子终端的不断发展和普及,诸如手机等电子终端已成为人们生活中不可或缺的一部分。用户可以通过手机随时随地的浏览网页、查看图片、翻阅聊天消息等,目前手机的触摸显示屏越做越大,极大地提升了视觉效果,同时也带来了一些问题,例如,用户通过拇指很难触控到触摸显示屏的任意区域,特别是对手掌较小的用户来说,要实现全方位的触控必须两只手协同操作,触控过程繁琐,影响了操作效率。With the continuous development and popularization of electronic terminals, electronic terminals such as mobile phones have become an indispensable part of people's lives. Users can browse the web, view pictures, and browse chat messages anytime and anywhere through mobile phones. Currently, the touch screen of mobile phones is getting bigger and bigger, which greatly improves the visual effect, but it also brings some problems. It is difficult to touch any area of the touch screen, especially for users with small palms. In order to realize all-round touch control, two hands must be operated together. The touch process is cumbersome and affects the operation efficiency.
发明内容Contents of the invention
本发明实施例公开了一种界面操作方法及终端,能够提高用户触控触摸显示屏的显示界面的效率。The embodiment of the present invention discloses an interface operation method and a terminal, which can improve the efficiency of a user touching a display interface of a touch screen.
第一方面,本发明实施例提供了一种界面操作方法,该方法包括:In a first aspect, an embodiment of the present invention provides an interface operation method, the method including:
终端通过触摸显示屏接收针对自身显示界面的触控操作;The terminal receives touch operations on its own display interface through the touch screen;
所述终端获取所述触控操作的触控参数,所述触控参数包括触控压力值;The terminal acquires a touch parameter of the touch operation, where the touch parameter includes a touch pressure value;
所述终端根据所述触控压力值,在所述显示界面中生成用于选定所述显示界面中内容的操作区域。The terminal generates an operation area in the display interface for selecting content in the display interface according to the touch pressure value.
结合第一方面,在第一方面的第一种可能的实现方式中,所述终端根据所述触控压力值,在所述显示界面中生成用于选定所述显示界面中内容的操作区域包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, the terminal generates in the display interface an operation area for selecting content in the display interface according to the touch pressure value include:
所述终端根据预设的压力值与面积大小的对应关系,在所述显示界面中生成所述触控压力值对应的面积大小的操作区域,其中,所述操作区域为所述显示界面的缩小模式。The terminal generates an operation area corresponding to the touch pressure value in the display interface according to the preset correspondence between the pressure value and the area size, wherein the operation area is a reduction of the display interface model.
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述触控参数包括触控轨迹方向;所述终端根据所述触控压力值,在所述显示界面中生成用于选定所述显示界面中内容的操作区域包括:With reference to the first possible implementation of the first aspect, in a second possible implementation of the first aspect, the touch parameter includes a direction of a touch track; the terminal, according to the touch pressure value, The operation area generated in the display interface for selecting the content in the display interface includes:
所述终端判断所述触控轨迹方向与预设方向是否相匹配;The terminal judges whether the direction of the touch track matches a preset direction;
若判断结果为是,则所述终端根据预设的压力值与面积大小的对应关系,在所述显示界面中生成所述触控压力值对应的面积大小的操作区域,其中,所述操作区域为所述显示界面的缩小模式。If the judgment result is yes, the terminal generates an operation area with an area corresponding to the touch pressure value in the display interface according to the preset correspondence between the pressure value and the area size, wherein the operation area A zoomed-out mode for the display interface.
结合第一方面,在第一方面的第三种可能的实现方式中,所述显示界面包含有多个虚拟按钮;所述终端根据所述触控压力值,在所述显示界面中生成用于选定所述显示界面中内容的操作区域包括:With reference to the first aspect, in a third possible implementation manner of the first aspect, the display interface includes a plurality of virtual buttons; The operation area for selecting the content in the display interface includes:
所述终端判断所述触控压力值是否落入预设范围;The terminal determines whether the touch pressure value falls within a preset range;
若判断结果为是,则所述终端在所述显示界面中生成操作区域,其中,所述操作区域中的位置与所述显示界面中的位置存在对应关系;If the judgment result is yes, then the terminal generates an operation area in the display interface, where a position in the operation area corresponds to a position in the display interface;
所述终端接收针对所述操作区域的第一目标位置输入的选择指令;The terminal receives a selection instruction input for the first target position in the operation area;
所述终端根据所述选择指令选定所述显示界面中第二目标位置处的图标,所述第一目标位置与所述第二目标位置相对应。The terminal selects an icon at a second target position in the display interface according to the selection instruction, and the first target position corresponds to the second target position.
结合第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,所述触控参数包括触控轨迹方向;所述终端判断所述触控压力值是否落入预设范围包括:With reference to the third possible implementation of the first aspect, in a fourth possible implementation of the first aspect, the touch parameters include the direction of the touch track; the terminal determines whether the touch pressure value falls Input presets include:
所述终端判断是否所述触控压力值落入预设范围以及所述触控轨迹方向与预设方向相匹配。The terminal determines whether the touch pressure value falls within a preset range and whether the touch track direction matches a preset direction.
结合第一方面,或者第一方面的第一种可能的实现方式,或者第一方面的第二种可能的实现方式,或者第一方面的第三种可能的实现方式,或者第一方面的第四种可能的实现方式,在第一方面的第五种可能的实现方式中,所述触控压力值为所述触控操作开始时施加在所述触摸显示屏上的压力,或者所述触控操作结束时施加在所述触摸显示屏上的压力,或者所述终端根据预设选择算法从所述触控操作施加在所述触摸显示屏上的多个压力值中选取的压力值。In combination with the first aspect, or the first possible implementation of the first aspect, or the second possible implementation of the first aspect, or the third possible implementation of the first aspect, or the first possible implementation of the first aspect Four possible implementation manners. In the fifth possible implementation manner of the first aspect, the touch pressure value is the pressure applied on the touch display screen when the touch operation starts, or the touch The pressure applied on the touch display screen at the end of the touch operation, or the pressure value selected by the terminal from a plurality of pressure values applied on the touch display screen by the touch operation according to a preset selection algorithm.
结合第一方面,或者第一方面的第一种可能的实现方式,或者第一方面的第二种可能的实现方式,或者第一方面的第三种可能的实现方式,或者第一方面的第四种可能的实现方式,在第一方面的第六种可能的实现方式中,所述触控参数包括触控指纹信息;所述方法还包括:In combination with the first aspect, or the first possible implementation of the first aspect, or the second possible implementation of the first aspect, or the third possible implementation of the first aspect, or the first possible implementation of the first aspect Four possible implementation manners. In the sixth possible implementation manner of the first aspect, the touch parameters include touch fingerprint information; the method further includes:
所述终端判断所述触控指纹信息是否与预设指纹信息相匹配;The terminal judges whether the touch fingerprint information matches the preset fingerprint information;
若相匹配,则所述终端执行所述根据所述触控压力值,在所述显示界面中生成用于选定所述显示界面中内容的操作区域的步骤。If they match, the terminal executes the step of generating, in the display interface, an operation area for selecting content in the display interface according to the touch pressure value.
第二方面,本发明实施例提供一种终端,该终端包括:In a second aspect, an embodiment of the present invention provides a terminal, and the terminal includes:
接收单元,用于通过触摸显示屏接收针对自身显示界面的触控操作;The receiving unit is used to receive touch operations on its own display interface through the touch screen;
获取单元,用于获取所述触控操作的触控参数,所述触控参数包括触控压力值;An acquisition unit, configured to acquire touch parameters of the touch operation, where the touch parameters include a touch pressure value;
生成单元,用于根据所述触控压力值,在所述显示界面中生成用于选定所述显示界面中内容的操作区域。A generating unit, configured to generate an operation area in the display interface for selecting content in the display interface according to the touch pressure value.
结合第二方面,在第二方面的第一种可能的实现方式中,所述生成单元具体用于根据预设的压力值与面积大小的对应关系,在所述显示界面中生成所述触控压力值对应的面积大小的操作区域,其中,所述操作区域为所述显示界面的缩小模式。With reference to the second aspect, in a first possible implementation manner of the second aspect, the generating unit is specifically configured to generate the touch screen in the display interface according to a preset correspondence between a pressure value and an area size. An operation area with an area corresponding to the pressure value, wherein the operation area is a reduced mode of the display interface.
结合第二方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述生成单元具体用于判断所述触控轨迹方向与预设方向是否相匹配;若判断结果为是,根据预设的压力值与面积大小的对应关系,在所述显示界面中生成所述触控压力值对应的面积大小的操作区域,其中,所述操作区域为所述显示界面的缩小模式。With reference to the first possible implementation of the second aspect, in the second possible implementation of the first aspect, the generating unit is specifically configured to determine whether the touch track direction matches a preset direction; if If the judgment result is yes, according to the preset correspondence between the pressure value and the size of the area, an operation area corresponding to the touch pressure value is generated in the display interface, wherein the operation area is the display interface zoom out mode.
结合第二方面,在第二方面的第三种可能的实现方式中,所述显示界面包含有多个虚拟按钮;所述生成单元包括:With reference to the second aspect, in a third possible implementation manner of the second aspect, the display interface includes a plurality of virtual buttons; the generating unit includes:
判断子单元,用于判断所述触控压力值是否落入预设范围;a judging subunit, configured to judge whether the touch pressure value falls within a preset range;
生成子单元,用于在所述判断子单元的判断结果为是时,在所述显示界面中生成操作区域,其中,所述操作区域中的位置与所述显示界面中的位置存在对应关系;A generating subunit, configured to generate an operation area in the display interface when the determination result of the determination subunit is yes, wherein a position in the operation area corresponds to a position in the display interface;
接收子单元,用于接收针对所述操作区域的第一目标位置输入的选择指令;a receiving subunit, configured to receive a selection instruction input for the first target position in the operation area;
选定子单元,用于根据所述选择指令选定所述显示界面中第二目标位置处的图标,所述第一目标位置与所述第二目标位置相对应。A selecting subunit, configured to select an icon at a second target position in the display interface according to the selection instruction, the first target position corresponding to the second target position.
结合第二方面的第三种可能的实现方式,在第二方面的第四种可能的实现方式中,所述触控参数包括触控轨迹方向;所述判断子单元具体用于判断是否所述触控压力值落入预设范围以及所述触控轨迹方向与预设方向相匹配。With reference to the third possible implementation of the second aspect, in a fourth possible implementation of the second aspect, the touch parameters include the direction of the touch track; the judging subunit is specifically configured to judge whether the The touch pressure value falls within a preset range and the touch track direction matches a preset direction.
结合第二方面,或者第二方面的第一种可能的实现方式,或者第二方面的第二种可能的实现方式,或者第二方面的第三种可能的实现方式,或者第二方面的第四种可能的实现方式,在第二方面的第五种可能的实现方式中,所述触控压力值为所述触控操作开始时施加在所述触摸显示屏上的压力,或者所述触控操作结束时施加在所述触摸显示屏上的压力,或者所述终端根据预设选择算法从所述触控操作施加在所述触摸显示屏上的多个压力值中选取的压力值。In combination with the second aspect, or the first possible implementation of the second aspect, or the second possible implementation of the second aspect, or the third possible implementation of the second aspect, or the first possible implementation of the second aspect Four possible implementation manners. In the fifth possible implementation manner of the second aspect, the touch pressure value is the pressure applied on the touch display screen when the touch operation starts, or the touch The pressure applied on the touch display screen at the end of the touch operation, or the pressure value selected by the terminal from a plurality of pressure values applied on the touch display screen by the touch operation according to a preset selection algorithm.
结合第二方面,或者第二方面的第一种可能的实现方式,或者第二方面的第二种可能的实现方式,或者第二方面的第三种可能的实现方式,或者第二方面的第四种可能的实现方式,在第二方面的第六种可能的实现方式中,所述触控参数包括触控指纹信息;所述终端还包括:In combination with the second aspect, or the first possible implementation of the second aspect, or the second possible implementation of the second aspect, or the third possible implementation of the second aspect, or the first possible implementation of the second aspect Four possible implementation manners. In a sixth possible implementation manner of the second aspect, the touch parameters include touch fingerprint information; the terminal further includes:
判断单元,用于判断所述触控指纹信息是否与预设指纹信息相匹配;若相匹配,则触发所述生成单元根据所述触控压力值,在所述显示界面中生成用于选定所述显示界面中内容的操作区域。A judging unit, configured to judge whether the touch fingerprint information matches the preset fingerprint information; if they match, trigger the generating unit to generate a fingerprint for selecting in the display interface according to the touch pressure value. An operation area for content in the display interface.
通过实施本发明实施例,获取用户在触摸显示屏上的执行触控操作时施加在触摸显示屏上的压力值,当该压力满目预设条件时,通过触摸显示屏显示一个比全屏显示区域小的操作区域,用户可以在该操作区域中触控全屏显示界面中任意位置,提高了触控效率。By implementing the embodiment of the present invention, the pressure value exerted on the touch display screen by the user when performing a touch operation on the touch display screen is obtained. In the operating area, the user can touch any position in the full-screen display interface in the operating area, which improves the touch efficiency.
进一步地,上述操作区域可以为全屏显示界面的缩小模式,用户在操作界面中触控和全屏显示界面中触控可以达到相同的效果,且该操作区域的区域大小可以由上述压力值决定,用户可以通过调整压力值的大小来调节操作区域的大小,满足了用户的个性化需求;上述操作区域还可以为一个单纯的触控界面,且该触控界面中不包含图标,但是该触控界面中的位置与全屏显示界面中的位置一一对应,用户可以通过触控该触控界面来控制全屏显示界面中的内容;再进一步地,在生成操作界面之前判断触控操作的触控轨迹方向是否与预设方向(如左下角、右下角等)相匹配,若相匹配则生成操作界面,该方案结合了用户的操作习惯,提升了用户体验。再进一步地,在生成操作界面之前,还可以获取用户执行触控操作时的指纹信息,并判断该指纹信息是否与预设的指纹信息相匹配,若相匹配则生成操作界面,提升了终端的安全性能。Further, the above-mentioned operation area can be a zoom-out mode of the full-screen display interface, and the user can achieve the same effect by touching the operation interface and the full-screen display interface, and the size of the operation area can be determined by the above-mentioned pressure value. The size of the operation area can be adjusted by adjusting the pressure value, which meets the individual needs of users; the above operation area can also be a simple touch interface, and the touch interface does not contain icons, but the touch interface The position in is in one-to-one correspondence with the position in the full-screen display interface, and the user can control the content in the full-screen display interface by touching the touch interface; furthermore, before generating the operation interface, determine the touch trajectory direction of the touch operation Whether it matches the preset direction (such as the lower left corner, the lower right corner, etc.), and if it matches, an operation interface is generated. This solution combines the user's operating habits and improves the user experience. Furthermore, before generating the operation interface, it is also possible to obtain the fingerprint information when the user performs a touch operation, and judge whether the fingerprint information matches the preset fingerprint information, and if they match, the operation interface is generated, which improves the security of the terminal. safety performance.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是本发明实施例提供的一种界面操作方法的流程示意图;FIG. 1 is a schematic flowchart of an interface operation method provided by an embodiment of the present invention;
图1A是本发明实施例提供的一种单手操作的场景示意图;FIG. 1A is a schematic diagram of a scene of one-handed operation provided by an embodiment of the present invention;
图2是本发明实施例提供的又一种界面操作方法的流程示意图;Fig. 2 is a schematic flowchart of another interface operation method provided by an embodiment of the present invention;
图3是本发明实施例提供的一种终端的结构示意图;FIG. 3 is a schematic structural diagram of a terminal provided by an embodiment of the present invention;
图3A是本发明实施例提供的一种生成单元的结构示意图;Fig. 3A is a schematic structural diagram of a generating unit provided by an embodiment of the present invention;
图4是本发明实施例提供的又一种终端的结构示意图;FIG. 4 is a schematic structural diagram of another terminal provided by an embodiment of the present invention;
图5是本发明实施例提供的又一种终端的结构示意图。FIG. 5 is a schematic structural diagram of another terminal provided by an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
需要说明的是,在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。另外,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. As used in the embodiments of the present invention and the appended claims, the singular forms "a", "said" and "the" are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items. In addition, the terms "first", "second", "third" and "fourth" in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.
本发明实施例所描述的终端可以是手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(MID,mobileinternetdevice)、可穿戴设备(例如智能手表(如iWatch等)、智能手环、计步器等)或其他可安装部署即时通讯应用客户端的终端设备。The terminal described in the embodiment of the present invention can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a mobile internet device (MID, mobileinternetdevice), a wearable device (such as a smart watch (such as iWatch, etc.), a smart bracelet, a pedometer, etc. etc.) or other terminal devices that can install and deploy instant messaging application clients.
请参见图1,图1是本发明实施例提供的一种界面操作方法的流程示意图,该方法包括但不限于如下步骤。Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of an interface operation method provided by an embodiment of the present invention. The method includes but is not limited to the following steps.
步骤S101:终端通过触摸显示屏接收针对自身显示界面的触控操作。Step S101: the terminal receives a touch operation on its own display interface through the touch screen.
具体地,终端包含触摸显示屏,该触摸显示屏可以感应用户的触控并向用户显示内容信息,显示时的界面即为显示界面。上述触控操作为终端处于显示界面时,用户在触摸显示屏上的点击操作,或者滑动操作,或者持续按压操作等。Specifically, the terminal includes a touch display screen, which can sense a user's touch and display content information to the user, and the interface when displayed is the display interface. The above-mentioned touch operation is a click operation, a slide operation, or a continuous press operation by the user on the touch display screen when the terminal is on the display interface.
步骤S102:终端获取触控操作的触控参数,触控参数包括触控压力值。Step S102: the terminal acquires touch parameters of the touch operation, where the touch parameters include touch pressure values.
具体地,终端对触控操作从开始到结束时的信息(即触控参数)进行记录,触控参数包括但不限于触控压力值,触控压力值为用户施加在触摸显示屏上的压力值,在触控操作持续的一段时间内,终端可能获取到的压力值有很多,但是最终选取作为触控压力值的为该时间段内触摸显示屏感应到的最大的压力值,或者起始时的压力值,或者结束时的压力值,或者通过其他规则选取的一个压力值。Specifically, the terminal records the information (that is, touch parameters) from the beginning to the end of the touch operation. The touch parameters include but not limited to the touch pressure value, and the touch pressure value is the pressure exerted by the user on the touch screen. During a period of time when the touch operation lasts, the terminal may obtain many pressure values, but the final selection as the touch pressure value is the maximum pressure value sensed by the touch screen during this period, or the initial pressure value. The pressure value at the time, or the pressure value at the end, or a pressure value selected by other rules.
步骤S103:终端根据触控压力值,在显示界面中生成用于选定显示界面中内容的操作区域。Step S103: The terminal generates an operation area for selecting content in the display interface on the display interface according to the touch pressure value.
具体地,终端根据触控压力值来生成操作区域,该操作区域具体用于选取显示界面中的部分内容。Specifically, the terminal generates an operation area according to the touch pressure value, and the operation area is specifically used to select part of content in the display interface.
在一种可选的方案中,步骤S103可以具体为:终端根据预设的压力值与面积大小的对应关系,在显示界面中生成触控压力值对应的面积大小的操作区域,其中,操作区域为显示界面的缩小模式。In an optional solution, step S103 may be specifically: the terminal generates an operation area with an area corresponding to the touch pressure value on the display interface according to the preset correspondence between the pressure value and the area size, wherein the operation area A zoomed out mode for the display interface.
也即是说,终端根据触控压力值来生成操作区域,该操作区域为上述显示界面的缩小区域,可以具体显示在触摸显示屏上靠边的区域以便于用户的拇指来触控,操作区域中包含的图标的种类与显示界面相同,只是图标的大小不同;另外,操作区域的大小与触控压力值成正相关,或者负相关(即根据触控压力值按照百分比来缩小)。That is to say, the terminal generates an operation area according to the touch pressure value, and the operation area is a reduced area of the above-mentioned display interface, which can be specifically displayed on the side area of the touch screen so that the user's thumb can touch it. In the operation area The type of icons contained is the same as that of the display interface, except that the size of the icons is different; in addition, the size of the operating area is positively or negatively correlated with the touch pressure value (that is, shrinks according to the percentage of the touch pressure value).
在生成操作区域之前,还可以将该触控压力值与预先设置的一个阈值进行对比,当该触控压力值大于该预设阈值时,才会按照百分比来生成上述操作区域。Before generating the operation area, the touch pressure value may also be compared with a preset threshold, and when the touch pressure value is greater than the preset threshold, the above operation area will be generated according to a percentage.
举例来说,当原来的显示界面包含邮件图标时,根据触控压力值得到的操作区域也包含邮件图标,只是操作区域中的邮件图标比显示界面中的邮件图标稍小;用户点击操作区域中的邮件图标和点击显示界面中的图标达到的效果相同,都能选择该邮件图标(或者触发启动邮件应用)。为了更好地理解本发明的方案,请参照图1A,图1A为一种单手操作的场景示意图;在图1A中,101为显示界面,102为操作区域,103为显示界面101中的图标,104为操作区域102中的图标,触控图标104和触控图标103可以达到相同的效果。For example, when the original display interface contains the mail icon, the operation area obtained according to the touch pressure value also contains the mail icon, but the mail icon in the operation area is slightly smaller than the mail icon in the display interface; The effect of clicking the mail icon in the display interface is the same as that of clicking the icon in the display interface, and the mail icon can be selected (or trigger the start of the mail application). In order to better understand the solution of the present invention, please refer to FIG. 1A, which is a schematic diagram of a one-handed operation scene; in FIG. 1A, 101 is a display interface, 102 is an operation area, and 103 is an icon in the display interface 101 , 104 is an icon in the operation area 102, and the touch icon 104 and the touch icon 103 can achieve the same effect.
在又一种可选的方案中,步骤S103可以具体为:终端判断触控轨迹方向与预设方向是否相匹配;若判断结果为是,则终端根据预设的压力值与面积大小的对应关系,在显示界面中生成触控压力值对应的面积大小的操作区域,其中,操作区域为显示界面的缩小模式。In yet another optional solution, step S103 may specifically be: the terminal judges whether the direction of the touch track matches the preset direction; if the judgment result is yes, the terminal , generating an operation area with an area size corresponding to the touch pressure value in the display interface, wherein the operation area is a zoomed-out mode of the display interface.
也即是说,终端在生成操作区域之前不仅需要对触控操作施加在触摸显示屏上的压力进行分析,还需要对触控操作的触控轨迹方向进行分析,当该触控轨迹方向为预先设定的预设方向(如左下角、右下角等)且触控压力值落入预设范围时,生成操作区域。That is to say, before generating the operation area, the terminal not only needs to analyze the pressure exerted by the touch operation on the touch screen, but also needs to analyze the direction of the touch track of the touch operation. When the preset direction is set (such as the lower left corner, the lower right corner, etc.) and the touch pressure value falls within the preset range, an operation area is generated.
在又一种可选的方案中,显示界面包含有多个虚拟按钮;步骤S103可以具体为:终端判断触控压力值是否落入预设范围;若判断结果为是,则终端在显示界面中生成操作区域,其中,操作区域中的位置与显示界面中的位置存在对应关系;终端接收针对操作区域的第一目标位置输入的选择指令;终端根据选择指令选定显示界面中第二目标位置处的图标,第一目标位置与第二目标位置相对应。In yet another optional solution, the display interface includes a plurality of virtual buttons; step S103 may specifically be: the terminal judges whether the touch pressure value falls within a preset range; if the judgment result is yes, then the terminal Generate an operation area, where there is a corresponding relationship between the position in the operation area and the position in the display interface; the terminal receives a selection instruction input for the first target position in the operation area; the terminal selects the second target position in the display interface according to the selection instruction , the first target position corresponds to the second target position.
也即是说,预设范围为预先设置的压力范围,用于参考对比,该压力范围可以是终端的默认配置,也可以是用户根据需要来自行设置的。该操作区域是一个触控区域,可以显示于触摸显示屏上靠边的区域以使用户可以通过大拇指来控制。该触控区域中可以不包含图标,但是该触控区域中的任一位置在显示界面中都对应有各自的位置,例如,操作区域的左上角对应显示界面的左上角,操作区域的右上角对应显示界面的右上角,操作区域的左下角对应显示界面的左下角,操作区域的右下角对应显示界面的右下角,操作区域的中心点对应显示界面的中心点,其他位置可以参照列举的对应关系来对应,此处不再一一举例。有了上述对应关系之后,用户触控操作区域中的右上角就相当于触控显示界面中的右上角,以此类推。That is to say, the preset range is a preset pressure range for reference comparison. The pressure range can be the default configuration of the terminal, or can be set by the user according to needs. The operation area is a touch area, which can be displayed on the side area of the touch screen so that the user can control it with the thumb. The touch area may not contain icons, but any position in the touch area corresponds to its own position in the display interface. For example, the upper left corner of the operation area corresponds to the upper left corner of the display interface, and the upper right corner of the operation area corresponds to the upper left corner of the display interface. Corresponds to the upper right corner of the display interface, the lower left corner of the operation area corresponds to the lower left corner of the display interface, the lower right corner of the operation area corresponds to the lower right corner of the display interface, and the center point of the operation area corresponds to the center point of the display interface. Corresponding to the relationship, no more examples here. With the above corresponding relationship, the upper right corner of the user touch operation area is equivalent to the upper right corner of the touch display interface, and so on.
用户在操作区域中的第一目标位置处执行触控操作,该触控操作用于触发选择指令。当用户点击的位置不同时,选择指令也不同,该选择指令可以包含用户点击的位置处的触摸显示屏坐标信息,当用户点击第一目标位置时,触发的选择指令包含第一目标位置在触摸显示屏上的坐标信息,以便于终端根据坐标信息在显示界面中找到与第一目标位置对应的位置。The user performs a touch operation at the first target position in the operation area, and the touch operation is used to trigger a selection instruction. When the position clicked by the user is different, the selection instruction is also different. The selection instruction may contain the coordinate information of the touch screen at the position clicked by the user. When the user clicks the first target position, the triggered selection command contains Coordinate information on the display screen, so that the terminal can find the position corresponding to the first target position in the display interface according to the coordinate information.
第二目标位置为终端从显示界面中查找到的与上述第一目标位置相对应的位置,在上述显示界面中显示有图标,其中,第二目标位置处显示有图标;当用户触控了第一目标位置时,终端直接选定第二目标位置处的图标,选择该图标的具体方式可以是触发该图标对应的应用程序,也可以是对该图标进行标记等。The second target position is the position corresponding to the above-mentioned first target position found by the terminal from the display interface, and an icon is displayed on the above-mentioned display interface, wherein, an icon is displayed at the second target position; when the user touches the second target position At the first target position, the terminal directly selects the icon at the second target position. The specific manner of selecting the icon may be to trigger the application program corresponding to the icon, or to mark the icon.
进一步地,触控参数包括触控轨迹方向;终端判断触控压力值是否落入预设范围包括:终端判断是否触控压力值落入预设范围以及触控轨迹方向与预设方向相匹配。Further, the touch parameter includes a touch track direction; the terminal judging whether the touch pressure value falls within a preset range includes: the terminal judging whether the touch pressure value falls within a preset range and the touch track direction matches the preset direction.
也即是说,终端在生成操作区域之前不仅需要对触控操作施加在触摸显示屏上的压力进行分析,还需要对触控操作的触控轨迹方向进行分析(此时可以视触控操作为滑动操作后者拉动操作),当该触控轨迹方向为预先设定的预设方向(如左下角、右下角等)且触控压力值落入预设范围时,生成操作区域。举例来说,一个矩形的触摸显示屏包含四个边,按顺时针来看依次为第一边,第二边,第三边和第四边,其中,当触控操作的触控轨迹垂直于第一边时,触控轨迹方向与参考线之间的角度为0°,当触控操作的触控轨迹垂直于第二边时,触控轨迹方向与参考线的角度为90°,当触控操作的触控轨迹垂直于第三边时,触控轨迹方向与参考线的角度为180°,当触控操作的触控轨迹垂直于第四边时,触控轨迹方向与参考线的角度为270°,那么可以通过触控轨迹方向与参考线的角度的范围来定义预设方向,例如,定义当触控轨迹方向与参考线的角度为22.5°~67.5°或者112.5°~157.5°之间时,触控轨迹方向为预设方向。当然预设方向应当根据实际需要来确定,不受上述举例的限制。That is to say, before generating the operation area, the terminal not only needs to analyze the pressure exerted by the touch operation on the touch screen, but also needs to analyze the direction of the touch track of the touch operation (at this time, the touch operation can be regarded as Sliding operation and pulling operation), when the direction of the touch track is a preset direction (such as the lower left corner, the lower right corner, etc.) and the touch pressure value falls within the preset range, an operation area is generated. For example, a rectangular touch display screen includes four sides, which are the first side, the second side, the third side and the fourth side in a clockwise order, wherein, when the touch track of the touch operation is perpendicular to On the first side, the angle between the direction of the touch track and the reference line is 0°. When the touch track of the touch operation is perpendicular to the second side, the angle between the direction of the touch track and the reference line is 90°. When the touch track of the touch operation is perpendicular to the third side, the angle between the direction of the touch track and the reference line is 180°; when the touch track of the touch operation is perpendicular to the fourth side, the angle between the direction of the touch track and the reference line is 180°. is 270°, then the preset direction can be defined by the range of the angle between the direction of the touch track and the reference line. time, the direction of the touch track is the preset direction. Of course, the preset direction should be determined according to actual needs, and is not limited by the above examples.
在又一种可选的方案中,触控压力值为触控操作开始时施加在触摸显示屏上的压力,或者触控操作结束时施加在触摸显示屏上的压力,或者终端根据预设选择算法从触控操作施加在触摸显示屏上的多个压力值中选取的压力值。In yet another optional solution, the touch pressure value is the pressure applied on the touch display when the touch operation starts, or the pressure applied on the touch display when the touch operation ends, or the terminal selects The algorithm selects a pressure value from a plurality of pressure values exerted on the touch screen by the touch operation.
可选的,上述预设选取算法可以为选取最大压力值的算法,在执行触控操作的过程中,终端在不同时刻检测到的压力值的大小不同,那么终端可以通过该算法从多个压力值中选择出最大的压力值作为触控压力值。Optionally, the above-mentioned preset selection algorithm may be an algorithm for selecting the maximum pressure value. During the touch operation, the terminal detects different pressure values at different times, so the terminal can select from multiple pressure values through this algorithm. Select the maximum pressure value from the values as the touch pressure value.
在图1所描述的方法中,终端获取用户在触摸显示屏上的执行触控操作时施加在触摸显示屏上的压力值,当该压力满目预设条件时,通过触摸显示屏显示一个比全屏显示区域小的操作区域,用户可以在该操作区域中触控全屏显示界面中任意位置,提高了触控效率。In the method described in Figure 1, the terminal obtains the pressure value that the user exerts on the touch display screen when performing a touch operation on the touch display screen. In the operation area with a small display area, the user can touch any position in the full-screen display interface in the operation area, which improves the touch efficiency.
进一步地,上述操作区域可以为全屏显示界面的缩小模式,用户在操作界面中触控和全屏显示界面中触控可以达到相同的效果,且该操作区域的区域大小可以由上述压力值决定,用户可以通过调整压力值的大小来调节操作区域的大小,满足了用户的个性化需求;上述操作区域还可以为一个单纯的触控界面,且该触控界面中不包含图标,但是该触控界面中的位置与全屏显示界面中的位置一一对应,用户可以通过触控该触控界面来控制全屏显示界面中的内容;再进一步地,在生成操作界面之前判断触控操作的触控轨迹方向是否与预设方向(如左下角、右下角等)相匹配,若相匹配则生成操作界面,该方案结合了用户的操作习惯,提升了用户体验。Further, the above-mentioned operation area can be a zoom-out mode of the full-screen display interface, and the user can achieve the same effect by touching the operation interface and the full-screen display interface, and the size of the operation area can be determined by the above-mentioned pressure value. The size of the operation area can be adjusted by adjusting the pressure value, which meets the individual needs of users; the above operation area can also be a simple touch interface, and the touch interface does not contain icons, but the touch interface The position in is in one-to-one correspondence with the position in the full-screen display interface, and the user can control the content in the full-screen display interface by touching the touch interface; furthermore, before generating the operation interface, determine the touch trajectory direction of the touch operation Whether it matches the preset direction (such as the lower left corner, the lower right corner, etc.), and if it matches, an operation interface is generated. This solution combines the user's operating habits and improves the user experience.
请参见图2,图2是本发明实施例提供的又一种界面操作方法的流程示意图,进一步地结合指纹验证来进行界面操作;该方法包括但不限于如下步骤。Please refer to FIG. 2. FIG. 2 is a schematic flowchart of another interface operation method provided by an embodiment of the present invention, which further combines fingerprint verification for interface operation; the method includes but is not limited to the following steps.
步骤S201:终端通过触摸显示屏接收针对自身显示界面的触控操作。Step S201: the terminal receives a touch operation on its own display interface through the touch screen.
具体地,步骤S201可以对应参照步骤S101,此处不再赘述。Specifically, step S201 may refer to step S101 correspondingly, which will not be repeated here.
步骤S202:终端获取触控操作的触控参数,触控参数包括触控压力值和触控指纹信息。Step S202: The terminal acquires touch parameters of the touch operation, the touch parameters include touch pressure value and touch fingerprint information.
具体地,步骤S202可以对应参照步骤S102。进一步地,终端获取的触控参数还包括触控指纹信息。Specifically, step S202 may refer to step S102 correspondingly. Further, the touch parameters obtained by the terminal also include touch fingerprint information.
步骤S203:终端判断触控指纹信息是否与预设指纹信息相匹配。Step S203: the terminal judges whether the touch fingerprint information matches the preset fingerprint information.
具体地,触摸显示屏中设置有指纹采集模块,用户在触摸显示屏上执行触控操作时,触摸显示屏能够即时获取到用户的触控指纹信息,然后由终端将该触控指纹信息与预先存储的预设指纹信息进行比对,以判断二者是否匹配。Specifically, the touch screen is provided with a fingerprint acquisition module. When the user performs a touch operation on the touch screen, the touch screen can obtain the user's touch fingerprint information in real time, and then the terminal combines the touch fingerprint information with the pre-set The stored preset fingerprint information is compared to determine whether the two match.
进一步地,预设指纹可以是指一个手指的指纹,也可以是多个手指的指纹,如果是多个指纹,那么在进行匹配时,只需要与其中一个指纹相匹配则认为是相匹配的。Further, the preset fingerprint may refer to the fingerprint of one finger, or the fingerprints of multiple fingers. If there are multiple fingerprints, only one of the fingerprints needs to be matched to be considered as a match when matching.
步骤S204:若相匹配,则终端根据触控压力值,在显示界面中生成用于选定显示界面中内容的操作区域。Step S204: If they match, the terminal generates an operation area in the display interface for selecting content in the display interface according to the touch pressure value.
具体地,步骤S204可以对应参照步骤S103,此处不再赘述。Specifically, step S204 may refer to step S103 correspondingly, which will not be repeated here.
在图2所描述的方法中,终端获取用户在触摸显示屏上的执行触控操作时施加在触摸显示屏上的压力值,当该压力满目预设条件时,通过触摸显示屏显示一个比全屏显示区域小的操作区域,用户可以在该操作区域中触控全屏显示界面中任意位置,提高了触控效率。In the method described in Figure 2, the terminal acquires the pressure value that the user exerts on the touch screen when performing a touch operation on the touch screen. In the operation area with a small display area, the user can touch any position in the full-screen display interface in the operation area, which improves the touch efficiency.
进一步地,上述操作区域可以为全屏显示界面的缩小模式,用户在操作界面中触控和全屏显示界面中触控可以达到相同的效果,且该操作区域的区域大小可以由上述压力值决定,用户可以通过调整压力值的大小来调节操作区域的大小,满足了用户的个性化需求;上述操作区域还可以为一个单纯的触控界面,且该触控界面中不包含图标,但是该触控界面中的位置与全屏显示界面中的位置一一对应,用户可以通过触控该触控界面来控制全屏显示界面中的内容;再进一步地,在生成操作界面之前判断触控操作的触控轨迹方向是否与预设方向(如左下角、右下角等)相匹配,若相匹配则生成操作界面,该方案结合了用户的操作习惯,提升了用户体验。再进一步地,在生成操作界面之前,还可以获取用户执行触控操作时的指纹信息,并判断该指纹信息是否与预设的指纹信息相匹配,若相匹配则生成操作界面,提升了终端的安全性能。Further, the above-mentioned operation area can be a zoom-out mode of the full-screen display interface, and the user can achieve the same effect by touching the operation interface and the full-screen display interface, and the size of the operation area can be determined by the above-mentioned pressure value. The size of the operation area can be adjusted by adjusting the pressure value, which meets the individual needs of users; the above operation area can also be a simple touch interface, and the touch interface does not contain icons, but the touch interface The position in is in one-to-one correspondence with the position in the full-screen display interface, and the user can control the content in the full-screen display interface by touching the touch interface; furthermore, before generating the operation interface, determine the touch trajectory direction of the touch operation Whether it matches the preset direction (such as the lower left corner, the lower right corner, etc.), and if it matches, an operation interface is generated. This solution combines the user's operating habits and improves the user experience. Furthermore, before generating the operation interface, it is also possible to obtain the fingerprint information when the user performs a touch operation, and judge whether the fingerprint information matches the preset fingerprint information, and if they match, the operation interface is generated, which improves the security of the terminal. safety performance.
上述详细阐述了本发明实施例的方法,为了便于更好地实施本发明实施例的上述方案,相应地,下面提供了本发明实施例的装置。The method of the embodiment of the present invention has been described in detail above. In order to facilitate better implementation of the above solution of the embodiment of the present invention, correspondingly, the following provides the device of the embodiment of the present invention.
请参见图3,图3是本发明实施例提供的一种终端30的结构示意图,该终端30可以包括接收单元301、获取单元302和生成单元303,其中,各个单元的详细描述如下。Please refer to FIG. 3 . FIG. 3 is a schematic structural diagram of a terminal 30 provided by an embodiment of the present invention. The terminal 30 may include a receiving unit 301 , an acquiring unit 302 and a generating unit 303 , where each unit is described in detail as follows.
接收单元301用于通过触摸显示屏接收针对自身显示界面的触控操作;The receiving unit 301 is configured to receive touch operations on its own display interface through the touch screen;
获取单元302用于获取触控操作的触控参数,触控参数包括触控压力值;The acquiring unit 302 is configured to acquire a touch parameter of a touch operation, where the touch parameter includes a touch pressure value;
生成单元303用于根据触控压力值,在显示界面中生成用于选定显示界面中内容的操作区域。The generating unit 303 is configured to generate an operation area in the display interface for selecting content in the display interface according to the touch pressure value.
在一种可选的方案中,生成单元303具体用于根据预设的压力值与面积大小的对应关系,在显示界面中生成触控压力值对应的面积大小的操作区域,其中,操作区域为显示界面的缩小模式。In an optional solution, the generation unit 303 is specifically configured to generate an operation area corresponding to an area size corresponding to a touch pressure value in the display interface according to a preset correspondence between a pressure value and an area size, wherein the operation area is The zoomed out mode of the display interface.
在又一种可选的方案中,显示界面包含有多个虚拟按钮;生成单元303的结构可以如图3A所示,在图3A中,生成单元303包括判断子单元3031、生成子单元3032、接收子单元3033和选定子单元3034,其中,各个子单元的详细描述如下。In yet another optional solution, the display interface includes a plurality of virtual buttons; the structure of the generating unit 303 can be as shown in FIG. 3A. In FIG. The receiving subunit 3033 and the selecting subunit 3034, wherein the detailed description of each subunit is as follows.
判断子单元3031用于判断触控压力值是否落入预设范围;The judging subunit 3031 is used to judge whether the touch pressure value falls within a preset range;
生成子单元3032用于在判断子单元3031的判断结果为是时,在显示界面中生成操作区域,其中,操作区域中的位置与显示界面中的位置存在对应关系;The generation subunit 3032 is used to generate an operation area in the display interface when the determination result of the determination subunit 3031 is Yes, wherein there is a corresponding relationship between the position in the operation area and the position in the display interface;
接收子单元3033用于接收针对操作区域的第一目标位置输入的选择指令;The receiving subunit 3033 is configured to receive a selection instruction input for the first target position of the operation area;
选定子单元3034用于根据选择指令选定显示界面中第二目标位置处的图标,第一目标位置与第二目标位置相对应。The selection subunit 3034 is configured to select the icon at the second target position in the display interface according to the selection instruction, and the first target position corresponds to the second target position.
进一步地,触控参数包括触控轨迹方向;判断子单元3031具体用于判断是否触控压力值落入预设范围以及触控轨迹方向与预设方向相匹配。Further, the touch parameter includes the direction of the touch track; the determination subunit 3031 is specifically used to determine whether the touch pressure value falls within a preset range and whether the touch track direction matches the preset direction.
需要说明的是,在本发明实施例中,各个单元的具体实现还可以对应参照图1所示的方法实施例的相应描述。It should be noted that, in the embodiment of the present invention, the specific implementation of each unit may also refer to the corresponding description of the method embodiment shown in FIG. 1 .
在图3所描述的终端30中,终端30获取用户在触摸显示屏上的执行触控操作时施加在触摸显示屏上的压力值,当该压力满目预设条件时,通过触摸显示屏显示一个比全屏显示区域小的操作区域,用户可以在该操作区域中触控全屏显示界面中任意位置,提高了触控效率。In the terminal 30 described in FIG. 3 , the terminal 30 acquires the pressure value exerted on the touch screen by the user when performing a touch operation on the touch screen, and when the pressure meets the preset conditions, a The operation area is smaller than the full-screen display area, and the user can touch any position in the full-screen display interface in the operation area, which improves the touch efficiency.
进一步地,上述操作区域可以为全屏显示界面的缩小模式,用户在操作界面中触控和全屏显示界面中触控可以达到相同的效果,且该操作区域的区域大小可以由上述压力值决定,用户可以通过调整压力值的大小来调节操作区域的大小,满足了用户的个性化需求;上述操作区域还可以为一个单纯的触控界面,且该触控界面中不包含图标,但是该触控界面中的位置与全屏显示界面中的位置一一对应,用户可以通过触控该触控界面来控制全屏显示界面中的内容;再进一步地,在生成操作界面之前判断触控操作的触控轨迹方向是否与预设方向(如左下角、右下角等)相匹配,若相匹配则生成操作界面,该方案结合了用户的操作习惯,提升了用户体验。Further, the above-mentioned operation area can be a zoom-out mode of the full-screen display interface, and the user can achieve the same effect by touching the operation interface and the full-screen display interface, and the size of the operation area can be determined by the above-mentioned pressure value. The size of the operation area can be adjusted by adjusting the pressure value, which meets the individual needs of users; the above operation area can also be a simple touch interface, and the touch interface does not contain icons, but the touch interface The position in is in one-to-one correspondence with the position in the full-screen display interface, and the user can control the content in the full-screen display interface by touching the touch interface; furthermore, before generating the operation interface, determine the touch trajectory direction of the touch operation Whether it matches the preset direction (such as the lower left corner, the lower right corner, etc.), and if it matches, an operation interface is generated. This solution combines the user's operating habits and improves the user experience.
请参见图4,图4是本发明实施例提供的又一种终端30的结构示意图,该终端30除了包括接收单元301、获取单元302和生产单元303外,还可以包括判断单元304,判断单元304用于判断触控指纹信息是否与预设指纹信息相匹配;若相匹配,则触发生成单元根据触控压力值,在显示界面中生成用于选定显示界面中内容的操作区域。Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of another terminal 30 provided by an embodiment of the present invention. In addition to the receiving unit 301, the obtaining unit 302 and the production unit 303, the terminal 30 may also include a judging unit 304. The judging unit 304 is used to determine whether the touch fingerprint information matches the preset fingerprint information; if they match, the trigger generation unit generates an operation area for selecting content in the display interface in the display interface according to the touch pressure value.
需要说明的是,在本发明实施例中,各个单元的具体实现还可以对应参照图2所示的方法实施例的相应描述。It should be noted that, in the embodiment of the present invention, the specific implementation of each unit may also refer to the corresponding description of the method embodiment shown in FIG. 2 .
在图4所描述的终端30中,终端30用户在触摸显示屏上的执行触控操作时施加在触摸显示屏上的压力值,当该压力满目预设条件时,通过触摸显示屏显示一个比全屏显示区域小的操作区域,用户可以在该操作区域中触控全屏显示界面中任意位置,提高了触控效率。In the terminal 30 described in FIG. 4 , the pressure value exerted on the touch screen by the user of the terminal 30 when performing a touch operation on the touch screen, when the pressure meets the preset condition, a ratio is displayed on the touch screen. In the operation area with a small full-screen display area, the user can touch any position in the full-screen display interface in the operation area, which improves the touch efficiency.
进一步地,上述操作区域可以为全屏显示界面的缩小模式,用户在操作界面中触控和全屏显示界面中触控可以达到相同的效果,且该操作区域的区域大小可以由上述压力值决定,用户可以通过调整压力值的大小来调节操作区域的大小,满足了用户的个性化需求;上述操作区域还可以为一个单纯的触控界面,且该触控界面中不包含图标,但是该触控界面中的位置与全屏显示界面中的位置一一对应,用户可以通过触控该触控界面来控制全屏显示界面中的内容;再进一步地,在生成操作界面之前判断触控操作的触控轨迹方向是否与预设方向(如左下角、右下角等)相匹配,若相匹配则生成操作界面,该方案结合了用户的操作习惯,提升了用户体验。再进一步地,在生成操作界面之前,还可以获取用户执行触控操作时的指纹信息,并判断该指纹信息是否与预设的指纹信息相匹配,若相匹配则生成操作界面,提升了终端30的安全性能。Further, the above-mentioned operation area can be a zoom-out mode of the full-screen display interface, and the user can achieve the same effect by touching the operation interface and the full-screen display interface, and the size of the operation area can be determined by the above-mentioned pressure value. The size of the operation area can be adjusted by adjusting the pressure value, which meets the individual needs of users; the above operation area can also be a simple touch interface, and the touch interface does not contain icons, but the touch interface The position in is in one-to-one correspondence with the position in the full-screen display interface, and the user can control the content in the full-screen display interface by touching the touch interface; furthermore, before generating the operation interface, determine the touch trajectory direction of the touch operation Whether it matches the preset direction (such as the lower left corner, the lower right corner, etc.), and if it matches, an operation interface is generated. This solution combines the user's operating habits and improves the user experience. Furthermore, before generating the operation interface, it is also possible to obtain the fingerprint information when the user performs a touch operation, and judge whether the fingerprint information matches the preset fingerprint information, and if they match, generate the operation interface, which improves the terminal 30. safety performance.
请参照图5,图5是本发明实施例提供的另一种终端50的结构示意图,该终端50可以包括:至少一个存储器501、基带芯片502、射频模块503、外围系统504、传感器505和通信总线506。其中,存储器501用于存储操作系统、网络通信程序、用户接口程序、控制程序等;基带芯片502包括至少一个处理器5021,例如CPU,时钟模块5022和电源管理模块5023;外围系统504包括摄像头控制器5042、音频控制器5043、触摸显示屏控制器5044和传感器管理模块5045,相应地,还包括摄像头5047、音频电路5048和触摸显示屏5049;进一步地,传感器505可以包括光线传感器、位移传感器、加速度传感器、指纹传感器等,总而言之,传感器505可以视实际需要来增加或者减少;存储器501可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatilememory),例如至少一个磁盘存储器。存储器505可选的还可以是至少一个位于远离前述处理器5021的存储装置。Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of another terminal 50 provided by an embodiment of the present invention. The terminal 50 may include: at least one memory 501, a baseband chip 502, a radio frequency module 503, a peripheral system 504, a sensor 505 and a communication bus 506 . Wherein, memory 501 is used for storing operating system, network communication program, user interface program, control program, etc.; Baseband chip 502 includes at least one processor 5021, such as CPU, clock module 5022 and power management module 5023; Peripheral system 504 includes camera control Controller 5042, audio controller 5043, touch display controller 5044 and sensor management module 5045, correspondingly, also includes camera 5047, audio circuit 5048 and touch display 5049; further, sensor 505 may include light sensor, displacement sensor, Acceleration sensor, fingerprint sensor, etc., in a word, the sensor 505 can be increased or decreased according to actual needs; the memory 501 can be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory 505 may also be at least one storage device located away from the aforementioned processor 5021 .
在图5所示的终端50中,处理器5021可以用于调用存储器501中存储的控制程序,并执行以下操作:In the terminal 50 shown in FIG. 5, the processor 5021 can be used to call the control program stored in the memory 501, and perform the following operations:
处理器5021通过触摸显示屏5049接收针对自身显示界面的触控操作;The processor 5021 receives a touch operation on its own display interface through the touch screen 5049;
处理器5021获取触控操作的触控参数,触控参数包括触控压力值;The processor 5021 acquires a touch parameter of a touch operation, where the touch parameter includes a touch pressure value;
处理器5021根据触控压力值,在显示界面中生成用于选定显示界面中内容的操作区域。The processor 5021 generates an operation area in the display interface for selecting content in the display interface according to the touch pressure value.
可选的,处理器5021根据触控压力值,在显示界面中生成用于选定显示界面中内容的操作区域包括:Optionally, the processor 5021 generates in the display interface an operation area for selecting content in the display interface according to the touch pressure value, including:
处理器5021根据预设的压力值与面积大小的对应关系,在显示界面中生成触控压力值对应的面积大小的操作区域,其中,操作区域为显示界面的缩小模式。The processor 5021 generates an operation area corresponding to the touch pressure value in the display interface according to the preset corresponding relationship between the pressure value and the area size, wherein the operation area is a zoomed-out mode of the display interface.
可选的,显示界面包含有多个虚拟按钮;处理器5021根据触控压力值,在显示界面中生成用于选定显示界面中内容的操作区域包括:Optionally, the display interface includes a plurality of virtual buttons; the processor 5021 generates in the display interface an operation area for selecting content in the display interface according to the touch pressure value, including:
处理器5021判断触控压力值是否落入预设范围;The processor 5021 determines whether the touch pressure value falls within a preset range;
若判断结果为是,则处理器5021在显示界面中生成操作区域,其中,操作区域中的位置与显示界面中的位置存在对应关系;If the judgment result is yes, the processor 5021 generates an operation area in the display interface, wherein there is a corresponding relationship between the position in the operation area and the position in the display interface;
处理器5021接收针对操作区域的第一目标位置输入的选择指令;The processor 5021 receives a selection instruction input for the first target position in the operation area;
处理器5021根据选择指令选定显示界面中第二目标位置处的图标,第一目标位置与第二目标位置相对应。The processor 5021 selects the icon at the second target position on the display interface according to the selection instruction, and the first target position corresponds to the second target position.
可选的,触控参数包括触控轨迹方向;处理器5021判断触控压力值是否落入预设范围包括:Optionally, the touch parameters include the direction of the touch track; the processor 5021 judging whether the touch pressure value falls within a preset range includes:
处理器5021判断是否触控压力值落入预设范围以及触控轨迹方向与预设方向相匹配。The processor 5021 determines whether the touch pressure value falls within a preset range and whether the touch track direction matches the preset direction.
可选的,触控参数包括触控轨迹方向;处理器5021根据触控压力值,在显示界面中生成用于选定显示界面中内容的操作区域包括:Optionally, the touch parameter includes the direction of the touch track; the processor 5021 generates in the display interface an operation area for selecting content in the display interface according to the touch pressure value, including:
处理器5021判断是否触控压力值落入预设范围以及触控轨迹方向与预设方向相匹配;The processor 5021 determines whether the touch pressure value falls within a preset range and whether the touch track direction matches the preset direction;
若判断结果为是,则处理器5021在显示界面中生成操作区域,操作区域为显示区域的缩小模式。If the determination result is yes, the processor 5021 generates an operation area on the display interface, and the operation area is a zoomed-out mode of the display area.
可选的,触控压力值为触控操作开始时施加在触摸显示屏5049上的压力,或者触控操作结束时施加在触摸显示屏5049上的压力,或者终端50根据预设选择算法从触控操作施加在触摸显示屏5049上的多个压力值中选取的压力值。Optionally, the touch pressure value is the pressure applied on the touch display 5049 when the touch operation starts, or the pressure applied on the touch display 5049 when the touch operation ends, or the terminal 50 selects from the touch screen according to a preset selection algorithm. The pressure value selected from the multiple pressure values applied on the touch screen 5049 by the control operation.
可选的,触控参数包括触控指纹信息;方法还包括:Optionally, the touch parameters include touch fingerprint information; the method also includes:
处理器5021判断触控指纹信息是否与预设指纹信息相匹配;The processor 5021 determines whether the touch fingerprint information matches the preset fingerprint information;
若相匹配,则处理器5021执行根据触控压力值,在显示界面中生成用于选定显示界面中内容的操作区域的步骤。If they match, the processor 5021 executes the step of generating an operation area in the display interface for selecting content in the display interface according to the touch pressure value.
综上所述,通过实施本发明实施例,终端获取用户在触摸显示屏上的执行触控操作时施加在触摸显示屏上的压力值,当该压力满目预设条件时,通过触摸显示屏显示一个比全屏显示区域小的操作区域,用户可以在该操作区域中触控全屏显示界面中任意位置,提高了触控效率。To sum up, by implementing the embodiment of the present invention, the terminal obtains the pressure value that the user exerts on the touch screen when performing a touch operation on the touch screen. An operation area smaller than the full-screen display area, in which the user can touch any position in the full-screen display interface, which improves touch efficiency.
进一步地,上述操作区域可以为全屏显示界面的缩小模式,用户在操作界面中触控和全屏显示界面中触控可以达到相同的效果,且该操作区域的区域大小可以由上述压力值决定,用户可以通过调整压力值的大小来调节操作区域的大小,满足了用户的个性化需求;上述操作区域还可以为一个单纯的触控界面,且该触控界面中不包含图标,但是该触控界面中的位置与全屏显示界面中的位置一一对应,用户可以通过触控该触控界面来控制全屏显示界面中的内容;再进一步地,在生成操作界面之前判断触控操作的触控轨迹方向是否与预设方向(如左下角、右下角等)相匹配,若相匹配则生成操作界面,该方案结合了用户的操作习惯,提升了用户体验。再进一步地,在生成操作界面之前,还可以获取用户执行触控操作时的指纹信息,并判断该指纹信息是否与预设的指纹信息相匹配,若相匹配则生成操作界面,提升了终端的安全性能。Further, the above-mentioned operation area can be a zoom-out mode of the full-screen display interface, and the user can achieve the same effect by touching the operation interface and the full-screen display interface, and the size of the operation area can be determined by the above-mentioned pressure value. The size of the operation area can be adjusted by adjusting the pressure value, which meets the individual needs of users; the above operation area can also be a simple touch interface, and the touch interface does not contain icons, but the touch interface The position in is in one-to-one correspondence with the position in the full-screen display interface, and the user can control the content in the full-screen display interface by touching the touch interface; furthermore, before generating the operation interface, determine the touch trajectory direction of the touch operation Whether it matches the preset direction (such as the lower left corner, the lower right corner, etc.), and if it matches, an operation interface is generated. This solution combines the user's operating habits and improves the user experience. Furthermore, before generating the operation interface, it is also possible to obtain the fingerprint information when the user performs a touch operation, and judge whether the fingerprint information matches the preset fingerprint information, and if they match, the operation interface is generated, which improves the security of the terminal. safety performance.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-OnlyMemory,ROM)或随机存储记忆体(RandomAccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。What is disclosed above is only a preferred embodiment of the present invention, and of course it cannot limit the scope of rights of the present invention. Those of ordinary skill in the art can understand all or part of the process for realizing the above embodiments, and according to the rights of the present invention The equivalent changes required still belong to the scope covered by the invention.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510639915.1A CN105159505B (en) | 2015-09-29 | 2015-09-29 | An interface operation method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510639915.1A CN105159505B (en) | 2015-09-29 | 2015-09-29 | An interface operation method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105159505A true CN105159505A (en) | 2015-12-16 |
CN105159505B CN105159505B (en) | 2019-03-15 |
Family
ID=54800383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510639915.1A Expired - Fee Related CN105159505B (en) | 2015-09-29 | 2015-09-29 | An interface operation method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105159505B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105487781A (en) * | 2016-01-29 | 2016-04-13 | 广东欧珀移动通信有限公司 | Screen capture method and terminal device |
CN105549822A (en) * | 2015-12-24 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Icon moving method and mobile terminal |
CN105677081A (en) * | 2015-12-28 | 2016-06-15 | 广东欧珀移动通信有限公司 | Touch control method and terminal device |
CN106569707A (en) * | 2016-10-21 | 2017-04-19 | 深圳众思科技有限公司 | Touch control screen-based touch control shielding method and terminal |
CN106775411A (en) * | 2016-12-24 | 2017-05-31 | 珠海市魅族科技有限公司 | Display control method and system |
CN106951767A (en) * | 2017-04-28 | 2017-07-14 | 广东欧珀移动通信有限公司 | Solve lock control method and Related product |
CN106997260A (en) * | 2017-03-29 | 2017-08-01 | 努比亚技术有限公司 | Mobile terminal and mobile terminal application icon display methods |
WO2017128483A1 (en) * | 2016-01-29 | 2017-08-03 | 宇龙计算机通信科技(深圳)有限公司 | Method and apparatus for visual display based on touch control pressure |
WO2017166734A1 (en) * | 2016-03-31 | 2017-10-05 | 中兴通讯股份有限公司 | Method, apparatus, and terminal equipment for content selection |
WO2017185264A1 (en) * | 2016-04-27 | 2017-11-02 | 华为技术有限公司 | Interface element selection method and apparatus, and terminal |
CN108446044A (en) * | 2017-02-16 | 2018-08-24 | 希迪普公司 | Touch input device |
CN112381545A (en) * | 2020-11-20 | 2021-02-19 | 惠州Tcl移动通信有限公司 | Identity authentication method, device, equipment and storage medium |
WO2021057203A1 (en) * | 2019-09-24 | 2021-04-01 | 华为技术有限公司 | Operation method and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103164086A (en) * | 2013-03-15 | 2013-06-19 | 创维光电科技(深圳)有限公司 | Touch display method and device based on infrared touch screen and infrared touch screen |
CN103210367A (en) * | 2012-09-29 | 2013-07-17 | 华为终端有限公司 | Electronic apparatus and method for controlling display object scaling |
US8542207B1 (en) * | 2011-09-27 | 2013-09-24 | Cosmin Truta | Pencil eraser gesture and gesture recognition method for touch-enabled user interfaces |
CN103576836A (en) * | 2013-11-18 | 2014-02-12 | 广东欧珀移动通信有限公司 | Touch mobile terminal and power saving control method thereof |
CN104423791A (en) * | 2013-09-10 | 2015-03-18 | 联想(北京)有限公司 | Information processing method and electronic device |
-
2015
- 2015-09-29 CN CN201510639915.1A patent/CN105159505B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8542207B1 (en) * | 2011-09-27 | 2013-09-24 | Cosmin Truta | Pencil eraser gesture and gesture recognition method for touch-enabled user interfaces |
CN103210367A (en) * | 2012-09-29 | 2013-07-17 | 华为终端有限公司 | Electronic apparatus and method for controlling display object scaling |
CN103164086A (en) * | 2013-03-15 | 2013-06-19 | 创维光电科技(深圳)有限公司 | Touch display method and device based on infrared touch screen and infrared touch screen |
CN104423791A (en) * | 2013-09-10 | 2015-03-18 | 联想(北京)有限公司 | Information processing method and electronic device |
CN103576836A (en) * | 2013-11-18 | 2014-02-12 | 广东欧珀移动通信有限公司 | Touch mobile terminal and power saving control method thereof |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105549822A (en) * | 2015-12-24 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Icon moving method and mobile terminal |
CN105549822B (en) * | 2015-12-24 | 2018-12-25 | 宇龙计算机通信科技(深圳)有限公司 | A kind of icon moving method and mobile terminal |
CN105677081B (en) * | 2015-12-28 | 2018-07-06 | 广东欧珀移动通信有限公司 | A kind of touch control method and terminal device |
CN105677081A (en) * | 2015-12-28 | 2016-06-15 | 广东欧珀移动通信有限公司 | Touch control method and terminal device |
CN105487781A (en) * | 2016-01-29 | 2016-04-13 | 广东欧珀移动通信有限公司 | Screen capture method and terminal device |
CN105487781B (en) * | 2016-01-29 | 2018-12-04 | 广东欧珀移动通信有限公司 | A kind of screenshot method and terminal device |
WO2017128483A1 (en) * | 2016-01-29 | 2017-08-03 | 宇龙计算机通信科技(深圳)有限公司 | Method and apparatus for visual display based on touch control pressure |
CN107025047A (en) * | 2016-01-29 | 2017-08-08 | 宇龙计算机通信科技(深圳)有限公司 | A kind of visual display method and device based on touch-control pressure |
WO2017166734A1 (en) * | 2016-03-31 | 2017-10-05 | 中兴通讯股份有限公司 | Method, apparatus, and terminal equipment for content selection |
WO2017185264A1 (en) * | 2016-04-27 | 2017-11-02 | 华为技术有限公司 | Interface element selection method and apparatus, and terminal |
CN106569707A (en) * | 2016-10-21 | 2017-04-19 | 深圳众思科技有限公司 | Touch control screen-based touch control shielding method and terminal |
CN106775411A (en) * | 2016-12-24 | 2017-05-31 | 珠海市魅族科技有限公司 | Display control method and system |
CN108446044A (en) * | 2017-02-16 | 2018-08-24 | 希迪普公司 | Touch input device |
CN106997260A (en) * | 2017-03-29 | 2017-08-01 | 努比亚技术有限公司 | Mobile terminal and mobile terminal application icon display methods |
CN106951767A (en) * | 2017-04-28 | 2017-07-14 | 广东欧珀移动通信有限公司 | Solve lock control method and Related product |
CN106951767B (en) * | 2017-04-28 | 2020-03-03 | Oppo广东移动通信有限公司 | Unlocking control method and related product |
WO2021057203A1 (en) * | 2019-09-24 | 2021-04-01 | 华为技术有限公司 | Operation method and electronic device |
CN112381545A (en) * | 2020-11-20 | 2021-02-19 | 惠州Tcl移动通信有限公司 | Identity authentication method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105159505B (en) | 2019-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105159505A (en) | Interface operation method and terminal | |
AU2020201096B2 (en) | Quick screen splitting method, apparatus, and electronic device, display UI, and storage medium | |
CN105302455B (en) | A kind of interface operation method and terminal | |
CN105159556B (en) | A kind of interface operation method and electric terminal | |
CN105045489B (en) | A kind of button control method and device | |
CN104991721B (en) | A kind of fingerprint operating method and device | |
CN105159587B (en) | A kind of method and mobile terminal for controlling application | |
CN106780685B (en) | A kind of generation method and terminal of dynamic picture | |
CN112099707A (en) | Display method and device and electronic equipment | |
CN105117062A (en) | A screen brightness adjustment method and mobile terminal | |
CN105159582B (en) | A kind of video area method of adjustment and terminal | |
CN105183277B (en) | A kind of screen switching and mobile terminal | |
CN108762708A (en) | A kind of display control method and terminal | |
CN108833779B (en) | Shooting control method and related product | |
CN105183347B (en) | A kind of input method operating method and electric terminal | |
CN105159548B (en) | A kind of list interface operating method and electric terminal | |
CN105739866A (en) | Application management method and apparatus, and terminal | |
CN104898880B (en) | A kind of control method and electronic equipment | |
WO2017032020A1 (en) | Image processing method and electronic terminal | |
CN108073380A (en) | Electronic device, display control method and related product | |
CN106354303A (en) | Photographed method of mobile terminal and mobile terminal | |
CN105739879A (en) | Virtual reality application method and terminal | |
CN108845752A (en) | Touch operation method and device, storage medium and electronic equipment | |
CN105183280B (en) | A kind of operating method and electric terminal of list interface | |
CN105681657A (en) | Method and terminal device for photographing and focusing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190315 |