Cost application approval settlement dynamic configuration method and device, equipment and storage medium

By dynamically configuring fee applications and quickly adjusting the application, approval and settlement processes, the problem that traditional static configuration methods cannot meet the flexibility of the enterprise's business process is solved, and the process simplification and efficiency improvement are achieved.

CN119398687APending Publication Date: 2025-02-07上海乾臻信息科技有限公司
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411410920.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

Traditional static configuration methods cannot meet the flexibility and configurability needs of enterprises for business processes, resulting in complex and inefficient fees application, approval and settlement processes, which cannot meet the convenience and flexibility needs of users.

Method used

By dynamically configuring fee applications, quickly adjusting all links in the application, approval and settlement process, generating application forms that meet business needs, and implementing intelligent verification and processing, reducing manual intervention and error rates, and improving the degree of automation.

Benefits of technology

It improves the flexibility and adaptability of the system, simplifies the process, improves the efficiency of fee application, approval and settlement, and thus improves user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119398687A_ABST
    Figure CN119398687A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of information processing, in particular to a charge application approval settlement dynamic configuration method and device, equipment and a storage medium, and the method comprises the steps: carrying out the dynamic configuration of a charge application instruction based on a preset business rule, and generating an application form meeting the business demands according to the configuration information; all links in the application, approval and settlement process are rapidly adjusted, the flexibility and adaptability of the system are improved, the process is simplified, integrity and legality verification is carried out on the application form, intelligent verification processing is achieved, manual intervention and the error rate are reduced, the automation degree is improved, and the efficiency is improved. The approval process of the application form is triggered according to the preset approval rule, cost calculation is performed according to the preset settlement rule, payment processing is performed according to the calculation result, the efficiency of cost application, approval and settlement is improved, and then the user satisfaction is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information processing technology, and in particular to a method, device, equipment and storage medium for dynamically configuring fee application approval and settlement. Background Art

[0002] With the rapid development of information technology, all walks of life are actively promoting digital transformation. In the field of financial management and payment settlement, digital transformation has become an irreversible trend. In modern society, users have higher and higher requirements for the convenience of expense application process and the flexibility of expense settlement, but enterprises cannot provide mobile and self-service services, which makes it impossible for users to apply and settle conveniently at any time and any place, and cannot meet the convenience needs of users. Moreover, with the continuous development and changes of corporate business, the expense application, approval and settlement processes have become more and more complex and changeable. The traditional static configuration method can no longer meet the company's needs for business process flexibility and configurability. It has low applicability and cannot quickly adjust and optimize the process according to business needs, reducing the efficiency of expense application, approval and settlement, thereby reducing user satisfaction. Summary of the invention

[0003] In order to overcome the shortcomings of the prior art, the purpose of the present invention is to provide a method, device, equipment and storage medium for dynamic configuration of expense application, approval and settlement, which can dynamically configure expense applications, quickly adjust various links in the application, approval and settlement processes, improve the flexibility and adaptability of the system, simplify the process, realize intelligent verification processing, reduce manual intervention and error rate, improve the degree of automation, improve the efficiency of expense application, approval and settlement, and thus improve user satisfaction.

[0004] The first aspect of the present invention provides a method for dynamic configuration of fee application approval and settlement, including: obtaining a fee application instruction initiated by a user terminal, dynamically configuring the fee application instruction based on preset business rules to obtain configuration information; generating an application form that meets business requirements according to the configuration information, and performing integrity and legality verification on the application form; when the verification is passed, submitting the application form, and recording the application submission time and the application user information; triggering the approval process of the application form according to preset approval rules, the approval process includes multiple approval nodes, and when all the approval nodes are passed, the fee is calculated according to the preset settlement rules to obtain a calculation result; performing payment processing according to the calculation result to obtain a payment result, and saving the payment result, the application submission time and the application user information in a database.

[0005] Optionally, in a first implementation method of the first aspect of the present invention, obtaining the fee application instruction initiated by the user end, dynamically configuring the fee application instruction based on pre-set business rules to obtain configuration information, includes: obtaining the fee application instruction initiated by the user end; parsing the fee application instruction to obtain fee application data; dynamically configuring the fee application data based on pre-set business rules to obtain configuration information.

[0006] Optionally, in a second implementation method of the first aspect of the present invention, an application form that meets business requirements is generated according to the configuration information, and the application form is checked for integrity and legality, including: determining form fields, form layout and required items according to the configuration information; calling a form template according to the form fields, the form layout and the required items; creating a listener, and using the listener to listen to the completed entry information input by the user end; when the listener listens to the completed entry information, receiving the current completed entry information; filling the completed entry information into the form template to generate an application form; and using regular expressions to check the integrity and legality of the application form.

[0007] Optionally, in a third implementation method of the first aspect of the present invention, when the verification is passed, the application form is submitted, and the application submission time and the applicant user information are recorded, including: when the verification is passed, the application form is submitted, and the application submission time of the application form is obtained from the timestamp service platform; the user ID of the user terminal is identified, and the application user information is determined based on the user ID; and a data desensitizing algorithm is used to record the application submission time and the application user information.

[0008] Optionally, in a fourth implementation method of the first aspect of the present invention, the approval process of the application form is triggered according to preset approval rules, and the approval process includes multiple approval nodes. When all the approval nodes are passed, the fee calculation is performed according to the preset settlement rules to obtain a calculation result, including: using a workflow management algorithm to define approval rules; triggering the approval process of the application form according to the approval rules, and the approval process includes multiple approval nodes; setting the pass conditions of each approval node through a decision tree algorithm; when all the pass conditions are passed, the fee calculation is performed according to the preset settlement rules to obtain a calculation result, and the settlement rules include fee application type rate, sender surcharge rate, fee calculation formula, payment method and payment channel.

[0009] Optionally, in a fifth implementation of the first aspect of the present invention, payment processing is performed according to the calculation result to obtain a payment result, and the payment result, the application submission time, and the applicant user information are saved in a database, including: selecting a payment method according to the calculation result; performing payment processing according to the payment method to obtain a payment result; merging the payment result, the application submission time, and the applicant user information to obtain merged information; and saving the merged information in a database.

[0010] Optionally, in a sixth implementation method of the first aspect of the present invention, after performing payment processing according to the calculation result to obtain a payment result, and saving the payment result, the application submission time and the applicant user information in a database, it also includes: sending the merged information to the user terminal, so that the user terminal generates and displays a fee payment completion page based on the merged information; obtaining the payment confirmation information fed back by the user terminal, associating the merged information with the payment confirmation information to obtain associated information; generating a process end identifier, marking the process end identifier on the associated information, and obtaining fee application process end information; encrypting the fee application process end information to obtain encrypted information; and uploading the encrypted information to the blockchain.

[0011] The second aspect of the present invention provides a dynamic configuration device for fee application approval and settlement, including: an acquisition configuration module, which is used to obtain the fee application instruction initiated by the user end, and dynamically configure the fee application instruction based on pre-set business rules to obtain configuration information; a generation verification module, which is used to generate an application form that meets business requirements according to the configuration information, and perform integrity and legality verification on the application form; a submission record module, which is used to submit the application form when the verification is passed, and record the application submission time and the application user information; a trigger calculation module, which is used to trigger the approval process of the application form according to preset approval rules, and the approval process includes multiple approval nodes. When all the approval nodes are passed, the fee calculation is performed according to the preset settlement rules to obtain the calculation result; a payment storage module is used to perform payment processing according to the calculation result, obtain the payment result, and save the payment result, the application submission time and the application user information into a database.

[0012] Optionally, in a first implementation method of the second aspect of the present invention, the configuration acquisition module includes: an acquisition unit, used to acquire the fee application instruction initiated by the user end; a parsing unit, used to parse the fee application instruction to obtain fee application data; and a configuration unit, used to dynamically configure the fee application data based on pre-set business rules to obtain configuration information.

[0013] Optionally, in a second implementation method of the second aspect of the present invention, the generation and verification module includes: a determination unit, used to determine the form fields, form layout and required items according to the configuration information; a calling unit, used to call the form template according to the form fields, the form layout and the required items; a creation monitoring unit, used to create a listener, and use the listener to monitor the complete entry information input by the user end; a receiving unit, used to receive the current complete entry information when the listener listens to the complete entry information; a filling unit, used to fill the complete entry information into the form template to generate an application form; a verification unit, used to use regular expressions to verify the integrity and legality of the application form.

[0014] Optionally, in a third implementation method of the second aspect of the present invention, the submission record module includes: a submission acquisition unit, which is used to submit the application form when the verification is passed, and obtain the application submission time of the application form from the timestamp service platform; an identification and determination unit, which is used to identify the user ID of the user terminal and determine the application user information based on the user ID; a recording unit, which is used to use a data desensitizing algorithm to record the application submission time and the application user information.

[0015] Optionally, in a fourth implementation of the second aspect of the present invention, the trigger calculation module includes: a definition unit, used to define approval rules using a workflow management algorithm; a trigger unit, used to trigger the approval process of the application form according to the approval rules, and the approval process includes multiple approval nodes; a setting unit, used to set the pass conditions of each of the approval nodes through a decision tree algorithm; a calculation unit, used to calculate the fees according to preset settlement rules when all the pass conditions are passed, and obtain a calculation result, and the settlement rules include fee application type rate, sender surcharge rate, fee calculation formula, payment method and payment channel.

[0016] Optionally, in a fifth implementation of the second aspect of the present invention, the payment saving module includes: a selection unit, used to select a payment method according to the calculation result; a payment unit, used to perform payment processing according to the payment method to obtain a payment result; a merging unit, used to merge the payment result, the application submission time and the application user information to obtain merged information; and a saving unit, used to save the merged information in a database.

[0017] Optionally, in a sixth implementation method of the second aspect of the present invention, it also includes: a sending module, used to send the merged information to the user terminal, so that the user terminal generates and displays a fee payment completion page based on the merged information; an association acquisition module, used to obtain the payment confirmation information fed back by the user terminal, and associate the merged information with the payment confirmation information to obtain associated information; a marking generation module, used to generate a process end identifier, mark the process end identifier on the associated information, and obtain the fee application process end information; an encryption module, used to encrypt the fee application process end information to obtain encrypted information; an upload module, used to upload the encrypted information to the blockchain.

[0018] The third aspect of the present invention provides a dynamic configuration device for expense application approval and settlement, the dynamic configuration device for expense application approval and settlement comprising: a memory and at least one processor, the memory storing instructions; at least one of the processors calling the instructions in the memory to enable the dynamic configuration device for expense application approval and settlement to execute each step of the dynamic configuration method for expense application approval and settlement described in any one of the above items.

[0019] A fourth aspect of the present invention provides a computer-readable storage medium having instructions stored thereon, which, when executed by a processor, implement the various steps of any of the above-mentioned methods for dynamically configuring fee application approval and settlement.

[0020] In the technical solution of the present invention, the expense application instruction is dynamically configured based on pre-set business rules, an application form that meets business needs is generated according to the configuration information, and each link in the application, approval and settlement process is quickly adjusted to improve the flexibility and adaptability of the system, simplify the process, perform integrity and legality verification on the application form, implement intelligent verification processing, reduce manual intervention and error rate, improve the degree of automation, trigger the approval process of the application form according to the preset approval rules, calculate the expenses according to the preset settlement rules, and process the payment according to the calculation results, thereby improving the efficiency of expense application, approval and settlement, and thus improving user satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 A first flow chart of a method for dynamically configuring fee application approval and settlement provided by an embodiment of the present invention;

[0022] Figure 2 A second flow chart of the method for dynamically configuring fee application approval and settlement provided by an embodiment of the present invention;

[0023] Figure 3 A third flow chart of the method for dynamically configuring fee application approval and settlement provided by an embodiment of the present invention;

[0024] Figure 4 A fourth flow chart of the method for dynamically configuring fee application approval and settlement provided by an embodiment of the present invention;

[0025] Figure 5 A schematic diagram of a structure of a dynamic configuration device for expense application approval and settlement provided by an embodiment of the present invention;

[0026] Figure 6 Another structural diagram of the apparatus for dynamically configuring fee application approval and settlement provided by an embodiment of the present invention;

[0027] Figure 7 A schematic diagram of the structure of a dynamic configuration device for expense application approval and settlement provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0028] The present invention provides a method, device, equipment and storage medium for dynamic configuration of expense application approval and settlement. By dynamically configuring the expense application, each link in the application, approval and settlement process can be quickly adjusted, the flexibility and adaptability of the system can be improved, the process can be simplified, intelligent verification processing can be realized, manual intervention and error rate can be reduced, the degree of automation can be improved, the efficiency of expense application, approval and settlement can be improved, and user satisfaction can be improved.

[0029] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0030] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 An embodiment of the method for dynamically configuring fee application approval and settlement in the embodiment of the present invention includes:

[0031] 101. Obtain the fee application instruction initiated by the user terminal, dynamically configure the fee application instruction based on pre-set business rules, and obtain configuration information;

[0032] In this embodiment, the user submits an expense application in an application or system. The expense application includes filling out a form, uploading a voucher, etc. The system needs to capture and record these application instructions in real time to ensure the integrity and accuracy of the information. The business rules include restrictions on expense types, approval processes, budget control, reimbursement standards, etc. According to the application content submitted by the user, the system needs to dynamically determine which business rules apply. For example, different expense types may trigger different approval processes. The system will evaluate the application instructions according to preset business rules to determine their compliance. For example, it will check whether the expenses exceed the budget or whether additional supporting materials are required. According to the evaluation results, the corresponding configuration information is generated, which includes the approval process of the instructions, required attachments, reviewers, etc. Finally, the system integrates all relevant configuration information together to form a complete expense application configuration.

[0033] 102. Generate an application form that meets business requirements based on the configuration information, and verify the integrity and legality of the application form;

[0034] In this embodiment, according to the preset configuration information, the system will dynamically generate an application form, which includes defining required fields, selecting appropriate form layout and style to ensure that the form meets the needs of specific business, and considering the needs of different user roles to ensure that the form is both intuitive and easy to fill out. After the user fills out the form, the system will perform a completeness check to ensure that all required items are filled in and the format is correct. This is done by using regular expressions to verify the data format, such as email, phone number, etc. At the same time, the system also needs to check logical relationships, such as the rationality of the amount and the validity of the date, to ensure that the submitted data complies with business rules, thereby avoiding problems in the subsequent approval process.

[0035] 103. When the verification is passed, the application form is submitted, and the application submission time and the applicant user information are recorded;

[0036] In this embodiment, after completing the integrity and legality check, the system will confirm that all input data meets the preset standards. If the check passes, the system is ready to enter the submission process. The system will package the collected application form data and prepare to send it to the back-end server. When submitting the operation, the system will automatically obtain the current timestamp to record the submission time of the application. The system will identify the user who is currently submitting the application, usually through the user's unique identifier (such as user ID). This information includes the user's name, position, department and other related information to ensure that the source of the application can be accurately tracked in subsequent processes.

[0037] 104. Trigger the approval process of the application form according to the preset approval rules. The approval process includes multiple approval nodes. When all approval nodes are passed, the fee calculation is performed according to the preset settlement rules to obtain the calculation result;

[0038] In this embodiment, after submission, the system will determine whether to start the approval process based on preset approval rules (such as amount threshold, application type, etc.). The approval process is usually composed of multiple approval nodes, and each node corresponds to a specific approver or role. After receiving the notification, each approver will review the application based on his or her own authority and judgment, and may approve, reject or request additional information. When all approval nodes are passed, the system will mark the approval status as "passed" and prepare to enter the fee calculation stage. Once approved, the system will calculate the fees for the application according to preset settlement rules (such as fee ratio, calculation formula, etc.). The system performs fee calculation, obtains the final amount, and generates the calculation result.

[0039] 105. Perform payment processing according to the calculation result to obtain the payment result, and save the payment result, application submission time and application user information into the database;

[0040] In this embodiment, once the fee calculation is completed, the system will generate a payment request based on the calculation result. This request includes the payment amount, payment method (such as bank transfer, online payment, etc.) and related application information. The system will determine the appropriate payment channel based on the company's internal payment policy and the user's choice, and prepare relevant payment information, such as account information and payment instructions. The system sends a payment request to the selected payment channel. This process includes interaction with a third-party payment service to ensure the accurate transfer of funds. The payment channel returns the payment result. The system will confirm whether the payment is successful based on the returned information. The payment result usually includes payment status (success, failure), transaction number and other information. Regardless of the payment result, the system will save the payment result (success or failure), application submission time and application user information in the database. The system will update the application status based on the payment result, such as "paid" or "payment failed", for subsequent processing and reporting.

[0041] In the embodiment of the present invention, the expense application instruction is dynamically configured based on pre-set business rules, an application form that meets business needs is generated according to the configuration information, and each link in the application, approval and settlement process is quickly adjusted to improve the flexibility and adaptability of the system, simplify the process, perform integrity and legality verification on the application form, implement intelligent verification processing, reduce manual intervention and error rate, improve the degree of automation, trigger the approval process of the application form according to the preset approval rules, calculate the expenses according to the preset settlement rules, and process the payment according to the calculation results, thereby improving the efficiency of expense application, approval and settlement, and thus improving user satisfaction.

[0042] See also Figure 2 The second embodiment of the method for dynamically configuring fee application approval and settlement in the embodiment of the present invention includes:

[0043] 201. Obtain the fee application instruction initiated by the user terminal;

[0044] In this embodiment, the user initiates a fee application through a front-end interface (such as a web page or mobile application). After filling in the information, the user clicks the "Submit" button, and the system receives and processes the instruction. After receiving the application instruction, the system will perform data verification to ensure that the information entered by the user is complete and conforms to the prescribed format. The system will check whether the user who initiated the application has the corresponding authority to ensure that only qualified users can submit fee applications, thereby enhancing the security of the system. Once the verification is passed, the system will save the application information to the database, record the application time, user information and other relevant data for subsequent approval and inquiry. The system will feedback the application status to the user, such as "application submitted" or "submission successful", and may provide an application number so that the user can track subsequent progress.

[0045] 202. Parse the expense application instruction to obtain expense application data;

[0046] In this embodiment, the system will use the corresponding parser (such as JSON parser or XML parser) to extract key information according to the format of the instruction, and extract various fields in the instruction, such as fee type, amount, date, applicant information, attachments, etc. During the parsing process, redundant or invalid data may be found. The system should perform a cleaning operation to remove unnecessary information, ensure the accuracy of the data, and convert the extracted data into an internal standard format for subsequent processing, which involves unit conversion, date formatting, etc., and build the cleaned and formatted information into a unified data structure.

[0047] 203. Dynamically configure the expense application data based on pre-set business rules to obtain configuration information;

[0048] In this embodiment, the pre-set business rules include approval process, reimbursement standards, expense limits, budget control, etc. The priority order of the rules is determined, logical judgment is performed based on the application data and business rules, and the compliance of the expense application is evaluated. For example, if the expense type is travel expenses, it is necessary to check whether it complies with the company's travel policy. If the application amount exceeds a certain threshold, a higher level of approval may be required. The system will check the match between the application data and the business rules, identify the applicable rules, and generate configuration information based on the results of the logical judgment, which includes the applicable approval process (such as approvers, approval levels), required additional materials or instructions (such as invoices, travel plans), time limits or processing time limits, and integrate the above configuration information into a complete configuration object to obtain configuration information.

[0049] 204. Determine form fields, form layout, and required items according to the configuration information;

[0050] In this embodiment, based on the configuration information, the system identifies the required form fields. For example, if the configuration requires travel arrangements, relevant fields such as "departure place", "destination", "travel date", etc. need to be added. Based on the application type and configuration information, the required fields are dynamically generated to accommodate different expense types. Based on the determined fields, the layout structure of the form is designed to ensure the logic of information input and user experience. For example, related fields can be grouped (such as personal information, expense details, etc.). Considering the friendliness of the user interface, clear labels and appropriate arrangement are used to improve filling efficiency. Based on the configuration information, identify which fields are required. For example, if the amount field is required, and the attachment field may be optional, clearly mark the required items in the form design to prompt the user to enter complete information.

[0051] 205. Call the form template according to the form fields, form layout and required items;

[0052] In this embodiment, there are multiple predefined form templates in the system, one for each expense application type and process. Each template contains field definitions, layout designs, and identification of required items. The determined form fields are matched with the fields in the template library to identify the template that meets the current application. If multiple templates meet the conditions, the system will select the most suitable template based on priority or specific rules. After calling the selected template, the system will apply the layout design of the template.

[0053] 206. Create a listener, and use the listener to monitor the complete input information input by the user end;

[0054] In this embodiment, a listener function is created using an appropriate programming language (such as JavaScript) to ensure that it can respond to user operations. The listener is bound to the corresponding form field so that the corresponding logic is triggered when the user enters or changes the field. When the user enters, the input data is verified in real time through the listener.

[0055] 207. When the listener listens to the complete input information, it receives the current complete input information;

[0056] In this embodiment, after the listener is triggered, the data input by the user is captured in real time, and the captured input information is updated to the state of the application.

[0057] 208. Fill the completed input information into the form template to generate an application form;

[0058] In this embodiment, necessary data is extracted from the user input information received by the listener, the extracted user input information is filled into the corresponding position of the form template, and program code (such as JavaScript) is used to operate DOM elements or a template engine is used to implement dynamic content rendering. After filling, the form content is verified again to ensure that all information is accurate and any potential errors are identified.

[0059] 209. Use regular expressions to check the integrity and legality of application forms;

[0060] In this embodiment, a corresponding regular expression is defined for each field to ensure that the input content conforms to a predetermined format, all required fields in the form are checked to ensure that these fields are not empty, and the specific requirements of each field are verified using a regular expression.

[0061] In the embodiment of the present invention, through systematic steps, the user's expense application instructions can be quickly converted into standardized application forms, thereby improving processing efficiency. Dynamic configuration and business rule-based design enable the system to adapt to different types of expense applications and meet diverse business needs. By using form templates and listeners, user input can be fed back in real time, reducing the error rate and improving the user experience. Through integrity and legality verification, it is ensured that the final generated application form meets the expected standards and reduces the risks in subsequent processing. The standardized steps of the entire process ensure the consistency and traceability of the data, which is helpful for subsequent auditing and analysis.

[0062] See also Figure 3 A third embodiment of the method for dynamically configuring fee application approval and settlement in the embodiment of the present invention includes:

[0063] 301. When the verification is passed, the application form is submitted, and the application submission time of the application form is obtained from the timestamp service platform;

[0064] In this embodiment, when the verification is passed, the application form is submitted. After the form is successfully submitted, a request is immediately sent to the timestamp service platform to obtain the current application submission time, and the time obtained from the timestamp service platform is recorded.

[0065] 302. Identify the user ID of the user terminal and determine the application user information according to the user ID;

[0066] In this embodiment, when a user logs in, the back-end system generates and stores the user's unique identifier (such as a user ID) and sends it to the front-end. Using the obtained user ID, the corresponding user information is requested through the API, and the server returns the user's detailed information, such as name, email address, phone number, etc.

[0067] 303. Use data desensitization algorithms to record application submission time and applicant user information;

[0068] In this embodiment, a hash function is used to convert the application submission time and the application user information into a string of fixed length to ensure that personal privacy is not disclosed when recording and storing user information, so as to meet compliance requirements and enhance user trust.

[0069] 304. Define approval rules using workflow management algorithms;

[0070] In this embodiment, workflow management aims to automate and optimize business processes, ensure the smooth flow of information and efficient processing of tasks, clarify the roles of each approval link, such as applicant, reviewer, and final approver, define the approval links, set approval rules, set different approval paths according to different conditions such as application type, amount, department, etc., use Boolean logic (such as AND, OR) to combine different conditions, for example, application amounts exceeding 1,000 yuan require review, use open source or commercial workflow engines (such as Activiti, Camunda, jBPM) to implement the approval process, use BPMN (Business Process Model and Notation) to define the flow chart, and clarify each link and its connection.

[0071] 305. Trigger the approval process of the application form according to the approval rules, and the approval process includes multiple approval nodes;

[0072] In this embodiment, the approval process of the application form is triggered according to the approval rules. The approval process includes multiple approval nodes. The approval nodes are displayed in the form of a flowchart using BPMN to clarify the order and relationship of each node.

[0073] 306. Set the passing conditions of each approval node through the decision tree algorithm;

[0074] In this embodiment, data on past expense applications and their approval results are collected to determine which features (such as amount range, application type, department, etc.) may affect the approval results. The data is cleaned and preprocessed, including processing missing values ​​and performing data normalization, to ensure data quality. The decision tree model is trained using historical data. After training, the model will generate a series of decision rules describing the conditions under which the application will be approved. For example, if the application amount is less than 1,000 yuan and the applicant belongs to a specific department, the application will be approved. The generated decision rules are assigned to each approval node, and each node will determine whether the application is approved based on the conditions in the decision tree.

[0075] 307. When all the passing conditions are passed, the fee calculation is performed according to the preset settlement rules to obtain the calculation result. The settlement rules include the fee application type rate, the sender surcharge rate, the fee calculation formula, the payment method and the payment channel;

[0076] In this embodiment, when all the passing conditions are passed, the fee calculation process is triggered, and necessary data such as application amount, application type, sender information, etc. are collected. The applicable rate and surcharge rate are determined based on the application type and sender information. The set fee calculation formula is used to calculate the final fee result in combination with the obtained data. The calculation result is used to generate a fee settlement sheet, and the calculation result is verified to ensure that all rules and formulas are applied correctly and reduce the risk of errors.

[0077] 308. Select a payment method based on the calculation result;

[0078] In this embodiment, the payment method is selected based on the calculation result, and the payment methods include bank transfer, credit card payment, third-party payment platform (such as Alipay, WeChat Pay, etc.), cash payment, internal company transfer, etc. Bank transfer is suitable for large-amount payment, which is usually safe and low-cost, but it takes a long time to arrive. Credit card payment is convenient and fast, suitable for small-amount payment, but it will incur higher handling fees. Third-party payment platforms are fast and suitable for daily transactions of individuals or small businesses, and the handling fees are relatively low. Although cash payment has lower security and record transparency, it is suitable for certain specific occasions. Internal company transfer is suitable for fee settlement within the company, which is fast and usually free of handling fees. For example, credit card payment or third-party payment platform is preferred for small-amount expenses, bank transfer is preferred for large-amount expenses, internal company transfer or credit card payment is preferred for travel expenses, and bank transfer is preferred for contract expenses.

[0079] 309. Perform payment processing according to the payment method and obtain the payment result;

[0080] In this embodiment, ensure that the payment amount, payee information and selected payment method are accurate. For payment methods that require a balance (such as third-party payment), ensure that the account has sufficient balance to complete the transaction, perform payment processing according to the payment method, and obtain the payment result.

[0081] 310. Merge the payment result, application submission time and application user information to obtain merged information;

[0082] In this embodiment, the payment result, application submission time and application user information are extracted from various data sources respectively, a new object is created, and the extracted information is integrated into the object.

[0083] 311. Save the merged information into the database;

[0084] In this embodiment, the type of database to be used is determined, a suitable database structure is selected according to project requirements, a table or collection is created to store the merged information, a connection is established using a suitable database driver or ORM (such as Sequelize, Mongoose), and the merged data is inserted into the database.

[0085] In the embodiment of the present invention, by using workflow management and decision tree algorithm, automatic approval and fee calculation of application forms are realized, which greatly improves processing efficiency and reduces manual intervention. The application of data desensitization algorithm ensures the security of user information, effectively protects user privacy, and reduces the risk of data leakage. Based on preset approval rules and dynamic decision conditions, the process can adapt to different types of fee applications to ensure the flexibility and accuracy of approval. The record of each step and the preservation of merged information make the entire application and payment process transparent, which is convenient for subsequent review and data analysis. Different payment methods are selected according to the calculation results to meet the diverse needs of users and improve the user experience.

[0086] See also Figure 4 The fourth embodiment of the method for dynamically configuring fee application approval and settlement in the embodiment of the present invention includes:

[0087] 401. Send the combined information to the user terminal, so that the user terminal generates and displays a fee payment completion page based on the combined information;

[0088] In this embodiment, it is determined to use HTTP requests, WebSocket or other suitable transmission methods, and the merged information is sent to the user end by calling the preset API. The user end receives the merged information by monitoring the corresponding interface, confirms the data integrity, parses the received information, and converts it into a usable object or data structure to facilitate subsequent operations. The page content, such as payment status, transaction amount, payee information, etc., is dynamically generated based on the merged information to ensure that the page is friendly and use appropriate layout and style to allow users to see it at a glance. If the payment is successful, a prompt of "Payment Completed" is displayed, and may include information such as transaction number and timestamp. The page may include operation buttons such as returning to the homepage, confirming receipt, and viewing transaction records.

[0089] 402. Obtain payment confirmation information fed back by the user end, associate the combined information with the payment confirmation information, and obtain associated information;

[0090] In this embodiment, the user terminal has the function of feeding back payment results to the server, obtaining the payment confirmation information fed back by the user terminal, using the transaction ID or other unique identifier to match the transaction record in the merged information with the payment confirmation information fed back by the user terminal, combining the matched confirmation information with the merged information, generating associated data containing complete transaction status and detailed information, updating the payment status in the merged information, adjusting the record status according to the confirmation information fed back by the user terminal, such as marking it as "confirmed" or "failed", integrating the merged information and the confirmation information, generating the final associated record, and formatting the associated data into an applicable format.

[0091] 403. Generate a process end identifier, mark the process end identifier on the associated information, and obtain the expense application process end information;

[0092] In this embodiment, the format of the end identifier is determined, for example, a unique ID, a timestamp, or a specific status code (such as "process end") can be used, and the generated end identifier is added to the associated information, and the status field is updated in the associated information, for example, the status is marked as "ended" or "process completed" to clearly indicate the current status of the process, and based on the updated associated information, the expense application process end information is generated, including all relevant data and process status of the expense application.

[0093] 404. Encrypt the fee application process end information to obtain encrypted information;

[0094] In this embodiment, a suitable encryption algorithm is selected according to the requirements, and the fee application process end information is encrypted using the selected algorithm and key to obtain encrypted information.

[0095] 405. Upload the encrypted information to the blockchain;

[0096] In this embodiment, a suitable blockchain platform is selected according to the needs, and after selection, the blockchain environment is prepared, the smart contract is designed and deployed, the blockchain development framework is used to connect to the blockchain network, the method of the smart contract is called, the encrypted information is uploaded, and after the transaction is completed, the transaction receipt is checked to ensure that the data is successfully written to the blockchain, and the transaction hash is recorded for subsequent tracking and verification.

[0097] In the embodiment of the present invention, by sending the merged information to the user end, a clear fee payment completion page is provided, the user experience and satisfaction are improved, the user's payment confirmation information is obtained, the interactivity and reliability of the process are ensured, the user's sense of participation is increased, the fee application process end information is encrypted and uploaded to the blockchain to ensure the security, non-tamperability and transparency of the data, and by generating a process end mark, the completion status of the application process is clearly marked, which is convenient for users and managers to track and audit. Combined with blockchain technology, the trust and data integrity of the entire process are improved, and a modern payment and record management method is demonstrated.

[0098] The above describes the method for dynamically configuring the fee application approval and settlement in the embodiment of the present invention. The following describes the device for dynamically configuring the fee application approval and settlement in the embodiment of the present invention. Figure 5 In one embodiment of the present invention, an apparatus for dynamically configuring fee application approval and settlement includes:

[0099] The configuration acquisition module 501 is used to acquire the fee application instruction initiated by the user terminal, dynamically configure the fee application instruction based on the pre-set business rules, and obtain configuration information;

[0100] A generation and verification module 502 is used to generate an application form that meets business requirements based on the configuration information and to verify the integrity and legality of the application form;

[0101] The submission record module 503 is used to submit the application form when the verification is passed, and record the application submission time and the applicant user information;

[0102] The trigger calculation module 504 is used to trigger the approval process of the application form according to the preset approval rules. The approval process includes multiple approval nodes. When all the approval nodes are passed, the fee calculation is performed according to the preset settlement rules to obtain the calculation result;

[0103] The payment saving module 505 is used to perform payment processing according to the calculation result, obtain the payment result, and save the payment result, application submission time and application user information into the database.

[0104] In this embodiment, the expense application instruction is dynamically configured based on pre-set business rules, an application form that meets business needs is generated according to the configuration information, and each link in the application, approval and settlement process is quickly adjusted to improve the flexibility and adaptability of the system, simplify the process, verify the integrity and legality of the application form, implement intelligent verification processing, reduce manual intervention and error rate, and improve the degree of automation. The approval process of the application form is triggered according to the preset approval rules, the expense calculation is performed according to the preset settlement rules, and the payment is processed according to the calculation results, thereby improving the efficiency of expense application, approval and settlement, and thereby improving user satisfaction.

[0105] See also Figure 6 Another embodiment of the apparatus for dynamically configuring fee application approval and settlement in the embodiment of the present invention includes:

[0106] The configuration acquisition module 501 is used to acquire the fee application instruction initiated by the user terminal, dynamically configure the fee application instruction based on the pre-set business rules, and obtain configuration information;

[0107] A generation and verification module 502 is used to generate an application form that meets business requirements based on the configuration information and to verify the integrity and legality of the application form;

[0108] The submission record module 503 is used to submit the application form when the verification is passed, and record the application submission time and the applicant user information;

[0109] The trigger calculation module 504 is used to trigger the approval process of the application form according to the preset approval rules. The approval process includes multiple approval nodes. When all the approval nodes are passed, the fee calculation is performed according to the preset settlement rules to obtain the calculation result;

[0110] The payment saving module 505 is used to process the payment according to the calculation result, obtain the payment result, and save the payment result, application submission time and application user information into the database;

[0111] In this embodiment, the configuration acquisition module 501 includes: an acquisition unit 5011, used to obtain the fee application instruction initiated by the user end; a parsing unit 5012, used to parse the fee application instruction to obtain the fee application data; a configuration unit 5013, used to dynamically configure the fee application data based on pre-set business rules to obtain configuration information.

[0112] In this embodiment, the generation and verification module 502 includes: a determination unit 5021, which is used to determine the form fields, form layout and required items according to the configuration information; a calling unit 5022, which is used to call the form template according to the form fields, form layout and required items; a creation listening unit 5023, which is used to create a listener, and use the listener to listen to the complete entry information input by the user end; a receiving unit 5024, which is used to receive the current complete entry information when the listener listens to the complete entry information; a filling unit 5025, which is used to fill the complete entry information into the form template to generate an application form; a verification unit 5026, which is used to use regular expressions to verify the integrity and legality of the application form.

[0113] In this embodiment, the submission record module 503 includes: a submission acquisition unit 5031, which is used to submit the application form when the verification is passed, and obtain the application submission time of the application form from the timestamp service platform; an identification and determination unit 5032, which is used to identify the user ID of the user terminal and determine the application user information according to the user ID; a recording unit 5033, which is used to use a data desensitizing algorithm to record the application submission time and application user information.

[0114] In this embodiment, the trigger calculation module 504 includes: a definition unit 5041, which is used to define approval rules using a workflow management algorithm; a trigger unit 5042, which is used to trigger the approval process of the application form according to the approval rules, and the approval process includes multiple approval nodes; a setting unit 5043, which is used to set the pass conditions of each approval node through a decision tree algorithm; a calculation unit 5044, which is used to calculate the fee according to the preset settlement rules when all the pass conditions are passed, and obtain the calculation result, and the settlement rules include the fee application type rate, the sender surcharge rate, the fee calculation formula, the payment method and the payment channel.

[0115] In this embodiment, the payment saving module 505 includes: a selection unit 5051, which is used to select a payment method based on a calculation result; a payment unit 5052, which is used to perform payment processing according to the payment method to obtain a payment result; a merging unit 5053, which is used to merge the payment result, application submission time and application user information to obtain merged information; and a saving unit 5054, which is used to save the merged information into a database.

[0116] In this embodiment, it also includes: a sending module 506, which is used to send the merged information to the user end, so that the user end generates and displays a fee payment completion page based on the merged information; an association acquisition module 507, which is used to obtain the payment confirmation information fed back by the user end, associate the merged information with the payment confirmation information, and obtain associated information; a marking generation module 508, which is used to generate a process end identifier, mark the process end identifier on the associated information, and obtain the fee application process end information; an encryption module 509, which is used to encrypt the fee application process end information to obtain encrypted information; an upload module 510, which is used to upload the encrypted information to the blockchain.

[0117] above Figure 5 and Figure 6 The expense application approval and settlement dynamic configuration device in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The expense application approval and settlement dynamic configuration device in the embodiment of the present invention is described in detail from the perspective of hardware processing.

[0118] Figure 7 1 is a schematic diagram of the structure of a dynamic configuration device for expense application approval and settlement provided by an embodiment of the present invention. The dynamic configuration device 600 for expense application approval and settlement may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 610 (for example, one or more processors) and a memory 620, and one or more storage media 630 (for example, one or more mass storage devices) storing application programs 633 or data 632. Among them, the memory 620 and the storage medium 630 may be temporary storage or permanent storage. The program stored in the storage medium 630 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the dynamic configuration device 600 for expense application approval and settlement. Furthermore, the processor 610 may be configured to communicate with the storage medium 630, and execute a series of instruction operations in the storage medium 630 on the dynamic configuration device 600 for expense application approval and settlement, so as to implement the steps of the dynamic configuration method for expense application approval and settlement provided by the above-mentioned various method embodiments.

[0119] The expense application approval and settlement dynamic configuration device 600 may also include one or more power supplies 640, one or more wired or wireless network interfaces 650, one or more input and output interfaces 660, and / or one or more operating systems 631, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will appreciate that Figure 7The structure of the expense application approval and settlement dynamic configuration device shown does not constitute a limitation on the expense application approval and settlement dynamic configuration device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0120] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the dynamic configuration method for expense application approval and settlement.

[0121] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device or unit described above can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0122] If the integrated unit 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 technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0123] Finally, it should be noted that the above description is only a preferred example of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for dynamic configuration of expense application approval and settlement, characterized in that: include: Obtaining a fee application instruction initiated by a user terminal, and dynamically configuring the fee application instruction based on a pre-set business rule to obtain configuration information; Generate an application form that meets business requirements based on the configuration information, and perform integrity and legality verification on the application form; When the verification is passed, the application form is submitted, and the application submission time and applicant user information are recorded; The approval process of the application form is triggered according to the preset approval rules, and the approval process includes multiple approval nodes. When all the approval nodes are passed, the fee is calculated according to the preset settlement rules to obtain the calculation result; Payment processing is performed according to the calculation result to obtain a payment result, and the payment result, the application submission time and the application user information are saved in a database.

2. The method for dynamic configuration of expense application approval and settlement according to claim 1 is characterized in that: The obtaining of the fee application instruction initiated by the user terminal and the dynamic configuration of the fee application instruction based on a preset business rule to obtain configuration information include: Get the fee application instruction initiated by the user; Parsing the expense application instruction to obtain expense application data; The expense application data is dynamically configured based on pre-set business rules to obtain configuration information.

3. The method for dynamic configuration of expense application approval and settlement according to claim 1, characterized in that: Generating an application form that meets the business requirements according to the configuration information, and performing integrity and legality verification on the application form, includes: Determine form fields, form layout and required items according to the configuration information; Calling a form template according to the form fields, the form layout and the required items; Creating a listener, and using the listener to monitor the complete input information input by the user end; When the listener listens to the improved input information, the listener receives the improved input information; Filling the completed input information into the form template to generate an application form; Use regular expressions to verify the integrity and legality of the application form.

4. The method for dynamic configuration of expense application approval and settlement according to claim 1, characterized in that: When the verification is passed, the application form is submitted, and the application submission time and the applicant user information are recorded, including: When the verification is passed, the application form is submitted, and the application submission time of the application form is obtained from the timestamp service platform; Identify the user ID of the user terminal, and determine the application user information according to the user ID; A data desensitization algorithm is used to record the application submission time and the applicant user information.

5. The method for dynamic configuration of expense application approval and settlement according to claim 1, characterized in that: The approval process of the application form is triggered according to the preset approval rules. The approval process includes multiple approval nodes. When all the approval nodes are passed, the fee is calculated according to the preset settlement rules to obtain the calculation results, including: Define approval rules using workflow management algorithms; triggering an approval process of the application form according to the approval rules, wherein the approval process includes multiple approval nodes; Setting the passing condition of each approval node by using a decision tree algorithm; When all the passing conditions are passed, the fee calculation is performed according to the preset settlement rules to obtain the calculation result. The settlement rules include the fee application type rate, the sender surcharge rate, the fee calculation formula, the payment method and the payment channel.

6. The method for dynamic configuration of expense application approval and settlement according to claim 1, characterized in that: The payment processing is performed according to the calculation result to obtain the payment result, and the payment result, the application submission time and the application user information are saved in the database, including: Select a payment method based on the calculation result; Perform payment processing according to the payment method to obtain a payment result; Merging the payment result, the application submission time and the application user information to obtain combined information; The merged information is saved in a database.

7. The method for dynamic configuration of expense application approval and settlement according to claim 1, characterized in that: After performing payment processing according to the calculation result to obtain the payment result and saving the payment result, the application submission time and the application user information in a database, the method further includes: Sending the combined information to the user terminal, so that the user terminal generates and displays a fee payment completion page based on the combined information; Acquire the payment confirmation information fed back by the user terminal, associate the combined information with the payment confirmation information, and obtain associated information; Generate a process end identifier, mark the process end identifier on the associated information, and obtain the expense application process end information; Encrypting the fee application process end information to obtain encrypted information; The encrypted information is uploaded to the blockchain.

8. A dynamic configuration device for expense application approval and settlement, characterized in that: include: An acquisition configuration module is used to acquire a fee application instruction initiated by a user terminal, and dynamically configure the fee application instruction based on a preset business rule to obtain configuration information; A generation and verification module is used to generate an application form that meets business requirements based on the configuration information and to verify the integrity and legality of the application form; A submission record module is used to submit the application form when the verification is passed, and record the application submission time and the applicant user information; A trigger calculation module is used to trigger the approval process of the application form according to the preset approval rules. The approval process includes multiple approval nodes. When all the approval nodes are passed, the fee calculation is performed according to the preset settlement rules to obtain the calculation result; The payment saving module is used to perform payment processing according to the calculation result, obtain the payment result, and save the payment result, the application submission time and the application user information into a database.

9. A dynamic configuration device for expense application approval and settlement, characterized in that: The fee application approval and settlement dynamic configuration device comprises: a memory and at least one processor, wherein the memory stores instructions; At least one of the processors calls the instructions in the memory to enable the expense application approval and settlement dynamic configuration device to perform each step of the expense application approval and settlement dynamic configuration method as described in any one of claims 1-7.

10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the various steps of the method for dynamically configuring fee application approval and settlement as described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Identity-free data approval method and device, electronic equipment and storage medium

    CN120612054A

  • Government affair application platform based on artificial intelligence model

    CN120707082A

  • Automatic rate approval method and system in CRM system

    CN120782384A