CN105224204A - Parameters input method and apparatus - Google Patents

Parameters input method and apparatus Download PDF

Info

Publication number
CN105224204A
CN105224204A CN201510708081.5A CN201510708081A CN105224204A CN 105224204 A CN105224204 A CN 105224204A CN 201510708081 A CN201510708081 A CN 201510708081A CN 105224204 A CN105224204 A CN 105224204A
Authority
CN
China
Prior art keywords
numerical value
display position
value display
indicant
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510708081.5A
Other languages
Chinese (zh)
Other versions
CN105224204B (en
Inventor
杨皓静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201510708081.5A priority Critical patent/CN105224204B/en
Publication of CN105224204A publication Critical patent/CN105224204A/en
Application granted granted Critical
Publication of CN105224204B publication Critical patent/CN105224204B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention discloses a kind of parameters input method, comprising: on User Interface, show a data axle and an indicant; Wherein, data axle is equally spaced provided with N number of numerical value display position; Indicant indicates one of them numerical value display position; When detecting that user carries out touch control operation to data axle, according to initial value and the displacement of touch control operation on the bearing of trend of number line of numerical value display position, from argument sequence, choose N number of continuous print numerical value, and be presented in described N number of numerical value display position correspondingly; Using the numerical value in the numerical value display position indicated by indicant as parameters input.This method by the restriction of screen size, can not ensure under the prerequisite that the optional data volume of parameter is enough large, is realizing accurately selecting a parameter and inputting, meet the data volume of parameter, degree of regulation and maneuverable demand simultaneously.Meanwhile, the invention also discloses a kind of parameter input device for performing above-mentioned parameter input method.

Description

Parameters input method and apparatus
Technical field
The present invention relates to human-computer interaction technique field, particularly relate to a kind of parameters input method and apparatus.
Background technology
Along with the development of field of mobile terminals and the diversified trend of interactive touch-control equipment, more and more data input operates with touch manner, and wherein slide block is the input mode relatively commonly used.Adopt the input mode of slide block have on touch control device flexible operation, quick, meet man-machine interaction engineering, provide effective codomain to prevent the advantages such as maloperation to a certain extent.But owing to being the conversion from the point of mouse to the control mode in the face of touch-control, there is more difficult accurate location when needing adjustment numerical value, and due to the limitation of equipment region, be difficult to provide the data of very large magnitude (as more than thousand grades or ten thousand grades) to adjust.
Concrete reason is:
1, for fear of screen size, if the value of big data quantity is provided and scale division value is the adjustment of 1 time, even if all may exist can not satisfy the demands with the minor increment of a pixel or screen point between value and value.As the handheld terminal of a 1280x720 screen resolution, can only provide the highest by 360, scale division value is the data point reuse of 1.
2, in adjustment process, more difficult accurate location, experience lf being influenced: because the touch area of finger is face, the more difficult location when adjusting the slide block of numerical value spacing comparatively dense, needs the operation of extreme care, and easily makes mistakes.
3, space requirement is higher, limitation by layout is larger: when limited space, provides high-precision data adjustment can affect operation location, otherwise, when better suited operation room distance is provided, the data volume that can regulate cannot satisfy the demands, and both are more difficult averages out.
Summary of the invention
The embodiment of the present invention proposes a kind of parameters input method and apparatus, can not by the restriction of screen size, ensureing under the prerequisite that the optional data volume of parameter is enough large, realizing accurately selecting a parameter and inputting, meet the data volume of parameter, degree of regulation and maneuverable demand simultaneously.
The embodiment of the present invention provides a kind of parameters input method, comprising:
User Interface shows a data axle and an indicant; Wherein, described data axle is equally spaced provided with N number of numerical value display position; Described indicant indicates numerical value display position described in one of them;
When detecting that user carries out touch control operation to described data axle, according to initial value and the displacement of described touch control operation on the bearing of trend of described number line of described numerical value display position, from argument sequence, choose N number of continuous print numerical value, and be presented in described N number of numerical value display position correspondingly; Wherein, described argument sequence has the numerical value of M equal difference sequence; M>N;
Using the numerical value in the numerical value display position indicated by described indicant as parameters input.
Further, described when detecting that user carries out touch control operation to described data axle, according to initial value and the displacement of described touch control operation on the bearing of trend of described number line of described numerical value display position, N number of continuous print numerical value is chosen from argument sequence, and be presented at correspondingly in described N number of numerical value display position, specifically comprise:
In response to user, the touch control operation of described data axle is started, determine that the N number of continuous print numerical value be now presented in described N number of numerical value display position is that a numerical value in described argument sequence is to a+N-1 numerical value; Wherein, 1≤a≤M-N+1;
The motion track of Real-time Obtaining touch screen point;
According to described motion track, calculate the effective displacement S1 of described touch screen point on the bearing of trend of described data axle; Wherein, the bearing of trend of described data axle comprises the first bearing of trend and the second bearing of trend; When the moving direction of described touch screen point is described first bearing of trend, described effective displacement S1 be on the occasion of; When the moving direction of described touch screen point is described second bearing of trend, described effective displacement S1 is negative value;
When described effective displacement S1 meets N1=S1/D, and when N1 is integer, from described argument sequence, choose the N number of continuous print numerical value a+N1 numerical value to a+N1+N-1 numerical value, and be presented in described N number of numerical value display position correspondingly; D is the interval of two numerical value display positions of arbitrary neighborhood.
Further, described to start in response to the touch control operation of user to described data axle after, also comprise:
In response to user, the touch control operation of described data axle is terminated, obtain the translational speed of now described touch screen point;
When described translational speed is greater than the threshold speed of setting, simulates described touch screen point with described translational speed for initial velocity and make deceleration rectilinear motion until stop;
Then described motion track comprises the actual motion track that described touch screen point is formed during user is to the touch control operation of described data axle, and described touch screen point after the touch control operation of user to described data axle terminates owing to making the virtual motion track that simulation deceleration rectilinear motion is formed.
Further, described deceleration rectilinear motion is specifically using the damping factor F preset as the even deceleration rectilinear motion of acceleration; F is negative value.
Further, described using the numerical value in the numerical value display position indicated by described indicant as parameters input, comprising:
Every the response time Gap response primary parameter incoming event preset, often respond primary parameter incoming event, obtain numerical value in the numerical value display position indicated by current described indicant and as parameters input.
Further, described using the numerical value in the numerical value display position indicated by described indicant as parameters input, comprising:
Detecting that described user stops starting timing when dragging described data axle;
When the duration that timing obtains reaches the duration threshold value of setting, obtain numerical value in the numerical value display position indicated by current described indicant and as parameters input.
Further, described parameters input method also comprises: on described User Interface, show a button control;
Numerical value in numerical value display position then indicated by described indicant comprises as parameters input:
When the determination instruction of user being detected by described button control, obtain numerical value in the numerical value display position indicated by current described indicant and as parameters input.
Further, described parameters input method also comprises:
Obtain the position selection instruction of user, select a numerical value display position from described N number of numerical value display position, make the numerical value display position selected by the instruction of described indicant.
Correspondingly, the embodiment of the present invention additionally provides a kind of parameter input device, comprising:
Display module, for showing a data axle and an indicant on User Interface; Wherein, described data axle is equally spaced provided with N number of numerical value display position; Described indicant indicates numerical value display position described in one of them;
Numerical value chooses module, for when detecting that user carries out touch control operation to described data axle, according to initial value and the displacement of described touch control operation on the bearing of trend of described number line of described numerical value display position, from argument sequence, choose N number of continuous print numerical value, and be presented in described N number of numerical value display position correspondingly; Wherein, described argument sequence has the numerical value of M equal difference sequence; M>N;
Parameter input module, for using the numerical value in the numerical value display position indicated by described indicant as parameters input.
Further, described numerical value is chosen module and is comprised:
Numerical value determining unit, for starting the touch control operation of described data axle in response to user, determines that the N number of continuous print numerical value be now presented in described N number of numerical value display position is that a numerical value in described argument sequence is to a+N-1 numerical value; Wherein, 1≤a≤M-N+1;
Motion track acquiring unit, for the motion track of Real-time Obtaining touch screen point;
Effective displacement computing unit, for according to described motion track, calculates the effective displacement S1 of described touch screen point on the bearing of trend of described data axle; Wherein, the bearing of trend of described data axle comprises the first bearing of trend and the second bearing of trend; When the moving direction of described touch screen point is described first bearing of trend, described effective displacement S1 be on the occasion of; When the moving direction of described touch screen point is described second bearing of trend, described effective displacement S1 is negative value;
Numerical value chooses unit, for meeting N1=S1/D as described effective displacement S1, and N1 is when being integer, from described argument sequence, chooses the N number of continuous print numerical value a+N1 numerical value to a+N1+N-1 numerical value, and be presented in described N number of numerical value display position correspondingly; D is the interval of two numerical value display positions of arbitrary neighborhood.
Further, described numerical value is chosen module and is also comprised:
Translational speed acquiring unit, for terminating the touch control operation of described data axle in response to user, obtains the translational speed of now described touch screen point;
Retarded motion analogue unit, for when described translational speed is greater than the threshold speed of setting, simulates described touch screen point with described translational speed for initial velocity and makes deceleration rectilinear motion until stop;
Then described motion track comprises the actual motion track that described touch screen point is formed during user is to the touch control operation of described data axle, and described touch screen point after the touch control operation of user to described data axle terminates owing to making the virtual motion track that simulation deceleration rectilinear motion is formed.
Further, described deceleration rectilinear motion is specifically using the damping factor F preset as the even deceleration rectilinear motion of acceleration; F is negative value.
Further, described parameter input module comprises the first input block;
Described first input block is used for the response time Gap response primary parameter incoming event every presetting, and often responds primary parameter incoming event, obtains numerical value in the numerical value display position indicated by current described indicant and as parameters input.
Further, described parameter input module comprises:
Timing unit, for detecting that described user stops starting timing when dragging described data axle;
Second input block, when the duration for obtaining when timing reaches the duration threshold value of setting, obtains numerical value in the numerical value display position indicated by current described indicant and as parameters input.
Further, described display module also for showing a button control on described User Interface;
Described parameter input module comprises the 3rd parameter input unit;
Described 3rd parameter input unit is used for when the determination instruction of user being detected by described button control, obtains numerical value in the numerical value display position indicated by current described indicant and as parameters input.
Further, described parameter input device also comprises:
Module is selected in position, for obtaining the position selection instruction of user, selects a numerical value display position from described N number of numerical value display position, makes the numerical value display position selected by the instruction of described indicant.
Implement the embodiment of the present invention, there is following beneficial effect: embodiments provide a kind of parameters input method, comprising: on User Interface, show a data axle and an indicant; Wherein, described data axle is equally spaced provided with N number of numerical value display position; Described indicant indicates numerical value display position described in one of them; When detecting that user carries out touch control operation to described data axle, according to initial value and the displacement of described touch control operation on the bearing of trend of described number line of described numerical value display position, from argument sequence, choose N number of continuous print numerical value, and be presented in described N number of numerical value display position correspondingly; Using the numerical value in the numerical value display position indicated by described indicant as parameters input.Namely when user is to described data axle drag operation, N number of numerical value shown on data axle can change thereupon, thus can change inputted parameter.Because shown N number of continuous print numerical value is the N number of continuous print numerical value selected from described argument sequence, thus the optional scope of parameter does not depend on described N number of continuous print numerical value and depends on the length of described argument sequence, and therefore the optional data volume of parameter is enough large; And described N number of continuous print numerical value is equal-difference arrangement, this difference is precision size and can establishes; Described N number of numerical value display position is equally spaced, and described spacing can be established according to screen size, meets the demand of precision, and easily operates.Therefore a kind of parameters input method of providing of the embodiment of the present invention, can not by the restriction of screen size, ensureing under the prerequisite that the optional data volume of parameter is enough large, realizing accurately selecting a parameter and inputting, meet the data volume of parameter, degree of regulation and maneuverable demand simultaneously.Correspondingly, present invention also offers a kind of parameter input device for performing above-mentioned parameter input method.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the first embodiment of parameters input method provided by the invention;
Fig. 2 is the schematic diagram of a kind of User Interface of the first embodiment of parameters input method provided by the invention;
Fig. 3 is the schematic diagram of the another kind of User Interface of the first embodiment of parameters input method provided by the invention;
Fig. 4 is the schematic flow sheet of the step S2 of the second embodiment of parameters input method provided by the invention;
Fig. 5 is the structured flowchart of the first embodiment of parameter input device provided by the invention;
Fig. 6 is the structured flowchart that the numerical value of the second embodiment of parameter input device provided by the invention chooses module.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
See Fig. 1, be the schematic flow sheet of the first embodiment of parameters input method provided by the invention, the method comprises the following steps:
S1, User Interface shows a data axle and an indicant; Wherein, described data axle is equally spaced provided with N number of numerical value display position; Described indicant indicates numerical value display position described in one of them;
S2, when detecting that user carries out touch control operation to described data axle, according to initial value and the displacement of described touch control operation on the bearing of trend of described number line of described numerical value display position, from argument sequence, choose N number of continuous print numerical value, and be presented in described N number of numerical value display position correspondingly; Wherein, described argument sequence has the numerical value of M equal difference sequence; M>N;
S3, using the numerical value in the numerical value display position indicated by described indicant as parameters input.
In the present embodiment, the form of described data axle can form as shown in Figure 2.Refer to Fig. 2, it is the schematic diagram of a kind of User Interface of the first embodiment of parameters input method provided by the invention.
In fig. 2, described User Interface shows an a data axle A1 and indicant B1.Described data axle A1 is equally spaced provided with 8 numerical value display position C1; Described data axle A1 corresponds to each numerical value display position C1 and be also provided with scale strip D1.Described indicant B1 is arranged on the 4th the numerical value display position C1 of described data axle A1.Wherein, the numerical value shown by 8 numerical value display position C1 is in fig. 23 ~ 10.Namely 8 the continuous print numerical value chosen from argument sequence are 3 ~ 10.In fig. 2, the numerical value that described argument sequence comprises is 1 ~ 100.
In the present embodiment, the form of described data axle can also form as shown in Figure 3.Refer to Fig. 3, it is the schematic diagram of the another kind of User Interface of the first embodiment of parameters input method provided by the invention.
In figure 3, described User Interface shows an a data axle A2 and indicant B2.Described data axle A2 is equally spaced provided with 7 numerical value display position C2, each numerical value display position C2 is surrounded by a rectangle frame on data axle A2.Described indicant B2 is arranged on the 4th the numerical value display position C2 of described data axle A2.Wherein, the numerical value shown by 8 numerical value display position C1 is in fig. 2 5%, 10%, 15%, 20%, 25%, 30%, 35%.Namely 7 the continuous print numerical value chosen from argument sequence are 5%, 10%, 15%, 20%, 25%, 30%, 35%.In figure 3, the numerical value that described argument sequence comprises is 0 ~ 100%; The difference of each adjacent numerical value is 5%.
It should be noted that, the form of the data axle shown in Fig. 2 and Fig. 3 is two kinds of forms that the present invention applies, and can also be applied in other needs from a large amount of linearly aligned numerical value, select a numerical value as the situation of parameter.In addition, the form of indicant, numerical value display position number, the gap length of numerical value display position, argument sequence comprise numerical value number, two adjacent numerical value in argument sequence difference all can establish.
Further, described parameters input method also comprises: the position selection instruction obtaining user, selects a numerical value display position from described N number of numerical value display position, makes the numerical value display position selected by the instruction of described indicant.Thus user according to the demand of oneself, can regulate the position of described indicant.
In step s3, can be any one in following three kinds of modes using the numerical value in the numerical value display position indicated by described indicant as parameters input:
1, every the response time Gap response primary parameter incoming event preset, often respond primary parameter incoming event, obtain numerical value in the numerical value display position indicated by current described indicant and as parameters input.
2, detecting that described user stops starting timing when dragging described data axle; When the duration that timing obtains reaches the duration threshold value of setting, obtain numerical value in the numerical value display position indicated by current described indicant and as parameters input.
3, on described User Interface, a button control is shown;
When the determination instruction of user being detected by described button control, obtain numerical value in the numerical value display position indicated by current described indicant and as parameters input.
Namely inputted parameter can be determined by any one in three kinds of modes.
In the present embodiment, when detecting that user drags described data axle, in described argument sequence, new N number of continuous print numerical value can be again selected to be shown in described N number of numerical value display position according to the drag operation of user, to change the numerical value in the numerical value display position indicated by described indicant, thus change the parameter inputted.Because shown N number of continuous print numerical value is the N number of continuous print numerical value selected from described argument sequence, thus the optional scope of parameter does not depend on described N number of continuous print numerical value and depends on the length of described argument sequence, therefore the optional data volume of parameter is enough large, be infinitely-great in principle, be not limited to the size of screen; And described N number of continuous print numerical value is equal-difference arrangement, this difference is precision size and can establishes, and arranges suitable precision and can meet demand to precision; Described N number of numerical value display position is equally spaced, and described spacing can be established according to screen size, arranges suitable spacing and can make user easily and accurately to a numerical value location and as parameters input.
Present invention also offers a kind of second embodiment of parameters input method, comprise the step S1 ~ S3 in the first embodiment of above-mentioned parameter input method in the present embodiment, also further define step S2.As shown in Figure 2, it is the schematic flow sheet of the step S2 of the second embodiment of parameters input method provided by the invention.
Described step S2 comprises:
S201, starts the touch control operation of described data axle in response to user, determines that the N number of continuous print numerical value be now presented in described N number of numerical value display position is that a numerical value in described argument sequence is to a+N-1 numerical value; Wherein, 1≤a≤M-N+1;
S202, the motion track of Real-time Obtaining touch screen point;
S203, according to described motion track, calculates the effective displacement S1 of described touch screen point on the bearing of trend of described data axle; Wherein, the bearing of trend of described data axle comprises the first bearing of trend and the second bearing of trend; When the moving direction of described touch screen point is described first bearing of trend, described effective displacement S1 be on the occasion of; When the moving direction of described touch screen point is described second bearing of trend, described effective displacement S1 is negative value;
S204, when described effective displacement S1 meets N1=S1/D, and when N1 is integer, chooses the N number of continuous print numerical value a+N1 numerical value to a+N1+N-1 numerical value from described argument sequence, and is presented in described N number of numerical value display position correspondingly; D is the interval of two numerical value display positions of arbitrary neighborhood.
Effective displacement S1 mentioned here refers to the displacement produced on the bearing of trend of data axle relative to initial touch screen point, and when the first bearing of trend described effective displacement S1 be on the occasion of, when the second bearing of trend, described effective displacement S2 is negative value.It should be noted that, if touch screen point first moves the distance of x1 relative to initial touch screen point towards the first bearing of trend, then move the distance of x2 towards the second bearing of trend, now effective displacement S1=x1-x2.
In order to the principle of work of the present embodiment is described, be described for the form of the data axle shown in Fig. 2 below.
Suppose, when starting in response to the touch control operation of user to described data axle, the state of data axle as shown in Figure 2, determine 8 the continuous print numerical value be now presented in 8 numerical value display positions be the 3rd numerical value in described argument sequence to the 10th numerical value, correspond to numerical value 3 ~ 10.Wherein, argument sequence comprises 100 numerical value, and in described argument sequence, first numerical value is the 1,2nd numerical value be 2, i-th numerical value is i, and the 100th numerical value is 100.
The motion track of Real-time Obtaining touch screen point, according to described motion track, calculates the effective displacement S1 of described touch screen point on the bearing of trend of described data axle.Definition is left the first bearing of trend, is to the right the second bearing of trend.That supposes current touch screen point has been moved to the left the distance of D relative to initial touch screen point, namely effective displacement is D, now N1=S1/D=1 can be calculated, then meet the condition in S204, from argument sequence, choose the 4th numerical value to the 11st numerical value, namely numerical value 4 ~ 11 is presented in 8 numerical value display positions.
As long as when to meet effective displacement S1 be the integral multiple of D, corresponding N number of numerical value will be selected to be presented in N number of numerical value display position, therefore user is when dragging described data axle and carrying out Selection parameter, and its location is more accurate.
Present invention also offers a kind of 3rd embodiment of parameters input method, comprise the step S1 ~ S3 in the second embodiment of above-mentioned parameter input method in the present embodiment, and step S201 ~ S204, and also comprise after step S201:
In response to user, the touch control operation of described data axle is terminated, obtain the translational speed of now described touch screen point;
When described translational speed is greater than the threshold speed of setting, simulates described touch screen point with described translational speed for initial velocity and make deceleration rectilinear motion until stop;
Then described motion track comprises the actual motion track that described touch screen point is formed during user is to the touch control operation of described data axle, and described touch screen point after the touch control operation of user to described data axle terminates owing to making the virtual motion track that simulation deceleration rectilinear motion is formed.
Preferably, described deceleration rectilinear motion is specifically using the damping factor F preset as the even deceleration rectilinear motion of acceleration; F is negative value.
This step is actually for judging that user is at a slow speed or fast in the dragging of the process of touch control operation, if fast, then at the end of user is to the touch control operation of described data axle, simulate described touch screen point with described translational speed for initial velocity and make deceleration rectilinear motion until stop.Namely described touch screen point now generates actual motion track and virtual motion track.And when calculating effective displacement S1, effective displacement that virtual motion track produces also can be added.Due in step S204, when described effective displacement S1 meets N1=S1/D, and N1 is when being integer, the N number of continuous print numerical value a+N1 numerical value to a+N1+N-1 numerical value is chosen from described argument sequence, and be presented in described N number of numerical value display position correspondingly, when the touch control operation of user to described data axle terminates and meet the condition of described translational speed, the numerical value of described data axle display also can continue change, and the speed of change diminishes gradually, until constant.
Below be described with the form of the data axle in Fig. 2 again.
When supposing to start in response to the touch control operation of user to described data axle, what 8 numerical value display positions showed is numerical value 3 ~ 10, and user has dragged the distance of 2D fast to described data are axially left, and according to the second embodiment, can calculate the numerical value now shown is 5 ~ 12.Although now user has stopped the touch control operation to described data axle, described touch screen point has also created fantasy sport track in continuation motion.Suppose that effective displacement that described fantasy sport track produces is S ', then effective displacement S1=S '+2D of described touch screen point.
And due in the judgement of step 204, as long as step S1 meets step and meets N1=S1/D, and N1 is when being integer, the N number of continuous print numerical value a+N1 numerical value to a+N1+N-1 numerical value is chosen from described argument sequence, and be presented at described N number of numerical value display position correspondingly, then the final effect realized is, when after data axle described in user's quick sliding, the numerical value that described data axle shows also can continue change.Due to touch screen point work is deceleration rectilinear motion, then S ' changes more and more slower, thus makes the numerical value change that described data axle shows obtain more and more slower, until the translational speed of described touch screen point reduces to 0.
The beneficial effect of the present embodiment is: if the length of argument sequence is larger, if described N number of numerical value can only be changed at leisure by dragging, although registration, but efficiency comparison is low, and in the scheme of the present embodiment after user is to described data axle quick sliding, the change that data axle also can continue.Therefore, it is possible to improve the efficiency of locating certain numerical value.
The invention allows for a kind of 4th embodiment of parameters input method, comprise the step S1 ~ S3 in the first embodiment of a kind of above-mentioned parameters input method, also comprise:
User Interface shows an input frame;
When detecting that user inputs a numerical value by described input frame, determine that the N number of continuous print numerical value be now presented in described N number of numerical value display position is that b numerical value in described argument sequence is to b+N-1 numerical value, and determine that inputted numerical value is the n-th numerical value in described argument sequence, and the numerical value determining in the numerical value display position now indicated by described indicant is m numerical value in described argument sequence;
From described argument sequence, choose the N number of continuous print numerical value b+n-m numerical value to b+n-m+N-1 numerical value, and be presented at correspondingly in described N number of numerical value display position.
Namely when user inputs a numerical value, N number of continuous print numerical value is chosen from described argument sequence, make the numerical value in the numerical value display position indicated by described indicant equal inputted numerical value, thus make user can using inputted numerical value as parameters input.
Correspondingly, present invention also offers a kind of parameter input device.
As shown in Figure 5, it is the structured flowchart of the first embodiment of a kind of parameter input device provided by the invention, comprising:
Display module 1, for showing a data axle and an indicant on User Interface; Wherein, described data axle is equally spaced provided with N number of numerical value display position; Described indicant indicates numerical value display position described in one of them;
Numerical value chooses module 2, for when detecting that user carries out touch control operation to described data axle, according to initial value and the displacement of described touch control operation on the bearing of trend of described number line of described numerical value display position, from argument sequence, choose N number of continuous print numerical value, and be presented in described N number of numerical value display position correspondingly; Wherein, described argument sequence has the numerical value of M equal difference sequence; M>N;
Parameter input module 3, for using the numerical value in the numerical value display position indicated by described indicant as parameters input.
Wherein, described parameter input module 3 comprises the first input block;
Described first input block is used for the response time Gap response primary parameter incoming event every presetting, and often responds primary parameter incoming event, obtains numerical value in the numerical value display position indicated by current described indicant and as parameters input.
Or described parameter input module 3 comprises:
Timing unit, for detecting that described user stops starting timing when dragging described data axle;
Second input block, when the duration for obtaining when timing reaches the duration threshold value of setting, obtains numerical value in the numerical value display position indicated by current described indicant and as parameters input.
Or described display module 1 also for showing a button control on described User Interface;
Described parameter input module 3 comprises the 3rd parameter input unit;
Described 3rd parameter input unit is used for when the determination instruction of user being detected by described button control, obtains numerical value in the numerical value display position indicated by current described indicant and as parameters input.
Further, described parameter input device also comprises:
Module is selected in position, for obtaining the position selection instruction of user, selects a numerical value display position from described N number of numerical value display position, makes the numerical value display position selected by the instruction of described indicant.
Parameter input device in the present embodiment is for performing the method step of the first embodiment in above-mentioned parameter input method, and its principle of work and beneficial effect one_to_one corresponding, thus repeat no more.
Present invention also offers a kind of second embodiment of parameter input device, comprise the display module 1 in the first embodiment of above-mentioned parameter input media in the present embodiment, numerical value chooses module 2 and parameter input module 3, also further define numerical value and choose module 2.As shown in Figure 6, it is the structured flowchart that the numerical value of the second embodiment of parameters input method provided by the invention chooses module 2, comprising:
Numerical value determining unit 201, for starting the touch control operation of described data axle in response to user, determines that the N number of continuous print numerical value be now presented in described N number of numerical value display position is that a numerical value in described argument sequence is to a+N-1 numerical value; Wherein, 1≤a≤M-N+1;
Motion track acquiring unit 202, for the motion track of Real-time Obtaining touch screen point;
Effective displacement computing unit 203, for according to described motion track, calculates the effective displacement S1 of described touch screen point on the bearing of trend of described data axle; Wherein, the bearing of trend of described data axle comprises the first bearing of trend and the second bearing of trend; When the moving direction of described touch screen point is described first bearing of trend, described effective displacement S1 be on the occasion of; When the moving direction of described touch screen point is described second bearing of trend, described effective displacement S1 is negative value;
Numerical value chooses unit 204, for meeting N1=S1/D as described effective displacement S1, and N1 is when being integer, from described argument sequence, chooses the N number of continuous print numerical value a+N1 numerical value to a+N1+N-1 numerical value, and be presented in described N number of numerical value display position correspondingly; D is the interval of two numerical value display positions of arbitrary neighborhood.
The parameter input device provided due to the present embodiment is for performing the method step of the second embodiment of above-mentioned parameter input method, and its principle of work and beneficial effect one_to_one corresponding, thus repeat no more.
Present invention also offers a kind of 3rd embodiment of parameter input device; comprise the display module 1 in the second embodiment in above-mentioned parameter input media, numerical value chooses module 2, parameter input module 3 and numerical value determining unit 201, motion track acquiring unit 202, effectively displacement computing unit 203 and numerical value choose unit 204
Described numerical value is chosen module 2 and is also comprised:
Translational speed acquiring unit, for terminating the touch control operation of described data axle in response to user, obtains the translational speed of now described touch screen point;
Retarded motion analogue unit, for when described translational speed is greater than the threshold speed of setting, simulates described touch screen point with described translational speed for initial velocity and makes deceleration rectilinear motion until stop;
Then described motion track comprises the actual motion track that described touch screen point is formed during user is to the touch control operation of described data axle, and described touch screen point after the touch control operation of user to described data axle terminates owing to making the virtual motion track that simulation deceleration rectilinear motion is formed.
Further, described deceleration rectilinear motion is specifically using the damping factor F preset as the even deceleration rectilinear motion of acceleration; F is negative value.
Parameter input device in the present embodiment is for performing the method step of the 3rd embodiment in above-mentioned parameter input method, and its principle of work and beneficial effect one_to_one corresponding, thus repeat no more.
Embodiments provide a kind of parameters input method, comprising: on User Interface, show a data axle and an indicant; Wherein, described data axle is equally spaced provided with N number of numerical value display position; Described indicant indicates numerical value display position described in one of them; When detecting that the bearing of trend of user along described data axle drags described data axle, from argument sequence, choose N number of continuous print numerical value, and be presented in described N number of numerical value display position correspondingly; Using the numerical value in the numerical value display position indicated by described indicant as parameters input.Namely when user is to described data axle drag operation, N number of numerical value shown on data axle can change thereupon, thus can change inputted parameter.Because shown N number of continuous print numerical value is the N number of continuous print numerical value selected from described argument sequence, thus the optional scope of parameter does not depend on described N number of continuous print numerical value and depends on the length of described argument sequence, therefore the optional data volume of parameter is enough large, be infinitely-great in principle, be not limited to the size of screen; And described N number of continuous print numerical value is equal-difference arrangement, this difference is precision size and can establishes, and arranges suitable precision and can meet demand to precision; Described N number of numerical value display position is equally spaced, and described spacing can be established according to screen size, arranges suitable spacing and can make user easily and accurately to a numerical value location and as parameters input.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications are also considered as protection scope of the present invention.

Claims (16)

1. a parameters input method, is characterized in that, comprising:
User Interface shows a data axle and an indicant; Wherein, described data axle is equally spaced provided with N number of numerical value display position; Described indicant indicates numerical value display position described in one of them;
When detecting that user carries out touch control operation to described data axle, according to initial value and the displacement of described touch control operation on the bearing of trend of described number line of described numerical value display position, from argument sequence, choose N number of continuous print numerical value, and be presented in described N number of numerical value display position correspondingly; Wherein, described argument sequence has the numerical value of M equal difference sequence; M>N;
Using the numerical value in the numerical value display position indicated by described indicant as parameters input.
2. parameters input method as claimed in claim 1, it is characterized in that, described when detecting that user carries out touch control operation to described data axle, according to initial value and the displacement of described touch control operation on the bearing of trend of described number line of described numerical value display position, N number of continuous print numerical value is chosen from argument sequence, and be presented at correspondingly in described N number of numerical value display position, specifically comprise:
In response to user, the touch control operation of described data axle is started, determine that the N number of continuous print numerical value be now presented in described N number of numerical value display position is that a numerical value in described argument sequence is to a+N-1 numerical value; Wherein, 1≤a≤M-N+1;
The motion track of Real-time Obtaining touch screen point;
According to described motion track, calculate the effective displacement S1 of described touch screen point on the bearing of trend of described data axle; Wherein, the bearing of trend of described data axle comprises the first bearing of trend and the second bearing of trend; When the moving direction of described touch screen point is described first bearing of trend, described effective displacement S1 be on the occasion of; When the moving direction of described touch screen point is described second bearing of trend, described effective displacement S1 is negative value;
When described effective displacement S1 meets N1=S1/D, and when N1 is integer, from described argument sequence, choose the N number of continuous print numerical value a+N1 numerical value to a+N1+N-1 numerical value, and be presented in described N number of numerical value display position correspondingly; D is the interval of two numerical value display positions of arbitrary neighborhood.
3. parameters input method as claimed in claim 2, is characterized in that, described to start in response to the touch control operation of user to described data axle after, also comprise:
In response to user, the touch control operation of described data axle is terminated, obtain the translational speed of now described touch screen point;
When described translational speed is greater than the threshold speed of setting, simulates described touch screen point with described translational speed for initial velocity and make deceleration rectilinear motion until stop;
Then described motion track comprises the actual motion track that described touch screen point is formed during user is to the touch control operation of described data axle, and described touch screen point after the touch control operation of user to described data axle terminates owing to making the virtual motion track that simulation deceleration rectilinear motion is formed.
4. parameters input method as claimed in claim 3, is characterized in that, described deceleration rectilinear motion is specifically using the damping factor F preset as the even deceleration rectilinear motion of acceleration; F is negative value.
5. the parameters input method as described in any one of Claims 1 to 4, is characterized in that, described using the numerical value in the numerical value display position indicated by described indicant as parameters input, comprising:
Every the response time Gap response primary parameter incoming event preset, often respond primary parameter incoming event, obtain numerical value in the numerical value display position indicated by current described indicant and as parameters input.
6. the parameters input method as described in any one of Claims 1 to 4, is characterized in that, described using the numerical value in the numerical value display position indicated by described indicant as parameters input, comprising:
Detecting that described user stops starting timing when dragging described data axle;
When the duration that timing obtains reaches the duration threshold value of setting, obtain numerical value in the numerical value display position indicated by current described indicant and as parameters input.
7. the parameters input method as described in any one of Claims 1 to 4, is characterized in that, described parameters input method also comprises: on described User Interface, show a button control;
Numerical value in numerical value display position then indicated by described indicant comprises as parameters input:
When the determination instruction of user being detected by described button control, obtain numerical value in the numerical value display position indicated by current described indicant and as parameters input.
8. parameters input method as claimed in claim 1, it is characterized in that, described parameters input method also comprises:
Obtain the position selection instruction of user, select a numerical value display position from described N number of numerical value display position, make the numerical value display position selected by the instruction of described indicant.
9. a parameter input device, is characterized in that, comprising:
Display module, for showing a data axle and an indicant on User Interface; Wherein, described data axle is equally spaced provided with N number of numerical value display position; Described indicant indicates numerical value display position described in one of them;
Numerical value chooses module, for when detecting that user carries out touch control operation to described data axle, according to initial value and the displacement of described touch control operation on the bearing of trend of described number line of described numerical value display position, from argument sequence, choose N number of continuous print numerical value, and be presented in described N number of numerical value display position correspondingly; Wherein, described argument sequence has the numerical value of M equal difference sequence; M>N;
Parameter input module, for using the numerical value in the numerical value display position indicated by described indicant as parameters input.
10. parameter input device as claimed in claim 9, it is characterized in that, described numerical value is chosen module and is comprised:
Numerical value determining unit, for starting the touch control operation of described data axle in response to user, determines that the N number of continuous print numerical value be now presented in described N number of numerical value display position is that a numerical value in described argument sequence is to a+N-1 numerical value; Wherein, 1≤a≤M-N+1;
Motion track acquiring unit, for the motion track of Real-time Obtaining touch screen point;
Effective displacement computing unit, for according to described motion track, calculates the effective displacement S1 of described touch screen point on the bearing of trend of described data axle; Wherein, the bearing of trend of described data axle comprises the first bearing of trend and the second bearing of trend; When the moving direction of described touch screen point is described first bearing of trend, described effective displacement S1 be on the occasion of; When the moving direction of described touch screen point is described second bearing of trend, described effective displacement S1 is negative value;
Numerical value chooses unit, for meeting N1=S1/D as described effective displacement S1, and N1 is when being integer, from described argument sequence, chooses the N number of continuous print numerical value a+N1 numerical value to a+N1+N-1 numerical value, and be presented in described N number of numerical value display position correspondingly; D is the interval of two numerical value display positions of arbitrary neighborhood.
11. parameter input devices as claimed in claim 10, it is characterized in that, described numerical value is chosen module and is also comprised:
Translational speed acquiring unit, for terminating the touch control operation of described data axle in response to user, obtains the translational speed of now described touch screen point;
Retarded motion analogue unit, for when described translational speed is greater than the threshold speed of setting, simulates described touch screen point with described translational speed for initial velocity and makes deceleration rectilinear motion until stop;
Then described motion track comprises the actual motion track that described touch screen point is formed during user is to the touch control operation of described data axle, and described touch screen point after the touch control operation of user to described data axle terminates owing to making the virtual motion track that simulation deceleration rectilinear motion is formed.
12. parameter input devices as claimed in claim 11, is characterized in that, described deceleration rectilinear motion is specifically using the damping factor F preset as the even deceleration rectilinear motion of acceleration; F is negative value.
13. parameter input devices as described in any one of claim 9 ~ 12, it is characterized in that, described parameter input module comprises the first input block;
Described first input block is used for the response time Gap response primary parameter incoming event every presetting, and often responds primary parameter incoming event, obtains numerical value in the numerical value display position indicated by current described indicant and as parameters input.
14. parameter input devices as described in any one of claim 9 ~ 12, it is characterized in that, described parameter input module comprises:
Timing unit, for detecting that described user stops starting timing when dragging described data axle;
Second input block, when the duration for obtaining when timing reaches the duration threshold value of setting, obtains numerical value in the numerical value display position indicated by current described indicant and as parameters input.
15. parameter input devices as described in any one of claim 9 ~ 12, is characterized in that, described display module also for showing a button control on described User Interface;
Described parameter input module comprises the 3rd parameter input unit;
Described 3rd parameter input unit is used for when the determination instruction of user being detected by described button control, obtains numerical value in the numerical value display position indicated by current described indicant and as parameters input.
16. parameter input devices as claimed in claim 9, it is characterized in that, described parameter input device also comprises:
Module is selected in position, for obtaining the position selection instruction of user, selects a numerical value display position from described N number of numerical value display position, makes the numerical value display position selected by the instruction of described indicant.
CN201510708081.5A 2015-10-27 2015-10-27 parameter input method and device Active CN105224204B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510708081.5A CN105224204B (en) 2015-10-27 2015-10-27 parameter input method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510708081.5A CN105224204B (en) 2015-10-27 2015-10-27 parameter input method and device

Publications (2)

Publication Number Publication Date
CN105224204A true CN105224204A (en) 2016-01-06
CN105224204B CN105224204B (en) 2019-01-22

Family

ID=54993213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510708081.5A Active CN105224204B (en) 2015-10-27 2015-10-27 parameter input method and device

Country Status (1)

Country Link
CN (1) CN105224204B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106931590A (en) * 2017-02-14 2017-07-07 珠海格力电器股份有限公司 Air-conditioning parameter slides laterally system of selection and system
CN107862609A (en) * 2017-06-27 2018-03-30 陆金所(上海)科技服务有限公司 Amount of money matching method, display device and computer-readable recording medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202433884U (en) * 2011-09-30 2012-09-12 幻音科技(深圳)有限公司 Input system
CN103150091A (en) * 2013-03-04 2013-06-12 苏州佳世达电通有限公司 Input method of electronic device
JP2014157523A (en) * 2013-02-18 2014-08-28 Hioki Ee Corp Measuring apparatus
CN104020944A (en) * 2014-05-27 2014-09-03 广州视源电子科技股份有限公司 Data input method based on sliding block

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202433884U (en) * 2011-09-30 2012-09-12 幻音科技(深圳)有限公司 Input system
JP2014157523A (en) * 2013-02-18 2014-08-28 Hioki Ee Corp Measuring apparatus
CN103150091A (en) * 2013-03-04 2013-06-12 苏州佳世达电通有限公司 Input method of electronic device
CN104020944A (en) * 2014-05-27 2014-09-03 广州视源电子科技股份有限公司 Data input method based on sliding block

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106931590A (en) * 2017-02-14 2017-07-07 珠海格力电器股份有限公司 Air-conditioning parameter slides laterally system of selection and system
CN107862609A (en) * 2017-06-27 2018-03-30 陆金所(上海)科技服务有限公司 Amount of money matching method, display device and computer-readable recording medium

Also Published As

Publication number Publication date
CN105224204B (en) 2019-01-22

Similar Documents

Publication Publication Date Title
US10296092B2 (en) Generating haptic effects while minimizing cascading
CN102890576B (en) Touch screen touch track detection method and pick-up unit
US8847978B2 (en) Information processing apparatus, information processing method, and information processing program
CN103097996A (en) Motion control touch screen method and apparatus
CN102541537B (en) Method and device for realizing menu container controls with surrounding effect
CN102331877B (en) Method and device for displaying information on touch screen
CN102902407B (en) A kind of touch-screen output display touches the method and apparatus of person's handwriting
CN105975181A (en) Method and device for display control of sideslip interface
CN102566892A (en) Display device display method display program and computer readable medium
CN102880389B (en) By touching the mobile method and the device thereof that carry out page layout switch
CN103631419A (en) Cursor positioning method and system based on remote control touch pad
CN110727496B (en) Layout method and device of graphical user interface, electronic equipment and storage medium
CN104020944A (en) Data input method based on sliding block
CN101349956A (en) Method and apparatus for executing pattern touch order
CN202422047U (en) Device for detecting touch track of touch screen
CN103150093A (en) Operation prompt identifier moving method, device and terminal
CN104123079A (en) Method and device for adjusting position of progress bars
CN103744598A (en) Method and equipment for processing message
WO2011040483A1 (en) Display device, control method and recording medium
CN105224204A (en) Parameters input method and apparatus
CN103092498A (en) Method and device for determining response mode and electronic device
CN106484274A (en) A kind of touch control device cursor positioning method and device
CN102360263A (en) Method implemented by taking three-dimensional moving track as input and mobile terminal
CN104423802A (en) Window expansion method and associated electronic device
US9519367B2 (en) Display apparatus and computer-readable non-transitory recording medium with display control program recorded thereon

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