WO2017152654A1 - Data processing method and apparatus for calculator application - Google Patents

Data processing method and apparatus for calculator application Download PDF

Info

Publication number
WO2017152654A1
WO2017152654A1 PCT/CN2016/106640 CN2016106640W WO2017152654A1 WO 2017152654 A1 WO2017152654 A1 WO 2017152654A1 CN 2016106640 W CN2016106640 W CN 2016106640W WO 2017152654 A1 WO2017152654 A1 WO 2017152654A1
Authority
WO
WIPO (PCT)
Prior art keywords
function
preset
calculator application
editing
calculator
Prior art date
Application number
PCT/CN2016/106640
Other languages
French (fr)
Chinese (zh)
Inventor
朱琳
Original Assignee
珠海格力电器股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 珠海格力电器股份有限公司 filed Critical 珠海格力电器股份有限公司
Publication of WO2017152654A1 publication Critical patent/WO2017152654A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/15Correlation function computation including computation of convolution operations

Definitions

  • the present invention relates to the field of computer applications, and in particular to a data processing method and apparatus for a calculator application.
  • the functions provided by the calculator application are uneven.
  • In the process of editing the data generated by the calculator application there is not much development, and most of the functions of the calculator application function are not. Complete, only to meet basic operations.
  • the operation function can not be customized to save and identify.
  • the calculator application needs to process the multi-digit calculation result, the user often has difficulty in remembering, and the data processed by the calculator application can neither be saved nor called, which is easy to cause data loss. , affecting the user experience performance of the calculator application.
  • a main object of the present invention is to provide a data processing method and apparatus for a calculator application to at least solve the problem of poor editability of calculator application data in the related art.
  • a data processing method of a calculator application includes: querying a preset function of the calculator application from a preset storage location, wherein the preset function is a function for performing an operation on the operation data of the calculator application; when from the preset storage location When the preset function of the calculator application is queried, the preset function is edited to obtain an edit function; the operation is performed on the target operation data according to the edit function, and the operation result is obtained, wherein the target operation data is the operation data to be processed.
  • the preset storage location is a preset database of the calculator application, and after performing an operation on the target operation data according to the editing function, and obtaining the operation result, the data processing method of the calculator application further includes: saving the operation result to the preset database.
  • the operation result in the preset database is displayed on the history interface, wherein the history interface is an interface for displaying the operation result that the calculator application has obtained.
  • performing editing on the preset function, and obtaining the editing function includes: receiving an edit indication signal by using a preset area of the calculator application interface, wherein the edit indication signal is a signal for instructing the calculator application to perform editing on the preset function; Display operation after receiving an edit indication signal through a preset area of the calculator application interface The prompt information, wherein the operation prompt information is prompt information for prompting the calculator to perform editing on the preset function; performing editing on the preset function according to the operation prompt information, and obtaining an edit function.
  • displaying the operation prompt information includes: displaying the copy prompt information and the identifier prompt information, wherein the copy prompt information is used for prompting to perform copying on the preset function.
  • the information and the identifier information are information for prompting to identify the preset function, and performing editing on the preset function according to the operation prompt information
  • obtaining the edit function includes: receiving the copy indication signal by the area corresponding to the copy prompt information, and obtaining the preset function a copy function, wherein the copy indication signal is a signal for instructing the calculator application to perform copying on the preset function, or receiving an identification indication signal by the area corresponding to the identifier information to obtain an identification function of the preset function, wherein the identifier
  • the indication signal is a signal for instructing the calculator application to perform identification on the preset function.
  • receiving the edit indication signal by using the preset area of the calculator application interface includes: receiving an edit indication signal by using a preset area of the first application interface, where the first application interface is an interface for performing a basic operation by the calculator application, Or receiving an edit indication signal through a preset area of the second application interface, where the second application interface is an interface for performing a scientific operation for the calculator application.
  • querying the preset function of the calculator application from the preset storage location comprises: querying the preset function from a storage location corresponding to the first computing module other than the calculator application.
  • performing an operation on the target operation data according to the edit function, and obtaining the operation result includes: sending the edit function to the second calculation module other than the calculator application, wherein the second calculation module is to the edit function and the target operation data of the second calculation module Perform an operation to get the result of the operation.
  • sending the edit function to the second calculation module other than the calculator application comprises: transmitting a copy function of the preset function to a second calculation module other than the calculator application, wherein the second calculation module receives the copy indication signal by the copy function To obtain the copy function, the paste indication signal is a signal for instructing the second calculation module to acquire the copy function.
  • performing an operation on the target operation data according to the editing function, and obtaining the operation result includes: displaying an edit function on a preset operation interface of the calculator application, wherein the preset operation interface is an interface for displaying the operation data; and the calculator application
  • the preset operation interface displays the editing function
  • the target operation data is received;
  • the operation function is performed on the editing function and the target operation data, and the function operation result and the numerical operation result are obtained, wherein the function operation result is the target operation data through the edit function in the operation process.
  • the generated function, the numerical operation result is the calculation result obtained by the target operation data through the edit function.
  • a data processing apparatus for a calculator application comprises: a query unit, configured to query a preset function of the calculator application from a preset storage location, wherein the preset function is a function for performing an operation on the operation data applied by the calculator.
  • the editing unit is configured to perform editing on the preset function to obtain an editing function when the preset function of the calculator application is queried from the preset storage location, and the operation unit is configured to perform an operation on the target operation data according to the editing function.
  • the operation result is obtained, wherein the target operation data is the operation data to be processed.
  • the preset storage location is a preset database of the calculator application
  • the data processing device of the calculator application further includes: a saving unit, configured to perform an operation on the target operation data according to the editing function, and obtain the operation result, and then save the operation
  • the result is a preset database
  • a display unit is configured to display an operation result in the preset database on the history record interface, wherein the history record interface is an interface for displaying an operation result that the calculator application has obtained.
  • the editing unit includes: a receiving module, configured to receive an edit indication signal by using a preset area of the calculator application interface, where the edit indication signal is a signal for instructing the calculator application to perform editing on the preset function; After receiving the edit indication signal through the preset area of the calculator application interface, the operation prompt information is displayed, wherein the operation prompt information is prompt information for prompting the calculator to perform editing on the preset function; the editing module is used for Editing the preset function according to the operation prompt information, and obtaining an edit function.
  • a receiving module configured to receive an edit indication signal by using a preset area of the calculator application interface, where the edit indication signal is a signal for instructing the calculator application to perform editing on the preset function
  • the operation prompt information is displayed, wherein the operation prompt information is prompt information for prompting the calculator to perform editing on the preset function
  • the editing module is used for Editing the preset function according to the operation prompt information, and obtaining an edit function.
  • the display module is configured to display the copy prompt information and the identifier prompt information, where the copy prompt information is information for prompting to perform copying on the preset function, and the identifier prompt information is information for prompting to identify the preset function.
  • the editing module is configured to receive the copy indication signal by using the area corresponding to the copy prompt information to obtain a copy function of the preset function, where the copy indication signal is used to indicate that the calculator application performs a copy of the preset function, or The area corresponding to the information receives the identifier indication signal, and obtains an identification function of the preset function, wherein the identifier indication signal is a signal for instructing the calculator application to perform identification on the preset function.
  • the preset function is used to query the calculator application from the preset storage location, and the preset function is a function for performing an operation on the operation data applied by the calculator; when the query is applied from the preset storage location to the calculator application
  • the preset function is edited to obtain the edit function; the operation function is performed on the target operation data according to the edit function, and the operation result is obtained, and the target operation data is the operation data to be processed, and the calculator application data in the related art is solved.
  • the problem of poor editorialism has the effect of improving the editability of the calculator application data.
  • FIG. 1 is a flowchart of a data processing method of a calculator application according to a first embodiment of the present invention
  • FIG. 2 is a schematic diagram of a basic calculator application interface according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an scientific calculator application interface according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a calculator application interface according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a history recording interface of a calculator application according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an operation function call-in of a calculator application according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an operation function callout of a calculator application according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of a data processing method of a calculator application according to a second embodiment of the present invention.
  • FIG. 9 is a flowchart of a data processing method of a calculator application according to a third embodiment of the present invention.
  • FIG. 10 is a flowchart of a data processing method of a calculator application according to a fourth embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a data processing apparatus of a calculator application in accordance with an embodiment of the present invention.
  • This embodiment provides a data processing method for a calculator application.
  • FIG. 1 is a flow chart of a data processing method of a calculator application according to a first embodiment of the present invention. As shown in FIG. 1, the data processing method of the calculator application includes the following steps:
  • Step S101 Query a preset function of the calculator application from the preset storage location.
  • the calculator application is a computing application on the terminal for performing mathematical operations on the operational data, wherein the operation
  • the data includes numerical values and mathematical operators.
  • the values can be calculated by mathematical operators to obtain calculation results, such as a calculator application on a mobile phone, a calculator application on a computer, and the like.
  • the operation can be a mathematical basic operation realized by the basic calculator, for example, adding, subtracting, multiplying, and dividing the numerical value, and the operation can also be a scientific operation realized by a scientific calculator, for example, a square or a square root , indexes, logarithms, trigonometric functions, statistics, etc.
  • the preset function is a function for performing an operation on the operation data of the calculator application, and is a calculator application data that can be directly called in the process of being stored in the preset storage location and applying the calculation in the calculator application.
  • the preset storage location may be a database in which the calculator applies the stored data, or may be a data storage location corresponding to the computing module other than the calculator application.
  • the preset storage location stores multiple functions, and multiple functions are displayed in a list on the interface of the calculator application. For the calculator application to execute the application, only one or more functions in the preset storage location are needed, and one or more functions in the preset storage location are preset functions of the calculator application, from the preset storage.
  • the user terminal can send a query command to the calculator application by operating the calculator application, and then locate the preset function from the function displayed on the calculator application interface, and operate the preset function to enable the calculator application to obtain the Preset function.
  • Step S102 when the preset function of the calculator application is queried from the preset storage location, the editing is performed on the preset function to obtain an editing function.
  • editing is performed on the preset function to obtain an edit function. For example, performing a copy on the preset function to obtain a copy function of the preset function, the copy function being an edit function, which can be pasted to other locations, or performing an identification on the preset function, thereby obtaining an identification function of the preset function.
  • the identification function is an editing function, which can be displayed by color or icon to distinguish it from other functions, thereby realizing editing of the calculator application data.
  • performing editing on the preset function may re-enter the value or the operator in the preset function to obtain a function different from the original preset function, so as to meet the calculation requirements of the current calculator application, and providing The editability of the calculator application data.
  • step S103 an operation is performed on the target operation data according to the edit function, and the operation result is obtained.
  • the operation is performed on the target operation data according to the editing function, and the operation result is obtained, wherein the target operation data is the operation data to be processed.
  • the copy function is pasted to another arithmetic data processing module, and in other arithmetic data processing modules, the target operational data is subjected to the operation through the copy function, and the operation result is obtained.
  • the identification function is performed on the preset function and the identification function is obtained, the operation result is performed on the target operation data by the identification function, and the operation result is obtained.
  • the operation result may be an operation function result of performing an operation on the target operation data according to the edit function, or may be a numerical result.
  • the embodiment of the present invention queries the preset function of the calculator application from the preset storage location, and the preset function is a function for performing an operation on the operation data applied by the calculator; when the query is applied from the preset storage location to the calculator application
  • the preset function is edited to obtain the edit function; the operation function is performed on the target operation data according to the edit function, and the operation result is obtained, and the target operation data is the operation data to be processed, thereby improving the editability of the calculator application data.
  • the preset storage location is a preset database of the calculator application, and the operation is performed on the target operation data according to the editing function, and after the operation result is obtained, the operation result is saved to the preset database;
  • the operation result in the preset database is displayed, wherein the history interface is an interface for displaying the operation result that the calculator application has obtained.
  • the calculator application has a preset database
  • the preset database may store the operation result of the calculator application in each operation process, and the operation result is displayed in the form of a list through the history interface of the calculator application, and may be
  • the result of each calculation of the calculator application is set in the order displayed in the list, for example, the latest operation result is displayed at the top, and the latest operation result can be displayed at the bottom, or the operation in the history interface.
  • the result is searched by criteria. After performing the operation on the target operation data according to the editing function, after obtaining the operation result, the operation result is automatically saved to the preset database of the calculator application, and the operation result in the preset database is displayed on the history record interface, so that the user terminal can clearly Learn about the results of the operations stored in the calculator application.
  • the operation result to be called may be selected from the history interface, and the called operation result is determined as the preset function.
  • the calculator application can save the multi-digit operation result, so that the user terminal can directly call the next time, without requiring the user terminal to deliberately memorize the multi-digit operation result, and improve The experience performance of the user terminal.
  • the operation result is saved to the preset database; the operation result in the preset database is displayed on the history record interface, thereby realizing the preservation of the operation result.
  • performing editing on the preset function, and obtaining the editing function includes: receiving an edit indication signal by using a preset area of the calculator application interface, where the edit indication signal is used to indicate that the calculator applies the preset The function performs the editing signal; after receiving the editing indication signal through the preset area of the calculator application interface, the operation prompt information is displayed, wherein the operation prompt information is prompt information for prompting the calculator to perform editing on the preset function; The operation prompt information performs editing on the preset function to obtain an edit function.
  • the user terminal touches a preset area of the calculator application interface, where the preset area may be a specific button of a keyboard area on the calculator application interface, or may be an area on the display screen, for example, the user terminal directly contacts
  • the area of the interface corresponding to the preset function is controlled to generate an edit indication signal.
  • the application interface of the user terminal touch calculator can touch the calculator application interface by clicking, double-clicking, or long-pressing the preset time at the preset position.
  • the operation prompt information is displayed on the surface, for example, the “copy” prompt information is displayed, and the “copy” prompt information is used to indicate that the preset function is copied, and the “identification” prompt information is displayed, and the “identification” prompt information is used to indicate the pair.
  • the preset function is identified. The user terminal selects an operation performed on the preset function according to the operation prompt information, so that the calculator application performs editing on the preset function according to the operation prompt information, obtains an edit function of the copy function, or obtains an edit function of the identification function.
  • the embodiment receives the edit indication signal through the preset area of the calculator application interface, and then displays the operation prompt information, and then performs editing on the preset function according to the operation prompt information to obtain an edit function, which improves the editability of the calculator application data.
  • displaying the operation prompt information includes: displaying the copy prompt information and the identifier prompt information, wherein the copy prompt information is used for prompting the pair
  • the preset function performs the copied information
  • the identifier prompt information is information for prompting to identify the preset function, and performs editing on the preset function according to the operation prompt information
  • the obtained edit function includes: receiving the copy indication by copying the area corresponding to the prompt information.
  • a copy function of the preset function is obtained, wherein the copy indication signal is a signal for instructing the calculator application to perform copying on the preset function, or the identifier indication signal is received by the area corresponding to the identifier information to obtain a preset function.
  • An identification function wherein the identification indication signal is a signal for instructing the calculator application to perform identification on the preset function.
  • the copy prompt information and the identifier prompt information may be simultaneously displayed.
  • a copy indication signal is generated
  • the calculator applies the copy to the preset function to obtain a pre- Set the function's copy function.
  • the identifier indication signal is generated.
  • the calculator applies the identifier to the preset function, which can be The color or icon identifies the preset function and obtains the identification function of the preset function.
  • the copy prompt information and the identifier prompt information are displayed, and the copy indication signal is received by the area corresponding to the copy prompt information to obtain a copy function of the preset function, or the identifier indication signal is received by the area corresponding to the identifier information to obtain a preset function.
  • the identification function improves the editability of the calculator application data.
  • receiving the edit indication signal by using the preset area of the calculator application interface includes: receiving an edit indication signal by using a preset area of the first application interface, where the first application interface is used for a calculator application An interface for performing a basic operation, or receiving an edit indication signal through a preset area of the second application interface, wherein the second application interface is an interface for performing a scientific operation for the calculator application.
  • the calculator application interface includes a first application interface and a second application interface.
  • the first application interface can perform basic operations on the calculator application, for example, adding, subtracting, multiplying, and dividing the values to implement the basic calculation.
  • the second application interface can perform scientific operations on the calculator application, such as operations on squares, squares, indices, logarithms, trigonometric functions, statistics, etc., to implement the functions of the scientific calculator application.
  • Receiving the edit indication signal through the preset area of the first application interface, or receiving the edit indication signal through the preset area of the second application interface, the first application interface and the second application interface may be switched to meet the calculation requirement of the operation data.
  • the embodiment receives the edit indication signal through the preset area of the first application interface, or receives the edit indication signal through the preset area of the second application interface, thereby implementing the editing of the calculator application data, and improving the diversity of the application of the calculator and Integrity, which improves the performance of the user terminal.
  • querying the preset function of the calculator application from the preset storage location includes: querying the preset function from a storage location corresponding to the first computing module other than the calculator application.
  • the preset storage location stores a preset function, where the preset storage location may be a database of the calculator application itself, or may be a storage location corresponding to the first computing module except the calculator application, from the first computing module.
  • the corresponding storage location queries the preset function, and then pastes the preset function into the calculator application, so that the calculator application is opened to the external computing module.
  • the preset function is queried from the storage location corresponding to the first computing module other than the calculator application, and the preset function is transferred from the external computing module, which greatly improves the availability and high efficiency of the computing data.
  • performing an operation on the target operation data according to the editing function, and obtaining the operation result includes: sending an edit function to a second calculation module other than the calculator application, wherein the second calculation module pairs the edit function and the second The target operation data of the calculation module performs an operation to obtain an operation result.
  • the calculator application may send the editing function to a second computing module other than the calculator application, where the second computing module may be an application having the same function as the calculator application, and the second computing module completes the target computing data.
  • the embodiment sends an editing function to a second computing module other than the calculator application, and the second computing module performs an operation on the editing function and the target computing data of the second computing module to obtain an operation result, thereby realizing the calling of the preset function.
  • the embodiment sends an editing function to a second computing module other than the calculator application, and the second computing module performs an operation on the editing function and the target computing data of the second computing module to obtain an operation result, thereby realizing the calling of the preset function.
  • sending the editing function to the second computing module other than the calculator application comprises: transmitting a copy function of the preset function to a second computing module other than the calculator application, wherein the second computing module receives the The paste instruction signal of the copy function is used to obtain a copy function, and the paste indication signal is a signal for instructing the second calculation module to acquire the copy function.
  • the user terminal touches the area corresponding to the copy prompt information according to the copy prompt information, so that the calculator application obtains a copy function of the preset function, and the copy function may be pasted, and the second calculation module receives the copy function by receiving the copy function.
  • Pasting the indication signal to obtain the copy function, and the second calculation module according to the copy function Perform an operation on the target operation data to obtain the operation result, so that the calculator application can be opened to the outside world.
  • the second calculation module by transmitting a copy function of the preset function to a second calculation module other than the calculator application, the second calculation module obtains the copy function by receiving the paste indication signal of the copy function, thereby greatly improving the availability and efficiency of the operation data. Sex.
  • performing an operation on the target operation data according to the editing function, and obtaining the operation result includes: displaying an edit function on a preset operation interface of the calculator application, wherein the preset operation interface is used for displaying the operation data. Interface; after displaying the editing function in the preset operation interface of the calculator application, receiving the target operation data; performing an operation on the editing function and the target operation data to obtain a function operation result and a numerical operation result, wherein the function operation result is the target operation data passing Edit the function generated by the function in the operation process.
  • the result of the numerical operation is the calculation result obtained by the target operation data through the edit function.
  • the copy function is pasted on the preset operation interface of the calculator application for display; after the copy function is displayed on the preset operation interface of the calculator application, the target operation data is received, and the target operation data may be
  • the numerical value can also be a mathematical operation symbol or a function that is re-entered; an operation is performed on the copy function and the target operation data to obtain a function operation result and a numerical operation result, and the function operation result and the numerical operation result can be saved in the calculator.
  • the application's default database is used to facilitate the recording of the results of the operation and the next call.
  • the editing function is displayed on the preset operation interface of the calculator application, and then the target operation data is received, and then the operation is performed on the editing function and the target operation data to obtain the function operation result and the numerical operation result, thereby improving the application data of the calculator. Editability.
  • the basic calculator application is part of a calculator application, including a display area and a keyboard area, and the display area and the keyboard area are displayed in a vertical screen on the calculator application interface.
  • the display area is located above the keyboard area, and can display the data that the basic calculator applies during the execution of the operation, and can receive the operation signal applied to the basic calculator.
  • the keyboard area includes a plurality of function buttons, which can implement the function of the button of the basic calculator application, and the user terminal can touch the function button to send an operation signal to the base calculator.
  • the user terminal displays the result of the operation and the information during the operation in the display area by operating the keyboard area, and ensures the integrity of the calculation function of the calculator application through the basic calculator application.
  • FIG. 3 is a schematic diagram of a scientific calculator application interface in accordance with an embodiment of the present invention.
  • the scientific calculator is applied as part of the calculator application, including a display area and a keyboard area, and the display area and the keyboard area are displayed in a horizontal screen on the calculator application interface.
  • the display area is located above the keyboard area, and can display data used by the scientific calculator to perform the operation process, and can receive an operation signal applied to the scientific calculator.
  • the keyboard area includes a plurality of function buttons, which can realize the function of the button of the scientific calculator application, and the user terminal can touch the function button to send an operation signal to the scientific calculator.
  • the user terminal displays the result of the operation and the information during the operation in the display area by operating the keyboard area, and ensures the integrity of the calculation function of the calculator application through the scientific calculator application, and the scientific calculator can and the basis Flexible switching between calculators.
  • the calculator interface includes a display area and a button area, the display area includes a history icon, and the history icon is an area for receiving an indication signal for opening the history interface, and the display area is located above the keyboard area.
  • the history record interface is an interface for displaying an operation result that has been obtained by the calculator application, and the indication signal of the history record interface is a signal indicating that the calculator application opens the history record interface.
  • the area corresponding to the touch history icon of the user terminal generates an indication signal for opening the history record interface, and the calculator application opens the history record interface after receiving the indication signal of the open history record interface.
  • the history interface is an interface for displaying the operation result that the calculator application has obtained, including the numerical results of the obtained operation function and operation.
  • Multiple calculation results are displayed in the form of a list on the calculator application interface, and can be displayed on the list in time order. For example, the top of the list always displays the latest operation result, and each operation result can be deleted and copied. Wait for editing operations.
  • the user terminal queries the operation result to be called according to the history record interface, and the operation result to be called is a preset function, and the preset function can be used in the calculator application to perform an operation on the target operation data, or can be transferred to the An operation is performed on the target operation data in a calculation module other than the calculator application.
  • the history interface it is also possible to query the operation result with a large number of bits and difficult to memorize, thereby facilitating the query and call of the history record result of the calculator application by the user terminal, thereby reducing the memory burden of the user.
  • FIG. 6 is a schematic diagram of an arithmetic function call-in of a calculator application in accordance with an embodiment of the present invention.
  • the copy function may be performed on the preset function, and then the preset is pasted in the copy and paste area of the calculator display area.
  • the function, and display it, to achieve the purpose of the calculator application and the outside world the operation function is transferred to the calculator application.
  • the user terminal inputs the target operation data through the keyboard area, and the calculator application performs an operation on the edit function and the target operation data to obtain a function operation result and a numerical operation result, and the function operation result is the target operation data.
  • the numerical operation result is the calculation result obtained by the target operation data through the edit function.
  • FIG. 7 is a schematic diagram of an operation function callout of a calculator application in accordance with an embodiment of the present invention.
  • the copy prompt information "Copy” and the identification prompt information "Identification” are displayed on the history interface. Copying the prompt information "Copy” and the identification prompt information "Identification” in the area corresponding to the history interface is the copying and identification area of the preset function. area.
  • the area corresponding to the touch prompt information of the user terminal performs copying on the preset function, and the copy function is sent to other computing modules other than the calculator application, and other computing modules other than the calculator application obtain the copy function by receiving the paste indication signal.
  • the paste indication signal is a signal for instructing the second calculation module to acquire the copy function.
  • the area corresponding to the touch identifier information of the user terminal performs an identifier on the preset function, and the preset function is identified by an icon, a color, and the like, so that the user terminal quickly locates the preset function, and the preset function is called. .
  • FIG. 8 is a flowchart of a data processing method of a calculator application according to a second embodiment of the present invention. As shown in FIG. 8, the data processing method of the calculator application includes the following steps:
  • Step S801 obtaining an operation result.
  • the calculator application After the calculator application performs an operation on the current target operation data, a function result and a numerical result are obtained, and the result of the function is a function generated when the calculator application executes the target operation data, and the numerical result is an operation for the target operation data to be finally generated. the result of.
  • step S802 the operation result is automatically saved.
  • the operation result is automatically saved, thereby realizing the purpose of saving the operation result, facilitating the user terminal to view the operation result, so that the user terminal does not intentionally memorize the operation result, and also improves the operation result. Accuracy when used again.
  • Step S803 displaying a history recording interface.
  • a history interface is displayed, which is an interface for displaying the operation result that the calculator application has obtained, and the operation result is displayed in the list on the history interface.
  • Step S804 displaying operation prompt information for the preset function.
  • An edit indication signal is received through a preset area of the calculator application interface, the edit indication signal being a signal for instructing the calculator application to perform editing on the preset function.
  • the user terminal determines that the saved operation result is a preset function, and the location corresponding to the preset function in the list on the touch history interface, thereby generating an edit indication signal.
  • the calculator application interface displays the operation prompt information, where the operation prompt information is prompt information for prompting the calculator to perform editing on the preset function, including copying prompt information and identification prompt information. .
  • step S805 the operation result is copied, and the calculator module is used.
  • the user terminal can touch the area corresponding to the copy prompt information according to the copy prompt information, so that the calculator application performs copying on the preset function to obtain a copy function, and the complex
  • the function can call up the calculator module and paste it into other calculation modules to perform calculations on the target calculation data.
  • step S806 the operation result is identified.
  • the user terminal may touch the area corresponding to the prompt information according to the identification prompt information, so that the calculator applies the identifier to the preset function to obtain an identification function, and the identification function is a preset function.
  • the marked function can be identified by an icon or by color, so that the preset function is distinguished from other operation results in the history interface, which is convenient for the user terminal to query.
  • the operation result is automatically saved, and the operation result is automatically saved, and then the history record interface is displayed, and the operation prompt information is displayed on the preset function, and the operation result can be copied, the calculator module is used, and the operation result can be identified.
  • the saving and marking of the application data of the calculator is realized, and the editability of the application data of the calculator is improved.
  • FIG. 9 is a flow chart of a data processing method of a calculator application according to a third embodiment of the present invention. As shown in FIG. 9, the data processing method of the calculator application includes the following steps:
  • step S901 an operation result is obtained.
  • the calculation result that the calculator application has obtained can be selected from the history interface of the calculator application, and the selected operation result is determined as a preset function.
  • Step S902 acquiring an edit instruction signal of the operation result.
  • the user terminal may long press the area corresponding to the operation result, and generate an edit indication signal for the operation result, where the edit indication signal includes a copy indication signal and an identification indication signal.
  • Step S903 custom copy function and paste function.
  • the user terminal selects a copy indication signal in the edit indication signal.
  • the preset function is copied to obtain a copy function.
  • the preset function may be customized to select part of the data in the preset function for copying, to obtain a copy function, and the copy function may be pasted as a paste function to other operation functions to calculate the target operation data.
  • step S904 the copy function is used in the new operation function.
  • the data of the preset function can be pasted into the new operation function of the calculator application.
  • step S905 the extracted data is pasted to a calculation module other than the calculator application.
  • the operation result is obtained, and then the edit instruction signal of the operation result is acquired, the copy function and the paste function are customized, the copy function is used in the new operation function, and the data can be extracted and pasted into a calculation module other than the calculator application.
  • the call to the calculator application data is realized, and the editability of the calculator application data is improved.
  • FIG. 10 is a flowchart of a data processing method of a calculator application according to a fourth embodiment of the present invention. As shown in FIG. 10, the data processing method of the calculator application includes the following steps:
  • step S1001 the preset function is copied from the outside to obtain a copy function.
  • the preset function is queried from the storage location corresponding to the calculation module other than the calculator application, and the preset function is copied to obtain a copy function.
  • Step S1002 pasting the copy function to the interface of the calculator application.
  • the copy function is pasted to the interface of the calculator application for display, and the user terminal does not need to manually re-enter the copy function, so that the calculator application is open to the outside world.
  • the copy function is obtained, and the copy function is pasted to the interface of the calculator application, thereby realizing the transfer of the calculator application data from the outside, improving the convenience and efficiency of the use of the operation function, and improving The editability of the calculator application data.
  • This embodiment also provides a data processing device for a calculator application.
  • the data processing apparatus of this embodiment can be used to execute the data processing method of the embodiment.
  • FIG. 11 is a schematic diagram of a data processing apparatus of a calculator application in accordance with an embodiment of the present invention.
  • the data processing apparatus of the calculator application includes an inquiry unit 10, an editing unit 20, and an operation unit 30.
  • the query unit 10 is configured to query a preset function of the calculator application from the preset storage location, wherein the preset function is a function for performing an operation on the operation data applied by the calculator.
  • the editing unit 20 is configured to perform editing on the preset function when the preset function of the calculator application is queried from the preset storage location, to obtain an editing function.
  • the operation unit 30 is configured to perform an operation on the target operation data according to the edit function to obtain an operation result, wherein the target operation data is the operation data to be processed.
  • the above-mentioned query unit 10, editing unit 20 and arithmetic unit 30 may be run in a computer terminal as part of the device, and the functions implemented by the above modules may be executed by a processor in the computer terminal, and the computer terminal may also It is a smart phone (such as Android phone, iOS phone, etc.), tablet computer, applause computer, and mobile Internet devices (MID), PAD and other terminal devices.
  • a smart phone such as Android phone, iOS phone, etc.
  • tablet computer such as Samsung phone, Samsung Galaxy Tabs, etc.
  • applause computer such as Samsung Galaxy Tabs, etc.
  • PAD mobile Internet devices
  • the preset storage location is a preset database of the calculator application
  • the data processing device of the calculator application further includes a saving unit and a display unit.
  • the saving unit is configured to perform an operation on the target operation data according to the editing function, and obtain the operation result, and save the operation result to the preset database;
  • the display unit is configured to display the operation result in the preset database on the history record interface, wherein The history interface is an interface for displaying the result of the calculation that the calculator application has obtained.
  • the foregoing saving unit and the display unit may be run in a computer terminal as part of the device, and the functions implemented by the above module may be executed by a processor in the computer terminal, and the computer terminal may also be a smart phone (such as Android). Mobile phones, iOS phones, etc.), tablet computers, applause computers, and mobile Internet devices (MID), PAD and other terminal devices.
  • a smart phone such as Android
  • Mobile phones, iOS phones, etc. tablet computers, applause computers, and mobile Internet devices (MID), PAD and other terminal devices.
  • MID mobile Internet devices
  • the editing unit 20 includes a receiving module, a display module and an editing module.
  • a receiving module configured to receive an edit indication signal by using a preset area of the calculator application interface, where the edit indication signal is a signal for instructing the calculator application to perform editing on the preset function; and the display module is configured to be applied by the calculator
  • the preset area of the interface displays the operation prompt information, wherein the operation prompt information is prompt information for prompting the calculator to perform editing on the preset function
  • the editing module is configured to preset the information according to the operation prompt information.
  • the function performs editing and gets the edit function.
  • the receiving module, the display module and the editing module may be run in a computer terminal as part of the device, and the functions implemented by the module may be performed by a processor in the computer terminal, and the computer terminal may also be a smart phone. (such as Android phones, iOS phones, etc.), tablets, applause computers and mobile Internet devices (Mobile Internet Devices, MID), PAD and other terminal devices.
  • the display module is configured to display the copy prompt information and the identifier prompt information, where the copy prompt information is information for prompting to perform copying on the preset function, and the identifier prompt information is information for prompting to identify the preset function.
  • the editing module is configured to receive the copy indication signal by using the area corresponding to the copy prompt information to obtain a copy function of the preset function, where the copy indication signal is used to indicate that the calculator application performs a copy of the preset function, or The area corresponding to the prompt information receives the identifier indication signal, and obtains the identifier of the preset function.
  • a function wherein the identification indication signal is a signal for instructing the calculator application to perform identification on the preset function.
  • the receiving module, the display module and the editing module may be run in a computer terminal as part of the device, and the functions implemented by the module may be performed by a processor in the computer terminal, and the computer terminal may also be a smart phone. (such as Android phones, iOS phones, etc.), tablets, applause computers and mobile Internet devices (Mobile Internet Devices, MID), PAD and other terminal devices.
  • the embodiment queries the preset function of the calculator application from the preset storage location by the query unit 10, wherein the preset function is a function for performing an operation on the operation data applied by the calculator; when querying from the preset storage location to the calculation
  • the editing unit 20 performs editing on the preset function to obtain an editing function.
  • the operation unit 30 performs an operation on the target operation data according to the editing function to obtain an operation result, wherein the target operation data is to be processed.
  • the calculation data improves the editability of the calculator application data.
  • the calculator application of the embodiment of the present invention can be applied to a calculator on a terminal such as a mobile phone or a tablet computer.
  • the embodiment of the invention ensures the integrity of the calculator operation function through the split screen display design of the basic calculator application and the scientific calculator application; and realizes the operation function by designing a history record interface exclusively in the calculator module.
  • the operation function can be customized to save, mark, thereby reducing users
  • the memory burden of the terminal is convenient for the user terminal to query; the operation function can be customized for two-way calling, which greatly improves the convenience and efficiency of the operation function, and improves the editability of the calculator application data.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in a storage device by a computing device, or they may be fabricated into individual integrated circuit modules, or Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
  • the various functional units provided by the embodiments of the present application may be operated in a mobile terminal, a computer terminal, or the like, or may be stored as part of a storage medium.
  • embodiments of the present invention may provide a computer terminal, which may be any computer terminal device in a group of computer terminals.
  • a computer terminal may also be replaced with a terminal device such as a mobile terminal.
  • the computer terminal may be located in at least one network device of the plurality of network devices of the computer network.
  • the computer terminal may execute the program code of the following steps in the data processing method of the calculator application: query the preset function of the calculator application from the preset storage location, where the preset function is used for the calculator
  • the operation data of the application performs a function of the operation; when the preset function of the calculator application is queried from the preset storage location, the preset function is edited to obtain an edit function; and the operation is performed on the target operation data according to the edit function, and the operation result is obtained.
  • the target operation data is the operation data to be processed.
  • the computer terminal can include: one or more processors, memory, and transmission means.
  • the memory can be used to store software programs and modules, such as the data processing method of the calculator application and the program instructions/modules corresponding to the device in the embodiment of the present invention.
  • the processor executes by executing the software program and the module stored in the memory.
  • Various functional applications and data processing that is, data processing methods for implementing the above-described calculator application.
  • the memory may include a high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • the memory can further include memory remotely located relative to the processor, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the above transmission device is for receiving or transmitting data via a network.
  • Specific examples of the above network may include a wired network and a wireless network.
  • the transmission device includes a Network Interface Controller (NIC) that can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network.
  • the transmission device is a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • the memory is used to store preset action conditions and information of the preset rights user, and an application.
  • the processor can call the memory stored information and the application by the transmitting device to execute the program code of the method steps of each of the alternative or preferred embodiments of the above method embodiments.
  • the computer terminal can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, an applause computer, and a mobile Internet device (MID), a PAD, and the like.
  • a smart phone such as an Android phone, an iOS phone, etc.
  • a tablet computer such as an iPad, Samsung Galaxy Tab, Samsung Galaxy Tab, etc.
  • MID mobile Internet device
  • PAD PAD
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be used to save program code executed by the data processing method of the calculator application provided by the foregoing method embodiment and the device embodiment.
  • the foregoing storage medium may be located in any one of the computer terminal groups in the computer network, or in any one of the mobile terminal groups.
  • the storage medium is configured to store program code for performing the following steps: querying a preset function of the calculator application from the preset storage location, wherein the preset function is for the calculator
  • the operation data of the application performs a function of the operation; when the preset function of the calculator application is queried from the preset storage location, the preset function is edited to obtain an edit function; and the operation is performed on the target operation data according to the edit function, and the operation result is obtained.
  • the target operation data is the operation data to be processed.
  • the storage medium may also be configured as program code for storing various preferred or optional method steps provided by the data processing method of the calculator application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Analysis (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Computational Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Algebra (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Calculators And Similar Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A data processing method and apparatus for a calculator application. The data processing method for a calculator application comprises: querying a pre-set function of a calculator application from a pre-set storage position (S101), wherein the pre-set function is a function for executing an operation on operational data of the calculator application; when the pre-set function of the calculator application is found from the pre-set storage position, editing the pre-set function to obtain an edited function (S102); and executing an operation on target operational data according to the edited function to obtain an operation result (S103), wherein the target operational data is operational data to be processed. The method improves the editability of data of a calculator application.

Description

计算器应用的数据处理方法和装置Data processing method and device for calculator application 技术领域Technical field
本发明涉及计算器应用领域,具体而言,涉及一种计算器应用的数据处理方法和装置。The present invention relates to the field of computer applications, and in particular to a data processing method and apparatus for a calculator application.
背景技术Background technique
目前,计算器应用提供的功能参差不齐,在对计算器应用执行运算的过程中所产生的数据进行编辑方面,并没有过多的开发成果,大部分的计算器应用的运算函数的功能不完整,只能满足基本的运算。运算函数不可以自定义保存、标识,当计算器应用需要处理多位数的计算结果时,用户往往很难记忆,而计算器应用处理的数据既无法保存,又难以调用,容易造成数据的丢失,影响用户对计算器应用的体验性能。At present, the functions provided by the calculator application are uneven. In the process of editing the data generated by the calculator application, there is not much development, and most of the functions of the calculator application function are not. Complete, only to meet basic operations. The operation function can not be customized to save and identify. When the calculator application needs to process the multi-digit calculation result, the user often has difficulty in remembering, and the data processed by the calculator application can neither be saved nor called, which is easy to cause data loss. , affecting the user experience performance of the calculator application.
针对相关技术中计算器应用数据的可编辑性差的问题,目前尚未提出有效的解决方案。In view of the poor editability of the calculator application data in the related art, an effective solution has not been proposed yet.
发明内容Summary of the invention
本发明的主要目的在于提供一种计算器应用的数据处理方法和装置,以至少解决相关技术中计算器应用数据的可编辑性差的问题。A main object of the present invention is to provide a data processing method and apparatus for a calculator application to at least solve the problem of poor editability of calculator application data in the related art.
为了实现上述目的,根据本发明的一个方面,提供了一种计算器应用的数据处理方法。该计算器应用的数据处理方法包括:从预设存储位置查询计算器应用的预设函数,其中,预设函数为用于对计算器应用的运算数据执行运算的函数;当从预设存储位置查询到计算器应用的预设函数时,对预设函数执行编辑,得到编辑函数;根据编辑函数对目标运算数据执行运算,得到运算结果,其中,目标运算数据为待处理的运算数据。In order to achieve the above object, according to an aspect of the present invention, a data processing method of a calculator application is provided. The data processing method of the calculator application includes: querying a preset function of the calculator application from a preset storage location, wherein the preset function is a function for performing an operation on the operation data of the calculator application; when from the preset storage location When the preset function of the calculator application is queried, the preset function is edited to obtain an edit function; the operation is performed on the target operation data according to the edit function, and the operation result is obtained, wherein the target operation data is the operation data to be processed.
进一步地,预设存储位置为计算器应用的预设数据库,在根据编辑函数对目标运算数据执行运算,得到运算结果之后,该计算器应用的数据处理方法还包括:保存运算结果至预设数据库;在历史记录界面显示预设数据库中的运算结果,其中,历史记录界面为用于显示计算器应用已经得到的运算结果的界面。Further, the preset storage location is a preset database of the calculator application, and after performing an operation on the target operation data according to the editing function, and obtaining the operation result, the data processing method of the calculator application further includes: saving the operation result to the preset database. The operation result in the preset database is displayed on the history interface, wherein the history interface is an interface for displaying the operation result that the calculator application has obtained.
进一步地,对预设函数执行编辑,得到编辑函数包括:通过计算器应用界面的预设区域接收编辑指示信号,其中,编辑指示信号为用于指示计算器应用对预设函数执行编辑的信号;在通过计算器应用界面的预设区域接收编辑指示信号之后,显示操作 提示信息,其中,操作提示信息为用于提示计算器应用对预设函数执行编辑的提示信息;根据操作提示信息对预设函数执行编辑,得到编辑函数。Further, performing editing on the preset function, and obtaining the editing function includes: receiving an edit indication signal by using a preset area of the calculator application interface, wherein the edit indication signal is a signal for instructing the calculator application to perform editing on the preset function; Display operation after receiving an edit indication signal through a preset area of the calculator application interface The prompt information, wherein the operation prompt information is prompt information for prompting the calculator to perform editing on the preset function; performing editing on the preset function according to the operation prompt information, and obtaining an edit function.
进一步地,在通过计算器应用界面的预设区域接收编辑指示信号之后,显示操作提示信息包括:显示复制提示信息和标识提示信息,其中,复制提示信息为用于提示对预设函数执行复制的信息,标识提示信息为用于提示对预设函数进行标识的信息,根据操作提示信息对预设函数执行编辑,得到编辑函数包括:通过复制提示信息对应的区域接收复制指示信号,得到预设函数的复制函数,其中,复制指示信号为用于指示计算器应用对预设函数执行复制的信号,或者,通过标识提示信息对应的区域接收标识指示信号,得到预设函数的标识函数,其中,标识指示信号为用于指示计算器应用对预设函数执行标识的信号。Further, after receiving the edit indication signal through the preset area of the calculator application interface, displaying the operation prompt information includes: displaying the copy prompt information and the identifier prompt information, wherein the copy prompt information is used for prompting to perform copying on the preset function. The information and the identifier information are information for prompting to identify the preset function, and performing editing on the preset function according to the operation prompt information, and obtaining the edit function includes: receiving the copy indication signal by the area corresponding to the copy prompt information, and obtaining the preset function a copy function, wherein the copy indication signal is a signal for instructing the calculator application to perform copying on the preset function, or receiving an identification indication signal by the area corresponding to the identifier information to obtain an identification function of the preset function, wherein the identifier The indication signal is a signal for instructing the calculator application to perform identification on the preset function.
进一步地,通过计算器应用界面的预设区域接收编辑指示信号包括:通过第一应用界面的预设区域接收编辑指示信号,其中,第一应用界面为用于计算器应用执行基础运算的界面,或者,通过第二应用界面的预设区域接收编辑指示信号,其中,第二应用界面为用于计算器应用执行科学运算的界面。Further, receiving the edit indication signal by using the preset area of the calculator application interface includes: receiving an edit indication signal by using a preset area of the first application interface, where the first application interface is an interface for performing a basic operation by the calculator application, Or receiving an edit indication signal through a preset area of the second application interface, where the second application interface is an interface for performing a scientific operation for the calculator application.
进一步地,从预设存储位置查询计算器应用的预设函数包括:从计算器应用以外的第一计算模块对应的存储位置查询预设函数。Further, querying the preset function of the calculator application from the preset storage location comprises: querying the preset function from a storage location corresponding to the first computing module other than the calculator application.
进一步地,根据编辑函数对目标运算数据执行运算,得到运算结果包括:发送编辑函数至计算器应用以外的第二计算模块,其中,第二计算模块对编辑函数和第二计算模块的目标运算数据执行运算,得到运算结果。Further, performing an operation on the target operation data according to the edit function, and obtaining the operation result includes: sending the edit function to the second calculation module other than the calculator application, wherein the second calculation module is to the edit function and the target operation data of the second calculation module Perform an operation to get the result of the operation.
进一步地,发送编辑函数至计算器应用以外的第二计算模块包括:发送预设函数的复制函数至计算器应用以外的第二计算模块,其中,第二计算模块通过接收复制函数的粘贴指示信号以获取复制函数,粘贴指示信号为用于指示第二计算模块获取复制函数的信号。Further, sending the edit function to the second calculation module other than the calculator application comprises: transmitting a copy function of the preset function to a second calculation module other than the calculator application, wherein the second calculation module receives the copy indication signal by the copy function To obtain the copy function, the paste indication signal is a signal for instructing the second calculation module to acquire the copy function.
进一步地,根据编辑函数对目标运算数据执行运算,得到运算结果包括:在计算器应用的预设运算界面显示编辑函数,其中,预设运算界面为用于显示运算数据的界面;在计算器应用的预设运算界面显示编辑函数之后,接收目标运算数据;对编辑函数和目标运算数据执行运算,得到函数运算结果和数值运算结果,其中,函数运算结果为目标运算数据通过编辑函数在运算过程中生成的函数,数值运算结果为目标运算数据通过编辑函数得到的计算结果。Further, performing an operation on the target operation data according to the editing function, and obtaining the operation result includes: displaying an edit function on a preset operation interface of the calculator application, wherein the preset operation interface is an interface for displaying the operation data; and the calculator application After the preset operation interface displays the editing function, the target operation data is received; the operation function is performed on the editing function and the target operation data, and the function operation result and the numerical operation result are obtained, wherein the function operation result is the target operation data through the edit function in the operation process. The generated function, the numerical operation result is the calculation result obtained by the target operation data through the edit function.
为了实现上述目的,根据本发明的另一方面,还提供了一种计算器应用的数据处理装置。该计算器应用的数据处理装置包括:查询单元,用于从预设存储位置查询计算器应用的预设函数,其中,预设函数为用于对计算器应用的运算数据执行运算的函 数;编辑单元,用于当从预设存储位置查询到计算器应用的预设函数时,对预设函数执行编辑,得到编辑函数;运算单元,用于根据编辑函数对目标运算数据执行运算,得到运算结果,其中,目标运算数据为待处理的运算数据。In order to achieve the above object, according to another aspect of the present invention, a data processing apparatus for a calculator application is also provided. The data processing device of the calculator application comprises: a query unit, configured to query a preset function of the calculator application from a preset storage location, wherein the preset function is a function for performing an operation on the operation data applied by the calculator The editing unit is configured to perform editing on the preset function to obtain an editing function when the preset function of the calculator application is queried from the preset storage location, and the operation unit is configured to perform an operation on the target operation data according to the editing function. The operation result is obtained, wherein the target operation data is the operation data to be processed.
进一步地,预设存储位置为计算器应用的预设数据库,该计算器应用的数据处理装置还包括:保存单元,用于在根据编辑函数对目标运算数据执行运算,得到运算结果之后,保存运算结果至预设数据库;显示单元,用于在历史记录界面显示预设数据库中的运算结果,其中,历史记录界面为用于显示计算器应用已经得到的运算结果的界面。Further, the preset storage location is a preset database of the calculator application, and the data processing device of the calculator application further includes: a saving unit, configured to perform an operation on the target operation data according to the editing function, and obtain the operation result, and then save the operation The result is a preset database; a display unit is configured to display an operation result in the preset database on the history record interface, wherein the history record interface is an interface for displaying an operation result that the calculator application has obtained.
进一步地,编辑单元包括:接收模块,用于通过计算器应用界面的预设区域接收编辑指示信号,其中,编辑指示信号为用于指示计算器应用对预设函数执行编辑的信号;显示模块,用于在通过计算器应用界面的预设区域接收编辑指示信号之后,显示操作提示信息,其中,操作提示信息为用于提示计算器应用对预设函数执行编辑的提示信息;编辑模块,用于根据操作提示信息对预设函数执行编辑,得到编辑函数。Further, the editing unit includes: a receiving module, configured to receive an edit indication signal by using a preset area of the calculator application interface, where the edit indication signal is a signal for instructing the calculator application to perform editing on the preset function; After receiving the edit indication signal through the preset area of the calculator application interface, the operation prompt information is displayed, wherein the operation prompt information is prompt information for prompting the calculator to perform editing on the preset function; the editing module is used for Editing the preset function according to the operation prompt information, and obtaining an edit function.
进一步地,显示模块用于显示复制提示信息和标识提示信息,其中,复制提示信息为用于提示对预设函数执行复制的信息,标识提示信息为用于提示对预设函数进行标识的信息,编辑模块用于通过复制提示信息对应的区域接收复制指示信号,得到预设函数的复制函数,其中,复制指示信号为用于指示计算器应用对预设函数执行复制的信号,或者,通过标识提示信息对应的区域接收标识指示信号,得到预设函数的标识函数,其中,标识指示信号为用于指示计算器应用对预设函数执行标识的信号。Further, the display module is configured to display the copy prompt information and the identifier prompt information, where the copy prompt information is information for prompting to perform copying on the preset function, and the identifier prompt information is information for prompting to identify the preset function. The editing module is configured to receive the copy indication signal by using the area corresponding to the copy prompt information to obtain a copy function of the preset function, where the copy indication signal is used to indicate that the calculator application performs a copy of the preset function, or The area corresponding to the information receives the identifier indication signal, and obtains an identification function of the preset function, wherein the identifier indication signal is a signal for instructing the calculator application to perform identification on the preset function.
通过本发明,采用从预设存储位置查询计算器应用的预设函数,预设函数为用于对计算器应用的运算数据执行运算的函数;当从预设存储位置查询到计算器应用的预设函数时,对预设函数执行编辑,得到编辑函数;根据编辑函数对目标运算数据执行运算,得到运算结果,目标运算数据为待处理的运算数据,解决了相关技术中计算器应用数据的可编辑性差的问题,进而达到了提高计算器应用数据的可编辑性的效果。Through the present invention, the preset function is used to query the calculator application from the preset storage location, and the preset function is a function for performing an operation on the operation data applied by the calculator; when the query is applied from the preset storage location to the calculator application When the function is set, the preset function is edited to obtain the edit function; the operation function is performed on the target operation data according to the edit function, and the operation result is obtained, and the target operation data is the operation data to be processed, and the calculator application data in the related art is solved. The problem of poor editorialism has the effect of improving the editability of the calculator application data.
附图说明DRAWINGS
构成本申请的一部分的附图用来提供对本发明的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings, which are incorporated in the claims In the drawing:
图1是根据本发明第一实施例的计算器应用的数据处理方法的流程图;1 is a flowchart of a data processing method of a calculator application according to a first embodiment of the present invention;
图2是根据本发明实施例的基础计算器应用界面的示意图;2 is a schematic diagram of a basic calculator application interface according to an embodiment of the present invention;
图3是根据本发明实施例的科学计算器应用界面的示意图; 3 is a schematic diagram of an scientific calculator application interface according to an embodiment of the present invention;
图4是根据本发明实施例的计算器应用界面的示意图;4 is a schematic diagram of a calculator application interface according to an embodiment of the present invention;
图5是根据本发明实施例的计算器应用的历史记录界面的示意图;FIG. 5 is a schematic diagram of a history recording interface of a calculator application according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的计算器应用的运算函数调入的示意图;6 is a schematic diagram of an operation function call-in of a calculator application according to an embodiment of the present invention;
图7是根据本发明实施例的计算器应用的运算函数调出的示意图;7 is a schematic diagram of an operation function callout of a calculator application according to an embodiment of the present invention;
图8是根据本发明第二实施例的计算器应用的数据处理方法的流程图;FIG. 8 is a flowchart of a data processing method of a calculator application according to a second embodiment of the present invention; FIG.
图9是根据本发明第三实施例的计算器应用的数据处理方法的流程图;9 is a flowchart of a data processing method of a calculator application according to a third embodiment of the present invention;
图10是根据本发明第四实施例的计算器应用的数据处理方法的流程图;以及10 is a flowchart of a data processing method of a calculator application according to a fourth embodiment of the present invention;
图11是根据本发明实施例的计算器应用的数据处理装置的示意图。11 is a schematic diagram of a data processing apparatus of a calculator application in accordance with an embodiment of the present invention.
具体实施方式detailed description
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本发明。It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is an embodiment of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope shall fall within the scope of the application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order. It should be understood that the data so used may be interchanged where appropriate to facilitate the embodiments of the present application described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
该实施例提供了一种计算器应用的数据处理方法。This embodiment provides a data processing method for a calculator application.
图1是根据本发明第一实施例的计算器应用的数据处理方法的流程图。如图1所示,该计算器应用的数据处理方法包括以下步骤:1 is a flow chart of a data processing method of a calculator application according to a first embodiment of the present invention. As shown in FIG. 1, the data processing method of the calculator application includes the following steps:
步骤S101,从预设存储位置查询计算器应用的预设函数。Step S101: Query a preset function of the calculator application from the preset storage location.
计算器应用为终端上的计算应用,用于对运算数据进行数学运算,其中,该运算 数据包括数值和数学运算符。通过计算器应用可以将数值通过数学运算符进行运算,进而得到计算结果,比如,手机上的计算器应用、电脑上的计算器应用等。The calculator application is a computing application on the terminal for performing mathematical operations on the operational data, wherein the operation The data includes numerical values and mathematical operators. Through the calculator application, the values can be calculated by mathematical operators to obtain calculation results, such as a calculator application on a mobile phone, a calculator application on a computer, and the like.
该运算可以为基础计算器所实现的数学基础运算,比如,将数值进行加、减、乘、除等运算,该运算还可以为科学计算器所实现的科学运算,比如,乘方、开方、指数、对数、三角函数、统计等方面的运算。预设函数为用于对计算器应用的运算数据执行运算的函数,为在已经存储在预设存储位置,并在计算器应用本次执行计算的过程中可以直接调用的计算器应用数据。预设存储位置可以为计算器应用存储数据的数据库,也可以是除了该计算器应用以外的其它计算模块所对应的数据存储位置。预设存储位置存储多个函数,多个函数以列表的形式显示在计算器应用的界面上。对于计算器应用本次执行应用,只需要预设存储位置中的一个或者多个函数,该预设存储位置中的一个或者多个函数为本次计算器应用的预设函数,从预设存储位置查询计算器应用的预设函数。用户终端可以通过操作计算器应用,向计算器应用发送查询命令,进而从计算器应用界面上所显示的函数中定位到预设函数,通过对预设函数进行操作,使计算器应用获取到该预设函数。The operation can be a mathematical basic operation realized by the basic calculator, for example, adding, subtracting, multiplying, and dividing the numerical value, and the operation can also be a scientific operation realized by a scientific calculator, for example, a square or a square root , indexes, logarithms, trigonometric functions, statistics, etc. The preset function is a function for performing an operation on the operation data of the calculator application, and is a calculator application data that can be directly called in the process of being stored in the preset storage location and applying the calculation in the calculator application. The preset storage location may be a database in which the calculator applies the stored data, or may be a data storage location corresponding to the computing module other than the calculator application. The preset storage location stores multiple functions, and multiple functions are displayed in a list on the interface of the calculator application. For the calculator application to execute the application, only one or more functions in the preset storage location are needed, and one or more functions in the preset storage location are preset functions of the calculator application, from the preset storage. The default function applied by the location query calculator. The user terminal can send a query command to the calculator application by operating the calculator application, and then locate the preset function from the function displayed on the calculator application interface, and operate the preset function to enable the calculator application to obtain the Preset function.
步骤S102,当从预设存储位置查询到计算器应用的预设函数时,对预设函数执行编辑,得到编辑函数。Step S102, when the preset function of the calculator application is queried from the preset storage location, the editing is performed on the preset function to obtain an editing function.
当从预设存储位置查询计算器应用的预设函数时,对预设函数执行编辑,得到编辑函数。比如,对预设函数执行复制,得到预设函数的复制函数,该复制函数为编辑函数,可以粘贴至其它的位置,也可以为对预设函数执行标识,进而得到预设函数的标识函数,该标识函数为编辑函数,可以通过颜色或者图标进行显示,从而与其它函数区分开,从而实现了对计算器应用数据的编辑。When the preset function of the calculator application is queried from the preset storage location, editing is performed on the preset function to obtain an edit function. For example, performing a copy on the preset function to obtain a copy function of the preset function, the copy function being an edit function, which can be pasted to other locations, or performing an identification on the preset function, thereby obtaining an identification function of the preset function. The identification function is an editing function, which can be displayed by color or icon to distinguish it from other functions, thereby realizing editing of the calculator application data.
可选地,对预设函数执行编辑,可以为对预设函数中的数值或者运算符进行重新输入,获得与原预设函数不一样的函数,以符合当前计算器应用的计算要求,提供了计算器应用数据的可编辑性。Optionally, performing editing on the preset function may re-enter the value or the operator in the preset function to obtain a function different from the original preset function, so as to meet the calculation requirements of the current calculator application, and providing The editability of the calculator application data.
步骤S103,根据编辑函数对目标运算数据执行运算,得到运算结果。In step S103, an operation is performed on the target operation data according to the edit function, and the operation result is obtained.
在对预设函数执行编辑,得到编辑函数之后,根据编辑函数对目标运算数据执行运算,得到运算结果,其中,目标运算数据为待处理的运算数据。比如,在对预设函数执行复制,得到复制函数之后,将复制函数粘贴至其它的运算数据处理模块,在其它的运算数据处理模块中,目标运算数据通过该复制函数执行运算,得到运算结果。如果在对预设函数执行标识,得到标识函数之后,通过该标识函数对目标运算数据执行运算,得到运算结果。其中,运算结果可以为根据编辑函数对目标运算数据执行运算的运算函数结果,也可以为数值结果。 After the editing is performed on the preset function to obtain the editing function, the operation is performed on the target operation data according to the editing function, and the operation result is obtained, wherein the target operation data is the operation data to be processed. For example, after performing copying on the preset function and obtaining the copy function, the copy function is pasted to another arithmetic data processing module, and in other arithmetic data processing modules, the target operational data is subjected to the operation through the copy function, and the operation result is obtained. If the identification function is performed on the preset function and the identification function is obtained, the operation result is performed on the target operation data by the identification function, and the operation result is obtained. The operation result may be an operation function result of performing an operation on the target operation data according to the edit function, or may be a numerical result.
本发明实施例通过从预设存储位置查询计算器应用的预设函数,预设函数为用于对计算器应用的运算数据执行运算的函数;当从预设存储位置查询到计算器应用的预设函数时,对预设函数执行编辑,得到编辑函数;根据编辑函数对目标运算数据执行运算,得到运算结果,目标运算数据为待处理的运算数据,从而提高了计算器应用数据的可编辑性。The embodiment of the present invention queries the preset function of the calculator application from the preset storage location, and the preset function is a function for performing an operation on the operation data applied by the calculator; when the query is applied from the preset storage location to the calculator application When the function is set, the preset function is edited to obtain the edit function; the operation function is performed on the target operation data according to the edit function, and the operation result is obtained, and the target operation data is the operation data to be processed, thereby improving the editability of the calculator application data. .
作为一种可选的实施方式,预设存储位置为计算器应用的预设数据库,在根据编辑函数对目标运算数据执行运算,得到运算结果之后,保存运算结果至预设数据库;在历史记录界面显示预设数据库中的运算结果,其中,历史记录界面为用于显示计算器应用已经得到的运算结果的界面。As an optional implementation manner, the preset storage location is a preset database of the calculator application, and the operation is performed on the target operation data according to the editing function, and after the operation result is obtained, the operation result is saved to the preset database; The operation result in the preset database is displayed, wherein the history interface is an interface for displaying the operation result that the calculator application has obtained.
可选地,计算器应用具有预设数据库,该预设数据库可以存储计算器应用在每一次运算过程中的运算结果,该运算结果通过计算器应用的历史记录界面以列表的形式显示,可以对计算器应用的每一次运算结果在列表中显示的顺序进行设置,比如,将最新的运算结果显示在最上面,也可以将最新的运算结果显示在最下面,也可以对历史记录界面中的运算结果按条件进行搜索。在根据编辑函数对目标运算数据执行运算,得到运算结果之后,自动保存该运算结果至计算器应用的预设数据库,同时在历史记录界面显示预设数据库中的运算结果,使用户终端可以清楚地了解到计算器应用所存储的运算结果。当计算器应用在下次对运算数据执行运算时,可以从历史记录界面选择需要调用的运算结果,将调用的运算结果确定为预设函数。在对多位数的运算结果时,计算器应用可以将该多位数的运算结果进行保存,使用户终端下次直接调用,而不需要用户终端刻意去记忆该多位数的运算结果,提高了用户终端的体验性能。Optionally, the calculator application has a preset database, and the preset database may store the operation result of the calculator application in each operation process, and the operation result is displayed in the form of a list through the history interface of the calculator application, and may be The result of each calculation of the calculator application is set in the order displayed in the list, for example, the latest operation result is displayed at the top, and the latest operation result can be displayed at the bottom, or the operation in the history interface. The result is searched by criteria. After performing the operation on the target operation data according to the editing function, after obtaining the operation result, the operation result is automatically saved to the preset database of the calculator application, and the operation result in the preset database is displayed on the history record interface, so that the user terminal can clearly Learn about the results of the operations stored in the calculator application. When the calculator application performs the operation on the operation data next time, the operation result to be called may be selected from the history interface, and the called operation result is determined as the preset function. In the case of multi-digit operation results, the calculator application can save the multi-digit operation result, so that the user terminal can directly call the next time, without requiring the user terminal to deliberately memorize the multi-digit operation result, and improve The experience performance of the user terminal.
该实施例通过在根据编辑函数对目标运算数据执行运算,得到运算结果之后,保存运算结果至预设数据库;在历史记录界面显示预设数据库中的运算结果,从而实现了对运算结果的保存。In this embodiment, after the operation result is performed on the target operation data according to the edit function, the operation result is saved to the preset database; the operation result in the preset database is displayed on the history record interface, thereby realizing the preservation of the operation result.
作为一种可选的实施方式,对预设函数执行编辑,得到编辑函数包括:通过计算器应用界面的预设区域接收编辑指示信号,其中,编辑指示信号为用于指示计算器应用对预设函数执行编辑的信号;在通过计算器应用界面的预设区域接收编辑指示信号之后,显示操作提示信息,其中,操作提示信息为用于提示计算器应用对预设函数执行编辑的提示信息;根据操作提示信息对预设函数执行编辑,得到编辑函数。As an optional implementation manner, performing editing on the preset function, and obtaining the editing function includes: receiving an edit indication signal by using a preset area of the calculator application interface, where the edit indication signal is used to indicate that the calculator applies the preset The function performs the editing signal; after receiving the editing indication signal through the preset area of the calculator application interface, the operation prompt information is displayed, wherein the operation prompt information is prompt information for prompting the calculator to perform editing on the preset function; The operation prompt information performs editing on the preset function to obtain an edit function.
可选地,用户终端触控计算器应用界面的预设区域,该预设区域可以为计算器应用界面上的键盘区域的具体按键,也可以为显示屏上的区域,比如,用户终端直接触控该预设函数对应的界面的区域,产生编辑指示信号。用户终端触控计算器的应用界面可以通过单击、双击、或者在该预设位置长按预设时间的方式触控计算器应用界面。在该预设函数对应的界面的区域接收到该编辑指示信号之后,在该预设函数对应的界 面上显示操作提示信息,比如,显示“复制”提示信息,该“复制”提示信息用于指示对该预设函数进行复制,显示“标识”提示信息,该“标识”提示信息用于指示对该预设函数进行标识。用户终端根据该操作提示信息选择对预设函数执行的操作,从而使计算器应用根据操作提示信息对预设函数执行编辑,得到复制函数的编辑函数,或者得到标识函数的编辑函数。Optionally, the user terminal touches a preset area of the calculator application interface, where the preset area may be a specific button of a keyboard area on the calculator application interface, or may be an area on the display screen, for example, the user terminal directly contacts The area of the interface corresponding to the preset function is controlled to generate an edit indication signal. The application interface of the user terminal touch calculator can touch the calculator application interface by clicking, double-clicking, or long-pressing the preset time at the preset position. After receiving the edit indication signal in the area of the interface corresponding to the preset function, the boundary corresponding to the preset function The operation prompt information is displayed on the surface, for example, the “copy” prompt information is displayed, and the “copy” prompt information is used to indicate that the preset function is copied, and the “identification” prompt information is displayed, and the “identification” prompt information is used to indicate the pair. The preset function is identified. The user terminal selects an operation performed on the preset function according to the operation prompt information, so that the calculator application performs editing on the preset function according to the operation prompt information, obtains an edit function of the copy function, or obtains an edit function of the identification function.
该实施例通过计算器应用界面的预设区域接收编辑指示信号,然后显示操作提示信息,再根据操作提示信息对预设函数执行编辑,得到编辑函数,提高了计算器应用数据的可编辑性。The embodiment receives the edit indication signal through the preset area of the calculator application interface, and then displays the operation prompt information, and then performs editing on the preset function according to the operation prompt information to obtain an edit function, which improves the editability of the calculator application data.
作为一种可选的实施方式,在通过计算器应用界面的预设区域接收编辑指示信号之后,显示操作提示信息包括:显示复制提示信息和标识提示信息,其中,复制提示信息为用于提示对预设函数执行复制的信息,标识提示信息为用于提示对预设函数进行标识的信息,根据操作提示信息对预设函数执行编辑,得到编辑函数包括:通过复制提示信息对应的区域接收复制指示信号,得到预设函数的复制函数,其中,复制指示信号为用于指示计算器应用对预设函数执行复制的信号,或者,通过标识提示信息对应的区域接收标识指示信号,得到预设函数的标识函数,其中,标识指示信号为用于指示计算器应用对预设函数执行标识的信号。As an optional implementation manner, after receiving the edit indication signal by using the preset area of the calculator application interface, displaying the operation prompt information includes: displaying the copy prompt information and the identifier prompt information, wherein the copy prompt information is used for prompting the pair The preset function performs the copied information, and the identifier prompt information is information for prompting to identify the preset function, and performs editing on the preset function according to the operation prompt information, and the obtained edit function includes: receiving the copy indication by copying the area corresponding to the prompt information. a signal, a copy function of the preset function is obtained, wherein the copy indication signal is a signal for instructing the calculator application to perform copying on the preset function, or the identifier indication signal is received by the area corresponding to the identifier information to obtain a preset function. An identification function, wherein the identification indication signal is a signal for instructing the calculator application to perform identification on the preset function.
可选地,在通过计算器应用界面的预设区域接收编辑指示信号之后,可以同时显示复制提示信息和标识提示信息。当用户终端触控复制提示信息对应的界面的区域时,产生复制指示信号,在该预设函数对应的界面的区域接收到该复制指示信号之后,计算器应用对预设函数执行复制,得到预设函数的复制函数。当用户终端触控标识提示信息对应的界面的区域时,产生标识指示信号,在该预设函数对应的界面的区域接收到该标识指示信号之后,计算器应用对预设函数执行标识,可以通过颜色或者图标对预设函数进行标识,得到预设函数的标识函数。Optionally, after receiving the edit indication signal through the preset area of the calculator application interface, the copy prompt information and the identifier prompt information may be simultaneously displayed. When the user terminal touches the area of the interface corresponding to the copy prompt information, a copy indication signal is generated, and after receiving the copy indication signal in the area corresponding to the interface corresponding to the preset function, the calculator applies the copy to the preset function to obtain a pre- Set the function's copy function. When the user terminal touches the area of the interface corresponding to the prompt information, the identifier indication signal is generated. After receiving the identifier indication signal in the area corresponding to the interface corresponding to the preset function, the calculator applies the identifier to the preset function, which can be The color or icon identifies the preset function and obtains the identification function of the preset function.
该实施例显示复制提示信息和标识提示信息,通过复制提示信息对应的区域接收复制指示信号,得到预设函数的复制函数,或者,通过标识提示信息对应的区域接收标识指示信号,得到预设函数的标识函数,提高了计算器应用数据的可编辑性。In this embodiment, the copy prompt information and the identifier prompt information are displayed, and the copy indication signal is received by the area corresponding to the copy prompt information to obtain a copy function of the preset function, or the identifier indication signal is received by the area corresponding to the identifier information to obtain a preset function. The identification function improves the editability of the calculator application data.
作为一种可选的实施方式,通过计算器应用界面的预设区域接收编辑指示信号包括:通过第一应用界面的预设区域接收编辑指示信号,其中,第一应用界面为用于计算器应用执行基础运算的界面,或者,通过第二应用界面的预设区域接收编辑指示信号,其中,第二应用界面为用于计算器应用执行科学运算的界面。As an optional implementation manner, receiving the edit indication signal by using the preset area of the calculator application interface includes: receiving an edit indication signal by using a preset area of the first application interface, where the first application interface is used for a calculator application An interface for performing a basic operation, or receiving an edit indication signal through a preset area of the second application interface, wherein the second application interface is an interface for performing a scientific operation for the calculator application.
可选地,计算器应用界面包括第一应用界面和第二应用界面。第一应用界面可以对计算器应用执行基础运算,比如,将数值进行加、减、乘、除等运算,实现基础计 算器应用的功能。第二应用界面可以对计算器应用执行科学运算,比如,乘方、开方、指数、对数、三角函数、统计等方面的运算,实现科学计算器应用的功能。通过第一应用界面的预设区域接收编辑指示信号,或者通过第二应用界面的预设区域接收编辑指示信号,第一应用界面和第二应用界面可以进行切换,满足运算数据的计算要求。Optionally, the calculator application interface includes a first application interface and a second application interface. The first application interface can perform basic operations on the calculator application, for example, adding, subtracting, multiplying, and dividing the values to implement the basic calculation. The function of the calculator application. The second application interface can perform scientific operations on the calculator application, such as operations on squares, squares, indices, logarithms, trigonometric functions, statistics, etc., to implement the functions of the scientific calculator application. Receiving the edit indication signal through the preset area of the first application interface, or receiving the edit indication signal through the preset area of the second application interface, the first application interface and the second application interface may be switched to meet the calculation requirement of the operation data.
该实施例通过第一应用界面的预设区域接收编辑指示信号,或者通过第二应用界面的预设区域接收编辑指示信号,从而实现计算器应用数据的编辑,完善了计算器应用的多样性和完整性,从而提高了用户终端的体验性能。The embodiment receives the edit indication signal through the preset area of the first application interface, or receives the edit indication signal through the preset area of the second application interface, thereby implementing the editing of the calculator application data, and improving the diversity of the application of the calculator and Integrity, which improves the performance of the user terminal.
作为一种可选的实施方式,从预设存储位置查询计算器应用的预设函数包括:从计算器应用以外的第一计算模块对应的存储位置查询预设函数。As an optional implementation manner, querying the preset function of the calculator application from the preset storage location includes: querying the preset function from a storage location corresponding to the first computing module other than the calculator application.
可选地,预设存储位置存储有预设函数,预设存储位置可以为计算器应用自身的数据库,也可以是除了计算器应用以外的第一计算模块对应的存储位置,从第一计算模块对应的存储位置查询预设函数,进而将该预设函数粘贴至该计算器应用,从而使计算器应用与外界的计算模块打通。Optionally, the preset storage location stores a preset function, where the preset storage location may be a database of the calculator application itself, or may be a storage location corresponding to the first computing module except the calculator application, from the first computing module. The corresponding storage location queries the preset function, and then pastes the preset function into the calculator application, so that the calculator application is opened to the external computing module.
该实施例从计算器应用以外的第一计算模块对应的存储位置查询预设函数,实现了从外界的计算模块调入预设函数,大大提高了运算数据的可利用性和高效性。In this embodiment, the preset function is queried from the storage location corresponding to the first computing module other than the calculator application, and the preset function is transferred from the external computing module, which greatly improves the availability and high efficiency of the computing data.
作为一种可选的实施方式,根据编辑函数对目标运算数据执行运算,得到运算结果包括:发送编辑函数至计算器应用以外的第二计算模块,其中,第二计算模块对编辑函数和第二计算模块的目标运算数据执行运算,得到运算结果。As an optional implementation manner, performing an operation on the target operation data according to the editing function, and obtaining the operation result includes: sending an edit function to a second calculation module other than the calculator application, wherein the second calculation module pairs the edit function and the second The target operation data of the calculation module performs an operation to obtain an operation result.
可选地,计算器应用可以将编辑函数发送至计算器应用以外的第二计算模块,该第二计算模块可以为与计算器应用具有相同功能的应用,使第二计算模块完成对目标运算数据的运算,从而使计算器应用与外界打通。Optionally, the calculator application may send the editing function to a second computing module other than the calculator application, where the second computing module may be an application having the same function as the calculator application, and the second computing module completes the target computing data. The calculations, so that the calculator application is open to the outside world.
该实施例发送编辑函数至计算器应用以外的第二计算模块,第二计算模块对编辑函数和第二计算模块的目标运算数据执行运算,得到运算结果,实现了对预设函数的调出,大大提高了运算数据的可利用性和高效性。The embodiment sends an editing function to a second computing module other than the calculator application, and the second computing module performs an operation on the editing function and the target computing data of the second computing module to obtain an operation result, thereby realizing the calling of the preset function. Greatly improve the availability and efficiency of computing data.
作为一种可选的实施方式,发送编辑函数至计算器应用以外的第二计算模块包括:发送预设函数的复制函数至计算器应用以外的第二计算模块,其中,第二计算模块通过接收复制函数的粘贴指示信号以获取复制函数,粘贴指示信号为用于指示第二计算模块获取复制函数的信号。As an optional implementation manner, sending the editing function to the second computing module other than the calculator application comprises: transmitting a copy function of the preset function to a second computing module other than the calculator application, wherein the second computing module receives the The paste instruction signal of the copy function is used to obtain a copy function, and the paste indication signal is a signal for instructing the second calculation module to acquire the copy function.
可选地,用户终端根据复制提示信息对复制提示信息对应的区域进行触控,使计算器应用得到预设函数的复制函数,可以对该复制函数进行粘贴,第二计算模块通过接收复制函数的粘贴指示信号,从而获取到复制函数,第二计算模块根据该复制函数 对目标运算数据执行运算,得到运算结果,从而使计算器应用与外界打通。Optionally, the user terminal touches the area corresponding to the copy prompt information according to the copy prompt information, so that the calculator application obtains a copy function of the preset function, and the copy function may be pasted, and the second calculation module receives the copy function by receiving the copy function. Pasting the indication signal to obtain the copy function, and the second calculation module according to the copy function Perform an operation on the target operation data to obtain the operation result, so that the calculator application can be opened to the outside world.
该实施例通过发送预设函数的复制函数至计算器应用以外的第二计算模块,第二计算模块通过接收复制函数的粘贴指示信号以获取复制函数,大大提高了运算数据的可利用性和高效性。In this embodiment, by transmitting a copy function of the preset function to a second calculation module other than the calculator application, the second calculation module obtains the copy function by receiving the paste indication signal of the copy function, thereby greatly improving the availability and efficiency of the operation data. Sex.
作为一种可选的实施方式,根据编辑函数对目标运算数据执行运算,得到运算结果包括:在计算器应用的预设运算界面显示编辑函数,其中,预设运算界面为用于显示运算数据的界面;在计算器应用的预设运算界面显示编辑函数之后,接收目标运算数据;对编辑函数和目标运算数据执行运算,得到函数运算结果和数值运算结果,其中,函数运算结果为目标运算数据通过编辑函数在运算过程中生成的函数,数值运算结果为目标运算数据通过编辑函数得到的计算结果。As an optional implementation manner, performing an operation on the target operation data according to the editing function, and obtaining the operation result includes: displaying an edit function on a preset operation interface of the calculator application, wherein the preset operation interface is used for displaying the operation data. Interface; after displaying the editing function in the preset operation interface of the calculator application, receiving the target operation data; performing an operation on the editing function and the target operation data to obtain a function operation result and a numerical operation result, wherein the function operation result is the target operation data passing Edit the function generated by the function in the operation process. The result of the numerical operation is the calculation result obtained by the target operation data through the edit function.
可选地,在获取复制函数之后,将复制函数粘贴在计算器应用的预设运算界面进行显示;在计算器应用的预设运算界面显示复制函数之后,接收目标运算数据,目标运算数据可以是数值,也可以是数学运算符号,也可以是重新输入的函数;对复制函数和目标运算数据执行运算,得到函数运算结果和数值运算结果,可以将该函数运算结果和数值运算结果保存在计算器应用的预设数据库中,以方便对运算结果的记录和下次调用。Optionally, after the copy function is obtained, the copy function is pasted on the preset operation interface of the calculator application for display; after the copy function is displayed on the preset operation interface of the calculator application, the target operation data is received, and the target operation data may be The numerical value can also be a mathematical operation symbol or a function that is re-entered; an operation is performed on the copy function and the target operation data to obtain a function operation result and a numerical operation result, and the function operation result and the numerical operation result can be saved in the calculator. The application's default database is used to facilitate the recording of the results of the operation and the next call.
该实施例在计算器应用的预设运算界面显示编辑函数,然后接收目标运算数据,再对编辑函数和目标运算数据执行运算,得到函数运算结果和数值运算结果,提高了计算器应用数据的可编辑性。In this embodiment, the editing function is displayed on the preset operation interface of the calculator application, and then the target operation data is received, and then the operation is performed on the editing function and the target operation data to obtain the function operation result and the numerical operation result, thereby improving the application data of the calculator. Editability.
下面结合优选的实施例对本发明的技术方案进行说明。The technical solution of the present invention will be described below in conjunction with preferred embodiments.
图2是根据本发明实施例的基础计算器应用界面的示意图。如图2所示,该基础计算器应用为计算器应用的一部分,包括显示区域和键盘区域,显示区域和键盘区域以竖屏形式显示在计算器应用界面。其中,显示区域位于键盘区域的上方,可以显示基础计算器应用在执行运算过程中的数据,并可以接收对基础计算器应用的操作信号。键盘区域包括多个功能按键,该功能按键可以实现基础计算器应用的按键的功能,用户终端可以触控该功能按键以向基础计算器发送操作信号。可选地,用户终端通过操作键盘区域,将操作的结果以及在操作过程中的信息显示在显示区域,通过基础计算器应用来确保计算器应用的运算函数的完整性。2 is a schematic diagram of a base calculator application interface in accordance with an embodiment of the present invention. As shown in FIG. 2, the basic calculator application is part of a calculator application, including a display area and a keyboard area, and the display area and the keyboard area are displayed in a vertical screen on the calculator application interface. Wherein, the display area is located above the keyboard area, and can display the data that the basic calculator applies during the execution of the operation, and can receive the operation signal applied to the basic calculator. The keyboard area includes a plurality of function buttons, which can implement the function of the button of the basic calculator application, and the user terminal can touch the function button to send an operation signal to the base calculator. Optionally, the user terminal displays the result of the operation and the information during the operation in the display area by operating the keyboard area, and ensures the integrity of the calculation function of the calculator application through the basic calculator application.
图3是根据本发明实施例的科学计算器应用界面的示意图。如图3所示,该科学计算器应用为计算器应用的一部分,包括显示区域和键盘区域,显示区域和键盘区域以横屏形式显示在计算器应用界面。其中,显示区域位于键盘区域的上方,可以显示科学计算器应用在执行运算过程中的数据,并可以接收对科学计算器应用的操作信号。 键盘区域包括多个功能按键,该功能按键可以实现科学计算器应用的按键的功能,用户终端可以触控该功能按键以向科学计算器发送操作信号。可选地,用户终端通过操作键盘区域,将操作的结果以及在操作过程中的信息显示在显示区域,通过科学计算器应用来确保计算器应用的运算函数的完整性,科学计算器可以和基础计算器之间进行灵活地切换。3 is a schematic diagram of a scientific calculator application interface in accordance with an embodiment of the present invention. As shown in FIG. 3, the scientific calculator is applied as part of the calculator application, including a display area and a keyboard area, and the display area and the keyboard area are displayed in a horizontal screen on the calculator application interface. The display area is located above the keyboard area, and can display data used by the scientific calculator to perform the operation process, and can receive an operation signal applied to the scientific calculator. The keyboard area includes a plurality of function buttons, which can realize the function of the button of the scientific calculator application, and the user terminal can touch the function button to send an operation signal to the scientific calculator. Optionally, the user terminal displays the result of the operation and the information during the operation in the display area by operating the keyboard area, and ensures the integrity of the calculation function of the calculator application through the scientific calculator application, and the scientific calculator can and the basis Flexible switching between calculators.
图4是根据本发明实施例的计算器应用界面的示意图。如图4所示,该计算器界面包括显示区域和按键区域,显示区域包括历史记录图标,历史记录图标为接收打开历史记录界面的指示信号的区域,显示区域位于键盘区域的上方。其中,历史记录界面为用于显示计算器应用已经得到的运算结果的界面,历史记录界面的指示信号为指示计算器应用打开历史记录界面的信号。用户终端触控历史记录图标对应的区域,产生打开历史记录界面的指示信号,计算器应用在接收到该打开历史记录界面的指示信号之后,打开历史记录界面。4 is a schematic diagram of a calculator application interface in accordance with an embodiment of the present invention. As shown in FIG. 4, the calculator interface includes a display area and a button area, the display area includes a history icon, and the history icon is an area for receiving an indication signal for opening the history interface, and the display area is located above the keyboard area. The history record interface is an interface for displaying an operation result that has been obtained by the calculator application, and the indication signal of the history record interface is a signal indicating that the calculator application opens the history record interface. The area corresponding to the touch history icon of the user terminal generates an indication signal for opening the history record interface, and the calculator application opens the history record interface after receiving the indication signal of the open history record interface.
图5是根据本发明实施例的计算器应用的历史记录界面的示意图。如图5所示,历史记录界面为用于显示计算器应用已经得到的运算结果的界面,包括已经得到的运算函数和运算的数值结果。多个运算结果以列表的形式显示在计算器应用的界面,可以以时间的先后顺序在列表上进行显示,比如,列表的最上面始终显示最新的运算结果,每一条运算结果可以进行删除、复制等编辑操作。用户终端根据历史记录界面查询到将要调用的运算结果,该将要调用的运算结果为预设函数,预设函数可以用到该计算器应用中对目标运算数据执行运算,也可以调入到除该计算器应用以外的其它计算模块中对目标运算数据执行运算。通过历史记录界面也可以查询到位数较多,难以记忆的运算结果,从而方便了用户终端对计算器应用的历史记录结果的查询和调用,减少了用户的记忆负担。5 is a schematic diagram of a history recording interface of a calculator application in accordance with an embodiment of the present invention. As shown in FIG. 5, the history interface is an interface for displaying the operation result that the calculator application has obtained, including the numerical results of the obtained operation function and operation. Multiple calculation results are displayed in the form of a list on the calculator application interface, and can be displayed on the list in time order. For example, the top of the list always displays the latest operation result, and each operation result can be deleted and copied. Wait for editing operations. The user terminal queries the operation result to be called according to the history record interface, and the operation result to be called is a preset function, and the preset function can be used in the calculator application to perform an operation on the target operation data, or can be transferred to the An operation is performed on the target operation data in a calculation module other than the calculator application. Through the history interface, it is also possible to query the operation result with a large number of bits and difficult to memorize, thereby facilitating the query and call of the history record result of the calculator application by the user terminal, thereby reducing the memory burden of the user.
图6是根据本发明实施例的计算器应用的运算函数调入的示意图。如图6所示,在计算器应用从预设存储位置查询到计算器应用的预设函数之后,可以对预设函数执行复制操作,再在计算器显示区域的复制、粘贴区域粘贴该预设函数,并将其显示出来,从而实现计算器应用与外界打通,将运算函数调入计算器应用的目的。在将运算函数调入计算器应用之后,用户终端通过键盘区域输入目标运算数据,计算器应用对编辑函数和目标运算数据执行运算,得到函数运算结果和数值运算结果,函数运算结果为目标运算数据通过编辑函数在运算过程中生成的函数,数值运算结果为目标运算数据通过编辑函数得到的计算结果。6 is a schematic diagram of an arithmetic function call-in of a calculator application in accordance with an embodiment of the present invention. As shown in FIG. 6, after the calculator application queries the preset function of the calculator application from the preset storage location, the copy function may be performed on the preset function, and then the preset is pasted in the copy and paste area of the calculator display area. The function, and display it, to achieve the purpose of the calculator application and the outside world, the operation function is transferred to the calculator application. After the operation function is transferred to the calculator application, the user terminal inputs the target operation data through the keyboard area, and the calculator application performs an operation on the edit function and the target operation data to obtain a function operation result and a numerical operation result, and the function operation result is the target operation data. By editing the function generated by the function in the operation process, the numerical operation result is the calculation result obtained by the target operation data through the edit function.
图7是根据本发明实施例的计算器应用的运算函数调出的示意图。如图7所示,在历史记录界面显示复制提示信息“复制”和标识提示信息“标识”。复制提示信息“复制”和标识提示信息“标识”在历史记录界面对应的区域为预设函数的复制、标识区 域。用户终端触控复制提示信息对应的区域对预设函数执行复制,将该复制函数发送至计算器应用以外的其它计算模块,计算器应用以外的其它计算模块通过接收粘贴指示信号以获取该复制函数,其中,粘贴指示信号为用于指示第二计算模块获取复制函数的信号。用户终端触控标识提示信息对应的区域对预设函数执行标识,可以对该预设函数通过图标、颜色等进行标识,以使用户终端快速定位到该预设函数,对该预设函数进行调用。7 is a schematic diagram of an operation function callout of a calculator application in accordance with an embodiment of the present invention. As shown in FIG. 7, the copy prompt information "Copy" and the identification prompt information "Identification" are displayed on the history interface. Copying the prompt information "Copy" and the identification prompt information "Identification" in the area corresponding to the history interface is the copying and identification area of the preset function. area. The area corresponding to the touch prompt information of the user terminal performs copying on the preset function, and the copy function is sent to other computing modules other than the calculator application, and other computing modules other than the calculator application obtain the copy function by receiving the paste indication signal. Wherein the paste indication signal is a signal for instructing the second calculation module to acquire the copy function. The area corresponding to the touch identifier information of the user terminal performs an identifier on the preset function, and the preset function is identified by an icon, a color, and the like, so that the user terminal quickly locates the preset function, and the preset function is called. .
图8是根据本发明第二实施例的计算器应用的数据处理方法的流程图。如图8所示,该计算器应用的数据处理方法包括以下步骤:FIG. 8 is a flowchart of a data processing method of a calculator application according to a second embodiment of the present invention. As shown in FIG. 8, the data processing method of the calculator application includes the following steps:
步骤S801,获取运算结果。Step S801, obtaining an operation result.
在计算器应用对当前的目标运算数据执行运算之后,得到函数结果和数值结果,该函数结果为计算器应用对目标运算数据执行时产生的函数,该数值结果为对目标运算数据进行运算最终产生的结果。After the calculator application performs an operation on the current target operation data, a function result and a numerical result are obtained, and the result of the function is a function generated when the calculator application executes the target operation data, and the numerical result is an operation for the target operation data to be finally generated. the result of.
步骤S802,对运算结果自动保存。In step S802, the operation result is automatically saved.
在获取运算结果之后,对运算结果自动进行保存,从而实现了对运算结果进行保存的目的,方便用户终端对该运算结果的查看,使用户终端不用刻意去记忆运算结果,也提高了运算结果在再次使用时的准确性。After obtaining the operation result, the operation result is automatically saved, thereby realizing the purpose of saving the operation result, facilitating the user terminal to view the operation result, so that the user terminal does not intentionally memorize the operation result, and also improves the operation result. Accuracy when used again.
步骤S803,显示历史记录界面。Step S803, displaying a history recording interface.
在对运算结果进行自动保存之后,显示历史记录界面,该历史记录界面为用于显示计算器应用已经得到的运算结果的界面,该运算结果显示在历史记录界面上的列表中。After the operation result is automatically saved, a history interface is displayed, which is an interface for displaying the operation result that the calculator application has obtained, and the operation result is displayed in the list on the history interface.
步骤S804,对预设函数显示操作提示信息。Step S804, displaying operation prompt information for the preset function.
通过计算器应用界面的预设区域接收编辑指示信号,该编辑指示信号为用于指示计算器应用对预设函数执行编辑的信号。用户终端确定已保存的运算结果为预设函数,触控历史记录界面上的列表中的预设函数对应的位置,从而产生编辑指示信号。在计算器应用界面接收到编辑指示信号之后,计算器应用界面显示操作提示信息,该操作提示信息为用于提示计算器应用对预设函数执行编辑的提示信息,包括复制提示信息和标识提示信息。An edit indication signal is received through a preset area of the calculator application interface, the edit indication signal being a signal for instructing the calculator application to perform editing on the preset function. The user terminal determines that the saved operation result is a preset function, and the location corresponding to the preset function in the list on the touch history interface, thereby generating an edit indication signal. After receiving the editing indication signal on the calculator application interface, the calculator application interface displays the operation prompt information, where the operation prompt information is prompt information for prompting the calculator to perform editing on the preset function, including copying prompt information and identification prompt information. .
步骤S805,将运算结果复制,调出计算器模块使用。In step S805, the operation result is copied, and the calculator module is used.
在计算器应用界面显示操作提示信息之后,用户终端可以根据复制提示信息触控复制提示信息对应的区域,使计算器应用对预设函数执行复制,得到复制函数,该复 制函数可以调出计算器模块,粘贴至其它计算模块中对目标运算数据执行计算。After the operation prompt information is displayed on the calculator application interface, the user terminal can touch the area corresponding to the copy prompt information according to the copy prompt information, so that the calculator application performs copying on the preset function to obtain a copy function, and the complex The function can call up the calculator module and paste it into other calculation modules to perform calculations on the target calculation data.
步骤S806,将运算结果进行标识。In step S806, the operation result is identified.
在计算器应用界面显示操作提示信息之后,用户终端可以根据标识提示信息触控标识提示信息对应的区域,使计算器应用对预设函数执行标识,得到标识函数,该标识函数为对预设函数进行标记后的函数,可以通过图标进行标识,也可以通过颜色进行标识,从而使预设函数与历史记录界面中的其他运算结果区分开,方便用户终端查询。After the operation prompt information is displayed on the calculator application interface, the user terminal may touch the area corresponding to the prompt information according to the identification prompt information, so that the calculator applies the identifier to the preset function to obtain an identification function, and the identification function is a preset function. The marked function can be identified by an icon or by color, so that the preset function is distinguished from other operation results in the history interface, which is convenient for the user terminal to query.
该实施例通过获取运算结果,对运算结果自动保存,然后显示历史记录界面,对预设函数显示操作提示信息,可以将运算结果复制,调出计算器模块使用,也可以将运算结果进行标识,从而实现了对计算器应用数据的保存、标识,提高了计算器应用数据的可编辑性。In this embodiment, the operation result is automatically saved, and the operation result is automatically saved, and then the history record interface is displayed, and the operation prompt information is displayed on the preset function, and the operation result can be copied, the calculator module is used, and the operation result can be identified. Thereby, the saving and marking of the application data of the calculator is realized, and the editability of the application data of the calculator is improved.
图9是根据本发明第三实施例的计算器应用的数据处理方法的流程图。如图9所示,该计算器应用的数据处理方法包括以下步骤:9 is a flow chart of a data processing method of a calculator application according to a third embodiment of the present invention. As shown in FIG. 9, the data processing method of the calculator application includes the following steps:
步骤S901,获取运算结果。In step S901, an operation result is obtained.
可以从计算器应用的历史记录界面中选择计算器应用已经得到的运算结果,将选择的运算结果确定为预设函数。The calculation result that the calculator application has obtained can be selected from the history interface of the calculator application, and the selected operation result is determined as a preset function.
步骤S902,获取运算结果的编辑指示信号。Step S902, acquiring an edit instruction signal of the operation result.
用户终端可以长按该运算结果对应的区域,产生对该运算结果的编辑指示信号,该编辑指示信号包括复制指示信号和标识指示信号。The user terminal may long press the area corresponding to the operation result, and generate an edit indication signal for the operation result, where the edit indication signal includes a copy indication signal and an identification indication signal.
步骤S903,自定义复制函数和粘贴函数。Step S903, custom copy function and paste function.
用户终端选择编辑指示信号中的复制指示信号。在计算器界面接收到该复制指示信号之后,对预设函数进行复制,得到复制函数。可选地,对预设函数可以自定义选择预设函数中的部分数据进行复制,得到复制函,数将该复制函数可以作为粘贴函数粘贴至其它运算函数中对目标运算数据进行计算。The user terminal selects a copy indication signal in the edit indication signal. After receiving the copy indication signal on the calculator interface, the preset function is copied to obtain a copy function. Optionally, the preset function may be customized to select part of the data in the preset function for copying, to obtain a copy function, and the copy function may be pasted as a paste function to other operation functions to calculate the target operation data.
步骤S904,将复制函数用于新的运算函数中。In step S904, the copy function is used in the new operation function.
通过复制函数、粘贴函数可以实现将预设函数的数据粘贴至该计算器应用的新的运算函数中。By copying the function and pasting the function, the data of the preset function can be pasted into the new operation function of the calculator application.
步骤S905,提取数据粘贴至除计算器应用以外的计算模块。In step S905, the extracted data is pasted to a calculation module other than the calculator application.
直接提取复制函数的数据粘贴至除计算器应用以外的计算模块中,实现对目标数 据的运算,从而达到对计算器应用数据调出的目的。Paste the data of the direct extraction copy function into a calculation module other than the calculator application to achieve the target number According to the operation, the purpose of the data transfer to the calculator application is achieved.
该实施例通过获取运算结果,然后获取运算结果的编辑指示信号,自定义复制函数和粘贴函数,将复制函数用于新的运算函数中,也可以提取数据粘贴至除计算器应用以外的计算模块,实现了对计算器应用数据的调用,提高了计算器应用数据的可编辑性。In this embodiment, the operation result is obtained, and then the edit instruction signal of the operation result is acquired, the copy function and the paste function are customized, the copy function is used in the new operation function, and the data can be extracted and pasted into a calculation module other than the calculator application. The call to the calculator application data is realized, and the editability of the calculator application data is improved.
图10是根据本发明第四实施例的计算器应用的数据处理方法的流程图。如图10所示,该计算器应用的数据处理方法包括以下步骤:FIG. 10 is a flowchart of a data processing method of a calculator application according to a fourth embodiment of the present invention. As shown in FIG. 10, the data processing method of the calculator application includes the following steps:
步骤S1001,从外界复制预设函数,得到复制函数。In step S1001, the preset function is copied from the outside to obtain a copy function.
从计算器应用以外的计算模块对应的存储位置查询预设函数,对该预设函数进行复制,得到复制函数。The preset function is queried from the storage location corresponding to the calculation module other than the calculator application, and the preset function is copied to obtain a copy function.
步骤S1002,粘贴复制函数至计算器应用的界面。Step S1002, pasting the copy function to the interface of the calculator application.
在从外界复制预设函数,得到复制函数之后,将该复制函数粘贴至计算器应用的界面进行显示,用户终端无需手动对该复制函数进行重新输入,使计算器应用与外界打通。After copying the preset function from the outside world and obtaining the copy function, the copy function is pasted to the interface of the calculator application for display, and the user terminal does not need to manually re-enter the copy function, so that the calculator application is open to the outside world.
在粘贴复制函数至计算器应用的界面计算器应用之后,对该复制函数和目标运算数据执行运算,得到函数运算结果和数值运算结果,其中,函数运算结果为目标运算数据通过编辑函数在运算过程中生成的函数,数值运算结果为目标运算数据通过编辑函数得到的计算结果。After pasting the copy function to the interface calculator application of the calculator application, performing an operation on the copy function and the target operation data to obtain a function operation result and a numerical operation result, wherein the function operation result is the target operation data through the edit function in the operation process The function generated in the numerical operation result is the calculation result obtained by the target operation data through the edit function.
该实施例通过从外界复制预设函数,得到复制函数,粘贴复制函数至计算器应用的界面,实现了计算器应用数据从外界的调入,提高了运算函数使用的便利性和高效性,提高了计算器应用数据的可编辑性。In this embodiment, by copying the preset function from the outside, the copy function is obtained, and the copy function is pasted to the interface of the calculator application, thereby realizing the transfer of the calculator application data from the outside, improving the convenience and efficiency of the use of the operation function, and improving The editability of the calculator application data.
需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。It should be noted that the steps illustrated in the flowchart of the accompanying drawings may be executed in a computer system such as a set of computer executable instructions, and, although shown in the flowchart, The steps shown or described may be performed in an order different than that herein.
该实施例还提供了一种计算器应用的数据处理装置。需要说明的时,该实施例的数据处理装置可以用于执行该实施例的数据处理方法。This embodiment also provides a data processing device for a calculator application. When it is to be noted, the data processing apparatus of this embodiment can be used to execute the data processing method of the embodiment.
图11是根据本发明实施例的计算器应用的数据处理装置的示意图。如图11所示,该计算器应用的数据处理装置包括:查询单元10,编辑单元20和运算单元30。11 is a schematic diagram of a data processing apparatus of a calculator application in accordance with an embodiment of the present invention. As shown in FIG. 11, the data processing apparatus of the calculator application includes an inquiry unit 10, an editing unit 20, and an operation unit 30.
查询单元10,用于从预设存储位置查询计算器应用的预设函数,其中,预设函数为用于对计算器应用的运算数据执行运算的函数。 The query unit 10 is configured to query a preset function of the calculator application from the preset storage location, wherein the preset function is a function for performing an operation on the operation data applied by the calculator.
编辑单元20,用于当从预设存储位置查询到计算器应用的预设函数时,对预设函数执行编辑,得到编辑函数。The editing unit 20 is configured to perform editing on the preset function when the preset function of the calculator application is queried from the preset storage location, to obtain an editing function.
运算单元30,用于根据编辑函数对目标运算数据执行运算,得到运算结果,其中,目标运算数据为待处理的运算数据。The operation unit 30 is configured to perform an operation on the target operation data according to the edit function to obtain an operation result, wherein the target operation data is the operation data to be processed.
此处需要说明的是,上述查询单元10、编辑单元20和运算单元30可以作为装置的一部分运行在计算机终端中,可以通过计算机终端中的处理器来执行上述模块实现的功能,计算机终端也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌声电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。It should be noted that the above-mentioned query unit 10, editing unit 20 and arithmetic unit 30 may be run in a computer terminal as part of the device, and the functions implemented by the above modules may be executed by a processor in the computer terminal, and the computer terminal may also It is a smart phone (such as Android phone, iOS phone, etc.), tablet computer, applause computer, and mobile Internet devices (MID), PAD and other terminal devices.
可选地,预设存储位置为计算器应用的预设数据库,该计算器应用的数据处理装置还包括保存单元和显示单元。其中,保存单元,用于在根据编辑函数对目标运算数据执行运算,得到运算结果之后,保存运算结果至预设数据库;显示单元,用于在历史记录界面显示预设数据库中的运算结果,其中,历史记录界面为用于显示计算器应用已经得到的运算结果的界面。Optionally, the preset storage location is a preset database of the calculator application, and the data processing device of the calculator application further includes a saving unit and a display unit. The saving unit is configured to perform an operation on the target operation data according to the editing function, and obtain the operation result, and save the operation result to the preset database; the display unit is configured to display the operation result in the preset database on the history record interface, wherein The history interface is an interface for displaying the result of the calculation that the calculator application has obtained.
此处需要说明的是,上述保存单元和显示单元可以作为装置的一部分运行在计算机终端中,可以通过计算机终端中的处理器来执行上述模块实现的功能,计算机终端也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌声电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。It should be noted that the foregoing saving unit and the display unit may be run in a computer terminal as part of the device, and the functions implemented by the above module may be executed by a processor in the computer terminal, and the computer terminal may also be a smart phone (such as Android). Mobile phones, iOS phones, etc.), tablet computers, applause computers, and mobile Internet devices (MID), PAD and other terminal devices.
可选地,该编辑单元20包括接收模块,显示模块和编辑模块。接收模块,用于通过计算器应用界面的预设区域接收编辑指示信号,其中,编辑指示信号为用于指示计算器应用对预设函数执行编辑的信号;显示模块,用于在通过计算器应用界面的预设区域接收编辑指示信号之后,显示操作提示信息,其中,操作提示信息为用于提示计算器应用对预设函数执行编辑的提示信息;编辑模块,用于根据操作提示信息对预设函数执行编辑,得到编辑函数。Optionally, the editing unit 20 includes a receiving module, a display module and an editing module. a receiving module, configured to receive an edit indication signal by using a preset area of the calculator application interface, where the edit indication signal is a signal for instructing the calculator application to perform editing on the preset function; and the display module is configured to be applied by the calculator After receiving the edit indication signal, the preset area of the interface displays the operation prompt information, wherein the operation prompt information is prompt information for prompting the calculator to perform editing on the preset function, and the editing module is configured to preset the information according to the operation prompt information. The function performs editing and gets the edit function.
此处需要说明的是,上述接收模块、显示模块和编辑模块可以作为装置的一部分运行在计算机终端中,可以通过计算机终端中的处理器来执行上述模块实现的功能,计算机终端也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌声电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。It should be noted that the receiving module, the display module and the editing module may be run in a computer terminal as part of the device, and the functions implemented by the module may be performed by a processor in the computer terminal, and the computer terminal may also be a smart phone. (such as Android phones, iOS phones, etc.), tablets, applause computers and mobile Internet devices (Mobile Internet Devices, MID), PAD and other terminal devices.
可选地,显示模块用于显示复制提示信息和标识提示信息,其中,复制提示信息为用于提示对预设函数执行复制的信息,标识提示信息为用于提示对预设函数进行标识的信息,编辑模块用于通过复制提示信息对应的区域接收复制指示信号,得到预设函数的复制函数,其中,复制指示信号为用于指示计算器应用对预设函数执行复制的信号,或者,通过标识提示信息对应的区域接收标识指示信号,得到预设函数的标识 函数,其中,标识指示信号为用于指示计算器应用对预设函数执行标识的信号。Optionally, the display module is configured to display the copy prompt information and the identifier prompt information, where the copy prompt information is information for prompting to perform copying on the preset function, and the identifier prompt information is information for prompting to identify the preset function. The editing module is configured to receive the copy indication signal by using the area corresponding to the copy prompt information to obtain a copy function of the preset function, where the copy indication signal is used to indicate that the calculator application performs a copy of the preset function, or The area corresponding to the prompt information receives the identifier indication signal, and obtains the identifier of the preset function. a function, wherein the identification indication signal is a signal for instructing the calculator application to perform identification on the preset function.
此处需要说明的是,上述接收模块、显示模块和编辑模块可以作为装置的一部分运行在计算机终端中,可以通过计算机终端中的处理器来执行上述模块实现的功能,计算机终端也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌声电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。It should be noted that the receiving module, the display module and the editing module may be run in a computer terminal as part of the device, and the functions implemented by the module may be performed by a processor in the computer terminal, and the computer terminal may also be a smart phone. (such as Android phones, iOS phones, etc.), tablets, applause computers and mobile Internet devices (Mobile Internet Devices, MID), PAD and other terminal devices.
该实施例通过查询单元10从预设存储位置查询计算器应用的预设函数,其中,预设函数为用于对计算器应用的运算数据执行运算的函数;当从预设存储位置查询到计算器应用的预设函数时,通过编辑单元20对预设函数执行编辑,得到编辑函数;通过运算单元30根据编辑函数对目标运算数据执行运算,得到运算结果,其中,目标运算数据为待处理的运算数据,提高了计算器应用数据的可编辑性。The embodiment queries the preset function of the calculator application from the preset storage location by the query unit 10, wherein the preset function is a function for performing an operation on the operation data applied by the calculator; when querying from the preset storage location to the calculation When the preset function is applied, the editing unit 20 performs editing on the preset function to obtain an editing function. The operation unit 30 performs an operation on the target operation data according to the editing function to obtain an operation result, wherein the target operation data is to be processed. The calculation data improves the editability of the calculator application data.
本发明实施例的计算器应用可以为手机、平板电脑等终端上的计算器应用。The calculator application of the embodiment of the present invention can be applied to a calculator on a terminal such as a mobile phone or a tablet computer.
本发明实施例通过基础计算器应用和科学计算器应用的分屏显示设计,来确保计算器运算函数的完整性;通过专门在计算器模块中设计一个历史记录界面,以此来实现运算函数的自定义保存和标识;通过计算器应用的独立数据与外界的打通,从而实现运算函数的双向调用,完善了计算器应用的多样性和完整性;运算函数可自定义保存、标记,从而减少用户终端的记忆负担,方便用户终端的查询;运算函数可以自定义的双向调用,大大提高了运算函数使用的便利性和高效性,提高了计算器应用数据的可编辑性。The embodiment of the invention ensures the integrity of the calculator operation function through the split screen display design of the basic calculator application and the scientific calculator application; and realizes the operation function by designing a history record interface exclusively in the calculator module. Custom save and identification; independent data through the calculator and the outside world, thus achieving two-way call of the operation function, perfecting the diversity and integrity of the calculator application; the operation function can be customized to save, mark, thereby reducing users The memory burden of the terminal is convenient for the user terminal to query; the operation function can be customized for two-way calling, which greatly improves the convenience and efficiency of the operation function, and improves the editability of the calculator application data.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in a storage device by a computing device, or they may be fabricated into individual integrated circuit modules, or Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
本申请实施例所提供的各个功能单元可以在移动终端、计算机终端或者类似的运算装置中运行,也可以作为存储介质的一部分进行存储。The various functional units provided by the embodiments of the present application may be operated in a mobile terminal, a computer terminal, or the like, or may be stored as part of a storage medium.
由此,本发明的实施例可以提供一种计算机终端,该计算机终端可以是计算机终端群中的任意一个计算机终端设备。可选地,在本实施例中,上述计算机终端也可以替换为移动终端等终端设备。 Thus, embodiments of the present invention may provide a computer terminal, which may be any computer terminal device in a group of computer terminals. Optionally, in this embodiment, the foregoing computer terminal may also be replaced with a terminal device such as a mobile terminal.
可选地,在本实施例中,上述计算机终端可以位于计算机网络的多个网络设备中的至少一个网络设备。Optionally, in this embodiment, the computer terminal may be located in at least one network device of the plurality of network devices of the computer network.
在本实施例中,上述计算机终端可以执行计算器应用的数据处理方法中以下步骤的程序代码:从预设存储位置查询计算器应用的预设函数,其中,预设函数为用于对计算器应用的运算数据执行运算的函数;当从预设存储位置查询到计算器应用的预设函数时,对预设函数执行编辑,得到编辑函数;根据编辑函数对目标运算数据执行运算,得到运算结果,其中,目标运算数据为待处理的运算数据。In this embodiment, the computer terminal may execute the program code of the following steps in the data processing method of the calculator application: query the preset function of the calculator application from the preset storage location, where the preset function is used for the calculator The operation data of the application performs a function of the operation; when the preset function of the calculator application is queried from the preset storage location, the preset function is edited to obtain an edit function; and the operation is performed on the target operation data according to the edit function, and the operation result is obtained. Wherein the target operation data is the operation data to be processed.
可选地,该计算机终端可以包括:一个或多个处理器、存储器、以及传输装置。Optionally, the computer terminal can include: one or more processors, memory, and transmission means.
其中,存储器可用于存储软件程序以及模块,如本发明实施例中的计算器应用的数据处理方法和装置对应的程序指令/模块,处理器通过运行存储在存储器内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述计算器应用的数据处理方法。存储器可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器可进一步包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory can be used to store software programs and modules, such as the data processing method of the calculator application and the program instructions/modules corresponding to the device in the embodiment of the present invention. The processor executes by executing the software program and the module stored in the memory. Various functional applications and data processing, that is, data processing methods for implementing the above-described calculator application. The memory may include a high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory can further include memory remotely located relative to the processor, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
上述的传输装置用于经由一个网络接收或者发送数据。上述的网络具体实例可包括有线网络及无线网络。在一个实例中,传输装置包括一个网络适配器(Network Interface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进行通讯。在一个实例中,传输装置为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。The above transmission device is for receiving or transmitting data via a network. Specific examples of the above network may include a wired network and a wireless network. In one example, the transmission device includes a Network Interface Controller (NIC) that can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network. In one example, the transmission device is a Radio Frequency (RF) module for communicating with the Internet wirelessly.
其中,具体地,存储器用于存储预设动作条件和预设权限用户的信息、以及应用程序。Specifically, the memory is used to store preset action conditions and information of the preset rights user, and an application.
处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行上述方法实施例中的各个可选或优选实施例的方法步骤的程序代码。The processor can call the memory stored information and the application by the transmitting device to execute the program code of the method steps of each of the alternative or preferred embodiments of the above method embodiments.
本领域普通技术人员可以理解,计算机终端也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌声电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。 A person skilled in the art can understand that the computer terminal can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, an applause computer, and a mobile Internet device (MID), a PAD, and the like.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。A person of ordinary skill in the art may understand that all or part of the steps of the foregoing embodiments may be completed by a program to instruct terminal device related hardware, and the program may be stored in a computer readable storage medium, and the storage medium may be Including: flash disk, read-only memory (ROM), random access memory (RAM), disk or optical disk.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以用于保存上述方法实施例和装置实施例所提供的计算器应用的数据处理方法所执行的程序代码。Embodiments of the present invention also provide a storage medium. Optionally, in this embodiment, the foregoing storage medium may be used to save program code executed by the data processing method of the calculator application provided by the foregoing method embodiment and the device embodiment.
可选地,在本实施例中,上述存储介质可以位于计算机网络中计算机终端群中的任意一个计算机终端中,或者位于移动终端群中的任意一个移动终端中。Optionally, in this embodiment, the foregoing storage medium may be located in any one of the computer terminal groups in the computer network, or in any one of the mobile terminal groups.
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:从预设存储位置查询计算器应用的预设函数,其中,预设函数为用于对计算器应用的运算数据执行运算的函数;当从预设存储位置查询到计算器应用的预设函数时,对预设函数执行编辑,得到编辑函数;根据编辑函数对目标运算数据执行运算,得到运算结果,其中,目标运算数据为待处理的运算数据。Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: querying a preset function of the calculator application from the preset storage location, wherein the preset function is for the calculator The operation data of the application performs a function of the operation; when the preset function of the calculator application is queried from the preset storage location, the preset function is edited to obtain an edit function; and the operation is performed on the target operation data according to the edit function, and the operation result is obtained. Wherein the target operation data is the operation data to be processed.
可选地,在本实施例中,存储介质还可以被设置为存储计算器应用的数据处理方法提供的各种优选地或可选的方法步骤的程序代码。Alternatively, in the present embodiment, the storage medium may also be configured as program code for storing various preferred or optional method steps provided by the data processing method of the calculator application.
如上参照附图以示例的方式描述了根据本发明的计算器应用的数据处理方法和装置。但是,本领域技术人员应当理解,对于上述本发明所提出的计算器应用的数据处理方法和装置,还可以在不脱离本发明内容的基础上做出各种改进。因此,本发明的保护范围应当由所附的权利要求书的内容确定。The data processing method and apparatus of the calculator application according to the present invention are described by way of example with reference to the accompanying drawings. However, those skilled in the art should understand that various improvements can be made to the data processing method and apparatus of the calculator application proposed by the present invention without departing from the scope of the present invention. Therefore, the scope of the invention should be determined by the content of the appended claims.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (15)

  1. 一种计算器应用的数据处理方法,其特征在于,包括:A data processing method for a calculator application, comprising:
    从预设存储位置查询计算器应用的预设函数,其中,所述预设函数为用于对计算器应用的运算数据执行运算的函数;Querying a preset function of the calculator application from a preset storage location, wherein the preset function is a function for performing an operation on the operation data applied by the calculator;
    当从所述预设存储位置查询到所述计算器应用的预设函数时,对所述预设函数执行编辑,得到编辑函数;以及When the preset function of the calculator application is queried from the preset storage location, performing editing on the preset function to obtain an edit function;
    根据所述编辑函数对目标运算数据执行运算,得到运算结果,其中,所述目标运算数据为待处理的运算数据。Performing an operation on the target operation data according to the edit function to obtain an operation result, wherein the target operation data is the operation data to be processed.
  2. 根据权利要求1所述的方法,其特征在于,所述预设存储位置为所述计算器应用的预设数据库,在根据所述编辑函数对所述目标运算数据执行运算,得到所述运算结果之后,所述方法还包括:The method according to claim 1, wherein the preset storage location is a preset database of the calculator application, and an operation is performed on the target operation data according to the editing function to obtain the operation result. Thereafter, the method further includes:
    保存所述运算结果至所述预设数据库;以及Saving the operation result to the preset database;
    在历史记录界面显示所述预设数据库中的运算结果,其中,所述历史记录界面为用于显示所述计算器应用已经得到的运算结果的界面。The operation result in the preset database is displayed on the history interface, wherein the history interface is an interface for displaying an operation result that the calculator application has obtained.
  3. 根据权利要求1所述的方法,其特征在于,对所述预设函数执行编辑,得到所述编辑函数包括:The method according to claim 1, wherein performing editing on the preset function, the obtaining the editing function comprises:
    通过计算器应用界面的预设区域接收编辑指示信号,其中,所述编辑指示信号为用于指示所述计算器应用对所述预设函数执行编辑的信号;Receiving an edit indication signal by a preset area of the calculator application interface, wherein the edit indication signal is a signal for instructing the calculator application to perform editing on the preset function;
    在通过所述计算器应用界面的预设区域接收所述编辑指示信号之后,显示操作提示信息,其中,所述操作提示信息为用于提示所述计算器应用对所述预设函数执行编辑的提示信息;以及After receiving the edit indication signal through the preset area of the calculator application interface, the operation prompt information is displayed, wherein the operation prompt information is used to prompt the calculator application to perform editing on the preset function. Prompt message;
    根据所述操作提示信息对所述预设函数执行编辑,得到所述编辑函数。Performing editing on the preset function according to the operation prompt information to obtain the editing function.
  4. 根据权利要求3所述的方法,其特征在于,The method of claim 3 wherein:
    在通过所述计算器应用界面的预设区域接收所述编辑指示信号之后,显示所述操作提示信息包括:显示复制提示信息和标识提示信息,其中,所述复制提示信息为用于提示对所述预设函数执行复制的信息,所述标识提示信息为用于提示对所述预设函数进行标识的信息,After receiving the edit indication signal by using the preset area of the calculator application interface, displaying the operation prompt information includes: displaying copy prompt information and identification prompt information, wherein the copy prompt information is used to prompt the opposite The preset function performs the copied information, and the identifier prompt information is information for prompting to identify the preset function,
    根据所述操作提示信息对所述预设函数执行编辑,得到所述编辑函数包括:通过所述复制提示信息对应的区域接收复制指示信号,得到所述预设函数的复制函数,其中,所述复制指示信号为用于指示所述计算器应用对所述预设函数执行 复制的信号,或者,通过所述标识提示信息对应的区域接收标识指示信号,得到所述预设函数的标识函数,其中,所述标识指示信号为用于指示所述计算器应用对所述预设函数执行标识的信号。Performing an edit on the preset function according to the operation prompt information, and obtaining the edit function includes: receiving a copy indication signal by using an area corresponding to the copy prompt information, to obtain a copy function of the preset function, where the Copying the indication signal to instruct the calculator application to perform the preset function And the identifier signal is obtained by the identifier corresponding to the area corresponding to the identifier prompt information, and the identifier function of the preset function is obtained, where the identifier indication signal is used to indicate that the calculator applies the Let the function perform the signal of the identification.
  5. 根据权利要求3所述的方法,其特征在于,通过所述计算器应用界面的预设区域接收所述编辑指示信号包括:The method according to claim 3, wherein receiving the edit indication signal by using a preset area of the calculator application interface comprises:
    通过第一应用界面的预设区域接收所述编辑指示信号,其中,所述第一应用界面为用于所述计算器应用执行基础运算的界面,或者,Receiving, by the preset area of the first application interface, the edit indication signal, where the first application interface is an interface for performing basic operations for the calculator application, or
    通过第二应用界面的预设区域接收所述编辑指示信号,其中,所述第二应用界面为用于所述计算器应用执行科学运算的界面。The edit indication signal is received through a preset area of the second application interface, wherein the second application interface is an interface for performing scientific operations on the calculator application.
  6. 根据权利要求1所述的方法,其特征在于,从预设存储位置查询所述计算器应用的预设函数包括:从所述计算器应用以外的第一计算模块对应的存储位置查询所述预设函数。The method according to claim 1, wherein the querying the preset function of the calculator application from the preset storage location comprises: querying the pre-stored from a storage location corresponding to the first computing module other than the calculator application Set the function.
  7. 根据权利要求1所述的方法,其特征在于,根据所述编辑函数对所述目标运算数据执行运算,得到所述运算结果包括:发送所述编辑函数至所述计算器应用以外的第二计算模块。The method according to claim 1, wherein the operation is performed on the target operation data according to the editing function, and the obtaining the operation result comprises: transmitting the editing function to a second calculation other than the calculator application Module.
  8. 根据权利要求7所述的方法,其特征在于,所述第二计算模块对所述编辑函数和所述第二计算模块的目标运算数据执行运算,得到所述运算结果。The method according to claim 7, wherein the second calculation module performs an operation on the edit function and the target operation data of the second calculation module to obtain the operation result.
  9. 根据权利要求7所述的方法,其特征在于,发送所述编辑函数至所述计算器应用以外的第二计算模块包括:发送所述预设函数的复制函数至所述计算器应用以外的第二计算模块。The method according to claim 7, wherein the transmitting the editing function to the second computing module other than the calculator application comprises: transmitting a copy function of the preset function to a number other than the calculator application Two calculation modules.
  10. 根据权利要求9所述的方法,其特征在于,所述第二计算模块通过接收所述复制函数的粘贴指示信号以获取所述复制函数,所述粘贴指示信号为用于指示所述第二计算模块获取所述复制函数的信号。The method according to claim 9, wherein the second calculation module acquires the copy function by receiving a paste indication signal of the copy function, and the paste indication signal is used to indicate the second calculation The module acquires the signal of the copy function.
  11. 根据权利要求1所述的方法,其特征在于,根据所述编辑函数对所述目标运算数据执行运算,得到所述运算结果包括:The method according to claim 1, wherein performing an operation on the target operation data according to the editing function, and obtaining the operation result comprises:
    在所述计算器应用的预设运算界面显示所述编辑函数,其中,所述预设运算界面为用于显示所述运算数据的界面;Displaying the editing function in a preset operation interface of the calculator application, wherein the preset operation interface is an interface for displaying the operation data;
    在所述计算器应用的预设运算界面显示所述编辑函数之后,接收所述目标运算数据;以及Receiving the target operation data after displaying the editing function on a preset operation interface of the calculator application;
    对所述编辑函数和所述目标运算数据执行运算,得到函数运算结果和数值运 算结果,其中,所述函数运算结果为所述目标运算数据通过所述编辑函数在运算过程中生成的函数,所述数值运算结果为所述目标运算数据通过所述编辑函数得到的计算结果。Performing an operation on the edit function and the target operation data to obtain a function operation result and a numerical value operation And a result of the function operation, wherein the result of the function operation is a function generated by the target operation data in the operation process by the edit function, and the result of the numerical operation is a calculation result obtained by the target operation data by the edit function.
  12. 一种计算器应用的数据处理装置,其特征在于,包括:A data processing device for a calculator application, comprising:
    查询单元,用于从预设存储位置查询计算器应用的预设函数,其中,所述预设函数为用于对计算器应用的运算数据执行运算的函数;a query unit, configured to query a preset function of the calculator application from the preset storage location, wherein the preset function is a function for performing an operation on the operation data applied by the calculator;
    编辑单元,用于当从所述预设存储位置查询到所述计算器应用的预设函数时,对所述预设函数执行编辑,得到编辑函数;以及An editing unit, configured to perform editing on the preset function to obtain an editing function when querying a preset function of the calculator application from the preset storage location;
    运算单元,用于根据所述编辑函数对目标运算数据执行运算,得到运算结果,其中,所述目标运算数据为待处理的运算数据。The operation unit is configured to perform an operation on the target operation data according to the editing function to obtain an operation result, wherein the target operation data is the operation data to be processed.
  13. 根据权利要求12所述的装置,其特征在于,所述预设存储位置为所述计算器应用的预设数据库,所述装置还包括:The device according to claim 12, wherein the preset storage location is a preset database of the calculator application, the device further comprising:
    保存单元,用于在根据所述编辑函数对所述目标运算数据执行运算,得到所述运算结果之后,保存所述运算结果至所述预设数据库;以及a saving unit, configured to perform an operation on the target operation data according to the editing function, and after obtaining the operation result, save the operation result to the preset database;
    显示单元,用于在历史记录界面显示所述预设数据库中的运算结果,其中,所述历史记录界面为用于显示所述计算器应用已经得到的运算结果的界面。And a display unit, configured to display, in the history interface, an operation result in the preset database, wherein the history record interface is an interface for displaying an operation result that the calculator application has obtained.
  14. 根据权利要求12所述的装置,其特征在于,所述编辑单元包括:The apparatus according to claim 12, wherein said editing unit comprises:
    接收模块,用于通过计算器应用界面的预设区域接收编辑指示信号,其中,所述编辑指示信号为用于指示所述计算器应用对所述预设函数执行编辑的信号;a receiving module, configured to receive an edit indication signal by using a preset area of the calculator application interface, where the edit indication signal is a signal for instructing the calculator application to perform editing on the preset function;
    显示模块,用于在通过所述计算器应用界面的预设区域接收所述编辑指示信号之后,显示操作提示信息,其中,所述操作提示信息为用于提示所述计算器应用对所述预设函数执行编辑的提示信息;以及a display module, configured to display operation prompt information after receiving the edit indication signal by using a preset area of the calculator application interface, where the operation prompt information is used to prompt the calculator to apply the preset Let the function perform the editing prompt information;
    编辑模块,用于根据所述操作提示信息对所述预设函数执行编辑,得到所述编辑函数。And an editing module, configured to perform editing on the preset function according to the operation prompt information, to obtain the editing function.
  15. 根据权利要求14所述的装置,其特征在于,The device of claim 14 wherein:
    所述显示模块用于显示复制提示信息和标识提示信息,其中,所述复制提示信息为用于提示对所述预设函数执行复制的信息,所述标识提示信息为用于提示对所述预设函数进行标识的信息,The display module is configured to display the copy prompt information and the identifier prompt information, where the copy prompt information is information for prompting to perform copying on the preset function, and the identifier prompt information is used for prompting the preview Set the function to identify the information,
    所述编辑模块用于通过所述复制提示信息对应的区域接收复制指示信号,得 到所述预设函数的复制函数,其中,所述复制指示信号为用于指示所述计算器应用对所述预设函数执行复制的信号,或者,通过所述标识提示信息对应的区域接收标识指示信号,得到所述预设函数的标识函数,其中,所述标识指示信号为用于指示所述计算器应用对所述预设函数执行标识的信号。 The editing module is configured to receive a copy indication signal by using an area corresponding to the copy prompt information, a copy function of the preset function, wherein the copy indication signal is a signal for instructing the calculator application to perform copying on the preset function, or receiving an identifier by a region corresponding to the identifier prompt information And indicating the signal, obtaining an identification function of the preset function, wherein the identifier indication signal is a signal for instructing the calculator application to perform identification on the preset function.
PCT/CN2016/106640 2016-03-11 2016-11-21 Data processing method and apparatus for calculator application WO2017152654A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610141901.1A CN105786767A (en) 2016-03-11 2016-03-11 Data processing method and device for calculator application
CN201610141901.1 2016-03-11

Publications (1)

Publication Number Publication Date
WO2017152654A1 true WO2017152654A1 (en) 2017-09-14

Family

ID=56393493

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/106640 WO2017152654A1 (en) 2016-03-11 2016-11-21 Data processing method and apparatus for calculator application

Country Status (2)

Country Link
CN (1) CN105786767A (en)
WO (1) WO2017152654A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831380A (en) * 2020-07-16 2020-10-27 浙江三维通信科技有限公司 Task execution method and device, storage medium and electronic device

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786767A (en) * 2016-03-11 2016-07-20 珠海格力电器股份有限公司 Data processing method and device for calculator application
CN109829130B (en) * 2019-01-29 2023-06-16 武汉轻工大学 Double integral calculation method, device, terminal equipment and readable storage medium
CN112329397A (en) * 2019-08-01 2021-02-05 珠海金山办公软件有限公司 Method and device for editing formula, computer storage medium and terminal
CN110554987B (en) * 2019-09-10 2023-08-11 Oppo广东移动通信有限公司 Calculator data processing method and device and terminal equipment
CN110674074B (en) * 2019-09-20 2023-08-15 Oppo广东移动通信有限公司 Quick operation method and device and terminal equipment
CN110795380A (en) * 2019-10-25 2020-02-14 武汉惠利德科技有限公司 Data calling method and system based on intelligent calculator
CN111061994A (en) * 2019-12-16 2020-04-24 武汉轻工大学 Calculation method and device for function derivation, calculation equipment and storage medium
CN111104570A (en) * 2019-12-17 2020-05-05 维沃移动通信有限公司 Data processing method, electronic device, and storage medium
CN113051210A (en) * 2019-12-27 2021-06-29 张家界航空工业职业技术学院 Special calculator for financial accounting
CN112462993A (en) * 2020-12-03 2021-03-09 深圳集智数字科技有限公司 Data processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494019A (en) * 2003-02-24 2004-05-05 上海同济启明星科技发展有限公司 Method of realizing formula editing, calculating, managing on PDA
US20070226283A1 (en) * 2006-03-27 2007-09-27 Casio Computer Co., Ltd Easily graspable numerical expression display apparatus
CN103455466A (en) * 2012-05-31 2013-12-18 苏州引角信息科技有限公司 Calculation method and system of calculator
CN104035911A (en) * 2014-06-20 2014-09-10 米勇龙 Novel calculator
CN104536935A (en) * 2014-12-27 2015-04-22 小米科技有限责任公司 Calculation displaying method, calculation editing method and device
CN105786767A (en) * 2016-03-11 2016-07-20 珠海格力电器股份有限公司 Data processing method and device for calculator application

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494019A (en) * 2003-02-24 2004-05-05 上海同济启明星科技发展有限公司 Method of realizing formula editing, calculating, managing on PDA
US20070226283A1 (en) * 2006-03-27 2007-09-27 Casio Computer Co., Ltd Easily graspable numerical expression display apparatus
CN103455466A (en) * 2012-05-31 2013-12-18 苏州引角信息科技有限公司 Calculation method and system of calculator
CN104035911A (en) * 2014-06-20 2014-09-10 米勇龙 Novel calculator
CN104536935A (en) * 2014-12-27 2015-04-22 小米科技有限责任公司 Calculation displaying method, calculation editing method and device
CN105786767A (en) * 2016-03-11 2016-07-20 珠海格力电器股份有限公司 Data processing method and device for calculator application

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831380A (en) * 2020-07-16 2020-10-27 浙江三维通信科技有限公司 Task execution method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN105786767A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
WO2017152654A1 (en) Data processing method and apparatus for calculator application
CN106201219B (en) The quick call method of function of application and system
US20190095059A1 (en) Method and device for processing application icon and electronic apparatus
US10528247B2 (en) Operation system having touch operation enabling use of large screen area, operation control method, and operation control program
CN103282869A (en) Finger identification on a touchscreen
WO2022121790A1 (en) Split-screen display method and apparatus, electronic device, and readable storage medium
CN107678823A (en) Control method, device and the storage medium and mobile terminal of mobile terminal application
CN114879893A (en) Touch control method and device
WO2017161901A1 (en) Method and device for marking event on electronic calendar
US20200364066A1 (en) Method and system for remotely controlling personal computer based on virtual input device
WO2022022566A1 (en) Graphic code identification method and apparatus and electronic device
CN112486444A (en) Screen projection method, device, equipment and readable storage medium
CN108205455B (en) Application function implementation method and device and terminal
CN113568534A (en) Application icon display method and device and electronic equipment
CN106155542A (en) Image processing method and device
CN111752459A (en) Information processing method, device, equipment and storage medium
WO2022143660A1 (en) Icon display method and apparatus, and electronic device
CN107852422A (en) Connected from the server interface with different API to obtain ad data
CN110427138A (en) Translation information processing method, device, electronic equipment and storage medium
US10931610B2 (en) Method, device, user terminal and electronic device for sharing online image
CN113703634A (en) Interface display method and device
CN110162372B (en) Virtual key creation method and related equipment
CN111104037B (en) Method for helping vision handicapped people browse and mobile terminal
WO2018010317A1 (en) Desktop style switching method and device
US10198150B2 (en) Cross database data selection and correlation interface

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16893297

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16893297

Country of ref document: EP

Kind code of ref document: A1