System and method for integrating function management and intelligent formula editing
By designing a function library management module and a formula editor module, the automatic management and dynamic expansion of the function library are realized, which solves the problem of low efficiency of the formula editor in the existing technology and improves the work efficiency and convenience of users when editing complex formulas.
Patent Information
- Application Number
- CN202411922508.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-10-03
AI Technical Summary
Existing formula editors lack effective management and maintenance of function libraries, resulting in low efficiency when users edit complex formulas and failing to provide an efficient and convenient user experience.
A function library management module is designed to support dynamic loading and management of functions. It combines a graphical interface and command line methods to achieve automated management and maintenance. It is equipped with a function automatic association function and provides a graphical user interface and real-time rendering inspection through the formula editor module.
It realizes the automated management and dynamic expansion of the function library, improves the user's work efficiency in the formula editor, and provides a convenient function usage experience and real-time recommendation function.
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_3
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and more particularly to a method and system for maintaining a function library and implementing formula editor functions. Specifically, the present invention relates to a method for automatically managing and editing a function library and supporting the flexible application of the function library in a formula editor. Background Art
[0002] In modern computing environments, formula editors and function libraries are widely used in fields such as mathematics, industry, and scientific computing. However, existing formula editors typically provide only basic formula editing and display capabilities, lacking effective management and maintenance of function libraries. When editing formulas, users often need to manually enter repetitive function expressions, reducing work efficiency.
[0003] Traditional function library management systems generally rely on static maintenance, lacking automated updates and dynamic expansion capabilities. Existing formula editors have limited functionality when handling complex formulas, especially custom functions, and fail to provide an efficient and convenient user experience. Therefore, achieving flexible management and automated maintenance of function libraries within formula editors has become a pressing issue. Summary of the Invention
[0004] The purpose of the present invention is to provide a method and system for maintaining a function library and formula editor functions, which can realize automated management of the function library, support the convenient use of predefined functions in the formula editor, and dynamically expand and maintain the function library according to user needs. The technical solution of the present invention is as follows: Function library management module: This module is used to store and maintain information about mathematical functions, including function names, function parameters, return value types, function descriptions, etc. Functions in the function library can be dynamically loaded and support functions such as addition, deletion, and modification.
[0005] Formula Editor: This module provides a graphical user interface (GUI) that allows users to edit formulas by simply typing, selecting, or dragging. The Formula Editor renders and checks formulas for correctness in real time, supports inserting functions from the function library, and automatically generates associations based on input.
[0006] Function automatic association function: In the formula editor, the system will recommend function names and related parameters in real time based on part of the content entered by the user, and users can quickly select and insert the required function.
[0007] Dynamic expansion and maintenance of the function library: Users can easily manage the function library, adding, deleting, or modifying functions through a graphical interface or command line. The system automatically updates the function library simultaneously.
[0008] Function running test of the function library: users can run debugging tests on the written functions and judge whether the functions are correct based on the running results.
[0009] Insert business data in the formula editor: In the formula editor module, users can insert corresponding business data based on different business data models.
[0010] Formula Editor Application: After the function is maintained through the formula editor and function library, it is applied to the business field. Figure 1 A diagram showing the module description for the function library maintenance. Figure 2 This is a diagram illustrating the formula editor module. Figure 3 This is a diagram illustrating the application of the formula editor module.
Claims
1. A method for maintaining a function library and a formula editor, characterized in that: The following steps are involved: Build a function library management module to store and maintain mathematical function information, including function name, function parameters, return value type and function description; Constructing a formula editor module to support users to input and edit formulas and insert functions in a function library, wherein the formula editor module has a graphical user interface; Provides a function automatic association function, which intelligently recommends functions related to the input content based on the user input and automatically fills in the function call format; Supports dynamic expansion and maintenance of function libraries, allowing users to add, delete or modify functions through a graphical interface or command line; Supports function execution of function libraries, allowing users to run functions they have written, obtain and display the results; Supports inserting business objects into the formula editor, allowing users to insert corresponding business data for different business data models; Supports the final application of formulas. After the function is maintained and completed through the formula editor and function library, it is applied to the business field.
2. The method according to claim 1, wherein The function library management module uses a relational database to store function data.
3. The method according to claim 1, wherein The formula editor module is implemented using a modern front-end framework that supports symbol input, function selection, formula typesetting, and real-time checking.
4. The method according to claim 1, wherein The function automatic association function can display the matching function name and its parameter information in real time according to the partial function name or expression input by the user.
5. The method according to claim 1, wherein The function can run tests, debug the correctness of the function, and display the running results.
6. The method according to claim 1, wherein The formula editor can insert business data, corresponding to different business fields according to different businesses.
7. The method according to claim 1, wherein After the formula editor is set up, it can be applied to business fields and the function will take effect.
8. A system for implementing function library maintenance and formula editor functions, characterized in that: include: A function library management module, used to store and maintain mathematical function data, and support the addition, deletion, and modification of functions; A formula editor module that supports users to input and edit formulas and insert functions from the function library, and provides automatic association function; An application formula template that applies the set function to the business field.