[go: up one dir, main page]

WO2017032005A1 - 一种操作菜单显示方法及终端 - Google Patents

一种操作菜单显示方法及终端 Download PDF

Info

Publication number
WO2017032005A1
WO2017032005A1 PCT/CN2016/080341 CN2016080341W WO2017032005A1 WO 2017032005 A1 WO2017032005 A1 WO 2017032005A1 CN 2016080341 W CN2016080341 W CN 2016080341W WO 2017032005 A1 WO2017032005 A1 WO 2017032005A1
Authority
WO
WIPO (PCT)
Prior art keywords
menu
touch
target
display
target file
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.)
Ceased
Application number
PCT/CN2016/080341
Other languages
English (en)
French (fr)
Inventor
李建林
李猛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of WO2017032005A1 publication Critical patent/WO2017032005A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to an operation menu display method and a terminal.
  • the embodiment of the invention provides an operation menu display method and a terminal, which can display file-related operation options quickly and concisely, and improves browsing efficiency and operation efficiency of file operation options.
  • An embodiment of the present invention provides an operation menu display method, where the method includes:
  • the operation of the input is a touch operation of the menu, determining that the touch pressure of the touch position corresponding to the touch operation is displayed;
  • the target menu operation option is displayed into the display interface.
  • an embodiment of the present invention provides a terminal, where the terminal includes:
  • An operation determining unit configured to determine whether an operation for inputting a target file in the display interface is a menu display touch operation
  • a pressure determining unit configured to determine, when the input operation is a menu display touch operation, the touch pressure of the touch position corresponding to the touch display operation of the menu display;
  • a menu determining unit configured to determine, according to a preset mapping relationship between a menu operation option and a touch pressure corresponding to the target file, a target menu operation option corresponding to the touch pressure;
  • a menu display unit for displaying the target menu operation option into the display interface.
  • the operation of inputting the target file in the display interface is a menu display touch operation
  • determining the touch pressure of the touch position corresponding to the touch operation of the menu display according to the preset a mapping relationship between the menu operation option and the touch pressure corresponding to the target file, obtaining a target menu operation option corresponding to the touch pressure, and then displaying the target menu operation option into the display interface, thereby being quick and concise
  • the display file-related operation options improve the browsing efficiency and operational efficiency of the file operation options.
  • FIG. 1 is a schematic flow chart of an operation menu display method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of a method for displaying an operation menu according to another embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a terminal according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a terminal according to another embodiment of the present invention.
  • the terminals mentioned in the embodiments of the present invention include, but are not limited to, a smart phone (such as an Android mobile phone, an IOS mobile phone), a tablet computer, a notebook computer, a palmtop computer, a mobile Internet device (MID, Mobile Internet Device), Electronic devices such as wearable smart devices.
  • a smart phone such as an Android mobile phone, an IOS mobile phone
  • a tablet computer such as an iPad, Samsung Galaxy Tab
  • a notebook computer such as a notebook computer
  • a palmtop computer a mobile Internet device
  • MID Mobile Internet Device
  • Electronic devices such as wearable smart devices.
  • the method described in the present invention is performed by a set of code stored in a memory, which is executed in a computer system based on the von Neumann system.
  • the user can correspondingly determine the touch at the touch point of the user when the display interface touches the target file in a specific manner (for example, long press, double tap or click operation).
  • the pressure according to the mapping relationship between the preset touch pressure value in the terminal and the menu operation option of the target file, determines the target menu operation option corresponding to the touch pressure, and displays it in the file display interface.
  • the menu operation option list of the target file needs to be opened to display all the selectable operation options to the display interface, and then the user can browse and select the target menu operation option.
  • the solution provided by the example can quickly display the target menu operation options to the current display interface, which improves the operation efficiency.
  • FIG. 1 is a schematic flowchart of a method for displaying an operation menu according to an embodiment of the present invention.
  • the operation menu display method shown in the figure may include the following steps:
  • S101 Determine whether an operation for inputting a target file in the display interface is a menu display touch operation.
  • step S102 to step S104 are performed to implement displaying the target menu operation option into the display interface for the user to select.
  • the menu display touch The control operation is usually input by the user through the input device (physical keyboard or touch screen) of the terminal. Based on the consideration of terminal visibility and portability, mobile terminals with touch screens and a few physical buttons are now more popular among users, so the menu display touch operation is mainly based on the touch screen input of the mobile terminal.
  • the structure of the touch screen includes at least three layers: a screen glass layer, a touch panel layer, and a display panel layer.
  • the screen glass layer is a protective layer
  • the touch panel layer is used to sense a user's touch operation
  • the display panel layer is used to display an image.
  • the prior art has merged the touch panel layer and the display panel layer.
  • the pressure sensor layer may be added to the screen structure of the terminal in advance, so that the terminal can sense the strength of the touch display screen through the pressure sensor layer when the user touches the display screen. Therefore, when the user displays the touch operation for the target file input menu through the touch screen, the user can also determine the target touch pressure of the touch position corresponding to the touch operation.
  • the menu operation option of the target file specifically refers to an option that can operate on the target file.
  • the menu operation options of the target file may include: opening, copying, cutting, compressing, or deleting options such as operating the text file.
  • a mapping relationship between menu operation options and touch pressure corresponding to each of the plurality of files may be stored in the terminal in advance. After finding the mapping relationship between the menu operation option and the touch pressure corresponding to the target file, the target menu operation option corresponding to the touch pressure may be determined according to the mapping relationship between the menu operation option and the touch pressure corresponding to the target file.
  • a mapping relationship between a menu operation option and a touch pressure is set according to a file type, and different file types correspond to a mapping relationship table between different operation options and touch pressure, and the target file can be found according to the type information of the target file.
  • a mapping table of corresponding operation options and touch pressure is set according to a file type, and different file types correspond to a mapping relationship table between different operation options and touch pressure, and the target file can be found according to the type information of the target file.
  • the type information of the file may be obtained through the storage format information of the file, and the storage format information of the file may be obtained by using the file name suffix.
  • the files with the suffixes named “.doc” and “.jpg” are respectively Document files and image files.
  • the types of files include but are not limited to: Document files, image files, video files, audio files or shortcut files, and more.
  • the same type of file has the same menu operation options, and different types of files have different menu operation options.
  • the word file and the txt file are classified into the document file, and the operation options are the same. They can include options such as copy, open and delete options, and the image file is different from the document file type, except for the copy, open and delete options. Options such as landscaping and previewing can also be included.
  • the files can be classified in advance, the same type of files contain the same menu operation options, different types of files contain different menu operation options, and then set between the menu operation options of each type of file and the touch pressure Mapping relational tables. Then, when the touch pressure is acquired, the mapping relationship table corresponding to the target file is searched according to the type information of the target file, and the target menu operation option corresponding to the touch pressure is obtained from the mapping relationship table.
  • a mapping relationship table is not set for each file stored in the terminal, which saves the storage space of the terminal, and can also maintain the difference of menu operation options between different types of files.
  • each specific menu operation option may specifically correspond to a specific touch pressure, and form a relationship between the menu operation option and the touch pressure. . In this way, the user needs to accurately grasp the touch strength in order to obtain the target menu operation options.
  • each specific menu operation option may correspond to a touch pressure interval, wherein there is no intersection between the intervals of the touch pressures; for example, when the target file includes three menu operation options and respectively: copy, cut And when deleting, the three touch pressure intervals can be preset as [1N, 3N], [5N, 7N], and [9N, 11N], and each touch pressure interval corresponds to each menu operation option of the target file. In this way, the user only needs to master and control the size of the touch force, and then the target menu operation option can be obtained, which is more humanized.
  • the target menu operation option is displayed in the display interface, and the target menu operation option may be specifically displayed in a display area of the target file (such as an icon of the target file) or a display area of the target file (target file Directly above, directly below or in the upper right corner) allows the user to more intuitively view the target menu operation options.
  • the method further includes canceling display of the target menu operation option when detecting that the display time of the target menu operation option reaches a third threshold.
  • a display time of an appropriate menu operation option may be preset, and the acquired target menu operation option may be prevented from being displayed in the display interface for a long time.
  • the method further includes: displaying the touch pressure into the display interface.
  • the target menu operation option is displayed to the display interface, and the touch pressure is also displayed to the display.
  • the interface helps the user perceive his or her own effort and is associated with the currently displayed target menu action options. After multiple uses, users can get a general understanding of their level of effort and the corresponding target menu operation options, helping users to more accurately and quickly locate the menu operation options they need in the subsequent use process.
  • the touch pressure of the touch position corresponding to the touch operation of the menu display is determined, according to the preset target file.
  • Corresponding menu operation menu and touch pressure mapping relationship table determining a target menu operation option corresponding to the touch pressure, and then displaying the target menu operation option into the display interface, thereby displaying quickly and concisely File-related operational options improve browsing efficiency and operational efficiency of file manipulation options.
  • FIG. 2 is a schematic flowchart of a method for displaying an operation menu according to another embodiment of the present invention.
  • the operation menu display method shown in the figure may include the following steps:
  • the most common operation for the file is the opening operation
  • the user clicks the target file the target file is opened, which is very convenient, and the existing operation mode of the opening operation is retained.
  • the long touch operation input by the user on the target file can be regarded as the user displaying the touch operation on the target file input menu, and in order to prevent the user from misoperation, the first threshold can be set, and the duration of the long touch operation can be set. When the first threshold is reached, it is determined that the long touch operation displays the touch operation for the menu.
  • the structure of the touch screen includes at least three layers: a screen glass layer, a touch panel layer, and a display panel layer.
  • the screen glass layer is a protective layer
  • the touch panel layer is used to sense a user's touch operation
  • the display panel layer is used to display an image.
  • the prior art has merged the touch panel layer and the display panel layer.
  • the pressure sensor layer may be added to the screen structure of the mobile terminal in advance, so that the mobile terminal can sense the touch display when the user touches the display screen.
  • the menu operation option of the target file specifically refers to an option that can operate on the target file.
  • the menu operation options of the target file may include: opening, copying, cutting, compressing, or deleting options such as operating the text file.
  • a mapping relationship between menu operation options and touch pressure corresponding to each of the plurality of files may be stored in the terminal in advance. After finding the mapping relationship between the menu operation option and the touch pressure corresponding to the target file, the target menu operation option corresponding to the touch pressure may be determined according to the mapping relationship between the menu operation option and the touch pressure corresponding to the target file.
  • a mapping relationship between a menu operation option and a touch pressure is set according to a file type, and different file types correspond to a mapping relationship table between different operation options and touch pressure, and the target file can be found according to the type information of the target file.
  • a mapping table of corresponding operation options and touch pressure is set according to a file type, and different file types correspond to a mapping relationship table between different operation options and touch pressure, and the target file can be found according to the type information of the target file.
  • the type information of the file may be obtained through the storage format information of the file, and the storage format information of the file may be obtained by using the file name suffix.
  • the files with the suffixes named “.doc” and “.jpg” are respectively Document files and image files.
  • the types of files include but are not limited to: document files, picture files, video files, audio files or shortcut files, and so on.
  • the same type of file has the same menu operation options, and different types of files have different menu operation options.
  • the word file and the txt file are classified into the document file, and the operation options are the same. They can include options such as copy, open and delete options, and the image file is different from the document file type, except for the copy, open and delete options. Options such as landscaping and previewing can also be included.
  • the files can be classified in advance, the same type of files contain the same menu operation options, different types of files contain different menu operation options, and then set between the menu operation options of each type of file and the touch pressure Mapping relational tables. Then, when the touch pressure is acquired, the mapping relationship table corresponding to the target file is searched according to the type information of the target file, and the target menu operation option corresponding to the touch pressure is obtained from the mapping relationship table.
  • a mapping relationship table is not set for each file stored in the terminal, which saves the storage space of the terminal, and can also maintain the difference of menu operation options between different types of files.
  • each specific menu operation option may specifically correspond to a specific touch pressure, and the menu operation option and the touch pressure are in one-to-one correspondence. relationship. In this way, the user needs to accurately grasp the touch strength in order to obtain the target menu operation options.
  • each specific menu operation option may correspond to a touch pressure interval, wherein there is no intersection between the touch pressure intervals; for example, when the target file includes three menu operation options and respectively: copy, cut
  • the three touch pressure intervals can be preset as [1N, 3N], [5N, 7N] and [9N, 11N], and the respective touch pressure intervals correspond to the menu operation options of the target file respectively. .
  • the user only needs to master and control the size of the touch force, and then the target menu operation option can be obtained, which is more humanized.
  • the second threshold may be set, and the second threshold is greater than the first threshold mentioned in step S201.
  • the duration of the long touch operation reaches the second threshold, the operation corresponding to the target menu operation option is performed on the target file. From the display of the target menu operation option to the operation corresponding to the execution of the target menu operation option, the user simply inputs a long touch operation on the target file, and the operation is simple and fast.
  • the touch operation when the touch operation is performed for the menu by using the long touch operation input for the target file, the touch pressure received at the corresponding position of the long touch operation is determined, and the corresponding pressure is determined according to the touch pressure.
  • the target menu operation option displays the target menu operation option to the current display interface, and can display part of the operation options of the file to the current display boundary quickly and concisely when the screen is small.
  • the browsing efficiency of the file operation option is improved, and the operation corresponding to the target menu operation option is performed on the target file when detecting that the duration of the long-press touch operation reaches the second threshold.
  • the operation option menu is first browsed and the operation option is selected to perform the file operation step, thereby improving the operation efficiency of the file operation.
  • FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal may include at least an operation determining unit 301, a pressure determining unit 302, a menu determining unit 303, and a menu display unit 304.
  • the operation determining unit 301 is configured to determine whether an operation for inputting the target file in the display interface is a menu display touch operation.
  • the operation of inputting the target file by the user is regarded as a menu display touch operation.
  • the operation determining unit 301 determines that the input operation is a menu display touch operation
  • the target menu operation option is displayed to the display interface by the pressure determination unit 302, the menu determination unit 303, and the menu display unit 304 for user selection.
  • the menu display touch operation is usually input by the user through the input device (physical keyboard or touch screen) of the terminal. Based on the consideration of terminal visibility and portability, mobile terminals with touch screens and a few physical buttons are now more popular among users, so the menu display touch operation is mainly based on the touch screen input of the mobile terminal.
  • the most common operation for the file is the opening operation
  • the user clicks the target file the target file is opened, which is very convenient, and the existing operation mode of the opening operation is retained.
  • the long touch operation input by the user to the target file can be regarded as the user displaying the touch operation on the target file input menu
  • the first threshold can be set to prevent the user from misoperation, and only the operation determining unit 301 determines the long touch.
  • the duration of the control operation reaches the first threshold, it is determined that the long-pressing touch operation displays the touch operation for the menu.
  • the pressure determining unit 302 is configured to determine, when the operation is the menu display operation, the touch pressure of the touch position corresponding to the menu display touch operation.
  • the structure of the touch screen includes at least three layers: a screen glass layer, a touch panel layer, and a display panel layer.
  • the screen glass layer is a protective layer
  • the touch panel The layer is used to sense the user's touch operation
  • the display panel layer is used to display the image.
  • the prior art has merged the touch panel layer and the display panel layer.
  • the pressure sensor layer may be added to the screen structure of the terminal in advance, so that the terminal can sense the touch display when the user touches the display screen. Therefore, when the user displays the touch operation for the target file input menu through the touch screen, the pressure determining unit 302 determines the touch pressure of the touch position corresponding to the touch operation of the menu display.
  • the menu determining unit 303 is configured to determine a target menu operation option corresponding to the touch pressure according to a preset mapping relationship between the menu operation option and the touch pressure corresponding to the target file.
  • the menu operation option of the target file specifically refers to an option that can operate on the target file.
  • the menu operation options of the target file may include: opening, copying, cutting, compressing, or deleting options such as operating the text file.
  • a mapping relationship between menu operation options and touch pressure corresponding to each of the plurality of files may be stored in the terminal in advance. After finding the mapping relationship between the menu operation option and the touch pressure corresponding to the target file, the target menu operation option corresponding to the touch pressure may be determined according to the mapping relationship between the menu operation option and the touch pressure corresponding to the target file.
  • a mapping relationship between a menu operation option and a touch pressure is set according to a file type, and different file types correspond to a mapping relationship table between different operation options and touch pressure, and the target file can be found according to the type information of the target file.
  • a mapping table of corresponding operation options and touch pressure is set according to a file type, and different file types correspond to a mapping relationship table between different operation options and touch pressure, and the target file can be found according to the type information of the target file.
  • the type information of the file may be obtained through the storage format information of the file, and the storage format information of the file may be obtained by using the file name suffix.
  • the files with the suffixes named “.doc” and “.jpg” are respectively Document files and image files.
  • the types of files include but are not limited to: document files, picture files, video files, audio files or shortcut files, and so on.
  • the same type of file has the same menu operation options, and different types of files have different menu operation options.
  • the word file and the txt file are classified into the document file, and the operation options are the same. They can include options such as copy, open and delete options, and the image file is different from the document file type, except for the copy, open and delete options. Options such as landscaping and previewing can also be included.
  • the files can be classified in advance, the same type of files contain the same menu operation options, different types of files contain different menu operation options, and then set between the menu operation options of each type of file and the touch pressure Mapping relational tables. Then when you get the touch pressure, you can The mapping relationship table corresponding to the touch pressure is obtained according to the type information of the target file, and the target menu operation option corresponding to the touch pressure is obtained from the mapping relationship table.
  • a mapping relationship table is not set for each file stored in the terminal, which saves the storage space of the terminal, and can also maintain the difference of menu operation options between different types of files.
  • each specific menu operation option may specifically correspond to a specific touch pressure, and form a one-to-one correspondence between the menu operation option and the touch pressure. In this way, the user needs to accurately grasp the touch strength in order to obtain the target menu operation options.
  • each specific menu operation option may correspond to a touch pressure interval, wherein there is no intersection between the touch pressure value regions; for example, when the target file includes three menu operation options and respectively: copy, cut And when deleting, the three touch pressure intervals can be preset as [1N, 3N], [5N, 7N], and [9N, 11N], and each touch pressure interval corresponds to each menu operation option of the target file. In this way, the user only needs to master and control the size of the touch force, and then the target menu operation option can be obtained, which is more humanized.
  • the menu display unit 304 is configured to display the target menu operation option into the display interface.
  • the menu display unit 304 displays the target menu operation option into the display interface, and specifically displays the target menu operation option in the display area of the target file (such as the icon of the target file) or near the display area of the target file. (directly above, below, or in the upper right corner of the target file) allows the user to more intuitively view the target menu operation options.
  • the menu display unit 304 is further configured to cancel display of the target menu operation option when detecting that the display time of the target menu operation option reaches a third threshold.
  • a display time of an appropriate menu operation option may be preset, and the acquired target menu operation option may be prevented from being displayed in the display interface for a long time.
  • the menu display unit 304 is further configured to display the touch pressure into the display interface.
  • the menu display unit 304 displays the target menu operation option to the display interface, and also displays the touch pressure into the display interface. Help users perceive their own effort and are currently displayed The target menu action options are linked. After multiple uses, users can get a general understanding of their level of effort and the corresponding target menu operation options, helping users to more accurately and quickly locate the menu operation options they need in the subsequent use process.
  • the operation determining unit 301 determines whether the operation of inputting the target file in the display interface is a menu display touch operation; and the pressure determining unit 302 may further determine the touch position corresponding to the menu display touch operation.
  • the touch pressure received; and the menu determining unit 303 determines the target menu operation option corresponding to the touch pressure according to the mapping relationship between the menu operation option and the touch pressure corresponding to the preset target file;
  • Unit 304 displays the target menu operation options into the display interface. Therefore, the embodiment can display file-related operation options quickly and concisely, and improves the browsing efficiency and operation efficiency of the file operation options.
  • FIG. 4 is a schematic structural diagram of a terminal according to another embodiment of the present invention.
  • the terminal shown in FIG. 4 includes an operation determining unit 301, a pressure determining unit 302, a menu determining unit 303, and a menu in the terminal shown in FIG.
  • an operation execution unit 305 is further included.
  • the operation determining unit 301 determines that the operation of the user inputting the target file is a long-pressing touch operation, and when the duration of the long-pressing touch operation reaches the first threshold, determining the long-pressing touch operation Show touch operations for the menu.
  • the operation execution unit 305 executes the target on the target file when detecting that the duration of the long touch operation reaches a second threshold.
  • the operation execution unit 305 performs an operation corresponding to the target menu operation option on the target file. From the process of displaying the target menu operation option to the operation corresponding to the execution of the target menu operation option, the user simply inputs a long touch operation on the target file, and the operation is simple and fast.
  • FIG. 5 is a schematic structural diagram of a terminal according to another embodiment of the present invention.
  • the terminal shown in FIG. 5 includes at least one processor 1001 (eg, a CPU), at least one communication bus 1002, and a user interface 1003. And a memory 1004.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 can include a display and a keyboard.
  • the optional user interface 1003 can also include a standard wired interface and a wireless interface.
  • the memory 1004 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • an operation menu display program may be included in the memory 1004 as a computer storage medium.
  • the processor 1001 can be used to call an operation menu display program stored in the memory 1004, and specifically perform the following steps:
  • the operation of the input is a touch operation of the menu, determining that the touch pressure of the touch position corresponding to the touch operation is displayed;
  • the target menu operation option is displayed into the display interface.
  • Determining, according to the preset mapping relationship between the menu operation option and the touch pressure corresponding to the target file, determining the target menu operation option corresponding to the touch pressure comprises: determining type information of the target file; The type information of the target file, searching a mapping relationship table between the menu operation option and the touch pressure corresponding to the target file; and determining a target menu operation option corresponding to the touch pressure according to the searched mapping relationship table .
  • the determining whether the operation of inputting the target file in the display interface is a menu display touch operation comprises: detecting that the duration of the long-press touch operation input for the target file in the display interface reaches a first threshold, determining the Press and hold the touch operation to display the touch operation for the menu.
  • the processor 1001 also calls the stored operation menu display program to perform the following steps: when detecting that the duration of the long-press touch operation reaches a second threshold, performing the target menu operation on the target file An operation corresponding to the option, wherein the second threshold is greater than the first threshold.
  • the processor 1001 also calls the stored operation menu display program to perform the step of canceling the display of the target menu operation option when the display time of the target menu operation option reaches the third threshold.
  • the processor 1001 also calls the stored operation menu display program to perform the following steps: Displaying the touch pressure into the display interface.
  • the embodiment of the present invention it is determined whether the operation of inputting the target file in the display interface is a menu display touch operation, and determining the touch pressure of the touch position corresponding to the touch operation of the menu display, and further Setting a mapping relationship between the menu operation option and the touch pressure corresponding to the target file, determining a target menu operation option corresponding to the touch pressure, and finally displaying the target menu operation option to the display interface. Therefore, the embodiment of the invention can display file-related operation options quickly and concisely, and improves browsing efficiency and operation efficiency of file operation options.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

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

Abstract

一种操作菜单显示方法及终端,其中方法包括:确定针对显示界面中目标文件输入的操作是否为菜单展示触控操作(S101);在所述操作为所述菜单展示触控操作时,获取所述菜单展示触控操作对应的触控位置所受的触控压力(S102);根据预设的目标文件对应的菜单操作选项与触控压力的映射关系表,获取所述触控压力对应的目标菜单操作选项(S103);以及将所述目标菜单操作选项显示到所述显示界面中(S104)。该方法可快捷并简洁的显示文件相关的操作选项,提高了文件操作选项的浏览效率和操作效率。

Description

一种操作菜单显示方法及终端
本发明要求2015年8月27日递交的发明名称为“一种操作菜单显示方法及终端”的申请号201510541560.2的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。
技术领域
本发明涉及通信技术领域,尤其涉及一种操作菜单显示方法及终端。
背景技术
随着通信技术的不断发展,人们已可以通过移动终端打电话、发短信,极大的方便了人们的工作、学习和娱乐,使之成为人们日常生活中不可或缺的一部分。如今,智能化的移动终端已经可以对其中存储的文件进行多种操作,例如针对图片文件,可以对其进行删除、分享、裁剪和美化等各种操作,非常方便实用。然而,对于可以进行操作的文件,移动终端通常会在选择该文件之后在当前显示屏预设的区域显示该文件的操作选项,若文件可执行的操作选项较多时,会占用较多的显示屏,不便于用户浏览进行选择相关操作选项。
发明内容
本发明实施例提供了一种操作菜单显示方法及终端,可快捷并简洁的显示文件相关的操作选项,提高了文件操作选项的浏览效率和操作效率。
本发明实施例提供了一种操作菜单显示方法,所述方法包括:
确定针对显示界面中目标文件输入的操作是否为菜单展示触控操作;
在所述输入的操作为所述菜单展示触控操作时,确定所述菜单展示触控操作对应的触控位置所受的触控压力;
根据预设的所述目标文件对应的菜单操作选项与触控压力的映射关系表,获取与所述触控压力所对应的目标菜单操作选项;以及
将所述目标菜单操作选项显示到所述显示界面中。
相应的,本发明实施例提供了一种终端,所述终端包括:
操作确定单元,用于确定针对显示界面中目标文件输入的操作是否为菜单展示触控操作;
压力确定单元,用于在所述输入的操作为菜单展示触控操作时,确定所述菜单展示触控操作对应的触控位置所受的触控压力;
菜单确定单元,用于根据预设的所述目标文件对应的菜单操作选项与触控压力的映射关系表,确定所述触控压力对应的目标菜单操作选项;以及
菜单显示单元,用于将所述目标菜单操作选项显示到所述显示界面中。
本发明实施例,可在针对显示界面中目标文件输入的操作为菜单展示触控操作时,确定所述菜单展示触控操作对应的触控位置所受的触控压力,根据预设的所述目标文件对应的菜单操作选项与触控压力的映射关系表,获取所述触控压力对应的目标菜单操作选项,进而将所述目标菜单操作选项显示到所述显示界面中,从而可快捷并简洁的显示文件相关的操作选项,提高了文件操作选项的浏览效率和操作效率。
附图说明
为了更清楚地说明本发明实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明一种实施例提供的一种操作菜单显示方法流程示意图;
图2是本发明另一实施例提供的一种操作菜单显示方法流程示意图;
图3是本发明一种实施例提供的一种终端的结构示意图;
图4是本发明另一实施例提供的一种终端的结构示意图;以及
图5是本发明又一实施例提供的一种终端的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳 动前提下所获得的所有其他实施例,都属于本发明保护的范围。
具体实现中,本发明实施例中所提及的终端包括但不限于:智能手机(如Android手机、IOS手机)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(MID,Mobile Internet Device)、穿戴式智能设备等电子设备。需要说明的是,本发明所描述的方法是由存储在存储器中的一组代码执行,该代码执行于基于冯诺依曼体系的计算机系统中。
在本实施例中,尤其是针对具有触摸显示屏的移动终端中,用户在显示界面以特定方式(例如长按、双击或者点击操作)触摸目标文件时可相应的确定用户触摸点处的触控压力,进而根据终端中预设的触控压力值与目标文件的菜单操作选项的映射关系,确定与触控压力相对应的目标菜单操作选项,显示到文件显示界面中。对比现有技术中,需要对目标文件进行操作时,首先需打开目标文件的菜单操作选项列表将全部可选择的操作选项显示到显示界面中,然后供用户进行浏览选择目标菜单操作选项,本实施例所提供的解决方法可快捷的将目标菜单操作选项显示到当前显示界面中,提高了操作效率。
除此之外,对于屏幕较小的移动终端,将全部可选择的操作选项显示到显示界面中,会覆盖整个显示界面,并且用户通常需要上下或者左右拖动菜单操作选项列表才能完整浏览,本方案每次根据确定的触控压力确定与之相应的目标菜单操作选项显示到显示界面中,更便于用户浏览且显示界面也看起来更加简洁。
下面将结合图1到图5对本发明实施例提供的一种操作菜单显示方法及终端进行具体描述。
图1为本发明一种实施例提供的一种操作菜单显示方法的流程示意图,如图所示的操作菜单显示方法可包括以下步骤:
S101,确定针对显示界面中目标文件输入的操作是否为菜单展示触控操作。
具体实现中,用户对显示在显示界面中的目标文件进行点击、双击或者长按时,便可视为用户对目标文件输入的操作为菜单展示触控操作。当终端确定输入的操作为菜单展示触控操作时,便执行步骤S102到步骤S104,以实现将目标菜单操作选项显示到显示界面中供用户选择。需要说明的是,菜单展示触 控操作通常为用户通过终端的输入装置(物理键盘或者触摸屏)输入的。基于终端的可视性和便携性的考虑,现如今具有触摸屏和少数物理按键的移动终端更受广大用户的欢迎,因此菜单展示触控操作以通过移动终端的触摸屏输入为主。
S102,在所述操作为所述菜单展示触控操作时,确定所述菜单展示触控操作所对应的触控位置所受的触控压力。
具体实现中,在具有触屏功能的终端中,其触摸屏的结构包括至少三层:屏幕玻璃层、触控面板层和显示面板层。其中屏幕玻璃层为保护层,触摸面板层用于感知用户的触摸操作,显示面板层用于显示图像。为了使得终端机身(如智能手机)更薄、更美观,如今已有技术使触控面板层和显示面板层融合。为了实现确定触控位置所受的触控压力,可预先在终端的屏幕结构中增加压力传感器层,这样终端便可在用户触摸显示屏时,通过压力传感器层感知触摸显示屏的力度。因此便可以在用户通过触摸屏针对目标文件输入菜单展示触控操作时,同时确定该菜单展示触控操作对应的触控位置所受的目标触控压力。
S103,根据预设的所述目标文件对应的菜单操作选项与触控压力的映射关系表,确定所述触控压力所对应的目标菜单操作选项。
具体实现中,目标文件的菜单操作选项具体是指可对目标文件进行操作的选项。例如,目标文件为文本文件,则该目标文件的菜单操作选项可包括:打开、复制、剪切、压缩或者删除等可对该文本文件进行操作的选项。
一种方式中,可预先在终端中存储多个文件中每一文件对应的菜单操作选项与触控压力的映射关系表。在查找到目标文件对应的菜单操作选项与触控压力的映射关系表后,可根据目标文件对应的菜单操作选项与触控压力的映射关系表,确定触控压力对应的目标菜单操作选项。
另一种方式中,根据文件类型设置菜单操作选项与触控压力的映射关系表,不同的文件类型对应不同的操作选项与触控压力的映射关系表,可根据目标文件的类型信息查找目标文件对应的操作选项与触控压力的映射关系表。
具体实现中,文件的类型信息具体可通过文件的存储格式信息获得,而文件的存储格式信息可通过文件名后缀获知,例如后缀名为“.doc”和“.jpg”的文件分别的为word文档文件和图片文件。通常文件的类型包括但不限于: 文档文件、图片文件、视频文件、音频文件或者快捷方式文件等等。同一类型的文件其菜单操作选项是相同的,而不同类型的文件其菜单操作选项不一定相同。例如将word文件和txt文件归入文档文件中,其操作选项是可以相同的,都可以包含复制、打开和删除选项等选项,而图片文件跟文档文件类型不同,除了包含复制、打开和删除选项之外还可包含美化和预览等选项。
具体实现中,可预先将文件进行分类,同一类型的文件包含相同的菜单操作选项,不同类型的文件包含不同的菜单操作选项,然后设置每一类型文件的菜单操作选项与触控压力之间的映射关系表。然后在获取到触控压力时,便可根据目标文件的类型信息去查找与之相应的映射关系表,并从该映射关系表中获取与触控压力对应的目标菜单操作选项。采用这种方法,不用对终端中存储的每个文件都设置一个映射关系表,节约了终端的存储空间,还可保持不同类型的文件之间菜单操作选项的差异性。
具体实现中,在菜单操作选项与触控压力的映射关系表中,每一具体的菜单操作选项可具体对应于某一具体的触控压力,形成菜单操作选项与触控压力一一对应的关系。采用这种方式时,需要用户精准的把握触控力度,才能获取到目标菜单操作选项。
或者,每一具体的菜单操作选项可对应于一个触控压力区间,其中,各触控压力的区间之间没有交集;例如,当目标文件包括三个菜单操作选项且分别为:复制、剪切和删除时,可预设三个触控压力区间分别为[1N,3N]、[5N,7N]和[9N,11N],各触控压力区间分别与目标文件的各菜单操作选项相对应。采用这种方式时,用户只需大概掌握并控制自己触控力度的大小,便可以获取到目标菜单操作选项,更加人性化。
S104,将所述目标菜单操作选项显示到所述显示界面中。
具体实现中,将目标菜单操作选项显示到所述显示界面中,可具体将目标菜单操作选项显示在目标文件的显示区域(如目标文件的图标上)或者目标文件的显示区域附近(目标文件的正上方、正下方或者右上角),让用户更加直观的观看到目标菜单操作选项。
在又一可选实施例中,所述方法还包括:检测到所述目标菜单操作选项的显示时间达到第三阈值时,取消所述目标菜单操作选项的显示。
具体实现中,可预先设置一个合适的菜单操作选项的显示时间,避免获取到的目标菜单操作选项长时间显示在显示界面中占用显示界面的空间。
在又一可选实施例中,所述方法还包括:将所述触控压力显示到所述显示界面中。
具体实现中,由于在实际操作过程中,用户很难感知到自己的用力大小,因此在获取到触控压力之后,将目标菜单操作选项显示到显示界面的同时,也将触控压力显示到显示界面中,可帮助用户感知自己的用力大小,并且和当前显示的目标菜单操作选项联系起来。多次使用之后用户便可以大概了解到自己的用力程度及相应的目标菜单操作选项,帮助用户在后续使用过程更加准确快速的定位到自己需要的菜单操作选项。
本发明实施例,可在接收到针对显示界面中目标文件输入的菜单展示触控操作时,确定所述菜单展示触控操作对应的触控位置所受的触控压力,根据预设的目标文件对应的菜单操作选项与触控压力的映射关系表,确定所述触控压力对应的目标菜单操作选项,进而将所述目标菜单操作选项显示到所述显示界面中,从而可快捷并简洁的显示文件相关的操作选项,提高了文件操作选项的浏览效率和操作效率。
图2是本发明另一实施例提供的一种操作菜单显示方法的流程示意图,如图所示的操作菜单显示方法可包括以下步骤:
S201,检测到针对显示界面中目标文件输入长按触控操作时,判断所述长按触控操作的持续时间是否达到第一阈值。
S202,在所述长按触控操作的持续时间达到第一阈值时,确定所述长按触控操作为菜单展示触控操作。
具体实现中,对文件最常用的操作便是打开操作,且在具有触摸屏的终端中,通常用户轻轻点击目标文件,便会打开目标文件,非常的方便,保留现有的打开操作的操作方式符合当前大多数用户的习惯。因此可将用户对目标文件输入的长按触控操作视为用户对目标文件输入菜单展示触控操作,并且为了防止用户的误操作,可设置第一阈值,当长按触控操作的持续时间达到第一阈值时,确定该长按触控操作为菜单展示触控操作。
S203,获取所述菜单展示触控操作对应的触控位置所受的触控压力。
具体实现中,在具有触屏功能的终端中,其触摸屏的结构包括至少三层:屏幕玻璃层、触控面板层和显示面板层。其中屏幕玻璃层为保护层,触摸面板层用于感知用户的触摸操作,显示面板层用于显示图像。为了使得终端机身更薄、更美观,如今已有技术使触控面板层和显示面板层融合。为了实现能确定触控位置所受的触控压力,可预先在移动终端的屏幕结构中增加压力传感器层,这样移动终端便可通过在用户触摸显示屏时,通过感知触摸显示屏的力度,因此便可以在用户通过触摸屏针对目标文件输入菜单展示触控操作时,终端同时获取该菜单展示触控操作对应的触控位置所受的触控压力。
S204,根据预设的目标文件对应的菜单操作选项与触控压力的映射关系表,获取所述触控压力对应的目标菜单操作选项。
具体实现中,目标文件的菜单操作选项具体是指可对目标文件进行操作的选项。例如,目标文件为文本文件,则该目标文件的菜单操作选项可包括:打开、复制、剪切、压缩或者删除等可对该文本文件进行操作的选项。
一种方式中,可预先在终端中存储多个文件中每一文件对应的菜单操作选项与触控压力的映射关系表。在查找到目标文件对应的菜单操作选项与触控压力的映射关系表后,可根据目标文件对应的菜单操作选项与触控压力的映射关系表,确定触控压力对应的目标菜单操作选项。
另一种方式中,根据文件类型设置菜单操作选项与触控压力的映射关系表,不同的文件类型对应不同的操作选项与触控压力的映射关系表,可根据目标文件的类型信息查找目标文件对应的操作选项与触控压力的映射关系表。
具体实现中,文件的类型信息具体可通过文件的存储格式信息获得,而文件的存储格式信息可通过文件名后缀获知,例如后缀名为“.doc”和“.jpg”的文件分别的为word文档文件和图片文件。通常文件的类型包括但不限于:文档文件、图片文件、视频文件、音频文件或者快捷方式文件等等。同一类型的文件其菜单操作选项是相同的,而不同类型的文件其菜单操作选项不一定相同。例如将word文件和txt文件归入文档文件中,其操作选项是可以相同的,都可以包含复制、打开和删除选项等选项,而图片文件跟文档文件类型不同,除了包含复制、打开和删除选项之外还可包含美化和预览等选项。
具体实现中,可预先将文件进行分类,同一类型的文件包含相同的菜单操作选项,不同类型的文件包含不同的菜单操作选项,然后设置每一类型文件的菜单操作选项与触控压力之间的映射关系表。然后在获取到触控压力时,便可根据目标文件的类型信息去查找与之相应的映射关系表,并从该映射关系表中获取与触控压力对应的目标菜单操作选项。采用这种方法,不用对终端中存储的每个文件都设置一个映射关系表,节约了终端的存储空间,还可保持不同类型的文件之间菜单操作选项的差异性。
具体实现中,在菜单操作选项与触控压力值的映射关系表中,每一具体的菜单操作选项可具体对应于某一具体的触控压力,形成菜单操作选项与触控压力一一对应的关系。采用这种方式时,需要用户精准的把握触控力度,才能获取到目标菜单操作选项。
或者,每一具体的菜单操作选项可对应于一个触控压力区间,其中,其中,各触控压力区间之间没有交集;例如,当目标文件包括三个菜单操作选项且分别为:复制、剪切和删除时,可预设三个触控压力区间分别为[1N,3N]、[5N,7N]和[9N,11N],各触控压力区间分别与目标文件的各菜单操作选项相对应。采用这种方式时,用户只需大概掌握并控制自己触控力度的大小,便可以获取到目标菜单操作选项,更加人性化。
S205,将所述目标菜单操作选项显示到所述显示界面中。
S206,当检测到所述长按触控操作的持续时间达到第二阈值时,对所述目标文件执行所述目标菜单操作选项所对应的操作。
具体实现中,可设置第二阈值,并且第二阈值大于步骤S201中所提及的第一阈值。当长按触控操作的持续时间达到第二阈值时,对目标文件执行目标菜单操作选项对应的操作。从显示目标菜单操作选项到执行目标菜单操作选项对应的操作这个过程,用户只是对目标文件输入了长按触控操作,操作简洁且快捷。
本发明实施例,可在针对目标文件输入的长按触控操作为菜单展示触控操作时,确定长按触控操作对应位置处所受的触控压力,根据所述触控压力确定相应的目标菜单操作选项,并将所述目标菜单操作选项显示到当前的显示界面中,可在屏幕较小时将文件的部分操作选项快捷而又简洁的显示到当前显示界 面中,提高了文件操作选项的浏览效率;还可以进一步在检测所述长按触控操作的持续时间达到第二阈值时,对所述目标文件执行所述目标菜单操作选项所对应的操作,省去了传统文件操作时需首先浏览操作选项菜单再选择操作选项进行文件操作的步骤,提高了文件操作的操作效率。
图3为本发明一种实施例提供的一种终端的结构示意图,如图所示终端至少可以包括:操作确定单元301、压力确定单元302、菜单确定单元303和菜单显示单元304。
操作确定单元301,用于确定针对显示界面中目标文件输入的操作是否为菜单展示触控操作。
具体实现中,用户对显示在显示界面中的目标文件进行点击、双击或者长按时,便可视为用户对目标文件输入的操作为菜单展示触控操作。当操作确定单元301确定输入的操作为菜单展示触控操作时,便通过压力确定单元302、菜单确定单元303和菜单显示单元304将目标菜单操作选项显示到显示界面中供用户选择。需要说明的是,菜单展示触控操作通常为用户通过终端的输入装置(物理键盘或者触摸屏)输入的。基于终端的可视性和便携性的考虑,现如今具有触摸屏和少数物理按键的移动终端更受广大用户的欢迎,因此菜单展示触控操作以通过移动终端的触摸屏输入为主。
具体实现中,对文件最常用的操作便是打开操作,且在具有触摸屏的终端中,通常用户轻轻点击目标文件,便会打开目标文件,非常的方便,保留现有的打开操作的操作方式符合当前大多数用户的习惯。因此可将用户对目标文件输入的长按触控操作视为用户对目标文件输入菜单展示触控操作,并且为了防止用户的误操作,可设置第一阈值,只有操作确定单元301确定长按触控操作的持续时间达到第一阈值时,才确定所述长按触控操作为所述菜单展示触控操作。
压力确定单元302,用于在所述操作为所述菜单展示操作时,确定所述菜单展示触控操作对应的触控位置所受的触控压力。
具体实现中,在具有触屏功能的终端中,其触摸屏的结构包括至少三层:屏幕玻璃层、触控面板层和显示面板层。其中屏幕玻璃层为保护层,触摸面板 层用于感知用户的触摸操作,显示面板层用于显示图像。为了使得终端机身更薄、更美观,如今已有技术使触控面板层和显示面板层融合。为了实现能确定触控位置所受的触控压力,可预先在终端的屏幕结构中增加压力传感器层,这样终端便可通过在用户触摸显示屏时,通过感知触摸显示屏的力度。因此便可以在用户通过触摸屏针对目标文件输入菜单展示触控操作时,压力确定单元302确定该菜单展示触控操作所对应的触控位置所受的触控压力。
菜单确定单元303,用于根据预设的所述目标文件对应的菜单操作选项与触控压力的映射关系表,确定所述触控压力所对应的目标菜单操作选项。
具体实现中,目标文件的菜单操作选项具体是指可对目标文件进行操作的选项。例如,目标文件为文本文件,则该目标文件的菜单操作选项可包括:打开、复制、剪切、压缩或者删除等可对该文本文件进行操作的选项。
一种方式中,可预先在终端中存储多个文件中每一文件对应的菜单操作选项与触控压力的映射关系表。在查找到目标文件对应的菜单操作选项与触控压力的映射关系表后,可根据目标文件对应的菜单操作选项与触控压力的映射关系表,确定触控压力对应的目标菜单操作选项。
另一种方式中,根据文件类型设置菜单操作选项与触控压力的映射关系表,不同的文件类型对应不同的操作选项与触控压力的映射关系表,可根据目标文件的类型信息查找目标文件对应的操作选项与触控压力的映射关系表。
具体实现中,文件的类型信息具体可通过文件的存储格式信息获得,而文件的存储格式信息可通过文件名后缀获知,例如后缀名为“.doc”和“.jpg”的文件分别的为word文档文件和图片文件。通常文件的类型包括但不限于:文档文件、图片文件、视频文件、音频文件或者快捷方式文件等等。同一类型的文件其菜单操作选项是相同的,而不同类型的文件其菜单操作选项不一定相同。例如将word文件和txt文件归入文档文件中,其操作选项是可以相同的,都可以包含复制、打开和删除选项等选项,而图片文件跟文档文件类型不同,除了包含复制、打开和删除选项之外还可包含美化和预览等选项。
具体实现中,可预先将文件进行分类,同一类型的文件包含相同的菜单操作选项,不同类型的文件包含不同的菜单操作选项,然后设置每一类型文件的菜单操作选项与触控压力之间的映射关系表。然后在获取到触控压力时,便可 根据目标文件的类型信息去查找与之相应的映射关系表,并从该映射关系表中获取与触控压力对应的目标菜单操作选项。采用这种方法,不用对终端中存储的每个文件都设置一个映射关系表,节约了终端的存储空间,还可保持不同类型的文件之间菜单操作选项的差异性。
在该菜单操作选项与触控压力的映射关系表中,每一具体的菜单操作选项可具体对应于某一具体的触控压力,形成菜单操作选项与触控压力一一对应的关系。采用这种方式时,需要用户精准的把握触控力度,才能获取到目标菜单操作选项。
或者,每一具体的菜单操作选项可对应于一个触控压力区间,其中,各触控压力值区之间没有交集;例如,当目标文件包括三个菜单操作选项且分别为:复制、剪切和删除时,可预设三个触控压力区间分别为[1N,3N]、[5N,7N]和[9N,11N],各触控压力区间分别与目标文件的各菜单操作选项相对应。采用这种方式时,用户只需大概掌握并控制自己触控力度的大小,便可以获取到目标菜单操作选项,更加人性化。
菜单显示单元304,用于将所述目标菜单操作选项显示到所述显示界面中。
具体实现中,菜单显示单元304将目标菜单操作选项显示到所述显示界面中,可具体将目标菜单操作选项显示在目标文件的显示区域(如目标文件的图标上)或者目标文件的显示区域附近(目标文件的正上方、正下方或者右上角),让用户更加直观的观看到目标菜单操作选项。
在又一可选实施例中,所述菜单显示单元304还用于在检测到所述目标菜单操作选项的显示时间达到第三阈值时,取消所述目标菜单操作选项的显示。
具体实现中,可预先设置一个合适的菜单操作选项的显示时间,避免获取到的目标菜单操作选项长时间显示在显示界面中占用显示界面的空间。
在又一可选实施例中,所述菜单显示单元304还用于将所述触控压力显示到所述显示界面中。
具体实现中,由于在实际操作过程中,用户很难感知到自己的用力大小,因此菜单显示单元304将目标菜单操作选项显示到显示界面的同时,也将触控压力显示到显示界面中,可帮助用户感知自己的用力大小,并且和当前显示的 目标菜单操作选项联系起来。多次使用之后用户便可以大概了解到自己的用力程度及相应的目标菜单操作选项,帮助用户在后续使用过程更加准确并且快速的定位到自己需要的菜单操作选项。
本发明实施例,可通过操作确定单元301确定针对显示界面中目标文件输入的操作是否为菜单展示触控操作;还可通过压力确定单元302确定所述菜单展示触控操作所对应的触控位置所受的触控压力;进而通过菜单确定单元303根据预设的目标文件对应的菜单操作选项与触控压力的映射关系表,确定所述触控压力对应的目标菜单操作选项;最后通过菜单显示单元304将所述目标菜单操作选项显示到所述显示界面中。从而本实施例可快捷并简洁的显示文件相关的操作选项,提高了文件操作选项的浏览效率和操作效率。
图4为本发明又一实施例提供的一种终端的结构示意图,图4所示的终端除了包括图3所示的终端中的操作确定单元301、压力确定单元302、菜单确定单元303及菜单显示单元304外,还包括操作执行单元305。
在本实施方式中,操作确定单元301确定用户针对目标文件输入的操作为长按触控操作,且所述长按触控操作的持续时间达到第一阈值时,确定所述长按触控操作为所述菜单展示触控操作。
在所述菜单展示触控操作为长按触控操作的情况下,操作执行单元305在检测到所述长按触控操作的持续时间达到第二阈值时,对所述目标文件执行所述目标菜单操作选项所对应的操作,其中,所述第二阈值大于所述第一阈值。
具体实现中,当生成菜单展示触控操作且获取到目标文件的目标菜单操作选项之后,可进一步判断本实施例中的长按触控操作的持续时间是否达到第二阈值,并且在判断结果为是时,操作执行单元305对目标文件执行目标菜单操作选项所对应的操作。从显示目标菜单操作选项到执行目标菜单操作选项所对应的操作这个过程,用户只是对目标文件输入了长按触控操作,操作简洁且快捷。
图5为本发明又一实施方式中终端的结构示意图,图5所示的终端包括至少一个处理器1001(例如CPU)、至少一个通信总线1002、用户接口1003 及存储器1004。其中,通信总线1002用于实现这些组件之间的连接通信。其中,用户接口1003可以包括显示屏(Display)、键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。存储器1004可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。如图5所示,作为一种计算机存储介质的存储器1004中可以包括操作菜单显示程序。
在图5所示的终端中,处理器1001可以用于调用存储器1004中存储的操作菜单显示程序,并具体执行以下步骤:
确定针对显示界面中目标文件输入的操作是否为菜单展示触控操作;
在所述输入的操作为所述菜单展示触控操作时,确定所述菜单展示触控操作对应的触控位置所受的触控压力;
根据预设的所述目标文件对应的菜单操作选项与触控压力的映射关系表,确定所述触控压力对应的目标菜单操作选项;以及
将所述目标菜单操作选项显示到所述显示界面中。
其中,所述根据预设的所述目标文件对应的菜单操作选项与触控压力的映射关系表,确定所述触控压力对应的目标菜单操作选项包括:确定所述目标文件的类型信息;根据所述目标文件的类型信息,查找所述目标文件对应的菜单操作选项与触控压力的映射关系表;以及根据所述查找到的映射关系表确定与所述触控压力对应的目标菜单操作选项。
其中,所述确定针对显示界面中目标文件输入的操作是否为菜单展示触控操作包括:检测到针对显示界面中目标文件输入的长按触控操作的持续时间达到第一阈值时,确定所述长按触控操作为所述菜单展示触控操作。
其中,所述处理器1001还调用存储的操作菜单显示程序以执行以下步骤:当检测到所述长按触控操作的持续时间达到第二阈值时,对所述目标文件执行所述目标菜单操作选项所对应的操作,其中,所述第二阈值大于所述第一阈值。
其中,所述处理器1001还调用存储的操作菜单显示程序以执行以下步骤:检测到所述目标菜单操作选项的显示时间达到第三阈值时,取消所述目标菜单操作选项的显示。
其中,所述处理器1001还调用存储的操作菜单显示程序以执行以下步骤: 将所述触控压力显示到所述显示界面中。
本发明实施例,可确定针对显示界面中目标文件输入的操作是否为菜单展示触控操作,还可确定所述菜单展示触控操作所对应的触控位置所受的触控压力,进而根据预设的目标文件对应的菜单操作选项与触控压力的映射关系表,确定所述触控压力对应的目标菜单操作选项,最后将所述目标菜单操作选项显示到所述显示界面中。从而本发明实施例可快捷并简洁的显示文件相关的操作选项,提高了文件操作选项的浏览效率和操作效率。
对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和单元并不一定是本申请所必须的。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存取存储器(Random Access Memory,简称RAM)等。
以上对本发明实施例公开的一种操作菜单显示方法及终端进行了详细介绍,以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims (18)

  1. 一种操作菜单显示方法,其特征在于,包括:
    确定针对显示界面中目标文件输入的操作是否为菜单展示触控操作;
    在所述输入的操作为所述菜单展示触控操作时,确定所述菜单展示触控操作对应的触控位置所受的触控压力;
    根据预设的所述目标文件对应的菜单操作选项与触控压力的映射关系表,确定所述触控压力对应的目标菜单操作选项;以及
    将所述目标菜单操作选项显示到所述显示界面中。
  2. 根据权利要求1所述的方法,其特征在于,所述根据预设的所述目标文件对应的菜单操作选项与触控压力的映射关系表,确定所述触控压力对应的目标菜单操作选项包括:
    确定所述目标文件的类型信息;
    根据所述目标文件的类型信息,查找所述目标文件对应的菜单操作选项与触控压力的映射关系表;以及
    根据所述查找到的映射关系表确定所述触控压力对应的目标菜单操作选项。
  3. 根据权利要求1所述的方法,其特征在于,所述确定针对显示界面中目标文件输入的操作是否为菜单展示触控操作包括:
    检测到针对显示界面中目标文件输入的长按触控操作的持续时间达到第一阈值时,确定所述长按触控操作为所述菜单展示触控操作。
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    当检测到所述长按触控操作的持续时间达到第二阈值时,对所述目标文件执行所述目标菜单操作选项所对应的操作,其中,所述第二阈值大于所述第一阈值。
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    检测到所述目标菜单操作选项的显示时间达到第三阈值时,取消所述目标菜单操作选项的显示。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法还包括:
    将所述触控压力显示到所述显示界面中。
  7. 一种终端,其特征在于,所述终端包括:
    操作确定单元,用于确定针对显示界面中目标文件输入的操作是否为菜单展示触控操作;
    压力确定单元,用于在所述输入的操作为所述菜单展示触控操作时,确定所述菜单展示触控操作对应的触控位置所受的触控压力;
    菜单确定单元,用于根据预设的所述目标文件对应的菜单操作选项与触控压力的映射关系表,确定所述触控压力对应的目标菜单操作选项;以及
    菜单显示单元,用于将所述目标菜单操作选项显示到所述显示界面中。
  8. 根据权利要求7所述的终端,其特征在于,所述菜单确定单元用于根据预设的所述目标文件对应的菜单操作选项与触控压力的映射关系表,确定所述触控压力对应的目标菜单操作选项具体为:
    所述菜单确定单元确定所述目标文件的类型信息,根据所述目标文件的类型信息,查找预设的所述目标文件对应的菜单操作选项与触控压力的映射关系表,以及根据所述查找到的映射关系表确定所述触控压力对应的目标菜单操作选项。
  9. 根据权利要求7所述的终端,其特征在于,所述操作确定单元确定针对显示界面中目标文件输入的操作是否为菜单展示触控操作具体为:
    所述操作确定单元检测到针对显示界面中目标文件输入的长按触控操作的持续时间达到第一阈值时,确定所述长按触控操作为所述菜单展示触控操作。
  10. 根据权利要求9所述的终端,其特征在于,所述终端还包括:
    操作执行单元,用于当检测到所述长按触控操作的持续时间达到第二阈值时,对所述目标文件执行所述目标菜单操作选项所对应的操作,其中,所述第二阈值大于所述第一阈值。
  11. 根据权利要求7所述的终端,其特征在于,所述菜单显示单元还用于在检测到所述目标菜单操作选项的显示时间达到第三阈值时,取消所述目标菜单操作选项的显示。
  12. 根据权利要求7至11任意一项所述的终端,其特征在于,所述菜单显示单元还用于将所述触控压力显示到所述显示界面中。
  13. 一种终端,包括:
    存储器,存储一组计算机可执行程序代码;以及
    处理器,用于执行所述计算机可执行程序代码以执行以下操作:
    确定针对显示界面中目标文件输入的操作是否为菜单展示触控操作;
    在所述操作为所述菜单展示触控操作时,确定所述菜单展示触控操作对应的触控位置所受的触控压力;
    根据预设的所述目标文件对应的菜单操作选项与触控压力的映射关系表,确定所述触控压力对应的目标菜单操作选项;以及
    将所述目标菜单操作选项显示到所述显示界面中。
  14. 根据权利要求13所述的终端,其特征在于,所述根据预设的所述目标文件对应的菜单操作选项与触控压力的映射关系表,确定所述触控压力对应的目标菜单操作选项包括:
    确定所述目标文件的类型信息;
    根据所述目标文件的类型信息,查找所述目标文件对应的菜单操作选项与触控压力值的映射关系表;以及
    根据所述查找到的映射关系表确定所述触控压力对应的目标菜单操作选 项。
  15. 根据权利要求13所述的终端,其特征在于,所述确定针对显示界面中目标文件输入的操作是否为菜单展示触控操作包括:
    检测到针对显示界面中目标文件输入的长按触控操作的持续时间达到第一阈值时,确定所述长按触控操作为所述菜单展示触控操作。
  16. 根据权利要求15所述的终端,其特征在于,所述计算机可执行程序代码还被执行以用于:
    当检测到所述长按触控操作的持续时间达到第二阈值时,对所述目标文件执行所述目标菜单操作选项对应的操作,其中,所述第二阈值大于所述第一阈值。
  17. 根据权利要求13所述的终端,其特征在于,所述计算机可执行程序代码还被执行以用于:
    检测到所述目标菜单操作选项的显示时间达到第三阈值时,取消所述目标菜单操作选项的显示。
  18. 根据权利要求13至17任意一项所述的终端,其特征在于,所述计算机可执行程序代码还被执行以用于:
    将所述触控压力显示到所述显示界面中。
PCT/CN2016/080341 2015-08-27 2016-04-27 一种操作菜单显示方法及终端 Ceased WO2017032005A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510541560.2 2015-08-27
CN201510541560.2A CN105068721B (zh) 2015-08-27 2015-08-27 一种操作菜单显示方法及终端

Publications (1)

Publication Number Publication Date
WO2017032005A1 true WO2017032005A1 (zh) 2017-03-02

Family

ID=54498104

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/080341 Ceased WO2017032005A1 (zh) 2015-08-27 2016-04-27 一种操作菜单显示方法及终端

Country Status (2)

Country Link
CN (1) CN105068721B (zh)
WO (1) WO2017032005A1 (zh)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105068721B (zh) * 2015-08-27 2019-03-15 Oppo广东移动通信有限公司 一种操作菜单显示方法及终端
CN105739777A (zh) * 2016-01-29 2016-07-06 宇龙计算机通信科技(深圳)有限公司 移动终端控制方法、装置和移动终端
CN105739869A (zh) * 2016-01-29 2016-07-06 广东欧珀移动通信有限公司 一种终端设备的显示控制方法和相关装置
CN105468288A (zh) * 2016-01-29 2016-04-06 广东欧珀移动通信有限公司 控制用户终端显示的方法和相关设备
CN107193460A (zh) * 2016-03-15 2017-09-22 中兴通讯股份有限公司 一种设置时间的方法及装置
CN107203317A (zh) * 2016-03-18 2017-09-26 中兴通讯股份有限公司 一种设置时间的方法及装置
CN105929997A (zh) * 2016-04-15 2016-09-07 北京奇虎科技有限公司 终端设备的交互操作处理方法和装置
CN107357509A (zh) * 2016-05-09 2017-11-17 中兴通讯股份有限公司 文本操作执行方法及装置
CN106020550A (zh) * 2016-05-27 2016-10-12 珠海市魅族科技有限公司 输入控制方法和输入控制电子终端
CN107665075A (zh) * 2016-07-29 2018-02-06 上海签成国际贸易有限公司 一种下拉框便捷选取方法及可便捷选取的下拉框
CN106897155B (zh) * 2016-08-29 2019-11-05 阿里巴巴集团控股有限公司 一种界面展示方法及装置
CN107844345B (zh) * 2016-09-20 2021-01-01 中兴通讯股份有限公司 一种应用菜单的生成方法和装置
CN106445342A (zh) * 2016-09-23 2017-02-22 乐视控股(北京)有限公司 一种图像处理方法、系统及智能终端
CN107608589B (zh) * 2017-09-20 2021-01-08 维沃移动通信有限公司 一种视频制作方法及移动终端
WO2019071481A1 (zh) * 2017-10-11 2019-04-18 深圳传音通讯有限公司 一种智能终端的压力控制方法及压力控制系统
CN108196746A (zh) * 2017-12-27 2018-06-22 努比亚技术有限公司 一种文件展示方法及终端、存储介质
CN108279842A (zh) * 2018-01-10 2018-07-13 维沃移动通信有限公司 一种功能调控方法、功能调控装置及终端设备
CN111007972A (zh) * 2019-12-03 2020-04-14 芋头科技(杭州)有限公司 一种智能眼镜及其控制方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620507A (zh) * 2008-07-01 2010-01-06 Lg电子株式会社 使用接近传感器的移动终端以及控制该移动终端的方法
CN102508601A (zh) * 2011-10-12 2012-06-20 李锐 控制电子终端中的菜单导航的设备和方法
CN103389871A (zh) * 2012-05-11 2013-11-13 联想(北京)有限公司 一种电子设备的控制方法及电子设备
US20150227287A1 (en) * 2014-02-12 2015-08-13 Chiun Mai Communication Systems, Inc. Electronic device for managing applications running therein and method for same
CN105068721A (zh) * 2015-08-27 2015-11-18 广东欧珀移动通信有限公司 一种操作菜单显示方法及终端

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10983665B2 (en) * 2008-08-01 2021-04-20 Samsung Electronics Co., Ltd. Electronic apparatus and method for implementing user interface
CN102841786B (zh) * 2011-06-24 2015-07-29 国基电子(上海)有限公司 电子设备及其设定进程优先级的方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620507A (zh) * 2008-07-01 2010-01-06 Lg电子株式会社 使用接近传感器的移动终端以及控制该移动终端的方法
CN102508601A (zh) * 2011-10-12 2012-06-20 李锐 控制电子终端中的菜单导航的设备和方法
CN103389871A (zh) * 2012-05-11 2013-11-13 联想(北京)有限公司 一种电子设备的控制方法及电子设备
US20150227287A1 (en) * 2014-02-12 2015-08-13 Chiun Mai Communication Systems, Inc. Electronic device for managing applications running therein and method for same
CN105068721A (zh) * 2015-08-27 2015-11-18 广东欧珀移动通信有限公司 一种操作菜单显示方法及终端

Also Published As

Publication number Publication date
CN105068721B (zh) 2019-03-15
CN105068721A (zh) 2015-11-18

Similar Documents

Publication Publication Date Title
WO2017032005A1 (zh) 一种操作菜单显示方法及终端
CN102981704B (zh) 一种显示界面的图标安置方法及移动终端
EP3783475B1 (en) Method and apparatus of processing data, device and storage medium
US9632681B2 (en) Electronic Device, memory and control method for displaying multiple objects on a display screen
CN115174733B (zh) 一种界面显示方法、装置及设备
CN105373326B (zh) 数据处理系统及方法
CN105335048B (zh) 具有隐藏应用图标的电子设备及隐藏应用图标的方法
CN103324436B (zh) 一种任务处理方法及装置
US20190220170A1 (en) Method and apparatus for creating group
US9690479B2 (en) Method and apparatus for controlling application using key inputs or combination thereof
CN105122176A (zh) 用于管理在电子设备上显示的内容的系统和方法
CN106648707B (zh) 智能终端应用信息的收藏方法、系统及智能终端
WO2017063443A1 (zh) 一种消息显示方法及装置
CN106919307A (zh) 一种文本复制方法及移动终端
CN106293472A (zh) 一种虚拟按键处理方法及移动终端
WO2023005828A1 (zh) 消息显示方法、装置和电子设备
CN111142756A (zh) 页面显示方法、设备及计算机可读存储介质
WO2020048286A1 (zh) 一种数据处理方法、终端及计算机可读存储介质
CN106776821A (zh) 一种相册生成方法及终端
WO2022242542A1 (zh) 应用图标的管理方法和电子设备
CN106293351A (zh) 菜单布局方法及装置
CN107665140A (zh) 一种应用程序快捷方式的显示方法及移动终端
WO2022095885A1 (zh) 应用程序切换处理方法、装置和电子设备
CN107632761B (zh) 一种显示内容查看方法、移动终端和计算机可读存储介质
JP2018512676A (ja) テキスト選択制御への向上

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16838267

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16838267

Country of ref document: EP

Kind code of ref document: A1