CN103631408B - The treating method and apparatus of touch command - Google Patents
The treating method and apparatus of touch command Download PDFInfo
- Publication number
- CN103631408B CN103631408B CN201210298683.4A CN201210298683A CN103631408B CN 103631408 B CN103631408 B CN 103631408B CN 201210298683 A CN201210298683 A CN 201210298683A CN 103631408 B CN103631408 B CN 103631408B
- Authority
- CN
- China
- Prior art keywords
- operational order
- moving
- event
- distance
- predetermined threshold
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 230000001960 triggered effect Effects 0.000 claims description 21
- 238000003672 processing method Methods 0.000 claims description 15
- 238000001514 detection method Methods 0.000 claims description 8
- 230000006399 behavior Effects 0.000 description 11
- 238000005070 sampling Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000002045 lasting effect Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Position Input By Displaying (AREA)
Abstract
The present invention relates to a kind for the treatment of method and apparatus of touch command.This method comprises: receiving operational order caused by touch operation;Detect the type of operational order, when the type of operational order is that moving operation instructs, judge the moving direction operated in moving operation instruction and detects the moving distance operated in moving operation instruction, when the moving distance of operation is more than the first predetermined threshold value, the moving event of relative direction triggering cursor moving event or corresponding contents corresponding to the moving direction along operation.The embodiment of the present invention, which realizes, handles touch command, and then realizes the movement using cursor or corresponding contents on Trackpad simply controlling terminal.
Description
Technical field
The present invention relates to field of terminal more particularly to a kind for the treatment of method and apparatus of touch command.
Background technique
Growing day by day with multimedia information inquiry, more and more terminal devices use Trackpad, utilize Trackpad
Technology just can control cursor or corresponding contents in terminal as long as user carries out touch operation, such as moving operation on the touch pad
Movement, and then realize in terminal application program carry out corresponding operation, increase the convenience that user uses.User exists
When generating touch operation on Trackpad, the type of position, touch control operation that Trackpad is touched according to user realizes corresponding behaviour
Make.
Due to the recognition principle of Trackpad, user is in the mobile very big distance of content for wanting to be chosen cursor or cursor
When, since Trackpad is smaller, possible user needs to execute multiple slide on the touch pad and is just able to achieve cursor or cursor
The big distance for the content chosen is mobile.Reduce as a result, the application program in terminal is operated using Trackpad it is easy
The property used.
Summary of the invention
The embodiment of the invention provides a kind for the treatment of method and apparatus of touch command, to realize to generation on the touch pad
Touch control operation instruction handled, and then realize using Trackpad simply in controlling terminal cursor movement, improve touching
Control the ease for use of plate.
In a first aspect, the embodiment of the invention provides a kind of processing methods of touch command, which comprises
Receive operational order caused by touch operation;
Detect the type of the operational order;
When the type of the operational order is that moving operation instructs, the movement operated in the moving operation instruction is judged
Simultaneously detect the moving distance operated in the moving operation instruction in direction;
When the moving distance of the operation is more than first predetermined threshold value, the moving direction institute along the operation is right
The moving event of the relative direction triggering cursor moving event or corresponding contents answered.
Second aspect, the embodiment of the invention provides a kind of processing unit of touch command, described device includes:
Receiving unit, for receiving operational order caused by touch operation;
Detection unit, for detecting the type of the operational order;
Judging unit, for judging that the moving operation refers to when the type of the operational order is that moving operation instructs
The moving direction that operates in order simultaneously detects the moving distance operated in the moving operation instruction;
First processing units, for when the moving distance of the operation be more than first predetermined threshold value when, along described
Relative direction corresponding to the moving direction of operation triggers the moving event of cursor moving event or corresponding contents.
The treating method and apparatus of instruction provided in an embodiment of the present invention receives operational order caused by touch operation;
The type for detecting operational order judges to operate in moving operation instruction when the type of operational order is that moving operation instructs
Moving direction simultaneously detects the moving distance operated in moving operation instruction, when the moving distance of operation is more than the first predetermined threshold value
When, along operation moving direction corresponding to relative direction triggering cursor moving event or corresponding contents moving event.Thus
It realizes and the touch operation instruction generated on the touch pad is handled, and then realize and use Trackpad simply controlling terminal
The movement of upper cursor or corresponding contents improves the ease for use of Trackpad.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is a kind of processing method flow chart of touch command provided in an embodiment of the present invention;
Fig. 2 is a kind of processing method flow chart for lifting operational order provided in an embodiment of the present invention;
Fig. 3 is a kind of processing method flow chart of moving operation instruction provided in an embodiment of the present invention;
Fig. 4 is a kind of processing unit schematic diagram of touch command provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, propose such as specific system structure, interface, technology it
The detail of class understands the present invention to cut thoroughly.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, omit to well-known device, circuit and
The detailed description of method, in case unnecessary details interferes description of the invention.
The embodiment of the present invention is directed to the disposal status of touch command under the prior art, provides the new touch command of one kind
Treating method and apparatus, in practical application the treating method and apparatus of the touch command may be applicable to using Trackpad or
Touch tablet is to the cursor or the scene that is operated of corresponding contents on terminal interface.In this method, touch operation institute is received first
The operational order of generation;Detect the type of the operational order;When the type of the operational order is that moving operation instructs, sentence
The moving direction that operates in the moving operation of breaking instruction simultaneously detects the moving distance operated in the moving operation instruction;Work as institute
When stating the moving distance of operation more than first predetermined threshold value, relative direction corresponding to the moving direction along the operation
Trigger the moving event of cursor moving event or corresponding contents.It is thus achieved that being instructed to the touch operation generated on the touch pad
It is handled, and then is realized using the movement of cursor on Trackpad simply controlling terminal, improve the ease for use of Trackpad.By
This, which is realized, handles the touch operation instruction generated on the touch pad, and then realizes and simply control end using Trackpad
The movement of cursor or corresponding contents on end.
Fig. 1 is a kind of processing method flow chart of touch command provided in an embodiment of the present invention.The embodiment is retouched in detail
It has stated after receiving operational order caused by the touch operation of user, instruction has been handled, and then cursor in triggering terminal
Or the process that corresponding contents are mobile.The executing subject of the embodiment can be the touch control devices such as Trackpad or touch tablet, below with
It is described for Trackpad, but this is not intended to limit the scope of protection of the present invention.The embodiment specifically includes following step
It is rapid:
Step 101, operational order caused by touch operation is received.
When user generates touch operation on the touch pad, Trackpad detection part is by the contact of the touch operation received
Information, and the contact information is sent to processing element, processing element receive the contact information, and by the contact information
Be converted to the operational order that the touch operation generates.
Step 102, the type of the operational order is detected.
All operational orders caused by the touch operation that Trackpad receives can be simply divided into three classes: be touched down
Operational order, lifts operational order at moving operation instruction.For different types of operational order, Trackpad will trigger different
Affair logic.The operational order that the embodiment of the present invention receives Trackpad is divided into above-mentioned three types, is for ease of description
The technical program, but be not intended to limit the scope of protection of the present invention, the targeted behaviour of technical solution provided by the present invention
Making instruction is all operational orders that Trackpad receives.
Step 103, when the type of the operational order is that moving operation instructs, judge to grasp in the moving operation instruction
The moving direction of work simultaneously detects the moving distance operated in the moving operation instruction.
When Trackpad detects that the operational order received is moving operation instruction, judging the moving operation first can
What moved with triggering cursor or corresponding contents along moving direction, the movement for then detecting the moving operation again is specific.
Specifically, described when the absolute value of the lateral distance of operation is greater than the absolute value of the longitudinal movement distance of the operation
Relative direction corresponding to the moving direction of operation is horizontal direction;The absolute value of the longitudinal movement distance of the operation is greater than institute
When stating the absolute value of the lateral distance of operation, relative direction corresponding to the moving direction of the operation is vertical direction.
The moving distance of moving operation includes lateral distance and longitudinal movement distance, detect the movement of moving operation away from
From method are as follows: the position that is presently in of detection shift action records coordinate information (Xm, Ym), the querying triggering moving operation
The location coordinate information (X ', Y ') that operation occurs is touched down, moving operation at this time is calculated and moves horizontally distance Xm- X '=Δ X and
Vertical travel distance Ym- Y '=Δ Y.
Step 104, when the moving distance of the operation is more than first predetermined threshold value, along moving for the operation
Relative direction corresponding to direction triggers the moving event of cursor moving event or corresponding contents.
When the moving distance of the operation is more than first predetermined threshold value, the moving direction institute along the operation is right
The moving event of the relative direction triggering cursor moving event or corresponding contents answered specifically: when the moving distance of the operation is super
When crossing first predetermined threshold value, the cursor or the corresponding contents are persistently triggered along the horizontal direction or described vertical
Direction is mobile;When receive lift operational order when, stop triggering the cursor or the corresponding contents along the horizontal direction
Or the vertical direction is mobile.
Specifically, when the relative direction corresponding to the moving direction of operation is horizontal direction, then Trackpad judgement operation
Move horizontally distance whether more than the first predetermined threshold value, if it does, illustrating that the moving operation can be held in the horizontal direction
The moving event of continuous triggering cursor moving event or corresponding contents, until operational order is lifted in user's triggering;When the movement of operation
When relative direction corresponding to direction is vertical direction, then Trackpad judges whether the vertical travel distance of operation is pre- more than first
Gating limit value, if it does, illustrating that the moving operation vertically can persistently trigger cursor moving event or corresponding contents
Moving event, until user triggering lift operational order.
In a preferred embodiment of the invention, after step 103, that is, judge the shifting operated in moving operation instruction
Dynamic direction and after detecting the moving distance operated in moving operation instruction further include: when the moving distance of the operation is more than the
Two predetermined threshold values but when being no more than first predetermined threshold value, opposite side corresponding to the moving direction along the operation
To the moving event for the corresponding cursor moving event of moving distance or corresponding contents for triggering the operation.When the shifting of the operation
Dynamic distance is more than the second predetermined threshold value but when being no more than first predetermined threshold value, along the moving direction institute of the operation
Corresponding relative direction triggers the corresponding cursor moving event of moving distance of the operation or the moving event tool of corresponding contents
Body are as follows: when the moving distance of the operation is more than first predetermined threshold value but is no more than second predetermined threshold value
When, trigger the cursor along the horizontal direction or the vertical direction move it is corresponding with the moving distance of the operation away from
From.
It is specifically, as empty since when touching down operational order, current operation status is arranged to original state,
Therefore when detecting current operation status for the first time after moving operation occurs, current operation status is sky.In current operation status
When for sky, compare | Δ X | and | Δ Y | size, if | Δ X | be less than | Δ Y |, compare | Δ Y | with the second predetermined threshold value
Size, if | Δ Y | be greater than the second predetermined threshold value, cursor or corresponding contents moved up according to the positive and negative triggering of Δ Y or
The event moved down, if | Δ Y | less than the second predetermined threshold value, the mobile thing of cursor moving event or corresponding contents is not triggered
Part continues waiting for the touch operation of user;If | Δ X | be greater than | Δ Y |, compare | Δ X | it is big with the second predetermined threshold value
It is small, if | Δ X | it is greater than the second predetermined threshold value, according to the positive and negative triggering of Δ X by cursor or corresponding contents shift to right or left
Event, if | Δ X | less than the second predetermined threshold value, do not trigger the moving event of cursor moving event or corresponding contents,
Continue waiting for the touch operation of user.When the event for moving up or moving down or move to left or move to right of triggering cursor or corresponding contents
Afterwards, if the moving event of the current operation status saved and the cursor moving event or corresponding contents that trigger at present not phase
Symbol then will also update saved current operation shape according to the moving event of the cursor moving event or corresponding contents triggered at present
State.
It is more than the second predetermined threshold value in the horizontally or vertically moving distance of moving operation but is no more than the first pre- gating
When limit value, relative direction corresponding to the moving direction along the operation triggers cursor or corresponding contents move the level of the operation
Or the corresponding distance of vertical travel distance;When the horizontally or vertically moving distance of touch operation is more than the first predetermined threshold value,
Even if user no longer moves on the touch pad, and is only to maintain finger without departing from Trackpad, can also trigger cursor is persistently moved,
Until cursor or corresponding contents are moved to the marginal position at interface;It is i.e. super in the horizontally or vertically moving distance of touch operation
The first predetermined threshold value is crossed, and under the premise of not triggering and lifting operational order, cursor continuous moving can be triggered.It thus avoids
By cursor or the mobile sizable distance of corresponding contents, and cursor or corresponding contents reality can not be triggered by a moving operation
The now problem of the movement of sizable distance.
It should be noted that during user executes moving operation, when triggering cursor moving event or corresponding contents
Moving event when, if the moving event of the cursor moving event or corresponding contents that are triggered and the current operation shape saved
State is inconsistent, then can update current operation status according to the moving event of the cursor moving event or corresponding contents triggered.
Current operation status include the original state, end state, shift left operation state, right-shift operation state, move up mode of operation,
Move down mode of operation.
The phase chosen below with cursor and cursor in the Word application program that is run by Trackpad come controlling terminal equipment
For the movement for answering content, the concrete application scene of technical solution provided in an embodiment of the present invention is briefly described, the application
Scene is a kind of specific implementation, the protection scope being not intended to limit the invention.
In the Word document run on the terminal device, user can be executed by touch tablet touches down operational order thus will
Cursor is positioned at first position, is then instructed by moving operation, so that cursor moves along the moving direction in operational order
Corresponding relative direction (as downwards) is mobile, when the distance that finger moves on the touch pad is more than some predetermined threshold value,
Even if finger no longer moves on the touch pad, cursor can also continue to move down until that finger leaves touching in the Word document
Plate is controlled, until operational order is lifted in triggering.The moving distance that the moving operation on Trackpad can be realized in this way is more than that some is pre-
When gating limit value, it can also realize that the big distance of cursor is mobile even if no longer sliding finger, improve the ease for use of Trackpad.
Certainly, when cursor chooses some content in Word document, user can also trigger mobile behaviour by touch tablet
Instruct so that the content that cursor is chosen move along relative direction corresponding to the moving direction in operational order (such as to
Under) mobile, when the distance that finger moves on the touch pad is more than some predetermined threshold value, even if finger is no longer on the touch pad
Mobile, the content that cursor is chosen can also continue to move down until that finger leaves Trackpad, triggering lift in Word document
Until playing operational order.Being can be realized in this way through the moving distance of the moving operation on Trackpad is more than some predetermined threshold value
When, the lasting movement for the content that controllable cursor is chosen no longer sliding finger improves the ease for use of Trackpad.
The present embodiment is by receiving operational order caused by touch operation as a result,;Detect the type of the operational order;
When the type of the operational order is that moving operation instructs, the moving direction operated in the moving operation instruction and inspection are judged
Survey the moving distance operated in the moving operation instruction;When the moving distance of the operation is more than first predetermined threshold value
When, the moving event of the triggering cursor moving event of relative direction corresponding to the moving direction along the operation or corresponding contents.
It is thus achieved that handling the touch operation instruction generated on the touch pad, and then realizes and simply controlled using Trackpad
The movement of cursor or corresponding contents in terminal, improves the ease for use of Trackpad.It is thus achieved that generating on the touch pad
Touch operation instruction is handled, and then realizes the movement using cursor on Trackpad simply controlling terminal.
Above-described embodiment has carried out simple introduction mainly for the processing that operational order on the touchscreen occurs.Below
Respectively to occur on Trackpad lift operational order and moving operation instruction be described in detail.
Fig. 2 is a kind of processing method flow chart for lifting operational order provided in an embodiment of the present invention.As shown in Fig. 2, should
Embodiment specifically includes the following steps:
Step 201, it calculates and lifts between the generation position of operational order and the corresponding generation position for touching down operational order
Distance.
Each lifts operational order corresponding one and touches down operational order, will be current when touching down operational order
Mode of operation is set as original state, and records corresponding first coordinate in the generation position for touching down operational order;It is lifting
When playing operational order, the current operation status is set as end state, and the generation position of operational order is lifted described in record
Set corresponding second coordinate.
Specifically, when touching down operational order, the coordinate (X ', Y ') for touching down the point of operational order is had recorded,
When lifting operational order, record lifts the coordinate (X of the point of the trigger position of operational orderu, Yu), this lifts operation and refers to
The generation position of order is X with the corresponding horizontal distance occurred between position for touching down operational orderu- X '=Δ X, vertical range
For Yu- Y '=Δ Y then lifts the generation position of operational order and corresponding the distance between the generation position for touching down operational order
Step 202, judge that this lifts operational order and touches down whether the distance between operational order is more than third with corresponding
Predetermined threshold value.
According to the distance between first coordinate and second coordinate, described lift operational order and described touch down behaviour
Time interval between instructing, and occur described in lift operational order before preset time in whether occurred another group
It lifts operational order and touches down operational order, lift whether operational order triggers single-click operation event, double click operation described in judgement
Event, maloperation event, and corresponding processing is executed according to judging result.
Specifically, it calculates after touching down a little and lift the distance between a little, operates triggered behaviour to judge to lift
Whether be maloperation, then need to compare calculated distance and third predetermined threshold value preset in Trackpad size,
If the distance is more than third predetermined threshold value, judges that this lifts operational order and will not trigger and click or double click event;If
The distance be no more than third predetermined threshold value, then continue following step judge this lift operational order be triggering click event
Or double click event.
Specifically, moving operation order is executed on the touch pad to trigger short-range light in order to avoid passing through in user
When the moving event of mark moving event or corresponding contents, which is single-click operation order by Trackpad, and
The notification message that triggering click event is sent to terminal, in the embodiment of the present invention, receive lift operational order when, can first
The trigger point of operational order is lifted in judgement and whether the distance between the corresponding trigger point for touching down operational order is more than that third is pre-
Gating limit value then illustrates that this lifts operational order and cannot trigger and clicks or double click event if it exceeds the third predetermined threshold value.
Certainly, if the distance is more than third predetermined threshold value but is no more than the second predetermined threshold value, this lifts operational order
The moving event of cursor moving event or corresponding contents cannot be triggered, but is identified as maloperation instruction, and be ignored.
Step 203, it judges whether there is and clicks timer.
Wherein, according to the distance between first coordinate and second coordinate, it is described lift operational order with it is described
It touches down the time interval between operational order, and whether occurred in the preset time before lifting operational order described in occurring
Another group is lifted and operational order and touches down operational order, lifts whether operational order triggers single-click operation event, double described in judgement
Hit action event, maloperation event specifically: when the distance between first coordinate and second coordinate are pre- less than third
Gating limit value, the operational order and the time interval touched down between operational order of lifting is less than between the first preset time
Every, and lift operation in the second prefixed time interval before lifting operational order described in occurring there is no another group excessively and refer to
When enabling and touching down operational order, operational order is lifted described in judgement and triggers the single-click operation event;When first coordinate with
The distance between described second coordinate is less than the third predetermined threshold value, and the operational order that lifts touches down operation and refer to described
Second before time interval between order lifts operational order less than first prefixed time interval, and described in generation is pre-
If another group occurred in time interval to lift operational order and when touching down operational order, operational order triggering is lifted described in judgement
The double click operation event;When the distance between first coordinate and second coordinate are greater than the third pre-determined threshold
Value or operational order and the time interval touched down between operational order lifted are greater than first prefixed time interval
When, operational order is lifted described in judgement triggers the maloperation event.
Wherein, judge that whether occurring another group in the second prefixed time interval before this lifts operational order lifts behaviour
Whether make instruction is by whether sentencing in the presence of clicking timer and clicking timer and execute with the method for touching down operational order
It is disconnected.
It should be noted that click event is to be touched down operational order by one group and lifted operational order to trigger, and double-click
Event is continuously to be touched down operational order by two groups and lifted operational order to trigger, and touches down operational order and lift for one group in triggering
After playing operational order, touches down operational order if executing one group again in the time interval of very little and lifts operational order,
Trigger double click event.Wherein, clicking timer is to touch down operational order at first group of generation and start after lifting operational order,
If being not received by second group in some preset time after clicking timer and starting to touch down operational order and lift operation
Instruction, then will trigger click event;If having received second group of touching clicking in some preset time after timer starting
Lower operational order and operational order is lifted, then will cancel this and click timer.Therefore, it will be understood that, this clicks timer
For judging that first group touches down operational order and lift operational order and whether can trigger and click processing event.
If there is no timer is clicked, 204 are thened follow the steps;If there is timer is clicked, 205 are thened follow the steps.
Step 204, judge that this lifts operational order and whether the corresponding time interval touched down between operational order is less than
First prefixed time interval clicks timer if it is less than then starting.
If there is no timer is clicked, illustrate do not have in the preset time before occurring this time to lift operational order
Occur another group and touched down operational order and to lift operational order, then judge this time to lift operational order and corresponding touches down operation
Whether time interval between instruction if it is less than then starting clicks timer less than the first prefixed time interval.This is first pre-
If time interval be used for measure this lift operational order and it is corresponding touch down operational order whether meet triggering click event when
Between space requirement.
After timer is clicked in starting, clicks timer and start timing, and within the time of setting, if be not received by
Second group touches down operational order and lifts operational order, then this is clicked timer and runs one section of code, triggers click event, and
Timer is clicked in cancellation.
Step 205, whether the time interval that operational order is this time lifted in judgement and last time lifts between operational order is less than
Second prefixed time interval.
If there is timer is clicked, then explanation has occurred one group before occurring this time to lift operational order and touches down operation
Instruct and lift operational order.In order to judge this time to lift operational order and corresponding touch down operational order and last occur
One group touches down and operational order and lifts whether operational order can trigger double click event, need to judge twice lift operational order
Between time interval whether less than the second prefixed time interval, if it is less, explanation can trigger double click event, otherwise clearly
Empty current operation status.
If lifting the time interval between operational order twice less than the second prefixed time interval, 206 are thened follow the steps,
It is no to then follow the steps 207.
Step 206, double click event is triggered.
If click timer setting with to determine whether having received the in the time interval of triggering click event
Two groups touch down operational order and lift operational order, then to cancel and click timer.And the time of operational order is lifted at two groups
Under the premise of interval meets the second prefixed time interval, double click event can trigger.
Step 207, current operation status is emptied.
If click timer setting with to determine whether having received the in the time interval of triggering click event
Two groups of time intervals for touching down operational order and lifting operational order, but lifting operational order twice are unsatisfactory for triggering double-click thing
The condition of part then executes the operation for emptying current operation status.
The embodiment of the present invention, which realizes, as a result, handles the operational order that lifts received, and then realizes and pass through
Lift the result of operational order triggering click event and double click event.
It is described below in detail and the process handled is instructed to received moving operation.Fig. 3 provides for the embodiment of the present invention
A kind of moving operation instruction processing method flow chart.Trackpad is described in detail in the embodiment and detects that moving operation refers to
The processing carried out after order.As shown in figure 3, the embodiment specifically includes the following steps:
Step 301, calculate moving operation order in operate be presently between position and the initial position of operation away from
From.
After receiving moving operation order, position can be presently according to certain frequency sampling moving operation
(Xm, Ym), and calculate and be presently in the distance between position and initial position (X ', Y '), is i.e. moving operation moves horizontally distance
Xm- X '=Δ X and vertical travel distance Ym- Y '=Δ Y.
Step 302, judge relative direction corresponding to the moving direction operated in moving operation order.
It specifically, can be according to the current institute of certain frequency sampling moving operation after receiving moving operation order
Locate position, when sampling first time, current operation status is original state, judgement can be passed through at this time | Δ X | with | Δ Y | it is big
It is small to be also vertically oriented to determine that relative direction corresponding to the moving operation is horizontally oriented.When | Δ X | be less than | Δ Y | when,
Judge that relative direction corresponding to the moving direction of moving operation for vertical direction, if Δ Y is positive value, judges moving operation
Moving direction corresponding to relative direction be it is upward, if Δ Y be negative value, judge corresponding to the moving direction of moving operation
Relative direction be downward;When | Δ X | be greater than | Δ Y | when, judge that relative direction corresponding to the moving direction of moving operation is
Horizontal direction judges relative direction corresponding to the moving direction of moving operation for the right, if Δ X if Δ X is positive value
For negative value, then judge relative direction corresponding to the moving direction of moving operation for the left.It is sampling for the first time and is judging to move
After relative direction corresponding to the moving direction of dynamic operation, setting current operation status is to work as the moving direction judged, such as left
It moves or moves to right or move up or move down.When i-th (i > 1) secondary sampling, judged by inquiring the current operation status of Trackpad
Relative direction corresponding to the moving direction of moving operation.
Step 303, judge whether the moving distance operated in moving operation order meets triggering cursor moving event or phase
Answer the condition of the moving event of content.
After judging relative direction corresponding to the moving direction of moving operation by step 302, if it is determined that mobile behaviour
Relative direction corresponding to the moving direction of work is horizontal direction, then judges | Δ X | whether it is greater than the second predetermined threshold value, if
It is greater than, then illustrates that the moving operation can trigger the moving event of cursor moving event or corresponding contents in the horizontal direction, then root
According to the positive and negative of Δ X, that is, can trigger corresponding cursor or corresponding contents moves to left or moves to right event;If it is determined that the shifting of moving operation
Relative direction corresponding to dynamic direction is vertical direction, then judges | Δ Y | whether it is greater than the second predetermined threshold value, if it does,
Then illustrate that the moving operation can vertically trigger the moving event of cursor moving event or corresponding contents, then according to Δ Y
It is positive and negative, that is, can trigger corresponding cursor or corresponding contents moves up or moves down event.
If meeting the condition of the moving event of triggering cursor moving event or corresponding contents, 304 are thened follow the steps, otherwise
Execute step 305.
Step 304, relative direction corresponding to the moving direction according to moving operation and moving distance triggering cursor are mobile
The moving event of event or corresponding contents.
Specifically, if | Δ X | or | Δ Y | only be greater than the second predetermined threshold value, and be not more than the first predetermined threshold value, then
When triggering the moving event of cursor moving event or corresponding contents, the moving distance of cursor or corresponding contents and | Δ X | or | Δ Y |
Size there are certain proportionate relationships;As | Δ X | or | Δ Y | when being greater than the first predetermined threshold value, cursor or corresponding contents
Moving distance and | Δ X | or | Δ Y | size corresponding proportionate relationship is not present, as long as moving operation instruction is not terminated,
Operational order is lifted without triggering, so that it may the movement for persistently triggering cursor or corresponding contents, until cursor or corresponding contents
The boundary position of terminal interface is arrived.That is, as long as moving distance is more than the first predetermined threshold value, even if moving operation exists
Position on Trackpad is no longer changed, and cursor or corresponding contents can continue to according to moving direction movement.Thus it solves
By a moving operation it can not trigger the problem that cursor realizes the movement of big distance.
Certainly, if the current behaviour saved in the corresponding relative direction of current moving direction of Trackpad and Trackpad
Make state it is inconsistent when, also to execute the operation for updating the current operation status of Trackpad, i.e., Trackpad is current mobile side
The current operation status of Trackpad is saved as to corresponding relative direction.
Step 305, the input of user is waited, that is, waits the subsequent variation of moving operation.
If by judgement, obtain | Δ X | and | Δ Y | no more than the second predetermined threshold value as a result, if illustrate the shifting
Dynamic operation can not trigger the moving event of cursor moving event or corresponding contents, can continue waiting for the input of user, machine at this time
Wait the subsequent variation of moving operation.
As a result, through the above steps in generate on the touch pad moving operation instruction processing, realize using touching
Control plate simply in controlling terminal cursor or corresponding contents movement, improve the ease for use of Trackpad.
Correspondingly, the embodiment of the invention also provides a kind of processing units of instruction.Fig. 4 is provided in an embodiment of the present invention
A kind of processing unit schematic diagram of instruction.As shown in figure 4, the present embodiment includes with lower unit:
Receiving unit 401, for receiving operational order caused by touch operation.
When user generates touch operation on the touch pad, Trackpad detection part is by the contact of the touch operation received
Information, and the contact information is sent to processing element, processing element receive the contact information, and by the contact information
Be converted to the operational order that the touch operation generates.
Detection unit 402, for detecting the type of the operational order.
All operational orders caused by the touch operation that Trackpad receives can be simply divided into three classes: be touched down
Operational order, lifts operational order at moving operation instruction.For different types of operational order, Trackpad will trigger different
Affair logic.
Judging unit 403, for judging the moving operation when the type of the operational order is that moving operation instructs
The moving direction that operates in instruction simultaneously detects the moving distance operated in the moving operation instruction.
When Trackpad detects that the operational order received is moving operation instruction, judging the moving operation first can
What moved with triggering cursor or corresponding contents along moving direction, the movement for then detecting the moving operation again is specific.
Specifically, described when the absolute value of the lateral distance of operation is greater than the absolute value of the longitudinal movement distance of the operation
Relative direction corresponding to the moving direction of operation is horizontal direction;The absolute value of the longitudinal movement distance of the operation is greater than institute
When stating the absolute value of the lateral distance of operation, relative direction corresponding to the moving direction of the operation is vertical direction.
The moving distance of moving operation includes lateral distance and longitudinal movement distance, detect the movement of moving operation away from
From method are as follows: the position that is presently in of detection shift action records coordinate information (Xm, Ym), the querying triggering moving operation
The location coordinate information (X ', Y ') that operation occurs is touched down, moving operation at this time is calculated and moves horizontally distance Xm- X '=Δ X and
Vertical travel distance Ym- Y '=Δ Y.
First processing units 404, for when the moving distance of the operation be more than first predetermined threshold value when, along institute
State the moving event of the triggering cursor moving event of relative direction corresponding to the moving direction of operation or corresponding contents.
When moving distance is more than the second predetermined threshold value but is no more than the first predetermined threshold value, first processing units
404 are specifically used for: when the moving distance of the operation is more than the second predetermined threshold value but is no more than first pre-determined threshold
When value, the corresponding cursor of moving distance that relative direction corresponding to the moving direction along the operation triggers the operation is moved
The moving event of event or corresponding contents.
First processing units 403 are specifically used for: when the moving distance of the operation is more than first predetermined threshold value,
It persistently triggers the cursor or the corresponding contents is moved along the horizontal direction or the vertical direction, lift behaviour when receiving
When instructing, stops triggering the cursor or the corresponding contents are moved along the horizontal direction or the vertical direction;Work as institute
The moving distance of operation is stated more than second predetermined threshold value but when being no more than first predetermined threshold value, described in triggering
Cursor or the corresponding contents move corresponding with the moving distance of the operation along the horizontal direction or the vertical direction
Distance.
It is specifically, as empty since when touching down operational order, current operation status is arranged to original state,
Therefore when detecting current operation status for the first time after moving operation occurs, current operation status is sky.In current operation status
When for sky, compare | Δ X | and | Δ Y | size, if | Δ X | be less than | Δ Y |, compare | Δ Y | with the second predetermined threshold value
Size, if | Δ Y | be greater than the second predetermined threshold value, according to the event that cursor is moved up or moved down by the positive and negative triggering of Δ Y,
If | Δ Y | less than the second predetermined threshold value, the moving event of cursor moving event or corresponding contents is not triggered, is continued waiting for
The touch operation of user;If | Δ X | be greater than | Δ Y |, compare | Δ X | the size with the second predetermined threshold value, if | Δ X |
Greater than the second predetermined threshold value, then according to the positive and negative triggering of Δ X by cursor right or the event moved to left, if | Δ X | less than
Two predetermined threshold values do not trigger the moving event of cursor moving event or corresponding contents then, continue waiting for the touch operation of user.
After triggering the event for moving up or moving down or move to left or move to right of cursor or corresponding contents, if the current operation saved
State is not consistent with the moving event of the cursor moving event or corresponding contents that trigger at present, then will also be according to the light triggered at present
The moving event for marking moving event or corresponding contents updates saved current operation status.
It is more than the second predetermined threshold value in the horizontally or vertically moving distance of moving operation but is no more than the first pre- gating
When limit value, relative direction corresponding to the moving direction along the operation triggers cursor or corresponding contents move the level of the operation
Or the corresponding distance of vertical travel distance;When the horizontally or vertically moving distance of touch operation is more than the first predetermined threshold value,
Even if user no longer moves on the touch pad, and is only to maintain finger without departing from Trackpad, can also trigger cursor is persistently moved,
Until cursor or corresponding contents are moved to the marginal position at interface;It is i.e. super in the horizontally or vertically moving distance of touch operation
The first predetermined threshold value is crossed, and under the premise of not triggering and lifting operational order, cursor continuous moving can be triggered.It thus avoids
By cursor or the mobile sizable distance of corresponding contents, and cursor or corresponding contents reality can not be triggered by a moving operation
The now problem of the movement of sizable distance.
It should be noted that during user executes moving operation, when triggering cursor moving event or corresponding contents
Moving event when, if the moving event of the cursor moving event or corresponding contents that are triggered and the current operation shape saved
State is inconsistent, then can update current operation status according to the moving event of the cursor moving event or corresponding contents triggered.
Current operation status include the original state, end state, shift left operation state, right-shift operation state, move up mode of operation,
Move down mode of operation.
Preferably, device further include: the second processing unit 405 is to touch down behaviour for the type when the operational order
When instructing, the current operation status of the Trackpad is set as original state, and the hair of operational order is touched down described in record
Corresponding first coordinate in life position.
Preferably, device further include: third processing unit 406, third processing unit, for when the operational order
Type is the current operation status of the Trackpad to be set as end state, and lift described in record when lifting operational order
Corresponding second coordinate in the generation position of operational order.
Third processing unit 406 is also used to: third processing unit is also used to: being sat according to first coordinate and described second
The distance between mark, it is described lift operational order and the time interval touched down between operational order, and the lift occurs
Another group whether occurred in preset time before playing operational order to lift operational order and touch down operational order, described in judgement
It lifts whether operational order triggers single-click operation event, double click operation event, maloperation event, and phase is executed according to judging result
The processing answered.
Judging that this lifts after what operational order can trigger, corresponding place can be executed according to judging result
Reason, third processing unit 406 are specifically used for: the operational order that lifts triggers the single-click operation event or the double click operation
When event, single-click operation processing or double click operation processing are executed;It is described lift operational order trigger the maloperation event when, suddenly
It is slightly described to lift operational order.
Wherein, the judgement of third processing unit 406 lifts what operational order can trigger method particularly includes: works as institute
It states the distance between the first coordinate and second coordinate and is less than third predetermined threshold value, it is described to lift operational order and the touching
Time interval between lower operational order lifts the before operational order less than the first prefixed time interval, and described in occurring
When lifting operational order there is no another group excessively in two prefixed time intervals and touch down operational order, operation is lifted described in judgement
Single-click operation event described in instruction triggers;When the distance between first coordinate and second coordinate are pre- less than the third
Gating limit value, operational order and the time interval touched down between operational order lifted is less than first preset time
Interval, and occurred another group in the second prefixed time interval before lifting operational order described in occurring and lift operational order
Operational order is lifted when with touching down operational order, described in judgement triggers the double click operation event;When first coordinate and institute
The distance between second coordinate is stated greater than the third predetermined threshold value or described lift operational order and touches down operation with described and refer to
When time interval between order is greater than first prefixed time interval, operational order is lifted described in judgement and triggers the maloperation
Event.
The present embodiment is by receiving operational order caused by touch operation as a result,;The type for detecting operational order, works as behaviour
When to make the type that instructs be moving operation instruction, judge the moving direction operated in moving operation instruction and detect moving operation to refer to
The moving distance operated in order, when the moving distance of operation is more than the first predetermined threshold value, the moving direction institute along operation is right
The moving event of the relative direction triggering cursor moving event or corresponding contents answered.It is thus achieved that generating on the touch pad
Touch operation instruction is handled, and then realizes the movement using cursor or corresponding contents on Trackpad simply controlling terminal,
Improve the ease for use of Trackpad.
Professional should further appreciate that, described in conjunction with the examples disclosed in the embodiments of the present disclosure
Unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate
The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description.
These functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.
Professional technician can use different methods to achieve the described function each specific application, but this realization
It should not be considered as beyond the scope of the present invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can be executed with hardware, processor
The combination of software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only memory
(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In any other form of storage medium well known to interior.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects
It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention
Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include
Within protection scope of the present invention.
Claims (16)
1. a kind of processing method of touch command, which is characterized in that the described method includes:
Receive operational order caused by the touch operation being converted to by contact information;
Detect the type of the operational order;
When the type of the operational order is that moving operation instructs, the moving direction operated in the moving operation instruction is judged
And detect the moving distance operated in the moving operation instruction;
It when the moving distance of the operation is more than the first predetermined threshold value, and does not trigger when lifting operational order, along the operation
Moving direction corresponding to relative direction persistently trigger the moving events of cursor moving event or corresponding contents;
Wherein, it when the moving distance of the operation is more than first predetermined threshold value, and no longer moves but protects on the touch pad
When holding finger without departing from Trackpad, relative direction corresponding to the moving direction along the operation persistently triggers cursor moving event
Or the moving event of corresponding contents is that relative direction corresponding to moving direction along the operation continues to trigger the cursor and holds
Continuous movement;
Wherein, the operational order includes three classes: touching down operational order, moving operation instruction and lifts operational order;According to not
The operational order of same type will trigger different affair logics.
2. the processing method of touch command according to claim 1, which is characterized in that the judgement moving operation refers to
The moving direction that is operated in order and after detecting the moving distance operated in the moving operation instruction further include: when the operation
Moving distance when being more than the second predetermined threshold value but being no more than first predetermined threshold value, along the side of movement of the operation
The mobile thing of the corresponding cursor moving event of the moving distance for triggering the operation to corresponding relative direction or corresponding contents
Part.
3. the processing method of touch command according to claim 1, which is characterized in that the lateral distance of the operation
The absolute value longitudinal movement distance that is greater than the operation absolute value when, opposite side corresponding to the moving direction of the operation
To for horizontal direction;The absolute value of the longitudinal movement distance of the operation is greater than the absolute value of the lateral distance of the operation
When, relative direction corresponding to the moving direction of the operation is vertical direction.
4. the processing method of touch command according to claim 3, which is characterized in that the movement when the operation away from
It from being more than first predetermined threshold value, and does not trigger when lifting operational order, corresponding to the moving direction along the operation
Relative direction persistently triggers the moving event of cursor moving event or corresponding contents specifically: when the moving distance of the operation is super
When crossing first predetermined threshold value, the cursor or the corresponding contents are persistently triggered along the horizontal direction or described vertical
Direction is mobile, when receive it is described lift operational order when, stop triggering the cursor or the corresponding contents along the level
Direction or the vertical direction are mobile;
It is described when the moving distance of the operation is more than the second predetermined threshold value but is no more than first predetermined threshold value,
Relative direction corresponding to moving direction along the operation triggers the corresponding cursor moving event of moving distance of the operation
Or the moving event of corresponding contents specifically: when the moving distance of the operation is more than first predetermined threshold value but do not surpass
When crossing second predetermined threshold value, the cursor or the corresponding contents are triggered along the horizontal direction or the vertical direction
Mobile distance corresponding with the moving distance of the operation.
5. the processing method of touch command according to claim 1, which is characterized in that the detection operational order
After type further include:
When the type of the operational order is to touch down operational order, current operation status is set as original state, and record
Corresponding first coordinate in generation position for touching down operational order;
When the type of the operational order is to lift operational order, the current operation status is set as end state, and
Corresponding second coordinate in generation position of operational order is lifted described in record.
6. the processing method of touch command according to claim 5, which is characterized in that when the type of the operational order is
It is described when lifting operational order, the method also includes: according to the distance between first coordinate and second coordinate, institute
It states and lifts operational order and the time interval touched down between operational order, and before lifting operational order described in occurring
Another group whether occurred in preset time to lift operational order and touch down operational order, whether lifts operational order described in judgement
Single-click operation event, double click operation event, maloperation event are triggered, and corresponding processing is executed according to judging result.
7. the processing method of touch command according to claim 6, which is characterized in that described to execute phase according to judging result
The processing answered specifically: the operational order that lifts triggers the single-click operation event or when the double click operation event, executes
Single-click operation processing or double click operation processing;
It is described when lifting operational order and triggering the maloperation event, ignore and described lifts operational order.
8. the processing method of touch command according to claim 6, which is characterized in that it is described according to first coordinate with
The distance between described second coordinate, it is described lift operational order and the time interval touched down between operational order, and
Another group whether occurred in preset time before lifting operational order described in generation lift operational order to refer to operation is touched down
It enables, lifts whether operational order triggers single-click operation event, double click operation event, maloperation event described in judgement specifically:
When the distance between first coordinate and second coordinate be less than third predetermined threshold value, it is described to lift operational order
Operational order is lifted less than the first prefixed time interval, and described in generation with the time interval touched down between operational order
When lifting operational order there is no another group excessively in the second prefixed time interval before and touch down operational order, described in judgement
It lifts operational order and triggers the single-click operation event;
When the distance between first coordinate and second coordinate be less than the third predetermined threshold value, it is described to lift operation
Instruction and the time interval touched down between operational order are less than first prefixed time interval, and lift described in generation
Another group occurred in the second prefixed time interval before operational order and lifts operational order and when touching down operational order, judgement
The operational order that lifts triggers the double click operation event;
When the distance between first coordinate and second coordinate are greater than the third predetermined threshold value or described lift behaviour
When making instruction and the time interval touched down between operational order greater than first prefixed time interval, lifted described in judgement
Operational order triggers the maloperation event.
9. a kind of processing unit of touch command, which is characterized in that described device includes:
Receiving unit, for receiving operational order caused by the touch operation being converted to by contact information;
Detection unit, for detecting the type of the operational order, wherein the operational order includes three classes: it touches down operation and refers to
It enables, moving operation instructs and lift operational order;
Judging unit, for judging in the moving operation instruction when the type of the operational order is that moving operation instructs
The moving direction of operation simultaneously detects the moving distance operated in the moving operation instruction;
First processing units are more than the first predetermined threshold value for the moving distance when the operation, and do not trigger and lift operation
When instruction, relative direction corresponding to the moving direction along the operation persistently triggers the shifting of cursor moving event or corresponding contents
Dynamic event;According to different types of operational order, different affair logics will be triggered;Wherein, when the moving distance of the operation
More than first predetermined threshold value, and when no longer moving on the touch pad but keeping finger without departing from Trackpad, along the behaviour
It is along described that relative direction corresponding to the moving direction of work, which persistently triggers cursor moving event or the moving event of corresponding contents,
Relative direction corresponding to the moving direction of operation, which continues to trigger the cursor, persistently to be moved.
10. the processing unit of touch command according to claim 9, which is characterized in that the first processing units are also used
In: when the moving distance of the operation is more than the second predetermined threshold value but is no more than first predetermined threshold value, along institute
State the corresponding cursor moving event of moving distance or phase that relative direction corresponding to the moving direction of operation triggers the operation
Answer the moving event of content.
11. the processing unit of touch command according to claim 9, which is characterized in that the transverse shifting of the operation away from
From absolute value be greater than the absolute value with a distance from the longitudinal movement of the operation when, it is opposite corresponding to the moving direction of the operation
Direction is horizontal direction;The absolute value of the longitudinal movement distance of the operation is greater than the absolute of the lateral distance of the operation
When value, relative direction corresponding to the moving direction of the operation is vertical direction.
12. the processing unit of touch command according to claim 11, which is characterized in that the first processing units are specific
For:
When the moving distance of the operation is more than first predetermined threshold value, the cursor or described corresponding interior is persistently triggered
Appearance is moved along the horizontal direction or the vertical direction, when receive it is described lift operational order when, stop triggering the light
Mark or the corresponding contents are moved along the horizontal direction or the vertical direction;
When the moving distance of the operation is more than the second predetermined threshold value but is no more than first predetermined threshold value, triggering
The cursor or the corresponding contents move the moving distance phase with the operation along the horizontal direction or the vertical direction
Corresponding distance.
13. the processing unit of touch command according to claim 9, which is characterized in that described device further include:
The second processing unit, for when the type of the operational order is to touch down operational order, current operation status to be set as
Original state, and corresponding first coordinate in generation position of operational order is touched down described in record;
Third processing unit, for when the type of the operational order be lift operational order when, by the current operation status
It is set as end state, and lifts corresponding second coordinate in generation position of operational order described in record.
14. the processing unit of touch command according to claim 13, which is characterized in that the third processing unit is also used
In: according to the distance between first coordinate and second coordinate, described lift operational order and touch down operation with described and refer to
Whether occurred another group in time interval between order, and preset time before lifting operational order described in occurring and lifted
Operational order and touch down operational order, lifted described in judgement operational order whether trigger single-click operation event, double click operation event,
Maloperation event, and corresponding processing is executed according to judging result.
15. the processing unit of touch command according to claim 14, which is characterized in that the third processing unit is specific
For: the operational order that lifts triggers the single-click operation event or when the double click operation event, executes at single-click operation
Reason or double click operation processing;
It is described when lifting operational order and triggering the maloperation event, ignore and described lifts operational order.
16. the processing unit of touch command according to claim 14, which is characterized in that the third processing unit is specific
For:
When the distance between first coordinate and second coordinate be less than third predetermined threshold value, it is described to lift operational order
Operational order is lifted less than the first prefixed time interval, and described in generation with the time interval touched down between operational order
When lifting operational order there is no another group excessively in the second prefixed time interval before and touch down operational order, described in judgement
It lifts operational order and triggers the single-click operation event;
When the distance between first coordinate and second coordinate be less than the third predetermined threshold value, it is described to lift operation
Instruction and the time interval touched down between operational order are less than first prefixed time interval, and lift described in generation
Another group occurred in the second prefixed time interval before operational order and lifts operational order and when touching down operational order, judgement
The operational order that lifts triggers the double click operation event;
When the distance between first coordinate and second coordinate are greater than the third predetermined threshold value or described lift behaviour
When making instruction and the time interval touched down between operational order greater than first prefixed time interval, lifted described in judgement
Operational order triggers the maloperation event.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210298683.4A CN103631408B (en) | 2012-08-21 | 2012-08-21 | The treating method and apparatus of touch command |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210298683.4A CN103631408B (en) | 2012-08-21 | 2012-08-21 | The treating method and apparatus of touch command |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103631408A CN103631408A (en) | 2014-03-12 |
CN103631408B true CN103631408B (en) | 2019-01-04 |
Family
ID=50212574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210298683.4A Active CN103631408B (en) | 2012-08-21 | 2012-08-21 | The treating method and apparatus of touch command |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103631408B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106775218A (en) * | 2016-11-30 | 2017-05-31 | 努比亚技术有限公司 | A kind of terminal and cursor-moving method |
CN108132753A (en) * | 2017-12-21 | 2018-06-08 | 广州阿里巴巴文学信息技术有限公司 | A kind of recognition methods, device and the terminal device of user gesture operation |
CN108664196A (en) * | 2018-05-21 | 2018-10-16 | 北京华大智宝电子系统有限公司 | A kind of method and device of control cursor movement |
CN110448908B (en) * | 2019-08-22 | 2020-12-01 | 腾讯科技(深圳)有限公司 | Method, device and equipment for applying sighting telescope in virtual environment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1885248A (en) * | 2005-06-20 | 2006-12-27 | 义隆电子股份有限公司 | Object detection method for capacitance type touch panel |
CN1896933A (en) * | 2005-07-13 | 2007-01-17 | 英华达(上海)电子有限公司 | Method for operating mouse on touched-panel cell phone |
CN1945513A (en) * | 2005-10-06 | 2007-04-11 | 鸿富锦精密工业(深圳)有限公司 | Cursor controlling device and method |
CN101324812A (en) * | 2006-12-19 | 2008-12-17 | 邱波 | Human-machine interactive apparatus, electronic equipment and input method |
CN101477423A (en) * | 2009-02-10 | 2009-07-08 | 苏州瀚瑞微电子有限公司 | Method for implementing automatic cursor movement on touch control plate |
CN101833389A (en) * | 2009-03-09 | 2010-09-15 | 怡利电子工业股份有限公司 | Auxiliary method for controlling cursor to move on touch panel |
CN102023751A (en) * | 2010-12-29 | 2011-04-20 | 杨开艳 | Method for achieving positioning and sliding modes of touch pad |
-
2012
- 2012-08-21 CN CN201210298683.4A patent/CN103631408B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1885248A (en) * | 2005-06-20 | 2006-12-27 | 义隆电子股份有限公司 | Object detection method for capacitance type touch panel |
CN1896933A (en) * | 2005-07-13 | 2007-01-17 | 英华达(上海)电子有限公司 | Method for operating mouse on touched-panel cell phone |
CN1945513A (en) * | 2005-10-06 | 2007-04-11 | 鸿富锦精密工业(深圳)有限公司 | Cursor controlling device and method |
CN101324812A (en) * | 2006-12-19 | 2008-12-17 | 邱波 | Human-machine interactive apparatus, electronic equipment and input method |
CN101477423A (en) * | 2009-02-10 | 2009-07-08 | 苏州瀚瑞微电子有限公司 | Method for implementing automatic cursor movement on touch control plate |
CN101833389A (en) * | 2009-03-09 | 2010-09-15 | 怡利电子工业股份有限公司 | Auxiliary method for controlling cursor to move on touch panel |
CN102023751A (en) * | 2010-12-29 | 2011-04-20 | 杨开艳 | Method for achieving positioning and sliding modes of touch pad |
Also Published As
Publication number | Publication date |
---|---|
CN103631408A (en) | 2014-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5732784B2 (en) | Information processing apparatus, information processing method, and computer program | |
CN105549813B (en) | A kind of method for controlling mobile terminal and mobile terminal | |
CN104331182B (en) | Portable terminal with auxiliary touch-screen | |
CN104536643B (en) | A kind of icon drag method and terminal | |
JP2016051266A (en) | Method for improving operability of user input | |
CN109254823B (en) | Method for switching multi-level nested paging view elements, memory and terminal | |
CN105117056A (en) | Method and equipment for operating touch screen | |
CN105431810A (en) | Multi-touch virtual mouse | |
CN103246382A (en) | Control method and electronic equipment | |
CN103631408B (en) | The treating method and apparatus of touch command | |
WO2014169597A1 (en) | Text erasure method and device | |
CN105426078A (en) | Single-hand operation method of mobile terminal and mobile terminal | |
US20180088966A1 (en) | Electronic device and method thereof for managing applications | |
CN106293345A (en) | A kind of application icon display packing and terminal | |
CN109876430A (en) | A kind of control method and device that game role is mobile | |
CN103389871B (en) | The control method of a kind of electronic equipment and electronic equipment | |
CN104077066A (en) | Portable device and operation method | |
CN105892915A (en) | Information processing method and electronic device | |
CN103324320A (en) | Mode switching method and electronic device | |
CN108334267A (en) | A kind of cursor-moving method, system and terminal device | |
CN102520857A (en) | Mobile phone screen unlocking device and unlocking method thereof | |
CN104423548B (en) | A kind of control method and device | |
CN103500062A (en) | Terminal and terminal control method and device | |
CN104714643B (en) | A kind of method, system and mobile terminal that simulated touch screen is realized using sensor | |
CN110427139A (en) | Text handling method and device, computer storage medium, electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231227 Address after: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd. Address before: 518057 Tencent Building, Keji Zhongyi Road, Science Park, Nanshan District, Shenzhen City, Guangdong Province Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |
|
TR01 | Transfer of patent right |