A sandy micro-water storage and moisturizing device and method
The artificial intelligence controller collects humidity and vegetation information in real-time in the sand micro-water storage device, and accurately adjusts the irrigation water volume, which solves the problem of non-dynamic adjustment of irrigation in traditional technology and achieves water conservation and environmental protection.
Patent Information
- Application Number
- CN202410277489.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-12
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-03-12
AI Technical Summary
Traditional sand micro-water storage and moisturizing devices cannot dynamically adjust the irrigation system according to environmental conditions and plant water needs, resulting in over- or under-irrigation, wasting water resources and increasing energy costs.
A micro water storage controller based on artificial intelligence is used to collect sand humidity in real time through a humidity sensor and obtain vegetation information from a backend database. It uses time series correlation and semantic analysis algorithms to generate switch control instructions for the micro water storage pump to accurately control the amount and frequency of irrigation water.
Effectively save water resources, reduce irrigation costs and reduce water waste, which is beneficial to environmental protection and ecological sustainable development.
Smart Images

Figure CN118131834B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent control, and more specifically, to a sand micro-water storage and moisturizing device and method. Background Art
[0002] The sand micro-water storage and moisturizing device is a device that uses the micropores in the sand to store water, thereby improving the water retention capacity of the sand and the growth conditions of vegetation. It can help improve the moisture conditions of desert or sandy soil, increase the water retention capacity of the soil, promote plant growth, and reduce water waste.
[0003] However, traditional technologies usually use simple timing or manual methods to control irrigation systems, which cannot be dynamically adjusted according to environmental conditions and plant water requirements, which can easily cause problems such as over-irrigation or under-irrigation. In addition, water pumps in traditional technologies usually run at fixed power and time, resulting in energy waste and increased costs.
[0004] Therefore, an optimized sand micro-water storage and moisturizing device is desired. Summary of the invention
[0005] In order to solve the above technical problems, the present application is proposed. The embodiment of the present application provides a sand micro-water storage moisturizing device and method, which, in a micro-water storage controller, uses the sand humidity collected in real time by a humidity sensor, and obtains vegetation information from a background database, wherein the vegetation information includes vegetation type, growth stage and water demand, and uses artificial intelligence-based data processing and analysis algorithms to perform temporal association and semantic analysis on the sand humidity and the vegetation information, so as to automatically generate a switch control instruction for a micro-water storage pump according to the associated interactive semantics and temporal changes of the sand humidity and the vegetation information. In this way, the irrigation water volume and frequency can be accurately controlled according to the types, growth stages and water demands of different vegetation, avoiding over-irrigation or under-irrigation, effectively saving the use of water resources, reducing irrigation costs, and reducing the impact of water waste on the environment, thereby improving ecological environmental protection and sustainable development.
[0006] According to one aspect of the present application, a sand micro-water storage and moisturizing device is provided, comprising:
[0007] Micro water storage tanks for storing water;
[0008] Micro water storage pipe, which is a hollow plastic pipe with multiple small holes inside, used to evenly disperse water into the sand;
[0009] A micro water storage pump, used for conveying water from the micro water storage tank to the micro water storage pipe;
[0010] The micro water storage controller is used to control the switch and operation time of the micro water storage pump.
[0011] According to another aspect of the present application, a method for micro-storage and moisturizing in sand is provided, comprising:
[0012] Get the time series of sand humidity collected by the humidity sensor;
[0013] Acquiring vegetation information from a backend database, wherein the vegetation information includes vegetation type, growth stage, and water requirement;
[0014] Arranging the time series of the sand humidity according to the time dimension into a sand humidity time series input vector, and then extracting the sand humidity time series features to obtain a sand humidity time series correlation feature vector;
[0015] Performing semantic coding on the vegetation information to obtain a semantic coding feature vector of the vegetation information;
[0016] Performing cross-modal interaction on the sand humidity time series correlation feature vector and the vegetation information semantic coding feature vector to obtain the sand humidity-vegetation demand semantic interaction feature;
[0017] Based on the sand moisture-vegetation demand semantic interaction characteristics, a control instruction is generated.
[0018] Compared with the prior art, the present application provides a sand micro-water storage moisturizing device and method, which, in a micro-water storage controller, uses the sand humidity collected in real time by a humidity sensor and obtains vegetation information from a background database, wherein the vegetation information includes vegetation type, growth stage and water demand, and uses an artificial intelligence-based data processing and analysis algorithm to perform temporal association and semantic analysis on the sand humidity and the vegetation information, so as to automatically generate a switch control instruction for a micro-water storage pump according to the associated interactive semantics and temporal changes of the sand humidity and the vegetation information. In this way, the irrigation water volume and frequency can be accurately controlled according to the type, growth stage and water demand of different vegetation, avoiding over-irrigation or under-irrigation, effectively saving the use of water resources, reducing irrigation costs, and reducing the impact of water waste on the environment, thereby improving the protection and sustainable development of the ecological environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] 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.
[0020] Figure 1 It is a block diagram of a sand micro-water storage and moisturizing device according to an embodiment of the present application.
[0021] Figure 2 It is a block diagram of a micro water storage controller in a sand micro water storage moisturizing device according to an embodiment of the present application.
[0022] Figure 3 Schematic diagram of the architecture of a micro water storage controller in a micro water storage moisturizing device for sand according to an embodiment of the present application.
[0023] Figure 4 It is a block diagram of a training module in a sand micro-water storage and moisturizing device according to an embodiment of the present application.
[0024] Figure 5 The present invention is a flow chart of a method for micro-storage and moisturizing in sand according to an embodiment of the present application. DETAILED DESCRIPTION
[0025] The embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, but rather these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0026] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0027] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0028] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0029] The sand micro-water storage and moisturizing device is a device that uses the micropores in the sand to store water, thereby improving the water retention capacity of the sand and the growth conditions of vegetation. Specifically, this device uses the micropore structure in the sand and, through specific materials or structural design, can store water in the micropores to form a water storage layer to prevent water loss. After the water in the sand is absorbed and stored by the device, it can be released when the plants need water, providing a continuous water source and improving the plant growth environment.
[0030] The sand micro-water storage and moisturizing device can effectively improve the water retention capacity of the sand and reduce water evaporation and loss. That is, by providing a stable water source, the device can promote plant growth, improve vegetation coverage, and slow down the desertification process. It can also effectively use the micropores in the sand to store water, reduce dependence on external water resources, save water resources, and meet plant growth needs.
[0031] However, traditional technologies usually use simple timing or manual methods to control irrigation systems, which cannot be dynamically adjusted according to environmental conditions (such as weather, soil moisture, etc.) and plant water requirements, which can easily cause problems such as over-irrigation or under-irrigation, which will affect crop growth and increase water waste. In addition, water pumps in traditional technologies usually run at fixed power and time. This fixed operation mode will lead to energy waste because the water pump may still be running when it is not needed, increasing energy costs.
[0032] Based on this, in the technical solution of the present application, a sand micro-water storage and moisturizing device is proposed, which includes: a micro-water storage tank for storing water; a micro-water storage pipe, which is a hollow plastic pipe with multiple small holes inside, for evenly dispersing water into the sand; a micro-water storage pump for transporting water from the micro-water storage tank to the micro-water storage pipe; a micro-water storage controller for controlling the switch and operating time of the micro-water storage pump.
[0033] Correspondingly, in the above-mentioned micro water storage controller, the sand humidity is collected in real time by the humidity sensor, and the vegetation information is obtained from the background database, wherein the vegetation information includes the vegetation type, growth stage and water demand, and the sand humidity and the vegetation information are temporally associated and semantically analyzed by using the data processing and analysis algorithm based on artificial intelligence, so as to automatically generate the switch control instruction of the micro water storage pump according to the associated interactive semantics and temporal changes of the sand humidity and the vegetation information. In this way, the irrigation water volume and frequency can be accurately controlled according to the types, growth stages and water demands of different vegetation, avoiding over-irrigation or under-irrigation, effectively saving the use of water resources, reducing irrigation costs, and reducing the impact of water waste on the environment, thereby improving the protection and sustainable development of the ecological environment.
[0034] Figure 1FIG. 1 is a block diagram of a sand micro-water storage and moisturizing device according to an embodiment of the present application. Figure 1 As shown, the micro-water storage and moisturizing device 100 for sand according to the embodiment of the present application includes: a micro-water storage tank 110, which is used to store water; a micro-water storage pipe 120, which is a hollow plastic pipe with multiple small holes inside, which is used to evenly disperse water into the sand; a micro-water storage pump 130, which is used to transport water from the micro-water storage tank to the micro-water storage pipe; and a micro-water storage controller 140, which is used to control the switch and operating time of the micro-water storage pump.
[0035] Specifically, the working principle of the sand micro-water storage and moisturizing device is: first, place the micro-water storage tank in a place with a stable water source, such as a well, river, lake, etc., and use a micro-water storage pump to transport water to the micro-water storage pipe; then, bury the micro-water storage pipe in the sand to form a continuous micro-pore network with the sand; finally, regularly inject an appropriate amount of water into the micro-water storage pipe through the micro-water storage controller to fill the micro-pores in the sand with water, thereby improving the moisture retention capacity of the sand and the vegetation growth conditions.
[0036] Figure 2 It is a block diagram of a micro water storage controller in a sand micro water storage moisturizing device according to an embodiment of the present application. Figure 3 FIG. 1 is a schematic diagram of the architecture of a micro water storage controller in a micro water storage moisturizing device for sand according to an embodiment of the present application. Figure 2 and Figure 3 As shown, the micro water storage controller 140 includes: a sand humidity acquisition module 141, which is used to obtain the time series of sand humidity collected by the humidity sensor; a vegetation information acquisition module 142, which is used to obtain vegetation information from the background database, wherein the vegetation information includes vegetation type, growth stage and water demand; a sand humidity time series feature extraction module 143, which is used to arrange the time series of the sand humidity into a sand humidity time series input vector according to the time dimension and then perform sand humidity time series feature extraction to obtain a sand humidity time series associated feature vector; a vegetation information semantic encoding module 144, which is used to perform semantic encoding on the vegetation information to obtain a vegetation information semantic encoding feature vector; a feature cross-modal interaction module 145, which is used to perform cross-modal interaction on the sand humidity time series associated feature vector and the vegetation information semantic encoding feature vector to obtain a sand humidity-vegetation demand semantic interaction feature; and a control instruction generation module 146, which is used to generate a control instruction based on the sand humidity-vegetation demand semantic interaction feature.
[0037] In an embodiment of the present application, the sand humidity acquisition module 141 is used to obtain the time series of sand humidity collected by the humidity sensor. The vegetation information acquisition module 142 is used to obtain vegetation information from the background database, wherein the vegetation information includes vegetation type, growth stage and water demand. It should be understood that the sand humidity reflects the moisture content of the sandy soil. The vegetation information records the types of plants planted on the sand, and vegetation of different types and growth stages have different requirements for water. Based on this, in the technical solution of the present application, the time series of sand humidity collected by the humidity sensor is obtained, and the vegetation information is obtained from the background database, wherein the vegetation information includes vegetation type, growth stage and water demand. By performing an interactive analysis of the humidity of the sand and the vegetation information, it is possible to understand the water requirements of different vegetation and different growth stages, thereby automatically controlling the switch of the micro-storage pump according to the growth stage and water requirements of different vegetation, so as to adjust the amount and frequency of irrigation and achieve precise irrigation, thereby ensuring that the vegetation in the sand is supplied with an appropriate amount of water, further promoting the growth of sandy plants, and improving the protection and sustainable development of the ecological environment.
[0038] In an embodiment of the present application, the sand humidity time series feature extraction module 143 is used to arrange the time series of the sand humidity into a sand humidity time series input vector according to the time dimension, and then perform sand humidity time series feature extraction to obtain the sand humidity time series associated feature vector. Specifically, in an embodiment of the present application, the sand humidity time series feature extraction module is used to: arrange the time series of the sand humidity into the sand humidity time series input vector according to the time dimension, and then pass it through a sand humidity time series feature extractor based on a one-dimensional convolutional layer to obtain the sand humidity time series associated feature vector. Accordingly, considering that time is an important factor, it determines the sequence and change trend of parameter values. It should be understood that the sand humidity has characteristic information in the time dimension, that is, the sand humidity is constantly changing with the passage of time. Based on this, in the technical solution of the present application, the time series of the sand humidity is arranged according to the time dimension as a sand humidity time series input vector, so that the time series characteristics of the sand humidity can be analyzed more accurately, so as to capture the trend of the change of the sand humidity along the time dimension, thereby providing a basis for the subsequent more accurate control of the switch of the micro-water storage pump. Further, considering that the one-dimensional convolutional neural network has good feature extraction capabilities when processing time series data, it can effectively capture the time series characteristics in the data. It should be understood that the sand humidity is constantly changing over time, has a time series dynamic feature in the overall time domain, and also exhibits a time series change pattern in a short time. Therefore, in the technical solution of the present application, the sand humidity time series input vector is extracted through a sand humidity time series feature extractor based on a one-dimensional convolutional layer to extract the time series feature information of the sand humidity, thereby obtaining a sand humidity time series correlation feature vector with more representation capabilities.
[0039] It is worth mentioning that the sand humidity time series feature extractor based on the one-dimensional convolution layer is a neural network structure for extracting features from the time series data of sand humidity. Specifically, the one-dimensional convolution neural network (1D CNN) is usually used to process sequence data, such as time series data, and has the ability to capture local time series patterns and features. In particular, in a specific embodiment, the sand humidity time series feature extractor based on the one-dimensional convolution layer can specifically include the following parts: 1. One-dimensional convolution layer: The one-dimensional convolution layer is the core component of this feature extractor, which extracts local time series features on the time series data through a sliding window. The convolution operation can capture patterns on different time scales and help identify important features in the sequence data. 2. Activation function: An activation function, such as ReLU (Rectified Linear Unit), is usually added after each convolution layer to introduce nonlinearity and increase the expression ability of the network. Through the combination of these layers, the sand humidity time series feature extractor based on the one-dimensional convolution layer can effectively extract key features from time series data, help understand and analyze the changing laws of sand humidity, and provide better feature representation for subsequent prediction, classification or other tasks.
[0040] In an embodiment of the present application, the vegetation information semantic encoding module 144 is used to semantically encode the vegetation information to obtain a semantic encoding feature vector of the vegetation information. Specifically, in an embodiment of the present application, the vegetation information semantic encoding module is used to: after word segmentation processing of each vegetation information in the vegetation information, pass it through a vegetation information semantic encoding module including an embedding layer to obtain the semantic encoding feature vector of the vegetation information. It should be understood that, considering that the vegetation information contains a large amount of text information, including vegetation types, growth stages and water requirements, and the vegetation types, the growth stages and the water requirements are all composed of multiple words, each word has an association relationship between the contextual semantics of the vegetation information. Therefore, in order to better understand and analyze the various vegetation information in the vegetation information, so as to better capture the contextual semantic associations between the various vegetation information, in the technical solution of the present application, the vegetation information is semantically encoded to obtain a semantic encoding feature vector of the vegetation information. In particular, in a specific embodiment of the present application, each vegetation information in the vegetation information is segmented and then passed through a vegetation information semantic coding module including an embedding layer to obtain the vegetation information semantic coding feature vector. It should be understood that the vegetation information is segmented, and the vegetation information can be divided into semantically meaningful words, and then the data after the segmentation processing is passed through a vegetation information semantic coding module including an embedding layer, so as to better extract the semantic information of each vegetation information phrase in the vegetation information, thereby enhancing the understanding and utilization of the vegetation information, so as to improve the accuracy of the subsequent switch control of the micro water storage pump.
[0041] Specifically, in an embodiment of the present application, the vegetation information semantic encoding module includes: a vegetation detailed word segmentation unit, which is used to perform word segmentation processing on each vegetation information in the vegetation information to convert each vegetation information in the vegetation information into a vegetation information word sequence composed of multiple words; a vegetation information word embedding unit, which is used to use the embedding layer of the vegetation information semantic encoding module containing the embedding layer to respectively map each word in the vegetation information word sequence into a word embedding vector to obtain a sequence of vegetation information word embedding vectors; a vegetation information context encoding unit, which is used to use the converter of the vegetation information semantic encoding module containing the embedding layer to perform global context semantic encoding based on the converter idea on the sequence of vegetation information word embedding vectors to obtain multiple vegetation information context semantic feature vectors; and a vegetation information global fusion unit, which is used to cascade the multiple vegetation information context semantic feature vectors to obtain the vegetation information semantic encoding feature vector.
[0042] In an embodiment of the present application, the feature cross-modal interaction module 145 is used to perform cross-modal interaction on the sand moisture time series correlation feature vector and the vegetation information semantic coding feature vector to obtain the sand moisture-vegetation demand semantic interaction feature. Specifically, in an embodiment of the present application, the feature cross-modal interaction module is used to: use the cross-modal encoder based on the CLIP model to perform cross-modal interaction on the sand moisture time series correlation feature vector and the vegetation information semantic coding feature vector with the following interaction formula to obtain the sand moisture-vegetation demand semantic interaction feature matrix as the sand moisture-vegetation demand semantic interaction feature; wherein the interaction formula is:
[0043]
[0044] Where V a represents the time series correlation feature vector of the sand humidity, represents the transposed vector of the sand humidity time series correlation feature vector, V b represents the semantic coding feature vector of the vegetation information, M represents the semantic interaction feature matrix of the sand humidity-vegetation demand, Represents vector multiplication. It should be understood that, considering that the sand humidity time series correlation feature vector is a feature representation that describes the change of sand humidity over time, it contains historical data of sand humidity, such as humidity values at different time points, humidity change trends and other information. The vegetation information semantic encoding feature vector is a feature representation obtained after semantic encoding of vegetation information, and contains semantic information of vegetation, such as semantic features such as plant species and growth environment. Therefore, in order to better understand the correlation between the sand humidity and the vegetation information, and thus realize the semantic interaction between sand humidity and vegetation requirements, in the technical solution of the present application, a cross-modal encoder based on the CLIP model is used to perform cross-modal interaction on the sand humidity time series correlation feature vector and the vegetation information semantic encoding feature vector to obtain a sand humidity-vegetation requirement semantic interaction feature matrix. It is worth mentioning that the CLIP model has powerful cross-modal representation learning capabilities. Through the CLIP model, the sand moisture temporal correlation feature vector and the vegetation information semantic encoding feature vector can be converted into representations in a shared semantic space. This can better understand the correlation between sand moisture and vegetation information, thereby achieving cross-modal understanding and interaction, and improving the expressiveness and richness of the sand moisture-vegetation demand semantic interaction features.
[0045] In an embodiment of the present application, the control instruction generation module 146 is used to generate control instructions based on the sand moisture-vegetation demand semantic interaction features. Specifically, in an embodiment of the present application, the control instruction generation module is used to: pass the sand moisture-vegetation demand semantic interaction feature matrix through a classifier-based control instruction generator to obtain a control instruction, and the control instruction is used to indicate whether to turn on the switch of the micro-water storage pump. That is, the sand moisture-vegetation demand semantic interaction features obtained by cross-modal interaction using the sand moisture time series association features and the vegetation information semantic coding features are classified and processed to generate control instructions, so as to automatically determine whether to turn on the switch of the micro-water storage pump. In this way, the water demand of different vegetation can be more accurately reflected, and excessive or insufficient irrigation can be avoided, thereby improving the efficiency of water resource utilization and the quality of vegetation growth, and achieving sustainable ecological protection and management.
[0046] It is worth mentioning that those skilled in the art should be aware that before applying a deep neural network model for inference, the deep neural network model must be trained so that the deep neural network can implement specific functional capabilities.
[0047] That is, in the technical solution of the present application, the sand micro-water storage and moisturizing device also includes a training module for training the sand humidity time series feature extractor based on the one-dimensional convolutional layer, the vegetation information semantic encoding module including the embedding layer, the cross-modal encoder based on the CLIP model, and the classifier-based control instruction generator.
[0048] Figure 4 is a block diagram of a training module in a sand micro-water storage and moisturizing device according to an embodiment of the present application. Specifically, in the embodiment of the present application, Figure 4 As shown, the training module 200 includes: a training data acquisition unit 210, which is used to acquire training data, wherein the training data includes a time series of training sand humidity collected by a humidity sensor, and obtains training vegetation information from a background database, wherein the vegetation information includes vegetation type, growth stage and water demand, and the true value of whether the switch of the micro-water storage pump is turned on; a training sand humidity time series feature extraction unit 220, which is used to arrange the time series of the training sand humidity into a training sand humidity time series input vector according to the time dimension and then pass it through the sand humidity time series feature extractor based on the one-dimensional convolution layer to obtain a training sand humidity time series associated feature vector; a training vegetation information semantic encoding unit 230, which is used to perform word segmentation processing on each training vegetation information in the training vegetation information and then pass it through the vegetation information semantic encoding module including the embedding layer to obtain a training vegetation information semantic encoding feature vector; a training semantic interaction unit 240, which is used to use the cross-modal encoder based on the CLIP model to extract the training sand humidity time series feature vector. The sequence association feature vector and the training vegetation information semantic encoding feature vector are cross-modally interacted to obtain a training sand moisture-vegetation demand semantic interaction feature matrix; a classification loss calculation unit 250 is used to pass the training sand moisture-vegetation demand semantic interaction feature matrix through the classifier-based control instruction generator to obtain a classification loss function value; and a model training unit 260 is used to train the sand moisture time series feature extractor based on the one-dimensional convolutional layer, the vegetation information semantic encoding module including the embedding layer, the cross-modal encoder based on the CLIP model and the classifier-based control instruction generator based on the classification loss function value and through gradient descent back propagation, wherein, each time the training sand moisture-vegetation demand semantic interaction feature vector obtained after the training sand moisture-vegetation demand semantic interaction feature matrix is expanded, when the classification regression iterative training is performed through the classifier-based control instruction generator, the training sand moisture-vegetation demand semantic interaction feature vector is subjected to feature aggregation optimization.
[0049] Specifically, the model training unit 260 is used to train the sand moisture time series feature extractor based on the one-dimensional convolutional layer, the vegetation information semantic encoding module including the embedding layer, the cross-modal encoder based on the CLIP model and the classifier-based control instruction generator based on the classification loss function value and through gradient descent back propagation, wherein each time the training sand moisture-vegetation demand semantic interaction feature matrix is expanded, the training sand moisture-vegetation demand semantic interaction feature vector obtained is subjected to classification regression iterative training through the classifier-based control instruction generator, and feature aggregation optimization is performed on the training sand moisture-vegetation demand semantic interaction feature vector. It should be understood that in the above technical solution, the training sand humidity time series correlation feature vector expresses the local time series correlation feature of the training sand humidity, and the training vegetation information semantic coding feature vector expresses the coding semantic feature of the training vegetation information. Therefore, considering the inconsistency of the semantic expression of the source data of the training sand humidity and the training vegetation information and the inconsistency of the feature extraction dimension, the feature distribution representation of the training sand humidity time series correlation feature vector and the training vegetation information semantic coding feature vector along the feature distribution direction also has a large distribution difference. In this way, the cross-domain feature vector based on the CLIP model is used. When the modal encoder performs cross-modal interaction on the training sand moisture time-series correlation feature vector and the training vegetation information semantic coding feature vector, since the cross-modal encoder based on the CLIP model performs feature-by-feature full association based on the eigenvalue granularity on the training sand moisture time-series correlation feature vector and the training vegetation information semantic coding feature vector in the distribution direction of the entire feature vector, the obtained training sand moisture-vegetation demand semantic interaction feature matrix will also have the problem of insufficient cross-modal interaction feature distribution aggregation, affecting the classification and regression effect of the training sand moisture-vegetation demand semantic interaction feature matrix. Based on this, in the technical solution of the present application, each time the training sand moisture-vegetation demand semantic interaction feature vector obtained after the training sand moisture-vegetation demand semantic interaction feature matrix is expanded, when the classification and regression iterative training is performed by the classifier-based control instruction generator, the training sand moisture-vegetation demand semantic interaction feature vector is subjected to feature aggregation optimization.
[0050] Specifically, in an embodiment of the present application, the model training unit is used to: when the training sand moisture-vegetation demand semantic interaction feature vector obtained after the training sand moisture-vegetation demand semantic interaction feature matrix is expanded each time, the training sand moisture-vegetation demand semantic interaction feature vector is subjected to classification regression iterative training by the classifier-based control instruction generator, and the feature aggregation optimization is performed on the training sand moisture-vegetation demand semantic interaction feature vector using the following optimization formula; wherein the optimization formula is:
[0051]
[0052] Among them, v i is the feature value of the i-th position in the training sand moisture-vegetation demand semantic interaction feature vector, is the square of the 1-norm of the training sand moisture-vegetation demand semantic interaction feature vector V, ‖V‖2 -1 / 2 is the inverse of the square root of the 2-norm of the training sand moisture-vegetation demand semantic interaction feature vector V, L is the length of the training sand moisture-vegetation demand semantic interaction feature vector V, and ε is a scaling hyperparameter, v′ i is the eigenvalue of the ith position in the optimized training sand moisture-vegetation demand semantic interaction feature vector, and log is the logarithmic function value with base 2.
[0053] In particular, here, the low-rank structure based on the norm of the training sand soil moisture-vegetation demand semantic interaction feature vector V is represented as a voting cluster of the feature value set aggregation of the training sand soil moisture-vegetation demand semantic interaction feature vector V, and each feature value of the training sand soil moisture-vegetation demand semantic interaction feature vector V is subjected to canonical voting relative to the information perception framework, so as to map the feature values belonging to the same regression class to a similar local canonical coordinate set through the regression representation of the direction and scale of the aggregated feature distribution, thereby improving the aggregation effect of the feature set of the training sand soil moisture-vegetation demand semantic interaction feature vector V, and improving the classification regression effect of the training sand soil moisture-vegetation demand semantic interaction feature vector V through the classifier-based control instruction generator, that is, improving the training efficiency of the classifier-based control instruction generator and the accuracy of the classification results. In this way, the irrigation water volume and frequency can be accurately controlled according to the types, growth stages and water requirements of different vegetation, avoiding over-irrigation or under-irrigation, effectively saving the use of water resources, reducing irrigation costs, and reducing the impact of water waste on the environment, thereby improving the protection and sustainable development of the ecological environment.
[0054] In summary, the sand micro-storage moisturizing device 100 based on the embodiment of the present application is explained. In the micro-storage controller, the sand humidity is collected in real time by the humidity sensor, and the vegetation information is obtained from the background database, wherein the vegetation information includes the vegetation type, growth stage and water demand, and the sand humidity and the vegetation information are temporally associated and semantically analyzed by using the data processing and analysis algorithm based on artificial intelligence, so as to automatically generate the switch control instruction of the micro-storage pump according to the associated interactive semantics and temporal changes of the sand humidity and the vegetation information. In this way, the irrigation water volume and frequency can be accurately controlled according to the types, growth stages and water demands of different vegetation, avoiding over-irrigation or under-irrigation, effectively saving the use of water resources, reducing irrigation costs, and reducing the impact of water waste on the environment, thereby improving the protection and sustainable development of the ecological environment.
[0055] As described above, the micro-water storage and moisturizing device 100 in the sand according to the embodiment of the present application can be implemented in various wireless terminals, such as a server with an algorithm of the micro-water storage and moisturizing device in the sand. In a possible implementation, the micro-water storage and moisturizing device 100 in the sand according to the embodiment of the present application can be integrated into the wireless terminal as a software module and / or a hardware module. For example, the micro-water storage and moisturizing device 100 in the sand can be a software module in the operating system of the wireless terminal, or can be an application developed for the wireless terminal; of course, the micro-water storage and moisturizing device 100 in the sand can also be one of the many hardware modules of the wireless terminal.
[0056] Alternatively, in another example, the sand micro-water storage moisturizing device 100 and the wireless terminal may also be separate devices, and the sand micro-water storage moisturizing device 100 may be connected to the wireless terminal via a wired and / or wireless network and transmit interactive information in accordance with an agreed data format.
[0057] Figure 5 Flow chart of the sand micro-water storage and moisturizing method according to the embodiment of the present application. Figure 5As shown, according to the embodiment of the present application, the method for moisturizing in sandy land with micro-water storage includes: S110, obtaining a time series of sandy land humidity collected by a humidity sensor; S120, obtaining vegetation information from a background database, wherein the vegetation information includes vegetation type, growth stage and water demand; S130, arranging the time series of sandy land humidity into a sandy land humidity time series input vector according to the time dimension, and then extracting sandy land humidity time series features to obtain a sandy land humidity time series associated feature vector; S140, semantically encoding the vegetation information to obtain a vegetation information semantic encoding feature vector; S150, cross-modally interacting the sandy land humidity time series associated feature vector and the vegetation information semantic encoding feature vector to obtain a sandy land humidity-vegetation demand semantic interaction feature; and, S160, generating a control instruction based on the sandy land humidity-vegetation demand semantic interaction feature.
[0058] Here, those skilled in the art will appreciate that the specific operations of each step in the above-mentioned sand micro-storage water moisturizing method have been described in the above reference. Figures 1 to 4 The invention has been described in detail in the description of the sand micro-water storage moisturizing device, and therefore, its repeated description will be omitted.
[0059] The above specific implementation methods further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A sand micro-water storage and moisturizing device, It is characterized in that include: Micro water storage tanks for storing water; Micro water storage pipe, which is a hollow plastic pipe with multiple small holes inside, used to evenly disperse water into the sand; A micro water storage pump, used for conveying water from the micro water storage tank to the micro water storage pipe; A micro water storage controller, used to control the switch and operation time of the micro water storage pump; The micro water storage controller comprises: A sand humidity collection module is used to obtain the time series of sand humidity collected by the humidity sensor; A vegetation information acquisition module is used to acquire vegetation information from a background database, wherein the vegetation information includes plant species, growth stage and water requirements; A sand humidity time series feature extraction module is used to extract the sand humidity time series features after arranging the sand humidity time series into a sand humidity time series input vector according to the time dimension to obtain a sand humidity time series correlation feature vector; A vegetation information semantic coding module, used for semantically coding the vegetation information to obtain a vegetation information semantic coding feature vector; A feature cross-modal interaction module, used for performing cross-modal interaction on the sand humidity time series correlation feature vector and the vegetation information semantic coding feature vector to obtain a sand humidity-vegetation demand semantic interaction feature; A control instruction generation module, used for generating control instructions based on the sand moisture-vegetation demand semantic interaction characteristics; The device also includes a training module for training a sand moisture temporal feature extractor based on a one-dimensional convolutional layer, a vegetation information semantic encoding module including an embedding layer, a cross-modal encoder based on a CLIP model, and a control instruction generator based on a classifier; The training module comprises: A training data acquisition unit is used to acquire training data, wherein the training data includes a time series of training sand humidity collected by a humidity sensor, and to acquire training vegetation information from a background database, wherein the vegetation information includes vegetation type, growth stage and water demand, and a true value of whether to turn on a switch of a micro water storage pump; A training sand humidity time series feature extraction unit, used for arranging the time series of the training sand humidity according to the time dimension into a training sand humidity time series input vector and then passing it through the sand humidity time series feature extractor based on the one-dimensional convolution layer to obtain a training sand humidity time series correlation feature vector; A training vegetation information semantic coding unit, used for performing word segmentation processing on each piece of training vegetation information in the training vegetation information and then passing the word segmentation processing through the vegetation information semantic coding module including the embedding layer to obtain a training vegetation information semantic coding feature vector; A training semantic interaction unit, used for performing cross-modal interaction on the training sand moisture time series correlation feature vector and the training vegetation information semantic coding feature vector using the cross-modal encoder based on the CLIP model to obtain a training sand moisture-vegetation demand semantic interaction feature matrix; A classification loss calculation unit, used for passing the training sand moisture-vegetation demand semantic interaction feature matrix through the classifier-based control instruction generator to obtain a classification loss function value; A model training unit is used to train the sand moisture time series feature extractor based on the one-dimensional convolution layer, the vegetation information semantic encoding module including the embedding layer, the cross-modal encoder based on the CLIP model, and the control instruction generator based on the classifier based on the classification loss function value and through back propagation of gradient descent, wherein each time the training sand moisture-vegetation demand semantic interaction feature vector obtained after the training sand moisture-vegetation demand semantic interaction feature matrix is expanded, when the training sand moisture-vegetation demand semantic interaction feature vector is subjected to classification regression iterative training through the classifier-based control instruction generator, feature aggregation optimization is performed on the training sand moisture-vegetation demand semantic interaction feature vector; The model training unit is used to: when the training sand soil moisture-vegetation demand semantic interaction feature vector obtained after the training sand soil moisture-vegetation demand semantic interaction feature matrix is expanded each time, the training sand soil moisture-vegetation demand semantic interaction feature vector is subjected to classification regression iterative training by the classifier-based control instruction generator, and feature aggregation optimization is performed on the training sand soil moisture-vegetation demand semantic interaction feature vector using the following optimization formula; wherein the optimization formula is: Among them, v i is the feature value of the i-th position in the training sand moisture-vegetation demand semantic interaction feature vector, is the square of the 1-norm of the training sand moisture-vegetation demand semantic interaction feature vector V, ||V|| 2 -1 / 2 is the inverse of the square root of the 2-norm of the training sand moisture-vegetation demand semantic interaction feature vector V, L is the length of the training sand moisture-vegetation demand semantic interaction feature vector V, and ε is a scaling hyperparameter, v i ′ is the feature value of the ith position in the optimized training sand moisture-vegetation demand semantic interaction feature vector, and log is the logarithmic function value with base 2.
2. The sand micro-water storage and moisturizing device according to claim 1, It is characterized in that The sand humidity time series feature extraction module is used to: arrange the time series of the sand humidity according to the time dimension into the sand humidity time series input vector and then pass it through a sand humidity time series feature extractor based on a one-dimensional convolution layer to obtain the sand humidity time series associated feature vector.
3. The sand micro-water storage and moisturizing device according to claim 2, It is characterized in that The vegetation information semantic coding module is used to: perform word segmentation processing on each vegetation information in the vegetation information and then pass it through the vegetation information semantic coding module containing an embedding layer to obtain the vegetation information semantic coding feature vector.
4. The sand micro-water storage and moisturizing device according to claim 3, It is characterized in that The feature cross-modal interaction module is used to: use the cross-modal encoder based on the CLIP model to perform cross-modal interaction on the sand humidity time series correlation feature vector and the vegetation information semantic coding feature vector with the following interaction formula to obtain a sand humidity-vegetation demand semantic interaction feature matrix as the sand humidity-vegetation demand semantic interaction feature; Wherein, the interaction formula is: Where V a represents the time series correlation feature vector of the sand humidity, represents the transposed vector of the sand humidity time series correlation feature vector, V b represents the semantic coding feature vector of the vegetation information, M represents the semantic interaction feature matrix of the sand humidity-vegetation demand, Represents vector multiplication.
5. The sand micro-water storage and moisturizing device according to claim 4, It is characterized in that The control instruction generation module is used to: pass the sand humidity-vegetation demand semantic interaction feature matrix through a classifier-based control instruction generator to obtain a control instruction, and the control instruction is used to indicate whether to turn on the switch of the micro water storage pump.
6. A method for moisturizing in sandy soil using the sandy soil micro-storage moisturizing device as claimed in claim 1, It is characterized in that include: Get the time series of sand humidity collected by the humidity sensor; Acquire vegetation information from a backend database, wherein the vegetation information includes vegetation type, growth stage and water requirement; Arranging the time series of the sand humidity according to the time dimension into a sand humidity time series input vector, and then extracting the sand humidity time series features to obtain a sand humidity time series correlation feature vector; Performing semantic coding on the vegetation information to obtain a semantic coding feature vector of the vegetation information; Performing cross-modal interaction on the sand humidity time series correlation feature vector and the vegetation information semantic coding feature vector to obtain the sand humidity-vegetation demand semantic interaction feature; Based on the sand moisture-vegetation demand semantic interaction characteristics, a control instruction is generated.
7. The sand micro-water storage and moisturizing method according to claim 6, It is characterized in that The time series of sand humidity is arranged according to the time dimension as a sand humidity time series input vector, and then the sand humidity time series feature extraction is performed to obtain the sand humidity time series associated feature vector, including: the time series of sand humidity is arranged according to the time dimension as the sand humidity time series input vector, and then the sand humidity time series feature extractor based on a one-dimensional convolutional layer is used to obtain the sand humidity time series associated feature vector.
