Function collection method and device of electronic data table
A technology of electronic data table and collection device, which is applied in the direction of electrical digital data processing, special data processing applications, complex mathematical operations, etc., and can solve problems such as inability to realize optimal execution of function A, waste of system computing resources, and low efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0102] The external secondary development module is written in Java language as the electronic data sheet, which is used to provide ACCT query function to query the data in the ERP (Enterprise Resource Planning, enterprise resource management) database. ACCT is defined as: public BigDecimal ACCT (String subject code). You can enter the formula "=ACCT("001")" in the cell of the spreadsheet to query the account code whose ID is 001 in the ERP system. For example, this code corresponds to the cash amount, that is, query the ERP system to obtain the corresponding cash amount data.
[0103] In the internal implementation of ACCT, the query to the database is completed by assembling the following SQL_1 statement: select amount from subject balance table while subject code = "001". In the execution of an ACCT query function, the following series of operations need to be performed: connecting to the database, assembling SQL statements according to function parameters, executing SQL st...
Embodiment 2
[0110] Assume that the cell formulas in the 100 cells of the spreadsheet in the first embodiment not only include the ACCT function, but also include rules for calculating the function or other parameters.
[0111] For the above case. The present invention can be calculated in the following two ways:
[0112] A. A complex execution unit is set in the secondary development module to execute the unit formula including the ACCT function.
[0113] This solution is preferably applicable to the case where the unit formulas in the above 100 cells are the same or similar. During the batch collection step, the entire unit formulas are collected and submitted to the complex execution unit. After the batch is completed, the execution results are returned to Spreadsheet.
[0114] B. The execution unit set in the secondary development module is still only for ACCT. After the execution is completed, the execution result is returned to the electronic data sheet, and the units in each cell ...
Embodiment 3
[0117] On the basis of the above-mentioned embodiments, for the collected functions and their parameters, multi-thread technology can also be used to parallelize the various types of collected functions. For computing scenarios where there are multiple CPUs in the computing environment or function execution requires remote data access, it can help make full use of computer resources and significantly improve computing efficiency.
[0118] The process of using the direct matching method to collect functions and complete the calculation in step 101 is described below through a specific example:
[0119] The core idea of the direct matching method is to collect functions and their parameters through string matching. For example, use Excel to complete a report for an ERP system: enter the formula =SUM(ACCT("001"), 100) in the Excel cell, the SUM function can be recognized by Excel, and the ACCT function is used to extract from the ERP system The extension function for extractin...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap