Data processing method, system, equipment and medium
By detecting the pending input and executing the subrules in the target rule set, and using configuration scripts to automatically make decisions, the problem of inefficient manual processing of financial business data is solved, and automated risk decision-making and flexible risk management of financial business data is realized.
Patent Information
- Application Number
- CN202411667411.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-21
- Publication Date
- 2024-12-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology is difficult to realize the automated risk decision-making of financial business data, and manual processing leads to inefficiency and inability to adapt to the growing financial business data and diversified risk types.
Provide a data processing method, by detecting pending inputs, finding a matching target rule set, and executing target subrules to generate decision processing results, using pre-stored target configuration scripts and target indicator values to automatically make decision processing, and supports multiple Data type and operator extension.
It realizes automated risk decision-making on financial business data, improves efficiency and scope of application, can flexibly allocate and manage risk rule sets, adapt to changes in financial business scenarios, and reduces the cost of manual decision-making.
Smart Images

Figure CN119168768A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a data processing method, system, device and medium. Background Art
[0002] With the rapid development of Internet finance, the scale of financial business has also increased significantly. Along with the enrichment of product channels of credit business, the funding institutions behind it are also dynamically adjusting, so credit risks have begun to develop in a diversified manner.
[0003] The existing technology performs manual risk decision-making on the generated financial business data. However, in the face of the ever-increasing amount of financial business data, it is no longer practical to perform manual data processing to achieve risk decision-making.
[0004] Therefore, there is an urgent need for a data processing method to automate risk decision-making for financial business data. Summary of the invention
[0005] Based on this, it is necessary to provide a data processing method, system, device and medium to address the above technical issues.
[0006] In a first aspect, the present application provides a data processing method, the method comprising: In response to detecting a pending document, searching for a target rule set matching the pending document; Execute each target sub-rule configured in the target rule set to perform decision processing and obtain a decision processing result set, wherein the decision processing result set includes multiple decision processing results, and the decision processing includes: Obtain a pre-stored target configuration script that matches the target sub-rule; Obtain a target indicator value according to the pending item, bind the target indicator value to the target configuration script, and execute the target configuration script to generate a decision processing result.
[0007] In some embodiments, the method includes a method for generating the target configuration script: Obtain a first configuration script that matches the configuration condition in the target sub-rule; Performing a security check on the first configuration script; After the security check is passed, the data type of the input data in the first configuration script is obtained, and the first configuration script is adjusted according to the data type and the preset rule to generate a second configuration script; A target configuration script is generated according to the second configuration script and a preset logical calculation formula.
[0008] In some embodiments, performing security verification on the first configuration script includes: Parsing the data type corresponding to the input data in the first configuration script; Verify whether the data type and the corresponding operator in the first configuration script are consistent; Detecting whether the right value input of the operator of the first configuration script is legal; If the data type is consistent with the corresponding operator and the right value input of the operator is legal, the first configuration condition passes the security check.
[0009] In some embodiments, adjusting the first configuration script according to the data type and a preset rule to generate a second configuration script includes: According to a script programming language specification, converting operators of the first configuration script to generate a transition configuration script; According to the data source of the input data, the data types of the left value and the right value of the operator of the transition configuration script are changed to generate a second configuration script.
[0010] In some embodiments, the method further comprises: Replace the digital identifier used to identify the configuration condition in the logical calculation formula with a number in a specified format; After the second configuration script is generated, the second configuration script matching the configuration condition is used in the logic calculation formula to replace the number in the specified format matching the configuration condition to update the logic calculation formula; The target configuration script is generated according to the updated logical calculation formula.
[0011] In some embodiments, in response to detecting a pending file, searching for a target rule set matching the pending file includes: Determine the target decision flow according to the customer information and business information contained in the incoming document to be processed; A rule set on the target decision flow is searched and the searched rule set is defined as a target rule set.
[0012] In some embodiments, the method further comprises: In response to finding the target rule set, initializing a call record; In response to performing a basic check on the target rule set, completing the call record; If the target rule set fails the basic check, then the execution of the target sub-rule in the target rule set is stopped; If the target rule set passes the basic check, the target sub-rule in the target rule set is executed, and the executed target sub-rule is recorded and stored in the call record.
[0013] In a second aspect, the present application provides a data processing system, the system comprising: A rule search module, configured to search for a target rule set matching the file to be processed in response to detecting the file to be processed; A decision processing module is used to execute each target sub-rule configured in the target rule set to perform decision processing and obtain a decision processing result set, wherein the decision processing result set includes multiple decision processing results, and the decision processing includes: Obtain a pre-stored target configuration script that matches the target sub-rule; Obtain a target indicator value according to the pending item, bind the target indicator value to the target configuration script, and execute the target configuration script to generate a decision processing result.
[0014] In a third aspect, the present application provides an electronic device, the electronic device comprising: one or more processors; and a memory associated with one or more processors, the memory being used to store program instructions, which, when read and executed by the one or more processors, perform the following operations: In response to detecting a pending document, searching for a target rule set matching the pending document; Execute each target sub-rule configured in the target rule set to perform decision processing and obtain a decision processing result set, wherein the decision processing result set includes multiple decision processing results, and the decision processing includes: Obtain a pre-stored target configuration script that matches the target sub-rule; Obtain a target indicator value according to the pending item, bind the target indicator value to the target configuration script, and execute the target configuration script to generate a decision processing result.
[0015] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program enables a computer to perform the following operations: In response to detecting a pending document, searching for a target rule set matching the pending document; Execute each target sub-rule configured in the target rule set to perform decision processing and obtain a decision processing result set, wherein the decision processing result set includes multiple decision processing results, and the decision processing includes: Obtain a pre-stored target configuration script that matches the target sub-rule; Obtain a target indicator value according to the pending item, bind the target indicator value to the target configuration script, and execute the target configuration script to generate a decision processing result.
[0016] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the steps of the following method when executed by a processor: In response to detecting a pending document, searching for a target rule set matching the pending document; Execute each target sub-rule configured in the target rule set to perform decision processing and obtain a decision processing result set, wherein the decision processing result set includes multiple decision processing results, and the decision processing includes: Obtain a pre-stored target configuration script that matches the target sub-rule; Obtain a target indicator value according to the pending item, bind the target indicator value to the target configuration script, and execute the target configuration script to generate a decision processing result.
[0017] The beneficial effects achieved by this application are: The present application provides a data processing method, including, in response to detecting a pending application, searching for a target rule set that matches the pending application; executing each target sub-rule configured in the target rule set to perform decision processing and obtain a decision processing result set, wherein the decision processing result set includes multiple decision processing results, and the decision processing includes: obtaining a pre-stored target configuration script that matches the target sub-rule; obtaining a target indicator value according to the pending application, binding the target indicator value to the target configuration script and executing the target configuration script to generate a decision processing result. The data processing method provided in the present application utilizes a target configuration script to realize automated risk decision-making for applications, and the configuration conditions corresponding to the target configuration script can be flexibly configured, and supports configuration of multiple data types and operator extensions, and has a wide range of applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary background technicians in this field, other drawings can be obtained based on these drawings without creative work, among which: Figure 1 It is a schematic diagram of a data processing method provided in an embodiment of the present application; Figure 2 It is a decision-making processing schematic diagram provided in an embodiment of the present application; Figure 3 It is a data processing system architecture diagram provided by an embodiment of the present application; Figure 4 This is a diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary background technicians in this field without making creative work are within the scope of protection of this application.
[0020] It should be understood that in the description of the present application, unless the context clearly requires otherwise, words such as "include", "comprises", and the like in the entire specification and claims should be interpreted as inclusive rather than exclusive or exhaustive; that is, the meaning of "including but not limited to".
[0021] It should also be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of this application, unless otherwise specified, "plurality" means two or more.
[0022] It should be noted that the terms "S1", "S2", etc. are only used for the purpose of describing the steps, and do not specifically refer to the order or sequence, nor are they used to limit the present application. They are only for the convenience of describing the method of the present application, and cannot be understood as indicating the order of the steps. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary background technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present application.
[0023] As mentioned in the background technology, with the continuous enrichment of product channels for credit business, the funding institutions behind it are also constantly adjusting dynamically, which has led to diversified risks, including credit risk, market risk, operational risk, fraud risk, etc. Financial institutions need effective methods to identify and manage these risks. In addition, increasingly stringent laws, regulations and regulatory requirements also require financial institutions to implement effective risk control measures. Therefore, in order to improve risk management capabilities, meet regulatory requirements, enhance market competitiveness, reduce costs, risk warnings, and improve customer service quality, financial institutions need to design risk rule sets to better control risks. However, with the substantial growth in the scale of credit business on financial technology platforms, manual risk decision-making has become impractical.
[0024] The present application provides an automated data processing method to achieve automated risk decision-making using the rules contained in the rule set. It is understandable that the data processing method disclosed in the present application can be applied to the financial credit field to make risk decisions; it can also be applied to other specific fields by adaptively adjusting the rule set related to the risk decision in the field.
[0025] Embodiment 1
[0026] The present application embodiment provides a data processing method, which is applied in the field of financial lending, such as Figure 1 As shown, the method disclosed in the embodiment of the present application is used to implement risk decision making for applications submitted by users for financial services, including the following contents: S100: In response to detecting a pending document, searching for a target rule set that matches the pending document.
[0027] In a specific embodiment, the above-mentioned search for a target rule set that matches the pending document includes: determining a target decision flow according to the customer information and business information contained in the pending document; searching for a rule set on the target decision flow and defining the found rule set as a target rule set. It can be understood that the target rule set includes multiple target sub-rules, and the target sub-rules are configured with multiple configuration conditions and a calculation logic formula corresponding to the target sub-rule, each configuration condition corresponds to a first configuration script, and further the calculation logic formula and the first configuration script can be used to determine whether the target sub-rule is hit.
[0028] Specifically, the diversion characteristics contained in the above customer information include but are not limited to customer type and quality classification, among which quality classification is the classification of loan quality based on the user's actual repayment ability, and loans are divided into five categories according to the degree of risk: normal, special mention, substandard, doubtful, and loss; the diversion characteristics contained in the above business information include but are not limited to application method, product type and credit subject, among which the credit subject refers to the credit target, that is, the organization or individual that obtains a loan from the lender.
[0029] In a specific embodiment, determining the target decision flow based on the customer information and business information contained in the pending application specifically includes diverting the pending application according to manually defined diversion rules. Among them, the classification rules can be rules directly set by background technicians in this field based on experience and scenarios for the acquired customer information and business information; or they can be scored based on experience for the classification features contained in each customer information and business information, and weight values are set to calculate the score of the pending application, and further divert the pending application according to the pre-divided score line and the score of each pending application. It can be understood that the present application does not restrict specific diversion rules.
[0030] S200, executing each target sub-rule configured in the target rule set to perform decision processing and obtain a decision processing result set, wherein the decision processing result set includes multiple decision processing results.
[0031] The above decision-making process includes: S210: Obtain a pre-stored target configuration script that matches the target sub-rule.
[0032] It is understandable that the target configuration script is pre-generated and stored on a computer, or stored on a storage medium, and is read when a risk decision is required; specifically, the method for generating the target configuration script includes: S211, obtaining a first configuration script that matches the configuration condition in the target sub-rule; and performing a security check on the first configuration script. In a specific embodiment, the security check on the first configuration script includes: Parse the data type corresponding to the input data in the first configuration script; verify whether the data type in the first configuration script is consistent with the corresponding operator; detect whether the right value input of the operator of the first configuration script is legal; if the data type is consistent with the corresponding operator and the right value input of the operator is legal, the first logical expression passes the security check. Among them, the data type of the input data in the configuration condition can be parsed by setting a type parser, and the present application does not restrict the specific type verification parser; and by setting a type verifier to verify whether the data type matches the operator, it can be implemented through programming, and specifically the Verify method can be used. The present application does not restrict the specific type verifier setting; among them, the above-mentioned input legality verification is a conventional technical means in the field, and the present application will not repeat it here. The present application further improves the accuracy and security of the configuration conditions during configuration by setting multi-dimensional security verification, and avoids the problem of risk decision-making errors caused by conditional configuration problems in the later stage.
[0033] It can be understood that the data types of input data in the above configuration script include values, strings, lists, mappings, Booleans, etc., and the operators include greater than, less than, equal to, greater than or equal to, less than or equal to, not equal to, contain, list contains, in a list, in an interval, contains a list, contained in, contains a value, contains a string, contains any list, starts with a character, ends with a character, is contained, is not contained, etc.; different data types match different operators. To illustrate with a simple example, if the configuration condition is: "The user's age is greater than or equal to 25", it can be simply expressed as age>=25 after being converted into a script, where age is the left value and 25 is the right value. Both the left value and the right value can be entered manually or according to parameters.
[0034] It is worth noting that the configuration conditions are displayed in a visual way to the back-end technicians who make risk decisions, and the back-end technicians configure them. The input sources of the left and right values can be customized. Therefore, on this basis, the back-end technicians configure the conditions according to the actual business needs, realize the dynamic adjustment of the conditions, and further realize the rapid adjustment of the target sub-rules, so that the data processing method can be applied to risk decisions in any financial business scenario, so as to adapt to changes in the risk environment.
[0035] In some implementation scenarios, the present application also proposes to manage the configured rule sets, including rule set creation management, version creation management, cloning, recycling, restoration, version activation, version switching, sub-rule management, verification and other functions, which simplifies the creation, testing and maintenance process of risk control strategies. This enables risk control experts to respond to the ever-changing market and risk environment more efficiently. The rule set disclosed in this application can be hot-deployed, update rules without restarting, provide draft versions, grayscale testing, verification testing functions, update iterative strategies without affecting the current rule execution, adapt to changes in risk patterns and the evolution of business needs to ensure that it works as expected and achieves risk control goals.
[0036] S212: After the security check is passed, the data type of the input data in the first configuration script is obtained, and the first configuration script is adjusted according to the data type and the preset rule to generate the second configuration script. The above-mentioned adjusting the first configuration script according to the data type and the preset rule to generate the second configuration script includes: According to the script programming language specification, the operators of the first configuration script corresponding to the configuration condition are converted to generate a transition logic expression, that is, the operators of the first configuration script are converted into a language format that can be recognized by the computer, such as the list A containing B is converted to "A.contains(B)", and the value A is greater than or equal to B is converted to A>=B, ensuring that the converted script can be parsed and executed by the script programming language, wherein the script programming language is preferably Groovy, or it can be Python, etc., and this application does not limit the specific programming. This application can expand the data type, and it only needs to provide the operation method in the interface of the configuration condition.
[0037] According to the data source of the input data, the data types of the left and right values of the operators of the transition configuration script are changed to generate the second configuration script. That is, after converting the operators in the first configuration script, the left and right values are replaced to generate the second configuration script. The replacement rule is: if the source is a saved parameter, it is converted to PARAM_parameter encoding; if the source is manually input, it is directly replaced with the input value. To illustrate with a simple example: "A.contains(B)" is converted to "PARAM_A.contains(PARAM_B)", where A and B are both parameters.
[0038] It is understandable that in order to avoid errors caused by conflicts between numbers in the logical calculation formula and the numerical values manually input by the user during script generation, the embodiment of the present application also proposes to replace the digital identifier used to identify the configuration condition in the logical calculation formula with a specified format number; after generating the second configuration script, the second configuration script matching the configuration condition is used in the logical calculation formula to replace the specified format number matching the configuration condition to update the logical calculation formula; generate the target configuration script according to the updated logical calculation formula. Among them, the configuration conditions in the target sub-rule are distinguished and located using digital identifiers. Take a simple example to illustrate, such as the target sub-rule contains configuration conditions 1, configuration conditions 2 and configuration conditions 3, the background technician can define the logical calculation formula as 1&&2&&3, or 1&&2||3, etc. Only when the logical calculation formula is true can the target sub-rule be identified as a hit. It is understandable that the background technician can set different decision processing results for the results of different logical calculation formulas, such as admission, rejection, transfer to manual and other decisions and rating and disposal operations. After obtaining the decision processing result, the corresponding operation is performed according to the decision processing result.
[0039] S220, obtaining a target indicator value according to the pending document, binding the target indicator value to a target configuration script, and executing the target configuration script to generate a decision processing result.
[0040] In a specific embodiment, Figure 2 As shown, in order to facilitate the background technicians to find the condition configuration problems in time, the present application also proposes: in response to finding the target rule set, initialize the call record. In response to the basic verification of the target rule set, improve the call record, including version information, sub-rules, actions, parameters, and time consumption. Among them, the basic verification refers to the verification of the basic configuration information of the target rule set, including whether the target rule set exists, whether the target rule set is activated, whether the target rule set is within the validity period, whether the target rule set is configured with sub-rules, etc. The specific content is set by the background technicians at the beginning of the rule set configuration; only when the target rule set exists, is activated, is within the validity period, and is configured with sub-rules, it is determined that the target rule set passes the above basic verification. If the target rule set fails to pass the basic verification, the target sub-rule in the target rule set is stopped. Specifically, if the basic verification is not passed, the subsequent process is stopped immediately after the target rule set is found and the abnormal alarm is fed back. At this time, the background technicians can determine that the target rule set configuration is abnormal according to the call record and repair it in time.
[0041] If the target rule set passes the basic verification, the target sub-rule in the target rule set is executed (that is, after binding the target configuration script that matches the target sub-rule according to the indicator value determined by the to-be-processed file, the target configuration script is executed), and the executed target sub-rule is recorded in the call record and stored, and can also be thrown to a designated location for background technicians to obtain. Specifically, before executing the target sub-rule in the target rule set, it is necessary to verify the sub-rule validity period and initialize the sub-rule call record, that is, it is also necessary to verify the basic configuration information of the target sub-rule, which is similar to the basic verification of the target rule set. It is no longer expanded. After the basic verification passes, the target sub-rule is executed. The basic configuration information of the target sub-rule is configured together when configuring the conditions before generating the target configuration script; if the execution result of the currently executed target configuration script is True, that is, the target sub-rule is hit, the configured decision processing result that matches the result of the logical expression is executed; if the execution result of the currently executed target configuration script is False, that is, the target sub-rule is not hit, and the next sub-rule is executed at this time. After executing all the target sub-rules in the target rule set, the decision processing results corresponding to each target sub-rule are collected to generate a decision processing result set.
[0042] Embodiment 2
[0043] Corresponding to the above-mentioned embodiment 1, the present application also provides a data processing system according to an embodiment, such as Figure 3 The architecture diagram shown includes: A rule search module 310 is used to search for a target rule set matching the file to be processed in response to detecting the file to be processed; The decision processing module 320 is used to execute each target sub-rule configured in the target rule set to perform decision processing and obtain a decision processing result set, wherein the decision processing result set includes multiple decision processing results. The decision processing includes: Obtain a pre-stored target configuration script that matches the target sub-rule; Obtain a target indicator value according to the pending item, bind the target indicator value to the target configuration script, and execute the target configuration script to generate a decision processing result.
[0044] In some implementation scenarios, the decision processing module 320 also includes a script preprocessing module 321 (not shown in the figure), which is used to obtain a first configuration script that matches the configuration conditions in the target sub-rule; perform a security check on the first configuration script; after the security check passes, obtain the data type of the input data in the first configuration script, and adjust the first configuration script according to the data type and preset rules to generate a second configuration script; generate a target configuration script according to the second configuration script and a preset logical calculation formula.
[0045] In some implementation scenarios, the script preprocessing module 321 is also used to perform security verification on the first configuration script, including: parsing the data type corresponding to the input data in the first configuration script; verifying whether the data type in the first configuration script is consistent with the corresponding operator; detecting whether the right value input of the operator of the first configuration script is legal; if the data type is consistent with the corresponding operator and the right value input of the operator is legal, the first configuration condition passes the security verification.
[0046] In some implementation scenarios, the script preprocessing module 321 is also used to convert the operators of the first configuration script to generate a transition configuration script according to the script programming language specification; and change the data types of the left value and the right value of the operator of the transition configuration script according to the data source of the input data to generate a second configuration script.
[0047] In some implementation scenarios, the script preprocessing module 321 is also used to replace the digital identifier used to identify the configuration condition in the logical calculation formula with a specified format number; after generating the second configuration script, use the second configuration script that matches the configuration condition in the logical calculation formula to replace the specified format number that matches the configuration condition to update the logical calculation formula; generate the target configuration script according to the updated logical calculation formula.
[0048] In some implementation scenarios, the rule search module 310 is further used to determine a target decision flow based on the customer information and business information contained in the to-be-processed document; search for a rule set on the target decision flow and define the found rule set as a target rule set.
[0049] In some implementation scenarios, the system also includes a record processing module 330 (not shown in the figure), which is used to initialize the call record in response to finding the target rule set; in response to performing a basic check on the target rule set, improve the call record; if the target rule set fails the basic check, stop executing the target sub-rule in the target rule set; if the target rule set passes the basic check, execute the target sub-rule in the target rule set, and record and store the executed target sub-rule in the call record.
[0050] Embodiment 3
[0051] Corresponding to all the above embodiments, an embodiment of the present application provides an electronic device, including: one or more processors; and a memory associated with the one or more processors, the memory is used to store program instructions, and when the program instructions are read and executed by the one or more processors, the following operations are performed: In response to detecting a pending document, searching for a target rule set matching the pending document; Execute each target sub-rule configured in the target rule set to perform decision processing and obtain a decision processing result set, wherein the decision processing result set includes multiple decision processing results, and the decision processing includes: Obtain a pre-stored target configuration script that matches the target sub-rule; Obtain a target indicator value according to the pending item, bind the target indicator value to the target configuration script, and execute the target configuration script to generate a decision processing result.
[0052] in, Figure 4 The architecture of the electronic device is exemplarily shown, which may include a processor 410, a video display adapter 411, a disk drive 412, an input / output interface 413, a network interface 414, and a memory 420. The processor 410, the video display adapter 411, the disk drive 412, the input / output interface 413, the network interface 414, and the memory 420 may be communicatively connected via a bus 430.
[0053] Among them, the processor 510 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solution provided in this application.
[0054] The memory 420 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage devices, dynamic storage devices, etc. The memory 420 can store an operating system 421 for controlling the execution of the electronic device 400, and a basic input and output system (BIOS) 422 for controlling the low-level operations of the electronic device 400. In addition, a web browser 423, a data storage management system 424, and an icon font processing system 425, etc. can also be stored. The above-mentioned icon font processing system 425 can be an application program that specifically implements the operations of the aforementioned steps in the embodiment of the present application. In short, when the technical solution provided in the present application is implemented by software or firmware, the relevant program code is stored in the memory 420 and is called and executed by the processor 410.
[0055] The input / output interface 413 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0056] The network interface 414 is used to connect to a communication module (not shown) to achieve communication interaction between the device and other devices. The communication module can achieve communication through a wired method (such as USB, network cable, etc.) or a wireless method (such as mobile network, WIFI, Bluetooth, etc.).
[0057] The bus 430 comprises a pathway for transmitting information between the various components of the device (eg, the processor 410 , the video display adapter 411 , the disk drive 412 , the input / output interface 413 , the network interface 414 , and the memory 420 ).
[0058] In addition, the electronic device 400 can also obtain information on specific collection conditions from the virtual resource object collection condition information database for use in condition judgment, etc.
[0059] It should be noted that, although the above device only shows a processor 410, a video display adapter 411, a disk drive 412, an input / output interface 413, a network interface 414, a memory 420, a bus 430, etc., in the specific implementation process, the device may also include other components necessary for normal execution. In addition, it can be understood by background technicians in this field that the above device may also only include components necessary for implementing the solution of the present application, and does not necessarily include all the components shown in the figure.
[0060] Through the description of the above implementation methods, it can be known that the background technicians in this field can clearly understand that the present application can be implemented by means of software plus the necessary general hardware platform. Based on this understanding, the technical solution of the present application can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a cloud service end, or a network device, etc.) to execute the methods of each embodiment of the present application or some parts of the embodiments.
[0061] Embodiment 4
[0062] Corresponding to all the above embodiments, the embodiments of the present application further provide a computer-readable storage medium, characterized in that it stores a computer program, and the computer program enables a computer to perform the following operations: In response to detecting a pending document, searching for a target rule set matching the pending document; Execute each target sub-rule configured in the target rule set to perform decision processing and obtain a decision processing result set, wherein the decision processing result set includes multiple decision processing results, and the decision processing includes: Obtaining at least one pre-stored target configuration script that matches the target sub-rule; Obtain a target indicator value according to the pending item, bind the target indicator value to the target configuration script, and execute the target configuration script to generate a decision processing result.
[0063] Embodiment 5
[0064] Corresponding to all the above embodiments, the embodiments of the present application further provide a computer program product, which, when executed by a processor, implements the steps of the method described below: In response to detecting a pending document, searching for a target rule set matching the pending document; Execute each target sub-rule configured in the target rule set to perform decision processing and obtain a decision processing result set, wherein the decision processing result set includes multiple decision processing results, and the decision processing includes: Obtain a pre-stored target configuration script that matches the target sub-rule; Obtain a target indicator value according to the pending item, bind the target indicator value to the target configuration script, and execute the target configuration script to generate a decision processing result.
[0065] In some implementation scenarios, when the computer program is executed by a processor, the steps of the method described below are also implemented: Obtain a first configuration script that matches the configuration condition in the target sub-rule; Performing a security check on the first configuration script; After the security check is passed, the data type of the input data in the first configuration script is obtained, and the first configuration script is adjusted according to the data type and the preset rule to generate a second configuration script; A target configuration script is generated according to the second configuration script and a preset logical calculation formula.
[0066] In some implementation scenarios, when the computer program is executed by a processor, the steps of the method described below are also implemented: Parsing the data type corresponding to the input data in the first configuration script; Verify whether the data type and the corresponding operator in the first configuration script are consistent; Detecting whether the right value input of the operator of the first configuration script is legal; If the data type is consistent with the corresponding operator and the right value input of the operator is legal, the first configuration condition passes the security check.
[0067] In some implementation scenarios, when the computer program is executed by a processor, the steps of the method described below are also implemented: According to a script programming language specification, converting operators of the first configuration script to generate a transition configuration script; According to the data source of the input data, the data types of the left value and the right value of the operator of the transition configuration script are changed to generate a second configuration script.
[0068] In some implementation scenarios, when the computer program is executed by a processor, the steps of the method described below are also implemented: Replace the digital identifier used to identify the configuration condition in the logical calculation formula with a number in a specified format; After generating the second configuration script, replacing the specified format number that matches the configuration condition in the logic calculation formula with the second configuration script that matches the configuration condition to update the logic calculation formula; The target configuration script is generated according to the updated logical calculation formula.
[0069] In some implementation scenarios, when the computer program is executed by a processor, the steps of the method described below are also implemented: Determine the target decision flow according to the customer information and business information contained in the incoming document to be processed; A rule set on the target decision flow is searched and the searched rule set is defined as a target rule set.
[0070] In some implementation scenarios, when the computer program is executed by a processor, the steps of the method described below are also implemented: In response to finding the target rule set, initializing a call record; In response to performing a basic check on the target rule set, completing the call record; If the target rule set fails the basic check, then the execution of the target sub-rule in the target rule set is stopped; If the target rule set passes the basic check, the target sub-rule in the target rule set is executed, and the executed target sub-rule is recorded and stored in the call record.
[0071] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, in which the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary background technicians in this field can understand and implement it without paying creative labor.
[0072] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A data processing method, characterized in that: The method comprises: In response to detecting a pending document, searching for a target rule set matching the pending document; Execute each target sub-rule configured in the target rule set to perform decision processing and obtain a decision processing result set, wherein the decision processing result set includes multiple decision processing results, and the decision processing includes: Obtain a pre-stored target configuration script that matches the target sub-rule; Obtain a target indicator value according to the pending item, bind the target indicator value to the target configuration script, and execute the target configuration script to generate a decision processing result.
2. The method according to claim 1, characterized in that The method includes a method for generating the target configuration script: Obtain a first configuration script that matches the configuration condition in the target sub-rule; Performing a security check on the first configuration script; After the security check is passed, the data type of the input data in the first configuration script is obtained, and the first configuration script is adjusted according to the data type and the preset rule to generate a second configuration script; A target configuration script is generated according to the second configuration script and a preset logical calculation formula.
3. The method according to claim 2, characterized in that The performing security verification on the first configuration script includes: Parsing the data type corresponding to the input data in the first configuration script; Verify whether the data type and the corresponding operator in the first configuration script are consistent; Detecting whether the right value input of the operator of the first configuration script is legal; If the data type is consistent with the corresponding operator and the right value input of the operator is legal, the first configuration condition passes the security check.
4. The method according to claim 2, characterized in that: The step of adjusting the first configuration script according to the data type and a preset rule to generate a second configuration script includes: According to a script programming language specification, converting operators of the first configuration script to generate a transition configuration script; According to the data source of the input data, the data types of the left value and the right value of the operator of the transition configuration script are changed to generate a second configuration script.
5. The method according to claim 2, characterized in that: The method further comprises: Replace the digital identifier used to identify the configuration condition in the logical calculation formula with a number in a specified format; After the second configuration script is generated, the second configuration script matching the configuration condition is used in the logic calculation formula to replace the number in the specified format matching the configuration condition to update the logic calculation formula; The target configuration script is generated according to the updated logical calculation formula.
6. The method according to any one of claims 1 to 5, characterized in that In response to detecting a pending document, searching for a target rule set matching the pending document includes: Determine the target decision flow according to the customer information and business information contained in the incoming document to be processed; A rule set on the target decision flow is searched and the searched rule set is defined as a target rule set.
7. The method according to claim 6, characterized in that The method further comprises: In response to finding the target rule set, initializing a call record; In response to performing a basic check on the target rule set, completing the call record; If the target rule set fails the basic check, then stop executing the target sub-rule in the target rule set; If the target rule set passes the basic check, the target sub-rule in the target rule set is executed, and the executed target sub-rule is recorded and stored in the call record.
8. A data processing system, characterized in that: The system comprises: A rule search module, configured to search for a target rule set matching the file to be processed in response to detecting the file to be processed; A decision processing module is used to execute each target sub-rule configured in the target rule set to perform decision processing and obtain a decision processing result set, wherein the decision processing result set includes multiple decision processing results, and the decision processing includes: Obtain a pre-stored target configuration script that matches the target sub-rule; Obtain a target indicator value according to the pending item, bind the target indicator value to the target configuration script, and execute the target configuration script to generate a decision processing result.
9. An electronic device, characterized in that: The electronic device comprises: one or more processors; And a memory associated with the one or more processors, the memory is used to store program instructions, and when the program instructions are read and executed by the one or more processors, the method according to any one of claims 1-7 is executed.
10. A computer-readable storage medium, characterized in that: The computer program stores a computer program, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Data processing method and device, computer equipment and storage medium
CN111611056A
Visual configuration system based on factory digital manufacturing resources
CN112364088A
Service decision result generation method and device, equipment and storage medium
CN116302155A
Systems and methods for processing and recording audio with integrated script mode
US9904505B1
Method, apparatus and system for extracting webpage content
WO2015127882A1
