Campus canteen procurement order splitting risk identification method and system based on heterogeneous graph
By constructing a heterogeneous graph and extracting risk features, the risk of splitting purchase orders for school canteens is identified, solving the identification problem in existing technologies and achieving a more efficient regulatory effect.
Patent Information
- Application Number
- CN202611113421.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-26
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies struggle to identify the risks associated with splitting school cafeteria procurement orders, especially anomalies in combinations of cross-order, cross-entity, and cross-document matching key links, which increases the difficulty of supervision.
A heterogeneous graph-based approach is used to construct a heterogeneous relationship graph for procurement. By extracting risk features and scoring risks, potential order splitting risks are identified, and a clear list of risk paths and evidence features is generated.
It improves the automation, accuracy, and interpretability of campus canteen procurement supervision, and can identify hidden risks of cross-table, cross-entity, and cross-time splitting, reducing the unexplainable compliance risks of the black-box model.
Smart Images

Figure CN123140618A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of graph data analysis technology, specifically to a method and system for identifying risks in splitting campus canteen procurement orders based on heterogeneous graphs. Background Technology
[0002] School cafeteria procurement is typically characterized by high purchase frequency, diverse food categories, numerous suppliers, dispersed transaction amounts, and cross-system flow of acceptance and payment. In actual supervision, some procurement risks do not manifest as abnormal single purchase amounts, but rather are hidden in the combination of multiple orders. For example, the same supplier may receive multiple orders with amounts slightly below the approval threshold within a short period; the same person may repeatedly purchase the same type of food within a similar timeframe; the same batch of procurement transactions may be split into multiple orders, acceptance slips, or payment slips to circumvent centralized procurement, price comparison, approval, or contract filing requirements.
[0003] Existing procurement oversight solutions largely rely on manual spot checks, fixed reports, or single-table rule verification, typically only identifying explicit issues such as single-item overruns or missing document matching keys. Because procurement splitting involves multiple stakeholders and relationships—orders, suppliers, handlers, food categories, approval thresholds, adaptive windows, acceptance slips, and payment slips—relying solely on isolated fields in relational tables is insufficient to identify combined anomalies across orders, stakeholders, and document matching keys. Therefore, methods for identifying risks associated with splitting procurement orders in school cafeterias require further improvement. Summary of the Invention
[0004] This application aims to address at least one of the technical problems existing in the prior art, such as coarse granularity in identifying risks associated with splitting purchase orders, insufficient utilization of cross-entity relationships, delayed detection of approval threshold circumvention behaviors, and weak interpretability of document matching key links. To this end, this application proposes a method and system for identifying risks associated with splitting purchase orders in campus canteens based on heterogeneous graphs. From the perspective of multiple relationship paths, it accurately identifies the risks of splitting and circumventing purchase orders hidden in the procurement network, thereby improving the automation, accuracy, and interpretability of campus canteen procurement supervision.
[0005] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.
[0006] According to a first aspect of this application, a method for risk identification in campus cafeteria procurement order splitting based on heterogeneous graphs is provided, including: If the cumulative order amount of the same group field within the adaptive window is greater than or equal to the corresponding approval threshold, and all purchase amounts are lower than the preset threshold, then all orders corresponding to the same group field have the potential risk of order splitting. Construct a procurement heterogeneous relationship graph for all orders corresponding to the same grouping field, and extract risk features based on the procurement heterogeneous relationship graph; Based on the aforementioned risk characteristics, order-level risk scores, adaptive window-level risk scores, and subject-level risk scores are obtained. Based on the order-level risk score, the adaptive window-level risk score, and the subject-level risk score, high-risk orders, high-risk adaptive windows, and high-risk subjects are selected respectively. Based on the procurement heterogeneous relationship graph, the high-risk orders, high-risk adaptive windows, and high-risk subjects are backtracked to generate risk paths and evidence feature lists.
[0007] According to a second aspect of this application, a risk identification system for splitting campus cafeteria procurement orders based on heterogeneous graphs is provided, comprising: The risk potential identification module is used to identify all orders corresponding to the same group field as having the potential for order splitting if the cumulative order amount of the same group field within the adaptive window is greater than or equal to the corresponding approval threshold, and all purchase amounts are lower than the preset threshold. The risk feature acquisition module is used to construct a procurement heterogeneous relationship graph for all orders corresponding to the same grouping field, and extract risk features based on the procurement heterogeneous relationship graph; The risk scoring acquisition module is used to acquire order-level risk scores, adaptive window-level risk scores, and subject-level risk scores based on the risk characteristics. The risk path and evidence acquisition module is used to filter high-risk orders, high-risk adaptive windows, and high-risk entities based on the order-level risk score, the adaptive window-level risk score, and the subject-level risk score, respectively. Based on the procurement heterogeneous relationship graph, the module backtracks the high-risk orders, high-risk adaptive windows, and high-risk entities to generate a risk path and evidence feature list.
[0008] The beneficial effects of this application are as follows: The method and system for identifying risks associated with the splitting of campus canteen procurement orders based on heterogeneous graphs provided in this application unifies the links of orders, suppliers, handlers, food categories, adaptive windows, approval thresholds, and document matching keys into a heterogeneous graph. This effectively identifies hidden splitting risks across tables, entities, and time periods, breaking down data silos. Furthermore, it deeply integrates fixed compliance rules with graph structure anomaly scoring, ensuring both the absolute controllability of audit rules and leveraging the graph model's ability to discover complex and hidden anomalies. By outputting clear risk paths and evidence feature explanation lists, it greatly facilitates business review by regulatory personnel and reduces compliance risks arising from the unexplainable nature of black-box models. In addition, it can create multi-layered, three-dimensional risk profiles at the order level, adaptive window level, and entity level for high-frequency, low-amount procurement scenarios in campus canteens.
[0009] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and do not limit this application. Attached Figure Description
[0010] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0011] Figure 1 This is a flowchart of a method for identifying risks in splitting campus canteen procurement orders based on heterogeneous graphs, according to the present invention. Figure 2 This is a schematic diagram of the heterogeneous relationship graph structure of the campus canteen procurement order splitting risk identification method based on heterogeneous graphs according to the present invention; Figure 3 This invention provides a flowchart for the risk scoring and interpretation generation of a campus canteen procurement order splitting risk identification method based on heterogeneous graphs. Figure 4 This is a schematic diagram illustrating the integrity verification of the order-acceptance-payment link in a campus canteen procurement order splitting risk identification method based on heterogeneous graphs according to the present invention. Figure 5 This is a schematic diagram of a campus canteen procurement order splitting risk identification system based on heterogeneous graphs according to the present invention; Figure 6 This is a schematic diagram of an electronic device according to the present invention. Detailed Implementation
[0012] The technical solutions of this application will be clearly and completely described below with reference to the embodiments. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0013] According to the first aspect of this application, Figure 1 As shown, this embodiment provides a method for risk identification in campus canteen procurement order splitting based on heterogeneous graphs. It adopts a closed-loop architecture of "data aggregation—standardization—heterogeneous graph modeling—feature extraction—risk scoring—path interpretation," including: Step S1: If the cumulative order amount of the same group field in the adaptive window is greater than or equal to the corresponding approval threshold, and all purchase amounts are lower than the preset threshold, then all orders corresponding to the same group field have the potential risk of order splitting.
[0014] In some implementations of this embodiment, such as Figure 2 As shown, procurement data for the school canteen is collected from the procurement management system, supplier management system, approval system, warehousing and acceptance system, financial payment system, and historical audit ledgers. This procurement data includes at least purchase orders, suppliers, handlers, approvers, food categories, purchase amounts, purchase times, approval thresholds, budget items, acceptance slips, warehousing records, payment slips, and historical compliance handling records. In this embodiment, the set of purchase orders is denoted as... The procurement data is standardized to generate a unified entity identifier, a standard value for procurement amount, a food category code, a set of document matching keys, and an adaptive window set. The supplier set is denoted as... The personnel in charge are recorded as follows: The set of food categories is denoted as The adaptive window set is denoted as The set of approval thresholds is denoted as The set of document matching keys is denoted as For any order The purchase amount is recorded as The unit is yuan; the time of purchase is recorded as follows: Suppliers are denoted as The person in charge recorded as The food category is recorded as The corresponding approval threshold is recorded as follows: .
[0015] Data standardization and adaptive window generation. Multi-source data is cleaned and standardized. An adaptive window is used to characterize the combined behavior of multiple orders within a short period. The adaptive window is dynamically determined based on the order interval; when the time interval between adjacent orders from the same supplier, the same handler, or the same food category is less than a preset interval... At that time, the batch of orders will be merged into a single adaptive window. Adaptive window The order set within is denoted as .
[0016]
[0017] in, Indicates adaptive window Cumulative amount of domestic orders; if If an order reaches or exceeds the corresponding approval threshold but all individual orders are below the threshold, then the adaptive window has the potential risk of order splitting.
[0018] Step S2: Construct a procurement heterogeneous relationship graph for all orders corresponding to the same grouping field, and extract risk features based on the procurement heterogeneous relationship graph.
[0019] In some implementations of this embodiment, constructing a heterogeneous procurement relationship graph for all orders corresponding to the same grouping field includes: A heterogeneous procurement relationship graph is constructed based on the standardized procurement business data. The heterogeneous procurement relationship graph includes order nodes, supplier nodes, handler nodes, food category nodes, adaptive window nodes, approval threshold nodes, and document matching key nodes. The edge set includes the correlation between each pair of nodes. The original path is generated based on the heterogeneous relationship graph. The order embedding vector is obtained by aggregating the neighborhood representation based on the meta-path. :
[0020] in, to This indicates the six preset business element paths; Indicates order Along the first Metapath The neighborhood feature representation obtained by aggregation This represents a vector concatenation operation; The neighborhood feature is represented as follows:
[0021] in, Indicates order Along the metapath The set of reachable neighboring nodes Representing neighboring nodes eigenvectors, Use mean aggregation, weighted sum aggregation, or attention aggregation; Path backtracking is performed based on order embedding vectors to generate a list of risk paths and evidence features.
[0022] Specifically, the six types of metapaths can be defined as follows: P1: Order → Supplier → Order This represents the order neighborhood associated with the same supplier, used to characterize whether there are multiple orders with similar amounts and times from the same supplier.
[0023] P2: Order → Person in Charge → Order This indicates the order neighborhood associated with the same person, used to characterize whether the person handles similar purchase orders continuously or in a concentrated manner.
[0024] P3: Orders → Ingredient Categories → Orders This represents the order neighborhood associated with the same food category, used to characterize whether there are duplicate or split purchases of the same type of food.
[0025] P4: Orders → Adaptive Window → Orders This represents the order neighborhood within the same adaptive window, used to depict the phenomenon of multiple orders clustering together within a short period of time.
[0026] P5: Order → Acceptance Form → Payment Form This represents the neighborhood of the order to acceptance and payment chain, used to depict chain anomalies such as missing acceptance slips, missing payment slips, and inconsistencies in amount and quantity.
[0027] P6: Order → Supplier → Payee → Payment Slip This represents the payment link neighborhood between the supplier and the payee, used to characterize whether the payee and the supplier are the same entity.
[0028] In this embodiment, the procurement business data is standardized, including: The supplier's name, unified social credit code, payment account, and contact information are standardized. The identification of the person in charge, approver, and inspector shall be standardized; Generate a unified amount field for the purchase amount, categorizing it into tax-inclusive amount, tax-exclusive amount, discount amount, and payment amount. The food categories are hierarchically coded according to the pre-set campus canteen food classification system; Establish document matching keys for orders, acceptance forms, warehouse entry records, and payment slips. The document matching keys shall include at least the order number, supplier identifier, food category, amount range, and date adaptive window.
[0029] In some embodiments of this example, the risk characteristics include the closeness of order amount to approval order amount and approval threshold, clusters of orders with similar amounts, supplier concentration, strength of association between handlers, and abnormal link integrity. The order amount's proximity to the approval threshold is used to measure risk avoidance through splitting orders that are below but close to the approval threshold, and is calculated as follows:
[0030] in, Indicates order and orders Corresponding approval threshold The degree to which the order amount is close to the approved order amount and the approval threshold. Indicates order The amount of the purchase, The threshold proximity bandwidth coefficient is defined as follows: the order amount and the proximity of the approved order amount to the approval threshold range from 0 to 1. The larger the value, the closer the order amount is to the approval threshold but has not yet reached it. The indicative function is used to limit the case where the order amount is lower than the approval threshold, and the threshold proximity bandwidth coefficient is greater than 0.
[0031] The clusters of orders with similar amounts are obtained through joint similarity, calculated using the following formula:
[0032] in, Indicates order and orders Clusters of orders with similar amounts Indicates order Purchase amount, and These represent orders. and orders The time of the procurement This represents an approximate indicator function for food categories. and These represent orders. and orders The categories of ingredients; when and When they are the same, or belong to the same superior category in the preset food classification system, ;otherwise, , , and These represent the non-negative weights for amount, time, and similarity of food categories, respectively. and These represent the monetary scale parameter and the time scale parameter, respectively, both of which are greater than 0.
[0033] The supplier concentration ratio refers to the percentage of a supplier's revenue within a statistical time window. The Herfindahl concentration index is calculated using the following formula:
[0034]
[0035] in, Indicates supplier concentration. express, Represents the set of suppliers. Indicates time window Total amount of domestic orders For the first An adaptive window, Indicates supplier In the window The order amount within this window accounts for a percentage of the total order amount in this window. The proportion.
[0036] The formula for calculating the affinity strength of the person in charge is as follows:
[0037]
[0038]
[0039]
[0040]
[0041] in, Indicates the person in charge Suppliers within the adaptive window The correlation strength characteristics of related orders Indicates the person in charge Supplier handling within the adaptive window The common frequency characteristics of related orders, Indicates the person in charge Suppliers within the adaptive window The characteristics of the proportion of related order amounts, Indicates the person in charge Suppliers within the adaptive window The continuous processing characteristics of related orders, Indicates the person in charge Suppliers within the adaptive window The approval paths for related orders are duplicated. , , , These represent the weight coefficients for the common occurrence frequency feature, the amount proportion feature, the continuous processing feature, and the repeated approval path feature, respectively. Indicates the person in charge Suppliers within the adaptive window Number of related orders Indicates the person in charge Supplier handling within the adaptive window Number of related orders Indicates the person in charge Supplier handling within the adaptive window The cumulative amount of related orders, Indicates the person in charge Suppliers within the adaptive window The cumulative amount of related orders, Indicates the person in charge Continuing Supplier The longest consecutive days for related orders, This indicates the maximum number of consecutive days preset or the maximum number of consecutive days in historical samples. Indicates the person in charge Suppliers in charge When considering related orders, the number of orders in which the combination of approver, acceptor, payment path, or approval process node appears repeatedly; Indicates the person in charge Suppliers in charge Total number of related orders.
[0042] The link integrity anomaly includes monetary discrepancy rate and quantity discrepancy rate, calculated using the following formulas:
[0043] in, Indicates order The rate of difference in amount, Indicates order Quantity difference rate, Indicates order Standardized procurement amount; Indicates order The actual payment amount in the matched payment order, if there are multiple payments, is the sum of the corresponding payment amounts; Indicates order The purchase quantity recorded in the order should be calculated separately for each item or converted to a unified unit of measurement and then summed. Indicates order The actual quantity received or stored in the matched acceptance form or storage record is used. If multiple acceptance forms or storage records exist, the sum of the corresponding confirmed quantities is taken. Link integrity anomalies include abnormal amount discrepancies and abnormal quantity discrepancies. If the difference rate exceeds the preset threshold, an abnormal difference rate is generated. When the quantity difference rate exceeds the preset threshold, an abnormal quantity difference rate feature is generated; when no payment order, acceptance order, or warehousing record is matched, the link integrity abnormality value is 1.
[0044] Step S3: Obtain order-level risk scores, adaptive window-level risk scores, and subject-level risk scores based on the risk characteristics.
[0045] In some implementations of this embodiment, such as Figure 3As shown, the order-level risk score is obtained by weighted fusion of the compliance rule risk score, graph structure anomaly risk score, document link risk score, and historical anomaly risk prior score. The calculation formula is as follows:
[0046] in, , , , This represents the non-negative fusion weights, and , Indicates order Compliance rule risk score, Indicates order The graph structure anomaly risk score, Indicates order Document link risk scoring, Indicates order Prior score for historical anomaly risks.
[0047] In this embodiment, the formula for calculating the compliance rule risk score is:
[0048] in, This represents a pre-defined set of compliance rules. This represents any compliance rule in the rule set. Representation rules Severity weighting Indicates order On the rules The hit status, Indicates order On the rules The degree of feature exceeding the limit, Indicates order Compliance rule risk score; The formula for calculating the hit status is: ; The formula for calculating the degree of feature exceeding the limit is:
[0049] in, Indicates order In the rules The corresponding risk characteristic value, when the rule When the threshold is close to the rule, When the rules When setting rules for order clusters with similar amounts, , Indicates order Orders within the same adaptive window or with the same risk subject, where the risk subject is the supplier, the person in charge, or the food category. Representation rules The preset trigger threshold, This represents a very small constant to prevent the denominator from being zero; The formula for calculating severity weights is:
[0050] in, Representation rules The original severity level or manually configured weights, Representation rules The original severity level or manually configured weights.
[0051] In this embodiment, the formula for calculating the graph structure anomaly risk score is as follows:
[0052] in, , , These represent the fusion weights of reconstruction error, neighborhood deviation, and attention anomaly weight in the graph structure anomaly risk score, respectively. Indicates order Reconstruction error, Indicates order neighborhood deviation, Indicates order Attention deficit disorder Indicates order The graph structure anomaly risk score.
[0053] The formula for calculating the reconstruction error is: or
[0054] in, Indicates order The original risk feature vector, This represents the heterogeneous relationship graph of procurement based on the order embedding vector. The eigenvectors obtained are This represents a very small constant to prevent the denominator from being zero. Indicates order The set of neighboring nodes, Indicates order With neighboring nodes The true connection relationship, This indicates the connectivity predicted by the model; The formula for calculating neighborhood deviation is:
[0055]
[0056] in, Indicates the number of metapaths; Indicates the first Metapath; Indicates order Along the metapath The neighborhood average representation obtained by aggregation; Metapath The standard deviation or dispersion of the neighborhood representation; Indicates order Along the metapath Reachable neighboring orders or sets of neighboring nodes; The formula for calculating attention deficit is:
[0057]
[0058] in, Indicates order In the Metapath Attention weights on This indicates the risk intensity corresponding to the meta-path. Representing neighboring nodes The basic risk score.
[0059] In this embodiment, as Figure 4 As shown, the formula for calculating the document link risk score is:
[0060] in, , , , , These represent the weights for missing links, amount discrepancy rate, quantity discrepancy rate, inconsistent payment recipients, and abnormal time sequence, respectively. Indicates order The link is missing. Indicates order The rate of difference in amount, Indicates order Quantity difference rate, Indicates order The payment recipients are inconsistent. Indicates order The time sequence is abnormal; The formula for calculating link loss is:
[0061] in, Indicates order Whether a receipt or inbound record is matched; if matched, return 1, otherwise return 0. Indicates order Whether a payment order has been matched; if matched, return 1; otherwise, return 0. The formula for calculating the payment recipient's discrepancy is as follows:
[0062] in, Used to determine orders Check whether the payment recipient matches the supplier's entity; when the payee's name, unified social credit code, and payee account or bank account entity on the payment slip match the supplier's standardized entity identifier. ,otherwise ; The formula for calculating time sequence anomalies is:
[0063] in, , , These represent orders. Order generation time, acceptance completion time, and payment completion time; This indicates the maximum reasonable business cycle that is preset.
[0064] In this embodiment, the prior score for historical anomaly risk is:
[0065] in, Indicates order Prior score of historical anomaly risk, , , These represent the weights of supplier historical risk, handler historical risk, and food category historical risk, respectively. Indicates the first The historical risks associated with each supplier Indicates the first The historical risks associated with each responsible person. Indicates the first Historical risks associated with each food category; The formula for calculating supplier historical risk is:
[0066] in, Indicates the first The number of supplier's historically confirmed risky orders. Indicates the first Total number of historical orders from each supplier; The formula for calculating the historical risk of the person in charge is:
[0067] in, Indicates the first The number of risky orders confirmed for each handler in history. Indicates the first Total number of historical orders for each handler; The formula for calculating the historical risk of food categories is:
[0068] in, Indicates the first The number of historically confirmed high-risk orders for each food category Indicates the first Total number of historical orders for each food category.
[0069] In some embodiments of this example, the calculation formula for the adaptive window-level risk score is as follows:
[0070] in, Indicates the first An adaptive window; Indicates adaptive window The order collection within; This indicates the highest order risk within the adaptive window; This indicates the average risk of orders within the adaptive window. Indicates adaptive window Total amount of domestic orders; This indicates the approval threshold corresponding to the adaptive window; This represents the supplier concentration index within the adaptive window; , , , The adaptive window-level risk fusion weights satisfy:
[0071] The adaptive window-level risk fusion weights are obtained by normalization as follows:
[0072] in, ( =1,2,3,4) represent the original importance coefficients of the highest order risk, the average order risk, the degree to which the cumulative amount in the adaptive window approaches the approval threshold, and the supplier concentration in the adaptive window, respectively. The formula for calculating the average risk of orders within the adaptive window is:
[0073] in, Indicates order Order risks.
[0074] In some embodiments of this example, the calculation score of the subject-level risk is... :
[0075] in, Indicates the entity to be evaluated. Represents the set of suppliers. This indicates that the responsible persons have gathered. Represents a set of food categories; Representation and subject The average risk score of related orders Representing the subject Historical risk rate Representing the subject Normalized correlation concentration in the procurement heterogeneity relationship diagram 、 、 As the subject-level risk fusion weight, it satisfies:
[0076] The subject-level risk fusion weights are obtained by normalization in the following manner:
[0077] in, (j=1,2,3) represent the average risk of related orders of the subject, the historical risk rate of the subject, and the original importance coefficient of the subject's graph centrality, respectively; The formula for calculating the average risk score is:
[0078] in, Representation and subject A collection of related orders; The formula for calculating the historical risk rate is:
[0079] in, Representing the subject Regarding the number of historically confirmed risky orders, express, Representing the subject Total number of historical orders; The formula for calculating normalized correlation concentration is:
[0080] in, Representing the subject The number of associated edges in the heterogeneous relationship graph of procurement. Representing the subject The number of associated edges in the heterogeneous relationship graph of procurement.
[0081] Step S4: Based on the order-level risk score, the adaptive window-level risk score, and the subject-level risk score, high-risk orders, high-risk adaptive windows, and high-risk subjects are selected respectively. Based on the procurement heterogeneous relationship graph, the high-risk orders, high-risk adaptive windows, and high-risk subjects are backtracked to generate a risk path and evidence feature list.
[0082] In this embodiment, the evidence feature list includes at least the triggered risk features and the original risk feature values and corresponding thresholds, normalized risk feature values, associated orders, associated entities, data source fields, and corresponding metapaths.
[0083] In some implementations of this embodiment, based on the order-level risk score, adaptive window-level risk score, and subject-level risk score, a list of suspected high-risk orders, high-risk adaptive windows, high-risk subjects (suppliers, handlers, and food categories), risk paths, and evidence characteristics are output. Specifically, this includes: Set order risk threshold, adaptive window risk threshold and subject risk threshold respectively, and conduct a preliminary screening of purchase orders whose order-level risk scores reach the order risk threshold to obtain the first type of purchase orders; Purchase orders whose adaptive window-level risk scores reach the adaptive window risk threshold will be classified as second-type purchase orders. Purchase orders that have an association with an entity that has reached the entity risk threshold are classified as third-type purchase orders, and the entity includes the supplier, the person in charge, and the food category. Add the first type of purchase order, the second type of purchase order, and the third type of purchase order to the candidate set; Based on the paths of order—supplier—order, order—person in charge—order, order—ingredient category—order, order—adaptive window—order, order—acceptance form or warehouse record—payment form, and order—supplier—payee—payment unit, the orders in the candidate set are associated, expanded, and backtracked. Normalize each risk characteristic value involved in the calculation to a range of 0 to 1, and calculate the disposal ranking score of orders in the candidate set. ,in to The weights are non-negative and their sum is 1. and Orders The corresponding responsible person, supplier, and adaptive window. This indicates the contribution of graph structure anomalies. ;according to Sort from highest to lowest; Orders with the same supplier, handler, food category, and adaptive window, and whose risk paths share at least one common order or common document matching key, are grouped into the same risk event and retained. The highest-ranking master order, and merge the associated order identifiers, risk paths, and risk characteristics of the remaining orders; Preset high-risk threshold and medium risk threshold High risk threshold and medium risk threshold All are between 0 and 1. Not less than Those marked as high risk Below But not less than Those classified as medium risk are recorded as medium risk, and the rest as low risk; Output the master order, associated suppliers, responsible persons, adaptive window, risk level, risk path and evidence feature list for each risk event.
[0084] The integrity of the order-acceptance-payment chain is obtained by associating purchase orders with acceptance slips, warehousing records, and payment slips using order number, supplier identifier, ingredient category, amount range, date adaptive window, and document matching key. Specifically, the order-acceptance slip matching integrity is determined based on whether a corresponding acceptance slip exists for the purchase order, whether the order number or document matching key in the acceptance slip matches, whether the accepted ingredient category matches, and whether the accepted quantity falls within the allowable deviation range of the order quantity. The consistency between the payment recipient and the supplier entity is determined by comparing the payee's name, payee account, unified social credit code, or bank account entity in the payment slip with the supplier's normalized entity identifier. The time lag from order generation to payment completion is calculated based on the time difference between order generation time, acceptance completion time, warehousing time, and payment completion time. The integrity of the order-acceptance-payment link also includes the difference rate between the acceptance quantity and the order quantity, and the difference rate between the payment amount and the order amount. When there are missing acceptance slips, missing payment slips, inconsistent payees, amount differences exceeding a preset ratio, quantity differences exceeding a preset ratio, or abnormal link time sequence, link abnormality features are generated.
[0085] According to the second aspect of this application, such as Figure 5 As shown in the figure, this embodiment provides a risk identification system for splitting campus canteen procurement orders based on heterogeneous graphs, including: The risk potential identification module is used to identify all orders corresponding to the same group field as having the potential for order splitting if the cumulative order amount of the same group field within the adaptive window is greater than or equal to the corresponding approval threshold, and all purchase amounts are lower than the preset threshold. The risk feature acquisition module is used to construct a procurement heterogeneous relationship graph for all orders corresponding to the same grouping field, and extract risk features based on the procurement heterogeneous relationship graph; The risk scoring acquisition module is used to acquire order-level risk scores, adaptive window-level risk scores, and subject-level risk scores based on the risk characteristics. The risk path and evidence acquisition module is used to filter high-risk orders, high-risk adaptive windows, and high-risk entities based on the order-level risk score, the adaptive window-level risk score, and the subject-level risk score, respectively. Based on the procurement heterogeneous relationship graph, the module backtracks the high-risk orders, high-risk adaptive windows, and high-risk entities to generate a risk path and evidence feature list.
[0086] Specifically, this embodiment corresponds one-to-one with the above method embodiments. The functions of each module have been described in detail in the corresponding method embodiments, so they will not be repeated here.
[0087] According to a third aspect of this application, this embodiment provides a computer-readable storage medium having a computer program stored thereon, the computer program including executable instructions that, when executed by a processor, implement the method described above.
[0088] The present invention can implement all or part of the processes in the above methods, or it can be accomplished by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium can include: any entity or system capable of carrying computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.
[0089] According to the fourth aspect of this application, such as Figure 6 As shown, an electronic device is provided, comprising: One or more processors; Memory is used to store executable instructions for the processor, which, when executed by one or more processors, cause one or more processors to implement the methods described above.
[0090] Electronic devices are manifested in the form of general-purpose computing devices. Components of an electronic device may include, but are not limited to: at least one processor, at least one memory, and a bus connecting different system components (including memory and processor).
[0091] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of a computer system, connecting all parts of the computer system through various interfaces and lines.
[0092] Memory can be used to store computer programs and / or modules. The processor implements various functions of the computer system by running or executing the computer programs and / or modules stored in the memory, and by accessing data stored in the memory. Memory can mainly include a program storage area and a data storage area. The program storage area can store the operating system and at least one application program required for a function (e.g., sound playback, image playback, etc.); the data storage area can store data created based on the use of the mobile phone (e.g., audio data, video data, etc.). Furthermore, memory can include high-speed random access memory, and can also include non-volatile memory, such as hard disks, RAM, plug-in hard disks, SmartMedia Cards (SMC), Secure Digital (SD) cards, Flash Cards, at least one disk storage device, flash memory device, or other volatile solid-state storage devices.
[0093] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, servers, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and memory) containing computer-usable program code.
[0094] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), servers, and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A system that specifies functions in one or more boxes.
[0095] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including an instruction set implemented in a process. Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0096] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0097] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0098] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0099] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for risk identification in campus canteen procurement order splitting based on heterogeneous graphs, characterized in that, include: If the cumulative order amount of the same group field within the adaptive window is greater than or equal to the corresponding approval threshold, and all purchase amounts are lower than the preset threshold, then all orders corresponding to the same group field have the potential risk of order splitting. Construct a procurement heterogeneous relationship graph for all orders corresponding to the same grouping field, and extract risk features based on the procurement heterogeneous relationship graph; Based on the aforementioned risk characteristics, order-level risk scores, adaptive window-level risk scores, and subject-level risk scores are obtained. Based on the order-level risk score, the adaptive window-level risk score, and the subject-level risk score, high-risk orders, high-risk adaptive windows, and high-risk subjects are selected respectively. Based on the procurement heterogeneous relationship graph, the high-risk orders, high-risk adaptive windows, and high-risk subjects are backtracked to generate risk paths and evidence feature lists.
2. The method according to claim 1, characterized in that: The risk characteristics include the closeness of order amount to approval threshold, clusters of orders with similar amounts, supplier concentration, strength of association between handlers, and abnormal link integrity. The formula for calculating the closeness between the order amount and the approved order amount and the approval threshold is as follows: in, Indicates order and orders Corresponding approval threshold The degree to which the order amount is close to the approved order amount and the approval threshold. Indicates order The amount of the purchase, Indicates the threshold proximity bandwidth coefficient; The calculation formula for the order cluster with similar amounts is: in, Indicates order and orders Clusters of orders with similar amounts between them Indicates order Purchase amount, and These represent orders. and orders The time of the procurement This represents an approximate indicator function for food categories. and These represent orders. and orders The categories of ingredients; when and When they are the same, or belong to the same superior category in the preset food classification system, ;otherwise, , , and These represent the non-negative weights for amount, time, and similarity of food categories, respectively. ; and These represent the monetary scale parameter and the time scale parameter, respectively, both of which are greater than 0; The formula for calculating the supplier concentration is: in, Indicates supplier concentration. Represents the set of suppliers. Indicates time window Total amount of domestic orders Indicates the first An adaptive window, Indicates supplier In the window The order amount within this window accounts for a percentage of the total order amount in this window. The proportion; The formula for calculating the affinity strength of the person in charge is as follows: in, Indicates the person in charge Suppliers within the adaptive window The correlation strength characteristics of related orders Indicates the person in charge Suppliers within the adaptive window The common frequency characteristics of related orders, Indicates the person in charge Suppliers within the adaptive window The characteristics of the proportion of related order amounts, Indicates the person in charge Suppliers within the adaptive window The continuous processing characteristics of related orders, Indicates the person in charge Suppliers within the adaptive window The approval paths for related orders are duplicated. , , , These represent the weight coefficients for the common occurrence frequency feature, the amount proportion feature, the continuous processing feature, and the repeated approval path feature, respectively. Indicates the person in charge Suppliers within the adaptive window Number of related orders Indicates the person in charge Suppliers within the adaptive window Number of related orders Indicates the person in charge Suppliers within the adaptive window The cumulative amount of related orders, Indicates the person in charge Suppliers within the adaptive window The cumulative amount of related orders, Indicates the person in charge Continuing Supplier The longest consecutive days for related orders, This indicates the maximum number of consecutive days preset or the maximum number of consecutive days in historical samples. Indicates the person in charge Suppliers in charge When considering related orders, the number of orders in which the combination of approver, acceptor, payment path, or approval process node appears repeatedly; Indicates the person in charge Suppliers in charge Total number of related orders; The link integrity anomaly includes monetary discrepancy rate and quantity discrepancy rate, calculated using the following formulas: in, Indicates order The rate of difference in amount, Indicates order Quantity difference rate, Indicates order Standardized procurement amount; Indicates order The actual payment amount in the matched payment order, if there are multiple payments, is the sum of the corresponding payment amounts; Indicates order The purchase quantity recorded in the order should be calculated separately for each item or converted to a unified unit of measurement and then summed. Indicates order The actual quantity received or stored in the matched acceptance form or storage record is used. If multiple acceptance forms or storage records exist, the sum of the corresponding confirmed quantities is taken. Link integrity anomalies include abnormal amount discrepancies and abnormal quantity discrepancies. If the difference rate exceeds the preset threshold, an abnormal difference rate is generated. When the quantity difference rate exceeds the preset threshold, an abnormal quantity difference rate feature is generated; when no payment order, acceptance order, or warehousing record is matched, the link integrity abnormality value is 1.
3. The method according to claim 1, characterized in that: The risk scores for compliance rules, graph structure anomalies, document link risks, and historical anomalies are weighted and fused to obtain an order-level risk score.
4. The method according to claim 3, characterized in that, The formula for calculating the compliance rule risk score is as follows: in, This represents a pre-defined set of compliance rules. This represents any compliance rule in the rule set. Representation rules Severity weighting Indicates order On the rules The hit status, Indicates order On the rules The degree of feature exceeding the limit, Indicates order Compliance rule risk score; The formula for calculating the hit status is: ; The formula for calculating the degree of feature exceeding the limit is: in, Indicates order In the rules The corresponding risk characteristic value, when the rule When the threshold is close to the rule, When the rules When setting rules for order clusters with similar amounts, Indicates order and orders Corresponding approval threshold The degree to which the order amount is close to the approved order amount and the approval threshold. , Indicates order Order sets that are in the same adaptive window or have the same risk subject, Indicates order and orders Clusters of orders with similar amounts between them Representation rules The preset trigger threshold, This represents a very small constant to prevent the denominator from being zero; The formula for calculating severity weights is: in, Representation rules The original severity level or manually configured weights, Representation rules The original severity level or manually configured weights.
5. The method according to claim 3, characterized in that, The formula for calculating the graph structure anomaly risk score is as follows: in, , , These represent the fusion weights of reconstruction error, neighborhood deviation, and attention anomaly weight in the graph structure anomaly risk score, respectively. Indicates order Reconstruction error, Indicates order neighborhood deviation, Indicates order Attention deficit disorder Indicates order The risk score for abnormal graph structure; The formula for calculating the reconstruction error is: or in, Indicates order The original risk feature vector, This represents the heterogeneous relationship graph of procurement based on the order embedding vector. The eigenvectors obtained are This represents a very small constant to prevent the denominator from being zero. Indicates order The set of neighboring nodes, Indicates order With neighboring nodes The true connection relationship, This indicates the connectivity predicted by the model; The formula for calculating neighborhood deviation is: in, Indicates the number of metapaths; Indicates the first Metapath; Indicates order Along the metapath The neighborhood average representation obtained by aggregation; Metapath The standard deviation or dispersion of the neighborhood representation; Indicates order Along the metapath Reachable neighboring orders or sets of neighboring nodes; The formula for calculating attention deficit is: in, Indicates order In the Metapath Attention weights on This indicates the risk intensity corresponding to the meta-path. Representing neighboring nodes The basic risk score.
6. The method according to claim 3, characterized in that, The formula for calculating the document link risk score is as follows: in, , , , , These represent the weights for missing links, amount discrepancy rate, quantity discrepancy rate, inconsistent payment recipients, and abnormal time sequence, respectively. Indicates order The link is missing. Indicates order The rate of difference in amount, Indicates order Quantity difference rate, Indicates order The payment recipients are inconsistent. Indicates order The time sequence is abnormal; The formula for calculating link loss is: in, Indicates order Whether a receipt or inbound record is matched; if matched, return 1, otherwise return 0. Indicates order Whether a payment order has been matched; if matched, return 1; otherwise, return 0. The formula for calculating the payment recipient's discrepancy is as follows: in, Used to determine orders Check whether the payment recipient matches the supplier's entity; when the payee's name, unified social credit code, and payee account or bank account entity on the payment slip match the supplier's standardized entity identifier. ,otherwise ; The formula for calculating time sequence anomalies is: in, , , These represent orders. Order generation time, acceptance completion time, and payment completion time; This indicates the maximum reasonable business cycle that is preset.
7. The method according to claim 1, characterized in that, The prior score for historical anomaly risk: in, Indicates order Prior score of historical anomaly risk, , , These represent the weights of supplier historical risk, handler historical risk, and food category historical risk, respectively. Indicates the first The historical risks associated with each supplier Indicates the first The historical risks associated with each responsible person. Indicates the first Historical risks associated with each food category; The formula for calculating supplier historical risk is: in, Indicates the first The number of supplier's historically confirmed risky orders. Indicates the first Total number of historical orders from each supplier; The formula for calculating the historical risk of the person in charge is: in, Indicates the first The number of risky orders confirmed for each handler in history. Indicates the first Total number of historical orders for each handler; The formula for calculating the historical risk of food categories is: in, Indicates the first The number of historically confirmed high-risk orders for each food category Indicates the first Total number of historical orders for each food category.
8. The method according to claim 1, characterized in that: The formula for calculating the adaptive window-level risk score is as follows: in, Indicates the first An adaptive window; Indicates adaptive window The order collection within; This indicates the highest order risk within the adaptive window; This indicates the average risk of orders within the adaptive window. Indicates adaptive window Total amount of domestic orders; This indicates the approval threshold corresponding to the adaptive window; This represents the supplier concentration index within the adaptive window; , , , This represents the adaptive window-level risk fusion weights; The formula for calculating the average risk of orders within the adaptive window is: in, Indicates order Order risk The calculation and scoring of the subject-level risk : in, Indicates the entity to be evaluated. Represents the set of suppliers. This indicates that the responsible persons have gathered. Represents a set of food categories; Representation and subject The average risk score of related orders Representing the subject Historical risk rate Representing the subject Normalized correlation concentration in the procurement heterogeneity relationship diagram , , The subject-level risk fusion weights are the average risk score, historical risk rate, and normalized correlation concentration. The formula for calculating the average risk score is: in, Representation and subject A collection of related orders; The formula for calculating the historical risk rate is: in, Representing the subject Regarding the number of historically confirmed risky orders, Representing the subject Total number of historical orders; The formula for calculating normalized correlation concentration is: in, Representing the subject The number of associated edges in the heterogeneous relationship graph of procurement. Representing the subject The number of associated edges in the heterogeneous relationship graph of procurement.
9. The method according to claim 1, characterized in that, The construction of a heterogeneous procurement relationship graph for all orders corresponding to the same grouping field includes: A heterogeneous relationship graph is established based on a set of nodes and a set of edges. The set of nodes includes orders, suppliers, handlers, food categories, adaptive windows, approval thresholds, and document matching keys. The set of edges includes the relationships between pairs of nodes. The original path is generated based on the heterogeneous relationship graph. The order embedding vector is obtained by aggregating the neighborhood representation based on the meta-path. : in, to This indicates the six preset business path types: order to supplier to order, order to handler to order, order to food category to order, order to adaptive window to order, order to acceptance form to payment form, and order to supplier to payee to payment form. Indicates order Along the first Metapath The neighborhood feature representation obtained by aggregation This represents a vector concatenation operation; The neighborhood feature is represented as follows: in, Indicates order Along the metapath The set of reachable neighboring nodes Representing neighboring nodes eigenvectors, Use mean aggregation, weighted sum aggregation, or attention aggregation; Path backtracking is performed based on order embedding vectors to generate a list of risk paths and evidence features.
10. A risk identification system for splitting campus canteen procurement orders based on heterogeneous graphs, characterized in that, include: The risk potential identification module is used to identify all orders corresponding to the same group field as having the potential for order splitting if the cumulative order amount of the same group field within the adaptive window is greater than or equal to the corresponding approval threshold, and all purchase amounts are lower than the preset threshold. The risk feature acquisition module is used to construct a procurement heterogeneous relationship graph for all orders corresponding to the same grouping field, and extract risk features based on the procurement heterogeneous relationship graph; The risk scoring acquisition module is used to acquire order-level risk scores, adaptive window-level risk scores, and subject-level risk scores based on the risk characteristics. The risk path and evidence acquisition module is used to filter high-risk orders, high-risk adaptive windows, and high-risk entities based on the order-level risk score, the adaptive window-level risk score, and the subject-level risk score, respectively. Based on the procurement heterogeneous relationship graph, the module backtracks the high-risk orders, high-risk adaptive windows, and high-risk entities to generate a risk path and evidence feature list.
