CN113255325B - Method for automatically calculating content of electronic document - Google Patents

Method for automatically calculating content of electronic document Download PDF

Info

Publication number
CN113255325B
CN113255325B CN202110507375.7A CN202110507375A CN113255325B CN 113255325 B CN113255325 B CN 113255325B CN 202110507375 A CN202110507375 A CN 202110507375A CN 113255325 B CN113255325 B CN 113255325B
Authority
CN
China
Prior art keywords
electronic document
calculation
configuration
value
configuration point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110507375.7A
Other languages
Chinese (zh)
Other versions
CN113255325A (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.)
Chengdu Weishilian Software Technology Co ltd
Original Assignee
Chengdu Weishilian Software 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 Chengdu Weishilian Software Technology Co ltd filed Critical Chengdu Weishilian Software Technology Co ltd
Priority to CN202110507375.7A priority Critical patent/CN113255325B/en
Publication of CN113255325A publication Critical patent/CN113255325A/en
Application granted granted Critical
Publication of CN113255325B publication Critical patent/CN113255325B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • G06F40/216Parsing using statistical methods
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a method for automatically calculating the content of an electronic document, which comprises the following steps: step 1: editing a calculation method for calculating the content of an electronic document; step 2: configuring an edited computing method into an electronic document; step 3: the method is automatically triggered in the process of using the electronic document, and the automatic calculation of the content of the electronic document is performed. The invention is based on the above steps, by editing the calculation method in the electronic document, and by using the electronic document to complete triggering the automatic calculation. The electronic document automatic calculation with low cost, high precision and high efficiency is realized.

Description

Method for automatically calculating content of electronic document
Technical Field
The invention belongs to the technical field of automatic calculation of electronic documents, and particularly relates to a method for automatically calculating contents of electronic documents.
Background
In many fields, various complicated data needs to be recorded and summarized, and the conversion calculation of the data is involved, and the conversion of the data content in one document form to the data content in another document form is also involved, and the calculation of the data content is also required. As in the medical field, various medicines need to be registered, and calculation of the amount is performed with respect to registered data, and the like.
In practical calculation, the traditional calculation method relies on manual calculation, when the amount of manual calculation is small, the higher calculation accuracy of the data can be ensured, but when the amount of the data is increased to a certain amount, the manual accuracy is greatly reduced, and once errors occur, the errors are greatly difficult to review based on the larger amount of the data. Therefore, for large enterprises, the cost is input to develop own data systems, and the cost is required to operate for the development and maintenance of the data systems, so that for enterprises between small data and large data, the labor efficiency is low, the errors are more, the review is difficult, the cost of the development system is increased, and the enterprises are difficult to maintain. Whereas conventional electronic document processing is divided into two types:
a word type document is directly used for data processing, the automatic calculation of the document is difficult to achieve in the processing mode, the calculation result cannot be processed, the document is troublesome to transmit and difficult to cooperate, and the document is required to be circulated among posts by means of other transmission tools.
Another is to use word documents embedded in the web, which solves the problem of document transmission and collaboration, but is still a mere document processing tool in nature, and does not implement the function of automatic computation.
Under such circumstances, there is a need for a method of automatically calculating an electronic document that ensures both calculation accuracy and cost and efficiency.
Disclosure of Invention
The present invention addresses the above-described shortcomings and needs of the prior art by providing a method of automatically computing the contents of an electronic document, in which the computing method is edited, and which is automatically computed by triggering it using the electronic document. The electronic document automatic calculation with low cost, high precision and high efficiency is realized.
The invention has the following specific implementation contents:
the invention provides a method for automatically calculating the content of an electronic document, which comprises the following steps:
step 1: editing a calculation method for calculating the content of an electronic document;
step 2: configuring an edited computing method into an electronic document;
step 3: the method is automatically triggered in the process of using the electronic document, and the automatic calculation of the content of the electronic document is performed.
In order to better implement the present invention, further, the specific operation of step 1 is as follows: editing a calculation method by using a basic calculation function, a constant and an operator corresponding to the content in the electronic document, organizing constant and variable parameter symbols by using the calculation function and the operator to obtain a complete calculation method, and storing the complete calculation method as a queriable calculation method configuration; the calculation method calculates by using the operators and the calculation functions through the parameter variables and the constants to obtain a calculation result.
In order to better implement the present invention, further, the step 2 specifically includes the following steps:
step 2.1: selecting configuration points on the document template, and binding the configuration points and a calculation method;
step 2.2: selecting a required calculation method;
step 2.3: configuring a parameter source of a calculation method;
step 2.4: configuring an effective range of a calculation result;
step 2.5: configuring an output format of a calculation result;
step 2.6: and (3) saving the settings in the steps 2.1-2.5, and searching the configuration information of the electronic document through an application program interface.
In order to better implement the present invention, further, in the step 2.1, the document template is an html template, and the configuration point is an editable area having an html trigger event and based on the html template; and entering configuration information for the configuration point by triggering an html triggering event, and calling a JavaScript code to bind the configuration point and a computing method.
In order to better implement the invention, further, in said step 2.2: and (3) inquiring the computing method edited in the step (1) through an application program, and selecting a configuration point corresponding to the appropriate computing method.
In order to better implement the present invention, further, the specific operation of step 2.3 is as follows: assigning a constant value or a variable value as a parameter source of the calculation method; when a variable value is designated as a parameter source, a configuration point of a current electronic document or a non-current electronic document is selected as a source of the parameter value to be configured.
In order to better implement the present invention, further, the specific operation of step 2.4 is as follows: the effective range of the calculation result is configured, the maximum value and the minimum value are set, and then the range of the value of the calculation result is specified.
In order to better implement the present invention, further, the output format in step 2.5 includes a displayed decimal place, a displayed calculation derivation process, a non-displayed calculation derivation process, and a displayed form of the value.
In order to better implement the present invention, further, in the step 3, step 3.1 needs to be performed first: when an electronic document with a configured computing method is used, injecting JavaScript codes of the called computing method into the electronic document, searching html source codes, positioning configuration points through the IDs of the configuration points, and acquiring values of the configuration points and taking the values as values of all parameters; and calling an application program interface to calculate by adopting a corresponding calculation method, and obtaining a calculation result and an ID of a configuration point which is required to be combined in corresponding to the calculation result.
In order to better implement the present invention, further, after step 3.1 is performed, step 3.2 is further performed: searching html source codes by ID of the configuration point, finding the configuration point, and injecting the calculation result into the value of the configuration point, thereby automatically calculating the value corresponding to the configuration point.
Compared with the prior art, the invention has the following advantages:
the invention overcomes the defects of manual calculation, complex operation, large workload and easy error in the prior art when the calculation is performed. By means of automatic calculation by a computer, a great deal of labor can be saved, and the calculation result is reliable and credible.
Drawings
FIG. 1 adds a sample of an automatic calculation method called addition using a method editor;
FIG. 2 example of an html-based configuration point-set electronic document
FIG. 3 is a sample of selecting addition and configuring parameters
FIG. 4 is a sample of the effective range of configuration results
FIG. 5 is a sample of an output format for configuring the calculation results;
fig. 6 shows a sample of the calculation result.
Detailed Description
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it should be understood that the described embodiments are only some embodiments of the present invention, but not all embodiments, and therefore should not be considered as limiting the scope of protection. All other embodiments, which are obtained by a worker of ordinary skill in the art without creative efforts, are within the protection scope of the present invention based on the embodiments of the present invention.
In the description of the present invention, it should be noted that, unless explicitly stated and limited otherwise, the terms "disposed," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; or may be directly connected, or may be indirectly connected through an intermediate medium, or may be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
Example 1:
the embodiment provides a method for automatically calculating the content of an electronic document, which comprises the following steps:
step 1: editing a calculation method for calculating the content of an electronic document;
step 2: configuring an edited computing method into an electronic document;
step 3: the method is automatically triggered in the process of using the electronic document, and the automatic calculation of the content of the electronic document is performed.
In order to better implement the present invention, further, the specific operation of step 1 is as follows: editing a calculation method by using a basic calculation function, a constant and an operator corresponding to the content in the electronic document, organizing constant and variable parameter symbols by using the calculation function and the operator to obtain a complete calculation method, and storing the complete calculation method as a queriable calculation method configuration; the calculation method calculates the parameter variables and constants by using operators and calculation functions to obtain a calculation result.
In order to better implement the present invention, further, the step 2 specifically includes the following steps:
step 2.1: selecting configuration points on the document template, and binding the configuration points and a calculation method;
step 2.2: selecting a required calculation method;
step 2.3: configuring a parameter source of a calculation method;
step 2.4: configuring an effective range of a calculation result;
step 2.5: configuring an output format of a calculation result;
step 2.6: and (3) saving the settings in the steps 2.1-2.5, and searching the configuration information of the electronic document through an application program interface.
In order to better implement the present invention, further, in the step 2.1, the document template is an html template, and the configuration point is an editable area having an html trigger event and based on the html template; and entering configuration information for the configuration point by triggering an html triggering event, and calling a JavaScript code to bind the configuration point and a computing method.
In order to better implement the invention, further, in said step 2.2: and (3) inquiring the computing method edited in the step (1) through an application program, and selecting a configuration point corresponding to the appropriate computing method.
In order to better implement the present invention, further, the specific operation of step 2.3 is as follows: assigning a constant value or a variable value as a parameter source of the calculation method; when a variable value is designated as a parameter source, a configuration point of a current electronic document or a non-current electronic document is selected as a source of the parameter value to be configured.
In order to better implement the present invention, further, the specific operation of step 2.4 is as follows: the effective range of the calculation result is configured, the maximum value and the minimum value are set, and then the range of the value of the calculation result is specified.
In order to better implement the present invention, further, the output format in step 2.5 includes a displayed decimal place, a displayed calculation derivation process, a non-displayed calculation derivation process, and a displayed form of the value.
In order to better implement the present invention, further, in the step 3, step 3.1 needs to be performed first: when an electronic document with a configured computing method is used, injecting JavaScript codes of the called computing method into the electronic document, searching html source codes, positioning configuration points through the IDs of the configuration points, and acquiring values of the configuration points and taking the values as values of all parameters; and calling an application program interface to calculate by adopting a corresponding calculation method, and obtaining a calculation result and an ID of a configuration point which is required to be combined in corresponding to the calculation result.
In order to better implement the present invention, further, after step 3.1 is performed, step 3.2 is further performed: searching html source codes by ID of the configuration point, finding the configuration point, and injecting the calculation result into the value of the configuration point, thereby automatically calculating the value corresponding to the configuration point.
Working principle:
1) The following is a data structure source code of a simple multiplication built in the system (the source code is not limited to be stored in xml form, and can be searched as a method object); wherein the multiplication form is a×b, namely < role > a×b < role >, the representative symbol of the parameter a is stored in the form of < code > a < code >, the parameter b is the same, and the number of the parameters is 2
<paramcount>2<paramcount>。
<formula>
<id>10</id>
<type>cal</type>
< name > simple multiplication
<paramCount>2</paramCount>
<params>
<param>
< name > parameter 1</name >
<code>a</code>
</param>
<param>
< name > parameter 2</name >
<code>b</code>
</param>
</params>
<subDefineMethod>false</subDefineMethod>
<sampleSelectMethod>false</sampleSelectMethod>
<subOtherMethod>false</subOtherMethod>
<inputValueMethod>false</inputValueMethod>
<role>a*b</role>
</formula>
2) FIG. 1 shows an automatic calculation method added by a method editor, wherein the method editor provides a calculation function (sin, cos … …), an operator (+, - … …), a constant symbol (phi, pi … …), a modification mode (round-up, round-down, round-up of a banker) for a custom calculation method, wherein a method category is selected as a statistical method, a calculation result symbol a is designated, a modification mode is selected as round-up of a banker, a calculation method b+c is input, and a complete calculation method is obtained after storage.
3) The following is the data structure source code of the addition saved by the method editor. The source code is not limited to be stored in xml, as long as it can be searched as a method object, the system analyzes the entered addition, generates a unique identifier ID of 20 for the addition, stores ID (< ID >20< ID >), parameter symbols after analysis (< code > b < code >, < code > c < code >), parameter number (< paramcount >2< paramcount >), character string form representation (< role > b+c < role >) of the calculation method, and rounding up by a reduction type banker (< reduction >6< reduction >).
<formula>
<id>20</id>
<functionId>2</functionId>
< FunctionName > statistical method
<functionCode>COUNT</functionCode>
<type>cal</type>
< name > addition of name >
<description>a</description>
<paramCount>2</paramCount>
<params>
<param>
< name > parameter b
<code>b</code>
</param>
<param>
< name > parameter c
<code>c</code>
</param>
</params>
<subDefineMethod>false</subDefineMethod>
<sampleSelectMethod>false</sampleSelectMethod>
<subOtherMethod>false</subOtherMethod>
<inputValueMethod>false</inputValueMethod>
<role>b+c</role>
<revision>6</revision>
</formula>
Fig. 2 is an html-based document with configuration points set, where the configuration point tag is textarea (the configuration point tag is not limited to textarea, any tag can be implemented), id=11 indicates that id of the configuration point 2 is 11, the id is used for locating the configuration point, onclick, ondbclick, onkeydown is a trigger event for a configuration point configuration method, the trigger event is not limited to the above three, any html event can be used as a trigger event for the configuration point configuration method, and value= "15" indicates that the value of the configuration point is 15;
<textarea id="11" name="textarea" onclick="conClick_f(this)" ondblclick="ondblclick_f(this)"
onkeydown="autoTextarea(this)" readonly type="text" value="15"
class="text-complete">15</textarea>
<textarea id="22" name="textarea" onclick="conClick_f(this)" ondblclick="ondblclick_f(this)"
onkeydown= "autoTextarea (this)" readonly type= "text" value= "configuration point 2" class= "text-complete" > "configuration point 2 </texttarea >
<textarea id="33" name="textarea" onclick="conClick_f(this)" ondblclick="ondblclick_f(this)"
onkeydown= "autoTextarea (this)" readonly type= "text" values= "configuration point 1" class= "text-complex" > "configuration point 1 </texttarea >
The following configures additions for configuration point 1 to enable simple addition automatic calculation:
the following is the configuration information of the configuration points stored in xml form. The configuration information is not limited to xml form or file as long as it can be retrieved as a configuration information object. The configuration added to the configuration point is saved in the configuration information, and the configuration information is retrieved to obtain the configuration during automatic calculation.
<spaces>
<space>
<id>11</id>
<displayId>15</displayId>
</space>
<space>
<id>33</id>
< displayId > configuration Point 2 displayId pair
</space>
<space>
<id>33</id>
< displayId > configuration Point 1 displayId-
</space>
</spaces>
2) By triggering the event to select configuration point 1 on the document, the automatic calculation method that can be configured is listed.
3) Fig. 3 is a diagram of selecting addition and configuration parameters. The statistical method is selected, then the addition is selected, and the association relation is configured for the configuration point 1 and the addition, and the specific principle is that the unique identifier ID20 is obtained from the configuration information of the addition, the configuration information is searched by the configuration point 1 element ID33, the information contained in the configuration point 1 is queried, and the unique identifier ID20 of the addition is bound into the information contained in the configuration point 1.
(3) Configuration parameter sources:
1) Selecting a parameter b, setting the parameter b as a direct input and an input value 15, wherein the data source of the configuration parameter b is a direct input constant value 15, searching configuration information by using a configuration point 1 element ID33 when the configuration information is stored, inquiring the information contained in the configuration point 1, and binding a parameter symbol b of the parameter b and the direct input constant value 15 into the information contained in the configuration point 1.
2) And selecting a parameter c, setting the parameter c to be related to other configuration points, selecting a configuration point space 2, and relating the parameter c to the configuration point space 2. And (3) storing the configuration point 2 as a data source of the parameter c, searching configuration information by using the element ID of the configuration point 1 when storing, inquiring the information contained in the configuration point 1, and binding the element ID of the configuration point 2 and the parameter symbol c of the parameter c into the information contained in the configuration point 1.
(4) Fig. 4 shows the effective range of configuration results:
1) The effective range of the configuration result is here the maximum 50, the minimum 25.
(5) Fig. 5 is an output format of the configuration calculation result:
1) The output format is configured to be a value display form.
2) The decimal number is 0 at the decimal number option space input.
3) The choice shows that the derivation process is no.
4) The reduction is rounded off by the banker.
(6) Preserving configuration information
1) saving the configuration set in the steps (2) (3) (4) above to obtain the following parameter codes, wherein the following parameter codes are the configuration point association calculation method and parameter configuration saved in the form of xml, saving the setting in the step (5) as configuration information to obtain the output format configuration of the calculation method saved in the form of xml, and the configuration information is not limited to any form of configuration file or database, so long as the configuration information can be searched as a configuration information object when in use.
<spaces>
<space>
<id>11</id>
<displayId>15</displayId>
</space>
<space>
<id>22</id>
< displayId > configuration Point 2 displayId pair
</space>
<space>
<id>33</id>
< displayId > configuration Point 3 displayId >
<isAutoInput>true</isAutoInput>
<isAutoCal>true</isAutoCal>
<min>25</min>
<max>50</max>
<position>
< formula Id > unique feature ID >
<output>
<code></code>
<value></value>
<def></def>
<isRef></isRef>
</output>
<sampleSelect/>
<subDefine/>
<subDefineMethod>false</subDefineMethod>
</position>
<relations>
<relation>
<code>b</code>
<value>15</value>
<def>15</def>
<isRef>false</isRef>
</relation>
<relation>
<code>c</code>
< value > configuration Point 2
<def>22</def>
<isRef>true</isRef>
</relation>
</relations>
<inputValue/>
</space>
</spaces>
(8) After html is loaded, automatic calculation is realized through a configuration method:
1) JavaScript code that invokes the associated method is injected for html.
2) The JavaScript code is called, configuration information is loaded, configuration is retrieved, parameters (b and c) of the configuration point 1 with addition are obtained, and since the source of the parameter b is direct input, a direct input value 15 of the parameter b is obtained from the configuration, and the value 15 is set in the addition parameter b of the configuration point 1. Since the source of the parameter c is the value of the associated configuration point 2, searching for html source codes according to the id value 22 of the configuration point 2 configured in the configuration point 1, obtaining that the current value of the configuration point 2 is 10 (the value is the value input in the operation process), and setting 10 to the value of the calculation method parameter c of the configuration point 1. The parameter b+c of the addition thus obtained is 15+10. The configuration is retrieved, resulting in the unique identification ID20 of the addition configured by configuration point 1. And calling an application program interface to obtain a calculation result of 25 according to the method ID20 and the parameter relation b=15 and c=10.
(9) The following is a sample of source code configured for the output format of the calculation result,
<style>
<id>33</id>
<decimalNumber>0</decimalNumber>
<isShowFormu1a>fa1se</isShowFormu1a>
<isShowPercent>fa1se</isShowPercent>
<revision>6</revision>
<showType>NUMBER</showType>
<timeFormat></timeFormat>
<refTimeFormat>textarea</refTimeFormat>
<showAlarmScreen>fa1se</showAlarmScreen>
<oosOrDeviation>fa1se</oosOrDeviation>
</style>
the following samples of source codes of the calculation results:
<textarea id="11" name="textarea" onclick="conClick_f(this)" ondblclick="ondblclick_f(this)"
onkeydown="autoTextarea(this)" readonly type="text" value="15"
class="text-complete">15</textarea>
<textarea id="22" name="textarea" onclick="conClick_f(this)" ondblclick="ondblclick_f(this)"
onkeydown="autoTextarea(this)" readonly type="text" value="10"
class="text-complete">10</textarea>
<textarea id="33" name="textarea" onclick="conClick_f(this)" ondblclick="ondblclick_f(this)"
onkeydown="autoTextarea(this)" readonly type="text" values="25"
class="text-complete">25</textarea>
in summary, it can be seen that the system incorporates the result 25 into the configuration point 1, and the method of incorporating the automatically calculated result into the configuration point is described below:
the JavaScript code is invoked to search html source code with ID33 of configuration point 1, locate the element, and set the automatically calculated result value 25 to the value of configuration point 1.
It should be noted that fig. 1-6 are only interface shots of the electronic document in the computer interface, which are shown as only one effect, and do not substantially affect the technical solutions described in the present application.
The foregoing description is only a preferred embodiment of the present invention, and is not intended to limit the present invention in any way, and any simple modification, equivalent variation, etc. of the above embodiment according to the technical matter of the present invention fall within the scope of the present invention.

Claims (8)

1. A method for automatically calculating the content of an electronic document, comprising the steps of:
step 1: editing a calculation method for calculating the content of an electronic document;
step 2: configuring an edited computing method into an electronic document;
step 3: automatically triggering a calculation method in the process of using the electronic document, and automatically calculating the content of the electronic document;
the step 2 specifically comprises the following steps:
step 2.1: selecting configuration points on the document template, and binding the configuration points and a calculation method;
step 2.2: selecting a required calculation method;
step 2.3: configuring a parameter source of a calculation method;
step 2.4: configuring an effective range of a calculation result;
step 2.5: configuring an output format of a calculation result;
step 2.6: saving the settings of the steps 2.1-2.5, and searching the configuration information of the electronic document through an application program interface;
in the step 2.1, the document template is an html template, and the configuration point is an editable area which has an html trigger event and is based on the html template; and entering configuration information for the configuration point by triggering an html triggering event, and calling a JavaScript code to bind the configuration point and a computing method.
2. The method for automatically calculating contents of an electronic document according to claim 1, wherein the specific operations of step 1 are as follows: editing a calculation method by using a basic calculation function, a constant and an operator corresponding to the content in the electronic document, organizing constant and variable parameter symbols by using the calculation function and the operator to obtain a complete calculation method, and storing the complete calculation method as a queriable calculation method configuration; and calculating the parameter variables and constants by using the operators and the calculation functions to obtain a calculation result.
3. A method of automatically calculating the content of an electronic document according to claim 1, wherein in said step 2.2: and (3) inquiring the computing method edited in the step (1) through an application program, and selecting a configuration point corresponding to the appropriate computing method.
4. The method for automatically calculating contents of an electronic document according to claim 1, wherein the specific operations of step 2.3 are as follows: assigning a constant value or a variable value as a parameter source of the calculation method; when a variable value is designated as a parameter source, a configuration point of a current electronic document or a non-current electronic document is selected as a source of the parameter value to be configured.
5. The method for automatically calculating contents of an electronic document according to claim 1, wherein the specific operations of step 2.4 are as follows: the effective range of the calculation result is configured, the maximum value and the minimum value are set, and then the range of the value of the calculation result is specified.
6. The method of claim 1, wherein the output format in step 2.5 includes a displayed decimal place, a displayed calculation derivation process, a non-displayed calculation derivation process, and a displayed form of the value.
7. The method for automatically calculating contents of an electronic document according to claim 1, wherein in the step 3, step 3.1 is performed first: when an electronic document with a configured computing method is used, injecting JavaScript codes of the called computing method into the electronic document, searching html source codes, positioning configuration points through the IDs of the configuration points, and acquiring values of the configuration points and taking the values as values of all parameters; and calling an application program interface to calculate by adopting a corresponding calculation method, and obtaining a calculation result and an ID of a configuration point which is required to be combined in corresponding to the calculation result.
8. The method for automatically calculating the contents of an electronic document according to claim 7, wherein after step 3.1 is performed, step 3.2 is further performed: searching html source codes by ID of the configuration point, finding the configuration point, and injecting the calculation result into the value of the configuration point, thereby automatically calculating the value corresponding to the configuration point.
CN202110507375.7A 2021-05-10 2021-05-10 Method for automatically calculating content of electronic document Active CN113255325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110507375.7A CN113255325B (en) 2021-05-10 2021-05-10 Method for automatically calculating content of electronic document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110507375.7A CN113255325B (en) 2021-05-10 2021-05-10 Method for automatically calculating content of electronic document

Publications (2)

Publication Number Publication Date
CN113255325A CN113255325A (en) 2021-08-13
CN113255325B true CN113255325B (en) 2023-05-23

Family

ID=77222449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110507375.7A Active CN113255325B (en) 2021-05-10 2021-05-10 Method for automatically calculating content of electronic document

Country Status (1)

Country Link
CN (1) CN113255325B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101167296A (en) * 2005-04-22 2008-04-23 微软公司 Renewable and individualizable elements of a protected computing environment
CN101493839A (en) * 2009-03-04 2009-07-29 北京航空航天大学 Method for generating general-purpose test document
CN105094836A (en) * 2015-08-11 2015-11-25 北京京东尚科信息技术有限公司 Method and device for generating description document
CN107818073A (en) * 2017-11-14 2018-03-20 北京思特奇信息技术股份有限公司 A kind of dynamic list page is automatically converted to the method and system of the HTML5 pages
CN108073390A (en) * 2016-11-08 2018-05-25 北京京东尚科信息技术有限公司 It is managed collectively the method, apparatus and system of configuration file in multiple engineerings
CN110688600A (en) * 2019-09-09 2020-01-14 平安普惠企业管理有限公司 Online editing method, device and equipment based on HTML (Hypertext markup language) page and storage medium
CN110968996A (en) * 2019-11-13 2020-04-07 安徽东方智云科技有限公司 Document making method, device, equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9286275B2 (en) * 2004-08-23 2016-03-15 Oracle America, Inc. System and method for automatically generating XML schema for validating XML input documents
US9224010B2 (en) * 2011-09-01 2015-12-29 International Business Machines Corporation Secure document creation from potentially unsecure source templates
CN104408198B (en) * 2014-12-15 2018-07-17 北京国双科技有限公司 The acquisition methods and device of Webpage content
CN105138316A (en) * 2015-07-23 2015-12-09 中山大学深圳研究院 Automatic clicking method and device based on super sketchpad
CN106682268B (en) * 2016-11-28 2020-06-30 深圳市紫光同创电子有限公司 Programmable logic device configuration method and equipment
CN109522528A (en) * 2018-11-13 2019-03-26 吴昌议 A kind of word document is converted to the method that can calculate automatically html document

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101167296A (en) * 2005-04-22 2008-04-23 微软公司 Renewable and individualizable elements of a protected computing environment
CN101493839A (en) * 2009-03-04 2009-07-29 北京航空航天大学 Method for generating general-purpose test document
CN105094836A (en) * 2015-08-11 2015-11-25 北京京东尚科信息技术有限公司 Method and device for generating description document
CN108073390A (en) * 2016-11-08 2018-05-25 北京京东尚科信息技术有限公司 It is managed collectively the method, apparatus and system of configuration file in multiple engineerings
CN107818073A (en) * 2017-11-14 2018-03-20 北京思特奇信息技术股份有限公司 A kind of dynamic list page is automatically converted to the method and system of the HTML5 pages
CN110688600A (en) * 2019-09-09 2020-01-14 平安普惠企业管理有限公司 Online editing method, device and equipment based on HTML (Hypertext markup language) page and storage medium
CN110968996A (en) * 2019-11-13 2020-04-07 安徽东方智云科技有限公司 Document making method, device, equipment and storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Standards for Neurotechnologies and Brain-Machine Interfacing;Ricardo Chavarriaga;Systems, Man, and Cybernetics Magazine;第6卷(第3期);第50页-51页 *
一种文档自动生成模型的构建及其应用;曲明成;廖明宏;吴翔虎;刘志强;;计算机集成制造系统;第14卷(第07期);第1297页-1305页 *
云资源池网络自动化部署技术研究与实践;赖培源等;电信科学(第7期);第1页-8页 *
数据中心虚拟资源服务注册及发现研究与实现;许小华等;信息通信(第10期);第89页-91页 *

Also Published As

Publication number Publication date
CN113255325A (en) 2021-08-13

Similar Documents

Publication Publication Date Title
CN109783555B (en) Form template storage method and device, storage medium and electronic equipment
US20190129734A1 (en) Data collection workflow extension
CN109460219B (en) Method for quickly serializing interface control file
CN111159982B (en) Document editing method, device, electronic equipment and computer readable storage medium
CN114090671A (en) Data import method and device, electronic equipment and storage medium
CN111240688A (en) excel file analysis method and device, computer equipment and storage medium
CN112000320A (en) Automatic code generation method, device, equipment and storage medium
CN114253995B (en) Data tracing method, device, equipment and computer readable storage medium
CN111209326A (en) Data query method and device, electronic equipment and storage medium
CN113255325B (en) Method for automatically calculating content of electronic document
CN105867886B (en) Method and device for writing table
CN112818070A (en) Data query method and device based on global data dictionary and electronic equipment
CN110688315A (en) Interface code detection report generation method, electronic device, and storage medium
CN112800371A (en) Method and device for processing spreadsheet data in web page
CN114817152A (en) Method and system for querying slice file
CN115295109A (en) Medical data tracing method and device, storage medium and terminal equipment
CN111562907A (en) Conversion method and system of user-defined interface data
CN111339035B (en) Target data query method and device, computer equipment and storage medium
CN116136757A (en) Log output method and device and electronic equipment
CN109697234B (en) Multi-attribute information query method, device, server and medium for entity
CN106980496B (en) Tool integration method and system based on FOG data bus
CN109840080B (en) Character attribute comparison method and device, storage medium and electronic equipment
CN109241515B (en) Method and device for generating report file
CN113609128A (en) Method and device for generating database entity class, terminal equipment and storage medium
CN116126873B (en) Data summarization method and device based on nonstandard data table and storage medium

Legal Events

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