CN102364424B - Method for positioning input frame, device, browser and mobile terminal - Google Patents

Method for positioning input frame, device, browser and mobile terminal Download PDF

Info

Publication number
CN102364424B
CN102364424B CN2011101814003A CN201110181400A CN102364424B CN 102364424 B CN102364424 B CN 102364424B CN 2011101814003 A CN2011101814003 A CN 2011101814003A CN 201110181400 A CN201110181400 A CN 201110181400A CN 102364424 B CN102364424 B CN 102364424B
Authority
CN
China
Prior art keywords
input box
positioning
key
mobile terminal
shortcut
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.)
Expired - Fee Related
Application number
CN2011101814003A
Other languages
Chinese (zh)
Other versions
CN102364424A (en
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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Dongjing Computer Technology Co 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 Guangzhou Dongjing Computer Technology Co Ltd filed Critical Guangzhou Dongjing Computer Technology Co Ltd
Priority to CN2011101814003A priority Critical patent/CN102364424B/en
Publication of CN102364424A publication Critical patent/CN102364424A/en
Application granted granted Critical
Publication of CN102364424B publication Critical patent/CN102364424B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

本发明提供了一种用于在移动终端定位输入框的定位方法、定位装置、具有该定位装置的浏览器以及具有该浏览器的移动终端,在该定位方法中,通过首先在以从当前关注的输入框中选择的基点为中心的十字形范围内,在该十字形的上下左右方向搜索距离该输入框最近的输入框;将所搜索出的输入框与输入框定位快捷键中的对应定位快捷键相关联并使得该对应定位快捷键变为可用;选定并激活期望的定位快捷键来定位到期望的输入框。利用该定位方法,可以快速地定位到期望输入框,同时保持键盘处于显示状态。此外,在存在多个输入框的情况下,还可以减少取消当前输入、滑动页面和选择新焦点输入框的操作,从而使得定位操作变得更为简单。

Figure 201110181400

The present invention provides a positioning method for positioning an input box in a mobile terminal, a positioning device, a browser with the positioning device, and a mobile terminal with the browser. Within the cross-shaped range centered on the base point selected in the input box, search for the input box closest to the input box in the up, down, left, and right directions of the cross; locate the searched input box with the corresponding input box positioning shortcut key The shortcut key is associated and makes the corresponding positioning shortcut key available; select and activate the desired positioning shortcut key to locate the desired input box. With this positioning method, the desired input box can be quickly located while keeping the keyboard in the displayed state. In addition, in the case of multiple input boxes, the operations of canceling the current input, sliding the page, and selecting a new focus input box can be reduced, thereby making the positioning operation easier.

Figure 201110181400

Description

用于定位输入框的方法、装置、浏览器及移动终端Method, device, browser and mobile terminal for positioning input box

技术领域 technical field

本发明涉及移动通信领域,更为具体地,涉及用于在移动终端中定位输入框的方法、装置、浏览器及具有该浏览器的移动终端。The present invention relates to the field of mobile communication, and more specifically, to a method, a device, a browser for locating an input box in a mobile terminal, and a mobile terminal with the browser.

背景技术 Background technique

随着移动互联网技术的发展,由于移动终端的便携性,人们越来越习惯于利用移动终端来进行网页浏览以及信息交互。在进行网页浏览和/或信息交互时,通常需要利用移动终端上显示的输入框来进行信息输入。With the development of mobile Internet technology, due to the portability of mobile terminals, people are more and more accustomed to using mobile terminals for web browsing and information interaction. When browsing web pages and/or interacting with information, it is usually necessary to use an input box displayed on a mobile terminal to input information.

近年来,为了便于用户操作,逐步将触摸屏技术引入移动终端中。当在触摸屏式移动终端中进行输入框输入时,通常在进行信息输入之前,首先需要定位用于输入信息的输入框。针对输入框输入,目前大部分主流触摸屏式移动终端的浏览器都没有很好的定位功能。为了解决上述问题,Apple公司提出了一种Safari浏览器,在该Safari浏览器中,采用输入框与下拉选择框混合定位方式来进行页面控件的快速定位,其原理是在页面解析过程中,会按一定的规则将输入框控件以及下拉选择框控件关联起来。在用户操作过程中,只需要点击Safari提供的快捷按钮,即能马上定位到页面下一个输入框控件或者下拉选择框控件。但是Safari这种定位方法只能区分控件的前后关系,也就意味着Safari只能定位到与当前控件具有关联的前后两个页面控件,无法准确区分上下左右等方向,从而造成可用性较低,局限性较大等等缺陷。此外,在当前其他浏览器产品的设计中,当碰到输入框被键盘或其它界面遮挡的情况时,如图1所示,需要首先使得键盘消失,才能选中被覆盖在键盘下面的输入框。In recent years, in order to facilitate user operations, touch screen technology has been gradually introduced into mobile terminals. When inputting an input box in a touch-screen mobile terminal, usually before information input, it is first necessary to locate an input box for inputting information. For the input in the input box, the browsers of most mainstream touch-screen mobile terminals do not have a good positioning function at present. In order to solve the above problems, Apple has proposed a Safari browser. In the Safari browser, the mixed positioning method of the input box and the drop-down selection box is used to quickly locate the page controls. Associate the input box control and the drop-down selection box control according to certain rules. During user operation, just click the shortcut button provided by Safari to immediately locate the next input box control or drop-down selection box control on the page. However, this positioning method of Safari can only distinguish the front and back relationship of the control, which means that Safari can only locate the front and back two page controls associated with the current control, and cannot accurately distinguish the directions of up, down, left, and right, resulting in low usability and limitations. Larger and other defects. In addition, in the current design of other browser products, when the input box is blocked by the keyboard or other interfaces, as shown in Figure 1, the keyboard needs to disappear before the input box covered by the keyboard can be selected.

发明内容 Contents of the invention

鉴于上述,本发明提供了一种用于在移动终端定位输入框的定位方法、定位装置、具有该定位装置的浏览器以及具有该浏览器的移动终端,在该定位方法中,通过首先在当前关注的输入框的预定尺寸矩形范围内,在该输入框的上下左右方面搜索距离该输入框最近的输入框;将所搜索出的输入框与输入框定位快捷键中的对应定位快捷键相关联并使得该对应定位快捷键变为可用;选定并激活期望的定位快捷键来定位到期望的输入框。利用该定位方法,可以快速地定位到期望输入框,同时保持键盘处于显示状态。此外,在存在多个输入框的情况下,还可以减少取消当前输入、滑动页面和选择新焦点输入框的操作,从而使得定位操作变得更为简单。In view of the above, the present invention provides a positioning method for positioning an input box in a mobile terminal, a positioning device, a browser with the positioning device, and a mobile terminal with the browser. In the positioning method, by first Search for the input box closest to the input box in the up, down, left, and right aspects of the input box concerned within the predetermined rectangular range of the input box; associate the searched input box with the corresponding positioning shortcut key in the input box positioning shortcut key And make the corresponding positioning shortcut key available; select and activate the desired positioning shortcut key to locate the desired input box. With this positioning method, the desired input box can be quickly located while keeping the keyboard in the displayed state. In addition, in the case of multiple input boxes, the operations of canceling the current input, sliding the page, and selecting a new focus input box can be reduced, thereby making the positioning operation easier.

根据本发明的一个方面,提供了一种用于在移动终端中定位输入框的方法,包括:从当前关注的输入框中选择一位置点作为基点;在以所选择的基点为中心的十字形范围内,在该十字形的向上、向下、向左和向右的延伸方向上,针对每个方向,在与所述十字形相交的输入框中,搜索距离所述当前关注的输入框最近的输入框;将所搜索出的输入框的输入框ID号与用于指示输入框的移动方向的对应移动指示项相关联地存储在所述当前关注的输入框的对应关系表中,所述移动指示项包括左移指示项、右移指示项、上移指示项和/或下移指示项;根据所获得的对应关系表中的已经关联有输入框ID的移动指示项,在移动终端的屏幕上形成可供用户用来进行输入框定位的可用定位快捷键,所述定位快捷键包括分别与左移指示项、右移指示项、上移指示项和/或下移指示项对应的左项键、右项键、上项键和/或下项键;从所形成的可用定位快捷键中选定与期望的输入框对应的定位快捷键;以及激活所选定的定位快捷键,以基于与该快捷键相关联的输入框ID来定位到期望的输入框。优选地,所述十字形的两个边分别与移动终端的边缘平行。此外,优选地,所述基点是所述当前所关注的输入框的中心点。According to one aspect of the present invention, there is provided a method for locating an input box in a mobile terminal, comprising: selecting a position point from the currently focused input box as a base point; Within the range, in the upward, downward, leftward and rightward extension directions of the cross, for each direction, in the input box intersecting with the cross, search for the input box closest to the current focus the input box of the input box; the input box ID number of the searched input box is stored in the correspondence table of the input box concerned at present in association with the corresponding movement indication item used to indicate the movement direction of the input box, the said The moving indicator includes a left-moving indicator, a right-moving indicator, an up-moving indicator and/or a down-moving indicator; according to the movement indicator in the obtained correspondence table that has been associated with the input box ID, in the mobile terminal Available positioning shortcut keys that can be used by the user to locate the input box are formed on the screen, and the positioning shortcut keys include left and right corresponding to the left-moving indicator, the right-moving indicating item, the moving-up indicating item and/or the moving-down indicating item respectively. key, right key, up key and/or down key; select the positioning shortcut key corresponding to the desired input box from the formed available positioning shortcut keys; and activate the selected positioning shortcut key to The desired input box is located based on the input box ID associated with the shortcut key. Preferably, two sides of the cross are respectively parallel to edges of the mobile terminal. In addition, preferably, the base point is the center point of the currently focused input box.

此外,在一个或多个示例中,根据所获得的对应关系表的已经关联有输入框ID的移动指示项,在移动终端的屏幕上形成可供用户用来进行输入框定位的可用定位快捷键可以包括:根据所获得的对应关系表,在移动终端的屏幕上仅仅生成与已经关联有输入框ID的移动指示项对应的定位快捷键;以及使得所生成的所有定位快捷键变为可用。In addition, in one or more examples, according to the obtained movement indication items associated with the input box ID in the correspondence table, an available locating shortcut key that can be used by the user to locate the input box is formed on the screen of the mobile terminal It may include: according to the obtained correspondence table, generating only the positioning shortcut keys corresponding to the movement indication items associated with the input box ID on the screen of the mobile terminal; and making all the generated positioning shortcut keys available.

此外,在一个或多个示例中,根据所获得的对应关系表的与已经关联有输入框ID的移动指示项,在移动终端的屏幕上形成可供用户用来进行输入框定位的可用定位快捷键可以包括:在进行输入框输入时,在移动终端的屏幕上生成定位快捷键组,所述定位快捷键包括左项键、右项键、上项键和下项键;以及根据所获得的对应关系表,使得所生成的定位快捷键组中的与已经关联有输入框ID的移动指示项对应的定位快捷键变为可用。优选地,所述基点可以是所述当前所关注的输入框的中心点。此外,优选地,所述十字形的两个边分别与移动终端的边缘平行。In addition, in one or more examples, according to the obtained correspondence table and the movement indication item associated with the input box ID, an available positioning shortcut that can be used by the user to locate the input box is formed on the screen of the mobile terminal The keys may include: when inputting in the input box, generating a positioning shortcut key group on the screen of the mobile terminal, the positioning shortcut keys including a left item key, a right item key, an upper item key and a lower item key; and according to the obtained The correspondence table makes the positioning shortcut keys corresponding to the movement indication items associated with the input box IDs in the generated positioning shortcut key group available. Preferably, the base point may be the center point of the currently focused input box. In addition, preferably, two sides of the cross are respectively parallel to edges of the mobile terminal.

此外,优选地,所述移动终端可以是触摸屏式移动终端。In addition, preferably, the mobile terminal may be a touch screen mobile terminal.

根据本发明的另一方面,提供了一种用于在移动终端中定位输入框的定位装置,包括:基点选择单元,用于从当前关注的输入框中选择一位置点作为基点;搜索单元,用于在以所选择的基点为中心的十字形范围内,在该十字形的向上、向下、向左和向右的延伸方向上,针对每个方向,在与所述十字形相交的输入框中,搜索距离所述当前关注的输入框最近的输入框;关联单元,用于将所搜索出的输入框的输入框ID号与用于指示输入框的移动方向的对应移动指示项相关联地存储在所述当前关注的输入框的对应关系表中,所述移动指示项包括左移指示项、右移指示项、上移指示项和/或下移指示项;可用定位快捷键形成单元,用于根据所获得的对应关系表中的已经关联有输入框ID的移动指示项,在移动终端的屏幕上形成可供用户用来进行输入框定位的可用定位快捷键,所述定位快捷键包括分别与左移指示项、右移指示项、上移指示项和/或下移指示项对应的左项键、右项键、上项键和/或下项键;定位快捷键选定单元,用于从所形成的可用的快捷键中选定与期望的输入框对应的快捷键;以及激活单元,用于激活所选定的快捷键,以基于与该快捷键对应的输入框ID来定位到期望的输入框。优选地,所述十字形的两个边分别与移动终端的边缘平行。此外,优选地,所述基点可以是所述当前所关注的输入框的中心点。According to another aspect of the present invention, a positioning device for positioning an input frame in a mobile terminal is provided, including: a base point selection unit, configured to select a position point from the currently focused input frame as a base point; a search unit, For each direction within a cross shape centered on the selected base point, in the upward, downward, leftward, and rightward extension directions of the cross shape, at the input that intersects the cross shape In the box, search for the input box closest to the input box that is currently concerned; the association unit is used to associate the input box ID number of the searched input box with the corresponding movement indication item used to indicate the movement direction of the input box Stored in the correspondence table of the input box currently concerned, the moving indicator includes a left-moving indicator, a right-moving indicator, an upward-moving indicator and/or a downward-moving indicator; an available positioning shortcut key forming unit , for forming, on the screen of the mobile terminal, an available locating shortcut key that can be used by the user to locate the input box according to the movement indication item that has been associated with the input box ID in the obtained correspondence table, and the locating shortcut key Including left key, right key, up key and/or down key respectively corresponding to the left indicator, right indicator, up indicator and/or down indicator; positioning shortcut key selection cell , for selecting a shortcut key corresponding to a desired input box from the formed available shortcut keys; and an activation unit, for activating the selected shortcut key, based on the input box ID corresponding to the shortcut key Navigate to the desired input box. Preferably, two sides of the cross are respectively parallel to edges of the mobile terminal. In addition, preferably, the base point may be the center point of the currently focused input box.

此外,在一个或多个示例中,所述可用定位快捷键形成单元可以包括:第一生成单元,用于根据所获得的对应关系表,在移动终端的屏幕上仅仅生成与已经关联有输入框ID的移动指示项对应的定位快捷键;以及第一使能单元,用于使得所生成的所有定位快捷键变为可用。In addition, in one or more examples, the available positioning shortcut key forming unit may include: a first generating unit, configured to generate, on the screen of the mobile terminal, only the input boxes associated with the the positioning shortcut key corresponding to the movement indication item of the ID; and a first enabling unit, configured to make all the generated positioning shortcut keys available.

此外,在一个或多个示例中,所述可用定位快捷键形成单元可以包括:第二生成单元,用于在进行输入框输入时,在移动终端的屏幕上生成定位快捷键组,所述定位快捷键包括左项键、右项键、上项键和下项键;以及第二使能单元,用于根据所获得的对应关系表,使得所生成的定位快捷键组中的与已经关联有输入框ID的移动指示项对应的定位快捷键变为可用。In addition, in one or more examples, the available positioning shortcut key forming unit may include: a second generating unit, configured to generate a positioning shortcut key group on the screen of the mobile terminal when inputting an input box, the positioning The shortcut keys include a left key, a right key, an up key, and a down key; and a second enabling unit, which is used to make the generated positioning shortcut keys associated with the The positioning shortcut key corresponding to the movement indication item of the input box ID becomes available.

根据本发明的另一方面,提供了一种移动终端浏览器,包括如上所述的定位装置。According to another aspect of the present invention, a mobile terminal browser is provided, including the positioning device as described above.

根据本发明的另一方面,提供了一种移动终端,包括如上所述的浏览器。According to another aspect of the present invention, a mobile terminal is provided, including the above-mentioned browser.

根据本发明的另一方面,提供了一种触摸屏式移动终端,包括如上所述的页面浏览操作装置。为了实现上述以及相关目的,本发明的一个或多个方面包括后面将详细说明并在权利要求中特别指出的特征。下面的说明以及附图详细说明了本发明的某些示例性方面。然而,这些方面指示的仅仅是可使用本发明的原理的各种方式中的一些方式。此外,本发明旨在包括所有这些方面以及它们的等同物。According to another aspect of the present invention, a touch-screen mobile terminal is provided, including the above-mentioned page browsing operation device. To the accomplishment of the above and related ends, one or more aspects of the invention comprise the features hereinafter described in detail and particularly pointed out in the claims. The following description and accompanying drawings detail certain exemplary aspects of the invention. These aspects are indicative, however, of but a few of the various ways in which the principles of the invention may be employed. Furthermore, the invention is intended to include all such aspects and their equivalents.

附图说明 Description of drawings

根据下述参照附图进行的详细描述,本发明的上述和其他目的、特征和优点将变得更加显而易见。在附图中:The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description made with reference to the accompanying drawings. In the attached picture:

图1示出了在输入框被键盘遮挡时的示意图;Fig. 1 shows a schematic diagram when the input box is blocked by the keyboard;

图2示出了根据本发明的用于在移动终端中定位输入框的方法的流程图;FIG. 2 shows a flowchart of a method for locating an input box in a mobile terminal according to the present invention;

图3示出了以当前输入框的中心点为中心的十字形和输入框相交的示意图;FIG. 3 shows a schematic diagram of intersection of a cross with the center point of the current input box as the center and the input box;

图4A和图4B示出了根据本发明的定位输入框的一个示例的示意图;FIG. 4A and FIG. 4B show a schematic diagram of an example of a positioning input box according to the present invention;

图5示出了根据本发明的用于在移动终端中定位输入框的定位装置的方框示意图;FIG. 5 shows a schematic block diagram of a positioning device for positioning an input frame in a mobile terminal according to the present invention;

图6示出了具有根据本发明的定位装置的浏览器的方框示意图;以及Figure 6 shows a schematic block diagram of a browser with a positioning device according to the present invention; and

图7示出了具有根据本发明的浏览器的移动终端的方框示意图。Fig. 7 shows a schematic block diagram of a mobile terminal with a browser according to the present invention.

在所有附图中相同的标号指示相似或相应的特征或功能。The same reference numerals indicate similar or corresponding features or functions throughout the drawings.

具体实施方式 Detailed ways

下面描述本公开的各个方面。应该明白的是,本文的教导可以以多种多样形式具体体现,并且在本文中公开的任何具体结构、功能或两者仅仅是代表性的。基于本文的教导,本领域技术人员应该明白的是,本文所公开的一个方面可以独立于任何其它方面实现,并且这些方面中的两个或多个方面可以按照各种方式组合。例如,可以使用本文所阐述的任何数目的方面,实现装置或实践方法。另外,可以使用其它结构、功能、或除了本文所阐述的一个或多个方面之外或不是本文所阐述的一个或多个方面的结构和功能,实现这种装置或实践这种方法。此外,本文所描述的任何方面可以包括权利要求的至少一个元素。Various aspects of the disclosure are described below. It should be appreciated that the teachings herein may be embodied in a wide variety of forms and that any specific structure, function, or both disclosed herein are merely representative. Based on the teachings herein one skilled in the art should appreciate that an aspect disclosed herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented or a method practiced using any number of the aspects set forth herein. In addition, such an apparatus may be implemented or such a method may be practiced with other structure, functionality, or structure and functionality in addition to or in addition to one or more of the aspects set forth herein. Additionally, any aspect described herein may comprise at least one element of a claim.

下面将参照附图描述本发明的实施例。Embodiments of the present invention will be described below with reference to the accompanying drawings.

图2示出了根据本发明的用于在移动终端中定位输入框的方法的流程图。这里,移动终端采用触摸屏式移动终端。Fig. 2 shows a flowchart of a method for locating an input box in a mobile terminal according to the present invention. Here, the mobile terminal is a touch screen mobile terminal.

当触摸移动终端的显示屏幕来在输入框中进行文本输入时,在当前输入框的文本输入已经完成后,需要到另一个输入框进行文本输入时,则可以采用本发明的输入框定位方法进行快速定位。When touching the display screen of the mobile terminal to perform text input in the input box, after the text input of the current input box has been completed, when it is necessary to go to another input box for text input, the input box positioning method of the present invention can be used. Rapid positioning.

如图2所示,首先,在步骤S210,从当前输入框(即,当前关注的输入框,或者也称为当前焦点输入框)中选择一位置点作为基点。该所选择的位置点可以是所述当前关注的输入框中的任意一点。例如,可以通过将光标移动到当前输入框中的一个位置点上确认来选择该位置点作为基点。很显然,当该位置点被选择时,移动终端可以获知该光标的坐标位置,作为所选择的基点的坐标位置。关于移动终端如何获知光标的坐标位置在本领域中是公知的。在本发明的一个优选实施例中,所述基点可以是所述当前所关注的输入框的中心点。As shown in FIG. 2 , first, in step S210 , a position point is selected from the current input box (ie, the currently focused input box, or also called the current focus input box) as a base point. The selected location point may be any point in the currently focused input box. For example, the position point can be selected as the base point by moving the cursor to a position point in the current input box for confirmation. Apparently, when the position point is selected, the mobile terminal can obtain the coordinate position of the cursor as the coordinate position of the selected base point. How the mobile terminal obtains the coordinate position of the cursor is well known in the art. In a preferred embodiment of the present invention, the base point may be the center point of the currently focused input box.

然后,在步骤S220,在以所选择的基点为中心的十字形范围内,在该十字形的向上、向下、向左和向右的延伸方向上,针对每个方向,在与所述十字形相交的输入框中,搜索距离所述当前关注的输入框最近的输入框。这里,所述十字形范围可以是X×Y的十字形范围,例如,200像素×150像素,也可以是X×X的十字形范围,例如,200像素×200像素。此外,十字形范围中的X和Y可以根据需要采取不同的值,例如根据移动终端的型号(或者移动终端的屏幕尺寸)来选用不同的值。此外,在十字形中,向左、向右、向上和向下方向的延伸范围的取值可以相同或不同。例如,在上述200像素×200像素的十字形中,向左、向右、向上和向下方向的延伸范围可以都为100个像素。或者,向左的延伸范围取值为50个像素,向右的延伸范围取值为150个像素。向上的延伸范围取值为100个像素,向下的延伸范围取值为100个像素。具体地,在搜索时,例如,在200像素×200像素的十字形范围内且向左、向右、向上和向下的延伸范围取值都相同,并且所选择的基点是当前输入框A的中心点的情况下,则认为与以当前输入框A的中心点为中心的两个边分别为200个像素的十字形(即,从中心算起沿向上、向下、向左和向右的延伸范围的长度为100个像素的十字形)的两条线中的任意一条相交的输入框在搜索范围内,否则,则认为不在搜索范围内。图3示出了以输入框的中心点为中心的十字形与输入框相交的示意图。针对向上、向下、向左和向右的延伸方向中的每个方向,搜索是否存在位于搜索范围内的输入框。例如,当十字形在向右延伸的方向上与输入框相交,则认为该输入框在搜索范围内,并且在进行定位时与右移指示项对应。其它延伸方向上的搜索也按照上述处理。当存在多个位于搜索范围内的输入框时,例如,如果在向上的延伸方向存在位于搜索范围内的输入框B、C和D,其中,输入框B距离当前输入框A最近,则将与当前输入框A距离最近的输入框B作为在向上的延伸方向上搜索到的输入框。对于其它方向,也采用相同的方式搜索输入框。这里,与当前输入框之间的距离例如可以是指所搜索到的输入框与当前所关注的输入框的最近边之间的距离。或者,与当前输入框之间的距离例如也可以是所搜索到的输入框的中心点与所述基点之间的距离。在一个优选实施例中,所述十字形的两个边分别与移动终端的边缘平行。在替换实施例中,所述十字形的两个边也可以不与移动终端的边缘平行,而是与移动终端的边缘成稍小的倾斜角。Then, in step S220, within the scope of the cross with the selected base point as the center, in the upward, downward, leftward and rightward extension directions of the cross, for each direction, In the input boxes whose glyphs intersect, search for the input box closest to the currently focused input box. Here, the cross-shaped range may be an X×Y cross-shaped range, for example, 200 pixels×150 pixels, or an X×X cross-shaped range, for example, 200 pixels×200 pixels. In addition, X and Y in the cross-shaped range can take different values as required, for example, different values can be selected according to the model of the mobile terminal (or the screen size of the mobile terminal). In addition, in the cross shape, the extension ranges in the left, right, up and down directions can have the same or different values. For example, in the above-mentioned cross shape of 200 pixels×200 pixels, the extension ranges in the left, right, upward and downward directions may all be 100 pixels. Alternatively, the extent to the left is 50 pixels, and the extent to the right is 150 pixels. The upward extension range takes a value of 100 pixels, and the downward extension range takes a value of 100 pixels. Specifically, when searching, for example, within a cross-shaped range of 200 pixels×200 pixels and the values of the extension ranges to the left, right, up and down are all the same, and the selected base point is the current input box A In the case of the center point, it is considered that the two sides centered on the center point of the current input box A are respectively 200 pixels in cross shape (that is, counting from the center along the upward, downward, leftward and rightward The input box intersected by any one of the two lines whose length is 100 pixels) is within the search range; otherwise, it is deemed not to be within the search range. FIG. 3 shows a schematic diagram of intersection of a cross shape centered on the center point of the input box and the input box. For each of the extending directions upward, downward, leftward, and rightward, whether there is an input box within the search range is searched. For example, when the cross intersects the input box in the direction extending to the right, it is considered that the input box is within the search range, and it corresponds to the right-moving indicator when positioning. Searches in other extension directions are also processed as above. When there are multiple input boxes within the search range, for example, if there are input boxes B, C, and D within the search range in the upward extension direction, where input box B is the closest to the current input box A, it will be the same as The input box B closest to the current input box A is used as the input box searched in the upward extension direction. For other directions, search the input box in the same way. Here, the distance from the current input box may, for example, refer to the distance between the searched input box and the nearest edge of the currently focused input box. Alternatively, the distance from the current input box may also be, for example, the distance between the center point of the searched input box and the base point. In a preferred embodiment, the two sides of the cross are respectively parallel to the edges of the mobile terminal. In an alternative embodiment, the two sides of the cross may not be parallel to the edge of the mobile terminal, but form a slightly smaller inclination angle with the edge of the mobile terminal.

在针对十字形的每个延伸方向完成上述搜索后,在步骤S230,将所搜索出的输入框的输入框ID号与用于指示输入框的移动方向的对应移动指示项相关联地存储在所述当前关注的输入框的对应关系表中,所述移动指示项包括左移指示项、右移指示项、上移指示项和/或下移指示项。例如,如果在左方搜索到输入框,则将该输入框的输入框ID与左移指示项相关联地存储在当前输入框的对应关系表中。同样,如果在右方、上方和下方方向上搜索到输入框,则将每个输入框与对应的右移指示项、上移指示项和下移指示项相关联地存储在当前输入框的对应关系表中。After the above-mentioned search is completed for each extension direction of the cross, in step S230, the input box ID number of the searched input box is associated with the corresponding movement indication item used to indicate the movement direction of the input box and stored in the In the corresponding relationship table of the input box currently concerned, the moving indicator includes a left-moving indicator, a right-moving indicator, an up-moving indicator and/or a down-moving indicator. For example, if an input box is found on the left side, the input box ID of the input box is stored in the correspondence table of the current input box in association with the left-moving indication item. Similarly, if input boxes are searched in the directions of right, up and down, each input box is stored in the corresponding in the relationship table.

在将搜索到的输入框与对应的移动指示项相关联地存储在对应关系表中后,在步骤S240,根据所获得的对应关系表中的已经关联有输入框ID的移动指示项,在移动终端的屏幕上形成可供用户用来进行输入框定位的可用定位快捷键,所述定位快捷键包括分别与左移指示项、右移指示项、上移指示项和/或下移指示项对应的左项键、右项键、上项键和/或下项键。这里,所述左项键表示页面快速移动(滚动)到左边输入框,右项键表示页面快速移动(滚动)到右边输入框,上项键表示页面快速移动(滚动)到上方输入框,以及下项键表示页面快速移动(滚动)到下方输入框。After the searched input box is associated with the corresponding movement indication item and stored in the correspondence table, in step S240, according to the movement indication item in the obtained correspondence table that has been associated with the input box ID, move Available positioning shortcut keys for the user to locate the input box are formed on the screen of the terminal, and the positioning shortcut keys include corresponding LEFT, RIGHT, UP, and/or DOWN keys. Here, the left item key indicates that the page moves (scrolls) quickly to the left input box, the right item key indicates that the page quickly moves (scrolls) to the right input box, and the upper item key indicates that the page quickly moves (scrolls) to the upper input box, and The next key indicates that the page moves quickly (scrolls) to the input box below.

具体地,在一个示例中,在根据所获得的对应关系表的已经关联有输入框ID的移动指示项,在移动终端的屏幕上形成可供用户用来进行输入框定位的可用定位快捷键时,可以首先根据所获得的对应关系表,在移动终端的屏幕上仅仅生成与已经关联有输入框ID的移动指示项对应的定位快捷键;然后,使得所生成的所有定位快捷键变为可用。Specifically, in an example, when an available positioning shortcut key that can be used by the user to locate the input box is formed on the screen of the mobile terminal according to the obtained movement indication item in the correspondence table that has been associated with the input box ID Firstly, according to the obtained correspondence table, only the positioning shortcut keys corresponding to the movement indication items associated with the input box IDs can be generated on the screen of the mobile terminal; then, all the generated positioning shortcut keys can be made available.

或者,在另一示例中,在根据所获得的对应关系表的已经关联有输入框ID的移动指示项,在移动终端的屏幕上形成可供用户用来进行输入框定位的可用定位快捷键时,可以在进行输入框输入时,在移动终端的屏幕上生成定位快捷键组,所述定位快捷键包括左项键、右项键、上项键和下项键,此时定位快捷键中的所有定位快捷键都被设置为不可用。然后,在获得当前输入框的对应关系表后,根据所获得的对应关系表,使得所生成的定位快捷键组中的与已经关联有输入框ID的移动指示项对应的定位快捷键变为可用。图3B示出了上述情形的示意图。Or, in another example, when an available locating shortcut key that can be used by the user to locate the input box is formed on the screen of the mobile terminal according to the movement indication item in the obtained correspondence table that has been associated with the input box ID , when the input box is input, a positioning shortcut key group can be generated on the screen of the mobile terminal, and the positioning shortcut keys include a left key, a right key, an upper key and a lower key, and at this time, the positioning shortcut keys All navigation shortcuts are disabled. Then, after obtaining the correspondence table of the current input box, according to the obtained correspondence table, the positioning shortcut keys corresponding to the movement instruction items associated with the input box ID in the generated positioning shortcut key group become available . Fig. 3B shows a schematic diagram of the above situation.

在形成可用于进行输入框定位的定位快捷键后,在步骤S250,从所形成的可用定位快捷键中选定与期望的输入框对应的定位快捷键。然后,在步骤S260,激活所选定的定位快捷键,以基于与该快捷键相关联的输入框ID来定位到期望的输入框。例如,点击或以其它方式触摸所选定的定位快捷键来利用与该快捷键相关联的输入框ID,快速地定位到期望的输入框。After the positioning shortcut keys that can be used to locate the input box are formed, in step S250, the positioning shortcut key corresponding to the desired input box is selected from the formed available positioning shortcut keys. Then, in step S260, the selected locating shortcut key is activated to locate a desired input box based on the input box ID associated with the shortcut key. For example, click or otherwise touch the selected locating shortcut key to quickly locate the desired input box using the input box ID associated with the shortcut key.

图4A示出了当前焦点输入框左边同时具有另外一个输入框的情形时的示意图。如图4A所示,当用户进行输入框定位时,只需要通过点击可用定位快捷键中的左项键,就可以一键快速定位到左边的输入框。FIG. 4A shows a schematic diagram of a situation where there is another input box to the left of the current focus input box. As shown in FIG. 4A , when the user locates the input box, he only needs to click the left key among the available positioning shortcut keys to quickly locate the left input box with one click.

图4B示出了在当前焦点输入框的下方存在被键盘遮挡的另一输入框的情形时的示意图。如图4B所示,在注册输入框“密码提示问题”的下方存在被键盘遮挡的另一注册输入框“密码提示答案”。在现有技术的输入操作时,用户首先必须使键盘消失,然后才能选中被覆盖在键盘下面的输入框。而在采用本发明的定位方法时,在键盘(例如,正上方)周围生成的定位快捷键组中的下项键变为可用,例如,在图中被显示为高亮,然后用户可以通过点击下项键,在不需要使键盘消失的情况下,一键快速定位到下方的注册输入框“密码提示答案”。FIG. 4B shows a schematic diagram of a situation where there is another input box covered by the keyboard under the current focus input box. As shown in FIG. 4B , there is another registration input box “Password Prompt Answer” hidden by the keyboard under the registration input box “Password Prompt Question”. During the input operation in the prior art, the user must first make the keyboard disappear, and then the input box covered under the keyboard can be selected. However, when the positioning method of the present invention is adopted, the next key in the positioning shortcut key group generated around the keyboard (for example, directly above) becomes available, for example, is displayed as highlighted in the figure, and then the user can click The next key, without making the keyboard disappear, quickly navigate to the registration input box "Password Prompt Answer" below with one key.

利用本发明的输入框定位方法,可以在保持键盘处于显示状态的情况下,快速地定位到期望输入框。此外,在存在多个输入框的情况下,还可以减少取消当前输入、滑动页面和选择新焦点输入框的操作,从而使得定位操作变得更为简单。By using the input box locating method of the present invention, the desired input box can be quickly located while keeping the keyboard in the displayed state. In addition, in the case of multiple input boxes, the operations of canceling the current input, sliding the page, and selecting a new focus input box can be reduced, thereby making the positioning operation easier.

如上参照图1到图4A和图4B描述了根据本发明的用于在移动终端中定位输入框的定位方法。本发明的上述用于在移动终端中定位输入框的定位方法,可以采用软件实现,也可以采用硬件实现,或采用软件和硬件组合的方式实现。The positioning method for positioning an input box in a mobile terminal according to the present invention is described above with reference to FIGS. 1 to 4A and 4B. The above-mentioned positioning method for locating the input box in the mobile terminal of the present invention can be implemented by software, hardware, or a combination of software and hardware.

图5示出了根据本发明的用于在移动终端中定位输入框的定位装置500的方框示意图。Fig. 5 shows a schematic block diagram of a positioning device 500 for locating an input box in a mobile terminal according to the present invention.

如图5所示,定位装置500包括基点选择单元510、搜索单元520、关联单元530、可用定位快捷键形成单元540、定位快捷键选定单元550以及激活单元560。As shown in FIG. 5 , the positioning device 500 includes a base point selection unit 510 , a search unit 520 , an association unit 530 , an available positioning shortcut key formation unit 540 , a positioning shortcut key selection unit 550 and an activation unit 560 .

基点选择单元510用于从当前关注的输入框中选择一位置点作为基点。在选择出基点后,搜索单元520在以所选择的基点为中心的十字形范围内,在该十字形的向上、向下、向左和向右的延伸方向上,针对每个方向,从与所述十字形相交的输入框中,搜索距离所述当前关注的输入框最近的输入框。如果在一个方向上存在多个位于搜索范围内的输入框时,例如,如果在向上的延伸方向上存在位于搜索范围内的输入框B、C和D,其中,输入框B距离当前输入框A最近,则将与当前输入框A距离最近的输入框B作为在向上的延伸方向上搜索到的输入框。其它方向也按照类似的方式进行搜索。优选地,在一个示例中,所述十字形的两个边分别与移动终端的边缘平行。在替换示例中,所述十字形的两个边也可以与移动终端的边缘成稍小的倾斜角。The base point selection unit 510 is used to select a position point from the currently focused input box as a base point. After the base point is selected, the search unit 520, within the cross-shaped range centered on the selected base point, in the upward, downward, leftward and rightward extension directions of the cross, for each direction, from the Among the input boxes intersected by the cross, search for the input box closest to the currently focused input box. If there are multiple input boxes within the search range in one direction, for example, if there are input boxes B, C, and D within the search range in the upward extension direction, where input box B is far from the current input box A The nearest is to use the input box B closest to the current input box A as the input box searched in the upward extension direction. Other directions are also searched in a similar manner. Preferably, in an example, two sides of the cross are respectively parallel to edges of the mobile terminal. In an alternative example, the two sides of the cross may form a slightly smaller inclination angle with the edge of the mobile terminal.

在针对所述十字形的每个延伸方向搜索出输入框后,关联单元530将所搜索出的输入框的输入框ID号与用于指示输入框的移动方向的对应移动指示项相关联地存储在所述当前关注的输入框的对应关系表中,所述移动指示项包括左移指示项、右移指示项、上移指示项和/或下移指示项。例如,如果在左方搜索到输入框,则将该输入框的输入框ID与左移指示项相关联地存储在当前输入框的对应关系表中。同样,如果在右方、上方和下方方向上搜索到输入框,则将每个输入框与对应的右移指示项、上移指示项和下移指示项相关联地存储在当前输入框的对应关系表中。After the input box is searched for each extension direction of the cross, the associating unit 530 associates and stores the input box ID number of the searched input box with the corresponding movement indication item used to indicate the movement direction of the input box In the corresponding relationship table of the currently focused input box, the movement indication item includes a left movement indication item, a right movement indication item, an upward movement indication item and/or a downward movement indication item. For example, if an input box is found on the left side, the input box ID of the input box is stored in the correspondence table of the current input box in association with the left-moving indication item. Similarly, if input boxes are searched in the directions of right, up and down, each input box is stored in the corresponding in the relationship table.

然后,可用定位快捷键形成单元540根据所获得的对应关系表中的已经关联有输入框ID的移动指示项,在移动终端的屏幕上形成可供用户用来进行输入框定位的可用定位快捷键,所述定位快捷键包括分别与左移指示项、右移指示项、上移指示项和/或下移指示项对应的左项键、右项键、上项键和/或下项键。Then, the available positioning shortcut key forming unit 540 forms available positioning shortcut keys on the screen of the mobile terminal that can be used by the user to locate the input box according to the movement indication item in the obtained correspondence table that has been associated with the input box ID , the positioning shortcut keys include a left key, a right key, an up key and/or a down key respectively corresponding to the left indication item, the right indication item, the up indication item and/or the down indication item.

在一个示例中,所述可用定位快捷键形成单元540可以包括第一生成单元(未示出),用于根据所获得的对应关系表,在移动终端的屏幕上仅仅生成与已经关联有输入框ID的移动指示项对应的定位快捷键;以及第一使能单元(未示出),用于使得所生成的所有定位快捷键变为可用。In an example, the available positioning shortcut key forming unit 540 may include a first generating unit (not shown), configured to generate, on the screen of the mobile terminal, only The positioning shortcut key corresponding to the movement indication item of the ID; and a first enabling unit (not shown), configured to make all the generated positioning shortcut keys available.

在另一示例中,所述可用定位快捷键形成单元540可以包括第二生成单元(未示出),用于在进行输入框输入时,在移动终端的屏幕上生成定位快捷键组,所述定位快捷键包括左项键、右项键、上项键和下项键;以及第二使能单元(未示出),用于根据所获得的对应关系表,使得所生成的定位快捷键组中的与已经关联有输入框ID的移动指示项对应的定位快捷键变为可用。In another example, the available positioning shortcut key forming unit 540 may include a second generating unit (not shown), configured to generate a positioning shortcut key group on the screen of the mobile terminal when inputting an input box, the The positioning shortcut keys include a left item key, a right item key, an upper item key and a lower item key; and a second enabling unit (not shown), which is used to make the generated positioning shortcut key group The positioning shortcut keys corresponding to the movement indication items associated with the input box ID in become available.

在形成可用定位快捷键后,定位快捷键选定单元550从所形成的可用的快捷键中选定与期望的输入框对应的快捷键。然后,激活单元560激活所选定的快捷键,以基于与该快捷键对应的输入框ID来定位到期望的输入框。例如,点击或以其它方式触摸所选定的定位快捷键来利用与该快捷键相关联的输入框ID,快速地定位到期望的输入框。After the available positioning shortcut keys are formed, the positioning shortcut key selection unit 550 selects the shortcut key corresponding to the desired input box from the formed available shortcut keys. Then, the activation unit 560 activates the selected shortcut key to locate a desired input box based on the input box ID corresponding to the shortcut key. For example, click or otherwise touch the selected locating shortcut key to quickly locate the desired input box using the input box ID associated with the shortcut key.

根据本发明的定位装置可以应用于移动终端的浏览器中。图6示出了具有根据本发明的定位装置的浏览器600的方框示意图。如图6所示,浏览器600包括图5中示出的定位装置500。此外,在替换实施例中,浏览器600还可以包括落在本发明的范围内的图5中示出的定位装置500的各种变型。The positioning device according to the present invention can be applied in a browser of a mobile terminal. FIG. 6 shows a schematic block diagram of a browser 600 with a positioning device according to the present invention. As shown in FIG. 6 , the browser 600 includes the positioning device 500 shown in FIG. 5 . Furthermore, in alternative embodiments, the browser 600 may also include various variations of the positioning device 500 shown in FIG. 5 within the scope of the present invention.

根据本发明,还提供了一种具有上述浏览器的移动终端。图7示出了具有根据本发明的浏览器600的移动终端10的方框示意图。在替换实施例中,移动终端10同样可以包括落在本发明的范围内的图6中示出的浏览器600的各种变型。According to the present invention, a mobile terminal with the above browser is also provided. FIG. 7 shows a schematic block diagram of a mobile terminal 10 with a browser 600 according to the present invention. In alternative embodiments, the mobile terminal 10 may also include variations of the browser 600 shown in FIG. 6 within the scope of the present invention.

此外,典型地,本发明所述的移动终端可为各种手持终端设备,例如手机、个人数字助理(PDA)等,因此本发明的保护范围不应限定为某种特定类型的移动终端。In addition, typically, the mobile terminals described in the present invention can be various handheld terminal devices, such as mobile phones, personal digital assistants (PDAs), etc., so the protection scope of the present invention should not be limited to a specific type of mobile terminals.

利用该定位方法,可以快速地定位到期望输入框,同时保持键盘处于显示装置。此外,在存在多个输入框的情况下,还可以减少取消当前输入、滑动页面和选择新焦点输入框的操作,从而使得定位操作变得更为简单。With this positioning method, a desired input box can be quickly located while keeping the keyboard on the display device. In addition, in the case of multiple input boxes, the operations of canceling the current input, sliding the page, and selecting a new focus input box can be reduced, thereby making the positioning operation easier.

尽管前面公开的内容示出了本发明的示例性实施例,但是应当注意,在不背离权利要求限定的本发明的范围的前提下,可以进行多种改变和修改。根据这里描述的发明实施例的方法权利要求的功能、步骤和/或动作不需以任何特定顺序执行。此外,尽管本发明的元素可以以个体形式描述或要求,但是也可以设想多个,除非明确限制为单数。While the foregoing disclosure shows exemplary embodiments of the invention, it should be noted that various changes and modifications can be made without departing from the scope of the invention as defined in the claims. The functions, steps and/or actions of the method claims in accordance with the embodiments of the invention described herein need not be performed in any particular order. Furthermore, although elements of the invention may be described or claimed in individual form, a plurality is also contemplated unless expressly limited to the singular.

虽然如上参照图描述了根据本发明的各个实施例进行了描述,但是本领域技术人员应当理解,对上述本发明所提出的各个实施例,还可以在不脱离本发明内容的基础上做出各种改进。因此,本发明的保护范围应当由所附的权利要求书的内容确定。Although the various embodiments of the present invention have been described above with reference to the drawings, those skilled in the art should understand that various embodiments can be made without departing from the content of the present invention for the various embodiments of the present invention. kind of improvement. Therefore, the protection scope of the present invention should be determined by the contents of the appended claims.

Claims (10)

1.一种用于在移动终端中定位输入框的方法,包括:1. A method for positioning an input box in a mobile terminal, comprising: 从当前关注的输入框中选择一位置点作为基点;Select a position point from the currently focused input box as the base point; 在以所选择的基点为中心的十字形范围内,在该十字形的向上、向下、向左和向右的延伸方向上,针对每个方向,在与所述十字形相交的输入框中,搜索距离所述当前关注的输入框最近的输入框;Within the range of the cross shape centered on the selected base point, in the upward, downward, leftward, and rightward extension directions of the cross shape, for each direction, in the input box intersecting the cross shape , to search for the input box closest to the currently focused input box; 将所搜索出的输入框的输入框ID号与用于指示输入框的移动方向的对应移动指示项相关联地存储在所述当前关注的输入框的对应关系表中,所述移动指示项包括左移指示项、右移指示项、上移指示项和/或下移指示项;The input box ID number of the searched input box is stored in the correspondence table of the currently focused input box in association with the corresponding movement indication item used to indicate the movement direction of the input box, and the movement indication item includes Move the indicator left, move the indicator right, move the indicator up and/or move the indicator down; 根据所获得的对应关系表中的已经关联有输入框ID的移动指示项,在移动终端的屏幕上形成可供用户用来进行输入框定位的可用定位快捷键,所述定位快捷键包括分别与左移指示项、右移指示项、上移指示项和/或下移指示项对应的左项键、右项键、上项键和/或下项键;According to the mobile indication item that has been associated with the input box ID in the obtained correspondence table, the available positioning shortcut keys for the user to locate the input box are formed on the screen of the mobile terminal, and the positioning shortcut keys include the A left key, a right key, an up key and/or a down key corresponding to the left indication item, the right indication item, the up indication item and/or the down indication item; 从所形成的可用定位快捷键中选定与期望的输入框对应的定位快捷键;以及Selecting a positioning shortcut key corresponding to a desired input box from the formed available positioning shortcut keys; and 激活所选定的定位快捷键,以基于与该快捷键相关联的输入框ID来一键定位到期望的输入框。Activate the selected locating shortcut key to locate the desired input box with one key based on the input box ID associated with the shortcut key. 2.如权利要求1所述的方法,其中,所述基点是当前所关注的输入框的中心点。2. The method according to claim 1, wherein the base point is a center point of the currently focused input box. 3.如权利要求1或2所述的方法,其中,根据所获得的对应关系表的与已经关联有输入框ID的移动指示项,在移动终端的屏幕上形成可供用户用来进行输入框定位的可用定位快捷键包括:3. The method according to claim 1 or 2, wherein, according to the obtained correspondence table and the mobile indication item associated with the input box ID, a user can use the input box to form an input box on the screen of the mobile terminal Available targeting shortcuts for targeting include: 根据所获得的对应关系表,在移动终端的屏幕上仅仅生成与已经关联有输入框ID的移动指示项对应的定位快捷键;以及According to the obtained correspondence table, on the screen of the mobile terminal, only the positioning shortcut keys corresponding to the movement indication items associated with the input box ID are generated; and 使得所生成的所有定位快捷键变为可用。Makes all generated targeting shortcuts available. 4.如权利要求1或2所述的方法,其中,根据所获得的对应关系表的与已经关联有输入框ID的移动指示项,在移动终端的屏幕上形成可供用户用来进行输入框定位的可用定位快捷键包括:4. The method according to claim 1 or 2, wherein, according to the obtained correspondence table and the mobile indication item associated with the input box ID, a user can use the input box to form an input box on the screen of the mobile terminal Available targeting shortcuts for targeting include: 在进行输入框输入时,在移动终端的屏幕上生成定位快捷键组,所述定位快捷键包括所述左项键、所述右项键、所述上项键和所述下项键;以及When inputting the input box, a positioning shortcut key group is generated on the screen of the mobile terminal, and the positioning shortcut keys include the left key, the right key, the upper key and the lower key; and 根据所获得的对应关系表,使得所生成的定位快捷键组中的与已经关联有输入框ID的移动指示项对应的定位快捷键变为可用。According to the obtained correspondence table, the positioning shortcut keys corresponding to the movement indication items associated with the input box IDs in the generated positioning shortcut key group become available. 5.如权利要求1所述的方法,其中,所述移动终端是触摸屏式移动终端。5. The method of claim 1, wherein the mobile terminal is a touch screen type mobile terminal. 6.一种用于在移动终端中定位输入框的定位装置,包括:6. A positioning device for positioning an input frame in a mobile terminal, comprising: 基点选择单元,用于从当前关注的输入框中选择一位置点作为基点;The base point selection unit is used to select a position point from the currently focused input box as the base point; 搜索单元,用于在以所述所选择的基点为中心的十字形范围内,在该十字形的向上、向下、向左和向右的延伸方向上,针对每个方向,在与所述十字形相交的输入框中,搜索距离所述当前关注的输入框最近的输入框;The search unit is used for, within the cross-shaped range centered on the selected base point, in the upward, downward, leftward and rightward extension directions of the cross-shaped, for each direction, in the In the input box intersected by the cross, search for the input box closest to the currently focused input box; 关联单元,用于将所搜索出的输入框的输入框ID号与用于指示输入框的移动方向的对应移动指示项相关联地存储在所述当前关注的输入框的对应关系表中,所述移动指示项包括左移指示项、右移指示项、上移指示项和/或下移指示项;The associating unit is used to store the input box ID number of the searched input box in association with the corresponding movement indication item used to indicate the movement direction of the input box in the corresponding relationship table of the currently focused input box, so The moving indicator includes a left-moving indicator, a right-moving indicator, an upward-moving indicator and/or a downward-moving indicator; 可用定位快捷键形成单元,用于根据所获得的对应关系表中的已经关联有输入框ID的移动指示项,在移动终端的屏幕上形成可供用户用来进行输入框定位的可用定位快捷键,所述定位快捷键包括分别与左移指示项、右移指示项、上移指示项和/或下移指示项对应的左项键、右项键、上项键和/或下项键;The available positioning shortcut key forming unit is used to form available positioning shortcut keys for the user to locate the input box on the screen of the mobile terminal according to the movement indication item that has been associated with the input box ID in the obtained correspondence table , the positioning shortcut keys include a left key, a right key, an up key and/or a down key respectively corresponding to the left indication item, the right indication item, the up indication item and/or the down indication item; 定位快捷键选定单元,用于从所形成的可用的定位快捷键中选定与期望的输入框对应的定位快捷键;以及a positioning shortcut key selection unit, configured to select a positioning shortcut key corresponding to a desired input box from the formed available positioning shortcut keys; and 激活单元,用于激活所选定的定位快捷键,以基于与该定位快捷键对应的输入框ID来一键定位到期望的输入框。An activating unit is configured to activate the selected locating shortcut key, so as to locate a desired input box with one key based on the input box ID corresponding to the locating shortcut key. 7.如权利要求6所述的定位装置,其中,所述基点是所述当前所关注的输入框的中心点。7. The positioning device according to claim 6, wherein the base point is a center point of the currently focused input box. 8.如权利要求6或7所述的定位装置,其中,所述可用定位快捷键形成单元包括:8. The positioning device according to claim 6 or 7, wherein the available positioning shortcut key forming unit comprises: 第一生成单元,用于根据所获得的对应关系表,在移动终端的屏幕上仅仅生成与已经关联有输入框ID的移动指示项对应的定位快捷键;以及The first generation unit is used to generate, on the screen of the mobile terminal, only the positioning shortcut keys corresponding to the movement indication items associated with the input box ID according to the obtained correspondence table; and 第一使能单元,用于使得所生成的所有定位快捷键变为可用。The first enabling unit is configured to make all the generated positioning shortcut keys available. 9.如权利要求6或7所述的定位装置,其中,所述可用定位快捷键形成单元包括:9. The positioning device according to claim 6 or 7, wherein the available positioning shortcut key forming unit comprises: 第二生成单元,用于在进行输入框输入时,在移动终端的屏幕上生成定位快捷键组,所述定位快捷键包括所述左项键、所述右项键、所述上项键和所述下项键;以及The second generation unit is used to generate a positioning shortcut key group on the screen of the mobile terminal when inputting an input box, and the positioning shortcut keys include the left item key, the right item key, the upper item key and said next key; and 第二使能单元,用于根据所获得的对应关系表,使得所生成的定位快捷键组中的与已经关联有输入框ID的移动指示项对应的定位快捷键变为可用。The second enabling unit is configured to make the positioning shortcut keys corresponding to the movement indication items associated with the input box IDs in the generated positioning shortcut key group available according to the obtained correspondence table. 10.如权利要求6或7所述的定位装置,其中,所述移动终端是触摸屏式移动终端。10. The positioning device according to claim 6 or 7, wherein the mobile terminal is a touch screen mobile terminal.
CN2011101814003A 2011-06-30 2011-06-30 Method for positioning input frame, device, browser and mobile terminal Expired - Fee Related CN102364424B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101814003A CN102364424B (en) 2011-06-30 2011-06-30 Method for positioning input frame, device, browser and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101814003A CN102364424B (en) 2011-06-30 2011-06-30 Method for positioning input frame, device, browser and mobile terminal

Publications (2)

Publication Number Publication Date
CN102364424A CN102364424A (en) 2012-02-29
CN102364424B true CN102364424B (en) 2013-08-07

Family

ID=45690990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101814003A Expired - Fee Related CN102364424B (en) 2011-06-30 2011-06-30 Method for positioning input frame, device, browser and mobile terminal

Country Status (1)

Country Link
CN (1) CN102364424B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799350B (en) * 2012-06-13 2014-07-16 优视科技有限公司 Method and device for determining focal element
KR102039553B1 (en) 2012-08-31 2019-11-01 삼성전자 주식회사 Method and apparatus for providing intelligent service using inputted character in a user device
CN103838481B (en) * 2012-11-27 2017-09-29 联想(北京)有限公司 A kind of data processing method and electronic equipment
CN104035942B (en) * 2013-03-08 2018-09-07 腾讯科技(深圳)有限公司 Input frame method of adjustment when screen display mode switches and device
CN104077313B (en) * 2013-03-28 2018-02-27 腾讯科技(深圳)有限公司 The display methods of multi input frame, device and terminal device in a kind of Webpage
US9916291B2 (en) 2013-03-28 2018-03-13 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and terminal device for displaying multiple input boxes in a web page where display space is limited
CN104571898B (en) * 2013-10-23 2018-04-27 腾讯科技(深圳)有限公司 The display control method and device of the page
CN104571903A (en) * 2013-10-28 2015-04-29 腾讯科技(深圳)有限公司 Input box switching method and input box switching device
CN104954849B (en) * 2015-06-25 2018-08-07 福建新大陆通信科技股份有限公司 A kind of method that logical box is switched fast in set-top box mosaic
CN106648399B (en) * 2015-11-02 2020-10-16 阿里巴巴(中国)有限公司 Interface display processing method, device and equipment
CN106406869A (en) * 2016-09-05 2017-02-15 乐视控股(北京)有限公司 Input processing method and apparatus of bullet screen information
CN107577388B (en) * 2017-08-29 2020-06-16 苏州麦迪斯顿医疗科技股份有限公司 Input interface control method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020163504A1 (en) * 2001-03-13 2002-11-07 Pallakoff Matthew G. Hand-held device that supports fast text typing
US8564544B2 (en) * 2006-09-06 2013-10-22 Apple Inc. Touch screen device, method, and graphical user interface for customizing display of content category icons
MX2008015542A (en) * 2006-11-10 2008-12-18 Research In Motion Ltd Handheld electronic device having multiple-axis input device and selectable language indicator for language selection, and associated method.
EP2053526A1 (en) * 2007-07-25 2009-04-29 MasterObjects Inc. System and method for asynchronous retrieval of information based on incremental user input
CN101980191B (en) * 2010-10-14 2014-03-05 优视科技有限公司 Method and device for locking focus element in webpage browsing process

Also Published As

Publication number Publication date
CN102364424A (en) 2012-02-29

Similar Documents

Publication Publication Date Title
CN102364424B (en) Method for positioning input frame, device, browser and mobile terminal
US10216407B2 (en) Display control apparatus, display control method and display control program
US20190369823A1 (en) Device, method, and graphical user interface for manipulating workspace views
US8009146B2 (en) Method, apparatus and computer program product for facilitating data entry via a touchscreen
CN109918013A (en) Method and apparatus for touch screen hover input processing
US20150253925A1 (en) Display control device, display control method and program
JP5620440B2 (en) Display control apparatus, display control method, and program
CN106662978A (en) User interfaces for improving single-handed operation of devices
US20150193112A1 (en) User interface device, user interface method, and program
JP5814821B2 (en) Portable terminal device, program, and screen control method
WO2011017917A1 (en) Quick location method and apparatus for display content on electronic device
KR20160009054A (en) Multiple graphical keyboards for continuous gesture input
CN102893250B (en) Method and terminal of determining operation object
US20110227844A1 (en) Method and apparatus for inputting character in portable terminal
US20130038555A1 (en) Information Input Device, Information Input Method, and Information Input Program
JP5861637B2 (en) Information terminal device and touch panel display method
US9563346B2 (en) Method for scrolling a displayed image in a touch system
JP2012174247A (en) Mobile electronic device, contact operation control method, and contact operation control program
EP2897057A1 (en) User interface device, search method, and program
JP6411067B2 (en) Information processing apparatus and input method
WO2013047023A1 (en) Display apparatus, display method, and program
JP2013222238A (en) Portable terminal, icon display program, storage medium and icon display method
US9501166B2 (en) Display method and program of a terminal device
JP6291894B2 (en) Input device, input method, and program
US10137373B2 (en) Recording medium, information processing device and information processing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200701

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 2, 16, 301 rooms, 510665 Yun Yun Road, Tianhe District, Guangdong, Guangzhou

Patentee before: Guangzhou Dongjing Computer Technology Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130807