Kitchen waste abnormal production linkage supervision method and system

By collecting heterogeneous data from multiple sources, modeling data association, and detecting anomalies in multiple dimensions, the problem of data fragmentation between the food supply chain and kitchen waste has been solved, enabling timely detection and rapid disposal of kitchen waste anomalies, thereby improving regulatory efficiency and data credibility.

CN123140633APending Publication Date: 2026-11-20BEIJING SHENZHOU STAR TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611280075.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-22
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing technologies suffer from a disconnect between positive data from the food supply chain and reverse data from food waste, outdated and limited anomaly identification methods, a lack of positive-reverse closed-loop verification, slow response to anomalies, and insufficient data credibility, resulting in low efficiency in the supervision of food waste.

Method used

By collecting and standardizing multi-source heterogeneous data, modeling forward and reverse data correlation, detecting anomalies in food waste generation, and implementing an automated linkage and supervision mechanism, timely detection, accurate identification, and rapid disposal of anomalies in food waste generation can be achieved.

Benefits of technology

It achieves deep integration of positive data from the food supply chain and reverse data from kitchen waste, provides multi-dimensional anomaly detection capabilities, establishes a dynamic and adaptive waste generation baseline model, realizes automated linkage supervision, and improves data credibility and anomaly response speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123140633A_ABST
    Figure CN123140633A_ABST
Patent Text Reader

Abstract

The application discloses a kind of kitchen waste abnormality linkage supervision method and system for producing waste.The method comprises: collecting multi-source heterogeneous data from food supply chain positive business system and kitchen waste reverse collection and transport system and carrying out standardization processing;Based on catering business subject identification, the positive supply chain data set is associated with the reverse waste data set in time and space dimension, and a positive-reverse data correlation matrix is constructed;For each catering business subject, a dynamic waste production baseline model is established;Multi-dimensional anomaly detection is performed, including longitudinal baseline deviation detection, horizontal comparison detection and positive-reverse difference detection;According to the detection result, abnormal classification is carried out and the classification early warning result is output;When the early warning result reaches the early warning level or the serious level, the linkage supervision process is automatically triggered, the verification work order is generated and pushed to the supervision terminal, the catering business subject terminal and the collection and transport unit terminal.The application realizes the timely discovery, accurate identification and rapid disposal of kitchen waste production and waste abnormality through positive-reverse data fusion and multi-dimensional anomaly detection, effectively prevents the risk of waste edible oil returning to the table and illegal disposal of kitchen waste.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of food safety supervision and big data analysis technology, and in particular to a method and system for linked supervision of abnormal waste generation from kitchen waste. Background Technology

[0002] Food safety is a major issue concerning the national economy and people's livelihood. my country's Food Safety Law establishes the "strictest standards" in four aspects, but it still faces severe challenges in the management of food waste. If food waste (commonly known as "swill") and waste cooking oil (commonly known as "gutter oil") are not disposed of in a standardized manner, they are very likely to be illegally recycled and processed and returned to the dining table, posing a serious threat to consumers' health. Traditional methods of monitoring food waste mainly rely on manual inspections and reports / complaints, which have the following technical shortcomings: First, there is the problem of data fragmentation and information silos. Positive data in the food supply chain (ingredient procurement, food sales, number of diners, etc.) and negative data on kitchen waste (collection weight, oil recovery volume, collection frequency, etc.) are managed by different business systems. The data formats are inconsistent, the time granularity is inconsistent, and there is a lack of effective data fusion methods. Regulatory authorities find it difficult to correlate and analyze the food consumption and waste generation of catering businesses, making it impossible to detect anomalies at the data level. Second, the methods for identifying anomalies are limited and outdated. Existing regulatory systems mainly rely on simple rules such as alarms based on collection weight thresholds, which can only detect superficial anomalies such as sudden increases or decreases in collection volume, and cannot distinguish between normal operational fluctuations and genuine anomalies. More importantly, existing technology cannot identify high-risk scenarios such as "abnormally low waste production"—abnormally low waste production often indicates that kitchen waste is being illegally dumped or waste cooking oil is being illegally recycled and refined, and existing systems lack effective detection methods. Third, there is a lack of a closed-loop verification mechanism for forward and reverse data. Catering businesses may claim to have purchased large quantities of ingredients, but the actual waste generation is far lower than the theoretical value. This discrepancy between forward and reverse data may indicate that waste cooking oil is returning to the table or that waste is being illegally disposed of. Current technology cannot establish a theoretical mapping relationship between procurement data and waste generation data, thus making it impossible to perform forward-reverse discrepancy detection. Fourth, the response to anomalies is slow. Under the current regulatory model, it often takes several days or even weeks from the discovery of a problem to the initiation of an investigation. The lack of a real-time linkage mechanism between regulatory departments, collection and transportation units, and catering operators leads to the loss of the best window for handling anomalies. Fifth, the data lacks credibility. Collection and transportation data is manually entered by collection and transportation personnel or recorded by simple weighing equipment, making the data susceptible to tampering. The lack of effective anti-tampering technologies reduces the credibility of the regulatory data. To address the aforementioned issues, this invention proposes a method and system for the coordinated monitoring of abnormal food waste generation. Through deep integration of forward supply chain data and reverse waste data, multi-dimensional anomaly detection algorithms, and an automated coordinated monitoring mechanism, it enables timely detection, accurate identification, and rapid disposal of abnormal food waste generation. Summary of the Invention

[0003] The purpose of this invention is to provide a method and system for monitoring and supervising abnormalities in food waste generation, in order to solve the technical problems existing in the prior art, such as the separation between positive data of the food supply chain and reverse data of food waste, the single and lagging means of anomaly identification, the lack of positive-reverse closed-loop verification, the slow response to anomaly handling, and the insufficient data credibility. To achieve the above objectives, the present invention provides the following technical solution: A method for coordinated monitoring of abnormal food waste generation includes the following steps: S1. Multi-source heterogeneous data collection and standardization: Multi-source heterogeneous data are collected from the forward business system of the food supply chain and the reverse collection and transportation system of kitchen waste, respectively. The multi-source heterogeneous data is cleaned, formatted, and time-aligned to obtain standardized forward supply chain datasets and reverse waste datasets. The forward supply chain dataset includes data on the amount of ingredients purchased by catering operators, sales data of dishes, number of diners, and composition of ingredients. The reverse waste dataset includes data on the weight of kitchen waste collected, the amount of oil recovered, the frequency of collection, the time of collection, and the GPS trajectory data of collection vehicles. S2. Forward-Reverse Data Association Modeling: Based on the identification of catering business entities, the forward supply chain dataset and the reverse waste dataset are associated in a spatiotemporal dimension to construct a forward-reverse data association matrix with the business entity as the granularity and the day as the smallest time unit. S3. Waste generation baseline model construction: For each catering business entity, a dynamic waste generation baseline model is established based on its historical forward-backward data correlation matrix using time series analysis. The dynamic waste generation baseline model is used to characterize the theoretical expected value and normal fluctuation range of the weight of kitchen waste and the amount of oil recovered by the entity under specific conditions of food purchase volume, dish sales volume and number of diners. S4. Multi-dimensional anomaly detection: Input the real-time collected forward-reverse data correlation matrix into the dynamic waste generation baseline model to perform multi-dimensional anomaly detection. The multi-dimensional anomaly detection includes at least the following three detection modes: (a) Vertical baseline deviation detection: The current waste production amount is compared with the theoretical expected value output by the dynamic waste production baseline model. When the actual waste production amount deviates from the normal fluctuation range by more than a preset first threshold, it is determined to be a vertical anomaly. (b) Horizontal comparison detection: The waste production rate of the current catering business entity is compared with the waste production rate of other entities in the same type cluster. When the waste production rate of the current entity deviates from the center value of the same type cluster by more than a preset second threshold, it is judged as a horizontal anomaly. The same type cluster is divided according to the cuisine category, business scale level and dining scene type of the business entity. (c) Forward-Reverse Difference Detection: Based on the food procurement quantity data and food type composition data in the forward supply chain dataset, calculate the theoretical amount of kitchen waste generated; compare the theoretical amount of kitchen waste generated with the actual collection weight in the reverse waste dataset, and determine the difference as abnormal when the difference rate exceeds the preset third threshold. S5. Anomaly Classification and Early Warning Output: Based on the detection results of the multi-dimensional anomaly detection, anomalies are classified according to preset rules, and a graded early warning result is output; the anomaly classification includes at least four levels: normal, attention, early warning, and severe. S6. Linked Supervision Trigger: When the graded early warning result reaches the early warning level or the severity level, the linked supervision process is automatically triggered, a verification work order is generated and pushed to the preset supervision terminal, catering business terminal and collection and transportation unit terminal. Preferably, the multi-source heterogeneous data in step S1 includes: food purchase order data from the food traceability platform, which includes the type of food purchased, purchase weight, purchase time, supplier information, and batch traceability identifier; dish sales data from the catering management system, which includes dish name, number of servings sold, sales time, and ingredient ratio information; diners data from the restaurant reservation system, which includes the number of dine-in diners, takeout orders, and private room reservations; collection data from the food waste collection and transportation management system, which includes collection vehicle weighing data, collection timestamp, collection vehicle identification, driver information, and corresponding catering business entity identification; grease recycling data from the grease recycling management system, which includes the weight of recycled grease, recycling time, recycling vehicle identification, and corresponding catering business entity identification; and GPS trajectory data from the vehicle positioning system, which includes the vehicle's real-time location, driving trajectory, stop point coordinates, and stop duration. Preferably, the process of constructing the forward-reverse data association matrix in step S2 includes: establishing a forward-reverse data association table with the unique identifier of the catering business entity as the primary key and the natural day as the time granularity; aggregating all forward supply chain data of the same business entity within the same day, and calculating the total purchase volume, total sales, total number of diners, and ingredient types to form a vector; aggregating all reverse waste data of the same business entity within the same day, and calculating the total waste production, total oil recovery, number of collections, and average weight per collection; and associating and matching the aggregated forward and reverse data according to the business entity identifier and date to form the forward-reverse data association matrix. Preferably, the construction process of the dynamic waste generation baseline model in step S3 includes: extracting training samples from the historical forward-backward data correlation matrix, wherein the feature vector of the training samples includes the daily food purchase volume, daily dish sales, daily number of diners, daily number of food types, daily meat and poultry purchase ratio, daily aquatic product purchase ratio, and daily grain and oil purchase ratio; using a multiple regression analysis method, establishing a waste generation prediction function: W = f(P, S, N, C, Rm, Rf, Ro) + ε, where W is the theoretical waste generation, P is the food purchase volume, S is the dish sales, N is the number of diners, C is the number of food types, Rm is the meat and poultry purchase ratio, Rf is the grain and oil purchase ratio, Ro is the aquatic product purchase ratio, and ε is the error term; based on the historical residual distribution, calculating the normal fluctuation range, wherein the normal fluctuation range is ±k times the standard deviation of the theoretical waste generation, where k is dynamically adjusted according to the confidence level requirement. Preferably, the method for calculating the theoretical amount of kitchen waste generated in step S4(c) includes: obtaining the theoretical waste generation coefficient of each type of food ingredient based on the composition data of the food ingredients; the theoretical waste generation coefficient is determined based on the food ingredient category, with different food ingredient categories corresponding to different proportions of inedible parts and processing loss ratios; calculating the theoretical weight of inedible parts and theoretical processing loss weight of the day based on the daily food ingredient purchase data and the theoretical waste generation coefficient; calculating the weight of each type of food ingredient consumed by the dishes sold on the day based on the ingredient ratio information of the dishes sold on the day; subtracting the total weight of food ingredients consumed by the dishes sold on the day from the total weight of food ingredients purchased on the day to obtain the weight of remaining food ingredients on the day; adding the theoretical weight of inedible parts, the theoretical processing loss weight, and the estimated waste portion of the remaining food ingredients on the day to obtain the theoretical amount of kitchen waste generated on the day. Preferably, the horizontal comparison detection in step S4(b) further includes: performing cluster analysis on the historical waste generation rate data of each business entity in the same type cluster to identify natural groups; when the waste generation rate of the current entity is lower than the center value of the lowest group in the same type cluster, it is determined to be a low waste generation anomaly; the low waste generation anomaly indicates the risk of illegal dumping of kitchen waste or illegal return of waste cooking oil; when the waste generation rate of the current entity is higher than the center value of the highest group in the same type cluster, it is determined to be a high waste generation anomaly; the high waste generation anomaly indicates the risk of food waste or abnormal collection and transportation data. Preferably, the anomaly classification in step S5 is performed according to the following rules: Normal level is when no anomaly is detected in all three detection modes; Attention level is when only one detection mode detects a slight anomaly, or the deviation of the longitudinal baseline is between the first threshold and 1.5 times the first threshold; Warning level is when two or more detection modes detect anomalies, or the deviation of the longitudinal baseline exceeds 1.5 times the first threshold, or the difference rate exceeds the third threshold but is less than 1.5 times the third threshold; Severe level is when all three detection modes detect anomalies, or the deviation of the longitudinal baseline exceeds 2 times the first threshold, or the difference rate exceeds 1.5 times the third threshold, or the difference rate between the amount of oil recovered and the theoretical amount of oil produced exceeds the preset fourth threshold. Preferably, the joint supervision process in step S6 includes: automatically matching a preset supervision and disposal rule library according to the anomaly level and anomaly type to generate a corresponding verification work order; pushing the verification work order to the supervision terminal of the regional supervision department, wherein the verification work order includes information on the anomaly subject, anomaly type, anomaly quantitative indicators, and suggested verification items; simultaneously pushing the verification work order to the terminal of the catering business entity, requiring the entity to submit explanatory materials or rectification reports within a limited time; simultaneously pushing the verification work order to the terminal of the collection and transportation unit, requiring the collection and transportation unit to cooperate in providing supporting materials for the collection and transportation process; receiving the verification results from all parties, updating the risk file of the anomaly subject, and triggering the adaptive correction of the dynamic waste generation baseline model. Preferably, the method further includes: automatically triggering GPS trajectory backtracking analysis of the collection vehicle when the graded early warning result reaches the severe level; comparing the actual driving trajectory of the collection vehicle with the preset standard collection route, and when the actual trajectory deviates from the standard collection route by a distance exceeding a preset fifth threshold, adding trajectory deviation information to the verification work order; comparing the coordinates of the collection vehicle's stopping point during non-collection periods with a known illegal processing site coordinate database for geofencing, and when it is detected that the stopping point falls within the geofence range of the illegal processing site, generating a high-risk alarm and directly pushing it to the monitoring terminal. Preferably, the method further includes a blockchain evidence storage step: performing hash calculations on key data fields in the forward supply chain dataset and the reverse waste dataset to obtain data hash values; combining the data hash values, timestamps, business entity identifiers, and data type identifiers into an evidence storage data package; submitting the evidence storage data package to the blockchain network for on-chain evidence storage to obtain block height and transaction hash; and recording the block height and transaction hash in the forward-reverse data association matrix to support subsequent data authenticity verification. This invention also provides a system for monitoring and coordinating abnormal food waste generation, comprising: a data acquisition and standardization module, used to collect multi-source heterogeneous data from the forward business system of the food supply chain and the reverse collection and transportation system of food waste, and to perform data cleaning, format unification, and time alignment processing on the multi-source heterogeneous data to obtain standardized forward supply chain datasets and reverse waste datasets; a data association modeling module, used to associate the forward supply chain dataset and the reverse waste dataset in a spatiotemporal dimension based on the identification of catering business entities, and to construct a forward-reverse data association matrix with the business entity as the granularity and the day as the smallest time unit; and a waste generation baseline modeling module, used to target... For each catering business entity, a dynamic waste generation baseline model is established using time series analysis based on its historical forward-reverse data correlation matrix. An anomaly detection engine module inputs the real-time collected forward-reverse data correlation matrix into the dynamic waste generation baseline model to perform multi-dimensional anomaly detection. A tiered early warning module classifies anomalies according to preset rules based on the detection results of the multi-dimensional anomaly detection and outputs tiered early warning results. A coordinated supervision module automatically triggers a coordinated supervision process when the tiered early warning results reach the warning level or severity level, generating a verification work order and pushing it to preset supervision terminals, catering business entity terminals, and collection and transportation unit terminals. The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method described in any of the preceding claims. The present invention also provides an electronic device, including a processor, a memory, and a communication interface, wherein the memory stores a computer program, and when the processor executes the computer program, it implements the method described in any of the above-mentioned embodiments. Compared with the prior art, the present invention has the following beneficial effects: First, it achieves deep integration of positive data from the food supply chain and reverse data from food waste. This invention, through a unified data acquisition interface, standardized data format, and spatiotemporal correlation modeling, connects the previously fragmented positive supply chain data and reverse waste data, constructing a full-link data view at the granularity of catering business entities, providing a complete data foundation for identifying waste anomalies. Secondly, it provides multi-dimensional detection capabilities for waste generation anomalies. This invention organically combines three detection modes—vertical baseline deviation detection, lateral similarity comparison detection, and forward-reverse difference detection—to identify waste generation anomalies from different dimensions and perspectives. In particular, the forward-reverse difference detection, by establishing a mathematical mapping relationship between the amount of food purchased and the theoretical amount of waste, achieves for the first time a technical detection of the high-risk scenario of "abnormally low waste generation," effectively overcoming the shortcomings of existing technologies that can only detect superficial anomalies such as sudden increases in waste generation. Third, a dynamic adaptive waste generation baseline model was established. This invention independently establishes a dynamic waste generation baseline model for each catering business entity. The model parameters are adaptively adjusted based on the historical data of the business entity, which can accurately depict the normal waste generation behavior patterns of different business entities under different operating conditions, thereby significantly reducing the false alarm rate. Fourth, it achieves automated and coordinated supervision. Upon detecting an anomaly, this invention automatically triggers a coordinated supervision process, simultaneously pushing verification work orders to the terminals of regulatory departments, catering operators, and collection and transportation units. This achieves seamless integration from anomaly detection to verification initiation, significantly shortening anomaly response time. Furthermore, through GPS trajectory backtracking analysis of collection and transportation vehicles and geofencing comparison of illegal processing sites, the accuracy of anomaly handling is further enhanced. Fifth, it enhances data credibility. This invention uses blockchain evidence storage technology to store key collection and transportation data on the blockchain, ensuring that the data is tamper-proof and traceable, providing reliable data support for subsequent regulatory enforcement and liability determination. Attached Figure Description

[0004] Figure 1 The system overall architecture diagram provided for embodiments of the present invention; Figure 2 This is a flowchart of data acquisition and correlation processing provided in an embodiment of the present invention; Figure 3 A flowchart illustrating the multi-dimensional anomaly detection and coordinated supervision process provided in this embodiment of the invention; Figure 4 This is a schematic diagram of the forward-reverse data association matrix structure provided in an embodiment of the present invention; Figure 5 A flowchart illustrating the construction and prediction process of a dynamic waste generation baseline model provided in this embodiment of the invention. Detailed Implementation

[0005] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Example 1: System Overall Architecture like Figure 1 As shown in the figure, the abnormal waste generation and monitoring system for kitchen waste provided in this embodiment of the invention includes the following functional modules: The data acquisition and standardization module 110 is responsible for collecting data from multiple heterogeneous data sources and performing standardization processing. These data sources include: a food traceability platform 101, a catering management system 102, a restaurant reservation system 103, a food waste collection and transportation management system 104, an oil recycling management system 105, and a vehicle positioning system 106. The data association modeling module 120 is responsible for linking standardized forward supply chain data and reverse waste data in a spatiotemporal dimension to construct a forward-reverse data association matrix. The waste generation baseline modeling module 130 is responsible for establishing a dynamic waste generation baseline model for each catering business based on historical data. The anomaly detection engine module 140 is responsible for performing three anomaly detection modes: vertical baseline deviation detection, horizontal similarity comparison detection, and forward-backward difference detection. The graded early warning module 150 is responsible for classifying anomalies based on detection results and outputting early warnings. The joint supervision module 160 is responsible for triggering the joint supervision process when a serious anomaly is detected, and pushing verification work orders to the regulatory department terminal 171, the catering business terminal 172, and the collection and transportation unit terminal 173. Blockchain evidence storage module 180 is responsible for storing key data on the blockchain. Example 2: Data Acquisition and Standardization Processing like Figure 2 As shown, the specific process for data collection and standardization is as follows: Step S201: Collect food purchase order data from the food traceability platform. The food purchase order data includes: order number, business entity identifier, purchase time, food type code, food name, purchase weight (kg), supplier identifier, batch traceability identifier, and shelf-life information. The data collection frequency is real-time or near real-time, retrieved periodically via API interface or received via push notifications. Step S202: Collect food sales data from the catering management system. The food sales data includes: sales order number, business entity identifier, sales time, food code, food name, number of servings sold, food unit price, and ingredient ratio information of the food (JSON format, such as {"Ingredient A":"0.3kg","Ingredient B":"0.2kg"}). Step S203: Collect diners data from the restaurant reservation system. The diners data includes: business entity identification, date, number of dine-in diners, number of takeout orders, number of private room reservations, and total number of diners. Step S204: Collect collection data from the food waste collection and transportation management system. The collection data includes: collection task number, operating entity identifier, collection timestamp, collection vehicle identifier, driver identifier, weight before collection, weight after collection, net collection weight (weight after collection minus weight before collection), and garbage bin identifier. Step S205: Collect oil recycling data from the oil recycling management system. The oil recycling data includes: recycling task number, operating entity identifier, recycling timestamp, recycling vehicle identifier, weight of recycled oil, and type of recycled oil (waste cooking oil / used oil). Step S206: Collect GPS trajectory data from the vehicle positioning system. The GPS trajectory data includes: vehicle identifier, collection timestamp, longitude, latitude, altitude, speed, and orientation angle. Step S207, Data Cleaning. The collected raw data undergoes quality checks, including: null value handling (marking or removing data records with empty key fields), outlier detection (identifying and processing data exceeding reasonable ranges, such as negative weights or exceeding the container's maximum capacity), duplicate data deduplication (based on business primary keys), and time format unification (converting all time fields to UTC timestamp format). Step S208, Standardize Formatting. Map data fields from different data sources to a unified standard field system. For example, convert the "Purchase Weight (jin)" from the food traceability platform to the unified unit "Purchase Weight (kilogram)"; convert the "Sales Time (string)" from the catering management system to the unified format "Sales Time (ISO 8601)". Step S209, Time Alignment. Using the calendar day as the time alignment granularity, all positive data from the same business entity on the same day are aggregated into one positive record, and all negative data are aggregated into one negative record. For collection and transportation tasks that occur across days (e.g., collection and transportation start time is 23:50 and end time is 00:15 the next day), the assignment is based on the date to which the collection and transportation end time belongs. Step S210: Output standardized datasets. Obtain standardized forward supply chain datasets (including fields such as total daily purchase volume, total sales, total number of diners, and ingredient composition vector) and reverse waste datasets (including fields such as total daily waste generation, total amount of oil recovered, and number of collections). Example 3: Construction of Forward-Reverse Data Association Matrix like Figure 4 As shown, the structure of the forward-reverse data association matrix is ​​as follows: The matrix uses the unique identifier of the catering business entity (such as the unified social credit code) and the date (YYYY-MM-DD format) as the joint primary key, and expands horizontally into multiple data dimensions. Positive data dimensions include: total daily food purchase volume (kg), total daily food sales (yuan), number of dine-in customers, number of takeout orders, total number of customers, number of food types, percentage of meat and poultry purchases, percentage of aquatic products purchases, percentage of vegetables purchases, and percentage of grain and oil purchases. The reverse data dimensions include: total amount of kitchen waste collected on the day (kg), total amount of oil recovered on the day (kg), number of collections on the day, average weight of a single collection on the day (kg), waste generation rate on the day (waste generation / purchase volume, %), and oil production rate on the day (oil recovery / waste generation, %). The associated data dimensions include: forward-reverse difference rate ((theoretical waste production - actual waste production) / theoretical waste production, %), vertical anomaly markers (0=normal, 1=abnormal), horizontal anomaly markers (0=normal, 1=abnormal), difference anomaly markers (0=normal, 1=abnormal), comprehensive anomaly level (0=normal, 1=attention, 2=warning, 3=severe), and blockchain evidence hash. Example 4: Construction of Dynamic Waste Generation Baseline Model like Figure 5 As shown, the construction process of the dynamic waste generation baseline model is as follows: Step S501: Extract training samples from the historical forward-reverse data association matrix. Assume that a catering business entity A has 180 consecutive days of historical data, select the first 150 days as the training set and the last 30 days as the validation set. Step S502, construct the feature vector. For each day in the training set, construct the following feature vector X = [P, S, N, C, Rm, Rf, Ro]: - P (Food Procurement Quantity): Total food procurement volume for the day, in kilograms; - S (Sales Revenue): Total sales revenue of dishes on the day, in yuan; - N (Number of diners): Total number of diners on the day; - C (Number of food types): The number of different types of food purchased on that day; - Rm (Poultry and Meat Procurement Ratio): The proportion of meat and poultry ingredients procured on the same day to the total procurement weight; - Rf (Grain and Oil Procurement Ratio): The proportion of grain and oil food purchased on the day to the total purchased weight; - Ro (Proportion of Seafood Purchases): The proportion of seafood purchased on the day to the total purchased weight. Step S503: Establish a multiple linear regression model. The least squares method is used to fit the following model: W = β0 + β1×P + β2×S + β3×N + β4×C + β5×Rm + β6×Rf + β7×Ro + ε Where W is the daily waste production (kg), β0 to β7 are model coefficients, and ε is the error term. Taking a Sichuan hot pot restaurant as an example, after 150 days of data training, the model coefficients are as follows: β0 = -5.2, β1 = 0.18, β2 = 0.002, β3 = 0.05, β4 = 0.8, β5 = 12.5, β6= 2.3, β7 = 8.6. The physical meaning of the model is that for every 1 kg increase in the amount of ingredients purchased, the theoretical waste production increases by 0.18 kg; meat and poultry ingredients have the highest waste production coefficient (12.5), followed by aquatic products (8.6), and grains and oils have the lowest (2.3), which is consistent with the actual experience of the catering industry. Step S504: Calculate the normal fluctuation range. Based on the residual distribution of the training set, calculate the standard deviation σ of the residuals. Set the confidence level to 95% (corresponding to k=1.96), then the normal fluctuation range is [W_predicted - 1.96σ, W_predicted +1.96σ]. Step S505, Model Validation and Adaptive Update. The model is validated using 30 days of data from the validation set, and the root mean square error (RMSE) on the validation set is calculated. When the RMSE exceeds a preset threshold, model retraining is triggered. Furthermore, the system automatically performs incremental updates to the model monthly using the latest historical data to adapt to changes in the business model of the operating entity. Example 5: Multidimensional Anomaly Detection This embodiment details the specific execution process of the three anomaly detection modes. (a) Longitudinal baseline deviation detection Suppose that the theoretical waste generation of a certain catering business entity B (a medium-sized fast food restaurant) on a certain day is 320 kg, with a normal fluctuation range of [290, 350] kg (k=1.96). The actual waste generation on that day is 180 kg. Calculate the deviation range: (320 - 180) / 320 = 43.75%. The preset first threshold is 15%. Since 43.75% > 15% and the actual waste generation is lower than the lower limit of the normal fluctuation range, it is judged as a vertical anomaly (low waste generation anomaly). (ii) Horizontal comparison and detection of similar types Assume that business entity B belongs to the "fast food - medium-sized - primarily dine-in" cluster, which contains 120 similar businesses. The system performs K-Means cluster analysis (K=3) on the average waste generation rate of each entity within this cluster over the past 30 days, resulting in three groups: - High-performing group (30 companies): Average waste rate median value is 28%. - Middle group (65 companies): The median average waste generation rate was 22%. - Low-performing group (25 companies): Average waste rate median value was 16%. The average waste generation rate of business entity B over the past 30 days is 12%, which is lower than the median value of 16% for the low-performing group. The second threshold is preset to 3 percentage points. Since 16% - 12% = 4% > 3%, it is judged as a horizontal anomaly (low waste generation anomaly). (III) Forward-Reverse Difference Detection Based on the daily food procurement data and the food waste generation coefficient table, calculate the theoretical amount of kitchen waste generated: - 150 kg of vegetables were purchased that day, with a waste factor of 0.15 and a theoretical waste of 22.5 kg. - 80 kg of meat and poultry were purchased on the day, with a waste factor of 0.25 (including inedible parts such as bones and skin), theoretically resulting in 20 kg of waste. - 40 kg of aquatic products were purchased on the day, with a waste factor of 0.30 (including scales, viscera, etc.), theoretically resulting in 12 kg of waste. - 30 kg of grains and oils were purchased on the day, with a waste factor of 0.05 and a theoretical waste of 1.5 kg. - A total of 260 kg of ingredients were used for the day's sales, with 40 kg remaining. The estimated waste rate for the remaining ingredients is 70%, or 28 kg. - Theoretical daily food waste generation = 22.5 + 20 + 12 + 1.5 + 28 = 84 kg The actual amount collected that day was 50 kg. The discrepancy rate = (84 - 50) / 84 = 40.5%. The preset third threshold is 20%. Since 40.5% > 20%, it is judged as an abnormal discrepancy. Example 6: Anomaly Classification and Collaborative Supervision Continuing with the previous example, the test results for business entity B on a certain day were: vertical anomaly (deviation of 43.75%), horizontal anomaly (deviation of 4 percentage points), and difference anomaly (difference rate of 40.5%). All three testing modes detected anomalies, and according to the grading rules, it was determined to be of the severe level. The system automatically triggers the following linked monitoring processes: Step S601: Generate a verification work order. The system matches the severity level of the disposal rules from the regulatory disposal rule base and generates a verification work order. The work order includes: the name of the abnormal entity (operating entity B), unified social credit code, abnormal date, abnormal type (severe - low waste production abnormality), vertical deviation (43.75%), horizontal deviation (4 percentage points), positive-reverse difference rate (40.5%), and suggested verification items ("1. Verify whether the daily collection and transportation records are complete; 2. Check whether there is any illegal dumping; 3. Verify whether all oil recycling has entered the formal recycling channels; 4. Verify the whereabouts of the remaining food ingredients"). Step S602, Work Order Push. The verification work order is simultaneously pushed to: the regulatory terminal of the regional market supervision department (priority: urgent, feedback required within 48 hours), the catering business terminal of business entity B (explanatory materials required within 24 hours), and the terminal of the collection and transportation unit responsible for the collection and transportation task of business entity B (supporting materials for the entire collection and transportation process on the same day are required). Step S603, GPS trajectory backtracking. The system automatically retrieves the GPS trajectory data of the collection vehicle for the day and finds that the vehicle deviated from the standard collection route between 14:30 and 15:15 that afternoon, stopping in a suburban area for 45 minutes. The coordinates of this stopping point are compared with the coordinate database of illegal processing sites and fall within the 500-meter geofence of a known illegal waste cooking oil processing site. Step S604: High-risk alarm generation. The system appends GPS trajectory deviation information to the verification work order and simultaneously generates a high-risk alarm, which is directly pushed to the monitoring terminal. The alarm content is: "A collection vehicle is suspected of entering an illegal processing site area. It is recommended to immediately initiate on-site verification." Step S605: Verification Feedback and Model Update. After on-site verification, the regulatory department confirmed that business entity B had engaged in illegal activities, including outsourcing some kitchen waste to unqualified personnel and failing to fully recycle waste cooking oil. The regulatory department entered the verification results into the system, which automatically adjusted business entity B's risk level to high risk and temporarily removed its historical data from the training set to avoid contaminating the baseline model. Simultaneously, the system triggered adaptive correction of the baseline model, recalculating the entity's normal fluctuation range after excluding abnormal data. Example 7: Blockchain-based Evidence Storage Taking a food waste collection task as an example, the specific process of blockchain-based evidence storage is as follows: Step S701, data hash calculation. After the collection and transportation task is completed, the system extracts key data fields: collection and transportation task number "WY20260815001", business entity identifier "91110108MA01XXXXXX", collection and transportation timestamp "2026-08-15T09:30:00Z", pre-collection and transportation weight "120.5", post-collection and transportation weight "385.2", net collection and transportation weight "264.7", collection and transportation vehicle identifier "Jing A12345". Step S702, combining the evidence storage data packet. Splice the above fields into a character string in a fixed order, append a timestamp and a random salt value, and calculate the SHA-256 hash value: Hash = SHA256("WY20260815001|91110108MA01XXXXXX|2026-08-15T09:30:00Z|120.5|385.2|264.7|Jing A12345|1789561234567|salt:a3f2b1") = "3a8f2e... (64-bit hexadecimal string)" Step S703, uploading to the chain for evidence storage. Submit the evidence storage data packet to the consortium blockchain network, and the preset smart contract verifies the data format before writing it into the block. After the successful uploading to the chain, the block height "18572341" and the transaction hash "0x7b3a... (66-bit hexadecimal string)" are returned. Step S704, associating the evidence storage record. In the forward-reverse data association matrix, associate and store this collection and transportation record with the block height and transaction hash. Subsequent regulatory authorities or business entities can query the original hash value of this collection and transportation in the blockchain browser through the transaction hash, and compare it with the hash recalculated from the data stored in the system to verify whether the data has been tampered with. The above description is merely the preferred embodiments of the present invention, and is not intended to limit the present invention. Any modification, equivalent replacement and improvement made within the spirit and principle of the present invention shall all fall within the protection scope of the present invention.

Claims

1. A method for coordinated monitoring of abnormal waste generation in food waste, characterized in that, Includes the following steps: S1. Multi-source heterogeneous data collection and standardization: Multi-source heterogeneous data is collected from the food supply chain forward business system and the food waste reverse collection and transportation system, respectively. The multi-source heterogeneous data is then cleaned, formatted, and time-aligned to obtain standardized forward supply chain datasets and reverse waste datasets. The forward supply chain dataset includes data on the food business entity's ingredient procurement volume, dish sales, number of diners, and ingredient composition. The reverse waste dataset includes data on the weight of food waste collected, the amount of oil recovered, collection frequency, collection time, and GPS trajectory data of collection vehicles. S2. Forward-reverse data association modeling: Based on the food business entity's identifier, the forward supply chain data is linked to the reverse waste data. The supply chain dataset and the reverse waste dataset are correlated spatiotemporally to construct a forward-reverse data correlation matrix with the business entity as the granularity and the day as the smallest time unit; S3, Waste generation baseline model construction: For each catering business entity, based on its historical forward-reverse data correlation matrix, a dynamic waste generation baseline model is established using time series analysis; the dynamic waste generation baseline model is used to characterize the theoretical expected value and normal fluctuation range of the weight of kitchen waste and the amount of oil recovered by the entity under specific conditions of food purchase volume, dish sales volume, and number of diners; S4, Multi-dimensional anomaly detection: The real-time collected forward-reverse data correlation matrix is ​​input into the dynamic waste generation baseline model to perform multi-dimensional anomaly detection, the multi-dimensional... Anomaly detection includes at least the following three detection modes: (a) Vertical baseline deviation detection: The current waste production is compared with the theoretical expected value output by the dynamic waste production baseline model. When the actual waste production deviates from the normal fluctuation range by more than a preset first threshold, it is determined to be a vertical anomaly; (b) Horizontal similarity comparison detection: The waste production rate of the current catering business entity is clustered and compared with the waste production rate of other entities in the same type cluster. When the waste production rate of the current entity deviates from the center value of the same type cluster by more than a preset second threshold, it is determined to be a horizontal anomaly; The same type cluster is divided according to the cuisine category, business scale level and dining scenario type of the business entity; (c) Forward-backward difference detection: Based on the forward supply chain dataset The theoretical amount of kitchen waste generated is calculated based on the food procurement quantity data and food type composition data. The theoretical amount of kitchen waste generated is compared with the actual collection weight in the reverse waste dataset. When the difference rate exceeds a preset third threshold, it is judged as an abnormality. S5, Abnormality Classification and Early Warning Output: Based on the detection results of the multi-dimensional abnormality detection, the abnormality is classified according to preset rules, and the classified early warning result is output. The abnormality classification includes at least four levels: normal, attention, early warning, and severe. S6, Linked Supervision Trigger: When the classified early warning result reaches the early warning level or the severe level, the linked supervision process is automatically triggered, a verification work order is generated and pushed to the preset supervision terminal, catering business entity terminal, and collection unit terminal.

2. The method according to claim 1, characterized in that, The multi-source heterogeneous data mentioned in step S1 includes: food purchase order data from the food traceability platform, which includes the type of food purchased, purchase weight, purchase time, supplier information, and batch traceability identifier; dish sales data from the catering management system, which includes dish name, number of servings sold, sales time, and ingredient ratio information; diners data from the restaurant reservation system, which includes the number of dine-in diners, takeout orders, and private room reservations; collection data from the food waste collection and transportation management system, which includes collection vehicle weighing data, collection timestamp, collection vehicle identification, driver information, and corresponding catering business entity identification; grease recycling data from the grease recycling management system, which includes the weight of recycled grease, recycling time, recycling vehicle identification, and corresponding catering business entity identification; and GPS trajectory data from the vehicle positioning system, which includes the vehicle's real-time location, driving trajectory, stop point coordinates, and stop duration.

3. The method according to claim 1, characterized in that, The process of constructing the forward-reverse data association matrix in step S2 includes: establishing a forward-reverse data association table with the unique identifier of the catering business entity as the primary key and the natural day as the time granularity; aggregating all forward supply chain data of the same business entity within the same day, and calculating the total purchase volume, total sales, total number of diners, and ingredient types to form a vector; aggregating all reverse waste data of the same business entity within the same day, and calculating the total waste production, total oil recovery, number of collections, and average weight per collection; and matching the aggregated forward and reverse data according to the business entity identifier and date to form the forward-reverse data association matrix.

4. The method according to claim 1, characterized in that, The construction process of the dynamic waste generation baseline model in step S3 includes: extracting training samples from the historical forward-backward data correlation matrix. The feature vector of the training samples includes the daily food purchase volume, daily dish sales revenue, daily number of diners, daily number of food types, daily meat and poultry purchase ratio, daily aquatic product purchase ratio, and daily grain and oil purchase ratio; using a multiple regression analysis method, establishing a waste generation prediction function: W = f(P, S, N, C, Rm, Rf, Ro) + ε, where W is the theoretical waste generation, P is the food purchase volume, S is the dish sales revenue, N is the number of diners, C is the number of food types, Rm is the meat and poultry purchase ratio, Rf is the grain and oil purchase ratio, Ro is the aquatic product purchase ratio, and ε is the error term; based on the historical residual distribution, calculating the normal fluctuation range, which is ±k times the standard deviation of the theoretical waste generation, where k is dynamically adjusted according to the confidence level requirement.

5. The method according to claim 1, characterized in that, The method for calculating the theoretical amount of kitchen waste generated in step S4(c) includes: obtaining the theoretical waste generation coefficient of each type of food ingredient based on the composition data of the ingredients; the theoretical waste generation coefficient is determined based on the type of food ingredient, with different types of food ingredients corresponding to different proportions of inedible parts and processing loss ratios; calculating the theoretical weight of inedible parts and theoretical processing loss weight of the day based on the daily food purchase data and the theoretical waste generation coefficient; calculating the weight of each type of food ingredient consumed by the dishes sold on the day based on the ingredient ratio information of the dishes sold on the day; subtracting the total weight of food ingredients consumed by the dishes sold on the day from the total weight of food purchased on the day to obtain the weight of remaining food ingredients on the day; adding the theoretical weight of inedible parts, the theoretical processing loss weight, and the estimated waste portion of the remaining food ingredients on the day to obtain the theoretical amount of kitchen waste generated on the day.

6. The method according to claim 1, characterized in that, The horizontal comparison and detection in step S4(b) further includes: performing cluster analysis on the historical waste generation rate data of each business entity in the same type cluster to identify natural groups; when the waste generation rate of the current entity is lower than the center value of the lowest group in the same type cluster, it is determined to be a low waste generation anomaly; the low waste generation anomaly indicates the risk of illegal dumping of kitchen waste or illegal return of waste cooking oil; when the waste generation rate of the current entity is higher than the center value of the highest group in the same type cluster, it is determined to be a high waste generation anomaly; the high waste generation anomaly indicates the risk of food waste or abnormal collection and transportation data.

7. The method according to claim 1, characterized in that, The anomaly classification in step S5 is performed according to the following rules: Normal level: No anomaly is detected in any of the three detection modes; Attention level: Only one detection mode detects a slight anomaly, or the deviation of the longitudinal baseline is between the first threshold and 1.5 times the first threshold; Warning level: Two or more detection modes detect anomalies, or the deviation of the longitudinal baseline exceeds 1.5 times the first threshold, or the difference rate exceeds the third threshold but is less than 1.5 times the third threshold; Severe level: All three detection modes detect anomalies, or the deviation of the longitudinal baseline exceeds 2 times the first threshold, or the difference rate exceeds 1.5 times the third threshold, or the difference rate between the amount of oil recovered and the theoretical amount of oil produced exceeds the preset fourth threshold.

8. The method according to claim 1, characterized in that, The joint supervision process described in step S6 includes: automatically matching the preset supervision and disposal rule library according to the anomaly level and anomaly type to generate a corresponding verification work order; pushing the verification work order to the supervision terminal of the regional supervision department, wherein the verification work order includes information on the anomaly subject, anomaly type, anomaly quantitative indicators, and suggested verification items; simultaneously pushing the verification work order to the terminal of the catering business entity, requiring the entity to submit explanatory materials or rectification reports within a limited time; simultaneously pushing the verification work order to the terminal of the collection and transportation unit, requiring the collection and transportation unit to cooperate in providing supporting materials for the collection and transportation process; receiving the verification results from all parties, updating the risk file of the anomaly subject, and triggering the adaptive correction of the dynamic waste generation baseline model.

9. The method according to claim 8, characterized in that, The method further includes: automatically triggering GPS trajectory backtracking analysis of the collection vehicle when the graded early warning result reaches the severe level; comparing the actual driving trajectory of the collection vehicle with the preset standard collection route, and when the actual trajectory deviates from the standard collection route by more than a preset fifth threshold, adding the trajectory deviation information to the verification work order; comparing the coordinates of the collection vehicle's stopping point during non-collection periods with a known illegal processing site coordinate database for geofencing, and when it is detected that the stopping point falls within the geofence range of the illegal processing site, generating a high-risk alarm and directly pushing it to the monitoring terminal.

10. The method according to claim 1, characterized in that, The method further includes a blockchain evidence storage step: hashing key data fields in the forward supply chain dataset and the reverse waste dataset to obtain data hash values; combining the data hash values, timestamps, business entity identifiers, and data type identifiers into an evidence storage data package; submitting the evidence storage data package to the blockchain network for on-chain evidence storage to obtain block height and transaction hash; and recording the block height and transaction hash in the forward-reverse data association matrix to support subsequent data authenticity verification.

11. A system for monitoring and coordinating abnormal waste generation in food waste, characterized in that, include: The data acquisition and standardization module is used to collect multi-source heterogeneous data from the forward business system of the food supply chain and the reverse collection and transportation system of kitchen waste, respectively, and to perform data cleaning, format unification and time alignment processing on the multi-source heterogeneous data to obtain standardized forward supply chain datasets and reverse waste datasets. The data association modeling module is used to associate the forward supply chain dataset and the reverse waste dataset in a spatiotemporal dimension based on the identification of catering business entities, and to construct a forward-reverse data association matrix with the business entity as the granularity and the day as the smallest time unit. The waste generation baseline modeling module is used to establish a dynamic waste generation baseline model for each catering business entity based on its historical forward-backward data correlation matrix and using time series analysis. The dynamic waste generation baseline model is used to characterize the theoretical expected value and normal fluctuation range of the weight of kitchen waste and the amount of oil recovered by the entity under specific conditions of food purchase volume, dish sales volume and number of diners. The anomaly detection engine module is used to input the real-time collected forward-reverse data correlation matrix into the dynamic waste generation baseline model to perform multi-dimensional anomaly detection; the multi-dimensional anomaly detection includes at least vertical baseline deviation detection, horizontal similarity comparison detection, and forward-reverse difference detection; The graded early warning module is used to classify anomalies according to preset rules based on the detection results of the multi-dimensional anomaly detection, and output graded early warning results. The linkage supervision module is used to automatically trigger the linkage supervision process when the graded early warning result reaches the early warning level or the severity level, generate a verification work order and push it to the preset supervision terminal, catering business entity terminal and collection and transportation unit terminal.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 10.

13. An electronic device, comprising a processor, a memory, and a communication interface, characterized in that, The memory stores a computer program, and when the processor executes the computer program, it implements the method as described in any one of claims 1 to 10.