Method and device for determining operation plot of agricultural machine
Through GIS, the agricultural machinery trajectory points are buffered and the effective trajectory points are identified, which solves the problems of low efficiency and poor accuracy in obtaining agricultural machinery operation land information in the existing technology, and realizes the need for intelligent farm management.
Patent Information
- Application Number
- CN202411117975.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-12-13
AI Technical Summary
The existing methods are inefficient and have poor accuracy, making it difficult to accurately obtain agricultural machinery operation plot information by manually drawing agricultural machinery trajectories, and cannot meet the needs of intelligent farm management.
The geographical information system (GIS) is used to buffer the agricultural machinery trajectory points. By determining the specific buffer distance and buffer zone, the effective trajectory points are identified, thereby extracting the information of the agricultural machinery operation plot.
It has achieved accurate acquisition of agricultural machinery operation land information without manual participation, improved agricultural production efficiency and data analysis accuracy, and met the needs of intelligent farm management.
Smart Images

Figure CN119128030A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic digital data processing, and more specifically, to a method and device for determining a plot of land for agricultural machinery operation. Background Art
[0002] With the continuous advancement of agricultural technology and the increasing level of agricultural mechanization, the role of intelligent farm management in agricultural production is becoming more and more important. As the basic unit for agricultural machinery to carry out farmland operations, the accurate acquisition and effective use of the information of the operation plot is of great significance for strengthening farm operation management, improving agricultural production efficiency, and ensuring crop yield and quality.
[0003] However, at present, it is usually necessary to rely on farm workers to monitor on-site and manually draw the trajectories of agricultural machinery operations, and then analyze the agricultural machinery operation plots based on the trajectories of agricultural machinery. This method is inefficient and has poor accuracy, and it is difficult to meet the needs of intelligent farm management. Summary of the invention
[0004] The present application provides a method and device for determining an agricultural machinery operation plot. Through a geographic information system (GIS), the trajectory lines formed by agricultural machinery trajectory points are buffered in a specific manner to identify valid trajectory points. These valid trajectory points are located in the agricultural machinery operation plots, so that the agricultural machinery operation plots can be extracted based on these valid trajectory points, so as to analyze and obtain information about the operation plots, thereby meeting the needs of intelligent farm management.
[0005] In a first aspect, a method for determining an agricultural machinery operation plot is provided, which is applied to GIS, and the method includes: obtaining N trajectory points of a first agricultural machinery in a first area, where N is greater than 1; connecting the N trajectory points in sequence to determine a first trajectory line, where the first trajectory line includes a driving trajectory and an operation trajectory, where the driving trajectory is the trajectory of the first agricultural machinery in the process of going to the operation plot and / or returning from the operation plot, and the operation trajectory is the trajectory of the first agricultural machinery in the process of farming in the operation plot; buffering the first trajectory line based on a first buffer distance to determine a first buffer zone, where the first buffer distance is greater than or equal to the width of the first agricultural machinery; buffering the first trajectory line based on a second buffer distance to determine a first buffer zone, where the first buffer distance is greater than or equal to the width of the first agricultural machinery; The buffer zone is buffered to determine a second buffer zone. When the driving trajectory is the trajectory of the first agricultural machinery going to the work plot or returning from the work plot, the absolute value of the second buffer distance is greater than the first buffer distance. Alternatively, when the driving trajectory is the trajectory of the first agricultural machinery going to the work plot or returning from the work plot, the absolute value of the second buffer distance is greater than 2 times the first buffer distance. The second buffer zone is buffered based on the third buffer distance to determine a third buffer zone. The sum of the first buffer distance, the second buffer distance and the third buffer distance is equal to 0.5 times the width of the first agricultural machinery. The third buffer zone is used to represent the work plot.
[0006] In combination with the first aspect, in certain implementations of the first aspect, the only agricultural machine working in the first area is the first agricultural machine, N trajectory points are respectively associated with time, and according to the times corresponding to the N trajectory points, the N trajectory points are connected in chronological order to determine the first trajectory line.
[0007] In combination with the first aspect, in certain implementations of the first aspect, there are multiple agricultural machines including the first agricultural machine working in the first area, N trajectory points are respectively associated with the time and the identification of the first agricultural machine, and N trajectory points associated with the identification of the first agricultural machine are obtained; according to the time corresponding to the N trajectory points, the N trajectory points are connected in chronological order to determine the first trajectory line.
[0008] In combination with the first aspect, in certain implementations of the first aspect, the area of the work plot is determined based on geometric parameters of the third buffer zone.
[0009] In a second aspect, a device for determining a plot of land for agricultural machinery operation is provided, including a method for executing any possible implementation of the method design of the first aspect described above.
[0010] In a third aspect, a GIS is provided, comprising a processor and a memory, wherein the processor and the memory are connected, wherein the memory is used to store program code, and the processor is used to call the program code to execute a method in any possible implementation of the method design of the first aspect above.
[0011] In a fourth aspect, a computer-readable storage medium is provided, storing a computer program, wherein the computer program is executed by a processor to implement the method in any possible implementation manner in the method design of the first aspect.
[0012] In a fifth aspect, a computer program product is provided, comprising instructions, which, when executed by a processor, enable a computer to execute a method in any possible implementation of the method design of the first aspect.
[0013] Based on the above technical solution, GIS is used to extract the trajectory line of the first agricultural machinery in the first area, and the trajectory line is buffered and expanded according to a specific buffer distance to determine a buffer zone including non-operating trajectories and operating trajectories. Then, according to the specific buffer distance, the buffer zone is successively contracted and expanded to erase the buffer portion corresponding to the non-operating trajectory in the buffer zone, and the remaining buffer portion is the operating plot corresponding to the first agricultural machinery, thereby realizing the function of GIS to extract the operating plot of agricultural machinery through the agricultural machinery trajectory points, so that the relevant information of the operating plot can be applied to the analysis and statistics of agricultural data, thereby meeting the needs of intelligent farm management. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 is a schematic diagram of the architecture of a GIS 100 applicable to an embodiment of the present application;
[0015] Figure 2 It is a flowchart of a method 200 for determining a plot for agricultural machinery operation proposed in an embodiment of the present application;
[0016] Figure 3 is a schematic diagram of a first image proposed in an embodiment of the present application;
[0017] Figure 4 is a schematic diagram of a first trajectory line proposed in an embodiment of the present application;
[0018] Figure 5 It is a schematic diagram of the agricultural machinery operation plot used in the experiment;
[0019] Figure 6 This is a partial schematic diagram of a first buffer zone proposed in an embodiment of the present application;
[0020] Figure 7 is a schematic diagram of a second buffer zone proposed in an embodiment of the present application;
[0021] Figure 8 is a schematic diagram of a third buffer zone proposed in an embodiment of the present application;
[0022] Fig. 9is a flowchart of a method 900 for determining a buffer distance proposed in an embodiment of the present application;
[0023] Fig.10 It is a schematic block diagram of a device 1000 for determining a plot of land for agricultural machinery operation provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0025] The embodiments of the present application will present various aspects, embodiments or features around a system including multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all devices, components, modules, etc. discussed in conjunction with the figures. In addition, combinations of these schemes may also be used.
[0026] In addition, in the embodiments of the present application, words such as "exemplary" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.
[0027] The business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of technology and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0028] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0029] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can be expressed as follows: including the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be expressed as: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0030] With the continuous advancement of agricultural technology and the increasing level of agricultural mechanization, the role of intelligent farm management in agricultural production is becoming more and more important. As the basic unit for agricultural machinery to carry out farmland operations, the accurate acquisition and effective use of the operation plot of agricultural machinery is of great significance to improving agricultural production efficiency, ensuring food security and promoting sustainable agricultural development. Accurately acquiring and effectively using the information of the operation plot is of great significance to strengthening farm operation management, improving agricultural production efficiency and promoting sustainable agricultural development.
[0031] The importance of obtaining information on agricultural machinery operation plots is first reflected in the strengthening of farm operation management. By accurately obtaining information on agricultural machinery operation plots, the distribution of farm crop planting plots and the workload of agricultural machinery in a specified period of time can be determined, so as to facilitate statistics on the overall crop planting area or agricultural machinery workload of the farm. Both of these statistical data are important data involved in intelligent farm management.
[0032] By accurately obtaining information about the plots where agricultural machinery is operating, it is also possible to rationally plan the operating paths and operating times of agricultural machinery, reduce the idle time and ineffective operating time of agricultural machinery in the farmland, and thus improve the operating efficiency of agricultural machinery. In addition, obtaining accurate information about the plots where agricultural machinery is operating can also help achieve precise operation of agricultural machinery and further improve agricultural production efficiency.
[0033] By accurately obtaining information about the plots where agricultural machinery is operating, we can also accurately grasp key information such as the planting area and distribution of farmland, providing a scientific basis for agricultural production. For example, based on the information about the plots where agricultural machinery is operating, we can analyze the rationality of farmland distribution and optimize the allocation of farmland resources, thus helping to increase grain production and quality.
[0034] However, the current method for farms to obtain agricultural machinery operation plots usually relies on farm staff to monitor on-site and manually draw the trajectories of agricultural machinery operations, and then analyze the agricultural machinery operation plots based on the agricultural machinery trajectories. This method is inefficient and has poor accuracy, and it is difficult to meet the needs of intelligent farm management.
[0035] As a system for acquiring spatial information, GIS is a computer system used to input, store, query, analyze and display geographic data. It combines the principles and methods of multiple disciplines such as geography, cartography, information science and computer science to describe and analyze the real world in a digital way.
[0036] Figure 1 The schematic diagram is a schematic diagram of the architecture of GIS 100 applicable to the embodiment of the present application.
[0037] refer to Figure 1 As shown, GIS 100 may include: computer hardware and system software, database system, database management system and application personnel.
[0038] Among them, computer hardware and system software are the basis for the development and application of GIS. Computer hardware includes computers, printers, plotters, digitizers and scanners, etc. System software mainly refers to the operating system.
[0039] The database system is used to store data. The database system includes a geometry database and an attribute database, and these two databases can also be merged into one database, that is, attribute data (for example, time, location data) can be associated with geometry data (for example, point, line, and surface data).
[0040] Database management system is the core of GIS and can be used to complete the input, processing, management, analysis and output of geographic data.
[0041] Application personnel refer to technical personnel who are familiar with GIS and can implement corresponding functional applications and functional development based on GIS.
[0042] Although the track points of agricultural machinery can be obtained through GIS, usually, these track points include both the track points of agricultural machinery in the working plot and the track points of agricultural machinery in the non-working plot (such as the road to the working plot). Since the purpose is to obtain the working plot of agricultural machinery, the track points in the non-working plot can be considered as invalid track points, and the track points in the working plot can be considered as valid track points. However, for the GIS system, it is impossible to directly distinguish between invalid track points and valid track points. In order to extract the working plot based on the track points of agricultural machinery, the above-mentioned invalid track points need to be eliminated from all the acquired track points. However, in the prior art, there is no technical solution for determining the working plot of agricultural machinery based on eliminating invalid track points from the acquired agricultural machinery track points.
[0043] In view of this, the embodiment of the present application proposes to apply GIS to the scenario of intelligent agricultural management, monitor the driving trajectory points of agricultural machinery through GIS, and process and analyze the agricultural machinery trajectory points based on GIS to finally determine the operating area of the agricultural machinery.
[0044] Figure 2 2 is a flow chart of a method 200 for determining a plot of agricultural machinery operation proposed in an embodiment of the present application. The method 200 is applied to GIS and includes the following steps:
[0045] S210: Acquire N trajectory points of the first agricultural machine in the first area.
[0046] In some possible embodiments, the above-mentioned trajectory points may be the longitude and latitude coordinates corresponding to the location of the first agricultural machinery.
[0047] S220: Connect N trajectory points in sequence to determine a first trajectory line, which includes a driving trajectory and an operating trajectory, wherein the driving trajectory is the trajectory of the first agricultural machinery in the process of going to the operating plot and / or returning from the operating plot (also called a non-operating trajectory), and the operating trajectory is the trajectory of the first agricultural machinery in the process of farming in the operating plot (also called an operating trajectory).
[0048] In some possible embodiments, in order to clearly display the first trajectory line to the user, the first trajectory line may be overlaid on the first image used to represent the first area. The specific operation is as follows: determining a first scale relationship between the first image and the actual first area, reducing the first trajectory line according to the first scale relationship, and overlaying the reduced first trajectory line on the corresponding position of the first image.
[0049] The first image is usually a vector image. For example, the first image may be in a format such as CDR, SVG, EPS, etc.
[0050] In addition, the first image may be in other image file formats, such as PNG, GIF, RAW, BMP or JPEG.
[0051] In some possible embodiments, the first image may include only the first trajectory line, or may include the first area where the first agricultural machine travels.
[0052] For ease of understanding, the following description will be given by taking the first image as an image file including the first area and the first trajectory line as an example.
[0053] Figure 3 It is a schematic diagram of a first image proposed in an embodiment of the present application.
[0054] refer to Figure 3 As shown, the first image may be a bird's-eye view of the first area, and N track points left by the first agricultural machine moving in the first area are marked on the bird's-eye view.
[0055] In some possible embodiments, the first image may be presented in the form of non-picture data. For example, the first image may be a raster image, wherein a plurality of raster data used to constitute the raster image may be composed of a pixel grid, and each pixel corresponds to a specific attribute value and category.
[0056] Alternatively, the first image may be a vector diagram, and the geographic features (e.g., points, lines, and surfaces) of each plot in the first area may be represented by the vertices corresponding to each plot and the paths between the vertices, so that GIS can perform accurate geographic analysis and spatial query on the first area.
[0057] Figure 4 It is a schematic diagram of the first trajectory line proposed in the embodiment of the present application.
[0058] In some possible embodiments, if there are multiple agricultural machines including the first agricultural machine, such as the first agricultural machine, the second agricultural machine, etc., working in the first area, and GIS can be associated with multiple agricultural machines at the same time, so as to realize the monitoring of the trajectory points of multiple agricultural machines, then each agricultural machine can correspond to a group of trajectory points, and the above N trajectory points are only a part of the trajectory points corresponding to all agricultural machines, then the N trajectory points can be respectively associated with the time and the identifier of the first agricultural machine, then the above S220 can be expanded to the following operations: obtain N trajectory points associated with the identifier of the first agricultural machine; according to the time corresponding to the N trajectory points, connect the N trajectory points in time order to determine the first trajectory line, and the first trajectory line can be as mentioned above Figure 4 Based on this solution, it is possible to avoid confusing multiple agricultural machinery trajectory points in the first area, thereby accurately obtaining trajectory lines corresponding to multiple agricultural machinery.
[0059] In some possible embodiments, the identification of the first agricultural machine may be a factory serial number of the first agricultural machine, or a unique identification code configured after being associated with the GIS.
[0060] In some possible embodiments, if the first agricultural machine is the only agricultural machine working in the first area, the GIS only needs to be associated with the first agricultural machine to monitor the track points of the first agricultural machine. Then the N track points can be associated only with time, thereby reducing the data overhead of the GIS. Then the above S220 can be expanded to the following operations: according to the time corresponding to the N track points, the N track points are connected in time order to determine the first track line, which can be as described above. Figure 4 The trajectory line shown.
[0061] In some possible embodiments, if there are multiple agricultural machines including the first agricultural machine working in the first area, GIS can open corresponding threads for each agricultural machine separately, and the multiple threads independently obtain the trajectory points of the corresponding agricultural machine. Each thread connects the multiple trajectory points in chronological order according to the time corresponding to the multiple trajectory points, thereby determining multiple trajectory lines.
[0062] S230: Buffering the first trajectory line based on a first buffer distance to determine a first buffer zone, where the first buffer distance is greater than or equal to a width of the first agricultural machine.
[0063] It should be understood that the buffering process of GIS is a spatial analysis technology, which is mainly used to determine other geographical elements within a certain distance range around a certain geographical element (such as a point, line, or surface). In the process of the buffering process, the buffer distance is a key parameter, which defines the size of the buffer zone formed by the geographical element. Among them, the buffer distance refers to the distance extended outward or inward from the geographical element (the boundary of the point, line, or surface), which is used to create a buffer polygon entity of a certain width. In the process of the buffering process, the buffer distance can be fixed or can be based on the change of the attribute value of the geographical element. For example, after the first agricultural machine runs to a certain track point, the agricultural implement is temporarily replaced, causing the width of the first agricultural machine to change. Then, for the track line formed by the N track points after the track point, the updated buffer distance is used for buffering. It can also be seen from this that the width of the first agricultural machine mentioned in the embodiment of the present application actually refers to the width of the agricultural implement mounted on the first agricultural machine.
[0064] It can be seen that the first buffer distance is greater than 0, so the buffer processing of the first trajectory line in S230 is specifically to expand the first trajectory line outward based on the first buffer distance to determine the first buffer zone, and the buffer processing is also called buffer expansion processing.
[0065] It should be understood that, considering that under normal circumstances, the above-mentioned first trajectory line can include both the working trajectory of the agricultural machinery in the working plot (corresponding to the valid trajectory point), and can also include the trajectory of the agricultural machinery traveling on the road to or from the working plot (corresponding to the invalid trajectory point). Accordingly, the above-mentioned first buffer zone can also include a buffer zone for representing the non-working plot of the first agricultural machinery and a buffer zone for representing the working plot of the first agricultural machinery. It can be seen that among all the trajectory points of the first agricultural machinery obtained, both valid trajectory points and invalid trajectory points can be included. In order to obtain the working plot of the first agricultural machinery, it is necessary to remove the invalid trajectory points from all the trajectory points and retain the valid trajectory points. In other words, remove the buffer zone in the first buffer zone for representing the non-working plot of the first agricultural machinery. Therefore, the first buffer zone needs to be operated as follows.
[0066] S240: Buffering the first buffer zone based on the second buffer distance to determine the second buffer zone, where, when the driving trajectory is the trajectory of the first agricultural machinery going to the work site or returning from the work site, the absolute value of the second buffer distance is greater than the first buffer distance; or, when the driving trajectory is the trajectory of the first agricultural machinery going to the work site or returning from the work site, the absolute value of the second buffer distance is greater than 2 times the first buffer distance.
[0067] It should be understood that, since the second buffer distance is less than 0, the buffer processing of the first buffer in S240 is specifically to shrink the first buffer inward based on the second buffer distance to determine the second buffer. This buffer processing is also called buffer shrinkage processing.
[0068] S250: Buffering the second buffer zone based on the third buffer distance to determine a third buffer zone, wherein the sum of the first buffer distance, the second buffer distance and the third buffer distance is equal to 0.5 times the width of the first agricultural machinery, and the third buffer zone is used to represent the working plot.
[0069] It should be understood that since the agricultural machinery trajectory points obtained based on GIS are usually located on the center line of the agricultural implements mounted on the agricultural machinery, the outermost circle trajectory points corresponding to the agricultural machinery operation plot are used as the edge of the operation plot. In fact, the area covered by the outer half (0.5 times) of the width of the agricultural implements on the outside of the agricultural machinery corresponding to the outermost circle trajectory points is missed. In order to make the geometric parameters of the third buffer zone finally processed consistent with the geometric parameters of the actual agricultural machinery operation plot, the relationship between the above-mentioned buffer distances needs to be satisfied.
[0070] In some possible embodiments, the first buffer zone, the second buffer zone, and the third buffer zone mentioned in the embodiments of the present application may be represented by a space vector, or by a set of longitude and latitude coordinates of the edge points of the region, etc.
[0071] For ease of understanding, the execution process of the above method 200 proposed in the embodiment of the present application is further explained below through a specific experimental example.
[0072] Figure 5 This is a schematic diagram of the agricultural machinery operation plot used in the experiment.
[0073] Before executing the method 200, firstly, a map measuring tool is used to measure the operation track of the first agricultural machine according to the above Figure 3 or Figure 4 As shown in the example, determine Figure 5 The area of the working plot of the first agricultural machine shown (i.e. Figure 5 The plot area or cumulative area) is 75.06 acres.
[0074] Then, based on the method 200 proposed in the embodiment of the present application, N trajectory points of the first agricultural machine during the entire operation process are obtained, and the first trajectory line is determined according to the N trajectory points, as described above. Figure 3 or Figure 4 shown.
[0075] Then the first buffering process of the entire first trajectory line is performed. The first buffering distance is set to twice the width of the agricultural implements mounted on the first agricultural machinery to obtain the first buffer zone, and the buffering process result (the area of the first buffer zone) is 536.32 acres.
[0076] Figure 6 This is a partial schematic diagram of a first buffer zone proposed in an embodiment of the present application.
[0077] In order to more clearly present the effect of GIS buffering the first trajectory line, the embodiment of the present application selects a part of the first buffer zone, and the first buffer zone includes two parts, one part is the buffer zone obtained after buffering the trajectory line formed by the first agricultural machinery in the process of farming, and the other part is the buffer zone obtained after buffering the trajectory line formed by the first agricultural machinery in the process of going to the working area and / or returning from the working area.
[0078] refer to Figure 6 As shown, since the trajectory of the first agricultural machine shuttles through the working plot during the farming process, the trajectory within the working plot is buffered, and the sides of the strip polygons expanded by the trajectory are connected or stacked in sequence, so that the working plot appears as a polygonal buffer zone.
[0079] After the first trajectory line is buffered, the non-operating trajectory line corresponding to the first agricultural machinery on the way to the work plot or returning from the work plot will not be like the corresponding trajectory line in the work plot, where more than three trajectory lines are stacked in sequence after buffering. At most, when the first agricultural machinery travels back and forth to the work plot, two strip polygons formed by the two trajectory lines on the way back and forth after buffering are stacked on each other to form a narrow buffer zone.
[0080] It should be understood that since the first buffer zone includes the track line of the first agricultural machinery non-operating plot, the area of the first buffer zone (536.32 mu) is much larger than Figure 5 The area of the working plot shown (75.06 acres).
[0081] Since the first buffer zone includes the non-working land of the first agricultural machinery, the entire first buffer zone needs to be buffered for the second time. Since the first agricultural machinery travels to the working land in a one-way manner, the second buffer distance is set to 3.5 times the width of the agricultural implements mounted on the first agricultural machinery, and it is a negative number to obtain the second buffer zone. The buffering result (the area of the second buffer zone) is 56.67 acres.
[0082] Figure 7 It is a schematic diagram of a second buffer zone proposed in an embodiment of the present application.
[0083] It should be understood that since the second buffering process is based on the buffering process of the first buffer area, the buffering process starts from the edge line of the entire first buffer area and performs buffering shrinkage process toward the inside.
[0084] Since the absolute value of the second buffer distance is greater than the first buffer distance, the entire first buffer zone is subjected to buffer shrinkage based on the second buffer distance, which causes the entire first buffer zone to shrink inward by the second buffer distance, so that the narrowband buffer zone corresponding to the non-operating track is erased from the first buffer zone due to the buffer shrinkage process to determine the second buffer zone, that is, the second buffer zone corresponds to the remaining part of the operating plot after the buffer shrinkage process, so the area of the second buffer zone (56.67 mu) is smaller than Figure 5 The area of the working plot shown (75.06 acres).
[0085] It can be seen that the operation plot corresponding to the second buffer is not complete at this time, and the outer circle shaded part is the operation plot buffer that was reduced in the S240 process, so in order to obtain the operation plot more accurately, the second buffer needs to be buffered for the third time. The third buffer distance can be determined by the following buffer distance relationship, that is, the sum of the first buffer distance, the second buffer distance and the third buffer distance is equal to 0.5 times the width of the first agricultural machine. After calculation, the third buffer distance is set to 2 times the width of the first agricultural machine.
[0086] After performing the third buffering treatment on the second buffering area, the third buffering area is obtained, and the buffering treatment result (the area of the third buffering area) is 75.15 mu.
[0087] Figure 8 It is a schematic diagram of a third buffer zone proposed in an embodiment of the present application.
[0088] It should be understood that since the buffer zone corresponding to the working plot was buffer-shrunk in the second buffering process, the second buffer zone will be buffer-expanded again after the third buffering process, which can replenish the part of the working plot that was previously over-shrunk, while making the third buffer zone as accurately represent the working plot corresponding to the first agricultural machinery as possible.
[0089] Since the area corresponding to the non-operating track has been erased from the entire buffer zone due to the buffer shrinkage process during the second buffering process, even if the second buffer zone is extended during the third buffering process, the erased area corresponding to the non-operating track will not be restored, so the third buffer zone only corresponds to the operating area.
[0090] It is calculated that there is only about 0.12% error between the work plot area obtained by the method 200 proposed in the embodiment of the present application and the actual work plot area. Therefore, it can be seen that the accuracy of the method 200 proposed in the embodiment of the present application is maintained at a high level.
[0091] Based on the above technical solution, GIS is used to extract the trajectory line of the first agricultural machinery in the first area, and the trajectory line is buffered and expanded according to a specific buffer distance to determine a buffer zone including non-operating trajectories and operating trajectories. Then, according to the specific buffer distance, the buffer zone is successively contracted and expanded to erase the buffer portion corresponding to the non-operating trajectory (i.e., the trajectory corresponding to the invalid trajectory point) in the buffer zone, and the remaining buffer portion is the operating plot corresponding to the first agricultural machinery, thereby realizing the function of GIS to extract the agricultural machinery operating plot from the agricultural machinery trajectory points, so that the relevant information of the operating plot can be applied to the analysis and statistics of agricultural data, and there is no human intervention in the whole process, which can meet the needs of intelligent farm management.
[0092] The following describes the principle of using GIS to determine the first buffer distance, the second buffer distance, and the third buffer distance mentioned in the above method 200.
[0093] Fig. 9 1 is a flow chart of a method 900 for determining a buffer distance proposed in an embodiment of the present application. The method 900 may be executed by the above-mentioned GIS.
[0094] S910: Obtain the width of the first agricultural machine.
[0095] S920: Determine a first buffer distance according to the width of the first agricultural machine, where the first buffer distance is greater than or equal to the width of the first agricultural machine.
[0096] For example, assuming that the width of the first agricultural machine is 2 m, the first buffer distance may be 2 m, or the first buffer distance may be appropriately increased, such as 2.2 m, 2.5 m, etc.
[0097] In some possible embodiments, after obtaining the first buffer distance, the following operations may also be performed:
[0098] S930: Determine a second buffer distance based on the first buffer distance, wherein when the driving trajectory is the trajectory of the first agricultural machinery going to the work site or returning from the work site, the absolute value of the second buffer distance is greater than the first buffer distance; when the driving trajectory is the trajectory of the first agricultural machinery going to the work site or returning from the work site, the absolute value of the second buffer distance is greater than or equal to twice the first buffer distance.
[0099] For example, if the first buffer distance is 2m, the width of the narrowband buffer corresponding to the non-operating track (one-way route) in the first buffer may also be 2m. Based on the above embodiment, the absolute value of the second buffer distance can be set to a value greater than 2m, such as -2.5m, etc. Then, after the first buffer is buffered and shrunk based on the second buffer distance, the narrowband buffer corresponding to the non-operating track will be erased.
[0100] For example, if the first buffer distance is 2m, the width of the narrowband buffer corresponding to the non-operating track (round-trip route) in the first buffer may be 4m. Based on the above embodiment, the absolute value of the second buffer distance can be set to a value greater than twice 2m, such as -4m, -4.5m, etc. Then, after the first buffer is buffered and shrunk based on the second buffer distance, the narrowband buffer corresponding to the non-operating track will be erased. As for the polygonal buffer corresponding to the agricultural machinery operating track (for example Figure 5 As shown in the figure, the length and width of the polygon buffer are usually much larger than the second buffer distance, so the polygon buffer will not be shrunk to disappear, but only the outer part of the buffer will be lost, that is, Figure 6 The shaded area shown.
[0101] It should be noted that the setting of the absolute value of the second buffer distance is not without restrictions. The absolute value of the second buffer distance should not be set too large. Usually, depending on whether the driving route of the first agricultural machinery is one-way or round trip, the absolute value of the second buffer distance can be set to 1 to 3 times the first buffer distance. If the absolute value of the second buffer distance is set too large, the buffer zone corresponding to the working area may be erased during the buffer shrinkage process.
[0102] In some possible embodiments, after determining the second buffer distance, the following operations may also be performed:
[0103] S940: Determine a third buffer distance based on the first buffer distance and the second buffer distance, wherein the sum of the first buffer distance, the second buffer distance and the third buffer distance is equal to 0.5 times the width of the first agricultural machinery.
[0104] For example, assuming that the first buffer distance is 2m and the second buffer distance is twice the first buffer distance, then the second buffer distance is -4m, which will cause the edge of the buffer zone corresponding to the work plot to shrink inward by 4m. In order to restore the shape and area of the third buffer zone to be as consistent as possible with the actual work plot, the third buffer distance can be set to 2.5m, and the edge of the second buffer zone corresponding to the work plot will be expanded outward by another 2.5m.
[0105] Based on the above technical solution, GIS can determine the buffer distances of the subsequent three buffering processes based on the width of the agricultural machinery, and based on these three buffer distances, it can completely erase the buffer corresponding to the non-operating trajectory in the first buffer zone, and can make up for the excessive inward contraction of the buffer corresponding to the working plot when erasing part of the buffer corresponding to the non-operating trajectory in the first buffer zone, and make the geometric parameters of the third buffer zone as consistent as possible with the geometric parameters of the working plot, which helps to ensure the accuracy of the working plot finally obtained by GIS. Since the above operations of determining the buffer distance are all performed by GIS, there can be no human intervention during the period, which can meet the needs of intelligent farm management.
[0106] In some possible embodiments, in order to clearly display the first buffer, the second buffer or the third buffer to the user, the first buffer, the second buffer or the third buffer may be overlaid on the first image. The specific operation is as follows: the first buffer, the second buffer or the third buffer is reduced according to the first scale relationship, and the reduced first buffer, the second buffer or the third buffer is overlaid on the corresponding position of the first image.
[0107] In some possible embodiments, after the third buffer zone is acquired based on method 200, the area of the working plot can be determined according to the geometric parameters of the third buffer zone, and the area of the working plot can be used to represent the workload of the first agricultural machinery.
[0108] In some possible embodiments, the geometric parameters of the third buffer zone may be a set of longitude and latitude coordinates corresponding to edge points of the third buffer zone.
[0109] In some possible embodiments, if there are multiple agricultural machines engaged in farming in the first area, the above-mentioned method 200 can be performed for multiple trajectory points corresponding to each agricultural machine, and finally multiple third buffer zones can be determined. Based on the geometric parameters of the multiple third buffer zones, the distribution of multiple work plots in the first area can be determined, so as to timely discover the problem of unreasonable distribution of multiple work plots, thereby adjusting the distribution of multiple work plots.
[0110] In addition, an embodiment of the present application also provides a device for implementing any of the above methods. For example, a device for determining a plot of land for agricultural machinery operation is provided, and the device includes a unit (or means) for implementing any of the above methods for determining a plot of land for agricultural machinery operation.
[0111] Fig.10 It is a schematic block diagram of a device 1000 for determining a plot of land for agricultural machinery operation provided in an embodiment of the present application.
[0112] The device 1000 can be applied to the above-mentioned GIS, and the device 1000 includes:
[0113] An acquisition unit 1010 is used to acquire N trajectory points of a first agricultural machine in a first area, where N is greater than 1;
[0114] The determination unit 1020 is used to connect the N trajectory points in sequence to determine a first trajectory line, where the first trajectory line includes a driving trajectory and an operating trajectory, wherein the driving trajectory is the trajectory of the first agricultural machinery in the process of going to the operating plot and / or returning from the operating plot, and the operating trajectory is the trajectory of the first agricultural machinery in the process of farming in the operating plot; the first trajectory line is buffered based on a first buffer distance to determine a first buffer zone, where the first buffer distance is greater than or equal to the width of the first agricultural machinery; the first buffer zone is buffered based on a second buffer distance to determine a second buffer zone, where in the case where the driving trajectory is the trajectory of the first agricultural machinery in the process of going to the operating plot or returning from the operating plot, the absolute value of the second buffer distance is greater than the first buffer distance; or, in the case where the driving trajectory is the trajectory of the first agricultural machinery in the process of going to the operating plot and returning from the operating plot, the absolute value of the second buffer distance is greater than 2 times the first buffer distance; the second buffer zone is buffered based on a third buffer distance to determine a third buffer zone, where the sum of the first buffer distance, the second buffer distance and the third buffer distance is equal to 0.5 times the width of the first agricultural machinery, and the third buffer zone is used to represent the operating plot.
[0115] In some possible embodiments, the first agricultural machine is the only agricultural machine working in the first area, and the N trajectory points are respectively associated with time. The determination unit 1020 is specifically used to: connect the N trajectory points in chronological order according to the times corresponding to the N trajectory points, so as to determine the first trajectory line.
[0116] In some possible embodiments, there are multiple agricultural machines including a first agricultural machine working in the first area, and N trajectory points are respectively associated with time and an identifier of the first agricultural machine. The acquisition unit 1010 is also used to: acquire the N trajectory points associated with the identifier of the first agricultural machine; the determination unit 1020 is specifically used to: connect the N trajectory points in chronological order according to the times corresponding to the N trajectory points, and determine the first trajectory line.
[0117] In some possible embodiments, the determination unit 1020 is further configured to determine the area of the work plot according to geometric parameters of the third buffer zone.
[0118] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0119] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0120] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0121] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0122] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0123] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0124] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for determining a plot of land for agricultural machinery operation, characterized in that: Applied to a geographic information system (GIS), the method comprises: Acquire N trajectory points of a first agricultural machine in a first area, where N is greater than 1; Connect the N trajectory points in sequence to determine a first trajectory line, where the first trajectory line includes a driving trajectory and an operating trajectory, where the driving trajectory is a trajectory of the first agricultural machine in the process of going to the operating plot and / or returning from the operating plot, and the operating trajectory is a trajectory of the first agricultural machine in the process of farming in the operating plot; Buffering the first trajectory line based on a first buffer distance to determine a first buffer zone, wherein the first buffer distance is greater than or equal to a width of the first agricultural machine; The first buffer zone is buffered based on a second buffer distance to determine a second buffer zone, where, when the driving trajectory is a trajectory of the first agricultural machine going to the working plot or returning from the working plot, the absolute value of the second buffer distance is greater than the first buffer distance; or, when the driving trajectory is a trajectory of the first agricultural machine going to the working plot or returning from the working plot, the absolute value of the second buffer distance is greater than 2 times of the first buffer distance; The second buffer zone is buffered based on a third buffer distance to determine a third buffer zone, wherein the sum of the first buffer distance, the second buffer distance and the third buffer distance is equal to 0.5 times the width of the first agricultural machinery, and the third buffer zone is used to represent the working plot.
2. The method according to claim 1, characterized in that The agricultural machine working in the first area is only the first agricultural machine, the N trajectory points are respectively associated with time, and the step of connecting the N trajectory points in sequence to determine the first trajectory line comprises: According to the times respectively corresponding to the N trajectory points, the N trajectory points are connected in sequence in time order to determine the first trajectory line.
3. The method according to claim 1, characterized in that There are a plurality of agricultural machines including the first agricultural machine working in the first area, the N track points are respectively associated with time and an identifier of the first agricultural machine, and the connecting the N track points in sequence to determine a first track line comprises: Acquire the N track points associated with the identifier of the first agricultural machine; According to the times respectively corresponding to the N trajectory points, the N trajectory points are connected in sequence in time order to determine the first trajectory line.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: The area of the working plot is determined according to the geometric parameters of the third buffer zone.
5. A device for determining a plot of land for agricultural machinery operation, characterized in that: The method comprises a module or a unit for executing the method according to any one of claims 1 to 4.
6. A geographic information system, characterized in that: The method comprises a processor and a memory, wherein the processor and the memory are connected, wherein the memory is used to store program codes, and the processor is used to call the program codes to execute the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Method for obtaining operation area of agricultural machine
CN107657637A
Farmland operation area metering method and device
CN108332652A
A ridge line recognition and an operation area calculation method based on a traveling track of an agricultural machine
CN109165631A
Agricultural machinery behavior analysis and operation area statistical method based on Beidou positioning data
CN113409240A
Intelligent agricultural machine operation area metering method based on Beidou positioning
CN118424167A
