CN106168938A - Computational methods and electric terminal - Google Patents
Computational methods and electric terminal Download PDFInfo
- Publication number
- CN106168938A CN106168938A CN201610509536.5A CN201610509536A CN106168938A CN 106168938 A CN106168938 A CN 106168938A CN 201610509536 A CN201610509536 A CN 201610509536A CN 106168938 A CN106168938 A CN 106168938A
- Authority
- CN
- China
- Prior art keywords
- calculating formula
- change
- area
- calculation
- monitoring
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/02—Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
- G06F15/025—Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention relates to the communications field, disclose a kind of computational methods, it is applied to electric terminal, the display interface of electric terminal includes first area and second area, first area for showing the calculating formula of input when the input monitoring calculating formula, and second area shows corresponding result of calculation for the calculating formula according to input;Computational methods include: whether the calculating formula of monitoring first area is changed;If monitoring calculating formula to change, then the calculating formula after change is calculated, the result of calculation after being changed;Result of calculation after second area display change.Present invention also offers a kind of electric terminal.Compared with the existing technology, embodiment in the present invention makes user can change the calculating formula of input in electric terminal easily, and also user can be facilitated to check result of calculation and facilitate user to check whether calculating formula exists mistakes and omissions situation, bring facility to user.
Description
Technical field
The present invention relates to the communications field, particularly to the computational methods in the communications field and electric terminal.
Background technology
In recent years, along with development and the continuous progress in epoch of communication technology, mobile phone has become the daily life of people
Requisite communication tool in work, this is because mobile phone carries convenient, uses simple, brings greatly to the life of people
Convenient.And at present the function of mobile phone the most from strength to strength, in addition to having communication function, many instruments subsidiary in mobile phone are also
It is the most convenient to bring to our life.Such as: the computer in mobile phone can make us need not written calculation or specially again
Calling in computer and just can complete the calculating of some complexity, we only need to take out mobile phone can complete the calculating of complexity.
Inventor, during realizing the present invention, finds that prior art has following defects that mobile phone calculator is every time
After calculating formula is calculated, calculating formula can be purged, then result of calculation be shown on a display screen.But this meter
Calculating formula cannot be checked by calculation mode, if whether calculating formula to be checked is correct, can only first record above-mentioned calculating
As a result, re-enter calculating formula the most again and calculate, compare whether two times result is consistent, complex operation.
Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of computational methods and electric terminal so that user can the most more
Change into the calculating formula of input in electric terminal, and also user can be facilitated to check result of calculation and facilitate user to check calculating
Whether formula exists mistakes and omissions situation, brings facility to user.
For solving above-mentioned technical problem, embodiments of the present invention provide a kind of computational methods, and these computational methods are applied
In electric terminal, the display interface of electric terminal includes first area and second area, and first area is for monitoring calculating
Showing the calculating formula of input during the input of formula, second area is for result of calculation corresponding to the calculating formula display according to input.Meter
Calculation method includes: whether the calculating formula of monitoring first area is changed;If monitoring calculating formula to change, then to change after
Calculating formula calculate, the result of calculation after being changed;Result of calculation after second area display change.
Embodiments of the present invention additionally provide a kind of electric terminal, including: human-computer interaction module, Input Monitor Connector module with
And computing module;Human-computer interaction module, first area is used for showing the calculating formula of input when the input monitoring calculating formula, the
Two regions are for the result of calculation of the calculating formula display correspondence according to input;Input Monitor Connector module, for monitoring first area
Whether calculating formula is changed;Computing module, for when Input Monitor Connector module monitors to calculating formula changes, after change
Calculating formula calculate, the result of calculation after being changed;Human-computer interaction module, is additionally operable to after second area display change
Result of calculation.
In terms of existing technologies, user can input calculating formula by first area to embodiment of the present invention, and
The calculating formula that can show first area is checked or changes, such that it is able to make user conveniently defeated at inputting interface
Enter or change calculating formula.Changed by calculating formula first area being detected, the calculating formula after change calculated,
And the result of calculation after change is shown at second area, owing to electric terminal can be simultaneously by calculating formula and calculating knot
Fruit shows, so facilitating user that user can also be facilitated while checking result to check whether calculating formula exists mistakes and omissions feelings
Condition, brings facility to user.And prior art there is also when comparing two times result and being inconsistent, need again to carry out calculating ratio
Problem relatively, embodiment of the present invention equally solves this problem.
It addition, electric terminal at least performs two threads;Wherein, first thread for monitoring the calculating formula of first area is
No change;Second thread is for calculating described calculating formula.By multiple threads calculating formula detected and count
Calculate the feasibility that may further ensure that the present invention.
It addition, when whether the calculating formula monitoring first area occurs change, for monitoring the calculating formula of first area be
The no thread occurring to change is when monitoring any amendment to calculating formula, and the calculating formula after changing in real time passes to for right
Calculating formula carries out the thread calculated;Calculating formula after change is being calculated, during result of calculation after being changed, for right
Calculating formula after change is calculated by thread that calculating formula carries out calculating in real time;Calculating knot after second area display change
Time really, second area shows the result of calculation after change in real time.The calculating formula of second area is repaiied by detecting whether in real time
Change, and when monitoring any amendment to calculating formula, in real time the calculating formula after change is calculated, after display change in real time
Result of calculation.Can realize automatically amended calculating formula being calculated, and simple to operate, easy to use, practicality
Stronger.
It addition, when whether the calculating formula monitoring first area occurs change, whether change for monitoring calculation formula
Thread monitor the amendment to calculating formula confirm after, will change after calculating formula pass to based on calculating formula is carried out
The thread calculated.Again the calculating formula after amendment is calculated after the manual confirmation of user so that only need user
When checking the result of calculation after amendment calculating formula, just can calculate the calculating formula after change, this design is more
Hommization, practicality is stronger.
It addition, the amendment to calculating formula is confirmed as: receive equal symbol or the carriage-return character of user's input.Thus can
With the demand according to actual design, amendment confirmation is designed to any combination, to meet the use need of different user
Ask.
Accompanying drawing explanation
Fig. 1 is the flow chart according to the first embodiment Computational Methods;
Fig. 2 is the flow chart according to the thread whether change occurs for monitoring calculation formula in the second embodiment;
Fig. 3 is the display being set up in parallel up and down according to calculating formula viewing area in the second embodiment and result of calculation viewing area
Schematic diagram;
Fig. 4 is according to the flow chart of thread for calculating calculating formula in the second embodiment;
Fig. 5 is according to the display being set up in parallel about calculating formula viewing area in the second embodiment and result of calculation viewing area
Schematic diagram;
Fig. 6 is the flow chart according to the thread whether change occurs for monitoring calculation formula in the 3rd embodiment;
Fig. 7 is according to the flow chart of thread for calculating calculating formula in the 3rd embodiment;
Fig. 8 is according to the structured flowchart of electric terminal in the 4th embodiment;
Fig. 9 is according to the structured flowchart of electric terminal in the 7th embodiment.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with the accompanying drawing each reality to the present invention
The mode of executing is explained in detail.But, it will be understood by those skilled in the art that in each embodiment of the present invention,
In order to make reader be more fully understood that, the application proposes many ins and outs.But, even if there is no these ins and outs and base
Many variations and amendment in following embodiment, it is also possible to realize the application technical scheme required for protection.
Computational methods in the present invention can apply to the various computer client being arranged on electric terminal or answer
Use program.Electric terminal can be, but not limited to as smart mobile phone (such as Android phone, iOS mobile phone etc.), panel computer
(PAD), palm PC, personal computer (PC), computer or mobile internet device etc..
First embodiment of the present invention relates to a kind of computational methods, is applied to electric terminal, display circle of electric terminal
Face includes first area and second area, and first area is used for showing the calculating formula of input when the input monitoring calculating formula,
Second area is for the result of calculation of the calculating formula display correspondence according to input.
The idiographic flow of computational methods as it is shown in figure 1, comprising:
Step 101, the calculating formula in monitoring first area.
It should be noted that can be that first area adds audiomonitor, it be used for monitoring the calculating formula in first area.Specifically
Ground is said, audiomonitor, when the input monitoring calculating formula, shows the calculating formula of input in the first region, may be used for for user
Carry out checking that the calculating formula of input is the most correct, or, when calculating formula mistake, the letter of the change calculating formula of monitoring user's input
Breath, and the calculating formula after change is shown in the first region.
Step 102, it is judged that whether calculating formula changes.If it is, enter step 103, otherwise, return step 101
Continue detection.
Audiomonitor monitors the calculating formula of first area and changes, then can be determined that and change for calculating formula, just touches
Send out and calculate function.
Then enter step 103.
Step 103, calculates the calculating formula after change, the result of calculation after being changed, and result of calculation is shown
Show at second area.
Text calculating formula after changing is calculated by the function that calculates triggered, and result of calculation is updated second area
Show.It is noted that during second area display result of calculation, the calculating formula of first area is not removed.
By foregoing, it is seen that, in present embodiment, user can input calculating formula by inputting interface, and
And the calculating formula that can show first area checks or changes, such that it is able to make user conveniently at inputting interface
Input or change calculating formula.By detecting that calculating formula changes, the calculating formula after change is calculated, and will more
Result of calculation after changing shows, owing to calculating formula and result of calculation can be shown by electric terminal simultaneously, uses so convenient
Family can also facilitate user to check whether calculating formula exists mistakes and omissions situation while checking result, brings facility to user.And
Prior art there is also when comparing two times result and being inconsistent, needs again to carry out calculating the problem compared, embodiment party of the present invention
Formula equally solves this problem.
Second embodiment of the present invention relates to a kind of computational methods, and monitor calculating formula in present embodiment is any
During amendment, in real time the calculating formula after change is calculated, and show the result of calculation after change in real time.
It is noted that the electric terminal in present embodiment can at least perform two threads;Wherein first thread
For monitoring whether the calculating formula of first area is changed;Second thread is for calculating described calculating formula.Wherein, use
Whether occur the idiographic flow of thread of change as in figure 2 it is shown, comprise the following steps in monitoring calculation formula:
Step 201, the calculating formula in monitoring first area.
Specifically, whether electric terminal can occur the thread of change to come defeated according to above for monitoring calculation formula
Enter the calculating formula of first area in interface to detect.Wherein, the calculating formula detected includes numeral, arithmetic point and mathematics fortune
Operator etc..
Step 202, it is judged that whether calculating formula changes.The most then enter step 203, otherwise, return step 201 and continue
Continuous detection.
Specifically, electric terminal can according to above by monitoring calculation formula whether occur the thread of change come to based on
Formula judges.It should be noted that as it is shown on figure 3, the inputting interface of electric terminal can including, virtual key inputs
District (region as shown in C in Fig. 3), if user is by choosing some button in virtual key input area or certain several
Calculating formula is inputted or revises by button, then can be determined that calculating formula changes.Such as: user can be by virtual
Key-press input district input calculating formula: 73 × 7-4 ÷ 2, or original calculating formula is revised as: 73 × 7-4 ÷ 2.It is worth mentioning
, Fig. 3 indicated by D is display position of cursor, user can select any 2 be positioned over by cursor in above-mentioned calculating formula
Between individual character, by deleting the numeral before cursor or mathematical operator, then cursor position input again numeral or
Mathematical operator.
It should be noted that the mode of choosing choosing the button in virtual key input area can be long touch or short tactile
Touch, numerous to list herein.And the duration of long touch or short touch can select set according to the demand of actual operator
Fixed, it is not particularly limited at this.It should also be noted that it can be the user district at calculating formula place that user places light target position
Certain position that territory directly touches.
Additionally, it is it is noted that soft at the computer opening these computational methods of application installed on electric terminal every time
After part or device, it is believed that now calculating formula is empty, follow-up have any input all to think calculating formula is the most modified, thus
Provide the result of calculation after change, thus ensure the feasibility of present embodiment.Certainly, those skilled in the art can also basis
It is actually needed, designs and meet other realizations of user habit and monitor the method inputting calculating formula first, but as long as being monitoring
The mode of the change of calculating formula all should be within protection scope of the present invention.
Step 203, passes to the thread for calculating calculating formula by the calculating formula after change in real time.The most once sentence
Devise a stratagem formula changes, and just the calculating formula after change is passed to the thread for calculating calculating formula.
Whether specifically, occur the thread of change can have transceiver module for monitoring calculation formula, this thread passes through
Amended calculating formula is sent to the thread for calculating calculating formula by transceiver module.It addition, this step is used for supervise
Survey calculating formula whether occur change thread can at predetermined intervals by the currently monitored to calculating formula pass to for
The thread that calculating formula is calculated.Such as, whether occur the thread of change every 5 milliseconds or 10 for monitoring calculation formula
Millisecond by the currently monitored to calculating formula pass to the thread for calculating formula is calculated.It is noted that this enforcement
Above-mentioned time interval is not done any restriction by mode, and every any duration that can realize above-mentioned purpose all should be the guarantor of the present invention
Within the scope of protecting.
Calculating formula after change is sent to for entering calculating formula by the thread whether change occurs for monitoring calculation formula
After the thread that row calculates, for the flow process of thread that calculating formula is calculated as shown in Figure 4, comprise the following steps:
Step 401, it may be judged whether receive the calculating formula after change.
Wherein, electric terminal can come for monitoring calculation for the thread calculating calculating formula according to above
Calculating formula after whether formula occurs the change that the thread of change is sent is received.Specifically, for calculating formula is carried out
Whether the thread calculated can have transceiver module, and sent out from for monitoring calculation formula by the transceiver module reception of self
The amended calculating formula that the thread of raw change is sent.
Step 402, calculates the calculating formula after change in real time for the thread calculating calculating formula.
Step 403, the result of calculation after second area shows change in real time.
In real time the interface of display can be as it is shown on figure 3, viewing area i.e. first area that the region shown in A is calculating formula, B institute
The region shown is the viewing area i.e. second area of result of calculation.To first area and the concrete position of second area in present embodiment
Put and do not limit, such as, it is also possible to as it is shown in figure 5, the region shown in E is the viewing area i.e. first area of calculating formula in Fig. 5,
Region shown in F is the viewing area i.e. second area of result of calculation.It is noted that this step is to first area and the secondth district
Particular location and the ratio in territory do not limit.Can automatically enter a new line display if the calculating formula of input exceedes a line, if
Result of calculation exceedes a line and can also automatically enter a new line display.
It is noted that the result of calculation after display is changed in real time in the present embodiment has been placed on for calculating formula
Carry out the thread calculated performs, but in actual applications, it is also possible to realize separately through a thread, as long as by monitoring calculation
Formula whether there is change with calculating formula calculated the method being divided among in two threads performing all should be in the protection of the present invention
Within the scope of.
By foregoing, it is seen that, present embodiment can be passed through to detect whether in real time to make an amendment calculating formula, and
When monitoring any amendment to calculating formula, in real time the calculating formula after change is calculated, the meter after display change in real time
Calculate result.Can realize automatically amended calculating formula being calculated, and simple to operate, and easy to use, practicality is stronger.
Third embodiment of the present invention relates to a kind of computational methods.3rd embodiment and the second embodiment substantially phase
With, be in place of the main distinction: in this second embodiment, monitor to calculating formula any amendment time, in real time to change after
Calculating formula calculate, and in real time show change after result of calculation.And in third embodiment of the invention, in monitoring
After the amendment confirmation to calculating formula, then the calculating formula after change is calculated.
Specifically, as shown in Figure 6, comprising:
Step 601, the calculating formula in monitoring first area.
Step 602, it is judged that whether calculating formula changes.If it is, enter step 603, otherwise, return step 601.
Step 603, it may be judged whether receive the amendment to calculating formula and confirm.The most then enter in step 604, otherwise, return
Step 603.
Specifically, if receiving the confirmation instruction of user's input, then can be determined that to receive the amendment to calculating formula true
Recognize.
It is noted that the amendment of calculating formula can be confirmed to refer to by input any one character following input by user
Order: equal symbol or carriage-return character etc., but to set any mode, the present invention should can not represent that confirmation refers to as limit
Order, all should be within protection scope of the present invention.Such as:
User can preset the shortcut confirming instruction, when receiving the shortcut of user's input, it is possible to determine that use
Family inputs above-mentioned confirmation instruction.Wherein, shortcut can be selected by user to set, this embodiment party voluntarily according to the needs of user
The type of shortcut is not limited by formula.Such as: shortcut can be but be not limited to " * " or " # " etc., and differ string at this
Lift.
In step 604, the calculating formula after change is passed to the thread for calculating calculating formula.
Whether specifically, occur the thread of change can have transceiver module for monitoring calculation formula, this thread passes through
Amended calculating formula is sent to the thread for calculating calculating formula by transceiver module.For calculating formula is calculated
Thread can also have a transceiver module, and received by the transceiver module of self and whether occur from for monitoring calculation formula
The amended calculating formula that the thread of change is sent.
The concrete steps of the computational methods of the calculating formula after calculating change, as it is shown in fig. 7, comprising:
Step 701, it may be judged whether receive the calculating formula after change.If it is, enter step 702, otherwise, return step
Rapid 701.
Step 702, calculates the calculating formula after change for the thread calculating calculating formula.
Result of calculation in step 703, after second area display change.
By foregoing, it is seen that, present embodiment is to amendment after the manual confirmation of user
After calculating formula calculate so that only user need check amendment calculating formula after result of calculation time, just can be to more
Calculating formula after changing calculates, and the more hommization of this design, practicality is stronger.
The step of the most various methods divides, and is intended merely to describe clear, it is achieved time can merge into a step or
Some step is split, is decomposed into multiple step, as long as including identical logical relation, all at the protection domain of this patent
In;To adding inessential amendment in algorithm or in flow process or introducing inessential design, but do not change its algorithm
With the core design of flow process all in the protection domain of this patent.
Four embodiment of the invention relates to a kind of electric terminal, as shown in Figure 8, including: human-computer interaction module 81, input
Monitoring modular 82 and computing module 83;Human-computer interaction module 81 is used for providing first area and second area;First area is used
Showing the calculating formula of input when in the input monitoring calculating formula, second area is for the calculating formula display correspondence according to input
Result of calculation.Whether Input Monitor Connector module 82 is changed for the calculating formula monitoring first area;Computing module 83 is used for
Input Monitor Connector module 82 monitor calculating formula change time, to change after calculating formula calculate, after being changed
Result of calculation;Human-computer interaction module 81 is additionally operable to the result of calculation after second area display change.
By foregoing, it is seen that, in present embodiment, it is possible to use family conveniently inputs at inputting interface
Or change calculating formula, facilitates user to check result, it is also possible to facilitate user to check whether calculating formula exists mistakes and omissions situation, give and use
Family brings facility.Furthermore it is possible to by detecting whether in real time calculating formula is made an amendment and any monitor calculating formula
During amendment, in real time the calculating formula after change is calculated, the result of calculation after display change in real time.Can realize automatically repairing
Calculating formula after changing calculates, and simple to operate, easy to use, and practicality is stronger.
It is seen that, present embodiment is the system embodiment corresponding with the first embodiment, and present embodiment can be with
First embodiment is worked in coordination enforcement.The relevant technical details mentioned in first embodiment the most still has
Effect, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment is also applicable in
In first embodiment.
It is noted that each module involved in present embodiment is logic module, in actual applications, one
Individual logical block can be a physical location, it is also possible to be a part for a physical location, it is also possible to multiple physics lists
The combination of unit realizes.Additionally, for the innovative part highlighting the present invention, will be with solution institute of the present invention in present embodiment
The unit that the technical problem relation of proposition is the closest introduces, but this is not intended that in present embodiment the list that there is not other
Unit.
Fifth embodiment of the invention relates to a kind of electric terminal.Present embodiment monitors any of calculating formula is repaiied
When changing, in real time the calculating formula after change is calculated, and show the result of calculation after change in real time.
Specifically, electric terminal includes: human-computer interaction module, Input Monitor Connector module and computing module;Man-machine interaction
Module is used for providing first area and second area;First area is by showing when the input monitoring calculating formula based on input
Formula, second area is for the result of calculation of the calculating formula display correspondence according to input.Input Monitor Connector module is used for monitoring first
Whether the calculating formula in region is changed;Computing module is for changing to calculating formula in described Input Monitor Connector module monitors
Time, the calculating formula after change is calculated, the result of calculation after being changed;Human-computer interaction module is additionally operable at second area
Result of calculation after display change.
It addition, electric terminal at least performs two threads;Wherein, a thread is corresponding to Input Monitor Connector module;One line
Journey corresponds to computing module.
Further, input detection module, in real time will more when any amendment monitoring the calculating formula to first area
Calculating formula after changing passes to described computing module;Calculating formula after change is calculated by computing module in real time;Man-machine interaction
The second area of module shows the result of calculation after change in real time.
Owing to the second embodiment is the most corresponding with present embodiment, therefore present embodiment can be mutual with the second embodiment
Match enforcement.The relevant technical details mentioned in second embodiment is the most effective, implements second
The technique effect that can reach in mode is the most too it is achieved that in order to reduce repetition, the most superfluous
State.Correspondingly, the relevant technical details mentioned in present embodiment is also applicable in the second embodiment.
Sixth embodiment of the invention relates to a kind of electric terminal.6th embodiment and the 5th embodiment substantially phase
With, be in place of the main distinction: in the 5th embodiment, monitor to calculating formula any amendment time, in real time to change after
Calculating formula calculate, and in real time show change after result of calculation.And in sixth embodiment of the invention, in monitoring
After the amendment confirmation to calculating formula, then the calculating formula after change is calculated.
Specifically electric terminal includes: human-computer interaction module, Input Monitor Connector module and computing module;Man-machine interaction mould
Block is used for providing first area and second area;First area for showing the calculating of input when the input monitoring calculating formula
Formula, second area is for the result of calculation of the calculating formula display correspondence according to input.Input Monitor Connector module is for monitoring the firstth district
Whether the calculating formula in territory is changed;Computing module is used for when described Input Monitor Connector module monitors changes to calculating formula,
Calculating formula after change is calculated, the result of calculation after being changed;Human-computer interaction module is additionally operable to show at second area
Show the result of calculation after change.
It addition, electric terminal at least performs two threads;Wherein, first thread corresponds to Input Monitor Connector module;Second line
Journey corresponds to computing module.
Further, Input Monitor Connector module is after monitoring the amendment to calculating formula and confirming, by the calculating formula after change
Pass to described computing module.
Owing to the 3rd embodiment is the most corresponding with present embodiment, therefore present embodiment can be mutual with the 3rd embodiment
Match enforcement.The relevant technical details mentioned in 3rd embodiment is the most effective, implements the 3rd
The technique effect that can reach in mode is the most too it is achieved that in order to reduce repetition, the most superfluous
State.Correspondingly, the relevant technical details mentioned in present embodiment is also applicable in the 3rd embodiment.
Seventh embodiment of the invention relates to a kind of electric terminal, this electric terminal is provided with application first, second or
The calculator software of the computational methods described by the 3rd embodiment or client, the electric terminal of present embodiment can be
The equipment such as smart mobile phone, computer or flat board, illustrate below as a example by smart mobile phone, and smart mobile phone includes processor, storage
Device and human-computer interaction device, human-computer interaction device would generally include display screen and touch screen.
In the present embodiment, as it is shown in figure 9, after user logs on computer, on the display screen 91 of electric terminal
Being provided with first area and second area, first area for showing the calculating formula of input when the input monitoring calculating formula.
User is by touch screen 92 after first area input calculating formula, and the calculating formula of input is shown in first area by processor 93
Upper confession user checks or changes.If the calculating formula of input is modified by user by touch screen 92, processor 93 monitors
When calculating formula changes, the calculating formula after change is calculated, the result of calculation after being changed;Display screen 91 is second
The result of calculation of processor 93 is shown by region.It is noted that during second area display result of calculation, first area
Calculating formula do not remove.
Owing to the first embodiment is the most corresponding with present embodiment, therefore present embodiment can be mutual with the first embodiment
Match enforcement.The relevant technical details mentioned in first embodiment is the most effective, implements first
The technique effect that can reach in mode is the most too it is achieved that in order to reduce repetition, the most superfluous
State.Correspondingly, the relevant technical details mentioned in present embodiment is also applicable in the first embodiment.
It will be appreciated by those skilled in the art that all or part of step realizing in above-described embodiment method can be by
Program instructs relevant hardware and completes, and this program is stored in a storage medium, including some instructions with so that one
Individual equipment (can be single-chip microcomputer, chip etc.) or processor (processor) perform method described in each embodiment of the application
All or part of step.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize the specific embodiment of the present invention,
And in actual applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.
Claims (10)
1. computational methods, it is characterised in that be applied to electric terminal, the display interface of described electric terminal includes the firstth district
Territory and second area, described first area is used for showing the calculating formula inputted when the input monitoring calculating formula, described second
Region shows corresponding result of calculation for the calculating formula according to described input;Described computational methods include:
Whether the calculating formula of monitoring first area is changed;
If monitoring calculating formula to change, then the calculating formula after change is calculated, the result of calculation after being changed;
Result of calculation after the display change of described second area.
Computational methods the most according to claim 1, it is characterised in that described electric terminal at least performs two threads;
Wherein, whether first thread is changed for the calculating formula monitoring first area;Second thread is for described calculating
Formula calculates.
Computational methods the most according to claim 2, it is characterised in that whether the calculating formula in described monitoring first area is sent out
During raw change, whether occur the thread of change when monitoring any amendment to calculating formula for monitoring calculation formula, in real time will
Calculating formula after change passes to the thread for calculating calculating formula;
Described, calculating formula after change is calculated, during result of calculation after being changed, described for calculating formula is entered
Calculating formula after change is calculated by thread that row calculates in real time;
Calculating knot when described second area shows the result of calculation after changing, after described second area shows change in real time
Really.
Computational methods the most according to claim 3, it is characterised in that in real time the calculating formula after change is passed to for
During the thread that calculating formula is calculated, described for monitoring calculation formula whether occur change thread at predetermined intervals
By the currently monitored to calculating formula pass to described in be used for thread that calculating formula is calculated.
Computational methods the most according to claim 3, it is characterised in that whether the calculating formula in described monitoring first area is sent out
During raw change, for monitoring calculation formula whether occur the thread of change after monitoring the amendment to calculating formula and confirming, will more
Calculating formula after changing passes to the thread for calculating calculating formula.
Computational methods the most according to claim 5, it is characterised in that the described amendment to calculating formula is confirmed as: receive
The equal symbol of user's input or carriage-return character.
7. an electric terminal, it is characterised in that including: human-computer interaction module, Input Monitor Connector module and computing module;
Described human-computer interaction module, is used for providing first area and second area;First area is for monitoring calculating formula
Showing the calculating formula of input during input, second area shows corresponding result of calculation for the calculating formula according to described input;
Described Input Monitor Connector module, for monitoring whether the calculating formula of first area is changed;
Described computing module, for when described Input Monitor Connector module monitors changes to calculating formula, to the calculating after change
Formula calculates, the result of calculation after being changed;
Described human-computer interaction module, is additionally operable to the result of calculation after the display change of described second area.
Electric terminal the most according to claim 7, it is characterised in that described electric terminal at least performs two threads;
Wherein, first thread corresponds to described Input Monitor Connector module;Second thread corresponds to described computing module.
Electric terminal the most according to claim 8, it is characterised in that described input detection module is monitoring the firstth district
The calculating formula in territory any amendment time, in real time will change after calculating formula pass to described computing module;
Calculating formula after change is calculated by described computing module in real time;
The second area of described human-computer interaction module shows the result of calculation after change in real time.
Electric terminal the most according to claim 8, it is characterised in that described Input Monitor Connector module is monitoring calculating
After the amendment of formula confirms, the calculating formula after change is passed to described computing module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610509536.5A CN106168938A (en) | 2016-06-30 | 2016-06-30 | Computational methods and electric terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610509536.5A CN106168938A (en) | 2016-06-30 | 2016-06-30 | Computational methods and electric terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106168938A true CN106168938A (en) | 2016-11-30 |
Family
ID=58065102
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610509536.5A Pending CN106168938A (en) | 2016-06-30 | 2016-06-30 | Computational methods and electric terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106168938A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110383244A (en) * | 2017-12-29 | 2019-10-25 | 华为技术有限公司 | A kind of operation method and terminal of calculator |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1673956A (en) * | 2004-03-25 | 2005-09-28 | 英业达股份有限公司 | Numerical calculation process checking method and interface |
CN1921520A (en) * | 2005-08-24 | 2007-02-28 | 三星电子株式会社 | Method of operating a portable terminal in a calculator mode and portable terminal adapted to operate in the calculator mode |
US20120096060A1 (en) * | 2010-10-13 | 2012-04-19 | Casio Computer Co., Ltd. | Electronic calculator, calculation result displaying method, and recording medium storing program for displaying calculation result |
CN102789362A (en) * | 2012-06-29 | 2012-11-21 | 鸿富锦精密工业(深圳)有限公司 | Electronic equipment and intelligent calculation control method thereof |
CN104268118A (en) * | 2014-09-23 | 2015-01-07 | 赵方 | Mathematical formula calculator including touch screen and method for identifying mathematical formulas |
-
2016
- 2016-06-30 CN CN201610509536.5A patent/CN106168938A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1673956A (en) * | 2004-03-25 | 2005-09-28 | 英业达股份有限公司 | Numerical calculation process checking method and interface |
CN1921520A (en) * | 2005-08-24 | 2007-02-28 | 三星电子株式会社 | Method of operating a portable terminal in a calculator mode and portable terminal adapted to operate in the calculator mode |
US20120096060A1 (en) * | 2010-10-13 | 2012-04-19 | Casio Computer Co., Ltd. | Electronic calculator, calculation result displaying method, and recording medium storing program for displaying calculation result |
CN102789362A (en) * | 2012-06-29 | 2012-11-21 | 鸿富锦精密工业(深圳)有限公司 | Electronic equipment and intelligent calculation control method thereof |
CN104268118A (en) * | 2014-09-23 | 2015-01-07 | 赵方 | Mathematical formula calculator including touch screen and method for identifying mathematical formulas |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110383244A (en) * | 2017-12-29 | 2019-10-25 | 华为技术有限公司 | A kind of operation method and terminal of calculator |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9058105B2 (en) | Automated adjustment of input configuration | |
CN104335561B (en) | The communication that bio-identification is initiated | |
CN101681218A (en) | Visual feedback display | |
CN103543951B (en) | A kind of electronic equipment and its unlocking method with touch screen | |
CN107368996B (en) | Method/system for problem handling/supervision of field project, storage medium, terminal | |
CN106355059A (en) | Password input method and terminal | |
CN105825121B (en) | Password Input control method and device | |
CN106709382A (en) | Keyboard display method and device | |
CN106095751A (en) | The knowledge mistake processing method of a kind of word input and mobile terminal | |
CN104598786B (en) | A kind of cipher-code input method and device | |
CN106919325A (en) | Data processing method, device and intelligent terminal | |
CN107329687A (en) | The display methods and mobile terminal of a kind of virtual input keyboard | |
CN107688428B (en) | Display interface control method and server | |
CN105354455A (en) | Status switching method and electronic equipment | |
US20140215632A1 (en) | Preventing the detection and theft of user entry alphanumeric security codes on computer touch screen keypads | |
CN103902861A (en) | Status switching method and electronic device | |
CN104809373A (en) | Terminal unlocking method | |
CN106991306A (en) | A kind of method and mobile terminal for inputting password | |
CN106951168A (en) | A kind of literal processing method and mobile terminal | |
CN103164272B (en) | Information processing device and password input switching method | |
CN106709320A (en) | Identity authentication method and mobile terminal | |
US20140105664A1 (en) | Keyboard Modification to Increase Typing Speed by Gesturing Next Character | |
CN105653164A (en) | Method and terminal for voice inputting user event | |
CN106168938A (en) | Computational methods and electric terminal | |
CN105468960A (en) | Method and apparatus for displaying password clear text, mobile device and computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161130 |