CN106775211A - One kind positioning light target moving method and device - Google Patents
One kind positioning light target moving method and device Download PDFInfo
- Publication number
- CN106775211A CN106775211A CN201611074739.2A CN201611074739A CN106775211A CN 106775211 A CN106775211 A CN 106775211A CN 201611074739 A CN201611074739 A CN 201611074739A CN 106775211 A CN106775211 A CN 106775211A
- Authority
- CN
- China
- Prior art keywords
- cursor
- positioning
- navigation key
- operation information
- moving
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000008569 process Effects 0.000 abstract description 13
- 230000035945 sensitivity Effects 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 10
- 230000004044 response Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
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/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
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)
- Position Input By Displaying (AREA)
Abstract
The embodiment of the invention provides a kind of positioning light target moving method and device.Methods described is applied in the electronic equipment with touch-screen, comprising cursor navigation button and positioning cursor in presently described touch-screen, wherein, the cursor navigation button is used to move the positioning cursor, and the positioning cursor shows in the text;Methods described includes:Obtain operation information of the user to the cursor navigation button;According to the operation information, running fix cursor, in embodiments of the present invention, because user is not operable to directly move to the positioning cursor, but realized by cursor navigation button to the target movement of positioning light, therefore sensitivity, the user's finger area of touch-screen are reduced, and the factor such as touch-screen area is marked on the influence in moving process to positioning light, improves the degree of accuracy of the electronic equipment in running fix light timestamp.
Description
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for moving a positioning cursor.
[ background of the invention ]
At present, electronic equipment including mobile phones basically comprises touch screens, and users can operate the electronic equipment in a touch mode. When a user needs to modify the content in a text, the content to be modified needs to be positioned first, as shown in fig. 1, the user can position a certain position in the text through a touch screen, at this time, a positioning cursor is displayed at the position in the text on the touch screen, the user can move the positioning cursor in a touch manner according to the self requirement, and move the positioning cursor to the specified position, or, as shown in fig. 2, the user can position at least one character in the text through the touch screen, at this time, a left positioning cursor and a right positioning cursor are displayed in the text on the touch screen, the character between the left positioning cursor and the right positioning cursor is the positioning content, and the user can move the left positioning cursor or the right positioning cursor to the specified position in a touch manner according to the self requirement, and enabling the left positioning cursor and the right positioning cursor to contain the designated characters.
Due to the influences of the sensitivity of the touch screen, the area of the finger of the user, the area of the touch screen and other factors, the positioning cursor can be moved to a non-specified position when the positioning cursor is moved, and the user can move the positioning cursor to the specified position only by carrying out multiple operations.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
the accuracy of the electronic device in moving the positioning cursor is low.
[ summary of the invention ]
In view of this, embodiments of the present invention provide a method and an apparatus for moving a positioning cursor, so as to solve the problem in the prior art that an accuracy of moving the positioning cursor is low.
In a first aspect, an embodiment of the present invention provides a method for moving a positioning cursor, where the method is applied to an electronic device having a touch screen, where the touch screen currently includes a cursor navigation key and a positioning cursor, where the cursor navigation key is used to move the positioning cursor, and the positioning cursor is displayed in a text;
the method comprises the following steps:
acquiring operation information of the cursor navigation key by a user;
and moving a positioning cursor according to the operation information.
The above-described aspect and any possible implementation manner further provide an implementation manner, before the obtaining of the operation information of the cursor navigation key by the user, the method further includes:
acquiring a first operation instruction of a user on the text;
displaying a first positioning cursor and a first cursor navigation key according to the click position of the first operation instruction;
the first positioning cursor comprises a left positioning cursor and a right positioning cursor and is used for marking characters between the left positioning cursor and the right positioning cursor as selected contents;
the first cursor navigation key comprises: the cursor navigation key comprises an upper cursor navigation key, a lower cursor navigation key, a left cursor navigation key, a right cursor navigation key, a cursor navigation key for positioning the cursor at the left side and a cursor navigation key for positioning the cursor at the right side.
The foregoing aspects and any possible implementations further provide an implementation, where when obtaining the operation information of the cursor navigation key by the user is to obtain the operation information of the upper cursor navigation key by the user, moving the positioning cursor according to the operation information, including:
moving the first positioning cursor upwards by a corresponding row number according to the operation information;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the cursor navigation key by the user is acquired, the moving and positioning the cursor according to the operation information comprises the following steps:
according to the operation information, moving the first positioning cursor downwards by a corresponding row number;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the left cursor navigation key by the user is acquired, moving the positioning cursor according to the operation information, comprising the following steps:
moving the first positioning cursor to the left by a corresponding character number according to the operation information;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the right cursor navigation key by the user is acquired, the moving and positioning the cursor according to the operation information comprises the following steps:
moving the first positioning cursor to the right by a corresponding character number according to the operation information;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the cursor navigation key of the left positioning cursor by the user is acquired, the moving the positioning cursor according to the operation information comprises the following steps:
determining a left positioning cursor in the first positioning cursors as a positioning cursor to be moved according to the operation information;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the cursor navigation key of the right positioning cursor by the user is acquired, the moving the positioning cursor according to the operation information comprises the following steps:
and determining a right positioning cursor in the first positioning cursors as a positioning cursor to be moved according to the operation information.
The above-described aspect and any possible implementation manner further provide an implementation manner, before the obtaining of the operation information of the cursor navigation key by the user, the method further includes:
acquiring a second operation instruction of the user on the text;
displaying a second positioning cursor and a second cursor navigation key according to the click position of the second operation instruction;
the second positioning cursor comprises a positioning cursor used for identifying the positioning position selected by the user in the text;
the second cursor navigation key comprises: an upper cursor navigation key, a lower cursor navigation key, a left cursor navigation key and a right cursor navigation key.
The foregoing aspects and any possible implementations further provide an implementation, where when obtaining the operation information of the cursor navigation key by the user is to obtain the operation information of the upper cursor navigation key by the user, moving the positioning cursor according to the operation information, including:
moving the second positioning cursor upwards by a corresponding row number according to the operation information;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the cursor navigation key by the user is acquired, the moving and positioning the cursor according to the operation information comprises the following steps:
according to the operation information, moving the second positioning cursor downwards by a corresponding row number;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the left cursor navigation key by the user is acquired, moving the positioning cursor according to the operation information, comprising the following steps:
moving the second positioning cursor to the left by a corresponding character number according to the operation information;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the right cursor navigation key by the user is acquired, the moving and positioning the cursor according to the operation information comprises the following steps:
and moving the second positioning cursor to the right by the corresponding number of characters according to the operation information.
One of the above technical solutions has the following beneficial effects: in the embodiment of the scheme, because the cursor navigation key for moving the positioning cursor is provided, the user can move the positioning cursor by operating the cursor navigation key, when the positioning cursor is moved, the operation information of the cursor navigation key-press by the user is obtained, then the positioning cursor is moved according to the operation information, when the positioning cursor is moved, because the user does not directly operate the positioning cursor to move, but the movement of the positioning cursor is realized through the cursor navigation key, thereby reducing the sensitivity of the touch screen and the finger area of the user, and the influence of factors such as the area of the touch screen on the positioning cursor in the moving process, therefore in the moving process of the positioning cursor, the positioning cursor can be moved to the designated position through one operation, and the accuracy of the electronic equipment in moving the positioning cursor is improved.
In a second aspect, an embodiment of the present invention provides a moving device for positioning a cursor, where the device is applied to an electronic device with a touch screen, where the touch screen currently includes a cursor navigation key and a positioning cursor, where the cursor navigation key is used to move the positioning cursor, and the positioning cursor is displayed in a text;
the device comprises:
the operation acquisition unit is used for acquiring operation information of the cursor navigation key by a user;
and the cursor moving unit is used for moving and positioning the cursor according to the operation information.
The above-described aspects and any possible implementations further provide an implementation, where the apparatus further includes:
the first instruction acquisition unit is used for acquiring a first operation instruction of a user on the text;
the first display unit is used for displaying a first positioning cursor and a first cursor navigation key according to the click position of the first operation instruction;
the first positioning cursor comprises a left positioning cursor and a right positioning cursor and is used for marking characters between the left positioning cursor and the right positioning cursor as selected contents;
the first cursor navigation key comprises: the cursor navigation key comprises an upper cursor navigation key, a lower cursor navigation key, a left cursor navigation key, a right cursor navigation key, a cursor navigation key for positioning the cursor at the left side and a cursor navigation key for positioning the cursor at the right side.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the cursor moving unit is specifically configured to:
moving the first positioning cursor upwards by a corresponding row number according to the operation information; or,
according to the operation information, moving the first positioning cursor downwards by a corresponding row number; or,
moving the first positioning cursor to the left by a corresponding character number according to the operation information; or,
moving the first positioning cursor to the right by a corresponding character number according to the operation information; or,
determining a left positioning cursor in the first positioning cursors as a positioning cursor to be moved according to the operation information; or,
and determining a right positioning cursor in the first positioning cursors as a positioning cursor to be moved according to the operation information.
The above-described aspects and any possible implementations further provide an implementation, where the apparatus further includes:
the second instruction acquisition unit is used for acquiring a second operation instruction of the user on the text;
the second display unit is used for displaying a second positioning cursor and a second cursor navigation key according to the click position of the second operation instruction;
the second positioning cursor comprises a positioning cursor used for identifying the positioning position selected by the user in the text;
the second cursor navigation key comprises: an upper cursor navigation key, a lower cursor navigation key, a left cursor navigation key and a right cursor navigation key.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the cursor moving unit is further specifically configured to:
moving the second positioning cursor upwards by a corresponding row number according to the operation information; or,
according to the operation information, moving the second positioning cursor downwards by a corresponding row number; or,
moving the second positioning cursor to the left by a corresponding character number according to the operation information; or,
and moving the second positioning cursor to the right by the corresponding number of characters according to the operation information.
One of the above technical solutions has the following beneficial effects: the cursor navigation key for moving the positioning cursor is provided, so that a user can move the positioning cursor by operating the cursor navigation key, the operation information of the user on the cursor navigation key is obtained when the positioning cursor is moved, then the positioning cursor is moved according to the operation information, and when the positioning cursor is moved, the user does not directly operate the positioning cursor to move the positioning cursor but moves the positioning cursor by the cursor navigation key, so that the influence of factors such as the sensitivity of a touch screen, the finger area of the user, the area of the touch screen and the like on the movement process of the positioning cursor is reduced, the positioning cursor can be moved to a specified position by one operation in the process of moving the positioning cursor, and the accuracy of the electronic equipment in moving the positioning cursor is improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is a diagram illustrating a prior art method for locating a specified location;
FIG. 2 is a diagram illustrating a prior art method for locating a specified character;
fig. 3 is a flowchart illustrating a moving method for positioning a cursor according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a moving method for positioning a cursor according to a second embodiment of the present invention;
fig. 5 is a schematic diagram of a first positioning cursor and a first cursor navigation key according to a second embodiment of the present invention;
fig. 6 is a flowchart illustrating a moving method for positioning a cursor according to a third embodiment of the present invention;
fig. 7 is a schematic diagram of a second positioning cursor and a second cursor navigation key according to a third embodiment of the present invention;
fig. 8 is a schematic structural diagram of a mobile device for positioning a cursor according to a fourth embodiment of the present invention;
fig. 9 is a schematic structural diagram of another mobile device for positioning a cursor according to a fourth embodiment of the present invention;
fig. 10 is a schematic structural diagram of another mobile device for positioning a cursor according to a fourth embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that although the terms first and second may be used to describe the operation instruction, the cursor navigation key, the instruction acquisition unit, and the display unit in the embodiment of the present invention, these electronic devices should not be limited to these terms. These terms are only used to distinguish electronic devices from one another. For example, the first operation instruction may also be referred to as a second operation instruction, and similarly, the second operation instruction may also be referred to as a first operation instruction without departing from the scope of embodiments of the present invention.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
Example one
An embodiment of the present invention provides a method for moving a positioning cursor, please refer to fig. 3, which is a schematic flow chart of the method provided in the embodiment of the present invention, the method is applied to an electronic device having a touch screen, the touch screen currently includes a cursor navigation key and a positioning cursor, wherein the cursor navigation key is used for moving the positioning cursor, and the positioning cursor is displayed in a text, as shown in the figure, the method includes the following steps:
301. and acquiring the operation information of the cursor navigation key by the user.
302. And moving a positioning cursor according to the operation information.
Specifically, when the positioning cursor in the text is moved, the electronic device provides a cursor navigation key for moving the positioning cursor on the touch screen, and at this time, the touch screen includes the cursor navigation key and the positioning cursor, so that the user can move the positioning cursor by controlling the cursor navigation key, and when the electronic device moves the positioning cursor, the electronic device needs to move according to the operation information of the user on the cursor navigation key. Wherein the text comprises text in a character input box and text in a text file.
Furthermore, the user operates the cursor navigation key according to the own requirement, after the electronic device acquires the operation information of the user on the cursor navigation key, the positioning cursor in the text can be moved according to the operation information, and the specific moving direction and the moving amount are performed according to the operation information. Because the positioning cursor is controlled by the cursor navigation key without directly moving the positioning cursor to the designated position in a touch manner, the requirement on the accuracy of the touch screen when the positioning cursor in the text is moved is reduced in the implementation process, and the area occupied by the cursor navigation key is larger relative to the positioning cursor in the text or the designated position in the text, the accuracy of the obtained operation information of the cursor navigation key is higher, the problem that the requirement on the accuracy is higher when the positioning cursor is directly moved to the designated position is avoided, namely, the influence of factors such as the sensitivity of the touch screen, the finger area of a user, the area of the touch screen and the like on the movement process of the positioning cursor is reduced, and therefore, the positioning cursor can be moved to the designated position by one operation in the process of moving the positioning cursor, the accuracy of the electronic equipment in the mobile positioning cursor is improved.
It should be noted that the electronic devices according to the embodiments of the present invention may include, but are not limited to, electronic devices including a touch screen, such as a Personal Computer (PC), a Personal Digital Assistant (PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a mobile phone, an MP3 player, and an MP4 player.
Example two
An embodiment of the present invention provides a moving method for positioning a cursor, and specifically as shown in fig. 4, before the obtaining of operation information of a user on a cursor navigation key, the method further includes:
401. and acquiring a first operation instruction of the user on the text.
Specifically, the first operation instruction is an operation instruction for triggering and displaying a first positioning cursor and a first cursor navigation key, and the first operation instruction at least includes: click location and click duration.
402. And displaying a first positioning cursor and a first cursor navigation key according to the click position of the first operation instruction.
Specifically, when the first operation instruction meets the requirement of triggering and displaying the first positioning cursor and the first cursor navigation key, the first positioning cursor is displayed at the click position, and the first cursor navigation key is displayed, further, when the click duration meets the requirement of displaying the first cursor navigation key, for example, the click duration is not less than a specified duration threshold, the first cursor navigation key is displayed, and the first positioning cursor is displayed at the click position. The display position of the first cursor navigation key is an area which does not affect the operation of the user on the text, and the specific position is set according to the actual situation, which is not limited herein.
The first positioning cursor comprises a left positioning cursor and a right positioning cursor and is used for marking characters between the left positioning cursor and the right positioning cursor as selected contents; the first cursor navigation key comprises: the cursor navigation key comprises an upper cursor navigation key, a lower cursor navigation key, a left cursor navigation key, a right cursor navigation key, a cursor navigation key for positioning the cursor at the left side and a cursor navigation key for positioning the cursor at the right side.
Specifically, as shown in fig. 5, the left positioning cursor and the right positioning cursor are first positioning cursors, the character "forward/reverse commission" between the left positioning cursor and the right positioning cursor is selected content, and the selected content may be subjected to the next operation, such as: delete operations, modify operations, etc. When the character between the left positioning cursor and the right positioning cursor is not the designated character of the user, the left positioning cursor and the right positioning cursor can be moved through the first cursor navigation key so as to contain the designated character between the left positioning cursor and the right positioning cursor.
In a specific implementation, when obtaining the operation information of the cursor navigation key by the user is to obtain the operation information of the upper cursor navigation key by the user, the moving the positioning cursor according to the operation information includes:
moving the first positioning cursor upwards by a corresponding row number according to the operation information;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the cursor navigation key by the user is acquired, the moving and positioning the cursor according to the operation information comprises the following steps:
according to the operation information, moving the first positioning cursor downwards by a corresponding row number;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the left cursor navigation key by the user is acquired, moving the positioning cursor according to the operation information, comprising the following steps:
moving the first positioning cursor to the left by a corresponding character number according to the operation information;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the right cursor navigation key by the user is acquired, the moving and positioning the cursor according to the operation information comprises the following steps:
moving the first positioning cursor to the right by a corresponding character number according to the operation information;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the cursor navigation key of the left positioning cursor by the user is acquired, the moving the positioning cursor according to the operation information comprises the following steps:
determining a left positioning cursor in the first positioning cursors as a positioning cursor to be moved according to the operation information;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the cursor navigation key of the right positioning cursor by the user is acquired, the moving the positioning cursor according to the operation information comprises the following steps:
and determining a right positioning cursor in the first positioning cursors as a positioning cursor to be moved according to the operation information.
Specifically, when the left positioning cursor and/or the right positioning cursor need to be moved, the user determines the operation mode of the first cursor navigation key according to the characters between the current left positioning cursor and the right positioning cursor and the designated characters, after the electronic device obtains the operation information of the user on the first cursor navigation key according to the operation mode, the left positioning cursor and/or the right positioning cursor can be moved according to the operation information, further, the left positioning cursor or the right positioning cursor when the positioning cursor is to be moved needs to be determined according to the operation information of the user, and then the cursor to be moved is moved up, down, left and right according to the operation information of the user.
Specifically, as shown in fig. 5, when the designated character is "acquired from a memory, the left positioning cursor needs to be moved three characters to the left, after the cursor navigation key of the left positioning cursor is clicked by the user, it is determined that the left positioning cursor is the positioning cursor to be moved, after the operation information of the left cursor navigation key by the user is acquired, the left positioning cursor is moved to the left, if the left cursor navigation key is clicked once, one character is moved to the left, then the user needs to continuously click the left cursor navigation key three times, after the electronic device acquires the operation information of the left cursor navigation key clicked by the user, the left positioning cursor is moved to the left, and when the number of the acquired operation information is three, that is, the left cursor navigation key is clicked three times, then the left positioning cursor is continuously moved three characters to the left. The moving manner in other directions is the same as the above method, and is not described in detail here.
Furthermore, the first cursor navigation key can move the first positioning cursor up, down, left and right, and the first cursor navigation key can also move the left positioning cursor or the right positioning cursor, so that the first cursor navigation key can meet all requirements for moving the first positioning cursor, can realize the requirement for quickly positioning specified characters, and improves the accuracy and the precision of the first positioning cursor when moving.
EXAMPLE III
An embodiment of the present invention provides a moving method for positioning a cursor, and specifically as shown in fig. 6, before the obtaining of operation information of a user on a cursor navigation key, the method further includes:
601. and acquiring a second operation instruction of the user on the text.
Specifically, the second operation instruction is an operation instruction for triggering and displaying a second positioning cursor and a second cursor navigation key, and the second operation instruction at least includes: click location and click duration.
602. And displaying a second positioning cursor and a second cursor navigation key according to the click position of the second operation instruction.
Specifically, when the second operation instruction meets the requirement of triggering display of the second positioning cursor and the second cursor navigation key, the second positioning cursor is displayed at the click position, and the second cursor navigation key is displayed. The display position of the second cursor navigation key is an area which does not affect the operation of the user on the text, and the specific position is set according to the actual situation, which is not limited herein.
The second positioning cursor comprises a positioning cursor used for identifying the positioning position selected by the user in the text; the second cursor navigation key comprises: an upper cursor navigation key, a lower cursor navigation key, a left cursor navigation key and a right cursor navigation key.
As shown in fig. 7, if the second positioning cursor is located between the characters "get" and "know", the position is the positioning position selected by the user in the text, and the next operation can be performed on the positioning position, such as: deleting the former character, and performing line feed operation on the latter character and the character after the former character. And when the position of the second positioning cursor is not the designated position of the user, the second positioning cursor can be moved through the second cursor navigation key.
In a specific implementation, when obtaining the operation information of the cursor navigation key by the user is to obtain the operation information of the upper cursor navigation key by the user, the moving the positioning cursor according to the operation information includes:
moving the second positioning cursor upwards by a corresponding row number according to the operation information;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the cursor navigation key by the user is acquired, the moving and positioning the cursor according to the operation information comprises the following steps:
according to the operation information, moving the second positioning cursor downwards by a corresponding row number;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the left cursor navigation key by the user is acquired, moving the positioning cursor according to the operation information, comprising the following steps:
moving the second positioning cursor to the left by a corresponding character number according to the operation information;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the right cursor navigation key by the user is acquired, the moving and positioning the cursor according to the operation information comprises the following steps:
and moving the second positioning cursor to the right by the corresponding number of characters according to the operation information.
Specifically, when the second positioning cursor needs to be moved, the user operates the corresponding second cursor navigation key according to the designated position, and after the electronic device obtains the operation information of the user on the second cursor navigation key, the electronic device moves the second positioning cursor up, down, left and right according to the operation information.
Specifically, as shown in fig. 7, when the second positioning cursor needs to be moved between the characters "remember" and "person", the second positioning cursor needs to be moved to the left by 6 characters, the user needs to continuously click the left cursor navigation key 6 times, after the electronic device acquires the operation information that the user clicks the left cursor navigation key, the second positioning cursor is moved to the left, and when the acquired operation information is 6, that is, the left cursor navigation key is clicked 6 times, the second positioning cursor is moved to the left by 6 characters, and at this time, the second positioning cursor is located between the characters "remember" and "person". The moving manner in other directions is the same as the above method, and is not described in detail here.
Furthermore, the second positioning cursor can be moved up, down, left and right through the second cursor navigation key, so that the second cursor navigation key can meet all requirements for moving the second positioning cursor, the requirement for quickly positioning the designated position can be met, and the accuracy and the precision of the second positioning cursor in moving are improved.
The embodiment of the invention further provides an embodiment of a device for realizing the steps and the method in the embodiment of the method.
Example four
Please refer to fig. 8, which is a schematic structural diagram of a mobile device for positioning a cursor according to an embodiment of the present invention. The device is applied to electronic equipment with a touch screen, the touch screen comprises a cursor navigation key and a positioning cursor, the cursor navigation key is used for moving the positioning cursor, and the positioning cursor is displayed in a text, and the device comprises:
an operation acquiring unit 81, configured to acquire operation information of the cursor navigation key by a user;
and a cursor moving unit 82, configured to move a positioning cursor according to the operation information.
Please refer to fig. 9, which is a schematic structural diagram of another mobile device for positioning a cursor according to an embodiment of the present invention, the device further includes:
a first instruction obtaining unit 83, configured to obtain a first operation instruction of the user on the text;
the first display unit 84 is configured to display a first positioning cursor and a first cursor navigation key according to the click position of the first operation instruction;
the first positioning cursor comprises a left positioning cursor and a right positioning cursor and is used for marking characters between the left positioning cursor and the right positioning cursor as selected contents;
the first cursor navigation key comprises: the cursor navigation key comprises an upper cursor navigation key, a lower cursor navigation key, a left cursor navigation key, a right cursor navigation key, a cursor navigation key for positioning the cursor at the left side and a cursor navigation key for positioning the cursor at the right side.
In a specific embodiment, the cursor moving unit 82 is specifically configured to:
moving the first positioning cursor upwards by a corresponding row number according to the operation information; or,
according to the operation information, moving the first positioning cursor downwards by a corresponding row number; or,
moving the first positioning cursor to the left by a corresponding character number according to the operation information; or,
moving the first positioning cursor to the right by a corresponding character number according to the operation information; or,
determining a left positioning cursor in the first positioning cursors as a positioning cursor to be moved according to the operation information; or,
and determining a right positioning cursor in the first positioning cursors as a positioning cursor to be moved according to the operation information.
Please refer to fig. 10, which is a schematic structural diagram of another mobile device for positioning a cursor according to an embodiment of the present invention, the device further includes:
a second instruction obtaining unit 85, configured to obtain a second operation instruction of the user on the text;
the second display unit 86 is configured to display a second positioning cursor and a second cursor navigation key according to the click position of the second operation instruction;
the second positioning cursor comprises a positioning cursor used for identifying the positioning position selected by the user in the text;
the second cursor navigation key comprises: an upper cursor navigation key, a lower cursor navigation key, a left cursor navigation key and a right cursor navigation key.
In a specific embodiment, the cursor moving unit 82 is further specifically configured to:
moving the second positioning cursor upwards by a corresponding row number according to the operation information; or,
according to the operation information, moving the second positioning cursor downwards by a corresponding row number; or,
moving the second positioning cursor to the left by a corresponding character number according to the operation information; or,
and moving the second positioning cursor to the right by the corresponding number of characters according to the operation information.
Since each unit in this embodiment can execute the method shown in the first embodiment, the second embodiment and the third embodiment, reference may be made to the related descriptions of the first embodiment, the second embodiment and the third embodiment for a part of this embodiment that is not described in detail.
The cursor navigation key for moving the positioning cursor is provided, so that a user can move the positioning cursor by operating the cursor navigation key, the operation information of the user on the cursor navigation key is obtained when the positioning cursor is moved, then the positioning cursor is moved according to the operation information, and when the positioning cursor is moved, the user does not directly operate the positioning cursor to move the positioning cursor but moves the positioning cursor by the cursor navigation key, so that the influence of factors such as the sensitivity of a touch screen, the finger area of the user, the area of the touch screen and the like on the movement process of the positioning cursor is reduced, the positioning cursor can be moved to a specified position by one operation in the process of moving the positioning cursor, and the accuracy of the electronic equipment in moving the positioning cursor is improved.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (10)
1. A moving method for positioning a cursor is characterized in that the method is applied to an electronic device with a touch screen, and the touch screen currently comprises a cursor navigation key and a positioning cursor, wherein the cursor navigation key is used for moving the positioning cursor, and the positioning cursor is displayed in a text;
the method comprises the following steps:
acquiring operation information of the cursor navigation key by a user;
and moving a positioning cursor according to the operation information.
2. The method of claim 1, wherein prior to said obtaining information about user operation of said cursor navigation key, said method further comprises:
acquiring a first operation instruction of a user on the text;
displaying a first positioning cursor and a first cursor navigation key according to the click position of the first operation instruction;
the first positioning cursor comprises a left positioning cursor and a right positioning cursor and is used for marking characters between the left positioning cursor and the right positioning cursor as selected contents;
the first cursor navigation key comprises: the cursor navigation key comprises an upper cursor navigation key, a lower cursor navigation key, a left cursor navigation key, a right cursor navigation key, a cursor navigation key for positioning the cursor at the left side and a cursor navigation key for positioning the cursor at the right side.
3. The method as claimed in claim 2, wherein when the obtaining of the operation information of the cursor navigation key by the user is obtaining of the operation information of the upper cursor navigation key by the user, the moving and positioning the cursor according to the operation information comprises:
moving the first positioning cursor upwards by a corresponding row number according to the operation information;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the cursor navigation key by the user is acquired, the moving and positioning the cursor according to the operation information comprises the following steps:
according to the operation information, moving the first positioning cursor downwards by a corresponding row number;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the left cursor navigation key by the user is acquired, moving the positioning cursor according to the operation information, comprising the following steps:
moving the first positioning cursor to the left by a corresponding character number according to the operation information;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the right cursor navigation key by the user is acquired, the moving and positioning the cursor according to the operation information comprises the following steps:
moving the first positioning cursor to the right by a corresponding character number according to the operation information;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the cursor navigation key of the left positioning cursor by the user is acquired, the moving the positioning cursor according to the operation information comprises the following steps:
determining a left positioning cursor in the first positioning cursors as a positioning cursor to be moved according to the operation information;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the cursor navigation key of the right positioning cursor by the user is acquired, the moving the positioning cursor according to the operation information comprises the following steps:
and determining a right positioning cursor in the first positioning cursors as a positioning cursor to be moved according to the operation information.
4. The method of claim 1, wherein prior to said obtaining information about user operation of said cursor navigation key, said method further comprises:
acquiring a second operation instruction of the user on the text;
displaying a second positioning cursor and a second cursor navigation key according to the click position of the second operation instruction;
the second positioning cursor comprises a positioning cursor used for identifying the positioning position selected by the user in the text;
the second cursor navigation key comprises: an upper cursor navigation key, a lower cursor navigation key, a left cursor navigation key and a right cursor navigation key.
5. The method as claimed in claim 4, wherein when the obtaining of the operation information of the cursor navigation key by the user is obtaining of the operation information of the upper cursor navigation key by the user, the moving and positioning the cursor according to the operation information comprises:
moving the second positioning cursor upwards by a corresponding row number according to the operation information;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the cursor navigation key by the user is acquired, the moving and positioning the cursor according to the operation information comprises the following steps:
according to the operation information, moving the second positioning cursor downwards by a corresponding row number;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the left cursor navigation key by the user is acquired, moving the positioning cursor according to the operation information, comprising the following steps:
moving the second positioning cursor to the left by a corresponding character number according to the operation information;
when the operation information of the cursor navigation key by the user is acquired, and the operation information of the right cursor navigation key by the user is acquired, the moving and positioning the cursor according to the operation information comprises the following steps:
and moving the second positioning cursor to the right by the corresponding number of characters according to the operation information.
6. A mobile device for positioning a cursor is applied to an electronic device with a touch screen, wherein the touch screen currently comprises a cursor navigation key and a positioning cursor, the cursor navigation key is used for moving the positioning cursor, and the positioning cursor is displayed in a text;
the device comprises:
the operation acquisition unit is used for acquiring operation information of the cursor navigation key by a user;
and the cursor moving unit is used for moving and positioning the cursor according to the operation information.
7. The apparatus of claim 6, wherein the apparatus further comprises:
the first instruction acquisition unit is used for acquiring a first operation instruction of a user on the text;
the first display unit is used for displaying a first positioning cursor and a first cursor navigation key according to the click position of the first operation instruction;
the first positioning cursor comprises a left positioning cursor and a right positioning cursor and is used for marking characters between the left positioning cursor and the right positioning cursor as selected contents;
the first cursor navigation key comprises: the cursor navigation key comprises an upper cursor navigation key, a lower cursor navigation key, a left cursor navigation key, a right cursor navigation key, a cursor navigation key for positioning the cursor at the left side and a cursor navigation key for positioning the cursor at the right side.
8. The apparatus of claim 7, wherein the cursor moving unit is specifically configured to:
moving the first positioning cursor upwards by a corresponding row number according to the operation information; or,
according to the operation information, moving the first positioning cursor downwards by a corresponding row number; or,
moving the first positioning cursor to the left by a corresponding character number according to the operation information; or,
moving the first positioning cursor to the right by a corresponding character number according to the operation information; or,
determining a left positioning cursor in the first positioning cursors as a positioning cursor to be moved according to the operation information; or,
and determining a right positioning cursor in the first positioning cursors as a positioning cursor to be moved according to the operation information.
9. The apparatus of claim 6, wherein the apparatus further comprises:
the second instruction acquisition unit is used for acquiring a second operation instruction of the user on the text;
the second display unit is used for displaying a second positioning cursor and a second cursor navigation key according to the click position of the second operation instruction;
the second positioning cursor comprises a positioning cursor used for identifying the positioning position selected by the user in the text;
the second cursor navigation key comprises: an upper cursor navigation key, a lower cursor navigation key, a left cursor navigation key and a right cursor navigation key.
10. The apparatus as claimed in claim 9, wherein the cursor moving unit is further specifically configured to:
moving the second positioning cursor upwards by a corresponding row number according to the operation information; or,
according to the operation information, moving the second positioning cursor downwards by a corresponding row number; or,
moving the second positioning cursor to the left by a corresponding character number according to the operation information; or,
and moving the second positioning cursor to the right by the corresponding number of characters according to the operation information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611074739.2A CN106775211A (en) | 2016-11-29 | 2016-11-29 | One kind positioning light target moving method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611074739.2A CN106775211A (en) | 2016-11-29 | 2016-11-29 | One kind positioning light target moving method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106775211A true CN106775211A (en) | 2017-05-31 |
Family
ID=58900955
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611074739.2A Pending CN106775211A (en) | 2016-11-29 | 2016-11-29 | One kind positioning light target moving method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106775211A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107885416A (en) * | 2017-10-30 | 2018-04-06 | 努比亚技术有限公司 | A kind of text clone method, terminal and computer-readable recording medium |
CN111857495A (en) * | 2020-06-30 | 2020-10-30 | 海尔优家智能科技(北京)有限公司 | Information display method, information display device, storage medium, and electronic device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103955277A (en) * | 2014-05-13 | 2014-07-30 | 广州三星通信技术研究有限公司 | Method and device for controlling cursor on electronic equipment |
CN104932807A (en) * | 2014-03-19 | 2015-09-23 | 腾讯科技(深圳)有限公司 | Cursor positioning method and touch screen device |
-
2016
- 2016-11-29 CN CN201611074739.2A patent/CN106775211A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104932807A (en) * | 2014-03-19 | 2015-09-23 | 腾讯科技(深圳)有限公司 | Cursor positioning method and touch screen device |
CN103955277A (en) * | 2014-05-13 | 2014-07-30 | 广州三星通信技术研究有限公司 | Method and device for controlling cursor on electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107885416A (en) * | 2017-10-30 | 2018-04-06 | 努比亚技术有限公司 | A kind of text clone method, terminal and computer-readable recording medium |
CN111857495A (en) * | 2020-06-30 | 2020-10-30 | 海尔优家智能科技(北京)有限公司 | Information display method, information display device, storage medium, and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11487426B2 (en) | Apparatus and method for cursor control and text selection and editing based on gesture-based touch inputs received in a virtual keyboard display area | |
US9292161B2 (en) | Pointer tool with touch-enabled precise placement | |
US20130215018A1 (en) | Touch position locating method, text selecting method, device, and electronic equipment | |
US8629837B2 (en) | Method and device for controlling information display output and input device | |
JP5745091B2 (en) | Method for displaying electronic document, apparatus for the same, and computer program | |
US20170235426A1 (en) | Distance-time based hit-testing for displayed target graphical elements | |
US20150186004A1 (en) | Multimode gesture processing | |
CN103718149A (en) | Processing method of text and touch panel equipment | |
US20120221969A1 (en) | Scrollable list navigation using persistent headings | |
CN105224187A (en) | Menu execution control method and terminal equipment | |
CN104657077A (en) | Cursor positioning method | |
CN112650433A (en) | Interface screenshot method and device and electronic equipment | |
CN106933481B (en) | Screen scrolling method and device | |
CN112783408A (en) | Gesture navigation method and device of electronic equipment, equipment and readable storage medium | |
CN112698735A (en) | Information input method and device and electronic equipment | |
CN113407075B (en) | Icon sorting method and device and electronic equipment | |
CN114327726A (en) | Display control method, display control device, electronic equipment and storage medium | |
CN106775211A (en) | One kind positioning light target moving method and device | |
CN110658976B (en) | Touch track display method and electronic equipment | |
CN103460174A (en) | Augmenting user interface elements | |
US20160378327A1 (en) | Path gestures | |
US11010046B2 (en) | Method and apparatus for executing function on a plurality of items on list | |
CN104657078A (en) | Terminal | |
CN105511772A (en) | Method, device and mobile terminal using gesture operation to trigger touch screen button | |
CN114860088A (en) | Input method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |
|
RJ01 | Rejection of invention patent application after publication |