CN104750275A - Method and device for determining movement speed of sliding block - Google Patents

Method and device for determining movement speed of sliding block Download PDF

Info

Publication number
CN104750275A
CN104750275A CN201310726874.0A CN201310726874A CN104750275A CN 104750275 A CN104750275 A CN 104750275A CN 201310726874 A CN201310726874 A CN 201310726874A CN 104750275 A CN104750275 A CN 104750275A
Authority
CN
China
Prior art keywords
contact point
slide block
moving direction
angle
slide rail
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.)
Granted
Application number
CN201310726874.0A
Other languages
Chinese (zh)
Other versions
CN104750275B (en
Inventor
樊邵婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310726874.0A priority Critical patent/CN104750275B/en
Publication of CN104750275A publication Critical patent/CN104750275A/en
Application granted granted Critical
Publication of CN104750275B publication Critical patent/CN104750275B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

The embodiment of the invention discloses a method and a device for determining the movement speed of a sliding block. The method comprises the following steps: when a situation that the sliding block is selected is detected, obtaining the movement direction of a contact point, wherein the movement direction is that the initial position of the contact point points to the current position of the contact point; according to the movement direction of a contact point, determining the movement direction of the sliding block on a sliding rail; and according to an included angle between the movement direction of the touch point and the sliding rail, determining a movement rate of the sliding block on the sliding rail. The embodiment of the invention can dynamically regulate the movement speed of the sliding block without a phenomenon that the touch point is always positioned in a position range of the sliding block so as to dynamically regulate content displayed on a display.

Description

A kind of defining method of translational speed of slide block and device
Technical field
The present invention relates to data processing field, particularly relate to a kind of defining method and device of translational speed of slide block.
Background technology
In the various software application of electronic equipment, be generally user and slide block is provided, so that user is adjusted the content that display shows by adjusting slider.The translational speed of slide block decides electronic equipment regulating the speed and the position of slide block on slide rail to the content that display shows, and the position of slide block on slide rail decides the content that display shows.Such as, after a certain word document is opened, user can adjust the content of word document shown on display screen by adjusting slider, so that the content in word document before or after the current content shown on a display screen is shown on display screen; Or in media playback software, user can adjust Media playing course, volume etc. by adjusting slider.
At present in the various software application of electronic equipment, generally by user drive mouse enter slide block position range and after choosing slide block, mouse be positioned at all the time slide block position range and under the state choosing slide block, the object dragging slide block movement on slide rail is reached by rolling mouse, the translational speed of slide block is decided by the translational speed of mouse, and the position range of described slide block is the regional extent comprising slide block icon.But, in the process of this dragging slide block, user must make mouse be positioned at the position range of slide block all the time, once mouse departs from the position range of slide block in the process dragging slide block, user cannot drag slide block by rolling mouse and move on slide rail.
Therefore, if in prior art in the process dragging slide block mouse depart from the position range of slide block, cannot the translational speed of dynamic conditioning slide block, and then the content that also cannot dynamic conditioning display show.
Summary of the invention
Provide a kind of defining method of translational speed of slide block in the embodiment of the present invention, be positioned at the position range of slide block without the need to contact point always, just can the translational speed of dynamic conditioning slide block, and then the content that dynamic conditioning display shows.
First aspect, provides a kind of defining method of translational speed of slide block, comprising:
After detecting that slide block is selected, obtain the moving direction of contact point; Described moving direction is the direction of the initial position sensing contact point current location of contact point;
The moving direction of described slide block on slide rail is determined according to the moving direction of described contact point; According to the rate travel of angle determination slide block on described slide rail between the moving direction of described contact point and described slide rail.
In conjunction with first aspect, in the first possible implementation of first aspect, the described moving direction of moving direction determination slide block on slide rail according to described contact point comprises:
Determine the durection component of the moving direction of described contact point on described slide rail, using the direction of this durection component as the moving direction of described slide block on described slide rail.
In conjunction with first aspect, and/or the first possible implementation of first aspect, in the implementation that first aspect the second is possible, the rate travel of the angle determination slide block between the described moving direction according to described contact point and described slide rail comprises:
Determine the number of degrees of the first angle between the moving direction of described contact point and described slide rail; The angle that described first angle is in two angles being formed of the moving direction of described contact point and described slide rail, the number of degrees are not more than another angle number of degrees;
According to the rate travel of the number of degrees determination slide block of described first angle, wherein, the rate travel of described slide block and the number of degrees of described first angle are inversely proportional to.
In conjunction with first aspect, and/or the first possible implementation of first aspect, and/or the implementation that first aspect the second is possible, in the third possible implementation of first aspect, the moving direction of described acquisition contact point comprises:
Determine the initial position of contact point;
Determine the current location of contact point;
According to the moving direction of described initial position and current location determination contact point.
In conjunction with first aspect, and/or the first possible implementation of first aspect, and/or the implementation that first aspect the second is possible, and/or the third possible implementation of first aspect, in first aspect the 4th kind of possible implementation, after the initial position of described contact point refers to that slide block is selected, contact point position on a display screen during the initial time of current period; After the current location of contact point refers to that slide block is selected, current time contact point position on a display screen;
Or, when the initial position of described contact point refers to that slide block is selected, contact point position on a display screen; After the current location of contact point refers to that slide block is selected, current time contact point position on a display screen;
Or, after the initial position of described contact point refers to that slide block is selected, before being positioned at current time, and moment of current time interval predetermined time period time contact point position on a display screen; After the current location of contact point refers to that slide block is selected, current time contact point position on a display screen.
Second aspect, provides a kind of determining device of translational speed of slide block, comprising:
Acquiring unit, after detecting that slide block is selected, obtains the moving direction of contact point; Described moving direction is the direction of the initial position sensing contact point current location of contact point;
Determining unit, for the moving direction of moving direction determination slide block on slide rail of described contact point obtained according to described acquiring unit; According to the rate travel of angle determination slide block on slide rail between the moving direction of described contact point and described slide rail.
In conjunction with second aspect, in the first possible implementation of second aspect, described determining unit specifically for: determine the durection component of the moving direction of described contact point on described slide rail, using the direction of this durection component as the moving direction of described slide block on described slide rail.
In conjunction with second aspect, and/or the first possible implementation of second aspect, in the implementation that second aspect the second is possible, described determining unit specifically for:
Determine the number of degrees of the first angle between the moving direction of described contact point and described slide rail; The angle that described first angle is in two angles being formed of the moving direction of described contact point and described slide rail, the number of degrees are not more than another angle number of degrees;
According to the rate travel of the number of degrees determination slide block of described first angle, wherein, the rate travel of described slide block and the number of degrees of described first angle are inversely proportional to.
In conjunction with second aspect, and/or the first possible implementation of second aspect, and/or the implementation that second aspect the second is possible, in the third possible implementation of second aspect, described acquiring unit specifically for:
Determine the initial position of contact point;
Determine the current location of contact point;
According to the moving direction of described initial position and current location determination contact point.
In conjunction with second aspect, and/or the first possible implementation of second aspect, and/or the implementation that second aspect the second is possible, and/or the third possible implementation of second aspect, in second aspect the 4th kind of possible implementation, after the initial position of described contact point refers to that slide block is selected, contact point position on a display screen during the initial time of current period; After the current location of contact point refers to that slide block is selected, current time contact point position on a display screen;
Or, when the initial position of described contact point refers to that slide block is selected, contact point position on a display screen; After the current location of contact point refers to that slide block is selected, current time contact point position on a display screen;
Or, after the initial position of described contact point refers to that slide block is selected, before being positioned at current time, and moment of current time interval predetermined time period time contact point position on a display screen; After the current location of contact point refers to that slide block is selected, current time contact point position on a display screen.
In the present embodiment, after detecting that slide block is selected, obtain the moving direction of contact point; Described moving direction is the direction of the initial position sensing contact point current location of contact point; According to the moving direction of moving direction determination slide block on slide rail of described contact point; According to the rate travel of angle determination slide block on slide rail between the moving direction of described contact point and described slide rail.The present embodiment is according to the translational speed of the moving direction determination slide block of contact point, the moving and do not rely on this condition of position range that contact point is positioned at slide block all the time of slide block, contact point can depart from the position range movement arbitrarily of slide block, thus the present embodiment is positioned at the position range of slide block without the need to contact point always, just can the translational speed of dynamic conditioning slide block, and then the content that dynamic conditioning display shows.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the determination method flow schematic diagram of the translational speed of embodiment of the present invention slide block;
Fig. 2 A is embodiment of the present invention display screen coordinate diagram;
Fig. 2 B is the first example schematic of the embodiment of the present invention;
Fig. 2 C is embodiment of the present invention the second example schematic;
Fig. 2 D is the third example schematic of the embodiment of the present invention;
Fig. 3 is the determination apparatus structure schematic diagram of the translational speed of embodiment of the present invention slide block;
Fig. 4 is embodiment of the present invention electronic devices structure schematic diagram.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, carry out clear, complete description to the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not paying the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Wherein, the embodiment of the present invention goes for any electronic equipment comprising the software providing slide block for user.
See Fig. 1, be the defining method first embodiment schematic diagram of the translational speed of slide block of the present invention, the method comprises:
Step 101: after detecting that slide block is selected, obtains the moving direction of contact point; Described moving direction is the direction of the initial position sensing contact point current location of contact point;
Step 102: according to the moving direction of moving direction determination slide block on slide rail of described contact point; According to the rate travel of angle determination slide block on slide rail between the moving direction of described contact point and described slide rail.
The moving direction of described slide block on slide rail and rate travel form the translational speed of slide block on slide rail jointly.
Afterwards, electronic equipment can according to the corresponding moving slider of the translational speed of the slide block determined in step 102 on slide rail and the content that corresponding adjustment display shows.
In the present embodiment, after detecting that slide block is selected, obtain the moving direction of contact point; According to the moving direction of moving direction determination slide block on slide rail of described contact point; According to the rate travel of angle determination slide block on slide rail between the moving direction of described contact point and described slide rail.The present embodiment is according to the translational speed of the moving direction determination slide block of contact point, the moving and do not rely on this condition of position range that contact point is positioned at slide block all the time of slide block, contact point can depart from the position range movement arbitrarily of slide block, thus the present embodiment is positioned at the position range of slide block without the need to contact point always, just can the translational speed of dynamic conditioning slide block, and then the content that dynamic conditioning display shows.
Below, the realization of each step of the embodiment of the present invention shown in Fig. 1 is described in more detail:
For step 101:
The moving direction of described acquisition contact point can comprise:
Determine the initial position of contact point;
Determine the current location of contact point;
According to the moving direction of described initial position and current location determination contact point.
Wherein, after the initial position of described contact point can refer to that slide block is selected, contact point position on a display screen during the initial time of current period; After the current location of contact point can refer to that slide block is selected, current time contact point position on a display screen; The time span the present invention in cycle described in practical application does not limit, and can independently arrange in actual applications; In addition, the initial time of one-period can be slide block selected moment.
Or, when the initial position of described contact point can refer to that slide block is selected, contact point position on a display screen; After the current location of contact point can refer to that slide block is selected, current time contact point position on a display screen;
Or, after the initial position of described contact point can refer to that slide block is selected, before being positioned at current time, and moment of current time interval predetermined time period time contact point position on a display screen; After the current location of contact point can refer to that slide block is selected, current time contact point position on a display screen; Wherein, concrete numerical value the present invention of described predetermined time period does not limit, and can independently arrange in actual applications.
Wherein, described current time can be the execution moment of step 101 of the present invention.
In embodiments of the present invention, described display screen can be non-touch display screen can be also touch display screen, does not limit here.When described contact point refers to that slide block is selected and selected after, the indicating mode that electronic equipment can detect position on a display screen.The indicating mode that described electronic equipment can detect includes but not limited to mouse, finger contact display screen, Pointer contacts display screen etc.Such as, described contact point can for when mouse chooses slide block and after choosing slide block, mouse position on a display screen; Or described contact point also can for when user chooses slide block by hand or pointer and after choosing slide block, the position that hand or pointer contact with display screen; Etc..
Each pixel on display screen can by the mode record of coordinate and location, initial position, the current location of contact point also can carry out record by the coordinate of the pixel of contact point correspondence position, further, the moving direction of described contact point also can be determined according to the coordinate of described initial position and current location or identify.How to set up the coordinate system of plane belonging to pixel on display screen in actual applications, the present invention does not limit.
Such as shown in Fig. 2 A, suppose using the pixel in the most lower left corner of display screen as true origin O, the one-row pixels point of display screen bottom forms the abscissa axis (i.e. x-axis) of coordinate system, and a row pixel of display screen leftmost forms the axis of ordinates (i.e. y-axis) of coordinate system; Slide block and slide rail 210 are positioned at the right of display screen, slide rail 210 is parallel to y-axis, if the initial position of hypothesis contact point is some A, the coordinate of some A is (1016,555), the current location of contact point is some B, and the coordinate putting B is (980,666), so obviously, can be an A(1016 by the moving direction of coordinate determination contact point, 555) point to some a B(980,666) direction, the moving direction of even described contact point also can directly be identified by the coordinate of these two positions.
For step 102:
Wherein, the described moving direction of moving direction determination slide block on slide rail according to described contact point can comprise:
Determine the durection component of the moving direction of described contact point on described slide rail, using the direction of this durection component as the moving direction of described slide block on described slide rail.
Still for Fig. 2 A, because slide rail is parallel to axis of ordinates, and the moving direction of contact point is an A(1016,555) some B(980 is pointed to, 666) direction, therefore, the durection component of the moving direction of described contact point on described slide rail is: on slide rail ordinate be 555 some C to point to ordinate on slide rail be the direction of the some D of 666.
Wherein, the rate travel of the angle determination slide block between the described moving direction according to described contact point and described slide rail can comprise:
Determine the number of degrees of the first angle between the moving direction of described contact point and described slide rail; Two angles that the moving direction of contact point and slide rail are formed are respectively the first angle and the second angle, and the number of degrees of the first angle are not more than the number of degrees of the second angle.
According to the rate travel of the number of degrees determination slide block of described first angle, wherein, the rate travel of described slide block and the number of degrees of described first angle are inversely proportional to.
In actual applications, also can determine the number of degrees of the second angle, according to the rate travel of the number of degrees determination slide block of the second angle, at this moment the second angle number of degrees are directly proportional to the rate travel of described slide block.
Wherein, number of degrees interval due to the first angle is [0,90], first folder tangent of an angle or sine are directly proportional to the number of degrees of the first angle, the number of degrees of the cotangent of the first angle or cosine and the first angle are inversely proportional to, therefore, in actual applications, directly can not calculate the concrete number of degrees of the first angle, but characterize the number of degrees of the first angle by the first folder tangent of an angle, cotangent, sine or cosine.Wherein, the first folder tangent of an angle, cotangent, sine or cosine can be calculated by the coordinate of the initial position of contact point and current location.Concrete,
To be characterized the number of degrees of the first angle by the first folder tangent of an angle, shown in Fig. 2 A, the moving direction of contact point is an A(1016,555) some B(980 is pointed to, 666) direction, and slide rail is parallel with axis of ordinates, so tangent=(1016-980)/(666-555) of the first angle ∠ E of the moving direction of slide rail and contact point;
Accordingly, can determine the rate travel of slide block according to the first folder tangent of an angle, wherein, the rate travel of described slide block and described first is pressed from both sides tangent of an angle and is inversely proportional to.
Wherein, concrete funtcional relationship between the number of degrees of the first angle (or the first folder tangent of an angle or the cotangent of the first angle or the sine of the first angle or the first folder cosine of an angle) and the rate travel of slide block can independently set in actual applications, and the embodiment of the present invention does not limit.
Below the defining method of the translational speed of embodiment of the present invention slide block is illustrated:
If after the initial position of 1 described contact point refers to that slide block is selected, contact point position on a display screen during the initial time of current period, after the current location of contact point refers to that slide block is selected, current time contact point position on a display screen, so, shown in Fig. 2 B, after slide block 220 is selected, the contact point formed by mouse or finger or pointer etc. is without the need to being positioned at the position range of slide block always, but the position range that can depart from slide block arbitrarily slides.Such as, after supposing that slide block 220 is selected, the motion track of contact point is as shown in the motion track 230 in Fig. 2 B, slide block 220 selected moment is set to time 0 point, cycle is set to T, time 0 is the initial time of one-period, so: when current time is t1, contact point is the initial position of contact point in the position at the initial time 3T place of current period, be set to a N, contact point is the current location of contact point in the position at t1 moment place, be set to a M, the moving direction of contact point is a some N sensing point M, the durection component of moving direction on slide rail of contact point is a some N sensing point P, the moving direction of contact point and the first angle of slide rail are ∠ MNP.
If the initial position of 2 contact points refers to that slide block is touched when a little choosing, contact point position on a display screen; After the current location of contact point refers to that slide block is selected, current time contact point position on a display screen; So, shown in Fig. 2 C, after slide block 220 is selected, the contact point formed by mouse or finger or pointer etc. is without the need to being positioned at the position range of slide block always, but the position range that can depart from slide block arbitrarily slides.Such as, after slide block 220 is touched and a little chooses, the motion track of contact point is as shown in the motion track 230 in Fig. 2 C, contact point chooses the moment of slide block 220 to be assumed to be time 0 point, when slide block is selected, the position of contact point is the initial position of contact point, be set to an X, contact point is the current location of contact point in the position at current time t1 place, be set to a Y, the moving direction of contact point is a some X sensing point Y, the durection component of moving direction on slide rail of contact point is a some X sensing point Z, and the moving direction of contact point and the first angle of slide rail are ∠ YXZ.
If after the initial position of 3 described contact points refers to that slide block is selected, before being positioned at current time, and moment of current time interval predetermined time period time contact point position on a display screen; After the current location of contact point refers to that slide block is selected, current time contact point position on a display screen; So, shown in Fig. 2 D, after slide block 220 is touched and a little chooses, the contact point formed by mouse or finger or pointer etc. is without the need to being positioned at the position range of slide block always, but the position range that can depart from slide block arbitrarily slides.Such as, predetermined time period is Δ t, after slide block 220 is touched and a little chooses, the motion track of contact point is as shown in the motion track 230 in Fig. 2 D, slide block 220 is touched the moment a little chosen and is set to time 0 point, contact point is the current location of contact point in the position at current time t1 place, be set to a S, contact point is the initial position of contact point in the position at t0=t1-Δ t place, be set to a Q, the moving direction of contact point is a some Q sensing point S, the durection component of moving direction on slide rail of contact point is a some Q sensing point R, the moving direction of contact point and the first angle of slide rail are ∠ SQR.
After electronic equipment determines the translational speed of slide block on slide rail, just can according to the corresponding moving slider of the translational speed of slide block on slide rail and the content that corresponding adjustment display shows.In the embodiment of the present invention how according to the translational speed response moving slider of slide block on slide rail and content the present invention that corresponding adjustment display shows do not limit, repeat no more.
See Fig. 3, be the determination apparatus structure schematic diagram of the translational speed of embodiment of the present invention slide block, this device 300 comprises:
Acquiring unit 310, after detecting that slide block is selected, obtains the moving direction of contact point; Described moving direction is the direction of the initial position sensing contact point current location of contact point;
Determining unit 320, for the moving direction of moving direction determination slide block on slide rail of the described contact point according to described acquiring unit 310 acquisition; According to the rate travel of angle determination slide block on slide rail between the moving direction of described contact point and described slide rail.
Alternatively, described determining unit 320 specifically may be used for: determine the durection component of the moving direction of described contact point on described slide rail, using the direction of this durection component as the moving direction of described slide block on described slide rail.
Alternatively, described determining unit 320 specifically may be used for:
Determine the number of degrees of the first angle between the moving direction of described contact point and described slide rail; The angle that described first angle is in two angles being formed of the moving direction of described contact point and described slide rail, the number of degrees are not more than another angle number of degrees;
According to the rate travel of the number of degrees determination slide block of described first angle, wherein, the rate travel of described slide block and the number of degrees of described first angle are inversely proportional to.
Alternatively, described acquiring unit 310 specifically may be used for:
Determine the initial position of slide block;
Determine the current location of contact point;
According to the moving direction of described initial position and current location determination contact point.
In the present embodiment, according to the translational speed of the moving direction determination slide block of contact point, the moving and do not rely on this condition of position range that contact point is positioned at slide block all the time of slide block, contact point can depart from the position range movement arbitrarily of slide block, thus the present embodiment is positioned at the position range of slide block without the need to contact point always, just can the translational speed of dynamic conditioning slide block, and then the content that dynamic conditioning display shows.
See Fig. 4, be the electronic devices structure schematic diagram that the embodiment of the present invention provides, electronic equipment 400 comprises: processor 410, storer 420, transceiver 430 and bus 440;
Processor 410, storer 420, transceiver 430 are interconnected by bus 440; Bus 440 can be isa bus, pci bus or eisa bus etc.Described bus can be divided into address bus, data bus, control bus etc.For ease of representing, only representing with a thick line in Fig. 4, but not representing the bus only having a bus or a type.
Storer 420, for depositing program.Particularly, program can comprise program code, and described program code comprises computer-managed instruction.Storer 420 may comprise high-speed RAM storer, still may comprise nonvolatile memory (non-volatile memory), such as at least one magnetic disk memory.
Transceiver 430 for connecting other equipment, and communicates with other equipment.
Described processor 410 performs described program code, for detecting that slide block is selected, obtains the moving direction of contact point; Described moving direction is the direction pointing to contact point current location from the initial position of slide block; According to the moving direction of moving direction determination slide block on slide rail of described contact point; According to the rate travel of angle determination slide block on slide rail between the moving direction of described contact point and described slide rail.
Alternatively, described processor 410 specifically may be used for: determine the durection component of the moving direction of described contact point on described slide rail, using the direction of this durection component as the moving direction of described slide block on described slide rail.
Alternatively, described processor 410 specifically may be used for: the number of degrees determining the first angle between the moving direction of described contact point and described slide rail; The angle that described first angle is in two angles being formed of the moving direction of described contact point and described slide rail, the number of degrees are not more than another angle number of degrees; According to the rate travel of the number of degrees determination slide block of described first angle, wherein, the rate travel of described slide block and the number of degrees of described first angle are inversely proportional to.
Alternatively, described processor 410 specifically may be used for: the initial position determining slide block; Determine the current location of contact point; According to the moving direction of described initial position and current location determination contact point.
Wherein, described electronic equipment can also comprise display, described display can be interconnected by bus 440 and processor 410, and processor 410 moves on slide rail according to the slide block that the translational speed of the described slide block determined on slide rail controls to show in display accordingly and the content shown in corresponding adjustment display.
In the present embodiment, according to the translational speed of the moving direction determination slide block of contact point, the moving and do not rely on this condition of position range that contact point is positioned at slide block all the time of slide block, contact point can depart from the position range movement arbitrarily of slide block, thus the present embodiment is positioned at the position range of slide block without the need to contact point always, just can the translational speed of dynamic conditioning slide block, and then the content that dynamic conditioning display shows.
Those skilled in the art can be well understood to the mode that technology in the embodiment of the present invention can add required general hardware platform by software and realize.Based on such understanding, technical scheme in the embodiment of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Above-described embodiment of the present invention, does not form limiting the scope of the present invention.Any amendment done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a defining method for the translational speed of slide block, is characterized in that, comprising:
After detecting that slide block is selected, obtain the moving direction of contact point; Described moving direction is the direction of the initial position sensing contact point current location of contact point;
The moving direction of described slide block on slide rail is determined according to the moving direction of described contact point; According to the rate travel of angle determination slide block on described slide rail between the moving direction of described contact point and described slide rail.
2. method according to claim 1, is characterized in that, the described moving direction of moving direction determination slide block on slide rail according to described contact point comprises:
Determine the durection component of the moving direction of described contact point on described slide rail, using the direction of this durection component as the moving direction of described slide block on described slide rail.
3. method according to claim 1 and 2, is characterized in that, the rate travel of the angle determination slide block between the described moving direction according to described contact point and described slide rail comprises:
Determine the number of degrees of the first angle between the moving direction of described contact point and described slide rail; The angle that described first angle is in two angles being formed of the moving direction of described contact point and described slide rail, the number of degrees are not more than another angle number of degrees;
According to the rate travel of the number of degrees determination slide block of described first angle, wherein, the rate travel of described slide block and the number of degrees of described first angle are inversely proportional to.
4. the method according to any one of claims 1 to 3, is characterized in that, the moving direction of described acquisition contact point comprises:
Determine the initial position of contact point;
Determine the current location of contact point;
According to the moving direction of described initial position and current location determination contact point.
5. the method according to any one of Claims 1-4, is characterized in that, after the initial position of described contact point refers to that slide block is selected, and contact point position on a display screen during the initial time of current period; After the current location of contact point refers to that slide block is selected, current time contact point position on a display screen;
Or, when the initial position of described contact point refers to that slide block is selected, contact point position on a display screen; After the current location of contact point refers to that slide block is selected, current time contact point position on a display screen;
Or, after the initial position of described contact point refers to that slide block is selected, before being positioned at current time, and moment of current time interval predetermined time period time contact point position on a display screen; After the current location of contact point refers to that slide block is selected, current time contact point position on a display screen.
6. a determining device for the translational speed of slide block, is characterized in that, comprising:
Acquiring unit, after detecting that slide block is selected, obtains the moving direction of contact point; Described moving direction is the direction of the initial position sensing contact point current location of contact point;
Determining unit, for the moving direction of moving direction determination slide block on slide rail of described contact point obtained according to described acquiring unit; According to the rate travel of angle determination slide block on slide rail between the moving direction of described contact point and described slide rail.
7. device according to claim 6, it is characterized in that, described determining unit specifically for: determine the durection component of the moving direction of described contact point on described slide rail, using the direction of this durection component as the moving direction of described slide block on described slide rail.
8. the device according to claim 6 or 7, is characterized in that, described determining unit specifically for:
Determine the number of degrees of the first angle between the moving direction of described contact point and described slide rail; The angle that described first angle is in two angles being formed of the moving direction of described contact point and described slide rail, the number of degrees are not more than another angle number of degrees;
According to the rate travel of the number of degrees determination slide block of described first angle, wherein, the rate travel of described slide block and the number of degrees of described first angle are inversely proportional to.
9. the device according to any one of claim 6 to 8, is characterized in that, described acquiring unit specifically for:
Determine the initial position of contact point;
Determine the current location of contact point;
According to the moving direction of described initial position and current location determination contact point.
10. the device according to any one of claim 6 to 9, is characterized in that, after the initial position of described contact point refers to that slide block is selected, and contact point position on a display screen during the initial time of current period; After the current location of contact point refers to that slide block is selected, current time contact point position on a display screen;
Or, when the initial position of described contact point refers to that slide block is selected, contact point position on a display screen; After the current location of contact point refers to that slide block is selected, current time contact point position on a display screen;
Or, after the initial position of described contact point refers to that slide block is selected, before being positioned at current time, and moment of current time interval predetermined time period time contact point position on a display screen; After the current location of contact point refers to that slide block is selected, current time contact point position on a display screen.
CN201310726874.0A 2013-12-25 2013-12-25 A kind of determining method and device of the movement speed of sliding block Active CN104750275B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310726874.0A CN104750275B (en) 2013-12-25 2013-12-25 A kind of determining method and device of the movement speed of sliding block

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310726874.0A CN104750275B (en) 2013-12-25 2013-12-25 A kind of determining method and device of the movement speed of sliding block

Publications (2)

Publication Number Publication Date
CN104750275A true CN104750275A (en) 2015-07-01
CN104750275B CN104750275B (en) 2018-07-03

Family

ID=53590093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310726874.0A Active CN104750275B (en) 2013-12-25 2013-12-25 A kind of determining method and device of the movement speed of sliding block

Country Status (1)

Country Link
CN (1) CN104750275B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110197725A (en) * 2019-05-23 2019-09-03 浙江大学 It is a kind of based on intelligent mobile terminal to refer to motion detection finger dexterity test method
CN112346635A (en) * 2020-10-22 2021-02-09 杭州安恒信息技术股份有限公司 Method and device for realizing sliding block effect based on SVG (scalable vector graphics), and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1091536A (en) * 1992-12-23 1994-08-31 塔利根蒂公司 The object oriented architecture system
CN1099159A (en) * 1993-06-29 1995-02-22 国际商业机器公司 Method and apparatus for providing a two-dimensional position-sensitive scroll icon in a data processing system user interface
US6677965B1 (en) * 2000-07-13 2004-01-13 International Business Machines Corporation Rubber band graphical user interface control
CN101237482A (en) * 2007-02-03 2008-08-06 Lg电子株式会社 Mobile communication device and method of controlling operation of the mobile communication device
CN101673184A (en) * 2009-07-16 2010-03-17 苏州瀚瑞微电子有限公司 Method for controlling scroll to scrolling and extending on touch pad

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1091536A (en) * 1992-12-23 1994-08-31 塔利根蒂公司 The object oriented architecture system
CN1099159A (en) * 1993-06-29 1995-02-22 国际商业机器公司 Method and apparatus for providing a two-dimensional position-sensitive scroll icon in a data processing system user interface
US6677965B1 (en) * 2000-07-13 2004-01-13 International Business Machines Corporation Rubber band graphical user interface control
CN101237482A (en) * 2007-02-03 2008-08-06 Lg电子株式会社 Mobile communication device and method of controlling operation of the mobile communication device
CN101673184A (en) * 2009-07-16 2010-03-17 苏州瀚瑞微电子有限公司 Method for controlling scroll to scrolling and extending on touch pad

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110197725A (en) * 2019-05-23 2019-09-03 浙江大学 It is a kind of based on intelligent mobile terminal to refer to motion detection finger dexterity test method
CN112346635A (en) * 2020-10-22 2021-02-09 杭州安恒信息技术股份有限公司 Method and device for realizing sliding block effect based on SVG (scalable vector graphics), and computer equipment

Also Published As

Publication number Publication date
CN104750275B (en) 2018-07-03

Similar Documents

Publication Publication Date Title
US9612675B2 (en) Emulating pressure sensitivity on multi-touch devices
US20110205175A1 (en) Method and device for determining rotation gesture
US20150091832A1 (en) Information processing apparatus, information processing method, and program
CN108228057B (en) Touch inflection point correction method and device and touch screen
CN106896997B (en) Sliding control method and device and sliding block selector
CN105807997A (en) Touch screen sensitivity adjustment method and device
CN102419675B (en) Coordinate normalizing method of electromagnetic induction device and electromagnetic induction device
CN102521855A (en) Handwriting regulation method and device based on touch platform
CN104156140A (en) Method and device for editing characters quickly with gravity sensor
CN101807130B (en) Touch control position correcting method
CN107678652A (en) To the method for controlling operation thereof and device of target object
CN112596661A (en) Writing track processing method and device and interactive panel
US10877565B2 (en) Method and system for controlling play of multimedia content
CN110795015A (en) Operation prompting method, device, equipment and storage medium
EP2402847A2 (en) Fine object positioning
CN105446605B (en) Information processing method and electronic equipment
CN104750275A (en) Method and device for determining movement speed of sliding block
CN103309581A (en) Method and device for positioning progress bar
US20140071038A1 (en) Method for generating movement position coordinate and human-machine interface input system using the same
CN104866143B (en) The determination method, apparatus and touch-screen equipment of a kind of touch point
CN102902412B (en) Many pointers indirect input device based on accelerate mutual
CN103699254A (en) Method, device and system for multi-point touch positioning
CN104699394B (en) A kind of information processing method and electronic equipment
CN103870013A (en) Method and device for information processing and electronic device
CN105404464A (en) Image control method and user terminal

Legal Events

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