Dynamic parameter matching method and device, equipment and medium

Through front -end application and back -end computing engine collaboration, generate matching key and priority, realize dynamic parameter matching, solve the problem of complex and matching efficiency of parameter management in traditional systems, and improve the overall work efficiency.

CN119336313APending Publication Date: 2025-01-21PING AN BANK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411387310.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

Traditional parameter management systems lack unified modules to centrally manage parameters, and writing business logic matching parameters consumes a lot of development costs and are inefficient in matching efficiency.

Method used

Get the configuration information and the parameter value set in the user through the front -end application, and send it to the back -end computing engine to generate matching key and matching priority to achieve dynamic parameter matching.

Benefits of technology

It reduces development costs, improves the accuracy and efficiency of parameter matching, and simplifies the parameter management process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119336313A_ABST
    Figure CN119336313A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data processing and the field of financial science and technology, and discloses a dynamic parameter matching method, device and equipment and a medium, and the method comprises the steps that a front-end application obtains configuration information, configures a matching strategy of dynamic parameters, and sends the matching strategy and the configuration information to a rear-end calculation engine; the back-end calculation engine stores the matching strategy and the configuration information in a database; the front-end application obtains a parameter value set input by a user through the template, and the parameter value set is stored in a database; reading the to-be-processed data by a back-end calculation engine, and generating a matching key and a matching priority of the to-be-processed data according to configuration information, a parameter value set and a matching strategy which correspond to the to-be-processed data and are called from a database; and matching the parameter values of the to-be-processed data in the parameter value set through the matching key and the matching priority. Parameter configuration is completed through the front-end application and the rear-end calculation engine, the parameter management efficiency is remarkably improved, the development cost is reduced, and the parameter matching accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of data processing technology and financial technology, and in particular to a dynamic parameter matching method, device, equipment and medium. Background Art

[0002] In the field of financial technology, a large amount of customer data is processed every day. The introduction of dynamic parameters can significantly improve the intelligence level of data processing, thereby improving business efficiency and accuracy. This not only helps us better respond to business changes and demand changes, but also provides strong support when processing large amounts of data, conducting data analysis and mining.

[0003] As business management develops towards refinement, the application of parameters has become more and more extensive, and the types and usage of parameters have become increasingly complex. Especially in rule-driven configuration systems, the management and use of parameters have become particularly complex. Traditional systems often lack a unified module to centrally manage parameters, which requires the development of corresponding management and maintenance interfaces for each parameter. In addition, for the use of conditional parameters, it is usually necessary to write logic code to configure the parameters. This practice not only consumes a lot of development manpower costs, but may also extend the project development cycle. Implementing parameter configuration by writing complex judgment logic code not only has poor performance, but is also inconvenient to debug. Summary of the invention

[0004] The present invention provides a dynamic parameter matching method, device, computer equipment and medium to solve the problems of lack of a unified module for centralized parameter management in traditional parameter management systems, large development costs consumed by writing business logic to match parameters, and low matching efficiency.

[0005] In a first aspect, a dynamic parameter matching method is provided, comprising:

[0006] Obtain configuration information through the front-end application, configure a matching strategy for dynamic parameters, and send the matching strategy and configuration information to the back-end computing engine;

[0007] The backend computing engine stores the matching strategy and configuration information in a database;

[0008] The front-end application obtains the parameter value set input by the user through the template, and stores the parameter value set in the database;

[0009] The backend computing engine reads the data to be processed and retrieves the configuration information, parameter value set and matching strategy corresponding to the data to be processed from the database;

[0010] Generate a matching key and a matching priority for the data to be processed according to the configuration information, the parameter value set and the matching strategy;

[0011] The parameter value of the data to be processed is matched in the parameter value set by using the matching key and the matching priority.

[0012] In a second aspect, a dynamic parameter matching device is provided, comprising:

[0013] A rule configuration module is used to obtain configuration information through a front-end application, configure a matching strategy for dynamic parameters, and send the matching strategy and configuration information to a back-end computing engine;

[0014] A data storage module, used for the back-end computing engine to store the matching strategy and configuration information in a database;

[0015] A parameter acquisition module is used to acquire a parameter value set input by a user through a template by a front-end application, and store the parameter value set in a database;

[0016] The data acquisition module is used to read the data to be processed by the back-end computing engine and retrieve the configuration information, parameter value set and matching strategy corresponding to the data to be processed from the database;

[0017] A matching processing module, used to generate a matching key and a matching priority for the data to be processed according to the configuration information, the parameter value set and the matching strategy;

[0018] The parameter matching module is used to match the parameter value of the data to be processed in the parameter value set according to the matching key and the matching priority.

[0019] In a third aspect, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned dynamic parameter matching method when executing the computer program.

[0020] In a fourth aspect, a computer-readable storage medium is provided, 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-mentioned dynamic parameter matching method are implemented.

[0021] The scheme implemented by the above-mentioned dynamic parameter matching method, device, computer equipment and storage medium involves a series of automated and optimized steps to improve the efficiency and accuracy of data collection. The specific process is as follows: First, the system needs to define a set of rules for matching the parameter values ​​input by the user; the user inputs the parameter values ​​through a preset template, and these parameter values ​​are then stored in the database; the front-end application reads the stored configuration information and parameter value set from the database through a specific interface call; the system generates the key and matching mode for parameter matching according to the preset matching strategy; the back-end computing engine reads the data to be processed and calls the interface of the front-end application to obtain the configuration information and parameter value set; the back-end computing engine generates the matching key and matching priority for the data to be processed according to the matching strategy; finally, the system matches the parameter value of the data to be processed in the parameter value set by matching the key and matching priority. The present invention realizes efficient configuration and management of parameters through the collaborative work of the front-end application and the back-end computing engine. The present invention not only reduces the development cost, but also improves the accuracy of parameter matching, thereby improving the overall work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0023] Figure 1 is a schematic diagram of an application environment of a dynamic parameter matching method in one embodiment of the present invention;

[0024] Figure 2 is a schematic diagram of a flow chart of a dynamic parameter matching method in one embodiment of the present invention;

[0025] Figure 3 is a structural schematic diagram of a dynamic parameter matching device in one embodiment of the present invention;

[0026] Figure 4 is a schematic diagram of a structure of a computer device in one embodiment of the present invention;

[0027] Figure 5 FIG. 4 is another schematic diagram of the structure of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION

[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present invention; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention; the terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present invention or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0029] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0030] The dynamic parameter matching method provided by the embodiment of the present invention can be applied in the following aspects: Figure 1 In an application environment, the client communicates with the server through a network. The system needs to define a set of rules for matching the parameter values ​​input by the user. The server obtains the parameter values ​​input by the user through a preset template through the client, and these parameter values ​​are then stored in the database of the server; the front-end application reads the stored configuration information and parameter value set from the database through a specific interface call; the system generates the key and matching mode for parameter matching according to the preset matching strategy. The back-end computing engine reads the data to be processed and calls the interface of the front-end application to obtain the configuration information and parameter value set; the back-end computing engine generates a matching key and a matching priority for the data to be processed according to the matching strategy; finally, the system matches the parameter value of the data to be processed in the parameter value set through the matching key and the matching priority. The present invention realizes efficient configuration and management of parameters through the collaborative work of the front-end application and the back-end computing engine. The present invention not only reduces the development cost, but also improves the accuracy of parameter matching, thereby improving the overall work efficiency. Among them, the client can be but is not limited to various personal computers, laptops, smart phones, tablet computers and portable wearable devices. The server can be implemented with an independent server or a server cluster composed of multiple servers. The present invention is described in detail below through specific embodiments.

[0031] See also Figure 2 As shown, Figure 2 A flow chart of a dynamic parameter matching method provided by an embodiment of the present invention includes the following steps:

[0032] S10, obtaining configuration information through the front-end application, configuring a matching strategy for dynamic parameters, and sending the matching strategy and configuration information to the back-end computing engine;

[0033] S20. The backend computing engine stores the matching strategy and configuration information in a database.

[0034] In this embodiment, before the system is implemented, it is necessary to define the matching strategy of dynamic parameters. The matching strategy clarifies how to select the correct parameter value according to specific conditions (such as user role, geographical location, time, etc.). The user configures the matching strategy of dynamic parameters through the front-end application, including the conditional dimension, matching mode, priority, etc. of the defined parameters, and obtains the configuration information, which includes the name, type, applicable conditions, etc. of the parameters. The front-end sends the configured matching strategy and the obtained configuration information to the back-end computing engine, which stores the matching strategy and configuration information in the database after receiving them. It ensures that the matching strategy and configuration information can be passed from the user interface to the back-end system and stored persistently in the back-end system for subsequent data processing and matching operations. The front-end is responsible for providing a user interface, allowing users to configure matching strategies and obtain configuration information, and then sending this information to the back-end. The back-end is responsible for receiving the matching strategy and configuration information sent by the front-end, and storing them in the database for subsequent use. It ensures that the system can perform effective parameter matching and data processing according to the matching strategy and configuration information defined by the user.

[0035] Specifically, reading configuration information includes the following aspects:

[0036] 1. Parameter identification: includes the unique identifier, name, type, etc. of the parameter, which is used to accurately locate the parameter in the database.

[0037] 2. Parameter space and version: Define the space (such as different business modules or application scenarios) and version information to which the parameter belongs to ensure that the correct parameter version is obtained.

[0038] 3. Parameter classification and conditional dimensions: Parameter classification and the conditional dimensions associated with it, which are used in the subsequent parameter matching process.

[0039] 4. Data permissions: Define which users or roles have access to specific parameter configurations.

[0040] 5. Parameter matching strategy: including rules on how parameters are matched according to conditional dimensions and intervals.

[0041] 6. Data format and parsing rules: The data format of parameter values ​​and the rules for how to parse and convert these data.

[0042] 7. Default settings for parameter values: Default values ​​or default parameters used when no specific parameter value is matched.

[0043] 8. Parameter validity and timeliness: The effective date range or conditions of the parameters to ensure that the parameters used are the latest.

[0044] 9. Parameter dependencies: Dependencies may exist between parameters, which may affect the retrieval and application of parameter values.

[0045] By reading the configuration information, the front-end application can retrieve the correct parameter values ​​from the database according to business requirements and user input conditions, and process the parameter values ​​to ensure that the parameter values ​​can be correctly applied to subsequent business logic. This process is a very critical part of the dynamic parameter configuration solution, which ensures the flexibility and accuracy of the parameters.

[0046] S30. The front-end application obtains a parameter value set input by the user through the template, and stores the parameter value set in a database.

[0047] In this embodiment, the user inputs the parameter value through the template, the front-end application receives the parameter value, and stores the parameter value in the database. The front-end application retrieves the required configuration information and parameter value set from the database by calling the API interface provided by the back-end service. These data form the basis of the dynamic parameter configuration scheme. The front-end application generates the key and matching pattern for parameter matching according to the predefined matching strategy. These rules may be defined based on conditional dimensions (such as time, location, user attributes, etc.).

[0048] Furthermore, the front-end application can also accurately retrieve specific configuration and parameter values ​​from the database by providing detailed query parameters (such as space, type, configuration code, data date and signature, etc.). The retrieved parameter values ​​need to be standardized to ensure that they conform to the standard format used within the system. This includes steps such as data parsing, format conversion, data merging and data sharing.

[0049] Data parsing involves converting raw data into a readable or usable format, such as parsing a JSON string into an object. Format conversion involves converting data into different formats to meet different business needs or system requirements. Data merging involves merging data sets from different sources into a unified data set for further processing. Data sharing involves processing data that can be shared to ensure data consistency and reusability.

[0050] Based on the value of the conditional dimension of the parameter (such as user role, geographic location, etc.), the parameter matching key and matching pattern for the subsequent matching process are generated. The processed parameter value is converted into the corresponding business data object according to its type. For example, if the parameter value is sensitive information, encryption may be required.

[0051] Finally, the data is compressed to reduce transmission time and improve efficiency. This process ensures that the reading, processing and matching of parameter values ​​are orderly and automated, thereby improving the flexibility and efficiency of the system. In this way, the system can dynamically adjust the application of parameters according to different business needs and conditions.

[0052] Specifically, an API call refers to the process in which a software component (such as a front-end application) requests data or services from another software component (such as a back-end service or database) through a defined interface (API) in a software architecture. An API call is a mechanism for communication between different systems or modules, allowing systems to exchange information and perform operations in a standardized manner.

[0053] The benefits of interface calls include:

[0054] (1) Modularity: Different parts of the system can be independent of each other through interfaces, making it easy to develop and maintain.

[0055] (2) Extensibility: New functions can be implemented by adding new interfaces or extending existing interfaces.

[0056] (3) Reusability: Well-defined interfaces can be reused by different applications.

[0057] (4) Decoupling: The logic of the front-end and back-end can be separated through interfaces to reduce the coupling degree of the system.

[0058] The front-end application can dynamically obtain parameter configuration and parameter values ​​from the back-end service, perform necessary processing, and match parameters according to business logic to ensure the correct application of parameter values. This process improves the flexibility and automation of the system, reduces manual intervention, and improves efficiency and accuracy.

[0059] S40: The backend computing engine reads the data to be processed and retrieves configuration information, parameter value sets and matching strategies corresponding to the data to be processed from the database;

[0060] S50, generating a matching key and a matching priority of the data to be processed according to the configuration information, the parameter value set and the matching strategy;

[0061] S60. Match the parameter value of the data to be processed in the parameter value set by using the matching key and the matching priority.

[0062] In this embodiment, the back-end computing engine reads the data to be processed and retrieves the configuration information, parameter value set and matching strategy corresponding to the data to be processed from the database. The back-end computing engine is responsible for reading the data to be processed from the big data platform (such as a Hive table). These data may come from different business operations, including user behavior records, transaction data, sensor readings, etc. In order to process the data, the back-end computing engine calls the interface provided by the front-end application to obtain the necessary configuration information and parameter value set. These interfaces allow the back-end computing engine to access the configuration and parameter information stored in the database or other data storage.

[0063] The backend computing engine generates matching keys and matching priorities for the data to be processed based on the predefined matching strategies, parameter value sets, and matching strategies. Matching keys and matching priorities are defined based on conditional dimensions, such as time, location, user attributes, etc. Using the generated matching keys and matching priorities, the backend computing engine searches for parameter values ​​that match the data to be processed in the parameter value set. This process may involve comparing and sorting multiple matching keys to determine which parameter value is most suitable for the current business scenario.

[0064] The matched parameter values ​​are then applied to the data to be processed for calculation, decision support or other business logic. This mechanism ensures that the backend calculation engine can select the most appropriate one from a set of parameter values ​​for subsequent processing and calculation based on specific business conditions and requirements. This dynamic parameter matching mechanism enhances the flexibility and automation of the system, enabling the system to adapt to changing business needs.

[0065] This embodiment consists of two parts: the front-end application and the back-end computing engine. The front-end application is responsible for providing the user interface and interactive functions, including parameter definition, parameter value upload, parameter display and parameter configuration interface. Users can configure and manage parameters through these interfaces.

[0066] The backend computing engine directly reads external data and calls the interface provided by the frontend application to read the required parameter information. During the calculation process, the backend will find the corresponding parameter values ​​based on the received external data and the preset algorithm.

[0067] After finding the parameter value, the backend calculation engine calls the rule engine to perform business application calculations. The rule engine is a core component that processes and analyzes data according to business logic and rules, and ultimately obtains calculation results. This ensures that the system can efficiently process business data and correctly apply parameter values ​​to business calculations, thereby providing users with accurate and timely calculation results. This front-end and back-end separation of the architecture design improves the flexibility and maintainability of the system, while also ensuring the accuracy and efficiency of data processing.

[0068] In one embodiment, the matching strategy for configuring dynamic parameters includes:

[0069] Define the storage space, version, classification, validity period, expected results and verification rules of the parameters;

[0070] Determine the data type, inheritance relationship and processing strategy of the parameters;

[0071] Configure data access permissions and conditional dimensions.

[0072] In this embodiment, the components of parameter definition are:

[0073] Storage space: This may refer to the business domain or context to which the parameter applies.

[0074] Version: Parameter version information, used to manage parameter changes and updates.

[0075] Parameter classification: Classify parameters according to function or purpose.

[0076] Parameter data type: The data type of the parameter, such as integer, floating point number, string, etc.

[0077] Inheritance relationship: How a parameter inherits the values ​​or properties of other parameters.

[0078] Data access permissions: Define which users or roles have the authority to access or modify the parameters.

[0079] Conditional dimension: The conditions to which the parameter value applies, such as time, location, user attributes, etc.

[0080] Valid range: The valid range of parameter values, such as a numeric range or a date range.

[0081] Expected result: The expected result or effect of the parameter configuration.

[0082] Verification rules: Rules used to verify parameter values ​​to ensure data accuracy and compliance.

[0083] Processing strategy: Management and maintenance strategy for parameters, such as update frequency, audit trail, etc.

[0084] Through the mapping and combination of conditional dimensions and intervals, the system can dynamically configure parameter values. This means that parameter values ​​can change dynamically according to different conditions and intervals to adapt to different business scenarios. Data permission control is implemented through conditional dimensions and user roles. This means that different users or roles can only access or modify specific parameter values ​​according to their permissions. Data upload verification is implemented through built-in verification rules and external interfaces, ensuring that the parameter values ​​uploaded to the system comply with the preset format and logical rules, improving the quality and reliability of the data.

[0085] Through matching strategies, the system can flexibly manage parameters, ensure the correctness and applicability of parameter values, and protect sensitive data from unauthorized access. This parameter management method improves the flexibility and security of the system, allowing the system to adapt to complex business needs and changes.

[0086] In one embodiment, the front-end application obtains the parameter value set input by the user through the template, and stores the parameter value set in the database, including:

[0087] Get the parameter value set entered by the user through the template;

[0088] Approving the parameter value set according to the matching strategy;

[0089] When the parameter value set is approved, the parameter value set is stored in a database.

[0090] In this embodiment, when using the system for parameter management, the user first needs to download a predefined parameter template Excel file. This template specifies the format and required data structure of the parameters in detail, ensuring that the user can accurately enter the parameter values ​​according to the system requirements. In the Excel template, the user can enter or select the corresponding parameter values, which may include numbers, text, dates, or other types of data, depending on the definition of the parameters and business requirements.

[0091] After completing the parameter value entry, the user uploads the Excel file through the system interface. During the upload process, the user must select the month corresponding to the parameter and the parameter file to be uploaded. The system will determine whether the uploaded parameter value needs to go through the approval process based on the configuration. This is usually determined by the nature of the parameter and business rules. Some parameter values ​​may require review by management personnel or authorized users.

[0092] The system manages user access and modification rights to parameter values ​​based on data permission configuration, ensuring that only users with corresponding permissions can upload or modify parameter values. Uploaded parameter values ​​are validated through built-in validation rules to ensure that they comply with preset formats, ranges, and logical rules, thereby ensuring data accuracy and compliance.

[0093] The system decides whether existing data should be cleared or overwritten based on the upload policy. The upload policy determines whether the newly uploaded parameter values ​​replace the old values ​​or are stored together with the old values. Once the parameter values ​​are approved and verified, they are stored in the database for subsequent business logic and data processing.

[0094] The approval process will determine whether the parameter value is valid and conforms to the business logic based on the predefined matching strategy, ensuring that the collection, approval, verification and storage of parameter values ​​are orderly and controlled, thereby ensuring the quality of data and the stability of the system. In this way, the system can dynamically manage and apply parameter values ​​to meet business needs.

[0095] In one embodiment, the backend computing engine reads the data to be processed and retrieves configuration information, parameter value sets and matching strategies corresponding to the data to be processed from a database, including:

[0096] Standardize the parameter value set according to the configuration information

[0097] Generate preliminary matching keys and matching patterns based on the standardized parameter value set.

[0098] In this embodiment, the original parameter values ​​extracted from the database or other data storage need to be processed to meet the requirements of the configuration information. The configuration information generally includes the data type, format, range and verification rules of the parameter. The steps of processing the parameter value may involve data parsing, format conversion, data merging and data sharing processing to ensure that the parameter value meets the standard format and requirements used within the system.

[0099] After processing, the original parameter values ​​are converted into a set of standardized parameter value sets, which can be directly used in the subsequent matching process. The matching strategy defines how to select the correct parameter value based on specific conditional dimensions (such as time, location, user attributes, etc.). Based on these matching strategies, the system generates a preliminary matching key for each parameter value, which is a unique identifier based on the conditional dimensions of the parameter value and possible interval restrictions.

[0100] In addition, the system generates a matching pattern, which defines how the matching key is used to find and select parameter values. The matching pattern may include priority rules to address situations where multiple matching keys may apply to the same condition dimension. This mechanism enables the system to dynamically adjust the application of parameters according to different business needs and conditions, thereby improving the accuracy and efficiency of data processing.

[0101] In one embodiment, generating a matching key and a matching priority of the data to be processed according to the configuration information, the parameter value set and the matching strategy includes:

[0102] Acquire the conditional dimension value of the data to be processed according to the matching strategy;

[0103] The matching key and matching priority of the data to be processed are generated according to the condition dimension value, the preliminary matching key and the matching mode.

[0104] In this embodiment, when processing data, the system first extracts conditional dimension values ​​related to the matching strategy from the data set to be processed. Next, the system defines how to use these conditional dimension values ​​to match parameter values ​​according to the matching strategy. Based on the conditional dimension values, preliminary matching keys, and matching patterns, the system generates keys for parameter matching. Matching keys help the system quickly and accurately find appropriate parameter values ​​in the parameter value set.

[0105] To handle the situation where multiple matching keys may apply to the same condition dimension, the system assigns a priority to each generated matching key. This priority system ensures that when there are multiple possible matching keys, the system can select the most appropriate parameter value based on the priority.

[0106] Through this series of steps, the system can ensure that when faced with complex business conditions and requirements, it can select the most appropriate one from a variety of parameter values ​​for processing and calculation. This dynamic parameter matching mechanism not only improves the flexibility of the system, but also enhances its degree of automation, enabling the system to adapt to the ever-changing business environment.

[0107] Specifically, matching strategies are the basis for selecting parameter values. They usually rely on conditional dimensions, which are key factors for parameter matching, such as user role, geographic location, time, etc. For the data to be processed, the system analyzes and extracts the conditional dimension values ​​related to these matching strategies. These values ​​are directly obtained from the data set to be processed and used in the subsequent parameter matching process.

[0108] At the same time, the system also determines a matching mode, which is a set of rules or algorithms used to determine how to match parameter values ​​based on the conditional dimension values. Based on the conditional dimension values ​​and the matching mode, the system generates a matching key and matching priority for the data to be processed.

[0109] Once the condition dimension values ​​are obtained, the system generates a match key based on these values ​​and the matching pattern. A match key is a unique identifier used to find and select a parameter value from a set of parameter values. To address the situation where there may be multiple match keys applicable to the same condition dimension, the system assigns a priority to each match key. This priority system ensures that among multiple possible parameter values, the system can select the most appropriate one.

[0110] This embodiment ensures that the system can select the most appropriate one from a set of parameter values ​​for subsequent processing and calculation according to specific business conditions and requirements. This dynamic parameter matching mechanism improves the flexibility and automation of the system, allowing the system to adapt to changing business needs.

[0111] In one embodiment, matching the parameter value of the to-be-processed data in the parameter value set by using the matching key and the matching priority includes:

[0112] Determining a parameter matching order of the data to be processed according to the matching priority;

[0113] Searching for parameter values ​​of the data to be processed in the parameter value set according to the parameter matching order and the matching key;

[0114] Determine whether the parameter value of the data to be processed meets the interval condition, and when the interval condition is met, output the parameter value of the data to be processed.

[0115] In this embodiment, the system determines the parameter matching order of the data to be processed according to the predefined matching priority. This priority system is based on specific rules of conditional dimensions, such as time or geographic location. Some parameters may be matched based on the time dimension, while other parameters may be matched based on the geographic location dimension, ensuring that the system can select in a predetermined order among multiple matching keys.

[0116] The system searches for a parameter value that matches the data to be processed in the parameter value set according to the determined matching order and matching key. This process includes traversing the parameter value set and using the matching key to identify the correct parameter value.

[0117] For the parameter values ​​found, the system checks whether they meet certain interval conditions. These interval conditions may include numeric ranges, date ranges, or other valid intervals defined by business rules.

[0118] If the parameter value found meets these interval conditions, the system will output this parameter value as the final result. This parameter value is considered to be the most appropriate parameter value that matches the data to be processed and can be used for subsequent business logic processing.

[0119] If the currently matched parameter value does not meet the interval condition, the system will continue to match the parameter value corresponding to the next key according to the priority order. This process will continue until a parameter value that meets the interval condition is found, or all possible matching keys have been checked.

[0120] If after traversing all matching keys, no parameter value that meets the interval condition is found, the system will use the predefined default value. This default value acts as a fallback option to ensure the continuity and stability of business logic. Even if a perfect match is not found, the system can continue to run, avoiding interruptions or errors caused by missing parameter values.

[0121] This method ensures that the system can dynamically select the most appropriate parameter value according to business rules and conditions, and the parameter value will only be accepted and used when it meets all conditions, which improves the flexibility and accuracy of the system and ensures the correctness and effectiveness of business operations.

[0122] In one embodiment, after matching the parameter value of the to-be-processed data in the parameter value set by the matching key and the matching priority, the method further includes:

[0123] Obtain the data to be processed and the parameter values ​​of the data to be processed;

[0124] Adding the data to be processed and the parameter values ​​of the data to be processed into the expression calculation context;

[0125] Perform expression calculation on the data to be processed and the parameter values ​​of the data to be processed, and output the calculation results.

[0126] In this embodiment, the system first obtains the data to be processed and its related parameter values. These data and parameter values ​​are the basis for subsequent calculations. Next, the system adds these data to be processed and parameter values ​​to the context of expression calculation. This is done to ensure that all necessary information is available and can be correctly referenced when performing calculations. Then, the system performs expression calculations on these data to be processed and parameter values. Finally, the system outputs the calculation results. This result is based on the data to be processed and parameter values, calculated according to the established expression. The output results can be used for further business logic processing, such as decision support, data analysis, etc. It ensures that the data and parameter values ​​can be processed and calculated correctly, thereby providing an accurate basis for business decisions.

[0127] This method covers the management and use of parameters. It allows complex parameter configurations to be dynamically constructed through configuration, including parameter version and data permission management. In addition, the solution also provides functions such as data verification and data query page. Users do not need to write any code, nor do they need to add parameter tables or modify the original database table structure. By uploading parameter values ​​and configurations, the system can automatically generate matching patterns and parameter keys. Then, the system generates parameter matching keys and priorities based on the dimension values ​​and parameter configurations in the data for parameter matching.

[0128] The parameter matching process is implemented through fixed logic and algorithms, which is different from the traditional implementation method, which usually requires dynamic code writing based on matching conditions and business logic. This method can not only save development costs but also improve matching efficiency by generating parameter keys and matching keys for matching. In addition, this method is also convenient for recording parameter matching conditions and locating problems, thereby improving the maintainability and traceability of the system.

[0129] It can be seen that the above scheme is suitable for scenarios that require a large amount of data collection and analysis, especially in financial fields such as digital marketing, user behavior analysis and product optimization. First, the system needs to define a set of rules for matching parameter values ​​input by users. Users input parameter values ​​through a preset template, and these parameter values ​​are then stored in the database. The front-end application reads the stored configuration information and parameter value set from the database through a specific interface call. The system generates a key and matching mode for parameter matching according to a preset matching strategy. The back-end computing engine reads the data to be processed and calls the interface of the front-end application to obtain the configuration information and parameter value set. The back-end computing engine generates a matching key and a matching priority for the data to be processed according to the matching strategy. Finally, the system matches the parameter value of the data to be processed in the parameter value set by matching the key and the matching priority. The present invention realizes efficient configuration and management of parameters through the collaborative work of the front-end application and the back-end computing engine. The present invention not only reduces the development cost, but also improves the accuracy of parameter matching, thereby improving the overall work efficiency.

[0130] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0131] In one embodiment, a dynamic parameter matching device is provided, and the dynamic parameter matching device corresponds one-to-one with the dynamic parameter matching method in the above embodiment. Figure 3 As shown, the dynamic parameter matching device includes a rule configuration module 101, a data storage module 102, a parameter acquisition module 103, a data acquisition module 104, a matching processing module 105 and a parameter matching module 106. The functional modules are described in detail as follows:

[0132] The rule configuration module 101 is used to obtain configuration information through the front-end application, configure the matching strategy of the dynamic parameters, and send the matching strategy and configuration information to the back-end computing engine;

[0133] A data storage module 102, used for the backend computing engine to store the matching strategy and configuration information in a database;

[0134] The parameter acquisition module 103 is used to acquire the parameter value set input by the user through the template by the front-end application, and store the parameter value set in the database;

[0135] The data acquisition module 104 is used to read the data to be processed by the backend computing engine, and retrieve the configuration information, parameter value set and matching strategy corresponding to the data to be processed from the database;

[0136] A matching processing module 105, used to generate a matching key and a matching priority of the data to be processed according to the configuration information, the parameter value set and the matching strategy;

[0137] The parameter matching module 106 is used to match the parameter value of the data to be processed in the parameter value set according to the matching key and the matching priority.

[0138] In one embodiment, the rule configuration module 101 specifically includes:

[0139] Define the storage space, version, classification, validity period, expected results and verification rules of the parameters;

[0140] Determine the data type, inheritance relationship and processing strategy of the parameters;

[0141] Configure data access permissions and conditional dimensions.

[0142] In one embodiment, the data storage module 102 includes:

[0143] A parameter value acquisition unit, used to acquire parameter values ​​input by a user through a template, and preprocess the parameter values ​​to obtain a parameter value set;

[0144] A parameter value approval unit, configured to approve the parameter value set according to the matching strategy;

[0145] The parameter value storage unit is used to store the parameter value set in a database when the parameter value set passes the approval.

[0146] In one embodiment, the data acquisition module 104 includes:

[0147] A standardization processing unit, used for performing standardization processing on the parameter value set according to the configuration information;

[0148] The corresponding matching unit is used to generate a preliminary matching key and matching pattern according to the standardized parameter value set.

[0149] In one embodiment, the matching processing module 105 includes:

[0150] A conditional dimension value unit, used to obtain the conditional dimension value of the data to be processed according to the matching strategy;

[0151] The data matching unit to be processed is used to generate the matching key and matching priority of the data to be processed according to the condition dimension value, the preliminary matching key and the matching mode.

[0152] In one embodiment, the parameter matching module 106 includes:

[0153] A matching order unit, used to determine a parameter matching order of the data to be processed according to the matching priority;

[0154] A parameter value searching unit, used for searching the parameter value of the data to be processed in the parameter value set according to the parameter matching order and the matching key;

[0155] The parameter value judgment unit is used to judge whether the parameter value of the data to be processed exists in a valid interval, and when the valid interval exists, output the parameter value of the data to be processed.

[0156] In one embodiment, the dynamic parameter matching device further includes a parameter application module, specifically including:

[0157] A parameter application unit, used for obtaining the data to be processed and parameter values ​​of the data to be processed;

[0158] An expression unit, used for adding the data to be processed and the parameter value of the data to be processed into an expression;

[0159] The expression calculation unit is used to calculate the data to be processed and the parameter values ​​of the data to be processed through the expression, output the analysis result, and implement the business strategy according to the analysis result.

[0160] For the specific definition of the dynamic parameter matching device, please refer to the definition of the dynamic parameter matching method above, which will not be repeated here. Each module in the above-mentioned dynamic parameter matching device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0161] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile and / or volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external client via a network connection. When the computer program is executed by the processor, it implements a function or step on the server side of a dynamic parameter matching method.

[0162] In one embodiment, a computer device is provided. The computer device may be a client, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external server through a network connection. When the computer program is executed by the processor, it realizes the functions or steps of the client side of a dynamic parameter matching method

[0163] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0164] Obtain configuration information through the front-end application, configure a matching strategy for dynamic parameters, and send the matching strategy and configuration information to the back-end computing engine;

[0165] The backend computing engine stores the matching strategy and configuration information in a database;

[0166] The front-end application obtains the parameter value set input by the user through the template, and stores the parameter value set in the database;

[0167] The backend computing engine reads the data to be processed and retrieves the configuration information, parameter value set and matching strategy corresponding to the data to be processed from the database;

[0168] Generate a matching key and a matching priority for the data to be processed according to the configuration information, the parameter value set and the matching strategy;

[0169] The parameter value of the data to be processed is matched in the parameter value set by using the matching key and the matching priority.

[0170] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0171] Obtain configuration information through the front-end application, configure a matching strategy for dynamic parameters, and send the matching strategy and configuration information to the back-end computing engine;

[0172] The backend computing engine stores the matching strategy and configuration information in a database;

[0173] The front-end application obtains the parameter value set input by the user through the template, and stores the parameter value set in the database;

[0174] The backend computing engine reads the data to be processed and retrieves the configuration information, parameter value set and matching strategy corresponding to the data to be processed from the database;

[0175] Generate a matching key and a matching priority for the data to be processed according to the configuration information, the parameter value set and the matching strategy;

[0176] The parameter value of the data to be processed is matched in the parameter value set by using the matching key and the matching priority.

[0177] It should be noted that the above functions or steps that can be implemented by the computer-readable storage medium or computer device can refer to the relevant descriptions on the server side and the client side in the aforementioned method embodiment. To avoid repetition, they will not be described one by one here.

[0178] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0179] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0180] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0181] It should be noted that if software tools or components other than those of the Company appear in the embodiments of the present application, they are only used for illustration and do not represent actual use. The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the above-mentioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the above-mentioned embodiments can still be modified, or some of the technical features thereof can be replaced by equivalents; and these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A dynamic parameter matching method, characterized in that: include: Obtain configuration information through the front-end application, configure a matching strategy for dynamic parameters, and send the matching strategy and configuration information to the back-end computing engine; The backend computing engine stores the matching strategy and configuration information in a database; The front-end application obtains the parameter value set input by the user through the template, and stores the parameter value set in the database; The backend computing engine reads the data to be processed and retrieves the configuration information, parameter value set and matching strategy corresponding to the data to be processed from the database; Generate a matching key and a matching priority for the data to be processed according to the configuration information, the parameter value set and the matching strategy; The parameter value of the data to be processed is matched in the parameter value set by using the matching key and the matching priority.

2. The dynamic parameter matching method according to claim 1, characterized in that: The matching strategy for configuring dynamic parameters includes: Define the storage space, version, classification, validity period, expected results and verification rules of the parameters; Determine the data type, inheritance relationship and processing strategy of the parameters; Configure data access permissions and conditional dimensions.

3. The dynamic parameter matching method according to claim 1, characterized in that: The front-end application obtains a parameter value set input by a user through a template, and stores the parameter value set in a database, including: Obtaining parameter values ​​input by the user through the template, and preprocessing the parameter values ​​to obtain a parameter value set; Approving the parameter value set according to the matching strategy; When the parameter value set is approved, the parameter value is stored in a database.

4. The dynamic parameter matching method according to claim 1, characterized in that: The backend computing engine reads the data to be processed and retrieves configuration information, parameter value sets and matching strategies corresponding to the data to be processed from the database, including: Standardizing the parameter value set according to the configuration information; Generate preliminary matching keys and matching patterns based on the standardized parameter value set.

5. The dynamic parameter matching method according to claim 4, characterized in that: The generating a matching key and a matching priority of the data to be processed according to the configuration information, the parameter value set and the matching strategy includes: Acquire the conditional dimension value of the data to be processed according to the matching strategy; The matching key and matching priority of the data to be processed are generated according to the condition dimension value, the preliminary matching key and the matching mode.

6. The dynamic parameter matching method according to claim 1, characterized in that: The matching of the parameter value of the to-be-processed data in the parameter value set by the matching key and the matching priority includes: Determining a parameter matching order of the data to be processed according to the matching priority; Searching for parameter values ​​of the data to be processed in the parameter value set according to the parameter matching order and the matching key; It is determined whether the parameter value of the data to be processed exists in a valid interval, and when the parameter value of the data to be processed exists in a valid interval, the parameter value of the data to be processed is output.

7. The dynamic parameter matching method according to claim 1, characterized in that: After matching the parameter value of the to-be-processed data in the parameter value set by the matching key and the matching priority, the method further includes: Acquire the data to be processed and parameter values ​​of the data to be processed; Adding the data to be processed and the parameter values ​​of the data to be processed into the expression; The data to be processed and parameter values ​​of the data to be processed are calculated by using the expression, an analysis result is output, and a business strategy is implemented according to the analysis result.

8. A dynamic parameter matching device, characterized in that: include: A rule configuration module is used to obtain configuration information through a front-end application, configure a matching strategy for dynamic parameters, and send the matching strategy and configuration information to a back-end computing engine; A data storage module, used for the back-end computing engine to store the matching strategy and configuration information in a database; A parameter acquisition module is used to acquire a parameter value set input by a user through a template by a front-end application, and store the parameter value set in a database; The data acquisition module is used to read the data to be processed by the back-end computing engine and retrieve the configuration information, parameter value set and matching strategy corresponding to the data to be processed from the database; A matching processing module, used to generate a matching key and a matching priority for the data to be processed according to the configuration information, the parameter value set and the matching strategy; The parameter matching module is used to match the parameter value of the data to be processed in the parameter value set according to the matching key and the matching priority.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the dynamic parameter matching method according to any one of claims 1 to 7 are implemented.

10. 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 dynamic parameter matching method according to any one of claims 1 to 7 are implemented.