Summary of the invention
The object of the present invention is to provide a kind of counter calculating way.
Correspondingly, the present invention also aims to provide a kind of counter computing system.
One of for achieving the above object, the technical solution used in the present invention is as follows:
A kind of counter calculating way, it comprises the steps:
S1, from the counter user interface, receive input signal;
S2, according to described input signal, obtain corresponding calculating formula, and calculate the corresponding result of calculation of described calculating formula;
S3, the computation process of described calculating formula and result of calculation are fed back to described counter user interface, formation can directly be inserted into the parameter of new calculating formula.
As a further improvement on the present invention, described step S3 specifically comprises: described computation process is split into and calculates numeral, composite computing field, and wherein, described composite computing field comprises to be calculated symbol and accords with corresponding calculating numeral with described calculating; Described calculating numeral, composite computing field and result of calculation are fed back to described counter user interface, and formation can directly be inserted into the parameter of new calculating formula.
As a further improvement on the present invention, described calculating numeral, composite computing field are arranged according to the computational logic of described calculating formula.
As a further improvement on the present invention, described counter user interface comprises to be calculated district and calculates the memory district, and described method also comprises: the fixedly button that described composite computing field is generated as to described calculating district.
As a further improvement on the present invention, described method also comprises: described computation process and result of calculation are uploaded to cloud server storage.
Correspondingly, for realizing above-mentioned another goal of the invention, the present invention also provides a kind of computing system of counter, and it comprises:
Signal receiving unit, for receive input signal from the counter user interface;
Computing unit, for according to described input signal, obtaining corresponding calculating formula, and calculate the corresponding result of calculation of described calculating formula;
Calculate mnemon, for the computation process by described calculating formula and result of calculation, feed back to described counter user interface, formation can directly be inserted into the parameter of new calculating formula.
As a further improvement on the present invention, described calculating mnemon specifically for: described computation process is split into and calculates numeral, composite computing field, and wherein, described composite computing field comprises to be calculated symbol and accords with corresponding calculating numeral with described calculating; Described calculating numeral, composite computing field and result of calculation are fed back to described counter user interface, and formation can directly be inserted into the parameter of new calculating formula.
As a further improvement on the present invention, described calculating mnemon also for: described calculating numeral, composite computing field are arranged according to the computational logic of described calculating formula.
As a further improvement on the present invention, described counter user interface comprises to be calculated district and calculates the memory district, and described counter computing system is also for the fixedly button that described composite computing field is generated as to described calculating district.
As a further improvement on the present invention, described system also for: described computation process and result of calculation are uploaded to cloud server storage.
Compared with prior art, the present invention feeds back to user interface by the computation process by counter and result of calculation, formation can directly be inserted into the parameter of new calculating formula, whether the computation process that makes the user to check to input in computation process is accurate, and computation process and result of calculation repeatedly before can reusing, time saving and energy saving, counting yield is higher.
Embodiment
Below with reference to embodiment shown in the drawings, describe the present invention.But these embodiments do not limit the present invention, the conversion on the structure that those of ordinary skill in the art makes according to these embodiments, method or function all is included in protection scope of the present invention.
Shown in please refer to the drawing 1, in the embodiment of the invention, described counter calculating way, it specifically comprises the steps to realize:
S1, from the counter user interface, receive input signal; Counter comprises entity counter (hardware composition) and calculator software (online application software, webpage software, small routine etc.), the counter user interface comprises some buttons and viewing area, the user, by clicking corresponding digital keys and calculating symbol button or other function button, realizes the counter computing function.Wherein, as counter itself, the input signal that each button is corresponding unique.
S2, according to described input signal, obtain corresponding calculating formula, and calculate the corresponding result of calculation of described calculating formula; Wherein, in the present embodiment, because of each input signal, after being accepted, after the controller in counter is identified this input signal, can obtaining corresponding calculating numeral or calculate symbol.Such as: the numeral of active user's required input is " 16 ", the user will inevitably first click keys " 1 " so, click keys " 6 " again, two the clicked rear controllers of corresponding input signal to counter that send respectively of enter key, controller is by identification two input signals, and this calculates numeral to get " 16 ", by that analogy, after getting the calculating symbols such as "+", "-", " * ", "/", can get the calculating formula of current input, such as: " 16*21=".
Predefined computation rule in counter, can accurately calculate the result of calculation of described calculating formula, and wherein, computation rule is technology well known to those of ordinary skill in the art, and the applicant does not repeat them here.
S3, the computation process of described calculating formula and result of calculation are fed back to described counter user interface, formation can directly be inserted into the parameter of new calculating formula.
The present invention, for the correctness of the computation process that guarantees all inputs of user (calculate numeral, calculate symbol etc.), has also designed computation process and can look into function.Particularly, in the present embodiment, by by calculating formula and corresponding result of calculation by feeding back to the counter user interface, and specific region is shown on user interface, thus the user can check intuitively before all input processes and result of calculation.
It is worth mentioning that, in the specific embodiment of the invention, the computation process and the result of calculation that are presented on user interface can also directly be called in new calculating formula as calculating parameter, thereby also realized the function of memory for digits, and memory for digits of the present invention is not merely a numeral of memory, all numerals that are fed and calculating formula can be called, and then counter convenient for users calculates.
Shown in ginseng Fig. 2, it has meaned the composition of counter user interface of the present invention.In present embodiment, described counter user interface comprises to be calculated district and calculates the memory district, wherein, calculates district and comprises digital display box, some fixedly buttons; Preferably, calculate the button that the memory district comprises " removing record ", show that the computation process on it can be removed by this button.
Shown in ginseng Fig. 3, in the present invention, the user has inputted the series of computation formula and has generated result of calculation according to each calculating formula, shows all computation process and the result of calculation of user in the zone of calculating the memory district.Wherein, preferably, after symbol "=" is calculated in one of the every input of user, calculate the memory district and just demonstrate corresponding batch total formula and a result of calculation.
Wherein, preferably, in first embodiment of the invention, described step S3 specifically comprises:
S31, described computation process is split into and calculates numeral 12, composite computing field 13, wherein, described composite computing field comprises to be calculated symbol and accords with corresponding calculating numeral with described calculating; Take " 16+28=44 " as example, wherein, " 16 " are that composite computing field 13, " 44 " refer to result of calculation 14 for calculating numeral 12, "+28=".Certainly, meet calculated field and also can be the combinations that comprise a plurality of calculating numerals and calculating symbol, such as "+23-44/2=".
S32, described calculating numeral 12, composite computing field 13 and result of calculation 14 are fed back to described counter user interface, formation can directly be inserted into the parameter of new calculating formula.Wherein, be set to respectively click keys in calculating numeral 12, composite computing field 13 and the result of calculation 14 calculated in the memory district, the user, by clicking the button of relevant position, can realize that the part using the content of respective field as new calculating formula is calculated.Such as, after the user has inputted a numeral " 26 " in the calculating district by the left side, then, after clicking the composite computing field "/4=" of calculating in the memory district, just can obtain quickly the computation process of " 26/4=6 ", realize that a key fast inputs, promote user's experience.
More preferably, in the present embodiment, described step S3 also comprises: described calculating numeral, composite computing field are arranged according to the computational logic of described calculating formula.Such as, the calculating formula of user's input is: " 16+28-12/4 ", according to the calculating priority level of calculating symbol, preferential calculate " 12/4=3 ", calculate again " 16+28=44 ", finally calculate " 44-3=41 ", after that input "=" by the user, calculate in remembering district the information shown be " 12/4=3; 16+28=44; 44-3=41 ".
Shown in ginseng Fig. 4, in second embodiment of the invention, preferably, be provided with some fixedly buttons 11 on the user interface of counter, so the computing method of described counter also comprise: the fixedly button that described composite computing field is generated as to described calculating district.For example: shown that a composite computing field is in calculating the memory district: "+28=", that is by the function by this compound fields and calculate certain of district fixedly button is corresponding, click this fixedly after button 11 the user, the data that the counter program is preserved according to inside, "+" sent in simulation successively, " 28 " and "=" key, make the user can the one-key operation computing.
In present embodiment, also the function of very complicated mathematic formula can be embedded into to certain fixedly on button, such as: the formula of wage individual income tax, housing loan interest formula etc., the user is by after inputting basic wage, click again the fixedly button of individual income tax, just can directly obtain the required tax number of paying, thereby be convenient for people to carry out specific calculations.
Be worth mentioning, in other embodiments of the present invention, described method also comprises: described computation process and result of calculation are uploaded to cloud server storage.Wherein, all computation process and result of calculation on counter, can store on server by internet, once these data have been left counter, and upload onto the server, the user just can be browsed, copy, be saved in the medium operation of file.
In order to allow the user can fetch from server the calculating record of oneself, usual way is requirement user registration and login.And in reality, a lot of users are unwilling to register.The present invention has adopted the concept of dynamic generation " access bill ".The access bill is that server is that each client (browser) generates automatically, unique character string.When user's calculating record is sent on server, send this access bill simultaneously, when the user clicks calculating on the link browser server in counter and records, also automatically send this access bill, server is found the whole calculating record of user according to this access bill, is returned to browser display.Except browse displays, server can also provide other data processing functions, such as editor, classification, statistics, summation etc.
Shown in ginseng Fig. 5, correspondingly, in the specific embodiment of the invention, a kind of computing system of counter, it applies above-mentioned method, and it comprises as lower unit:
Signal receiving unit 101, for receive input signal from the counter user interface;
Computing unit 102, for according to described input signal, obtaining corresponding calculating formula, and calculate the corresponding result of calculation of described calculating formula; Predefined computation rule in counter, can accurately calculate the result of calculation of described calculating formula, and wherein, computation rule is technology well known to those of ordinary skill in the art, and the applicant does not repeat them here.
Calculate mnemon 103, for the computation process by described calculating formula and result of calculation, feed back to described counter user interface, formation can directly be inserted into the parameter of new calculating formula.The present invention, for the correctness of the computation process that guarantees all inputs of user (calculate numeral, calculate symbol etc.), has also designed computation process and can look into function.Particularly, in the present embodiment, by by calculating formula and corresponding result of calculation by feeding back to the counter user interface, and specific region is shown on user interface, thus the user can check intuitively before all input processes and result of calculation.
It is worth mentioning that, in the specific embodiment of the invention, the computation process and the result of calculation that are presented on user interface can also directly be called in new calculating formula as calculating parameter, thereby also realized the function of memory for digits, and memory for digits of the present invention is not merely a numeral of memory, all numerals that are fed and calculating formula can be called, and then counter convenient for users calculates.
Preferably, in present embodiment, described calculating mnemon 103 particularly:
At first, it calculates numeral, composite computing field for described computation process is split into, and wherein, described composite computing field comprises to be calculated symbol and accords with corresponding calculating numeral with described calculating; Wherein, described composite computing field comprises the calculating symbol and accords with corresponding calculating numeral with described calculating; Take " 16+28=44 " as example, wherein, " 16 " are digital for calculating, "+28=" is that composite computing field, " 44 " refer to result of calculation.Certainly, meet calculated field and also can be the combinations that comprise a plurality of calculating numerals and calculating symbol, such as "+23-44/2=".
Moreover it is for feeding back to described counter user interface by described calculating numeral, composite computing field and result of calculation, formation can directly be inserted into the parameter of new calculating formula.Wherein, in calculating numeral, composite computing field and the result of calculation calculated in the memory district, be set to respectively click keys, the user, by clicking the button of relevant position, can realize that the part using the content of respective field as new calculating formula is calculated.Such as, after the user has inputted a numeral " 26 " in the calculating district by the left side, then, after clicking the composite computing field "/4=" of calculating in the memory district, just can obtain quickly the computation process of " 26/4=6 ", realize that a key fast inputs, promote user's experience.
Preferably, in present embodiment, calculate mnemon 103 also for: described calculatings is digital, composite computing field is arranged according to the computational logic of described calculating formula.Such as, the calculating formula of user's input is: " 16+28-12/4 ", according to the calculating priority level of calculating symbol, preferential calculate " 12/4=3 ", calculate again " 16+28=44 ", finally calculate " 44-3=41 ", after that input "=" by the user, calculate in remembering district the information shown be " 12/4=3; 16+28=44; 44-3=41 ".
More preferably, in present embodiment, described counter computing system is also for the fixedly button that described composite computing field is generated as to described calculating district.For example: shown that a composite computing field is in calculating the memory district: "+28=", that is by the function by this compound fields and calculate certain of district fixedly button is corresponding, click this fixedly after button 11 the user, the data that the counter program is preserved according to inside, "+" sent in simulation successively, " 28 " and "=" key, make the user can the one-key operation computing.In this system, also the function of very complicated mathematic formula can be embedded into to certain fixedly on button, such as: the formula of wage individual income tax, housing loan interest formula etc., the user is by after inputting basic wage, click again the fixedly button of individual income tax, just can directly obtain the required tax number of paying, thereby be convenient for people to carry out specific calculations.
More preferably, in present embodiment, described system also for: described computation process and result of calculation are uploaded to cloud server storage.Wherein, all computation process and result of calculation on counter, can store on server by internet, once these data have been left counter, and upload onto the server, the user just can be browsed, copy, be saved in the medium operation of file.
In order to allow the user can fetch from server the calculating record of oneself, usual way is requirement user registration and login.And in reality, a lot of users are unwilling to register.Adopted the concept of dynamic generation " access bill " in native system.The access bill is that server is that each client (browser) generates automatically, unique character string.When user's calculating record is sent on server, send this access bill simultaneously, when the user clicks calculating on the link browser server in counter and records, also automatically send this access bill, server is found the whole calculating record of user according to this access bill, is returned to browser display.Except browse displays, server can also provide other data processing functions, such as editor, classification, statistics, summation etc.
In sum, compared with prior art, the present invention feeds back to user interface by the computation process by counter and result of calculation, formation can directly be inserted into the parameter of new calculating formula, whether the computation process that makes the user to check to input in computation process is accurate, and computation process and result of calculation repeatedly before can reusing, time saving and energy saving, counting yield is higher.
Be to be understood that, although this instructions is described according to embodiment, but not each embodiment only comprises an independently technical scheme, this narrating mode of instructions is only for clarity sake, those skilled in the art should make instructions as a whole, technical scheme in each embodiment also can, through appropriate combination, form other embodiments that it will be appreciated by those skilled in the art that.
Above listed a series of detailed description is only illustrating for feasibility embodiment of the present invention; they are not in order to limit the scope of the invention, all disengaging within equivalent embodiment that skill spirit of the present invention does or change all should be included in protection scope of the present invention.