A method and system for monitoring crop growth environment based on big data
Using big data analysis and deep learning algorithms to build a crop growth environment anomaly identification model solves the problems of high labor costs and low accuracy in crop growth environment monitoring, achieves efficient and automated monitoring and control, and ensures the stability of the crop growth environment. sex.
Patent Information
- Application Number
- CN202311846278.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2043-12-28
AI Technical Summary
Crop growth environment monitoring in the existing technology has problems such as high labor costs, heavy workload, and low accuracy, and cannot be effectively applied to monitor key indicators of the growth environment of different crop types.
Using a big data-based method, by collecting crop growth knowledge big data and historical monitoring data, a deep learning algorithm is used to build a crop growth environment abnormality identification model, combined with the Elman-IAFSA algorithm, to achieve real-time data screening and abnormality identification, and to control growth through visualization Environmental equipment.
It reduces the dependence on experts, improves the accuracy and automation of monitoring, reduces labor cost investment, improves the real-time and practicality of monitoring, and ensures the stability and reliability of the crop growth environment.
Smart Images

Figure CN117807501B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of crop planting, and in particular relates to a crop growth environment monitoring method and system based on big data. Background Art
[0002] Crops refer to various plants cultivated in agriculture, including food crops, cash crops, etc. Among them, edible food crops are one of the basic food sources for humans, and cash crops are crops that are planted to be sold for profit. For example, plants that can be grown in large numbers or harvested on a large scale for profit or food. At present, with the continuous increase in the number of the earth's population base, the demand for crops by humans is increasing. Comprehensive environmental monitoring of the growth environment of crops is an important measure to ensure the healthy growth of crops and a key task to ensure crop yields.
[0003] In the prior art, with the development of sensor technology, various sensors can collect various indicator data of the crop growth environment, including temperature, humidity, air content, etc., to realize online monitoring of the crop growth environment. The online monitoring method with simple data display has a large labor cost and requires staff to be on duty 24 hours a day, which is a large workload. In addition, for different types of crops, the key indicators of the growth environment that need to be paid attention to are also different. For the indicator data that need to be paid attention to, most of them rely on the professional knowledge of experts for analysis, which has low accuracy and cannot be widely used. Summary of the invention
[0004] In order to solve the problems of high manpower cost investment, heavy workload, low accuracy and limited application in the prior art, the present invention aims to provide a crop growth environment monitoring method and system based on big data.
[0005] The technical solution adopted by the present invention is:
[0006] A method for monitoring crop growth environment based on big data comprises the following steps:
[0007] Collecting crop growth knowledge big data of several crop types, and obtaining several key indicators of crop growth environment of each crop type and the normal range of indicator data of each key indicator of crop growth environment based on the crop growth knowledge big data;
[0008] Collect historical crop growth environment monitoring big data of several crop types, and use deep learning algorithms to build a crop growth environment anomaly recognition model based on the historical crop growth environment monitoring big data and several key crop growth environment indicators of each crop type;
[0009] Collecting real-time crop growth environment monitoring data of the current crop type, and screening the real-time crop growth environment monitoring data according to a number of corresponding crop growth environment key indicators, to obtain real-time crop growth environment monitoring key data of the current crop type; the real-time crop growth environment monitoring key data includes a number of real-time crop growth environment monitoring key indicator data;
[0010] If any of the key indicator data of the real-time crop growth environment monitoring key data exceeds the normal range of the corresponding indicator data, an abnormal alarm of the corresponding key indicator of the crop growth environment is issued;
[0011] Input the key data of real-time crop growth environment monitoring into the crop growth environment abnormality recognition model to perform crop growth environment abnormality recognition and obtain the corresponding real-time crop growth environment abnormality recognition results;
[0012] The abnormal alarms of key indicators of the crop growth environment and the real-time abnormal identification results of the crop growth environment are visualized, and the corresponding crop growth environment maintenance equipment is controlled based on the abnormal alarms of key indicators of the crop growth environment and the real-time abnormal identification results of the crop growth environment.
[0013] Furthermore, the key indicators of crop growth environment include key indicators of soil nutrients, key indicators of growth environment, key indicators of fertilizer nutrients, key indicators of plant nutrients, key indicators of soil pollution and key indicators of growth water quality.
[0014] Further, the crop growth knowledge big data of several crop types is collected, and according to the crop growth knowledge big data, several key indicators of the crop growth environment of each crop type and the normal range of the indicator data of each key indicator of the crop growth environment are obtained, including the following steps:
[0015] Collecting crop growth knowledge big data of several crop types, and preprocessing the crop growth knowledge big data to obtain several preprocessed crop growth knowledge data of each crop type;
[0016] Construct a crop growth knowledge graph based on a number of pre-processed crop growth knowledge data of all crop types;
[0017] According to the crop growth knowledge graph and the pre-trained crop planting expert database, several key indicators of crop growth environment for each crop type and the normal range of indicator data of each key indicator of crop growth environment are obtained.
[0018] Furthermore, historical crop growth environment monitoring big data of several crop types are collected, and based on the historical crop growth environment monitoring big data and several key indicators of the crop growth environment of each crop type, a crop growth environment anomaly recognition model is constructed using a deep learning algorithm, including the following steps:
[0019] Collecting historical crop growth environment monitoring big data of several crop types, and preprocessing the historical crop growth environment monitoring big data to obtain several preprocessed historical crop growth environment monitoring data of each crop type;
[0020] Data screening and labeling are performed on several pre-processed historical crop growth environment monitoring data of the same crop type, so as to obtain a key data set of historical crop growth environment monitoring with preset labels for identifying abnormal historical crop growth environments for all crop types;
[0021] Based on the key data sets of historical crop growth environment monitoring for all crop types, a crop growth environment anomaly recognition model is constructed using the Elman-IAFSA algorithm.
[0022] Furthermore, based on the key data sets of historical crop growth environment monitoring for all crop types, the Elman-IAFSA algorithm is used to construct a crop growth environment anomaly recognition model, which includes the following steps:
[0023] The key data sets of historical crop growth environment monitoring for all crop types are divided into model training sample sets and model testing sample sets in a ratio of 7:3;
[0024] The initial network parameters of the Elman network are optimized using the IAFSA optimization algorithm to obtain the optimal initial network parameters of the Elman network.
[0025] According to the optimal initial network parameters of the Elman network, an initial crop growth environment abnormality recognition model is constructed;
[0026] Input the model training sample set into the initial crop growth environment abnormality recognition model for optimization training to obtain an optimized crop growth environment abnormality recognition model;
[0027] The model test sample set is input into the optimized crop growth environment abnormality recognition model to perform model testing and obtain the corresponding test accuracy;
[0028] If the test accuracy is greater than a preset test accuracy threshold, the optimal crop growth environment abnormality recognition model is output, otherwise, the optimized crop growth environment abnormality recognition model continues to be optimized and trained.
[0029] Furthermore, the initial network parameters of the Elman network are optimized using the IAFSA optimization algorithm to obtain the optimal initial network parameters of the Elman network, including the following steps:
[0030] The initial network parameters of the Elman network are used as the positions of the IAFSA individuals in the IAFSA optimization algorithm;
[0031] Set the IAFSA population parameters, maximum number of iterations and fitness function of the IAFSA optimization algorithm;
[0032] According to the IAFSA population parameters, the Circle chaotic mapping sequence is used to initialize the IAFSA population to obtain the initialized IAFSA population;
[0033] According to the fitness function, the fitness values of all initial IAFSA individuals in the initialized IAFSA population are obtained, and according to the fitness values, the positions of the best IAFSA individuals are assigned to the IAFSA optimization algorithm bulletin board;
[0034] According to the adaptive initial IAFSA individual field of view update mechanism based on Cauchy distribution, the field of view of the initialized IAFSA population is updated to obtain the updated field of view of the initial IAFSA individual;
[0035] Introduce a convergence factor, update the step size of the initialized IAFSA population, and obtain the updated step size of the initial IAFSA individual;
[0036] Based on the updated field of view and the updated step size, the initialized IAFSA population is subjected to flocking, tail-chasing and foraging behaviors to obtain an updated IAFSA population;
[0037] According to the dynamic reverse learning mechanism, all updated IAFSA individuals in the updated IAFSA population are dynamically reversed to obtain reversed IAFSA individuals;
[0038] Obtain the fitness values of all updated IAFSA individuals and all reverse IAFSA individuals, and assign the position of the best IAFSA individual to the IAFSA optimization algorithm bulletin board according to the fitness value;
[0039] If the number of iterations reaches the maximum number of iterations or the fitness value of the optimal IAFSA individual meets the requirements, the optimal solution corresponding to the optimal IAFSA individual on the IAFSA optimization algorithm bulletin board is output to obtain the optimal initial network parameters of the Elman network.
[0040] Furthermore, real-time crop growth environment monitoring data of the current crop type is collected, and data is screened according to a number of corresponding key indicators of the crop growth environment to obtain key data of the real-time crop growth environment monitoring of the current crop type, including the following steps:
[0041] Collecting real-time crop growth environment monitoring data of current crop types; real-time crop growth environment monitoring data includes several real-time crop growth environment monitoring indicator data;
[0042] According to a number of key indicators of crop growth environment of the current crop type, corresponding real-time crop growth environment monitoring indicator data are screened to obtain corresponding real-time crop growth environment monitoring key indicator data;
[0043] Integrate several real-time crop growth environment monitoring key indicator data to obtain real-time crop growth environment monitoring key data for the current crop type.
[0044] Furthermore, the abnormal alarms of key indicators of crop growth environment include abnormal alarms of key indicators of soil nutrient, abnormal alarms of key indicators of growth environment, abnormal alarms of key indicators of fertilizer nutrient, abnormal alarms of key indicators of plant nutrient, abnormal alarms of key indicators of soil pollution and abnormal alarms of key indicators of growth water quality.
[0045] Furthermore, the real-time crop growth environment monitoring key data is input into the crop growth environment abnormality recognition model to perform crop growth environment abnormality recognition to obtain the corresponding real-time crop growth environment abnormality recognition result, including the following steps:
[0046] Input the key data of real-time crop growth environment monitoring into the crop growth environment abnormality recognition model;
[0047] Use the crop growth environment anomaly recognition model to extract data features of key data for real-time crop growth environment monitoring;
[0048] According to the data characteristics, classification prediction is carried out to obtain the corresponding real-time crop growth environment abnormality identification prediction label;
[0049] The real-time crop growth environment anomaly recognition prediction label is output as the real-time crop growth environment anomaly recognition result.
[0050] A crop growth environment monitoring system based on big data is used to implement a crop growth environment monitoring method, the system includes a key indicator acquisition unit, a model building unit, a data screening unit, an abnormal alarm unit, an abnormal identification unit and a maintenance equipment control unit connected in sequence;
[0051] A key indicator acquisition unit is used to collect crop growth knowledge big data of several crop types, and obtain several key indicators of crop growth environment of each crop type and the normal range of indicator data of each key indicator of crop growth environment according to the crop growth knowledge big data;
[0052] A model building unit, used to collect historical crop growth environment monitoring big data of several crop types, and build a crop growth environment anomaly recognition model using a deep learning algorithm based on the historical crop growth environment monitoring big data and several key crop growth environment indicators of each crop type;
[0053] A data screening unit is used to collect real-time crop growth environment monitoring data of the current crop type, and screen the real-time crop growth environment monitoring data according to a number of corresponding crop growth environment key indicators to obtain real-time crop growth environment monitoring key data of the current crop type;
[0054] An abnormal alarm unit is used to issue an abnormal alarm of the corresponding key indicator of the crop growth environment if any key indicator data of the real-time crop growth environment monitoring key data exceeds the normal range of the corresponding indicator data;
[0055] The abnormality recognition unit is used to input the real-time crop growth environment monitoring key data into the crop growth environment abnormality recognition model, perform crop growth environment abnormality recognition, and obtain the corresponding real-time crop growth environment abnormality recognition result;
[0056] The maintenance equipment control unit is used to visualize the abnormal alarms of key indicators of the crop growth environment and the real-time abnormal identification results of the crop growth environment, and control the corresponding crop growth environment maintenance equipment according to the abnormal alarms of key indicators of the crop growth environment and the real-time abnormal identification results of the crop growth environment.
[0057] The beneficial effects of the present invention are:
[0058] The invention discloses a crop growth environment monitoring method and system based on big data. By analyzing the crop growth knowledge big data, key indicators of the crop growth environment and normal ranges of indicator data are obtained, the degree of dependence on experts is reduced, and the practicability of promotion and popularization is improved. Based on the deep learning algorithm, a crop growth environment abnormality recognition model is constructed, which can accurately identify the deep connection between the key indicator data of the crop growth environment and the abnormality of the crop growth environment, and does not rely solely on simple data intuitive representation, thereby improving the accuracy and automation of crop growth environment monitoring, reducing human cost investment, and alleviating workload. The abnormal alarm of the key indicator of the crop growth environment and the real-time abnormal recognition result of the crop growth environment are visualized, which can remind the staff to deal with the abnormal situation in the first time, thereby improving the real-time and practicability of the crop growth environment monitoring. According to the abnormal alarm of the key indicator of the crop growth environment and the real-time abnormal recognition result of the crop growth environment, the corresponding crop growth environment maintenance equipment is controlled, and the crop growth environment monitoring and control based on big data are realized, and the stability and reliability of the crop growth environment are guaranteed.
[0059] Other beneficial effects of the present invention will be further described in the specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 It is a flowchart of the crop growth environment monitoring method based on big data in the present invention.
[0061] Figure 2 It is a structural block diagram of the crop growth environment monitoring system based on big data in the present invention. DETAILED DESCRIPTION
[0062] The present invention will be further explained below in conjunction with the accompanying drawings and specific embodiments.
[0063] Embodiment 1:
[0064] like Figure 1 As shown, this embodiment provides a method for monitoring the crop growth environment based on big data, comprising the following steps:
[0065] S1: Collecting crop growth knowledge big data of several crop types, and obtaining several key indicators of crop growth environment of each crop type and the normal range of indicator data of each key indicator of crop growth environment according to the crop growth knowledge big data, including the following steps:
[0066] S1-1: collecting crop growth knowledge big data of several crop types, and preprocessing the crop growth knowledge big data to obtain several preprocessed crop growth knowledge data of each crop type;
[0067] S1-2: extracting a number of crop growth knowledge named entities and a number of corresponding crop growth knowledge entity relationships from the preprocessed crop growth knowledge data of the same crop type;
[0068] S1-3: construct a crop growth knowledge sub-graph of the same crop type based on several crop growth knowledge named entities and several corresponding crop growth knowledge entity relationships;
[0069] S1-4: Integrate the crop growth knowledge sub-graphs of all crop types to obtain the corresponding crop growth knowledge graph;
[0070] S1-5: According to the crop growth knowledge graph and the pre-trained crop planting expert database, several key indicators of crop growth environment for each crop type and the normal range of indicator data of each key indicator of crop growth environment are obtained;
[0071] Key indicators of crop growth environment include key indicators of soil nutrients, key indicators of growth environment, key indicators of fertilizer nutrients, key indicators of plant nutrients, key indicators of soil pollution and key indicators of growth water quality;
[0072] Key soil nutrient indicators include soil ammonium nitrogen content, soil nitrate nitrogen content, soil phosphorus content, soil potassium content, soil organic matter content, soil total nitrogen content, soil total phosphorus content, soil total potassium content, soil pH value, soil salinity, soil trace element content and soil alkaline nitrogen content in crop-growing areas;
[0073] Key indicators of the growing environment include the ambient volumetric moisture content, soil temperature, soil conductivity, ambient air temperature, ambient air humidity, ambient atmospheric pressure, ambient light intensity, and ambient carbon dioxide content in the crop planting area;
[0074] The key indicators of fertilizer nutrients include the nitrogen content of elemental fertilizer, phosphorus content of elemental fertilizer, potassium content of elemental fertilizer, ammonium nitrogen content of compound fertilizer, nitrate nitrogen content of compound fertilizer, phosphorus content of compound fertilizer, potassium content of compound fertilizer, biuret content of compound fertilizer, nitrogen content of organic fertilizer, phosphorus content of organic fertilizer, potassium content of organic fertilizer, total nitrogen content of organic fertilizer, total phosphorus content of organic fertilizer, total potassium content of organic fertilizer, organic matter content of organic fertilizer and humic acid content of organic fertilizer in the crop planting area;
[0075] Key indicators of plant nutrients include plant nitrogen content, plant phosphorus content, plant potassium content, plant nitrate content, plant nitrite content and plant trace element content in the crop planting area;
[0076] Key indicators of soil pollution include heavy metal levels and other pollutants in crop-growing areas;
[0077] Key indicators of water quality for growing crops include the ammonium nitrogen content, nitrate content, nitrite content, hardness, and trace element content of water used for irrigation in crop planting areas;
[0078] In this embodiment, taking watermelon crop planting as an example, based on the named entities with the highest frequency in the crop growth knowledge graph, it can be known that the key soil nutrient indicators for watermelon crop planting include soil pH value. Watermelon is suitable for growing in near-neutral soil, but has a wide range of adaptability to soil acidity and alkalinity. It can grow normally in the pH range of 5 to 7. When the pH value is lower than 4.0 to 4.2, the growth is hindered, and watermelons planted in highly acidic soil are susceptible to wilt disease.
[0079] Key indicators of the growth environment include ambient air temperature and ambient light intensity. The suitable temperature for watermelon growth is 18-32℃. It is relatively resistant to high temperatures and can still maintain a certain assimilation efficiency when the temperature is as high as 40℃, but it is not resistant to low temperatures. When the temperature drops to 15℃, the growth is slow; at 10℃, the growth stops; at 5℃, the aboveground part is frozen. The suitable temperature for root growth is 25-30℃, the minimum temperature for root elongation is 8-10℃, and the minimum temperature for root hair generation is 13-14℃; watermelon is a light-demanding crop, the saturation point of photosynthesis is 8×104lx, the compensation point is 0.4×104lx, and the assimilation capacity is relatively strong; shorter sunshine hours and weaker light not only affect the nutritional growth of watermelon plants, but also affect the number of fruiting organs, the size of the ovary, pollination and fertilization process, but have little effect on the ratio of female and male flowers;
[0080] S2: Collect historical crop growth environment monitoring big data of several crop types, and use deep learning algorithms to build a crop growth environment anomaly recognition model based on the historical crop growth environment monitoring big data and several key crop growth environment indicators of each crop type, including the following steps:
[0081] S2-1: Collect historical crop growth environment monitoring big data of several crop types, and pre-process the historical crop growth environment monitoring big data to obtain several pre-processed historical crop growth environment monitoring data of each crop type;
[0082] S2-2: unify the number of key indicators of crop growth environment for all crop types, and obtain a group of key indicators of crop growth environment with the same number of indicators for all crop types;
[0083] S2-3: According to the crop growth environment key indicator group of each crop type, data screening and label addition are performed on a number of pre-processed historical crop growth environment monitoring data of the same crop type, so as to obtain a historical crop growth environment monitoring key data set with preset labels for identifying abnormalities in the historical crop growth environment for all crop types;
[0084] S2-4: Based on the key data sets of historical crop growth environment monitoring for all crop types, the Elman-IAFSA algorithm is used to build a crop growth environment anomaly recognition model, including the following steps:
[0085] S2-4-1: Divide the key data sets of historical crop growth environment monitoring for each crop type into corresponding model training sample subsets and model testing sample subsets in a ratio of 7:3;
[0086] S2-4-2: Perform sample balancing and sample integration on the model training sample subsets and model test sample subsets of all crop types to obtain the corresponding model training sample sets and model test sample sets;
[0087] S2-4-3: Using the Improved Artificial Fish Swarm Algorithm (IAFSA) optimization algorithm, the initial network parameters of the Elman network are optimized to obtain the optimal initial network parameters of the Elman network, including the following steps:
[0088] S2-4-3-1: The initial network parameters of the Elman network are used as the positions of the IAFSA individuals in the IAFSA optimization algorithm;
[0089] S2-4-3-2: Set the IAFSA population parameters, maximum number of iterations and fitness function of the IAFSA optimization algorithm;
[0090] S2-4-3-3: According to the IAFSA population parameters, the Circle chaotic mapping sequence is used to initialize the IAFSA population to obtain the initialized IAFSA population;
[0091] The initialization formula is:
[0092]
[0093] In the formula, q i is the initial IAFSA individual of the Circle chaotic map; q * i is the randomly generated initial IAFSA individual; i is the IAFSA individual indicator;
[0094] S2-4-3-4: According to the fitness function, the fitness values of all initial IAFSA individuals in the initialized IAFSA population are obtained, and according to the fitness value, the position of the optimal IAFSA individual is assigned to the IAFSA optimization algorithm bulletin board;
[0095] The formula for the fitness value is:
[0096]
[0097] In the formula, f(q i ) is the fitness value of the i-th initial IAFSA individual; MSEMSE is the prediction mean square error function; Y' i , Y i are the predicted value and the true value;
[0098] S2-4-3-5: According to the adaptive initial IAFSA individual field of view update mechanism based on Cauchy distribution, the field of view of the initialized IAFSA population is updated to obtain the updated field of view of the initial IAFSA individual;
[0099] The formula for updating the individual field of view of IAFSA based on the adaptive initialization of Cauchy distribution is:
[0100]
[0101] In the formula, v(q i ) is the updated visual field of the initial IAFSA individual; v is the original visual field of the initial IAFSA individual; v C (q i ) is the visual field of the initial IAFSA individual after the Cauchy distribution transformation in the second half of the iteration; t and T are the current iteration number and the maximum iteration number respectively; q i is the i-th initial IAFSA individual;
[0102] The formula for the field of view after the Cauchy distribution transformation is:
[0103]
[0104] In the formula, f(q i ) is the fitness value of the i-th initial IAFSA individual; f worst is the worst fitness value of the initial IAFSA individual; γ is the scale parameter, the smaller its value, the steeper the Cauchy distribution probability density curve, γ = 1 / (π·v origin );v origin is the initial field of view value; v C (q i ) is the updated visual field of the initial IAFSA individual in the second half of the iteration after the Cauchy distribution transformation;
[0105] S2-4-3-6: Introduce the convergence factor, update the step size of the initialized IAFSA population, and obtain the updated step size of the initial IAFSA individual;
[0106] The formula for the updated step size is:
[0107] step=step' min +step'*a
[0108] Where step is the update step size of the initial IAFSA individual; step' is the initial step size of the initial IAFSA individual; a is the convergence factor; step' min is the initial minimum step size of the initial IAFSA individual;
[0109] The formula for the convergence factor is:
[0110]
[0111] Where a is the convergence factor; tanh(.) is the hyperbolic tangent function; t and T are the current and maximum iterations, respectively; a max 、a min are the maximum and minimum values of the convergence factor respectively; λ is the decreasing rate parameter; k is the decreasing period parameter, set λ=-2π, k=π;
[0112] S2-4-3-7: Based on the updated field of view and the updated step size, the initialized IAFSA population is subjected to the flocking behavior, the tail-chasing behavior and the foraging behavior to obtain the updated IAFSA population;
[0113] S2-4-3-8: According to the dynamic reverse learning mechanism, dynamic reverse learning is performed on all updated IAFSA individuals in the updated IAFSA population to obtain reverse IAFSA individuals;
[0114] The formula for dynamic reverse learning is:
[0115] q' i =γ'(L max +L min )-q i
[0116] In the formula, q' i is the i-th reverse IAFSA individual; q i is the i-th initial IAFSA individual; γ' is the decreasing inertia coefficient; L max , L min are the maximum and minimum values of the vector space respectively;
[0117] S2-4-3-9: Obtain the fitness values of all updated IAFSA individuals and all reverse IAFSA individuals, and assign the position of the best IAFSA individual to the IAFSA optimization algorithm bulletin board according to the fitness value;
[0118] S2-4-3-10: If the number of iterations reaches the maximum number of iterations or the fitness value of the optimal IAFSA individual meets the requirements, the optimal solution corresponding to the optimal IAFSA individual on the IAFSA optimization algorithm bulletin board is output to obtain the optimal initial network parameters of the Elman network;
[0119] The Elman network has the defects of being sensitive to the initial value of the network, being prone to falling into the local optimum and being prone to premature maturity. The IAFSA optimization algorithm searches for the optimal solution in the optimization space, which can solve the above defects and improve the stability and accuracy of the Elman network.
[0120] S2-4-4: Encode and represent the historical crop growth environment anomaly identification prediction label to obtain the code dimension of the historical crop growth environment anomaly identification prediction label;
[0121] S2-4-5: According to the number of indicators in the key indicator group of the crop growth environment and the code dimension of the crop growth environment abnormality identification prediction label, the number of input neurons in the input layer and the number of output neurons in the output layer of the Elman network are set respectively;
[0122] S2-4-6: According to the optimal initial network parameters of the Elman network, the network structure of the hidden layer and the network structure of the receiving layer of the Elman network are set;
[0123] S2-4-7: Connect the input layer, output layer, hidden layer and receiving layer of the Elman network to obtain the corresponding initial crop growth environment abnormality recognition model;
[0124] S2-4-8: input the model training sample set into the initial crop growth environment abnormality recognition model, perform optimization training, and obtain an optimized crop growth environment abnormality recognition model;
[0125] S2-4-9: Input the model test sample set into the optimized crop growth environment anomaly recognition model, perform model testing, and obtain a number of corresponding historical crop growth environment anomaly recognition prediction labels;
[0126] S2-4-10: according to the matching of the historical crop growth environment abnormality identification prediction label and the corresponding historical crop growth environment abnormality identification preset label, the test accuracy of the optimized crop growth environment abnormality identification model is obtained;
[0127] S2-4-11: If the test accuracy is greater than a preset test accuracy threshold, the optimal crop growth environment abnormality recognition model is output; otherwise, the optimized crop growth environment abnormality recognition model continues to be optimized and trained;
[0128] S3: collecting real-time crop growth environment monitoring data of the current crop type, and screening the real-time crop growth environment monitoring data according to the corresponding several key indicators of the crop growth environment, to obtain the real-time crop growth environment monitoring key data of the current crop type; the real-time crop growth environment monitoring key data includes several real-time crop growth environment monitoring key indicator data, including the following steps:
[0129] S3-1: Collecting real-time crop growth environment monitoring data of the current crop type; the real-time crop growth environment monitoring data includes several real-time crop growth environment monitoring indicator data;
[0130] S3-2: According to a number of key indicators of crop growth environment of the current crop type, corresponding real-time crop growth environment monitoring indicator data are selected to obtain corresponding real-time crop growth environment monitoring key indicator data;
[0131] S3-3: Integrate several real-time crop growth environment monitoring key indicator data to obtain real-time crop growth environment monitoring key data of the current crop type;
[0132] S4: If any of the key indicator data of the real-time crop growth environment monitoring key data exceeds the normal range of the corresponding indicator data, an abnormal alarm of the corresponding key indicator of the crop growth environment is issued;
[0133] The abnormal alarms of key indicators of crop growth environment include abnormal alarms of key indicators of soil nutrients, abnormal alarms of key indicators of growth environment, abnormal alarms of key indicators of fertilizer nutrients, abnormal alarms of key indicators of plant nutrients, abnormal alarms of key indicators of soil pollution, and abnormal alarms of key indicators of growth water quality;
[0134] For example, when the pH value of the watermelon crop's growth environment is lower than 4.0, an abnormal alarm for key soil nutrient indicators will be issued; when the ambient air temperature is higher than 50°C, an abnormal alarm for key growth environment indicators will be issued;
[0135] S5: inputting the real-time crop growth environment monitoring key data into the crop growth environment abnormality recognition model to perform crop growth environment abnormality recognition to obtain the corresponding real-time crop growth environment abnormality recognition result, including the following steps:
[0136] S5-1: filling the real-time crop growth environment monitoring key data with indicator data according to the crop growth environment key indicator group of the current crop type, and obtaining the filled real-time crop growth environment monitoring key data;
[0137] S5-2: input the filled real-time crop growth environment monitoring key data into the crop growth environment abnormality recognition model;
[0138] S5-3: Use the crop growth environment anomaly recognition model to extract the data features of key data for real-time crop growth environment monitoring after filling;
[0139] S5-5: Perform classification prediction based on data features to obtain corresponding real-time crop growth environment abnormality identification prediction labels;
[0140] S5-5: outputting the real-time crop growth environment abnormality identification prediction label as the real-time crop growth environment abnormality identification result;
[0141] S6: Visualize the abnormal alarm of key indicators of crop growth environment and the real-time abnormal identification result of crop growth environment, and control the corresponding crop growth environment maintenance equipment according to the abnormal alarm of key indicators of crop growth environment and the real-time abnormal identification result of crop growth environment;
[0142] Equipment for maintaining the crop growth environment includes temperature regulation equipment, water and fertilizer spraying equipment, lighting equipment, etc., to ensure that abnormal conditions in the crop growth environment are handled and the optimal environment for crop growth is maintained.
[0143] Embodiment 2:
[0144] like Figure 2 As shown, this embodiment provides a crop growth environment monitoring system based on big data, which is used to implement a crop growth environment monitoring method. The system includes a key indicator acquisition unit, a model building unit, a data screening unit, an abnormal alarm unit, an abnormal identification unit, and a maintenance equipment control unit connected in sequence;
[0145] A key indicator acquisition unit is used to collect crop growth knowledge big data of several crop types, and obtain several key indicators of crop growth environment of each crop type and the normal range of indicator data of each key indicator of crop growth environment according to the crop growth knowledge big data;
[0146] A model building unit, used to collect historical crop growth environment monitoring big data of several crop types, and build a crop growth environment anomaly recognition model using a deep learning algorithm based on the historical crop growth environment monitoring big data and several key crop growth environment indicators of each crop type;
[0147] A data screening unit is used to collect real-time crop growth environment monitoring data of the current crop type, and screen the real-time crop growth environment monitoring data according to a number of corresponding crop growth environment key indicators to obtain real-time crop growth environment monitoring key data of the current crop type;
[0148] An abnormal alarm unit is used to issue an abnormal alarm of the corresponding key indicator of the crop growth environment if any key indicator data of the real-time crop growth environment monitoring key data exceeds the normal range of the corresponding indicator data;
[0149] The abnormality recognition unit is used to input the real-time crop growth environment monitoring key data into the crop growth environment abnormality recognition model, perform crop growth environment abnormality recognition, and obtain the corresponding real-time crop growth environment abnormality recognition result;
[0150] The maintenance equipment control unit is used to visualize the abnormal alarms of key indicators of the crop growth environment and the real-time abnormal identification results of the crop growth environment, and control the corresponding crop growth environment maintenance equipment according to the abnormal alarms of key indicators of the crop growth environment and the real-time abnormal identification results of the crop growth environment.
[0151] The invention discloses a crop growth environment monitoring method and system based on big data. By analyzing the crop growth knowledge big data, key indicators of the crop growth environment and normal ranges of indicator data are obtained, the degree of dependence on experts is reduced, and the practicability of promotion and popularization is improved. Based on the deep learning algorithm, a crop growth environment abnormality recognition model is constructed, which can accurately identify the deep connection between the key indicator data of the crop growth environment and the abnormality of the crop growth environment, and does not rely solely on simple data intuitive representation, thereby improving the accuracy and automation of crop growth environment monitoring, reducing human cost investment, and alleviating workload. The abnormal alarm of the key indicator of the crop growth environment and the real-time abnormal recognition result of the crop growth environment are visualized, which can remind the staff to deal with the abnormal situation in the first time, thereby improving the real-time and practicability of the crop growth environment monitoring. According to the abnormal alarm of the key indicator of the crop growth environment and the real-time abnormal recognition result of the crop growth environment, the corresponding crop growth environment maintenance equipment is controlled, and the crop growth environment monitoring and control based on big data are realized, and the stability and reliability of the crop growth environment are guaranteed.
[0152] The present invention is not limited to the above optional implementations, and anyone can derive other various forms of products under the enlightenment of the present invention. The above specific implementations should not be understood as limiting the scope of protection of the present invention. The scope of protection of the present invention should be based on the definition in the claims, and the description can be used to interpret the claims.
Claims
1. A method for monitoring crop growth environment based on big data. Features: The steps include: Collecting crop growth knowledge big data of several crop types, and obtaining several key indicators of crop growth environment of each crop type and the normal range of indicator data of each key indicator of crop growth environment based on the crop growth knowledge big data; Collect historical crop growth environment monitoring big data of several crop types, and build a crop growth environment anomaly recognition model using deep learning algorithm based on the historical crop growth environment monitoring big data and several key crop growth environment indicators of each crop type, including the following steps: Collecting historical crop growth environment monitoring big data of several crop types, and preprocessing the historical crop growth environment monitoring big data to obtain several preprocessed historical crop growth environment monitoring data of each crop type; Data screening and labeling are performed on several pre-processed historical crop growth environment monitoring data of the same crop type, so as to obtain a key data set of historical crop growth environment monitoring with preset labels for identifying abnormal historical crop growth environments for all crop types; Based on the key data sets of historical crop growth environment monitoring for all crop types, the Elman-IAFSA algorithm is used to build a crop growth environment anomaly recognition model, which includes the following steps: The key data sets of historical crop growth environment monitoring for all crop types are divided into model training sample sets and model testing sample sets in a ratio of 7:3; The initial network parameters of the Elman network are optimized using the IAFSA optimization algorithm to obtain the optimal initial network parameters of the Elman network, including the following steps: The initial network parameters of the Elman network are used as the positions of the IAFSA individuals in the IAFSA optimization algorithm; Set the IAFSA population parameters, maximum number of iterations and fitness function of the IAFSA optimization algorithm; According to the IAFSA population parameters, the Circle chaotic mapping sequence is used to initialize the IAFSA population to obtain the initialized IAFSA population; According to the fitness function, the fitness values of all initial IAFSA individuals in the initialized IAFSA population are obtained, and according to the fitness values, the positions of the best IAFSA individuals are assigned to the IAFSA optimization algorithm bulletin board; According to the adaptive initial IAFSA individual field of view update mechanism based on Cauchy distribution, the field of view of the initialized IAFSA population is updated to obtain the updated field of view of the initial IAFSA individual; Introduce a convergence factor, update the step size of the initialized IAFSA population, and obtain the updated step size of the initial IAFSA individual; Based on the updated field of view and the updated step size, the initialized IAFSA population is subjected to flocking, tail-chasing and foraging behaviors to obtain an updated IAFSA population; According to the dynamic reverse learning mechanism, all updated IAFSA individuals in the updated IAFSA population are dynamically reversed to obtain reversed IAFSA individuals; Obtain the fitness values of all updated IAFSA individuals and all reverse IAFSA individuals, and assign the position of the best IAFSA individual to the IAFSA optimization algorithm bulletin board according to the fitness value; If the number of iterations reaches the maximum number of iterations or the fitness value of the optimal IAFSA individual meets the requirements, the optimal solution corresponding to the optimal IAFSA individual on the IAFSA optimization algorithm bulletin board is output to obtain the optimal initial network parameters of the Elman network; According to the optimal initial network parameters of the Elman network, an initial crop growth environment abnormality recognition model is constructed; Input the model training sample set into the initial crop growth environment abnormality recognition model for optimization training to obtain an optimized crop growth environment abnormality recognition model; The model test sample set is input into the optimized crop growth environment abnormality recognition model to perform model testing and obtain the corresponding test accuracy; If the test accuracy is greater than the preset test accuracy threshold, the optimal crop growth environment abnormality recognition model is output; otherwise, the optimized crop growth environment abnormality recognition model continues to be optimized and trained. Collecting real-time crop growth environment monitoring data of the current crop type, and screening the real-time crop growth environment monitoring data according to the corresponding several key indicators of the crop growth environment, to obtain the real-time crop growth environment monitoring key data of the current crop type; the real-time crop growth environment monitoring key data includes several real-time crop growth environment monitoring key indicator data; If any of the key indicator data of the real-time crop growth environment monitoring key data exceeds the normal range of the corresponding indicator data, an abnormal alarm of the corresponding key indicator of the crop growth environment is issued; Input the key data of real-time crop growth environment monitoring into the crop growth environment abnormality recognition model to perform crop growth environment abnormality recognition and obtain the corresponding real-time crop growth environment abnormality recognition results; The abnormal alarms of key indicators of the crop growth environment and the real-time abnormal identification results of the crop growth environment are visualized, and the corresponding crop growth environment maintenance equipment is controlled based on the abnormal alarms of key indicators of the crop growth environment and the real-time abnormal identification results of the crop growth environment.
2. According to claim 1, a method for monitoring crop growth environment based on big data, Features: The key indicators of crop growth environment include key indicators of soil nutrients, key indicators of growth environment, key indicators of fertilizer nutrients, key indicators of plant nutrients, key indicators of soil pollution and key indicators of growth water quality.
3. According to the method for monitoring crop growth environment based on big data in claim 1, Features: Collecting crop growth knowledge big data of several crop types, and obtaining several key indicators of crop growth environment of each crop type and the normal range of indicator data of each key indicator of crop growth environment according to the crop growth knowledge big data, including the following steps: Collecting crop growth knowledge big data of several crop types, and preprocessing the crop growth knowledge big data to obtain several preprocessed crop growth knowledge data of each crop type; Construct a crop growth knowledge graph based on a number of pre-processed crop growth knowledge data of all crop types; According to the crop growth knowledge graph and the pre-trained crop planting expert database, several key indicators of crop growth environment for each crop type and the normal range of indicator data of each key indicator of crop growth environment are obtained.
4. According to claim 3, a method for monitoring crop growth environment based on big data, Features: Collecting real-time crop growth environment monitoring data of the current crop type, and screening the real-time crop growth environment monitoring data according to a number of corresponding crop growth environment key indicators to obtain real-time crop growth environment monitoring key data of the current crop type, including the following steps: Collecting real-time crop growth environment monitoring data of the current crop type; the real-time crop growth environment monitoring data includes a number of real-time crop growth environment monitoring indicator data; According to a number of key indicators of crop growth environment of the current crop type, corresponding real-time crop growth environment monitoring indicator data are screened to obtain corresponding real-time crop growth environment monitoring key indicator data; Integrate several real-time crop growth environment monitoring key indicator data to obtain real-time crop growth environment monitoring key data for the current crop type.
5. According to claim 2, a method for monitoring crop growth environment based on big data, Features: The crop growth environment key indicator abnormal alarm includes soil nutrient key indicator abnormal alarm, growth environment key indicator abnormal alarm, fertilizer nutrient key indicator abnormal alarm, plant nutrient key indicator abnormal alarm, soil pollution key indicator abnormal alarm and growth water quality key indicator abnormal alarm.
6. The method for monitoring crop growth environment based on big data according to claim 1, Features: Inputting the key data of real-time crop growth environment monitoring into the crop growth environment abnormality recognition model to perform crop growth environment abnormality recognition and obtain the corresponding real-time crop growth environment abnormality recognition result, including the following steps: Input the key data of real-time crop growth environment monitoring into the crop growth environment abnormality recognition model; Use the crop growth environment anomaly recognition model to extract data features of key data for real-time crop growth environment monitoring; According to the data characteristics, classification prediction is carried out to obtain the corresponding real-time crop growth environment abnormality identification prediction label; The real-time crop growth environment anomaly recognition prediction label is output as the real-time crop growth environment anomaly recognition result.
7. A crop growth environment monitoring system based on big data, used to implement the crop growth environment monitoring method as described in any one of claims 1 to 6, Features: The system comprises a key indicator acquisition unit, a model building unit, a data screening unit, an abnormality alarm unit, an abnormality identification unit and a maintenance equipment control unit which are connected in sequence; A key indicator acquisition unit is used to collect crop growth knowledge big data of several crop types, and obtain several key indicators of crop growth environment of each crop type and the normal range of indicator data of each key indicator of crop growth environment according to the crop growth knowledge big data; A model building unit, used to collect historical crop growth environment monitoring big data of several crop types, and build a crop growth environment anomaly recognition model using a deep learning algorithm based on the historical crop growth environment monitoring big data and several key crop growth environment indicators of each crop type; A data screening unit is used to collect real-time crop growth environment monitoring data of the current crop type, and screen the real-time crop growth environment monitoring data according to a number of corresponding crop growth environment key indicators to obtain real-time crop growth environment monitoring key data of the current crop type; An abnormal alarm unit is used to issue an abnormal alarm of the corresponding key indicator of the crop growth environment if any key indicator data of the real-time crop growth environment monitoring key data exceeds the normal range of the corresponding indicator data; The abnormality recognition unit is used to input the real-time crop growth environment monitoring key data into the crop growth environment abnormality recognition model, perform crop growth environment abnormality recognition, and obtain the corresponding real-time crop growth environment abnormality recognition result; The maintenance equipment control unit is used to visualize the abnormal alarms of key indicators of the crop growth environment and the real-time abnormal identification results of the crop growth environment, and control the corresponding crop growth environment maintenance equipment according to the abnormal alarms of key indicators of the crop growth environment and the real-time abnormal identification results of the crop growth environment.
