Business processing method and device, equipment, medium and program product
By adopting multi-tree structure and dynamic audit rules in business review, the problems of low review efficiency and poor flexibility in the existing technology are solved, efficient and flexible business review is achieved, and maintenance costs are reduced.
Patent Information
- Application Number
- CN202411077246.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-10-08
AI Technical Summary
Existing business review methods rely on manual or fixed system rules, resulting in low review efficiency, poor flexibility, high maintenance costs, and difficulty adapting to flexible and changing business scenarios.
Adopt a multi-tree structure that selects audit rules based on business attribute information, determine the audit path through the weight values and historical trigger frequencies of first-level nodes, second-level nodes, and third-level nodes, realize the construction and adjustment of dynamic audit rules, and improve audit efficiency and flexibility.
It improves the efficiency and flexibility of business review, reduces maintenance costs, can adapt to the needs of different business scenarios, and simplifies the review process.
Smart Images

Figure CN118747634A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and more specifically to a business processing method, apparatus, device, medium and program product. Background Art
[0002] When providing business processing services to customers, it is necessary to review the information provided by the customers to ensure that the business processing can be carried out correctly and safely.
[0003] The existing business audit methods usually conduct business audits based on manual or fixed audit rules in the system. Manual audits are time-consuming and have low accuracy. The fixed audit rules in the system are difficult to cope with flexible and changeable business audits, which wastes system resources and is not conducive to system maintenance. Summary of the invention
[0004] In view of the above problems, the present disclosure provides a business processing method, apparatus, device, medium and program product.
[0005] According to the first aspect of the present disclosure, a business processing method is provided, including: selecting corresponding audit rules based on attribute information of a business to be audited; wherein the audit rules include n business scenarios and m main operation rules under each business scenario, and both n and m are positive integers not less than 1; determining a rule multi-branch tree corresponding to the audit rules; wherein the rule multi-branch tree includes a primary node and a secondary node, wherein the primary node is constructed based on the business scenario, and the secondary node is constructed based on the main operation rule; selecting at least one target primary node based on business elements of the business to be audited; traversing each secondary node under the target primary node, and inputting the business elements into the target secondary node; wherein the target secondary node is the secondary node with the highest weight value, and the weight value of the secondary node is determined based on the coverage range and historical trigger frequency of the main operation rule; performing an audit operation on the business element based on the target secondary node to obtain a first audit result; and determining a final audit result of the business to be audited based on the first audit result.
[0006] According to an embodiment of the present disclosure, an audit operation is performed on a business element based on a target secondary node to obtain a first audit result, including: obtaining the audit result generated by the target secondary node; wherein the audit result includes a first category result and a second category result; in the case where the audit result is a first category result, determining the audit result as the first audit result; in the case where the audit result is a second category result, selecting a second category node with the highest weight from the remaining second category nodes as a new target second category node, and performing an audit operation based on the new target second category node to obtain a first audit result; repeating the above operations until the audit result obtained is a first category result.
[0007] According to an embodiment of the present disclosure, the rule multi-branch tree also includes a third-level node, and an audit operation is performed on the business element based on the target second-level node to obtain a first audit result, including: loading the audit parameters of each third-level node under the second-level node; traversing each third-level node, and performing an audit operation on the business element based on the audit parameters of the third-level node to obtain a second audit result; determining the first audit result of the second-level node based on the logical relationship between the three-level nodes and the second audit result generated by each third-level node.
[0008] According to an embodiment of the present disclosure, the audit parameters of each third-level node under the second-level node are loaded, including: reading the audit parameters corresponding to each third-level node under the target second-level node from the storage medium to the memory; in response to the third-level node performing an audit operation, locating the audit parameters of the third-level node in the memory based on the identifier of the third-level node; and performing the audit operation based on the located audit parameters.
[0009] According to the embodiments of the present disclosure, it also includes: dividing the audit rules into multiple business scenarios, and constructing a first-level node corresponding to each business scenario; performing parsing operations on the audit rules under each business scenario to obtain the logical relationship between the rules in the audit rules; determining the main operation rules under the business scenario based on the logical relationship, and constructing a second-level node corresponding to the main operation rules; determining the basic operation rules under the main operation rules based on the logical relationship, and constructing a third-level node corresponding to the basic operation rules to obtain a rule multi-branch tree.
[0010] According to an embodiment of the present disclosure, it also includes: in response to the update of the audit rules, determining the logical relationship between the updated content and the original audit rules; adjusting the relevant nodes in the rule multi-branch tree based on the logical relationship to obtain an updated rule multi-branch tree; wherein the adjustment of the relevant nodes in the rule multi-branch tree includes at least any one of adding new nodes, modifying node content, deleting nodes, changing node positions, and adjusting the connection relationship between nodes.
[0011] The second aspect of the present disclosure provides a business processing device, including: a first selection module, used to select corresponding audit rules based on attribute information of the business to be audited; wherein the audit rules include n business scenarios and m main operation rules under each business scenario, and n and m are both positive integers not less than 1; a first determination module, used to determine the rule multi-branch tree corresponding to the audit rules; wherein the rule multi-branch tree includes a primary node and a secondary node, the primary node is constructed based on the business scenario, and the secondary node is constructed based on the main operation rule; a second selection module, used to select at least one target primary node based on the business elements of the business to be audited; an input module, used to traverse each secondary node under the target primary node, and input the business elements to the target secondary node; wherein the target secondary node is the secondary node with the highest weight value, and the weight of the secondary node is determined based on the coverage and historical trigger frequency of the main operation rule; an audit module, used to perform an audit operation on the business element based on the target secondary node to obtain a first audit result; a second determination module, used to determine the final audit result of the business to be audited based on the first audit result.
[0012] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the above method.
[0013] The fourth aspect of the present disclosure further provides a computer-readable storage medium having a computer program or instructions stored thereon, which implements the steps of the above method when the above computer program or instructions are executed by a processor.
[0014] The fifth aspect of the present disclosure further provides a computer program product, including a computer program or instructions, which implement the steps of the above method when the above computer program or instructions are executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0016] Figure 1 The application scenario diagram of the business processing method, apparatus, device, medium and program product according to the embodiments of the present disclosure is schematically shown;
[0017] Figure 2 A flowchart of a business processing method according to an embodiment of the present disclosure is schematically shown;
[0018] Figure 3 A flowchart schematically shows a process of performing an audit operation on a business element based on a target secondary node to obtain a first audit result according to an embodiment of the present disclosure;
[0019] Figure 4 A flowchart schematically shows a process of performing an audit operation on a business element based on a target secondary node to obtain a first audit result according to an embodiment of the present disclosure;
[0020] Figure 5 A flowchart for loading audit parameters of each third-level node under a second-level node according to an embodiment of the present disclosure is schematically shown;
[0021] Figure 6 Schematically shows a flow chart of constructing a regular multi-branch tree according to an embodiment of the present disclosure;
[0022] Figure 7 A flowchart of updating a rule multi-branch tree according to an embodiment of the present disclosure is schematically shown;
[0023] Figure 8 A schematic diagram of a structure of a service processing device according to an embodiment of the present disclosure is shown; and
[0024] Fig. 9 A block diagram of an electronic device suitable for implementing a service processing method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0025] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0026] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0027] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0028] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0029] 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, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0030] In the technical solution of the present disclosure, the user information (including but not limited to user personal information, user image information, user device information, such as location information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0031] In the scenario of using personal information for automated decision-making, the methods, devices, and systems provided by the embodiments of the present disclosure provide users with corresponding operation portals for users to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered. The expression "automated decision-making" here refers to the activity of automatically analyzing and evaluating a person's behavioral habits, interests and hobbies, or economic, health, credit status, etc. through computer programs, and making decisions. The expression "expert decision-making" here refers to the activity of making decisions by people who specialize in a certain field, have specialized experience, knowledge and skills, and have reached a certain level of professionalism.
[0032] The embodiment of the present invention provides a service processing method. Before introducing the technical solution provided by the embodiment of the present invention, the related technologies involved in the present invention are first described.
[0033] When providing customer services, financial institutions need to review some business processing documents. For example, when opening accounts, making cross-border remittances and other businesses, they must first review the business processing documents submitted by customers to ensure the security and compliance of the business and reduce business risks.
[0034] At present, manual review or review based on business review system is often used. However, manual review lacks unified management of the review process and mainly relies on the manual experience of the reviewers. It consumes manpower and is prone to incorrect review results. The existing business review system uses hard coding to fix the review rules in the system, and then conducts business review based on the fixed rules. The fixed review rules are difficult to adjust in time with the changes in external regulatory requirements and review rules. When the review rules change, the review rules can only be re-encoded, which has high maintenance costs. In addition, with this business review method, regardless of whether the review rules are suitable for the current business scenario, the system needs to calculate the review rules one by one, which reduces the efficiency of business review and causes computing resources to be wasted.
[0035] An embodiment of the present disclosure provides a business processing method, which includes: selecting corresponding audit rules based on attribute information of the business to be audited; wherein the audit rules include n business scenarios and m main operation rules under each business scenario, and n and m are both positive integers not less than 1; determining a rule multi-branch tree corresponding to the audit rules; wherein the rule multi-branch tree includes a first-level node and a second-level node, the first-level node is constructed based on the business scenario, and the second-level node is constructed based on the main operation rule; based on the business elements of the business to be audited, selecting at least one target first-level node; traversing each second-level node under the target first-level node, and inputting the business elements into the target second-level node; wherein the target second-level node is the second-level node with the highest weight value, and the weight value of the second-level node is determined based on the coverage range and historical trigger frequency of the main operation rule; performing an audit operation on the business element based on the target second-level node to obtain a first audit result; and determining the final audit result of the business to be audited based on the first audit result.
[0036] Figure 1 The application scenario diagram of the business processing method, apparatus, device, medium and program product according to the embodiments of the present disclosure is schematically shown.
[0037] like Figure 1 As shown, the application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is used to provide a medium for a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0038] The user can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).
[0039] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0040] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0041] It should be noted that the service processing method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the service processing device provided in the embodiment of the present disclosure can generally be set in the server 105. The service processing method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Accordingly, the service processing device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105.
[0042] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0043] The following will be based on Figure 1 The scene described by Figure 2~Figure 7 The business processing method of the disclosed embodiment is described in detail.
[0044] Figure 2 The flowchart of the service processing method according to the embodiment of the present disclosure is schematically shown.
[0045] like Figure 2 As shown, the business processing method of this embodiment includes operations S210 to S260.
[0046] In operation S210, based on the attribute information of the business to be reviewed, a corresponding review rule is selected, wherein the review rule includes n business scenarios and m main operation rules under each business scenario, and both n and m are positive integers not less than 1.
[0047] In some embodiments, the attribute information of the business to be reviewed may include, for example, the type of the business to be reviewed, the initiator information of the business to be reviewed, etc., and a corresponding review rule is selected from multiple review rules.
[0048] Each audit rule may include n business scenarios, and each business scenario includes m main operation rules. Both n and m are positive integers not less than 1. Business scenarios refer to specific business scenarios or scenarios, such as account opening, deposits and withdrawals, loan applications, etc. Each business scenario may include multiple main operation rules, which are used to audit the business in a specific business scenario.
[0049] In operation S220, a rule multi-branch tree corresponding to the audit rule is determined; wherein the rule multi-branch tree includes a primary node and a secondary node, the primary node is constructed based on the business scenario, and the secondary node is constructed based on the main operation rule.
[0050] In some embodiments, in response to determining the audit rules corresponding to the business to be audited, a rule multi-branch tree corresponding to the audit rules is obtained, wherein the first node in the rule binary tree corresponds to different business scenarios, and the second node is a child node of the first node, corresponding to the main operation rules under the business scenario.
[0051] During the specific implementation process, business scenarios may include basic business scenarios and special business scenarios, for example. Basic business scenarios are scenarios applicable to each type of business, and special business scenarios are further refined for the usage scenarios of the business to be reviewed. The business to be reviewed can adapt to multiple application scenarios at the same time.
[0052] In operation S230, at least one target first-level node is selected based on the business elements of the business to be reviewed.
[0053] In some embodiments, business elements are extracted from the business to be reviewed, and a breadth-first traversal operation is performed based on multiple first-level nodes of the business elements in the rule multi-branch tree to find the target first-level node. The business elements are key business elements in the business to be reviewed, and may include, for example, business type, associated institution, amount, currency, transaction date, bill type and other information.
[0054] In the specific implementation process, based on the business elements of the business to be reviewed, at least one target first-level node is selected from the rule multi-branch tree. For example, if the business to be reviewed is applicable to business scenario 1 (basic business scenario) and business scenario 2 (special business scenario 1), then the two first-level nodes corresponding to business scenario 1 and business scenario 2 in the rule multi-branch tree are both target first-level nodes.
[0055] Among them, there is no correlation between the secondary nodes under different first-level nodes in the rule multi-branch tree. Therefore, when the number of target first-level nodes is greater than 1, the secondary nodes under multiple target first-level nodes can be traversed at the same time, that is, operations S240~Operation S250 can be executed under multiple target first-level nodes at the same time, effectively improving business processing efficiency.
[0056] In operation S240, each secondary node under the target primary node is traversed, and the business elements are input into the target secondary node; wherein the target secondary node is the secondary node with the highest weight value, and the weight value of the secondary node is determined based on the coverage of the main operation rule and the historical trigger frequency.
[0057] In some embodiments, the secondary node is a child node of the primary node, and the weights of the secondary nodes under the same primary node may be different. After determining the target primary node, the weights of the secondary nodes under the primary node are obtained, and the secondary node with the highest weight is determined as the target secondary node, and the audit operation is performed based on the target secondary node first.
[0058] In the specific implementation process, the weight of the secondary node can be determined based on the coverage and historical triggering frequency of the audit rules corresponding to the secondary node. The wider the scope of an audit rule, the more basic the audit rule is. That is, in multiple situations and scenarios, business audits must be conducted through the audit rule, and a higher weight should be set for the secondary node corresponding to the audit rule. Similarly, by obtaining historical business audit situations, the historical triggering frequency of each audit rule can be obtained. If the historical triggering frequency of a certain audit rule is higher, it means that the audit rule is more important in the business audit process. The secondary node corresponding to the audit rule should also be set with a higher weight, so as to give priority to auditing the audited business based on the audit rule and save audit time.
[0059] In operation S250, an audit operation is performed on the business element based on the target secondary node to obtain a first audit result.
[0060] In some embodiments, each second-level node has at least one third-level node, and performs an audit operation on the business element through the third-level node to obtain a first audit result of the target second node.
[0061] During the specific implementation process, the third-level nodes under the target second-level node are traversed in turn, the business elements are audited based on the audit parameters of each third-level node, and the audit results of each third-level node are integrated to obtain the first audit result of the target second node.
[0062] In operation S260, a final audit result of the business to be audited is determined based on the first audit result.
[0063] In some embodiments, the first audit results of the target second-level nodes are obtained respectively, wherein each target first-level node includes at least one first audit result. If the business to be audited involves multiple target first-level nodes, the first audit results of each target first-level node are integrated, and the final audit result is determined based on the multiple first audit results.
[0064] The business processing method provided by the embodiment of the present disclosure improves the audit efficiency of the business to be audited by setting weights for the nodes in the rule multi-branch tree. After the business to be audited is passed into the rule multi-branch tree, the present disclosure preferentially performs the audit operation on the business to be audited based on the secondary node with the highest weight value in the current business scenario, simplifies the process of traversing the nodes in the multi-branch tree, effectively improves the business processing speed, and saves unnecessary audit time and costs. In addition, the rule multi-branch tree in this application also sets multiple first-level nodes based on different business scenarios. On the one hand, setting multiple first-level nodes based on business scenarios is beneficial to the flexible combination of audit rules in different scenarios. Through the flexible combination of first-level nodes, business audits in multiple application scenarios can be realized, and the flexibility of business processing can be improved; on the other hand, setting nodes corresponding to different business scenarios can effectively reduce the depth of the multi-branch tree and improve the traversal speed.
[0065] Figure 3 A flowchart is schematically shown of performing an audit operation on a business element based on a target secondary node to obtain a first audit result according to an embodiment of the present disclosure.
[0066] like Figure 3 As shown, this embodiment performs an audit operation on the business element based on the target secondary node, and obtains a first audit result including operation S310 to operation S330.
[0067] In operation S310, the audit result generated by the target secondary node is obtained; wherein the audit result includes a first-category result and a second-category result.
[0068] In some embodiments, after obtaining the audit result generated by the target secondary node, the audit result is identified to determine whether the audit result is a first-class result or a second-class result. Among them, the first-class result indicates that the audit is successful and the content is the audit conclusion, and the second-class result is used to indicate that the audit failed.
[0069] In operation S320, when the audit result is a type of result, the audit result is determined as a first audit result.
[0070] In some embodiments, when the audit result obtained is a type of result, the content of the type of result is determined as the first audit result, and the audit conclusion of the business element at the target secondary stage is obtained.
[0071] In operation S330, when the audit result is a second-class result, a secondary node with the highest weight is selected from the remaining secondary nodes as a target secondary node, and an audit operation is performed based on the target secondary node to obtain an audit result.
[0072] In some embodiments, when the audit result obtained is a Class II result, it means that the audit of the secondary node has failed and the node is not applicable to the current business to be audited. Then, continue to look for other secondary nodes under the primary node and perform audits based on other secondary nodes.
[0073] Specifically, the secondary node with the highest weight continues to be searched among the remaining secondary nodes, and an audit operation is performed on the business element based on the found secondary node to obtain the audit result of the secondary node.
[0074] Repeat operations S310 to S330 until the audit result obtained is a type one result.
[0075] The disclosed embodiment sets a weight for each secondary node and preferentially traverses the secondary node with the highest weight. If the secondary node can complete the audit, the audit result of the secondary node is directly determined as the audit result in the current business scenario, effectively simplifying the traversal process of the nodes in the rule multi-branch tree and improving business audit efficiency.
[0076] Among them, the weight of the secondary node is determined based on the importance of the main operation rule corresponding to the secondary node. The importance of the main operation rule can be determined based on the coverage and historical triggering frequency of the main operation rule, or it can be manually determined by technical personnel based on audit experience.
[0077] Figure 4 A flowchart is schematically shown of performing an audit operation on a business element based on a target secondary node to obtain a first audit result according to an embodiment of the present disclosure.
[0078] like Figure 4 As shown, this embodiment performs an audit operation on the business element based on the target secondary node, and obtains a first audit result including operation S410 to operation S430.
[0079] In operation S410, the operation values and operator expressions of each third-level node under the second-level node are loaded.
[0080] In some embodiments, after determining the target secondary node, the audit parameters of each third-level node under the secondary node are read from the storage medium, wherein the audit parameters of each third-level node include operation values and / or operator expressions.
[0081] In operation S420, each third-level node is traversed, and an audit operation is performed on the business element based on the operator expression of the third-level node to obtain a second audit result.
[0082] In some embodiments, a traversal operation is performed on the third-level nodes under the target second-level node to perform an audit operation on the business element based on the audit parameters corresponding to each third-level node to obtain a second audit result, wherein the second audit result is the audit result of the third-level node.
[0083] In operation S430, based on the logical relationship between the third-level nodes and the second audit result generated by each third-level node, the first audit result of the second-level node is determined.
[0084] In some embodiments, the logical relationship between each third-level node under the target second node is obtained, and based on the second audit result obtained by each third-level node, the first audit result corresponding to the target second node is jointly determined.
[0085] Figure 5 A flowchart of loading audit parameters of each third-level node under a second-level node according to an embodiment of the present disclosure is schematically shown.
[0086] like Figure 5 As shown, the loading of the audit parameters of each third-level node under the second-level node in this embodiment includes operations S510 to S530.
[0087] In operation S510, the audit parameters corresponding to each third-level node under the target second-level node are read from the storage medium into the memory.
[0088] In operation S520 , in response to the third-level node performing an audit operation, an audit parameter of the third-level node is located in a memory based on an identifier of the third-level node.
[0089] In operation S530, an audit operation is performed based on the located audit parameters.
[0090] In some embodiments, after selecting a target secondary node, firstly, the audit parameters corresponding to all the third-level nodes under the secondary node are read from the storage medium to the memory, so as to perform the audit operation directly in the memory. The audit parameters of each third-level node can be stored in the corresponding space in the memory for quick positioning.
[0091] When performing an audit operation on a level-three node, the audit parameters of the node are quickly located in the memory based on the identifier of the level-three node, and an audit operation is performed on the business element according to the audit parameters to obtain a second audit result of the level-three node.
[0092] On the one hand, the reading speed of the memory is faster than that of the storage medium. After the audit parameters are loaded into the memory, they can be quickly accessed and operated, improving the efficiency of data access. On the other hand, after the audit parameters are loaded into the memory, they can be audited directly in the memory, effectively avoiding frequent disk read and write operations, reducing the number of accesses to the storage medium, and effectively reducing the system load.
[0093] Figure 6 The flowchart of constructing a regular multi-branch tree according to an embodiment of the present disclosure is schematically shown.
[0094] like Figure 6 As shown, the construction of a regular multi-branch tree in this embodiment includes operations S610 to S640.
[0095] In operation S610, the audit rules are divided into multiple business scenarios, and a first-level node corresponding to each business scenario is constructed respectively.
[0096] In operation S620, a parsing operation is performed on the audit rules in each business scenario to obtain the logical relationship between the rules in the audit rules.
[0097] In operation S630, a main operation rule in a business scenario is determined based on the logical relationship, and a secondary node corresponding to the main operation rule is constructed.
[0098] In operation S640, basic operation rules under the main operation rules are determined based on the logical relationship, and three-level nodes corresponding to the basic operation rules are constructed to obtain a rule multi-branch tree.
[0099] In some embodiments, different business types correspond to different audit rules. First, the audit rules corresponding to each business type are obtained, and the audit rules are divided into multiple business scenarios to construct a first-level node corresponding to each business scenario, where the first-level node is the first-level node in the rule multi-branch tree.
[0100] Taking foreign exchange business as an example, the review rules for reviewing foreign exchange business are obtained and divided into multiple business scenarios, where the business scenarios may include general scenarios and specific scenarios. General scenarios are scenarios applicable to each foreign exchange business. Specific scenarios may include foreign exchange business of a designated country, foreign exchange business of a designated institution, etc.
[0101] The present disclosure further subdivides the audit rules into multiple business scenarios under the rules and constructs corresponding nodes, thereby effectively reducing the depth of the rule multi-branch tree. For example, if the business scenarios corresponding to the business to be audited are general scenarios and specific business scenario 1, the first-level nodes corresponding to the general scenarios and the first-level nodes corresponding to the specific business scenario 1 can be traversed together as target first-level nodes. At this time, the traversal depth is still 3, that is, the traversal depth will not increase due to changes in business scenarios, thereby effectively improving the traversal rate. Avoid the increase in traversal depth and the decrease in traversal speed due to the complexity of the business.
[0102] For each business scenario, parse the audit rules under the business scenario, identify the main operation rules under the business scenario by analyzing business needs and logic, and construct a secondary node corresponding to the main operation rule, where the secondary node is the second-level node in the rule multi-branch tree.
[0103] For each main operation rule, the basic operation rules required to implement the main operation rule are further refined and divided, and the three-level nodes corresponding to the basic operation rules are constructed. Among them, the basic operation rules are the specific details of the main operation rules, which are used to complete specific tasks or operations. The three-level nodes are the third-level nodes in the rule multi-branch tree. The connection relationship is established between the first-level nodes, the second-level nodes, and the third-level nodes in turn to obtain the rule multi-branch tree.
[0104] The disclosed embodiment can more intuitively present the hierarchical relationship and logical structure between rules by converting the audit rules into a multi-branch tree, and the rule multi-branch tree provides an efficient search mechanism for business audit. When conducting business audit based on the rule multi-branch tree, specific rules or rule sets can be quickly located, thereby speeding up the matching and processing of rules. In addition, the rule multi-branch tree has high flexibility and scalability. When the audit rules are updated or changed, the rules can be adjusted and evolved by adjusting the tree structure and inserting, replacing or deleting nodes to adapt to changes and developments in the business.
[0105] Figure 7 The flowchart of updating a rule multi-branch tree according to an embodiment of the present disclosure is schematically shown.
[0106] like Figure 7 As shown, the updating rule multi-branch tree of this embodiment includes operations S710 to S720.
[0107] In operation S710, in response to the audit rule update, a logical relationship between the updated content and the original audit rule is determined.
[0108] In operation S720, relevant nodes in the regular multi-branch tree are adjusted based on the logical relationship to obtain an updated regular multi-branch tree.
[0109] In some embodiments, when an audit rule update is detected, the logical relationship between the updated content and the original audit rule is determined, and based on the logical relationship, the relevant nodes in the rule multi-branch tree are adjusted to obtain an updated rule multi-branch tree.
[0110] The audit rule update content may include, for example: adding new rules, modifying existing rules, deleting existing rules, and adjusting the order of rules. Based on the updated content, the relevant nodes in the rule multi-branch tree are adjusted accordingly to make the rule multi-branch tree consistent with the updated audit rule content.
[0111] When the updated content is a new rule, determine the application scenario to which the new rule belongs and the type of the new rule (i.e., whether the new rule is a main operation rule or a basic operation rule), insert a new node in the rule multi-branch tree according to the type of the new rule, and adjust the connection relationship between related nodes.
[0112] When the update content is to modify the original rule, the content of the node corresponding to the rule is modified to update the rule information in the rule multi-branch tree.
[0113] When the update content is to delete the original rule, the corresponding node is deleted from the rule multi-branch tree (if the rule is a main operation rule, the secondary node corresponding to the main operation rule and the child nodes under the secondary node are deleted).
[0114] When the update content is to adjust the order of the original rules, the position of the node corresponding to the rule in the rule multi-branch tree is changed or the connection relationship between the node and other nodes is adjusted.
[0115] Based on the above service processing method, the present disclosure also provides a service processing device. Figure 8 The device is described in detail.
[0116] Figure 8 The structural block diagram of the service processing device according to the embodiment of the present disclosure is schematically shown.
[0117] like Figure 8 As shown, the business processing device 800 of this embodiment includes a first selection module 810 , a first determination module 820 , a second selection module 830 , an input module 840 , a review module 850 and a second determination module 860 .
[0118] The first selection module 810 is used to select corresponding audit rules based on the attribute information of the business to be audited; wherein the audit rules include n business scenarios and m main operation rules under each business scenario, and n and m are both positive integers not less than 1. In one embodiment, the first selection module 810 can be used to perform the operation S210 described above, which will not be repeated here.
[0119] The first determination module 820 is used to determine the rule multi-branch tree corresponding to the audit rule; wherein the rule multi-branch tree includes a primary node and a secondary node, the primary node is constructed based on the business scenario, and the secondary node is constructed based on the main operation rule. In one embodiment, the first determination module 820 can be used to perform the operation S220 described above, which will not be repeated here.
[0120] The second selection module 830 is used to select at least one target first-level node based on the business elements of the business to be reviewed. In one embodiment, the second selection module 830 can be used to perform the operation S230 described above, which will not be described in detail here.
[0121] The input module 840 is used to traverse each secondary node under the target primary node and input the business elements into the target secondary node; wherein the target secondary node is the secondary node with the highest weight value, and the weight of the secondary node is determined based on the coverage and historical trigger frequency of the main operation rule. In one embodiment, the input module 840 can be used to perform the operation S240 described above, which will not be repeated here.
[0122] The audit module 850 is used to perform an audit operation on the target information based on the target secondary node to obtain a first audit result. In one embodiment, the audit module 850 can be used to perform the operation S250 described above, which will not be described in detail here.
[0123] The second determination module 860 is used to determine the final audit result of the business to be audited based on the first audit result. In one embodiment, the second determination module 860 can be used to perform the operation S260 described above, which will not be described in detail here.
[0124] According to an embodiment of the present disclosure, any multiple modules of the first selection module 810, the first determination module 820, the second selection module 830, the input module 840, the audit module 850, and the second determination module 860 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the first selection module 810, the first determination module 820, the second selection module 830, the input module 840, the audit module 850, and the second determination module 860 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, at least one of the first selection module 810, the first determination module 820, the second selection module 830, the input module 840, the review module 850 and the second determination module 860 can be at least partially implemented as a computer program module, and when the computer program module is executed, the corresponding function can be performed.
[0125] Fig. 9 A block diagram of an electronic device suitable for implementing the above-mentioned service processing method according to an embodiment of the present disclosure is schematically shown.
[0126] like Fig. 9 As shown, the electronic device 900 according to an embodiment of the present disclosure includes a processor 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage part 908 to a random access memory (RAM) 903. The processor 901 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a dedicated microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 901 may also include an onboard memory for caching purposes. The processor 901 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0127] In RAM 903, various programs and data required for the operation of electronic device 900 are stored. Processor 901, ROM 902 and RAM 903 are connected to each other via bus 904. Processor 901 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 902 and / or RAM 903. It should be noted that the program can also be stored in one or more memories other than ROM 902 and RAM 903. Processor 901 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0128] According to an embodiment of the present disclosure, the electronic device 900 may further include an input / output (I / O) interface 905, which is also connected to the bus 904. The electronic device 900 may further include one or more of the following components connected to the input / output (I / O) interface 905: an input portion 906 including a keyboard, a mouse, etc.; an output portion 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 908 including a hard disk, etc.; and a communication portion 909 including a network interface card such as a LAN card, a modem, etc. The communication portion 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the input / output (I / O) interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed, so that a computer program read therefrom is installed into the storage portion 908 as needed.
[0129] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0130] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 902 and / or RAM 903 described above and / or one or more memories other than ROM 902 and RAM 903.
[0131] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the business processing method provided by the embodiment of the present disclosure.
[0132] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 901. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0133] In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of a signal on a network medium, and downloaded and installed through the communication part 909, and / or installed from a removable medium 911. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0134] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 909, and / or installed from the removable medium 911. When the computer program is executed by the processor 901, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.
[0135] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0136] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0137] It will be appreciated by those skilled in the art that the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations or combinations are not explicitly described in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0138] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A business processing method, characterized in that: The method comprises: Based on the attribute information of the business to be reviewed, select the corresponding review rules; wherein the review rules include n business scenarios and m main operation rules under each business scenario, and both n and m are positive integers not less than 1; Determine a rule multi-branch tree corresponding to the audit rule; wherein the rule multi-branch tree includes a primary node and a secondary node, the primary node is constructed based on the business scenario, and the secondary node is constructed based on the main operation rule; Based on the business elements of the business to be reviewed, selecting at least one target first-level node; Traversing each secondary node under the target primary node, and inputting the business element into the target secondary node; wherein the target secondary node is the secondary node with the highest weight value, and the weight value of the secondary node is determined based on the coverage range and historical trigger frequency of the main operation rule; Performing an audit operation on the business element based on the target secondary node to obtain a first audit result; A final audit result of the business to be audited is determined based on the first audit result.
2. The service processing method according to claim 1, characterized in that: The performing an audit operation on the business element based on the target secondary node to obtain a first audit result includes: Obtaining the audit results generated by the target secondary node; wherein the audit results include first-category results and second-category results; When the audit result is a type-one result, the audit result is determined as a first audit result; In the case where the audit result is a second-class result, a second-class node with the highest weight is selected from the remaining second-class nodes as a new target second-class node, and an audit operation is performed based on the new target second-class node to obtain a first audit result; Repeat the above steps until the audit result is a class one result.
3. The service processing method according to claim 2, characterized in that: The rule multi-branch tree also includes a third-level node, and performing an audit operation on the business element based on the target second-level node to obtain a first audit result includes: Loading the audit parameters of each third-level node under the second-level node; Traversing each third-level node, performing an audit operation on the business element based on the audit parameters of the third-level node, and obtaining the second audit result; Based on the logical relationship between the three-level nodes and the second audit result generated by each of the three-level nodes, the first audit result of the second-level node is determined.
4. The service processing method according to claim 3, characterized in that: The loading of the audit parameters of each third-level node under the second-level node includes: Read the audit parameters corresponding to each third-level node under the target second-level node from the storage medium to the memory; In response to the third-level node performing an audit operation, locating an audit parameter of the third-level node in a memory based on an identifier of the third-level node; Perform audit operations based on the located audit parameters.
5. The service processing method according to claim 1, characterized in that: The method further comprises: Divide the audit rules into multiple business scenarios, and construct a first-level node corresponding to each business scenario; Perform parsing operations on the audit rules in each business scenario to obtain the logical relationship between the audit rules; Determine the main operation rule in the business scenario based on the logical relationship, and construct a secondary node corresponding to the main operation rule; Based on the logical relationship, the basic operation rules under the main operation rules are determined, and three-level nodes corresponding to the basic operation rules are constructed to obtain a rule multi-branch tree.
6. The service processing method according to claim 5, characterized in that: The method further comprises: In response to the audit rule update, determining a logical relationship between the updated content and the original audit rule; Adjusting relevant nodes in the rule multi-branch tree based on the logical relationship to obtain an updated rule multi-branch tree; The adjusting of the related nodes in the regular multi-branch tree includes at least one of adding new nodes, modifying node content, deleting nodes, changing node positions, and adjusting the connection relationship between nodes.
7. A service processing device, characterized in that: The device comprises: A first selection module is used to select corresponding audit rules based on the attribute information of the business to be audited; wherein the audit rules include n business scenarios and m main operation rules under each business scenario, and both n and m are positive integers not less than 1; A first determination module is used to determine a rule multi-branch tree corresponding to the audit rule; wherein the rule multi-branch tree includes a primary node and a secondary node, the primary node is constructed based on the business scenario, and the secondary node is constructed based on the main operation rule; A second selection module, configured to select at least one target first-level node based on the business elements of the business to be reviewed; An input module, used to traverse each secondary node under the target primary node, and input the business element into the target secondary node; wherein the target secondary node is the secondary node with the highest weight value, and the weight of the secondary node is determined based on the coverage and historical trigger frequency of the main operation rule; An audit module, configured to perform an audit operation on the business element based on the target secondary node to obtain a first audit result; The second determining module is used to determine the final audit result of the business to be audited based on the first audit result.
8. An electronic device comprising: one or more processors; a memory for storing one or more computer programs, It is characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
