Initialization method and system for multi-dimensional configuration condition grading structure
By automatically identifying and generating multi-dimensional grading structures, the problems of cumbersome user operations and inconsistent structures in the existing system are solved, efficient multi-condition combination configuration is achieved, and the data processing capabilities and user operation efficiency of enterprise-level application systems are improved.
Patent Information
- Application Number
- CN202511323880.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-17
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2045-09-17
AI Technical Summary
Existing software systems lack automatic identification of tier status when configuring multi-condition combination rules, resulting in cumbersome and error-prone user operations, and inconsistent generated structures, which cannot meet the company's requirements for rule configuration efficiency and data consistency.
By automatically identifying the grading status configured by the user, executing structured mapping and interface response, a multi-dimensional grading structure is generated, including dynamically hiding input controls of unused dimensions, extracting target values or generating Cartesian product matrices, thus realizing the intelligent generation of multi-dimensional grading structure.
It improves the automation level and data processing capabilities of enterprise-level application systems in complex rule configuration scenarios, and significantly improves user operation efficiency and the integrity of the configuration structure.
Smart Images

Figure CN120832166A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of application software business rule automation, in particular to a multi-dimensional configuration condition grading structure initialization method and system. BACKGROUND
[0002] The statements in this section merely provide background information related to the present disclosure and do not necessarily constitute the prior art.
[0003] With the wide application of enterprise information systems, rebate configuration functions, as common business rules of enterprises, have been widely integrated into business systems such as ERP and supply chain management. In actual application, such configurations usually involve multiple statistical dimensions, such as sales, customer quantity, order quantity, etc., and often require combined judgment with grading intervals and target values.
[0004] In the existing software system, the following technical problems exist in the configuration process: first, when the user needs to set multi-condition combination rules, there is a lack of automatic recognition ability for grading states, and the corresponding structured data cannot be generated according to whether the conditions are graded, resulting in the user having to manually input all combination intervals one by one, which is tedious and prone to errors; second, for ungraded conditions (such as only setting target values), the system cannot include them in the initialization process of the grading structure, resulting in incomplete configuration structure; third, when neither of the two conditions is graded, the system still allows the configuration to be saved, but the generated "point-to-point" structure does not have hierarchical division, causing subsequent processing logic to be abnormal; finally, the user interface lacks a dynamic response mechanism, and even if only one condition is configured, the input control of the other dimension is still displayed, causing interface redundancy and operation confusion.
[0005] Although some systems implement subsequent amount calculation functions, their input relies on manually configured grading structures, and the front-end modeling link is still in an inefficient and unstructured state, making it difficult to meet the requirements of enterprises for rule configuration efficiency and data consistency. SUMMARY
[0006] To solve the above problems, the present disclosure proposes a multi-dimensional configuration condition grading structure initialization method and system, which automatically analyzes the grading state of one or two selected conditions when configuring strategy type rules, and executes corresponding structured initialization logic according to the state combination, thereby realizing intelligent generation of multi-dimensional grading structure through automatic recognition of input state, execution of structure mapping and interface response, solving the technical problems of relying on manual work, low efficiency and inconsistent structure in the existing configuration process, and improving the automation level and data processing capability in the multi-condition combination configuration scenario.
[0007] According to some embodiments, the present disclosure adopts the following technical solutions: A method for initializing a multi-dimensional configuration condition grading structure, comprising: obtaining a user instruction to start a rule configuration process; after starting the rule configuration, selecting one or more configuration conditions based on statistical dimensions, dividing initialization modes based on the configuration conditions, identifying the grading state of each condition configuration in each initialization mode, and executing corresponding structured mapping and interface response processes according to the state combination to generate a multi-dimensional grading structure; wherein the specific content of executing the corresponding structured mapping and interface response processes according to the state combination includes: when only one graded condition is configured, mapping the range of each grade to the corresponding dimension and dynamically hiding the input control of the unused dimension; when the configured condition is not graded, extracting the set target value as the matching value of the condition; when multiple conditions are configured, if none of the multiple conditions is graded, returning a verification error; if there are graded conditions and ungraded conditions, mapping the interval of the graded condition and the target value of the ungraded condition into a combined structure; if all conditions are graded, generating a Cartesian product matrix of the range of each grade.
[0008] According to some embodiments, the present disclosure adopts the technical scheme as follows: A system for initializing a multi-dimensional configuration condition grading structure, comprising: a starting module configured to obtain a user instruction to start a rule configuration process; a rule configuration initialization module configured to, after starting the rule configuration, select one or more configuration conditions based on statistical dimensions, divide initialization modes based on the configuration conditions, identify the grading state of each condition configuration in each initialization mode, and execute corresponding structured mapping and interface response processes according to the state combination to generate a multi-dimensional grading structure; wherein the specific content of executing the corresponding structured mapping and interface response processes according to the state combination includes: when only one graded condition is configured, mapping the range of each grade to the corresponding dimension and dynamically hiding the input control of the unused dimension; when the configured condition is not graded, extracting the set target value as the matching value of the condition; when multiple conditions are configured, if none of the multiple conditions is graded, returning a verification error; if there are graded conditions and ungraded conditions, mapping the interval of the graded condition and the target value of the ungraded condition into a combined structure; if all conditions are graded, generating a Cartesian product matrix of the range of each grade.
[0009] According to some embodiments, the present disclosure adopts the technical scheme as follows: An electronic device, comprising a processor, a memory, and a computer program; wherein the processor is connected with the memory, and the computer program is stored in the memory; when the electronic device is running, the processor executes the computer program stored in the memory to enable the electronic device to perform the method for initializing a multi-dimensional configuration condition grading structure.
[0010] Compared with the prior art, the beneficial effects of the present disclosure are: The initialization method of a multi-dimensional configuration condition grading structure of the present disclosure, when the user configures a policy class rule, automatically analyzes the grading state of one or two selected conditions, and executes the corresponding structured initialization logic according to the state combination: when only one graded condition is configured, the system maps each range of the condition to the corresponding dimension, and dynamically hides the input controls of unused dimensions; when the condition is not graded, the target value set by the condition is extracted as the matching value of the condition; when two conditions are configured, if both are not graded, an error is returned; if only one is graded, the interval of the graded condition and the target value of the ungraded condition are mapped as a combined structure; if both are graded, a Cartesian product matrix of each range is generated. Through automatic recognition of input state, execution of structure mapping and interface response, intelligent generation of multi-dimensional grading structure is realized, solving the technical problems of dependence on manual operation, low efficiency and inconsistent structure in the existing configuration process, and improving the automation level and data processing capacity of the system in the multi-condition combination configuration scenario.
[0011] The initialization method of a multi-dimensional configuration condition grading structure of the present disclosure, after initialization is completed, outputs the generated grading structure to the configuration interface for use by subsequent modules. Through the cooperative mechanism of grading state recognition, structure mapping, error checking and interface dynamic control, the present disclosure realizes the automatic construction of grading structure, and significantly improves the data processing capacity and user operation efficiency of enterprise-level application systems in complex rule configuration scenarios. BRIEF DESCRIPTION OF DRAWINGS
[0012] The accompanying drawings, which form a part of the present disclosure, are intended to provide further understanding of the present disclosure, and the illustrative embodiments of the present disclosure and their descriptions serve the purpose of explaining the present disclosure and do not constitute improper limitations on the present disclosure.
[0013] Figure 1 A flowchart of the initialization method of a multi-dimensional configuration condition grading structure of an embodiment of the present disclosure. DETAILED DESCRIPTION
[0014] The present disclosure will be further described below in conjunction with the drawings and embodiments.
[0015] It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the present disclosure. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which the present disclosure belongs.
[0016] It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments in accordance with the present disclosure. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, steps, operations, elements, components, and / or groups thereof, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and / or groups thereof.
[0017] Embodiment 1 In an embodiment of the present disclosure, a method for initializing a multi-dimensional configuration condition grading structure is provided, and the method steps include: Step 1: Obtain a user instruction to start a rule configuration process; Step 2: After starting the rule configuration, select one or more configuration conditions based on statistical dimensions, divide the initialization mode based on the configuration conditions, identify the grading state of each condition configuration under each initialization mode, and execute the corresponding structured mapping and interface response process according to the state combination to generate a multi-dimensional grading structure; Specifically, when only one graded condition is configured, the range of each grade is mapped to the corresponding dimension, and the input control of the unused dimension is dynamically hidden; when the configured condition is not graded, the target value set by it is extracted as the matching value of the condition; when multiple conditions are configured, if none of the multiple conditions are graded, an error is returned; if there are graded conditions and ungraded conditions, the interval of the graded condition and the target value of the ungraded condition are mapped as a combined structure; if all conditions are graded, a Cartesian product matrix of the range of each grade is generated.
[0018] As an embodiment, the method for initializing a multi-dimensional configuration condition grading structure of the present disclosure automatically analyzes the grading state of one or two conditions selected by the user when configuring a policy type rule, and executes the corresponding structured mapping and interface response process according to the state combination to generate a multi-dimensional grading structure. The specific implementation process is as follows: Step 1: Obtain a user instruction to start a rule configuration process; Specifically, the user inputs a rule configuration process instruction using a control interface, and the system starts the rule configuration process after obtaining the rule configuration process instruction.
[0019] Step 2: After starting the rule configuration, select one or more configuration conditions based on statistical dimensions, divide the initialization mode based on the configuration conditions, identify the grading state of each condition configuration under each initialization mode, and execute the corresponding structured mapping and interface response process according to the state combination to generate a multi-dimensional grading structure; Specifically, after starting the rule configuration process, one or more configuration conditions based on statistical dimensions are selected. If only one configuration condition is selected, a single-dimension initialization mode is entered. If two configuration conditions are selected, a multi-dimension initialization mode is entered. After receiving a rule configuration request, the mode and the state of each condition configuration are identified, and corresponding structured mapping and interface response processes are performed according to the state combination. Each configuration condition can be configured as a "binned" or "unbinned" state. After receiving a configuration request, the following processing process is performed: (1) If only one configuration condition is selected, the system enters a single-dimension initialization mode: when the configuration condition is "binned", the range lower limit and the range upper limit of each bin are mapped to the first dimension field in the binning structure, and the display control of the second dimension is dynamically hidden in the user interface; when the configuration condition is "unbinned", the system extracts the target value set for it, and hides all binning display controls of the first dimension and the second dimension, indicating that the condition does not need to be configured.
[0020] (2) If multiple configuration conditions are selected, the system enters a multi-dimension initialization mode, and performs binning structure generation according to the following setting rules: (a) If none of the multiple configuration conditions is binned, an error prompt is generated to indicate that "at least one configuration condition needs to be binned", and the initialization process is terminated; (b) If there are configuration conditions that are binned and configuration conditions that are not binned, the range of each bin of the binned configuration condition is mapped to the corresponding dimension, and the target value of the unbinned configuration condition is assigned to the range lower limit and the range upper limit of another dimension to form an equivalent interval, and a set of binning records containing interval and equivalent combinations is generated; (c) If all configuration conditions are binned, the interval of each configuration condition is assigned to the corresponding dimension, and the Cartesian product combination of all bins is generated to form a complete two-dimensional binning matrix. For example, the interval of each bin of the first configuration condition is assigned to the first dimension, the interval of each bin of the second configuration condition is assigned to the second dimension, and the Cartesian product combination of all bins is generated to form a complete two-dimensional binning matrix.
[0021] Step 3: After the initialization configuration process is completed, the generated binning structure is output to the configuration interface and displayed for subsequent modules.
[0022] The present disclosure realizes the automatic construction of the binning structure through the cooperative mechanism of state identification, structure mapping, error checking and interface dynamic control, and significantly improves the data processing capability and user operation efficiency of enterprise-level application systems in complex rule configuration scenarios.
[0023] Embodiment 2 An initialization method of a multi-dimensional configuration condition grading structure is provided in an embodiment of the present disclosure. After receiving a policy grading structure initialization request initiated by a user through an enterprise resource planning (ERP) platform, the two configuration conditions selected by the user and their corresponding attribute data are automatically obtained, and then a multi-dimensional initialization mode is entered. When two configuration conditions based on statistical dimensions are supported to be selected, the first configuration condition is configured as an "already graded" state, and its attribute data contains multiple continuous numerical intervals, each interval having a clear lower range limit and an upper range limit; the second configuration condition is configured as an "ungraded" state, and its attribute data only contains a target value. Based on the initialization method of the multi-dimensional configuration condition grading structure, the following automatic processing procedures are performed: (1) The configuration condition attributes of the two obtained conditions are parsed to identify their grading state combination types. After judgment, the first configuration condition is "already graded" and the second configuration condition is "ungraded", based on which the initialization logic of the "single grading-single target" combination mode is determined, and the corresponding processing branch is entered.
[0024] (2) The interval data of the first configuration condition is read, and its lower range limit and upper range limit are sequentially assigned to the first dimension range field in the grading structure data model to generate multiple independent interval records. For the second configuration condition, its target value is extracted and written into the lower range limit field and the upper range limit field of the second dimension in the grading structure data model to form an equivalent interval record with equal upper and lower limits.
[0025] (3) Each interval record of the first configuration condition is combined with the equivalent interval of the second condition to generate a set of multi-dimensional grading structure records, and the structure is written into an intermediate data table of policy configuration. Each record contains the range field values of the two dimensions, which constitute the basic data unit for subsequent processing.
[0026] (4) After initialization, the generated grading structure is pushed to the front-end configuration interface for display. At the same time, according to the current configuration state, the visibility of the interface controls is dynamically adjusted to ensure that the user can continue parameter configuration based on the structured data.
[0027] In the entire processing process, the automatic parsing of the input state, the execution of the field mapping, the generation of the combined structure, and the control of the interface response are completed to build the grading structure in the whole link automatically, without the need for manual input or manual combination of intervals, effectively improving the configuration efficiency and data consistency. This embodiment embodies the technical capability of the present disclosure to intelligently initialize complex rule structures in enterprise-level application systems.
[0028] Embodiment 3 An initialization system of a multi-dimensional configuration condition grading structure is provided in an embodiment of the present disclosure, comprising: A starting module is configured to acquire a user instruction and start a rule configuration process. A rule configuration initialization module is configured to, after starting the rule configuration, select one or more configuration conditions based on statistical dimensions, divide initialization modes based on the configuration conditions, identify the grading states of each condition configuration in each initialization mode, and execute corresponding structured mapping and interface response processes according to the state combinations to generate a multi-dimensional grading structure. The specific content of executing the corresponding structured mapping and interface response processes according to the state combinations includes: when only one graded condition is configured, mapping the range of each grade of the condition to the corresponding dimension and dynamically hiding the input controls of unused dimensions; when the configuration condition is not graded, extracting the target value set for the condition as the matching value of the condition; when multiple conditions are configured, if none of the conditions is graded, returning a verification error; if there are graded conditions and ungraded conditions, mapping the interval of the graded condition and the target value of the ungraded condition to a combined structure; if all conditions are graded, generating a Cartesian product matrix of the range of each grade.
[0029] As an embodiment, the initialization system of the multi-dimensional configuration condition grading structure of the present disclosure specifically executes an initialization method of a multi-dimensional configuration condition grading structure, which specifically includes the following processes: Step 1: Acquire a user instruction and start a rule configuration process. Specifically, the user inputs a starting rule configuration process instruction using a control interface, and the system starts the rule configuration process after acquiring the starting rule configuration process instruction.
[0030] Step 2: After starting the rule configuration, select one or more configuration conditions based on statistical dimensions, divide initialization modes based on the configuration conditions, identify the grading states of each condition configuration in each initialization mode, and execute corresponding structured mapping and interface response processes according to the state combinations to generate a multi-dimensional grading structure. Specifically, after starting the rule configuration process, one or more configuration conditions based on statistical dimensions can be selected. If only one configuration condition is selected, a single-dimensional initialization mode is entered. If two configuration conditions are selected, a multi-dimensional initialization mode is entered. After receiving a rule configuration request, the mode and grading state of each condition configuration are identified, and corresponding structured mapping and interface response processes are executed according to the state combinations. Each configuration condition can be configured to be in a “graded” or “ungraded” state. After receiving a configuration request, the following processing processes are executed: (1) If only one configuration condition is selected, the system enters a single-dimension initialization mode: when the configuration condition is "already binned", the lower and upper limits of the range of each bin are mapped to the first dimension field in the binning structure, and the display controls of the second dimension are dynamically hidden in the user interface; when the configuration condition is "not binned", the system extracts the target value set by it and hides all binning display controls of the first and second dimensions, indicating that the condition does not need to be binned.
[0031] (2) If multiple configuration conditions are selected, the system enters a multi-dimension initialization mode, and performs binning structure generation according to the following setting rules: (a) If none of the multiple configuration conditions is binned, an error prompt is generated to indicate that "at least one configuration condition needs to be binned", and the initialization process is terminated; (b) If there are configuration conditions that have been binned and configuration conditions that have not been binned, the range of each bin of the binned configuration condition is mapped to the corresponding dimension, and the target value of the non-binned configuration condition is assigned to the lower and upper limits of the range of another dimension, forming an equivalent interval, and a set of binning records containing interval and equivalent combinations is generated; (c) If all configuration conditions have been binned, the interval of each bin of each configuration condition is assigned to the corresponding dimension, and the Cartesian product combination of all bins is generated to form a complete two-dimensional binning matrix. For example, the interval of each bin of the first configuration condition is assigned to the first dimension, the interval of each bin of the second configuration condition is assigned to the second dimension, and the Cartesian product combination of all bins is generated to form a complete two-dimensional binning matrix.
[0032] Step 3: After the initialization configuration process is completed, the generated binning structure is output to the configuration interface and displayed for subsequent modules to use.
[0033] The present disclosure realizes the automatic construction of the binning structure through the cooperative mechanism of state recognition, structure mapping, error checking and interface dynamic control, and significantly improves the data processing capability and user operation efficiency of enterprise-level application systems in complex rule configuration scenarios.
[0034] Embodiment 4 In an embodiment of the present disclosure, an electronic device is provided, comprising a processor, a memory and a computer program; wherein the processor is connected with the memory, and the computer program is stored in the memory; when the electronic device is running, the processor executes the computer program stored in the memory, so that the electronic device executes the initialization method of a multi-dimension configuration condition binning structure as described in embodiment 1, specifically as follows: Step 1: Obtain user instructions to start the rule configuration process; Specifically, the user inputs a start rule configuration process instruction using a control interface, and the system starts the rule configuration process after obtaining the start rule configuration process instruction.
[0035] Step 2: After starting the rule configuration, one or more configuration conditions based on statistical dimensions are selected, the initialization mode is divided based on the configuration conditions, in each initialization mode, the state of each condition configuration is identified, and the corresponding structured mapping and interface response process is executed according to the state combination to generate a multi-dimensional grading structure. Specifically, after starting the rule configuration process, one or more configuration conditions based on statistical dimensions are supported, if only one configuration condition is selected, a single-dimensional initialization mode is entered, if two configuration conditions are selected, a multi-dimensional initialization mode is entered, after receiving a rule configuration request, the mode and grading state of each condition configuration are identified, and the corresponding structured mapping and interface response process is executed according to the state combination. Each configuration condition can be configured as "graded" or "ungraded" state. After receiving the configuration request, the following processing process is executed: (1) If only one configuration condition is selected, the system enters a single-dimensional initialization mode: when the configuration condition is "graded", the range lower limit and range upper limit of each bin of the configuration condition are mapped to the first dimension field in the grading structure, and the display control of the second dimension is dynamically hidden in the user interface; when the configuration condition is "ungraded", the system extracts the target value set for it, and hides all bin display controls of the first dimension and the second dimension, indicating that the condition does not need to be configured.
[0036] (2) If multiple configuration conditions are selected, the system enters a multi-dimensional initialization mode, and generates a grading structure according to the following setting rules: (a) If none of the configuration conditions is graded, an error prompt is generated to indicate that "at least one configuration condition needs to be graded", and the initialization process is terminated; (b) If there are configuration conditions that have been graded and configuration conditions that have not been graded, the range of each bin of the graded configuration condition is mapped to the corresponding dimension, and the target value of the ungraded configuration condition is assigned to the range lower limit and range upper limit of another dimension to form an equivalent interval, and a set of grading records containing interval and equivalent combinations is generated; (c) If all configuration conditions are graded, the interval of each configuration condition is assigned to the corresponding dimension, and the Cartesian product combination of all bins is generated to form a complete two-dimensional grading matrix. For example, the interval of each bin of the first configuration condition is assigned to the first dimension, the interval of each bin of the second configuration condition is assigned to the second dimension, and the Cartesian product combination of all bins is generated to form a complete two-dimensional grading matrix.
[0037] Step 3: After the initialization configuration process is completed, the generated grading structure is output to the configuration interface and displayed for subsequent modules to use.
[0038] The present disclosure realizes automatic construction of the grading structure through the cooperative mechanism of state recognition, structure mapping, error checking and interface dynamic control, and significantly improves the data processing capability and user operation efficiency of enterprise-level application systems in complex rule configuration scenarios.
[0039] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to produce a machine, so that the instructions executed by the computer or other programmable data processing devices produce a device that implements the functions specified in the flowcharts and / or block diagrams. Figure 1 one flow or multiple flows and / or blocks Figure 1 an apparatus that carries out the functions specified in one block or multiple blocks.
[0040] These computer program instructions can also be loaded onto a computer or other programmable data processing device to cause a series of operation steps to be performed on the computer or other programmable data processing device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable data processing device provide a process for implementing the functions specified in the flowcharts and / or block diagrams. Figure 1 one flow or multiple flows and / or blocks Figure 1 a step that carries out the functions specified in one block or multiple blocks.
[0041] Although the specific embodiments of the present disclosure are described above with reference to the accompanying drawings, the present disclosure is not limited to the above description, and various modifications or changes can be made by those skilled in the art without departing from the technical solutions of the present disclosure. Such modifications or changes should also be considered within the scope of the present disclosure.
Claims
1. A method for initializing a multi-dimensional configuration conditional binning structure, characterized in that: The method comprises the following steps: Obtaining user instructions to start the rule configuration process; After starting the rule configuration, one or more configuration conditions based on statistical dimensions are selected, and the initialization mode is divided based on the configuration conditions. In each initialization mode, the state of each condition configuration is identified, and the corresponding structured mapping and interface response process is executed according to the state combination to generate a multi-dimensional grading structure. The specific content of executing the corresponding structured mapping and interface response process according to the state combination includes: when only one graded condition is configured, the range of each grade is mapped to the corresponding dimension, and the input control of the unused dimension is dynamically hidden; when the configuration condition is not graded, the target value set for it is extracted as the matching value of the condition; when multiple conditions are configured, if none of the multiple conditions is graded, an error is returned; if there are graded conditions and ungraded conditions, the interval of the graded condition and the target value of the ungraded condition are mapped into a combined structure; if all conditions are graded, a Cartesian product matrix of each grade range is generated.
2. The method of Claim 1, wherein, When obtaining user instructions to start the rule configuration process, one or two configuration conditions based on statistical dimensions are selected. If only one configuration condition is selected, a single-dimensional initialization mode is entered. If two configuration conditions are selected, a multi-dimensional initialization mode is entered. The mode and grading state of each condition configuration are identified after receiving the rule configuration request, and the corresponding structured mapping and interface response process is executed according to the state combination.
3. The method of Claim 2, wherein, If only one configuration condition is selected, a single-dimensional initialization mode is entered. When it is identified that the configuration condition is graded, the lower limit and upper limit of the range of each grade are mapped to the first dimension field in the grading structure, and the display control of the second dimension is dynamically hidden in the user interface. When it is identified that the configuration condition is not graded, the target value set for it is extracted, and all grading display controls of the first dimension and the second dimension are hidden, indicating that the configuration condition does not need to be graded.
4. The method of Claim 2, wherein, If two configuration conditions are selected and divided into a first configuration condition and a second configuration condition, a multi-dimensional initialization mode is entered, and the grading structure is generated according to the set rules, including: if both configuration conditions are not graded, an error prompt is generated to indicate that "at least one condition needs to be graded", and the initialization process is terminated.
5. The method of Claim 4, wherein, If one of the configuration conditions is graded and the other is not, the range of each grade of the graded configuration condition is mapped to the corresponding dimension, and the target value of the ungraded configuration condition is assigned to the lower limit and upper limit of the range of the other dimension to form an equivalent interval, and a set of grading records containing interval and equivalent combination is generated.
6. The method of Claim 4, wherein, If both configuration conditions are graded, the interval of each grade of the first configuration condition is assigned to the first dimension, and the interval of each grade of the second configuration condition is assigned to the second dimension, and a Cartesian product combination of all grades is generated to form a complete two-dimensional grading matrix.
7. The method of Claim 5, wherein, The first configuration condition is configured as a graded state, and its attribute data includes multiple continuous numerical intervals, each interval has a clear lower limit and upper limit; The second configuration condition is configured as an ungraded state, and its attribute data only includes a target value.
8. The method of Claim 6, wherein the initialization of the multi-dimensional configuration condition profile structure is characterized by, All the generated Cartesian products of the gears are combined to form a complete two-dimensional grading matrix, after initialization, the generated grading matrix structure is output to the configuration interface for display, and the visibility of the interface controls is dynamically adjusted according to the current configuration interface state, and the structured data can be used to continue parameter configuration.
9. An initialization system for a multi-dimensional configuration conditional binning structure, characterized in that: Comprise: The starting module is used to obtain user instructions and start the rule configuration process; The rule configuration initialization module is used to select one or more configuration conditions based on statistical dimensions after the rule configuration is started, divide the initialization mode based on the configuration conditions, identify the grading state of each condition configuration under each initialization mode, and execute the corresponding structured mapping and interface response process according to the state combination to generate a multi-dimensional grading structure; Wherein, the specific content of executing the corresponding structured mapping and interface response process according to the state combination includes: when only one graded condition is configured, the range of each gear is mapped to the corresponding dimension, and the input controls of the unused dimensions are dynamically hidden; when the configuration condition is not graded, the target value set is extracted as the matching value of the condition; when multiple conditions are configured, if multiple conditions are not graded, return to check error; if there are graded conditions and ungraded conditions, map the interval of the graded condition and the target value of the ungraded condition to a combined structure; if the conditions are all graded, generate a Cartesian product matrix of each gear range.
10. An electronic device, comprising: Comprise: A processor, a memory and a computer program; wherein the processor is connected with the memory, and the computer program is stored in the memory; when the electronic device is running, the processor executes the computer program stored in the memory, so that the electronic device executes the initialization method of the multi-dimensional configuration condition grading structure as claimed in any one of claims 1-8.
Citation Information
Patent Citations
Visual configuration method and device for complex condition rules
CN112395268A
Multi-dimensional data calculation method and related equipment
CN116954858A
Data processing method and device, computer equipment and storage medium
CN118227833A
Condition configuration method and device
CN119248402A
Dynamic order making method and device based on multiple rounds of dialogues and electronic equipment
CN120181054A