Form-based integral automatic calculation method, terminal equipment and storage medium

By automatic calculation method based on the form of integration, the form content editing module and integration calculation plug -in are used to solve the problem of low efficiency and rules of traditional integration calculation methods, and realize the flexible configuration and efficient processing of integration business.

CN119358521APending Publication Date: 2025-01-24ROPEOK TECHNOLOGY GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411460813.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-18
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

The traditional points calculation method is inefficient and error-prone, and the existing points system has fixed points types and rules, which cannot meet the diversified business needs of enterprises.

Method used

Adopt the form -based point automatic calculation method, edit the form and attribute values ​​through the form content editing module, call the integral calculation plug -in for automatic calculation, and uniformly manage the plug -in by managing all points by managing the module through the plug -in management module.

Benefits of technology

It realizes flexible configuration and efficient processing of points business, improves the accuracy and real-time nature of points data, and reduces labor and time costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119358521A_ABST
    Figure CN119358521A_ABST
Patent Text Reader

Abstract

The invention relates to a form-based integral automatic calculation method, terminal equipment and a storage medium. The method comprises the following steps: editing each field contained in a form and an attribute value of an attribute contained in each field through a form content editing module; when a form is received, based on a field which needs to be subjected to integral calculation and is contained in the form, extracting an integral calculation plug-in of the field from a form content editing module and calculating attribute values of two attributes of a field corresponding to a required parameter; calling a corresponding integral calculation plug-in from the plug-in management module based on the attribute value of the integral calculation plug-in attribute; meanwhile, on the basis of fields contained in attribute values of field attributes corresponding to the required parameters, values of the corresponding fields are called from the received form; and based on the called value of the corresponding field, carrying out integral calculation through the called integral calculation plug-in, and storing an integral calculation result as the value of the field needing to be subjected to integral calculation. According to the invention, flexible configuration and efficient processing of the integral service are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a form-based automatic integral calculation method, terminal equipment and storage medium. Background Art

[0002] With the rapid development of corporate business, the points system has been widely used in various business scenarios. The traditional points calculation method often relies on manual recording and calculation, which is not only inefficient, but also prone to errors, and it is difficult to ensure the accuracy and real-time nature of the points data. In addition, manual management also increases labor costs and time costs, which is not conducive to the long-term development of the enterprise. Existing points systems often have problems with fixed and inflexible points types and rules, which cannot meet the diverse business needs of enterprises. A fixed and rigid points calculation standard is difficult to fully and accurately reflect the actual performance and contribution of employees. Therefore, how to provide a flexible and efficient points calculation method and system has become a problem that needs to be solved urgently. Summary of the invention

[0003] In order to solve the above problems, the present invention proposes a form-based automatic points calculation method, terminal device and storage medium.

[0004] The specific plan is as follows:

[0005] A form-based automatic integral calculation method, comprising:

[0006] The form content editing module is used to edit the fields contained in the form and the attribute values ​​of the attributes contained in each field; when editing a field that needs to be calculated for integrals, the attribute values ​​of the integral calculation plug-in corresponding to the field and the field corresponding to the parameters required for calculation are edited at the same time;

[0007] When a form is received, based on the fields in the form that need to be calculated for points, the attribute values ​​of the two properties of the point calculation plug-in of the field and the field corresponding to the parameters required for calculation are extracted from the form content editing module; based on the attribute values ​​of the point calculation plug-in attributes, the corresponding point calculation plug-in is called from the plug-in management module; at the same time, based on the fields contained in the attribute values ​​of the field attributes corresponding to the parameters required for calculation, the values ​​of the corresponding fields are called from the received form; based on the values ​​of the called corresponding fields, the points are calculated by the called point calculation plug-in, and the point calculation result is saved as the value of the field that needs to be calculated for points.

[0008] Furthermore, the attribute value of the point calculation plug-in attribute is set to the unique code of the point calculation plug-in.

[0009] Furthermore, all points calculation plug-ins are centrally managed through the plug-in management module.

[0010] Furthermore, editing includes adding, deleting and modifying.

[0011] A form-based automatic points calculation terminal device includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above-mentioned method of the embodiment of the present invention are implemented.

[0012] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described above in an embodiment of the present invention are implemented.

[0013] The present invention adopts the above technical solution to achieve flexible configuration and efficient processing of the points business. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 Shown is a flow chart of a method according to a first embodiment of the present invention.

[0015] Figure 2 Shown is a schematic diagram of the form content editing module in this embodiment.

[0016] Figure 3 Shown is a schematic diagram of the form in this embodiment. DETAILED DESCRIPTION

[0017] To further illustrate various embodiments, the present invention provides drawings. These drawings are part of the disclosure of the present invention, which are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, ordinary technicians in this field should be able to understand other possible implementations and advantages of the present invention.

[0018] The present invention will now be further described with reference to the accompanying drawings and specific implementation methods.

[0019] Embodiment 1:

[0020] The embodiment of the present invention provides a method for automatically calculating integrals based on a form, such as Figure 1 As shown, the method includes the following contents:

[0021] (1) Edit the fields contained in the form and the attribute values ​​of the attributes contained in each field through the form content editing module.

[0022] like Figure 2The figure shows the schematic diagram of the form content editing module. From the form content editing module, you can configure different forms separately, and each form corresponds to a configuration interface. In the form content editing module, you can edit the fields (such as police number, name, gender, etc.) and attribute values ​​(such as read-only, query conditions, field type, etc.) that each form needs to use (such as read-only and query conditions, the attribute value of the field type is yes or no, the attribute value of the field type is text box, drop-down box, etc.). Editing includes adding, deleting, modifying, etc.

[0023] (2) When editing a field that needs to be calculated, the attribute values ​​of the two attributes corresponding to the integral calculation plug-in and the field corresponding to the parameters required for calculation are edited at the same time.

[0024] For example, when you need to add a new field that requires point calculation (such as job points), fill in the attribute values ​​of the two attributes of the point calculation plug-in corresponding to the field and the field corresponding to the parameters required for calculation.

[0025] Since different fields that need to perform point calculation may require different point calculation plug-ins, in order to facilitate matching with existing point calculation plug-ins, the attribute value of the point calculation plug-in attribute is set as the unique code of the point calculation plug-in in this embodiment.

[0026] In this embodiment, the attribute values ​​of the field attributes corresponding to the parameters required for calculation are set as the field names of each field. For example, the calculation principle formula of the points calculation plug-in corresponding to the position points is: position points = (end time of employment - start time of employment) * position points. Therefore, the attribute values ​​of the field attributes corresponding to the parameters required for calculation corresponding to the position points field are set to the end time of employment, the start time of employment and the position points.

[0027] (3) When a form is received, based on the fields in the form that require point calculation, the attribute values ​​of the two attributes of the point calculation plug-in of the field and the field corresponding to the parameters required for calculation are extracted from the form content editing module; based on the attribute values ​​of the point calculation plug-in attributes, the corresponding point calculation plug-in is called from the plug-in management module; at the same time, based on the fields contained in the attribute values ​​of the field attributes corresponding to the parameters required for calculation, the values ​​of the corresponding fields are called from the received form; based on the values ​​of the called corresponding fields, the points are calculated by the called point calculation plug-in, and the point calculation result is saved as the value of the field that requires point calculation.

[0028] The value of the field that needs to be calculated is usually expressed as a score. The received form is often filled with the values ​​of other fields except the field that needs to be calculated (the received form in this embodiment should be the user's Figure 3The result after filling in the values ​​of other fields except the position points field). This step can realize the automatic filling of the values ​​of the fields that need to be calculated for points.

[0029] Furthermore, in this embodiment, all points calculation plug-ins are uniformly managed by the plug-in management module, and the management includes operations such as adding, deleting, and modifying. The points calculation plug-in can encapsulate specific points calculation rules (such as the above-mentioned job points calculation rules), which are often set by users according to their needs and are not limited here. The plug-in management module can realize flexible configuration and expansion of points calculation rules.

[0030] The embodiment of the present invention realizes flexible configuration and efficient processing of the points business by encapsulating the points calculation rules into a custom plug-in. At the same time, through the form content editing module, users can easily realize the rapid collection and processing of business data. Therefore, this embodiment has high practical value and market prospects.

[0031] Embodiment 2:

[0032] The present invention also provides a form-based automatic points calculation terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the above-mentioned method embodiment of the first embodiment of the present invention when executing the computer program.

[0033] Further, as an executable solution, the form-based automatic integral calculation terminal device can be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The form-based automatic integral calculation terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art can understand that the composition structure of the above-mentioned form-based automatic integral calculation terminal device is only an example of a form-based automatic integral calculation terminal device, and does not constitute a limitation on the form-based automatic integral calculation terminal device. It may include more or less components than the above, or combine certain components, or different components. For example, the form-based automatic integral calculation terminal device may also include input and output devices, network access devices, buses, etc., and the embodiments of the present invention do not limit this.

[0034] Further, as an executable solution, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the form-based integral automatic calculation terminal device, and uses various interfaces and lines to connect the various parts of the entire form-based integral automatic calculation terminal device.

[0035] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the form-based automatic integral calculation terminal device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required for a function; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0036] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method in the embodiment of the present invention are implemented.

[0037] If the module / unit integrated in the form-based automatic integral calculation terminal device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory) and software distribution medium, etc.

[0038] Although the present invention has been specifically shown and described in conjunction with the preferred embodiments, it should be understood by those skilled in the art that various changes may be made to the present invention in form and details without departing from the spirit and scope of the present invention as defined by the appended claims, all of which are within the scope of protection of the present invention.

Claims

1. A form-based automatic integral calculation method, characterized in that: include: Edit the fields contained in the form and the attribute values ​​of the attributes contained in each field through the form content editing module; When editing a field that needs to be calculated, edit the attribute values ​​of the two attributes of the integral calculation plug-in corresponding to the field and the field corresponding to the parameters required for calculation at the same time; When a form is received, based on the fields in the form that need to be calculated for points, the attribute values ​​of the two attributes of the point calculation plug-in for the field and the field corresponding to the parameters required for calculation are extracted from the form content editing module; Based on the attribute value of the point calculation plug-in property, the corresponding point calculation plug-in is called from the plug-in management module; at the same time, based on the fields contained in the attribute value of the field attribute corresponding to the parameter required for calculation, the value of the corresponding field is called from the received form; based on the value of the called corresponding field, the point calculation is performed through the called point calculation plug-in, and the point calculation result is saved as the value of the field that needs to be calculated.

2. The form-based automatic integral calculation method according to claim 1, characterized in that: Set the attribute value of the integral calculation plug-in attribute to the unique code of the integral calculation plug-in.

3. The form-based automatic integral calculation method according to claim 1, characterized in that: All points calculation plug-ins are centrally managed through the plug-in management module.

4. The form-based automatic integral calculation method according to claim 1, characterized in that: Editing includes adding, deleting, and modifying.

5. A form-based automatic point calculation terminal device, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 4 when executing the computer program.

6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.