Food safety intelligent supervision system and method based on Internet of Things and big data
Through the Internet of Things and big data technology, multiple data are collected and analyzed in real time in the canteen kitchen environment, and a high-dimensional correlation feature map is constructed to realize real-time monitoring and early warning of food safety, solving the problem of insufficient food safety management efficiency and safety level. Improved food safety and employee health protection.
Patent Information
- Application Number
- CN202410672028.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technology is difficult to effectively monitor and manage food safety in canteen kitchens. It lacks real-time environmental data collection and abnormal warning mechanisms, resulting in insufficient management efficiency and food safety levels.
A food safety smart supervision system based on the Internet of Things and big data is used to obtain data such as combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, temperature and humidity in the kitchen environment through sensors, and then convert it into feature maps and build a high-dimensional global picture. Correlate feature maps, use classifiers to analyze whether the environment is abnormal, and achieve real-time monitoring and early warning.
It improves the efficiency and food safety level of food safety management, can detect potential safety hazards in a timely manner, prevent fires, air quality degradation and health risks, and ensure food quality and employee health.
Smart Images

Figure CN118673359A
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet of Things and big data technology, and more specifically, to an intelligent food safety supervision system and method based on Internet of Things and big data. Background Art
[0002] By using technologies such as the Internet of Things, cloud computing, big data and artificial intelligence, a system for monitoring food safety in the canteen kitchen is established. The monitoring of the processing, storage and sales of food ingredients in the kitchen is also added to the canteen management system, which allows 24-hour automatic monitoring, remote management and decision-making. It can play a preventive role while tracing the source and effectively improve the management effect and efficiency.
[0003] Therefore, an intelligent food safety monitoring system and method based on the Internet of Things and big data is desired. Summary of the invention
[0004] In order to solve the above technical problems, this application is proposed. The embodiment of this application provides a food safety intelligent supervision system and method based on the Internet of Things and big data, which realizes real-time monitoring and abnormal warning of the canteen kitchen environment through multiple environmental data collection and analysis, and improves the efficiency of food safety management.
[0005] Accordingly, according to one aspect of the present application, a food safety intelligent supervision system based on the Internet of Things and big data is provided, which includes:
[0006] The back kitchen environment collection module is used to obtain the combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall ambient temperature and overall ambient humidity at multiple predetermined time points within a predetermined time period;
[0007] A back kitchen environment processing module, used for converting the combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall environmental temperature and overall environmental humidity at the plurality of predetermined time points into input vectors and encoding them to obtain a gas correlation feature map and a temperature-humidity correlation feature map;
[0008] A back kitchen environment fusion module is used to construct a high-dimensional global correlation feature map of the back kitchen environment data between the gas correlation feature map and the temperature-humidity correlation feature map, and perform feature importance screening on the high-dimensional global correlation feature map of the back kitchen environment data based on label position information to obtain an optimized high-dimensional global correlation feature map of the back kitchen environment data;
[0009] The back kitchen environment analysis module is used to pass the optimized high-dimensional global correlation feature map of the back kitchen environment data through a classifier to obtain a classification result, and the classification result is used to indicate whether the back kitchen environment is abnormal.
[0010] According to another aspect of the present application, a food safety intelligent supervision method based on the Internet of Things and big data is also provided, which includes:
[0011] Obtain combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall ambient temperature and overall ambient humidity at multiple predetermined time points within a predetermined time period;
[0012] The combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall ambient temperature and overall ambient humidity at the plurality of predetermined time points are respectively converted into input vectors and then encoded to obtain a gas correlation characteristic diagram and a temperature-humidity correlation characteristic diagram;
[0013] Constructing a high-dimensional global correlation feature map of the back kitchen environment data between the gas correlation feature map and the temperature-humidity correlation feature map, and performing feature importance screening on the high-dimensional global correlation feature map of the back kitchen environment data based on label position information to obtain an optimized high-dimensional global correlation feature map of the back kitchen environment data;
[0014] The optimized high-dimensional global correlation feature map of the back kitchen environment data is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether the back kitchen environment is abnormal.
[0015] Compared with the existing technology, the present application provides an intelligent food safety supervision system and method based on the Internet of Things and big data, which uses sensors to obtain multiple data of the back kitchen environment, including combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, temperature and humidity, etc., converts these data into feature maps and constructs high-dimensional global correlation feature maps. Through classifier analysis, it is determined whether the environment is abnormal, and real-time monitoring and early warning of back kitchen food safety are achieved, thereby improving management efficiency and food safety level. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0017] Figure 1 It is a block diagram of an intelligent food safety supervision system based on the Internet of Things and big data according to an embodiment of the present application.
[0018] Figure 2 It is a block diagram of the back-kitchen environment processing module in the smart food safety supervision system based on the Internet of Things and big data according to an embodiment of the present application.
[0019] Figure 3 It is a block diagram of the environmental parameter context encoding unit in the food safety intelligent supervision system based on the Internet of Things and big data according to an embodiment of the present application.
[0020] Figure 4 It is a block diagram of a gas feature extraction unit in an intelligent food safety monitoring system based on the Internet of Things and big data according to an embodiment of the present application.
[0021] Figure 5 This is a flow chart of a smart food safety supervision method based on the Internet of Things and big data according to an embodiment of the present application. DETAILED DESCRIPTION
[0022] Various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0023] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0024] In addition, in order to better illustrate the present application, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.
[0025] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0026] Figure 1 The figure shows a block diagram of a food safety smart supervision system based on the Internet of Things and big data according to an embodiment of the present application. Figure 1As shown, according to the embodiment of the present application, the food safety intelligent supervision system 100 based on the Internet of Things and big data includes: a back kitchen environment acquisition module 110, which is used to obtain the combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall ambient temperature and overall ambient humidity at multiple predetermined time points within a predetermined time period; a back kitchen environment processing module 120, which is used to convert the combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall ambient temperature and overall ambient humidity at the multiple predetermined time points into input vectors and then encode them to obtain a gas correlation feature map and a temperature-humidity correlation feature map; a back kitchen environment fusion module 130, which is used to construct a high-dimensional global correlation feature map of the back kitchen environment data between the gas correlation feature map and the temperature-humidity correlation feature map, and perform feature importance screening on the high-dimensional global correlation feature map of the back kitchen environment data based on the label position information to obtain an optimized high-dimensional global correlation feature map of the back kitchen environment data; a back kitchen environment analysis module 140, which is used to pass the optimized high-dimensional global correlation feature map of the back kitchen environment data through a classifier to obtain a classification result, and the classification result is used to indicate whether the back kitchen environment is abnormal.
[0027] In the embodiment of the present application, the back kitchen environment acquisition module 110 is used to obtain the combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall ambient temperature and overall ambient humidity at multiple predetermined time points within a predetermined time period. It should be understood that the purpose of obtaining the combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall ambient temperature and overall ambient humidity at multiple predetermined time points within a predetermined time period is to fully understand the real-time situation of the back kitchen environment. These parameters can provide important information about air quality, temperature, humidity and other aspects, which helps to monitor whether there are potential safety hazards in the environment. Especially in the food processing environment, these factors are crucial to food quality and employee health. By monitoring these parameters, abnormal conditions can be discovered in time and corresponding measures can be taken to ensure food safety and a good state of the production environment. Specifically, high concentrations of combustible gas may lead to the risk of fire or explosion. Monitoring the concentration of combustible gas can help prevent fire accidents and ensure the safety of employees and facilities. High concentrations of carbon dioxide can cause a decrease in air quality, which may cause adverse reactions such as dizziness and drowsiness, affecting the work efficiency and health of employees. PM2.5 is a fine particulate matter in the air, and long-term exposure can cause harm to the health of employees, especially to the respiratory system. Monitoring PM2.5 helps protect the health of employees. Low oxygen concentrations can lead to hypoxia, which affects employee health and work efficiency. In food processing environments, ensuring adequate oxygen supply is critical to food quality and employee health. Temperature and humidity have a significant impact on food processing and food quality. Too high or too low temperatures may affect food preservation and processing, and improper humidity may cause food spoilage or bacterial growth. Comprehensive monitoring of these parameters can help managers detect environmental anomalies in a timely manner and take preventive measures to ensure a safe food processing environment, ensure food quality, and protect employee health. Monitoring these parameters helps improve production efficiency and reduce the risk of accidents, which is crucial for the food processing industry.
[0028] In the embodiment of the present application, the back kitchen environment processing module 120 is used to convert the combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall environmental temperature and overall environmental humidity at the plurality of predetermined time points into input vectors respectively, and then encode them to obtain a gas correlation feature map and a temperature-humidity correlation feature map. It should be understood that through the encoding process, the original data can be converted into a more representative and abstract feature representation, which helps to capture the complex relationship between different parameters. Generating a gas correlation feature map and a temperature-humidity correlation feature map can help reveal the correlation and influence degree between different environmental parameters, and further understand their interaction in the environment. The generation of feature maps can provide an intuitive visual presentation, helping users to more intuitively understand the relationship between data and discover potential patterns and laws. By analyzing the feature map, the patterns and trends between environmental parameters can be identified, so as to better predict future environmental changes and possible safety hazards. Integrating different parameters into a unified feature map helps to comprehensively consider the comprehensive impact of multiple factors on environmental safety and provide a more comprehensive basis for decision-making. Therefore, by converting multiple environmental parameters into feature maps, environmental data can be understood more comprehensively and deeply, providing more effective support for environmental safety management and decision-making in food processing.
[0029] Specifically, in one embodiment of the present application, Figure 2 The figure shows a block diagram of a back kitchen environment processing module in a food safety smart supervision system based on the Internet of Things and big data according to an embodiment of the present application. Figure 2 As shown, in the above-mentioned smart food safety supervision system 100 based on the Internet of Things and big data, the back kitchen environment processing module 120 includes: an environmental parameter context encoding unit 121, which is used to convert the combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall ambient temperature and overall ambient humidity of the multiple predetermined time points into input vectors respectively, and then obtain the combustible gas concentration feature vector, carbon dioxide concentration feature vector, PM2.5 feature vector, oxygen concentration feature vector, ambient temperature feature vector, and ambient humidity feature vector through a context-based encoder; a gas feature extraction unit 122, which is used to fuse the combustible gas concentration feature vector, the carbon dioxide concentration feature vector, the PM2.5 feature vector and the oxygen concentration feature vector, and then obtain the gas correlation feature map through convolution coding; a temperature and humidity feature extraction unit 123, which is used to fuse the ambient temperature feature vector and the ambient humidity feature vector and then obtain the temperature-humidity correlation feature map through feature extraction.
[0030] Accordingly, in a specific example of the present application, the environmental parameter context encoding unit 121 is used to convert the combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall ambient temperature and overall ambient humidity at the plurality of predetermined time points into input vectors respectively, and then obtain the combustible gas concentration feature vector, carbon dioxide concentration feature vector, PM2.5 feature vector, oxygen concentration feature vector, ambient temperature feature vector, and ambient humidity feature vector through a context-based encoder. It should be understood that after converting multiple environmental parameters into feature vectors, the information of each parameter can be combined to form a more comprehensive description, which helps to capture the overall state and change trend of the environment. Converting multidimensional environmental parameters into feature vectors can reduce the dimension of the data, simplify the data processing and analysis process, and retain important information. The feature vector obtained by the encoder contains an abstract representation of the environmental parameters, which helps to discover the patterns and laws hidden behind the data. After obtaining the feature vectors of each environmental parameter, the correlation and influence between them can be better analyzed, revealing the interaction between different parameters. After converting the environmental parameters into feature vectors, they can be more easily applied to machine learning models for supervised learning or unsupervised learning, thereby realizing the prediction and analysis of environmental data. In general, converting multiple environmental parameters into feature vectors and obtaining feature vectors through encoders is to better utilize big data technology and machine learning methods to extract useful information from complex environmental data and help the supervision system realize intelligent monitoring and management of the back kitchen environment.
[0031] further, Figure 3 The figure shows a block diagram of an environmental parameter context encoding unit in a food safety smart supervision system based on the Internet of Things and big data according to an embodiment of the present application. Figure 3 As shown, in the back kitchen environment processing module 120 of the above-mentioned food safety intelligent supervision system 100 based on the Internet of Things and big data, the environmental parameter context encoding unit 121 includes: an embedding subunit 1211, which is used to obtain the combustible gas concentration input vector, the carbon dioxide concentration input vector, the PM2.5 input vector, the oxygen concentration input vector, the ambient temperature input vector, and the ambient humidity input vector through the word embedding model for the combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall ambient temperature, and overall ambient humidity at the multiple predetermined time points; a converter processing subunit 1212, which is used to input the vector sequence composed of the combustible gas concentration input vector, the carbon dioxide concentration input vector, the PM2.5 input vector, the oxygen concentration input vector, the ambient temperature input vector, and the ambient humidity input vector into the converter model to obtain the pH feature vector, the dissolved oxygen feature vector, the temperature feature vector, the turbidity feature vector, and the ammonia nitrogen feature vector.
[0032] Specifically, the embedding subunit 1211 is used to obtain the combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall ambient temperature and overall ambient humidity at the multiple predetermined time points through the word embedding model to obtain the combustible gas concentration input vector, carbon dioxide concentration input vector, PM2.5 input vector, oxygen concentration input vector, ambient temperature input vector and ambient humidity input vector. It should be understood that the word embedding model converts the environmental parameters into a continuous vector representation, which helps to capture the continuity and similarity between the parameters, so that the relationship between the parameters can be better expressed. The word embedding model can learn the semantic information and features between the parameters. After converting the parameters into vectors, the important features of the parameters can be better represented, which is helpful for subsequent data processing and analysis. By converting the environmental parameters into vectors through the word embedding model, the high-dimensional parameter space can be reduced to a low-dimensional vector space, simplifying the data representation while retaining important information. The vector representation converted by the word embedding model can help the model better generalize to unseen environmental parameter combinations and improve the applicability and generalization ability of the model. After converting the environmental parameters into vectors, they can be more conveniently applied to deep learning models or other machine learning algorithms for data analysis, prediction and decision-making. Therefore, converting environmental parameters into vector representations through word embedding models can help extract important features of parameters, simplify data representation, and improve model generalization capabilities, so that they can be better applied in the field of environmental monitoring and analysis.
[0033] Specifically, the converter processing subunit 1212 is used to input the vector sequence composed of the combustible gas concentration input vector, the carbon dioxide concentration input vector, the PM2.5 input vector, the oxygen concentration input vector, the ambient temperature input vector, and the ambient humidity input vector into the converter model to obtain the pH feature vector, the dissolved oxygen feature vector, the temperature feature vector, the turbidity feature vector, and the ammonia nitrogen feature vector. It should be understood that the converter model can help extract higher-level and more abstract features from the input vector, such as pH value, dissolved oxygen content, temperature, turbidity, and ammonia nitrogen content, which may be very important for environmental monitoring and analysis. There may be complex associations and mutual influences between different environmental parameters. By forming them into a vector sequence and inputting them into the converter model, the relationship between these parameters can be better captured, thereby obtaining a more comprehensive feature vector. Integrating the information of multiple environmental parameters into a feature vector helps to comprehensively analyze the overall situation of the environment and provide more comprehensive information for decision making. The feature vector obtained by the converter model can be used as the input of a machine learning model to train an environmental monitoring, prediction, or classification model to improve the accuracy and performance of the model. Converting multiple input vectors into a few feature vectors can achieve dimensionality reduction, simplify data representation, reduce computational complexity, and help the generalization of the model. Therefore, converting input vectors of different environmental parameters into specific feature vectors through the converter model helps to extract key features, comprehensively analyze environmental data, and improve model performance, thereby providing deeper insights and support for environmental monitoring and analysis.
[0034] Accordingly, in a specific example of the present application, the gas feature extraction unit 122 is used to fuse the combustible gas concentration feature vector, the carbon dioxide concentration feature vector, the PM2.5 feature vector and the oxygen concentration feature vector, and then obtain the gas correlation feature map through convolution coding. It should be understood that by fusing the feature vectors of different gas parameters, the association and mutual influence between them can be captured, so as to more comprehensively analyze the situation of the gas environment. After fusing the feature vectors of different gas parameters, a richer and more comprehensive feature representation can be obtained, which helps to extract more advanced gas environment features. Convolution coding can effectively extract spatial information between features, such as local patterns and associations between features, which helps to better understand the spatial structure of gas environment data. Convolution coding helps to map the input features to a higher-level feature representation, which can help the model better understand the relationship and pattern between gas parameters. After obtaining the gas correlation feature map, it can be used as the input of a deep learning model for training environmental monitoring, prediction or classification models to improve the performance and generalization ability of the model. By fusing gas parameter feature vectors and obtaining gas correlation feature maps through convolution coding, we can help deeply analyze gas environmental data, extract key features, capture the correlation between parameters, and provide deeper insights and support for environmental monitoring and analysis.
[0035] further, Figure 4 The figure shows a block diagram of a gas feature extraction unit in a food safety smart supervision system based on the Internet of Things and big data according to an embodiment of the present application. Figure 4 As shown, in the back kitchen environment processing module 120 of the above-mentioned smart food safety supervision system 100 based on the Internet of Things and big data, the gas feature extraction unit 122 includes: a gas feature two-dimensional arrangement subunit 1221, which is used to arrange the combustible gas concentration feature vector, the carbon dioxide concentration feature vector, the PM2.5 feature vector and the oxygen concentration feature vector in two dimensions to obtain a gas correlation feature matrix; a gas convolution coding subunit 1222, which is used to pass the gas correlation feature matrix through a gas feature extractor based on a first convolutional neural network model to obtain the gas correlation feature map.
[0036] Accordingly, the gas feature two-dimensional arrangement subunit 1221 is used to arrange the combustible gas concentration feature vector, the carbon dioxide concentration feature vector, the PM2.5 feature vector and the oxygen concentration feature vector in two dimensions to obtain a gas correlation feature matrix. It should be understood that arranging the feature vectors of different gas parameters in two dimensions can keep them aligned in dimension in the same matrix, which is convenient for subsequent processing and analysis. By arranging the feature vectors of different gas parameters together, the association and mutual influence between them can be better captured, which helps to understand the relationship between different gas parameters. Arranging the feature vectors in two dimensions can better organize the data and form a more structured data representation, which is conducive to subsequent feature extraction and analysis. By arranging the feature vectors of different gas parameters into a matrix, the spatial information and patterns between the features can be more effectively extracted, which is helpful for subsequent feature extraction and model training. Neural networks usually accept fixed-dimensional inputs, and arranging the feature vectors of different gas parameters into a matrix can be used as the input of the neural network, which facilitates the network to learn the overall information. Therefore, by arranging the combustible gas concentration feature vector, carbon dioxide concentration feature vector, PM2.5 feature vector and oxygen concentration feature vector in two dimensions to obtain a gas correlation feature matrix, the feature information of different gas parameters can be better organized and characterized, providing a more powerful foundation for subsequent feature extraction and analysis.
[0037] Accordingly, the gas convolution encoding subunit 1222 is used to pass the gas correlation feature matrix through the gas feature extractor based on the first convolutional neural network model to obtain the gas correlation feature map. It should be understood that the convolutional neural network is an effective deep learning model that can learn features from data. By applying the convolutional neural network to the gas correlation feature matrix, the key features can be effectively extracted to capture the complex associations and patterns between gas parameters. Convolutional neural networks are good at processing data with spatial structures, such as image data. By inputting the gas correlation feature matrix into the convolutional neural network, the convolutional neural network can be used to learn spatial information, so as to better understand the spatial relationship between different gas parameters. Convolutional neural networks have the characteristics of parameter sharing and weight sharing, which enables the network to learn local features more effectively and have a smaller parameter amount when processing large-scale data. This is very beneficial for processing complex gas correlation feature matrices. By stacking multiple convolutional layers and pooling layers, the convolutional neural network can gradually learn the abstract feature representation of the data. This helps to extract higher-level and more abstract features from the original gas correlation feature matrix to better understand the gas situation in the back kitchen environment. Convolutional neural networks have achieved great success in areas such as image recognition. By inputting the gas correlation feature matrix into the convolutional neural network, the advantages of the convolutional neural network in pattern recognition can be used to help identify and understand the complex associations between different gas parameters in the kitchen environment. By passing the gas correlation feature matrix through the gas feature extractor based on the first convolutional neural network model to obtain the gas correlation feature map, the system can more effectively extract useful features from the raw data and provide more accurate information and early warnings for food safety supervision.
[0038] Specifically, the gas convolution encoding subunit is used to: pass the gas correlation feature matrix through a gas feature extractor based on a first convolutional neural network model to obtain the gas correlation feature map, wherein the convolution layers of two adjacent layers in the first convolutional neural network use mutually transposed convolution kernels so that the gas correlation feature map focuses on the characteristics of the local data structure in the gas correlation feature matrix.
[0039] Accordingly, the gas convolution encoding subunit is further used to: use the first convolution neural network model to process the gas correlation feature matrix according to the following formula to obtain the gas correlation feature map;
[0040] Wherein, the formula is:
[0041] f i =active(N i ×f i-1 +B i )
[0042]
[0043] Among them, f i-1 is the input of the first convolutional neural network in the i-th layer, f i is the output of the first convolutional neural network in layer i, f i+1 is the output of the first convolutional neural network in the i+1th layer, N i is the convolution kernel of the first convolutional neural network in the i-th layer, is the convolution kernel of the first convolutional neural network in the i+1th layer, where the convolution kernel of the first convolutional neural network in the i+1th layer is equal to the transpose of the convolution kernel of the first convolutional neural network in the ith layer, B i is the bias matrix of the i-th layer neural network, B i+1 is the bias matrix of the i+1th layer of the neural network, and active represents the nonlinear activation function.
[0044] Accordingly, in a specific example of the present application, the temperature and humidity feature extraction unit 123 is used to obtain the temperature-humidity correlation feature map by feature extraction after fusing the ambient temperature feature vector and the ambient humidity feature vector. It should be understood that fusing the ambient temperature and humidity feature vectors can combine the information of the two key environmental parameters of temperature and humidity, thereby more comprehensively describing the environmental conditions. This helps the system to better understand the environmental state. Temperature and humidity are usually closely related environmental parameters, and the relationship between them is very important for many applications. By fusing the two feature vectors and performing feature extraction, the relationship between them can be better captured, helping the system to better understand the environmental state. By extracting the fused features, higher-level and more abstract feature representations can be extracted from them. This helps the system to better understand the complex relationship between temperature and humidity, and their impact on the environment. Feature extraction after fusing feature vectors can help reduce the dimension of the data and extract the most representative information. This helps to simplify the data processing process and can more effectively characterize the relationship between temperature and humidity. After obtaining the temperature-humidity correlation feature map, it can be used as the input of the model to help the system better learn and predict the changing trend of temperature and humidity under environmental conditions, and provide support for relevant decisions. Therefore, by fusing the ambient temperature feature vector and the ambient humidity feature vector and then extracting the features to obtain the temperature-humidity correlation feature map, we can have a more comprehensive and in-depth understanding of the relationship between temperature and humidity under environmental conditions, and provide more accurate information and support for environmental monitoring and management.
[0045] Specifically, the temperature and humidity feature extraction unit includes: a fusion feature subunit, used to fuse the ambient temperature feature vector and the ambient humidity feature vector to obtain a temperature-humidity correlation feature matrix; a temperature and humidity convolution encoding subunit, used to pass the temperature-humidity correlation feature matrix through a temperature and humidity extractor based on a second convolutional neural network model to obtain the temperature-humidity correlation feature graph.
[0046] Further, the fusion feature subunit is used to fuse the ambient temperature feature vector and the ambient humidity feature vector to obtain a temperature-humidity correlation feature matrix. It should be understood that temperature and humidity are two important parameters in the environment, and they are usually related. Fusion of their feature vectors can provide more comprehensive environmental features and help to better understand the environmental state. There is a certain correlation between temperature and humidity, and fusion of their feature vectors can help the system better capture the relationship between them. This helps to reveal the patterns and laws between temperature and humidity changes. Fusion of temperature and humidity feature vectors into a feature matrix can help reduce the dimension of data and reduce the complexity of feature space while retaining important information. By fusing temperature and humidity feature vectors, input data can be better provided for the model, and the model's ability to understand the environmental state and prediction accuracy can be improved. The temperature-humidity correlation feature matrix can better characterize the complex relationship between temperature and humidity, and provide richer information for subsequent analysis and decision-making. Therefore, the fusion of the ambient temperature feature vector and the ambient humidity feature vector to obtain the temperature-humidity correlation feature matrix is to integrate these two key environmental parameters, better describe and understand the environmental state, and thus provide more comprehensive and accurate information for related data analysis and applications.
[0047] Furthermore, the temperature and humidity convolutional encoding subunit is used to pass the temperature-humidity correlation feature matrix through a temperature and humidity extractor based on a second convolutional neural network model to obtain the temperature-humidity correlation feature map. It should be understood that the convolutional neural network is a powerful deep learning model that is particularly good at extracting and learning features from data. By inputting the temperature and humidity correlation feature matrix into the temperature and humidity extractor based on the convolutional neural network, the system can automatically learn the complex correlation features between temperature and humidity, which helps to better understand and characterize the temperature and humidity data. Convolutional neural networks perform well in processing spatial data such as images, and they can capture spatial relationships in data. By inputting the feature matrix into the convolutional neural network, the system can use the convolutional neural network to model the spatial relationship of temperature and humidity data, thereby better understanding the association between temperature and humidity. Convolutional neural networks can extract high-level feature representations of data layer by layer, which helps the system better understand the abstract features of temperature and humidity data. Through the temperature and humidity extractor based on the convolutional neural network, the system can obtain a richer and more meaningful temperature-humidity correlation feature map, thereby improving the performance and effect of subsequent tasks.
[0048] Correspondingly, the temperature and humidity convolution encoding subunit is used to: pass the temperature-humidity correlation feature matrix through a temperature and humidity extractor based on a second convolutional neural network model to obtain a temperature-humidity correlation feature map, wherein the convolution layers of two adjacent layers in the second convolutional neural network use mutually transposed convolution kernels so that the temperature-humidity correlation feature map focuses on the characteristics of the local data structure in the temperature-humidity correlation feature matrix.
[0049] Specifically, the temperature and humidity convolutional encoding subunit is further used to: use the second convolutional neural network model to process the temperature-humidity correlation feature matrix according to the following formula to obtain the temperature-humidity correlation feature graph;
[0050] Wherein, the formula is:
[0051] f i =active(N i ×f i-1 +B i )
[0052]
[0053] Among them, f i-1 is the input of the second convolutional neural network in the i-th layer, f i is the output of the second convolutional neural network in the i-th layer, f i+1 is the output of the second convolutional neural network in the i+1th layer, N i is the convolution kernel of the second convolutional neural network in the i-th layer, is the convolution kernel of the second convolutional neural network in the i+1th layer, where the convolution kernel of the second convolutional neural network in the i+1th layer is equal to the transpose of the convolution kernel of the second convolutional neural network in the ith layer, B i+1 is the bias matrix of the i+1th layer of the neural network, and active represents the nonlinear activation function.
[0054] In the embodiment of the present application, the back kitchen environment fusion module 130 is used to construct a high-dimensional global correlation feature map of the back kitchen environment data between the gas correlation feature map and the temperature-humidity correlation feature map, and perform feature importance screening on the high-dimensional global correlation feature map of the back kitchen environment data based on the label position information to obtain an optimized high-dimensional global correlation feature map of the back kitchen environment data. It should be understood that combining the gas correlation feature map and the temperature-humidity correlation feature map can integrate information from different data sources, including gas sensor data and ambient temperature and humidity data, so as to more comprehensively describe the environmental state. By constructing a high-dimensional global correlation feature map, the global correlation relationship between gas, temperature and humidity can be captured, helping the system to better understand the complexity and relevance of the overall environmental data. The high-dimensional global correlation feature map fuses the information of different feature maps together, which can improve the data representation ability and enable the system to better understand and predict the changes and trends of environmental data. By introducing a high-dimensional global correlation feature map, more abundant information can be provided to the model, which helps to improve the performance and generalization ability of the model, thereby improving the analysis and prediction capabilities of environmental data. Fusing information from different data sources can help the system conduct comprehensive analysis, reveal the correlation and regularity between different data, and provide deeper insights for environmental monitoring and analysis. Therefore, constructing a high-dimensional global correlation feature map between gas correlation feature maps and temperature-humidity correlation feature maps can help the system understand and analyze environmental data more comprehensively and improve the accuracy and effectiveness of data processing and prediction.
[0055] Accordingly, in one embodiment of the present application, the back kitchen environment fusion module 130 includes: a fusion feature map unit, used to fuse the gas correlation feature map and the temperature-humidity correlation feature map to obtain a back kitchen environment data correlation feature map; a high-dimensional global correlation feature unit, used to pass the back kitchen environment data correlation feature map through a non-local neural network model to obtain the back kitchen environment data high-dimensional global correlation feature map; an optimization unit, used to perform feature importance screening on the back kitchen environment data high-dimensional global correlation feature map based on label position information to obtain the optimized back kitchen environment data high-dimensional global correlation feature map.
[0056] Further, in a specific example of the present application, the fusion feature map unit is used to fuse the gas correlation feature map and the temperature-humidity correlation feature map to obtain the back kitchen environment data correlation feature map. It should be understood that the gas correlation feature map and the temperature-humidity correlation feature map provide different aspects of information respectively. Fusion of these two feature maps can comprehensively consider the impact of gas concentration changes and temperature and humidity changes on the back kitchen environment, thereby more comprehensively describing the environmental state. There is usually a certain correlation between gas concentration, temperature and humidity. By fusing these feature maps, the correlation between them can be better analyzed, revealing the mutual influence between different variables, and providing deeper insights for environmental monitoring and analysis. Fusion of gas correlation feature maps and temperature-humidity correlation feature maps can improve the accuracy of data processing. Comprehensive consideration of information of different features helps to reduce errors in data processing and better reflect the real environmental conditions. Fusion of different types of feature maps can enhance the characterization ability of features, making subsequent data analysis and modeling more effective. Comprehensive consideration of multiple factors such as gas, temperature and humidity helps to improve a comprehensive understanding of the back kitchen environment. Therefore, fusing the gas correlation characteristic map and the temperature-humidity correlation characteristic map to obtain the back kitchen environment data correlation characteristic map can provide more comprehensive, accurate and valuable information, which is helpful to better understand and analyze the situation of the back kitchen environment.
[0057] Furthermore, in a specific example of the present application, the high-dimensional global correlation feature unit is used to pass the back kitchen environment data correlation feature map through a non-local neural network model to obtain the high-dimensional global correlation feature map of the back kitchen environment data. It should be understood that the non-local neural network model helps to capture long-distance dependencies and global correlations in the data. In the back kitchen environment data, there may be complex non-local correlations between different features, and these correlations can be better understood and characterized by this model. By processing the back kitchen environment data correlation feature map through a non-local neural network model, the representation ability of the feature can be improved, thereby better capturing the key information and patterns in the data, which helps to improve the performance of subsequent tasks. The high-dimensional global correlation feature map may contain a lot of information, and the non-local neural network model can help reduce the dimensionality disaster problem, effectively extract important features in the data, reduce redundant information, and make the data easier to process and understand. By introducing a non-local neural network model, the complexity and expression ability of the model can be increased, thereby improving the generalization ability of the model, enabling it to better adapt to different back kitchen environment data, and have better prediction and reasoning capabilities. Therefore, by processing the associated feature map of the back-kitchen environment data through a non-local neural network model, the global correlation characteristics between the data can be better captured, the data representation ability and the performance of the model can be improved, and the back-kitchen environment data can be more effectively analyzed and understood.
[0058] Specifically, the high-dimensional global correlation feature unit includes: a point convolution subunit, which is used to input the kitchen environment data correlation feature map into the first point convolution layer, the second point convolution layer and the third point convolution layer of the non-local neural network respectively to obtain the first kitchen environment data correlation feature map, the second kitchen environment data correlation feature map and the third kitchen environment data correlation feature map; a first fusion subunit, which is used to calculate the position-weighted sum of the first kitchen environment data correlation feature map and the second kitchen environment data correlation feature map to obtain the first kitchen environment data correlation fusion feature map; a normalization subunit, which is used to input the first kitchen environment data correlation fusion feature map into the Softmax function to normalize the feature values of each position in the first kitchen environment data correlation fusion feature map to obtain a normalized first kitchen environment data correlation fusion feature map; a second fusion subunit, which is used to The weighted sum of the normalized first back kitchen environment data association fusion feature map and the third back kitchen environment data association feature map by position is calculated to obtain the second back kitchen environment data association fusion feature map; the global perception subunit is used to embed the second back kitchen environment data association fusion feature map into a Gaussian similarity function to calculate the similarity between the feature values of each position in the second back kitchen environment data association fusion feature map to obtain the back kitchen environment data global association feature map; the channel number adjustment subunit is used to pass the back kitchen environment data global association feature map through the fourth point convolution layer of the non-local neural network to obtain the channel-adjusted back kitchen environment data global association feature map; the third fusion subunit is used to calculate the weighted sum of the channel-adjusted back kitchen environment data global association feature map and the back kitchen environment data global association feature map by position to obtain the back kitchen environment data high-dimensional global association feature map.
[0059] Specifically, the optimization unit is used to perform feature importance screening based on label position information on the high-dimensional global correlation feature map of the back kitchen environment data to obtain the optimized high-dimensional global correlation feature map of the back kitchen environment data. It should be understood that, in particular, in the technical solution of the present application, on the one hand, it is considered that similar or highly correlated information may be included in the feature extraction process. For example, the concentration of combustible gas and the concentration of oxygen may change with the change of ambient temperature, resulting in a certain degree of repeated information between the ambient temperature feature and the gas concentration feature. When designing a feature extractor, there may be some design duplication or redundancy, resulting in similar information being included in the extracted features. Different types of data may introduce redundant information during the fusion process. If the information of different data sources is not properly fused, some features may appear redundant when characterizing the back kitchen environment data, that is, the high-dimensional global correlation feature map of the back kitchen environment data will have feature redundancy. On the other hand, it is considered that in the process of feature extraction, some abstract features that are not strongly associated with the label may be captured. Although these features exist in the data, they are not strongly associated with the final classification results. During the feature extraction and fusion process, some detailed information related to the label may be lost, resulting in the final extracted features being unable to fully characterize the relationship between the kitchen environment data and the anomaly. It may not be fully considered which features are the most important for the classification task, resulting in the appearance of features with weak correlation during the feature extraction and fusion process. Based on this, in order to solve the problem of feature redundancy and weak correlation between features and labels, in the technical solution of the present application, the high-dimensional global correlation feature map of the kitchen environment data is screened for feature importance based on label position information.
[0060] Specifically, the high-dimensional global correlation feature map of the back kitchen environment data is screened for feature importance based on label position information to obtain an optimized high-dimensional global correlation feature map of the back kitchen environment data, including: passing the high-dimensional global correlation feature map of the back kitchen environment data through a trained pre-classifier to obtain a pseudo-label feature vector; calculating the label mean and label standard deviation of the pseudo-label feature vector; calculating the label sensitivity feature values of the feature values at each position in the high-dimensional global correlation feature map of the back kitchen environment data to obtain a label sensitivity feature map; standardizing the label sensitivity feature map to obtain a standardized label sensitivity feature map; and performing position point multiplication on the standardized label sensitivity feature map and the high-dimensional global correlation feature map of the back kitchen environment data to obtain the optimized high-dimensional global correlation feature map of the back kitchen environment data.
[0061] Accordingly, the label mean value and label standard deviation of the pseudo label feature vector are calculated by the following formula; wherein the formula is:
[0062] μ1=(x1+X2+…+X n ) / L
[0063]
[0064] Among them, x1, x2, ..., x n Respectively represent the eigenvalues of each position of the pseudo-label feature vector, x i represents the eigenvalue of the ith position of the pseudo label feature vector, L represents the length of the pseudo label feature vector, μ1 and σ1 represent the label mean and label standard deviation of the pseudo label feature vector respectively.
[0065] Accordingly, the label sensitivity feature value of the feature value at each position in the high-dimensional global correlation feature map of the back kitchen environment data is calculated by the following formula to obtain a label sensitivity feature map; wherein the formula is:
[0066]
[0067] Among them, y ijk represents the eigenvalue of the (i, j, k)th position of the high-dimensional global correlation feature map of the kitchen environment data, μ1 and σ1 represent the label mean and label standard deviation of the pseudo-label feature vector respectively, s ijk Represents the feature value of the (i, j, k)th position of the label sensitivity feature map.
[0068] Accordingly, the label sensitivity feature map is normalized by the following formula to obtain a normalized label sensitivity feature map; wherein the formula is:
[0069]
[0070] Among them, s ijk represents the feature value of the (i, j, k)th position of the label sensitivity feature map, w, h and c represent the width and height of the label sensitivity feature map respectively, s ijk ′ represents the feature value of the (i, j, k)th position of the standardized label sensitivity feature map.
[0071] Specifically, the feature importance screening based on label position information of the high-dimensional global correlation feature graph of the back-kitchen environment data is to understand and improve the relationship between features and labels, which can identify which features are more important for predicting labels, thereby performing effective feature selection. By analyzing the correlation between features and labels, those features that are not closely related to labels or redundant can be eliminated, and those features that are substantially helpful for model prediction can be retained. For example, in time series data, both short-term and long-term features may be related to labels, but the correlation between them may be high. If features are simply selected based on correlation, it may lead to a chain elimination effect, that is, some useful features are mistakenly eliminated.
[0072] In the embodiment of the present application, the back kitchen environment analysis module 140 is used to pass the high-dimensional global correlation feature map of the optimized back kitchen environment data through a classifier to obtain a classification result, and the classification result is used to indicate whether the back kitchen environment is abnormal. It should be understood that by inputting the high-dimensional global correlation feature map into the classifier, the model can be trained to identify normal and abnormal back kitchen environment states. The classifier can learn the characteristics of the normal environment, so that it can detect abnormal conditions that are inconsistent with the normal situation. Using the classifier to monitor the back kitchen environment can achieve automated anomaly detection. Once the model training is completed and deployed, it can continuously monitor the environmental data and detect abnormal conditions in time without manual intervention. The classification results can provide real-time feedback, allowing relevant personnel to quickly understand the status of the back kitchen environment. If an abnormality occurs, measures can be taken in time to deal with the problem, thereby reducing potential risks. Based on the classification results, managers can make corresponding decisions, such as adjusting equipment settings, arranging maintenance, or taking other measures to restore the normal environment, thereby ensuring the smooth operation of the back kitchen.
[0073] In summary, the food safety intelligent supervision system and method based on the Internet of Things and big data according to the embodiment of the present application uses sensors to obtain multiple data of the back kitchen environment, including combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, temperature and humidity, etc. These data are converted into feature maps and high-dimensional global correlation feature maps are constructed. Through classifier analysis, it is determined whether the environment is abnormal, and real-time monitoring and early warning of back kitchen food safety are achieved, thereby improving management efficiency and food safety level.
[0074] As described above, the food safety intelligent supervision system 100 based on the Internet of Things and big data according to the embodiment of the present application can be implemented in various terminal devices, such as servers of the food safety intelligent supervision system based on the Internet of Things and big data. In one example, the food safety intelligent supervision system 100 based on the Internet of Things and big data can be integrated into the terminal device as a software module and / or hardware module. For example, the food safety intelligent supervision system 100 based on the Internet of Things and big data can be a software module in the operating system of the terminal device, or can be an application developed for the terminal device; of course, the food safety intelligent supervision system 100 based on the Internet of Things and big data can also be one of the many hardware modules of the terminal device.
[0075] Alternatively, in another example, the food safety intelligent supervision system 100 based on the Internet of Things and big data and the terminal device may also be separate devices, and the food safety intelligent supervision system 100 based on the Internet of Things and big data may be connected to the terminal device via a wired and / or wireless network, and transmit interactive information in accordance with an agreed data format.
[0076] Figure 5 FIG. 1 is a flow chart of a food safety intelligent supervision method based on the Internet of Things and big data according to an embodiment of the present application. Figure 5 As shown, according to the embodiment of the present application, the food safety intelligent supervision method based on the Internet of Things and big data includes the following steps: S110, obtaining the combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall ambient temperature and overall ambient humidity at multiple predetermined time points within a predetermined time period; S120, converting the combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall ambient temperature and overall ambient humidity at the multiple predetermined time points into input vectors respectively and encoding them to obtain a gas correlation feature map and a temperature-humidity correlation feature map; S130, constructing a high-dimensional global correlation feature map of the back kitchen environment data between the gas correlation feature map and the temperature-humidity correlation feature map, and performing feature importance screening on the high-dimensional global correlation feature map of the back kitchen environment data based on the label position information to obtain an optimized high-dimensional global correlation feature map of the back kitchen environment data; S140, passing the optimized high-dimensional global correlation feature map of the back kitchen environment data through a classifier to obtain a classification result, and the classification result is used to indicate whether the back kitchen environment is abnormal.
[0077] Here, those skilled in the art can understand that the specific operations of each step in the above-mentioned food safety intelligent supervision method based on the Internet of Things and big data have been referred to above. Figures 1 to 4 It has been introduced in detail in the description of the food safety intelligent supervision system based on the Internet of Things and big data, and therefore, its repeated description will be omitted.
[0078] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.
[0079] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0080] Additionally, as used herein, "or" used in a list of items beginning with "at least one" indicates a separate list, so that, for example, a list of "at least one of A, B, or C" means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). Furthermore, the word "exemplary" does not mean that the example described is preferred or better than other examples.
[0081] It should also be noted that in the system and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.
[0082] Various changes, substitutions, and modifications of the techniques described herein may be made without departing from the teachings defined by the appended claims. Furthermore, the scope of the claims of the present disclosure is not limited to the specific aspects of the processes, machines, manufactures, compositions of events, means, methods, and actions described above. Currently existing or later to be developed processes, machines, manufactures, compositions of events, means, methods, or actions that perform substantially the same functions or achieve substantially the same results as the corresponding aspects described herein may be utilized. Thus, the appended claims include such processes, machines, manufactures, compositions of events, means, methods, or actions within their scope.
[0083] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0084] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A food safety intelligent supervision system based on the Internet of Things and big data, characterized in that: include: The back kitchen environment collection module is used to obtain the combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall ambient temperature and overall ambient humidity at multiple predetermined time points within a predetermined time period; A back kitchen environment processing module, used for converting the combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall environmental temperature and overall environmental humidity at the plurality of predetermined time points into input vectors and encoding them to obtain a gas correlation feature map and a temperature-humidity correlation feature map; A back kitchen environment fusion module is used to construct a high-dimensional global correlation feature map of the back kitchen environment data between the gas correlation feature map and the temperature-humidity correlation feature map, and perform feature importance screening on the high-dimensional global correlation feature map of the back kitchen environment data based on label position information to obtain an optimized high-dimensional global correlation feature map of the back kitchen environment data; The back kitchen environment analysis module is used to pass the optimized high-dimensional global correlation feature map of the back kitchen environment data through a classifier to obtain a classification result, and the classification result is used to indicate whether the back kitchen environment is abnormal.
2. The food safety intelligent supervision system based on the Internet of Things and big data according to claim 1 is characterized in that: The back kitchen environment processing module includes: An environmental parameter context encoding unit, used for converting the combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall ambient temperature and overall ambient humidity at the plurality of predetermined time points into input vectors respectively, and then obtaining a combustible gas concentration feature vector, a carbon dioxide concentration feature vector, a PM2.5 feature vector, an oxygen concentration feature vector, an ambient temperature feature vector and an ambient humidity feature vector through a context-based encoder; A gas feature extraction unit, used for fusing the combustible gas concentration feature vector, the carbon dioxide concentration feature vector, the PM2.5 feature vector and the oxygen concentration feature vector, and performing convolution coding to obtain the gas correlation feature map; The temperature and humidity feature extraction unit is used to fuse the ambient temperature feature vector and the ambient humidity feature vector and then extract the features to obtain the temperature-humidity correlation feature map.
3. The food safety intelligent supervision system based on the Internet of Things and big data according to claim 2 is characterized in that: The environmental parameter context encoding unit comprises: An embedding subunit, used for obtaining a combustible gas concentration input vector, a carbon dioxide concentration input vector, a PM2.5 input vector, an oxygen concentration input vector, an ambient temperature input vector, and an ambient humidity input vector by using a word embedding model to carry out the combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall ambient temperature, and overall ambient humidity at the plurality of predetermined time points; The converter processing subunit is used to input a vector sequence consisting of the combustible gas concentration input vector, the carbon dioxide concentration input vector, the PM2.5 input vector, the oxygen concentration input vector, the ambient temperature input vector, and the ambient humidity input vector into a converter model to obtain the pH characteristic vector, the dissolved oxygen characteristic vector, the temperature characteristic vector, the turbidity characteristic vector, and the ammonia nitrogen characteristic vector.
4. The food safety intelligent supervision system based on the Internet of Things and big data according to claim 3 is characterized in that: The gas feature extraction unit comprises: A gas characteristic two-dimensional arrangement subunit, used for two-dimensionally arranging the combustible gas concentration characteristic vector, the carbon dioxide concentration characteristic vector, the PM2.5 characteristic vector and the oxygen concentration characteristic vector to obtain a gas correlation characteristic matrix; The gas convolution encoding subunit is used to obtain the gas correlation feature map by passing the gas correlation feature matrix through a gas feature extractor based on a first convolutional neural network model.
5. The food safety intelligent supervision system based on the Internet of Things and big data according to claim 4 is characterized in that: The gas convolution encoding subunit is used to: pass the gas correlation feature matrix through a gas feature extractor based on a first convolutional neural network model to obtain the gas correlation feature map, wherein the convolution layers of two adjacent layers in the first convolutional neural network use mutually transposed convolution kernels so that the gas correlation feature map focuses on the characteristics of the local data structure in the gas correlation feature matrix.
6. The food safety intelligent supervision system based on the Internet of Things and big data according to claim 5 is characterized in that: The temperature and humidity feature extraction unit comprises: A fusion feature subunit, used for fusing the ambient temperature feature vector and the ambient humidity feature vector to obtain a temperature-humidity correlation feature matrix; The temperature and humidity convolutional encoding subunit is used to obtain the temperature and humidity correlation feature map by passing the temperature-humidity correlation feature matrix through a temperature and humidity extractor based on a second convolutional neural network model.
7. The food safety intelligent supervision system based on the Internet of Things and big data according to claim 6 is characterized in that: The temperature and humidity convolution encoding subunit is used to: pass the temperature-humidity correlation feature matrix through a temperature and humidity extractor based on a second convolutional neural network model to obtain a temperature-humidity correlation feature map, wherein the convolution layers of two adjacent layers in the second convolutional neural network use mutually transposed convolution kernels so that the temperature-humidity correlation feature map focuses on the characteristics of the local data structure in the temperature-humidity correlation feature matrix.
8. The food safety intelligent supervision system based on the Internet of Things and big data according to claim 7 is characterized in that: The back kitchen environment integration module includes: A fusion feature map unit, used for fusing the gas correlation feature map and the temperature-humidity correlation feature map to obtain a back kitchen environment data correlation feature map; A high-dimensional global correlation feature unit, used for passing the back kitchen environment data correlation feature map through a non-local neural network model to obtain the back kitchen environment data high-dimensional global correlation feature map; The optimization unit is used to perform feature importance screening on the high-dimensional global correlation feature map of the back kitchen environment data based on the label position information to obtain the optimized high-dimensional global correlation feature map of the back kitchen environment data.
9. The food safety intelligent supervision system based on the Internet of Things and big data according to claim 8 is characterized in that: The high-dimensional global correlation feature map of the back kitchen environment data is screened based on the feature importance of the label position information to obtain an optimized high-dimensional global correlation feature map of the back kitchen environment data, including: The high-dimensional global correlation feature map of the kitchen environment data is passed through a trained pre-classifier to obtain a pseudo-label feature vector; Calculating the label mean and label standard deviation of the pseudo label feature vector; Calculate the label sensitivity feature value of the feature value at each position in the high-dimensional global correlation feature map of the back kitchen environment data to obtain a label sensitivity feature map; Normalizing the label sensitivity characteristic map to obtain a standardized label sensitivity characteristic map; The standardized label sensitivity feature map and the high-dimensional global correlation feature map of the back kitchen environment data are multiplied by position points to obtain the optimized high-dimensional global correlation feature map of the back kitchen environment data.
10. A food safety intelligent supervision method based on the Internet of Things and big data, characterized in that: include: Obtain combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall ambient temperature and overall ambient humidity at multiple predetermined time points within a predetermined time period; The combustible gas concentration, carbon dioxide concentration, PM2.5, oxygen concentration, overall ambient temperature and overall ambient humidity at the plurality of predetermined time points are respectively converted into input vectors and then encoded to obtain a gas correlation characteristic diagram and a temperature-humidity correlation characteristic diagram; Constructing a high-dimensional global correlation feature map of the back kitchen environment data between the gas correlation feature map and the temperature-humidity correlation feature map, and performing feature importance screening on the high-dimensional global correlation feature map of the back kitchen environment data based on label position information to obtain an optimized high-dimensional global correlation feature map of the back kitchen environment data; The high-dimensional global correlation feature map of the optimized kitchen environment data is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether the kitchen environment is abnormal.
