WO2018076533A1 - 列表条目的快速定位方法和装置 - Google Patents
列表条目的快速定位方法和装置 Download PDFInfo
- Publication number
- WO2018076533A1 WO2018076533A1 PCT/CN2016/113159 CN2016113159W WO2018076533A1 WO 2018076533 A1 WO2018076533 A1 WO 2018076533A1 CN 2016113159 W CN2016113159 W CN 2016113159W WO 2018076533 A1 WO2018076533 A1 WO 2018076533A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- virtual keyboard
- character
- input
- list
- entry
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
- G06F3/04886—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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
Definitions
- the present invention relates to the field of information processing technologies, and in particular, to a method and apparatus for quickly locating a list entry.
- a list is a collection of data items arranged in order, and the data items include an address book, a song name, a movie drama name, and the like.
- the specific content of each column is the entry of the list. Take the address book list as an example.
- Each member of the address book is an entry in the address book list.
- the address book is arranged according to the initials of the members of the address book, and the first letter of the member's name is arranged in order on the right side of the address book.
- the address book member corresponding to the initial letter that is slid is displayed on the display interface. For example, when the user slides on the touch screen to the letter "x", the display initials on the display interface are "x" and subsequent address book members.
- the first letter can only be located to the address book corresponding to the first letter by sliding, and the user still needs to slide on the displayed address book to locate the address book member to be selected. , can not achieve precise positioning.
- a quick method for locating list entries including:
- a quick positioning device for a list item comprising:
- a sliding processing module configured to: when the sliding operation is detected, locate a list item corresponding to the sliding position and display;
- An interactive element processing module configured to display an interactive element in a preset position of the display area
- a virtual keyboard processing module configured to: when detecting an operation on the interactive element, display a virtual keyboard, and set a button in the virtual keyboard corresponding to a first element of a first word of each entry in the list as Optional
- a positioning module configured to acquire a character input through the virtual keyboard, and locate an item corresponding to the input character of the first element of the first word and display the same.
- the quick positioning method of the list item described above is to display the list item corresponding to the sliding position and display it when the sliding operation is detected, and also display the interactive element in the preset position of the display area, when the operation of the interactive element is detected.
- the virtual keyboard When the virtual keyboard is displayed, the characters input through the virtual keyboard are acquired, and the entry corresponding to the input character of the first element of the first word is located.
- the method can realize the initial positioning of the list item by sliding, and can realize the precise positioning of the list item according to the characters input through the virtual keyboard by providing a virtual keyboard.
- 1 is a flow chart of a method for quickly locating a list entry of an embodiment
- FIG. 2 is a schematic diagram of an interface of a list of an embodiment
- FIG. 3 is a schematic diagram of an interface for displaying interactive elements on a list according to an embodiment
- FIG. 4 is a schematic diagram of an interface in which a virtual keyboard is displayed in a list
- FIG. 5 is a flow chart of a method for quickly locating a list entry of another embodiment
- FIG. 6 is a schematic diagram of an interface for setting a non-selectable button on a virtual keyboard according to an embodiment
- Figure 7 is a schematic illustration of a list of a particular embodiment
- FIG. 8 is a schematic diagram of an interface for displaying an interactive element by performing a sliding operation on the list shown in FIG. 7;
- FIG. 9 is a schematic diagram of an interface for displaying a virtual button on the list shown in FIG. 7;
- Figure 10 is a schematic diagram of an interface for inputting a button on the list shown in Figure 7;
- FIG. 11 is a schematic diagram showing the result of positioning the list of FIG. 7;
- FIG. 12 is a schematic diagram of functional modules of a quick location device for a list entry according to an embodiment
- FIG. 13 is a functional block diagram of a quick positioning device for a list entry of another embodiment.
- a method for quickly locating a list item is provided.
- the method is implemented by a terminal device, and the terminal includes a personal computer, a mobile terminal, and an in-vehicle terminal.
- Mobile terminals include, but are not limited to, mobile phones and tablets.
- the quick positioning method of the list item of this embodiment can be used for an address book list, a song list, a movie drama list, a mailing list, and the like. As shown in Figure 1, the method includes the following steps:
- the list is arranged in advance according to preset rules.
- the list of one embodiment is arranged in the order of the first character.
- the list of another embodiment is arranged according to the size of the ASCII code of the first character of each word of each entry.
- a mixed list of Chinese and English can be arranged.
- a mixed list of entries of Chinese, English, numbers, symbols, and the like can be sequentially arranged in accordance with the ASCII code arrangement of the first character of each word of each entry.
- the first character of each word of all entries is recorded using a multiple mapping table, and the multiple mapping list is sorted according to the ASCII code of the first word of each word of each condition. It can be understood that when a user adds an entry, the newly added entry is arranged to the corresponding location according to a preset rule.
- the index information list is displayed on one side of the list, and the index information list is the first element of the first word of each item in the list.
- the first element is the starting character of a word. If the first element of the list entry is a character or an English letter, the first element is the character or English word line. If the first element of the list entry is a Chinese character, the first element is the first letter of the pinyin of the Chinese character.
- the display screen includes a list display area and an index information list display area. Specifically, when the sliding operation on the index information list is detected, the item corresponding to the sliding position is located and displayed in the list display area.
- the list display area displays the item of the list from the positioned item, that is, the first item of the display area displays the top-ranked item among the items whose first character of the first word is "x".
- a scroll bar is displayed on one side of the list when the list is displayed on the display of the terminal device.
- the display screen includes a list display area and a scroll bar.
- a sliding operation on the scroll bar is detected, an entry corresponding to the sliding position is positioned and displayed in the list display area.
- the list display area displays the items of the list starting from the located item. The initial positioning of the list item can be achieved by locating an entry corresponding to the sliding position.
- S104 Display an interactive element in a preset position of the display area.
- An interactive element is an interface element that can interact with a user.
- An interactive element of an embodiment is a button.
- the interactive element is displayed at a preset position of the display area, and the interactive element displays the first element of the first word of the entry corresponding to the sliding position, and specifically, displays the first item corresponding to the sliding position in the button.
- the first element of the word for example, the letter on the index information list corresponding to the sliding position is displayed in the button, or as shown in FIG. 3, in one sliding, the position to which the sliding is corresponding corresponds to the first item displayed in the display area.
- the first element is "T"
- "T" is displayed in the button. It can be understood that the characters displayed in the interactive elements change in real time according to the change of the sliding position.
- Displaying interactive elements can be achieved by changing the transparency of the interactive elements, hierarchical relationships, and other display attributes. For example, when no sliding operation is detected, the transparency of the interactive element is 100%, and when the sliding operation is detected, the transparency of the interactive element is set to 0, that is, opaque, thereby displaying the interactive element. The specific location of the interactive element is the center of the display area. In another embodiment, the interactive element is hidden when the end of the sliding operation is detected. In still another embodiment, when the operation on the interactive element is not detected within the preset time, the interactive element is hidden, thereby preventing the interactive element from being displayed on the display screen of the terminal device for a long time.
- the virtual keyboard When the operation of the interactive element is detected, the virtual keyboard is displayed, and the keys corresponding to the first element of the first word of each entry are all set to be optional on the virtual keyboard, and the keys corresponding to other characters are set to be non-selectable.
- the virtual keyboard can be preset by the system, and the virtual keyboard is displayed by changing the display properties of the virtual keyboard such as transparency, hierarchical relationship, and the like. It is also possible to call a virtual keyboard of the input method of the terminal and display it when an operation on the interactive element is detected.
- An embodiment virtual keyboard is shown in FIG.
- the touch operation on the interactive element is a switch displayed by the virtual keyboard.
- the user can freely slide in the list display area and the scroll bar display area, display the interactive elements, and touch the interactive elements to display the virtual keyboard, thereby inputting the query characters on the virtual keyboard to achieve accurate positioning of the list items.
- S108 Acquire a character input through the virtual keyboard, and locate an entry corresponding to the input character of the first element of the first word and display it in the display area.
- the user can display the virtual keyboard by touching the interactive element, and input characters on the virtual keyboard, and according to the characters input on the obtained virtual keyboard, accurately locate the first element of the first word and the entry corresponding to the input character and display In the display area.
- the quick positioning method of the list item described above is to display the list item corresponding to the sliding position and display it when the sliding operation is detected, and also display the interactive element in the preset position of the display area, when the operation of the interactive element is detected.
- the virtual keyboard When the virtual keyboard is displayed, the characters input through the virtual keyboard are acquired, and the entry corresponding to the input character of the first element of the first word is located.
- the method can realize the initial positioning of the list item by sliding, and can realize the precise positioning of the list item according to the characters input through the virtual keyboard by providing a virtual keyboard.
- step S108 the method further includes:
- step S110 Determine whether the next word exists in each entry corresponding to the input character. If yes, step S112 is performed. If no, step S118 is performed.
- next word in this embodiment is the next word of the last positioned reference word.
- first element corresponding to the first character of the first word is located, and the next word is the second word.
- next word in this embodiment includes the next word of all the entries corresponding to the input character.
- the button corresponding to the first element of the next word is set to be optional on the virtual keyboard, and the button corresponding to the other characters is set to be unselectable.
- the buttons that are not selectable are set to grayscale, and the user does not respond when they touch a button that is not selectable.
- the optional buttons are normal or marked highlights.
- the user can quickly obtain the buttons that can be selected according to the color of the buttons.
- the buttons other than the button corresponding to the first element of the next word in each entry corresponding to the input character to be non-selectable the user can pre-empt the button that does not satisfy the selection condition, and the user can quickly select the button according to the color of the button. , thereby improving processing efficiency and speed.
- the virtual keyboard is further provided with an input box, and after the user inputs the character, the character is input into the input box for display. It can be understood that all the characters that are input are displayed in the input box. In this embodiment, each time the virtual keyboard is displayed, the input box should also be cleared to prevent the characters in the input box during the last query from affecting the query.
- the input characters are obtained by the user selecting a button according to a selectable key on the virtual keyboard.
- the entry positioned in this embodiment is the entry corresponding to the next character of the next word in each entry corresponding to the character input last time. After step S116, the process returns to step S110 to determine whether the next word exists in the entry corresponding to the input character.
- an entry corresponding to the two characters entered is located and displayed.
- the positioning is performed in real time according to the input characters.
- step S110 determines whether the result of the determination in step S110 is NO, that is, if the next word does not exist in the entry corresponding to the input character.
- step S118 is performed: the virtual keyboard is hidden.
- the hiding of the virtual keyboard can be realized by changing the display properties of the virtual keyboard such as transparency and hierarchical relationship. It can also be implemented by stopping the virtual keyboard of the input method of the calling terminal.
- the interactive element is hidden after step S106.
- the interactive element is hidden while the virtual keyboard is being displayed, so that the display area is not occupied.
- the virtual keyboard is further provided with a search button, and step S1084 is specifically to obtain a search request, and the search request includes inputting all characters.
- the search request is sent by clicking the search button, and the entry is located according to all the characters input in the search request.
- the entries of the list include "110”, “Alan Mathison Turing”, “+8610010”, “Liu Yi”, “Chen Er”, “Zhang San”, “Li Si”, “Wang Wu”, “ Zhao Liu”, “Sun Qi”, “Zhou Ba”, “Wu Jiu” and “Zheng Shi”.
- the first element of each word of each entry is added to the multiple mapping table in advance, specifically, "110”, “AMT”, “+8610010”, “LY”, “CE”, “ZS”, “LS” , “WW”, “ZL”, “SQ”, “ZB”, “WJ”, and “ZS” are added to the MultiMap (multiple mapping table), and the multiple mapping table is arranged in ASCII.
- the order of list display is “+8610010”, “110”, “Alan Mathison Turing”, “Chen Er”, “Liu Yi”, “Li Si”, “Sun Qi”, “Wu Jiu”, “Wang Wu”, “Zhou Ba”, “Zhao Liu”, “Zhang San”, “Zheng Shi”. Specifically, the following steps are included:
- S701 Display a list arranged according to a preset rule on a display screen of the terminal device.
- S703 Display an interactive element in a preset position of the display area, where the interactive element displays a first character of the entry corresponding to the sliding position.
- an interactive element is displayed at a preset position of the display area, and the interactive element is a button.
- the button displays the first element "C” of the first word of the entry "Chen II”, and at the same time, the entry "Chen II” is displayed at the position of the first entry of the display area, as shown in FIG.
- the user displays the virtual keyboard by clicking on the interactive element, ie the button "C" located in the center of the list, and sets the keys in the virtual keyboard corresponding to the first element of the first word of each entry in the list as optional.
- the first elements of the first word in each entry of the list are respectively "A”, “C”, “L”, “S”, “W”, “Z", and the virtual keyboard is divided by “ Buttons other than the A', "C", “L”, “S”, “W”, and “Z” buttons are not selectable, as shown in Figure 9.
- S705 Hidden interactive elements.
- S706 Acquire the first character of the selection.
- the first character input by the user through the virtual keyboard is “L”, and the word “L” is displayed in the input box of the virtual keyboard.
- the first element of the first word of the entry in the list is positioned as an entry of "L” and displayed.
- the virtual keyboard input box displays the first character "L” input, and the scroll bar scrolls to the position where the first bar is displayed as "Liuyi”.
- S708 Determine whether the next word exists in the entry corresponding to the input character.
- the entry corresponding to the first character of the input includes “Liu Yi” and “Li Si”.
- the second word exists in the entry corresponding to the first character entered. If yes, step S711 is performed.
- buttons corresponding to the first element of each next word in the virtual keyboard is set to be optional. Specifically, the “Y” and “S” buttons are optional, and the buttons other than “Y” and “S” are set as Not optional.
- the second character input by the user is “S”, and the input box of the virtual keyboard displays “LS”.
- the entry corresponding to the first character entered includes Liu Yi and Li Si, and the second word of the two entries corresponds to the entry corresponding to "S", that is, "Li Si".
- the scroll bar scrolls to the position of the first "Li Si”.
- step S708 it is determined whether three words exist in the entry corresponding to the input character.
- step S712 if the third word does not exist in the entry corresponding to the second character, step S712 is performed.
- a quick positioning device for a list entry includes: a sliding processing module 1201, an interactive element processing module 1202, a virtual keyboard processing module 1203, and a positioning module 1204.
- the sliding processing module 1201 is configured to locate and display a list item corresponding to the sliding position when the sliding operation is detected.
- the interactive element processing module 1202 is configured to display an interactive element at a preset position of the display area.
- the virtual keyboard processing module 1203 is configured to display a virtual keyboard when the operation on the interactive element is detected, and set a key in the virtual keyboard corresponding to the first element of the first word of each item in the list to be optional.
- the positioning module 1204 is configured to acquire a character input through the virtual keyboard, and locate an item corresponding to the input character of the first element of the first word and display it.
- the quick positioning device of the above list entry when the sliding operation is detected, locates the list item corresponding to the sliding position and displays, and at the same time, displays the interactive element at the preset position of the display area, when the operation of the interactive element is detected
- the virtual keyboard is displayed, the characters input through the virtual keyboard are acquired, and the entry corresponding to the input character of the first element of the first word is located.
- the quick positioning device of the list entry further includes: a determining module 1205 and an obtaining module 1205 and a positioning module 1206.
- the determining module 1204 is configured to determine whether the next word exists in each entry corresponding to the input character.
- the virtual keyboard processing module 1203 is configured to, when the determination result of the determining module 1205 is YES, set a button corresponding to the first element of each next word in the virtual keyboard to be optional.
- the obtaining module 1206 is configured to obtain the next character input.
- the positioning module 1204 is configured to locate and display an entry corresponding to the next character in the next entry corresponding to the input character.
- the positioning is performed in real time according to the input characters.
- the virtual keyboard processing module 1203 is further configured to hide the virtual keyboard when there is no next word in the entry corresponding to the input character.
- the interactive element processing module 1202 is further configured to hide the interactive element after displaying the virtual keyboard.
- the interactive element is hidden while the virtual keyboard is being displayed, so that the display area is not occupied.
- displaying interactive elements can be accomplished by changing display attributes such as transparency, hierarchical relationships, and the like of the interactive elements. For example, when no sliding operation is detected, the transparency of the interactive element is 100%, and when the sliding operation is detected, the transparency of the interactive element is set to 0, that is, opaque, thereby displaying the interactive element. The specific location of the interactive element is the center of the display area. In another embodiment, the interactive element is hidden when the end of the sliding operation is detected. In still another embodiment, when the touch operation on the interactive element is not detected within the preset time, the interactive element is hidden, thereby preventing the interactive element from being displayed on the display screen of the terminal device for a long time.
- display attributes such as transparency, hierarchical relationships, and the like of the interactive elements. For example, when no sliding operation is detected, the transparency of the interactive element is 100%, and when the sliding operation is detected, the transparency of the interactive element is set to 0, that is, opaque, thereby displaying the interactive element. The specific location of the interactive element is the center of the display area. In another embodiment,
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)
- Input From Keyboards Or The Like (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
一种列表条目的快速定位方法和装置,所述方法包括:当检测到滑动操作时,定位到与滑动位置对应的列表条目并展示(S102);在显示区域的预设位置显示交互元素(S104);当检测到对交互元素的操作时,显示虚拟键盘,并将虚拟键盘中与所述列表中各条目的第一个字的首元素对应的按键设置为可选(S106);获取通过虚拟键盘上输入的字符,定位到第一个字的首元素与输入的字符对应的条目并展示在显示区域(S108)。所述方法通过设定触发虚拟键盘的条件,既能通过滑动实现列表条目的初步定位,又能根据通过虚拟键盘输入的字符实现列表条目的精确定位。
Description
本发明涉及信息处理技术领域,特别是涉及一种列表条目的快速定位方法和装置。
列表是将数据项依次排列的集合,数据项包括通讯录、歌曲名称、影视剧名称等等。每一列的具体内容即列表的条目。以通讯录列表为例,通讯录中的每一成员即通讯录列表的条目。
现有的终端设备中,以查找手机通讯录中的成员为例,通讯录根据通讯录成员的姓名首字母进行排列,并在通讯录的右侧将成员的姓名的首字母依次排列。当检测到用户在触摸屏右侧的滑动操作,根据用户在触摸屏上的滑动操作,在显示界面显示滑动到的首字母对应的通讯录成员。例如,当用户在触摸屏上滑动到字母为“x”时,在显示界面的显示首字母为“x”及其之后的通信录成员。
然而,当通讯录中存储大量的成员信息时,通过滑动选择首字母只能定位到首字母对应的通讯录,用户仍需要在显示的通讯录上进行滑动操作才能定位到需要选择的通讯录成员,不能实现精确定位。
发明内容
基于此,有必要提供一种能被实现精确定位的列表条目的快速定位方法和装置。
一种列表条目的快速定位方法,包括:
当检测到滑动操作时,定位到与滑动位置对应的列表条目并展示;
在显示区域的预设位置显示交互元素;
当检测到对所述交互元素的操作时,显示虚拟键盘,并将所述虚拟键盘中与所述列表中各条目的第一个字的首元素对应的按键设置为可选;
获取通过所述虚拟键盘输入的字符,定位到第一个字的首元素与所述输入的字符对应的条目并展示。
一种列表条目的快速定位装置,包括:
滑动处理模块,用于当检测到滑动操作时,定位到与滑动位置对应的列表条目并展示;
交互元素处理模块,用于在显示区域的预设位置显示交互元素;
虚拟键盘处理模块,用于当检测到对所述交互元素的操作时,显示虚拟键盘,并将所述虚拟键盘中与所述列表中各条目的第一个字的首元素对应的按键设置为可选;
定位模块,用于获取通过所述虚拟键盘输入的字符,定位到第一个字的首元素与所述输入的字符对应的条目并展示。
上述的列表条目的快速定位方法,通过当检测到滑动操作时,定位到滑动位置对应的列表条目并展示,同时,还在显示区域的预设位置显示交互元素,当检测到对交互元素的操作时,显示虚拟键盘,获取通过虚拟键盘上输入的字符,定位到第一个字的首元素与输入的字符对应的条目。该方法通过设定触发虚拟键盘的条件,既能通过滑动实现列表条目的初步定位,又能通过提供虚拟键盘,根据通过虚拟键盘输入的字符实现列表条目的精确定位。
图1为一种实施例的列表条目的快速定位方法的流程图;
图2为一种实施例的列表的界面示意图;
图3为一种实施例的在列表上显示交互元素的界面示意图;
图4为一种实施例的在列表是显示虚拟键盘的界面示意图;
图5为另一个实施例的列表条目的快速定位方法的流程图;
图6为一个实施例的在虚拟键盘上设置不可选按键的界面示意图;
图7为一个具体的实施例的列表的示意图;
图8为在图7所示的列表上进行滑动操作显示交互元素的界面示意图;
图9为在图7所示的列表上显示虚拟按键的界面示意图;
图10为在图7所示的列表上输入按键的界面示意图;
图11为对图7的的列表进行定位得到的结果的示意图;
图12为一种实施例的列表条目的快速定位装置的功能模块示意图;
图13为另一种实施例的列表条目的快速定位装置的功能模块示意图。
在一个实施例中,提供一种列表条目的快速定位方法,该方法通过终端设备实现,终端包括个人电脑、移动终端、车载终端。移动终端包括但不限于手机和平板电脑等。本实施例的列表条目的快速定位方法可用于通讯录列表、歌曲列表、影视剧列表、邮件列表等。如图1所示,该方法包括以下步骤:
S102:当检测到滑动操作时,定位到与滑动位置对应的列表条目并展示。
列表预先按照预设规则进行排列。一种实施方式的列表按照首字符的顺序进行排列。另一种实施方式的列表按照各条目每个字的首字符的ASCII码的大小进行排列。第一种实施方式中,仅能将中文和英文的混合列表进行排列。第二种实施方式中,按各条目每个字的首字符的ASCII码排列,能够将中文、英文、数字、符号等条目的混合列表依次排列。具体的,利用多重映射表记录所有条目的每个字的首字符,并按照每个条件的每个字的首字码的ASCII码将多重映射列表进行排序。可以理解的是,当用户新增条目时,新增的条目按照预设规则排列至对应位置。
一种实施方式中,在终端设备的显示屏上展示列表时,在列表的一侧显示索引信息列表,该索引信息列表即为列表各条目第一个字的首元素。首元素是指一个字的起始字符。若列表条目的第一个元素为字符或英文字母,则首元素为该字符或英文字线。若列表条目的第一个元素为中文汉字,则首元素为该汉字的拼音的首字母。在该实施方式中,显示屏包括列表显示区域和索引信息列表显示区域。具体的,当检测到对索引信息列表的滑动操作时,定位到滑动位置对应的条目并展示在列表显示区域。例如,当检测到在索引信息列表上滑动至字母“x”时,定位至首字符为“x”的条目并展示在列表显示区域。可以理解的是,列表显示区域中从定位的条目开始对列表的条目进行展示,即显示区域的第一条显示第一个字的首字符为“x”的条目中排列在最前的条目。
在另一种实施方式中,在终端设备的显示屏上展示列表时,在列表的一侧显示滚动条。如图2所示,在该实施方式中,显示屏包括列表显示区域和滚动条。当检测到对滚动条的滑动操作时,定位到滑动位置对应的条目并展示在列表显示区域。例如,当检测到在滚动条上滑动至某一条目时,定位至该条目,将该条目的信息显示在列表显示区域的第一条条目上。可以理解的是,列表显示区域从定位的条目开始对列表的条目进行展示。通过定位到与滑动位置对应的条目能够实现列表条目的初步定位。
S104:在显示区域的预设位置显示交互元素。
交互元素是指能够与用户进行交互的界面元素。一种实施方式的交互元素为按钮。
在一种实施方式中,在显示区域的预设位置显示交互元素,交互元素显示滑动位置对应的条目的第一个字的首元素,具体的,在按钮中显示滑动位置对应的条目的第一个字的首元素,例如,在按钮中显示滑动位置对应的索引信息列表上字母,或者如图3所示,在一次滑动中,滑动到的位置对应的显示在显示区域的第一条条目的首元素为“T”,则在按钮中显示“T”。可以理解的是,交互元素中显示的字符实时根据滑动位置的变化而变化。
显示交互元素可通过改变交互元素的透明度、级层关系等显示属性实现。例如,在未检测到滑动操作时,交互元素透明度为100%,在检测到滑动操作时,将交互元素的透明度设置为0,即不透明,从而显示交互元素。交互元素的具***置为显示区域的中央。在另一个实施方式中,当检测到滑动操作结束时,隐藏交互元素。在又一个实施例中,当在预设时间内未检测到对交互元素的操作时,隐藏交互元素,从而避免交互元素长时间显示在终端设备的显示屏上。
S106:当检测到对交互元素的操作时,显示虚拟键盘,并将虚拟键盘中与列表中各条目的第一个字的首元素对应的按键设置为可选。
当检测到对交互元素的操作时,显示虚拟键盘,虚拟键盘上将各条目的第一个字的首元素对应的按键全部设置为可选,其它的字符对应的按键设置为不可选。
虚拟键盘可由***以预先设置,通过改变虚拟键盘的透明度、级层关系等显示属性将虚拟键盘显示。也可以当检测到对交互元素的操作时,调用终端的输入法的虚拟键盘并显示。一种实施方式虚拟键盘如图4所示。
可以理解的是,对交互元素的触摸操作为虚拟键盘显示的开关。用户可随意在列表显示区域和滚动条显示区域进行滑动,使交互元素显示,并触摸交互元素,显示虚拟键盘,从而在虚拟键盘上输入查询的字符,实现列表条目的精确定位。
S108:获取通过虚拟键盘输入的字符,定位到第一个字的首元素与输入的字符对应的条目并展示在显示区域。
用户可通过触摸交互元素的方式使虚拟键盘显示,并在虚拟键盘上输入字符,根据获取的虚拟键盘上输入的字符,精确定位到第一个字的首元素与输入的字符对应的条目并展示在显示区域。
上述的列表条目的快速定位方法,通过当检测到滑动操作时,定位到滑动位置对应的列表条目并展示,同时,还在显示区域的预设位置显示交互元素,当检测到对交互元素的操作时,显示虚拟键盘,获取通过虚拟键盘上输入的字符,定位到第一个字的首元素与输入的字符对应的条目。该方法通过设定触发虚拟键盘的条件,既能通过滑动实现列表条目的初步定位,又能通过提供虚拟键盘,根据通过虚拟键盘输入的字符实现列表条目的精确定位。
在另一个实施例中,如图5所示,在步骤S108之后,还包括:
S110:判断输入的字符对应的各条目中是否存在下一个字。若是,则执行步骤S112。若否,则执行步骤S118。
应当理解的是,本实施例中下一个字为上一次定位的参考字的下一个字。例如,第一次定位,根据用户输入的第一个字符,定位到第一个字的首元素与输入的第一字符对应的条目,则下一个字为第二个字。
S112:在虚拟键盘中将各下一个字的首元素对应的按键设置为可选。
应当理解的是,输入的字符对应的条目可能有多个,本实施例中的下一个字包括输入的字符对应的所有的条目中的下一个字。
本实施例中,在虚拟键盘上将下一个字的首元素对应的按键设置为可选,其它字符对应的按键设置为不可选。不可选的按键设置为灰度,用户触摸不可选的按键时无响应。可选的按键为正常或标示高亮,如图6所示,用户能够根据按键的颜色快速获取能够选择的按键。通过将输入的字符对应的各条目中的下一个字的首元素对应的按键之外的按键设置为不可选,为用户预先剔除不满足选择条件的按键,用户根据按键的颜色能够快速的选择按键,从而提高处理效率和速度。
S114:获取输入的下一个字符。
在一种实施方式中,虚拟键盘还设置有输入框,在用户输入字符后,字符被输入至输入框中显示。可以理解的是,被输入的全部字符都显示在输入框中。在该实施方式中,每次显示虚拟键盘时,还应该清空输入框,避免上一次查询过程中的输入框中的字符对本次查询造成影响。
应当理解的是,输入的字符为用户根据虚拟键盘上能够选择的按键进行选择操作得到。
S116:定位到输入的字符对应的各条目中下一个字与输入的下一个字符对应的条目并
展示。
本实施例中定位的条目为上一次输入的字符对应的各条目中下一个字与输入的下一个字符对应的条目。在步骤S116之后,返回执行步骤S110,判断输入的第字符对应的条目中是否存在下一个字。
例如,在用户输入第二个字符之后,定位到与输入的两个字符对应的条目并展示。同时,判断与输入的两个字符对应的条目中是否存在第三个字。例如,当与输入的两个字符对应的条目均为两个字时,则与输入的两个字符对应的条目中不存第3个字。
在该实施方式中,当获取到用户在虚拟键盘上,实时根据输入的字符进行定位。
若步骤S110的判断结果为否时,即输入的字符对应的条目中不存在下一个字时,执行步骤S118:隐藏虚拟键盘。
虚拟键盘的隐藏,可通过改变虚拟键盘的透明度、级层关系等显示属性实现。也可以通过停止调用终端的输入法的虚拟键盘并实现。
在另一个实施例中,在步骤S106之后,隐藏交互元素。
在该实施例中,在显示虚拟键盘的同时,将交互元素隐藏,从而不会占用显示区域。
在另一个实施例中,虚拟键盘还设置有搜索按键,步骤S1084具体为,获取搜索请求,搜索请求包括输入全部字符。
在该实施方式中,当用户在虚拟键盘上输入字符时,通过点击搜索按键发送搜索请求,根据搜索请求中的输入全部字符定位条目。
下面,结合一个具体的实施例对一种列表条目的快速定位方法进行说明。本实施例中,列表的条目包括“110”、“Alan Mathison Turing”、“+8610010”、“刘一”、“陈二”、“张三”、“李四”、“王五”、“赵六”、“孙七”、“周八”、“吴九”和“郑十”。预先将各条目的每个字的首元素加入到多重映射表中,具体的,将“110”、“AMT”、“+8610010”、“LY”、“CE”、“ZS”、“LS”、“WW”、“ZL”、“SQ”、“ZB”、“WJ”和“ZS”加入到MultiMap(多重映射表)中,并将多重映射表按ASCII排列。列表显示顺序依次为“+8610010”、“110”、“Alan Mathison Turing”、“陈二”、“刘一”、“李四”、“孙七”、“吴九”、“王五”、“周八”、“赵六”、“张三”、“郑十”。具体包括以下步骤:
S701:在终端设备的显示屏上显示按预设规则排列的列表。
显示的列表如图7所示。
S702:当检测到滑动操作时,定位到与滑动位置对应的列表条目并展示。
S703:在显示区域的预设位置显示交互元素,交互元素显示滑动位置对应的条目的首字符。
当用户滑动滚动条至“陈二”时,在显示区域的预设位置显示交互元素,该交互元素为按钮。按钮显示条目“陈二”第一个字的的首元素“C”,同时,条目“陈二”显示在显示区域的第一条条目的位置,如图8所示。
S704:检测到对交互元素的触摸操作,显示虚拟键盘。
用户通过点击位于交互元素,即位于列表中央的按钮“C”,显示虚拟键盘,并将虚拟键盘中与列表中各条目的第一个字的首元素对应的按键设置为可选。
本实施例中,列表的各条目中的第一个字的首元素分别为“A”、“C”、“L”、“S”、“W”、“Z”,将虚拟键盘上除“A”、“C”、“L”、“S”、“W”、“Z”对应按键之外的按键设置为不可选,如图9所示。
S705:隐藏交互元素。S706:获取选择的第一个字符。
本实施例中,用户通过虚拟键盘输入的第一个字符为“L”,字地“L”在虚拟键盘的输入框中显示。
S707:定位到与字母“L”对应的条目并展示。
具体的,定位到列表中条目的第一个字的首元素为“L”的条目并展示。如图10所示,虚拟键盘输入框显示输入的第一个字符“L”,滚动条滚动至第一条显示为“刘一”的位置。
S708:判断输入的字符对应的条目中是否存在下一个字。
本实施例中,输入的第一个字符对应的条目包括“刘一”和“李四”。输入的第一个字符对应的条目中存在第二个字。若是,则执行步骤S711。
S709:在虚拟键盘中各下一个字的首元素对应的按键设置为可选,具体的,“Y”和“S”按键可选,将除“Y”和“S”之外的按键设置为不可选。
S710:获取用户输入的第二个字符。
本实施例中,用户输入的第二个字符为“S”,虚拟键盘的输入框显示“LS”。
S711:定位到输入的字符对应的各条目中下一个字与输入下一个字符对应的条目并展示。
与输入的第一个字符对应的条目包括刘一”和“李四”,定位到这两个条目中第二个字与“S”对应的条目,即“李四”。本实施例中,滚动条滚动到第一条“李四”的位置。
返回步骤S708:判断输入的字符对应的条目中是否存在三个字。
本实施例中,第二个字符对应的条目中不存在第3个字,则执行步骤S712。
S712:隐藏虚拟键盘。
得到的定位结果如图11所示。
在一个实施例中,提供一种列表条目的快速定位装置,如图12所示,包括:滑动处理模块1201、交互元素处理模块1202、虚拟键盘处理模块1203和定位模块1204。
滑动处理模块1201,用于当检测到滑动操作时,定位到与滑动位置对应的列表条目并展示。
交互元素处理模块1202,用于在显示区域的预设位置显示交互元素。
虚拟键盘处理模块1203,用于当检测到对交互元素的操作时,显示虚拟键盘,并将虚拟键盘中与列表中各条目的第一个字的首元素对应的按键设置为可选。
定位模块1204,用于获取通过虚拟键盘输入的字符,定位到第一个字的首元素与输入的字符对应的条目并展示。
上述的列表条目的快速定位装置,通过当检测到滑动操作时,定位到滑动位置对应的列表条目并展示,同时,还在显示区域的预设位置显示交互元素,当检测到对交互元素的操作时,显示虚拟键盘,获取通过虚拟键盘上输入的字符,定位到第一个字的首元素与输入的字符对应的条目。该方法通过设定触发虚拟键盘的条件,既能通过滑动实现列表条目的初步定位,又能通过提供虚拟键盘,根据通过虚拟键盘输入的字符实现列表条目的精确定位。
如图13所示,列表条目的快速定位装置还包括:判断模块1205和获取模块1205和定位模块1206。
判断模块1204,用于判断输入的字符对应的各条目中是否存在下一个字。
虚拟键盘处理模块1203,用于在判断模块1205的判断结果为是时,在虚拟键盘中各下一个字的首元素对应的按键设置为可选。
获取模块1206,用于获取输入的下一个字符。
定位模块1204,用于定位到输入的字符对应的各条目中下一个字与输入的下一个字符对应的条目并展示。
在该实施方式中,当获取到用户在虚拟键盘上,实时根据输入的字符进行定位。
在另一个实施例中,虚拟键盘处理模块1203,还用于当输入的字符对应的条目中不存在下一个字时,隐藏虚拟键盘。
在另一个实施例中,交互元素处理模块1202,还用于在显示虚拟键盘后,隐藏交互元素。
在该实施例中,在显示虚拟键盘的同时,将交互元素隐藏,从而不会占用显示区域。
在又一实施例中,显示交互元素可通过改变交互元素的透明度、级层关系等显示属性实现。例如,在未检测到滑动操作时,交互元素透明度为100%,在检测到滑动操作时,将交互元素的透明度设置为0,即不透明,从而显示交互元素。交互元素的具***置为显示区域的中央。在另一个实施方式中,当检测到滑动操作结束时,隐藏交互元素。在又一个实施例中,当在预设时间内未检测到对交互元素的触摸操作时,隐藏交互元素,从而避免交互元素长时间显示在终端设备的显示屏上。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。
Claims (10)
- 一种列表条目的快速定位方法,其特征在于,包括:当检测到滑动操作时,定位到与滑动位置对应的列表条目并展示;在显示区域的预设位置显示交互元素;当检测到对所述交互元素的操作时,显示虚拟键盘,并将所述虚拟键盘中与所述列表中各条目的第一个字的首元素对应的按键设置为可选;获取通过所述虚拟键盘输入的字符,定位到第一个字的首元素与所述输入的字符对应的条目并展示。
- 根据权利要求1所述的方法,其特征在于,在所述获取通过所述虚拟键盘输入的字符,定位到第一个字的首元素与所述输入的字符对应的条目并展示的步骤之后,还包括:判断输入的字符对应的各条目中是否存在下一个字;若是,则在所述虚拟键盘中将各下一个字的首元素对应的按键设置为可选;获取输入的下一个字符;定位到输入的字符对应的各条目中下一个字与输入的下一个字符对应的条目并展示。
- 根据权利要求2所述的方法,其特征在于,在所述定位到输入的字符对应的各条目中下一个字与输入的下一个字符对应的条目并展示的步骤之后,返回所述判断输入的字符对应的各条目中是否存在下一个字的步骤;当输入的字符对应的条目中不存在下一个字时,隐藏所述虚拟键盘。
- 根据权利要求1所述的方法,其特征在于,在所述显示虚拟键盘的步骤之后,还包括:隐藏所述交互元素。
- 根据权利要求1所述的方法,其特征在于,在检测到滑动操作结束或在预设时间未检测到对所述交互元素的操作时,隐藏所述交互元素。
- 一种列表条目的快速定位装置,其特征在于,包括:滑动处理模块,用于当检测到滑动操作时,定位到与滑动位置对应的列表条目并展示;交互元素处理模块,用于在显示区域的预设位置显示交互元素;虚拟键盘处理模块,用于当检测到对所述交互元素的操作时,显示虚拟键盘,并将所述虚拟键盘中与所述列表中各条目的第一个字的首元素对应的按键设置为可选;定位模块,用于获取通过所述虚拟键盘输入的字符,定位到第一个字的首元素与所述输入的字符对应的条目并展示。
- 根据权利要求6所述的装置,其特征在于还包括:判断模块和获取模块,所述判断模块,用于判断输入的字符对应的各条目中是否存在下一个字;所述虚拟键盘处理模块,用于在所述判断模块的判断结果为是时,在所述虚拟键盘中各下一个字的首元素对应的按键设置为可选;所述获取模块,用于获取输入的下一个字符;所述定位模块,用于定位到输入的字符对应的各条目中下一个字与输入的下一个字符对应的条目并展示。
- 根据权利要求7所述的装置,其特征在于,所述虚拟键盘处理模块,还用于当输入的字符对应的条目中不存在下一个字时,隐藏所述虚拟键盘。
- 根据权利要求6所述的装置,其特征在于,所述交互元素处理模块,还用于在所述显示虚拟键盘后,隐藏所述交互元素。
- 根据权利要求6所述的装置,其特征在于,所述交互元素处理模块,还用于在检测到滑动操作结束或在预设时间未检测到对所述交互元素的操作时,隐藏所述交互元素。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610931713.9A CN106527889B (zh) | 2016-10-31 | 2016-10-31 | 列表条目的快速定位方法和装置 |
CN201610931713.9 | 2016-10-31 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018076533A1 true WO2018076533A1 (zh) | 2018-05-03 |
Family
ID=58292606
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/113159 WO2018076533A1 (zh) | 2016-10-31 | 2016-12-29 | 列表条目的快速定位方法和装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106527889B (zh) |
WO (1) | WO2018076533A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112416145A (zh) * | 2020-12-28 | 2021-02-26 | 山东云缦智能科技有限公司 | 一种与搜索内容自动关联简化的输入键盘 |
CN113655926A (zh) * | 2021-08-19 | 2021-11-16 | 北京百度网讯科技有限公司 | 显示控制方法、装置、设备和存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130097549A1 (en) * | 2011-10-17 | 2013-04-18 | Samsung Electronics Co., Ltd. | Method and apparatus for providing search function in touch-sensitive device |
CN103345363A (zh) * | 2013-06-27 | 2013-10-09 | 百度在线网络技术(北京)有限公司 | 移动终端的输入控制方法、装置和移动终端 |
US20130325844A1 (en) * | 2012-05-29 | 2013-12-05 | Nokia Corporation | Causing display of search results |
CN104346414A (zh) * | 2013-08-09 | 2015-02-11 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100512355C (zh) * | 2006-09-25 | 2009-07-08 | 宇龙计算机通信科技(深圳)有限公司 | 移动终端的联系人定位方法 |
CN103810166A (zh) * | 2012-11-06 | 2014-05-21 | 腾讯科技(深圳)有限公司 | 一种通讯录内查找联系人的方法及电子终端 |
CN103870186A (zh) * | 2012-12-17 | 2014-06-18 | 华为终端有限公司 | 一种触摸屏电子设备的输入方法和装置 |
CN104424324B (zh) * | 2013-09-09 | 2019-06-21 | 腾讯科技(深圳)有限公司 | 列表组件中定位列表项的方法及装置 |
CN103986830A (zh) * | 2014-05-19 | 2014-08-13 | 天津三星通信技术研究有限公司 | 一种联系人查找方法及便携式终端 |
CN104883600A (zh) * | 2015-05-19 | 2015-09-02 | 小米科技有限责任公司 | 列表条目显示方法及装置 |
-
2016
- 2016-10-31 CN CN201610931713.9A patent/CN106527889B/zh active Active
- 2016-12-29 WO PCT/CN2016/113159 patent/WO2018076533A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130097549A1 (en) * | 2011-10-17 | 2013-04-18 | Samsung Electronics Co., Ltd. | Method and apparatus for providing search function in touch-sensitive device |
US20130325844A1 (en) * | 2012-05-29 | 2013-12-05 | Nokia Corporation | Causing display of search results |
CN103345363A (zh) * | 2013-06-27 | 2013-10-09 | 百度在线网络技术(北京)有限公司 | 移动终端的输入控制方法、装置和移动终端 |
CN104346414A (zh) * | 2013-08-09 | 2015-02-11 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112416145A (zh) * | 2020-12-28 | 2021-02-26 | 山东云缦智能科技有限公司 | 一种与搜索内容自动关联简化的输入键盘 |
CN113655926A (zh) * | 2021-08-19 | 2021-11-16 | 北京百度网讯科技有限公司 | 显示控制方法、装置、设备和存储介质 |
CN113655926B (zh) * | 2021-08-19 | 2024-03-15 | 北京百度网讯科技有限公司 | 显示控制方法、装置、设备和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN106527889A (zh) | 2017-03-22 |
CN106527889B (zh) | 2019-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20150234938A1 (en) | Method and electronic terminal for searching for contact in directory | |
CN105164616B (zh) | 用于输出候选字符串的方法、计算设备及存储介质 | |
WO2008037216A1 (en) | Method and device for information positioning | |
US20090079702A1 (en) | Method, Apparatus and Computer Program Product for Providing an Adaptive Keypad on Touch Display Devices | |
JP5815860B2 (ja) | タッチスクリーン端末及びその電子文書の位置決め方法 | |
CN102830924B (zh) | 一种调整输入法键盘的方法及装置 | |
CN104735243B (zh) | 联系人列表显示方法及装置 | |
CN105095221B (zh) | 一种触摸屏终端中查找信息记录的方法及其装置 | |
KR20120006503A (ko) | 개선된 텍스트 입력 | |
CN103248739B (zh) | 一种联系人列表导航显示方法、装置以及移动通信设备 | |
WO2013091376A1 (zh) | 一种二维联系人检索方法及其设备 | |
CN107305438A (zh) | 候选项的排序方法和装置、用于候选项排序的装置 | |
CN103365573A (zh) | 一种对多键输入字符进行识别的方法和装置 | |
KR20150023151A (ko) | 전자 장치 및 이의 어플리케이션 실행 방법 | |
WO2023284799A1 (zh) | 搜索方法、装置及电子设备 | |
CN106383636A (zh) | 一种索引信息的显示方法及装置 | |
CN104007890A (zh) | 信息处理的方法及电子设备 | |
WO2018076533A1 (zh) | 列表条目的快速定位方法和装置 | |
CA2747304C (en) | Quick directory search system on a touch screen device and methods thereof | |
CN106572227A (zh) | 移动终端的通讯录查找方法及装置 | |
KR20180009035A (ko) | 특수기호 입력법 및 입력법 시스템 | |
US9448984B2 (en) | Keyboard type terminal and location method for electronic document therein | |
CN104076945A (zh) | 用于在终端中显示输入键盘的装置和方法 | |
WO2023036115A1 (zh) | 文本内容选取方法和装置 | |
US20120194438A1 (en) | Electronic reader with chinese pinyin input function and chinese pinyin input method |
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: 16919999 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 071019) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16919999 Country of ref document: EP Kind code of ref document: A1 |