Food safety monitoring system based on big data
By designing a food safety monitoring system based on big data, the problem of incomplete food packaging monitoring is solved, effective monitoring and screening of food packaging safety and standardization is achieved, and the level of food safety is improved.
Patent Information
- Application Number
- CN202510072712.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-17
- Publication Date
- 2025-05-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The prior art is not comprehensive enough in the standardization and safety monitoring of food packaging, resulting in the generated food packaging that does not comply with regulations, which in turn affects food safety.
A food safety monitoring system based on big data is designed, including a food data collection module, a safety monitoring module, anomaly analysis module and a management module of the control terminal. The system collects food data and pre-packaged data, generates safety control data and confirms packaging data, and detects food packaging models through the production life cycle, identifies abnormal data, and finally monitors and screens food packaging.
It effectively improves the safety and standardization of food packaging, ensures that food packaging complies with regulations, and reduces food safety risks.
Smart Images

Figure CN119941280A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of big data, and in particular to a food safety monitoring system based on big data. Background Art
[0002] Food safety refers to food that is non-toxic and harmless, meets the necessary nutritional requirements, and does not cause any acute, subacute or chronic harm to human health. According to the definition of food safety by Beno, food safety is "a public health issue that affects human health due to toxic and harmful substances in food"; food safety is also an interdisciplinary field that specifically explores how to ensure food hygiene and food safety during food processing, storage, and sales, reduce disease risks, and prevent food poisoning. Therefore, food safety is very important.
[0003] Food safety is crucial in the process of food planting, breeding, processing, packaging, storage, transportation, sales and consumption; therefore, food safety includes both result safety and process safety; both current safety and future safety; in today's life, packaging plays a vital role in food safety, so the safety and standardization of food packaging must be monitored to ensure that every food package is safe, but now the monitoring of the standardization and safety of food packaging is not comprehensive enough, resulting in the generated food packaging not meeting the regulations, which in turn causes food safety. Therefore, in order to solve the above problems, the present invention provides a food safety monitoring system based on big data. Summary of the invention
[0004] In order to solve the above technical problems, the present invention provides a food safety monitoring system based on big data.
[0005] The object of the present invention can be achieved by the following technical solutions: A food safety monitoring system based on big data, comprising a control terminal, wherein the control terminal is connected with a food data acquisition module, a safety monitoring module, an abnormality analysis module and a management module; The food data collection module is used to collect food data and pre-packaged data corresponding to the food, set a basic safety data terminal, obtain safety control data corresponding to the food data according to the basic safety data terminal, and obtain confirmation packaging data corresponding to the food with the pre-packaged data; The safety monitoring module is provided with a food packaging modeling unit, a food packaging identification generating unit and a food packaging quality inspection unit, and is provided with a production life cycle, for obtaining and confirming a complete food packaging model corresponding to packaging data according to the production life cycle, and detecting the complete food data packaging model to obtain abnormal modeling data; The abnormal analysis module is used to produce food packaging according to the complete food packaging model to obtain packaging identification numbers, and to inspect the packaging identification numbers to obtain abnormal food packaging; The management module is used to monitor the food packaging according to the abnormal modeling data and the abnormal food packaging.
[0006] Furthermore, the process of the food data collection module collecting food data and pre-packaged data corresponding to the food includes: Collect data on various foods produced in food companies; set pre-packaged data corresponding to each food data based on big data, and map them with the corresponding food data to obtain the corresponding pre-packaged data set, integrate each pre-packaged data set to obtain a pre-packaged database, and store it in the cloud; the pre-packaged data includes packaging type, packaging properties and packaging size.
[0007] Furthermore, the process of acquiring the security control data includes: Set corresponding labels for food data corresponding to the food produced in the same batch and mark them as from-i, where from represents the batch code corresponding to the batch and i represents the food data; connect the batch codes corresponding to each batch in the food enterprise to generate a food database for the food enterprise; Setting a basic security data terminal, setting a basic control data port and a demand control data port on the basic security data terminal; wirelessly connecting to a food database of a food enterprise; and updating the batch code corresponding to the food database of the food enterprise to the basic control data port in real time; The corresponding batch code is selected at the basic control data port in the safety basic data terminal, and the food data corresponding to the food database of the food enterprise is scheduled according to the batch code, and marked as safety basic data; and the safety requirement data of the food data corresponding to the batch code is input into the requirement control data port; the safety basic data and the safety requirement data are merged to generate safety control data.
[0008] Furthermore, the process of obtaining the confirmed packaging data corresponding to the food includes: According to the security control data, the pre-packaged database in the cloud is dispatched to obtain the pre-packaged data set corresponding to the security basic data; according to the security requirement data, the pre-packaged data is traversed, and if the traversal is successful, the pre-packaged data corresponding to the security requirement data is obtained; if the traversal is unsuccessful, the corresponding security requirement data is sent to the preset management terminal, and the corresponding pre-packaged data is obtained according to the security requirement data; The pre-packaged data set is integrated with the pre-packaged data to generate confirmed packaged data.
[0009] Furthermore, the process of obtaining a complete food packaging model corresponding to the confirmed packaging data according to the production life cycle includes: The food packaging modeling unit, the food packaging label generation unit and the food packaging quality inspection unit are connected to generate a production life cycle; The food packaging modeling unit is used to model the food packaging corresponding to the batch code according to the packaging type, packaging properties, packaging size and pre-packaging data corresponding to the confirmed packaging data, and obtain the corresponding food packaging model; The food packaging identification generation unit is used to obtain all food packaging identifications corresponding to the food, connect them with the batch code to generate a corresponding food packaging identification library, and send the food packaging identification corresponding to the batch code to the food packaging modeling unit to mark it on the food packaging model, thereby obtaining a complete food packaging model; The food packaging quality inspection unit is used to inspect the complete food packaging model and obtain abnormal modeling data.
[0010] Furthermore, the process of the food packaging quality inspection unit acquiring abnormal modeling data includes: Obtaining food data corresponding to the batch code of the complete food packaging model, and judging whether the food packaging model meets the food packaging standard corresponding to the batch code according to the packaging type, packaging properties and packaging size corresponding to the food packaging model according to the food data; If it is in compliance, the corresponding food packaging model is marked as accurate; otherwise, the corresponding pre-packaging data in the food packaging model is obtained and marked as abnormal modeling data; and then the food packaging identification library corresponding to the batch code is scheduled to match the food packaging identification in the complete food packaging model; If the match is successful, the corresponding food packaging logo is marked as accurate. Otherwise, the food packaging logo that does not match the food packaging logo library is obtained and marked as abnormal modeling data; The abnormal modeling data is sent to the security monitoring module, and the complete food packaging model corresponding to the batch code is remodeled according to the abnormal modeling data, and so on, to obtain the complete food packaging model of the confirmed packaging data corresponding to the batch code.
[0011] Furthermore, the process of the abnormal analysis module acquiring abnormal food packaging includes: Classify the food packaging produced by the same batch code according to the preset unit quantity, obtain several food packaging categories, set the unit sampling quantity, and randomly sample each food packaging category according to the unit sampling quantity to obtain the corresponding food packaging to be inspected; Acquire a food package identification image corresponding to the food package to be inspected through a camera device, perform preprocessing to obtain a first food package identification image, extract the food package identification from the first food package identification image, obtain the food package identification number, and then obtain the food package identification library corresponding to the first food package identification image according to the batch code and match it with the food package identification number; if the match is successful, mark the corresponding food package identification number as a normal food package identification number; otherwise, obtain the food package identification that has not been successfully matched in the food package identification library and mark it as an abnormal food package identification; In this way, the remaining food packages are sampled according to the unit sampling quantity until all the food packages are fully inspected, and the food packages corresponding to the abnormal food packaging labels are obtained and marked as abnormal food packaging.
[0012] Furthermore, the process of the management module monitoring the food packaging includes: The labels corresponding to the abnormal food packages are sent to the preset management terminal, and the abnormal food packages are screened out according to the labels.
[0013] Furthermore, the number is denoted as r k , and by the formula Get the production abnormality rate of food packaging corresponding to the batch code ; Where a represents the number of random inspections; Set the production abnormality rate threshold , and compare it with the production abnormality rate corresponding to each batch code; like , it is marked as unqualified production and the food packaging corresponding to the batch code is re-produced; otherwise no action is taken.
[0014] Compared with the prior art, the beneficial effects of the present invention are as follows: food data and pre-packaged data corresponding to food are collected through a food data collection module, a basic security data terminal is set, security control data corresponding to the food data is obtained according to the basic security data terminal, and confirmed packaging data corresponding to the food is obtained with the pre-packaged data; a production life cycle is set, a complete food packaging model corresponding to the confirmed packaging data is obtained according to the production life cycle, and the complete food data packaging model is tested to obtain abnormal modeling data; then, food packaging is produced according to the complete food packaging model to obtain packaging identification numbers, and the packaging identification numbers are tested to obtain abnormal food packaging and send them to the management module, and the food packaging is monitored according to the abnormal food packaging; the present invention effectively improves the safety and standardization of food packaging. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0016] Figure 1 It is a schematic diagram of the present invention. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 creative work are within the scope of protection of the present invention.
[0018] like Figure 1 As shown, a food safety monitoring system based on big data includes a control terminal, and the control terminal is connected to a food data acquisition module, a safety monitoring module, an abnormality analysis module and a management module; The food data collection module is used to collect food data and pre-packaged data corresponding to the food, set a basic safety data terminal, obtain safety control data corresponding to the food data according to the basic safety data terminal, and obtain confirmation packaging data corresponding to the food with the pre-packaged data; The safety monitoring module is provided with a food packaging modeling unit, a food packaging identification generating unit and a food packaging quality inspection unit, and is provided with a production life cycle, for obtaining and confirming a complete food packaging model corresponding to packaging data according to the production life cycle, and detecting the complete food data packaging model to obtain abnormal modeling data; The abnormal analysis module is used to produce batch-coded food packaging to obtain packaging identification numbers according to the complete food packaging model, and to verify the packaging identification numbers to obtain abnormal food packaging; The management module is used to monitor the food packaging according to the abnormal modeling data and the abnormal food packaging.
[0019] It should be further explained that the process of the food data collection module collecting the food data and pre-packaged data corresponding to the food includes: Collecting data of various foods produced in food enterprises; the food data includes food type, food chemical properties and food physical properties; setting pre-packaged data corresponding to each food data based on big data, and mapping with the corresponding food data to obtain the corresponding pre-packaged data set, integrating each pre-packaged data set to obtain a pre-packaged database, and storing it in the cloud; the pre-packaged data includes packaging type, packaging properties and packaging size; In the above embodiments, the food type includes but is not limited to solid, liquid, paste, suspension, etc.; the food chemical properties include but are not limited to oxidizability, acidity, alkalinity, water resistance, etc.; the food physical properties include shape, size, etc.; The process of obtaining the security control data includes: Set corresponding labels for food data corresponding to the food produced in the same batch and mark them as from-i, where from represents the batch code corresponding to the batch and i represents the food data; connect the batch codes corresponding to each batch in the food enterprise to generate a food database for the food enterprise; Setting a basic security data terminal, setting a basic control data port and a demand control data port on the basic security data terminal; wirelessly connecting to a food database of a food enterprise; and updating the batch code corresponding to the food database of the food enterprise to the basic control data port in real time; Select the corresponding batch code at the basic control data port in the basic safety data terminal, dispatch the food data corresponding to the food database of the food enterprise according to the batch code, and mark it as basic safety data; input the safety demand data of the food data corresponding to the batch code at the demand control data port; merge the basic safety data and the safety demand data to generate safety control data; In the above embodiment, it should be further explained that the security requirement data is used to indicate that the packaging of the food data corresponding to the batch code also requires the control of pre-packaging data, which does not include the pre-packaging data of the food data corresponding to the batch code; it includes but is not limited to other pre-packaging data, and also includes packaging color degree, etc.; According to the security control data, the pre-packaged database in the cloud is dispatched to obtain the pre-packaged data set corresponding to the security basic data; according to the security requirement data, the pre-packaged data is traversed, and if the traversal is successful, the pre-packaged data corresponding to the security requirement data is obtained; if the traversal is unsuccessful, the corresponding security requirement data is sent to the preset management terminal, and the corresponding pre-packaged data is obtained according to the security requirement data; The pre-packaged data set is integrated with the pre-packaged data to generate confirmed packaged data.
[0020] It should be further explained that the safety monitoring module sets a production life cycle, obtains and confirms the complete food packaging model corresponding to the packaging data according to the production life cycle, and detects the complete food data packaging model to obtain abnormal modeling data. The process includes: The safety monitoring module is provided with a food packaging modeling unit, a food packaging identification generating unit and a food packaging quality inspection unit, and they are connected to generate a production life cycle; the food packaging modeling unit is used to model the food packaging corresponding to the batch code according to the packaging type, packaging property, packaging size and pre-packaging data corresponding to the confirmed packaging data, and obtain the corresponding food packaging model; The food packaging identification generation unit is used to obtain all food packaging identifications corresponding to the food, connect them with the batch code to generate a corresponding food packaging identification library, and send the food packaging identification corresponding to the batch code to the food packaging modeling unit to mark it on the food packaging model, thereby obtaining a complete food packaging model; The food packaging quality inspection unit is used to inspect the complete food packaging model and obtain abnormal modeling data, including: Obtaining food data corresponding to the batch code of the complete food packaging model, testing the packaging type, packaging properties and packaging size corresponding to the food packaging model according to the food data, and determining whether the food packaging model meets the standards of the food packaging corresponding to the batch code; If it is in compliance, the corresponding food packaging model is marked as accurate. Otherwise, the corresponding pre-packaged data in the food packaging model is obtained and marked as abnormal modeling data. Then, the food packaging identification library corresponding to the batch code is scheduled to match the food packaging identification in the complete food packaging model. If the match is successful, the corresponding food packaging identification is marked as accurate. Otherwise, the food packaging identification that does not match the food packaging identification library is obtained and marked as abnormal modeling data. The abnormal modeling data is sent to the security monitoring module, and the complete food packaging model corresponding to the batch code is remodeled according to the abnormal modeling data, and so on, to obtain the complete food packaging model of the confirmed packaging data corresponding to the batch code.
[0021] In the above embodiments, it should be further explained that the food packaging label includes but is not limited to the product name, ingredient list, net content, factory name, factory address, telephone number, production date, shelf life, product standard number and the like.
[0022] It should be further explained that the abnormal analysis module is used to produce batch-coded food packaging according to the complete food packaging model to obtain packaging identification numbers, and to verify the packaging identification numbers. The process of obtaining abnormal food packaging includes: Classify the food packages produced by the same batch of coding according to the preset unit quantity, obtain several food packaging categories, and number them, record them as k, k=1, 2, ..., j, and j is a positive integer; set the unit sampling quantity, record them as n, and n is a positive integer greater than 0; perform random sampling on each food packaging category according to the unit sampling quantity to obtain the corresponding food packaging to be inspected; Acquire a food package identification image corresponding to the food package to be inspected by means of a camera device, perform preprocessing to obtain a first food package identification image, extract the food package identification from the first food package identification image, obtain the food package identification number, and then obtain a food package identification library corresponding to the first food package identification image according to the batch code and match it with the food package identification number; In the above embodiment, it needs to be further explained that the preprocessing includes grayscale, contrast enhancement, etc., which will not be further described here; If the match is successful, the corresponding food packaging identification number is marked as a normal food packaging identification number; otherwise, the food packaging identification that is not successfully matched in the food packaging identification library is obtained and marked as an abnormal food packaging identification; In this way, the remaining food packages are continuously sampled according to the unit sampling quantity, and the number of sampling times is obtained until all food packages are fully inspected, the food packages corresponding to the abnormal food packaging labels are obtained, and marked as abnormal food packaging.
[0023] Get the number of abnormal food packaging labels in each food package to be inspected in the same batch code, and record it as r k , and by the formula Get the production abnormality rate of food packaging corresponding to the batch code ; Where a represents the number of random inspections; Set the production abnormality rate threshold , and compare it with the production abnormality rate corresponding to each batch code; like , it is marked as unqualified production and the food packaging corresponding to the batch code is re-produced; otherwise no action is taken.
[0024] It should be further explained that the process of the management module monitoring the food packaging includes: The labels corresponding to the abnormal food packages are sent to the preset management terminal, and the abnormal food packages are screened out according to the labels.
[0025] The features and exemplary embodiments of various aspects of the present application are described in detail above. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail in combination with the drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application rather than to limit the present application. For those skilled in the art, the present application can be implemented without some of these specific details. The above description of the embodiments is merely to provide a better understanding of the present application by showing examples of the present application.
[0026] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A food safety monitoring system based on big data, comprising a control terminal, characterized in that: The control terminal is connected to a food data acquisition module, a safety monitoring module, an abnormality analysis module, and a management module; The food data collection module is used to collect food data and pre-packaged data corresponding to the food, set a basic safety data terminal, obtain safety control data corresponding to the food data according to the basic safety data terminal, and obtain confirmation packaging data corresponding to the food with the pre-packaged data; The safety monitoring module is provided with a food packaging modeling unit, a food packaging identification generating unit and a food packaging quality inspection unit, and is provided with a production life cycle, for obtaining and confirming a complete food packaging model corresponding to packaging data according to the production life cycle, and detecting the complete food data packaging model to obtain abnormal modeling data; The abnormal analysis module is used to produce food packaging according to the complete food packaging model to obtain packaging identification numbers, and to inspect the packaging identification numbers to obtain abnormal food packaging; The management module is used to monitor the food packaging according to the abnormal modeling data and the abnormal food packaging.
2. A food safety monitoring system based on big data according to claim 1, characterized in that: The process of the food data collection module collecting food data and pre-packaged data corresponding to the food includes: Collect data on various foods produced in food companies; set pre-packaged data corresponding to each food data based on big data, and map them with the corresponding food data to obtain the corresponding pre-packaged data set, integrate each pre-packaged data set to obtain a pre-packaged database, and store it in the cloud; the pre-packaged data includes packaging type, packaging properties and packaging size.
3. A food safety monitoring system based on big data according to claim 2, characterized in that: The process of obtaining the security control data includes: Set corresponding labels for food data corresponding to the food produced in the same batch and mark them as from-i, where from represents the batch code corresponding to the batch and i represents the food data; connect the batch codes corresponding to each batch in the food enterprise to generate a food database for the food enterprise; Setting a basic security data terminal, setting a basic control data port and a demand control data port on the basic security data terminal; wirelessly connecting to a food database of a food enterprise; and updating the batch code corresponding to the food database of the food enterprise to the basic control data port in real time; The corresponding batch code is selected at the basic control data port in the safety basic data terminal, and the food data corresponding to the food database of the food enterprise is scheduled according to the batch code, and marked as safety basic data; and the safety requirement data of the food data corresponding to the batch code is input into the requirement control data port; the safety basic data and the safety requirement data are merged to generate safety control data.
4. A food safety monitoring system based on big data according to claim 3, characterized in that: The process of obtaining the confirmed packaging data corresponding to the food includes: According to the security control data, the pre-packaged database in the cloud is dispatched to obtain the pre-packaged data set corresponding to the security basic data; according to the security requirement data, the pre-packaged data is traversed, and if the traversal is successful, the pre-packaged data corresponding to the security requirement data is obtained; if the traversal is unsuccessful, the corresponding security requirement data is sent to the preset management terminal, and the corresponding pre-packaged data is obtained according to the security requirement data; The pre-packaged data set is integrated with the pre-packaged data to generate confirmed packaged data.
5. A food safety monitoring system based on big data according to claim 4, characterized in that: The process of obtaining a complete food packaging model corresponding to confirmed packaging data according to the production life cycle includes: The food packaging modeling unit, the food packaging label generation unit and the food packaging quality inspection unit are connected to generate a production life cycle; The food packaging modeling unit is used to model the food packaging corresponding to the batch code according to the packaging type, packaging properties, packaging size and pre-packaging data corresponding to the confirmed packaging data, and obtain the corresponding food packaging model; The food packaging identification generation unit is used to obtain all food packaging identifications corresponding to the food, connect them with the batch code to generate a corresponding food packaging identification library, and send the food packaging identification corresponding to the batch code to the food packaging modeling unit to mark it on the food packaging model, thereby obtaining a complete food packaging model; The food packaging quality inspection unit is used to inspect the complete food packaging model and obtain abnormal modeling data.
6. A food safety monitoring system based on big data according to claim 5, characterized in that: The process of obtaining abnormal modeling data by the food packaging quality inspection unit includes: Obtaining food data corresponding to the batch code of the complete food packaging model, and judging whether the food packaging model meets the food packaging standard corresponding to the batch code according to the packaging type, packaging properties and packaging size corresponding to the food packaging model according to the food data; If it is in compliance, the corresponding food packaging model is marked as accurate; otherwise, the corresponding pre-packaging data in the food packaging model is obtained and marked as abnormal modeling data; and then the food packaging identification library corresponding to the batch code is scheduled to match the food packaging identification in the complete food packaging model; If the match is successful, the corresponding food packaging logo is marked as accurate. Otherwise, the food packaging logo that does not match the food packaging logo library is obtained and marked as abnormal modeling data; The abnormal modeling data is sent to the security monitoring module, and the complete food packaging model corresponding to the batch code is remodeled according to the abnormal modeling data, and so on, to obtain the complete food packaging model of the confirmed packaging data corresponding to the batch code.
7. A food safety monitoring system based on big data according to claim 6, characterized in that: The process of obtaining abnormal food packaging by the abnormal analysis module includes: Classify the food packaging produced by the same batch code according to the preset unit quantity, obtain several food packaging categories, set the unit sampling quantity, and randomly sample each food packaging category according to the unit sampling quantity to obtain the corresponding food packaging to be inspected; Acquire a food package identification image corresponding to the food package to be inspected through a camera device, perform preprocessing to obtain a first food package identification image, extract the food package identification from the first food package identification image, obtain the food package identification number, and then obtain the food package identification library corresponding to the first food package identification image according to the batch code and match it with the food package identification number; if the match is successful, mark the corresponding food package identification number as a normal food package identification number; otherwise, obtain the food package identification that has not been successfully matched in the food package identification library and mark it as an abnormal food package identification; In this way, the remaining food packages are sampled according to the unit sampling quantity until all the food packages are fully inspected, and the food packages corresponding to the abnormal food packaging labels are obtained and marked as abnormal food packaging.
8. A food safety monitoring system based on big data according to claim 7, characterized in that: The process of the management module monitoring the food packaging includes: The labels corresponding to the abnormal food packages are sent to the preset management terminal, and the abnormal food packages are screened out according to the labels.
Citation Information
Patent Citations
Paper packaging automatic matching design method and system based on cost model
CN113255159A
Food packaging intelligent management method and system based on big data
CN117371855A
Production process data set construction method and system for food quality traceability edge calculation
CN119313361A
Method for food item monitoring, a food package system and an electronic device
US20210295249A1