CN105630228B - Touch-screen input adjustment in direction and response method, device and game control method, device - Google Patents
Touch-screen input adjustment in direction and response method, device and game control method, device Download PDFInfo
- Publication number
- CN105630228B CN105630228B CN201510713580.3A CN201510713580A CN105630228B CN 105630228 B CN105630228 B CN 105630228B CN 201510713580 A CN201510713580 A CN 201510713580A CN 105630228 B CN105630228 B CN 105630228B
- Authority
- CN
- China
- Prior art keywords
- angle
- user
- input
- touch
- crucial
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 109
- 230000004044 response Effects 0.000 title claims description 13
- 230000006641 stabilisation Effects 0.000 claims abstract description 66
- 238000011105 stabilization Methods 0.000 claims abstract description 66
- 230000006870 function Effects 0.000 claims description 126
- 230000009471 action Effects 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 49
- 230000036544 posture Effects 0.000 description 36
- 238000009826 distribution Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 11
- 210000003811 finger Anatomy 0.000 description 8
- 238000012360 testing method Methods 0.000 description 7
- 230000006872 improvement Effects 0.000 description 6
- 230000006399 behavior Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 238000002474 experimental method Methods 0.000 description 3
- 210000004247 hand Anatomy 0.000 description 3
- 238000013507 mapping Methods 0.000 description 3
- 230000010415 tropism Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 210000003813 thumb Anatomy 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013499 data model Methods 0.000 description 1
- 238000005315 distribution function Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 210000003205 muscle Anatomy 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 210000001747 pupil Anatomy 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Landscapes
- Position Input By Displaying (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of touch-screen input adjustment in direction methods, including:Obtain user on the touchscreen actually enter angle;According to the stabilization deviation of at least two crucial direction inputs of the user being previously obtained on the touch screen, the misalignment angle for actually entering angle is calculated using interpolating function;Wherein, the angle between the adjacent two crucial directions is equal;The angle that actually enters is modified using the misalignment angle, obtains the expectation input angle of user.The embodiment of the present invention can improve the accurate judgement of input direction information of the user on touch screen, on the one hand it reduces for operation difficulty caused by accurate input direction information, the comfort level of operation is improved, the accuracy of directional information is on the other hand improved, improves the efficiency of operation.
Description
Technical field
The present invention relates to touch screen technology field more particularly to a kind of touch-screen input adjustment in direction and response method, device and
Game control method, device.
Background technology
Current mobile phone application is mostly to be clicked on the screen by finger or slide, by taking certain browser as an example,
Carry out browsing pages using sliding up and down, choosing is turned over using horizontally slipping.By taking certain video jukebox software as an example, horizontally slip as rewind
F.F. slides up and down to change volume or brightness.In some input methods, different letter or number are selected using sliding up and down
Word, in gaming, directional information can be used directly to movement or the direction of control leading role.It can be seen that on touch screen stroke with
Directional information is provided and has obtained universal application in current application.But actual effect is unsatisfactory, often has
The deviation of maloperation or input, such as wish that (upper and lower stroke) becomes fast forward and fast reverse when adjusting volume.This with it is many because
It is known as pass, the posture for machine of shaking hands, mobile phone placement direction is laterally or longitudinal, length-flexible degree of finger etc..
Usual user holds case for mobile telephone and contains horizontal and vertical two kinds of postures, and left hand and right hand difference are had according to custom, I
By taking left hand as an example, after holding mobile phone as user with the posture being accustomed to, thumb can in its mobilizable region progress side
To input.
Usually, software mainly has 3 kinds for the demand of directionality:
The first:Simplest is information on four direction, upper and lower, left and right.
Second:It is the information for needing eight directions, upper and lower, left and right, upper left, lower-left, upper right, bottom right
The third:It is input angle information, this angle can be continuous 0-360 degree, be starting 0 with right direction
Degree, the number of degrees counterclockwise increase.
The input of user be it is uncertain, may include 0-360 in any angle, however we it is desirable that up and down
The input of left and right four direction, user is usually unable to precisely, therefore is set a range and be all considered the input within the scope of this
The direction, then with regard to needing to carry out judging to be which direction according to angle input by user.Such as upwardly direction, i.e., 90 degree
Angle, current way are typically to set the angular range of a tolerance, such as 45 degree, i.e., 45 centered on 90 degree of directions
The angular range of -135 degree of degree is all judged as this direction.
Invention content
Through engineering test the study found that the processing mode of 45 degree of tolerances of the prior art has the following problems:
1, for different users, everyone hand structure is different, for example, size, sensitivity etc..And
It for two hands, similarly has differences, such as the people that the right hand is strong hand, the stability of right hand input is relatively high
A bit.For different grip positions, only lift here it is horizontal hold and indulge hold for, the case where finger manipulation, is also different.
2, each direction input by user is devious, and each corresponding deviation of angle is not quite similar,
So obtaining the angled departure function of institute, the desired input accurately to obtain user in 0-360 just becomes abnormal difficult.
3, there are droops, i.e. user to input the average value of upwardly direction in fact for actual direction input by user
It is not 90 degree of directions, this is because direction value input by user is not usually accurate direction.Such as user's input is upward
Xiang Shi, usually there are certain angular deviations with upwardly direction in the direction that he inputs.
4,45 ° of this angles are inaccurate.Because the angular range of deviation is also unfixed, each direction is come
It says, stability is also different, such as when user's input upper and lower directions (90 degree, 270 degree), the stability of user is high, partially
Difference is small, therefore angular range input by user is a smaller range, and when user input left and right directions (180 degree, 0 degree with
360 degree) when, stability is poor, and deviation is also larger, therefore when the left and right direction of input, angular range is a larger range.
Therefore the use of identical range is inappropriate, the limitation of his widened upper and lower directions, and the limitation of the left and right directions reduced,
So that left and right directions input by user is not identified, and many directions are misidentified as upper and lower directions.
5, in addition, for a direction, expected angle is in clockwise misalignment angle range and deviation counterclockwise
Angular range is unfixed, this angle angle probability distribution adjacent with him is relevant.That is angle is being had selected
Behind the expectation center of degree, the misalignment angle on both sides is uncertain.
To solve the above problems, we have proposed a kind of touch-screen input adjustment in direction method, it can be according to the input of user
It is accustomed to (hobby), original-party tropism information input by user is modified, makes to export and be correctly oriented information to system.
To achieve the above object, the present invention provides a kind of touch-screen input adjustment in direction and response method, device and game
Control method, device can improve the accurate judgement of input direction information of the user on touch screen, on the one hand reduce in order to accurate
Input direction information caused by operation difficulty, improve the comfort level of operation, on the other hand improve the standard of directional information
True property, improves the efficiency of operation.
An embodiment of the present invention provides a kind of touch-screen input adjustment in direction methods, including:
Obtain user on the touchscreen actually enter angle;
According to the stabilization deviation of at least two crucial direction inputs of the user being previously obtained on the touch screen, profit
The misalignment angle for actually entering angle is calculated with interpolating function;Wherein, between the adjacent two crucial directions
Angle it is equal;
The angle that actually enters is modified using the misalignment angle, obtains the expectation input angle of user.
As the improvement of said program, the stabilization deviation of each crucial direction input is advance in the following manner to be obtained
It arrives:
The actual angle value that user is repeatedly inputted based on each crucial direction is calculated by normal distyribution function
Average value, and the difference between each crucial direction and corresponding average value is calculated, the difference is user in each institute
State the stabilization deviation of crucial direction input.
The embodiment of the present invention additionally provides a kind of touch-screen input adjustment in direction method, which is characterized in that including:
Obtain user on the touchscreen actually enter angle;
According to the correspondence for actually entering direction and angle of deviation angle value for the user being generated in advance, it is defeated to obtain the reality
Enter the misalignment angle of angle;
The angle that actually enters is modified using the misalignment angle, obtains the expectation input angle of user.
As the improvement of said program, the user being generated in advance to actually enter direction corresponding with angle of deviation angle value
Relationship is obtained by following steps:
By normal distyribution function calculate user based at least two crucial direction by the actual angle value that repeatedly inputs
Average value, and the difference between each crucial direction and corresponding average value is calculated, the difference is user in each institute
State the angle of deviation angle value of crucial direction input;Wherein, the angle between the adjacent two crucial directions is equal;
According to the angle of deviation angle value of each crucial direction input, other all input directions are calculated using interpolating function
Angle of deviation angle value.
The embodiment of the present invention additionally provides a kind of touch screen response method, including:
The angle that actually enters of user on the touchscreen is carried out using touch-screen input adjustment in direction method as described above
It corrects, obtains the expectation input angle of user;
It is responded according to the expectation input angle.
The embodiment of the present invention additionally provides a kind of touch-screen input direction correcting device, including:
Acquisition module, for obtain user on the touchscreen actually enter angle;
Misalignment angle computing module, it is defeated according at least two crucial directions of the user being previously obtained on the touch screen
The misalignment angle for actually entering angle is calculated using interpolating function in the stabilization deviation entered;Wherein, adjacent two
Angle between the key direction is equal;
Correcting module is modified the angle that actually enters using the misalignment angle, and the expectation for obtaining user is defeated
Enter angle.
As the improvement of said program, further include:
Module is pre-seted, is repeatedly inputted based on each crucial direction for calculating user by normal distyribution function
Actual angle value average value, and calculate the difference between each crucial direction and corresponding average value, the difference
The stabilization deviation inputted in each crucial direction for user.
The embodiment of the present invention additionally provides a kind of touch-screen input direction correcting device, including:
Acquisition module, for obtain user on the touchscreen actually enter angle;
Misalignment angle determining module actually enters direction pass corresponding with angle of deviation angle value according to the user being generated in advance
System obtains the misalignment angle for actually entering angle;
Correcting module is modified the angle that actually enters using the misalignment angle, and the expectation for obtaining user is defeated
Enter angle.
As the improvement of said program, further include:
Correspondence pre-generatmg module, is used for:
By normal distyribution function calculate user based at least two crucial direction by the actual angle value that repeatedly inputs
Average value, and the difference between each crucial direction and corresponding average value is calculated, the difference is user in each institute
State the angle of deviation angle value of crucial direction input;Wherein, the angle between the adjacent two crucial directions is equal;
According to the angle of deviation angle value of each crucial direction input, other all input directions are calculated using interpolating function
Angle of deviation angle value.
The embodiment of the present invention additionally provides a kind of touch screen responding device, including:
Touch-screen input direction correcting device as described above, for being carried out to the angle that actually enters of user on the touchscreen
It corrects, obtains the expectation input angle of user;
Respond module, for being responded according to the expectation input angle.
The embodiment of the present invention additionally provides a kind of game control method, including:
The angle that actually enters of user on the touchscreen is carried out using touch-screen input adjustment in direction method as described above
It corrects, obtains the expectation input angle of user;
Corresponding game action is responded according to the expectation input angle.
The embodiment of the present invention additionally provides game control device, including:
Touch-screen input direction correcting device as described above, for being carried out to the angle that actually enters of user on the touchscreen
It corrects, obtains the expectation input angle of user;
Game action respond module, for responding corresponding game action according to the expectation input angle.
Compared with prior art, a kind of touch-screen input adjustment in direction and response method disclosed by the invention, device and game
Control method, device, by the stabilization deviation of at least two crucial directions inputs of the user that is previously obtained on the touchscreen,
The current misalignment angle for actually entering angle of user or the reality of the user by being generated in advance is calculated using interpolating function
The correspondence of border input direction and angle of deviation angle value, obtain user it is current actually enter the misalignment angle of angle, and utilize
The misalignment angle is modified the angle that actually enters, and obtains the expectation input angle of user, and according to the expectation
Input angle carries out corresponding response.Therefore, it is possible to according to the input habit of user (hobby), to original orientation input by user
Property information is modified, and is made to export and is correctly oriented information to system, to improve input direction information of the user on touch screen
Accurate judgement, on the one hand reduce for operation difficulty caused by accurate input direction information, improve the comfortable of operation
Degree, on the other hand improves the accuracy of directional information, improves the efficiency of operation.
Description of the drawings
Fig. 1 is a kind of flow diagram of touch-screen input adjustment in direction method in the embodiment of the present invention 1.
Fig. 2 a~2b are that user is based respectively on four, eight crucial directions and the reality repeatedly inputted in the embodiment of the present invention 1
The statistics schematic diagram of border angle value.
Fig. 3 is the statistic histogram that user inputs crucial bearing data in the embodiment of the present invention 1.
Fig. 4 is that user is based respectively on eight crucial directions and the actual angle value that repeatedly inputs in the embodiment of the present invention 1
Normal distribution schematic diagram.
Fig. 5 is the normal distribution of two crucial direction inputs adjacent in the embodiment of the present invention 1.
Fig. 6 is to calculate misalignment angle using linear interpolation function and cubic spline functions in the embodiment of the present invention 1
Contrast schematic diagram.
Fig. 7 is a kind of flow diagram of touch-screen input adjustment in direction method in the embodiment of the present invention 2.
Fig. 8 is a kind of flow diagram of touch-screen input adjustment in direction method in the embodiment of the present invention 3.
Fig. 9 a~9b are the schematic diagrames for two kinds of postures that user holds touch screen in the embodiment of the present invention 3.
Figure 10 is a kind of flow diagram of touch-screen input adjustment in direction method in the embodiment of the present invention 4.
Figure 11 is a kind of flow diagram of touch-screen input adjustment in direction method in the embodiment of the present invention 5.
Figure 12 a~12b are to utilize interpolation letter according to the misalignment angle in four, eight crucial directions in the embodiment of the present invention 5
The omnidirectional angle of deviation angle value schematic diagram that number is calculated.
Figure 13 is a kind of flow diagram of touch-screen input adjustment in direction method in the embodiment of the present invention 6.
Figure 14 is a kind of flow diagram of touch-screen input adjustment in direction method in the embodiment of the present invention 7.
Figure 15 is a kind of flow diagram of touch-screen input adjustment in direction method in the embodiment of the present invention 8.
Figure 16 is a kind of flow diagram of touch screen response method in the embodiment of the present invention 9.
Figure 17 is a kind of structural schematic diagram of touch-screen input direction correcting device in the embodiment of the present invention 10.
Figure 18 is a kind of structural schematic diagram of touch-screen input direction correcting device in the embodiment of the present invention 11.
Figure 19 is a kind of structural schematic diagram of touch-screen input direction correcting device in the embodiment of the present invention 12.
Figure 20 is a kind of structural schematic diagram of touch-screen input direction correcting device in the embodiment of the present invention 13.
Figure 21 is a kind of structural schematic diagram of touch-screen input direction correcting device in the embodiment of the present invention 14.
Figure 22 is a kind of structural schematic diagram of touch-screen input direction correcting device in the embodiment of the present invention 15.
Figure 23 is a kind of structural schematic diagram of touch-screen input direction correcting device in the embodiment of the present invention 16.
Figure 24 is a kind of structural schematic diagram of touch-screen input direction correcting device in the embodiment of the present invention 17.
Figure 25 is a kind of structural schematic diagram of touch screen responding device in the embodiment of the present invention 18.
Figure 26 is a kind of flow diagram of game control method in the embodiment of the present invention 19.
Figure 27 is a kind of structural schematic diagram of game control device in the embodiment of the present invention 20.
Figure 28 is the application schematic diagram of the touch-screen input adjustment in direction method, device of the embodiment of the present invention, and show with
The difference of the prior art.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
The purpose of the present invention is for after user's input original orientation on the touchscreen according to the custom of user or its
Like to be modified, to obtain the directional information of user view, and passes to application program.On the one hand it reduces for essence
Operation difficulty caused by true input direction information, improves the comfort level of operation, on the other hand improves directional information
Accuracy improves the efficiency of operation.In Figure 28, the directional information input of the prior art is typically that will directly be originally inputted
Direction is directly passed to application program, this directional information is typically the input direction amendment for having error, and passing through the present invention
The revised accurate directional information of method, device, then pass to application program and obtained good effect.
It is a kind of flow diagram of touch-screen input adjustment in direction method in the embodiment of the present invention 1 referring to Fig. 1.This method
Including step:
S101, obtain user on the touchscreen actually enter angle;
S102, the stabilization deviation inputted according at least two crucial directions of the user being previously obtained on the touch screen
The misalignment angle for actually entering angle is calculated using interpolating function in value;Wherein, the adjacent two crucial directions
Between angle it is equal;
S103, the angle that actually enters is modified using the misalignment angle, obtains the expectation input angle of user
Degree.
In step S101, the angle that actually enters is that the direction that user currently inputs on the touchscreen (is originally inputted
Direction) corresponding to angle, this angle can be continuous 0~360 degree, be 0 degree of starting, the number of degrees counterclockwise with right direction
Increase.In the present embodiment, started to deviation post when leaving by calculating user's finger contacts point, calculate acquisition user and exist
Angle is actually entered on touch screen, i.e.,:Dir=posend-posstart。
The present embodiment is modified to the direction that is originally inputted of user, and accurately it is expected input direction to obtain user,
And it is originally inputted direction there are certain misalignment angles with desired input direction.Step S102 is exactly to calculate this misalignment angle.
Specifically, the stabilization deviation of at least two crucial directions inputs by the user that is previously obtained on the touch screen and
Interpolating function is calculated.
In the following, being discussed in detail how the present embodiment is previously obtained at least two crucial directions of the user on the touch screen
The stabilization deviation of input.
First, the present embodiment is obtained by experiment:Actual direction input by user is often differed with desired orientation, is all wrapped
Certain deviation is contained, and deviation is stable.Experimentation is described below:
User tests
In order to study this problem, one group of experimenter has been called in participate in testing, and user is recorded by application software
The track that finger moves when operation every time.Because the present invention is concerned in directional information input by user, therefore it may only be necessary to
Family finger contact point starts to deviation post when leaving, and can thus obtain the directional information that user actually enters, i.e.,:dir
=posend-posstart。
In order to meet different user, two hands of left and right, the input requirements of two kinds of grip positions of transverse and longitudinal, we are using a kind of " primary to learn
Practise, be applicable in for a long time " scheme, respectively to the various postures of user, every hand all carries out data acquisition, so that user is repeatedly inputted more
A key direction value (for example, eight crucial directions, including it is upper, under, left, right, upper left, lower-left, bottom right, upper right), because of user
The custom for having oneself intrinsic, therefore, the result of acquisition is permanently effective for the user, is not usually required to again
Input, and can be applied to various scenes.
In order to guarantee test result have real reliability, several experimenters can be invited to test, the age across
Teenager is to person in middle and old age;Different occupations, including often with the IT engineering staffs of touch screen contact and pupil, cleaner
People;Different stature ratios;Different genders etc..
Experiment content is very simple, everyone holds mobile phone (containing right-hand man) in such a way that oneself feels comfortable, respectively
With horizontal and vertical two kinds of postures, and ensure thumb energy flexible operating.After having held equipment, experimenter can receive respectively
It draws, lower stroke, left stroke, right stroke, upper left, lower-left, upper right, these instructions of bottom right, then respectively on the mobile phone of offer according to finger
Order is operated accordingly, wherein instruction can repeat multipass, therefore testing crew is also carried out in the information on eight directions
Multipass.And the instruction sent out upsets sequence and issues, and this avoid the continuous several times for the same direction to operate,
It ensure that the reliability of operation.
For the same user, 2*2*8 group data are acquired altogether, include user for more on eight directions
The result of secondary input.
One of which experiment is taken out to illustrate, which holds mobile phone with left hand transverse direction posture, and Fig. 2 b show examination
Personnel are tested for the input results schematic diagram on eight crucial directions.And Fig. 2 a show testing crew for four crucial directions
Input results schematic diagram on (upper and lower, left and right).
It can go out to find out from Fig. 2 a~2b:1) although the instruction that experimenter receives is eight (or four) crucial direction
Information, but its result actually entered is not but such, all contains certain deviation;2) although experimenter is not
The identical instruction received in the same time, but its input the result is that very consistent.That is, its angular deviation is to deposit
, and misalignment angle is stable.
That is, if we by according to the input habit of user (hobby), to directivity information input by user into
Row is corrected, then input to system is exactly correct information.
Model input by user determines
The input results of user are modeled, preferably to analyze behavior input by user.For example, it is desired to know
It is what that road user, which inputs the direction actually entered when multiple (for example, eight) key direction, the direction really inputted and intention
Misalignment angle is how many between direction, and how is the stability when inputting the direction, i.e. the phase in certain crucial direction of the input of user
Prestige value, deviant and stability (variance).
Multiple input by user in a crucial direction is analyzed, the statistics obtained according to the distribution of its input results
Histogram, as shown in Figure 3.From figure 3, it can be seen that the input of user is a kind of probability event, probability distribution is to meet just
State distribution, therefore the input behavior of user can be described using normal distyribution function, and high-order is carried out to the input of user
Analysis.
User data models
It can be using normal distyribution function come the input behavior in eight crucial directions for describing user:
Wherein, (1,2 ... ..., 8) i ∈ have respectively represented the serial number that user receives the crucial direction of instruction, i.e., (it is right,
Upper right, on, upper left is left, lower-left, under, bottom right), use θiIndicating the angle value in each crucial direction, real value is 0,45 respectively,
90,135,180,225,270,315,360.X is angle value of the user according to each crucial direction input, μiIt is that user is based on
Each crucial direction and the desired value (average value) of actual angle value repeatedly inputted, σiIt is that user is based on each pass
Key direction and the variance of actual angle value repeatedly inputted.
It is possible to obtain the stabilization deviation δ that user inputs each crucial directioni, δi=θi-μi.User is each in input
Deviation when angle is all not quite similar, and therefore, if obtaining function δ=dev (x), for any angle, can obtain the angle
Deviation, then value x '=revise (x) of desired orientation input by user=dev (x)+x.
According to directional information input by user, it is asked to go out its normal distyribution function, such as Fig. 4 respectively on eight crucial directions
It is shown.Desired value, variance and the input desired value in the crucial direction of input eight to obtain user and user view angle
The stabilization deviation of degree.For example, upper draw operation about 44 ° of deviation counterclockwise, a left side draws operation about counterclockwise
Operation about 32 ° of deviation counterclockwise is drawn on 29 ° of deviation, lower stroke of operation about 37 ° of deviation counterclockwise, the right side
Deng.
Therefore, by above-mentioned analysis it is found that more based on each crucial direction by normal distyribution function (1) calculating user
The average value of the actual angle value of secondary input, and calculate the difference between each crucial direction and corresponding average value, institute
It is stabilization deviation of the user in each crucial direction input to state difference.
In the present embodiment, described at least two crucial directions include four, it is respectively right, upper, left, under, corresponding angle
Respectively 0 °, 90 °, 180 °, 270 ° or respectively upper right, upper left, lower-left, bottom right, corresponding angle is respectively 45 °, 135 °,
225°、315°。
For theoretically, 0 °, 90 °, 180 °, 270 ° (namely right, upper, left, under) or 45 °, 135 °, 225 °, 315 ° (
It is exactly upper right, upper left, lower-left, bottom right) region that four direction includes is divided by boundary, but for a user,
Input has unstability.Such as the expected angle of 45 angle value input by user is x '=revise (45)=dev (45)+45,
User inputs 135 degree of expected angle:X '=revise (135)=dev (135)+135, then upwardly direction, including
Angular range should be between revise (45) and revise (135), rather than between 45 and 135.
X '=revise (x)=dev (x)+x, therefore to obtain inverse function x=revise-1(x '), that is, there is known the phase
The angle for hoping input will obtain the angle that user actually enters, and revise functions are difficult precisely to obtain, and inverse function is more
It is difficult.However, we obtain required direction value in the input study stage in user.I.e. crucial direction is right, it is upper, left, under
The angle that user actually enters is μ respectively1, μ3, μ5, μ7(average value).
Therefore, user should be obtained and input actual direction to determine the angular range of its four direction.Due to passing through above-mentioned reality
The real angle for having obtained four crucial directions is tested, therefore four crucial directions can determine at once.That is the side of upper right
Judge ranging from (μ to angle1,μ3), the angle judgement range of upper left is (μ3,μ5), the angle judgement range of lower-left is (μ5,
μ7), the angle judgement range of bottom right is (μ7,μ1)。
In the present embodiment, described at least two crucial directions can also include eight, respectively the right side, upper right, upper, left
A upper, left side, lower-left, under, bottom right, corresponding angle is respectively 0 °, 45 °, 90 °, 135 °, 180 °, 225 °, 270,315 °.On likewise,
Stating the stabilization deviation in eight crucial directions can repeatedly be inputted by user based on each crucial direction, and is utilized and just divided very much
Cloth function is calculated.
Since the present embodiment is the stabilization deviation based at least two crucial directions being previously obtained, and utilize interpolation letter
It counts to calculate any other misalignment angle for actually entering angle.Therefore, the stabilization deviation in the crucial direction being previously obtained is got over
It is more, it is more accurate that the misalignment angle that other actually enter angle is calculated by interpolating function.
Therefore, in order to improve accuracy, in the present embodiment, described at least two crucial directions can also include 16
A, described at least two crucial directions include first kind key direction and the second class key direction, first kind key direction
Corresponding angle includes 0 °, 45 °, 90 °, 135 °, 180 °, 225 °, 270 °, 315 °, the corresponding angle point in the second class key direction
It Wei 22.5,67.5,112.5,157.5,202.5,247.5,292.5,337.5.
Wherein, the reality that user is repeatedly inputted based on each first kind key direction is calculated by normal distyribution function
The average value of border angle value, and calculate the difference between each first kind key direction and corresponding average value, the difference
Value is the stabilization deviation that user inputs in each first kind key direction;
Then, the boundary point value for calculating the normal distyribution function in two adjacent first kind key directions, by the boundary
Average value of the point value as the second class key direction between two adjacent first kind key directions, each second class are closed
Stabilization deviation of the difference as each second class key direction input between key direction and corresponding average value.
Specifically, since the second class key direction is not the common direction of user, if user is allowed to directly input these sides
Always it calculates its stable deviation and is then susceptible to error.Since user is at 0 degree, 45 degree, the first kind key direction such as 90 degree
Input is all normal distribution.And 22.5 degree are exactly 0 and 45 degree of cut off value, 66.7 degree be exactly 45 degree and 90 degree cut off value.With
For 22.5 degree, boundary point value is found according to 0 degree and 45 degree of distribution probability function.
According to the normal distribution in two adjacent first kind key directions, as shown in Figure 5.Two normal distributions, will look for
To boundary point value, direct solution is extremely complex, but can be to judge an angle value according to the characteristic of normal distribution
No is the magnitude relationship of its cut off value and itself and cut off value.
According to probability density function, probability function is definedAnd
The separation x of two distribution functionsmidIt should be at (μi,μj) between, and meet probability Pi(xmid→+∞)=Pj(-∞→xmid),
So work as x>xmidWhen, PjIncrease therewith, PjReduce therewith.Pj(-∞→x)>Pj(-∞→xmid) and Pi(x→+∞)<Pi(xmid
→+∞), that is, Pi(x→+∞)<Pj(-∞→x)。
So, work as x<xmidWhen, Pi(x→+∞)>Pj(-∞→x).That is, working as Pi(x→+∞)<Pj(- ∞ → x),
It is known that x>xmid, work as Pi(x→+∞)>Pj(- ∞ → x), it is known that x<xmid。
It is abnormal difficult to accurately calculate cut off value, and is accurate to one decimal place meet demand, average next
It says, angular interval is 45 degree, and a total of 450 of the value for meeting this condition, therefore that be done is just to determine it is which value, root
It according to calculation before, is searched in the way of binary chop, then at most 9 lookups is needed to be assured that.It is first
It is first verified according to the average value of lookup range, lookup range is reduced according to the magnitude relationship of average value and boundary point value, so
The lookup space after diminution is averaging afterwards, is continued this and is calculated until finding two final values.It is possible to think to demarcate
Point value is exactly the average value of the two values.In this way, direction 22.5 can be obtained, 67.5,112.5,157.5,202.5,
247.5,292.5,337.5 actually enter angle (boundary point value), corresponding stablize deviation to obtain its.
For x '=revise (x)=dev (x)+x, the key of correction function revise (x) is to calculate departure function
Dev (x) fits δ=dev (x) functions and can be obtained by accurate value since x is known.
It is such as finger length, flexibility ratio as caused by multiple variables to cause deviation input by user, holds the position of mobile phone
It sets and posture, handset size etc., it is unpractical to construct true departure function, although from before as can be seen that user is real
The angle and desired angle of border input have deviation, but the value of deviation is metastable, therefore, if there is known for input
The information of angle is then obtained according to the stabilization deviation in the crucial direction being previously obtained.Therefore, step S102 has selected key
The technology of frame+interpolation simulates such a departure function.
Using the stabilization deviation of at least two crucial direction inputs of the user being previously obtained on the touch screen, i.e.,
Can be calculated by interpolating function user currently input described in actually enter the misalignment angle of angle.Wherein, the interpolation
Function includes linear interpolation function or cubic spline functions.
When using linear interpolation function come be calculated user currently input described in actually enter the misalignment angle of angle,
It can be calculated by following formula:
Wherein, x be that user currently inputs it is described actually enter angle, dev (x) is the deviation for actually entering angle
Angle, n are the quantity in described at least two crucial directions, n >=2;dirnFor the corresponding angle in n-th of crucial direction;devn
For the stabilization deviation of n-th of crucial direction input.
Right this four of the above lower-left illustrates for crucial direction, if the reality in this four key (the most frequently used) directions of the upper lower-left right side
Border input direction dirup、dirleft、dirdown、dirright, due to knowing the desired orientation in these crucial directions, also
Obtain its deviation devup、devleft、devdown、devright。
When calculating the desired orientation of any one directional information, all range (dir residing for itup, dirleft)、
(dirleft, dirdown)、(dirdown, dirright)、(dirright, dirup), then according to corresponding deviation range (devup,
devleft)、(devleft, devdown)、(devdown, devright), (devright, devup) interpolation obtains.
It is expressed as following formula (using simple linear interpolation mode):
Certainly, the quantity of key value can be improved in order to improve accuracy, such as increases upper left, lower-left, bottom right, the passes such as upper right
It is calculated again by linear difference function after the value in key direction.According to the deviation in eight crucial directions, adjacent key deviation it
Between misalignment angle obtained by linear interpolation, as shown in the dotted line in Fig. 6.
In the ideal case, departure function δ=dev (x) should meet following three feature:
1, offset is continuous, that is to say, that both direction input by user is if it is adjacent, then the two sides
It is also adjacent to corresponding desired orientation;
2, the variation of offset is continuous, that is to say, that it is continuous that offset meets higher derivative, when user inputs some
After the offset in direction determines, the offset of adjacent angular should be little with the offset difference, although direction input by user
It is inaccurate, but is not random, but it is related with his current posture, if usually user attempts to input angle
X, then his input angle x+0, x-0 are identical with the posture of x, used muscle is also identical, then deviant dev (x-0)=
Dev (x)=dev (x+0), and change continuous dev (x) ∈ Ck, wherein k >=1.
3, the first continuous, it is an annular, that is, meets dev (0)=dev (360).
It will be appreciated from fig. 6 that the deviation (with reference to the dotted line in figure 6) being calculated using linear interpolation function is prominent due to existing
Become, and be unsatisfactory for the feature 2 of the above desirable, i.e., the variation for the offset being calculated by linear interpolation function is not
Continuously.
And above three feature (constraint) can perfectly be obtained by cubic spline functions (with reference to the reality in figure 6
Line).Therefore, in order to improve accuracy, it is currently defeated that preferably user is calculated using cubic spline functions in the present embodiment
The misalignment angle for actually entering angle entered.Specifically, being calculated by the following formula to obtain:
dev(x)∈C2[0,360], and in each [μi,μi+1] on be cubic polynomial, and meet dev (μi)=f (μi),
(i=1,2 ..., n);
0=μ1<μ2<……<μn=360;
dev(k)(μi- 0)=dev(k)(μi+ 0), k=0,1,2;
dev(k)(μ1)=dev(k)(μn), k=0,1,2;
Wherein, x be it is described actually enter angle, dev (x) is the misalignment angle for actually entering angle, n be it is described extremely
The quantity in few two crucial directions, n >=2;μiIt is the actual angle value that user is repeatedly inputted based on each crucial direction
Average value, dev (ui) be each crucial direction stabilization deviation.
The accuracy of cubic spline functions is more accurate with the increase of sampled data, and sampling number here can
To take 8, that is, eight critical angle acquisition of information input by user value, certainly if necessary to higher precision as a result, can
To increase as 16 samplings, i.e., when distinguishing eight directions, the boundary point value i.e. direction that is obtained according to normal distribution probability relationship
22.5,67.5,112.5,157.5,202.5,247.5,292.5,337.5 true input angle.
It is calculated described in user currently inputs using above-mentioned linear interpolation function or cubic spline functions
After the misalignment angle for actually entering angle, then the angle that actually enters is modified using the misalignment angle, to
Obtain the expectation input angle of user.
When it is implemented, actually entering angle with misalignment angle angle after being added as described in user using described
It is expected that input angle.If for example, by foregoing description it is found that the current angle that actually enters of user is x, and utilizing interpolating function
It is δ=dev (x) to calculate its misalignment angle, then expected angle x ' input by user=dev (x)+x.
The present embodiment is preferably modified user in the direction that is originally inputted of mobile terminal touch screen, to obtain more
Accurate desired orientation.
As it can be seen that the touch-screen input adjustment in direction method of the present embodiment by the user that is previously obtained on the touchscreen at least
The current deviation for actually entering angle of user is calculated using interpolating function in the stabilization deviation of two crucial direction inputs
Angle, and the angle that actually enters is modified using the misalignment angle, the expectation input angle of user is obtained, it can
According to the input habit (hobby) of user, original-party tropism information input by user is modified, is correctly oriented with output
Information, to improve the accurate judgement of input direction information of the user on touch screen.
It is a kind of flow diagram of touch-screen input adjustment in direction method in the embodiment of the present invention 2 with reference to figure 7.This method
Including step:
S201, obtain user on the touchscreen actually enter angle, and judge the operation posture of user on the touchscreen
For left hand or the right hand;
S202, at least two of the user's left hand/right hand being previously obtained on the touch screen are obtained according to judging result
The misalignment angle for actually entering angle is calculated using interpolating function in the stabilization deviation of crucial direction input;Wherein,
Angle between two adjacent crucial directions is equal;
S203, the angle that actually enters is modified using the misalignment angle, obtains the expectation input angle of user
Degree.
The present embodiment and the difference of embodiment 1 are:In step s 201, it is also necessary to judge the behaviour of user on the touchscreen
It postures as left hand or the right hand, and the user being previously obtained left hand/right hand is obtained in the touch screen according to judging result
On at least two crucial directions inputs stabilization deviation, for example, when judge the operation posture of user on the touchscreen to be left
When hand, the stabilization deviation of at least two crucial direction inputs of the user's left hand being previously obtained on the touch screen is obtained.
Since user is different using input habit of the left hand/right hand on the touch screen, it is therefore necessary to pre-recorded user
The input habit of left hand and the right hand, to obtain at least two key sides of user's left hand and the right hand on the touch screen
To the stabilization deviation of input.And the acquisition of the stabilization deviation in crucial direction and the reality is calculated using interpolating function
The calculating process of the misalignment angle of border input angle please refers to embodiment 1, and details are not described herein.
It is a kind of flow diagram of touch-screen input adjustment in direction method in the embodiment of the present invention 3 with reference to figure 8.This method
Including step:
S301, obtain user on the touchscreen actually enter angle, and judge that user holds the posture of the touch screen
It is laterally or longitudinal;
S302, lateral/longitudinal hand-held touch screen of the user being previously obtained is obtained according to judging result to be touched described
The stabilization deviation for touching at least two crucial directions inputs on screen is calculated using interpolating function and described actually enters angle
Misalignment angle;Wherein, the angle between the adjacent two crucial directions is equal;
S303, the angle that actually enters is modified using the misalignment angle, obtains the expectation input angle of user
Degree.
The present embodiment and the difference of embodiment 1 are:In step S301, it is also necessary to judge that user holds the touch screen
Posture be laterally or longitudinal, and according to judging result come obtain the user being previously obtained laterally/longitudinal hold the touch
Screen is with the stabilization deviation of at least two crucial direction inputs on the touch screen.By lateral/longitudinal hand-held institute of user
It is different (with reference to figure 9a~9b) with the input habit on the touch screen to state touch screen, it is therefore necessary to pre-recorded use
Family laterally and longitudinal input habit for holding the touch screen, to obtain user laterally and longitudinal hold the touch screen
With the stabilization deviation of at least two crucial direction inputs on the touch screen.And the stabilization deviation in crucial direction obtains
The calculating process for taking and the misalignment angle for actually entering angle being calculated using interpolating function please refers to embodiment 1,
Details are not described herein.
It is a kind of flow diagram of touch-screen input adjustment in direction method in the embodiment of the present invention 4 with reference to figure 10.This method
Including step:
S401, obtain user on the touchscreen actually enter angle, and judge the operation posture of user on the touchscreen
The posture that the touch screen is held for left hand or the right hand and user is laterally or longitudinal;
S402, the hand-held touch of the user's left hand/right hand being previously obtained and laterally/longitudinal direction is obtained according to judging result
Screen is calculated described with the stabilization deviation of at least two crucial direction inputs on the touch screen using interpolating function
Actually enter the misalignment angle of angle;Wherein, the angle between the adjacent two crucial directions is equal;
S403, the angle that actually enters is modified using the misalignment angle, obtains the expectation input angle of user
Degree.
The present embodiment set embodiment 2 and embodiment 3, for four kinds of appearances of user (left hand, the right hand) x (laterally, longitudinal)
Gesture is previously obtained four correction functions (being specially the stabilization deviation of at least two crucial direction inputs) respectively.Then, according to
The current posture (left hand is horizontal to be held, and left hand is vertical to be held, and the right hand is horizontal to be held, and the right hand is vertical to be held) when actually entering direction of user is chosen corresponding
Parameter group is modified.Wherein, distinguishing the posture that user actually enters, there are many modes, such as the gravity-feed tank according to mobile phone
It answers, the position of screen sliding input, deviation of directivity information etc..
It is a kind of flow diagram of touch-screen input adjustment in direction method in the embodiment of the present invention 5 with reference to figure 11.This method
Including step:
S501, obtain user on the touchscreen actually enter angle;
The correspondence for actually entering direction and angle of deviation angle value for the user that S502, basis are generated in advance obtains described
Actually enter the misalignment angle of angle;
S503, the angle that actually enters is modified using the misalignment angle, obtains the expectation input angle of user
Degree.
Wherein, in step S502, the user being generated in advance to actually enter direction corresponding with angle of deviation angle value
Relationship is obtained by following steps:
Step S5021, by normal distyribution function calculate user based at least two crucial direction by the reality that repeatedly inputs
The average value of border angle value, and the difference between each crucial direction and corresponding average value is calculated, the difference is to use
Angle of deviation angle value of the family in each crucial direction input;Wherein, the angle phase between the adjacent two crucial directions
Deng;
Step S5022, according to the angle of deviation angle value of each crucial direction input, other institutes are calculated using interpolating function
There is the angle of deviation angle value of input direction.
Wherein, Figure 12 a and Figure 12 b are in the present embodiment respectively according to the misalignment angle and profit in four, eight crucial directions
The omnidirectional angle of deviation angle value schematic diagram being calculated with interpolating function, the bigger expression angle of deviation angle value of brightness is bigger in figure.
As it can be seen that the present embodiment and the difference of embodiment 1 are, the only pre-recorded at least two key sides of embodiment 1
To angle of deviation angle value, then calculate the current misalignment angle for actually entering angle of user using interpolating function, to
To the desired orientation of user.And the present embodiment user's actual direction that be then pre-recorded all is corresponding with misalignment angle closes
(specific is also angle of deviation angle value+interpolating function by crucial direction to calculate the deviation that each actually enters direction for system
Angle value), the current misalignment angle for actually entering direction of user is then then can get by searching for the correspondence (table), from
And obtain the desired orientation of user.Therefore, compared with Example 1, the present embodiment can reduce the amount of calculation of repetition, to
Improve working efficiency.
It should be understood that since the angle between 0 °~360 ° of omnidirection is unlimited, and pair of mapping table record
It should be related to, be limited, therefore, in order to record whole input angle in mapping table, the present embodiment is to user
Actually enter angle value and can be accurate to integer, one decimal place or two.
In addition to above-mentioned difference, the specific implementation process and principle of the present embodiment can refer to embodiment 1, no longer superfluous herein
It states.
It is a kind of flow diagram of touch-screen input adjustment in direction method in the embodiment of the present invention 6 with reference to figure 13.This method
Including step:
S601, obtain user on the touchscreen actually enter angle, and judge the operation posture of user on the touchscreen
For left hand or the right hand;
S602, it the user's left hand/right hand being generated in advance is obtained according to judging result actually enters direction and misalignment angle
The correspondence of value obtains the misalignment angle for actually entering angle;
S603, the angle that actually enters is modified using the misalignment angle, obtains the expectation input angle of user
Degree.
The present embodiment and the difference of embodiment 5 are:In step s 601, it is also necessary to judge the behaviour of user on the touchscreen
It postures as left hand or the right hand, and obtains the side of actually entering of the user being generated in advance left hand/right hand according to judging result
To the correspondence with angle of deviation angle value, for example, when judging the operation posture of user on the touchscreen for left hand, obtain advance
The correspondence that actually enters direction and angle of deviation angle value of the obtained user's left hand on the touch screen.Since user uses
The input habit of left hand and the right hand on the touch screen is different, it is therefore necessary to pre-recorded user's left hand and the right hand
Input habit, to obtain user's left hand and the right hand actually enter on the touchscreen direction it is corresponding with angle of deviation angle value close
System.And the generation of correspondence please refers to embodiment 5, details are not described herein.
It is a kind of flow diagram of touch-screen input adjustment in direction method in the embodiment of the present invention 7 with reference to figure 14.This method
Including step:
S701, obtain user on the touchscreen actually enter angle, and judge that user holds the posture of the touch screen
It is laterally or longitudinal;
S702, actually entering for the user's transverse direction/longitudinal hand-held touch screen being generated in advance is obtained according to judging result
The correspondence in direction and angle of deviation angle value obtains the misalignment angle for actually entering angle;
S703, the angle that actually enters is modified using the misalignment angle, obtains the expectation input angle of user
Degree.
The present embodiment and the difference of embodiment 5 are:In step s 701, it is also necessary to judge that user holds the touch screen
Posture be laterally or longitudinal, and according to judging result come obtain the user being previously obtained laterally/longitudinal hold the touch
The correspondence for actually entering direction and angle of deviation angle value of screen.The touch screen is held since user is horizontal and vertical in institute
The input habit stated on touch screen is different (with reference to figure 9a~9b), it is therefore necessary to which pre-recorded user is laterally and longitudinal
The input habit for holding the touch screen, to obtain user laterally and it is longitudinal hold the touch screen actually enter direction
With the correspondence of angle of deviation angle value.And the generation of correspondence please refers to embodiment 5, details are not described herein.
It is a kind of flow diagram of touch-screen input adjustment in direction method in the embodiment of the present invention 8 with reference to figure 15.This method
Including step:
S801, obtain user on the touchscreen actually enter angle, and judge the operation posture of user on the touchscreen
The posture that the touch screen is held for left hand or the right hand and user is laterally or longitudinal;
S802, the hand-held touch of the user's left hand/right hand being generated in advance and laterally/longitudinal direction is obtained according to judging result
The correspondence for actually entering direction and angle of deviation angle value of screen obtains the misalignment angle for actually entering angle;
S803, the angle that actually enters is modified using the misalignment angle, obtains the expectation input angle of user
Degree.
The present embodiment set embodiment 6 and embodiment 7, for four kinds of appearances of user (left hand, the right hand) x (laterally, longitudinal)
Gesture is previously obtained four amendment mapping tables respectively.Then, (left according to current posture when actually entering direction of user
Hand is horizontal to be held, and left hand is vertical to be held, and the right hand is horizontal to be held, and the right hand is vertical to be held) it chooses corresponding relation table and is modified.Wherein, it is practical to distinguish user
There are many modes for the posture of input, such as according to the gravity sensing of mobile phone, the position of screen sliding input, deviation of directivity information
Deng.
It is a kind of flow diagram of touch screen response method in the embodiment of the present invention 9 with reference to figure 16.This method includes step
Suddenly:
S901, the angle that actually enters of user on the touchscreen is modified using touch-screen input adjustment in direction method,
Obtain the expectation input angle of user;Wherein, 1~embodiment of above-described embodiment can be used in the touch-screen input adjustment in direction method
The touch-screen input adjustment in direction method of any one embodiment in 8.
S902, it is responded according to the expectation input angle.
It is a kind of structural schematic diagram of touch-screen input direction correcting device in the embodiment of the present invention 10 with reference to figure 17.The dress
Set including:
Acquisition module 1001, for obtain user on the touchscreen actually enter angle;
Misalignment angle computing module 1002, according at least two key sides of the user being previously obtained on the touch screen
To the stabilization deviation of input, the misalignment angle for actually entering angle is calculated using interpolating function;Wherein, adjacent
Angle between two crucial directions is equal;
Correcting module 1003 is modified the angle that actually enters using the misalignment angle, obtains the phase of user
Hope input angle.
Preferably, the present embodiment further includes:
Module 1000 is pre-seted, it is multiple based on each crucial direction for calculating user by normal distyribution function
The average value of the actual angle value of input, and the difference between each crucial direction and corresponding average value is calculated, it is described
Difference is stabilization deviation of the user in each crucial direction input.
The operation principle and process of the touch-screen input direction correcting device of the present embodiment please refers to embodiment 1, herein no longer
It repeats.
It is a kind of structural schematic diagram of touch-screen input direction correcting device in the embodiment of the present invention 11 with reference to figure 18.The dress
Set including:
Acquisition module 1101, for obtain user on the touchscreen actually enter angle;
Judgment module 1104, for judging the operation posture of user on the touchscreen for left hand or the right hand;
Misalignment angle computing module 1102 obtains the user's left hand/right hand being previously obtained according to judging result and is touched described
The stabilization deviation for touching at least two crucial directions inputs on screen is calculated using interpolating function and described actually enters angle
Misalignment angle;Wherein, the angle between the adjacent two crucial directions is equal;
Correcting module 1103 is modified the angle that actually enters using the misalignment angle, obtains the phase of user
Hope input angle.
Preferably, the present embodiment further includes:
Module 1100 is pre-seted, it is multiple based on each crucial direction for calculating user by normal distyribution function
The average value of the actual angle value of input, and the difference between each crucial direction and corresponding average value is calculated, it is described
Difference is stabilization deviation of the user in each crucial direction input.
The operation principle and process of the touch-screen input direction correcting device of the present embodiment please refers to embodiment 2, herein no longer
It repeats.
It is a kind of structural schematic diagram of touch-screen input direction correcting device in the embodiment of the present invention 12 with reference to figure 19.The dress
Set including:
Acquisition module 1201, for obtain user on the touchscreen actually enter angle;
Judgment module 1204, for judging that user holds the posture of the touch screen as lateral or longitudinal direction;
It is lateral/longitudinal hand-held described to obtain the user being previously obtained according to judging result for misalignment angle computing module 1202
Touch screen is calculated with the stabilization deviation of at least two crucial direction inputs on the touch screen using interpolating function
The misalignment angle for actually entering angle;Wherein, the angle between the adjacent two crucial directions is equal;
Correcting module 1203 is modified the angle that actually enters using the misalignment angle, obtains the phase of user
Hope input angle.
Preferably, the present embodiment further includes:
Module 1200 is pre-seted, it is multiple based on each crucial direction for calculating user by normal distyribution function
The average value of the actual angle value of input, and the difference between each crucial direction and corresponding average value is calculated, it is described
Difference is stabilization deviation of the user in each crucial direction input.
The operation principle and process of the touch-screen input direction correcting device of the present embodiment please refers to embodiment 3, herein no longer
It repeats.
It is a kind of structural schematic diagram of touch-screen input direction correcting device in the embodiment of the present invention 13 with reference to figure 20.The dress
Set including:
Acquisition module 1301, for obtain user on the touchscreen actually enter angle;
Judgment module 1304, for judging the operation posture of user on the touchscreen for left hand or the right hand and user
The posture for holding the touch screen is laterally or longitudinal;
Misalignment angle computing module 1302, the user's left hand/right hand being previously obtained according to judging result acquisition and transverse direction/
It is longitudinal to hold the touch screen with the stabilization deviation of at least two crucial direction inputs on the touch screen, utilize interpolation
The misalignment angle for actually entering angle is calculated in function;Wherein, the angle between the adjacent two crucial directions
It is equal;
Correcting module 1303 is modified the angle that actually enters using the misalignment angle, obtains the phase of user
Hope input angle.
Preferably, the present embodiment further includes:
Module 1300 is pre-seted, it is multiple based on each crucial direction for calculating user by normal distyribution function
The average value of the actual angle value of input, and the difference between each crucial direction and corresponding average value is calculated, it is described
Difference is stabilization deviation of the user in each crucial direction input.
The operation principle and process of the touch-screen input direction correcting device of the present embodiment please refers to embodiment 4, herein no longer
It repeats.
It is a kind of structural schematic diagram of touch-screen input direction correcting device in the embodiment of the present invention 14 with reference to figure 21.The dress
Set including:
Acquisition module 1401, for obtain user on the touchscreen actually enter angle;
Misalignment angle determining module 1402, according to pair for actually entering direction and angle of deviation angle value for the user being generated in advance
It should be related to, obtain the misalignment angle for actually entering angle;
Correcting module 1403 is modified the angle that actually enters using the misalignment angle, obtains the phase of user
Hope input angle.
Preferably, the present embodiment further includes:
Correspondence pre-generatmg module 1400, is used for:
By normal distyribution function calculate user based at least two crucial direction by the actual angle value that repeatedly inputs
Average value, and the difference between each crucial direction and corresponding average value is calculated, the difference is user in each institute
State the angle of deviation angle value of crucial direction input;Wherein, the angle between the adjacent two crucial directions is equal;And
According to the angle of deviation angle value of each crucial direction input, other all input directions are calculated using interpolating function
Angle of deviation angle value.
The operation principle and process of the touch-screen input direction correcting device of the present embodiment please refers to embodiment 5, herein no longer
It repeats.
It is a kind of structural schematic diagram of touch-screen input direction correcting device in the embodiment of the present invention 15 with reference to figure 22.The dress
Set including:
Acquisition module 1501, for obtain user on the touchscreen actually enter angle;
Judgment module 1504, for judging the operation posture of user on the touchscreen for left hand or the right hand;
Misalignment angle determining module 1502, the reality that the user's left hand/right hand being generated in advance is obtained according to judging result are defeated
The correspondence for entering direction and angle of deviation angle value obtains the misalignment angle for actually entering angle;
Correcting module 1503 is modified the angle that actually enters using the misalignment angle, obtains the phase of user
Hope input angle.
Preferably, the present embodiment further includes:
Correspondence pre-generatmg module 1500, is used for:
By normal distyribution function calculate user based at least two crucial direction by the actual angle value that repeatedly inputs
Average value, and the difference between each crucial direction and corresponding average value is calculated, the difference is user in each institute
State the angle of deviation angle value of crucial direction input;Wherein, the angle between the adjacent two crucial directions is equal;And
According to the angle of deviation angle value of each crucial direction input, other all input directions are calculated using interpolating function
Angle of deviation angle value.
The operation principle and process of the touch-screen input direction correcting device of the present embodiment please refers to embodiment 6, herein no longer
It repeats.
It is a kind of structural schematic diagram of touch-screen input direction correcting device in the embodiment of the present invention 16 with reference to figure 23.The dress
Set including:
Acquisition module 1601, for obtain user on the touchscreen actually enter angle;
Judgment module 1604, for judging that user holds the posture of the touch screen as lateral or longitudinal direction;
It is lateral/longitudinal hand-held described to obtain the user being generated in advance according to judging result for misalignment angle determining module 1602
The correspondence for actually entering direction and angle of deviation angle value of touch screen obtains the misalignment angle for actually entering angle;
Correcting module 1603 is modified the angle that actually enters using the misalignment angle, obtains the phase of user
Hope input angle.
Preferably, the present embodiment further includes:
Correspondence pre-generatmg module 1600, is used for:
By normal distyribution function calculate user based at least two crucial direction by the actual angle value that repeatedly inputs
Average value, and the difference between each crucial direction and corresponding average value is calculated, the difference is user in each institute
State the angle of deviation angle value of crucial direction input;Wherein, the angle between the adjacent two crucial directions is equal;And
According to the angle of deviation angle value of each crucial direction input, other all input directions are calculated using interpolating function
Angle of deviation angle value.
The operation principle and process of the touch-screen input direction correcting device of the present embodiment please refers to embodiment 7, herein no longer
It repeats.
It is a kind of structural schematic diagram of touch-screen input direction correcting device in the embodiment of the present invention 17 with reference to figure 24.The dress
Set including:
Acquisition module 1701, for obtain user on the touchscreen actually enter angle;
Judgment module 1704, for judging the operation posture of user on the touchscreen for left hand or the right hand and user
The posture for holding the touch screen is laterally or longitudinal;
Misalignment angle determining module 1702, the user's left hand/right hand being generated in advance according to judging result acquisition and transverse direction/
Longitudinal correspondence for actually entering direction and angle of deviation angle value for holding the touch screen, obtain described in actually enter angle
Misalignment angle;
Correcting module 1703 is modified the angle that actually enters using the misalignment angle, obtains the phase of user
Hope input angle.
Preferably, the present embodiment further includes:
Correspondence pre-generatmg module 1700, is used for:
By normal distyribution function calculate user based at least two crucial direction by the actual angle value that repeatedly inputs
Average value, and the difference between each crucial direction and corresponding average value is calculated, the difference is user in each institute
State the angle of deviation angle value of crucial direction input;Wherein, the angle between the adjacent two crucial directions is equal;And
According to the angle of deviation angle value of each crucial direction input, other all input directions are calculated using interpolating function
Angle of deviation angle value.
The operation principle and process of the touch-screen input direction correcting device of the present embodiment please refers to embodiment 8, herein no longer
It repeats.
It is a kind of structural schematic diagram of touch screen responding device in the embodiment of the present invention 18 with reference to figure 25.The device includes:
Touch-screen input direction correcting device 1801, for being modified to the angle that actually enters of user on the touchscreen,
Obtain the expectation input angle of user;Wherein, which may be used embodiment 10~implementation
The touch-screen input direction correcting device of any embodiment is realized in example 17.
Respond module 1802, for being responded according to the expectation input angle.
It is a kind of flow diagram of game control method in the embodiment of the present invention 19 with reference to figure 26.This method includes step
Suddenly:
S1901, the angle that actually enters of user on the touchscreen is modified using touch-screen input adjustment in direction method,
Obtain the expectation input angle of user;Wherein, 1~embodiment of above-described embodiment can be used in the touch-screen input adjustment in direction method
The touch-screen input adjustment in direction method of any one embodiment in 8.
S1902, corresponding game action is responded according to the expectation input angle.
It is a kind of structural schematic diagram of game control device in the embodiment of the present invention 20 with reference to figure 27.The device includes:
Touch-screen input direction correcting device 2001, for being modified to the angle that actually enters of user on the touchscreen,
Obtain the expectation input angle of user;Wherein, which may be used embodiment 10~implementation
The touch-screen input direction correcting device of any embodiment is realized in example 17.
Game action respond module 2002, for responding corresponding game action according to the expectation input angle.
In conclusion a kind of touch-screen input adjustment in direction method, apparatus disclosed by the invention and touch screen response method, dress
It sets, by the stabilization deviation of at least two crucial directions inputs of the user that is previously obtained on the touchscreen, utilizes interpolation letter
What number was calculated the current misalignment angle for actually entering angle of user or the user by being generated in advance actually enters direction
With the correspondence of angle of deviation angle value, the current misalignment angle for actually entering angle of user is obtained, and utilize the angle of deviation
Degree is modified the angle that actually enters, and obtains the expectation input angle of user, and according to the expectation input angle into
The corresponding response of row.Therefore, it is possible to according to the input habit of user (hobby), be carried out to original-party tropism information input by user
It corrects, makes to export and be correctly oriented information to system, to improve the accurate judgement of input direction information of the user on touch screen,
On the one hand it reduces for operation difficulty caused by accurate input direction information, improves the comfort level of operation, on the other hand
The accuracy for improving directional information improves the efficiency of operation.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium
In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art
For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as
Protection scope of the present invention.
Claims (66)
1. a kind of touch-screen input adjustment in direction method, which is characterized in that including:
Obtain user on the touchscreen actually enter angle;
According to the stabilization deviation of at least two crucial directions inputs of the user being previously obtained on the touch screen, using inserting
The misalignment angle for actually entering angle is calculated in value function;Wherein, the folder between the adjacent two crucial directions
Angle is equal;
The angle that actually enters is modified using the misalignment angle, obtains the expectation input angle of user.
2. touch-screen input adjustment in direction method as described in claim 1, which is characterized in that each crucial direction input
Stablize deviation to be previously obtained in the following manner:
Being averaged for the actual angle value that user is repeatedly inputted based on each crucial direction is calculated by normal distyribution function
Value, and the difference between each crucial direction and corresponding average value is calculated, the difference is user in each pass
The stabilization deviation of key direction input.
3. touch-screen input adjustment in direction method as claimed in claim 2, which is characterized in that the normal distyribution function is as follows:
Wherein, i is the serial number in each crucial direction, and x is the actual corners that user is inputted based on each crucial direction
Angle value, μiIt is the average value for the actual angle value that user is repeatedly inputted based on each crucial direction, σiIt is that user is based on often
The one crucial direction and the variance of actual angle value repeatedly inputted;
If θiFor the corresponding angle value in each crucial direction, then the stabilization deviation δ in each crucial directioniFor:δi=
θi-μi。
4. touch-screen input adjustment in direction method as claimed in claim 2, which is characterized in that described to utilize the misalignment angle pair
The angle that actually enters is modified, and the expectation input angle for obtaining user is specially:
Angle is actually entered with misalignment angle angle after being added as the expectation input angle of user using described.
5. such as Claims 1 to 4 any one of them touch-screen input adjustment in direction method, which is characterized in that described at least two
Crucial direction includes four, and corresponding angle is respectively 0 °, 90 °, 180 °, 270 °.
6. such as Claims 1 to 4 any one of them touch-screen input adjustment in direction method, which is characterized in that described at least two
Crucial direction includes four, and corresponding angle is respectively 45 °, 135 °, 225 °, 315 °.
7. such as Claims 1 to 4 any one of them touch-screen input adjustment in direction method, which is characterized in that described at least two
Crucial direction includes eight, and corresponding angle is respectively 0 °, 45 °, 90 °, 135 °, 180 °, 225 °, 270 °, 315 °.
8. touch-screen input adjustment in direction method as described in claim 1, which is characterized in that described at least two crucial direction packets
Include first kind key direction and the second class key direction, the corresponding angle in first kind key direction includes 0 °, 45 °, 90 °,
135 °, 180 °, 225 °, 270 °, 315 °, the corresponding angle in the second class key direction is respectively 22.5,67.5,112.5,157.5,
202.5,247.5,292.5,337.5;
Wherein, the stabilization deviation of each crucial direction input is previously obtained in the following manner:
The actual angle value that user is repeatedly inputted based on each first kind key direction is calculated by normal distyribution function
Average value, and calculate the difference between each first kind key direction and corresponding average value, the difference is user
In the stabilization deviation of each first kind key direction input;
The boundary point value for calculating the normal distyribution function in two adjacent first kind key directions, using the boundary point value as phase
The average value in the second class key direction between two adjacent first kind key directions, each second class key direction with it is right
Stabilization deviation of the difference as each second class key direction input between the average value answered.
9. touch-screen input adjustment in direction method as described in claim 1, which is characterized in that the interpolating function is linear interpolation
Function or cubic spline functions.
10. touch-screen input adjustment in direction method as described in claim 1, which is characterized in that the interpolating function is using as follows
The misalignment angle for actually entering angle is calculated in formula:
Wherein, x be it is described actually enter angle, dev (x) is the misalignment angle for actually entering angle, and n is described at least two
The quantity in a key direction, n >=2;dirnFor the corresponding angle in n-th of crucial direction;devnFor n-th of key side
To the stabilization deviation of input.
11. touch-screen input adjustment in direction method as described in claim 1, which is characterized in that the interpolating function is using as follows
The misalignment angle for actually entering angle is calculated in formula:
dev(x)∈C2[0,360], and in each [μi,μi+1] on be cubic polynomial, and meet dev (μi)=f (μi), (i=
1,2......,n);
0=μ1< μ2< ... < μn=360;
dev(k)(μi- 0)=dev(k)(μi+ 0), k=0,1,2;
dev(k)(μ1)=dev(k)(μn), k=0,1,2;
Wherein, x be it is described actually enter angle, dev (x) is the misalignment angle for actually entering angle, and n is described at least two
The quantity in a key direction, n >=2;μiIt is the flat of the actual angle value that user is repeatedly inputted based on each crucial direction
Mean value, dev (ui) be each crucial direction stabilization deviation.
12. touch-screen input adjustment in direction method as described in claim 1, which is characterized in that the touch screen is mobile terminal
Touch screen.
13. touch-screen input adjustment in direction method as described in claim 1, which is characterized in that further include:
Judge the operation posture of user on the touchscreen for left hand or the right hand;
The stabilization deviation of at least two crucial direction inputs of the user that the basis is previously obtained on the touch screen, profit
The misalignment angle for actually entering angle, which is calculated, with interpolating function is specially:
It is defeated that at least two crucial directions of the user's left hand/right hand being previously obtained on the touch screen are obtained according to judging result
The misalignment angle for actually entering angle is calculated using interpolating function in the stabilization deviation entered.
14. touch-screen input adjustment in direction method as described in claim 1, which is characterized in that further include:
Judge that user holds the posture of the touch screen as lateral or longitudinal direction;
The stabilization deviation of at least two crucial direction inputs of the user that the basis is previously obtained on the touch screen, profit
The misalignment angle for actually entering angle, which is calculated, with interpolating function is specially:
According to judging result obtain the user that is previously obtained laterally/it is longitudinal hold the touch screen on the touch screen extremely
The stabilization deviation of few two crucial direction inputs, the angle of deviation for actually entering angle is calculated using interpolating function
Degree.
15. touch-screen input adjustment in direction method as described in claim 1, which is characterized in that further include:
Judge that the posture that the operation posture of user on the touchscreen holds the touch screen for left hand or the right hand and user is
It is laterally or longitudinal;
The stabilization deviation of at least two crucial direction inputs of the user that the basis is previously obtained on the touch screen, profit
The misalignment angle for actually entering angle, which is calculated, with interpolating function is specially:
User's left hand/the right hand being previously obtained is obtained according to judging result and laterally/longitudinal direction holds the touch screen in institute
The stabilization deviation for stating at least two crucial direction inputs on touch screen, described actually enter is calculated using interpolating function
The misalignment angle of angle.
16. a kind of touch screen response method, which is characterized in that including:
Utilize reality of the touch-screen input adjustment in direction method to user on the touchscreen as described in any one of claim 1~15
Border input angle is modified, and obtains the expectation input angle of user;
It is responded according to the expectation input angle.
17. a kind of touch-screen input adjustment in direction method, which is characterized in that including:
Obtain user on the touchscreen actually enter angle;
According to the correspondence for actually entering direction and angle of deviation angle value for the user being generated in advance, obtain described actually entering angle
The misalignment angle of degree;
The angle that actually enters is modified using the misalignment angle, obtains the expectation input angle of user.
18. touch-screen input adjustment in direction method as claimed in claim 17, which is characterized in that the user's being generated in advance
It actually enters direction and the correspondence of angle of deviation angle value is obtained by following steps:
By normal distyribution function calculate user based at least two crucial direction by the actual angle value that repeatedly inputs is averaged
Value, and the difference between each crucial direction and corresponding average value is calculated, the difference is user in each pass
The angle of deviation angle value of key direction input;Wherein, the angle between the adjacent two crucial directions is equal;
According to the angle of deviation angle value of each crucial direction input, the inclined of other all input directions is calculated using interpolating function
Declinate angle value.
19. touch-screen input adjustment in direction method as claimed in claim 18, which is characterized in that the normal distyribution function is such as
Under:
Wherein, i is the serial number in each crucial direction, and x is the actual corners that user is inputted based on each crucial direction
Angle value, μiIt is the average value for the actual angle value that user is repeatedly inputted based on each crucial direction, σiIt is that user is based on often
The one crucial direction and the variance of actual angle value repeatedly inputted;
If θiFor the corresponding angle value in each crucial direction, then the angle of deviation angle value δ in each crucial directioniFor:δi=
θi-μi。
20. touch-screen input adjustment in direction method as claimed in claim 19, which is characterized in that described to utilize the misalignment angle
The angle that actually enters is modified, the expectation input angle for obtaining user is specially:
Angle is actually entered with misalignment angle angle after being added as the expectation input angle of user using described.
21. such as claim 18~20 any one of them touch-screen input adjustment in direction method, which is characterized in that described at least two
A key direction includes four, and corresponding angle is respectively 0 °, 90 °, 180 °, 270 °.
22. such as claim 18~20 any one of them touch-screen input adjustment in direction method, which is characterized in that described at least two
A key direction includes four, and corresponding angle is respectively 45 °, 135 °, 225 °, 315 °.
23. such as claim 18~20 any one of them touch-screen input adjustment in direction method, which is characterized in that described at least two
A key direction includes eight, and corresponding angle is respectively 0 °, 45 °, 90 °, 135 °, 180 °, 225 °, 270 °, 315 °.
24. touch-screen input adjustment in direction method as claimed in claim 18, which is characterized in that described at least two crucial directions
Including first kind key direction and the second class key direction, the corresponding angle in first kind key direction includes 0 °, 45 °,
90 °, 135 °, 180 °, 225 °, 270 °, 315 °, the corresponding angle in the second class key direction is respectively 22.5,67.5,112.5,
157.5,202.5,247.5,292.5,337.5;
Wherein, the angle of deviation angle value of each crucial direction input obtains in the following manner:
The actual angle value that user is repeatedly inputted based on each first kind key direction is calculated by normal distyribution function
Average value, and calculate the difference between each first kind key direction and corresponding average value, the difference is user
In the angle of deviation angle value of each first kind key direction input;
The boundary point value for calculating the normal distyribution function in two adjacent first kind key directions, using the boundary point value as phase
The average value in the second class key direction between two adjacent first kind key directions, each second class key direction with it is right
Angle of deviation angle value of the difference as each second class key direction input between the average value answered.
25. touch-screen input adjustment in direction method as claimed in claim 18, which is characterized in that the interpolating function is linear inserts
Value function or cubic spline functions.
26. touch-screen input adjustment in direction method as claimed in claim 18, which is characterized in that the interpolating function is using as follows
Formula calculates the angle of deviation angle value of other all input directions:
Wherein, x is the corresponding angle of other input directions, and dev (x) is the misalignment angle of other input directions, n be it is described at least
The quantity in two crucial directions, n >=2;dirnFor the corresponding angle in n-th of crucial direction;devnFor n-th of key
The angle of deviation angle value of direction input.
27. touch-screen input adjustment in direction method as claimed in claim 18, which is characterized in that the interpolating function is using as follows
Formula calculates the angle of deviation angle value of other all input directions:
dev(x)∈C2[0,360], and in each [μi,μi+1] on be cubic polynomial, and meet dev (μi)=f (μi), (i=
1,2......,n);
0=μ1< μ2< ... < μn=360;
dev(k)(μi- 0)=dev(k)(μi+ 0), k=0,1,2;
dev(k)(μ1)=dev(k)(μn), k=0,1,2;
Wherein, x is the corresponding angle of other input directions, and dev (x) is the misalignment angle of other input directions, n be it is described at least
The quantity in two crucial directions, n >=2;μiIt is the actual angle value that user is repeatedly inputted based on each crucial direction
Average value, dev (ui) be each crucial direction angle of deviation angle value.
28. touch-screen input adjustment in direction method as claimed in claim 17, which is characterized in that the touch screen is mobile terminal
Touch screen.
29. touch-screen input adjustment in direction method as claimed in claim 17, which is characterized in that further include:
Judge the operation posture of user on the touchscreen for left hand or the right hand;
The correspondence for actually entering direction and angle of deviation angle value for the user that the basis is generated in advance, it is defeated to obtain the reality
The misalignment angle for entering angle is specially:
User's left hand/the right hand being generated in advance is obtained according to judging result actually enters direction pass corresponding with angle of deviation angle value
System obtains the misalignment angle for actually entering angle.
30. touch-screen input adjustment in direction method as claimed in claim 17, which is characterized in that further include:
Judge that user holds the posture of the touch screen as lateral or longitudinal direction;
The correspondence for actually entering direction and angle of deviation angle value for the user that the basis is generated in advance, it is defeated to obtain the reality
The misalignment angle for entering angle is specially:
Lateral/longitudinal hand-held touch screen of the user being generated in advance is obtained according to judging result actually enters direction and deviation
The correspondence of angle value obtains the misalignment angle for actually entering angle.
31. touch-screen input adjustment in direction method as claimed in claim 17, which is characterized in that further include:
Judge that the posture that the operation posture of user on the touchscreen holds the touch screen for left hand or the right hand and user is
It is laterally or longitudinal;
The correspondence for actually entering direction and angle of deviation angle value for the user that the basis is generated in advance, it is defeated to obtain the reality
The misalignment angle for entering angle is specially:
User's left hand/the right hand being generated in advance is obtained according to judging result and laterally/longitudinal direction holds the reality of the touch screen
The correspondence of input direction and angle of deviation angle value obtains the misalignment angle for actually entering angle.
32. a kind of touch screen response method, which is characterized in that including:
Using the touch-screen input adjustment in direction method as described in any one of claim 17~31 to user on the touchscreen
It actually enters angle to be modified, obtains the expectation input angle of user;
It is responded according to the expectation input angle.
33. a kind of touch-screen input direction correcting device, which is characterized in that including:
Acquisition module, for obtain user on the touchscreen actually enter angle;
Misalignment angle computing module, according at least two crucial direction inputs of the user being previously obtained on the touch screen
Stablize deviation, the misalignment angle for actually entering angle is calculated using interpolating function;Wherein, described in adjacent two
Angle between crucial direction is equal;
Correcting module is modified the angle that actually enters using the misalignment angle, obtains the expectation input angle of user
Degree.
34. touch-screen input direction correcting device as claimed in claim 33, which is characterized in that further include:
Module is pre-seted, for calculating the reality that user is repeatedly inputted based on each crucial direction by normal distyribution function
The average value of border angle value, and the difference between each crucial direction and corresponding average value is calculated, the difference is to use
Stabilization deviation of the family in each crucial direction input.
35. touch-screen input direction correcting device as claimed in claim 34, which is characterized in that the normal distyribution function is such as
Under:
Wherein, i is the serial number in each crucial direction, and x is the actual corners that user is inputted based on each crucial direction
Angle value, μiIt is the average value for the actual angle value that user is repeatedly inputted based on each crucial direction, σiIt is that user is based on often
The one crucial direction and the variance of actual angle value repeatedly inputted;
If θiFor the corresponding angle value in each crucial direction, then the stabilization deviation δ in each crucial directioniFor:δi=
θi-μi。
36. touch-screen input direction correcting device as claimed in claim 34, which is characterized in that the correcting module is further used
In:
Angle is actually entered with misalignment angle angle after being added as the expectation input angle of user using described.
37. such as claim 33~36 any one of them touch-screen input direction correcting device, which is characterized in that described at least two
A key direction includes four, and corresponding angle is respectively 0 °, 90 °, 180 °, 270 °.
38. such as claim 33~36 any one of them touch-screen input direction correcting device, which is characterized in that described at least two
A key direction includes four, and corresponding angle is respectively 45 °, 135 °, 225 °, 315 °.
39. such as claim 33~36 any one of them touch-screen input direction correcting device, which is characterized in that described at least two
A key direction includes eight, and corresponding angle is respectively 0 °, 45 °, 90 °, 135 °, 180 °, 225 °, 270 °, 315 °.
40. touch-screen input direction correcting device as claimed in claim 34, which is characterized in that described at least two crucial directions
Including first kind key direction and the second class key direction, the corresponding angle in first kind key direction includes 0 °, 45 °,
90 °, 135 °, 180 °, 225 °, 270 °, 315 °, the corresponding angle in the second class key direction is respectively 22.5,67.5,112.5,
157.5,202.5,247.5,292.5,337.5;
The module that pre-sets is further used for:
The actual angle value that user is repeatedly inputted based on each first kind key direction is calculated by normal distyribution function
Average value, and calculate the difference between each first kind key direction and corresponding average value, the difference is user
In the stabilization deviation of each first kind key direction input;
The boundary point value for calculating the normal distyribution function in two adjacent first kind key directions, using the boundary point value as phase
The average value in the second class key direction between two adjacent first kind key directions, each second class key direction with it is right
Stabilization deviation of the difference as each second class key direction input between the average value answered.
41. touch-screen input direction correcting device as claimed in claim 33, which is characterized in that the interpolating function is linear inserts
Value function or cubic spline functions.
42. touch-screen input direction correcting device as claimed in claim 33, which is characterized in that the interpolating function is using as follows
The misalignment angle for actually entering angle is calculated in formula:
Wherein, x be it is described actually enter angle, dev (x) is the misalignment angle for actually entering angle, and n is described at least two
The quantity in a key direction, n >=2;dirnFor the corresponding angle in n-th of crucial direction;devnFor n-th of key side
To the stabilization deviation of input.
43. touch-screen input direction correcting device as claimed in claim 33, which is characterized in that the interpolating function is using as follows
The misalignment angle for actually entering angle is calculated in formula:
dev(x)∈C2[0,360], and in each [μi,μi+1] on be cubic polynomial, and meet dev (μi)=f (μi), (i=
1,2......,n);
0=μ1< μ2< ... < μn=360;
dev(k)(μi- 0)=dev(k)(μi+ 0), k=0,1,2;
dev(k)(μ1)=dev(k)(μn), k=0,1,2;
Wherein, x be it is described actually enter angle, dev (x) is the misalignment angle for actually entering angle, and n is described at least two
The quantity in a key direction, n >=2;μiIt is the flat of the actual angle value that user is repeatedly inputted based on each crucial direction
Mean value, dev (ui) be each crucial direction stabilization deviation.
44. touch-screen input direction correcting device as claimed in claim 33, which is characterized in that the touch screen is mobile terminal
Touch screen.
45. touch-screen input direction correcting device as claimed in claim 33, which is characterized in that further include:
Judgment module, for judging the operation posture of user on the touchscreen for left hand or the right hand;
The misalignment angle computing module is further used for:
It is defeated that at least two crucial directions of the user's left hand/right hand being previously obtained on the touch screen are obtained according to judging result
The misalignment angle for actually entering angle is calculated using interpolating function in the stabilization deviation entered.
46. touch-screen input direction correcting device as claimed in claim 33, which is characterized in that further include:
Judgment module judges that user holds the posture of the touch screen as lateral or longitudinal direction;
The misalignment angle computing module is further used for:
According to judging result obtain the user that is previously obtained laterally/it is longitudinal hold the touch screen on the touch screen extremely
The stabilization deviation of few two crucial direction inputs, the angle of deviation for actually entering angle is calculated using interpolating function
Degree.
47. touch-screen input direction correcting device as claimed in claim 33, which is characterized in that further include:
Judgment module, for judging that the operation posture of user on the touchscreen is hand-held described for left hand or the right hand and user
The posture of touch screen is laterally or longitudinal;
The misalignment angle computing module is further used for:
User's left hand/the right hand being previously obtained is obtained according to judging result and laterally/longitudinal direction holds the touch screen in institute
The stabilization deviation for stating at least two crucial direction inputs on touch screen, described actually enter is calculated using interpolating function
The misalignment angle of angle.
48. a kind of touch screen responding device, which is characterized in that including:
Touch-screen input direction correcting device as described in any one of claim 33~47, for user on the touchscreen
It actually enters angle to be modified, obtains the expectation input angle of user;
Respond module, for being responded according to the expectation input angle.
49. a kind of touch-screen input direction correcting device, which is characterized in that including:
Acquisition module, for obtain user on the touchscreen actually enter angle;
Misalignment angle determining module, according to the correspondence for actually entering direction and angle of deviation angle value for the user being generated in advance,
Obtain the misalignment angle for actually entering angle;
Correcting module is modified the angle that actually enters using the misalignment angle, obtains the expectation input angle of user
Degree.
50. touch-screen input direction correcting device as claimed in claim 49, which is characterized in that further include:
Correspondence pre-generatmg module, is used for:
By normal distyribution function calculate user based at least two crucial direction by the actual angle value that repeatedly inputs is averaged
Value, and the difference between each crucial direction and corresponding average value is calculated, the difference is user in each pass
The angle of deviation angle value of key direction input;Wherein, the angle between the adjacent two crucial directions is equal;
According to the angle of deviation angle value of each crucial direction input, the inclined of other all input directions is calculated using interpolating function
Declinate angle value.
51. touch-screen input direction correcting device as claimed in claim 50, which is characterized in that the normal distyribution function is such as
Under:
Wherein, i is the serial number in each crucial direction, and x is the actual corners that user is inputted based on each crucial direction
Angle value, μiIt is the average value for the actual angle value that user is repeatedly inputted based on each crucial direction, σiIt is that user is based on often
The one crucial direction and the variance of actual angle value repeatedly inputted;
If θiFor the corresponding angle value in each crucial direction, then the angle of deviation angle value δ in each crucial directioniFor:δi=
θi-μi。
52. touch-screen input direction correcting device as claimed in claim 51, which is characterized in that the correcting module is further used
In:
Angle is actually entered with misalignment angle angle after being added as the expectation input angle of user using described.
53. such as claim 50~52 any one of them touch-screen input direction correcting device, which is characterized in that described at least two
A key direction includes four, and corresponding angle is respectively 0 °, 90 °, 180 °, 270 °.
54. such as claim 50~52 any one of them touch-screen input direction correcting device, which is characterized in that described at least two
A key direction includes four, and corresponding angle is respectively 45 °, 135 °, 225 °, 315 °.
55. such as claim 50~52 any one of them touch-screen input direction correcting device, which is characterized in that described at least two
A key direction includes eight, and corresponding angle is respectively 0 °, 45 °, 90 °, 135 °, 180 °, 225 °, 270 °, 315 °.
56. touch-screen input direction correcting device as claimed in claim 50, which is characterized in that described at least two crucial directions
Including first kind key direction and the second class key direction, the corresponding angle in first kind key direction includes 0 °, 45 °,
90 °, 135 °, 180 °, 225 °, 270 °, 315 °, the corresponding angle in the second class key direction is respectively 22.5,67.5,112.5,
157.5,202.5,247.5,292.5,337.5;
The correspondence pre-generatmg module is further used for:
The actual angle value that user is repeatedly inputted based on each first kind key direction is calculated by normal distyribution function
Average value, and calculate the difference between each first kind key direction and corresponding average value, the difference is user
In the angle of deviation angle value of each first kind key direction input;
The boundary point value for calculating the normal distyribution function in two adjacent first kind key directions, using the boundary point value as phase
The average value in the second class key direction between two adjacent first kind key directions, each second class key direction with it is right
Angle of deviation angle value of the difference as each second class key direction input between the average value answered.
57. touch-screen input direction correcting device as claimed in claim 50, which is characterized in that the interpolating function is linear inserts
Value function or cubic spline functions.
58. touch-screen input direction correcting device as claimed in claim 50, which is characterized in that the interpolating function is using as follows
Formula calculates the angle of deviation angle value of other all input directions:
Wherein, x is the corresponding angle of other input directions, and dev (x) is the misalignment angle of other input directions, n be it is described at least
The quantity in two crucial directions, n >=2;dirnFor the corresponding angle in n-th of crucial direction;devnFor n-th of key
The angle of deviation angle value of direction input.
59. touch-screen input direction correcting device as claimed in claim 51, which is characterized in that the interpolating function is using as follows
Formula calculates the angle of deviation angle value of other all input directions:
dev(x)∈C2[0,360], and in each [μi,μi+1] on be cubic polynomial, and meet dev (μi)=f (μi), (i=
1,2......,n);
0=μ1< μ2< ... < μn=360;
dev(k)(μi- 0)=dev(k)(μi+ 0), k=0,1,2;
dev(k)(μ1)=dev(k)(μn), k=0,1,2;
Wherein, x is the corresponding angle of other input directions, and dev (x) is the misalignment angle of other input directions, n be it is described at least
The quantity in two crucial directions, n >=2;μiIt is the actual angle value that user is repeatedly inputted based on each crucial direction
Average value, dev (ui) be each crucial direction angle of deviation angle value.
60. touch-screen input direction correcting device as claimed in claim 50, which is characterized in that the touch screen is mobile terminal
Touch screen.
61. touch-screen input direction correcting device as claimed in claim 50, which is characterized in that further include:
Judgment module, for judging the operation posture of user on the touchscreen for left hand or the right hand;
The misalignment angle determining module is further used for:
User's left hand/the right hand being generated in advance is obtained according to judging result actually enters direction pass corresponding with angle of deviation angle value
System obtains the misalignment angle for actually entering angle.
62. touch-screen input direction correcting device as claimed in claim 50, which is characterized in that further include:
Judgment module, for judging that user holds the posture of the touch screen as lateral or longitudinal direction;
The misalignment angle determining module is further used for:
Lateral/longitudinal hand-held touch screen of the user being generated in advance is obtained according to judging result actually enters direction and deviation
The correspondence of angle value obtains the misalignment angle for actually entering angle.
63. touch-screen input direction correcting device as claimed in claim 50, which is characterized in that further include:
Judgment module, for judging that the operation posture of user on the touchscreen is hand-held described for left hand or the right hand and user
The posture of touch screen is laterally or longitudinal;
The misalignment angle determining module is further used for:
User's left hand/the right hand being generated in advance is obtained according to judging result and laterally/longitudinal direction holds the reality of the touch screen
The correspondence of input direction and angle of deviation angle value obtains the misalignment angle for actually entering angle.
64. a kind of touch screen responding device, which is characterized in that including:
Such as claim 49~63 any one of them touch-screen input direction correcting device, it to be used for the reality to user on the touchscreen
Border input angle is modified, and obtains the expectation input angle of user;
Respond module, for being responded according to the expectation input angle.
65. a kind of game control method, which is characterized in that including:
User is being touched using the touch-screen input adjustment in direction method as described in claim 1~15, any one of 17~31
The angle that actually enters on screen is modified, and obtains the expectation input angle of user;
Corresponding game action is responded according to the expectation input angle.
66. a kind of game control device, which is characterized in that including:
Touch-screen input direction correcting device as described in claim 33~47, any one of 49~63, for being touched to user
The angle that actually enters touched on screen is modified, and obtains the expectation input angle of user;
Game action respond module, for responding corresponding game action according to the expectation input angle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510713580.3A CN105630228B (en) | 2015-10-28 | 2015-10-28 | Touch-screen input adjustment in direction and response method, device and game control method, device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510713580.3A CN105630228B (en) | 2015-10-28 | 2015-10-28 | Touch-screen input adjustment in direction and response method, device and game control method, device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105630228A CN105630228A (en) | 2016-06-01 |
CN105630228B true CN105630228B (en) | 2018-10-09 |
Family
ID=56045248
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510713580.3A Active CN105630228B (en) | 2015-10-28 | 2015-10-28 | Touch-screen input adjustment in direction and response method, device and game control method, device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105630228B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113868883B (en) * | 2021-10-09 | 2024-07-19 | 南京晨光集团有限责任公司 | Cone curvature-variable fold-free track design method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104391603A (en) * | 2014-12-08 | 2015-03-04 | 京东方科技集团股份有限公司 | Method, device and system for calibrating touch screen |
US9104277B2 (en) * | 2009-11-19 | 2015-08-11 | Elan Microelectronics Corporation | Sensing method and calibration method for a capacitive touch panel |
CN104834428A (en) * | 2014-02-12 | 2015-08-12 | 元太科技工业股份有限公司 | Touch point correction method and electromagnetic touch panel using same |
-
2015
- 2015-10-28 CN CN201510713580.3A patent/CN105630228B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9104277B2 (en) * | 2009-11-19 | 2015-08-11 | Elan Microelectronics Corporation | Sensing method and calibration method for a capacitive touch panel |
CN104834428A (en) * | 2014-02-12 | 2015-08-12 | 元太科技工业股份有限公司 | Touch point correction method and electromagnetic touch panel using same |
CN104391603A (en) * | 2014-12-08 | 2015-03-04 | 京东方科技集团股份有限公司 | Method, device and system for calibrating touch screen |
Also Published As
Publication number | Publication date |
---|---|
CN105630228A (en) | 2016-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Weir et al. | A user-specific machine learning approach for improving touch accuracy on mobile devices | |
CN105468278B (en) | Contact action identification, response, game control method and the device of virtual key | |
EP3965431A1 (en) | Video data processing method and related device | |
CN105468279B (en) | Contact action identification and response method, device and game control method, device | |
US10229255B2 (en) | User authentication | |
CN104662558B (en) | Finger tip for gesture input positions | |
CA2990803C (en) | Picture gesture authentication | |
CN103699233B (en) | Character string input method and input unit | |
US20110202876A1 (en) | User-centric soft keyboard predictive technologies | |
CN103092826B (en) | A kind of method and apparatus of input information architecture input entry according to user | |
US9864516B2 (en) | Universal keyboard | |
CN107506296A (en) | Input method testing method and device, electronic equipment and storage medium | |
Musić et al. | Nomadic input on mobile devices: the influence of touch input technique and walking speed on performance and offset modeling | |
CN104978030B (en) | The software and method of display interface of mobile phone are automatically adjusted based on right-hand man | |
Li et al. | Aesthetic assessment of paintings based on visual balance | |
CN108307044B (en) | A kind of terminal operation method and equipment | |
JP6204894B2 (en) | Japanese input method, input system, computer program, and recording medium for automatically correcting input mistakes based on backspace key | |
CN101950232A (en) | Calibration method of resistive touch screen | |
CN103605642A (en) | Automatic error correcting method and system for text input | |
CN105630228B (en) | Touch-screen input adjustment in direction and response method, device and game control method, device | |
CN111324277A (en) | Input verification method and device | |
CN110673747A (en) | Input candidate character display method and related device | |
TWI505173B (en) | System and method for improving recognition of a touch keyboard in an electronic device | |
CN104331490B (en) | network data processing method and device | |
KR20230013876A (en) | System and method for providing interface to applied actual feeling learning contents platform |
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 |