Decision algorithm standardization processing method and system and medium
By establishing a mapping relationship and data conversion interface between the decision intelligence system and third-party algorithms, the problem of inconsistent parameter and input data formats was solved, the standardized processing of algorithm access was achieved, and the scalability and stability of the system were improved.
Patent Information
- Application Number
- CN202511170286.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-20
- Publication Date
- 2025-11-25
AI Technical Summary
Existing decision-making systems suffer from inconsistent parameter configurations and input data formats during the algorithm integration phase, resulting in low integration efficiency and poor compatibility. There is also a lack of universal algorithm pre-configuration and integration standards.
By acquiring the raw parameter data of third-party algorithms, a mapping relationship is established between the data and the standardized data of the decision intelligence system. A data conversion interface is generated, and an operation interface is configured on the preset standard interface management interface to achieve bidirectional data format conversion and encrypted transmission.
It achieves standardized processing for algorithm access, lowers the technical threshold, enables non-professionals to configure it, improves the system's scalability and stability, avoids data parsing errors, and improves access efficiency.
Smart Images

Figure CN121009136A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of standardization processing technology, and in particular to a standardization processing method, system and medium for decision-making algorithms. Background Technology
[0002] In the field of business data analytics, the typical business logic of decision intelligence products is as follows: The system connects to the user's system data source; after the user sets business goals, the system determines the required algorithm and connects it; through multiple simulations and deductions, the correlation pattern between the data source and the business goals is obtained; and then the input parameters are adjusted to obtain the optimal decision solution. With the increasing variety of algorithms and the growing complexity of business processes, the need for standardized algorithm integration is becoming increasingly urgent.
[0003] Existing decision-making systems have significant shortcomings in the algorithm integration phase. The lack of unified standards for parameter configuration and input data formats for different algorithms leads to extensive customization during integration, making the configuration process cumbersome. Furthermore, the lack of transparency regarding algorithm parameters and input data requirements necessitates the intervention of professional personnel, severely impacting integration efficiency and system scalability. The root cause lies in the lack of universally applicable algorithm pre-configuration and integration standards, as well as the absence of convenient tools for handling non-standard third-party algorithms. Summary of the Invention
[0004] This application provides a standardized processing method, system, and medium for decision-making algorithms to solve the problems of low access efficiency and poor compatibility caused by inconsistent parameter and input data formats, complex configuration, and high professional requirements when accessing algorithms in existing decision-making inference systems.
[0005] Firstly, this application provides a standardized processing method for decision-making algorithms, the method comprising: Obtain the raw parameter data of the third-party algorithm, and obtain the mapping relationship between the raw parameter data and the standard data corresponding to the decision intelligence system; generate the data conversion interface corresponding to the mapping relationship; Configure the data conversion interface on the preset standard interface management interface; wherein, the preset standard interface management interface is configured with the operation interface of the data conversion interface, and the operation interface includes revising the mapping relationship and deleting; The decision intelligence system triggers specific data conversion interfaces through a pre-defined standard interface management interface. Using the data conversion interface, the system converts the data processing requests initiated by the decision intelligence system to the third-party algorithm into the format content corresponding to the third-party algorithm, and then sends them to the service system corresponding to the third-party algorithm. When the third-party algorithm outputs the calculation results corresponding to the data to be processed, the system processes the calculation results into the format content corresponding to the decision intelligence system through the data conversion interface, and then sends them to the decision intelligence system.
[0006] In one implementation of this application, obtaining the raw parameter data of the third-party algorithm specifically includes: Obtain the raw parameter data through the preset acquisition interface.
[0007] In one implementation of this application, the standard data includes: basic identification information, functional description information, developer information, and format definition information; The basic identification information includes: unique identifier (id), algorithm name (name), algorithm version (version), call frequency (call_frequency_limit), and algorithm type (type); the functional description information includes: functional overview (summary) and application scenarios (scenarios); the developer information includes: developer (developer), development organization (organization), and contact information (contact); and the format definition information includes: data input format definition (input_data_schema), parameter input format definition (input_params_schema), and data output format definition (output_data_schema).
[0008] In one implementation of this application, obtaining the mapping relationship between the original parameter data and the corresponding standard data of the decision intelligence system specifically includes: Using a keyword extraction algorithm, the first position information of preset keywords is extracted from the original parameter data; the second position information of preset keywords in the standard data is obtained. Establish a mapping relationship between the first location information and the second location information; Does the test specification standard data contain any preset keywords that do not have corresponding mapping relationships? When there is a preset keyword that does not have a corresponding mapping relationship, the preset keyword without a corresponding mapping relationship will be displayed on the preset maintenance interface; the mapping relationship can be obtained through the input box of the preset maintenance interface.
[0009] In one implementation of this application, before sending the data to the service system corresponding to the third-party algorithm, the method further includes: During transmission, an encryption algorithm is used to encrypt sensitive data sent to the service system corresponding to the third-party algorithm.
[0010] Secondly, this application provides a standardized processing system for decision-making algorithms, the system comprising: The interface generation module is used to obtain the raw parameter data of third-party algorithms, obtain the mapping relationship between the raw parameter data and the standard data corresponding to the decision intelligence system, and generate the data conversion interface corresponding to the mapping relationship. The interface management module is used to configure the data conversion interface on the preset standard interface management interface; the preset standard interface management interface is configured with the operation interface of the data conversion interface, and the operation interface includes revising the mapping relationship and deleting. The data conversion module is used to trigger specific data conversion interfaces through a preset standard interface management interface. It uses the data conversion interface to convert the data processing requests initiated by the decision intelligence system to the third-party algorithm into the format content corresponding to the third-party algorithm, and then sends them to the service system corresponding to the third-party algorithm. When the third-party algorithm outputs the calculation results corresponding to the data to be processed, it uses the data conversion interface to process the calculation results into the format content corresponding to the decision intelligence system, and then sends them to the decision intelligence system.
[0011] In one implementation of this application, the interface generation module includes a mapping acquisition unit. Used to extract the first position information of preset keywords from the original parameter data using a keyword extraction algorithm; and to obtain the second position information of preset keywords in the standard data. Establish a mapping relationship between the first location information and the second location information; Does the test specification standard data contain any preset keywords that do not have corresponding mapping relationships? When there is a preset keyword that does not have a corresponding mapping relationship, the preset keyword without a corresponding mapping relationship will be displayed on the preset maintenance interface; the mapping relationship can be obtained through the input box of the preset maintenance interface.
[0012] In one implementation of this application, the system further includes an encrypted transmission module. This is used to encrypt sensitive data sent to a third-party service system using an encryption algorithm during transmission.
[0013] Thirdly, this application provides a real-time monitoring device for file operations under a domestically developed system, the device comprising: processor; And a memory that stores executable code, which, when executed, causes the processor to perform a standardized processing method of a decision algorithm as described above.
[0014] Fourthly, this application provides a non-volatile computer storage medium storing computer instructions thereon, which, when executed, implement a standardized processing method for a decision algorithm as described above.
[0015] As can be seen from the above technical solutions, this application has the following advantages: First, by establishing a mapping relationship between raw parameter data and standardized data, and generating corresponding data conversion interfaces, the problem of inconsistent parameter and input data formats is fundamentally solved. This standardized mapping mechanism eliminates the need for customized development, allowing even non-professionals to complete configuration through a pre-defined standard interface management system, significantly lowering the technical barrier to algorithm integration.
[0016] Secondly, the design of the pre-defined standard interface management system enables modularization and visualization of the algorithm integration process. The modification mapping and deletion functions provided by the operation interface allow system maintenance personnel to flexibly adjust algorithm configurations, completing algorithm iteration or replacement without redeveloping code, significantly improving the system's dynamic scalability.
[0017] Finally, the bidirectional format conversion function of the data conversion interface achieves seamless integration in both the request initiation and result return stages. This standardized processing throughout the entire process not only ensures the efficient transmission of data processing requests and calculation results, but also avoids data parsing errors caused by format differences, thereby improving the stability and reliability of the entire decision-making system. Attached Figure Description
[0018] To more clearly illustrate the technical solution of the present invention, the accompanying drawings used in the description will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a flowchart of a standardized processing method for a decision algorithm provided in an embodiment of this application.
[0020] Figure 2 This is a schematic diagram of a preset standard interface management interface provided in an embodiment of this application.
[0021] Figure 3 This is a schematic diagram of the internal structure of a standardized processing system for a decision algorithm provided in an embodiment of this application.
[0022] Figure 4 This is a schematic diagram of the internal structure of a standardized processing device for a decision algorithm provided in an embodiment of this application. Detailed Implementation
[0023] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0024] Those skilled in the art should understand that the embodiments described below are merely preferred embodiments of this disclosure and do not imply that this disclosure can only be implemented through these preferred embodiments. These preferred embodiments are merely used to explain the technical principles of this disclosure and are not intended to limit the scope of protection of this disclosure. Based on the preferred embodiments provided by this disclosure, all other embodiments obtained by those skilled in the art without creative effort should still fall within the scope of protection of this disclosure.
[0025] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0026] The technical solutions proposed in the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0027] The embodiment provides a standardized processing method for decision-making algorithms, such as Figure 1 As shown in the embodiments of this application, the method mainly includes the following steps: Step 110: Obtain the original parameter data of the third-party algorithm, and obtain the mapping relationship between the original parameter data and the standard data corresponding to the decision intelligence system; generate the data conversion interface corresponding to the mapping relationship.
[0028] In some embodiments, obtaining the raw parameter data of a third-party algorithm specifically includes: Obtain the raw parameter data through the preset acquisition interface.
[0029] As an example, the standard data includes: basic identification information, functional description information, developer information, and format definition information; The basic identification information includes: unique identifier (id), algorithm name (name), algorithm version (version), call frequency (call_frequency_limit), and algorithm type (type); the functional description information includes: functional overview (summary) and application scenarios (scenarios); the developer information includes: developer (developer), development organization (organization), and contact information (contact); and the format definition information includes: data input format definition (input_data_schema), parameter input format definition (input_params_schema), and data output format definition (output_data_schema).
[0030] To be further specific, the unique identifier (id) adopts the UUID v4 format, which is 36 characters long and contains 5 separators, such as "f81d4fae-7dec-11d0-a765-00a0c91e6bf6". Algorithm name (name) is a character type with a length of 2-50 characters. It can only contain Chinese and English characters, numbers, underscores, and decimal points, such as "LinearProgramming_v2.3.1". The algorithm version follows semantic versioning rules, with the format "major version.minor version.revision number". The major version, minor version, and revision number are all non-negative integers without leading zeros, such as "2.3.1". The call frequency limit (call_frequency_limit) is the maximum number of times the computation interface can be called per minute. It is a numeric value and the unit is times / minute. It is used to define the maximum recommended execution frequency of the algorithm interface to prevent server overload due to excessive call frequency.
[0031] Algorithm type (type) is a character type with a length of 2-50. It can be selected from preset enumeration values, including "prediction", "optimization", and "clustering", or a custom type can be defined, such as "risk assessment". The summary should be 0-200 words long and clearly describe the core functions and uses of the algorithm, such as "extracting the core features of economic data, such as summarizing the macroeconomic state with a few indicators". Application scenarios (scenarios) are arrays, listing 0-5 specific business scenarios. Each scenario description should not exceed 50 characters, for example, ["Simulated portfolio returns", "Customer groups categorized by consumption habits", "Customer credit rating"]. The "developer" field is a string of characters with a length of 0-50. It records the name of the algorithm developer, such as "Zhang San". The "organization" field is a character type with a length of 0-200 characters. It records the name of the organization that developed the algorithm, such as "Data R&D Department of XX Technology Co., Ltd." Contact information (contact) is a character type with a length of 0-200 characters, such as "developer@example.com", used for communication regarding algorithm-related issues. The input data format definition (input_data_schema) defines the input data format as an array type. Each element corresponds to a field in input_data, including "field_name" (field name, consistent with the field name in the data in the execution interface), "type" (data type, limited to string / number / integer / boolean / array / object), "required" (whether it is required, boolean value), "description" (field description, 10-100 characters), "example" (example value), and "array_object_structure" (substructure). The substructure definition input_data_schema.array_object_structure defines the fields and information contained in the array / object when the type is array / object, with the same format as input_data_schema. The input parameter format definition (input_params_schema) is an array type that defines the format requirements of the parameters required by the algorithm. It is provided for reference by the execution interface. The field format is the same as the data input structure in the input data format.
[0032] The output_data format definition (output_data_schema) defines the format of the input parameters. The output_data_schema is an array type that specifies the format requirements of the parameters required by the algorithm and provides a reference for the execution interface. The field format is the same as the data input structure in the input_data format.
[0033] Obtaining the mapping relationship between the raw parameter data and the corresponding standardized data of the decision intelligence system specifically includes: Using a keyword extraction algorithm, the first position information of preset keywords is extracted from the original parameter data; the second position information of preset keywords in the standard data is obtained. Establish a mapping relationship between the first location information and the second location information; Does the test specification standard data contain any preset keywords that do not have corresponding mapping relationships? When there is a preset keyword that does not have a corresponding mapping relationship, the preset keyword without a corresponding mapping relationship will be displayed on the preset maintenance interface; the mapping relationship can be obtained through the input box of the preset maintenance interface.
[0034] Step 120: Configure the data conversion interface on the preset standard interface management interface.
[0035] The default standard interface management interface is configured with operation interfaces for data conversion interfaces, and the operation interfaces include revising mapping relationships (configuring mapping) and deleting.
[0036] As an example, such as Figure 2 As shown, this application supports generating a data conversion interface that conforms to this standard based on the configured mapping relationship, and can also set up management functions such as test interface and release interface.
[0037] Step 130: The decision intelligence system triggers a specific data conversion interface through a preset standard interface management interface; using the data conversion interface, the data processing request initiated by the decision intelligence system to the third-party algorithm is converted into the format content corresponding to the third-party algorithm, and then sent to the service system corresponding to the third-party algorithm; when the third-party algorithm outputs the calculation result corresponding to the data to be processed, the calculation result is processed into the format content corresponding to the decision intelligence system through the data conversion interface, and then sent to the decision intelligence system.
[0038] Before sending the data to the service system corresponding to the third-party algorithm, the method also includes: During transmission, an encryption algorithm is used to encrypt sensitive data sent to the service system corresponding to the third-party algorithm.
[0039] As described above, this embodiment fundamentally solves the problem of inconsistent parameter and input data formats by establishing a mapping relationship between raw parameter data and standardized data, and generating a corresponding data conversion interface. This standardized mapping mechanism eliminates the need for customized development, allowing even non-professionals to complete the configuration through a preset standard interface management system, significantly lowering the technical threshold for algorithm integration.
[0040] The pre-designed standard interface management system modularizes and visualizes the algorithm integration process. The operation interface provides revision mappings and deletion functions, enabling system maintenance personnel to flexibly adjust algorithm configurations and complete algorithm iterations or replacements without rewriting code, significantly improving the system's dynamic scalability.
[0041] The data conversion interface's bidirectional format conversion function achieves seamless integration in both the request initiation and result return stages. This standardized processing throughout the entire process not only ensures efficient transmission of data processing requests and calculation results but also avoids data parsing errors caused by format differences, thereby improving the stability and reliability of the entire decision-making system.
[0042] In addition, this application Figure 3 This application provides a standardized processing system for a decision-making algorithm. For example... Figure 3 As shown, the system provided in this application embodiment mainly includes: The interface generation module 210 is used to obtain the original parameter data of the third-party algorithm, obtain the mapping relationship between the original parameter data and the standard data corresponding to the decision intelligence system, and generate the data conversion interface corresponding to the mapping relationship.
[0043] The interface generation module 210 includes a mapping acquisition unit. Used to extract the first position information of preset keywords from the original parameter data using a keyword extraction algorithm; and to obtain the second position information of preset keywords in the standard data. Establish a mapping relationship between the first location information and the second location information; Does the test specification standard data contain any preset keywords that do not have corresponding mapping relationships? When there is a preset keyword that does not have a corresponding mapping relationship, the preset keyword without a corresponding mapping relationship will be displayed on the preset maintenance interface; the mapping relationship can be obtained through the input box of the preset maintenance interface.
[0044] The interface management module 220 is used to configure the data conversion interface on the preset standard interface management interface; wherein, the preset standard interface management interface is configured with the operation interface of the data conversion interface, and the operation interface includes revising the mapping relationship and deleting.
[0045] The data conversion module 230 is used to trigger specific data conversion interfaces through a preset standard interface management interface; using the data conversion interface, it converts the data processing requests initiated by the decision intelligence system to the third-party algorithm into the format content corresponding to the third-party algorithm, and then sends them to the service system corresponding to the third-party algorithm; when the third-party algorithm outputs the calculation results corresponding to the data to be processed, it processes the calculation results into the format content corresponding to the decision intelligence system through the data conversion interface, and then sends them to the decision intelligence system.
[0046] The system also includes an encrypted transmission module. This is used to encrypt sensitive data sent to a third-party service system using an encryption algorithm during transmission.
[0047] The above are method embodiments of this application. Based on the same inventive concept, embodiments of this application also provide a standardized processing device for decision-making algorithms. Figure 4 As shown, the device includes: a processor; and a memory storing executable code thereon, which, when executed, causes the processor to perform a standardized processing method of a decision algorithm as described in the above embodiments.
[0048] Specifically, the server obtains the raw parameter data of the third-party algorithm and establishes a mapping relationship between the raw parameter data and the standard data corresponding to the decision intelligence system; it generates a data conversion interface corresponding to the mapping relationship; and it configures the data conversion interface on a preset standard interface management interface. This interface includes operation interfaces for the data conversion interface, such as revising and deleting mapping relationships. The decision intelligence system triggers the specific data conversion interface through this interface. Using the data conversion interface, the system converts the data processing request from the decision intelligence system to the third-party algorithm into the format corresponding to the algorithm, and then sends it to the service system corresponding to the algorithm. When the third-party algorithm outputs the calculation result corresponding to the data to be processed, the system uses the data conversion interface to process the result into the format corresponding to the decision intelligence system, and then sends it to the system.
[0049] In addition, embodiments of this application also provide a non-volatile computer storage medium storing executable instructions, which, when executed, implement a standardized processing method for a decision algorithm as described above.
[0050] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A standardized processing method for a decision-making algorithm, characterized in that, The method includes: Obtain the raw parameter data of the third-party algorithm, and obtain the mapping relationship between the raw parameter data and the standard data corresponding to the decision intelligence system; generate the data conversion interface corresponding to the mapping relationship; Configure the data conversion interface on the preset standard interface management interface; wherein, the preset standard interface management interface is configured with the operation interface of the data conversion interface, and the operation interface includes revising the mapping relationship and deleting; The decision intelligence system triggers specific data conversion interfaces through a pre-defined standard interface management interface. Using the data conversion interface, the system converts the data processing requests initiated by the decision intelligence system to the third-party algorithm into the format content corresponding to the third-party algorithm, and then sends them to the service system corresponding to the third-party algorithm. When the third-party algorithm outputs the calculation results corresponding to the data to be processed, the system processes the calculation results into the format content corresponding to the decision intelligence system through the data conversion interface, and then sends them to the decision intelligence system.
2. The standardization processing method for the decision-making algorithm according to claim 1, characterized in that, Obtain the raw parameter data of the third-party algorithm, specifically including: Obtain the raw parameter data through the preset acquisition interface.
3. The standardization processing method for the decision-making algorithm according to claim 1, characterized in that, Standard data includes: basic identification information, functional description information, developer information, and format definition information; The basic identification information includes: unique identifier (id), algorithm name (name), algorithm version (version), call frequency (call_frequency_limit), and algorithm type (type); the functional description information includes: functional overview (summary) and application scenarios (scenarios); the developer information includes: developer (developer), development organization (organization), and contact information (contact); and the format definition information includes: data input format definition (input_data_schema), parameter input format definition (input_params_schema), and data output format definition (output_data_schema).
4. The standardization processing method for the decision-making algorithm according to claim 1, characterized in that, Obtaining the mapping relationship between the raw parameter data and the corresponding standardized data of the decision intelligence system specifically includes: Using a keyword extraction algorithm, the first position information of preset keywords is extracted from the original parameter data; the second position information of preset keywords in the standard data is obtained. Establish a mapping relationship between the first location information and the second location information; Does the test specification standard data contain any preset keywords that do not have corresponding mapping relationships? When there is a preset keyword that does not have a corresponding mapping relationship, the preset keyword without a corresponding mapping relationship will be displayed on the preset maintenance interface; the mapping relationship can be obtained through the input box of the preset maintenance interface.
5. The standardization processing method for the decision-making algorithm according to claim 1, characterized in that, Before sending the data to the service system corresponding to the third-party algorithm, the method further includes: During transmission, an encryption algorithm is used to encrypt sensitive data sent to the service system corresponding to the third-party algorithm.
6. A standardized processing system for a decision-making algorithm, characterized in that, The system includes: The interface generation module is used to obtain the raw parameter data of third-party algorithms, obtain the mapping relationship between the raw parameter data and the standard data corresponding to the decision intelligence system, and generate the data conversion interface corresponding to the mapping relationship. The interface management module is used to configure the data conversion interface on the preset standard interface management interface; the preset standard interface management interface is configured with the operation interface of the data conversion interface, and the operation interface includes revising the mapping relationship and deleting. The data conversion module is used to trigger specific data conversion interfaces through a preset standard interface management interface. It uses the data conversion interface to convert the data processing requests initiated by the decision intelligence system to the third-party algorithm into the format content corresponding to the third-party algorithm, and then sends them to the service system corresponding to the third-party algorithm. When the third-party algorithm outputs the calculation results corresponding to the data to be processed, it uses the data conversion interface to process the calculation results into the format content corresponding to the decision intelligence system, and then sends them to the decision intelligence system.
7. The standardized processing system for the decision-making algorithm according to claim 6, characterized in that, The interface generation module includes a mapping acquisition unit. Used to extract the first position information of preset keywords from the original parameter data using a keyword extraction algorithm; and to obtain the second position information of preset keywords in the standard data. Establish a mapping relationship between the first location information and the second location information; Does the test specification standard data contain any preset keywords that do not have corresponding mapping relationships? When there is a preset keyword that does not have a corresponding mapping relationship, the preset keyword that does not have a corresponding mapping relationship will be displayed on the preset maintenance interface; The mapping relationship can be obtained through the input boxes in the preset maintenance interface.
8. The standardized processing system for the decision-making algorithm according to claim 6, characterized in that, The system also includes an encrypted transmission module. This is used to encrypt sensitive data sent to a third-party service system using an encryption algorithm during transmission.
9. A real-time monitoring device for file operations under a domestically developed system, characterized in that, The device includes: processor; And a memory having executable code stored thereon, which, when executed, causes the processor to perform a standardized processing method of a decision algorithm as described in any one of claims 1-5.
10. A non-volatile computer storage medium, characterized in that, It stores computer instructions, which, when executed, implement a standardized processing method for a decision-making algorithm as described in any one of claims 1-5.