CN106250345A - A kind of method and apparatus that calculating is provided hereof - Google Patents

A kind of method and apparatus that calculating is provided hereof Download PDF

Info

Publication number
CN106250345A
CN106250345A CN201610575981.1A CN201610575981A CN106250345A CN 106250345 A CN106250345 A CN 106250345A CN 201610575981 A CN201610575981 A CN 201610575981A CN 106250345 A CN106250345 A CN 106250345A
Authority
CN
China
Prior art keywords
digital
calculation
user
module
digital information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610575981.1A
Other languages
Chinese (zh)
Other versions
CN106250345B (en
Inventor
任轶
于康康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Netease Cloud Music Technology Co Ltd
Original Assignee
Hangzhou Netease Cloud Music Technology Co Ltd
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 Hangzhou Netease Cloud Music Technology Co Ltd filed Critical Hangzhou Netease Cloud Music Technology Co Ltd
Priority to CN201610575981.1A priority Critical patent/CN106250345B/en
Publication of CN106250345A publication Critical patent/CN106250345A/en
Application granted granted Critical
Publication of CN106250345B publication Critical patent/CN106250345B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06F15/0225User interface arrangements, e.g. keyboard, display; Interfaces to other computer systems
    • 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
    • G06F15/025Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application
    • G06F15/0291Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application for reading, e.g. e-books

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Embodiments of the present invention provide a kind of method providing calculating hereof.The method includes: the digital information in extraction document;The each digital information extracted is generated corresponding digital module, and the digital module corresponding to each digital information is separate;The dragging instruction issued according to user, when at least one digital module is dragged at other digital module, the calculation specified according to user, calculates the digital information that this at least one digital module and this other digital module are corresponding, obtains result of calculation and show.By recording process is combined with calculating process, the method of the present invention makes to realize numerical calculation by the way of dragging, thus significantly reduce the difficulty of numerical calculation, improve the efficiency of numerical calculation, preferably experience is brought for user, and decrease the error that anthropic factor brings, improve the accuracy of numerical calculation.Additionally, embodiments of the present invention provide a kind of device providing calculating hereof.

Description

A kind of method and apparatus that calculating is provided hereof
Technical field
Embodiments of the present invention relate to technical field of data processing, more specifically, embodiments of the present invention relate to one Plant the method and apparatus that calculating is provided hereof.
Background technology
This part is it is intended that the embodiments of the present invention stated in claims provide background or context.Herein Describe not because being included in this part just recognize it is prior art.
The numerical calculation such as account calculating, number of articles calculating are the things that usually can relate in daily life and work. Specifically, as a example by account calculates, calculating to realize account, user needs to check corresponding account table, and by account table Digital information to be calculated be input to complete to calculate one by one on calculating instrument accordingly, and, at all of numeral letter to be calculated Breath is after calculating completes, and the most also needs to come again or the above-mentioned flow process of multipass is to verify result of calculation, in order to guarantee account The accuracy calculated.
Such as, as a example by the account digital information in a certain bill having in cloud notes is calculated, whole account Calculating process needs through following link:
Check there is this bill in cloud notes to obtain corresponding account digital information;Select an account to be calculated numeral Information, and this digital information is input to accordingly on calculating instrument;Select conversion symbol;Obtain other account number to be calculated Word information, and be input on this calculating instrument, obtain result of calculation;It is repeated in above-mentioned selection conversion symbol and obtains other and treat The process of the digital information that does accounts, until all account digital informations to be calculated all being inputted to this calculating instrument, obtains Final account result;Afterwards, the accuracy calculated in order to ensure account, also whole calculating process can be carried out result verification.
As shown in the above, at present, owing to recording process and the calculating process of digital information are separated from each other, cause User needs to carry out repeatedly reading of information based on corresponding digital record could realize digital calculating, e.g., with account with input As a example by mesh calculates, user needs to transfer to one by one just can complete on the calculating instrument of correspondence by each account digital information of record meter Calculating, so that the process of numerical calculation is complex, inefficient, Consumer's Experience is poor.Further, since user manually will When each digital information is transferred in the calculating instrument of correspondence, the fault phenomenons such as input error easily occurring, thus, it is also possible to can lead Causing final numerical calculation result to be inaccurate, the application reducing user further is experienced.
Summary of the invention
For reasons of the recording process of digital information and calculating process are separated from each other, in prior art, user needs base The reading carrying out repeatedly information in corresponding digital record could realize numerical calculation with input, and e.g., user needs record Each digital information is transferred to just can complete on the calculating instrument of correspondence to calculate one by one.
The most in the prior art, the process of numerical calculation is complex, inefficient, Consumer's Experience is poor.It addition, by In user when manually each digital information being transferred in the calculating instrument of correspondence, the fault phenomenons such as input error easily occur, Thus, it is also possible to final numerical calculation result can be caused to be inaccurate, and the application reducing user further is experienced, and this is very Bothersome process.
To this end, be highly desirable to numerical calculation method and the device of a kind of improvement, to simplify the operating process of numerical calculation, carry The efficiency of high numerical calculation and the accuracy of numerical calculation result, the application improving user is experienced.
In the present context, embodiments of the present invention expectation provides a kind of method providing calculating hereof and dress Put.
In the first aspect of embodiment of the present invention, it is provided that a kind of method that calculating is provided hereof, including:
Digital information in extraction document;
The each digital information extracted is generated corresponding digital module;Wherein, the numeral corresponding to each digital information Module is separate;
The dragging instruction issued according to user, when at least one digital module is dragged at other digital module, root The calculation specified according to user, the digital information corresponding at least one digital module described and other digital module described Calculate, obtain the result of calculation of correspondence and show.
In the second aspect of embodiment of the present invention, it is provided that a kind of device that calculating is provided hereof, including:
Digital extraction unit, the digital information in extraction document;
Module signal generating unit, generates corresponding digital module for each digital information that will extract;Wherein, each numeral Digital module corresponding to information is separate;
Digital computing unit, for the dragging instruction issued according to user, will at least one digital module be dragged to one its Time at its digital module, the calculation specified according to user, at least one digital module described and other numeral described Digital information corresponding to module calculates, and obtains the result of calculation of correspondence;
Result display unit, is used for showing described result of calculation.
In the third aspect of embodiment of the present invention, it is provided that a kind of device that calculating is provided hereof, such as, can To include memorizer and processor, wherein, processor may be used for reading the program in memorizer, performs following process:
Digital information in extraction document;
The each digital information extracted is generated corresponding digital module;Wherein, the numeral corresponding to each digital information Module is separate;
The dragging instruction issued according to user, when at least one digital module is dragged at other digital module, root The calculation specified according to user, the digital information corresponding at least one digital module described and other digital module described Calculate, obtain the result of calculation of correspondence and show.
In the fourth aspect of embodiment of the present invention, it is provided that a kind of program product, it includes program code, when described When program product runs, described program code is used for performing procedure below:
Digital information in extraction document;
The each digital information extracted is generated corresponding digital module;Wherein, the numeral corresponding to each digital information Module is separate;
The dragging instruction issued according to user, when at least one digital module is dragged at other digital module, root The calculation specified according to user, the digital information corresponding at least one digital module described and other digital module described Calculate, obtain the result of calculation of correspondence and show.
According to the method and apparatus providing calculating hereof of embodiment of the present invention, by by recording process and calculating Process combines, and the method for the present invention makes to realize numerical calculation by the way of dragging, thus significantly reduces number The difficulty that word calculates, improves the efficiency of numerical calculation, brings preferably experience for user, and decreases anthropic factor band The error come, improves the accuracy of numerical calculation.
Accompanying drawing explanation
By reading detailed description below, above-mentioned and other mesh of exemplary embodiment of the invention with reference to accompanying drawing , feature and advantage will become prone to understand.In the accompanying drawings, if showing the present invention's by way of example, and not by way of limitation Dry embodiment, wherein:
Fig. 1 schematically shows the application scenarios schematic diagram according to embodiment of the present invention;
Fig. 2 schematically shows the flow process of a kind of method providing calculating hereof Schematic diagram;
Fig. 3 schematically shows a kind of according to an embodiment of the invention document presentation interface schematic diagram;
Fig. 4 schematically shows a kind of according to an embodiment of the invention numerical calculation interface schematic diagram;
Fig. 5 schematically shows another kind of according to an embodiment of the invention numerical calculation interface schematic diagram;
Fig. 6 schematically shows a kind of according to an embodiment of the invention numerical calculation result interface schematic diagram;
Fig. 7 schematically shows the knot of a kind of device providing calculating hereof Structure schematic diagram.
In the accompanying drawings, identical or corresponding label represents identical or corresponding part.
Detailed description of the invention
Principle and the spirit of the present invention are described below with reference to some illustrative embodiments.Should be appreciated that and provide this A little embodiments are only used to make those skilled in the art better understood when and then realize the present invention, and not with any Mode limits the scope of the present invention.On the contrary, it is provided that these embodiments are to make the disclosure more thorough and complete, and energy Enough the scope of the present disclosure is intactly conveyed to those skilled in the art.
One skilled in the art will appreciate that embodiments of the present invention can be implemented as a kind of system, device, equipment, method Or computer program.Therefore, the disclosure can be to be implemented as following form, it may be assumed that hardware, completely software completely (including firmware, resident software, microcode etc.), or the form that hardware and software combines.
According to the embodiment of the present invention, it is proposed that a kind of method and apparatus that calculating is provided hereof.
In this article, it is to be understood that any number of elements in accompanying drawing is used to example and unrestricted and any Name is only used for distinguishing, and does not have any limitation.
Principle and spirit below with reference to some representative embodiments of the present invention, in detail the explaination present invention.
Summary of the invention
The inventors discovered that, for reasons of the recording process of digital information and calculating process are separated from each other, prior art In, user needs the reading carrying out repeatedly information based on corresponding digital record could realize numerical calculation, e.g., user with input Need to transfer to each digital information of record one by one just can complete on the calculating instrument of correspondence to calculate, thus cause numerical calculation Process complex, inefficient, Consumer's Experience is poor.Further, since user manually each digital information is transferred to right Time in the calculating instrument answered, the fault phenomenons such as input error easily occur, thus, it is also possible to final numerical calculation can be caused to tie Fruit is inaccurate, and the application reducing user further is experienced.
In the embodiment of the present invention, by the recording process of digital information is combined with calculating process so that by dragging Mode can realize numerical calculation, thus significantly reduce the difficulty of numerical calculation, improve the efficiency of numerical calculation, for User brings preferably experience, and decreases the error that anthropic factor brings, and improves the accuracy of numerical calculation.
After the ultimate principle describing the present invention, introduce the various non-limiting embodiment party of the present invention in detail below Formula.
Application scenarios overview
With reference first to Fig. 1, it shows for the application scenarios of the scheme providing calculating hereof that the embodiment of the present invention provides It is intended to.This scene such as can include user terminal 11 and server 12.Wherein, described user terminal 11 can be provided with various Client, if any road cloud client etc..User 10 can extract phase based on the client in described user terminal 11 or server 12 Answer the digital information in file, and each digital information extracted is generated corresponding digital module, wherein, each digital information Corresponding digital module is separate;User 10 also can issue drag to the client in described user terminal 11 or server 12 Dynamic instruction, to be dragged at other digital module by least one digital module in the digital module of generation, and and then touches The calculation that the client sending out described in user terminal 11 or server 12 are specified according to user, at least one numeral described Module and digital information corresponding to other digital module described calculate, and obtain the result of calculation of correspondence and show.
It is to say, the method for calculating of providing hereof that the embodiment of the present invention provides both can be by the service of network side Device is implemented, it is also possible to by the client being installed in user terminal, and even user terminal is implemented, and is not limited in any way this.
Wherein, user terminal 11 and server 12 can be communicatively coupled by communication network, and this network can be local Net, wide area network etc..User terminal 11 can be mobile phone, panel computer, notebook computer, personal computer etc., and server 12 can Think the server apparatus that the extraction of any digital information can supported in file operates with calculating etc..
Illustrative methods
Below in conjunction with the application scenarios of Fig. 1, with reference to Fig. 2~6, the one according to exemplary embodiment of the invention is described The method that calculating is provided hereof.It should be noted that above-mentioned application scenarios is for only for ease of the spirit understanding the present invention Illustrating with principle, embodiments of the present invention are the most unrestricted.On the contrary, embodiments of the present invention can be answered For applicable any scene.
As in figure 2 it is shown, the flow process for an embodiment of a kind of method providing calculating hereof of present invention offer is shown It is intended to.In this embodiment, the executive agent providing the method for calculating hereof can be the server described in application scenarios 12, client or user terminal 11, be not construed as limiting this.Specifically, as shown in Figure 2, described in this embodiment hereof The method calculated is provided to may comprise steps of:
Digital information in S21, extraction document.
Alternatively, described file can be the file for recording corresponding account information, or, it is used for recording respective articles number The file etc. of amount.
Calculate or the calculating etc. of number of articles is any type of it is to say, the embodiment of the present invention is applicable to account Numerical calculation operates, and is not limited in any way this.
Alternatively, the digital information in extraction document, it may include:
Identify each character string representing digital information in file, and each character string that will identify that is as extracting Digital information in file.
Such as, as a example by the document presentation interface shown in Fig. 3, it is assumed that in a certain account log file, record has following letter Breath:
Spend 85.8 yuan (purchase wireless transmitters);
-1408 yuan (carrying out network installation);
-98 yuan goods and materials such as (buy) activated carbons;
+ 5000 yuan (wage keeps accounts);
Pay 3000 yuan (rent);
" 85.8 " in above-mentioned file, "-1408 ", "-98 ", "+5000 " and " 3000 " etc. then can be represented numeral letter The character string of breath (each character string can comprise the attribute-bit for representing its positive and negative attribute, as "+" or "-" etc.) identify It is used as the digital information in the file extracted.
It should be noted that in being embodied as, the digital information in file can be identified by regular expression.Its In, also known as normal representation method, conventional expressing method, (Regular Expression, is often abbreviated as in code regular expression Regex, regexp or RE), it can use single character string to describe, mate a series of character meeting certain syntactic rule String.In a lot of text editors, regular expression is usually used to retrieval, replaces those texts meeting certain pattern, right This does not repeats.
In addition, it is necessary to explanation, as a example by account log file, due to the character string of the representative digital information in file Except can comprise calculate to account relevant, in addition to representing consumption digital information and/or taking in the character string of digital information, It is also possible to include other character string, such as the character string etc. for representing the respective record date.For example, it is assumed that a certain account note In record file, record has following information: buys wireless transmitter in 2014.05.06, spends 85.8 yuan;Then, the generation in this document The character string of table digital information, in addition to can comprising the character string " 85.8 " for representing consumption digital information, also includes use Yu represents the character string " 2014.05.06 " on respective record date.Thus, in order to improve the numerical calculation such as follow-up account calculating Accuracy, in this step S21, generally can only in extraction document calculate to following digital relevant, be used for representing numeral and believe The character string of breath, as final required digital information, e.g., for account log file, generally can only be extracted in this document Calculate to follow-up account relevant, for representing consumption digital information and/or taking in the character string of digital information as finally Required digital information, is added on eliminating to numerals such as date and time informations by certain rule, does not repeats this.Implement at another In example, date and numeral can not differentiated between, the character meeting form of digital information is added on identification and extracts.
Alternatively, before the digital information in extraction document, may also include that
Receive the numerical calculation open command that user issues for described file, and according to described numerical calculation open command Open numerical calculation pattern.
It is to say, in the embodiment of the present invention, except can be automatically into numerical calculation pattern with the numeral in extraction document Outside information, also can enter back into numerical calculation pattern and extract literary composition after receiving the numerical calculation open command that user issues Digital information in part, is not construed as limiting this.
Wherein, described numerical calculation open command can be that user passes through touch-control or clicks on the file exhibition that described file is corresponding Show what the mode that the numerical calculation pre-set in the page is released the button issued, and, can be that described user is browsing or reading Any time of described file issues, and does not repeats this.
In addition, it is necessary to explanation, the described document presentation page, when entering numerical calculation pattern, can show " number Word computation schema is opened ... " etc. have been enter into the field of numerical calculation pattern for representing, this is not construed as limiting.
Further, it should be noted that (being designated 31) can be arranged on as it is shown on figure 3, described numerical calculation is released the button The optional position of the document presentation page that described file is corresponding, e.g., the left and right sides of the document presentation page or upper and lower two ends etc., only It is wanted not affect the displaying of the corresponding information in file.
S22, each digital information of extracting is generated corresponding digital module;Wherein, corresponding to each digital information Digital module is separate.
Alternatively, in the document presentation page that file is corresponding, each digital information extracted can be generated correspondence Digital module, to reduce the switching of the page, saves system processing resources.Certainly, it is possible in a new document presentation page, will The each digital information extracted generates corresponding digital module, is not construed as limiting this.
Such as, as a example by the document presentation interface shown in Fig. 3, it will again be assumed that in a certain account log file, record has following letter Breath:
Spend 85.8 yuan (purchase wireless transmitters);
-1408 yuan (carrying out network installation);
-98 yuan goods and materials such as (buy) activated carbons;
+ 5000 yuan (wage keeps accounts);
Pay 3000 yuan (rent);
That is, " 85.8 " in file, "-1408 ", "-98 ", "+5000 " and " 3000 " etc. can be represented digital information Character string identifies as the digital information in the file extracted, then will be able to carry in the document presentation page shown in Fig. 3 The each digital information got generates corresponding digital module, obtains the digital module shown in Fig. 4 and generates result interface, it is possible to claims For numerical calculation interface (as shown in Figure 4, separate between each digital module, to be independent of each other), this is not repeated.
S23, the dragging instruction issued according to user, be dragged at least one digital module at other digital module Time, the calculation specified according to user, the number corresponding at least one digital module described and other digital module described Word information calculates, and obtains the result of calculation of correspondence and shows.
It is to say, owing to, in the embodiment of the present invention, the recording process of digital information combines with calculating process, thus, The calculating of numeral can be realized, it is to avoid a large amount of migration operation that digital information is carried out by user by the way of dragging, from And significantly reduce the difficulty of numerical calculation, improve the efficiency of numerical calculation, save user operation cost, carry for user Carry out more preferable experience, and decreased the error that anthropic factor brings, improve the accuracy of numerical calculation.
Alternatively, the calculation specified according to user, at least one digital module described and other numeral described Digital information corresponding to module calculates, and obtains the result of calculation of correspondence, it may include:
The calculation specified according to user, to digital information sum corresponding at least one digital module described with described The digital information that other digital module is corresponding calculates, and obtains the result of calculation of correspondence.
That is, if be dragged to multiple digital modules at another digital module, then can be considered multiple digital module pair simultaneously The computing of the digital information that another digital module of digital information sum and this of answering is corresponding.
Such as, as a example by the numerical calculation interface shown in Fig. 4, it is assumed that digital module "-1408 ", "-98 " are dragged simultaneously To digital module " 3000 " place, and, it is assumed that the calculation that user specifies for subtracting each other, then can be considered digital information "-1408 " After carrying out phase add operation with digital information "-98 ", then carry out phase reducing with digital information " 3000 ", obtain result of calculation "- 4506”。
Alternatively, in the dragging instruction issued according to user, at least one digital module is dragged to other numeral mould Time at block, may also include that
Eject the calculation selection interface including at least one numerical calculation mode;
Receive the numerical calculation mode that user selects interface to select according to described calculation, and by this numerical calculation side The calculation that formula is specified as user.
Such as, as a example by the numerical calculation interface shown in Fig. 4, a calculation choosing can be ejected in this numerical calculation interface Select figure layer (i.e. calculation selection interface), obtain the numerical calculation interface shown in Fig. 5, this is not repeated.
Wherein, described calculation select interface at least can include to add, subtract, any one or more number in multiplication and division Word calculation, is not construed as limiting this.
It is to say, in the calculation selection figure layer that the calculation that user specifies can be user to be provided according to system Calculation choose in real time, it is, of course, also possible to be that user is set in advance, or user is real-time by corresponding keyboard Input, this is also not construed as limiting.
Alternatively, in the dragging instruction issued according to user, at least one digital module is dragged to other numeral mould Time at block, may also include that
Exhalation keyboard operation interface;
Determine user based on described keyboard operation interface at least one digital module described and described other numeral mould The digital information that the digital information corresponding to one or more digital modules in block is obtained after revising accordingly, and will be each Amended digital information corresponding to digital module is as real figure information corresponding to each digital module.
It is to say, in the embodiment of the present invention, user also can according to the actual requirements, to one or more numerals to be calculated Information is revised accordingly, and e.g., round up operation to a certain digital information, or, add phase for a certain digital information The attribute-bit etc. answered, to increase motility and the usability of numerical calculation, does not repeats this.
Further, in the embodiment of the present invention, at least one digital module described and other digital module described Corresponding digital information calculates, and after obtaining the result of calculation of correspondence, can show the calculating knot of this correspondence in the following manner Really:
At least one digital module described in blanking, and in the position at other digital module place described, display correspondence Result of calculation.
Such as, still as a example by the numerical calculation interface shown in Fig. 4, it is assumed that digital module "-1408 ", "-98 " are dragged simultaneously Move to digital module " 3000 " place, and, it is assumed that the calculation that user specifies for subtracting each other, then can be calculated result of calculation "- 4506 " after, blanking digital module "-1408 ", "-98 ", and in the position at digital module " 3000 " place, the meter that display is corresponding Calculate result "-4506 " (that is, digital module " 3000 " being changed to digital module "-4506 "), obtain the numerical calculation shown in Fig. 6 Result interface.
In addition, it is necessary to explanation, in addition to can using the result of calculation of aforesaid way display correspondence, it is possible to use it Its mode show correspondence result of calculation, e.g., at least one digital module described in blanking and other digital module described, and It is different from any position of each digital module generated, shows the result of calculation of correspondence in a modular manner.
Further, described method may also include that
If receiving the first recovery instruction for recovering initial data that user issues, then that recovers in file is each original Digital information and/or by generate digital module recover to initial condition;Or,
If receiving the second recovery instruction for recovering a upper calculating operation that user issues, the then digital mould that will generate Block recovers supreme one and calculates state when operation is not carried out.
It is to say, at any time file can be reduced to initial condition according to user's actual need or is reduced to a upper meter Calculating and operate unenforced state etc., to increase error correction convenience, the application promoting user further is experienced.
Alternatively, described first, second recovery instruction can be that user passes through touch-control or clicks on the number that described file is corresponding Word modules generates the initial data recovery button pre-set in result interface (alternatively referred to as numerical calculation interface) and (is used for recovering The button of initial data), the mode of operation recovery button (calculating the button operated for recovering upper) issues.
In addition, it is necessary to explanation, as shown in Figure 4, described initial data recovery button 41 (may be simply referred to as stop push-button), Operation recovery button 42 (may be simply referred to as previous step button) can be arranged on digital module corresponding to described file and generate result circle The optional position in face (alternatively referred to as numerical calculation interface), e.g., digital module generates result interface (alternatively referred to as numerical calculation circle Face) the left and right sides or upper and lower two ends etc., as long as it does not affect the displaying of the corresponding information in interface.Further, described number Word modules generates in result interface (alternatively referred to as numerical calculation interface) except being provided with initial data recovery button 41, operation Outside recovery button 42, be also provided with exit button 43, in order to receive that user issues according to the actual requirements for this During the exit instruction of exit button 43, exit corresponding numerical calculation pattern, this is not repeated.
Further, in the calculation specified according to user, at least one digital module described and described other The digital information that digital module is corresponding calculates, and after obtaining the result of calculation of correspondence, described method may also include that
Preserve described result of calculation, in order to follow-up call preserved result of calculation according to user's actual need, to reach The effect of the various data of flexible utilization.
As shown in the above, in the embodiment of the present invention, by the recording process of digital information is tied mutually with calculating process Close so that numerical calculation can be realized by the way of dragging, thus significantly reduce the difficulty of numerical calculation, improve number The efficiency that word calculates, brings preferably experience for user, and decreases the error that anthropic factor brings, improve digital meter The accuracy calculated.
Example devices
After the method describing exemplary embodiment of the invention, it follows that with reference to Fig. 7 reality exemplary to the present invention The device providing calculating hereof executing mode illustrates.
As it is shown in fig. 7, the structural representation of the device providing calculating hereof provided for the embodiment of the present invention, described The device providing calculating hereof may include that
Digital extraction unit 71, can be used for the digital information in extraction document;
Module signal generating unit 72, can be used for each digital information extracted is generated corresponding digital module;Wherein, respectively Digital module corresponding to digital information is separate;
Digital computing unit 73, can be used for the dragging instruction issued according to user, is dragged to by least one digital module Time at one other digital module, the calculation specified according to user, at least one digital module described and described other The digital information that digital module is corresponding calculates, and obtains the result of calculation of correspondence;
Result display unit 74, can be used for showing described result of calculation.
Alternatively, described device may also include that
First instruction reception unit 75, before can be used for the digital information in extraction document, receives user for described The numerical calculation open command that file issues, and open numerical calculation pattern according to described numerical calculation open command.
Alternatively, described digital extraction unit 71 is particularly used in each character representing digital information identified in file String, and each character string that will identify that is as the digital information in the file extracted.
Alternatively, described device may also include that
Unit 76 is ejected at interface, can be used for, in the dragging instruction issued according to user, being dragged by least one digital module Time to other digital module, eject the calculation selection interface including at least one numerical calculation mode;
Described digital computing unit 73, is particularly used in and receives user according to the one of described calculation selection interface selection Numerical calculation mode, and the calculation that this numerical calculation mode is specified as user.
Wherein, described calculation select interface to include adding, subtract, any one or more numerical calculation in multiplication and division Mode.
Alternatively, described device may also include that
Interface exhalation unit 77, can be used for, in the dragging instruction issued according to user, being dragged by least one digital module Time to other digital module, breathe out keyboard operation interface;
Described digital computing unit 73, be particularly used in determine user based on described keyboard operation interface to described at least one The digital information corresponding to one or more digital modules in individual digital module and other digital module described is carried out accordingly Digital information obtained by after amendment, and amended digital information corresponding for each digital module is corresponding as each digital module Real figure information.
Alternatively, described digital computing unit 73 is particularly used in the calculation specified according to user, to described at least Digital information sum that one digital module the is corresponding digital information corresponding with other digital module described calculates, and it is right to obtain The result of calculation answered.
Alternatively, described result display unit 74 is particularly used at least one digital module described in blanking, and described The position at other digital module place, the result of calculation that display is corresponding.
Alternatively, described device may also include that
Second instruction reception unit 78, can be used for receiving the first recovery instruction for recovering initial data that user issues And/or receive the second recovery instruction for recovering a upper calculating operation that user issues;
Recovering state unit 79, can be used for if it is determined that receive the first recovery for recovering initial data that user issues Instruction, then recover each original digital information in file and/or recover the digital module generated to initial condition;Or,
If it is determined that receive the second recovery instruction for recovering a upper calculating operation that user issues, the then number that will generate Word modules recovers supreme one and calculates state when operation is not carried out.
In the embodiment that some are possible, can include at least according to the device providing calculating hereof of the present invention One processing unit and at least one memory element.Wherein, described memory element has program stored therein code, when described program When code is performed by described processing unit so that described processing unit performs to retouch in this specification above-mentioned " illustrative methods " part Various steps in the method that calculating is provided hereof according to the various illustrative embodiments of the present invention stated.Such as, institute State processing unit and can perform step S21 as shown in Figure 2, the digital information in extraction document;Step S22, will extract Each digital information generate corresponding digital module;Wherein, the digital module corresponding to each digital information is separate;And Step S23, the dragging instruction issued according to user, when at least one digital module is dragged at other digital module, root The calculation specified according to user, the digital information corresponding at least one digital module described and other digital module described Calculate, obtain the result of calculation of correspondence and show.
Although it should be noted that, be referred in above-detailed the device that calculating is provided hereof some unit or Subelement, but this division be merely exemplary the most enforceable.It practice, according to the embodiment of the present invention, on Feature and the function of two or more unit that literary composition describes can embody in a unit.Otherwise, above-described one The feature of unit and function can embody with Further Division for by multiple unit.
Although additionally, describe the operation of the inventive method in the accompanying drawings with particular order, but, this do not require that or Hint must perform these operations according to this particular order, or having to carry out the most shown operation could realize desired Result.Additionally or alternatively, it is convenient to omit some step, multiple steps are merged into a step and performs, and/or by one Step is decomposed into multiple step and performs.
Although describing spirit and principles of the present invention by reference to some detailed description of the invention, it should be appreciated that, this Invention is not limited to disclosed detailed description of the invention, and the division to each side does not means that the feature in these aspects can not yet Combination to be benefited, this division merely to statement convenience.It is contemplated that contain claims spirit and Various amendments included by the range of and equivalent arrangements.

Claims (10)

1. the method that calculating is provided hereof, including:
Digital information in extraction document;
The each digital information extracted is generated corresponding digital module;Wherein, the digital module corresponding to each digital information Separate;
The dragging instruction issued according to user, when at least one digital module is dragged at other digital module, according to The calculation that family is specified, is carried out the digital information that at least one digital module described and other digital module described are corresponding Calculate, obtain the result of calculation of correspondence and show.
Method the most according to claim 1, before the digital information in extraction document, also includes:
Receive the numerical calculation open command that user issues for described file, and open according to described numerical calculation open command Numerical calculation pattern.
Method the most according to claim 1, wherein, the digital information in extraction document, including:
Identify each character string representing digital information in file, and each character string that will identify that is as the file extracted In digital information.
Method the most according to claim 1, in the dragging instruction issued according to user, drags at least one digital module Time to other digital module, also include:
Eject the calculation selection interface including at least one numerical calculation mode;
Receive the numerical calculation mode that user selects interface to select according to described calculation, and this numerical calculation mode is made The calculation specified for user.
Method the most according to claim 4, described calculation selects interface to include adding, subtracts, any one in multiplication and division Plant or multiple numerical calculation mode.
Method the most according to claim 1, in the dragging instruction issued according to user, drags at least one digital module Time to other digital module, also include:
Exhalation keyboard operation interface;
Determine user based on described keyboard operation interface at least one digital module described and other digital module described The digital information corresponding to one or more digital modules revise accordingly after obtained by digital information, and by each numeral Amended digital information corresponding to module is as real figure information corresponding to each digital module.
Method the most according to claim 1, wherein, the calculation specified according to user, at least one numeral described Module and digital information corresponding to other digital module described calculate, and obtain the result of calculation of correspondence, including:
The calculation specified according to user, to digital information sum corresponding at least one digital module described with described other The digital information that digital module is corresponding calculates, and obtains the result of calculation of correspondence.
Method the most according to claim 1, wherein, the result of calculation of display correspondence includes:
At least one digital module described in blanking, and in the position at other digital module place described, the calculating that display is corresponding Result.
Method the most according to claim 1, also includes:
If receiving the first recovery instruction for recovering initial data that user issues, then recover each original figure in file Information and/or by generate digital module recover to initial condition;Or,
If receiving the second recovery instruction for recovering a upper calculating operation that user issues, then the digital module by generation is extensive Multiple supreme one calculates state when operation is not carried out.
10. a device for calculating is provided hereof, including:
Digital extraction unit, the digital information in extraction document;
Module signal generating unit, generates corresponding digital module for each digital information that will extract;Wherein, each digital information Corresponding digital module is separate;
Digital computing unit, for the dragging instruction issued according to user, is dragged to other number by least one digital module Time at word modules, the calculation specified according to user, at least one digital module described and other digital module described Corresponding digital information calculates, and obtains the result of calculation of correspondence;
Result display unit, is used for showing described result of calculation.
CN201610575981.1A 2016-07-18 2016-07-18 It is a kind of that the method and apparatus of calculating are provided hereof Active CN106250345B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610575981.1A CN106250345B (en) 2016-07-18 2016-07-18 It is a kind of that the method and apparatus of calculating are provided hereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610575981.1A CN106250345B (en) 2016-07-18 2016-07-18 It is a kind of that the method and apparatus of calculating are provided hereof

Publications (2)

Publication Number Publication Date
CN106250345A true CN106250345A (en) 2016-12-21
CN106250345B CN106250345B (en) 2019-03-26

Family

ID=57613565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610575981.1A Active CN106250345B (en) 2016-07-18 2016-07-18 It is a kind of that the method and apparatus of calculating are provided hereof

Country Status (1)

Country Link
CN (1) CN106250345B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010102639A1 (en) * 2009-03-09 2010-09-16 Nokia Corporation Improved calculator for performing partial calculations
CN102221971A (en) * 2010-06-09 2011-10-19 微软公司 Free form mathematic calculation
CN102789362A (en) * 2012-06-29 2012-11-21 鸿富锦精密工业(深圳)有限公司 Electronic equipment and intelligent calculation control method thereof
JP2013015961A (en) * 2011-07-01 2013-01-24 Casio Comput Co Ltd Calculation device and program
US20150058387A1 (en) * 2013-08-26 2015-02-26 Intuit Inc. Method and system for providing a tablet swiping calculator function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010102639A1 (en) * 2009-03-09 2010-09-16 Nokia Corporation Improved calculator for performing partial calculations
CN102221971A (en) * 2010-06-09 2011-10-19 微软公司 Free form mathematic calculation
JP2013015961A (en) * 2011-07-01 2013-01-24 Casio Comput Co Ltd Calculation device and program
CN102789362A (en) * 2012-06-29 2012-11-21 鸿富锦精密工业(深圳)有限公司 Electronic equipment and intelligent calculation control method thereof
US20150058387A1 (en) * 2013-08-26 2015-02-26 Intuit Inc. Method and system for providing a tablet swiping calculator function

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MACHIAVELLI.: ""Gesture Calculator"Version 1.0.6", 《HTTPS://ITUNES.APPLE.COM/US/APP/GESTURE-CALCULATOR/ID408078172?MT=8》 *

Also Published As

Publication number Publication date
CN106250345B (en) 2019-03-26

Similar Documents

Publication Publication Date Title
CN110019793A (en) A kind of text semantic coding method and device
CN107609092A (en) Intelligent response method and apparatus
CN105739981A (en) Code completion implementation method and device, and computing device
CN106575290A (en) Presenting dataset of spreadsheet in form based view
CN106896937A (en) Method and apparatus for being input into information
US20190138652A1 (en) Real-time data input correction and facilitation of data entry at point of input
CN106601254A (en) Information inputting method, information inputting device and calculation equipment
CN107797826A (en) A kind of regular collocation method, terminal and the equipment of rule-based engine
US11704484B2 (en) Cross channel digital data parsing and generation system
CN110244899A (en) Electronic contract on-line processing method, Online Processing System and terminal
CN105830056A (en) Interaction with spreadsheet application function tokens
CN111324390A (en) Device and method for realizing APP content configuration and real-time update
CN107203504A (en) Character string replacement method and device
CN107547748A (en) A kind of picture management method, terminal and computer-readable recording medium
CN109299913A (en) Employee's wages scheme generation method and device
US20220113847A1 (en) Online collaborative document processing method and device
CN104618555B (en) A kind of method, apparatus and system of user information mark
CN109828759A (en) Code compiling method, device, computer installation and storage medium
CN109086326B (en) Method and device for converting interface document into data model file
CN104320387A (en) Local module customizing method, terminal and server
CN115469849B (en) Service processing system, method, electronic equipment and storage medium
CN106250345A (en) A kind of method and apparatus that calculating is provided hereof
CN106204207A (en) A kind of bill generates method and apparatus
CN110990006A (en) Form management system and form generation device
CN104407853A (en) Method for realizing TABLE multi-line simultaneous edition

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant