CN101729631B - Mobile phone and mobile phone input method - Google Patents

Mobile phone and mobile phone input method Download PDF

Info

Publication number
CN101729631B
CN101729631B CN2008101716206A CN200810171620A CN101729631B CN 101729631 B CN101729631 B CN 101729631B CN 2008101716206 A CN2008101716206 A CN 2008101716206A CN 200810171620 A CN200810171620 A CN 200810171620A CN 101729631 B CN101729631 B CN 101729631B
Authority
CN
China
Prior art keywords
cursor
roller
current
motion
current location
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.)
Expired - Fee Related
Application number
CN2008101716206A
Other languages
Chinese (zh)
Other versions
CN101729631A (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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN2008101716206A priority Critical patent/CN101729631B/en
Publication of CN101729631A publication Critical patent/CN101729631A/en
Application granted granted Critical
Publication of CN101729631B publication Critical patent/CN101729631B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a mobile phone input method, which is applied to a mobile phone provided with a roller wheel and a roller wheel key. The roller wheel and the roller wheel key are used to control a cursor in a mobile phone user interface; the roller wheel can roll along clockwise and anticlockwise directions; the roller wheel key can be pressed down or released; the method comprises the following steps of: setting the cursor to indicate a current moving direction and a current position; detecting the state of the roller wheel key and the rolling of the roller wheel; when the roller key is proved to be in a pressed state by detection, determining the current moving direction according to the rolling of the roller wheel and controlling the cursor to indicate the current moving direction; and when the roller wheel key is in a released state, determining the current position according to the rolling of the roller wheel and controlling the cursor to indicate the current position. The invention also discloses the mobile phone. The application of the method can realize high-speed and high-reliability mobile phone input under the precondition of reducing the manufacturing cost of the mobile phone.

Description

A kind of mobile phone and mobile phone input method
Technical field
The present invention relates to the mobile communication technology field, particularly a kind of mobile phone and mobile phone input method.
Background technology
At present, the input equipment of mobile phone mainly comprises keyboard and touch-screen.Keyboard input and touch-screen input respectively have its pluses and minuses:
The cost of keyboard is lower, still, because the keying frequency of keyboard input can not be too high, has determined that the speed of keyboard input can not be too fast.
Touch-screen provides great convenience for user's input, and still, the price of touch-screen is comparatively expensive, and this makes the cost of touch-screen type mobile phone higher.And owing to usually touch, the sensitivity of touch-screen will descend gradually, cause its reliability to reduce along with the growth of service time.Especially, the use of touch-screen must be equipped with a test pencil, and this has increased the manufacturing cost of mobile phone virtually again, and causes the increase of mobile phone volume.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of mobile phone input method, with under prerequisite cheaply, realizes mobile phone input high-speed, high reliability.
Another object of the present invention is to provide a kind of mobile phone, and mobile phone high-speed to realize, high reliability is imported, and makes the manufacturing cost of mobile phone lower.
For achieving the above object, the embodiment of the invention discloses a kind of mobile phone input method, be applied to be equipped with the mobile phone of roller and roller button, described roller and roller button are used for the cursor of control cell-phone user interface, described roller can roll along clockwise and counterclockwise both direction, and described roller button can be pressed or discharge; This method comprises: described cursor is set to be used to indicate the current direction of motion and current location, and may further comprise the steps:
Detect the state of roller button and the rolling of roller;
When the roller button is in down state, determine the current direction of motion according to the rolling of roller, and the control cursor indicates the described current direction of motion;
When the roller button is in release condition, determine current location according to the rolling of roller, and the control cursor indicates described current location.
The embodiment of the invention also discloses a kind of mobile phone, comprising: roller, roller button, user interface, detection module and cursor control module;
Described roller can roll along clockwise and counterclockwise both direction, is used for accepting user's input;
Described roller button can be pressed or discharge, and is used for accepting user's input;
Described user interface is used for display highlighting, and described cursor is used to indicate the current direction of motion and current location;
Described detection module is for detection of the rolling of state and the roller of roller button;
Described cursor control module is used for determine the current direction of motion according to the rolling of roller, and the cursor of controlling in the described user interface indicating the described current direction of motion when detection module detects the roller button and is in down state; And be used for when detection module detects the roller button and is in release condition, determine current location according to the rolling of roller, and the cursor of controlling in the described user interface indicating described current location.
As seen from the above technical solution, the present invention is by installing roller and roller button in mobile phone, the cursor that is used for the control cell-phone user interface, and described cursor is set to be used to indicate the current direction of motion and current location, and when detecting the roller button and be in down state, determine the current direction of motion according to the rolling of roller, the control cursor indicates the described current direction of motion, when the roller button is in release condition, current location is determined in rolling according to roller, the control cursor indicates described current location, thereby provides a kind of new input mode for mobile phone.The input of this input mode and computer mouse is similar, relatively meets people's use habit.
The hardware that technical solution of the present invention increases in mobile phone mainly contains roller and roller button, and corresponding detecting element, and its price is all comparatively cheap, and therefore, the hardware cost of implementing technical solution of the present invention is lower.And, roller can roll along clockwise and counterclockwise both direction, can control cursor by scroll wheel advances or retreats along the current direction of motion, by the state of roller button and the combination of roller rolling, can change the direction of motion of cursor easily, this is than the input speed of keyboard input, and is comparatively quick.In addition, as stated in the Background Art, the reliability of touch-screen will reduce along with the growth of service time, yet but there are not this problem in roller of the present invention and roller button.
As seen, technical scheme provided by the present invention can realize mobile phone input high-speed, high reliability under the prerequisite that reduces the mobile phone manufacturing cost.
Description of drawings
Fig. 1 is the schematic flow sheet of mobile phone input method of the present invention;
Fig. 2 is the schematic flow sheet of the present invention's one current direction of motion of preferable definite cursor and current location;
Fig. 3 is the composition structural representation of the present invention's one preferable mobile phone.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in further detail.
Main thought of the present invention is that roller and roller button are installed in mobile phone, the cursor that is used for the control cell-phone user interface, and cursor is set to be used to indicate the current direction of motion and current location, in actual applications, determine the current direction of motion and movement position according to the rolling of described roller and the button situation of described roller button, and the control cursor indicates the described current direction of motion and movement position, thinks that the user provides a kind of mobile phone input mode of quick, high reliability.
Fig. 1 is the schematic flow sheet of mobile phone input method of the present invention.This method is applied to be equipped with the mobile phone of roller and roller button, and described roller and roller button are used for the cursor of control cell-phone user interface, and described roller can roll along clockwise and counterclockwise both direction, and described roller button can be pressed.Referring to Fig. 1, this method comprises:
Step 101: described cursor is set to be used to indicate the current direction of motion and current location in advance;
Step 102: detect the state of roller button and the rolling of roller;
Step 103: when detecting the roller button and be in down state, determine the current direction of motion according to the rolling of roller, and the control cursor indicates the described current direction of motion;
Step 104: when the roller button is in release condition, determine current location according to the rolling of roller, and the control cursor indicates described current location.
So far, finish mobile phone input method of the present invention.
According to step 101, cursor of the present invention is used to indicate the current location except the same with prior art, is further used for indicating the current direction of motion.In order to realize the deixis of the current direction of motion, need cursor be set to rotary type, and indicate the current direction of motion with the current angle of cursor.In theory, need described cursor being set to can 360 ° of rotation, so could indicate any direction in the two dimensional surface; Yet, consider that roller of the present invention can move along clockwise and counterclockwise both direction, therefore, described cursor be set to can 180 ° rotation can satisfy the needs of practical application.Particularly, can set in advance when roller still counterclockwise rolls along clockwise direction and represent to advance, when the direction of advancing along described expression when roller is rolled, can control cursor along being advanced by the current direction of motion that indicates of cursor, when roll in the opposite direction in the side that advances with described expression when the roller edge, can control cursor along being retreated by the current direction of motion that indicates of cursor, just controlling cursor advances along the direction opposite with the current direction of motion that indicates of cursor, so, namely realized cursor moving along any direction in the two dimensional surface.
In the above-mentioned steps 102, the rolling that detects roller can comprise: the rotating direction and the rolling speed that detect roller, correspondingly, can determine the current direction of motion according to rotating direction and the rolling speed of roller in the step 103, can determine current location according to rotating direction and the rolling speed of roller in the step 104.
In the described current direction of motion of specific implementation step 103 and the described current location of step 104 really regularly, can realize according to mode as shown in Figure 2.Fig. 2 is the schematic flow sheet of the present invention's one current direction of motion of preferable definite cursor and current location.Referring to Fig. 2, this method comprises:
Step 201: set in advance rolling speed and the corresponding relation of cursor movement angular speed, the rolling speed of roller and corresponding relation and the current angle of cursor and the corresponding relation of position skew of cursor movement linear velocity of roller, and the roller rotating direction that expression is advanced is set.
Because, the rolling speed of roller is more fast, the expression user more wishes to reach as early as possible the target location, and therefore, the corresponding relation of the rolling speed of described roller and cursor movement angular speed can the more big principle of motion angular speed more fast according to the rolling speed of roller, cursor arrange; The corresponding relation of the rolling speed of described roller and cursor movement linear velocity is more fast according to the rolling speed of roller, the more fast principle of line of motion speed of cursor arranges.
In addition, when above-mentioned corresponding relation was set, preferably, the rolling speed of roller can be unit with the rolling lattice number/time of roller; The line of motion speed of cursor can be unit with angle/time; The line of motion speed of cursor can be unit with pixel cell/time.The described time can be least unit with 50ms, certainly, also can adjust described minimum time unit according to the needs of practical application.
Relation between the angle of the rotating direction of following pair roller, rolling speed and cursor indication, the movement position of cursor describes.
When the angle of cursor indication, just polar angle θ ∈ [k * 180 °-45 °, k * 180 °+45 °) time, have following relation:
△x=S x×D×N×n p (1)
△y=S y×F(C,θ)/C×△x (2)
When polar angle θ ∈ [k * 180 °+45 °, k * 180 °+135 °) time, have following relation:
△x=S x×F(C,θ)/C×△y (3)
△y=S y×D×N×n p (4)
In formula (1)~(4):
△ x: the horizontal coordinate increment of expression cursor movement position, i.e. directions X increment;
△ y: the vertical increment of coordinate of expression cursor movement position, i.e. Y-direction increment;
Sx: when polar angle θ was in 1,4 quadrant, Sx got+and 1;
When polar angle θ was in 2,3 quadrants, Sx got-1;
Sy: when polar angle θ was in 1,2 quadrant, Sy got+and 1;
When polar angle θ was in 3,4 quadrants, Sx got-1;
D: when the rotating direction of roller was identical with the regulation positive direction, D got+and 1;
When the rotating direction of roller was opposite with the regulation positive direction, D got-1;
N: the rolling lattice number of roller;
n p: the roll number of pixel cells of 1 lattice correspondence of roller; Can determine n according to the rolling speed of the described roller that sets in advance and the corresponding relation of cursor movement linear velocity p
C=n p* 2 m, m={4,5 ..., in this example, get m=4; So, C is actually a definite constant;
F(C,θ)=C×tan(θ)(9)
The present invention do not adopt direct calculating F (C, θ)=mode of C * tan (θ) determines that (C, θ), but the mode by a look-up table of structure, this look-up table is exactly the corresponding relation that current angle and the position of cursor is offset to F.
The computing formula of this look-up table: G (C, α)=C * tan (α), α ∈ [0 °, 45 °]
When polar angle θ ∈ [k * 180 °, k * 180 °+90 °) time,
F(C,θ)=C×tan(α)=G(C,α)
When polar angle θ ∈ [k * 180 °+90 °, k * 180 °+180 °) time,
F(C,θ)=-C×tan(α)=-G(C,α)
With (1), (2), (3), (4) abbreviation: (being in the 2nd quadrant with polar angle is example)
When polar angle θ ∈ [k * 360 °+135 °, k * 360 °+180 °) time, have relation:
△x=-1×D×N×n p (5)
△y=+1×G(C,α)/(n p×2 m)×D×N×n p
=G(C,α)/2 m×D×([N/2 m]·2 m+N%2 m)
=G(C,α)×D×([N/2 m])+G(C,α)×D×(N%2 m)/2 m (6)
When polar angle θ ∈ [k * 360 °+90 °, k * 360 °+135 °) time, have relation:
△x=-G(C,α)×D×([N/2 m])-G(C,α)×D×(N%2 m)/2 m (7)
△y=D×N×n p (8)
In the time of in polar angle is in other quadrants, can be with reference to above-mentioned example, analogize and obtain.
The advantage that constant is set according to the method described above is that arithmetic speed is very fast.According to formula (9), the present invention be the tan with the current angle of cursor amplified C doubly after as described position skew F (C, θ), therefore, if described constant C meets C=n p* 2 m, then (C θ) moves to right and can obtain corresponding increment of coordinate after the m position, and need not to carry out complicated floating-point operation with described position skew F.
Step 202: judge whether the roller button is in down state, if then execution in step 203, otherwise, jump to step 205.
Step 203: search the rolling speed of roller and the corresponding relation of cursor movement angular speed according to the rolling speed of roller, obtain corresponding cursor movement angular speed, and calculate the cursor movement angle of described cursor movement angular speed correspondence.
In this step, search corresponding relation and obtain after the cursor movement angular speed, the angle that the rolling time that multiply by roller with described cursor movement angular speed obtains is the cursor movement angle, and this cursor movement angle is represented the number of degrees that cursor should rotate.
Step 204: the roller rotating direction that the expression that arranges according to step 201 is advanced, the rotating direction of the roller that current detection arrives, current angle and the cursor movement angle of cursor, determine the current angle of new cursor, and return step 202.
In this step, the rotating direction of the roller that the roller rotating direction that the expression that arranges according to step 201 is advanced and current detection arrive, the cursor movement angle of can determining to add up in the current angle of cursor obtains the current angle of new cursor, still need deduct the cursor movement angle in the current angle of cursor and obtain the current angle of new cursor.Particularly, if current detection to the roller rotating direction that advances of rotating direction and the expression that sets in advance of roller identical, then with the current angle of cursor and cursor movement angle sum as the current angle of new cursor, otherwise, with the difference of the current angle of cursor and described cursor movement angle as the current angle of new cursor.
Step 205: search the rolling speed of roller and the corresponding relation of cursor movement linear velocity according to the rolling speed of roller, obtain corresponding cursor movement linear velocity, and calculate the cursor movement distance of described cursor movement linear velocity correspondence.
In this step, searching corresponding relation obtains after the cursor movement linear velocity, the value that the rolling time that multiply by roller with described cursor movement linear velocity obtains is the cursor movement distance, this is apart from the projection on a certain direction in rectangular coordinate system of expression cursor movement, and described direction is determined in step 206.
Step 206: the current angle of judging cursor whether more than or equal to 0 °, smaller or equal to 45 ° scope in, if then execution in step 207, otherwise, if the current angle of cursor greater than 45 °, less than 90 ° scope in, then jump to step 209.
Because the cursor anglec of rotation that arranges in this preferred embodiment is 180 °, and, there is certain symmetric relation between angle in angle in the first quartile and coordinate and second quadrant and the coordinate, therefore, though only described 0~45 ° and 45 °~90 ° processing modes that these two kinds of different angles scopes are interior in this preferred embodiment, but, can carry out with reference to this example for the processing mode in 90 °~135 ° and 135 °~180 ° scopes, do not repeat them here.
Step 207: the cursor movement distance that step 205 is obtained is as the horizontal coordinate increment of cursor position.
Step 208: search the current angle of cursor and the corresponding relation of position skew according to the current angle of cursor, obtain corresponding position skew, determine the vertical increment of coordinate of cursor position to jump to step 211 according to the skew of the position that obtains and the described horizontal coordinate increment of step 207.
Step 209: the cursor movement distance that step 205 is obtained is as the vertical increment of coordinate of cursor position.
Step 210: search the corresponding relation of the current angle of cursor and position skew according to the current angle of cursor, obtain corresponding position skew, the horizontal coordinate increment of determining cursor position according to the position skew that obtains and the described vertical increment of coordinate of step 209.
Step 211: rotating direction, the current location of cursor, the horizontal coordinate increment of cursor position and the vertical increment of coordinate of cursor position of the roller rotating direction that the expression that arranges according to step 201 is advanced, the roller that current detection arrives, determine new cursor position.
In this step, the rotating direction of the roller that the roller rotating direction that the expression that arranges according to step 201 is advanced and current detection arrive, the cursor movement distance of can determining to add up in the current location of cursor obtains new cursor position, still need deduct the cursor movement distance in the current location of cursor and obtain new cursor current location.Particularly, if current detection to the roller rotating direction that advances of rotating direction and the expression that sets in advance of roller identical, then with the horizontal coordinate of cursor current location and the described horizontal coordinate increment sum horizontal coordinate as new cursor current location, with the vertical coordinate of cursor current location and the described vertical increment of coordinate sum vertical coordinate as new cursor current location, otherwise, with the difference of the horizontal coordinate of cursor current location and the described horizontal coordinate increment horizontal coordinate as new cursor current location, with the difference of the vertical coordinate of cursor current location and the described vertical increment of coordinate vertical coordinate as new cursor current location.
So far, finish the method flow of this current direction of motion of preferable definite cursor and current location.In actual applications, method shown in Figure 2 is that circulation is carried out, and when the roller button is in down state, along with the rolling of roller, constantly carries out method shown in Figure 2 that is:, to determine the new direction of motion and position.
Said method provided by the invention is to determine the direction of motion earlier, moves then, when specific implementation, also can carry out suitable improvement to said method, to realize changing at the volley direction.Particularly:
Cursor can be set have two states: inactive state and motion state;
When detecting the roller button and be in down state, further judge cursor state, if cursor remains static, then middle step 103 is described according to the method described above, carries out and determines the current direction of motion and control the operation that cursor indicates the described current direction of motion according to the rolling of roller; If cursor is kept in motion, then determine the current direction of motion and current location according to the rolling of roller, and the control cursor indicates the described current direction of motion and current location.
Need to determine cursor state in the above-mentioned motion in the method for change direction, when realizing determining the function of cursor state, can carry out in the following manner:
Set in advance time threshold;
Under motion state, if the time of cursor stop motion exceeds described time threshold time corresponding, then described cursor is switched to inactive state;
Under static state, if the cursor setting in motion then switches to motion state with described cursor.
Consider when in the process of motion, changing direction and need slow down to the movement velocity of cursor, so, the needs of more realistic application, therefore, can set in advance the corresponding relation of angle and moderating ratio, and, be kept in motion down at cursor, at first search the corresponding relation of described angle and moderating ratio according to the described new current angle of cursor, obtain corresponding moderating ratio, then with described cursor movement distance and described moderating ratio long-pending as cursor movement apart from the definite process that participates in described new cursor current location.
Based on the above method, can further detect the double-click event of roller button, when detecting the roller button and double-clicked, the control that triggers in the user interface of cursor current location correspondence is carried out, that is: the control in the user interface of cursor current location correspondence sends action command.This point can realize with reference to the double-click of mouse.
Corresponding to said method, the invention provides a kind of mobile phone as shown in Figure 3.Referring to Fig. 3, this mobile phone comprises: roller 301, roller button 302, user interface 303, detection module 304 and cursor control module 305.Wherein:
Roller 301 can roll along clockwise and counterclockwise both direction, is used for accepting user's input;
Roller button 302 can be pressed, and is used for accepting user's input;
User interface 303 is used for display highlighting, and described cursor is used to indicate the current direction of motion and current location;
Detection module 304 is for detection of the rolling of state and the roller of roller button;
Cursor control module 305 is used for determine the current direction of motion according to the rolling of roller, and the cursor of controlling in the described user interface indicating the described current direction of motion when detection module 304 detects the roller button and is in down state; And be used for when detection module 304 roller buttons are in release condition, determine current location according to the rolling of roller, and the cursor of controlling in the described user interface indicating described current location.
Further, can comprise in the described mobile phone of Fig. 3: state recording unit 306, be used for the record cursor state, described cursor state comprises: inactive state and motion state;
Cursor control module 305, can also be used for when detection module 304 detects the roller button and is in down state, judge cursor state, when cursor remains static, carry out described rolling according to roller and determine the current direction of motion, and the control cursor indicates the operation of the described current direction of motion; When cursor is kept in motion, determine the current direction of motion and current location according to the rolling of roller, and the control cursor indicates the described current direction of motion and current location.
Preferably, cursor control module 305 can also be used for when detection module 304 detects the roller button and double-clicked, and the control in the user interface of cursor current location correspondence sends action command.
In the mobile phone shown in Figure 3, when cursor control module 305 is controlled cursor according to the state of the rolling of roller and roller button, can above-mentioned mobile phone input method carry out according to the present invention, not repeat them here.
According to most of users' use habit, roller of the present invention can be arranged on the mobile phone right side, and the roller button can arrange separately, also can be set to one with roller, can also be with certain button in the cell phone keyboard as described roller button.When the roller button arranges separately, can be arranged on the mobile phone left side, so that user's operation.
Specific implementation process below by a concrete example explanation technical solution of the present invention.
In this example, be 320 * 240 to be that example describes with the pixel cell of mobile phone screen.Suppose that roller represents to advance in the counterclockwise direction.The corresponding relation of the corresponding relation of the corresponding relation of the rolling speed of the roller that this example is set and cursor movement angular speed, the rolling speed of roller and cursor movement linear velocity and the current angle of cursor and position skew is respectively shown in table 1, table 2 and table 3:
Figure G2008101716206D00111
Table 1
Figure G2008101716206D00112
Table 2
Figure G2008101716206D00113
Figure G2008101716206D00121
Table 3
The current angle of supposing cursor is 68 °, and the current location of cursor is (50,50).To represent 0 ° along the X-axis positive direction, represent 90 ° along the Y-axis positive direction, calculate with pixel cell the position of described cursor.Under initial condition, if detecting the user continues by bottom roller button and clockwise scroll wheel, the rolling speed of roller reaches 4 lattice/50ms, then by look-up table 1 as can be known, cursor should rotate from 68 ° and reduce 25 °, that is: rotate to 43 °, at this moment, the current direction of motion is 43 ° of indicated directions.
Suppose that this moment, the user unclamped the roller button, and counterclockwise scroll wheel, the rolling speed of roller is 1 lattice/50ms.Because the current angle of cursor is 43 °, be in (0 °, 45 °) in the scope, according to the inventive method, should obtain the horizontal coordinate increment of cursor position with the rolling speed look-up table 2 of roller, and obtain the position skew with the current angle look-up table 3 of cursor, and determine the vertical increment of coordinate of cursor position according to described horizontal coordinate increment and position skew.Particularly:
The 1st step: according to table 2 as can be known, be that the cursor movement linear velocity of 1 lattice/50ms is 5 pixel cell/50ms corresponding to rolling speed, therefore, the horizontal coordinate increment of cursor position is 5 pixel cells.Because roller is counterclockwise rolling, the horizontal coordinate increment 5 that adds up on the basis of cursor present level coordinate 50, namely obtaining new cursor present level coordinate is 55;
The 2nd step: according to table 3 as can be known, be that 43 ° position skew is 75 corresponding to the current angle of cursor.Because when tan45 °=1, and in the table 3, the position skew corresponding with 45 ° is 80 pixel cells, as can be known, the pass in the table 3 between the skew of angle and position is:
Position skew=80 * tan (the current angle of cursor) (3)
In addition, according to table 2 as can be known, the number of pixel cells of the lattice correspondence of rolling is 5,80/5=16,16=2 4, therefore, the vertical increment of coordinate of 4 values that obtain as cursor position should move to right the 3 resulting position skews of tabling look-up.Because 8 to move to right after 4 be 0.5, in order to realize rounding up, the position skew that can obtain tabling look-up adds 8, and the described position skew that adds after 8 moved to right 4 obtains vertical increment of coordinate.Corresponding to this example, can according to:
Vertical increment of coordinate=(75+8)〉4=4 (4)
Determine the vertical increment of coordinate of cursor position.
Because roller is counterclockwise rolling, the vertical increment of coordinate 4 that adds up on the basis of the current vertical coordinate 50 of cursor, namely obtaining the current vertical coordinate of new cursor is 54.
According to the implementation difference, set cursor size, the display mode of cursor may be different.When definite cursor direction display parameters, also can be according to table 3, how to determine display highlighting by the mode of tabling look-up.For example, suppose that cursor is of a size of 10 * 10 pixel cells, namely the horizontal coordinate width of cursor and vertical coordinate width are 10 pixel cells, when the current angle of cursor is 32 °, can determine the vertical coordinate of cursors by look-up table 3:
The vertical coordinate of cursor=(50+4)〉3=6 (4)
Based on the above method, angle as shown in table 4 and the corresponding relation of moderating ratio can be set:
Angle 0-15 16-30 31-40 41-45
Coefficient 1 0.5 0.25 0.125
Table 4
In addition, because mobile phone screen has symmetry, in order to shorten move distance, can cross over the screen border motion.For example: when the lower right corner of cursor movement to screen, when continuing to move right, cursor can be shown to the lower left corner of screen, continue to move right.
As seen from the above-described embodiment, the present invention is by installing roller and the roller button of the cursor that is used for the control cell-phone user interface in mobile phone, and described cursor is set to be used to indicate the current direction of motion and current location, and when detecting the roller button and be in down state, determine the current direction of motion according to the rolling of roller, the control cursor indicates the described current direction of motion, when the roller button is in release condition, current location is determined in rolling according to roller, the control cursor indicates described current location, thereby provides a kind of new input mode for mobile phone.The input of this input mode and computer mouse is similar, relatively meets people's use habit.
The hardware that technical solution of the present invention increases in mobile phone mainly contains roller and roller button, and corresponding detecting element, and its price is all comparatively cheap, and therefore, the hardware cost of implementing technical solution of the present invention is lower.And, roller can roll along clockwise and counterclockwise both direction, can control cursor by scroll wheel advances or retreats along the current direction of motion, by the state of roller button and the combination of roller rolling, can change the direction of motion of cursor easily, this is than the input speed of keyboard input, and is comparatively quick.In addition, as stated in the Background Art, the reliability of touch-screen will reduce along with the growth of service time, yet but there are not this problem in roller of the present invention and roller button.
As seen, technical scheme provided by the present invention can realize mobile phone input high-speed, high reliability under the prerequisite that reduces the mobile phone manufacturing cost.
The above is preferred embodiment of the present invention only, is not for limiting protection scope of the present invention.All any modifications of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (13)

1. mobile phone input method, it is characterized in that, be applied to be equipped with the mobile phone of roller and roller button, described roller and roller button are used for the cursor of control cell-phone user interface, described roller rolls along clockwise and counterclockwise both direction, and described roller button is for being pressed or discharging; This method comprises: described cursor is set to be used to indicate the current direction of motion and current location, wherein, described cursor is set to be used to indicate the current direction of motion and comprises: cursor is set to 180 ° of rotations, indicates the current direction of motion with the current angle of cursor, and may further comprise the steps:
Detect the state of roller button and rotating direction and the rolling speed of roller;
When the roller button is in down state, determine the current direction of motion according to rotating direction and the rolling speed of roller, and the control cursor indicates the described current direction of motion;
When the roller button is in release condition, determine current location according to rotating direction and the rolling speed of roller, and the control cursor indicates described current location;
This method further comprises: set in advance the rolling speed of roller and the corresponding relation of cursor movement angular speed, and the corresponding relation of the rolling speed of roller and cursor movement linear velocity, and arrange when roller rolls along clockwise direction and represent to advance, represent when rolling in the counterclockwise direction to retreat; Correspondingly:
Described rotating direction and rolling speed according to roller determines that the current direction of motion comprises: search the rolling speed of described roller and the corresponding relation of cursor movement angular speed according to the rolling speed of described roller, obtain corresponding cursor movement angular speed, and calculate the cursor movement angle of described cursor movement angular speed correspondence, when the rotating direction of roller is clockwise direction, with the current angle of cursor and described cursor movement angle sum as the current angle of new cursor, when the rotating direction of roller is counterclockwise the time, with the difference of the current angle of cursor and described cursor movement angle as the current angle of new cursor;
Described rotating direction and rolling speed according to roller determines that current location comprises: search the rolling speed of described roller and the corresponding relation of cursor movement linear velocity according to the rolling speed of described roller, obtain corresponding cursor movement linear velocity, and the cursor movement distance of definite described cursor movement linear velocity correspondence, when the rotating direction of roller is clockwise direction, advance described cursor movement apart from as new cursor current location in the described current direction of motion in the current location upper edge of cursor, when the rotating direction of roller is counterclockwise the time, retreat described cursor movement apart from as new cursor current location in the described current direction of motion in the current location upper edge of cursor;
Perhaps, this method further comprises: set in advance the rolling speed of roller and the corresponding relation of cursor movement angular speed, and the corresponding relation of the rolling speed of roller and cursor movement linear velocity, and arrange when roller rolls in the counterclockwise direction and represent to advance, represent when rolling along clockwise direction to retreat; Correspondingly:
Described rotating direction and rolling speed according to roller determines that the current direction of motion comprises: search the rolling speed of described roller and the corresponding relation of cursor movement angular speed according to the rolling speed of described roller, obtain corresponding cursor movement angular speed, and calculate the cursor movement angle of described cursor movement angular speed correspondence, when the rotating direction of roller is clockwise direction, with the difference of the current angle of cursor and described cursor movement angle as the current angle of new cursor, when the rotating direction of roller is counterclockwise the time, with the current angle of cursor and described cursor movement angle sum as the current angle of new cursor;
Described rotating direction and rolling speed according to roller determines that current location comprises: search the rolling speed of described roller and the corresponding relation of cursor movement linear velocity according to the rolling speed of described roller, obtain corresponding cursor movement linear velocity, and the cursor movement distance of definite described cursor movement linear velocity correspondence, when the rotating direction of roller is clockwise direction, retreat described cursor movement apart from as new cursor current location in the described current direction of motion in the current location upper edge of cursor, when the rotating direction of roller is counterclockwise the time, advance described cursor movement apart from as new cursor current location in the described current direction of motion in the current location upper edge of cursor.
2. method according to claim 1 is characterized in that:
The corresponding relation of the rolling speed of described roller and cursor movement angular speed is more fast according to the rolling speed of roller, the more big principle of motion angular speed of cursor arranges;
The corresponding relation of the rolling speed of described roller and cursor movement linear velocity is more fast according to the rolling speed of roller, the more fast principle of line of motion speed of cursor arranges.
3. method according to claim 2 is characterized in that:
The rolling speed of described roller is unit with the rolling lattice number/time of roller;
The line of motion speed of described cursor is unit with angle/time;
The line of motion speed of described cursor is unit with pixel cell/time.
4. method according to claim 3 is characterized in that, the current location of described cursor is represented with the rectangular coordinate system coordinate;
This method further comprises: set in advance the current angle of cursor and the corresponding relation of position skew;
The cursor movement of described definite cursor movement linear velocity correspondence distance comprises: when the current angle of cursor more than or equal to 0 °, smaller or equal to 45 ° scope in the time, the described cursor movement linear velocity that obtains be multiply by the horizontal coordinate increment that run duration obtains cursor position, search the current angle of described cursor and the corresponding relation of position skew according to the current angle of cursor, obtain corresponding position skew, the vertical increment of coordinate of determining cursor position according to the described position skew that obtains and described horizontal coordinate increment; When the current angle of cursor greater than 45 °, less than 90 ° scope in the time, the described cursor movement linear velocity that obtains be multiply by the vertical increment of coordinate that run duration obtains cursor position, search the current angle of described cursor and the corresponding relation of position skew according to the current angle of cursor, obtain corresponding position skew, the horizontal coordinate increment of determining cursor position according to the described position skew that obtains and described vertical increment of coordinate;
The described current direction of motion in described current location upper edge at the cursor described cursor movement distance of advancing is: with the horizontal coordinate of cursor current location and the described horizontal coordinate increment sum horizontal coordinate as new cursor current location, with the vertical coordinate of cursor current location and the described vertical increment of coordinate sum vertical coordinate as new cursor current location;
Retreating described cursor movement distance in the described current direction of motion in the current location upper edge of cursor is: with the difference of the horizontal coordinate of cursor current location and the described horizontal coordinate increment horizontal coordinate as new cursor current location, with the difference of the vertical coordinate of cursor current location and the described vertical increment of coordinate vertical coordinate as new cursor current location.
5. method according to claim 4 is characterized in that, the corresponding relation of the current angle of described cursor and position skew according to:
The tan of the current angle of position skew=constant * cursor
Arrange.
6. method according to claim 5, it is characterized in that, the method that described constant is set is: according to the rolling speed of the described roller that sets in advance and the corresponding relation of cursor movement linear velocity, the number of pixel cells of the lattice correspondence of determine rolling will be that the number of 2 integral number power is as described constant divided by the resulting value of number of pixel cells of the lattice correspondence of rolling;
The skew of position that described basis obtains and described horizontal coordinate increment determine that the method for the vertical increment of coordinate of cursor position is: with described position skew value that described integer-bit the obtains vertical increment of coordinate as described cursor position that moves to right;
The skew of position that described basis obtains and described vertical increment of coordinate determine that the method for the horizontal coordinate increment of cursor position is: with described position skew value that described integer-bit the obtains horizontal coordinate increment as described cursor position that moves to right.
7. method according to claim 1 is characterized in that, this method further comprises: cursor is set has two states: inactive state and motion state;
When detecting the roller button and be in down state, further judge cursor state, if cursor remains static, then carry out described rolling according to roller and determine the current direction of motion, and the control cursor indicates the operation of the described current direction of motion; If cursor is kept in motion, then determine the current direction of motion and current location according to the rolling of roller, and the control cursor indicates the described current direction of motion and current location.
8. method according to claim 7 is characterized in that, determines that the method for cursor state comprises:
Set in advance time threshold;
Under motion state, if the time of cursor stop motion exceeds described time threshold time corresponding, then described cursor is switched to inactive state;
Under static state, if the cursor setting in motion then switches to motion state with described cursor.
9. method according to claim 7 is characterized in that, this method further comprises: the corresponding relation that sets in advance angle and moderating ratio;
Be kept in motion down at cursor, the method of determining the current direction of motion and current location according to the rolling of roller comprises: the corresponding relation of searching described angle and moderating ratio according to the described new current angle of cursor, obtain corresponding moderating ratio, with described cursor movement distance and described moderating ratio long-pending as cursor movement apart from the definite process that participates in described new cursor current location.
10. method according to claim 1 is characterized in that:
This method further comprises: when detecting the roller button and double-clicked, the control in the user interface of cursor current location correspondence sends action command.
11. a mobile phone is characterized in that, comprising: roller, roller button, user interface, detection module and cursor control module;
Described roller rolls along clockwise and counterclockwise both direction, is used for accepting user's input;
Described roller button is pressed or discharges, and is used for accepting user's input;
Described user interface is used for display highlighting, and described cursor is used to indicate the current direction of motion and current location, 180 ° of rotations of described cursor, and the current angle of cursor is indicated the current direction of motion;
Described detection module is for detection of the state of roller button and rotating direction and the rolling speed of roller;
Described cursor control module is used for determine the current direction of motion according to rotating direction and the rolling speed of roller, and the cursor of controlling in the described user interface indicating the described current direction of motion when detection module detects the roller button and is in down state; And be used for when detection module detects the roller button and is in release condition, determine current location according to rotating direction and the rolling speed of roller, and the cursor of controlling in the described user interface indicating described current location;
If set in advance the rolling speed of roller and the corresponding relation of cursor movement angular speed, and the corresponding relation of the rolling speed of roller and cursor movement linear velocity, and be provided with when roller rolls along clockwise direction and represent to advance, represent when rolling in the counterclockwise direction to retreat; Then:
Described cursor control module is carried out following operation when determining the current direction of motion according to the rotating direction of roller and rolling speed: search the rolling speed of described roller and the corresponding relation of cursor movement angular speed according to the rolling speed of described roller, obtain corresponding cursor movement angular speed, and calculate the cursor movement angle of described cursor movement angular speed correspondence, when the rotating direction of roller is clockwise direction, with the current angle of cursor and described cursor movement angle sum as the current angle of new cursor, when the rotating direction of roller is counterclockwise the time, with the difference of the current angle of cursor and described cursor movement angle as the current angle of new cursor;
Described cursor control module is carried out following operation when determining current location according to the rotating direction of roller and rolling speed: search the rolling speed of described roller and the corresponding relation of cursor movement linear velocity according to the rolling speed of described roller, obtain corresponding cursor movement linear velocity, and the cursor movement distance of definite described cursor movement linear velocity correspondence, when the rotating direction of roller is clockwise direction, advance described cursor movement apart from as new cursor current location in the described current direction of motion in the current location upper edge of cursor, when the rotating direction of roller is counterclockwise the time, retreat described cursor movement apart from as new cursor current location in the described current direction of motion in the current location upper edge of cursor;
If set in advance the rolling speed of roller and the corresponding relation of cursor movement angular speed, and the corresponding relation of the rolling speed of roller and cursor movement linear velocity, and be provided with when roller rolls in the counterclockwise direction and represent to advance, represent when rolling along clockwise direction to retreat; Then:
Described cursor control module is carried out following operation when determining the current direction of motion according to the rotating direction of roller and rolling speed: search the rolling speed of described roller and the corresponding relation of cursor movement angular speed according to the rolling speed of described roller, obtain corresponding cursor movement angular speed, and calculate the cursor movement angle of described cursor movement angular speed correspondence, when the rotating direction of roller is clockwise direction, with the difference of the current angle of cursor and described cursor movement angle as the current angle of new cursor, when the rotating direction of roller is counterclockwise the time, with the current angle of cursor and described cursor movement angle sum as the current angle of new cursor;
Described cursor control module is carried out following operation when determining current location according to the rotating direction of roller and rolling speed: search the rolling speed of described roller and the corresponding relation of cursor movement linear velocity according to the rolling speed of described roller, obtain corresponding cursor movement linear velocity, and the cursor movement distance of definite described cursor movement linear velocity correspondence, when the rotating direction of roller is clockwise direction, retreat described cursor movement apart from as new cursor current location in the described current direction of motion in the current location upper edge of cursor, when the rotating direction of roller is counterclockwise the time, advance described cursor movement apart from as new cursor current location in the described current direction of motion in the current location upper edge of cursor.
12. mobile phone according to claim 11 is characterized in that, further comprises in the described mobile phone:
The state recording unit is used for the record cursor state, and described cursor state comprises: inactive state and motion state;
Described cursor control module, also be used for when detection module detects the roller button and is in down state, judging cursor state, when cursor remains static, carry out described rolling according to roller and determine the current direction of motion, and the control cursor indicates the operation of the described current direction of motion; When cursor is kept in motion, determine the current direction of motion and current location according to the rolling of roller, and the control cursor indicates the described current direction of motion and current location.
13. according to claim 11 or 12 described mobile phones, it is characterized in that:
Described cursor control module also is used for when detection module detects the roller button and double-clicked, and the control in the user interface of cursor current location correspondence sends action command.
CN2008101716206A 2008-10-21 2008-10-21 Mobile phone and mobile phone input method Expired - Fee Related CN101729631B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101716206A CN101729631B (en) 2008-10-21 2008-10-21 Mobile phone and mobile phone input method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101716206A CN101729631B (en) 2008-10-21 2008-10-21 Mobile phone and mobile phone input method

Publications (2)

Publication Number Publication Date
CN101729631A CN101729631A (en) 2010-06-09
CN101729631B true CN101729631B (en) 2013-08-28

Family

ID=42449809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101716206A Expired - Fee Related CN101729631B (en) 2008-10-21 2008-10-21 Mobile phone and mobile phone input method

Country Status (1)

Country Link
CN (1) CN101729631B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201222344A (en) * 2010-11-16 2012-06-01 Elan Microelectronics Corp Method for continuing a multi-finger gesture on a touch panel
CN102004559A (en) * 2010-11-30 2011-04-06 汉王科技股份有限公司 Method for inputting information by keys and electronic device with keys
CN104407723B (en) * 2014-10-31 2017-09-26 苏州佳世达电通有限公司 Roller key control method
CN104915030A (en) * 2015-05-28 2015-09-16 努比亚技术有限公司 Operation method and device based on mobile terminal rolling wheel key
CN106445206A (en) * 2016-08-31 2017-02-22 上海青橙实业有限公司 Mobile terminal with adjusting roller

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1540491A (en) * 2003-04-25 2004-10-27 微软公司 Computer inputting device with detection power for agular displacement
CN101046709A (en) * 2006-03-30 2007-10-03 英业达股份有限公司 Mobile electronic device with rolling element
CN101131614A (en) * 2006-08-25 2008-02-27 北京三星通信技术研究有限公司 Trackball mouse and its operating method and portable terminal with the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1540491A (en) * 2003-04-25 2004-10-27 微软公司 Computer inputting device with detection power for agular displacement
CN101046709A (en) * 2006-03-30 2007-10-03 英业达股份有限公司 Mobile electronic device with rolling element
CN101131614A (en) * 2006-08-25 2008-02-27 北京三星通信技术研究有限公司 Trackball mouse and its operating method and portable terminal with the same

Also Published As

Publication number Publication date
CN101729631A (en) 2010-06-09

Similar Documents

Publication Publication Date Title
CN101729631B (en) Mobile phone and mobile phone input method
US20130154948A1 (en) Force sensing input device and method for determining force information
US20100328263A1 (en) Resistive touch panel and method for detecting touch point type
CN103135810A (en) Pressure sensitivity adjustment method of touch screen and pressure sensitivity adjustment system of touch screen
CN102566858B (en) Touch control method and electronic equipment
CN102393797B (en) Mouse and method for controlling window switching through the same
CN103076918A (en) Remote control method and system based on touch terminal
CN103530050A (en) Display method and information processing device
CN103838456A (en) Method and system for controlling display positions of desktop icons
CN104615332A (en) Mobile terminal and application icon arrangement method
CN102193677A (en) Display device and screen display method
CN102855033A (en) Touch control device and control method thereof
CN102004569A (en) Touch control method, processing device and processing system
CN103034347A (en) Contact sampling frequency switchover method and device
CN104345998A (en) Drive induction method of single layer multipoint mutual capacitive touch screen
CN105094487A (en) Touch screen and control method and control device thereof and touch display device
CN102306064A (en) Touch screen control device and control method thereof
CN101424997A (en) Touching control panel and method for starting rapid scroll bar thereof
US20120283972A1 (en) System and method for determining user input using dual baseline modes
CN105824564A (en) Method for using function of return key and terminal
CN105892909A (en) Information checking method and terminal
CN103049132A (en) Monolayer electrode layout of touch screen
CN103186234A (en) Control method and electronic equipment
CN104750395A (en) User interface modifying system and modifying method thereof
CN103645855A (en) Touch reading method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130828

Termination date: 20191021

CF01 Termination of patent right due to non-payment of annual fee