Specific embodiment
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to this specification embodiment
Technical solution be described in detail, it should be understood that the specific features in this specification embodiment and embodiment are to this explanation
The detailed description of book embodiment technical solution, rather than the restriction to this specification technical solution, in the absence of conflict,
Technical characteristic in this specification embodiment and embodiment can be combined with each other.
In a first aspect, this specification embodiment provides a kind of numerical value methods of exhibiting, referring to FIG. 1, describing in detail in this figure
Meet the technical solution that default input numerical value is incremented by the numerical value of rule according to numerical value real-time exhibition is inputted in user, the embodiment
Method can be applied not only to the mobile terminal of such as smart phone, tablet computer etc, can also be applied to desktop computer
Etc. equipment the default value of presetting digit capacity can be added after the first numerical value automatically, formed full when user inputs the first numerical value
The default input numerical value of foot is incremented by the second value of rule, to reduce the difficulty of user's input, guarantees that user inputs the accurate of numerical value
Property.The method comprising the steps of S101-S102, as follows:
S101: the first numerical value that user inputs in real time in default input frame is obtained;
S102: rule is incremented by based on default input numerical value, the default value of presetting digit capacity is shown in first numerical value
Later, second value is formed, shows the second value in the default input frame.
In many human-computer interaction scenes, it is related to many scenes for needing user to input numerical value and is for example utilizing
Financial platform is deposited, is bought in the scenes such as stock or fund, and user is needed to input the numerical value of corresponding purchase or the storage amount of money.
Many financial platforms define the incremental rule of input numerical value, show that this is incremented by rule by the way of official documents and correspondence, user is prompted to pass
Increase amount of money limitation.User inputs numerical value by after voluntarily watching the official documents and correspondence, defining rule.User input numerical value not
Meet and be incremented by regular situation, output prompt information prompt user re-enters, and user check to input numerical value and repair again
Change.
It is defeated in real time in default input frame to obtain user by step S101 first for numerical value methods of exhibiting in the present embodiment
The first numerical value entered.Default input frame can be to be needed to input in the corresponding webpage of financial platform or the input interface of application program
The input frame of the corresponding amount of money, can also be the input frame for needing to input the input interface of numerical value in other application scene, here, this
Application is with no restrictions.For the numerical value of input frame input, it is specified that the incremental rule of input numerical value in many application scenarios, than
Such as: being incremented by by 10, showing that input numerical value is only capable of is 10 multiple, is incremented by by 100, and showing that input numerical value is only capable of is 100 multiple.
In turn, after obtaining the first numerical value that user inputs in real time by step S101, then through step S102, based on pre-
If inputting numerical value is incremented by rule, the default value of presetting digit capacity is added after the first numerical value automatically, forms second value, presets defeated
Enter and show second value in frame, second value meets default input numerical value and is incremented by rule, in this way, user is when inputting numerical value, no
It must go to think deeply and be incremented by rule, numerical value input difficulty is effectively reduced, improves numerical value input accuracy.
Presetting digit capacity can be set according to actual needs in the present embodiment, and default value can also be according to actual needs
It is set.In a kind of optional implementation, passed for input numerical value by 10 Nth power if default input numerical value is incremented by rule
Increase, then presetting digit capacity is N, and default value 0, N is the integer greater than 0.Such as: default input numerical value is incremented by rule as input number
Value is incremented by by 100, i.e., is incremented by by 10 2 powers, then presetting digit capacity is 2, default value 0, after the first numerical value inputted in real time
Addition two 0, as shown in schematic diagram 2, user inputs the first numerical value 22 in real time in input frame, presets input numerical value and is incremented by rule
It is incremented by input frame for input numerical value by 100, the real-time exhibition two 0 behind the first numerical value 22 forms second value
2200, show that the actual numerical value of user's input is 2200, meets default input numerical value and be incremented by rule.
Certainly, presetting digit capacity and default value can also otherwise be set, such as: if it is binary input
Numerical value, default value can also be 1 or 0, and presetting digit capacity can be set according to actual needs, here, the application is with no restrictions.
In a kind of optional implementation, input cursor is shown after the first numerical value, by the default value of presetting digit capacity
It shows after inputting cursor.
Specifically, in the present embodiment, the position for inputting cursor display is the numerical value inputted in real time positioned at user and automatic
Between the default value of the presetting digit capacity of filling, for distinguishing the numerical value which is partially oneself input for user, which is partially
System is incremented by the numerical value of rule supplement according to default input numerical value, so as to the numerical value of user's timely learning oneself input, and then logarithm
Value is adjusted in real time.With continued reference to Fig. 2, input cursor is shown after the first numerical value 22, shows two after input cursor
0, user more can intuitively know the numerical value inputted in real time before input cursor for user, be the number of system filling after input cursor
Value.In the specific implementation process, input light target display state can be with the first numerical value and the default value of presetting digit capacity
Display state is different, such as: input light target color can be the colors such as more eye-catching highlighted blue, yellow, to play
Suggesting effect is distinguished the default value of the first numerical value and presetting digit capacity by input cursor position convenient for user, it is defeated to reduce user
Enter the difficulty of numerical value.
The numerical value that the numerical value that user inputs in real time and system filling are distinguished for the ease of user, in a kind of optional implementation
In, the first numerical value is shown with first state, and the default value of presetting digit capacity is shown with the second state different from first state.
Specifically, in the present embodiment, the first numerical value that user inputs in real time is shown with first state, presetting digit capacity it is pre-
If numerical value is shown with the second state different from first state.Due to display state difference, user more can intuitively be differentiated
Which is partially the numerical value of oneself input, which is partially the numerical value that system is incremented by rule supplement according to default input numerical value.Continue to join
Fig. 2 is examined, the first numerical value 22 is with shown in black, and the displaying later of the first numerical value two 0 with red display.In the specific implementation process,
First state and the second state can be set according to actual needs, here, the application is with no restrictions.Such as: the first numerical value exhibition
The color shown is different from the color that the default value of presetting digit capacity is shown, alternatively, font and presetting digit capacity that the first numerical value is shown
The font that shows of default value it is different, alternatively, the default value of font size and presetting digit capacity that the first numerical value is shown shows background
Color is different.
Further, in a kind of optional implementation, after input cursor is shown after the first numerical value, if user after
Continuous input numerical value, receives user and newly inputs numerical value, and and then the first numerical value is shown the data newly inputted, and input numerical value is opened up in real time
Show between the first numerical value and input cursor.In this way, the numerical value real-time exhibition of user's input inputs cursor before inputting cursor
For real-time exhibition between the default value for the presetting digit capacity that user inputs numerical value and fills automatically, the numerical value that user inputs in real time is equal
It comes into force on the input cursor left side, will not influence the numerical value filled automatically below.Ensure to be formed after user continues to input numerical value
Second value is able to satisfy default input numerical value and is incremented by rule.
Further, in a kind of optional implementation, if user deletes the first numerical value, determine user to first
Numerical value executes deletion, deletes since last position of the first numerical value, and the numerical value and then input cursor is deleted after is shown, automatically
The default value of the presetting digit capacity of filling shows that the numerical value that user deletes in real time is left in input cursor after input cursor
While coming into force, the numerical value filled automatically below will not influence.When the first numerical value is all deleted, the present count of presetting digit capacity is deleted
Value, input frame are shown as showing the official documents and correspondence that default input numerical value is incremented by rule in blank or input frame.
Further, the related restriction rule for inputting numerical value is known in order to which user can understand, as the aforementioned default input number
It is worth and is incremented by rule, in a kind of optional implementation, shows and preset in the first predetermined position corresponding with default input frame
It inputs numerical value and is incremented by the corresponding description information of rule.Specifically, referring to FIG. 3, not inputting any data in default input frame
When, show that the default input numerical value is incremented by the corresponding description information of rule in input frame, description information is shown with gray states.
Certainly, which can also show above or below input frame, the position specifically shown can according to actual needs into
Row setting, here, the application is with no restrictions.
Further, huge economy caused by causing input bit to miscount accidentally because of erroneous input in order to avoid user can form the
After two numerical value, the digit information of the top digit of second value is shown into the second place corresponding in default input frame.
By previous embodiment it is found that many financial platforms need the numerical value of the amount of money of user's input purchase or storage, and to input numerical value
Limitation has incremental amount of money rule, is related to pecuniary exchange, when the digit of the second value formed in input frame is more, second value
When larger, user is difficult that the amount of money that confirmation actually enters is how many on earth, alternatively, being easy to appear second value not is user's expectation
The numerical value of input, such as: user thinks input 20000, but since the digit of subsequent 0 input is more, may just have input
200000, the second value actually shown in input frame is 200000, and the form that number is integrally shown is closer to, but true
On it is 10 times poor, user be difficult confirm current value magnitude, cause input error, be easy to bring economic loss to user.
In order to make user's timely learning formed second value the order of magnitude, can in the second value formed in real time,
The digit information of the top digit of second value is shown into the second place corresponding in default input frame, prompts user current
The digit information of input.Specifically, the digit information of top digit can show the first numerical value the first bit digital it is upper
Side or lower section, so as to the order of magnitude for the numerical value that user's timely learning actually enters oneself.Aforementioned exemplary is continued to use, in the lower section of " 2 "
It shows numerical digit " ten thousand ", when user's mistake is when having input 200000, the specific position of " 2 " of highest order will show numerical digit " ten
Ten thousand ", whether the multidigit numerical value that thus can clearly prompt user currently to actually enter in input frame is correct.
Further, in many numerical value input scenes, the minimum value and/or maximum value of input numerical value also be will limit.One
In kind optional implementation, after forming second value, judge second value whether within the scope of default value, if not,
Output prompt information is for prompting user to re-enter.Specifically, if defining the minimum and/or maximum value for inputting numerical value
It limits, whether default value range can be set accordingly, in turn, after forming second value, judge second value default
In numberical range, if not, output prompt information is for prompting user to re-enter.Determine that judgement opportunity is the second number to be formed
Value does not change in preset time range (such as: in 30 seconds, the time ranges such as in 1 minute), and it is defeated to show that user completes numerical value
Enter.Alternatively, user after inputting the first numerical value, forms second value in input frame, user clicks confirmation key, shows user
Complete numerical value input.At this point, judging the second value formed in input frame whether within the scope of default value.For example,
If financial platform set purchase the amount of money be 1000, top limit 100000, then default value range for more than or equal to
1000 and be less than or equal to 100000 numerical value, user input the first numerical value be 1, preset input be incremented by rule for 100 be incremented by,
Then fill two 0 automatically after 1, forming second value is 100,100 not within the scope of the default value, can export prompt information
Prompt user's input error directly shows the rule in prompt information, meets regular number to prompt user to re-enter
Value.
Second aspect, based on the same inventive concept, this specification embodiment provide a kind of numerical value displaying device, please refer to figure
4, comprising:
Acquiring unit 401, the first numerical value inputted in real time in default input frame for obtaining user;
Display unit 402 shows the default value of presetting digit capacity in institute for being incremented by rule based on default input numerical value
After stating the first numerical value, second value is formed, shows the second value in the default input frame.
In a kind of optional implementation, the default rule that is incremented by is incremented by for input numerical value by 10 Nth power;Wherein:
The presetting digit capacity is N, and the default value be 0, N for the integer greater than 0.
In a kind of optional implementation, the display unit 402 is specifically used for:
Input cursor is shown after first numerical value;
The default value of the presetting digit capacity is shown after the input cursor.
In a kind of optional implementation, the display unit 402 is also used to:
After showing input cursor after first numerical value, receives user and newly input numerical value, by the new input number
It is worth real-time exhibition between first numerical value and the input cursor.
In a kind of optional implementation, the display unit 402 is also used to:
After showing input cursor after first numerical value, when determining that user executes deletion to first numerical value,
It is deleted since last position of first numerical value, when first numerical value is all deleted, deletes the presetting digit capacity
Default value.
In a kind of optional implementation, the display unit 402 is specifically used for:
First numerical value is shown with first state;
The default value of the presetting digit capacity is shown with the second state different from the first state.
In a kind of optional implementation, the display unit 402 is also used to:
Incremental regular with the default corresponding first predetermined position displaying of input frame and the default input numerical value
Corresponding description information.
In a kind of optional implementation, the display unit 402 is also used to:
The digit information of the top digit of the second value is shown into second corresponding in the default input frame
Set place.
In a kind of optional implementation, the display unit 402 is also used to:
After the formation second value, judge the second value whether within the scope of default value;
If not, output prompt information is for prompting user to re-enter.
The third aspect is based on inventive concept same as numerical value methods of exhibiting in previous embodiment, and the present invention also provides one
Kind numerical value shows device, as shown in figure 5, including memory 504, processor 502 and being stored on memory 504 and can handle
The computer program run on device 502, the processor 502 realize method for exhibiting data described previously when executing described program
The step of either method.
Wherein, in Fig. 5, bus architecture (is represented) with bus 500, and bus 500 may include any number of interconnection
Bus and bridge, bus 500 will include the one or more processors represented by processor 502 and what memory 504 represented deposits
The various circuits of reservoir link together.Bus 500 can also will peripheral equipment, voltage-stablizer and management circuit etc. it
Various other circuits of class link together, and these are all it is known in the art, therefore, no longer carry out further to it herein
Description.Bus interface 506 provides interface between bus 500 and receiver 501 and transmitter 503.Receiver 501 and transmitter
503 can be the same element, i.e. transceiver, provide the unit for communicating over a transmission medium with various other devices.Place
It manages device 502 and is responsible for management bus 500 and common processing, and memory 504 can be used for storage processor 502 and execute behaviour
Used data when making.
Fourth aspect, based on the inventive concept with method for exhibiting data in previous embodiment, the present invention also provides a kind of meters
Calculation machine readable storage medium storing program for executing, is stored thereon with computer program, which realizes data exhibition described previously when being executed by processor
The step of either method shown method.
This specification is referring to the method, equipment (system) and computer program product according to this specification embodiment
Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram
The combination of process and/or box in one process and/or box and flowchart and/or the block diagram.It can provide these computers
Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices
To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute
In setting for the function that realization is specified in one or more flows of the flowchart and/or one or more blocks of the block diagram
It is standby.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of equipment, the commander equipment realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of this specification has been described, once a person skilled in the art knows basic wounds
The property made concept, then additional changes and modifications may be made to these embodiments.So the following claims are intended to be interpreted as includes
Preferred embodiment and all change and modification for falling into this specification range.
Obviously, those skilled in the art can carry out various modification and variations without departing from this specification to this specification
Spirit and scope.In this way, if these modifications and variations of this specification belong to this specification claim and its equivalent skill
Within the scope of art, then this specification is also intended to include these modifications and variations.