CN103777878B - A kind of method and electronic equipment for controlling positioning mark - Google Patents

A kind of method and electronic equipment for controlling positioning mark Download PDF

Info

Publication number
CN103777878B
CN103777878B CN201210404410.3A CN201210404410A CN103777878B CN 103777878 B CN103777878 B CN 103777878B CN 201210404410 A CN201210404410 A CN 201210404410A CN 103777878 B CN103777878 B CN 103777878B
Authority
CN
China
Prior art keywords
touch
place
display unit
moved
positioning mark
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.)
Active
Application number
CN201210404410.3A
Other languages
Chinese (zh)
Other versions
CN103777878A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210404410.3A priority Critical patent/CN103777878B/en
Publication of CN103777878A publication Critical patent/CN103777878A/en
Application granted granted Critical
Publication of CN103777878B publication Critical patent/CN103777878B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of control to position the method identified and electronic equipment, the described method includes:Whether when showing certain bit identification at the first position in the touch-display unit, detect has the first touch in the touch-display unit;When there is first touch, the first parameter information corresponding with first touch is obtained;Judge whether first parameter information meets the first preset condition, obtain the first judging result;When first judging result shows that first parameter information meets first preset condition, start positioning function;Whether detection is useful for the positioning mark being moved to the second operation of the second place from the first position in the touch-display unit;When detecting second operation, response second operation, generates a control instruction;The control instruction is performed, the positioning mark is moved to the second place from the first position.

Description

A kind of method and electronic equipment for controlling positioning mark
Technical field
The present invention relates to electronic field, more particularly to a kind of method and electronic equipment for controlling positioning mark.
Background technology
For more convenient operation, more and more use for electronic products touch-screens replace mouse or the keyboard to work, for this Electronic product, we must touch the touch-screen for being installed on display front end with finger or other objects first, then system The icon or menu position touched according to finger inputs come regioselective information.
There are the equipment such as mobile phone of touch screen, tablet computer, when word inputs, it is sometimes necessary to inputted before at present Word in be inserted into word content, at this moment just need will positioning mark location to wanting among two words, or even inputted word Before lead-in;Or need positioning mark being moved to some specific target location in browsing document;Or in the case of other Need positioning mark location to the edge destination position of touch-display unit.
Electronic equipment controls the positioning of touch-display unit directly in response to the click touch of user in the prior art Mark, so as to position mark location to target location.
For example, when inputting word, text has been inputted:" leave for company in the morning ... ", " morning ", word was near editor Frame edge, when user needs to be inserted into ' I ' word before early word, user needs the touch-control for belonging to edit box before the early word of click to show Show region.
But present inventor has found above-mentioned technology extremely during inventive technique scheme in realizing the embodiment of the present application Have the following technical problems less:
In the prior art, due to using the touch directly in response to user, so as to position mark location to target location Technology, so, when positioning need not be controlled to identify, touch-display unit still can cause witness marker in response to touch Position movement technical problem.
Positioning is controlled to be identified to due to the technological means using the touch-control dot position information touched based on touch Target location, so in some cases, there is the technical problem that cannot accurately control positioning to be identified to target location.For example, Text is inputted:" leave for company in the morning ... ", " morning " word is near the edge of edit box, when user is needed before early word When being inserted into ' I ' word, user needs to click on the touch display area for belonging to edit box before " morning " word, but due to ' morning ' word week The touch area enclosed is also there are other function touch control units, such as:" input method switching " function touch control unit, or " transmission " function are touched Control unit etc., so, touch may in control positioning mark touch-control to " input method switching " function touch control unit, or " transmission " function touch control unit, so as to positioning cannot be controlled to be identified to target location, it is possible that maloperation.
The content of the invention
The embodiment of the present application is by providing a kind of method and electronic equipment for controlling positioning mark, for solving the prior art In when need not control positioning identify when, touch-display unit still can cause the position of witness marker to be moved in response to touch Dynamic technical problem.
On the one hand, the application provides following technical solution by one embodiment of the application:
A kind of method for controlling positioning mark, applied in the electronic equipment with touch-display unit, the method bag Include:
When showing certain bit identification at the first position in the touch-display unit, detect and shown in the touch-control Whether first touch is had on unit;When there is first touch, obtain corresponding with first touch First parameter information;Judge whether first parameter information meets the first preset condition, obtain the first judging result;Described When first judging result shows that first parameter information meets first preset condition, start positioning function;Detection is in institute State the second behaviour for whether being useful for that the positioning mark is moved to the second place from the first position in touch-display unit Make;When detecting second operation, response second operation, generates a control instruction;The control instruction is performed, will The positioning mark is moved to the second place from the first position.
Preferably, whether the detection is useful for identifying the positioning from described first in the touch-display unit Position is moved to the second operation of the second place, is specially:Whether detection has relative to described in the touch-display unit Move in parallel second operation of touch-display unit.
Preferably, it is described to perform the control instruction, the positioning mark is moved to described the from the first position Two positions, specifically include:Second operation is responded, acquisition described second operates last in the touch-display unit The positional information of a touch point;The positional information for determining last touch point is the second place;Perform the control System instruction, the second place is moved to by the positioning mark from the first position.
Preferably, whether the detection is useful for identifying the positioning from described first in the touch-display unit Position is moved to the second operation of the second place, is specially:Whether detection has relative to described in the touch-display unit The second operation with angle movement of touch-display unit.
Preferably, it is described to perform the control instruction, the positioning mark is moved to described the from the first position Two positions, specifically include:Second operation is responded, obtains first of second operation in the touch-display unit First touch-control dot position information of touch point;Based on the first touch-control dot position information, in the mobile side of the described second operation To determining the second place, wherein, meet a pre-determined distance between the second place and the first touch point position; The control instruction is performed, the positioning mark is moved to the second place from the first position.
Preferably, the control instruction is performed described, the positioning is identified described in being moved to from the first position After the second place, the method further includes:Judge whether the second place meets the second preset condition;When the second Put when being unsatisfactory for second preset condition, generate a jump instruction;The jump instruction is performed, the positioning is identified from institute State the second place and jump to the third place, so as to show the positioning mark in the third place.
On the other hand, the application passes through the following technical solution of another embodiment of the application:
A kind of electronic equipment, with a touch-display unit, the electronic equipment includes:First detection unit, for When showing certain bit identification at the first position in the touch-display unit, detect in the touch-display unit whether There is the first touch;Obtaining unit, for when there is first touch, obtaining corresponding with first touch The first parameter information;First judging unit, for judging whether first parameter information meets the first preset condition, obtains First judging result;Start unit, for showing that first parameter information meets described first in first judging result During preset condition, start positioning function;Second detection unit, for detect whether be useful in the touch-display unit by The positioning mark is moved to the second operation of the second place from the first position;First generation unit, for detecting During second operation, response second operation, generates a control instruction;First execution unit, for performing the control Instruction, the second place is moved to by the positioning mark from the first position.
Preferably, the second detection unit specifically includes:First detection sub-unit, shows for detecting in the touch-control Whether move in parallel second operation relative to the touch-display unit is had on unit.
Preferably, first execution unit specifically includes:First obtains subelement, for responding second operation, Obtain the positional information of last touch point of second operation in the touch-display unit;First determines that son is single Member, the positional information for determining last touch point is the second place;First performs subelement, for performing The control instruction, the second place is moved to by the positioning mark from the first position.
Preferably, the second detection unit is specially:Second detection sub-unit, list is shown for detecting in the touch-control Whether second operation with angle movement relative to the touch-display unit is had in member.
Preferably, first execution unit, specifically includes:Second obtains subelement, for responding second operation, Obtain the first touch-control dot position information of first touch point of second operation in the touch-display unit;Second is true Stator unit, for based on the first touch-control dot position information, described the is determined in the moving direction of the described second operation Two positions, wherein, meet a pre-determined distance between the second place and the first touch point position;Second performs son list Member, for performing the control instruction, the second place is moved to by the positioning mark from the first position.
Preferably, the electronic equipment further includes:Second judging unit, for judging whether the second place meets Two preset conditions;Second generation unit, for when the second place is unsatisfactory for second preset condition, generation one to redirect Instruction;Second execution unit, for performing the jump instruction, the 3rd is jumped to by the positioning mark from the second place Position, so as to show the positioning mark in the third place.
The one or more technical solutions provided in the embodiment of the present application, have at least the following technical effects or advantages:
1st, as a result of when there is the first touch in touch-display unit, obtain and first touch pair The first parameter information answered, judges whether first parameter information meets the first preset condition, when meeting the first preset condition The technological means of Shi Qidong positioning functions, so, solve when positioning need not be controlled to identify, touch-display unit still can The technical problem for causing the position of witness marker to be moved in response to touch, and then, realizing is needing to control positioning mark When, touch-display unit just responds touch, the technique effect of the position of running fix mark, and then improves user experience Degree.
2nd, since which kind of the second operation for using detection to control positioning to identify operate for, it is based on the second operation detected Moving in parallel or being moved with an angle relative to the touch-display unit, the method for carrying out different control positioning marks Positioning mark is moved to the second place from first position, for example, detecting that the operation for controlling positioning to identify is relative to described During the operation moved with an angle of touch-display unit, and pre-determined distance is five Chinese characters, then based on the detected Two operations, first touch point of distance is moved to using will position mark from the first position of first touch point of the second operation The second place of five Chinese characters.Asked so efficiently solving the technology that cannot accurately control positioning to be identified to target location Topic, and then realize and can accurately identify the technique effect for being moved to target location by positioning, avoid maloperation.
Brief description of the drawings
Fig. 1 is the flow chart of the method for control positioning mark in the embodiment of the present application one;
Fig. 2 is the structure chart of electronic equipment in the embodiment of the present application two.
Embodiment
The embodiment of the present application is by providing a kind of method and electronic equipment for controlling positioning mark, for solving the prior art In when need not control positioning identify when, touch-display unit still can cause the position of witness marker to be moved in response to touch Dynamic technical problem.
Technical solution in the embodiment of the present application is in order to solve the above technical problems, general thought is as follows:
When showing certain bit identification at the first position in the touch-display unit, detect and shown in the touch-control Whether first touch is had on unit;When there is first touch, obtain corresponding with first touch First parameter information;Judge whether first parameter information meets the first preset condition, obtain the first judging result;Described When first judging result shows that first parameter information meets first preset condition, start positioning function;Detection is in institute State the second behaviour for whether being useful for that the positioning mark is moved to the second place from the first position in touch-display unit Make;When detecting second operation, response second operation, generates a control instruction;The control instruction is performed, will The positioning mark is moved to the second place from the first position.
As a result of when there is the first touch in touch-display unit, obtain corresponding with first touch The first parameter information, judge whether first parameter information meets the first preset condition, when meeting the first preset condition Start the technological means of positioning function, so, when the first touch is unsatisfactory for the first preset condition, it is not responding to the first touch-control Action, into without start positioning function, so, solve in the prior art when need not control positioning identify when, touch-control is shown Unit still can cause the technical problem that the position of witness marker is moved in response to touch, and then, realizing is needing to control When formulating bit identification, touch-display unit just responds touch, the technique effect of the position of running fix mark.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper Technical solution is stated to be described in detail.
Embodiment one
The embodiment of the present application one provides a kind of method for controlling positioning mark, applied to the electricity with touch-display unit In sub- equipment, the electronic equipment can be mobile phone, tablet computer, laptop etc., for the electronic equipment why Kind electronic equipment, the application are not restricted.
Method such as Fig. 1 of the control positioning mark, specifically comprises the following steps:
S101:When showing certain bit identification at the first position in the touch-display unit, detect and touched described Whether there is the first touch on control display unit;
In specific implementation process, electronic equipment understands first in the touch-display unit in a variety of utilization scenes Certain bit identification is shown at position, such as:Work as message editor, order when text message, in the volume of touch-display unit Certain bit identification can be shown by collecting region, to position the position of next copy editor, and for example:Touch-control is shown in reading to show Show that novel in unit, short message when text message, can be shown in the text message indication range of touch-display unit Which kind of scene certain bit identification, to position the position for reading text, be specifically used for, the application is not limited for positioning mark System.
When detecting the first touch in step S101, step S102 is performed, i.e.,:Moved when there is first touch-control When making, the first parameter information corresponding with first touch is obtained;
In specific implementation process, when there is the first touch in touch-display unit, the first touch is gathered The voltage of touch point decline information, information is declined based on the voltage that collects, the processor for generating electronic equipment is treatable First parameter information.
The first parameter information obtained based on step S102, performs step S103, i.e.,:Judging first parameter information is The first preset condition of no satisfaction, obtains the first judging result;
In specific implementation process, judge whether first parameter information meets the first preset condition, be specifically as follows: First parameter information shows the first touch as a touch for meeting default gesture, such as:Touch-control is double-clicked twice to show Which kind of default gesture is " O " type gesture etc. of unit, touch-display unit, be specially for the first preset condition, the application is not It is restricted.Judge whether first parameter information meets the first preset condition, can also be specifically:First parameter information shows First touch is the touch in the previous preset time period of the second operation, for example, preset time period is 0.5 second, After then detecting the first touch, whether the second operation can be detected in 0.5 second.If detected second in 0.5 second Operation, then it is the action for starting positioning function to show the first touch.
The first judging result obtained based on step S103, performs step S104, i.e.,:Show in first judging result When first parameter information meets first preset condition, start positioning function;
In specific implementation process, when testing result shows that the first parameter information meets first preset condition, then It is the touch for starting positioning function that can determine the first touch, then responds the first touch, starts positioning Function;When testing result shows that the first parameter information is unsatisfactory for first preset condition, based on the first touch-control detected The other functions of action executing, such as:Perform dragging text information function, replicate the functions such as text information, for judging first When corresponding first parameter information of touch is unsatisfactory for the first preset condition, which kind of function started, the application is not limited.
After starting positioning function in step S104, step S105 is performed, i.e.,:Detect is in the touch-display unit No the second operation for being useful for for the positioning mark being moved to the second place from the first position;
In specific implementation process, first position is the home position where positioning mark, then when the second operation is with fixed Home position where bit identification for starting point the second operation when, using the home position positioned where mark as first position, When the second operation is not in the operation in the home position of positioning mark, by first touch point position of the second operation As first position.
When detect whether be useful for by it is described positioning mark from the first position be moved to the second place second behaviour When making, the first operation that can be detected may have following two situations:
The first:Whether detection has moving in parallel relative to the touch-display unit in the touch-display unit Second operation.
Second:Whether detection has relative to the touch-display unit with an angle in the touch-display unit The second mobile operation.
In specific implementation process, electronic equipment can only can be detected in the first situation or the second situation, can also Realize and detect two kinds of situations at the same time.Specifically, detect whether to meet that the first situation is specifically as follows:Detected whether relative to Touch-display unit moves in parallel, and can be to detect whether the second operation is a uniform motion rail in touch-display unit Mark, or whether the voltage drop-out value for the touch point that the operation of detection second is arrived in the motion track touch-control of touch-display unit All in default scope.
Detect whether to meet that the second situation is specifically as follows:Detect whether the Yi Yijiao relative to touch-display unit The second mobile operation of degree, can be whether detect second and operate be the movement for having an acceleration in touch-display unit, Can be the operation of detection second touch-display unit motion track touch-control to the voltage drop-out value of touch point whether meet One production decline law.
For example, show that text message is specially in message editor in touch-display unit:" leave for company in the morning I ... ", wherein, positioning mark is after " company " now, but is inserted into if desired between " morning " and " setting out " now The text message of " 7 points ", then the second operation can be moving in parallel relative to touch-display unit, then detects as the A kind of situation.If necessary to be inserted into " I " word before " morning " word, then because not being on the permanent staff a volume region before " morning " word, include other Functional space, then using the first second operation it is possible that maloperation, so in order to avoid the function of touch-control to side is touched Unit is controlled, then general " sweeping " operation, so the second operation detected is the second situation.
After step S105 is performed, a testing result is obtained, when detecting second operation in step S105, is held Row step S106, i.e.,:When detecting second operation, response second operation, generates a control instruction.
In specific implementation process, based on detect in step 105 second operation be the first situation or second Kind situation, then generate corresponding control instruction.
Specifically, when it is the first situation to detect the second operation, the first control instruction is generated, specifically, first Kind control instruction is that witness marker is navigated to the control instruction of last touch point;When detect the second operation be second During situation, second of control instruction is generated, specifically, second of control instruction is to navigate to witness marker and the second operation The control instruction of the position of first one pre-determined distance of touch point.
After step S106 generates control instruction, step S107 is performed, i.e.,:The control instruction is performed, by the positioning Mark is moved to the second place from the first position.
In specific implementation process, the first control instruction described in the execution, the positioning is identified from described first Position is moved to the second place, specifically includes following three steps:
Step 1:Second operation is responded, acquisition described second operates last in the touch-display unit The positional information of a touch point;
Step 2:The positional information for determining last touch point is the second place;
Step 3:The control instruction is performed, the positioning mark is moved to the second from the first position Put.
Specifically, responding the first second operation, touch-control of the motion track in touch-display unit of the second operation is obtained Information, acquires the positional information for last touch point that the motion track of the second operation terminates.Determine last touch-control Point is the second place of witness marker, performs the first control instruction, and first of witness marker since operating second is touched The corresponding first position of control point is moved to the corresponding second place of last touch point that the second operation terminates.
Second of control instruction is performed, the positioning mark is moved to the second from the first position Put, specifically include following three steps:
Step 1:Second operation is responded, obtains first of second operation in the touch-display unit First touch-control dot position information of touch point;
Step 2:Based on the first touch-control dot position information, determined in the moving direction of the described second operation described The second place, wherein, meet a pre-determined distance between the second place and the first touch point position;
Step 3:The control instruction is performed, the positioning mark is moved to the second from the first position Put.
Specifically, second second operations of response, obtain touch-control of second motion track operated in touch-display unit Information, determines the first touch-control dot position information and the moving direction of the second operation, in the second operation from touch information Moving direction determines a bit that first touch point of distance is a pre-determined distance, and pre-determined distance can be self-defined, for example, default Distance can not limit default distance for the distance of 5 Chinese characters, or distance of 5 English characters etc., the application System, the text message number of words of display corresponding with touch screen are consistent.
For example, the editing area in touch-display unit has a text message:" leave for company I ... in the morning." " I " generation Table witness marker, respond user second operation for the first touch point after " company ", last touch point is " setting out " Between the second operation, then may determine that the moving direction of the second operation as direction from right to left, then based on default 5 The distance of Chinese character, the position between " above going out " is moved to by witness marker.
In specific implementation process, the control instruction is performed described, the positioning is identified from the first position It is moved to after the second place, the method is further comprising the steps of:
Step 1:Judge whether the second place meets the second preset condition;
Step 2:When the second place is unsatisfactory for second preset condition, a jump instruction is generated;
Step 3:The jump instruction is performed, the positioning mark is jumped into the third place from the second place, with Make to show the positioning mark in the third place.
In specific implementation process, the second preset condition is specifically as follows in the editing area when editing text information, Can also be when reading text information touch-display unit can be in touch area.
Specifically, when the second place is unsatisfactory for the second preset condition, witness marker cannot be shown in the second place, based on life Into jump instruction, witness marker is shown in the third place, the third place for meet the second preset condition extreme position, tool Body, the third place can be the touch point position at the edge of the editing area of editor's text information, or read word The touch point position at the edge of the touch area of touch-display unit during information.Which position is specific the third place be, based on text This information is in which kind of scene.
For example, there is a text message in touch-display unit:" go out I Fa Qu companies ... in the morning." " I " representative positioning mark Will, respond user second operation for the first touch point between " setting out ", last touch point then may be used between " morning " To judge the moving direction of the second operation as direction from left to right, then based on the distance for presetting 5 Chinese characters, second Put and be unsatisfactory for the second preset condition, perform the jump instruction of generation, witness marker is moved to before " morning " word, display positioning Indicate and be:" I leaves for company morning ....”
If user A one touch-screen mobile phone editor's text information, compiled following text information:" thank you Help I ".There is one to want to add in beginning of the sentence apart from close input picture selection key, user A before the beginning of the sentence of touch-display unit " I " word.
The implementation process of the above method is discussed in detail with the example of hypothesis below:
First, user A double-clicks the target area of touch-display unit, and mobile phone detects the touch of double-click, obtains double The parameter information of touch is hit, and judges that double-clicking touch control operation meets the first preset condition, then, hand based on parameter information Machine starts positioning function.
After mobile phone starts positioning function, user A " is doing one in the position of the witness marker of the help I " to thank you to the left The operation of " sweeping ", mobile phone detect first touch point of " sweeping " operation after " help ", last touch point exists Between " everybody ", judge to belong to second second operations, i.e.,:For relative to touch-display unit with the of angle movement Two operations.
Then, mobile phone response " sweeping " operation, generates second of control instruction corresponding with " sweeping ", performs control and refers to Order, " thanks " is moved between " everybody " by witness marker, and the mobile result of positioning mark is:" thanks I everybody helps ".
Finally, shown in touch-display unit mobile as a result, user A can be inserted into " thanks " between " everybody " Text message, can also operate witness marker again.
Embodiment two
Based on identical inventive concept, the application proposes a kind of electronic equipment by the embodiment of the present application two, is touched with one Display unit is controlled, the electronic equipment can be mobile phone, tablet computer, which kind of learning machine etc., is for the electronic equipment Electronic equipment, the application are not limited,
The electronic equipment is as shown in Fig. 2, specifically include such as lower structure:
First detection unit 201, for showing certain bit identification at the first position in the touch-display unit When, whether detect has the first touch in the touch-display unit.
Obtaining unit 202, for when there is first touch, obtains corresponding with first touch the One parameter information.
First judging unit 203, for judging whether first parameter information meets the first preset condition, obtains first Judging result.
Start unit 204, for showing that first parameter information meets that described first is pre- in first judging result If during condition, start positioning function.
Whether second detection unit 205, be useful for identifying the positioning for detecting in the touch-display unit The second operation of the second place is moved to from the first position.
In specific implementation process, the second detection unit can specifically include such as lower structure:
First detection sub-unit, list is shown for detecting whether to have in the touch-display unit relative to the touch-control Move in parallel second operation of member.And/or second detection sub-unit, whether have in the touch-display unit for detecting Relative to the second operation with angle movement of the touch-display unit.
First generation unit 206, for when detecting second operation, response second operation, generation one to be controlled System instruction.
First execution unit 207, for performing the control instruction, the positioning mark is moved from the first position To the second place.
In specific implementation process, first execution unit, can specifically include following first structure:
First obtains subelement, and for responding second operation, it is single in touch-control display to obtain second operation The positional information of last touch point in member;
First determination subelement, the positional information for determining last touch point is the second place;
First performs subelement, and for performing the control instruction, the positioning mark is moved from the first position To the second place.
In specific implementation process, first execution unit, can specifically include following second structure:
Second obtains subelement, and for responding second operation, it is single in touch-control display to obtain second operation First touch point position of first touch point in member;
Second determination subelement, it is true in the moving direction of the described second operation for based on the first touch point position The second place is made, wherein, meet a pre-determined distance between the second place and the first touch point position;
Second performs subelement, and for performing the control instruction, the positioning mark is moved from the first position To the second place.
In specific implementation process, first structure can be only included or only include the second structure, or include first at the same time Structure and the second structure.
In specific implementation process, the electronic equipment can be further included such as lower structure:
Second judging unit, for judging whether the second place meets the second preset condition;
Second generation unit, for when the second place is unsatisfactory for second preset condition, generation one to redirect finger Order;
Second execution unit, for performing the jump instruction, the positioning mark is jumped to from the second place The third place, so as to show the positioning mark in the third place.
Since the electronic equipment that the present embodiment is introduced positions the method identified to implement control in the embodiment of the present application one Used electronic equipment, so the method based on the control positioning mark described in the embodiment of the present application one, this area institute The embodiment and its various change form of electronic equipment of the present embodiment can be understood by belonging to technical staff, so herein No longer it is discussed in detail for the electronic equipment.As long as those skilled in the art implement control positioning in the embodiment of the present application Electronic equipment used by method, belongs to the scope to be protected of the application.
The one or more technical solutions provided in the embodiment of the present application, have at least the following technical effects or advantages:
1st, as a result of when there is the first touch in touch-display unit, obtain and first touch pair The first parameter information answered, judges whether first parameter information meets the first preset condition, when meeting the first preset condition The technological means of Shi Qidong positioning functions, so, solve when positioning need not be controlled to identify, touch-display unit still can The technical problem for causing the position of witness marker to be moved in response to touch, and then, realizing is needing to control positioning mark When, touch-display unit just responds touch, the technique effect of the position of running fix mark, and then improves user experience Degree.
2nd, since which kind of the second operation for using detection to control positioning to identify operate for, it is based on the second operation detected Moving in parallel or being moved with an angle relative to the touch-display unit, the method for carrying out different control positioning marks Positioning mark is moved to the second place from first position, for example, detecting that the operation for controlling positioning to identify is relative to described During the operation moved with an angle of touch-display unit, and pre-determined distance is five Chinese characters, then based on the detected Two operations, first touch point of distance is moved to using will position mark from the first position of first touch point of the second operation The second place of five Chinese characters.Asked so efficiently solving the technology that cannot accurately control positioning to be identified to target location Topic, and then realize and can accurately identify the technique effect for being moved to target location by positioning, avoid maloperation.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make these embodiments other change and modification.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and scope.In this way, if these modifications and changes of the present invention belongs to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these modification and variations.

Claims (8)

  1. A kind of 1. method for controlling positioning mark, applied in the electronic equipment with touch-display unit, it is characterised in that institute The method of stating includes:
    When showing certain bit identification at the first position in the touch-display unit, detect in the touch-display unit On whether have the first touch;
    When there is first touch, the first parameter information corresponding with first touch is obtained;
    Judge whether first parameter information meets the first preset condition, obtain the first judging result;
    When first judging result shows that first parameter information meets first preset condition, described first is determined Touch is the touch for starting positioning function, responds the first touch, starts positioning function;
    Whether detection is useful for the positioning mark being moved to second from the first position in the touch-display unit Second operation of position;
    When detecting second operation, response second operation, generates a control instruction;
    The control instruction is performed, the positioning mark is moved to the second place from the first position;
    Wherein, whether the detection is useful for moving the positioning mark from the first position in the touch-display unit The second operation to the second place is moved, is specially:
    Whether detection has relative to the touch-display unit in the touch-display unit with the second of angle movement Operation;
    Wherein, it is described to perform the control instruction, the positioning mark is moved to the second place from the first position, Specifically include:
    Second operation is responded, obtains the first of first touch point of second operation in the touch-display unit Touch-control dot position information;
    Based on the first touch-control dot position information, the second place is determined in the moving direction of the described second operation, its In, meet a pre-determined distance between the second place and the first touch point position;
    The control instruction is performed, the positioning mark is moved to the second place from the first position.
  2. 2. the method as described in claim 1, it is characterised in that whether the detection is useful in the touch-display unit The positioning mark is moved to the second operation of the second place from the first position, is specially:
    Whether detection has the move in parallel second operation relative to the touch-display unit in the touch-display unit.
  3. 3. method as claimed in claim 2, it is characterised in that it is described to perform the control instruction, by the positioning mark from The first position is moved to the second place, specifically includes:
    Second operation is responded, obtains the position of last touch point of second operation in the touch-display unit Confidence ceases;
    The positional information for determining last touch point is the second place;
    The control instruction is performed, the positioning mark is moved to the second place from the first position.
  4. 4. the method as described in any claim in claim 1-3, it is characterised in that the control instruction is performed described, will After the positioning mark is moved to the second place from the first position, the method further includes:
    Judge whether the second place meets the second preset condition;
    When the second place is unsatisfactory for second preset condition, a jump instruction is generated;
    The jump instruction is performed, the positioning mark from the second place is jumped into the third place, so that described the Mark is positioned described in three position displays.
  5. 5. a kind of electronic equipment, with a touch-display unit, it is characterised in that the electronic equipment includes:
    First detection unit, during for showing certain bit identification at the first position in the touch-display unit, detection Whether there is the first touch in the touch-display unit;
    Obtaining unit, for when there is first touch, obtaining the first parameter corresponding with first touch Information;
    First judging unit, for judging whether first parameter information meets the first preset condition, obtains first and judges knot Fruit;
    Start unit, for showing that first parameter information meets first preset condition in first judging result When, it is the touch for starting positioning function to determine first touch, responds the first touch, starts positioning Function;
    Whether second detection unit, be useful for the positioning mark in the touch-display unit from described for detecting One position is moved to the second operation of the second place;
    First generation unit, for when detecting second operation, response second operation, to generate a control instruction;
    First execution unit, for performing the control instruction, the positioning is identified described in being moved to from the first position The second place;
    Wherein, the second detection unit is specially:
    Whether the second detection sub-unit, have relative to the touch-display unit for detecting in the touch-display unit With the second operation of angle movement;
    Wherein, first execution unit, specifically includes:
    Second obtains subelement, for responding second operation, obtains second operation in the touch-display unit First touch point the first touch-control dot position information;
    Second determination subelement, it is true in the moving direction of the described second operation for based on the first touch-control dot position information The second place is made, wherein, meet a pre-determined distance between the second place and the first touch point position;
    Second performs subelement, and for performing the control instruction, the positioning mark is moved to institute from the first position State the second place.
  6. 6. electronic equipment as claimed in claim 5, it is characterised in that the second detection unit specifically includes:
    Whether the first detection sub-unit, have relative to the touch-display unit for detecting in the touch-display unit The second operation moved in parallel.
  7. 7. electronic equipment as claimed in claim 6, it is characterised in that first execution unit specifically includes:
    First obtains subelement, for responding second operation, obtains second operation in the touch-display unit Last touch point positional information;
    First determination subelement, the positional information for determining last touch point is the second place;
    First performs subelement, and for performing the control instruction, the positioning mark is moved to institute from the first position State the second place.
  8. 8. the electronic equipment as described in any claim in claim 5-7, it is characterised in that the electronic equipment further includes:
    Second judging unit, for judging whether the second place meets the second preset condition;
    Second generation unit, for when the second place is unsatisfactory for second preset condition, generating a jump instruction;
    Second execution unit, for performing the jump instruction, the 3rd is jumped to by the positioning mark from the second place Position, so as to show the positioning mark in the third place.
CN201210404410.3A 2012-10-22 2012-10-22 A kind of method and electronic equipment for controlling positioning mark Active CN103777878B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210404410.3A CN103777878B (en) 2012-10-22 2012-10-22 A kind of method and electronic equipment for controlling positioning mark

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210404410.3A CN103777878B (en) 2012-10-22 2012-10-22 A kind of method and electronic equipment for controlling positioning mark

Publications (2)

Publication Number Publication Date
CN103777878A CN103777878A (en) 2014-05-07
CN103777878B true CN103777878B (en) 2018-04-27

Family

ID=50570187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210404410.3A Active CN103777878B (en) 2012-10-22 2012-10-22 A kind of method and electronic equipment for controlling positioning mark

Country Status (1)

Country Link
CN (1) CN103777878B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375779B (en) * 2014-12-02 2017-12-29 厦门飞信网络科技有限公司 A kind of touch event processing method, equipment and computing device
CN105988560B (en) * 2015-02-03 2020-09-25 南京中兴软件有限责任公司 Application starting method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006104745A3 (en) * 2005-03-30 2007-05-03 3M Innovative Properties Co Touch location determination with error correction for sensor movement
CN101211244A (en) * 2006-12-27 2008-07-02 联想(新加坡)私人有限公司 Cursor jump control with a touchpad
CN102375588A (en) * 2010-08-19 2012-03-14 上海博泰悦臻电子设备制造有限公司 Method and device for controlling equipment operation through gesture on screen of electronic equipment
CN102402369A (en) * 2010-09-13 2012-04-04 联想(北京)有限公司 Electronic equipment and method for moving operation prompt identifier thereof
CN102681751A (en) * 2011-03-15 2012-09-19 联想(北京)有限公司 Input control method, input recognition method and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006104745A3 (en) * 2005-03-30 2007-05-03 3M Innovative Properties Co Touch location determination with error correction for sensor movement
CN101211244A (en) * 2006-12-27 2008-07-02 联想(新加坡)私人有限公司 Cursor jump control with a touchpad
CN102375588A (en) * 2010-08-19 2012-03-14 上海博泰悦臻电子设备制造有限公司 Method and device for controlling equipment operation through gesture on screen of electronic equipment
CN102402369A (en) * 2010-09-13 2012-04-04 联想(北京)有限公司 Electronic equipment and method for moving operation prompt identifier thereof
CN102681751A (en) * 2011-03-15 2012-09-19 联想(北京)有限公司 Input control method, input recognition method and equipment

Also Published As

Publication number Publication date
CN103777878A (en) 2014-05-07

Similar Documents

Publication Publication Date Title
KR101381484B1 (en) Mobile device having a graphic object floating function and execution method using the same
US20130080951A1 (en) Device and method for moving icons across different desktop screens and related computer readable storage media comprising computer executable instructions
US20110320978A1 (en) Method and apparatus for touchscreen gesture recognition overlay
KR101616651B1 (en) Ladder program creation device
JP2013545380A (en) Automatic adjustment of input settings
CN102520860A (en) Method for controlling desktop display and mobile terminal
KR101768690B1 (en) Method and apparatus of controlling display and computer program for executing the method
CN108064368A (en) The control method and device of flexible display device
KR102228335B1 (en) Method of selection of a portion of a graphical user interface
CN103207750A (en) Method and device for scaling icon
CN102385475B (en) Electronic device and interactive method thereof
CN102968206A (en) A portable apparatus and an input method of a portable apparatus
CN103513878A (en) Touch input method and device
CN102402369A (en) Electronic equipment and method for moving operation prompt identifier thereof
CN102609191A (en) Browsing interaction method for incoming messages of touchscreen cellphones
CN104679485A (en) Page element control method and device
CN103473014A (en) Multitask switching method and terminal
CN103189831A (en) Electronic device
CN104298437A (en) Text selection method, device and terminal
CN103116446B (en) A kind of list interactive method for touch portable device
KR100795590B1 (en) Method of navigating, electronic device, user interface and computer program product
CN103777878B (en) A kind of method and electronic equipment for controlling positioning mark
WO2013061326A1 (en) Method for recognizing input gestures.
CN103455258A (en) Touch input identification method and electronic device
WO2012001037A1 (en) Display with shared control panel for different input sources

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant