CN104142790A - Electronic document moving control method and terminal - Google Patents

Electronic document moving control method and terminal Download PDF

Info

Publication number
CN104142790A
CN104142790A CN201310166108.3A CN201310166108A CN104142790A CN 104142790 A CN104142790 A CN 104142790A CN 201310166108 A CN201310166108 A CN 201310166108A CN 104142790 A CN104142790 A CN 104142790A
Authority
CN
China
Prior art keywords
electronic document
distance
sliding trace
terminal
origin coordinates
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
CN201310166108.3A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310166108.3A priority Critical patent/CN104142790A/en
Publication of CN104142790A publication Critical patent/CN104142790A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses an electronic document moving control method and a terminal and belongs to the field of touch control. The electronic document moving control method includes detecting gesture operation on an electronic document, wherein the gesture operation includes continuous contact with a touch display screen of the terminal and a slide track formed by continuous contact; recording the position of the electronic document at the beginning of the gesture operation and start coordinates and finish coordinates of the slide track corresponding to the gesture operation; calculating an included angle between a straight line formed by the start coordinate and the finished coordinate and the first direction of the touch display screen according to the start coordinates and the finish coordinates of the slide track; changing the position of the electronic document according to degrees of the included angle. By the electronic document moving control method and the terminal, accuracy in electronic document moving control is improved, repeated operation of users is reduced, battery capacity is saved, and battery life of the terminal is prolonged.

Description

Electronic document control method for movement and terminal
Technical field
The present invention relates to touch technology field, particularly a kind of electronic document control method for movement and terminal.
Background technology
In recent years, the terminal such as smart mobile phone, panel computer, E-book reader or pocket computer on knee is carried out alternately with user with the peripheral hardware that includes touch-sensitive surface more and more.Touch-sensitive surface comprises touch display screen and touch control operation plate, and touch-sensitive surface is commonly used to user interface to control.
More and more application that are applicable to above-mentioned terminal have been developed to meet user's demand.Electronic document reader is one of application of enjoying a lot of current user, can meet user and check fast, easily the demand of e-book.
But because the display screen of different terminals has different resolution, user need to amplify electronic document the content that just can see document clearly sometimes.Please refer to Fig. 1 a, Fig. 1 a is the contrast schematic diagram before and after the electronic document page 11 in touching display screen 10 is exaggerated, and in Fig. 1 a, 11 expressions is the electronic document page before amplifying, and what 11 ' represented is the electronic document page after amplifying.After for example, amplifying for electronic document (document of PDF) that can not automatic typesetting, the page of electronic document 11 ' can exceed the indication range of touch display screen 10, needs user to carry out mobile electron document by finger manipulation.But, in the process of user's finger manipulation mobile electron document, often there is the generation of the problems such as maloperation or location be inaccurate, especially when finger manipulation electronic document moves in the vertical direction, there will be serial, can not be according to user's real intention operation, affected the reading of user to electronic document, please refer to Fig. 1 b, Fig. 1 b is the schematic diagram of user's finger manipulation electronic document page 11 while there is serial.And the generation of this problem, must cause the process of user's finger manipulation electronic document to occur a lot of unnecessary repetitive operations, the spent time increases, and will consume extra electric weight.For the limited terminal of the electric weight of smart mobile phone and panel computer and so on, can shorten cruising time.
Summary of the invention
Often have maloperation or location to be forbidden, need the problem of repetitive operation in order to solve in the process of user's finger manipulation electronic document, the embodiment of the present invention provides a kind of electronic document control method for movement and terminal.
The embodiment of the present invention proposes a kind of electronic document control method for movement, and for control that the electronic document in terminal is slided, described terminal comprises touch display screen, and described touch display screen comprises orthogonal first direction and second direction.Described method comprises: detection effect is in the gesture operation of electronic document, and described gesture operation comprises: with the sliding trace forming after the continuous contact of the touch display screen of terminal and continuous contact; The origin coordinates of the sliding trace that described in when being recorded in described gesture operation and starting, the position of electronic document and described gesture operation are corresponding and stop coordinate; According to the origin coordinates of described sliding trace with stop coordinate, calculate the angle between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form; And change the position of described electronic document according to the size of described angle.
The embodiment of the present invention also provides a kind of terminal, and described terminal comprises touch display screen, and described touch display screen comprises orthogonal first direction and second direction.Described terminal also comprises: detection module, and for detection of the gesture operation that acts on electronic document, described gesture operation comprises: with the sliding trace forming after the continuous contact of the touch display screen of terminal and continuous contact; Logging modle, while beginning for being recorded in described gesture operation described in the position of electronic document and sliding trace corresponding to described gesture operation origin coordinates and stop coordinate; Computing module, for according to the origin coordinates of described sliding trace with stop coordinate, calculates the angle between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form; And control module, for change the position of described electronic document according to the size of described angle.
With respect to prior art, the electronic document control method for movement that the embodiment of the present invention proposes and terminal act on origin coordinates and the termination coordinate of the gesture operation of electronic document by record, calculate the angle between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form, and change the position of described electronic document according to the size of described angle, solve and in the process of user's finger manipulation mobile electron document, often had maloperation or the problem such as location is inaccurate, can improve the degree of accuracy that electronic document is moved to control, reduce the unnecessary repetitive operation of user, save battery electric quantity, increase the effect of the flying power of terminal.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 a is the contrast schematic diagram before and after the electronic document in touching display screen is exaggerated;
Fig. 1 b is the schematic diagram of user's finger manipulation electronic document while there is serial;
Fig. 2 is the method flow diagram of the electronic document control method for movement that provides of first embodiment of the invention;
Fig. 3 is schematic diagram when user's finger manipulation electronic document in the embodiment of the present invention;
Fig. 4 a is the first situation of sliding trace in the embodiment of the present invention;
Fig. 4 b is the second situation of sliding trace in the embodiment of the present invention;
Fig. 4 c is the third situation of sliding trace in the embodiment of the present invention;
Fig. 4 d is the 4th kind of situation of sliding trace in the embodiment of the present invention;
Fig. 5 is the method flow diagram of the electronic document control method for movement that provides of second embodiment of the invention;
Fig. 6 is the method flow diagram of the electronic document control method for movement that provides of third embodiment of the invention;
Fig. 7 be fourth embodiment of the invention provide for carrying out the block diagram of terminal of electronic document control method for movement;
Fig. 8 be fifth embodiment of the invention provide for carrying out the block diagram of terminal of electronic document control method for movement;
Fig. 9 be sixth embodiment of the invention provide for carrying out the block diagram of terminal of electronic document control method for movement.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
The embodiment of the present invention is mainly applied in the terminal that includes touch display screen and illustrates with this electronic document control method for movement, this terminal can comprise smart mobile phone, panel computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3), MP4(Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio frequency aspect 3) player, pocket computer on knee and desk-top computer etc.Interface control in the embodiment of the present invention can comprise the control such as page-turning button, full frame button, and certainly, just for example, the specific embodiment of the invention is not limited to this herein.
Touch display screen in the embodiment of the present invention can be collected user thereon or near touch operation (using any applicable object or near the operations of annex on touch display screen or touch display screen such as finger, stylus such as user), and drives corresponding link block according to predefined formula.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize touch display screen.
The first embodiment
Please refer to Fig. 2, it shows the schematic flow sheet of the electronic document control method for movement that first embodiment of the invention provides.
In the present embodiment, this electronic document control method for movement, comprising:
Step S11, detection effect is in the gesture operation of electronic document, and described gesture operation comprises: with the sliding trace forming after the continuous contact of the touch display screen of terminal and continuous contact.
Taking the terminal that comprises touch display screen as example, terminal can detect the gesture operation of user on touch display screen.Suppose that described electronic document is a pdf document, after this electronic document is exaggerated, the size of its actual document file page is greater than the viewing area of touch display screen.When user's finger (or pointer etc.) drops in this shown electronic document page of touch display screen, and with the touch display screen continuous contact of terminal and while forming certain sliding trace, terminal is thought and described gesture operation detected.
Step S12, when being recorded in described gesture operation and starting described in the position of electronic document and sliding trace corresponding to described gesture operation origin coordinates and stop coordinate.
Terminal can recording user the attribute information of sliding trace of gesture operation, the attribute information of the sliding trace namely forming after the touch display screen continuous contact of user's finger and terminal.
The attribute information of sliding trace can comprise the origin coordinates of sliding trace and stop coordinate.Certainly, the attribute information of sliding trace also can be included in the process that gesture operation carries out, the information such as the real-time coordinate of described sliding trace.
Step S13, according to the origin coordinates of described sliding trace with stop coordinate, calculates the angle between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form.
Please refer to Fig. 3, in the embodiment of the present invention, touch display screen 20 comprises orthogonal first direction and second direction, and another place, adjacent rectangle limit direction that a rectangular edges place direction can setting touch display screen 20 is first direction, touch display screen 20 is second direction.
Using first direction as x axle, second direction sets up a rectangular coordinate system as y axle.A (x1, y1) represents the origin coordinates of sliding trace, and B (x2, y2) represents the termination coordinate of sliding trace.In step S13, calculate the step of the angle theta between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form, for example can by calculate θ inverse trigonometric function θ=arctan │ (y2-y1)/(x2-x1) │ realizes.Concrete, can as shown in Figure 3, the initial end points of described sliding trace be set up to above-mentioned rectangular coordinate system as the initial point of rectangular coordinate system, in this embodiment, x1=y1=0.Certainly, also can define in other embodiments other rectangular coordinate system initial point, for example, a summit that can define touch display screen 20 is rectangular coordinate system initial point, and the specific embodiment of the invention is not as limit.
Step S14: the position that changes described electronic document according to the size of described angle.
If the angle theta between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form is less, show that user is larger along the intention of first direction mobile electron document, accordingly, can, according to the glide direction of sliding trace, the position of electronic document be carried out to relatively many movements in a first direction.If the angle theta between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form is larger, show that user is larger along the intention of second direction mobile electron document, accordingly, can be according to the glide direction of sliding trace, the position of electronic document is carried out in second direction to relatively many movements.If the angle theta between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form is in 45 degree left and right, show that user is along first direction mobile electron document and suitable along the intention of second direction mobile electron document, accordingly, can, according to the glide direction of sliding trace, electronic document be moved to identical distance at first direction and second direction.
Wherein, the glide direction of sliding trace refers to by the origin coordinates of sliding trace and points to the direction that stops coordinate, roughly can be divided into 4 kinds of situations shown in Fig. 4 a to Fig. 4 d.Wherein, in Fig. 4 a, represent that sliding trace is slided by the lower right upper left side of touch display screen, accordingly, electronic document can, along │ pixel of for example │ of negative direction transverse shifting (x2-x1) of x axle, vertically move │ pixel of for example │ (y2-y1) along the positive dirction of y axle.In Fig. 4 b, represent that sliding trace is slided by the lower left upper right side of touch display screen, accordingly, electronic document can, along │ pixel of for example │ of positive dirction transverse shifting (x2-x1) of x axle, vertically move │ pixel of for example │ (y2-y1) along the positive dirction of y axle.In Fig. 4 c, represent that sliding trace is slided by the upper left lower right of touch display screen, accordingly, electronic document can, along │ pixel of for example │ of positive dirction transverse shifting (x2-x1) of x axle, vertically move │ pixel of for example │ (y2-y1) along the negative direction of y axle.In Fig. 4 d, represent that sliding trace is slided by the upper right lower left of touch display screen, accordingly, electronic document can, along │ pixel of for example │ of negative direction transverse shifting (x2-x1) of x axle, vertically move │ pixel of for example │ (y2-y1) along the negative direction of y axle.
With respect to prior art, the electronic document control method for movement that the embodiment of the present invention proposes and terminal act on origin coordinates and the termination coordinate of the gesture operation of electronic document by record, calculate the angle between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form, and change the position of described electronic document according to the size of described angle, solve and in the process of user's finger manipulation mobile electron document, often had maloperation or the problem such as location is inaccurate, can improve the degree of accuracy that electronic document is moved to control, reduce the unnecessary repetitive operation of user, save battery electric quantity, increase the effect of the flying power of terminal.
The second embodiment
Please refer to Fig. 5, it shows the schematic flow sheet of the electronic document control method for movement that another embodiment of the present invention provides.
In the present embodiment, this electronic document control method for movement, comprising:
Step S21, detection effect is in the gesture operation of electronic document, and described gesture operation comprises: with the sliding trace forming after the continuous contact of the touch display screen of terminal and continuous contact.
Step S22, when being recorded in described gesture operation and starting described in the position of electronic document and sliding trace corresponding to described gesture operation origin coordinates and stop coordinate.
Step S23, according to the origin coordinates of described sliding trace with stop coordinate, calculates the angle between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form.
Step S24: the position that changes described electronic document according to the size of described angle.
In the present embodiment, described step S24 can comprise:
Step S241: judge whether described angle is less than or equal to first threshold;
If, carry out step S242: according to the glide direction of described sliding trace, by the position of described electronic document, in described first party first distance that moves up, described the first distance equals described termination coordinate and the distance of described origin coordinates on described first direction;
Otherwise, execution step S243: according to the glide direction of described sliding trace, by the position of described electronic document, at the described second party second distance that moves up, described second distance equals described termination coordinate and the distance of described origin coordinates in described second direction.
In the present embodiment, first threshold is for example 45 degree, and certainly, first threshold can be also other angles, and the specific embodiment of the present invention is not as limit.
With respect to prior art, the electronic document control method for movement that the embodiment of the present invention proposes and terminal act on origin coordinates and the termination coordinate of the gesture operation of electronic document by record, calculate the angle between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form, and change the position of described electronic document according to the size of described angle, solve and in the process of user's finger manipulation mobile electron document, often had maloperation or the problem such as location is inaccurate, can improve the degree of accuracy that electronic document is moved to control, reduce the unnecessary repetitive operation of user, save battery electric quantity, increase the effect of the flying power of terminal.
The 3rd embodiment
Please refer to Fig. 6, it shows the schematic flow sheet of the electronic document control method for movement that another embodiment of the present invention provides.
In the present embodiment, this electronic document control method for movement, comprising:
Step S31, detection effect is in the gesture operation of electronic document, and described gesture operation comprises: with the sliding trace forming after the continuous contact of the touch display screen of terminal and continuous contact.
Step S32, when being recorded in described gesture operation and starting described in the position of electronic document and sliding trace corresponding to described gesture operation origin coordinates and stop coordinate.
Step S33, according to the origin coordinates of described sliding trace with stop coordinate, calculates the angle between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form.
Step S34: the position that changes described electronic document according to the size of described angle.
In the present embodiment, described step S34 can comprise:
Step S341: judge whether described angle is less than or equal to Second Threshold;
If, perform step S342: according to the glide direction of described sliding trace, by the position of described electronic document, in described first party the 3rd distance that moves up, described the 3rd distance equals described termination coordinate and the distance of described origin coordinates on described first direction;
Otherwise, execution step S343: judge whether described angle is less than or equal to the 3rd threshold value, described the 3rd threshold value is greater than described Second Threshold, if, perform step S344: according to the glide direction of described sliding trace, by the position of described electronic document in described first party described the 3rd distance that moves up, and by the position of described electronic document in described second party the 4th distance that moves up, described the 4th distance equals described termination coordinate and the distance of described origin coordinates in described second direction, otherwise, execution step S345: according to the glide direction of described sliding trace, by the position of described electronic document in described second party described the 4th distance that moves up.
In the present embodiment, described Second Threshold is for example 30 degree, and described the 3rd threshold value is for example 60 degree.Certainly, Second Threshold and the 3rd threshold value also can be chosen other angles, and the specific embodiment of the present invention is not as limit.
With respect to prior art, the electronic document control method for movement that the embodiment of the present invention proposes and terminal act on origin coordinates and the termination coordinate of the gesture operation of electronic document by record, calculate the angle between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form, and change the position of described electronic document according to the size of described angle, solve and in the process of user's finger manipulation mobile electron document, often had maloperation or the problem such as location is inaccurate, can improve the degree of accuracy that electronic document is moved to control, reduce the unnecessary repetitive operation of user, save battery electric quantity, increase the effect of the flying power of terminal.
Be below device embodiment of the present invention, the details of detailed description not in device embodiment, can be with reference to the embodiment of the method for above-mentioned correspondence.
The 4th embodiment
Please refer to Fig. 7, it shows the block diagram of the terminal for realizing the electronic document control method for movement that first embodiment of the invention provides.Described terminal 40 comprises: touch display screen 400, detection module 41, logging modle 42, computing module 43, control module 44.
Wherein, described touch display screen 400 comprises orthogonal first direction and second direction.
Detection module 41 is for detection of the gesture operation that acts on electronic document, and described gesture operation comprises: with the sliding trace forming after the continuous contact of the touch display screen of terminal and continuous contact;
The origin coordinates of the sliding trace that described in when logging modle 42 starts for being recorded in described gesture operation, the position of electronic document and described gesture operation are corresponding and termination coordinate;
Computing module 43, for according to the origin coordinates of described sliding trace with stop coordinate, calculates the angle between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form; And
Control module 44 is for changing the position of described electronic document according to the size of described angle.
With respect to prior art, the terminal that the embodiment of the present invention proposes acts on origin coordinates and the termination coordinate of the gesture operation of electronic document by record, calculate the angle between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form, and change the position of described electronic document according to the size of described angle, solve and in the process of user's finger manipulation mobile electron document, often had maloperation or the problem such as location is inaccurate, can improve the degree of accuracy that electronic document is moved to control, reduce the unnecessary repetitive operation of user, save battery electric quantity, increase the effect of the flying power of terminal.
The 5th embodiment
Please refer to Fig. 8, it shows the block diagram of the terminal for realizing the electronic document control method for movement that second embodiment of the invention provides.Described terminal 50 comprises: touch display screen 500, detection module 51, logging modle 52, computing module 53, control module 54.
Wherein, described touch display screen 500 comprises orthogonal first direction and second direction.
Detection module 51 is for detection of the gesture operation that acts on electronic document, and described gesture operation comprises: with the sliding trace forming after the continuous contact of the touch display screen of terminal and continuous contact;
The origin coordinates of the sliding trace that described in when logging modle 52 starts for being recorded in described gesture operation, the position of electronic document and described gesture operation are corresponding and termination coordinate;
Computing module 53, for according to the origin coordinates of described sliding trace with stop coordinate, calculates the angle between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form; And
Control module 54 is for changing the position of described electronic document according to the size of described angle.
In the present embodiment, described control module 54 can comprise: the first judging unit 541, the first control module 542 and the second control module 543.
Wherein, described the first judging unit 541 is for judging whether described angle is less than or equal to first threshold; If, described the first control module 542 is according to the glide direction of described sliding trace, by the position of described electronic document, in described first party first distance that moves up, described the first distance equals described termination coordinate and the distance of described origin coordinates on described first direction; Otherwise, described the second control module 543 is according to the glide direction of described sliding trace, by the position of described electronic document, at the described second party second distance that moves up, described second distance equals described termination coordinate and the distance of described origin coordinates in described second direction.
Preferably, described first threshold is 45 degree.
With respect to prior art, the terminal that the embodiment of the present invention proposes acts on origin coordinates and the termination coordinate of the gesture operation of electronic document by record, calculate the angle between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form, and change the position of described electronic document according to the size of described angle, solve and in the process of user's finger manipulation mobile electron document, often had maloperation or the problem such as location is inaccurate, can improve the degree of accuracy that electronic document is moved to control, reduce the unnecessary repetitive operation of user, save battery electric quantity, increase the effect of the flying power of terminal.
The 6th embodiment
Please refer to Fig. 9, it shows the block diagram of the terminal for realizing the electronic document control method for movement that third embodiment of the invention provides.Described terminal 60 comprises: touch display screen 600, detection module 61, logging modle 62, computing module 63, control module 64.
Wherein, described touch display screen 600 comprises orthogonal first direction and second direction.
Detection module 61 is for detection of the gesture operation that acts on electronic document, and described gesture operation comprises: with the sliding trace forming after the continuous contact of the touch display screen of terminal and continuous contact;
The origin coordinates of the sliding trace that described in when logging modle 62 starts for being recorded in described gesture operation, the position of electronic document and described gesture operation are corresponding and termination coordinate;
Computing module 63, for according to the origin coordinates of described sliding trace with stop coordinate, calculates the angle between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form; And
Control module 64 is for changing the position of described electronic document according to the size of described angle.
In the present embodiment, described control module 64 can comprise: the second judging unit 641, the 3rd control module 642 and the 4th control module 643.Wherein, the 4th control module 643 comprises: judgment sub-unit 6431, the first control subelement 6432 and second are controlled subelement 6433.
Described the second judge module 641 is for judging whether described angle is less than or equal to Second Threshold.
If, described the 3rd control module 642 is according to the glide direction of described sliding trace, by the position of described electronic document, in described first party the 3rd distance that moves up, described the 3rd distance equals described termination coordinate and the distance of described origin coordinates on described first direction.
Otherwise, described judgment sub-unit 6431 judges whether described angle is less than or equal to the 3rd threshold value, described the 3rd threshold value is greater than described Second Threshold, if, described first control subelement 6432 according to the glide direction of described sliding trace, by the position of described electronic document in described first party described the 3rd distance that moves up, and by the position of described electronic document in described second party the 4th distance that moves up, described the 4th distance equals described termination coordinate and the distance of described origin coordinates in described second direction, otherwise, described second controls subelement 6433 according to the glide direction of described sliding trace, by the position of described electronic document in described second party described the 4th distance that moves up.
Preferably, described Second Threshold is 30 degree, and described the 3rd threshold value is 60 degree.
With respect to prior art, the terminal that the embodiment of the present invention proposes acts on origin coordinates and the termination coordinate of the gesture operation of electronic document by record, calculate the angle between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form, and change the position of described electronic document according to the size of described angle, solve and in the process of user's finger manipulation mobile electron document, often had maloperation or the problem such as location is inaccurate, can improve the degree of accuracy that electronic document is moved to control, reduce the unnecessary repetitive operation of user, save battery electric quantity, increase the effect of the flying power of terminal.
Should be understood that, although use first, second grade of term to describe each element herein, these elements should not be subject to the restriction of these terms.These terms are only used to the element that is distinguished from each other.For example, also can claim that first direction is second direction, title second direction is first direction.It is to be further understood that in this article to use, unless exception clearly supported in context, singulative " " (" a ", " an " and " the ") is intended to also comprise plural form.Should also be understood that in this article the "and/or" using refer to comprise one or one project of listing explicitly above arbitrarily and likely combine.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. electronic document control method for movement, for control that the electronic document in terminal is slided, described terminal comprises touch display screen, and described touch display screen comprises orthogonal first direction and second direction, it is characterized in that, and described method comprises:
Detection effect is in the gesture operation of electronic document, and described gesture operation comprises: with the sliding trace forming after the continuous contact of the touch display screen of terminal and continuous contact;
The origin coordinates of the sliding trace that described in when being recorded in described gesture operation and starting, the position of electronic document and described gesture operation are corresponding and stop coordinate;
According to the origin coordinates of described sliding trace with stop coordinate, calculate the angle between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form; And
Change the position of described electronic document according to the size of described angle.
2. method according to claim 1, is characterized in that, the described size according to described angle changes the step of the position of described electronic document, comprising:
Judge whether described angle is less than or equal to first threshold;
If so,, according to the glide direction of described sliding trace, by the position of described electronic document, in described first party first distance that moves up, described the first distance equals described termination coordinate and the distance of described origin coordinates on described first direction;
Otherwise according to the glide direction of described sliding trace, by the position of described electronic document, at the described second party second distance that moves up, described second distance equals described termination coordinate and the distance of described origin coordinates in described second direction.
3. method according to claim 2, is characterized in that, described first threshold is 45 degree.
4. method according to claim 1, is characterized in that, the described size according to described angle changes the step of the position of described electronic document, comprising:
Judge whether described angle is less than or equal to Second Threshold;
If so,, according to the glide direction of described sliding trace, by the position of described electronic document, in described first party the 3rd distance that moves up, described the 3rd distance equals described termination coordinate and the distance of described origin coordinates on described first direction;
Otherwise,
Judge whether described angle is less than or equal to the 3rd threshold value, described the 3rd threshold value is greater than described Second Threshold,
If, according to the glide direction of described sliding trace, by the position of described electronic document in described first party described the 3rd distance that moves up, and by the position of described electronic document in described second party the 4th distance that moves up, described the 4th distance equals described termination coordinate and the distance of described origin coordinates in described second direction
Otherwise, according to the glide direction of described sliding trace, by the position of described electronic document in described second party described the 4th distance that moves up.
5. method according to claim 4, is characterized in that, described Second Threshold is 30 degree, and described the 3rd threshold value is 60 degree.
6. a terminal, described terminal comprises touch display screen, and described touch display screen comprises orthogonal first direction and second direction, it is characterized in that, and described terminal also comprises:
Detection module, for detection of the gesture operation that acts on electronic document, described gesture operation comprises: with the sliding trace forming after the continuous contact of the touch display screen of terminal and continuous contact;
Logging modle, while beginning for being recorded in described gesture operation described in the position of electronic document and sliding trace corresponding to described gesture operation origin coordinates and stop coordinate;
Computing module, for according to the origin coordinates of described sliding trace with stop coordinate, calculates the angle between straight line and the first direction of described touch display screen that described origin coordinates and described termination coordinate form; And
Control module, for changing the position of described electronic document according to the size of described angle.
7. terminal according to claim 6, is characterized in that, described control module comprises: the first judging unit, the first control module and the second control module,
Described the first judging unit is used for judging whether described angle is less than or equal to first threshold;
If, described the first control module is according to the glide direction of described sliding trace, by the position of described electronic document, in described first party first distance that moves up, described the first distance equals described termination coordinate and the distance of described origin coordinates on described first direction;
Otherwise, described the second control module is according to the glide direction of described sliding trace, by the position of described electronic document, at the described second party second distance that moves up, described second distance equals described termination coordinate and the distance of described origin coordinates in described second direction.
8. terminal according to claim 7, is characterized in that, described first threshold is 45 degree.
9. terminal according to claim 6, it is characterized in that, described control module comprises: the second judging unit, the 3rd control module and the 4th control module, described the 4th control module comprises judgment sub-unit, the first control subelement and the second control subelement
Described the second judge module is used for judging whether described angle is less than or equal to Second Threshold;
If, described the 3rd control module is according to the glide direction of described sliding trace, by the position of described electronic document, in described first party the 3rd distance that moves up, described the 3rd distance equals described termination coordinate and the distance of described origin coordinates on described first direction;
Otherwise,
Described judgment sub-unit judges whether described angle is less than or equal to the 3rd threshold value, and described the 3rd threshold value is greater than described Second Threshold,
If, described first control subelement according to the glide direction of described sliding trace, by the position of described electronic document in described first party described the 3rd distance that moves up, and by the position of described electronic document in described second party the 4th distance that moves up, described the 4th distance equals described termination coordinate and the distance of described origin coordinates in described second direction
Otherwise described second controls subelement according to the glide direction of described sliding trace, by the position of described electronic document in described second party described the 4th distance that moves up.
10. terminal according to claim 9, is characterized in that, described Second Threshold is 30 degree, and described the 3rd threshold value is 60 degree.
CN201310166108.3A 2013-05-08 2013-05-08 Electronic document moving control method and terminal Pending CN104142790A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310166108.3A CN104142790A (en) 2013-05-08 2013-05-08 Electronic document moving control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310166108.3A CN104142790A (en) 2013-05-08 2013-05-08 Electronic document moving control method and terminal

Publications (1)

Publication Number Publication Date
CN104142790A true CN104142790A (en) 2014-11-12

Family

ID=51851979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310166108.3A Pending CN104142790A (en) 2013-05-08 2013-05-08 Electronic document moving control method and terminal

Country Status (1)

Country Link
CN (1) CN104142790A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681646A (en) * 2017-02-21 2017-05-17 上海青橙实业有限公司 Terminal control method and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101676844A (en) * 2008-09-18 2010-03-24 联想(北京)有限公司 Processing method and apparatus for information input from touch screen
US20100083117A1 (en) * 2008-09-30 2010-04-01 Casio Computer Co., Ltd. Image processing apparatus for performing a designated process on images
CN102541390A (en) * 2010-12-07 2012-07-04 联想(北京)有限公司 Electronic equipment and method for movably displaying object
CN102981755A (en) * 2012-10-24 2013-03-20 深圳市深信服电子科技有限公司 Gesture control method and gesture control system based on remote application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101676844A (en) * 2008-09-18 2010-03-24 联想(北京)有限公司 Processing method and apparatus for information input from touch screen
US20100083117A1 (en) * 2008-09-30 2010-04-01 Casio Computer Co., Ltd. Image processing apparatus for performing a designated process on images
CN102541390A (en) * 2010-12-07 2012-07-04 联想(北京)有限公司 Electronic equipment and method for movably displaying object
CN102981755A (en) * 2012-10-24 2013-03-20 深圳市深信服电子科技有限公司 Gesture control method and gesture control system based on remote application

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681646A (en) * 2017-02-21 2017-05-17 上海青橙实业有限公司 Terminal control method and mobile terminal

Similar Documents

Publication Publication Date Title
KR101892567B1 (en) Method and apparatus for moving contents on screen in terminal
US9201521B2 (en) Storing trace information
CN103246441B (en) The screen display method of terminal device and terminal device
CN102446032B (en) Information input method and terminal based on camera
US10222972B2 (en) Mobile electronic device
KR102155836B1 (en) Mobile terminal for controlling objects display on touch screen and method therefor
CN103718149A (en) Processing method of text and touch panel equipment
CN103136180A (en) Text segment copying and pasting method and device and terminal for implementing same
CN104615332A (en) Mobile terminal and application icon arrangement method
US20130257768A1 (en) Method and apparatus for providing flexible bezel
CN102609163B (en) A kind of electronic installation
CN106469000A (en) A kind of screen content amplification method and terminal unit
CN105653071A (en) Information processing method and electronic device
CN104991682A (en) Touch drive method, touch drive device and touch display device
CN103354581A (en) Method and system for automatically adjusting mobile phone control with left or right hand
CN105468242A (en) Mobile terminal interface display method and mobile terminal thereof
CN107179875B (en) The method and apparatus of window adjustment
EP3552089B1 (en) Reversible digital ink for inking application user interfaces
US20150058797A1 (en) Window expansion method and associated electronic device
CN104965657A (en) Touch control method and apparatus
CN103809817A (en) Optical touch system and object position judgment method thereof
CN104142790A (en) Electronic document moving control method and terminal
CN104932769A (en) Web page display method and device
CN103645855A (en) Touch reading method and device
CN105138269A (en) Zooming method and system for touch screen

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

Application publication date: 20141112

RJ01 Rejection of invention patent application after publication