CN106201308A - A kind of pressing operation method and electronic equipment - Google Patents
A kind of pressing operation method and electronic equipment Download PDFInfo
- Publication number
- CN106201308A CN106201308A CN201610505000.6A CN201610505000A CN106201308A CN 106201308 A CN106201308 A CN 106201308A CN 201610505000 A CN201610505000 A CN 201610505000A CN 106201308 A CN106201308 A CN 106201308A
- Authority
- CN
- China
- Prior art keywords
- item
- action
- object element
- pressing operation
- described object
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0414—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
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
本发明提供一种按压操作方法和电子设备,该方法可包括:检测对目标元素的按压操作;根据所述按压操作,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项,所述至少三个操作项不在同一方向上;确定用户从所述至少三个操作项中选择的目标操作项;对所述目标元素执行所述目标操作项对应的操作。本发明实施例可以提高电子设备的操作性能。
The present invention provides a press operation method and an electronic device, the method may include: detecting a press operation on a target element; according to the press operation, displaying at least three operations corresponding to the target element around the target element items, the at least three operation items are not in the same direction; determine the target operation item selected by the user from the at least three operation items; and perform the operation corresponding to the target operation item on the target element. The embodiments of the present invention can improve the operating performance of electronic equipment.
Description
技术领域technical field
本发明涉及通信领域,尤其涉及一种按压操作方法和电子设备。The present invention relates to the communication field, in particular to a pressing operation method and electronic equipment.
背景技术Background technique
随着社会的进步,用户的需求也越来越多,为了满足用户的需求,目前很多电子设备上都配置了压力触感屏幕。通过压力触感屏幕电子设备可以检测到按压操作,具体可以检测到按压操作的压力值,以根据压力值对按压操作进行识别。例如:用户轻按屏幕时,电子设备可以识别其为轻按操作,或者用户重按屏幕时,电子设备可以识别其为重按操作等等。且目前的电子设备在应用压力触感屏幕时,仅是根据其检测到的按压操作的压力值进行特定操作。例如:电子设备检测到用户在某一个显示界面输入的按压操作时,电子设备读取该按压操作的压力值,根据预设的压力值执行该按压操作的压力值对应的特定操作,例如:将显示界面缩小。由于目前电子设备仅是根据检测到的按压操作的压力值进行操作,这样就导致电子设备的操作性能较低。With the progress of society, the needs of users are also increasing. In order to meet the needs of users, many electronic devices are equipped with pressure touch screens. The pressing operation can be detected by the pressure-sensitive screen electronic device, specifically, the pressure value of the pressing operation can be detected, so as to identify the pressing operation according to the pressure value. For example, when the user taps the screen, the electronic device can recognize it as a tap operation, or when the user presses the screen again, the electronic device can recognize it as a heavy tap operation, and so on. Moreover, when the current electronic equipment uses the pressure touch screen, it only performs specific operations according to the detected pressure value of the pressing operation. For example, when the electronic device detects a pressing operation input by the user on a certain display interface, the electronic device reads the pressure value of the pressing operation, and performs a specific operation corresponding to the pressure value of the pressing operation according to the preset pressure value, for example: The display interface shrinks. Since the current electronic device is only operated according to the detected pressure value of the pressing operation, this leads to low operating performance of the electronic device.
发明内容Contents of the invention
本发明实施例提供一种按压操作方法和电子设备,以解决电子设备的操作性能较低的问题。Embodiments of the present invention provide a pressing operation method and an electronic device, so as to solve the problem of low operating performance of the electronic device.
第一方面,本发明实施例提供了一种按压操作方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a pressing operation method, the method comprising:
检测对目标元素的按压操作;Detect pressing operations on the target element;
根据所述按压操作,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项,所述至少三个操作项不在同一方向上;According to the pressing operation, at least three operation items corresponding to the target element are displayed around the target element, and the at least three operation items are not in the same direction;
确定用户从所述至少三个操作项中选择的目标操作项;determining a target operation item selected by the user from the at least three operation items;
对所述目标元素执行所述目标操作项对应的操作。Execute the operation corresponding to the target operation item on the target element.
第二方面,本发明实施例还提供一种电子设备,所述电子设备包括:In a second aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:
检测模块,用于检测对目标元素的按压操作;A detection module, configured to detect a pressing operation on the target element;
显示模块,用于根据所述按压操作,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项,所述至少三个操作项不在同一方向上;A display module, configured to display at least three operation items corresponding to the target element around the target element according to the pressing operation, and the at least three operation items are not in the same direction;
确定模块,用于确定用户从所述至少三个操作项中选择的目标操作项;A determination module, configured to determine a target operation item selected by the user from the at least three operation items;
执行模块,用于对所述目标元素执行所述目标操作项对应的操作。An executing module, configured to execute an operation corresponding to the target operation item on the target element.
这样,本发明实施例中,检测对目标元素的按压操作;根据所述按压操作,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项,所述至少三个操作项不在同一方向上;确定用户从所述至少三个操作项中选择的目标操作项;对所述目标元素执行所述目标操作项对应的操作。这样可以实现根据压力操作显示至少三个操作项,执行三个操作项中的目标操作项对应的操作,从而相比现有技术中仅使用压力值进行操作,本发明实施例可以提高电子设备的操作性能。In this way, in this embodiment of the present invention, a press operation on the target element is detected; according to the press operation, at least three operation items corresponding to the target element are displayed around the target element, and the at least three operation items not in the same direction; determining a target operation item selected by the user from the at least three operation items; and performing an operation corresponding to the target operation item on the target element. In this way, at least three operation items can be displayed according to the pressure operation, and the operation corresponding to the target operation item among the three operation items can be performed, so that compared with the prior art that only uses the pressure value to operate, the embodiment of the present invention can improve the performance of the electronic device. operational performance.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本发明实施例提供的一种按压操作方法的流程图;FIG. 1 is a flowchart of a pressing operation method provided by an embodiment of the present invention;
图2是本发明实施例提供的一种操作示意图;Fig. 2 is a schematic diagram of an operation provided by an embodiment of the present invention;
图3是本发明实施例提供的另一种按压操作方法的流程图;Fig. 3 is a flowchart of another pressing operation method provided by an embodiment of the present invention;
图4是本发明实施例提供的另种操作示意图;Fig. 4 is a schematic diagram of another operation provided by the embodiment of the present invention;
图5是本发明实施例提供的另种操作示意图;Fig. 5 is a schematic diagram of another operation provided by the embodiment of the present invention;
图6是本发明实施例提供的另一操作示意图;Fig. 6 is another schematic diagram of operation provided by the embodiment of the present invention;
图7是本发明实施例提供的另一操作示意图;Fig. 7 is another schematic diagram of operation provided by the embodiment of the present invention;
图8是本发明实施例提供的另一种按压操作方法的流程图;Fig. 8 is a flowchart of another pressing operation method provided by an embodiment of the present invention;
图9是本发明实施提供的一种电子设备的结构图;Fig. 9 is a structural diagram of an electronic device provided by the implementation of the present invention;
图10是本发明实施提供的另一种电子设备的结构图;Fig. 10 is a structural diagram of another electronic device provided by the implementation of the present invention;
图11是本发明实施提供的另一种电子设备的结构图;Fig. 11 is a structural diagram of another electronic device provided by the implementation of the present invention;
图12是本发明实施提供的另一种电子设备的结构图。FIG. 12 is a structural diagram of another electronic device provided by the implementation 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 some of the embodiments of the present invention, but 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 creative efforts fall within the protection scope of the present invention.
第一实施例first embodiment
请参阅图1,图1是本发明实施例提供的一种按压操作方法的流程图,该方法配置有压力触感屏幕的电子设备,如图1所示,包括以下步骤:Please refer to FIG. 1. FIG. 1 is a flowchart of a press operation method provided by an embodiment of the present invention. The method is configured with an electronic device with a pressure-sensitive screen, as shown in FIG. 1, and includes the following steps:
步骤101、检测对目标元素的按压操作。Step 101 , detecting a pressing operation on a target element.
该步骤可以是在屏幕显示上述目标元素时,检测对该目标元素的按压操作。例如:通过压力触感屏幕对在目标元素上输入的按压操作进行检测,或者通过触摸感应屏幕检测对目标元素的按压操作等。另外,通过压力触感屏幕检测到上述按压操作时可以检测上述按压操作的压力值,以及还可以压力操作的坐标,即上述压力触感屏幕可以是压力感应、触摸感应和显示三者集合的屏幕。This step may be detecting a press operation on the target element when the target element is displayed on the screen. For example: detecting the pressing operation input on the target element through the pressure touch screen, or detecting the pressing operation on the target element through the touch sensitive screen. In addition, when the above-mentioned pressing operation is detected through the pressure-sensitive screen, the pressure value of the above-mentioned pressing operation and the coordinates of the pressure operation can be detected, that is, the above-mentioned pressure-sensitive screen can be a combination of pressure sensing, touch sensing and display.
在步骤101中可以是检测上述按压操作的按压坐标,然后与上述目标元素的位置进行比较,当按压坐标在目标元素的位置中时,则确定上述按压操作是在上述目标元素上的操作。另外,上述目标元素为所述电子设备显示的元素可以理解为,目标元素为电子设备当前显示的元素,或者当电子设备当前显示多个元素时,目标元素为这多个元素中的任意元素。In step 101, the pressing coordinate of the pressing operation may be detected, and then compared with the position of the target element. When the pressing coordinate is within the position of the target element, it is determined that the pressing operation is an operation on the target element. In addition, the aforementioned target element being an element displayed by the electronic device may be understood as that the target element is an element currently displayed by the electronic device, or when the electronic device currently displays multiple elements, the target element is any element among the multiple elements.
步骤102、根据所述按压操作,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项,所述至少三个操作项不在同一方向上。Step 102: According to the pressing operation, display at least three operation items corresponding to the target element around the target element, and the at least three operation items are not in the same direction.
本实施例中,上述至少三个操作项可以是电子设备对目标对象能够执行的任意三个操作,例如:分享、加密、删除、编辑、复制和收藏这些操作项中的至少三个。另外,本实施例中,每个操作项与至少一个操作关联,例如:分享、加密、删除和收藏这四个操作项依次关联分享、加密、删除和收藏这四个操作。In this embodiment, the above-mentioned at least three operation items may be any three operations that the electronic device can perform on the target object, for example: share, encrypt, delete, edit, copy, and bookmark at least three of these operation items. In addition, in this embodiment, each operation item is associated with at least one operation, for example, the four operation items of share, encryption, deletion and bookmark are associated with the four operations of share, encryption, delete and bookmark in turn.
另外,上述至少三个操作项不在同一方向上可以理解为,上述至少三个操作项在至少两个方向上显示,或者不同操作项在不同的方向上显示,例如:显示四个操作项时,可以是上、下、左和右四个方向依次显示这四个操作项。当然,在同一个方向可以显示多个操作项也是可以的,例如:显示五个操作项,可以是在上、下和左这三个方向各显示一个操作项,在右这个方向位显示两个操作项。In addition, the above at least three operation items are not in the same direction. It can be understood that the above at least three operation items are displayed in at least two directions, or different operation items are displayed in different directions. For example: when four operation items are displayed, These four operation items may be displayed sequentially in the four directions of up, down, left and right. Of course, it is also possible to display multiple operation items in the same direction. For example, to display five operation items, one operation item can be displayed in each of the three directions of up, down and left, and two operation items can be displayed in the right direction. action item.
步骤103、确定用户从所述至少三个操作项中选择的目标操作项。Step 103: Determine a target operation item selected by the user from the at least three operation items.
该步骤中,可以根据上述按压操作选择的目标操作项,也可以是根据用户输入的其他操作选择的目标操作项,例如:双击或者单击操作,从而实现选择用户需要的目标操作项。例如:以图片进行举例,如图2所示,可以显示分享、加密、删除和收藏这四个操作项,步骤103可以根据按压操作的滑动方向选择收藏项作为上述目标操作项。In this step, the target operation item selected according to the above pressing operation may also be selected according to other operations input by the user, such as: double-click or single-click operation, so as to realize the selection of the target operation item required by the user. For example: taking a picture as an example, as shown in FIG. 2 , the four operation items of sharing, encryption, deletion and favorite can be displayed. In step 103, the favorite item can be selected as the above-mentioned target operation item according to the sliding direction of the pressing operation.
步骤104、对所述目标元素执行所述目标操作项对应的操作。Step 104, performing an operation corresponding to the target operation item on the target element.
步骤104可以是只对上述目标元素执行目标操作项对应的操作,例如:如图2所示,对上述图片进行收藏操作。Step 104 may be to only execute the operation corresponding to the target operation item on the above target element, for example, as shown in FIG. 2 , perform the collection operation on the above picture.
本实施例中,上述电子设备可以是手机、平板电脑(Tablet Personal Computer)、计算机、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(WearableDevice)等电子设备。In this embodiment, the above-mentioned electronic equipment may be a mobile phone, a tablet computer (Tablet Personal Computer), a computer, a laptop computer (Laptop Computer), a personal digital assistant (personal digital assistant, PDA for short), a mobile Internet device (Mobile Internet Device) , MID) or wearable devices (WearableDevice) and other electronic devices.
本实施例中,检测对目标元素的按压操作;根据所述按压操作,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项,所述至少三个操作项不在同一方向上;确定用户从所述至少三个操作项中选择的目标操作项;对所述目标元素执行所述目标操作项对应的操作。这样可以实现根据压力操作显示至少三个操作项,执行三个操作项中的目标操作项对应的操作,从而相比现有技术中仅使用压力值进行操作,本发明实施例可以提高电子设备的操作性能。In this embodiment, a press operation on the target element is detected; according to the press operation, at least three operation items corresponding to the target element are displayed around the target element, and the at least three operation items are not in the same direction On; determining a target operation item selected by the user from the at least three operation items; performing an operation corresponding to the target operation item on the target element. In this way, at least three operation items can be displayed according to the pressure operation, and the operation corresponding to the target operation item among the three operation items can be performed, so that compared with the prior art that only uses the pressure value to operate, the embodiment of the present invention can improve the performance of the electronic device. operational performance.
第二实施例second embodiment
请参阅图3,图3是本发明实施例提供的另一种按压操作方法的流程图,该方法配置有压力触感屏幕的电子设备,如图3所示,包括以下步骤:Please refer to FIG. 3. FIG. 3 is a flow chart of another press operation method provided by an embodiment of the present invention. The method is configured with an electronic device with a pressure touch screen, as shown in FIG. 3, and includes the following steps:
步骤301、检测对目标元素的按压操作。Step 301 , detecting a pressing operation on a target element.
该步骤中可以是检测上述按压操作的压力值、按压时长和按压坐标中的至少一项,例如:可以通过压力触感屏幕检测上述按压操作的压力值、按压时长和按压坐标中的至少一项。This step may be to detect at least one of the pressure value, pressing duration and pressing coordinates of the above-mentioned pressing operation, for example: at least one of the pressure value, pressing duration and pressing coordinates of the above-mentioned pressing operation may be detected through the pressure touch screen.
步骤302、根据所述按压操作的压力值,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项。Step 302: According to the pressure value of the pressing operation, display at least three operation items corresponding to the target element around the target element.
该步骤可以是压力值大于某一阈值时,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项,或者上述压力值在某一预设压力区域时,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项。This step may be that when the pressure value is greater than a certain threshold, at least three operation items corresponding to the target element are displayed around the target element, or when the above-mentioned pressure value is in a preset pressure area, At least three operation items corresponding to the target element are displayed around the element.
需要说明的是,本实施例中,步骤302是可替换,步骤302可以理解为对图1所示的实施例中的步骤102进行限定,例如:本实施例中,步骤302可以替换为图1所示的实施例中的步骤102。另外,由于图1所示的实施例中的步骤102可以包括:It should be noted that, in this embodiment, step 302 is replaceable, and step 302 can be understood as limiting step 102 in the embodiment shown in FIG. 1 , for example: in this embodiment, step 302 can be replaced by Step 102 in the illustrated embodiment. In addition, since step 102 in the embodiment shown in FIG. 1 may include:
根据所述按压操作的按压时长,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项;Displaying at least three operation items corresponding to the target element around the target element according to the press duration of the press operation;
或or
根据所述按压操作的压力值和按压时长,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项。According to the pressure value and the pressing duration of the pressing operation, at least three operation items corresponding to the target element are displayed around the target element.
从而步骤302还可以替换为这两个步骤中的任一步骤。Therefore, step 302 can also be replaced by any one of these two steps.
其中,上述根据所述按压操作的按压时长,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项可以理解为,当按压时长超过某一时长阈值时,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项。Wherein, according to the pressing duration of the pressing operation, displaying at least three operation items corresponding to the target element around the target element can be understood as, when the pressing duration exceeds a certain duration threshold, the At least three operation items corresponding to the target element are displayed around the element.
上述根据所述按压操作的压力值和按压时长,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项可以理解为,上述按压操作的压力值和按压时长均满足预设的条件,例如:压力值大于预设压力阈值,且按压时长大于预设时长阈值时,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项。Displaying at least three operation items corresponding to the target element around the target element according to the pressure value and duration of the pressing operation above can be understood as that the pressure value and duration of the pressing operation satisfy the preset conditions, for example: when the pressure value is greater than a preset pressure threshold and the pressing duration is longer than a preset duration threshold, at least three operation items corresponding to the target element are displayed around the target element.
可选的,上述在所述目标元素的周围显示与所述目标元素对应的至少三个操作项,包括:Optionally, at least three operation items corresponding to the target element are displayed around the target element, including:
在屏幕的预设位置显示所述目标元素,以及沿着所述预设位置的周围依次显示与所述目标元素对应的至少三个操作项。The target element is displayed at a preset position on the screen, and at least three operation items corresponding to the target element are sequentially displayed along the periphery of the preset position.
其中,上述预设位置可以是由于用户设定或者系统默认的位置,例如:屏幕的中间或者中间偏上的位置等。例如:以元素为联系人进行举例,如图4所示,上述目标元素为赵六401,在屏幕的中间位置显示赵六401,以及在赵六401的四周依次显示通话、短信、查看和删除这四个操作项,如用户向右滑动,或者点击短信操作项时,选择短信操作项,即对赵六发送短信。Wherein, the aforementioned preset position may be a position set by the user or a default position of the system, for example, a position in the middle or above the middle of the screen. For example: take the element as an example, as shown in Figure 4, the above target element is Zhaoliu 401, Zhaoliu 401 is displayed in the middle of the screen, and calls, text messages, view and delete are displayed in sequence around Zhaoliu 401 These four operation items, such as when the user slides to the right, or clicks on the SMS operation item, selects the SMS operation item, that is, sends a text message to Zhao Liu.
可选的,所述在所述目标元素的周围显示与所述目标元素对应的至少三个操作项,可以包括:Optionally, displaying at least three operation items corresponding to the target element around the target element may include:
在屏幕的预设位置显示所述目标元素,以及在所述屏幕的边沿依次显示与所述目标元素对应的至少三个操作项。The target element is displayed at a preset position on the screen, and at least three operation items corresponding to the target element are sequentially displayed at the edge of the screen.
例如:如图5所示,在屏幕的中间位置显示目标元素501,以及在压力触感屏幕的边沿依次显示加密、分享、收藏和删除这四个操作项,如用户向右滑动或者用户点击收藏操作项时,选择收藏操作项,即收藏目标元素。当然,上述预设位置并不限定是中间位置,其他位置也是可以实现的,例如:由用户预先设置符合用户操作习惯的位置。For example: as shown in Figure 5, the target element 501 is displayed in the middle of the screen, and the four operation items of encryption, sharing, collection and deletion are displayed in sequence on the edge of the pressure touch screen, such as the user slides to the right or the user clicks the collection operation item, select the favorite action item, that is, collect the target element. Of course, the above-mentioned preset position is not limited to the middle position, and other positions are also possible, for example, the user presets a position that conforms to the user's operating habits.
步骤303、确定用户从所述至少三个操作项中选择的目标操作项。Step 303. Determine a target operation item selected by the user from the at least three operation items.
可选的,步骤303可以包括:Optionally, step 303 may include:
根据用户输入的针对所述目标操作项的操作,确定用户从所述至少三个操作项中选择的目标操作项。A target operation item selected by the user from the at least three operation items is determined according to an operation input by the user on the target operation item.
例如:接收到用户点击上述目标操作项的点击操作时,确定用户从所述至少三个操作项中选择的目标操作项;或者接收到用户双击上述目标操作项的点击操作时,确定用户从所述至少三个操作项中选择的目标操作项。For example: when receiving a click operation in which the user clicks on the above-mentioned target operation item, determine the target operation item selected by the user from the at least three operation items; The target action item selected from the at least three action items described above.
可选的,步骤303可以包括:Optionally, step 303 may include:
根据所述按压操作的滑动方向,选择所述滑动方向在所述至少三个操作项中指向的目标操作项。According to the sliding direction of the pressing operation, a target operation item pointed to by the sliding direction among the at least three operation items is selected.
该实施方式中,可以实现选择上述按压操作的滑动方向指向的目标操作项。例如:如图2所示,按压操作的滑动方向是向右,从而可以选择右边的收藏操作项;若按压操作的滑动方向是向下,从而可以选择下边的删除操作项;若按压操作的滑动方向是向左,从而可以选择左边的加密操作项;若按压操作的滑动方向是向上,从而可以选择上边的分享操作项。In this implementation manner, selection of the target operation item pointed to by the sliding direction of the above-mentioned pressing operation can be realized. For example: as shown in Figure 2, the sliding direction of the pressing operation is to the right, so that the favorite operation item on the right can be selected; if the sliding direction of the pressing operation is downward, the deletion operation item below can be selected; If the direction is to the left, the encryption operation item on the left can be selected; if the sliding direction of the pressing operation is upward, the sharing operation item on the upper side can be selected.
步骤304、对所述目标元素执行所述目标操作项对应的操作。Step 304, performing an operation corresponding to the target operation item on the target element.
本实施例中,上述目标操作项对应的操作可以是对上述目标元素可执行的操作,例如:目标元素为图片时,那么,上述目标操作项关联的操作就可以是删除、复制、加密、分享和收藏等对图片可执行的操作中的一项。In this embodiment, the operation corresponding to the above-mentioned target operation item may be an operation executable on the above-mentioned target element, for example: when the target element is a picture, then the operation associated with the above-mentioned target operation item may be delete, copy, encrypt, share One of the actions that can be performed on pictures, such as and favorite.
可选的,在所述检测对目标元素的按压操作之前,所述方法还可以包括:Optionally, before the detecting the pressing operation on the target element, the method may further include:
从屏幕显示的元素中选择多个元素,其中,所述多个元素包括多张图片或者多个联系人信息,所述目标元素为所述多个元素中的任一元素;selecting a plurality of elements from the elements displayed on the screen, wherein the plurality of elements include a plurality of pictures or a plurality of contact information, and the target element is any element in the plurality of elements;
上述对所述目标元素执行所述目标操作项对应的操作,可以包括:The above-mentioned execution of the operation corresponding to the target operation item on the target element may include:
对所述多个元素执行所述目标操作项对应的操作。Execute the operation corresponding to the target operation item on the plurality of elements.
该实施方式中,可以实现对多个元素进行批量操作。例如:如图6所示,用户选择了8张图片,当用户重按目标元素601时,将选择的图片叠加显示,以及在屏幕的边沿依次显示加密、删除、分享和收藏四个操作项,当用户向右滑动或者点击收藏操作项时,对这8张图片进行收藏操作。又例如:如图7所示,用户选择了4个联系人,当用户重按赵六701时,将选择的联系人叠加显示,以及在联系叠加显示的周围依次显示多方通话、删除、收到和群发短信四个操作项,当用户向右滑动或者点击群发操作项时,对这4个联系群发短信。In this implementation manner, it is possible to perform batch operations on multiple elements. For example: as shown in Figure 6, the user selects 8 pictures. When the user presses the target element 601 again, the selected pictures will be superimposed and displayed, and the four operation items of encryption, deletion, sharing and collection will be displayed in sequence on the edge of the screen. When the user slides to the right or clicks on the collection operation item, the collection operation is performed on these 8 pictures. Another example: as shown in Figure 7, the user selects 4 contacts. When the user presses Zhao Liu 701 again, the selected contacts will be superimposed and displayed, and the multi-party call, delete and received will be displayed in sequence around the contact superimposed display. And the four operation items of group sending text messages, when the user slides to the right or clicks on the group sending operation item, group text messages will be sent to these 4 contacts.
另外,该实施方式中,由于上述目标元素为所述多个元素中的任一元素,从而可以实现检测对上述多个元素中的任意元素的按压操作时,显示上述至少三个操作项。这样可以实现在选择的多个元素中的任意元素上触发本方法,从而提高用户体验和操作性能。例如:针对图片时,用户只需要点击多张图片中的任一图片就可以显示至少三个操作项,或者针对联系人信息时,用户只需要点击多个联系人信息中的任意联系人信息就可以显示至少三个操作项。In addition, in this implementation manner, since the above-mentioned target element is any one of the multiple elements, it can be realized that the above-mentioned at least three operation items are displayed when a press operation on any of the above-mentioned multiple elements is detected. In this way, the method can be triggered on any element among the selected elements, thereby improving user experience and operation performance. For example: for pictures, the user only needs to click any one of the multiple pictures to display at least three operation items, or for contact information, the user only needs to click any of the multiple contact information to display At least three action items can be displayed.
可选的,上述在所述检测对目标元素的按压操作之前,所述方法还可以包括:Optionally, before the detection of the pressing operation on the target element, the method may further include:
从屏幕显示的图片中选择一张图片作为所述目标元素;Select a picture from the pictures displayed on the screen as the target element;
或or
从屏幕显示的联系人信息中选择一联系人信息作为所述目标元素。A contact information is selected from the contact information displayed on the screen as the target element.
该实施方式中,可以实现将一张图片作为所述目标元素,从而实现对单一的图片执行上述目标操作项对应的操作,以及实现对单一联系人信息执行上述目标操作项对应的操作。In this embodiment, a picture can be used as the target element, so that the operation corresponding to the above target operation item can be performed on a single picture, and the operation corresponding to the above target operation item can be performed on a single contact information.
可选的,本实施例中的元素包括但不限于图标、文字、图案、虚拟按钮等电子设备可显示的元素,例如:上述元素还可以是电子设备显示的整个界面。另外,上述元素还不限于显示的单个内容,例如:可以是一组文字或者一个文字。Optionally, the elements in this embodiment include, but are not limited to, elements that can be displayed by electronic devices such as icons, text, patterns, and virtual buttons. For example, the above elements can also be the entire interface displayed by the electronic device. In addition, the above-mentioned elements are not limited to a single displayed content, for example, it may be a group of characters or a character.
可选的,本实施例中,当在显示上述至少三个操作项后,按压操作就结束了,即没有滑动方向且在预设时间没有接收到针对所述目标操作项的操作时,本实施例可以结束流程,或者可以隐藏显示的操作项。Optionally, in this embodiment, when the above-mentioned at least three operation items are displayed, the pressing operation ends, that is, when there is no sliding direction and no operation on the target operation item is received within the preset time, this implementation Examples can end the process, or can hide displayed action items.
本实施例中,在图1所示的实施例的基础上增加了多种可选的实施方式,且都可以实现提高电子设备的操作性能。In this embodiment, a variety of optional implementation manners are added on the basis of the embodiment shown in FIG. 1 , and all of them can improve the operational performance of the electronic device.
第三实施例third embodiment
请参阅图8,图8是本发明实施例提供的另一种按压操作方法的流程图,如图8所示,包括以下步骤:Please refer to FIG. 8. FIG. 8 is a flowchart of another pressing operation method provided by an embodiment of the present invention. As shown in FIG. 8, it includes the following steps:
步骤801、显示界面。Step 801, display an interface.
其中,这里显示的界面可以电子设备可操作的任意界面。Wherein, the interface displayed here may be any interface operable by the electronic device.
步骤802、接收重压目标元素的按压操作。Step 802, receiving a pressing operation of pressing the target element.
其中,这里的重压可以理解为压力值超过预设阈值。Wherein, the heavy pressure here can be understood as a pressure value exceeding a preset threshold.
步骤803、在界面的四个方向显示四个操作项。Step 803, display four operation items in four directions of the interface.
该步骤可以参见图4、5、6或者7所示的显示界面。For this step, refer to the display interface shown in FIG. 4 , 5 , 6 or 7 .
步骤804、判断上述按压操作是否保持,若是,则执行步骤805,若否,则执行结束流程。Step 804 , judging whether the above pressing operation is maintained, if yes, execute step 805 , if not, execute to end the process.
该步骤可以是在显示上述四个操作项后,立即执行的,即判断显示完上述四个操作项后,上述按压操作是否还按压在目标元素上。This step may be performed immediately after the above four operation items are displayed, that is, it is judged whether the above pressing operation is still pressed on the target element after the above four operation items are displayed.
步骤805、判断上述按压操作是否向上述四个方向中的任意方向滑动,若是,则执行步骤806,若否,则结束流程。Step 805 , judging whether the pressing operation slides in any of the above four directions, if yes, execute step 806 , if not, end the process.
其中,该步骤还可以是在按压操作向上述四个方向中的任意方向滑动后,按压操作是否松开按压,若是,则执行步骤806。Wherein, this step may also be whether the pressing operation releases the pressing after the pressing operation slides in any of the above four directions, and if so, perform step 806 .
步骤806、对包括目标元素在内的元素执行目标操作项关联的操作,其中,所述目标操作项为所述按压操作滑动时所指方向显示的操作项。Step 806: Execute the operation associated with the target operation item on the elements including the target element, wherein the target operation item is an operation item displayed in the direction pointed when the pressing operation slides.
本实施例中,通过上述步骤可以实现提高电子设备的操作性能。In this embodiment, the operation performance of the electronic device can be improved through the above steps.
第四实施例Fourth embodiment
请参阅图9,图9是本发明实施提供的一种电子设备的结构图,如图9所示,电子设备900包括:Please refer to FIG. 9. FIG. 9 is a structural diagram of an electronic device provided by the implementation of the present invention. As shown in FIG. 9, the electronic device 900 includes:
检测模块901,用于检测对目标元素的按压操作。The detection module 901 is configured to detect the pressing operation on the target element.
显示模块902,用于根据所述按压操作,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项,所述至少三个操作项不在同一方向上。The display module 902 is configured to display at least three operation items corresponding to the target element around the target element according to the pressing operation, and the at least three operation items are not in the same direction.
确定模块903,用于确定用户从所述至少三个操作项中选择的目标操作项。A determining module 903, configured to determine a target operation item selected by the user from the at least three operation items.
执行模块904,用于对所述目标元素执行所述目标操作项对应的操作。The executing module 904 is configured to execute an operation corresponding to the target operation item on the target element.
可选的,显示模块902可以用于根据所述按压操作的压力值,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项;Optionally, the display module 902 may be configured to display at least three operation items corresponding to the target element around the target element according to the pressure value of the press operation;
或or
显示模块902可以用于根据所述按压操作的按压时长,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项;The display module 902 may be configured to display at least three operation items corresponding to the target element around the target element according to the pressing duration of the pressing operation;
或or
显示模块902可以用于根据所述按压操作的压力值和按压时长,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项。The display module 902 may be configured to display at least three operation items corresponding to the target element around the target element according to the pressure value and the duration of the press operation.
可选的,确定模块903可以用于根据用户输入的针对所述目标操作项的操作,确定用户从所述至少三个操作项中选择的目标操作项。Optionally, the determining module 903 may be configured to determine a target operation item selected by the user from the at least three operation items according to an operation input by the user on the target operation item.
可选的,确定模块903可以用于根据所述按压操作的滑动方向,选择所述滑动方向在所述至少三个操作项中指向的目标操作项。Optionally, the determining module 903 may be configured to select, according to the sliding direction of the press operation, a target operation item that the sliding direction points to among the at least three operation items.
可选的,显示模块902可以用于在屏幕的预设位置显示所述目标元素,以及沿着所述预设位置的周围依次显示与所述目标元素对应的至少三个操作项;Optionally, the display module 902 may be configured to display the target element at a preset position on the screen, and sequentially display at least three operation items corresponding to the target element along the periphery of the preset position;
或or
显示模块902可以用于在屏幕的预设位置显示所述目标元素,以及在所述屏幕的边沿依次显示与所述目标元素对应的至少三个操作项。The display module 902 may be configured to display the target element at a preset position on the screen, and sequentially display at least three operation items corresponding to the target element at an edge of the screen.
可选的,如图10所示,电子设备900还包括:Optionally, as shown in FIG. 10, the electronic device 900 further includes:
第一选择模块905,用于从屏幕显示的元素中选择多个元素,其中,所述多个元素包括多张图片或者多个联系人信息,所述目标元素为所述多个元素中的任一元素;The first selection module 905 is configured to select multiple elements from elements displayed on the screen, where the multiple elements include multiple pictures or multiple contact information, and the target element is any of the multiple elements an element;
执行模块904用于对所述多个元素执行所述目标操作项对应的操作。The executing module 904 is configured to execute the operation corresponding to the target operation item on the plurality of elements.
可选的,如图11,电子设备900还包括:Optionally, as shown in Figure 11, the electronic device 900 further includes:
第二选择模块906,用于从屏幕显示的图片中选择一张图片作为所述目标元素;The second selection module 906 is configured to select a picture from the pictures displayed on the screen as the target element;
或or
第三选择模块907,用于从屏幕显示的联系人信息中选择一联系人信息作为所述目标元素。The third selecting module 907 is configured to select a piece of contact information from the contact information displayed on the screen as the target element.
电子设备900能够实现图1至图4的方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device 900 can implement various processes implemented by the electronic device in the method embodiments in FIGS. 1 to 4 , and details are not repeated here to avoid repetition.
本发明实施例的电子设备900,检测对目标元素的按压操作;根据所述按压操作,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项,所述至少三个操作项不在同一方向上;确定用户从所述至少三个操作项中选择的目标操作项;对所述目标元素执行所述目标操作项对应的操作。这样可以实现根据压力操作显示至少三个操作项,执行三个操作项中的目标操作项对应的操作,从而相比现有技术中仅使用压力值进行操作,本发明实施例可以提高电子设备的操作性能。The electronic device 900 in this embodiment of the present invention detects a press operation on a target element; according to the press operation, at least three operation items corresponding to the target element are displayed around the target element, and the at least three operation items The items are not in the same direction; the target operation item selected by the user from the at least three operation items is determined; and the operation corresponding to the target operation item is performed on the target element. In this way, at least three operation items can be displayed according to the pressure operation, and the operation corresponding to the target operation item in the three operation items can be performed, so that compared with the prior art that only uses the pressure value to operate, the embodiment of the present invention can improve the performance of the electronic device. operational performance.
第五实施例fifth embodiment
请参阅图12,图12是本发明实施提供的另一种电子设备的结构图,如图12所示,电子设备1200包括:至少一个处理器1201、存储器1202、至少一个网络接口1204和用户接口1203。电子设备1200中的各个组件通过总线系统1205耦合在一起。可理解,总线系统1205用于实现这些组件之间的连接通信。总线系统1205除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图12中将各种总线都标为总线系统1205。Please refer to FIG. 12, which is a structural diagram of another electronic device provided by the implementation of the present invention. As shown in FIG. 12, the electronic device 1200 includes: at least one processor 1201, memory 1202, at least one network interface 1204 and user interface 1203. Various components in the electronic device 1200 are coupled together through the bus system 1205 . It can be understood that the bus system 1205 is used to realize connection and communication between these components. In addition to the data bus, the bus system 1205 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 1205 in FIG. 12 for clarity of illustration.
其中,用户接口1203可以包括压力触感屏幕或者触摸屏幕,以及还可以包括键盘或者点击设备(例如,鼠标,轨迹球(trackball)或者触感板等。Wherein, the user interface 1203 may include a pressure touch screen or a touch screen, and may also include a keyboard or a pointing device (for example, a mouse, a trackball (trackball) or a touch panel, etc.).
可以理解,本发明实施例中的存储器1202可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-OnlyMemory,ROM)、可编程只读存储器(ProgrammableROM,PROM)、可擦除可编程只读存储器(ErasablePROM,EPROM)、电可擦除可编程只读存储器(ElectricallyEPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(RandomAccessMemory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(StaticRAM,SRAM)、动态随机存取存储器(DynamicRAM,DRAM)、同步动态随机存取存储器(SynchronousDRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(DoubleDataRateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(SynchlinkDRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambusRAM,DRRAM)。本文描述的系统和方法的存储器1202旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 1202 in the embodiment of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory can be read-only memory (Read-OnlyMemory, ROM), programmable read-only memory (ProgrammableROM, PROM), erasable programmable read-only memory (ErasablePROM, EPROM), electrically erasable Programming read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (Random Access Memory, RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DoubleDataRateSDRAM, DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), Synchronous Connection Dynamic Random Access Memory (SynchlinkDRAM, SLDRAM) and Direct Memory Bus Random Access Memory (Direct Rambus RAM, DRRAM). Memory 1202 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
在一些实施方式中,存储器1202存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统12021和应用程序12022。In some implementations, the memory 1202 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 12021 and an application program 12022 .
其中,操作系统12021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序12022,包含各种应用程序,例如媒体播放器(MediaPlayer)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序12022中。Among them, the operating system 12021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing tasks based on hardware. The application program 12022 includes various application programs, such as a media player (MediaPlayer), a browser (Browser), etc., and is used to realize various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 12022 .
在本发明实施例中,通过调用存储器1202存储的程序或指令,具体的,可以是应用程序12022中存储的程序或指令,处理器1201用于:In this embodiment of the present invention, by calling the program or instruction stored in the memory 1202, specifically, the program or instruction stored in the application program 12022, the processor 1201 is used to:
检测对目标元素的按压操作;Detect pressing operations on the target element;
根据所述按压操作,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项,所述至少三个操作项不在同一方向上;According to the pressing operation, at least three operation items corresponding to the target element are displayed around the target element, and the at least three operation items are not in the same direction;
确定用户从所述至少三个操作项中选择的目标操作项;determining a target operation item selected by the user from the at least three operation items;
对所述目标元素执行所述目标操作项对应的操作。Execute the operation corresponding to the target operation item on the target element.
上述本发明实施例揭示的方法可以应用于处理器1201中,或者由处理器1201实现。处理器1201可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1201中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1201可以是通用处理器、数字信号处理器(DigitalSignalProcessor,DSP)、专用集成电路(ApplicationSpecific IntegratedCircuit,ASIC)、现成可编程门阵列(FieldProgrammableGateArray,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1202,处理器1201读取存储器1202中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 1201 or implemented by the processor 1201 . The processor 1201 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be implemented by an integrated logic circuit of hardware in the processor 1201 or instructions in the form of software. The above-mentioned processor 1201 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates Or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 1202, and the processor 1201 reads the information in the memory 1202, and completes the steps of the above method in combination with its hardware.
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecificIntegratedCircuits,ASIC)、数字信号处理器(DigitalSignalProcessing,DSP)、数字信号处理设备(DSPDevice,DSPD)、可编程逻辑设备(ProgrammableLogicDevice,PLD)、现场可编程门阵列(Field-ProgrammableGateArray,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It should be understood that the embodiments described herein may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD ), Field-Programmable Gate Array (Field-Programmable GateArray, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application, or a combination thereof.
对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein can be implemented through modules (eg, procedures, functions, and so on) that perform the functions described herein. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.
可选的,处理器1201执行的根据所述按压操作,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项,包括:Optionally, according to the pressing operation performed by the processor 1201, at least three operation items corresponding to the target element are displayed around the target element, including:
根据所述按压操作的压力值,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项;Displaying at least three operation items corresponding to the target element around the target element according to the pressure value of the press operation;
或or
根据所述按压操作的按压时长,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项;Displaying at least three operation items corresponding to the target element around the target element according to the press duration of the press operation;
或or
根据所述按压操作的压力值和按压时长,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项。According to the pressure value and the pressing duration of the pressing operation, at least three operation items corresponding to the target element are displayed around the target element.
可选的,处理器1201执行的确定用户从所述至少三个操作项中选择的目标操作项,包括:Optionally, the determining the target operation item selected by the user from the at least three operation items performed by the processor 1201 includes:
根据用户输入的针对所述目标操作项的操作,确定用户从所述至少三个操作项中选择的目标操作项。A target operation item selected by the user from the at least three operation items is determined according to an operation input by the user on the target operation item.
可选的,处理器1201执行的确定用户从所述至少三个操作项中选择的目标操作项,包括:Optionally, the determining the target operation item selected by the user from the at least three operation items performed by the processor 1201 includes:
根据所述按压操作的滑动方向,选择所述滑动方向在所述至少三个操作项中指向的目标操作项。According to the sliding direction of the pressing operation, a target operation item pointed to by the sliding direction among the at least three operation items is selected.
可选的,处理器1201执行的在所述目标元素的周围显示与所述目标元素对应的至少三个操作项,包括:Optionally, displaying at least three operation items corresponding to the target element around the target element performed by the processor 1201 includes:
在屏幕的预设位置显示所述目标元素,以及沿着所述预设位置的周围依次显示与所述目标元素对应的至少三个操作项;displaying the target element at a preset position on the screen, and sequentially displaying at least three operation items corresponding to the target element along the periphery of the preset position;
或or
在屏幕的预设位置显示所述目标元素,以及在所述屏幕的边沿依次显示与所述目标元素对应的至少三个操作项。The target element is displayed at a preset position on the screen, and at least three operation items corresponding to the target element are sequentially displayed at the edge of the screen.
可选的,在所述检测对目标元素的按压操作之前,处理器1201还用于:Optionally, before the detection of the pressing operation on the target element, the processor 1201 is further configured to:
从屏幕显示的元素中选择多个元素,其中,所述多个元素包括多张图片或者多个联系人信息,所述目标元素为所述多个元素中的任一元素;selecting a plurality of elements from the elements displayed on the screen, wherein the plurality of elements include a plurality of pictures or a plurality of contact information, and the target element is any element in the plurality of elements;
处理器1201执行的对所述目标元素执行所述目标操作项对应的操作,包括:Executing the operation corresponding to the target operation item on the target element performed by the processor 1201 includes:
对所述多个元素执行所述目标操作项对应的操作。Execute the operation corresponding to the target operation item on the plurality of elements.
可选的,在所述检测对目标元素的按压操作之前,处理器1201还用于:Optionally, before the detection of the pressing operation on the target element, the processor 1201 is further configured to:
从屏幕显示的图片中选择一张图片作为所述目标元素;Select a picture from the pictures displayed on the screen as the target element;
或or
从屏幕显示的联系人信息中选择一联系人信息作为所述目标元素。A contact information is selected from the contact information displayed on the screen as the target element.
电子设备1200能够实现前述实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device 1200 can implement various processes implemented by the electronic device in the foregoing embodiments, and to avoid repetition, details are not repeated here.
本发明实施例的电子设备1200,检测对目标元素的按压操作;根据所述按压操作,在所述目标元素的周围显示与所述目标元素对应的至少三个操作项,所述至少三个操作项不在同一方向上;确定用户从所述至少三个操作项中选择的目标操作项;对所述目标元素执行所述目标操作项对应的操作。这样可以实现根据压力操作显示至少三个操作项,执行三个操作项中的目标操作项对应的操作,从而相比现有技术中仅使用压力值进行操作,本发明实施例可以提高电子设备的操作性能。The electronic device 1200 in this embodiment of the present invention detects a press operation on a target element; according to the press operation, at least three operation items corresponding to the target element are displayed around the target element, and the at least three operation items The items are not in the same direction; the target operation item selected by the user from the at least three operation items is determined; and the operation corresponding to the target operation item is performed on the target element. In this way, at least three operation items can be displayed according to the pressure operation, and the operation corresponding to the target operation item among the three operation items can be performed, so that compared with the prior art that only uses the pressure value to operate, the embodiment of the present invention can improve the performance of the electronic device. operational performance.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610505000.6A CN106201308A (en) | 2016-06-28 | 2016-06-28 | A kind of pressing operation method and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610505000.6A CN106201308A (en) | 2016-06-28 | 2016-06-28 | A kind of pressing operation method and electronic equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106201308A true CN106201308A (en) | 2016-12-07 |
Family
ID=57462779
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610505000.6A Pending CN106201308A (en) | 2016-06-28 | 2016-06-28 | A kind of pressing operation method and electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106201308A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106775327A (en) * | 2016-12-29 | 2017-05-31 | 维沃移动通信有限公司 | A kind of method and electronic equipment for deleting the information that has been input into |
| CN107133316A (en) * | 2017-05-03 | 2017-09-05 | 努比亚技术有限公司 | A kind of method of global search, terminal device and computer-readable recording medium |
| CN107608589A (en) * | 2017-09-20 | 2018-01-19 | 维沃移动通信有限公司 | A kind of video creating method and mobile terminal |
| CN108920068A (en) * | 2018-05-29 | 2018-11-30 | 努比亚技术有限公司 | A kind of edge interaction regulation method, equipment and computer readable storage medium |
| WO2018220478A1 (en) * | 2017-05-28 | 2018-12-06 | International Business Machines Corporation | 3d touch based user interface value pickers |
| CN109814972A (en) * | 2019-01-28 | 2019-05-28 | 维沃移动通信有限公司 | Interface display method and terminal |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101551733A (en) * | 2009-05-15 | 2009-10-07 | 宇龙计算机通信科技(深圳)有限公司 | Cooperating interface display method, system and mobile communication terminal |
| US20110055760A1 (en) * | 2009-09-01 | 2011-03-03 | Drayton David Samuel | Method of providing a graphical user interface using a concentric menu |
| CN102752441A (en) * | 2011-04-22 | 2012-10-24 | 比亚迪股份有限公司 | Mobile terminal with touch screen and control method thereof |
| CN102819395A (en) * | 2012-07-27 | 2012-12-12 | 东莞宇龙通信科技有限公司 | Terminal and icon display method |
| CN105677081A (en) * | 2015-12-28 | 2016-06-15 | 广东欧珀移动通信有限公司 | Touch control method and terminal device |
-
2016
- 2016-06-28 CN CN201610505000.6A patent/CN106201308A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101551733A (en) * | 2009-05-15 | 2009-10-07 | 宇龙计算机通信科技(深圳)有限公司 | Cooperating interface display method, system and mobile communication terminal |
| US20110055760A1 (en) * | 2009-09-01 | 2011-03-03 | Drayton David Samuel | Method of providing a graphical user interface using a concentric menu |
| CN102752441A (en) * | 2011-04-22 | 2012-10-24 | 比亚迪股份有限公司 | Mobile terminal with touch screen and control method thereof |
| CN102819395A (en) * | 2012-07-27 | 2012-12-12 | 东莞宇龙通信科技有限公司 | Terminal and icon display method |
| CN105677081A (en) * | 2015-12-28 | 2016-06-15 | 广东欧珀移动通信有限公司 | Touch control method and terminal device |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106775327A (en) * | 2016-12-29 | 2017-05-31 | 维沃移动通信有限公司 | A kind of method and electronic equipment for deleting the information that has been input into |
| CN106775327B (en) * | 2016-12-29 | 2018-08-17 | 维沃移动通信有限公司 | A kind of method and electronic equipment for deleting input information |
| CN107133316A (en) * | 2017-05-03 | 2017-09-05 | 努比亚技术有限公司 | A kind of method of global search, terminal device and computer-readable recording medium |
| WO2018220478A1 (en) * | 2017-05-28 | 2018-12-06 | International Business Machines Corporation | 3d touch based user interface value pickers |
| US10712930B2 (en) | 2017-05-28 | 2020-07-14 | International Business Machines Corporation | 3D touch based user interface value pickers |
| CN107608589A (en) * | 2017-09-20 | 2018-01-19 | 维沃移动通信有限公司 | A kind of video creating method and mobile terminal |
| CN108920068A (en) * | 2018-05-29 | 2018-11-30 | 努比亚技术有限公司 | A kind of edge interaction regulation method, equipment and computer readable storage medium |
| CN109814972A (en) * | 2019-01-28 | 2019-05-28 | 维沃移动通信有限公司 | Interface display method and terminal |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106406656B (en) | A control method of application tool bar and mobile terminal | |
| CN106354407B (en) | An information sharing method and mobile terminal | |
| CN106126077A (en) | A kind of application program image target display control method and mobile terminal | |
| CN106681711A (en) | Method for content sharing under split screen mode and mobile terminal | |
| CN106201308A (en) | A kind of pressing operation method and electronic equipment | |
| CN105224276A (en) | A kind of multi-screen display method and electronic equipment | |
| CN106844067A (en) | The processing method and mobile terminal of a kind of content | |
| CN105955646A (en) | Content processing method and intelligent terminal | |
| CN106325753B (en) | Method for displaying payment interface and mobile terminal | |
| CN106791182A (en) | A kind of chat method and mobile terminal based on image | |
| CN106354373A (en) | Icon moving method and mobile terminal | |
| CN106371745B (en) | A kind of interface switching method and mobile terminal | |
| CN107203307A (en) | A kind of icon management method and mobile terminal | |
| CN107193482A (en) | The operating method and mobile terminal of a kind of mobile terminal screen | |
| CN106527906A (en) | Picture capture method and mobile terminal | |
| CN107643859A (en) | A kind of running status restoration methods and mobile terminal | |
| CN106502545B (en) | A sliding control operation method and mobile terminal | |
| CN106959797A (en) | The method to set up and mobile terminal of a kind of notice footmark | |
| CN106527937B (en) | Method for adding mobile terminal widget and mobile terminal | |
| CN106383634A (en) | Picture processing method and electronic equipment | |
| CN106997268A (en) | A kind of application control method and mobile terminal | |
| CN106557259A (en) | A kind of operational approach and mobile terminal of mobile terminal | |
| CN106201174A (en) | The operational approach of mobile terminal and mobile terminal | |
| CN107632761B (en) | Display content viewing method, mobile terminal and computer readable storage medium | |
| CN107562262B (en) | Method for responding touch operation, terminal and computer readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161207 |
|
| RJ01 | Rejection of invention patent application after publication |