CN104536935B - Calculate display methods, calculate edit methods and device - Google Patents
Calculate display methods, calculate edit methods and device Download PDFInfo
- Publication number
- CN104536935B CN104536935B CN201410836027.4A CN201410836027A CN104536935B CN 104536935 B CN104536935 B CN 104536935B CN 201410836027 A CN201410836027 A CN 201410836027A CN 104536935 B CN104536935 B CN 104536935B
- Authority
- CN
- China
- Prior art keywords
- formula
- application
- calculation
- result
- note
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000000034 method Methods 0.000 abstract description 37
- 230000000694 effects Effects 0.000 abstract description 24
- 238000010586 diagram Methods 0.000 description 17
- 238000004891 communication Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 9
- 235000013399 edible fruits Nutrition 0.000 description 7
- 230000003287 optical Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000000712 assembly Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000000875 corresponding Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006011 modification reaction Methods 0.000 description 2
- 230000002093 peripheral Effects 0.000 description 2
- 230000001960 triggered Effects 0.000 description 2
- BHBZPGSHCVSMEB-DZDAAMPGSA-N (6Z)-6-[[3-[[(Z)-(6-oxocyclohexa-2,4-dien-1-ylidene)methyl]amino]propylamino]methylidene]cyclohexa-2,4-dien-1-one Chemical compound O=C1C=CC=C\C1=C\NCCCN\C=C\1C(=O)C=CC=C/1 BHBZPGSHCVSMEB-DZDAAMPGSA-N 0.000 description 1
- 210000003127 Knee Anatomy 0.000 description 1
- 240000008529 Triticum aestivum Species 0.000 description 1
- 230000003044 adaptive Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000004301 light adaptation Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000012092 media component Substances 0.000 description 1
- 230000003068 static Effects 0.000 description 1
- 235000021307 wheat Nutrition 0.000 description 1
Abstract
Display methods is calculated the disclosure is directed to one kind, calculates edit methods and device, belongs to data processing field.The described method includes:The formula of input is calculated by calculator application, obtains result of calculation;Formula and result of calculation are sent to the application of note class by calculator application;Pass through note class application display formula and result of calculation.The disclosure solves the problems, such as that user can not be intuitive to see calculating process in correlation technique;Reach by note class application display formula and result of calculation, user can intuitively view whole calculating process, and display effect carries out calculating similar effect with user by traditional paper pen.
Description
Technical field
This disclosure relates to data processing field, more particularly to a kind of to calculate display methods, calculate edit methods and device.
Background technology
On the electronic equipment of such as smart mobile phone, tablet computer, PC etc, being usually provided with calculator should
With.
User inputs formula when being calculated using calculator application, to calculator application, which includes at least one
A data and at least one operator.Calculator application is calculated according to the formula of input, and final calculation result is shown
On application interface.Since calculator application usually only has a line display screen, when showing final calculation result, user is calculating
During the formula that inputs can no longer show.
The content of the invention
In order to solve the problems, such as that user can not be intuitive to see calculating process in correlation technique, the embodiment of the present disclosure provides
One kind calculates display methods, calculates edit methods and device.The technical solution is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided one kind calculates display methods, and this method includes:
The formula of input is calculated by calculator application, obtains result of calculation;
Formula and result of calculation are sent to the application of note class by calculator application;
Pass through note class application display formula and result of calculation.
In one embodiment, formula and result of calculation are sent to the application of note class by calculator application, including:
The formula that user's triggering is received by calculator application exports operation;
By calculator application after formula export operation is received, generation note starts request;Note starts request and takes
With formula and result of calculation;
Note, which is sent, to the application of note class starts request.
In one embodiment, by calculator application after formula export operation is received, generation note starts request,
Including:
Pass through formula and result of calculation of the calculator application reading and saving in physical memory;
Intent (intention) message that formula and result of calculation are carried by calculator application generation is used as note startup
Request, Intent message is the message for being communicated between the different application in Android operation system.
In one embodiment, this method further includes:
Pass through note class application editor's formula;
Formula after sending from editor to calculator application is applied by note class;
The formula after editor is calculated by calculator application, obtains result of calculation.
According to the second aspect of the disclosure, there is provided one kind calculates edit methods, and this method includes:
Pass through note class application editor's formula;
Applied by note class to calculator application and send formula;
Formula is calculated by calculator application, obtains result of calculation.
In one embodiment, applied by note class to calculator application and send formula, including:
The calculating that user's triggering is received by the application of note class operates;
Applied by note class after calculating operation is received, generation calculator starts request;Calculator starts request and takes
With formula;
Calculator, which is sent, to calculator application starts request.
In one embodiment, applied by note class after calculating operation is received, generation calculator starts request, wraps
Include:
The Intent message for carrying formula using generation by note class is used as calculator startup request, Intent message
It is the message for being communicated between the different application in Android operation system.
In one embodiment, this method further includes:
Formula and result of calculation are sent to the application of note class by calculator application;
Pass through note class application display formula and result of calculation.
According to the third aspect of the disclosure, there is provided one kind calculates display device, which includes:
First computing module, is configured as calculating the formula of input by calculator application, obtains result of calculation;
First sending module, is configured as sending formula and result of calculation to the application of note class by calculator application;
First display module, is configured as by note class application display formula and result of calculation.
In one embodiment, the first sending module, including:
First receiving submodule, is configured as the formula export operation for receiving user by calculator application and triggering;
First generation submodule, is configured as by calculator application after formula export operation is received, generates note
Start request;Note starts request and carries formula and result of calculation;
First sending submodule, is configured as sending note startup request to the application of note class.
In one embodiment, the first generation submodule, is configured as by calculator application reading and saving in physics
Formula and result of calculation in depositing;The Intent message that formula and result of calculation are carried by calculator application generation is used as just
Label start request, and Intent message is the message for being communicated between the different application in Android operation system.
In one embodiment, which further includes:
First editor module, is configured as by note class application editor's formula;
Formula sending module, is configured as applying the formula after sending editor to calculator application by note class;
Computing module again, is configured as calculating the formula after editor by calculator application, obtains calculating knot
Fruit.
According to the fourth aspect of the embodiment of the present disclosure, there is provided one kind calculates editing device, which includes:
Second editor module, is configured as by note class application editor's formula;
Second sending module, is configured as applying to calculator application transmission formula by note class;
Second computing module, is configured as calculating formula by calculator application, obtains result of calculation.
In one embodiment, the second sending module, including:
Second receiving submodule, is configured as the calculating operation for receiving user by the application of note class and triggering;
Second generation submodule, is configured as applying after calculating operation is received by note class, generation calculator opens
Dynamic request;Calculator starts request and carries formula;
Second sending submodule, is configured as sending calculator startup request to calculator application.
In one embodiment, the second generation submodule, is configured as carrying formula using generation by note class
Intent message starts as calculator asks, and Intent message is to be used to carry out between different application in Android operation system
The message of communication.
In one embodiment, which further includes:
As a result sending module, is configured as sending formula and result of calculation to the application of note class by calculator application;
Second display module, is configured as by note class application display formula and result of calculation.
According to a fifth aspect of the embodiments of the present disclosure, there is provided one kind calculates editing device, which includes:
Processor;
Memory for the executable instruction for storing processor;
Wherein, processor is configured as:
The formula of input is calculated by calculator application, obtains result of calculation;
Formula and result of calculation are sent to the application of note class by calculator application;
Pass through note class application display formula and result of calculation.
According to the 6th of the embodiment of the present disclosure the aspect, there is provided one kind calculates editing device, which includes:
Processor;
Memory for the executable instruction for storing processor;
Wherein, processor is configured as:
Pass through note class application editor's formula;
Applied by note class to calculator application and send formula;
Formula is calculated by calculator application, obtains result of calculation.
The technical solution that the embodiment of the present disclosure provides can include the following benefits:
The formula of input is calculated by calculator application, obtains result of calculation;By calculator application to note
Class application sends formula and result of calculation;Pass through note class application display formula and result of calculation;Solve in correlation technique and use
Family can not be intuitive to see the problem of calculating process;Reach by note class application display formula and result of calculation, Yong Huke
Intuitively to view whole calculating process, display effect carries out calculating similar effect with user by traditional paper pen.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is that a kind of disclosed electronics for calculating display methods and calculating involved by edit methods of the embodiment of the present disclosure is set
Standby 100 structure diagram.
Fig. 2 is a kind of flow chart of calculating display methods according to an exemplary embodiment.
Fig. 3 A are a kind of flow charts of the calculating display methods shown according to another exemplary embodiment.
Fig. 3 B are that a kind of of the calculating display methods shown in Fig. 3 A illustrated embodiments implements schematic diagram.
Fig. 3 C are that the another of the calculating display methods shown in Fig. 3 A illustrated embodiments implements schematic diagram.
Fig. 3 D are the sub-step schematic diagrames of the calculating display methods shown in Fig. 3 A illustrated embodiments.
Fig. 3 E are that the another of the calculating display methods shown in Fig. 3 A illustrated embodiments implements schematic diagram.
Fig. 3 F are that the another of the calculating display methods shown in Fig. 3 A illustrated embodiments implements schematic diagram.
Fig. 4 is a kind of flow chart of calculating edit methods according to an exemplary embodiment.
Fig. 5 A are a kind of flow charts of the calculating edit methods shown according to another exemplary embodiment.
Fig. 5 B are that a kind of of calculating edit methods shown in Fig. 5 A illustrated embodiments implements schematic diagram.
Fig. 6 is a kind of block diagram of calculating display device according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of the calculating display device shown according to another exemplary embodiment.
Fig. 8 is a kind of block diagram of calculating editing device according to an exemplary embodiment.
Fig. 9 is a kind of block diagram of the calculating editing device shown according to another exemplary embodiment.
Figure 10 is a kind of block diagram of device according to an exemplary embodiment.
Pass through above-mentioned attached drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These attached drawings
It is not intended to limit the scope of disclosure design by any mode with word description, but is by reference to specific embodiment
Those skilled in the art illustrate the concept of the disclosure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is that a kind of disclosed electronics for calculating display methods and calculating involved by edit methods of the embodiment of the present disclosure is set
Standby 100 structure diagram.The electronic equipment 100 can be mobile phone, tablet computer, E-book reader, MP3 player
(Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio aspect 3),
MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio aspect
4) player, pocket computer on knee and desktop computer etc..
The electronic equipment 100 includes hardware layer 120, operating system layer 140 and application layer 160.Wherein:Hardware layer 120 wraps
Include the physics component of processor, memory etc.Operating system layer 140 is operated on hardware layer 120.160 base of application layer
Various functions are provided in operating system layer 140.
Application layer 160 includes calculator application 162 and note class applies 164.Calculator application 162 is used to carry to user
For calculator function.Note class is used to provide text editing, check and preserve function using 164.Note class can be using 164
Note application, take down notes application, memorandum application, office application and collect any one in application.
Fig. 2 is a kind of flow chart of calculating display methods according to an exemplary embodiment, and the present embodiment is in terms of this
Display methods is calculated applied to illustrating in the electronic equipment illustrated in fig. 1 applied with calculator application and note class.
The calculating display methods can include the following steps:
In step 201, the formula of input is calculated by calculator application, obtains result of calculation.
In step 202, the formula and the result of calculation are sent to the application of note class by calculator application.
In step 203, the formula and the result of calculation are shown by the application of note class.
In conclusion calculating display methods provided in this embodiment, counts the formula of input by calculator application
Calculate, obtain result of calculation;Formula and result of calculation are sent to the application of note class by calculator application;It is aobvious by the application of note class
Show formula and result of calculation;Solve the problems, such as that user can not be intuitive to see calculating process in correlation technique;Reach and passed through
Note class application display formula and result of calculation, user can intuitively view whole calculating process, display effect and user
Carry out calculating similar effect by traditional paper pen.
Fig. 3 A are a kind of flow charts of the calculating display methods shown according to another exemplary embodiment, and the present embodiment is with this
Display methods is calculated applied to illustrating in the electronic equipment illustrated in fig. 1 applied with calculator application and note class
It is bright.The calculating display methods can include the following steps.
In step 301, the formula of input is calculated by calculator application, obtains result of calculation.
During using electronic equipment, if user needs to carry out formula calculating.User is opened in electronic equipment
Calculator application.
User inputs formula in calculator application, which includes at least one data and at least one operator.Electricity
Sub- equipment receives formula input by user by calculator application, and the formula is calculated, and obtains result of calculation.
For example as Fig. 3 B are exemplarily illustrated, user inputs formula 1280+300*3, calculator in calculator application 31
It is 2180 to calculate result of calculation using 31, and result of calculation is included in interface 30.When showing result of calculation, formula
1280+300*3 will not continue to show.
In calculating process, formula input by user and result of calculation are stored in thing by electronic equipment by calculator application
Manage in memory.
In step 302, the formula for user's triggering being received by calculator application exports operation.
User may still want to look over the formula of history input after result of calculation is checked.At this time, user is in calculator
Formula export operation is triggered in.The formula that electronic equipment receives user's triggering by calculator application exports operation.
For example as Fig. 3 C are exemplarily illustrated, user triggers " export formula " in the menu item 32 of calculator application 31
Menu item.Electronic equipment receives the trigger signal by calculator application 31.
In step 303, by calculator application after formula export operation is received, generation note starts request.
After formula export operation is received, electronic equipment also generates note by calculator application and starts request.This is just
Label start request and carry formula and result of calculation.
When the operating system that electronic equipment uses is Android (Android) operating system, this step can include as follows
Step, as Fig. 3 D are exemplarily illustrated.
Step 303a, formula and result of calculation of the electronic equipment by calculator application reading and saving in physical memory.
Formula and result of calculation in physical memory are typically binary form.
Step 303b, electronic equipment carry formula and the Intent (intention) of result of calculation by calculator application generation
Message starts as note asks, and the Intent message between the different application in Android operation system for being communicated
Message.
In Android operation system, an application program generally includes at least one program assembly.Intent message be
A kind of message communicated between every program assembly is realized in Android operation system, every program assembly can be same answers
With the different components in program or the different components in different application.Intent message is responsible for application program
Data that the action of middle once-through operation, action are related to, additional data are described, and Android operation system is according to the Intent message
Description, be responsible for finding corresponding program assembly, by Intent message transmissions to the program assembly called, and complete corresponding journey
The calling of sequence component.
Such as:Calculator application needs to send " Intent a message of display formula 1280+300*3 ", if calculator
The Intent message is responded using the application of note class is wished, then calculator application specifies mesh in the Intent message
It is note class application to mark program assembly, then Android operation system, can be by the Intent message after the Intent message is received
Transfer to the application processing of note class.
In step 304, send note to the application of note class and start request.
Electronic equipment sends note to the application of note class and starts request.
If note class, using not actuated, electronic equipment starts request according to note and starts note class application, and by this just
Label startup request is sent to note class application and is handled, and note class analytic application goes out the note and starts the formula carried in request
And result of calculation.
If note class application has been turned on but positioned at backstage, electronic equipment starts request according to note and cuts note class application
Foreground is shifted to, and note startup request is sent to note class application and is handled, note class analytic application goes out the note and opens
The formula and result of calculation carried in dynamic request.
In step 305, note class application display formula and result of calculation are passed through.
Electronic equipment applies the formula and result of calculation that will parse by note class, and text is converted to from binary form
Form.Then, electronic equipment shows the formula and result of calculation by the application of note class.
For example as Fig. 3 E are exemplarily illustrated, electronic equipment shows the formulas and result of calculation by note class using 33.
Within step 306, which is edited by the application of note class.
If user, which in note class applies 33, has found the formula of input, to be needed to adjust, for example the formula of history input is
Mistake.User can update the formula in the application of note class by hand-writing input method or inputting method.
For example as Fig. 3 F are exemplarily illustrated, original formula 1280+300*3 is updated into formula (1280+ in user
300) * 3 when, note class can no longer show last result of calculation using 33, while increase display one and " count again
Calculate " control 34.
In step 307, the formula after sending editor to calculator application is applied by note class.
Electronic equipment also applies the formula after sending editor to calculator application by note class.This step can be included such as
Lower step.
First, electronic equipment recalculates operation by note class application reception.
For example as Fig. 3 F are exemplarily illustrated, user clicks on " recalculating " control 34 after the formula is edited.Electronics
Equipment recalculates operation by note class using what 33 reception users triggered.
Second, electronic equipment is applied after receiving and recalculating operation by note class, and generation calculator starts please
Ask, which starts request and carry the formula after editor.
The Intent message that electronic equipment carries the formula after editor by calculator application generation is used as calculator and is opened
Dynamic request, which is the message for being communicated between the different application in Android operation system.
3rd, electronic equipment sends the calculator to calculator application and starts request.
If calculator application is not actuated, electronic equipment starts request according to calculator and starts calculator application, and should
Calculator startup request is sent to calculator application and is handled, and calculator application parses to be carried in calculator startup request
Formula.
If calculator application starts but positioned at backstage, electronic equipment starts request according to calculator and cuts calculator application
Foreground is shifted to, and calculator startup request is sent to calculator application and is handled, calculator application parses the calculating
Device starts the formula carried in request.
In step 308, the formula after editor is calculated by calculator application, obtains result of calculation.
Electronic equipment re-starts calculating by calculator application to the formula after editor, obtains another result of calculation and shows
Show.
In conclusion calculating display methods provided in this embodiment, counts the formula of input by calculator application
Calculate, obtain result of calculation;Formula and result of calculation are sent to the application of note class by calculator application;It is aobvious by the application of note class
Show formula and result of calculation;Solve the problems, such as that user can not be intuitive to see calculating process in correlation technique;Reach and passed through
Note class application display formula and result of calculation, user can intuitively view whole calculating process, display effect and user
Carry out calculating similar effect by traditional paper pen.
Calculating display methods provided in this embodiment, is also utilized by note class using after being updated to formula
Calculator application re-starts calculating to the formula after editor again;Even if solving formula input error in correlation technique, use
The problem of family also is difficult to realize;The formula that user can have found mistake in time is reached, and easily formula has been carried out again
After editor, computing again obtains the effect of correct result of calculation.User is only needed to change mistake due to updating process
Place, formula is intactly re-entered once, save user's operation, improve computational efficiency without user.
As the inverse process of Fig. 2 or Fig. 3 A embodiments, user first can edit formula in the application of note class, then lead again
Enter in calculator application and calculated.
Fig. 4 is a kind of flow chart of calculating edit methods according to an exemplary embodiment, and the present embodiment is in terms of this
Edit methods are calculated applied to illustrating in the electronic equipment illustrated in fig. 1 applied with calculator application and note class.
The calculating edit methods can include the following steps.
In step 401, note class application editor's formula is passed through.
In step 402, applied by note class to calculator application and send the formula.
In step 403, formula is calculated by calculator application, obtains result of calculation.
In conclusion calculating edit methods provided in this embodiment, pass through note class application editor's formula;Pass through note class
Formula is sent using to calculator application;Formula is calculated by calculator application, obtains result of calculation;Solves correlation
User can not be intuitive to see the problem of calculating process in technology;Reach by note class application display formula and calculated knot
Fruit, user can intuitively view whole calculating process, and display effect by traditional paper pen calculate similar with user
Effect.
Fig. 5 A are a kind of flow charts of the calculating edit methods shown according to another exemplary embodiment, and the present embodiment is with this
Edit methods are calculated applied to illustrating in the electronic equipment illustrated in fig. 1 applied with calculator application and note class
It is bright.The calculating edit methods can include the following steps.
In step 501, note class application editor's formula is passed through.
During user uses electronic equipment, if user needs to carry out formula computing.User opens electronic equipment
In note class application.
User direct editing formula, the formula can include at least one data and at least one fortune in the application of note class
Operator.Electronic equipment edits the formula by the application of note class.
In step 502, the calculating that user's triggering is received by the application of note class operates.
After formula is editted, user triggering can also calculate operation in the application of note class.Electronic equipment passes through note
Class application receives the calculating operation of user's triggering.
For example with reference to figure 5B, user is in menu item 52 of the note class using 51, the menu item of triggering " export calculates ".
Electronic equipment receives the trigger signal by note class using 51.
In step 503, applied by note class after calculating operation is received, generation calculator starts request.
After calculating operation is received, electronic equipment, which passes through the application generation calculator startup of note class, asks.The calculator
Start request and carry above-mentioned formula.
When the operating system that electronic equipment uses is Android (Android) operating system, electronic equipment passes through note class
Intent (intention) message that the formula is carried using generation starts request as calculator, which is to be used for
The message communicated in Android operation system between different application.
In step 504, send calculator to calculator application and start request.
Electronic equipment sends the calculator to calculator application and starts request.
If calculator application is not actuated, electronic equipment starts request according to calculator and starts calculator application, and should
Calculator startup request is sent to calculator application and is handled, and calculator application parses to be carried in calculator startup request
Formula.
If calculator application starts but positioned at backstage, electronic equipment starts request according to calculator and cuts calculator application
Foreground is shifted to, and calculator startup request is sent to calculator application and is handled, calculator application parses the calculating
Device starts the formula carried in request.
In step 505, the formula is calculated by calculator application, obtains result of calculation.
Electronic equipment calculates the formula by calculator application, obtains result of calculation.And should by calculator
Shown with to the result of calculation.
In calculating process, formula input by user and result of calculation are stored in thing by electronic equipment by calculator application
Manage in memory.
In step 506, the formula and the result of calculation are sent to the application of note class by calculator application.
If user also needs to be adjusted formula, electronic equipment by calculator application to the application of note class to being sent
The formula and the result of calculation.This step may include steps of.
First, the formula that electronic equipment receives user's triggering by calculator application exports operation.
User triggers formula export operation in calculator application.Electronic equipment receives user by calculator application and triggers
Formula export operation.
Second, for electronic equipment by calculator application after formula export operation is received, generation note starts request.
After formula export operation is received, electronic equipment also generates note by calculator application and starts request.This is just
Label start request and carry formula and result of calculation.When electronic equipment uses Android operation system, first, electronic equipment passes through
Formula and result of calculation of the calculator application reading and saving in physical memory.Formula and result of calculation in physical memory is usual
It is binary form.Then, electronic equipment carries the Intent of formula and result of calculation by calculator application generation and disappears
Breath starts request as note, which disappeared for what is communicated between the different application in Android operation system
Breath.
3rd, electronic equipment sends note to the application of note class and starts request.
If note class, using not actuated, electronic equipment starts request according to note and starts note class application, and by this just
Label startup request is sent to note class application and is handled, and note class analytic application goes out the note and starts the formula carried in request
And result of calculation.
If note class application has been turned on but positioned at backstage, electronic equipment starts request according to note and cuts note class application
Foreground is shifted to, and note startup request is sent to note class application and is handled, note class analytic application goes out the note and opens
The formula and result of calculation carried in dynamic request.
In step 507, the formula and the result of calculation are shown by the application of note class.
Electronic equipment applies the formula and result of calculation that will parse by note class, and text is converted to from binary form
Form.Then, electronic equipment shows the formula and result of calculation by the application of note class.
If user also needs to that formula can be come back in step 501 again into edlin.
If user need not can save as the formula and result of calculation in note to formula again into edlin
Hold.
In conclusion calculating edit methods provided in this embodiment, pass through note class application editor's formula;Pass through note class
Formula is sent using to calculator application;Formula is calculated by calculator application, obtains result of calculation;Solves correlation
User can not be intuitive to see the problem of calculating process in technology;Reach by note class application display formula and calculated knot
Fruit, user can intuitively view whole calculating process, and display effect by traditional paper pen calculate similar with user
Effect.
Calculating edit methods provided in this embodiment, by by formula and result of calculation resend back note class apply into
Row display, preserve and edit again, has further reached the calculating process of the user effect similar with traditional paper pen calculating.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.It is real for disclosure device
The details not disclosed in example is applied, refer to embodiments of the present disclosure.
Fig. 6 is a kind of block diagram of calculating display device according to an exemplary embodiment, which can
With being implemented in combination with as some or all of of electronic equipment by software, hardware or both.The calculating display device can
With including:
First computing module 620, is configured as calculating the formula of input by calculator application, obtains calculating knot
Fruit.
First sending module 640, is configured as sending formula and result of calculation to the application of note class by calculator application.
First display module 660, is configured as by note class application display formula and result of calculation.
In conclusion calculating display device provided in this embodiment, counts the formula of input by calculator application
Calculate, obtain result of calculation;Formula and result of calculation are sent to the application of note class by calculator application;It is aobvious by the application of note class
Show formula and result of calculation;Solve the problems, such as that user can not be intuitive to see calculating process in correlation technique;Reach and passed through
Note class application display formula and result of calculation, user can intuitively view whole calculating process, display effect and user
Carry out calculating similar effect by traditional paper pen.
Fig. 7 is a kind of block diagram of calculating display device according to an exemplary embodiment, which can
With being implemented in combination with as some or all of of electronic equipment by software, hardware or both.The calculating display device can
With including:
First computing module 620, is configured as calculating the formula of input by calculator application, obtains calculating knot
Fruit.
First sending module 640, is configured as sending formula and result of calculation to the application of note class by calculator application.
First display module 660, is configured as by note class application display formula and result of calculation.
Alternatively, the first sending module 640, including:
First receiving submodule 642, is configured as the formula export operation for receiving user by calculator application and triggering.
First generation submodule 644, is configured as by calculator application after formula export operation is received, generation is just
Label start request, which starts request and carry formula and result of calculation.
First sending submodule 646, is configured as sending note startup request to the application of note class.
Alternatively, the first generation submodule 644, is configured as by calculator application reading and saving in physical memory
Formula and result of calculation;The Intent message that formula and result of calculation are carried by calculator application generation is used as note startup
Request, Intent message is the message for being communicated between the different application in Android operation system.
Alternatively, which further includes:
First editor module 682, is configured as by note class application editor's formula;
Formula sending module 684, is configured as applying the formula after sending editor to calculator application by note class;
Computing module 686 again, are configured as calculating the formula after editor by calculator application, are calculated
As a result.
In conclusion calculating display device provided in this embodiment, counts the formula of input by calculator application
Calculate, obtain result of calculation;Formula and result of calculation are sent to the application of note class by calculator application;It is aobvious by the application of note class
Show formula and result of calculation;Solve the problems, such as that user can not be intuitive to see calculating process in correlation technique;Reach and passed through
Note class application display formula and result of calculation, user can intuitively view whole calculating process, display effect and user
Carry out calculating similar effect by traditional paper pen.
Calculating display device provided in this embodiment, is also utilized by note class using after being updated to formula
Calculator application re-starts calculating to the formula after editor again;Even if solving formula input error in correlation technique, use
The problem of family also is difficult to realize;The formula that user can have found mistake in time is reached, and easily formula has been carried out again
After editor, computing again obtains the effect of correct result of calculation.User is only needed to change mistake due to updating process
Place, formula is intactly re-entered once, save user's operation, improve computational efficiency without user.
Fig. 8 is a kind of block diagram of calculating editing device according to an exemplary embodiment, which can
With being implemented in combination with as some or all of of electronic equipment by software, hardware or both.The calculating editing device can
With including.
Second editor module 820, is configured as by note class application editor's formula.
Second sending module 840, is configured as applying to calculator application transmission formula by note class.
Second computing module 860, is configured as calculating formula by calculator application, obtains result of calculation.
In conclusion calculating editing device provided in this embodiment, passes through note class application editor's formula;Pass through note class
Formula is sent using to calculator application;Formula is calculated by calculator application, obtains result of calculation;Solves correlation
User can not be intuitive to see the problem of calculating process in technology;Reach by note class application display formula and calculated knot
Fruit, user can intuitively view whole calculating process, and display effect by traditional paper pen calculate similar with user
Effect.
Fig. 9 is a kind of block diagram of the calculating editing device shown according to another exemplary embodiment, the calculating editing device
It can be implemented in combination with by software, hardware or both as some or all of of electronic equipment.The calculating editing device
It can include.
Second editor module 820, is configured as by note class application editor's formula.
Second sending module 840, is configured as applying to calculator application transmission formula by note class.
Second computing module 860, is configured as calculating formula by calculator application, obtains result of calculation.
Alternatively, the second sending module 840, including:Second receiving submodule 842, second generates submodule 844 and second
Sending submodule 846.
Second receiving submodule 842, is configured as the calculating operation for receiving user by the application of note class and triggering.
Second generation submodule 844, is configured as applying after calculating operation is received by note class, generates calculator
Start request, which starts request and carry formula.
Second sending submodule 846, is configured as sending calculator startup request to calculator application.
Alternatively, the second generation submodule 844, is configured as carrying the intention of formula using generation by note class
Intent message starts as calculator asks, and Intent message is to be used to carry out between different application in Android operation system
The message of communication.
Alternatively, which further includes:As a result 882 and second display module 884 of sending module.
As a result sending module 882, are configured as sending formula and result of calculation to the application of note class by calculator application.
Second display module 884, is configured as by note class application display formula and result of calculation.
In conclusion calculating editing device provided in this embodiment, passes through note class application editor's formula;Pass through note class
Formula is sent using to calculator application;Formula is calculated by calculator application, obtains result of calculation;Solves correlation
User can not be intuitive to see the problem of calculating process in technology;Reach by note class application display formula and calculated knot
Fruit, user can intuitively view whole calculating process, and display effect by traditional paper pen calculate similar with user
Effect.
Calculating editing device provided in this embodiment, by by formula and result of calculation resend back note class apply into
Row display, preserve and edit again, has further reached the calculating process of the user effect similar with traditional paper pen calculating.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 10 is a kind of device 1000 for being used to calculate display or calculate editor according to an exemplary embodiment
Block diagram.For example, device 1000 can be mobile phone, and computer, digital broadcast terminal, messaging devices, game console,
Tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
With reference to Figure 10, device 1000 can include following one or more assemblies:Processing component 1002, memory 1004,
Power supply module 1006, multimedia component 1008, audio component 1010, the interface 1012 of input/output (I/O), sensor component
1014, and communication component 1016.
The integrated operation of the usual control device 1000 of processing component 1002, such as with display, call, data communication,
The operation that camera operation and record operation are associated.Processing component 1002 can be performed including one or more processors 1020
Instruction, to complete all or part of step of above-mentioned method.In addition, processing component 1002 can include one or more moulds
Block, easy to the interaction between processing component 1002 and other assemblies.For example, processing component 1002 can include multi-media module,
To facilitate the interaction between multimedia component 1008 and processing component 1002.
Memory 1004 is configured as storing various types of data to support the operation in device 1000.These data
Example includes being used for the instruction of any application program or method operated on device 1000, contact data, telephone book data,
Message, picture, video etc..Memory 1004 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Power supply module 1006 provides electric power for the various assemblies of device 1000.Power supply module 1006 can include power management
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 1000.
Multimedia component 1008 is included in the screen of one output interface of offer between described device 1000 and user.
In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch-screen, to receive input signal from the user.Touch panel includes one or more touch and passes
Sensor is to sense the gesture on touch, slip and touch panel.The touch sensor can not only sense touch or slide dynamic
The border of work, but also detection and the duration and pressure associated with the touch or slide operation.In certain embodiments, it is more
Media component 1008 includes a front camera and/or rear camera.When device 1000 is in operator scheme, mould is such as shot
When formula or video mode, front camera and/or rear camera can receive exterior multi-medium data.Each preposition shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1010 is configured as output and/or input audio signal.For example, audio component 1010 includes a wheat
Gram wind (MIC), when device 1000 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone quilt
It is configured to receive external audio signal.The received audio signal can be further stored in memory 1004 or via communication
Component 1016 is sent.In certain embodiments, audio component 1010 further includes a loudspeaker, for exports audio signal.
I/O interfaces 1012 provide interface, above-mentioned peripheral interface module between processing component 1002 and peripheral interface module
Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and
Locking press button.
Sensor component 1014 includes one or more sensors, and the state for providing various aspects for device 1000 is commented
Estimate.For example, sensor component 1014 can detect opening/closed mode of device 1000, the relative positioning of component, such as institute
The display and keypad that component is device 1000 are stated, sensor component 1014 can be with detection device 1000 or device 1,000 1
The position of a component changes, the existence or non-existence that user contacts with device 1000,1000 orientation of device or acceleration/deceleration and dress
Put 1000 temperature change.Sensor component 1014 can include proximity sensor, be configured in no any physics
Presence of nearby objects is detected during contact.Sensor component 1014 can also include optical sensor, as CMOS or ccd image are sensed
Device, for being used in imaging applications.In certain embodiments, which can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1016 is configured to facilitate the communication of wired or wireless way between device 1000 and other equipment.Dress
The wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof can be accessed by putting 1000.It is exemplary at one
In embodiment, communication component 1016 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, the communication component 1016 further includes near-field communication (NFC) module, to promote short distance
Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1000 can be by one or more application application-specific integrated circuit (ASIC), numeral
Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for perform above-mentioned calculating display methods or
Calculate edit methods.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 1004 of instruction, above-metioned instruction can be performed to complete the above method by the processor 1020 of device 1000.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 1000
When device performs so that device 1000 is able to carry out a kind of calculating display methods or calculates edit methods.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be appreciated that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.
Claims (7)
1. one kind calculates display methods, applied to electronic equipment, the electronic equipment includes calculator application and note class should
With, it is characterised in that the described method includes:
The formula of input is calculated by the calculator application, obtains result of calculation, and pass through the calculator application
The formula and the result of calculation are stored in physical memory;
The formula and the meter that send and be stored in physical memory are applied to the note class by the calculator application
Calculate result;
The formula and the result of calculation are shown by note class application;
The formula is edited by note class application;
Formula after sending from editor to the calculator application is applied by the note class;
The formula after the editor is calculated by the calculator application, obtains result of calculation.
2. according to the method described in claim 1, it is characterized in that, described should to the note class by the calculator application
The formula and the result of calculation being stored in sending in physical memory, including:
The formula that user's triggering is received by the calculator application exports operation;
By the calculator application after the formula export operation is received, generation note starts request;The note opens
Dynamic request carries the formula and the result of calculation;
The note, which is sent, to note class application starts request.
3. according to the method described in claim 2, it is characterized in that, described receiving the calculation by the calculator application
After formula export operation, generation note starts request, including:
Pass through the formula of the calculator application reading and saving in physical memory and the result of calculation;
The intention Intent message that the formula and the result of calculation are carried by calculator application generation is used as institute
State note and start request, the Intent message in Android operation system between different application component for being communicated
Message.
4. one kind calculates display device, applied to electronic equipment, the electronic equipment includes calculator application and note class should
With, it is characterised in that described device includes:
First computing module, is configured as calculating the formula of input by the calculator application, obtains result of calculation,
And the formula and the result of calculation are stored in physical memory by the calculator application;
First sending module, is configured as being stored in physical memory to the note class application transmission by the calculator application
In the formula and the result of calculation;
First display module, is configured as showing the formula and the result of calculation by note class application;
First editor module, is configured as editing the formula by note class application;
Formula sending module, is configured as applying the formula after sending editor to the calculator application by the note class;
Computing module again, is configured as calculating the formula after the editor by the calculator application, is counted
Calculate result.
5. device according to claim 4, it is characterised in that first sending module, including:
First receiving submodule, is configured as the formula export operation for receiving user by the calculator application and triggering;
First generation submodule, is configured as by the calculator application after the formula export operation is received, generation
Note starts request;The note starts request and carries the formula and the result of calculation;
First sending submodule, is configured as sending the note startup request to note class application.
6. device according to claim 5, it is characterised in that the first generation submodule, is configured as by described
The formula and the result of calculation of the calculator application reading and saving in physical memory;Generated by the calculator application
The intention Intent message for carrying the formula and the result of calculation starts request as the note, and the Intent disappears
Breath is the message for being communicated between the different application component in Android operation system.
7. one kind calculates display device, applied to electronic equipment, the electronic equipment includes calculator application and note class should
With, it is characterised in that described device includes:
Processor;
Memory for the executable instruction for storing the processor;
Wherein, the processor is configured as:
The formula of input is calculated by the calculator application, obtains result of calculation, and pass through the calculator application
The formula and the result of calculation are stored in physical memory;
The formula and the meter that send and be stored in physical memory are applied to the note class by the calculator application
Calculate result;
The formula and the result of calculation are shown by note class application;
The formula is edited by note class application;
Formula after sending from editor to the calculator application is applied by the note class;
The formula after the editor is calculated by the calculator application, obtains result of calculation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410836027.4A CN104536935B (en) | 2014-12-27 | 2014-12-27 | Calculate display methods, calculate edit methods and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410836027.4A CN104536935B (en) | 2014-12-27 | 2014-12-27 | Calculate display methods, calculate edit methods and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104536935A CN104536935A (en) | 2015-04-22 |
CN104536935B true CN104536935B (en) | 2018-04-27 |
Family
ID=52852464
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410836027.4A Active CN104536935B (en) | 2014-12-27 | 2014-12-27 | Calculate display methods, calculate edit methods and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104536935B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105335073A (en) * | 2015-11-23 | 2016-02-17 | 上海海漾软件技术有限公司 | Method and device for managing mobile terminal computer |
CN105786767A (en) * | 2016-03-11 | 2016-07-20 | 珠海格力电器股份有限公司 | Data processing method and device for calculator application |
CN105955633A (en) * | 2016-04-19 | 2016-09-21 | 乐视控股(北京)有限公司 | Calculating result quick look method, device and intelligent terminal |
CN105867629A (en) * | 2016-04-19 | 2016-08-17 | 乐视控股(北京)有限公司 | Method and device for rapidly recording calculation results and intelligent terminal |
CN106020636A (en) * | 2016-05-06 | 2016-10-12 | 珠海市魅族科技有限公司 | An application content generating method and a terminal |
CN107329844A (en) * | 2017-06-30 | 2017-11-07 | 广东欧珀移动通信有限公司 | A kind of method for message interaction, device, storage medium and terminal |
CN107844245A (en) * | 2017-11-20 | 2018-03-27 | 珠海市魅族科技有限公司 | Computation processing method, device, terminal device and computer-readable recording medium |
CN109063561B (en) * | 2018-06-28 | 2022-03-08 | 广州视源电子科技股份有限公司 | Formula identification calculation method and device |
CN110231910A (en) * | 2019-05-20 | 2019-09-13 | 维沃移动通信有限公司 | A kind of control method and terminal device |
CN116507994A (en) * | 2021-11-26 | 2023-07-28 | 京东方科技集团股份有限公司 | Intelligent computing method and intelligent interaction panel |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1129856C (en) * | 1999-06-14 | 2003-12-03 | 金宝电子工业股份有限公司 | Calculator capable of displaying previous data |
CN101105750A (en) * | 2007-08-16 | 2008-01-16 | 金蝶软件(中国)有限公司 | Numerical value input device and method for numerical value input using the device |
JP5304191B2 (en) * | 2008-11-13 | 2013-10-02 | カシオ計算機株式会社 | Fraction display device |
JP5652104B2 (en) * | 2010-10-13 | 2015-01-14 | カシオ計算機株式会社 | Electronic computer and program |
CN103577157B (en) * | 2013-11-13 | 2016-04-13 | Tcl通讯(宁波)有限公司 | A kind of computing method of mobile terminal counter and device |
-
2014
- 2014-12-27 CN CN201410836027.4A patent/CN104536935B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104536935A (en) | 2015-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104536935B (en) | Calculate display methods, calculate edit methods and device | |
CN104731688B (en) | Point out the method and device of reading progress | |
CN104486451B (en) | Application program recommends method and device | |
CN107066172A (en) | The document transmission method and device of mobile terminal | |
CN105068467B (en) | Control the method and device of smart machine | |
CN104811821B (en) | The method and device of screen frame per second is painted in adjustment | |
CN103916468B (en) | Method for upgrading system, terminal, server and upgrade-system | |
CN107239351B (en) | Pasting method and device | |
CN104536817A (en) | Computing method and device | |
CN104820549B (en) | Sending method, device and the terminal of social networking application message | |
CN106775202A (en) | A kind of method and device of information transfer | |
CN107241495A (en) | The split screen treating method and apparatus of terminal device | |
CN106802808A (en) | Suspension button control method and device | |
CN106970897A (en) | The method to set up and equipment of text formatting | |
CN106774802A (en) | The reminding method of terminal power, device and terminal | |
CN107798309B (en) | Fingerprint input method and device and computer readable storage medium | |
CN106789551A (en) | Conversation message methods of exhibiting and device | |
CN107404429A (en) | Circle of friends answering method, device and computer-readable recording medium | |
CN107423059A (en) | Display methods, device and the terminal of the page | |
CN106936986A (en) | Application processing method and device | |
CN107295099A (en) | PUSH message processing method, device and storage medium | |
CN104219648A (en) | Method and device for prompting top-up information | |
CN106774977A (en) | Punctuation mark automatic matching method, device and terminal device | |
CN105677215A (en) | Application control method and apparatus | |
CN105205404A (en) | User level control method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |