Summary of the invention
In order to make mounting software, browse webpage etc. time convenient to operation, more smooth and easy, embodiments provide a kind of method and apparatus of positioning input focus.Described technical scheme is as follows:
A method for positioning input focus, described method comprises:
Obtain the current position coordinates of input focus in software display interface and the input operation of active user, described input focus is cursor input focus;
According to the current position coordinates of described input focus in software display interface and the input operation of described active user, described input focus is navigated to the next position coordinate, and show described input focus at described the next position coordinate;
According to the current position coordinates of described input focus in software display interface and the input operation of described active user, described input focus is navigated to the next position coordinate, and shows described input focus at described the next position coordinate and comprise:
According to the current position coordinates of described input focus in software display interface and the input operation of described active user, inquire about the position coordinates relation table prestored, obtain the next position coordinate that described input focus is corresponding; Wherein, the position coordinates relation table prestored described in uses operational circumstances during software to obtain according to user; When described user uses described software, statistics works as the current position coordinates that described cursor input focus is arranged in described software display interface, and described user is after performing current input operation, the position coordinates that the input operation that next step maximum probability performs is corresponding, carries out record preservation in the form of a list by the sequence of operation corresponding relation between the input operation of described user and each position coordinates and obtains described position coordinates relation table;
Described input focus is navigated to described the next position coordinate, and shows described input focus at described the next position coordinate.
Further, described described input focus is navigated to the next position coordinate, and after described the next position coordinate shows described input focus, also comprises:
Judge whether described the next position coordinate is end position coordinate;
If described the next position coordinate is end position coordinate, then exit automatic positioning action.
Further, if described the next position coordinate is not end position coordinate, then using described the next position coordinate as current position coordinates, perform the step of the input operation of the current position coordinates of described acquisition input focus in software display interface and active user.
Further, described input focus is by the input of mouse, keyboard or Trackpad.
A device for positioning input focus, described device comprises:
Acquisition module, for obtaining the current position coordinates of input focus in software display interface and the input operation of active user, described input focus is cursor input focus;
Locating module, for the current position coordinates of input focus in software display interface that obtain according to described acquisition module and the input operation of active user, described input focus is navigated to the next position coordinate, and shows described input focus at described the next position coordinate;
Described locating module comprises:
The next position coordinate acquiring unit, for the current position coordinates of input focus in software display interface that obtain according to described acquisition module and the input operation of active user, inquire about the position coordinates relation table prestored, obtain the next position coordinate that described input focus is corresponding; Wherein, the position coordinates relation table prestored described in uses operational circumstances during software to obtain according to user; When described user uses described software, statistics works as the current position coordinates that described cursor input focus is arranged in described software display interface, and described user is after performing current input operation, the position coordinates that the input operation that next step maximum probability performs is corresponding, carries out record preservation in the form of a list by the sequence of operation corresponding relation between the input operation of described user and each position coordinates and obtains described position coordinates relation table;
Positioning unit, for after described the next position coordinate acquiring unit obtains the next position coordinate corresponding to described input focus, navigates to described the next position coordinate by described input focus, and shows described input focus at described the next position coordinate.
Further, described device also comprises:
Judge module, for described input focus being navigated to the next position coordinate at described locating module, and after described the next position coordinate shows described input focus, judges whether described the next position coordinate is end position coordinate;
Exiting module, for judging that described the next position coordinate is end position coordinate time when described judge module, exiting automatic positioning action.
Further, described device also comprises:
Notification module, for judging that described the next position coordinate is not end position coordinate time when described judge module, using described the next position coordinate as current position coordinates, send the notice performing the input operation obtaining the current position coordinates of input focus in software display interface and active user to described acquisition module.
Further, described input focus is by the input of mouse, keyboard or Trackpad.
The beneficial effect of the technical scheme that the embodiment of the present invention provides is:
By according to the current position coordinates of input focus in software display interface and the input operation of active user, input focus is navigated to the next position coordinate automatically, do not need user move around input equipment can realize continuous print operation, make convenient to operation, more smooth and easy, optimizing user is experienced.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment 1
See Fig. 3, embodiments provide a kind of method of positioning input focus, comprising:
101: obtain the current position coordinates of input focus in software display interface and the input operation of active user.
102: according to the current position coordinates of input focus in software display interface and the input operation of active user, input focus is navigated to the next position coordinate, and at the next position coordinate display input focus.
Further, according to the current position coordinates of input focus in software display interface and the input operation of active user, input focus is navigated to the next position coordinate, and comprises at the next position coordinate display input focus:
According to the current position coordinates of input focus in software display interface and the input operation of active user, obtain the next position coordinate that input focus is corresponding;
Input focus is navigated to the next position coordinate, and at the next position coordinate display input focus.
Further, input focus is navigated to the next position coordinate, and after the next position coordinate display input focus, also comprises:
Judge whether the next position coordinate is end position coordinate;
If the next position coordinate is end position coordinate, then exit automatic positioning action.
Further, if the next position coordinate is not end position coordinate, then using the next position coordinate as current position coordinates, perform the step of the input operation obtaining the current position coordinates of input focus in software display interface and active user.
Further, wherein input focus is inputted by mouse, keyboard or Trackpad.
The method of the positioning input focus described in the embodiment of the present invention, by according to the current position coordinates of input focus in software display interface and the input operation of active user, input focus is navigated to the next position coordinate automatically, do not need user move around input equipment can realize continuous print operation, make convenient to operation, more smooth and easy, optimizing user is experienced.
The method of the positioning input focus described in the embodiment of the present invention, can be applied to and be carried out in the processes such as software installation, web page browsing as input equipment by mouse, keyboard or Trackpad etc.For the ease of understanding the present invention better, below to utilize mouse to be described further as input equipment.
Embodiment 2
See Fig. 4, embodiments provide a kind of method of positioning input focus, the method comprises:
201: in the process of user by mouse action software, obtain the current position coordinates of cursor input focus in software display interface and the input operation of active user.
Wherein, the input operation of active user mouse is comprised: click/double-click left button, click the operation such as right button, dragging.
202: according to the current position coordinates of cursor input focus in software display interface and the input operation of active user, cursor input focus is navigated to the next position coordinate, and at the next position coordinate display highlighting input focus.
Particularly, 1) according to the current position coordinates of cursor input focus in software display interface and the input operation of active user, inquire about the position coordinates relation table prestored, obtain the next position coordinate that cursor input focus is corresponding.
Particularly, operational circumstances when can use this software according to user, statistics works as the current position coordinates that cursor input focus is arranged in software display interface, and user is after performing current input operation, the position coordinates of the operation correspondence that next step maximum probability performs, sequence of operation corresponding relation between the input operation of user and each position coordinates is carried out record preservation in the form of a list and obtains position coordinates relation table, thus when after the input operation getting the current position coordinates of cursor input focus in software display interface and active user, the position coordinates relation table can preserved by query note, obtain the next position coordinate that cursor input focus is corresponding.
Such as: for certain mounting software X, to user's (such as: 100 users) of some, operation when mounting software X is added up, and statistics is as follows: when cursor input focus is arranged in the position coordinates (x of mounting software X display interface0, y0), and user is after execution single-click operation, has 60 users to select at next step the position coordinates (x that to be moved to by cursor input focus in mounting software X display interface1, y1), there are 25 users to select at next step the position coordinates (x that to be moved to by cursor input focus in mounting software X display interface2, y2), there are 15 users to select at next step the position coordinates (x that to be moved to by cursor input focus in mounting software X display interface3, y3).Thus can obtain working as the position coordinates (x that cursor input focus is arranged in mounting software X display interface0, y0), and user is after execution single-click operation, the position coordinates of the operation correspondence that next step maximum probability of user performs is (x1, y1).Then can will be arranged in the position coordinates (x of mounting software X display interface when cursor input focus0, y0), and when performing single-click operation, corresponding the next position coordinate is designated as (x1, y1), and carry out record preservation in the form of a list and obtain in position coordinates relation table.
It should be noted that, the mode be not limited to by inquiring about the position coordinates relation table prestored obtains the next position coordinate corresponding to cursor input focus, according to practical application situation, other any feasible modes can be selected to realize, be not specifically limited this.
2) cursor input focus is navigated to the next position coordinate.
Particularly, when applying the present invention to Windows operating system, API (ApplicationProgrammingInterface can be utilized, application programming interface) in cursor position SetCursorPos (x is set, y) function, navigates to cursor input focus on the coordinate of specifying.
It should be noted that, according to practical application situation, other any feasible modes can be selected to realize, this is not specifically limited.
203: judge whether the next position coordinate is end position coordinate, if so, then performs 204; Otherwise, perform 205.
To concrete software, when after executable operations to a certain position coordinates, follow-up can not carry out again other operation, now this position coordinates is end position coordinate, after executable operations to end position coordinate, can exit automatic positioning action.
204: exit automatic positioning action, then terminate.
205: using the next position coordinate as current position coordinates, then perform 201.
Be several concrete applicable sight of the present invention below, it should be noted that the present invention is applicable to but is not limited to following sight:
Sight 1: the operation of closing Shipping Options Page in browser continuously.
See Fig. 1 a-1c, after single-click operation is carried out in the position that cursor input focus to be moved to " X button on Shipping Options Page " in Fig. 1 a by user, cursor input focus navigates to the position of " X button on Shipping Options Page " in Fig. 1 b automatically, user directly carries out single-click operation, then cursor input focus navigates to again the position of " X button on Shipping Options Page " in Fig. 1 c automatically, and user directly carries out single-click operation again.Thus user does not need rolling mouse, only need adopting consecutive click chemical reaction 3 mouses, just can close 3 Shipping Options Pages in Fig. 1 a-1c.
Sight 2: mounting software, member registration etc. need the operation repeatedly carrying out " next step ".Such as: see Fig. 2 a-2d, when mounting software, after single-click operation is carried out in the position that cursor input focus to be moved to " advance " in Fig. 2 a by user, cursor input focus navigates to the position of " I accepts the clause in authorized agreement " in Fig. 2 b automatically, user directly carries out single-click operation, the cursor input focus automatic position of " advance " in location map 2c again, user directly carries out single-click operation, then cursor input focus navigates to again the position of " installation " in Fig. 2 d automatically, and user directly carries out single-click operation again.Thus user does not need rolling mouse, only need adopting consecutive click chemical reaction 4 mouses, just can realize the installation of software.
It should be noted that, for most of naive user, just hope and use software, can't go to mind the thing such as licence or installation path, even if they initiatively click " acceptance " also may not know what meaning this represents.But licence " acquiescence accepts " is really unreasonable, so can take the mode of automatic rolling mouse, looks after the needs of low side and high-end user simultaneously.Also can be regarded as by automatic rolling mouse simultaneously and tell that low-end subscribers " Clicks here and just can continue to operate ", play the effect to user's education.
Sight 3: exit, deletion etc. needs the operation confirmed further.
User perform " exiting ", " deletion " if these in other words more responsive for no other reason than that hands overdue attend the meeting the operation caused than considerable influence time, often need the chance giving " retrieving ".Way conventional is at present that ejection dialog box is checked.But this operation of most user is not hand to be missed, so for these operations, directly cursor input focus can be positioned at the position determining that these operate.As illustrated in fig. 5 a after user selects " I does not accept the clause in authorized agreement ", cursor input focus is directly positioned at " cancellation " and operation place is installed.As illustrated in fig. 5b when user selects " when exiting installation ", cursor input focus is directly positioned at "Yes" and exits installation operation place.
As fully visible, some mouses that need to move around reach some continued operations, or the mouse moving process in some inevitable operation that successively occur successively, can use the method for the embodiment of the present invention to be optimized.
The method of the positioning input focus described in the embodiment of the present invention, by according to the current position coordinates of cursor input focus in software display interface and the input operation of active user, cursor input focus is navigated to the next position coordinate automatically, do not need user move around mouse can realize continuous print operation, make convenient to operation, more smooth and easy, optimizing user is experienced.Further, the operation of complexity can be simplified to only remaining clicking the mouse, neither lose succinct, meet consumers' demand again, software display interface also can be considered operation factors and freely design.
Embodiment 3
See Fig. 6, embodiments provide a kind of device of positioning input focus, this device comprises:
Acquisition module 301, for obtaining the current position coordinates of input focus in software display interface and the input operation of active user.
Locating module 302, for the current position coordinates of input focus in software display interface that obtain according to acquisition module 301 and the input operation of active user, navigates to the next position coordinate by input focus, and at the next position coordinate display input focus.
Further, locating module 302 comprises:
The next position coordinate acquiring unit, for the current position coordinates of input focus in software display interface that obtain according to acquisition module 301 and the input operation of active user, inquire about the position coordinates relation table prestored, obtain the next position coordinate that input focus is corresponding.
Positioning unit, after obtaining the next position coordinate corresponding to input focus at the next position coordinate acquiring unit, navigates to the next position coordinate by input focus, and at the next position coordinate display input focus.
Further, see Fig. 7, this device also comprises:
Judge module 303, for input focus being navigated to the next position coordinate at locating module 302, and after the next position coordinate display input focus, judges whether the next position coordinate is end position coordinate.
Exiting module 304, for judging that the next position coordinate is end position coordinate time when judge module 303, exiting automatic positioning action.
Further, see Fig. 8, this device also comprises:
Notification module 305, for judging that the next position coordinate is not end position coordinate time when judge module 303, using the next position coordinate as current position coordinates, send the notice performing the input operation obtaining the current position coordinates of input focus in software display interface and active user to acquisition module 301.
Further, input focus can pass through the input of mouse, keyboard or Trackpad.
The device of the positioning input focus described in the embodiment of the present invention, by according to the current position coordinates of input focus in software display interface and the input operation of active user, input focus is navigated to the next position coordinate automatically, do not need user move around input equipment can realize continuous print operation, make convenient to operation, more smooth and easy, optimizing user is experienced.
All or part of content in the technical scheme that above embodiment provides can be realized by software programming, and its software program is stored in the storage medium that can read, storage medium such as: the hard disk in computing machine, CD or floppy disk.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.