Method and device for generating auditing rule, equipment and medium
By obtaining and dividing scoring items in the audit rules configuration interface of asset management products and generating a scoring detailed list, the problem of the inability to temporarily adjust the audit rules in the existing technology is solved, flexible adjustment and accurate calculation of the scoring rules are achieved, and audits are improved Timeliness and accuracy of rules.
Patent Information
- Application Number
- CN202411019751.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-08
AI Technical Summary
In the management of existing asset management products, the audit rules cannot be temporarily modified or adjusted, resulting in the inability to respond quickly when timely adjustments are required.
By obtaining scoring items, their parent nodes and leaf nodes in the audit rule configuration interface, generating scoring detailed lists, and hierarchically divide them according to these tables, generating scoring rules, and associate managers at any time to generate scoring review rules, allowing users to use the interface Directly adjust the scoring items and weight values to achieve weighted sum of scoring results.
It realizes flexible adjustment and accurate calculation of audit rules, avoids the need for professionals to modify codes, and improves the timeliness and accuracy of audit rules.
Smart Images

Figure CN118916071A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, device, equipment and medium for generating audit rules. Background Art
[0002] Currently, the management of some asset management products requires corresponding managers to manage these asset management products, and qualified managers need to be scored for entry. The entry scoring requires the setting of corresponding manager review rules, which include various scoring items. After the scoring process is started, the corresponding reviewers will score the managers according to the scoring items in the review rules, and the final scoring result will be used as the score of the manager.
[0003] Currently, the review rules are written into the corresponding scoring process through code logic, making it impossible to temporarily modify or adjust the review rules. Summary of the invention
[0004] The embodiments of the present application provide a method, apparatus, device and medium for generating audit rules, which are used to solve the problem that the audit rules cannot be temporarily modified or adjusted.
[0005] In a first aspect, the present application provides a method for generating audit rules, the method comprising:
[0006] Get each scoring item configured in the audit rule configuration interface, as well as the parent node identifier and associated leaf node identifier of each scoring item;
[0007] Generate a score detail table corresponding to each score item based on the parent node and the associated leaf node to which each score item belongs, wherein the score detail table includes a detail table identifier, a parent node identifier, and a leaf node identifier;
[0008] The scoring items are hierarchically divided according to the parent node identifier and the leaf node identifier in the scoring details table to generate the scoring rules;
[0009] The scoring rule is associated with the selected manager to generate a scoring review rule, wherein the scoring review rule is used to score the manager.
[0010] Through this method, audit rules can be generated or adjusted in a timely manner in the audit rule configuration interface, so that there is no need for professionals to modify the code, thereby realizing the adjustment of the audit rules at any time.
[0011] In an optional embodiment, the step of dividing the scoring items into levels according to the parent node identifiers and the leaf node identifiers in the scoring details table to generate the scoring rules includes:
[0012] Obtaining a weight value configured for each scoring item, wherein the weight value represents the proportion of the scoring value of the scoring item in the total scoring value;
[0013] The scoring items including the weight values are hierarchically divided according to the parent node identifier and the leaf node identifier in the scoring details table to generate the scoring rules.
[0014] In an optional embodiment, generating a score detail table corresponding to each score item based on the parent node and the associated leaf node to which each score item belongs includes:
[0015] In the audit rule configuration interface, the hierarchical identifiers of each added scoring item are obtained, and the parent node and child node of each scoring item are determined according to the hierarchical identifiers;
[0016] Generate a scoring detail table corresponding to each scoring item, and add corresponding parent nodes and leaf nodes to the scoring detail table corresponding to each scoring item.
[0017] This method allows you to directly divide the scoring items into levels in the configuration interface.
[0018] In an optional embodiment, after generating the score detail tables corresponding to the respective score items, the method further includes:
[0019] The lowest level scoring items are sent to their corresponding scoring departments according to the scoring departments in the scoring details table;
[0020] Get the rating values of each rating department;
[0021] The final scoring result is obtained by weighted summing up the obtained scoring values and the corresponding weight values in the scoring details table.
[0022] This method can more accurately calculate the score value of each scoring item in combination with various scenarios.
[0023] In an optional embodiment, a weighted sum is performed based on the acquired score value and the corresponding weight value in the score detail table to obtain a final score result, including:
[0024] According to the hierarchical division of the scoring items, the weighted sum of the scoring items at the lowest level is used to obtain the scoring value of the upper level;
[0025] The weighted sum of the score values of the previous level is performed to obtain the final score result.
[0026] This method can more accurately calculate the score value of each scoring item in combination with various scenarios.
[0027] In an optional embodiment, according to the hierarchical division of the scoring items, the weighted sum of the scoring items at the bottom level is performed to obtain the scoring value of the upper level, including:
[0028] The scoring values of each scoring department corresponding to each scoring item are weighted and summed to obtain the scoring value corresponding to each scoring item;
[0029] According to the hierarchical division of the scoring items, the weighted sum of the scoring items at the lowest level is taken to obtain the scoring value of the upper level.
[0030] This method can more accurately calculate the score value of each scoring item in combination with various scenarios.
[0031] In an optional embodiment, after generating the scoring review rules, the method further includes:
[0032] When receiving an instruction to retrieve a scoring review rule, displaying the scoring review rule in the configuration interface;
[0033] In response to an update instruction to adjust the scoring items in the scoring review rule, the scoring items in the scoring review rule are added or deleted to obtain a new scoring review rule.
[0034] This method can be used to adjust the scoring and review rules at any time according to user needs.
[0035] In an optional embodiment, the method further includes:
[0036] Based on the calling instruction of the mapping rule configuration interface, the mapping rule configuration interface is displayed, and the mapping parameters input in the mapping rule configuration interface are received, wherein the mapping rule configuration interface includes the mapping rule and the original mapping parameters corresponding to the mapping rule;
[0037] The original mapping parameters corresponding to the mapping rule are updated to generate a new mapping rule.
[0038] Through the above method, the mapping rules can be modified and adjusted intuitively and flexibly through the mapping rule configuration interface, so that users can adjust the mapping rules in a more convenient and efficient manner, thereby improving the user experience.
[0039] In a second aspect, the present application provides a device for generating audit rules, the device comprising:
[0040] The acquisition module is used to obtain each scoring item configured in the audit rule configuration interface, as well as the parent node and associated leaf node to which each scoring item belongs;
[0041] The processing module is used to generate a corresponding scoring list for each scoring item based on the parent node and the associated leaf node to which each scoring item belongs, hierarchically divide the scoring items according to the parent node identifier and the leaf node identifier in the scoring list, and generate the scoring rules; associate the scoring rules with the selected management personnel to generate scoring review rules, wherein the scoring list includes a detail list identifier, a parent node identifier, and a leaf node identifier, and the scoring review rules are used to score the management personnel.
[0042] In an optional embodiment, the processing module is specifically used to obtain the weight value configured for each scoring item, and divide the scoring items containing the weight value into levels according to the parent node identifier and the leaf node identifier in the scoring details table to generate the scoring rules, wherein the weight value represents the proportion of the scoring value of the scoring item in the total scoring value.
[0043] In an optional embodiment, the processing module is specifically used to obtain the hierarchical identification of each added scoring item in the audit rule configuration interface, determine the parent node and leaf node of each scoring item according to the hierarchical identification; generate a scoring detailed table corresponding to each scoring item, and add the corresponding parent node identification and leaf node identification in the scoring detailed table corresponding to each scoring item.
[0044] In an optional embodiment, the processing module is specifically used to send the lowest-level scoring items to their corresponding scoring departments according to the scoring departments in the scoring details table; obtain the scoring values of each scoring department; and perform weighted summation based on the obtained scoring values and the corresponding weight values in the scoring details table to obtain the final scoring result.
[0045] In an optional embodiment, the processing module is also used to display a mapping rule configuration interface based on a call instruction of the mapping rule configuration interface, and receive mapping parameters entered in the mapping rule configuration interface; update the original mapping parameters corresponding to the mapping rule, and generate a new mapping rule, wherein the mapping rule configuration interface includes the mapping rule and the original mapping parameters corresponding to the mapping rule.
[0046] In a third aspect, the present application provides an electronic device, including:
[0047] A memory for storing program instructions;
[0048] The processor is used to call the program instructions stored in the memory, and execute the method for generating audit rules according to the obtained program instructions, including the steps.
[0049] In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes a method for generating audit rules according to the obtained program instructions, including steps.
[0050] In a fifth aspect, the present application provides a computer program product, which includes: a computer program code, when the computer program code runs on a computer, it enables the computer to execute the method for generating audit rules according to the obtained program instructions, including the steps. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 A flow chart of a method for generating audit rules provided in an embodiment of the present application;
[0052] Figure 2 One of the schematic diagrams of the audit rule configuration interface provided in the embodiment of the present application;
[0053] Figure 3 The second schematic diagram of the audit rule configuration interface provided in the embodiment of the present application;
[0054] Figure 4 A schematic diagram of a scoring table provided in an embodiment of the present application;
[0055] Figure 5 A schematic diagram of the hierarchical relationship of the scoring details table provided in the embodiment of the present application;
[0056] Figure 6 A schematic diagram of the hierarchical relationship of the scoring items provided in the embodiment of the present application;
[0057] Figure 7 A schematic diagram of a mapping rule configuration interface provided in an embodiment of the present application;
[0058] Figure 8 A schematic diagram of the relationship between the mapping rule tables provided in the embodiment of the present application;
[0059] Fig. 9 A schematic diagram of the structure of an audit rule generating device provided in an embodiment of the present application;
[0060] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be arbitrarily combined with each other. In addition, although the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in an order different from that here.
[0062] The terms "first" and "second" in the specification and claims of the present application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any of their variations are intended to cover non-exclusive protection. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. "Multiple" in the present application can mean at least two, for example, two, three or more, and the embodiments of the present application are not limited.
[0063] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description. It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, which should be considered as exemplary, and their purpose is only to illustrate the feasibility of the implementation of the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0064] In the technical solution of this application, the acquisition, transmission, storage, and use of data are in compliance with the requirements of relevant national laws and regulations.
[0065] Before introducing a scoring rule generation method provided in an embodiment of the present application, for ease of understanding, the technical background of the embodiment of the present application is first introduced in detail.
[0066] Currently, the management of some asset management products requires corresponding managers to manage these asset management products, and qualified managers need to be scored for entry. The entry scoring requires the setting of corresponding manager review rules, which include various scoring items. After the review process is initiated, the corresponding reviewers will score the managers according to the scoring items in the review rules, and the final scoring result will be used as the score of the manager.
[0067] Currently, the review rules are written into the corresponding scoring process through code logic. If the scoring review rules need to be adjusted, relevant personnel need to modify the code logic, that is, professionals need to adjust the code in the scoring process, so as to achieve the modification of the scoring items. However, in actual use, if professionals need to modify the code every time, it takes a long time to wait, which results in the inability to modify or adjust the review rules in a timely manner when they need to be adjusted in time.
[0068] In order to solve the above technical problems, the present application provides a method for generating scoring audit rules, through which the audit rules can be generated or adjusted in a timely manner in the audit rule configuration interface, so that there is no need for professionals to modify the code, thereby realizing the adjustment of the audit rules at any time.
[0069] The technical solution of this application is described in detail below through specific implementation methods.
[0070] Reference Figure 1 As shown, the present application provides a method for generating a scoring rule, the method comprising:
[0071] S1, obtaining each scoring item configured in the audit rule configuration interface, as well as the parent node and associated leaf node to which each scoring item belongs;
[0072] S2, based on the parent node and the associated leaf node of each scoring item, generate a scoring detail table corresponding to each scoring item;
[0073] S3, hierarchically divide the scoring items according to the parent node identifier and the leaf node identifier in the scoring details table to generate scoring rules;
[0074] S4, associate the scoring rules with the selected managers to generate scoring review rules.
[0075] Specifically, an audit rule configuration interface is configured in the embodiment of the present application, referring to Figure 2 As shown, in Figure 2The audit rule configuration interface includes a basic information configuration area and a rule configuration area. The basic information configuration area of the audit rule configuration interface includes a "rule name", which is the name of the audit rule, and a "manager", which is the person targeted by the audit rule.
[0076] The rule configuration area of the audit rule configuration interface contains the configuration of each indicator (i.e., scoring item) of the audit rule. Figure 2 In the rule configuration area, users or system administrators can select scoring items, such as Figure 2 The "Add" button is included. When the user or system administrator clicks the "Add" button, a scoring item can be added to the rule configuration interface. Of course, in actual application scenarios, after the user clicks "Add", the user also needs to select the corresponding level of the scoring item, that is, whether the scoring item belongs to the first-level scoring item or the sub-scoring item of other scoring items (i.e., the parent node or the leaf node). After the user completes the selection, the scoring item will be displayed in the rule configuration area.
[0077] Furthermore, in order to improve the pertinence and detail of the scoring and review rules, in an embodiment of the present application, each scoring item in the scoring and review rules may be divided into levels.
[0078] Specifically, when a user or system administrator adds a new scoring item in the rule configuration area, the user or system administrator needs to configure the level to which the scoring item belongs, such as the first level or a sub-level under the first level. Figure 3 As shown, in Figure 3 When adding a new rating item, the user needs to enter the level of the rating item in the audit rule configuration interface, such as level 1 or level 2. Of course, it can be level 1.1, in which case the rating item is a sub-rating item of the level 1 rating item. Here, 1 and 1.1 are both level identifiers of the rating item.
[0079] After configuring the hierarchical identification for the scoring items, the system will obtain the hierarchical identification of each scoring item, and then divide the hierarchy according to the hierarchical identification of each scoring item, that is, determine the parent node and leaf node of each scoring item according to the hierarchical identification. Figure 3 shown.
[0080] It should be noted here that a new scoring item can be added in the rule configuration area, and the level of the scoring item can also be entered. Therefore, after obtaining the levels to which all scoring items belong, the system can generate a scoring rule as a whole. The scoring rule here includes each scoring item.
[0081] Of course, each time a user adds a rating item, it can be added to the corresponding level according to the level identifier corresponding to the rating item. In this way, the user can check at any time whether the level to which the rating item belongs is accurate, or modify and adjust it at any time.
[0082] Furthermore, in an embodiment of the present application, in addition to dividing each scoring item into levels, a weight value can also be configured for each scoring item. That is, when a user adds a scoring item in the rule configuration area, the user first configures the level to which the scoring item belongs, and then configures the weight value corresponding to the scoring item. The weight value represents the proportion of the scoring item in the total score value of the level.
[0083] After configuring the corresponding weight value for each newly added scoring item, the weight value is directly displayed on Figure 3 In the rule configuration area shown, the user can directly view the configured weight value in the rule configuration area and can modify the weight value of the scoring item at any time.
[0084] Of course, in an embodiment of the present application, the user can also click "Add" in the rule configuration area, and the user can configure the level to which the scoring item belongs and the corresponding weight value of the scoring item in turn, and after the configuration is completed, they will be directly displayed in the rule configuration area.
[0085] Furthermore, in the embodiment of the present application, after configuring the weight value of the scoring rule, it is also necessary to continue to configure the scoring department corresponding to the scoring item, that is, to which department the scoring item will be pushed for scoring. Therefore, after the user adds a scoring item, the system will determine whether the scoring item is a scoring item at the lowest level. If the scoring item is a scoring item at the lowest level, it is necessary to configure the scoring department for the scoring item at the lowest level. Figure 3 As shown, in Figure 3 If there is scoring item 1.1 under middle level 1 and there are no other scoring items under scoring item 1.1, scoring item 1.1 needs to be configured with a scoring department.
[0086] Of course, the system can also determine whether to configure a scoring department for the scoring item through the parent node and leaf node. That is, when the scoring item only has a parent node and no leaf node, the scoring item needs to be configured with a scoring department. After configuring the department to which the scoring item belongs, the rule configuration area will also display the scoring department corresponding to the scoring item. Through the configuration of the scoring department, when the scoring process is started, the system will send the scoring item to the corresponding scoring department for scoring.
[0087] In an optional embodiment, when configuring the scoring department to which the scoring item belongs, if the user configures the scoring item to correspond to multiple scoring departments, the system will prompt the user to configure the department weight value, that is, one scoring item requires multiple scoring departments to score, and at this time the user needs to configure the corresponding weight value for each scoring department in the rule configuration area. Of course, the sum of the weight values of each scoring department corresponding to the scoring item is equal to 1. Therefore, when collecting the scoring value of a certain scoring item, it is necessary to obtain the scoring values of each scoring department corresponding to the scoring item under the scoring item, and then perform weighted sum according to the weight values corresponding to each scoring department, so as to obtain the final scoring value of the scoring item.
[0088] In the embodiment of the present application, in addition to using the above-mentioned method to implement the configuration of the scoring items, the scoring details table can also be used to implement the configuration of the scoring items.
[0089] Specifically, when a user adds a scoring item in the audit rule configuration interface, the user first obtains the hierarchical identifier of each added scoring item in the audit rule configuration interface, and then determines the parent node and associated leaf node to which each scoring item belongs based on the hierarchical identifier. Then, a scoring detail table corresponding to each scoring item is generated, and the corresponding parent node identifier and leaf node identifier are added to the scoring detail table corresponding to each scoring item.
[0090] Reference Figure 4 As shown, in Figure 4 A scoring list is shown in the figure, which includes an identity document (ID), a weight value, a leaf node ID, a parent node ID, a scoring department, and remarks. The scoring items are hierarchically divided according to the parent node ID and the leaf node ID in the scoring list. For example, if an identifier is written in the parent node ID of the scoring list, it means that the scoring item has a parent node, and the scoring item is a leaf node; if an identifier is written in the leaf node ID, it means that the scoring item has a leaf node. Therefore, the parent-child relationship between each scoring item can be known through the scoring list. In other words, the hierarchical relationship between the scoring lists can be determined through the parent node ID and the leaf node ID.
[0091] Reference Figure 5 As shown, in Figure 5 The hierarchical relationship between the scoring tables is shown in FIG. 1 . Since each scoring table has a corresponding scoring item, the hierarchical relationship between the scoring tables can be Figure 5 Of course, Figure 5 The relationship shown is only a possible implementation method, and the specific implementation method is not limited in this application.
[0092] Therefore, the scoring items can be hierarchically divided according to the parent node identifier and the leaf node identifier in the scoring details table to generate the final scoring rules. Of course, this method can divide the scoring items more accurately and intuitively, thereby ensuring that the final hierarchical division result is more accurate.
[0093] For example, first enter the rule information in the review rule configuration interface, then the rule information will be stored in the scoring rule table score_rule_tbl of the database and generate a unique ID, and then the detailed rule details will be stored in the scoring details table score_rule_dtl_tbl, which contains the parent node ID and leaf node ID, so the hierarchical nested relationship between the scoring items can be determined from the scoring details table.
[0094] When the system administrator or user initiates the scoring process on the system front end, he / she needs to enter the administrator and rule name to be scored in the system. The entered administrator and rule name will be stored in the scoring details table.
[0095] In the embodiment of the present application, the hierarchical relationship between the score details table can be determined according to the parent node ID and the leaf node ID in the score details table, or can be determined by the ID and the rule name of the manager in the score details table. The specific implementation method is not limited in the embodiment of the present application.
[0096] In an optional embodiment, the scoring details table may also store parameters such as scoring process ID and scoring time. The scoring process ID may be used to determine the scoring process, and the scoring time may be used to determine the specific time for scoring each scoring item.
[0097] After dividing the hierarchical relationship of each scoring item through the scoring detail table, the lowest level scoring items are sent to their corresponding scoring departments according to the scoring departments in each scoring detail table. It should be noted here that one scoring item can be scored by multiple departments, so there will be a situation where one scoring item is sent to multiple scoring departments.
[0098] After sending each scoring item at the lowest level to the corresponding scoring department, the scoring value corresponding to each scoring department is obtained, and then a weighted sum is performed based on the obtained scoring value and the corresponding weight value in the scoring details table to obtain the final scoring result.
[0099] It should be specifically explained here that, since there is a hierarchical relationship between the scoring items, and one scoring item may be scored by multiple scoring departments. Therefore, in the embodiment of the present application, the scores of different scoring departments for the same scoring item are first weighted and summed. For example, there are three scoring departments A, B, and C scoring the same scoring item, and the weight values of the three scoring departments are 0.2, 0.3, and 0.5 respectively. Then, the score values of the three scoring departments are weighted and summed to obtain the score value of the scoring item.
[0100] After weighted summing of the score values of all the score departments under each score item based on the weight value of the score department, the score values corresponding to each score item are obtained. Then, according to the level of the score items, the score values of the lowest level are weighted summed to obtain the score value of the previous level. In this way, the score values of the score items of each level are weighted summed in turn to obtain the score value of the highest level, and finally the score value of the highest level is used as the final score result.
[0101] For example, refer to Figure 6 As shown, in Figure 6 The hierarchical relationship of each scoring item is shown in the figure. The final scoring result is the highest level. There are three first-level scoring items A, B, and C under the final scoring result, with corresponding weight values of 20%, 30%, and 50% respectively. Under the first-level scoring item A, there are two second-level scoring items a1 (weight 50%) and a2 (weight 50%). Under the first-level scoring item B, there are also two second-level scoring items b1 (weight 40%) and b2 (weight 60%). Under the first-level scoring item C, there are two second-level scoring items c1 (weight 30%) and c2 (weight 70%). Then the second-level scoring item a1 needs to be scored by the scoring department x1 (weight 30%), the scoring department x2 (weight 30%), and the scoring department x3 (weight 40%). The second-level scoring item c2 needs to be scored by the scoring department y1 (weight 50%) and the scoring department y2 (weight 50%).
[0102] Under this relationship, the first step is to calculate the score values of the score items a1 and c2, namely:
[0103] a1=x1*30%+x2*30%+x3*40%;
[0104] c2=y1*50%+y2*50%;
[0105] Then the score value of the first-level scoring item is calculated through the second-level scoring item, that is:
[0106] A=a1*50%+a2*50%;
[0107] B = b1*40%+b2*60%;
[0108] C = c1*30%+c2*70%;
[0109] The total score corresponding to the first-level scoring items A, B, and C can be obtained through the above method, and then the final score result is calculated by weighted summation of the score values of the first-level scoring items A, B, and C, that is:
[0110] S=A*20%+B*30%+C*50%;
[0111] Among them, S represents the final scoring result.
[0112] Through the above method, the scoring values are weighted and summed layer by layer to obtain the final scoring result, which can make the scoring value more detailed and combine more factors, thereby improving the accuracy of the final scoring result.
[0113] After obtaining the final scoring result, the system stores the final scoring result and the rules used to calculate the final scoring result in the instance table, which contains relevant information such as the manager ID, the rule name of the scoring review rule, and the scoring time. That is, the user can retrieve the instance table at any time in the system to view a certain manager, or the final scoring result corresponding to a certain scoring review rule, so that the user can quickly and conveniently view relevant information.
[0114] In summary, the present application provides a method for generating scoring rules, in which the user can directly configure the scoring items in the audit rule configuration interface, that is, the user can adjust the scoring items in the scoring audit rules at any time according to the needs, or directly call the scoring items to generate a new scoring audit rule. Therefore, through this method, the audit rules can be generated or adjusted in time in the audit rule configuration interface, so that there is no need for professionals to modify the code, thereby realizing flexible configuration of the audit rules.
[0115] In an optional embodiment, after the system generates a scoring review rule, the system will automatically save the scoring review rule and associate the scoring review rule with a rule ID. The user can call up the scoring review rule through the rule ID at any time in the system. If the system receives an instruction to call up the scoring review rule, the system will directly display all the scoring items in the scoring review rule in the rule configuration area.
[0116] Then, when the user inputs an update instruction for the scoring items in the scoring review rules in the system, the system will respond to the update instruction, and then add or delete the scoring items in the scoring review rules according to the update instruction to obtain a new scoring review rule. In other words, the user can retrieve the scoring review rules that have been used through the system, and then add some scoring items or delete some scoring items in the used scoring review rules to obtain a required new scoring review item, so that the user can complete the configuration of a required scoring review rule more quickly, which improves the user experience.
[0117] In an optional embodiment, in addition to configuring scoring and reviewing rules, mapping rules can also be configured in the system provided in the present application.
[0118] Specifically, in the management process of asset management products, it is necessary to make provisions for risk impairment of related off-balance sheet assets, accounts receivable, inventory and other assets, and the provision ratio needs to be mapped based on factors such as the remaining term of the asset and the target rating. For example, if the rating of an asset is 5, the mapped provision ratio is 4.5%, which means that when the asset rating is 5, 4.5% of the book balance of the asset management product is set aside as risk impairment provision. Currently, this mapping rule is also written into the mapping rule process, which means that the mapping rule is fixed in the code layer in the system, and the mapping rule can only be modified by modifying the code, which makes it difficult to modify the mapping rule, wasting time and manpower.
[0119] In order to avoid the above problems, in the embodiment of the present application, the mapping rule configuration interface can be displayed based on the call instruction of the configuration interface, referring to Figure 7 As shown, the mapping rule configuration interface is the same as the audit rule configuration interface in the above embodiment. The mapping rule configuration interface can be a sub-interface of the audit rule configuration interface or a separate interface.
[0120] After the mapping rule configuration interface is displayed, the mapping parameters input by the user in the mapping rule configuration interface are received. The mapping parameters are the parameters used in the mapping rules. The mapping rule configuration interface includes the mapping rules and the original mapping parameters corresponding to the mapping rules.
[0121] for example Figure 7 As shown, the original mapping rules are displayed in the mapping rule configuration interface, with level 1 corresponding to 8%, level 2 corresponding to 8.5%, and level 3 corresponding to 9%.
[0122] Then the user can modify the mapping parameters in the original mapping rule, for example Figure 7The proportion corresponding to the middle level 3 is modified to 9.5%, that is, the new mapping parameters update the original mapping parameters in the original mapping rules, thereby generating new mapping rules.
[0123] Specifically, the implementation of mapping rules can also be achieved through the data table structure, refer to Figure 8 As shown, in Figure 8 In the mapping ratio data table, source_id is the ID of the accrual ratio in the mapping rule table. The accrual ratio mapping is realized by reading the rule status and rule type of the accrual ratio mapping rule data table.
[0124] Only one rule state (rule_tpcd) in each rule type (wthr_opt) is valid. Only valid rules can be used for mapping. That is, there can only be one ratio in a mapping rule, and there will not be multiple ratios.
[0125] When the user enters data in the field corresponding to the rule type, for example, when the user enters the field "internal rating" corresponding to the evaluation level mapping rule, the system automatically finds the corresponding valid rule ID based on the rule type (wthr_opt) and rule status (rule_tpcd).
[0126] The system finds the source_id in the data table as the mapping ratio of the valid rule identified in the previous one. When the user parameter name (name) is consistent with the field data entered by the user, the corresponding parameter ratio (upd_psn) is used.
[0127] Through the above method, the mapping rules can be modified and adjusted intuitively and flexibly through the mapping rule configuration interface, so that users can adjust the mapping rules in a more convenient and efficient manner, thereby improving the user experience.
[0128] Based on the same inventive concept, the present application embodiment provides a page switching device, please refer to Fig. 9 , the device comprises:
[0129] The acquisition module 90 is used to acquire each scoring item configured in the audit rule configuration interface, as well as the parent node and associated leaf node to which each scoring item belongs;
[0130] Processing module 91 is used to generate a corresponding scoring list for each scoring item based on the parent node and the associated leaf node to which each scoring item belongs, hierarchically divide the scoring items according to the parent node identifier and the leaf node identifier in the scoring list, and generate the scoring rules; associate the scoring rules with the selected managers to generate scoring review rules, wherein the scoring review rules are used to score the managers.
[0131] In an optional embodiment, the processing module 91 is specifically used to obtain the weight value configured for each scoring item, and divide the scoring items containing the weight value into levels according to the parent node identifier and the leaf node identifier in the scoring details table to generate the scoring rules, wherein the weight value represents the proportion of the scoring value of the scoring item in the total scoring value.
[0132] In an optional embodiment, the processing module 91 is specifically used to obtain the hierarchical identification of each added scoring item in the audit rule configuration interface, and determine the parent node and leaf node of each scoring item according to the hierarchical identification; generate a scoring detailed table corresponding to each scoring item, and add the corresponding parent node identification and leaf node identification to the scoring detailed table corresponding to each scoring item.
[0133] In an optional embodiment, the processing module 91 is specifically used to send the lowest-level scoring items to the corresponding scoring departments according to the scoring departments in the scoring details table; obtain the scoring values of each scoring department; and perform weighted summation based on the obtained scoring values and the corresponding weight values in the scoring details table to obtain the final scoring result.
[0134] In an optional embodiment, the processing module 91 is also used to display the mapping rule configuration interface based on the call instruction of the mapping rule configuration interface, and receive the mapping parameters entered in the mapping rule configuration interface; update the original mapping parameters corresponding to the mapping rule, and generate a new mapping rule, wherein the mapping rule configuration interface includes the mapping rule and the original mapping parameters corresponding to the mapping rule.
[0135] Based on the same inventive concept, the present application embodiment provides an electronic device, referring to Fig.10 As shown, the electronic device includes at least one processor 1001 and a memory 1002 connected to the at least one processor 1001. The specific connection medium between the processor 1001 and the memory 1002 is not limited in the embodiment of the present application. Fig.10 In the example, the processor 1001 and the memory 1002 are connected via the bus 1000. Fig.10 The connections between other components are shown in bold lines, and are not intended to be limiting. The bus 1000 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor 1001 can also be called a controller, and there is no limitation on the name.
[0136] In the embodiment of the present application, the memory 1002 stores instructions that can be executed by at least one processor 1001. The at least one processor 1001 can execute a shift control method discussed above by executing the instructions stored in the memory 1002. The processor 1001 can implement Fig. 9 The functions of each module in the device shown.
[0137] Among them, processor 1001 is the control center of the device, and can use various interfaces and lines to connect various parts of the entire control device. By running or executing instructions stored in memory 1002 and calling data stored in memory 1002, various functions of the device and processing data, the device can be monitored as a whole.
[0138] In the embodiment of the present application, the processor 1001 may include one or more processing units, and the processor 1001 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1001. In some embodiments, the processor 1001 and the memory 1002 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on independent chips.
[0139] Processor 1001 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor can be a microprocessor or any conventional processor, etc. A method step for generating audit rules disclosed in conjunction with the embodiments of the present application can be directly embodied as a hardware processor for execution, or can be executed by a combination of hardware and software modules in the processor.
[0140] The memory 1002 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 1002 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 1002 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 1002 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.
[0141] By programming the processor 1001, the code corresponding to the method for generating audit rules described in the above embodiment can be fixed into the chip, so that the chip can execute the code when running. Figure 1 The embodiment shown is a method for generating audit rules. How to design and program the processor 1001 is a technology well known to those skilled in the art and will not be described in detail here.
[0142] It should be noted here that the above-mentioned electronic device provided in the embodiment of the present application can implement all the method steps implemented in the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.
[0143] Based on the same technical concept, the embodiment of the present application provides a computer storage medium, which includes: computer program code, which, when executed on a computer, enables the computer to execute any of the methods for generating audit rules discussed above. Since the principle of solving the problem by the above-mentioned computer storage medium is similar to that of a method for generating audit rules, the implementation of the above-mentioned computer storage medium can refer to the implementation of the method, and the repeated parts will not be repeated.
[0144] In the specific implementation process, the computer storage medium may include: Universal Serial Bus Flash Drive (USB), mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other storage media that can store program codes.
[0145] Based on the same technical concept, the embodiment of the present application also provides a computer program product, which includes: computer program code, when the computer program code is run on a computer, the computer executes any one of the methods for generating audit rules discussed above. Since the principle of solving the problem by the above computer program product is similar to that of a method for generating audit rules, the implementation of the above computer program product can refer to the implementation of the method, and the repeated parts will not be repeated.
[0146] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0147] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0148] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0149] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of user-operated steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0150] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for generating audit rules, characterized in that: The method comprises: Get each scoring item configured in the audit rule configuration interface, as well as the parent node and associated leaf node to which each scoring item belongs; Generate a score detail table corresponding to each score item based on the parent node and the associated leaf node to which each score item belongs, wherein the score detail table includes a detail table identifier, a parent node identifier, and a leaf node identifier; The scoring items are hierarchically divided according to the parent node identifier and the leaf node identifier in the scoring details table to generate the scoring rules; The scoring rule is associated with the selected manager to generate a scoring review rule, wherein the scoring review rule is used to score the manager.
2. The method according to claim 1, characterized in that The step of dividing the scoring items into levels according to the parent node identifier and the leaf node identifier in the scoring details table to generate the scoring rules includes: Obtaining a weight value configured for each scoring item, wherein the weight value represents the proportion of the scoring value of the scoring item in the total scoring value; The scoring items including the weight values are hierarchically divided according to the parent node identifier and the leaf node identifier in the scoring details table to generate the scoring rules.
3. The method according to claim 1, characterized in that The generation of a score detail table corresponding to each score item based on the parent node and the associated leaf node to which each score item belongs includes: In the audit rule configuration interface, the hierarchical identifiers of each added scoring item are obtained, and the parent node and leaf node of each scoring item are determined according to the hierarchical identifiers; Generate a scoring detail table corresponding to each scoring item, and add a corresponding parent node identifier and a leaf node identifier to the scoring detail table corresponding to each scoring item.
4. The method according to claim 1, characterized in that After generating the score detail tables corresponding to the respective score items, the method further includes: The lowest level scoring items are sent to their corresponding scoring departments according to the scoring departments in the scoring details table; Get the rating values of each rating department; The final scoring result is obtained by weighted summing up the obtained scoring values and the corresponding weight values in the scoring details table.
5. The method according to claim 4, characterized in that The final scoring result is obtained by weighted summing the obtained scoring values and the corresponding weight values in the scoring details table, including: According to the hierarchical division of the scoring items, the weighted sum of the scoring items at the lowest level is used to obtain the scoring value of the upper level; The weighted sum of the score values of the previous level is performed to obtain the final score result.
6. The method according to claim 5, characterized in that According to the hierarchical division of the scoring items, the weighted sum of the scoring items at the lowest level is used to obtain the scoring value of the upper level, including: The scoring values of each scoring department corresponding to each scoring item are weighted and summed to obtain the scoring value corresponding to each scoring item; According to the hierarchical division of the scoring items, the weighted sum of the scoring items at the lowest level is taken to obtain the scoring value of the upper level.
7. The method according to claim 1, characterized in that After generating the scoring review rules, the method further includes: When receiving an instruction to retrieve a scoring review rule, displaying the scoring review rule in the configuration interface; In response to an update instruction to adjust the scoring items in the scoring review rule, the scoring items in the scoring review rule are added or deleted to obtain a new scoring review rule.
8. The method according to claim 1, characterized in that The method further comprises: Based on the calling instruction of the mapping rule configuration interface, the mapping rule configuration interface is displayed, and the mapping parameters input in the mapping rule configuration interface are received, wherein the mapping rule configuration interface includes the mapping rule and the original mapping parameters corresponding to the mapping rule; The original mapping parameters corresponding to the mapping rule are updated to generate a new mapping rule.
9. A device for generating audit rules, characterized in that: The device comprises: The acquisition module is used to obtain each scoring item configured in the audit rule configuration interface, as well as the parent node and associated leaf node to which each scoring item belongs; The processing module is used to obtain the parent node and the associated leaf node to which each scoring item belongs, generate a corresponding scoring list for each scoring item, hierarchically divide the scoring items according to the parent node identifier and the leaf node identifier in the scoring list, and generate the scoring rules; associate the scoring rules with the selected management personnel to generate scoring review rules, wherein the scoring list includes a list identifier, a parent node identifier, and a leaf node identifier, and the scoring review rules are used to score the management personnel.
10. The device according to claim 9, characterized in that The processing module is specifically used to obtain the weight value configured for each scoring item, and hierarchically divide the scoring items containing the weight value according to the parent node identifier and the leaf node identifier in the scoring details table to generate the scoring rule, wherein the weight value represents the proportion of the scoring value of the scoring item in the total scoring value.
11. The device according to claim 9, characterized in that The processing module is specifically used to obtain the hierarchical identification of each added scoring item in the audit rule configuration interface, determine the parent node and leaf node of each scoring item according to the hierarchical identification; generate a scoring detailed table corresponding to each scoring item, and add the corresponding parent node identification and leaf node identification in the scoring detailed table corresponding to each scoring item.
12. The device according to claim 9, characterized in that The processing module is specifically used to send the lowest-level scoring items to their corresponding scoring departments according to the scoring departments in the scoring details table; obtain the scoring values of each scoring department; and perform weighted summation based on the obtained scoring values and the corresponding weight values in the scoring details table to obtain the final scoring result.
13. The device according to claim 10, characterized in that The processing module is also used to display the mapping rule configuration interface based on the calling instruction of the mapping rule configuration interface, and receive the mapping parameters entered in the mapping rule configuration interface; update the original mapping parameters corresponding to the mapping rule, and generate a new mapping rule, wherein the mapping rule configuration interface includes the mapping rule and the original mapping parameters corresponding to the mapping rule.
14. An electronic device, characterized in that: include: A memory for storing program instructions; A processor is used to call the program instructions stored in the memory, and execute the steps included in any one of the methods of claims 1-8 according to the obtained program instructions.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method according to any one of claims 1 to 8.
16. A computer program product, characterized in that The computer program product comprises: a computer program code, and when the computer program code is run on a computer, the computer is enabled to execute the method according to any one of claims 1 to 8.
