Food safety detection method and food safety detection system
By combining liquid chromatography-tandem mass spectrometry and deep learning models, the problem of efficient and accurate detection of dehydroacetic acid and its sodium salt in food was solved, fast and accurate detection results were achieved, and the quality of the extraction process was improved through online adjustment.
Patent Information
- Application Number
- CN202411952333.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2044-12-27
AI Technical Summary
Existing technologies make it difficult to efficiently and accurately detect the content of dehydroacetic acid and its sodium salt in food, and there are potential health risks, requiring more stringent monitoring methods.
A convolutional neural network model constructed by combining liquid chromatography-tandem mass spectrometry with a deep learning framework can achieve efficient identification of the content of dehydroacetic acid and its sodium salt through sample pretreatment, extraction of bioactive substances, feature data detection and prediction model output.
It achieves rapid and accurate detection of the content of dehydroacetic acid and its sodium salt in food, improves detection efficiency and accuracy, and ensures sample quality through online adjustment during the extraction process.
Smart Images

Figure CN119555847B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of food detection, and in particular to a food safety detection method and a food safety detection system. Background Art
[0002] Food preservatives, also known as antimicrobial agents, can directly or indirectly interfere with microbial growth, reproduction, and metabolism by acting on microbial proteins, genetic material, and enzyme systems. This effectively slows food spoilage, extends food shelf life, enhances economic efficiency, and reduces food poisoning caused by microbial growth and reproduction. Food preservatives can be divided into bactericides and bacteriostats based on their effects, and chemical preservatives and natural preservatives (also known as biological preservatives) based on their components and sources. Chemical preservatives can be further divided into three categories: acidic preservatives, ester preservatives, and inorganic salt preservatives. Currently, the chemical preservatives required for use in food include benzoic acid and its salts, sorbic acid and its salts, dehydroacetic acid and its sodium salt, and parabens (parabens).
[0003] With the increasing number of food preservatives, the abuse of food preservatives in the market is common. The use of various preservatives has been regulated by formulating GB2760-2014 "National Food Safety Standard - Food Additives Usage Standard". The current national standards and industry standards have also introduced a series of detection methods for different preservatives in different food matrix components. Since dehydroacetic acid and its sodium salt are toxic to the human body, the large-scale use of such preservatives can easily cause harm to the human body. Therefore, the content of dehydroacetic acid and its sodium salt in food must be monitored daily.
[0004] The detection of food preservatives is currently carried out by mass spectrometry, which can be gas chromatography-mass chromatography (GC-MS) or liquid chromatography-mass chromatography (LC-MS). There are more than twenty food preservatives currently approved for use, and their use has always been strictly controlled. Therefore, it is necessary to study new advances in the detection of dehydroacetic acid and its sodium salt in food.
[0005] Based on this, a food safety detection method and a food safety detection system are proposed. Summary of the Invention
[0006] The object of the present invention is to provide a food safety detection method, comprising the following steps:
[0007] Collecting multiple samples to be tested from the food to be tested, and pre-treating each collected sample separately;
[0008] extracting bioactive substances from the pretreated sample to obtain a bioactive substance solution;
[0009] adding a standard solution of dehydroacetic acid and its sodium salt to a solution of the biologically active substance to obtain a target mixed solution;
[0010] Detecting the target mixed solution by liquid chromatography-tandem mass spectrometry to extract characteristic data from the target mixed solution;
[0011] Among them, the characteristic data include mass spectrum and chromatographic peak area;
[0012] The extracted characteristic data are input into a prediction model for dehydroacetic acid and its sodium salt, and the predicted content of dehydroacetic acid and its sodium salt in each sample is output;
[0013] The predicted contents of dehydroacetic acid and its sodium salt corresponding to multiple samples are processed to obtain the dehydroacetic acid and its sodium salt content of the food to be tested. If the dehydroacetic acid and its sodium salt content of the food to be tested exceeds the dehydroacetic acid and its sodium salt content threshold, an early warning is issued.
[0014] As a further solution of the present invention: the construction process of the prediction model of dehydroacetic acid and its sodium salt is specifically as follows:
[0015] Use deep learning frameworks to build convolutional neural network models;
[0016] Collect a large number of chromatographic peak area images with different dehydroacetic acid and its sodium salt contents, and annotate the dehydroacetic acid and its sodium salt content corresponding to each chromatographic peak area image to form a data set, and use the data set to train the model;
[0017] During the training process, the model parameters are continuously adjusted to minimize the error between the predicted dehydroacetic acid and its sodium salt content and the actual value.
[0018] As a further solution of the present invention: the trained model is applied to each chromatographic peak area image, and the predicted content of dehydroacetic acid and its sodium salt corresponding to each chromatographic peak area image is output.
[0019] As a further solution of the present invention: the process of obtaining the dehydroacetic acid and sodium salt content of the food to be tested is:
[0020] The predicted content of dehydroacetic acid and its sodium salt in each sample is recorded as Ts i, where i is the number of samples, i = 1, 2, ..., Ts i;
[0021] The predicted contents of dehydroacetic acid and its sodium salt of all samples are sorted to obtain the dehydroacetic acid and its sodium salt content groups Ts1, Ts2, Ts3, ..., Ts i of the food to be tested;
[0022] The dehydroacetic acid and sodium salt content groups of the food to be tested are processed according to the variance calculation formula to obtain the variance value of the dehydroacetic acid and sodium salt content groups of the food to be tested;
[0023] If the variance value of the dehydroacetic acid and its sodium salt content group of the food to be tested is less than the variance threshold of the dehydroacetic acid and its sodium salt content group of the food to be tested, the dehydroacetic acid and its sodium salt content group of the food to be tested is processed according to the mean calculation formula to obtain the dehydroacetic acid and its sodium salt content of the food to be tested.
[0024] As a further embodiment of the present invention: if the variance value of the dehydroacetic acid and sodium salt content group of the food to be tested is greater than or equal to the variance threshold value of the dehydroacetic acid and sodium salt content group of the food to be tested, then the standard deviation value Tsa of the dehydroacetic acid and sodium salt content group of the food to be tested is calculated;
[0025] If the standard deviation value Tsa of the dehydroacetic acid and its sodium salt content group of the food to be tested is greater than or equal to the preset standard deviation value Tsy, the maximum value and / or minimum value in the dehydroacetic acid and its sodium salt content group data of the food to be tested is deleted, and the standard deviation value Tsa of the dehydroacetic acid and its sodium salt content group data of the food to be tested is calculated again until Tsa is less than the preset standard deviation value Tsy. The remaining data in the dehydroacetic acid and its sodium salt content group of the food to be tested are summed and averaged to obtain the dehydroacetic acid and sodium salt content of the food to be tested.
[0026] As a further solution of the present invention: during the extraction process of the bioactive substance solution, the extraction status data of the bioactive substance solution is adjusted online;
[0027] Constructing an actual time-temperature curve of extraction according to the extraction temperature change data and the extraction time change data during the extraction process;
[0028] The actual time-temperature curve extracted is compared with the standard time-temperature curve extracted to achieve online adjustment of the temperature corresponding to the time.
[0029] As a further solution of the present invention: during the extraction process, the actual extraction time-temperature curve is compared with the standard extraction time-temperature curve;
[0030] and obtaining the extraction standard temperature in the extraction standard time-temperature curve corresponding to the actual extraction time point;
[0031] If the extraction real-time temperature is greater than the extraction standard temperature, the extraction temperature is lowered;
[0032] If the extraction real-time temperature is lower than the extraction standard temperature, increase the extraction temperature.
[0033] As a further solution of the present invention: obtaining dynamic adjustment data of the dynamic adjustment during the extraction process of the bioactive substance solution;
[0034] Dynamic adjustment data includes regional deviation ratio, extreme deviation ratio and trend anomaly ratio
[0035] The dynamically adjusted regional deviation ratio is denoted as Dy;
[0036] The dynamically adjusted limit deviation ratio is recorded as Dx;
[0037] The dynamically adjusted trend anomaly ratio is denoted as Ds;
[0038] The dynamic adjustment base Di is calculated.
[0039] As a further solution of the present invention: if the dynamic adjustment base D i≤dynamic adjustment base threshold di, then the adjustment effect of the extraction temperature and extraction time during the extraction process is good;
[0040] If the dynamic adjustment base D i> the dynamic adjustment base threshold di, the adjustment effect of the extraction temperature and the extraction time during the extraction process is poor.
[0041] As a further solution of the present invention: a food safety detection system comprising:
[0042] A sample collection module collects multiple samples to be tested from the food to be tested and pre-processes each collected sample;
[0043] A sample extraction module extracts bioactive substances from the pretreated sample to obtain a bioactive substance solution;
[0044] A sample processing module, wherein the sample processing module adds a standard solution of dehydroacetic acid and its sodium salt to the bioactive substance solution to obtain a target mixed solution;
[0045] A sample analysis module detects the target mixed solution by liquid chromatography-tandem mass spectrometry and extracts characteristic data from the target mixed solution;
[0046] Among them, the characteristic data include mass spectrum and chromatographic peak area;
[0047] The extracted characteristic data are input into a prediction model for dehydroacetic acid and its sodium salt, and the predicted content of dehydroacetic acid and its sodium salt in each sample is output;
[0048] The sample identification module processes the predicted content of dehydroacetic acid and its sodium salt corresponding to multiple samples to obtain the dehydroacetic acid and its sodium salt content of the food to be tested. If the dehydroacetic acid and its sodium salt content of the food to be tested exceeds the dehydroacetic acid and its sodium salt content threshold, an early warning is issued.
[0049] Beneficial effects of the present invention:
[0050] (1) The present invention trains a prediction model for dehydroacetic acid and its sodium salt, inputs characteristic data of the sample to be tested into the prediction model for dehydroacetic acid and its sodium salt for training, thereby efficiently and quickly obtaining the predicted content of dehydroacetic acid and its sodium salt in the sample to be tested, and then processes the predicted content of dehydroacetic acid and its sodium salt in multiple samples to complete the identification of the content of dehydroacetic acid and its sodium salt in the food to be tested with high accuracy;
[0051] (2) During the extraction process of the bioactive substance solution, the present invention performs online adjustment on the extraction status data of the bioactive substance solution, constructs an actual extraction time-temperature curve based on the extraction temperature change data and the extraction time change data during the extraction process of the bioactive substance solution, and compares the actual extraction time-temperature curve with the standard extraction time-temperature curve in real time, thereby completing the real-time adjustment of the temperature during the extraction process of the bioactive substance solution and improving the extraction quality of the bioactive substance solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The present invention will be further described below with reference to the accompanying drawings.
[0053] Figure 1 This is a flow chart of a food safety detection method according to an embodiment of the present invention;
[0054] Figure 2 This is a flow chart of extracting and identifying adjustment effects in a food safety detection method according to an embodiment of the present invention;
[0055] Figure 3 This is a flowchart of a food safety detection system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0056] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present invention.
[0057] The working principle of GC-MS is to separate the components in the mixture by the high resolution of gas chromatography, and then use the high sensitivity of mass spectrometry to perform accurate qualitative analysis on each component.
[0058] Gas chromatography-mass spectrometry (GC-MS) is a powerful analytical instrument that combines the separation capability of gas chromatography (GC) and the identification capability of mass spectrometry (MS), and plays an important role in qualitative analysis.
[0059] Gas chromatography primarily separates substances by exploiting differences in the distribution coefficients between the stationary phase and the mobile phase. After the sample is vaporized, it is propelled by a carrier gas (such as helium or nitrogen) into the chromatographic column. The column is filled with the stationary phase, and different compounds move through it at different rates.
[0060] After gas chromatography separation, the compounds are sequentially fed into a mass spectrometer. The mass spectrometer works by ionizing the molecules of the compound and then separating and detecting them based on the mass-to-charge ratio (m / z) of the ions.
[0061] When the compound flows out of the gas chromatography column and enters the mass spectrometer, the mass spectrometer will record the mass spectrum of each compound. This mass spectrum is like the "fingerprint" of the compound. The obtained mass spectrum is compared with the standard mass spectrum library of known compounds (such as the NIST library, etc.). The computer software will calculate the similarity score. When the similarity reaches a certain level (usually above a certain matching threshold), the type of compound can be determined. At the same time, based on the fragment ion information in the mass spectrum, the structure of the compound can be further verified, especially for the distinction between compounds with relatively similar structures such as some isomers.
[0062] Gas chromatography-mass spectrometry (GC-MS) enables qualitative analysis of compounds in complex mixtures through the two closely integrated processes of gas chromatography separation and mass spectrometry identification.
[0063] Example 1
[0064] See also Figure 1 As shown, the present invention is a food safety detection method, comprising the following steps:
[0065] Collecting multiple samples to be tested from the food to be tested, and pre-treating each collected sample separately;
[0066] extracting bioactive substances from the pretreated sample to obtain a bioactive substance solution;
[0067] adding a standard solution of dehydroacetic acid and its sodium salt to a solution of the biologically active substance to obtain a target mixed solution;
[0068] Detecting the target mixed solution by liquid chromatography-tandem mass spectrometry to extract characteristic data from the target mixed solution;
[0069] Among them, the characteristic data include mass spectrum and chromatographic peak area;
[0070] The extracted characteristic data are input into a prediction model for dehydroacetic acid and its sodium salt, and the predicted content of dehydroacetic acid and its sodium salt in each sample is output;
[0071] The predicted contents of dehydroacetic acid and its sodium salt corresponding to multiple samples are processed to obtain the dehydroacetic acid and its sodium salt content of the food to be tested. If the dehydroacetic acid and its sodium salt content of the food to be tested exceeds the dehydroacetic acid and its sodium salt content threshold, an early warning is issued.
[0072] Among them, for samples collected from the food to be tested for testing, the sampling tools should be clean and uncontaminated, and the sampling process should follow the principle of aseptic operation to avoid sample contamination or chemical reactions.
[0073] Preferably, the pretreatment of the sample includes but is not limited to removal of impurities and homogenization.
[0074] Preferably, the extraction of the bioactive substance is determined based on the solubility of dehydroacetic acid and its sodium salt and the characteristics of the sample, including but not limited to solvent extraction and ultrasonic extraction;
[0075] Preferably, in this embodiment, the chromatographic peak area is used as the training object, and the construction process of the prediction model of dehydroacetic acid and its sodium salt is specifically as follows:
[0076] Use deep learning frameworks to build convolutional neural network models;
[0077] Collect a large number of chromatographic peak area images with different dehydroacetic acid and its sodium salt contents, and annotate the dehydroacetic acid and its sodium salt content corresponding to each chromatographic peak area image to form a data set, and use the data set to train the model;
[0078] During the training process, the model parameters are continuously adjusted to minimize the error between the predicted content of dehydroacetic acid and its sodium salt and the actual value.
[0079] Preferably, in this embodiment, the chromatographic peak area image corresponding to each sample is input into the prediction model of dehydroacetic acid and its sodium salt;
[0080] The trained model is applied to each chromatographic peak area image, and the predicted content of dehydroacetic acid and its sodium salt corresponding to each chromatographic peak area image is output.
[0081] The process of obtaining the dehydroacetic acid and its sodium salt content of the food to be tested is as follows:
[0082] The predicted content of dehydroacetic acid and its sodium salt in each sample is recorded as Ts i, where i is the number of samples, i = 1, 2, ..., Ts i;
[0083] The predicted contents of dehydroacetic acid and its sodium salt of all samples are sorted to obtain the dehydroacetic acid and its sodium salt content groups Ts1, Ts2, Ts3, ..., Ts i of the food to be tested;
[0084] The dehydroacetic acid and sodium salt content groups of the food to be tested are processed according to the variance calculation formula to obtain the variance value of the dehydroacetic acid and sodium salt content groups of the food to be tested;
[0085] Comparing the variance value of the dehydroacetic acid and sodium salt content group of the food to be tested with the variance threshold of the dehydroacetic acid and sodium salt content group of the food to be tested;
[0086] If the variance value of the dehydroacetic acid and its sodium salt content group of the food to be tested is less than the variance threshold of the dehydroacetic acid and its sodium salt content group of the food to be tested, the dehydroacetic acid and its sodium salt content group of the food to be tested is processed according to the mean calculation formula to obtain the dehydroacetic acid and its sodium salt content of the food to be tested;
[0087] If the variance value of the dehydroacetic acid and sodium salt content group of the food to be tested is greater than or equal to the variance threshold of the dehydroacetic acid and sodium salt content group of the food to be tested, then according to the formula Calculate the standard deviation Tsa of the dehydroacetic acid and its sodium salt content group of the food to be tested, where Tsp is the average value of the dehydroacetic acid and its sodium salt content groups Ts1, Ts2, Ts3, ...., Tsn;
[0088] If the standard deviation value Tsa of the dehydroacetic acid and its sodium salt content group of the food to be tested is greater than or equal to the preset standard deviation value Tsy, the maximum value and / or minimum value in the dehydroacetic acid and its sodium salt content group data of the food to be tested is deleted, and the standard deviation value Tsa of the dehydroacetic acid and its sodium salt content group data of the food to be tested is calculated again until Tsa is less than the preset standard deviation value Tsy. The remaining data in the dehydroacetic acid and its sodium salt content group of the food to be tested are summed and averaged to obtain the dehydroacetic acid and sodium salt content of the food to be tested.
[0089] Example 2
[0090] During the extraction process of the bioactive substance solution, the extraction status data of the bioactive substance solution is adjusted online. The specific process is as follows:
[0091] The extraction status data includes extraction temperature change data and extraction time change data during the extraction process of the bioactive substance solution;
[0092] Establish a plane coordinate system with the X-axis representing the extraction time and the Y-axis representing the extraction temperature;
[0093] Constructing and extracting the standard time-temperature curve and the actual time-temperature curve in the plane coordinate system;
[0094] The process of obtaining the standard time-temperature curve is as follows:
[0095] Obtaining the extraction standard temperature corresponding to the extraction standard time of the bioactive substance solution, establishing a binary linear function based on the extraction standard time and the extraction standard temperature, that is, taking the extraction standard time as the independent variable and the extraction standard temperature as the dependent variable, and establishing an extraction standard time-temperature curve based on the extraction standard time and the extraction standard temperature;
[0096] The process of extracting the actual time-temperature curve is as follows:
[0097] Plot the actual extraction time and the actual extraction temperature corresponding to the actual extraction time in a plane coordinate system;
[0098] Connect all points with a smooth curve along the time sequence to extract the actual time-temperature curve;
[0099] During the extraction process, the actual extraction time-temperature curve is compared with the standard extraction time-temperature curve, that is, the actual extraction temperature corresponding to the actual extraction time in the actual extraction time-temperature curve is obtained with reference to the standard extraction time-temperature curve;
[0100] and obtaining the extraction standard temperature in the extraction standard time-temperature curve corresponding to the actual extraction time point;
[0101] And make the real-time extraction temperature corresponding to the actual extraction time point close to the standard extraction temperature, specifically:
[0102] If the extraction real-time temperature is greater than the extraction standard temperature, the extraction temperature is lowered;
[0103] If the extraction real-time temperature is lower than the extraction standard temperature, increase the extraction temperature;
[0104] The value of lowering or raising the extraction temperature is the difference between the actual extraction time-temperature curve and the standard extraction time-temperature curve at the actual extraction time point, thereby completing dynamic adjustment during the extraction process of the bioactive substance solution.
[0105] Preferably, during the dynamic adjustment process of the extraction of the bioactive substance solution, the adjustment result of the extraction of the bioactive substance solution is identified;
[0106] In the plane coordinate system, the two ends of the actual time-temperature curve are vertically connected to the two ends of the standard time-temperature curve to obtain a closed time-temperature closed graph;
[0107] Obtaining the area value of the non-overlapping area in the time-temperature closed graph, calculating the ratio of the obtained area value of the non-overlapping area to the area threshold of the non-overlapping area, and obtaining the dynamically adjusted area deviation ratio;
[0108] Among them, the area threshold of the non-overlapping area is set by the staff based on experience;
[0109] Obtain the maximum distance value corresponding to the actual time-temperature curve extracted from the closed time-temperature closed graph and the standard time-temperature curve extracted, calculate the ratio of the maximum distance value to the distance threshold, and obtain the dynamically adjusted limit deviation ratio;
[0110] Among them, the spacing threshold is set by the staff based on experience;
[0111] The actual extraction time is divided into several time nodes, and the temperature deviation value corresponding to the actual extraction time-temperature curve and the extraction standard time-temperature curve corresponding to each time node is obtained;
[0112] If the temperature deviation value is greater than or equal to the temperature deviation threshold, the time node is recorded as an abnormal node;
[0113] If the temperature deviation value is less than the temperature deviation threshold, the time node is recorded as a normal node;
[0114] Obtain the number of abnormal nodes, calculate the ratio of the number of abnormal nodes to the number of time nodes, and obtain the dynamically adjusted trend anomaly ratio;
[0115] The dynamically adjusted regional deviation ratio is denoted as Dy;
[0116] The dynamically adjusted limit deviation ratio is recorded as Dx;
[0117] The dynamically adjusted trend anomaly ratio is denoted as Ds;
[0118] Calculated by formula The dynamic adjustment base D i is obtained, where γ is a preset proportional coefficient and γ>0, d1, d2, and d3 are all preset proportional coefficients, and d1, d2, and d3 are not equal to zero, d1 is 0.65, d2 is 0.69, and d3 is 0.47.
[0119] See Figure 2 ,If the dynamic adjustment base D i≤dynamic adjustment base threshold di, then the adjustment effect of extraction temperature and extraction time during the extraction process is good;
[0120] If the dynamic adjustment base D i> the dynamic adjustment base threshold di, the adjustment effect of the extraction temperature and extraction time during the extraction process is poor;
[0121] This allows online identification of whether sample extraction is effective, discarding samples with poor adjustment effects, and further ensuring the accuracy of testing the dehydroacetic acid and sodium salt content of the food being tested.
[0122] Example 3
[0123] See also Figure 3 As shown, the present invention is a food safety detection system, comprising:
[0124] A sample collection module collects multiple samples to be tested from the food to be tested and pre-processes each collected sample;
[0125] A sample extraction module extracts bioactive substances from the pretreated sample to obtain a bioactive substance solution;
[0126] A sample processing module, wherein the sample processing module adds a standard solution of dehydroacetic acid and its sodium salt to the bioactive substance solution to obtain a target mixed solution;
[0127] A sample analysis module detects the target mixed solution by liquid chromatography-tandem mass spectrometry and extracts characteristic data from the target mixed solution;
[0128] Among them, the characteristic data include mass spectrum and chromatographic peak area;
[0129] The extracted characteristic data are input into a prediction model for dehydroacetic acid and its sodium salt, and the predicted content of dehydroacetic acid and its sodium salt in each sample is output;
[0130] The sample identification module processes the predicted content of dehydroacetic acid and its sodium salt corresponding to multiple samples to obtain the dehydroacetic acid and its sodium salt content of the food to be tested. If the dehydroacetic acid and its sodium salt content of the food to be tested exceeds the dehydroacetic acid and its sodium salt content threshold, an early warning is issued.
[0131] The above is a detailed description of an embodiment of the present invention. However, the content described is only a preferred embodiment of the present invention and should not be considered to limit the scope of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. A food safety monitoring method, characterized in that: The following steps are involved: Collecting multiple samples to be tested from the food to be tested, and pre-treating each collected sample separately; extracting bioactive substances from the pretreated sample to obtain a bioactive substance solution; adding a standard solution of dehydroacetic acid and its sodium salt to a solution of the biologically active substance to obtain a target mixed solution; Detecting the target mixed solution by liquid chromatography-tandem mass spectrometry to extract characteristic data from the target mixed solution; Among them, the characteristic data include mass spectrum and chromatographic peak area; The extracted characteristic data are input into a prediction model for dehydroacetic acid and its sodium salt, and the predicted content of dehydroacetic acid and its sodium salt in each sample is output; The predicted contents of dehydroacetic acid and its sodium salt corresponding to multiple samples are processed to obtain the dehydroacetic acid and its sodium salt content of the food to be tested. If the dehydroacetic acid and its sodium salt content of the food to be tested exceeds the dehydroacetic acid and its sodium salt content threshold, an early warning is issued; During the extraction process of the bioactive substance solution, the extraction status data of the bioactive substance solution is adjusted online. The specific process is as follows: The extraction state data includes the extraction temperature change data and the extraction time change data during the extraction process of the bioactive substance solution; a plane coordinate system is established with the X-axis representing the extraction time and the Y-axis representing the extraction temperature; and a standard extraction time-temperature curve and an actual extraction time-temperature curve are constructed within the plane coordinate system; These include: Obtaining the extraction standard temperature corresponding to the extraction standard time of the bioactive substance solution, establishing a binary linear function based on the extraction standard time and the extraction standard temperature, that is, taking the extraction standard time as the independent variable and the extraction standard temperature as the dependent variable, and establishing an extraction standard time-temperature curve based on the extraction standard time and the extraction standard temperature; The actual extraction time and the actual extraction temperature corresponding to the actual extraction time are plotted in a plane coordinate system; all points are connected along the time sequence with a smooth curve to obtain the actual extraction time-temperature curve; During the extraction process, the actual extraction time-temperature curve is compared with the standard extraction time-temperature curve, that is, the actual extraction temperature corresponding to the actual extraction time in the actual extraction time-temperature curve is obtained with reference to the standard extraction time-temperature curve; And obtain the extraction standard temperature in the extraction standard time-temperature curve corresponding to the actual extraction time point; and make the extraction real-time temperature corresponding to the actual extraction time point approach the extraction standard temperature, specifically: If the extraction real-time temperature is greater than the extraction standard temperature, the extraction temperature is lowered; If the extraction real-time temperature is lower than the extraction standard temperature, increase the extraction temperature; The value of lowering or raising the extraction temperature is the difference between the actual extraction time-temperature curve and the standard extraction time-temperature curve at the actual extraction time point, thereby completing dynamic adjustment during the extraction process of the bioactive substance solution; During the dynamic adjustment process of the extraction of the bioactive substance solution, the adjustment result of the extraction of the bioactive substance solution is identified; In the plane coordinate system, the two ends of the extracted actual time-temperature curve are vertically connected to the two ends of the extracted standard time-temperature curve to obtain a closed time-temperature closed graph; Obtain the area value of the non-overlapping area in the time-temperature closed graph, calculate the ratio of the obtained area value of the non-overlapping area to the area threshold of the non-overlapping area, and obtain the dynamically adjusted area deviation ratio Dy; Obtain the maximum distance value corresponding to the actual time-temperature curve extracted from the closed time-temperature closed graph and the standard time-temperature curve extracted, calculate the ratio of the maximum distance value to the distance threshold, and obtain the dynamically adjusted limit deviation ratio Dx; The actual extraction time is divided into several time nodes, and the temperature deviation value corresponding to the actual extraction time-temperature curve and the standard extraction time-temperature curve corresponding to each time node is obtained; If the temperature deviation value is greater than or equal to the temperature deviation threshold, the time node is recorded as an abnormal node; if the temperature deviation value is less than the temperature deviation threshold, the time node is recorded as a normal node; Obtain the number of abnormal nodes, calculate the ratio of the number of abnormal nodes to the number of time nodes, and obtain the dynamically adjusted trend abnormality ratio Ds; The dynamic adjustment base Di is calculated by the formula according to the regional deviation ratio Dy, the extreme deviation ratio Dx and the trend anomaly ratio Ds; The dynamic adjustment base Di is calculated, where: is the preset scale factor, and , d1, d2, d3 are all preset proportional coefficients, and d1, d2, d3 are not equal to zero; If the dynamic adjustment base Di ≤ the dynamic adjustment base threshold di, the adjustment effect of the extraction temperature and extraction time during the extraction process is good; If the dynamic adjustment base Di> the dynamic adjustment base threshold di, the adjustment effect of the extraction temperature and the extraction time during the extraction process is poor.
2. A food safety monitoring method according to claim 1, characterized in that: The construction process of the prediction model for dehydroacetic acid and its sodium salt is as follows: Use deep learning frameworks to build convolutional neural network models; Collect a large number of chromatographic peak area images with different dehydroacetic acid and its sodium salt contents, and annotate the dehydroacetic acid and its sodium salt content corresponding to each chromatographic peak area image to form a data set, and use the data set to train the model; During the training process, the model parameters are continuously adjusted to minimize the error between the predicted dehydroacetic acid and its sodium salt content and the actual value.
3. A food safety monitoring method according to claim 2, characterized in that: The trained model is applied to each chromatographic peak area image, and the predicted content of dehydroacetic acid and its sodium salt corresponding to each chromatographic peak area image is output.
4. A food safety monitoring method according to claim 1, characterized in that: The process of obtaining the dehydroacetic acid and its sodium salt content of the food to be tested is as follows: The predicted content of dehydroacetic acid and its sodium salt in each sample is recorded as Tsi, where i is the number of samples, i=1, 2, ...., Tsi; The predicted contents of dehydroacetic acid and its sodium salt of all samples are sorted to obtain the dehydroacetic acid and its sodium salt content groups Ts1, Ts2, Ts3, ...., Tsi of the food to be tested; The dehydroacetic acid and sodium salt content groups of the food to be tested are processed according to the variance calculation formula to obtain the variance value of the dehydroacetic acid and sodium salt content groups of the food to be tested; If the variance value of the dehydroacetic acid and its sodium salt content group of the food to be tested is less than the variance threshold of the dehydroacetic acid and its sodium salt content group of the food to be tested, the dehydroacetic acid and its sodium salt content group of the food to be tested is processed according to the mean calculation formula to obtain the dehydroacetic acid and its sodium salt content of the food to be tested.
5. A food safety monitoring method according to claim 4, characterized in that: If the variance value of the dehydroacetic acid and its sodium salt content group of the food to be tested is greater than or equal to the variance threshold value of the dehydroacetic acid and its sodium salt content group of the food to be tested, the standard deviation value Tsa of the dehydroacetic acid and its sodium salt content group of the food to be tested is calculated; If the standard deviation value Tsa of the dehydroacetic acid and its sodium salt content group of the food to be tested is greater than or equal to the preset standard deviation value Tsy, the maximum value and / or minimum value in the dehydroacetic acid and its sodium salt content group data of the food to be tested is deleted, and the standard deviation value Tsa of the dehydroacetic acid and its sodium salt content group data of the food to be tested is calculated again until Tsa is less than the preset standard deviation value Tsy. The remaining data in the dehydroacetic acid and its sodium salt content group of the food to be tested are summed and averaged to obtain the dehydroacetic acid and sodium salt content of the food to be tested.
6. A food safety monitoring system, which implements the method according to claim 1, characterized in that: include: A sample collection module collects multiple samples to be tested from the food to be tested and pre-processes each collected sample; A sample extraction module extracts bioactive substances from the pretreated sample to obtain a bioactive substance solution; A sample processing module, wherein the sample processing module adds a standard solution of dehydroacetic acid and its sodium salt to the bioactive substance solution to obtain a target mixed solution; A sample analysis module detects the target mixed solution by liquid chromatography-tandem mass spectrometry and extracts characteristic data from the target mixed solution; Among them, the characteristic data include mass spectrum and chromatographic peak area; The extracted characteristic data are input into a prediction model for dehydroacetic acid and its sodium salt, and the predicted content of dehydroacetic acid and its sodium salt in each sample is output; The sample identification module processes the predicted content of dehydroacetic acid and its sodium salt corresponding to multiple samples to obtain the dehydroacetic acid and its sodium salt content of the food to be tested. If the dehydroacetic acid and its sodium salt content of the food to be tested exceeds the dehydroacetic acid and its sodium salt content threshold, an early warning is issued.
Citation Information
Patent Citations
Method for rapidly quantifying adulterated content of sodium bicarbonate in fresh milk
CN113870954A