Intelligent farmland edge data collection method, system and medium based on the Internet of Things

By establishing a plane rectangular coordinate system at the edge of the farmland and using cell screening method to obtain edges, and combining soil screening method for data acquisition and adjustment, the problem of inaccurate data acquisition at the edge of the farmland is solved, and the accuracy of data and the reliability of agricultural production decisions are improved.

CN119027259BActive Publication Date: 2025-04-01BRAKE AGRI BIG DATA TECH GRP CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410950331.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2025-04-01
Estimated Expiration
2044-07-16

AI Technical Summary

Technical Problem

In the prior art, there is a lack of methods for dividing farmland edge data collection, which leads to the inability to accurately reflect the actual situation of farmland and affects agricultural production decisions.

Method used

The intelligent farmland edge data acquisition method based on the Internet of Things is adopted, and the farmland edge is obtained by establishing a plane rectangular coordinate system, using cell screening method, and data acquisition and adjustment are carried out through the soil screening method to ensure the accuracy of the data.

Benefits of technology

Improve the accuracy of farmland edge data collection, prevent edge changes caused by climate and other reasons, and ensure that the collected data truly reflects the actual situation at the farmland edge, thereby supporting more accurate agricultural production decisions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119027259B_ABST
    Figure CN119027259B_ABST
Patent Text Reader

Abstract

The present invention discloses an intelligent farmland edge data collection method, system and medium based on the Internet of Things, and relates to the technical field of farmland data collection, including: placing an area occupied by farmland and its surrounding environment area in a plane rectangular coordinate system in equal proportion; obtaining the farmland edge by a cell screening method; collecting farmland edge data by a soil screening method; collecting farmland edge data based on the actual edge of the farmland and adjusting it in real time. The present invention is used to solve the problem that in the prior art, in terms of farmland edge data collection, there is a lack of a collection method for dividing the farmland edge, resulting in the data collected at the farmland edge being unable to accurately reflect the actual situation of the farmland, causing a deviation between the collected data and the actual situation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of farmland data collection, and in particular to an intelligent farmland edge data collection method, system and medium based on the Internet of Things. Background Art

[0002] The growth of crops not only depends on their own growth laws, but is also affected by many natural conditions such as soil, environment and climate. The goal of precision agriculture is to collect and analyze the data that affects the growth of crops, and on this basis make agricultural production decisions that conform to the laws of crop growth, so as to promote high-quality crop yields in an environmentally friendly way. The amount of data collected on agricultural parameters, such as light, temperature and humidity, is very large, and it needs to be collected and analyzed frequently during the characteristic period of crop growth to support agricultural production decisions.

[0003] Existing data collection methods for farmland usually automatically collect farmland information by optimizing the collection module. For example, in the Chinese patent with application publication number CN101917666A, a mobile farmland intelligent data collection system and method are disclosed. This solution realizes rapid automatic collection of farmland information; enhances the accuracy of real-time positioning of collected samples; the mobile farmland intelligent data collection system can conveniently manage farmland wireless sensor networks and can effectively manage farmland information data. Other improvements in data collection for farmland are usually made in terms of collection equipment. In terms of farmland edge data collection, there is a lack of collection methods for dividing farmland edges, resulting in the inability to determine the specific location of the farmland edge when collecting data on the farmland, or the farmland edge changes due to climate and other reasons, resulting in the data collected at the farmland edge cannot accurately reflect the actual situation of the farmland, resulting in deviations between the collected data and the actual situation, affecting subsequent agricultural production decisions. In view of this, it is necessary to improve the existing farmland edge data collection method. Summary of the invention

[0004] The present invention aims to solve one of the technical problems in the prior art to at least a certain extent. By proposing an intelligent farmland edge data collection method, system and medium based on the Internet of Things, it is used to solve the problem of lack of a collection method for dividing the edge of farmland in the prior art in terms of farmland edge data collection. This may result in the inability to determine the specific location of the edge of the farmland when collecting data on the farmland, or the edge of the farmland may change due to climate and other reasons, resulting in the data collected at the edge of the farmland being unable to accurately reflect the actual situation of the farmland, causing the collected data to deviate from the actual situation, thereby affecting subsequent agricultural production decisions.

[0005] To achieve the above objectives, in a first aspect, the present invention provides an intelligent farmland edge data collection method based on the Internet of Things, comprising:

[0006] Obtain the area occupied by the farmland and the surrounding environmental area, establish a plane rectangular coordinate system, and place the area occupied by the farmland and the surrounding environmental area in the plane rectangular coordinate system in equal proportions;

[0007] Analyze the area occupied by the farmland in the plane rectangular coordinate system, and obtain the edge of the farmland using the cell screening method based on the analysis result; obtain the planning data of the farmland, divide the area occupied by the farmland in the plane rectangular coordinate system based on the planning data of the farmland, and record the area occupied by the farmland as the farmland area; record the area occupied by the environment around the farmland as the adjacent edge area;

[0008] A first standard threshold is obtained using a threshold determination method based on existing farmland data;

[0009] The cell screening method is used to obtain the edge of the farmland in the plane rectangular coordinate system;

[0010] Based on the edge of the farmland, the farmland edge data is collected using the soil screening method, and the farmland edge is adjusted based on the collection results; the soil data screening method includes:

[0011] The actual soil at the edge of the farmland is recorded as the soil to be screened, and soil sampling is performed at every standard sampling distance in the soil to be screened, and all sampling data are recorded in sequence as soil data 1 to soil data L;

[0012] When any soil data L1 among soil data 1 to soil data L does not meet the farmland soil standard, the cell corresponding to soil data L1 in the plane rectangular coordinate system is recorded as a deviation cell;

[0013] Adjustments to the field margin based on the results of the soil data screening method include:

[0014] When the deviation cell contains a farmland area, the farmland area in the deviation cell is adjusted to the adjacent area, and the farmland cell closest to the deviation cell is set as the edge cell;

[0015] Re-analyze all edge cells using the cell screening method and obtain the edge of the farmland;

[0016] The adjusted farmland edge is recorded as the actual edge of the farmland, and the farmland edge data is collected and adjusted in real time based on the actual edge of the farmland.

[0017] Furthermore, the area occupied by the farmland in the plane rectangular coordinate system is analyzed, and the edge of the farmland is obtained using the cell screening method based on the analysis results, including:

[0018] Set the unit of the X-axis of the plane rectangular coordinate system to meters, and set the unit of the Y-axis of the plane rectangular coordinate system to meters;

[0019] Set the unit lengths of the X-axis and Y-axis of the plane rectangular coordinate system to the standard unit length;

[0020] In the X-axis of the plane rectangular coordinate system, for any coordinate point X1 of the X-axis of the plane rectangular coordinate system, draw a straight line parallel to the Y-axis at the coordinate point X1; in the Y-axis of the plane rectangular coordinate system, for any coordinate point Y1 of the Y-axis of the plane rectangular coordinate system, draw a straight line parallel to the X-axis at the coordinate point Y1;

[0021] The smallest square obtained by dividing a plurality of straight lines in a plane rectangular coordinate system is recorded as a cell;

[0022] Acquire the planning data of the farmland, divide the area occupied by the farmland in the plane rectangular coordinate system based on the planning data of the farmland, record the area occupied by the farmland as the farmland area; record the area occupied by the environment around the farmland as the adjacent area;

[0023] A first standard threshold is obtained using a threshold determination method based on existing farmland data;

[0024] The cell screening method was used to obtain the edge of the farmland in the plane rectangular coordinate system.

[0025] Furthermore, the threshold determination method includes:

[0026] Acquire image data of multiple farmland edges and their surroundings in the existing farmland data, and record them as reference image data 1 to reference image data N in sequence, wherein the farmland edge is marked in the reference image data, and the farmland edge in the reference image data is recorded as the reference edge;

[0027] For any reference image data N1 among the reference image data 1 to the reference image data N, the reference image data N1 is placed in a plane rectangular coordinate system, and the cells occupied by the reference edge in the plane rectangular coordinate system are recorded as reference cells, and are recorded as reference cells 1 to reference cells M in sequence;

[0028] For any reference cell M1 among reference cells 1 to reference cells M, all cells in the eight neighborhoods of the reference cell M1 are sequentially recorded as reference analysis cells 1 to reference analysis cells 8, and a reference saturation value of the reference cell M1 is set, recorded as K1, where the initial value of the reference saturation value is 0;

[0029] When any one of the reference analysis cells 1 to 8 is completely in the area where the farmland is located, the value of K1 is added to the first reference coefficient; when any one of the reference analysis cells 1 to 8 is completely in the area where the surrounding environment of the farmland is located, the value of K1 is subtracted from the first reference coefficient;

[0030] When the growth of crops in the actual farmland corresponding to the area where the farmland in the reference cell M1 is located is affected by the surrounding environment of the farmland, the calculated K1 is recorded as the impact reference threshold;

[0031] The average value of all influencing reference thresholds in the reference image data N1 is recorded as the influencing image threshold N1; the average value of the influencing image thresholds of all reference image data is recorded as the first standard threshold.

[0032] Further, the cell screening method includes:

[0033] For any cell Z1 in the plane rectangular coordinate system, when the cell Z1 is completely in the farmland area, the cell Z1 is recorded as a farmland cell; when the cell Z1 is completely in the adjacent edge area, the cell Z1 is recorded as an adjacent edge cell;

[0034] When there are both farmland areas and adjacent edge areas in cell Z1, cell Z1 is recorded as an edge cell;

[0035] All cells in the eight neighborhoods of the edge cell are recorded as cells to be analyzed 1 to cells to be analyzed 8 in sequence; the farmland saturation value of cell Z1 is set, recorded as J1, where the farmland saturation value is initially 0;

[0036] When any one of the cells to be analyzed from cells 1 to 8 is a farmland cell, the value of J1 is added with the first reference coefficient; when any one of the cells to be analyzed from cells 1 to 8 is an adjacent cell, the value of J1 is subtracted from the first reference coefficient;

[0037] When the calculated J1 is less than the first standard threshold, the cell Z1 and all the cells to be analyzed are recorded as farmland edge cells; when the calculated J1 is greater than or equal to the first standard threshold, the cell Z1, the farmland cells in all the cells to be analyzed, and the edge cells in all the cells to be analyzed are recorded as farmland edge cells;

[0038] The area occupied by all farmland edge cells is recorded as the farmland edge.

[0039] Furthermore, the farmland edge data is collected using a soil screening method based on the farmland edge, and the farmland edge is adjusted based on the collected results, including:

[0040] The actual farmland soil data is collected using soil data screening method based on the farmland edge;

[0041] Adjust the edge of the farmland based on the collection results of the soil data screening method.

[0042] Furthermore, the adjusted farmland edge is recorded as the actual edge of the farmland, and the farmland edge data is collected and adjusted in real time based on the actual edge of the farmland, including:

[0043] When the edge of a farmland is analyzed using the soil data screening method and all soil data meet the farmland soil standards, the edge of the farmland at this time is recorded as the actual edge of the farmland;

[0044] When collecting farmland edge data, the actual soil corresponding to the actual edge of the farmland is collected and the farmland edge is adjusted in real time based on the collection results.

[0045] In a second aspect, the present invention provides an intelligent farmland edge data acquisition system based on the Internet of Things, including a regional placement module, a farmland edge acquisition module, an edge adjustment module and a data acquisition module:

[0046] The area placement module is used to obtain the area occupied by the farmland and the surrounding environmental area, establish a plane rectangular coordinate system, and place the area occupied by the farmland and the surrounding environmental area in equal proportion in the plane rectangular coordinate system;

[0047] The farmland edge acquisition module is used to analyze the area occupied by the farmland in the plane rectangular coordinate system, and obtain the farmland edge using the cell screening method based on the analysis results;

[0048] The edge adjustment module is used to collect farmland edge data based on the farmland edge using a soil screening method, and adjust the farmland edge based on the collection results;

[0049] The data collection module is used to record the adjusted farmland edge as the actual edge of the farmland, and collect and adjust the farmland edge data in real time based on the actual edge of the farmland.

[0050] In a third aspect, the present invention provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps in any of the methods described above are executed.

[0051] The beneficial effects of the present invention are as follows: the present invention first establishes a plane rectangular coordinate system by acquiring the area occupied by the farmland and the surrounding environmental area, places the area occupied by the farmland and the surrounding environmental area in equal proportion in the plane rectangular coordinate system, and then analyzes the area occupied by the farmland in the plane rectangular coordinate system, and uses a cell screening method to obtain the edge of the farmland based on the analysis result. The advantage of this is that by placing the area occupied by the farmland and the area of ​​its surrounding environment in the plane rectangular coordinate system, the edge of the farmland can be divided more intuitively, and by obtaining the edge of the farmland in the plane rectangular coordinate system, the edge of the farmland can be located, so that data sampling and analysis of the edge of the farmland of the actual farmland is performed in the subsequent processing process, thereby improving the accuracy of the collected data;

[0052] The present invention also collects farmland edge data based on the farmland edge using a soil screening method, adjusts the farmland edge based on the collection result, and finally records the adjusted farmland edge as the actual edge of the farmland. The farmland edge data is collected and adjusted in real time based on the actual edge of the farmland. The advantage of this is that by adjusting the farmland edge based on the collection result of the soil screening method, the farmland edge of the actual farmland can be prevented from changing due to climate and other reasons. By analyzing the actual edge of the adjusted farmland, it can be ensured that the data collection results can truly reflect the actual situation of the farmland edge, thereby preventing the collected data from deviating from the actual situation and affecting subsequent agricultural production decisions.

[0053] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 is a functional block diagram of the system of the present invention;

[0055] Figure 2 is a flow chart of the steps of the method of the present invention;

[0056] Figure 3 is a schematic diagram of a plane rectangular coordinate system of the present invention;

[0057] Figure 4 is a schematic diagram of a cell of the present invention;

[0058] Figure 5 Schematic diagram of the edge cell and the farmland cell of the present invention. DETAILED DESCRIPTION

[0059] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0060] Example 1, please refer to Figure 1 As shown, in the first aspect, the present application provides an intelligent farmland edge data acquisition system based on the Internet of Things, including a regional placement module, a farmland edge acquisition module, an edge adjustment module and a data acquisition module:

[0061] The area placement module is used to obtain the area occupied by the farmland and the surrounding environmental area, establish a plane rectangular coordinate system, and place the area occupied by the farmland and the surrounding environmental area in equal proportion in the plane rectangular coordinate system;

[0062] See also Figure 3 As shown, the area where EE1 is located is the area occupied by the farmland, and the area occupied by EE2 is the environmental area surrounding the farmland;

[0063] The farmland edge acquisition module is used to analyze the area occupied by the farmland in the plane rectangular coordinate system, and obtain the farmland edge using the cell screening method based on the analysis results;

[0064] The farmland edge acquisition module is configured with an edge initialization strategy, which includes: setting the unit of the X axis of the plane rectangular coordinate system to meters, and setting the unit of the Y axis of the plane rectangular coordinate system to meters;

[0065] In the specific implementation process, the standard unit length can be divided according to the actual area of ​​the farmland. When the actual area of ​​the farmland is large, the value of the standard unit length can be increased. In this embodiment, the standard unit length is set to 10m;

[0066] Set the unit lengths of the X-axis and Y-axis of the plane rectangular coordinate system to the standard unit length;

[0067] In the X-axis of the plane rectangular coordinate system, for any coordinate point X1 of the X-axis of the plane rectangular coordinate system, draw a straight line parallel to the Y-axis at the coordinate point X1; in the Y-axis of the plane rectangular coordinate system, for any coordinate point Y1 of the Y-axis of the plane rectangular coordinate system, draw a straight line parallel to the X-axis at the coordinate point Y1;

[0068] The smallest square obtained by dividing a plurality of straight lines in a plane rectangular coordinate system is recorded as a cell;

[0069] See also Figure 4As shown, the dotted square corresponding to EE3 is a cell;

[0070] Acquire the planning data of the farmland, divide the area occupied by the farmland in the plane rectangular coordinate system based on the planning data of the farmland, record the area occupied by the farmland as the farmland area; record the area occupied by the environment around the farmland as the adjacent area;

[0071] A first standard threshold is obtained using a threshold determination method based on existing farmland data;

[0072] Threshold determination methods include:

[0073] Acquire image data of multiple farmland edges and their surroundings in the existing farmland data, and record them as reference image data 1 to reference image data N in sequence, wherein the farmland edge is marked in the reference image data, and the farmland edge in the reference image data is recorded as the reference edge;

[0074] For any reference image data N1 among the reference image data 1 to the reference image data N, the reference image data N1 is placed in a plane rectangular coordinate system, and the cells occupied by the reference edge in the plane rectangular coordinate system are recorded as reference cells, and are recorded as reference cells 1 to reference cells M in sequence;

[0075] For any reference cell M1 among reference cells 1 to reference cells M, all cells in the eight neighborhoods of the reference cell M1 are sequentially recorded as reference analysis cells 1 to reference analysis cells 8, and a reference saturation value of the reference cell M1 is set, recorded as K1, where the initial value of the reference saturation value is 0;

[0076] When any one of the reference analysis cells 1 to 8 is completely in the area where the farmland is located, the value of K1 is added to the first reference coefficient; when any one of the reference analysis cells 1 to 8 is completely in the area where the surrounding environment of the farmland is located, the value of K1 is subtracted from the first reference coefficient;

[0077] In the specific implementation process, the first standard threshold can be obtained through the first reference coefficient. The influencing factors for determining the first standard threshold are only the first reference coefficient and the actual situation of the farmland. Therefore, the value of the first reference coefficient can be set according to actual needs. Different first reference coefficients can obtain different first standard thresholds. In this embodiment, the first reference coefficient is set to 1;

[0078] When the growth of crops in the actual farmland corresponding to the area where the farmland in the reference cell M1 is located is affected by the surrounding environment of the farmland, the calculated K1 is recorded as the impact reference threshold;

[0079] The average value of all influencing reference thresholds in the reference image data N1 is recorded as the influencing image threshold N1; the average value of the influencing image thresholds of all reference image data is recorded as the first standard threshold;

[0080] In the specific implementation process, in one detection, one of the reference analysis cells 1 to the reference analysis cells 8 is completely in the area where the farmland is located, and two reference analysis cells are completely in the area where the surrounding environment of the farmland is located, so the reference saturation value can be obtained by calculation to be -1;

[0081] The cell screening method is used to obtain the edge of the farmland in the plane rectangular coordinate system;

[0082] Cell screening methods include:

[0083] For any cell Z1 in the plane rectangular coordinate system, when the cell Z1 is completely in the farmland area, the cell Z1 is recorded as a farmland cell; when the cell Z1 is completely in the adjacent edge area, the cell Z1 is recorded as an adjacent edge cell;

[0084] When there are both farmland areas and adjacent edge areas in cell Z1, cell Z1 is recorded as an edge cell;

[0085] See also Figure 5 As shown, G1, G2, G4, G6, G7 and G8 are edge cells, and G3 and G5 are farmland cells;

[0086] All cells in the eight neighborhoods of the edge cell are recorded as cells to be analyzed 1 to cells to be analyzed 8 in sequence; the farmland saturation value of cell Z1 is set, recorded as J1, where the farmland saturation value is initially 0;

[0087] When any one of the cells to be analyzed from cells 1 to 8 is a farmland cell, the value of J1 is added with the first reference coefficient; when any one of the cells to be analyzed from cells 1 to 8 is an adjacent cell, the value of J1 is subtracted from the first reference coefficient;

[0088] When the calculated J1 is less than the first standard threshold, the cell Z1 and all the cells to be analyzed are recorded as farmland edge cells; when the calculated J1 is greater than or equal to the first standard threshold, the cell Z1, the farmland cells in all the cells to be analyzed, and the edge cells in all the cells to be analyzed are recorded as farmland edge cells;

[0089] In the specific implementation process, in one data collection, the first reference coefficient is 1, and the first standard threshold is -1 obtained by calculation. Among the cells to be analyzed 1 to 8, 2 cells to be analyzed are farmland cells, and among the cells to be analyzed 1 to 8, 0 cells to be analyzed are adjacent edge cells. Then, it can be obtained by calculation that J1 is 2, and J1 is greater than the first standard threshold. Therefore, cell Z1, the farmland cells among all the cells to be analyzed, and the edge cells among all the cells to be analyzed are recorded as farmland edge cells;

[0090] The area occupied by all farmland edge cells is recorded as farmland edge;

[0091] The edge adjustment module is used to collect farmland edge data based on the farmland edge using a soil screening method, and adjust the farmland edge based on the collection results;

[0092] The edge adjustment module is configured with an actual edge adjustment strategy, which includes:

[0093] The actual farmland soil data is collected using soil data screening method based on the farmland edge;

[0094] Soil data screening methods include:

[0095] The actual soil at the edge of the farmland is recorded as the soil to be screened, and soil sampling is performed at every standard sampling distance in the soil to be screened, and all sampling data are recorded in sequence as soil data 1 to soil data L;

[0096] In the specific implementation process, the standard collection distance can be determined according to the actual farmland area. When the farmland area is large, the value of the standard collection distance can be increased. In this embodiment, the standard collection distance is set to 5m;

[0097] When any soil data L1 among soil data 1 to soil data L does not meet the farmland soil standard, the cell corresponding to soil data L1 in the plane rectangular coordinate system is recorded as a deviation cell;

[0098] In the specific implementation process, the farmland soil standard can be adjusted according to the actual standard of the soil used in the farmland. Different soils have different farmland soil standards. When any data in the soil data does not meet the farmland soil standard, the cell corresponding to the soil data in the plane rectangular coordinate system should be recorded as a deviation cell;

[0099] When the deviation cell contains a farmland area, the farmland area in the deviation cell is adjusted to the adjacent area, and the farmland cell closest to the deviation cell is set as the edge cell;

[0100] Re-analyze all edge cells using the cell screening method and obtain the edge of the farmland;

[0101] In the specific implementation process, after adjusting the adjacent area and edge cells, the cell screening method is used again to obtain the edge of the farmland, so that the obtained edge of the farmland can be more consistent with the actual edge of the farmland, so that the soil conditions at the edge of the farmland can be better reflected during data collection;

[0102] The data collection module is used to record the adjusted farmland edge as the actual edge of the farmland, and collect and adjust the farmland edge data in real time based on the actual edge of the farmland;

[0103] The data acquisition module is configured with an edge-determined acquisition strategy, which includes:

[0104] When the edge of a farmland is analyzed using the soil data screening method and all soil data meet the farmland soil standards, the edge of the farmland at this time is recorded as the actual edge of the farmland;

[0105] When collecting farmland edge data, the actual soil corresponding to the actual edge of the farmland is collected and the farmland edge is adjusted in real time based on the collection results.

[0106] Example 2, please refer to Figure 2 As shown, in the second aspect, the present invention provides an intelligent farmland edge data collection method based on the Internet of Things, including: step S1, obtaining the area occupied by the farmland and the surrounding environmental area, establishing a plane rectangular coordinate system, and placing the area occupied by the farmland and the surrounding environmental area in equal proportions in the plane rectangular coordinate system.

[0107] Step S2, analyzing the area occupied by the farmland in the plane rectangular coordinate system, and obtaining the edge of the farmland using a cell screening method based on the analysis result;

[0108] Step S2 includes the following sub-steps: Step S201, setting the unit of the X-axis of the plane rectangular coordinate system to meters, and setting the unit of the Y-axis of the plane rectangular coordinate system to meters;

[0109] Set the unit lengths of the X-axis and Y-axis of the plane rectangular coordinate system to the standard unit length;

[0110] Step S202, in the X-axis of the plane rectangular coordinate system, for any coordinate point X1 of the X-axis of the plane rectangular coordinate system, draw a straight line parallel to the Y-axis at the coordinate point X1; in the Y-axis of the plane rectangular coordinate system, for any coordinate point Y1 of the Y-axis of the plane rectangular coordinate system, draw a straight line parallel to the X-axis at the coordinate point Y1;

[0111] The smallest square obtained by dividing a plurality of straight lines in a plane rectangular coordinate system is recorded as a cell;

[0112] Step S203, obtaining the planning data of the farmland, dividing the area occupied by the farmland in the plane rectangular coordinate system based on the planning data of the farmland, recording the area occupied by the farmland as the farmland area; recording the area occupied by the environment around the farmland as the adjacent area;

[0113] Step S204, obtaining a first standard threshold using a threshold determination method based on existing farmland data;

[0114] The threshold determination method includes: obtaining image data of a plurality of farmland edges and their surroundings in the existing farmland data, which are sequentially recorded as reference image data 1 to reference image data N, wherein the farmland edge is marked in the reference image data, and the farmland edge in the reference image data is recorded as the reference edge;

[0115] For any reference image data N1 among the reference image data 1 to the reference image data N, the reference image data N1 is placed in a plane rectangular coordinate system, and the cells occupied by the reference edge in the plane rectangular coordinate system are recorded as reference cells, and are recorded as reference cells 1 to reference cells M in sequence;

[0116] For any reference cell M1 among reference cells 1 to reference cells M, all cells in the eight neighborhoods of the reference cell M1 are sequentially recorded as reference analysis cells 1 to reference analysis cells 8, and a reference saturation value of the reference cell M1 is set, recorded as K1, where the initial value of the reference saturation value is 0;

[0117] When any one of the reference analysis cells 1 to 8 is completely in the area where the farmland is located, the value of K1 is added to the first reference coefficient; when any one of the reference analysis cells 1 to 8 is completely in the area where the surrounding environment of the farmland is located, the value of K1 is subtracted from the first reference coefficient;

[0118] When the growth of crops in the actual farmland corresponding to the area where the farmland in the reference cell M1 is located is affected by the surrounding environment of the farmland, the calculated K1 is recorded as the impact reference threshold;

[0119] The average value of all influencing reference thresholds in the reference image data N1 is recorded as the influencing image threshold N1; the average value of the influencing image thresholds of all reference image data is recorded as the first standard threshold.

[0120] Step S205, using a cell screening method to obtain the edge of the farmland in a plane rectangular coordinate system;

[0121] The cell screening method includes: for any cell Z1 in the plane rectangular coordinate system, when the cell Z1 is completely in the farmland area, the cell Z1 is recorded as a farmland cell; when the cell Z1 is completely in the adjacent edge area, the cell Z1 is recorded as an adjacent edge cell;

[0122] When there are both farmland areas and adjacent edge areas in cell Z1, cell Z1 is recorded as an edge cell;

[0123] All cells in the eight neighborhoods of the edge cell are recorded as cells to be analyzed 1 to cells to be analyzed 8 in sequence; the farmland saturation value of cell Z1 is set, recorded as J1, where the farmland saturation value is initially 0;

[0124] When any one of the cells to be analyzed from cells 1 to 8 is a farmland cell, the value of J1 is added with the first reference coefficient; when any one of the cells to be analyzed from cells 1 to 8 is an adjacent cell, the value of J1 is subtracted from the first reference coefficient;

[0125] When the calculated J1 is less than the first standard threshold, the cell Z1 and all the cells to be analyzed are recorded as farmland edge cells; when the calculated J1 is greater than or equal to the first standard threshold, the cell Z1, the farmland cells in all the cells to be analyzed, and the edge cells in all the cells to be analyzed are recorded as farmland edge cells;

[0126] The area occupied by all farmland edge cells is recorded as the farmland edge.

[0127] Step S3, collecting farmland edge data based on the farmland edge using a soil screening method, and adjusting the farmland edge based on the collected results;

[0128] Step S3 includes the following sub-steps: Step S301, collecting actual farmland soil data using a soil data screening method based on the farmland edge;

[0129] The soil data screening method includes: recording the actual soil occupied by the edge of the farmland as the soil to be screened, sampling the soil at every standard sampling distance in the soil to be screened, and recording all the sampling data in sequence as soil data 1 to soil data L;

[0130] When any soil data L1 among soil data 1 to soil data L does not meet the farmland soil standard, the cell corresponding to soil data L1 in the plane rectangular coordinate system is recorded as a deviation cell;

[0131] Step S302, adjusting the edge of the farmland based on the collection results of the soil data screening method;

[0132] When the deviation cell contains a farmland area, the farmland area in the deviation cell is adjusted to the adjacent area, and the farmland cell closest to the deviation cell is set as the edge cell;

[0133] All edge cells were reanalyzed using the cell screening method and the edge of the farmland was obtained.

[0134] Step S4, recording the adjusted farmland edge as the actual edge of the farmland, and collecting and adjusting the farmland edge data in real time based on the actual edge of the farmland.

[0135] Step S4 includes: when the edge of the farmland is analyzed using the soil data screening method and all soil data meet the farmland soil standard, the edge of the farmland at this time is recorded as the actual edge of the farmland;

[0136] When collecting farmland edge data, the actual soil corresponding to the actual edge of the farmland is collected and the farmland edge is adjusted in real time based on the collection results.

[0137] Embodiment 3, in the third aspect, the present application provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above method are executed. Through the above technical solution, when the computer program is executed by the processor, the method in any optional implementation of the above embodiment is executed to achieve the following functions: by establishing a digital model of the oil and gas production area, the storage data and the production data in the oil and gas production area are monitored and updated, and then by establishing an oil and gas production cycle model, the production parameters are preset according to the basic information of the oil and gas field, and finally the processing results of the digital model of the oil and gas production area and the oil and gas production cycle model are sent to the staff, reminding the staff to adjust the production process of oil and gas production in a timely manner based on the processing results.

[0138] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0139] It should be understood by those skilled in the art that the embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program codes. Among them, the storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0140] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

Claims

1. A smart farmland edge data collection method based on the Internet of Things, characterized in that: include: Obtain the area occupied by the farmland and the surrounding environmental area, establish a plane rectangular coordinate system, and place the area occupied by the farmland and the surrounding environmental area in the plane rectangular coordinate system in equal proportions; The area occupied by the farmland in the plane rectangular coordinate system is analyzed, and the edge of the farmland is obtained using the cell screening method based on the analysis results; Acquire the planning data of the farmland, divide the area occupied by the farmland in the plane rectangular coordinate system based on the planning data of the farmland, and record the area occupied by the farmland as the farmland area; The area occupied by the environment surrounding the farmland is recorded as the adjacent area; A first standard threshold is obtained using a threshold determination method based on existing farmland data; The analysis of the area occupied by farmland in the plane rectangular coordinate system includes: Set the unit of the X-axis of the plane rectangular coordinate system to meters, and set the unit of the Y-axis of the plane rectangular coordinate system to meters; Set the unit lengths of the X-axis and Y-axis of the plane rectangular coordinate system to the standard unit length; In the X-axis of the plane rectangular coordinate system, for any coordinate point X1 of the X-axis of the plane rectangular coordinate system, draw a straight line parallel to the Y-axis at the coordinate point X1; in the Y-axis of the plane rectangular coordinate system, for any coordinate point Y1 of the Y-axis of the plane rectangular coordinate system, draw a straight line parallel to the X-axis at the coordinate point Y1; The smallest square obtained by dividing a plurality of straight lines in the plane rectangular coordinate system is recorded as a cell; for any cell Z1 in the plane rectangular coordinate system, when the cell Z1 is completely in the farmland area, the cell Z1 is recorded as a farmland cell, and when the cell Z1 is completely in the adjacent edge area, the cell Z1 is recorded as an adjacent edge cell; When there are both farmland areas and adjacent edge areas in cell Z1, cell Z1 is recorded as an edge cell; Based on the edge of the farmland, the farmland edge data is collected using the soil screening method, and the farmland edge is adjusted based on the collection results; the soil data screening method includes: The actual soil at the edge of the farmland is recorded as the soil to be screened, and soil sampling is performed at every standard sampling distance in the soil to be screened, and all sampling data are recorded in sequence as soil data 1 to soil data L; When any soil data L1 among soil data 1 to soil data L does not meet the farmland soil standard, the cell corresponding to soil data L1 in the plane rectangular coordinate system is recorded as a deviation cell; Adjustments to the field margin based on the results of the soil data screening method include: When the deviation cell contains a farmland area, the farmland area in the deviation cell is adjusted to the adjacent area, and the farmland cell closest to the deviation cell is set as the edge cell; Re-analyze all edge cells using the cell screening method and obtain the edge of the farmland; The adjusted farmland edge is recorded as the actual edge of the farmland, and the farmland edge data is collected and adjusted in real time based on the actual edge of the farmland; Threshold determination methods include: Acquire image data of multiple farmland edges and their surroundings in the existing farmland data, and record them as reference image data 1 to reference image data N in sequence, wherein the farmland edge is marked in the reference image data, and the farmland edge in the reference image data is recorded as the reference edge; For any reference image data N1 among the reference image data 1 to the reference image data N, the reference image data N1 is placed in a plane rectangular coordinate system, and the cells occupied by the reference edge in the plane rectangular coordinate system are recorded as reference cells, and are recorded as reference cells 1 to reference cells M in sequence; For any reference cell M1 among reference cells 1 to reference cells M, all cells in the eight neighborhoods of the reference cell M1 are sequentially recorded as reference analysis cells 1 to reference analysis cells 8, and a reference saturation value of the reference cell M1 is set, recorded as K1, where the initial value of the reference saturation value is 0; When any one of the reference analysis cells 1 to 8 is completely in the area where the farmland is located, the value of K1 is added to the first reference coefficient; when any one of the reference analysis cells 1 to 8 is completely in the area where the surrounding environment of the farmland is located, the value of K1 is subtracted from the first reference coefficient; When the growth of crops in the actual farmland corresponding to the area where the farmland in the reference cell M1 is located is affected by the surrounding environment of the farmland, the calculated K1 is recorded as the impact reference threshold; The average value of all influencing reference thresholds in the reference image data N1 is recorded as the influencing image threshold N1; the average value of the influencing image thresholds of all reference image data is recorded as the first standard threshold.

2. The method for collecting data on the edge of smart farmland based on the Internet of Things according to claim 1, characterized in that: Cell screening methods include: All cells in the eight neighborhoods of the edge cell are recorded as cells to be analyzed 1 to cells to be analyzed 8 in sequence; the farmland saturation value of cell Z1 is set, recorded as J1, where the farmland saturation value is initially 0; When any one of the cells to be analyzed from cells 1 to 8 is a farmland cell, the value of J1 is added with the first reference coefficient; when any one of the cells to be analyzed from cells 1 to 8 is an adjacent cell, the value of J1 is subtracted from the first reference coefficient; When the calculated J1 is less than the first standard threshold, the cell Z1 and all the cells to be analyzed are recorded as farmland edge cells; when the calculated J1 is greater than or equal to the first standard threshold, the cell Z1, the farmland cells in all the cells to be analyzed, and the edge cells in all the cells to be analyzed are recorded as farmland edge cells; The area occupied by all farmland edge cells is recorded as the farmland edge.

3. The method for collecting data on the edge of smart farmland based on the Internet of Things according to claim 2 is characterized in that: The farmland edge data is collected using the soil screening method based on the farmland edge. The farmland edge is adjusted based on the collection results, including: The actual farmland soil data is collected using soil data screening method based on the farmland edge; Adjust the edge of the farmland based on the collection results of the soil data screening method.

4. The method for collecting data on the edge of smart farmland based on the Internet of Things according to claim 3 is characterized in that: The adjusted farmland edge is recorded as the actual edge of the farmland. The farmland edge data is collected and adjusted in real time based on the actual edge of the farmland, including: When the edge of a farmland is analyzed using the soil data screening method and all soil data meet the farmland soil standards, the edge of the farmland at this time is recorded as the actual edge of the farmland; When collecting farmland edge data, the actual soil corresponding to the actual edge of the farmland is collected and the farmland edge is adjusted in real time based on the collection results.

5. An intelligent farmland edge data collection system based on the Internet of Things, implemented based on the intelligent farmland edge data collection method based on the Internet of Things according to any one of claims 1 to 4, characterized in that: It includes area placement module, farmland edge acquisition module, edge adjustment module and data collection module: The area placement module is used to obtain the area occupied by the farmland and the surrounding environmental area, establish a plane rectangular coordinate system, and place the area occupied by the farmland and the surrounding environmental area in equal proportion in the plane rectangular coordinate system; The farmland edge acquisition module is used to analyze the area occupied by the farmland in the plane rectangular coordinate system, and obtain the farmland edge using the cell screening method based on the analysis results; The edge adjustment module is used to collect farmland edge data based on the farmland edge using a soil screening method, and adjust the farmland edge based on the collection results; The data collection module is used to record the adjusted farmland edge as the actual edge of the farmland, and collect and adjust the farmland edge data in real time based on the actual edge of the farmland.

6. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are executed.

Citation Information

Patent Citations

  • Mobile farmland intelligent data acquisition system and method

    CN101917666A

  • Cultivated land soil environment quality zoning method and system

    CN114998746A

  • Method and system for extracting land parcel information by using RPA technology

    CN117609410A