Digital environment monitoring management system and method
Through the digital environmental monitoring and management system, sensors and drones are used to monitor water quality parameters and images, analyze the data in real time, and automatically decide whether to change water. This solves the problem that traditional breeding management methods cannot meet the requirements of refinement and real-time, and improves the efficiency of breeding. Intelligence and efficiency of the environment.
Patent Information
- Application Number
- CN202410596497.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-08-23
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In digital aquaculture, traditional breeding management methods are difficult to meet the requirements of refinement and real-time. Especially in the face of changing breeding environments, there are challenges in the acquisition, transmission, processing of monitoring data and the control and adjustment of environmental parameters.
A digital environmental monitoring and management system is designed, which uses sensors to monitor water quality parameters and drones to obtain water quality status images, analyze the data in real time, and automatically decide whether to change the water. It uses environmental data collection, processing, fusion and analysis modules to extract water quality parameters. and image features, construct an associated feature vector, and use a classifier to determine whether water needs to be changed.
It improves the intelligence and efficiency of breeding environment control, reduces manual operations, ensures a good growth environment for breeding species, and enhances the reliability and intelligence of the environmental monitoring system.
Smart Images

Figure CN118536014A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of digital environmental monitoring, and more specifically, to a digital environmental monitoring management system and method. Background Art
[0002] Digital aquaculture uses advanced technologies such as the Internet of Things, sensor technology, big data analysis, and artificial intelligence to achieve intelligent monitoring and control of the aquaculture environment, improve aquaculture benefits, reduce environmental risks, and promote the aquaculture industry to develop in a sustainable and intelligent direction. However, the realization of intelligent environmental monitoring and control of digital aquaculture faces a series of technical challenges and problems. Factory aquaculture workshops mainly cultivate marine and freshwater famous and high-quality species. The variability of the aquaculture environment makes it difficult for traditional aquaculture management methods to meet the requirements of refinement and real-time. In addition, the acquisition, transmission, processing of monitoring data, and the control and adjustment of environmental parameters all rely on advanced technical means and system support.
[0003] Therefore, a digital environment monitoring management system and method are desired. Summary of the invention
[0004] In order to solve the above technical problems, this application is proposed. The embodiments of this application provide a digital environment monitoring management system and method, which uses sensors to monitor water quality parameters and cameras to obtain water quality status images, analyzes data in real time and automatically determines whether water needs to be changed, thereby improving the intelligence and efficiency of aquaculture environment control.
[0005] Accordingly, according to one aspect of the present application, a digital environment monitoring and management system is provided, comprising:
[0006] Environmental data acquisition module, used to obtain water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at multiple predetermined time points within a predetermined time period, and to collect water quality status images through drones;
[0007] An environmental data processing module, used for extracting water quality parameter associated feature vectors from the water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at the plurality of predetermined time points, and extracting a water quality state image block feature matrix from the water quality state image;
[0008] An environmental data fusion module, used to construct a water quality environment data associated feature vector between the water quality parameter associated feature vector and the water quality state image block feature matrix, and to perform sparsity constraints on the water quality environment data associated feature vector based on the model parameter space to obtain a sparse optimized water quality environment data associated feature vector;
[0009] The environmental data analysis module is used to pass the sparse optimized water quality environmental data associated feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether water change is needed.
[0010] According to another aspect of the present application, a digital environment monitoring management method is provided, which includes:
[0011] Obtain water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at multiple predetermined time points within a predetermined time period, and collect water quality status images through drones;
[0012] Extracting water quality parameter associated feature vectors from the water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at the plurality of predetermined time points, and extracting a water quality state image block feature matrix from the water quality state image;
[0013] Constructing a water quality environment data associated feature vector between the water quality parameter associated feature vector and the water quality state image block feature matrix, and performing sparsity constraints on the water quality environment data associated feature vector based on the model parameter space to obtain a sparse optimized water quality environment data associated feature vector;
[0014] The sparse optimized water quality environment data associated feature vector is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether water change is required.
[0015] Compared with the existing technology, the digital environment monitoring management system and method provided by the present application aims to realize the intelligent monitoring and control of digital aquaculture environment. By deploying sensor equipment to monitor key water quality parameters and cameras to obtain water quality status images, data can be processed in real time and the decision on whether water needs to be changed can be automatically made based on the analysis results, thereby improving the reliability and efficiency of aquaculture environment control, reducing manual operations, and providing good growth guarantees for aquaculture species. 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 a digital environment monitoring and management system according to an embodiment of the present application.
[0018] Figure 2 It is a block diagram of an environmental data processing module in a digital environmental monitoring and management system according to an embodiment of the present application.
[0019] Figure 3 It is a block diagram of a water quality parameter processing unit in a digital environment monitoring and management system according to an embodiment of the present application.
[0020] Figure 4 It is a block diagram of a water quality image encoding unit in a digital environment monitoring and management system according to an embodiment of the present application.
[0021] Figure 5 Flow chart of a digital environment monitoring management method 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 FIG. 1 is a block diagram of a digital environment monitoring and management system according to an embodiment of the present application. Figure 1As shown, according to the digital environment monitoring and management system 100 of the embodiment of the present application, it includes: an environmental data acquisition module 110, which is used to obtain water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at multiple predetermined time points within a predetermined time period, and collect water quality status images through drones; an environmental data processing module 120, which is used to extract water quality parameter associated feature vectors from the water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at the multiple predetermined time points, and extract a water quality status image block feature matrix from the water quality status image; an environmental data fusion module 130, which is used to construct a water quality environment data associated feature vector between the water quality parameter associated feature vector and the water quality status image block feature matrix, and to perform sparsity constraints on the water quality environment data associated feature vector based on the model parameter space to obtain a sparse optimized water quality environment data associated feature vector; an environmental data analysis module 140, which is used to pass the sparse optimized water quality environment data associated feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether water change is needed.
[0027] In an embodiment of the present application, the environmental data acquisition module 110 is used to obtain the water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at multiple predetermined time points within a predetermined time period, and to collect water quality status images through drones. It should be understood that by collecting water quality parameters and status images at multiple time points, the changes and trends of water quality can be fully monitored, rather than just snapshots at a single time point. Continuous monitoring can provide more data points, which helps to more accurately analyze water quality changes, identify abnormal conditions, and make timely adjustments. Different parameters (such as pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen) provide multi-dimensional information about water quality, and combined with status images, a more comprehensive understanding of water quality conditions can be achieved. Collecting water quality status images through drones can obtain a broader field of view and more detailed information, which helps to discover hidden problems or abnormal conditions in waters.
[0028] In an embodiment of the present application, the environmental data processing module 120 is used to extract water quality parameter associated feature vectors from the water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at the multiple predetermined time points, and to extract the water quality state image block feature matrix from the water quality state image. It should be understood that the water quality parameter associated feature vectors and the water quality state image block feature matrix can extract key features from the data, which helps to reduce data dimensions and improve data processing efficiency. By calculating the matrix product between the water quality parameter associated feature vector and the water quality state image block feature matrix, different types of data can be fused together to provide more comprehensive information for subsequent analysis and decision-making. Combining the characteristics of water quality parameters and state images, the overall condition of water quality can be more comprehensively understood, the laws and trends of water quality changes can be discovered, and more accurate data analysis and prediction can be performed. The extracted feature vectors and feature matrices can be used as inputs to the classifier to help the system determine whether decisions such as water changes are needed, thereby improving the intelligence level of the environmental monitoring system.
[0029] Specifically, in one embodiment of the present application, Figure 2 FIG. 1 is a block diagram of an environmental data processing module in a digital environmental monitoring and management system according to an embodiment of the present application. Figure 2 As shown, in the above-mentioned digital environmental monitoring and management system 100, the environmental data processing module 120 includes: a water quality parameter processing unit 121, which is used to encode the water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at the multiple predetermined time points and fuse them to obtain the water quality parameter associated feature vector; a water quality image encoding unit 122, which is used to divide the water quality status image into image blocks and then encode them to obtain the water quality status image block feature matrix.
[0030] Specifically, the water quality parameter processing unit 121 is used to encode and fuse the water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at the multiple predetermined time points to obtain the water quality parameter associated feature vector. It should be understood that encoding and fusing different water quality parameters can reduce the dimension of the data, extract key features in the data, and help to better understand and describe the characteristics of water quality data. There are often certain correlations and interactions between different water quality parameters. By fusing them into a feature vector, the information of multiple parameters can be integrated to more comprehensively reflect the state of water quality. The fused water quality parameter associated feature vector can be used as the input of the model, which helps to establish a more accurate water quality monitoring model and predict and analyze the water quality state. By fusing water quality parameters, the data processing process can be simplified, the amount of calculation can be reduced, and the data processing efficiency can be improved.
[0031] further, Figure 3 The figure shows a block diagram of a water quality parameter processing unit in a digital environment monitoring and management system according to an embodiment of the present application. Figure 3 As shown, in the environmental data processing module 120 of the above-mentioned digital environmental monitoring and management system 100, the water quality parameter processing unit 121 includes: an encoder subunit 1211, which is used to convert the water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at the multiple predetermined time points into input vectors respectively, and then obtain the pH feature vector, dissolved oxygen feature vector, temperature feature vector, turbidity feature vector and ammonia nitrogen feature vector through a context-based encoder; a cascade subunit 1212, which is used to cascade the pH feature vector, the dissolved oxygen feature vector, the temperature feature vector, the turbidity feature vector and the ammonia nitrogen feature vector to obtain a water quality parameter associated feature vector.
[0032] Specifically, the encoder subunit 1211 is used to convert the water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at the multiple predetermined time points into input vectors respectively, and then obtain pH feature vectors, dissolved oxygen feature vectors, temperature feature vectors, turbidity feature vectors and ammonia nitrogen feature vectors through context-based encoders. It should be understood that after converting water quality parameters into feature vectors, key features in the data can be better extracted, which helps to capture important information of the data and reduce the dimension of the data. After converting different types of water quality parameters into feature vectors, they can have the same data format and dimension, which is convenient for subsequent data processing and analysis. Converting water quality parameters into feature vectors can standardize the data, eliminate the dimension and range differences between different parameters, and facilitate data comparison and comprehensive analysis. Feature vectors can be used as inputs of models, such as machine learning models or neural network models, to train and predict the changing trends of water quality data, thereby achieving more accurate data analysis and prediction. Through feature vectors, the associations and influences between different water quality parameters can be better captured and expressed, which helps to understand the characteristics of water quality data more comprehensively.
[0033] Correspondingly, the encoder subunit includes: an embedding secondary subunit, used to obtain a water quality pH vector, a dissolved oxygen vector, a temperature vector, a turbidity vector and an ammonia nitrogen vector by using a word embedding model for the water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at the multiple predetermined time points; a converter processing secondary subunit, used to input a vector sequence consisting of the water quality pH vector, the dissolved oxygen vector, the temperature vector, the turbidity vector and the ammonia nitrogen vector into a 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.
[0034] Furthermore, the embedding secondary subunit is used to obtain a water quality pH vector, a dissolved oxygen vector, a temperature vector, a turbidity vector and an ammonia nitrogen vector by using a word embedding model to transform the water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at the multiple predetermined time points. It should be understood that converting discrete water quality parameters into continuous vector representations helps to capture the semantics and associations between parameters, making these parameters easier to process and compare in the model. The word embedding model can learn a compact and meaningful representation for each water quality parameter by learning the patterns and associations in the data, thereby better expressing the data characteristics. The word embedding model can map high-dimensional discrete data into a low-dimensional continuous vector space, thereby reducing the data dimension and simplifying the data processing and analysis process. Through the conversion of the word embedding model, the model can be better generalized to unseen data, improving the performance and applicability of the model.
[0035] Furthermore, the converter processes a secondary subunit, which is used to input a vector sequence consisting of the water quality pH vector, the dissolved oxygen vector, the temperature vector, the turbidity vector and the ammonia nitrogen 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, considering that the water quality parameters may have time series properties, the vectors of these parameters are input into the converter model in a time order to form a sequence, which helps the model capture the temporal relationship and evolution law between the parameters. By inputting the water quality parameter vector sequence into the converter model, the model's own feature extraction ability can be used to discover important features and patterns in the data, so as to better understand the data. Combining the vector sequences of different water quality parameters helps the model consider the mutual influence and comprehensive effects between different parameters as a whole, so as to more accurately describe the overall characteristics of the water quality data. The converter model may reduce the dimension of the input vector sequence or extract key features, thereby reducing the complexity of the data and retaining important information, which helps to improve the efficiency and generalization ability of the model. By inputting a sequence of vectors into a transformer model, the model can be trained to learn patterns and regularities in the data, thereby providing better feature representations for subsequent prediction or classification tasks.
[0036] Specifically, the cascade subunit 1212 is used to cascade the pH feature vector, the dissolved oxygen feature vector, the temperature feature vector, the turbidity feature vector and the ammonia nitrogen feature vector to obtain a water quality parameter associated feature vector. It should be understood that cascading the feature vectors of various water quality parameters together can form a more comprehensive feature vector, which contains the association information between different parameters. This helps to capture the complex relationship between different water quality parameters. Cascaded feature vectors can provide richer and more comprehensive information, which in some cases may be more helpful for model training and prediction than considering the characteristics of each parameter separately. By cascading feature vectors, the dimensionality disaster problem can be avoided, that is, as the feature dimension increases, the data becomes more sparse and difficult to handle. Some models may require multiple features to be input at one time, and cascaded feature vectors can be used as model input, simplifying the design and input of the model.
[0037] Accordingly, in a specific example of the present application, the water quality image encoding unit 122 is used to encode the water quality state image after dividing it into image blocks to obtain the water quality state image block feature matrix. It should be understood that after dividing the image into small blocks, the characteristic information of the local area in the image can be better captured, which is helpful to identify and distinguish different water quality states. By dividing the image into blocks, the amount of data to be processed can be reduced, the computational complexity can be reduced, and the speed of feature extraction and processing can be accelerated. Image block division can increase the model's understanding and robustness of image content, so that the model can better adapt to image changes of different scales and angles. By encoding the features of each image block into a matrix, the local features can be integrated into a more advanced representation, which helps to comprehensively consider the overall features of the image. Encoding the image block features into a matrix form helps to convert image information into a numerical form that can be processed by a computer, providing input for subsequent machine learning or deep learning models.
[0038] further, Figure 4 The figure shows a block diagram of a water quality image encoding unit in a digital environment monitoring and management system according to an embodiment of the present application. Figure 4As shown, in the environmental data processing module 120 of the above-mentioned digital environmental monitoring and management system 100, the water quality image encoding unit 122 includes: an image block division subunit 1221, which is used to divide the water quality status image into image blocks to obtain a water quality status image block sequence; an embedding coding subunit 1222, which is used to obtain a plurality of water quality status image block embedding vectors by linear embedding coding the water quality status image block sequence; a vector two-dimensional arrangement subunit 1223, which is used to two-dimensionally arrange the plurality of water quality status image block embedding vectors to obtain a water quality status image block input matrix; a convolution coding subunit 1224, which is used to pass the water quality status image block input matrix through the first convolution neural network model using mutually transposed convolution kernels in adjacent layers to obtain the water quality status image block feature matrix.
[0039] Specifically, the image block division subunit 1221 is used to divide the water quality state image into image blocks to obtain a water quality state image block sequence. It should be understood that by dividing the image into small blocks, the local feature information of different areas in the image can be better captured. This helps to improve the recognition and analysis capabilities of water quality status. Image block division can increase the diversity of data samples, thereby improving the generalization ability of the model. Different image blocks may contain different features, which helps to improve the robustness of the model. Processing the entire large image may result in excessive computation, while dividing the image into small blocks can reduce the processing complexity of each block and speed up feature extraction and processing. The water quality state image may contain features of different scales. Block division can better capture information at different scales and improve the adaptability of the model. After the image is divided into blocks, each image block can be processed in parallel, thereby improving processing efficiency and speed.
[0040] Specifically, the embedded coding subunit 1222 is used to obtain multiple water quality status image block embedding vectors by linear embedding coding the water quality status image block sequence. It should be understood that converting image blocks into vectors can significantly reduce the dimension of the data, simplify the complexity of the data, and facilitate subsequent processing and analysis. Through embedded coding, key features in the image blocks can be extracted, which helps to identify and distinguish different water quality states. The representation in vector form is easier to perform mathematical operations and computer processing, which improves computing efficiency. Many machine learning and deep learning models are more suitable for processing vector data. Converting image blocks into vectors can make these models easier to apply to the processing and analysis of water quality status image data.
[0041] Specifically, each water quality status image block is mapped into a continuous embedding space through a learnable embedding matrix. This linear embedding coding can help convert the features of the image block into a more representative vector representation, which is helpful for subsequent water quality status analysis and identification tasks. The embedding layer is a neural network layer that contains learnable embedding matrix parameters. These parameters can be optimized through back propagation during the training process to maximize the extraction and retention of feature information of the water quality status image block and encode it into an embedding vector.
[0042] Correspondingly, the embedding coding subunit is used to: pass the water quality state image block sequence through an embedding layer to linearly embed code each water quality state image block in the water quality state image block sequence to obtain multiple water quality state image block embedding vectors, wherein the embedding layer uses a learnable embedding matrix to embed code each water quality state image block.
[0043] Specifically, the vector two-dimensional arrangement subunit 1223 is used to arrange the multiple water quality state image block embedding vectors in two dimensions to obtain a water quality state image block input matrix. It should be understood that arranging the embedded vectors in the form of a matrix can better retain the spatial structural information between image blocks. This structural information is very important for image processing tasks (such as image classification, target detection, etc.). Arranging the embedded vectors in a matrix form meets the requirements of many deep learning models (such as convolutional neural networks) for input data, so that such a matrix can be directly input into the deep learning model for training and reasoning. The data structure in the form of a matrix is easier to perform matrix operations, such as matrix multiplication, convolution operations, etc. This can simplify the complexity of data processing and improve computational efficiency. Through matrix arrangement, the local information between image blocks can be better utilized, which helps the model to better understand the structure and content of the image and improve the performance and generalization ability of the model.
[0044] Specifically, the convolutional coding subunit 1224 is used to pass the water quality state image block input matrix through the adjacent layers using the first convolutional neural network model with mutually transposed convolution kernels to obtain the water quality state image block feature matrix. It should be understood that the convolutional neural network (CNN) can effectively extract features from image data. By using the convolution kernel to slide on the input matrix, the spatial features and structural information between the image blocks can be extracted, and these information can be encoded into the water quality state image block feature matrix. The transposed convolution operation can achieve upsampling, mapping the input low-dimensional features to a higher-dimensional space, which helps to restore the details and spatial structure of the image. By using mutually transposed convolution kernels, the upsampling operation can be achieved, and the dimension of the input matrix can be expanded to a larger feature matrix. Through the convolutional neural network model, feature representations suitable for water quality state image blocks can be learned, and these features can better characterize the image information under different water quality states, and provide better input for subsequent water quality state analysis and recognition tasks. The use of a convolutional neural network model can help improve the model's feature extraction and generalization capabilities for water quality state image blocks, thereby improving the performance and accuracy of the overall model.
[0045] Correspondingly, the convolutional encoding subunit is used for: the layers of the first convolutional neural network model in the adjacent layers using mutually transposed convolution kernels respectively perform the following on the input data in the forward pass of the layer: performing convolution processing, pooling processing and nonlinear processing based on a first two-dimensional convolution kernel on the input data to obtain a first activation feature map; performing convolution processing, pooling processing and nonlinear activation processing based on a second two-dimensional convolution kernel on the first activation feature map to obtain a second activation feature map, wherein the first two-dimensional convolution kernel and the second two-dimensional convolution kernel are transposed of each other; wherein the input of the first layer of the first convolutional neural network model in the adjacent layers using mutually transposed convolution kernels is the water quality status image block input matrix, and the output of the last layer of the first convolutional neural network model in the adjacent layers using mutually transposed convolution kernels is the water quality status image block feature matrix.
[0046] In an embodiment of the present application, the environmental data fusion module 130 is used to construct the water quality environment data associated feature vector between the water quality parameter associated feature vector and the water quality state image block feature matrix, and the water quality environment data associated feature vector is subjected to sparsity constraints based on the model parameter space to obtain a sparse optimized water quality environment data associated feature vector. It should be understood that by calculating the matrix product, the water quality parameter associated feature vector and the image feature matrix can be effectively fused, combining the feature information of the two, so as to obtain a more comprehensive and comprehensive feature representation. Through the matrix product, the linear relationship between the water quality parameter features and the image features can be explored, helping to understand the correlation and influence between them, thereby revealing the hidden associations in the water quality environment data. The result of the matrix product will be a new feature vector, which can help reduce the dimension of the data and extract the most relevant information, thereby simplifying the complexity of data analysis and model training. After obtaining the water quality environment data associated feature vector, a prediction model can be constructed based on these features to predict the changing trend of water quality environment data or to classify and identify water quality states.
[0047] In particular, in the technical solution of the present application, it is considered that the sensors in the soil may be disturbed by environmental factors, such as temperature changes, soil compaction, etc., resulting in fluctuations in the measured pH value, humidity value and nutrient content, and introducing noise. If the abnormal values (such as abnormal readings caused by sensor failure) are not effectively identified and processed in the process of converting sensor data into input vectors, these abnormal values will exist in the feature vector as noise. When processing time series data, the context encoder may be affected by the long-term dependency problem and it is difficult to capture all relevant context information, resulting in inaccurate information in the feature vector. When the soil pH value feature vector, the soil moisture feature vector and the soil nutrient content feature vector are cascaded, if there is noise or an abnormal value in a vector, it may affect the quality of the overall soil state associated feature vector. The fruit health status image collected by the drone may be affected by factors such as lighting conditions, drone shooting angle, image resolution, etc., resulting in noise in the image. The embedding layer uses a learnable embedding matrix to embed the image block for encoding. If the training data is insufficient or the parameters of the embedding matrix are improperly set, noise may exist in the embedding vector. When calculating the matrix product between the soil state associated feature vector and the fruit health state image block feature matrix, if there is noise or outliers in any feature vector, it may be amplified in the product result. Therefore, in order to eliminate the noise and outliers of the environmental data associated feature vector, in the technical solution of the present application, the environmental data associated feature vector is subjected to sparsity constraints based on the model parameter space.
[0048] Accordingly, in one embodiment of the present application, the environmental data fusion module 130 includes: a matrix product unit, used to calculate the matrix product between the water quality parameter associated feature vector and the water quality status image block feature matrix to obtain the water quality environment data associated feature vector; a sparsity constraint unit, used to perform sparsity constraints on the water quality environment data associated feature vector based on the model parameter space to obtain a sparse optimized water quality environment data associated feature vector.
[0049] Specifically, the matrix product unit is used to: calculate the matrix product between the water quality parameter associated feature vector and the water quality state image block feature matrix using the following fusion formula to obtain the water quality environment data associated feature vector;
[0050] Among them, the fusion formula is:
[0051]
[0052] Where V y represents the water quality environment data associated feature vector, V x represents the water quality parameter associated feature vector, M represents the water quality state image block feature matrix, Represents matrix multiplication.
[0053] Specifically, the sparsity constraint unit includes: a parameter space extraction subunit, which is used to extract the model parameter space, wherein the model parameter space includes a model weight matrix and a model bias vector; a regularization subunit, which is used to perform sparsity constraints on the model weight matrix and the model bias vector based on the regularization term to obtain a sparse model weight matrix and a sparse model bias vector; a sparse optimization subunit, which is used to process the water quality environment data associated feature vector based on the sparse model weight matrix and the sparse model bias vector with the following formula to obtain the sparse optimized water quality environment data associated feature vector, wherein the formula is:
[0054] V sparse =W T V c +B
[0055] Among them, V c represents the associated feature vector of water quality environmental data, W represents the sparse model weight matrix, B represents the sparse model bias vector, T represents the transpose of the matrix, V sparse Represents the sparse optimized water quality environment data associated feature vector.
[0056] Here, by performing sparsity constraints based on the model parameter space through the environmental data associated feature vector, it can be ensured that only a few elements in the environmental data associated feature vector are non-zero, thereby achieving the selection and optimization of features. This approach not only helps to simplify the model structure, making it more transparent and easy to explain, but also reduces the overfitting of the model to the training data and enhances its generalization ability. In addition, the sparse environmental data associated feature vector means that the model will rely on fewer features for decision-making, which not only reduces the computational cost, but also improves the robustness of the model in the face of noise and outliers. In the process of implementing the sparsity constraints based on the model parameter space, the degree of sparsity can be clearly controlled, so as to find an appropriate balance between model complexity and prediction performance. This method can also assist in feature selection, highlighting those features that are most critical to the classification task, while protecting sensitive information in the data and ensuring privacy security.
[0057] Further, the sparse optimization subunit includes: a class creation secondary subunit, used to create a controller class, and the controller class is used to process sparsity constraint requests; a feature extraction secondary subunit, used to extract the sparse model weight matrix, the sparse model bias vector and the environment data associated feature vector from the sparsity constraint request in response to receiving the sparsity constraint request; an optimization secondary subunit, used to use the controller class and the sparse model weight matrix and the sparse model bias vector to perform sparse constraints on the environment data associated feature vector to obtain the sparse optimized environment data associated feature vector; and a vector return secondary subunit, used to return the sparse optimized environment data associated feature vector.
[0058] It should be understood that using the Spring Web mechanism to implement has the following benefits: first, scalability, Spring Web provides an extensible framework that can easily handle high concurrent requests; second, flexibility, Spring Web supports a variety of deployment options, including application servers and cloud platforms, providing flexibility; then, security, Spring Web provides built-in security features such as authentication and authorization to protect applications from unauthorized access; then, maintainability, Spring Web follows the principles of loose coupling and dependency injection, making applications easy to maintain and extend; in addition, using the Spring Web mechanism can simplify the deployment and management of sparse constraints because Spring Web provides out-of-the-box functions such as request processing, model loading, and response generation.
[0059] Specifically, the above steps can be implemented using the following code:
[0060]
[0061] In an embodiment of the present application, the environmental data analysis module 140 is used to pass the sparse optimized water quality environment data associated feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether water needs to be changed. It should be understood that the water quality environment data associated feature vector contains the association information between water quality parameters and image features. By passing this information to the classifier, these associated features can be used to better judge the water quality state. The classifier can learn how to map the input features to different categories or decisions. In this case, the classifier can judge whether the current water quality condition needs to be changed based on the feature vector of the water quality environment data. By using a classifier, automated analysis and decision-making of water quality environment data can be achieved. This can help reduce the burden of manual judgment and make decisions more quickly. The classification result can provide a prediction of the water quality condition and help to discover potential problems or changes as early as possible. If the classification result shows that water needs to be changed, measures can be taken in time to maintain the water quality in a good state.
[0062] Accordingly, in one embodiment of the present application, the environmental data analysis module 140 is used to: use the classifier to process the sparse optimized water quality environmental data associated feature vector using the following formula to obtain the classification result;
[0063] Wherein, the formula is: softmax{(W n ,B n ):…:(W1,B1)|X}, where W1 to W n is the weight matrix, B1 to B n is a bias vector, X is a sparse optimized water quality environment data associated feature vector, softmax represents a softmax function, and O represents the classification result.
[0064] In summary, the digital environment monitoring management system and method based on the embodiment of the present application aims to realize the intelligent monitoring and control of digital aquaculture environment, by deploying sensor equipment to monitor key water quality parameters and cameras to obtain water quality status images, processing data in real time and automatically deciding whether water needs to be changed based on the analysis results, thereby improving the reliability and efficiency of aquaculture environment control, reducing manual operations, and providing good growth guarantees for aquaculture varieties.
[0065] As described above, the digital environment monitoring and management system 100 according to the embodiment of the present application can be implemented in various terminal devices, such as a server of a digital environment monitoring and management system. In one example, the digital environment monitoring and management system 100 can be integrated into a terminal device as a software module and / or a hardware module. For example, the digital environment monitoring and management system 100 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 digital environment monitoring and management system 100 can also be one of the many hardware modules of the terminal device.
[0066] Alternatively, in another example, the digital environment monitoring management system 100 and the terminal device may also be separate devices, and the digital environment monitoring management system 100 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.
[0067] Figure 5 Flow chart of the digital environment monitoring management method according to the embodiment of the present application. Figure 5 As shown, the digital environmental monitoring and management method according to the embodiment of the present application includes the following steps: S110, obtaining the water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at multiple predetermined time points within a predetermined time period, and collecting water quality status images through a drone; S120, extracting water quality parameter associated feature vectors from the water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at the multiple predetermined time points, and extracting a water quality status image block feature matrix from the water quality status image; S130, constructing a water quality environment data associated feature vector between the water quality parameter associated feature vector and the water quality status image block feature matrix, and performing sparsity constraints on the water quality environment data associated feature vector based on the model parameter space to obtain a sparse optimized water quality environment data associated feature vector; S140, passing the sparse optimized water quality environment data associated feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether water change is needed.
[0068] Here, those skilled in the art will appreciate that the specific operations of each step in the above-mentioned digital environment monitoring management method have been described in detail above. Figures 1 to 4 The description of the digital environmental monitoring management system has been introduced in detail, and therefore, its repeated description will be omitted.
[0069] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0070] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0071] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0072] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0073] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0074] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0075] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A digital environmental monitoring and management system, characterized in that: include: Environmental data acquisition module, used to obtain water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at multiple predetermined time points within a predetermined time period, and to collect water quality status images through drones; An environmental data processing module, used for extracting water quality parameter associated feature vectors from the water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at the plurality of predetermined time points, and extracting a water quality state image block feature matrix from the water quality state image; An environmental data fusion module, used to construct a water quality environment data associated feature vector between the water quality parameter associated feature vector and the water quality state image block feature matrix, and to perform sparsity constraints on the water quality environment data associated feature vector based on the model parameter space to obtain a sparse optimized water quality environment data associated feature vector; The environmental data analysis module is used to pass the sparse optimized water quality environmental data associated feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether water change is needed.
2. The digital environment monitoring and management system according to claim 1 is characterized in that: The environmental data processing module comprises: A water quality parameter processing unit, used for fusing the water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at the plurality of predetermined time points by encoding them respectively to obtain the water quality parameter associated feature vector; The water quality image encoding unit is used to divide the water quality state image into image blocks and then encode them to obtain the water quality state image block feature matrix.
3. The digital environment monitoring and management system according to claim 2 is characterized in that: The water quality parameter processing unit comprises: An encoder subunit, for converting the water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at the plurality of predetermined time points into input vectors respectively, and then obtaining a pH feature vector, a dissolved oxygen feature vector, a temperature feature vector, a turbidity feature vector and an ammonia nitrogen feature vector through a context-based encoder; The cascade subunit is used to cascade the pH characteristic vector, the dissolved oxygen characteristic vector, the temperature characteristic vector, the turbidity characteristic vector and the ammonia nitrogen characteristic vector to obtain a water quality parameter associated characteristic vector.
4. The digital environment monitoring and management system according to claim 3 is characterized in that: The encoder subunit comprises: Embedding a secondary subunit, for obtaining a water quality pH vector, a dissolved oxygen vector, a temperature vector, a turbidity vector and an ammonia nitrogen vector by using a word embedding model to measure the water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at the plurality of predetermined time points; The converter processes a secondary subunit, which is used to input a vector sequence consisting of the water quality pH vector, the dissolved oxygen vector, the temperature vector, the turbidity vector and the ammonia nitrogen 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.
5. The digital environment monitoring and management system according to claim 4 is characterized in that: The water quality image encoding unit comprises: An image block division subunit, used for dividing the water quality state image into image blocks to obtain a water quality state image block sequence; An embedding coding subunit, used for performing linear embedding coding on the water quality state image block sequence to obtain a plurality of water quality state image block embedding vectors; A vector two-dimensional arrangement subunit, used for two-dimensionally arranging the plurality of water quality state image block embedding vectors to obtain a water quality state image block input matrix; The convolutional coding subunit is used to input the water quality state image block into a matrix through adjacent layers using a first convolutional neural network model with mutually transposed convolution kernels to obtain a feature matrix of the water quality state image block.
6. The digital environment monitoring and management system according to claim 5 is characterized in that: The embedding coding subunit is used to: pass the water quality state image block sequence through an embedding layer to linearly embed code each water quality state image block in the water quality state image block sequence to obtain multiple water quality state image block embedding vectors, wherein the embedding layer uses a learnable embedding matrix to embed code each water quality state image block.
7. The digital environment monitoring and management system according to claim 6 is characterized in that: The environmental data fusion module comprises: A matrix product unit, used for calculating the matrix product between the water quality parameter associated feature vector and the water quality state image block feature matrix to obtain the water quality environment data associated feature vector; The sparsity constraint unit is used to perform sparsity constraints on the water quality environment data associated feature vector based on the model parameter space to obtain a sparse optimized water quality environment data associated feature vector.
8. The digital environment monitoring and management system according to claim 7 is characterized in that: The sparsity constraint unit comprises: An extraction parameter space subunit is used to extract a model parameter space, wherein the model parameter space includes a model weight matrix and a model bias vector; A regularization subunit, used for performing sparsity constraints on the model weight matrix and the model bias vector based on regularization terms to obtain a sparse model weight matrix and a sparse model bias vector; The sparse optimization subunit is used to process the water quality environment data associated feature vector based on the sparse model weight matrix and the sparse model bias vector using the following formula to obtain the sparse optimized water quality environment data associated feature vector, wherein the formula is: V sparse =W T V c +B Among them, V c represents the associated feature vector of water quality environmental data, W represents the sparse model weight matrix, B represents the sparse model bias vector, T represents the transpose of the matrix, V sparse Represents the sparse optimized water quality environment data associated feature vector.
9. The digital environment monitoring and management system according to claim 8, characterized in that: The sparse optimization subunit comprises: Creating a class secondary subunit for creating a controller class, wherein the controller class is used to process a sparsity constraint request; A feature extraction secondary subunit, configured to extract the sparse model weight matrix, the sparse model bias vector and the environment data associated feature vector from the sparsity constraint request in response to receiving the sparsity constraint request; An optimization secondary subunit is used to use the controller class, the sparse model weight matrix and the sparse model bias vector to perform sparse constraints on the environmental data associated feature vector to obtain the sparse optimized environmental data associated feature vector; The return vector secondary subunit is used to return the sparse optimization environment data associated feature vector.
10. A digital environmental monitoring management method, characterized in that: include: Obtain water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at multiple predetermined time points within a predetermined time period, and collect water quality status images through drones; Extracting water quality parameter associated feature vectors from the water quality pH, dissolved oxygen, temperature, turbidity and ammonia nitrogen at the plurality of predetermined time points, and extracting a water quality state image block feature matrix from the water quality state image; Constructing a water quality environment data associated feature vector between the water quality parameter associated feature vector and the water quality state image block feature matrix, and performing sparsity constraints on the water quality environment data associated feature vector based on the model parameter space to obtain a sparse optimized water quality environment data associated feature vector; The sparse optimized water quality environment data associated feature vector is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether water change is required.
Citation Information
Patent Citations
Environmental water quality monitoring system and monitoring method thereof
CN115935276A
Intelligent aquaculture control system and method thereof
CN117170442A
Aquaculture online monitoring system and method based on image processing technology
CN117805045A
Intelligent earthworm breeding management system and method
CN118000162A
Cited By
Pallet identification system and method of mobile robot
CN118397603A
