Node circulation method and device of audit flow, electronic equipment and storage medium

By generating the starting node of the audit flow and determining the audit node configuration based on the audit information, the problem that the existing technology cannot effectively perform complex permission control is solved, and automatic and rapid product review process execution is achieved, which is suitable for the needs of the e-commerce industry.

CN119831515APending Publication Date: 2025-04-15VIPSHOP (GUANGZHOU) SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411773009.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The existing workflow framework cannot effectively carry out complex permission control and is difficult to apply to the approval process related to the e-commerce industry, especially for product review processes that are in the same role but participate in different activities.

Method used

By generating the starting node of the audit flow, the audit node configuration is determined based on the audit information, auditor, activity information and link mapping table, including the audit node and node circulation method, and the nodes are automatically flowed to execute the approval process.

Benefits of technology

It realizes automatic, fast and correct product review process execution, avoids the risk of the reviewer's mistaken selection of the audit process, and enriches the review process through link mapping tables, making it more suitable for the needs of the e-commerce industry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119831515A_ABST
    Figure CN119831515A_ABST
Patent Text Reader

Abstract

The invention provides a node circulation method and device of an audit flow, electronic equipment and a storage medium, and the method comprises the steps: generating an initial node of the audit flow according to the audit information of an activity commodity in response to the received audit information sent by a server system, the audit information comprising an audit key and commodity information corresponding to the activity commodity, the starting node information of the starting node comprises information of an examiner and activities; determining an auditing node configuration corresponding to the activity commodity according to an auditing person corresponding to the starting node, the activity information and a link mapping table, wherein the auditing node configuration comprises an auditing node and a node circulation mode; determining whether at least one intermediate node exists in the auditing nodes or not; if not, transferring the starting node to a terminal node in the auditing node; if yes, transferring the starting node to an intermediate node according to a node transferring mode; and in response to determining that the intermediate node passes the auditing, transferring the intermediate node to the end node. Activity commodity approval is realized through the transfer node, and the configuration of the auditing node is automatically determined, so that an auditor is prevented from selecting a wrong auditing process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of auditing, and in particular to a node transfer method, device, electronic device and storage medium of an audit flow. Background Art

[0002] In the existing product review process, if an employee, such as a business assistant, initiates an application, the system will then find the manager of the employee's superior department and push the approval task to the manager for review. After the manager's review is passed, the task will be pushed to the manager's superior, a director, for review. After the director's approval, the review will take effect. These workflow frameworks are all based on conventional business review processes, and they cannot perform complex permission control. Simple role grouping cannot be used to control the permission of workflow approval. For example, for the price review of a certain product, although the same role has the same grouping, the activities involved in the same product are different, and the final review process will also be different. Therefore, the existing workflow framework is difficult to apply to the approval process related to the e-commerce industry. Summary of the invention

[0003] Based on this, it is necessary to provide a node flow method, device, electronic device and storage medium for the review flow that can automatically, quickly and correctly execute the product review process in response to the above technical problems.

[0004] In a first aspect, a node transfer method of an audit flow is provided, wherein the method comprises:

[0005] In response to receiving the review information sent by the server system, generating a start node of the review flow according to the review information of the activity product, wherein the review information includes a review key and product information corresponding to the activity product, and the start node information of the start node includes the reviewer and activity information;

[0006] Determine the audit node configuration corresponding to the activity product according to the reviewer corresponding to the starting node, the activity information and the link mapping table, wherein the audit node configuration includes the audit node and the node transfer mode;

[0007] Determining whether there is at least one intermediate node in the audit node;

[0008] If not, the starting node is transferred to the ending node in the audit node;

[0009] If yes, transferring the starting node to the intermediate node according to the node transfer mode;

[0010] In response to determining that the intermediate node passes the audit, the intermediate node flow is transferred to the terminal node.

[0011] In one embodiment, generating a starting node corresponding to the activity product according to the review information includes:

[0012] In response to determining that the review key is the first key, determining that the reviewer is a business assistant;

[0013] In response to determining that the review key is the second key, the reviewer is determined to be a supplier.

[0014] In one embodiment, determining the audit node configuration corresponding to the activity product according to the reviewer corresponding to the starting node, the activity information and the link mapping table includes:

[0015] The link mapping table includes a plurality of key value sets, each of which includes a mapping key and a mapping value;

[0016] Traversing the multiple key value sets and determining a key value set in which the review key and the mapping key are the same from the multiple key value sets;

[0017] According to the activity information, a target key value set is determined from the key value set with the same review key and mapping key, and the audit node configuration is determined according to the target key value set.

[0018] In one embodiment, determining whether there is an intermediate node in the audit node includes:

[0019] In response to determining that the mapping value is empty, determining that the intermediate node does not exist in the audit node;

[0020] In response to determining that the mapping value is not empty, it is determined that the intermediate node exists in the audit node.

[0021] In one embodiment, transferring the starting node to the intermediate node according to the node transfer mode includes:

[0022] Sending the activity information to the reviewer corresponding to the intermediate node;

[0023] In response to receiving the first audit information returned by the auditor, determining whether the intermediate node has passed the audit according to the first audit information and the conditional expression corresponding to the intermediate node;

[0024] If so, determining whether there are other intermediate nodes according to the node transfer mode;

[0025] If not, the intermediate node flow is transferred to the rejection node.

[0026] In one embodiment, determining whether there are other intermediate nodes according to the node transfer mode includes:

[0027] If so, determining whether the other intermediate nodes have been approved according to the node transfer mode and the reviewers corresponding to the other intermediate nodes;

[0028] If not, the intermediate node flow is transferred to the terminal node.

[0029] In one embodiment, the determining whether the other intermediate nodes are approved according to the node transfer mode and the reviewers corresponding to the other intermediate nodes comprises:

[0030] In response to determining that the other intermediate nodes have passed the audit, transferring the flow of the other intermediate nodes to the terminal node;

[0031] In response to determining that the other intermediate nodes fail the review, the other intermediate nodes are transferred to the rejection node.

[0032] On the other hand, a node transfer device for an audit flow is also provided, characterized in that the device comprises:

[0033] A generating module, in response to receiving the review information sent by the server system, is used to generate a starting node of the review flow according to the review information of the activity product, wherein the review information includes a review key and product information corresponding to the activity product, and the starting node information of the starting node includes the reviewer and the activity information;

[0034] A determination module, used to determine the audit node configuration corresponding to the activity product according to the reviewer corresponding to the starting node, the activity information and the link mapping table, wherein the audit node configuration includes the audit node and the node transfer mode;

[0035] The determination module is further used to determine whether there is at least one intermediate node in the audit node;

[0036] A transfer module, used for transferring the start node to the end node in the audit node when there is no at least one intermediate node in the audit node;

[0037] The flow module is also used to transfer the starting node to the intermediate node according to the node flow mode when there is at least one intermediate node in the audit node, and transfer the intermediate node to the terminal node in response to determining that the intermediate node has passed the audit.

[0038] In one embodiment, the generating module generates a starting node corresponding to the activity product according to the review information, including:

[0039] In response to determining that the review key is the first key, determining that the reviewer is a business assistant;

[0040] In response to determining that the review key is the second key, the reviewer is determined to be a supplier.

[0041] In one embodiment, the determining module determines the audit node configuration corresponding to the activity product according to the reviewer corresponding to the starting node, the activity information and the link mapping table, including:

[0042] The link mapping table includes a plurality of key value sets, each of which includes a mapping key and a mapping value;

[0043] Traversing the multiple key value sets and determining a key value set in which the review key and the mapping key are the same from the multiple key value sets;

[0044] According to the activity information, a target key value set is determined from the key value set with the same review key and mapping key, and the audit node configuration is determined according to the target key value set.

[0045] In one embodiment, the determining module determines whether there is an intermediate node in the audit node, including:

[0046] In response to determining that the mapping value is empty, determining that the intermediate node does not exist in the audit node;

[0047] In response to determining that the mapping value is not empty, it is determined that the intermediate node exists in the audit node.

[0048] In one embodiment, the transfer module transfers the starting node to the intermediate node according to the node transfer mode, including:

[0049] Sending the activity information to the reviewer corresponding to the intermediate node;

[0050] In response to receiving the first audit information returned by the auditor, determining whether the intermediate node has passed the audit according to the first audit information and the conditional expression corresponding to the intermediate node;

[0051] If so, determining whether there are other intermediate nodes according to the node transfer mode;

[0052] If not, the intermediate node flow is transferred to the rejection node.

[0053] In one embodiment, the determining module determines whether there are other intermediate nodes according to the node transfer mode, including:

[0054] If so, determining whether the other intermediate nodes have been approved according to the node transfer mode and the reviewers corresponding to the other intermediate nodes;

[0055] If not, the intermediate node flow is transferred to the terminal node.

[0056] In one embodiment, the determining module determines whether the other intermediate nodes have been reviewed and approved according to the node transfer mode and the reviewer corresponding to the other intermediate nodes, and then includes:

[0057] In response to determining that the other intermediate nodes have passed the audit, transferring the flow of the other intermediate nodes to the terminal node;

[0058] In response to determining that the other intermediate nodes fail the review, the other intermediate nodes are transferred to the rejection node.

[0059] In another aspect, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:

[0060] In response to receiving the review information sent by the server system, generating a start node of the review flow according to the review information of the activity product, wherein the review information includes a review key and product information corresponding to the activity product, and the start node information of the start node includes the reviewer and activity information;

[0061] Determine the audit node configuration corresponding to the activity product according to the reviewer corresponding to the starting node, the activity information and the link mapping table, wherein the audit node configuration includes the audit node and the node transfer mode;

[0062] Determining whether there is at least one intermediate node in the audit node;

[0063] If not, the starting node is transferred to the ending node in the audit node;

[0064] If yes, transferring the starting node to the intermediate node according to the node transfer mode;

[0065] In response to determining that the intermediate node passes the audit, the intermediate node flow is transferred to the terminal node.

[0066] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0067] The generating of the starting node corresponding to the activity product according to the review information includes:

[0068] In response to determining that the review key is the first key, determining that the reviewer is a business assistant;

[0069] In response to determining that the review key is the second key, the reviewer is determined to be a supplier.

[0070] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0071] The step of determining the audit node configuration corresponding to the activity product according to the reviewer corresponding to the starting node, the activity information and the link mapping table includes:

[0072] The link mapping table includes a plurality of key value sets, each of which includes a mapping key and a mapping value;

[0073] Traversing the multiple key value sets and determining a key value set in which the review key and the mapping key are the same from the multiple key value sets;

[0074] According to the activity information, a target key value set is determined from the key value set with the same review key and mapping key, and the audit node configuration is determined according to the target key value set.

[0075] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0076] The determining whether there is an intermediate node in the audit node comprises:

[0077] In response to determining that the mapping value is empty, determining that the intermediate node does not exist in the audit node;

[0078] In response to determining that the mapping value is not empty, it is determined that the intermediate node exists in the audit node.

[0079] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0080] The transferring the starting node to the intermediate node according to the node transfer mode comprises:

[0081] Sending the activity information to the reviewer corresponding to the intermediate node;

[0082] In response to receiving the first audit information returned by the auditor, determining whether the intermediate node has passed the audit according to the first audit information and the conditional expression corresponding to the intermediate node;

[0083] If so, determining whether there are other intermediate nodes according to the node transfer mode;

[0084] If not, the intermediate node flow is transferred to the rejection node.

[0085] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0086] The determining whether there are other intermediate nodes according to the node transfer mode includes:

[0087] If so, determining whether the other intermediate nodes have been approved according to the node transfer mode and the reviewers corresponding to the other intermediate nodes;

[0088] If not, the intermediate node flow is transferred to the terminal node.

[0089] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0090] The step of determining whether the other intermediate nodes have been reviewed and approved according to the node transfer mode and the reviewers corresponding to the other intermediate nodes includes:

[0091] In response to determining that the other intermediate nodes have passed the audit, transferring the flow of the other intermediate nodes to the terminal node;

[0092] In response to determining that the other intermediate nodes fail the review, the other intermediate nodes are transferred to the rejection node.

[0093] In another aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0094] In response to receiving the review information sent by the server system, generating a start node of the review flow according to the review information of the activity product, wherein the review information includes a review key and product information corresponding to the activity product, and the start node information of the start node includes the reviewer and activity information;

[0095] Determine the audit node configuration corresponding to the activity product according to the reviewer corresponding to the starting node, the activity information and the link mapping table, wherein the audit node configuration includes the audit node and the node transfer mode;

[0096] Determining whether there is at least one intermediate node in the audit node;

[0097] If not, the starting node is transferred to the ending node in the audit node;

[0098] If yes, transferring the starting node to the intermediate node according to the node transfer mode;

[0099] In response to determining that the intermediate node passes the audit, the intermediate node flow is transferred to the terminal node.

[0100] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0101] The generating of the starting node corresponding to the activity product according to the review information includes:

[0102] In response to determining that the review key is the first key, determining that the reviewer is a business assistant;

[0103] In response to determining that the review key is the second key, the reviewer is determined to be a supplier.

[0104] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0105] The step of determining the audit node configuration corresponding to the activity product according to the reviewer corresponding to the starting node, the activity information and the link mapping table includes:

[0106] The link mapping table includes a plurality of key value sets, each of which includes a mapping key and a mapping value;

[0107] Traversing the multiple key value sets and determining a key value set in which the review key and the mapping key are the same from the multiple key value sets;

[0108] According to the activity information, a target key value set is determined from the key value set with the same review key and mapping key, and the audit node configuration is determined according to the target key value set.

[0109] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0110] The determining whether there is an intermediate node in the audit node comprises:

[0111] In response to determining that the mapping value is empty, determining that the intermediate node does not exist in the audit node;

[0112] In response to determining that the mapping value is not empty, it is determined that the intermediate node exists in the audit node.

[0113] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0114] The transferring the starting node to the intermediate node according to the node transfer mode comprises:

[0115] Sending the activity information to the reviewer corresponding to the intermediate node;

[0116] In response to receiving the first audit information returned by the auditor, determining whether the intermediate node has passed the audit according to the first audit information and the conditional expression corresponding to the intermediate node;

[0117] If so, determining whether there are other intermediate nodes according to the node transfer mode;

[0118] If not, the intermediate node flow is transferred to the rejection node.

[0119] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0120] The determining whether there are other intermediate nodes according to the node transfer mode includes:

[0121] If so, determining whether the other intermediate nodes have been approved according to the node transfer mode and the reviewers corresponding to the other intermediate nodes;

[0122] If not, the intermediate node flow is transferred to the terminal node.

[0123] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0124] The step of determining whether the other intermediate nodes have been reviewed and approved according to the node transfer mode and the reviewers corresponding to the other intermediate nodes includes:

[0125] In response to determining that the other intermediate nodes have passed the audit, transferring the flow of the other intermediate nodes to the terminal node;

[0126] In response to determining that the other intermediate nodes fail the review, the other intermediate nodes are transferred to the rejection node.

[0127] The node transfer method of the above-mentioned audit flow, in response to receiving the review information sent by the server system, generates the starting node of the audit flow according to the review information of the active commodity, wherein the review information includes the review key and the commodity information corresponding to the active commodity, and the starting node information of the starting node includes the reviewer and the activity information; determines the audit node configuration corresponding to the active commodity according to the reviewer corresponding to the starting node, the activity information and the link mapping table, wherein the audit node configuration includes the audit node and the node transfer mode; determines whether there is at least one intermediate node in the audit node; if not, transfers the starting node to the terminal node in the audit node; if so, transfers the starting node to the intermediate node according to the node transfer mode; in response to determining that the intermediate node is approved, transfers the intermediate node to the terminal node. The approval of the active commodity is performed more quickly in the node transfer mode and the corresponding audit node configuration is determined according to the commodity information, without the reviewer selecting the audit process and preventing the reviewer from selecting the wrong audit process; stores a variety of key value sets in the format of the link mapping table to enrich the audit process, so that the audit of the active commodity is detailed. BRIEF DESCRIPTION OF THE DRAWINGS

[0128] Figure 1 A schematic diagram of the steps of the node flow method for the audit flow;

[0129] Figure 2 A flowchart of the node transfer method for the audit flow;

[0130] Figure 3 This is a node example diagram of the starting node in the flow node;

[0131] Figure 4 This is a node example diagram of an intermediate node in a flow node;

[0132] Figure 5 A schematic diagram of a device for a node flow device for an audit flow;

[0133] Figure 6 1 is a diagram showing the internal structure of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION

[0134] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0135] In one embodiment, Figure 1 As shown, a node transfer method of an audit flow is provided, characterized in that the method includes:

[0136] S101, in response to receiving the review information sent by the server system, generating a start node of the review flow according to the review information of the activity product, wherein the review information includes a review key and product information corresponding to the activity product, and the start node information of the start node includes the reviewer and activity information;

[0137] S102, determining the audit node configuration corresponding to the activity product according to the reviewer corresponding to the starting node, the activity information and the link mapping table, wherein the audit node configuration includes the audit node and the node transfer mode;

[0138] S103, determining whether there is at least one intermediate node in the audit node;

[0139] S104, if not, transferring the start node flow to the end node in the audit node;

[0140] S105: If yes, transfer the starting node to the intermediate node according to the node transfer mode;

[0141] S106: In response to determining that the intermediate node passes the audit, transfer the intermediate node flow to the terminal node.

[0142] Specifically, in the review flow corresponding to the active product, the configuration method of review party + link mapping + conditional expression is used to separate configuration and execution. By adjusting the configuration, various business review flow node transfer requirements can be flexibly supported. Figure 2 As shown, in response to the activity product being submitted for review, the review flow is triggered. There are two types of activity product submissions: one is submitted by the business assistant and the other is submitted by the supplier. The generated start node contains the activity information corresponding to the product participating in the activity, such as the type of the expense bearing ratio and the corresponding gross profit margin. The bearRatioType is the expense bearing ratio type, such as [100% borne by the company], [100% borne by the supplier], [Deduction mode], etc. After selecting the expense bearing ratio type, the corresponding relationship between the gross profit margin and the deduction point of the activity product is also determined.

[0143] In one embodiment, generating a starting node corresponding to the activity product according to the review information includes:

[0144] In response to determining that the review key is the first key, determining that the reviewer is a business assistant;

[0145] In response to determining that the review key is the second key, the reviewer is determined to be a supplier.

[0146] Specifically, when a product is submitted for review, the configuration with key 1 in enrollSourceChainMap is taken, and the configuration with currentRole = 'supplier_helper' is filtered out, that is, the key is used to determine whether the reviewer is a supplier or a business assistant. If the key is 2, the reviewer is determined to be a supplier. Different reviewers have different corresponding review node configurations, that is, different keys have different corresponding values ​​(mapped values).

[0147] In one embodiment, determining the audit node configuration corresponding to the activity product according to the reviewer corresponding to the starting node, the activity information and the link mapping table includes:

[0148] The link mapping table includes a plurality of key value sets, each of which includes a mapping key and a mapping value;

[0149] Traversing the multiple key value sets and determining a key value set in which the review key and the mapping key are the same from the multiple key value sets;

[0150] According to the activity information, a target key value set is determined from the key value set with the same review key and mapping key, and the audit node configuration is determined according to the target key value set.

[0151] Specifically, the value corresponding to a key is an array, which contains multiple node configurations, for example, name":"[Operating Expenses] Supplier | Business Assistant - Activity Operation Review - Gross Profit Review","value":"19","id":"19","enrollSourceChainMap":{"1":[{ / / 1-Indicates that this is the approval flow used by business assistants to submit goods"currentRole":"supplier_helper","condition":"The proportion of responsibility type is supplier 100%,"nextStatus":2,"nextRole":"supplier"},{"currentRole":

[0152] "supplier","condition":"The review opinion is passed and the gross profit margin>deduction point","nextStatus":3,"nextRole":"budget_manager"}],As mentioned above, the array of the business assistant approval flow is {1,2,3}, and its corresponding review node configuration is business assistant-supplier-business manager; for example, "2":[{ / / 2-indicates that this is the approval flow for suppliers to submit goods"currentRole":"supplier","condition":"The proportion of responsibility is 100% borne by the supplier","nextStatus":4,"nextRole":""},{"currentRole":

[0153] "supplier","condition":"Gross profit margin > deduction point","nextStatus":2,"nextRole":

[0154] "supplier_helper", that is, the array of the supplier approval flow is {2,4}, and its corresponding review node configuration is the supplier. At this time, there is no intermediate node in the corresponding review node configuration and only one terminal node, which means that after the supplier submits the product, it does not need to be reviewed by the reviewer in the intermediate node and is directly approved.

[0155] In one embodiment, determining whether there is an intermediate node in the audit node includes:

[0156] In response to determining that the mapping value is empty, determining that the intermediate node does not exist in the audit node;

[0157] In response to determining that the mapping value is not empty, it is determined that the intermediate node exists in the audit node.

[0158] Specifically, when the product is submitted for review, the configuration with key 1 in enrollSourceChainMap is taken, and the configuration with currentRole = 'supplier_helper' is filtered out; the configuration is traversed to determine whether the condition meets the condition - if it meets the condition, it indicates the next status and review role (nextStatus, nextRole) of the supplier of the product. At this time, the product flows to the supplier for review: 1. When the supplier reviews, because the product is submitted by the business assistant, the configuration with key 1 in enrollSourceChainMap is also taken, and the configuration with currentRole = "supplier" is filtered out. 2. The configuration is traversed to determine whether the condition meets the condition - if it meets the condition, it indicates the next status and review role (nextStatus, nextRole) of the supplier of the product. When the target key value set contains only one key and no value, it is determined that there is no intermediate node in the review node at this time, indicating that the active product does not need to be reviewed by the reviewer in the intermediate node after the supplier submits it, and the start node is directly transferred to the end node.

[0159] In one embodiment, transferring the starting node to the intermediate node according to the node transfer mode includes:

[0160] Sending the activity information to the reviewer corresponding to the intermediate node;

[0161] In response to receiving the first audit information returned by the auditor, determining whether the intermediate node has passed the audit according to the first audit information and the conditional expression corresponding to the intermediate node;

[0162] If so, determining whether there are other intermediate nodes according to the node transfer mode;

[0163] If not, the intermediate node flow is transferred to the rejection node.

[0164] Specifically, Figure 3 As shown in, this is a node example diagram of the starting node; Figure 4As shown, it is a node example diagram of the intermediate node. Taking the audit node configuration of business assistant-supplier-business manager as an example, the business assistant first reviews the activity goods, and the system generates the corresponding starting node. For example, the proportion type is 1-deduction point\x mode, and the corresponding relationship between gross profit margin and deduction point is that gross profit margin is less than deduction point. Then the starting node is transferred to node 007 for review by the supplier; if the supplier passes the review; then the intermediate node is transferred to node 003 for review by the business manager. If the business manager fails the review, the intermediate node is transferred to node 006, which is the rejection node; if the business manager passes the review, the intermediate node can be transferred to node 999, which is the end node.

[0165] In one embodiment, determining whether there are other intermediate nodes according to the node transfer mode includes:

[0166] If so, determining whether the other intermediate nodes have been approved according to the node transfer mode and the reviewers corresponding to the other intermediate nodes;

[0167] If not, the intermediate node flow is transferred to the terminal node.

[0168] Specifically, as described above, if the starting node flows to node 007, determine whether there are other intermediate nodes in the review node. If so, transfer the intermediate node to the next intermediate node until all intermediate nodes are reviewed and passed. If one of the intermediate nodes fails the review, transfer the intermediate node to the rejection node 006; if there are no other intermediate nodes, transfer the intermediate node to the terminal node 999.

[0169] In one embodiment, the determining whether the other intermediate nodes are approved according to the node transfer mode and the reviewers corresponding to the other intermediate nodes comprises:

[0170] In response to determining that the other intermediate nodes have passed the audit, transferring the flow of the other intermediate nodes to the terminal node;

[0171] In response to determining that the other intermediate nodes fail the review, the other intermediate nodes are transferred to the rejection node.

[0172] Specifically, as described above, after the starting node of the activity product is generated, the starting node will eventually flow to either the rejection node or the terminal node. In addition, the target key value set and the corresponding audit node configuration are determined according to the mapping key and the mapping value; and the node to flow to is determined according to the corresponding reviewer in the audit node, whether it flows to the next intermediate node, the rejection node or the terminal node.

[0173] The solution of this application has the following beneficial effects:

[0174] 1) The approval of active products is carried out more quickly in the form of node circulation, and the corresponding review node configuration is determined according to the product information, without the need for the reviewer to select the review process and preventing the reviewer from selecting the wrong review process;

[0175] 2) Storing multiple key-value sets in the format of a link mapping table enriches the review process and makes the review of promotional products more detailed.

[0176] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0177] In one embodiment, Figure 5 As shown, a node transfer device for an audit flow is also provided, characterized in that the device comprises:

[0178] A generating module 501, in response to receiving the review information sent by the server system, is used to generate a starting node of the review flow according to the review information of the activity product, wherein the review information includes a review key and product information corresponding to the activity product, and the starting node information of the starting node includes the reviewer and the activity information;

[0179] A determination module 502 is used to determine the audit node configuration corresponding to the activity product according to the reviewer corresponding to the start node, the activity information and the link mapping table, wherein the audit node configuration includes the audit node and the node transfer mode;

[0180] The determination module 502 is further used to determine whether there is at least one intermediate node in the audit node;

[0181] A transfer module 503, configured to transfer the start node to a terminal node in the audit node when there is no at least one intermediate node in the audit node;

[0182] The transfer module 503 is also used to transfer the starting node to the intermediate node according to the node transfer mode when there is at least one intermediate node in the audit node, and transfer the intermediate node to the terminal node in response to determining that the intermediate node has passed the audit.

[0183] In one embodiment, the generating module generates a starting node corresponding to the activity product according to the review information, including:

[0184] In response to determining that the review key is the first key, determining that the reviewer is a business assistant;

[0185] In response to determining that the review key is the second key, the reviewer is determined to be a supplier.

[0186] In one embodiment, the determining module determines the audit node configuration corresponding to the activity product according to the reviewer corresponding to the starting node, the activity information and the link mapping table, including:

[0187] The link mapping table includes a plurality of key value sets, each of which includes a mapping key and a mapping value;

[0188] Traversing the multiple key value sets and determining a key value set in which the review key and the mapping key are the same from the multiple key value sets;

[0189] According to the activity information, a target key value set is determined from the key value set with the same review key and mapping key, and the audit node configuration is determined according to the target key value set.

[0190] In one embodiment, the determining module determines whether there is an intermediate node in the audit node, including:

[0191] In response to determining that the mapping value is empty, determining that the intermediate node does not exist in the audit node;

[0192] In response to determining that the mapping value is not empty, it is determined that the intermediate node exists in the audit node.

[0193] In one embodiment, the transfer module transfers the starting node to the intermediate node according to the node transfer mode, including:

[0194] Sending the activity information to the reviewer corresponding to the intermediate node;

[0195] In response to receiving the first audit information returned by the auditor, determining whether the intermediate node has passed the audit according to the first audit information and the conditional expression corresponding to the intermediate node;

[0196] If so, determining whether there are other intermediate nodes according to the node transfer mode;

[0197] If not, the intermediate node flow is transferred to the rejection node.

[0198] In one embodiment, the determining module determines whether there are other intermediate nodes according to the node transfer mode, including:

[0199] If so, determining whether the other intermediate nodes have been approved according to the node transfer mode and the reviewers corresponding to the other intermediate nodes;

[0200] If not, the intermediate node flow is transferred to the terminal node.

[0201] In one embodiment, the determining module determines whether the other intermediate nodes have been reviewed and approved according to the node transfer mode and the reviewer corresponding to the other intermediate nodes, and then includes:

[0202] In response to determining that the other intermediate nodes have passed the audit, transferring the flow of the other intermediate nodes to the terminal node;

[0203] In response to determining that the other intermediate nodes fail the review, the other intermediate nodes are transferred to the rejection node.

[0204] For the specific definition of the node transfer device of the audit flow, please refer to the definition of the node transfer method of the audit flow above, which will not be repeated here. Each module in the above-mentioned node transfer device of the audit flow can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0205] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 6As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the alarm information processing method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0206] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0207] In one embodiment, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:

[0208] In response to receiving the review information sent by the server system, generating a start node of the review flow according to the review information of the activity product, wherein the review information includes a review key and product information corresponding to the activity product, and the start node information of the start node includes the reviewer and activity information;

[0209] Determine the audit node configuration corresponding to the activity product according to the reviewer corresponding to the starting node, the activity information and the link mapping table, wherein the audit node configuration includes the audit node and the node transfer mode;

[0210] Determining whether there is at least one intermediate node in the audit node;

[0211] If not, the starting node is transferred to the ending node in the audit node;

[0212] If yes, transferring the starting node to the intermediate node according to the node transfer mode;

[0213] In response to determining that the intermediate node passes the audit, the intermediate node flow is transferred to the terminal node.

[0214] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0215] The generating of the starting node corresponding to the activity product according to the review information includes:

[0216] In response to determining that the review key is the first key, determining that the reviewer is a business assistant;

[0217] In response to determining that the review key is the second key, the reviewer is determined to be a supplier.

[0218] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0219] The step of determining the audit node configuration corresponding to the activity product according to the reviewer corresponding to the starting node, the activity information and the link mapping table includes:

[0220] The link mapping table includes a plurality of key value sets, each of which includes a mapping key and a mapping value;

[0221] Traversing the multiple key value sets and determining a key value set in which the review key and the mapping key are the same from the multiple key value sets;

[0222] According to the activity information, a target key value set is determined from the key value set with the same review key and mapping key, and the audit node configuration is determined according to the target key value set.

[0223] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0224] The determining whether there is an intermediate node in the audit node comprises:

[0225] In response to determining that the mapping value is empty, determining that the intermediate node does not exist in the audit node;

[0226] In response to determining that the mapping value is not empty, it is determined that the intermediate node exists in the audit node.

[0227] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0228] The transferring the starting node to the intermediate node according to the node transfer mode comprises:

[0229] Sending the activity information to the reviewer corresponding to the intermediate node;

[0230] In response to receiving the first audit information returned by the auditor, determining whether the intermediate node has passed the audit according to the first audit information and the conditional expression corresponding to the intermediate node;

[0231] If so, determining whether there are other intermediate nodes according to the node transfer mode;

[0232] If not, the intermediate node flow is transferred to the rejection node.

[0233] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0234] The determining whether there are other intermediate nodes according to the node transfer mode includes:

[0235] If so, determining whether the other intermediate nodes have been approved according to the node transfer mode and the reviewers corresponding to the other intermediate nodes;

[0236] If not, the intermediate node flow is transferred to the terminal node.

[0237] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0238] The step of determining whether the other intermediate nodes have been reviewed and approved according to the node transfer mode and the reviewers corresponding to the other intermediate nodes includes:

[0239] In response to determining that the other intermediate nodes have passed the audit, transferring the flow of the other intermediate nodes to the terminal node;

[0240] In response to determining that the other intermediate nodes fail the review, the other intermediate nodes are transferred to the rejection node.

[0241] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0242] In response to receiving the review information sent by the server system, generating a start node of the review flow according to the review information of the activity product, wherein the review information includes a review key and product information corresponding to the activity product, and the start node information of the start node includes the reviewer and activity information;

[0243] Determine the audit node configuration corresponding to the activity product according to the reviewer corresponding to the starting node, the activity information and the link mapping table, wherein the audit node configuration includes the audit node and the node transfer mode;

[0244] Determining whether there is at least one intermediate node in the audit node;

[0245] If not, the starting node is transferred to the ending node in the audit node;

[0246] If yes, transferring the starting node to the intermediate node according to the node transfer mode;

[0247] In response to determining that the intermediate node passes the audit, the intermediate node flow is transferred to the terminal node.

[0248] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0249] The generating of the starting node corresponding to the activity product according to the review information includes:

[0250] In response to determining that the review key is the first key, determining that the reviewer is a business assistant;

[0251] In response to determining that the review key is the second key, the reviewer is determined to be a supplier.

[0252] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0253] The step of determining the audit node configuration corresponding to the activity product according to the reviewer corresponding to the starting node, the activity information and the link mapping table includes:

[0254] The link mapping table includes a plurality of key value sets, each of which includes a mapping key and a mapping value;

[0255] Traversing the multiple key value sets and determining a key value set in which the review key and the mapping key are the same from the multiple key value sets;

[0256] According to the activity information, a target key value set is determined from the key value set with the same review key and mapping key, and the audit node configuration is determined according to the target key value set.

[0257] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0258] The determining whether there is an intermediate node in the audit node comprises:

[0259] In response to determining that the mapping value is empty, determining that the intermediate node does not exist in the audit node;

[0260] In response to determining that the mapping value is not empty, it is determined that the intermediate node exists in the audit node.

[0261] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0262] The transferring the starting node to the intermediate node according to the node transfer mode comprises:

[0263] Sending the activity information to the reviewer corresponding to the intermediate node;

[0264] In response to receiving the first audit information returned by the auditor, determining whether the intermediate node has passed the audit according to the first audit information and the conditional expression corresponding to the intermediate node;

[0265] If so, determining whether there are other intermediate nodes according to the node transfer mode;

[0266] If not, the intermediate node flow is transferred to the rejection node.

[0267] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0268] The determining whether there are other intermediate nodes according to the node transfer mode includes:

[0269] If so, determining whether the other intermediate nodes have been approved according to the node transfer mode and the reviewers corresponding to the other intermediate nodes;

[0270] If not, the intermediate node flow is transferred to the terminal node.

[0271] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0272] The step of determining whether the other intermediate nodes have been reviewed and approved according to the node transfer mode and the reviewers corresponding to the other intermediate nodes includes:

[0273] In response to determining that the other intermediate nodes have passed the audit, transferring the flow of the other intermediate nodes to the terminal node;

[0274] In response to determining that the other intermediate nodes fail the review, the other intermediate nodes are transferred to the rejection node.

[0275] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0276] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0277] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A node transfer method for an audit flow, characterized in that: The method comprises: In response to receiving the review information sent by the server system, generating a start node of the review flow according to the review information of the activity product, wherein the review information includes a review key and product information corresponding to the activity product, and the start node information of the start node includes the reviewer and activity information; Determine the audit node configuration corresponding to the activity product according to the reviewer corresponding to the starting node, the activity information and the link mapping table, wherein the audit node configuration includes the audit node and the node transfer mode; Determining whether there is at least one intermediate node in the audit node; If not, the starting node is transferred to the ending node in the audit node; If yes, transferring the starting node to the intermediate node according to the node transfer mode; In response to determining that the intermediate node passes the audit, the intermediate node flow is transferred to the terminal node.

2. The method according to claim 1, characterized in that The generating of the starting node corresponding to the activity product according to the review information includes: In response to determining that the review key is the first key, determining that the reviewer is a business assistant; In response to determining that the review key is the second key, the reviewer is determined to be a supplier.

3. The method according to claim 1, characterized in that The step of determining the audit node configuration corresponding to the activity product according to the reviewer corresponding to the starting node, the activity information and the link mapping table includes: The link mapping table includes a plurality of key value sets, each of which includes a mapping key and a mapping value; Traversing the multiple key value sets and determining a key value set in which the review key and the mapping key are the same from the multiple key value sets; According to the activity information, a target key value set is determined from the key value set with the same review key and mapping key, and the audit node configuration is determined according to the target key value set.

4. The method according to claim 3, characterized in that The determining whether there is an intermediate node in the audit node comprises: In response to determining that the mapping value is empty, determining that the intermediate node does not exist in the audit node; In response to determining that the mapping value is not empty, it is determined that the intermediate node exists in the audit node.

5. The method according to claim 1, characterized in that The transferring the starting node to the intermediate node according to the node transfer mode comprises: Sending the activity information to the reviewer corresponding to the intermediate node; In response to receiving the first audit information returned by the auditor, determining whether the intermediate node has passed the audit according to the first audit information and the conditional expression corresponding to the intermediate node; If so, determining whether there are other intermediate nodes according to the node transfer mode; If not, the intermediate node flow is transferred to the rejection node.

6. The method according to claim 5, characterized in that The determining whether there are other intermediate nodes according to the node transfer mode includes: If so, determining whether the other intermediate nodes have been approved according to the node transfer mode and the reviewers corresponding to the other intermediate nodes; If not, the intermediate node flow is transferred to the terminal node.

7. The method according to claim 6, characterized in that The step of determining whether the other intermediate nodes have been reviewed and approved according to the node transfer mode and the reviewers corresponding to the other intermediate nodes includes: In response to determining that the other intermediate nodes have passed the audit, transferring the flow of the other intermediate nodes to the terminal node; In response to determining that the other intermediate nodes fail the review, the other intermediate nodes are transferred to the rejection node.

8. A node transfer device for audit flow, characterized in that: The device comprises: A generating module, in response to receiving the review information sent by the server system, is used to generate a starting node of the review flow according to the review information of the activity product, wherein the review information includes a review key and product information corresponding to the activity product, and the starting node information of the starting node includes the reviewer and the activity information; A determination module, used to determine the audit node configuration corresponding to the activity product according to the reviewer corresponding to the starting node, the activity information and the link mapping table, wherein the audit node configuration includes the audit node and the node transfer mode; The determination module is further used to determine whether there is at least one intermediate node in the audit node; A transfer module, used for transferring the start node to the end node in the audit node when there is no at least one intermediate node in the audit node; The flow module is also used to transfer the starting node to the intermediate node according to the node flow mode when there is at least one intermediate node in the audit node, and transfer the intermediate node to the terminal node in response to determining that the intermediate node has passed the audit.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.