Food full cycle traceability method based on food safety

By calculating the abnormal scores of traceability data and using clustering algorithms for data mining, we can evaluate the reliability and safety risk coefficient of food, solve the problems of missing data and abnormal data interference in food traceability technology, and achieve a more accurate food safety assessment. .

CN118379075BActive Publication Date: 2024-09-20LIAOCHENG UNIV

Patent Information

Application Number
CN202410813735.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-20
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

The existing food full-cycle traceability technology is prone to missing data and irrelevant abnormal data interference during the data collection process, which affects the reliability and accuracy of traceability data.

Method used

By obtaining the traceability numerical data of different batches of food, calculating the abnormal score, using the DBSCAN clustering algorithm and FP-Growth algorithm for data mining, identifying the associated traceability links, assessing the reliability and safety risk coefficient of the food, and combining the consumer Salmonella exposure input quantity and vulnerability coefficient to conduct food safety assessment.

Benefits of technology

It improves the accuracy and reliability of food traceability data and provides more precise food risk assessment results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118379075B
    Figure CN118379075B
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and specifically to a full-cycle food traceability method based on food safety, including: obtaining traceability numerical data and timestamps for each batch of food, including multiple dimensional data. Calculating the intake of Salmonella and the vulnerability coefficient after consumption by consumers. Analyzing the traceability data of the batch to be analyzed and determining the target batch. Evaluating the correlation of traceability data between different batches, and determining the associated traceability links accordingly. Comprehensively referring to the batch quantity, update anomaly score and time interval, the reliability of each batch of food is evaluated. Combining the food quantity, safety risk coefficient and consumer data, the food safety is evaluated. The present invention provides a more accurate food risk assessment result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a food full-cycle traceability method based on food safety. Background Art

[0002] In today's society, the frequent occurrence of food safety accidents has attracted widespread attention, which not only threatens public health, but also affects consumer rights and the reputation of the food industry. Therefore, the use of technical means to track the source of food, monitor its production process, and record information on food circulation has become a key measure to improve food safety management. However, the existing full-cycle food traceability technology has encountered some challenges, including the possible loss of some data during the data collection process and the interference of irrelevant abnormal data. These problems seriously affect the reliability and effectiveness of the traceability data, thereby reducing the accuracy of the traceability results. Summary of the invention

[0003] The present invention provides a food full-cycle traceability method based on food safety to solve the existing problems.

[0004] The food full-cycle traceability method based on food safety of the present invention adopts the following technical solutions:

[0005] One embodiment of the present invention provides a food full-cycle traceability method based on food safety, the method comprising the following steps:

[0006] Obtaining the traceability numerical data of each food in different batches of food at several traceability links, wherein the traceability numerical data of all foods in the same batch of food at all traceability links constitutes the traceability data of each batch of food, and each traceability data corresponds to the same timestamp, and the traceability numerical data includes several dimensional data; obtaining the intake of Salmonella by consumers after eating the food, and the Salmonella vulnerability coefficient of consumers after eating the food;

[0007] Any batch of food is recorded as a batch to be analyzed, and the target batch is obtained according to the traceability numerical data of each traceability link of all foods in the batch to be analyzed;

[0008] According to the traceability numerical data of any two batches of food in each traceability link and the number of traceability links, the correlation between any two batches of food is obtained; according to the correlation between any two batches of food and the target batch, the associated traceability links are obtained;

[0009] Obtain a reference batch according to the associated traceability links; obtain and update the abnormal score value according to the traceability numerical data of all associated traceability links in the reference batch;

[0010] The reliability of each batch of food is obtained based on the number of reference batches of each batch of food, the updated abnormal score values ​​of all traceability links in the reference batches of each batch of food, and the time interval between the reference batch of each batch of food and the traceability data of each batch of food; the safety risk factor of each batch of food is obtained based on the reliability of each batch of food, the number of each batch of food, the Salmonella intake of consumers after consuming the food, and the Salmonella vulnerability coefficient of consumers after consuming the food; food safety is evaluated based on the safety risk factor.

[0011] Preferably, the step of obtaining the target batch according to the traceability numerical data of each traceability link of all foods in the batch to be analyzed includes the following specific steps:

[0012] Place all foods in the batch to be analyzed in The mean of all traceability numerical data in the traceability link is recorded as the first mean;

[0013] The batch to be analyzed Food in The mean of all traceability numerical data in the traceability link is recorded as the second mean;

[0014] Calculate the number of all foods in the batch to be analyzed. The standard deviation of all traceability numerical data in the traceability link is recorded as the ratio of the difference between the first mean and the second mean and the standard deviation as the value of the first traceability value in the batch to be analyzed. Food in The abnormal score value of each traceability link;

[0015] The target batch is obtained based on the abnormal score value of each food in the batch to be analyzed at each traceability link.

[0016] Preferably, the target batch is obtained according to the abnormal score value of each food in each traceability link in the batch to be analyzed, and the specific calculation steps include the following:

[0017]

[0018] In the formula, The batch to be analyzed The abnormal score value of each traceability link; is the number of food batches to be analyzed; The batch to be analyzed Food in The abnormal score value of each traceability link; To take the absolute value;

[0019] The target batch is obtained based on the abnormal score value of each traceability link in all batches of food.

[0020] Preferably, the step of obtaining the target batch according to the abnormal score value of each traceability link in all batches of food includes the following specific steps:

[0021] Among all traceability links of all batches of food, the traceability link with an abnormal score value greater than the first preset threshold is recorded as an abnormal traceability link;

[0022] Batches of food with abnormal traceability links will be recorded as abnormal batches;

[0023] Any abnormal batch is recorded as the target batch.

[0024] Preferably, the step of obtaining the correlation between any two batches of food according to the traceability numerical data of any two batches of food at each traceability link and the number of traceability links comprises the following specific steps:

[0025]

[0026] In the formula, Indicates Batch food and Batch correlation; Indicates The number of traceability links in a food batch; Indicates Batch food and All foods in the batch are The absolute value of the difference between the mean values ​​of all traceability numerical data in a traceability link.

[0027] Preferably, the step of obtaining the associated traceability link based on the correlation between any two batches of food and the target batch includes the following specific steps:

[0028] Taking the correlation between any two batches of food as the cluster distance, the DBSCAN clustering algorithm is used to cluster all batches of food to obtain several clusters;

[0029] The cluster where the target batch is located is recorded as the target cluster. The FP-Growth algorithm is used to build FP tree models for all batches of food in the target cluster. Data mining is performed on each FP tree model to obtain the degree of correlation between the abnormal traceability link and other traceability links in any batch of food.

[0030] Among all the traceability links of the target batch, the other traceability links that are most correlated with the xth abnormal traceability link in the target batch are recorded as correlated traceability links.

[0031] Preferably, the obtaining of the reference batch according to the associated traceability link includes the following specific steps:

[0032] Among all the traceability links of all batches of food in the target cluster, the traceability link that is the same as the associated traceability link in the target batch is recorded as the main traceability link;

[0033] Obtaining the absolute value of the difference between the mean of all traceability numerical data of all foods of the target batch in the primary traceability link and any other batch of food other than the target batch, and normalizing the absolute value of the difference to obtain the dimensional difference of the associated data; when the dimensional difference of the associated data is less than a second preset threshold, determining that any other batch of food other than the target batch has similarity with the target batch;

[0034] In the target cluster, the batches of food that are similar to the target batch are recorded as reference batches.

[0035] Preferably, the step of obtaining and updating the abnormal score value according to the traceability numerical data of all associated traceability links in the reference batch includes the following specific steps:

[0036] The average of the traceability numerical data of the main traceability link of all reference batches is recorded as the updated traceability numerical data of the xth abnormal traceability link in the target batch;

[0037] According to the updated traceability numerical data of the xth abnormal traceability link in the target batch, the updated abnormal score value of the xth abnormal traceability link in the target batch is obtained in the way of obtaining the abnormal score value of each traceability link in the batch to be analyzed;

[0038] The abnormal score values ​​of all abnormal batches and all non-abnormal traceability links in non-abnormal batches are recorded as updated abnormal score values.

[0039] Preferably, the reliability of each batch of food is obtained according to the number of reference batches of each batch of food, the updated abnormal score values ​​of all traceability links in the reference batch of each batch of food, and the time interval between the reference batch of each batch of food and the traceability data of each batch of food, including the following specific steps:

[0040]

[0041] In the formula, The reliability of the zth batch of food; is the number of the reference batch of the zth batch of food; The first batch of food The average of the updated anomaly scores of all traceability links in a reference batch; For the zth batch of food and its The time interval for the traceability data of the reference batches.

[0042] Preferably, the step of obtaining the safety risk factor of each batch of food according to the reliability of each batch of food, the quantity of each batch of food, the intake of Salmonella by consumers after consuming the food, and the Salmonella vulnerability coefficient of consumers after consuming the food comprises the following specific steps:

[0043]

[0044] In the formula, is the safety risk factor of the zth batch of food; is the quantity of the zth batch of food; The reliability of the zth batch of food; After the consumer has consumed the first batch of food Salmonella intake after each food item; To consume the food in batch z The Salmonella vulnerability factor of consumers of each food; represents the linear normalization function.

[0045] The beneficial effect of the technical solution of the present invention is that the present invention identifies various links related to reference batches of food by performing association analysis, and deeply analyzes the data and abnormality scores of these batches of food. At the same time, multiple factors such as time intervals are taken into account to evaluate the accuracy and reliability of each batch of food after the data is updated. In addition, combined with factors such as the reliability of food batches and the quantity of food, more accurate food risk assessment results are provided to consumers. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0047] Figure 1 This is a flow chart of the steps of the food full-cycle traceability method based on food safety of the present invention. DETAILED DESCRIPTION

[0048] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the food full-cycle traceability method based on food safety proposed by the present invention, its specific implementation method, structure, characteristics and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0049] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0050] The specific scheme of the food full-cycle traceability method based on food safety provided by the present invention is described in detail below with reference to the accompanying drawings.

[0051] See also Figure 1 , which shows a flowchart of a method for food full-cycle traceability based on food safety provided by an embodiment of the present invention, the method comprising the following steps:

[0052] Step S001: Obtain the traceability numerical data of each food in different batches of food at several traceability links, wherein the traceability numerical data of all foods in the same batch of food at all traceability links constitute the traceability data of each batch of food, and each traceability data corresponds to the same timestamp, and the traceability numerical data includes several dimensional data; obtain the Salmonella intake of consumers after eating the food, and the Salmonella vulnerability coefficient of consumers after eating the food.

[0053] Obtain the traceability numerical data of each food in different batches of food at multiple traceability links. Among them, the traceability numerical data of each food in the same batch of food at multiple traceability links constitute the traceability data of each food in this batch of food, and each traceability data corresponds to the same timestamp.

[0054] It should be noted that: the traceability numerical data contains multiple dimensional data. Therefore, in this embodiment, the traceability data is normalized by decimal calibration so that they have similar scales and distributions for better comparison. Decimal calibration and normalization are well-known technologies, and the specific method is not introduced here.

[0055] Obtain the Salmonella intake of consumers after eating the food and the Salmonella vulnerability coefficient of consumers after eating the food.

[0056] In this embodiment, the traceability links include raw materials, food processing, food quality inspection, food storage, food transportation, etc. The traceability numerical data of each traceability link is obtained through the food traceability data management library. The intake of Salmonella and the vulnerability coefficient of Salmonella are obtained through a professional database. This example is used for description. In other implementations, the acquisition method and data type can be set to other types, which are not limited in this embodiment.

[0057] Step S002: record any batch of food as a batch to be analyzed, and obtain a target batch based on the traceability numerical data of each traceability link of all foods in the batch to be analyzed.

[0058] Before conducting a food safety assessment, it is first necessary to evaluate the traceability data of each food in the batch to determine whether there are any missing or abnormal data.

[0059] In this embodiment, any batch of food is recorded as the batch to be analyzed, and all the food in the batch to be analyzed is obtained. The mean and standard deviation of all traceability numerical data in the traceability link are recorded as the first mean; further obtain the first mean in the batch to be analyzed. Food in The mean of all traceability numerical data in the traceability link is recorded as the second mean.

[0060] Obtain the difference between the first mean and the second mean, and record the ratio of the difference to the standard deviation as the Food in The abnormal score value of each traceability link .

[0061] This embodiment provides a method for calculating the abnormal score value of all foods in the batch to be analyzed at each traceability link as follows:

[0062]

[0063] In the formula, The batch to be analyzed The abnormal score value of each traceability link; is the number of food batches to be analyzed; The batch to be analyzed Food in The abnormal score value of each traceability link; To take the absolute value.

[0064] This embodiment sets a threshold to determine whether there is an abnormal traceability link in the batch to be analyzed. Specifically, among all traceability links of all batches of food, the traceability link with an abnormal score value greater than the first preset threshold is recorded as an abnormal traceability link. The batch of food with abnormal traceability links is recorded as an abnormal batch. Any abnormal batch is recorded as a target batch.

[0065] What needs to be explained is: The purpose of threshold judgment is to find the traceability link where abnormalities may exist.

[0066] In this embodiment, the first preset threshold is 0.15, which is used as an example for description. In other implementations, it can be set to other types, which is not limited in this embodiment.

[0067] Step S003: Obtain the correlation between any two batches of food based on the traceability numerical data of any two batches of food in each traceability link and the number of traceability links; obtain the associated traceability links based on the correlation between any two batches of food and the target batch.

[0068] If the traceability data of the target batch is missing or abnormal, this embodiment corrects it by using the traceability data of the same type of food in different batches. Specifically, the FP tree model is used to perform data mining on the association rules of the abnormal traceability link determined in the above steps.

[0069] It should be noted that in actual situations, different batches of similar foods may come from different OEM factories or raw material production areas. Therefore, before building an FP tree model to perform data mining on abnormal traceability links, it is necessary to cluster the food traceability data of different batches. In this way, an FP tree model can be built for batches of food with similar characteristics to the target batch, making it easier to obtain data update values.

[0070] Select any two batches of food and Batch food and Take batch food as an example.

[0071] This embodiment provides a calculation method for obtaining the correlation between different batches of food as follows:

[0072]

[0073] In the formula, Indicates Batch food and Batch correlation; Indicates The number of traceability links in a food batch; Indicates Batch food and All foods in the batch are The absolute value of the difference between the mean values ​​of all traceability numerical data in a traceability link.

[0074] It should be noted that the purpose of adding 1 to the denominator is to ensure that the denominator is not 0.

[0075] At this point, the correlation between any two batches of food is obtained.

[0076] Taking the correlation between any two batches of food as the cluster distance, the DBSCAN clustering algorithm is used to cluster all batches of food to obtain several clusters. The cluster where the target batch is located is recorded as the target cluster, and the FP-Growth algorithm is used to construct FP tree models for all batches of food in the target cluster to obtain several FP tree models. Data mining is performed on each FP tree model according to the FP-Growth algorithm to obtain the degree of correlation between the abnormal traceability link and other traceability links in any batch of food.

[0077] Among them, the DBSCAN clustering algorithm and the FP-Growth algorithm are well-known technologies, and are not described in detail in this embodiment. In other embodiments, the clustering algorithm and the model building algorithm can be set according to specific circumstances, and are not specifically limited in this embodiment.

[0078] This embodiment takes the FP tree model corresponding to the target batch as an example, obtains other traceability links that are most associated with the xth abnormal traceability link in the target batch, and records them as associated traceability links.

[0079] It should be noted that if there are multiple maximum correlation degrees, any one of them is selected as an example for analysis.

[0080] Step S004: obtaining a reference batch according to the associated traceability links; obtaining an updated abnormal score value according to the traceability numerical data of all associated traceability links in the reference batch.

[0081] Among all the traceability links of all batches of food in the target cluster, the traceability link that is the same as the associated traceability link in the target batch is recorded as the main traceability link; the absolute value of the difference between the mean of all traceability numerical data of any batch of food other than the target batch and all foods of the target batch in the main traceability link is calculated; the absolute value of the difference is further normalized to obtain the dimensional difference of the associated data.

[0082] It should be noted that: this embodiment uses a linear normalization function Perform normalization.

[0083] When the difference in the associated data dimension is less than the second preset threshold, the two batches of food are considered to be similar. In this embodiment, the second preset threshold is 0.3, which is used as an example for description. In other implementations, it can be set to other values, which are not limited in this embodiment.

[0084] In the target cluster, the batches of food that are similar to the target batch are recorded as reference batches.

[0085] The average of the traceability numerical data of the main traceability link of all reference batches is recorded as the updated traceability numerical data of the x-th abnormal traceability link in the target batch.

[0086] According to the updated traceability numerical data of the xth abnormal traceability link in the target batch, the updated abnormal score value of the xth abnormal traceability link in the target batch is obtained in the way of obtaining the abnormal score value of each traceability link in the batch to be analyzed;

[0087] The abnormal score values ​​of all abnormal batches and all non-abnormal traceability links in non-abnormal batches are recorded as updated abnormal score values.

[0088] It should be noted that the traceability numerical data of the main traceability link of each reference batch is a data set, that is, the above operation is to calculate the mean of multiple data sets to obtain a new data set.

[0089] Step S005: Obtain the reliability of each batch of food based on the number of reference batches of each batch of food, the updated abnormal score values ​​of all traceability links in the reference batch of each batch of food, and the time interval between the reference batch of each batch of food and the traceability data of each batch of food; obtain the safety risk factor of each batch of food based on the reliability of each batch of food, the number of each batch of food, the Salmonella intake of consumers after consuming the food, and the Salmonella vulnerability coefficient of consumers after consuming the food; and evaluate food safety based on the safety risk factor.

[0090] According to the method of obtaining the reference batch of the target batch, the reference batch of each batch of food is obtained.

[0091] This embodiment provides a calculation method for obtaining the food safety risk coefficient as follows:

[0092]

[0093] In the formula, The reliability of the zth batch of food; is the number of the reference batch of the zth batch of food; The first batch of food The average of the updated anomaly scores of all traceability links in a reference batch; For the zth batch of food and its The time interval for the traceability data of the reference batches.

[0094]

[0095] In the formula, is the safety risk factor of the zth batch of food; is the quantity of the zth batch of food; The reliability of the zth batch of food; After the consumer has consumed the first batch of food Salmonella intake after each food item; To consume the food in batch z The Salmonella vulnerability factor of consumers of each food; represents the linear normalization function.

[0096] This embodiment sets a preset threshold value according to the food safety standard to evaluate the risk results of each batch of food. Specifically, when the safety risk coefficient of each batch of food is greater than the preset threshold value, it is determined that the target batch has a greater safety risk and is recalled.

[0097] Similarly, a risk outcome assessment is conducted on each batch of food.

[0098] In this embodiment, the preset threshold is 0.4, which is used as an example for description. In other implementations, it can be set to other values, which are not limited in this embodiment.

[0099] So far, the present invention is completed.

[0100] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A food full-cycle traceability method based on food safety, characterized in that: The method comprises the following steps: Obtaining the traceability numerical data of each food in different batches of food at several traceability links, wherein the traceability numerical data of all foods in the same batch of food at all traceability links constitutes the traceability data of each batch of food, and each traceability data corresponds to the same timestamp, and the traceability numerical data includes several dimensional data; obtaining the intake of Salmonella by consumers after eating the food, and the Salmonella vulnerability coefficient of consumers after eating the food; Any batch of food is recorded as the batch to be analyzed, and the target batch is obtained according to the traceability numerical data of each traceability link of all foods in the batch to be analyzed; According to the traceability numerical data of any two batches of food in each traceability link and the number of traceability links, the correlation between any two batches of food is obtained; according to the correlation between any two batches of food and the target batch, the associated traceability links are obtained; Obtain a reference batch according to the associated traceability links; obtain and update the abnormal score value according to the traceability numerical data of all associated traceability links in the reference batch; Obtain the reliability of each batch of food based on the number of reference batches of each batch of food, the updated abnormal score values ​​of all traceability links in the reference batches of each batch of food, and the time interval between the reference batches of each batch of food and the traceability data of each batch of food; obtain the safety risk factor of each batch of food based on the reliability of each batch of food, the number of each batch of food, the intake of Salmonella by consumers after consuming the food, and the Salmonella vulnerability coefficient of consumers after consuming the food; evaluate food safety based on the safety risk factor; The specific steps of obtaining the target batch according to the traceability numerical data of each traceability link of all foods in the batch to be analyzed are as follows: Place all foods in the batch to be analyzed in The mean of all traceability numerical data in the traceability link is recorded as the first mean; The batch to be analyzed Food in The mean of all traceability numerical data in the traceability link is recorded as the second mean; Calculate the number of all foods in the batch to be analyzed. The standard deviation of all traceability numerical data in the traceability link is recorded as the ratio of the difference between the first mean and the second mean and the standard deviation as the value of the first traceability value in the batch to be analyzed. Food in The abnormal score value of each traceability link; Obtain the target batch according to the abnormal score value of each food in each traceability link in the batch to be analyzed; The specific calculation steps for obtaining the target batch according to the abnormal score value of each food in each traceability link in the batch to be analyzed are as follows: In the formula, The batch to be analyzed The abnormal score value of each traceability link; is the number of food batches to be analyzed; The batch to be analyzed Food in The abnormal score value of each traceability link; To take the absolute value; Obtain the target batch based on the abnormal score value of each traceability link in all batches of food; The specific steps of obtaining the target batch according to the abnormal score value of each traceability link in all batches of food are as follows: Among all traceability links of all batches of food, the traceability link with an abnormal score value greater than the first preset threshold is recorded as an abnormal traceability link; Batches of food with abnormal traceability links will be recorded as abnormal batches; Record any abnormal batch as the target batch; The specific steps of obtaining the correlation between any two batches of food according to the traceability numerical data of any two batches of food at each traceability link and the number of traceability links are as follows: In the formula, Indicates Batch food and Batch correlation; Indicates The number of traceability links in a food batch; Indicates Batch food and All foods in the batch are The absolute value of the difference between the mean values ​​of all traceability numerical data in each traceability link; The specific steps of obtaining the associated traceability link based on the correlation between any two batches of food and the target batch are as follows: Taking the correlation between any two batches of food as the cluster distance, the DBSCAN clustering algorithm is used to cluster all batches of food to obtain several clusters; The cluster where the target batch is located is recorded as the target cluster. The FP-Growth algorithm is used to build FP tree models for all batches of food in the target cluster. Data mining is performed on each FP tree model to obtain the degree of correlation between the abnormal traceability link and other traceability links in any batch of food. Among all the traceability links of the target batch, the other traceability links that have the greatest correlation with the xth abnormal traceability link in the target batch are recorded as the correlated traceability links; The specific steps of obtaining the reference batch according to the associated traceability link are as follows: Among all the traceability links of all batches of food in the target cluster, the traceability link that is the same as the associated traceability link in the target batch is recorded as the main traceability link; Obtaining the absolute value of the difference between the mean of all traceability numerical data of all foods of the target batch in the primary traceability link and any other batch of food other than the target batch, and normalizing the absolute value of the difference to obtain the dimensional difference of the associated data; when the dimensional difference of the associated data is less than a second preset threshold, determining that any other batch of food other than the target batch has similarity with the target batch; In the target cluster, the batches of food that are similar to the target batch are recorded as reference batches; The specific steps of obtaining and updating the abnormal score value according to the traceability numerical data of all associated traceability links in the reference batch include the following: The average of the traceability numerical data of the main traceability link of all reference batches is recorded as the updated traceability numerical data of the xth abnormal traceability link in the target batch; According to the updated traceability numerical data of the xth abnormal traceability link in the target batch, the updated abnormal score value of the xth abnormal traceability link in the target batch is obtained in the way of obtaining the abnormal score value of each traceability link in the batch to be analyzed; Record the abnormal score values ​​of all abnormal batches and all non-abnormal traceability links of non-abnormal batches as updated abnormal score values; The specific steps of obtaining the reliability of each batch of food according to the number of reference batches of each batch of food, the updated abnormal score values ​​of all traceability links in the reference batch of each batch of food, and the time interval between the reference batch of each batch of food and the traceability data of each batch of food are as follows: In the formula, The reliability of the zth batch of food; is the number of the reference batch of the zth batch of food; The first batch of food The average of the updated anomaly scores of all traceability links in a reference batch; For the zth batch of food and its The time interval between the traceability data of the reference batches; The specific steps of obtaining the safety risk factor of each batch of food according to the reliability of each batch of food, the quantity of each batch of food, the intake of Salmonella by consumers after eating the food, and the Salmonella vulnerability coefficient of consumers after eating the food are as follows: In the formula, is the safety risk factor of the zth batch of food; is the quantity of the zth batch of food; The reliability of the zth batch of food; After the consumer has consumed the first batch of food Salmonella intake after each food item; To consume the food in batch z The Salmonella vulnerability factor of consumers of each food; represents the linear normalization function; The specific steps of assessing food safety based on the safety risk factor are as follows: Batches of food whose safety risk coefficient is greater than a preset threshold are regarded as dangerous food.

Citation Information

Patent Citations

  • Data traceability analysis method and device, computer equipment and storage medium

    CN115269687A

  • Quality safety traceability management method and system for food processing

    CN117094611A

  • Method for tracing food products

    EP1489538A1

  • Food safety risk assessment method, apparatus, device, and storage medium

    WO2021232588A1

  • Emergency disposal recommendation method and system for emergencies associated with food safety

    WO2023098445A1

Cited By

  • A blockchain-based method and system for detecting and tracing medicinal and edible ingredients

    CN119762100A