Agricultural data acquisition and transmission system based on Internet of Things
By introducing an IoT edge acquisition station in the agricultural data acquisition system and determining the target edge acquisition station based on the data characteristics, the loss of agricultural data under network instability is solved, and the efficiency and reliability of data allocation are improved.
Patent Information
- Application Number
- CN202510055610.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-14
- Publication Date
- 2025-02-18
AI Technical Summary
Agricultural data collection is likely to lead to data loss in the event of unstable and congested network, affecting data quality and the implementation of precision agriculture.
An agricultural data acquisition and transmission system based on the Internet of Things is designed to receive and process data from the Internet of Things acquisition terminal through the edge acquisition station, and determine the target edge acquisition station based on the time interval and total amount of data generation to ensure the reasonable allocation of data. and storage.
It effectively improves the rationality and pertinence of data allocation, avoids resource waste, and ensures the accuracy and scientificity of data allocation, thereby enhancing the stability and reliability of agricultural data acquisition and transmission systems.
Smart Images

Figure CN119484595A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data collection, and in particular to an agricultural data collection and transmission system based on the Internet of Things. Background Art
[0002] In the development of modern agriculture, agricultural data collection is crucial. With the advancement of agricultural intelligence, a large number of sensors and monitoring equipment are deployed in agricultural production scenarios such as farmland and greenhouses to collect multi-dimensional data such as soil moisture, temperature, light intensity, crop growth indicators, etc. These data provide key basis for precision agricultural decision-making.
[0003] However, current agricultural data collection faces severe challenges of data loss due to network problems. In rural areas and remote agricultural production areas, network coverage is often weak and unstable. For example, in orchards in mountainous areas, the complex terrain causes frequent interruptions of network signals. When data collection equipment transmits data to remote servers, once network fluctuations occur, some data will be lost due to transmission interruptions, resulting in incomplete data. Moreover, during some periods of network congestion, such as peak hours for centralized uploading of agricultural data, data transmission delays increase, and exceeding the device cache time limit will also cause data loss, seriously affecting the quality of agricultural data and the reliability of analysis results, and hindering the effective implementation of precision agriculture. Summary of the invention
[0004] In response to the above technical problems, the present invention provides an agricultural data collection and transmission system based on the Internet of Things, which is used to collect, transmit and store agricultural data through an Internet of Things collection terminal, including multiple edge collection stations and a storage device for storing agricultural data; wherein the edge collection station is used to receive and process agricultural data from the Internet of Things collection terminal.
[0005] The edge collection station determines the data distribution process and determines at least one target edge collection station for any type of IoT data, including: Step S101, according to the preset data type order, each type of IoT data is processed, and the generation time interval of the current type of IoT data is compared with the preset time interval, and the total amount of the current type of IoT data is compared with the preset data amount threshold; when the generation time interval of the current type of IoT data is greater than the preset time interval, the current edge collection station with free data slots and supporting the processing of the current type of data is marked as the target edge collection station for the current type of IoT data.
[0006] Step S102, when the generation time interval of the current type of IoT data is not greater than the preset time interval and the total amount of the current type of IoT data is not less than the preset data amount threshold, the current edge collection station whose number of free data slots is not less than the preset data slot threshold and supports the processing of the current type of data is marked as the target edge collection station for the current type of IoT data; after the current type of IoT data is allocated, the target edge collection station for the current type of IoT data is unmarked.
[0007] Step S103: when the generation time interval of the current type of IoT data is not greater than the preset time interval and the total amount of the current type of IoT data is less than the preset data amount threshold, stop allocating the current type of IoT data.
[0008] Furthermore, the IoT data is allocated to the target edge collection station according to a preset edge collection station order: for any target edge collection station, the associated agricultural data set of the target edge collection station is obtained; based on the number of various agricultural data in the associated agricultural data set and the number of various agricultural data in the current type of IoT data, the IoT data allocated to the target edge collection station is determined from the current type of IoT data; based on the number of various agricultural data in the associated agricultural data set, the number of various agricultural data in the current type of IoT data and the number of free data slots of the target edge collection station, the IoT data allocated to the target edge collection station is determined from the current type of IoT data.
[0009] Furthermore, the associated agricultural data set includes: the remaining agricultural data in the storage unit of the target edge collection station or the agricultural data in the task to be processed of the target edge collection station.
[0010] Furthermore, if the remaining agricultural data contains the same agricultural data as the current type of IoT data, each of the same agricultural data is processed according to the preset processing order through the following steps: selecting the minimum value of the following three data: the number of the same agricultural data in the remaining agricultural data, the number of the same agricultural data in the current type of IoT data, and the number of free storage locations of the target edge collection station; and allocating the IoT data containing the same agricultural data whose number is the minimum value to the target edge collection station.
[0011] Furthermore, if there is the same agricultural data as the current type of IoT data in the task to be processed, each same agricultural data is processed according to the processing order through the following steps: the integer value of the quotient of the number of the same agricultural data in the task to be processed and the average storage capacity of the same agricultural data in the storage unit is determined as the number of storage units required for the same agricultural data, the product of the number of storage units and the average storage capacity is calculated, and the difference between the product and the number of the same agricultural data in the task to be processed is determined as the target number; the minimum value of the following three data is selected: the target number, the number of the same agricultural data in the current type of IoT data, and the number of free storage locations of the target edge collection station; and the IoT data containing the same agricultural data having the minimum number is allocated to the target edge collection station.
[0012] Furthermore, the same agricultural data in the current type of IoT data does not exist in the remaining agricultural data and the tasks to be processed, and the steps of sequentially processing each type of agricultural data in the current type of IoT data include selecting the minimum value of the following three data: the average storage capacity of the agricultural data in the storage unit, the amount of the agricultural data in the current type of IoT data, and the number of free storage locations of the target edge collection station; and allocating the IoT data containing the agricultural data with the minimum amount to the target edge collection station.
[0013] Furthermore, the order of edge collection stations is: the order of the number of free storage locations of edge collection stations from large to small, or the order from low-performance edge collection stations to high-performance edge collection stations; the order of data types is: the order of the priority configured for each type from high to low; the processing order is: the order of the corresponding amount of IoT data in the current type of IoT data from large to small; the storage unit is a local cache, a specific storage device or a storage area in a database.
[0014] Compared with the prior art, the present invention has the following advantages: (1) The present invention determines the relationship between the time interval and the total amount of IoT data and a preset threshold to determine the target edge collection station, which can effectively improve the rationality and pertinence of data distribution and avoid waste of resources; (2) The present invention formulates detailed data processing rules for different situations to ensure the accuracy and scientificity of data distribution, thereby enhancing the stability and reliability of the agricultural data collection and transmission system as a whole, and providing more powerful data support for agricultural production. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A schematic diagram of a process for determining data allocation at an edge acquisition station of the present invention. DETAILED DESCRIPTION
[0016] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0017] like Figure 1 The present invention shows an agricultural data collection and transmission system based on the Internet of Things provided by an embodiment of the present application, which is used to collect, transmit and store agricultural data through an Internet of Things collection terminal, and includes multiple edge collection stations and a storage device for storing agricultural data; wherein the edge collection station is used to receive and process agricultural data from the Internet of Things collection terminal; The edge collection station determines the data distribution process and determines at least one target edge collection station for any type of IoT data, including Step S101, according to the preset data type order, each type of IoT data is processed, and the generation time interval of the current type of IoT data is compared with the preset time interval, and the total amount of the current type of IoT data is compared with the preset data amount threshold; when the generation time interval of the current type of IoT data is greater than the preset time interval, the current edge collection station with free data slots and supporting the processing of the current type of data is marked as the target edge collection station for the current type of IoT data; Step S102, when the generation time interval of the current type of IoT data is not greater than the preset time interval and the total amount of the current type of IoT data is not less than the preset data amount threshold, mark the current edge collection station whose number of free data slots is not less than the preset data slot threshold and supports the processing of the current type of data as the target edge collection station for the current type of IoT data; after the current type of IoT data is allocated, cancel the mark for the target edge collection station for the current type of IoT data; Step S103: when the generation time interval of the current type of IoT data is not greater than the preset time interval and the total amount of the current type of IoT data is less than the preset data amount threshold, stop allocating the current type of IoT data.
[0018] In an example, the above steps are illustrated: three main data types are set: environmental monitoring data (including temperature, humidity, carbon dioxide concentration, etc.), crop growth data (such as plant height, stem thickness, leaf area, etc.) and soil nutrient data (nitrogen, phosphorus, potassium content, etc.), and the preset data types are sorted in order of environmental monitoring data having the highest priority, crop growth data having the second highest priority, and soil nutrient data having the lowest priority.
[0019] For environmental monitoring data, the preset time interval is set to 15 minutes, and the preset data volume threshold is 80. At a certain moment, the system detects that the temperature sensor, humidity sensor, and carbon dioxide concentration sensor have generated 90 data in the past 15 minutes, and step S102 is executed at this time. The system scans each edge collection station and finds that edge collection station M has 100 free data slots and has strong environmental data processing capabilities, which can quickly analyze the correlation between temperature, humidity, and carbon dioxide concentration. Therefore, edge collection station M is marked as the target edge collection station for this batch of environmental monitoring data.
[0020] When the data is distributed to edge collection station M, the system will obtain the associated agricultural data set of edge collection station M. Assume that among the remaining environmental monitoring data in its storage unit, there are 30 historical records of temperature data, and there are 25 temperature data in the current environmental monitoring data to be distributed. At this time, edge collection station M still has 80 free storage locations. According to the rules, 25 (minimum of 25, 30, 80) IoT data containing temperature data will be selected and distributed to the corresponding processing module for further analysis, such as determining whether the current temperature is within the range suitable for crop growth, and comparing with historical data to analyze the temperature change trend.
[0021] For crop growth data, the preset time interval is set to 30 minutes, and the preset data volume threshold is 50. If the time interval for generating crop growth data is greater than 30 minutes within a period of time, and the total amount is 40. At this time, step S101 is executed, and the system finds that the edge collection station N has 60 free data slots and supports crop growth data processing, and marks it as the target edge collection station. During the allocation process, if there are 80 plant height data in the pending tasks of the associated agricultural data set, the average storage capacity of plant height data in the storage unit is 30, and there are 20 plant height data in the current crop growth data to be allocated. After calculation, the target number is [80 / 30]*30-80=-20 (here the absolute value is 20), and the minimum value 20 is selected from 20, 20, and the number of free storage locations of edge collection station N (assuming it is 50), and the IoT data of 20 plant height data is allocated to edge collection station N, so as to analyze whether the recent growth rate of crops is normal.
[0022] As for soil nutrient data, at a certain stage, the time interval for its generation is no more than the preset 45 minutes, but the total amount is only 30, which is less than the preset data volume threshold of 60. According to step S103, the system will suspend the distribution of this part of soil nutrient data and wait for the subsequent data volume to increase or the time interval to meet the conditions before processing.
[0023] The IoT data is allocated to the target edge collection station according to the preset edge collection station order: for any target edge collection station, the associated agricultural data set of the target edge collection station is obtained; according to the number of various agricultural data in the associated agricultural data set and the number of various agricultural data in the current type of IoT data, the IoT data allocated to the target edge collection station is determined from the current type of IoT data; according to the number of various agricultural data in the associated agricultural data set, the number of various agricultural data in the current type of IoT data and the number of free data slots of the target edge collection station, the IoT data allocated to the target edge collection station is determined from the current type of IoT data.
[0024] The associated agricultural data set includes: the remaining agricultural data in the storage unit of the target edge collection station or the agricultural data in the task to be processed by the target edge collection station.
[0025] The same agricultural data as the current type of IoT data exists in the remaining agricultural data. Each same agricultural data is processed through the following steps in a preset processing order: the minimum value of the following three data is selected: the number of the same agricultural data in the remaining agricultural data, the number of the same agricultural data in the current type of IoT data, and the number of free storage locations of the target edge collection station; the IoT data containing the same agricultural data with the minimum number is allocated to the target edge collection station.
[0026] There is the same agricultural data as the current type of IoT data in the task to be processed, and each of the same agricultural data is processed through the following steps in the processing order: the integer value of the quotient of the number of the same agricultural data in the task to be processed and the average storage capacity of the same agricultural data in the storage unit is determined as the number of storage units required for the same agricultural data, the product of the number of storage units and the average storage capacity is calculated, and the difference between the product and the number of the same agricultural data in the task to be processed is determined as the target number; the minimum value of the following three data is selected: the target number, the number of the same agricultural data in the current type of IoT data, and the number of free storage locations of the target edge collection station; the IoT data with the minimum number and containing the same agricultural data is allocated to the target edge collection station.
[0027] The same agricultural data as the current type of IoT data does not exist in the remaining agricultural data and the tasks to be processed. The steps of sequentially processing each type of agricultural data in the current type of IoT data include selecting the minimum value of the following three data: the average storage capacity of the agricultural data in the storage unit, the number of agricultural data in the current type of IoT data, and the number of free storage locations of the target edge collection station; and allocating the IoT data containing the agricultural data with the minimum number to the target edge collection station.
[0028] The order of edge collection stations is: the order of the number of free storage locations of edge collection stations from large to small, or the order from low-performance edge collection stations to high-performance edge collection stations; the order of data types is: the order of the priority configured for each type from high to low; the processing order is: the order of the corresponding IoT data volume in the current type of IoT data from large to small; the storage unit is a local cache, a specific storage device or a storage area in a database.
[0029] In an example, taking the order of the number of free storage locations of edge collection stations from largest to smallest, there are five edge collection stations distributed inside the greenhouse, namely E1, E2, E3, E4 and E5. E1 has 200 free data slots, E2 has 150, E3 has 100, E4 has 80, and E5 has only 50. When a new batch of crop growth cycle monitoring data is generated, the system will first scan the storage status of each edge collection station, and in order, the data will be allocated to E1 first.
[0030] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An agricultural data collection and transmission system based on the Internet of Things, which is used to collect, transmit and store agricultural data through an Internet of Things collection terminal, and is characterized by: It includes multiple edge collection stations and a storage device for storing agricultural data; wherein the edge collection station is used to receive and process agricultural data from the Internet of Things collection terminal; The edge collection station determines the data distribution process and determines at least one target edge collection station for any type of IoT data, including Step S101, processing each type of IoT data according to a preset data type order, taking each type as the current type, comparing the generation time interval of the current type of IoT data with the preset time interval, and the total amount of the current type of IoT data with the preset data amount threshold; when the generation time interval of the current type of IoT data is greater than the preset time interval, marking the current edge collection station that has a free data slot and supports the processing of the current type of data as the target edge collection station for the current type of IoT data; Step S102, when the generation time interval of the current type of IoT data is not greater than the preset time interval and the total amount of the current type of IoT data is not less than the preset data amount threshold, mark the current edge collection station whose number of free data slots is not less than the preset data slot threshold and supports the processing of the current type of data as the target edge collection station for the current type of IoT data; after the current type of IoT data is allocated, cancel the mark for the target edge collection station for the current type of IoT data; Step S103: when the generation time interval of the current type of IoT data is not greater than the preset time interval and the total amount of the current type of IoT data is less than the preset data amount threshold, stop allocating the current type of IoT data.
2. The agricultural data collection and transmission system based on the Internet of Things according to claim 1 is characterized in that: The IoT data is distributed to the target edge collection stations according to the preset edge collection station sequence: for any target edge collection station, the associated agricultural data set of the target edge collection station is obtained; According to the number of various agricultural data in the associated agricultural data set and the number of various agricultural data in the current type of IoT data, the IoT data to be allocated to the target edge collection station is determined from the current type of IoT data; according to the number of various agricultural data in the associated agricultural data set, the number of various agricultural data in the current type of IoT data and the number of free data slots of the target edge collection station, the IoT data to be allocated to the target edge collection station is determined from the current type of IoT data.
3. The agricultural data collection and transmission system based on the Internet of Things according to claim 1 is characterized in that: The associated agricultural data set includes: the remaining agricultural data in the storage unit of the target edge collection station or the agricultural data in the task to be processed by the target edge collection station.
4. The agricultural data collection and transmission system based on the Internet of Things according to claim 3 is characterized in that: If there is the same agricultural data as the current type of IoT data in the remaining agricultural data, each of the same agricultural data is processed according to the following steps in a preset processing order: the minimum value of the following three data is selected: the number of the same agricultural data in the remaining agricultural data, the number of the same agricultural data in the current type of IoT data, and the number of free storage locations of the target edge collection station; The IoT data containing the same type of agricultural data in a quantity equal to the minimum value is distributed to the target edge collection station.
5. The agricultural data collection and transmission system based on the Internet of Things according to claim 4 is characterized in that: The to-be-processed tasks contain agricultural data of the same type as the IoT data of the current type, and each agricultural data of the same type is processed in the processing order by the following steps: the number of storage units required for the agricultural data of the same type is determined as the integer of the quotient of the number of agricultural data of the same type in the to-be-processed tasks and the average storage capacity of the agricultural data of the same type in the storage unit, the product of the number of storage units and the average storage capacity is calculated, and the difference between the product and the number of agricultural data of the same type in the to-be-processed tasks is determined as the target number; Select the minimum value of the following three data: the number of targets, the number of agricultural data of the same type in the current type of IoT data, and the number of free storage locations of the target edge collection station; The IoT data containing the same type of agricultural data in a quantity equal to the minimum value is distributed to the target edge collection station.
6. The agricultural data collection and transmission system based on the Internet of Things according to claim 4 is characterized in that: The same agricultural data in the current type of IoT data does not exist in the remaining agricultural data and the tasks to be processed, and the step of sequentially processing each type of agricultural data in the current type of IoT data includes selecting the minimum value of the following three data: the average storage capacity of the agricultural data in the storage unit, the number of agricultural data in the current type of IoT data, and the number of free storage locations of the target edge collection station; The IoT data having the minimum quantity and containing the agricultural data is distributed to the target edge collection station.
7. The agricultural data collection and transmission system based on the Internet of Things according to claim 4 is characterized in that: The order of edge collection stations is: the order of the number of free storage locations of edge collection stations from large to small, or the order from low-performance edge collection stations to high-performance edge collection stations; the order of data types is: the order of the priority configured for each type from high to low; the processing order is: the order of the corresponding IoT data volume in the current type of IoT data from large to small; the storage unit is a local cache, a specific storage device or a storage area in a database.
Citation Information
Patent Citations
agricultural disaster information remote sensing extraction method and system based on the Internet of Things
CN109918449A
Order allocation method and device
CN110390499A
Internet of Things data processing system and data processing method
CN112511576A
IoT based hydroponic communications system for agricultural industries
US20230200319A1