[go: up one dir, main page]

CN103064598A - Rapid dragging method and system for target component - Google Patents

Rapid dragging method and system for target component Download PDF

Info

Publication number
CN103064598A
CN103064598A CN2012105722289A CN201210572228A CN103064598A CN 103064598 A CN103064598 A CN 103064598A CN 2012105722289 A CN2012105722289 A CN 2012105722289A CN 201210572228 A CN201210572228 A CN 201210572228A CN 103064598 A CN103064598 A CN 103064598A
Authority
CN
China
Prior art keywords
gesture
target component
page
screen
touch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012105722289A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN2012105722289A priority Critical patent/CN103064598A/en
Publication of CN103064598A publication Critical patent/CN103064598A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a method and a system for quickly dragging a target component, wherein the method comprises the following steps: a first gesture detection step, which is used for judging the continuous contact time of a first gesture in a target component area when the first gesture located in the target component area is received on a detection touch screen, and suspending the target component when the preset time is reached; a second gesture detection step, which is used for operating the page according to the second gesture received on the touch screen; and a dragging judgment step, which is used for judging whether the leaving position of the first gesture is positioned in the effective area of the page, if so, dragging the suspended target part to the leaving position of the first gesture in the page, otherwise, prompting invalid dragging. According to the invention, the gestures of the hanging part and the operation page are separated, so that a user can realize dragging operation by matching the first gesture and the second gesture, the situation that one hand selects the target part for a long time and carelessly places the target part on a wrong page in the midway is avoided, and misoperation is effectively reduced.

Description

A kind of target component drag fast method and system
Technical field
The present invention relates to the method that drags of target component, more particularly, what relate to a kind of target component drags method and system fast.
Background technology
Exist in the situation of multipage in the system at present, the user drags to the another one page such as needs with certain parts of current page kind, needs the long parts of pressing current page, then is dragged to screen border and waits for interface switching, puts down parts behind the interface that arrival needs and finishes.Operation switches to that page so that the user need to wait for like this, and if midway the user loose one's grip because of carelessness and can cause not being placed on the correct page, cause easily maloperation.
Summary of the invention
The technical problem to be solved in the present invention is, causes easily the defective of maloperation for the method that drags of existing target component, and what a kind of target component was provided drags method and system fast.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of method that drags fast of target component, may further comprise the steps:
The first gesture detecting step is used for judging this first gesture in the continuous contact time in target component zone when the detection touch-screen receives the first gesture that is positioned at the target component zone, reaches Preset Time and then this target component is hung up;
The second gesture detecting step is used for according to the second gesture operation pages that receives on the touch-screen;
Dragging determining step, be used for judging the effective coverage whether position is positioned at the page of leaving of described the first gesture, is then to drag the target component of hang-up to the position of leaving of the first gesture described in the page, otherwise that prompting drags is invalid.
According to the dragging fast in the method for target component of the present invention, specifically comprise according to the second gesture operation pages that receives on the touch-screen in described the second gesture detecting step: according to the conversion of the second gesture or the slip page that receive on the touch-screen.
Dragging fast in the method according to target component of the present invention, the described the effective coverage whether position be positioned at the page of leaving of judging described the first gesture in the determining step that drags is specially: judge that described the first gesture leaves the effective coverage whether position is positioned at the page before described the second gesture operation pages, perhaps described the first gesture is left the effective coverage whether position is positioned at the page after described the second gesture operation pages.
According to the dragging fast in the method for target component of the present invention, described Preset Time is greater than 1000ms.
The present invention also provides a kind of Fast Drag System of target component, comprising:
The first gesture detection module is used for judging this first gesture in the continuous contact time in target component zone when the detection touch-screen receives the first gesture that is positioned at the target component zone, reaches Preset Time and then this target component is hung up;
The second gesture detection module is used for according to the second gesture operation pages that receives on the touch-screen;
Dragging judge module, be used for judging the effective coverage whether position is positioned at the page of leaving of described the first gesture, is then to drag the target component of hang-up to the position of leaving of the first gesture described in the page, otherwise that prompting drags is invalid.
In the Fast Drag System according to target component of the present invention, specifically comprise according to the second gesture operation pages that receives on the touch-screen in described the second gesture detection module: according to the conversion of the second gesture or the slip page that receive on the touch-screen.
In the Fast Drag System according to target component of the present invention, the described the effective coverage whether position be positioned at the page of leaving of judging described the first gesture in the judge module that drags is specially: judge that described the first gesture leaves the effective coverage whether position is positioned at the page before described the second gesture operation pages, perhaps described the first gesture is left the effective coverage whether position is positioned at the page after described the second gesture operation pages.
In the Fast Drag System according to target component of the present invention, described Preset Time is greater than 1000ms.
That implements target component of the present invention drags method and system fast, have following beneficial effect: the present invention separates by the gesture that will hang up parts and operation pages, so that the user can be by the first gesture and the second gesture realization drag operation that matches, avoid a pushing time to choose target component and because of carelessness it is placed on the wrong page halfway, effectively reduced maloperation.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the process flow diagram according to the preferred embodiment of the method that drags fast of target component of the present invention;
Fig. 2 is the module diagram of the Fast Drag System of target component according to the preferred embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.
See also Fig. 1, be the process flow diagram according to the preferred embodiment of the method that drags fast of target component of the present invention.As shown in Figure 1, the method that drags fast of the target component that provides of this embodiment specifically may further comprise the steps:
At first, in step S101, flow process begins.
Subsequently, in step S102, beginning to carry out the first gesture detecting step, detect on the touch-screen whether receive the first gesture that is positioned at the target component zone, is then to turn step S103, proceeds to detect otherwise turn step S102.Particularly, whether detect currently has a hand on touch-screen, then to detect coordinate that this first gesture clicks (down) whether in the target component zone, can be by the coordinate (x of the first gesture click, y), with target component zone Rect (L, T, R, B) judge that wherein L is the position, left side (left) in target component zone, T is the position, top (top) in target component zone, R is the position, right side (right) in target component zone, and T is the position, top (top) in target component zone.If L<x<R and T<y<B then assert in the target component zone, otherwise do not exist.
Subsequently, in step S103, judge whether the first gesture reaches Preset Time in the continuous contact time in target component zone, is then to turn step S104, otherwise turn step S102.The moment that for example the record gesture falls (down) when detecting the first gesture that is positioned at the target component zone.If this of user the first gesture is always by on touch-screen then can move mobile (move) action, until loosing one's grip, the user namely receives departure motion (up), need equally in shift action to judge whether the first gesture continues to press in the target component zone, when being positioned at the target component zone, then recording the first gesture is the moment that gesture is left (up) to deduct the moment that gesture falls (down) in the continuous contact time in target component zone.If this continuous contact time, is then judged the user greater than Preset Time and thinks mobile this target component, therefore this target component hung up.This Preset Time can be greater than 1000ms.Again the gesture on the touch-screen is not detected if reach Preset Time then turn step S102.
Subsequently, in step S105, beginning to carry out the second gesture detecting step, detect on the touch-screen whether receive the second gesture, is then to turn step S106, continues to detect otherwise turn step S105.
Subsequently, in step S106, according to the second gesture operation pages that receives on the touch-screen.Can determine conversion or the slip page according to the type of action of the second gesture that receives on the touch-screen in this step.For example, the second gesture can be to switch between multi-page, also can be the scroll bar of slip current page, so that the remainder of current page is shown on the screen.
Subsequently, in step S107, begin to carry out dragging determining step, judge the external effective coverage that whether is positioned at the page of leaving of the first gesture, be then to turn step S108, otherwise turn step S109.After first hand leaves touch-screen, judge the position of leaving of the first gesture, the position Rect (L1 that the target component zone being drawn to when namely the first gesture was left, T1, R1, B1), be Rect (L2 in page effective coverage, T2, R2, B2), namely whether satisfy simultaneously: L1 L2, T1〉T2, R1<R2, B1<B2; Be the effective coverage that the position is positioned at the page of leaving of then judging the first gesture, otherwise be not positioned at.In some embodiments of the invention, the user can carry out the second gesture again after the first gesture is left, and judges in this step that namely the first gesture leaves the effective coverage whether position is positioned at the page before the second gesture operation pages.Like this, the user can refer to that priority is carried out the first gesture and the second gesture operates by the same hand.In other embodiment of the present invention, the user can carry out the second gesture within the time that the first gesture continues to press, and namely the first gesture is left the effective coverage whether position is positioned at the page in this step after the second gesture operation pages.Like this, on one side the user can pin parts by a finger, another finger can quick sliding, can loose one's grip after switching to the interface that needs, and realizes dragging fast, and then cooperates by two fingers and to carry out the first gestures and the second gesture is finished drag operation.
In step S108, the target component that drags hang-up to the page the first gesture leave position, i.e. drag operation success.
In step S109, it is invalid that prompting drags.For example can point out " page is without the space ".
At last, this flow process ends at step S110.And can again begin to carry out flow process from step S101.
To sum up, by the present invention, the user can not need a pushing time to choose target component again, then be dragged to screen border and wait for interface switching, put down again parts after arriving the interface that needs, but can realize drag operation by the compounding practice of a hand or two hands, and avoided because of carelessness target component being placed on the wrong page midway, reduced maloperation.
See also Fig. 2, be the module diagram of the Fast Drag System of target component according to the preferred embodiment of the invention.As shown in Figure 2, the Fast Drag System 200 of the target component that provides of this embodiment comprises at least: the first gesture detection module 202, the second gesture detection module 204 and drag judge module 206.
Wherein, the first gesture detection module 202 is used for judging this first gesture in the continuous contact time in target component zone when the detection touch-screen receives the first gesture that is positioned at the target component zone, reaches Preset Time and then this target component is hung up.Particularly, whether detect currently has a hand on touch-screen, then to detect coordinate that this first gesture clicks (down) whether in the target component zone, can be by the coordinate (x of the first gesture click, y), with target component zone Rect (L, T, R, B) judge that wherein L is the position, left side (left) in target component zone, T is the position, top (top) in target component zone, R is the position, right side (right) in target component zone, and T is the position, top (top) in target component zone.If L<x<R and T<y<B then assert in the target component zone, otherwise do not exist.The moment that the record gesture falls (down) when detecting the first gesture that is positioned at the target component zone.If this of user the first gesture is always by on touch-screen then can move mobile (move) action, until loosing one's grip, the user namely receives departure motion (up), need equally in shift action to judge whether the first gesture continues to press in the target component zone, when being positioned at the target component zone, then recording the first gesture is the moment that gesture is left (up) to deduct the moment that gesture falls (down) in the continuous contact time in target component zone.If this continuous contact time, is then judged the user greater than Preset Time and thinks mobile this target component, therefore this target component hung up.This Preset Time can be greater than 1000ms.If not reaching Preset Time detects the gesture on the touch-screen again.
The second gesture detection module 204 is used for according to the second gesture operation pages that receives on the touch-screen.The second gesture detection module 204 can be determined conversion or the slip page according to the type of action of the second gesture that receives on the touch-screen.For example, the second gesture can be to switch between multi-page, also can be the scroll bar of slip current page, so that the remainder of current page is shown on the screen.
Drag the effective coverage whether position is positioned at the page of leaving that judge module 206 is used for judging described the first gesture, first gesture that is the target component that then drags hang-up to the page leave the position, otherwise it is invalid that prompting drags, for example prompting " page is without the space ".Particularly, after first hand leaves touch-screen, judge the position of leaving of the first gesture, the target component zone being drawn to when namely the first gesture was left position Rect (L1, T1, R1, B1), be Rect (L2, T2 in page effective coverage, R2, B2), namely whether satisfy simultaneously: L1 L2, T1〉T2, R1<R2, B1<B2; Be the effective coverage that the position is positioned at the page of leaving of then judging the first gesture, otherwise be not positioned at.In some embodiments of the invention, the user can carry out the second gesture again after the first gesture is left, and judges in this step that namely the first gesture leaves the effective coverage whether position is positioned at the page before the second gesture operation pages.Like this, the user can refer to that priority is carried out the first gesture and the second gesture operates by the same hand.In other embodiment of the present invention, the user can carry out the second gesture within the time that the first gesture continues to press, and namely the first gesture is left the effective coverage whether position is positioned at the page in this step after the second gesture operation pages.Like this, on one side the user can pin parts by a finger, another finger can quick sliding, can loose one's grip after switching to the interface that needs, and realizes dragging fast, and then cooperates by two fingers and to carry out the first gestures and the second gesture is finished drag operation.
Should explanatorily be, target component provided by the invention to drag fast the principle that method and system adopts identical with flow process, therefore to the Fast Drag System that also is applicable to target component that elaborates of each embodiment of the method that drags fast of target component.
The present invention is described according to specific embodiment, but it will be understood by those skilled in the art that when not breaking away from the scope of the invention, can carry out various variations and be equal to replacement.In addition, for adapting to specific occasion or the material of the technology of the present invention, can carry out many modifications and not break away from its protection domain the present invention.Therefore, the present invention is not limited to specific embodiment disclosed herein, and comprises that all drop into the embodiment of claim protection domain.

Claims (8)

1. the method that drags fast of a target component is characterized in that, may further comprise the steps:
The first gesture detecting step is used for judging this first gesture in the continuous contact time in target component zone when the detection touch-screen receives the first gesture that is positioned at the target component zone, reaches Preset Time and then this target component is hung up;
The second gesture detecting step is used for according to the second gesture operation pages that receives on the touch-screen;
Dragging determining step, be used for judging the effective coverage whether position is positioned at the page of leaving of described the first gesture, is then to drag the target component of hang-up to the position of leaving of the first gesture described in the page, otherwise that prompting drags is invalid.
2. the method that drags fast of target component according to claim 1, it is characterized in that, specifically comprise according to the second gesture operation pages that receives on the touch-screen in described the second gesture detecting step: according to the conversion of the second gesture or the slip page that receive on the touch-screen.
3. the method that drags fast of target component according to claim 1, it is characterized in that, the described the effective coverage whether position be positioned at the page of leaving of judging described the first gesture in the determining step that drags is specially: judge that described the first gesture leaves the effective coverage whether position is positioned at the page before described the second gesture operation pages, perhaps described the first gesture is left the effective coverage whether position is positioned at the page after described the second gesture operation pages.
4. the method that drags fast of target component according to claim 1 is characterized in that, described Preset Time is greater than 1000ms.
5. the Fast Drag System of a target component is characterized in that, comprising:
The first gesture detection module is used for judging this first gesture in the continuous contact time in target component zone when the detection touch-screen receives the first gesture that is positioned at the target component zone, reaches Preset Time and then this target component is hung up;
The second gesture detection module is used for according to the second gesture operation pages that receives on the touch-screen;
Dragging judge module, be used for judging the effective coverage whether position is positioned at the page of leaving of described the first gesture, is then to drag the target component of hang-up to the position of leaving of the first gesture described in the page, otherwise that prompting drags is invalid.
6. the Fast Drag System of target component according to claim 5, it is characterized in that, specifically comprise according to the second gesture operation pages that receives on the touch-screen in described the second gesture detection module: according to the conversion of the second gesture or the slip page that receive on the touch-screen.
7. the Fast Drag System of target component according to claim 5, it is characterized in that, the described the effective coverage whether position be positioned at the page of leaving of judging described the first gesture in the judge module that drags is specially: judge that described the first gesture leaves the effective coverage whether position is positioned at the page before described the second gesture operation pages, perhaps described the first gesture is left the effective coverage whether position is positioned at the page after described the second gesture operation pages.
8. the Fast Drag System of target component according to claim 5 is characterized in that, described Preset Time is greater than 1000ms.
CN2012105722289A 2012-12-25 2012-12-25 Rapid dragging method and system for target component Pending CN103064598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105722289A CN103064598A (en) 2012-12-25 2012-12-25 Rapid dragging method and system for target component

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105722289A CN103064598A (en) 2012-12-25 2012-12-25 Rapid dragging method and system for target component

Publications (1)

Publication Number Publication Date
CN103064598A true CN103064598A (en) 2013-04-24

Family

ID=48107243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105722289A Pending CN103064598A (en) 2012-12-25 2012-12-25 Rapid dragging method and system for target component

Country Status (1)

Country Link
CN (1) CN103064598A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778198A (en) * 2014-12-30 2015-07-15 北京奇虎科技有限公司 Method and device for viewing page information of mobile terminal
CN117149028A (en) * 2023-10-27 2023-12-01 Tcl通讯科技(成都)有限公司 Display control method and device, storage medium and terminal equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080102900A1 (en) * 2006-10-31 2008-05-01 Research In Motion Limited System, method, and user interface for controlling the display of images on a mobile device
US20100138782A1 (en) * 2008-11-30 2010-06-03 Nokia Corporation Item and view specific options
CN102221931A (en) * 2011-06-28 2011-10-19 鸿富锦精密工业(深圳)有限公司 Touch electronic device and function chart shifting method thereof
CN102402369A (en) * 2010-09-13 2012-04-04 联想(北京)有限公司 Electronic equipment and method for moving operation prompt identifier thereof
CN102736826A (en) * 2011-04-08 2012-10-17 深圳富泰宏精密工业有限公司 Method and system for arranging user interface of action device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080102900A1 (en) * 2006-10-31 2008-05-01 Research In Motion Limited System, method, and user interface for controlling the display of images on a mobile device
US20100138782A1 (en) * 2008-11-30 2010-06-03 Nokia Corporation Item and view specific options
CN102402369A (en) * 2010-09-13 2012-04-04 联想(北京)有限公司 Electronic equipment and method for moving operation prompt identifier thereof
CN102736826A (en) * 2011-04-08 2012-10-17 深圳富泰宏精密工业有限公司 Method and system for arranging user interface of action device
CN102221931A (en) * 2011-06-28 2011-10-19 鸿富锦精密工业(深圳)有限公司 Touch electronic device and function chart shifting method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778198A (en) * 2014-12-30 2015-07-15 北京奇虎科技有限公司 Method and device for viewing page information of mobile terminal
CN117149028A (en) * 2023-10-27 2023-12-01 Tcl通讯科技(成都)有限公司 Display control method and device, storage medium and terminal equipment

Similar Documents

Publication Publication Date Title
CN102221931B (en) The method that touch-type electronic installation and icon thereof move
CN102883066B (en) Method for realizing file operation based on hand gesture recognition and cellphone
CN102830907B (en) A kind of touch screen mobile terminal and placement figure calibration method thereof
CN102681786B (en) Method and device for text selection
CN102779006B (en) Object transfer method based on touch screen and touch screen intelligent device
KR102076191B1 (en) System and method to share electrodes between capacitive touch controller and gesture detection device
CN203054785U (en) Side-touch induction device
US20140022193A1 (en) Method of executing functions of a terminal including pen recognition panel and terminal supporting the method
CN104156073A (en) Mobile terminal and operation method thereof
CN103425394B (en) A kind of method and device thereof of the rollover icon position for touch-screen
CN105607853B (en) A kind of information processing method and electronic equipment
WO2013060178A1 (en) Method and device for switching application program of touch screen terminal
CN105700668A (en) Method for processing data collected by touch screen and terminal equipment
JP2011143557A5 (en)
US20130167084A1 (en) Information terminal, method of controlling information terminal, and program for controlling information terminal
CN105183235A (en) Method for preventing mistakenly touching edge of touch control screen
CN103176670A (en) Touch display panel and driving method thereof
WO2014201936A1 (en) Window moving method of mobile device and apparatus thereof
RU2015109755A (en) INFORMATION PROCESSING DEVICE, INFORMATION PROCESSING METHOD AND RELATED PROGRAM
CN103793175A (en) Touch screen communication terminal and touch response method and system in communication state thereof
CN105630345B (en) A kind of method and apparatus controlling display direction
CN103164135A (en) Method and device for electronic equipment unlocking and electronic equipment
CN103809853A (en) Information processing method and electronic device
CN107506092A (en) A kind of input control method and terminal
CN102981745A (en) Method and device of switchover calendar views

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130424