Collaborative work route planning method, device, computer equipment and storage medium
By pre-assigning and dividing routes for the types and quantities of unmanned equipment, the problem of route planning when multiple types and multiple unmanned equipment are working together is solved, and the efficiency of farmland operations is improved.
Patent Information
- Application Number
- CN202011594158.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-29
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-12-29
AI Technical Summary
The existing technology lacks a route planning solution for collaborative operations of multiple types and multiple unmanned equipment, which results in the need to perform multiple types of operations one by one in farmland operations, resulting in low efficiency.
By obtaining multiple operation routes that match the operation area, they are pre-assigned to the matching equipment according to the operation type, and the operation sections are divided according to the number and level of the target equipment and assigned to the corresponding equipment to form a collaborative operation route for each unmanned equipment.
It realizes targeted route planning based on device types and attributes when multiple types and multiple unmanned devices work together, improves operating efficiency, and fills the planning gaps in existing technology.
Smart Images

Figure CN112580892B
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to path planning and motion control technology, and more particularly to a collaborative operation route planning method, apparatus, computer equipment and storage medium. Background Art
[0002] With the development of agricultural modernization, unmanned equipment, such as drones and unmanned vehicles, have been used in various operations such as sowing, spraying or harvesting in farmland. After the terminal device generates the operation route, it sends the operation route and operation parameters to the unmanned equipment, and the unmanned equipment performs automatic operations according to the operation route and operation parameters.
[0003] In farmland operations, it is sometimes necessary to carry out several different types of unmanned equipment operations in succession, such as loosening the soil, sowing, and fertilizing to complete the complete crop sowing process. Therefore, in farmland operations, sometimes there are multiple types of unmanned equipment working in collaboration. In the prior art, the planning of the operation route is usually for a single unmanned equipment. When the area to be operated needs to perform multiple types of farmland operations, usually after one type of unmanned equipment completes the operation, the next type of unmanned equipment will operate. When there are multiple unmanned equipment of the same operation type for linkage operation, the area to be operated is also divided into multiple plots, and the operation route is planned for a single unmanned equipment on each plot. At present, there is no route planning solution for the collaborative operation of multiple types and multiple unmanned equipment. Summary of the invention
[0004] The embodiments of the present invention provide a collaborative operation route planning method, apparatus, computer equipment and storage medium to implement route planning for collaborative operations of multiple unmanned equipment of multiple types.
[0005] In a first aspect, an embodiment of the present invention provides a method for planning a collaborative operation route, the method comprising:
[0006] Obtain multiple operation routes that match the operation area, and pre-assign each operation route to the unmanned equipment of the matching operation type according to the operation type of the operation route. Different operation routes correspond to different operation types.
[0007] If it is determined that the number of target unmanned equipment pre-allocated to the target operation route is multiple, the target operation route is divided into multiple operation sections according to the operation level, and each operation section is allocated to the target unmanned equipment matching the operation level;
[0008] According to the operation route allocated to each unmanned equipment and / or multiple operation sections, a collaborative operation route for each unmanned equipment is formed.
[0009] In a second aspect, an embodiment of the present invention further provides a collaborative operation route planning device, the device comprising:
[0010] A target operation route division module, used for obtaining a target operation route to be operated, and dividing the target operation route into operation sections of at least one operation level;
[0011] An operation section allocation module, used for allocating each operation section to a plurality of unmanned equipment according to the operation level of the unmanned equipment;
[0012] The collaborative operation route generation module is used to form collaborative operation routes corresponding to each of the unmanned equipment according to the operation sections allocated to each of the unmanned equipment.
[0013] In a third aspect, an embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a collaborative work route planning method as described in any one of the embodiments of the present invention is implemented.
[0014] In a fourth aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute a collaborative work route planning method as described in any one of the embodiments of the present invention.
[0015] The embodiment of the present invention pre-assigns corresponding operation routes to unmanned equipment of different operation types. When there are multiple target unmanned equipment corresponding to the target operation route, the target operation route is divided into multiple operation sections and assigned to each target unmanned equipment according to the operation level of the target unmanned equipment. The collaborative operation route of each unmanned equipment is generated according to the operation route and / or multiple operation sections assigned to each unmanned equipment. This fills the gap in the route planning scheme for the collaborative operation of multiple types and multiple unmanned equipment in the prior art, and realizes targeted route planning according to the operation type and attributes of the unmanned equipment when multiple unmanned equipment are working together. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a flow chart of a collaborative operation route planning method in Embodiment 1 of the present invention;
[0017] Figure 2a is a flow chart of a collaborative operation route planning method in Embodiment 2 of the present invention;
[0018] Figure 2b is a schematic diagram of a segment cutoff applicable to an embodiment of the present invention;
[0019] Figure 3 It is a structural schematic diagram of a collaborative operation route planning device in Embodiment 3 of the present invention;
[0020] Figure 4 It is a structural diagram of a computer device in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0021] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0022] Embodiment 1
[0023] Figure 1 It is a flow chart of a collaborative work route planning method provided in Example 1 of the present invention. This embodiment is applicable to the situation where multiple unmanned equipment of multiple types perform collaborative work in the area to be worked. The method can be executed by a collaborative work route planning device, which can be implemented by software and / or hardware and is generally integrated in a computer device.
[0024] like Figure 1 As shown, the technical solution of the embodiment of the present invention specifically includes the following steps:
[0025] S110, obtaining multiple operation routes matching the operation area, and pre-allocating each operation route to an unmanned device matching the operation type according to the operation type of the operation route, wherein different operation routes correspond to different operation types.
[0026] Among them, the operation area is an area where at least one unmanned equipment automatic operation needs to be performed, and the operation route is obtained by route planning based on the area parameters of the operation area. The starting point of the operation route can be the endpoint of the boundary of the operation area, or it can be the current location of a certain unmanned equipment. This embodiment does not limit this.
[0027] The operation type matches the type of equipment mounted on the unmanned equipment or the type of operating equipment. For example, when a spraying device is installed on the unmanned equipment, the operation type is a spraying operation.
[0028] In an embodiment of the present invention, when multiple types of automatic operations are required in an operation area, operation routes equal in number to the types of operations are generated, and each operation route is allocated to an unmanned device that performs each type of operation.
[0029] For example, when the work area needs to be loosened, sown and fertilized, loosening equipment, sowing equipment and fertilizing equipment are needed, and work routes corresponding to loosening, sowing and fertilizing are generated and allocated to the loosening equipment, sowing equipment and fertilizing equipment respectively.
[0030] S120: If it is determined that the number of target unmanned equipment pre-allocated to the target operation route is multiple, the target operation route is divided into multiple operation sections according to the operation level, and each operation section is allocated to a target unmanned equipment matching the operation level.
[0031] The operation level of the operation section is used to indicate the operation requirements for the operation section. The operation level of the operation section can be indicated by the operation parameter requirements of the operation section. For example, when the operation is a spraying operation, it can be set so that the highest operation level corresponds to the maximum spraying flow rate. The operation parameter requirements of the operation section can be set in advance by the user, or determined according to the automatically generated prescription map such as the fertilization prescription map, or determined according to the results calculated by the agricultural management system. This embodiment does not limit the method for determining the operation parameter requirements of the operation section.
[0032] The operation section is a multiple section obtained by dividing the target operation route according to the operation level. The operation sections of different operation levels need to be operated by unmanned equipment of the corresponding operation level. The purpose of dividing the operation route into multiple operation sections is to allocate different unmanned equipment to sections with different operation requirements, so as to realize the operation route planning according to the different attributes of each unmanned equipment and improve the operation efficiency of the unmanned equipment.
[0033] The operation level of unmanned equipment is used to indicate the requirements for the operation capability of the unmanned equipment. The operation level can be indicated by the working parameters of the unmanned equipment. Specifically, the spraying particle size, flow rate, and spreading angle range can be set to indicate different operation levels.
[0034] In an embodiment of the present invention, if the number of target unmanned equipment pre-assigned to the target operation route is multiple, that is, there are multiple target unmanned equipment performing the target operation type, the target operation route is divided into multiple operation sections according to the operation level, and each operation section is assigned to a matching target unmanned equipment according to the operation level of each target unmanned equipment, thereby enabling each unmanned equipment to perform collaborative operations of the same operation type according to the operation attributes.
[0035] S130: forming a collaborative operation route for each unmanned device according to the operation route and / or multiple operation sections allocated to each unmanned device.
[0036] In the embodiment of the present invention, when a certain operation route corresponds to only one unmanned device, that is, there is only one unmanned device executing the operation type corresponding to the operation route, the operation route is directly used as the collaborative operation route of the unmanned device. When a certain operation route corresponds to multiple unmanned devices, that is, there are multiple unmanned devices jointly executing the operation type corresponding to the operation route, the operation route is divided into operation sections, and each operation section is allocated to each unmanned device according to the operation level. According to each operation section allocated to each unmanned device, a collaborative operation route for each unmanned device is generated.
[0037] For example, when there are four unmanned equipment, two sowing equipment and two spraying equipment, the sowing operation route is obtained, the sowing operation route is assigned to the two sowing unmanned equipment, and the spraying operation route is assigned to the two spraying unmanned equipment, and finally the collaborative operation routes of the four unmanned equipment are obtained respectively.
[0038] The technical solution of the embodiment of the present invention pre-assigns corresponding operation routes to unmanned equipment of different operation types. When there are multiple target unmanned equipment corresponding to the target operation route, the target operation route is divided into multiple operation sections and assigned to each target unmanned equipment according to the operation level of the target unmanned equipment. The collaborative operation route of each unmanned equipment is generated according to the operation route and / or multiple operation sections assigned to each unmanned equipment. This fills the gap in the route planning scheme for the collaborative operation of multiple types and multiple unmanned equipment in the prior art, and realizes targeted route planning according to the operation type and attributes of the unmanned equipment when multiple unmanned equipment are working together.
[0039] Embodiment 2
[0040] Figure 2a It is a flow chart of a collaborative work route planning method provided in the second embodiment of the present invention. Based on the above embodiments, the embodiment of the present invention further specifies the process of obtaining multiple work routes, the process of allocating road sections to each target unmanned equipment when there are multiple target unmanned equipment matching the target work route, and the process of forming collaborative work routes for each unmanned equipment.
[0041] Correspondingly, such as Figure 2a As shown, the technical solution of the embodiment of the present invention specifically includes the following steps:
[0042] S210: Acquire multiple original layers corresponding to the operation area, wherein each original layer includes a partial or entire operation area matching the same operation type.
[0043] Duplicate the whole or part of the operation area to generate multiple original layers. The number of original layers is the same as the number of operation types. Each operation type corresponds to an original layer. For unmanned equipment of the same operation type, routes are allocated on the same original layer.
[0044] S220: Based on the preset starting and ending point information and each of the partial or all operation areas, a plurality of operation routes matching the operation area are formed.
[0045] In an embodiment of the present invention, the preset starting and ending points may be the area endpoints of a partial or entire working area, or may be the current location points of unmanned equipment that matches the working type of the partial or entire working area, and this embodiment does not impose any restrictions on this.
[0046] Optionally, the path planning of the working area can be carried out according to the starting and ending point information and the area parameters. The area parameters may include the position coordinates of the endpoints of the working area boundary, and the position and type of obstacles in the working area. The area parameters of the working area can be obtained by mapping the working area in advance. Exemplarily, the working route may be in the shape of a "bow", but this embodiment does not limit the specific method of path planning and the specific form of the working route. Optionally, the working route may also include an obstacle avoidance route, which is used to enable the unmanned equipment to bypass or fly around obstacles according to the obstacle avoidance route when operating according to the working route.
[0047] In the embodiment of the present invention, after a plurality of original layers are generated, route planning is performed on each original layer to generate an operation route matching the original layer.
[0048] S230. Pre-allocate each operation route to an unmanned device that matches the operation type according to the operation type of the operation route, and different operation routes correspond to different operation types.
[0049] In the embodiment of the present invention, after route planning is performed on each original layer and the operation route is generated, the unmanned equipment corresponding to the operation type of the original layer is obtained, and the operation route corresponding to each original layer is allocated to the unmanned equipment matching the operation type of the original layer.
[0050] S240. Determine whether there are multiple target unmanned equipment pre-allocated to the target operation route. If so, execute S250; otherwise, execute S2130.
[0051] When the target operation route corresponding to the target original layer has multiple matching target unmanned equipment, that is, there are multiple unmanned equipment executing the target operation type corresponding to the target original layer, the target operation route can be divided into multiple operation sections, and each operation section can be assigned to each unmanned equipment according to the operation level.
[0052] S250: Divide the target operation route into multiple operation sections according to the operation level.
[0053] In an embodiment of the present invention, the target operation route is divided into a plurality of operation sections with different operation levels. The purpose of dividing the operation route is to allocate different unmanned equipment to sections with different operation requirements, so that the operation route planning can be realized for each unmanned equipment performing the same operation type according to its different attributes.
[0054] S260: Divide each target unmanned equipment and each operating road section into at least one unmanned equipment group and at least one road section group according to the operation level.
[0055] In an embodiment of the present invention, each target unmanned equipment can be divided into different unmanned equipment groups according to its operating level, each working section can be divided into different section groups according to its operating level, and then each section group can be assigned to a matching unmanned equipment group.
[0056] S270: Allocate each road section group to an unmanned equipment group with a matching operation level, and allocate each road section in each road section group to each target unmanned equipment in the matching unmanned equipment group in a manner of evenly dividing the length.
[0057] When allocating sections, the allocation basis can be based on the matching of operation levels and the shortest total operation time. Specifically, for the same type of unmanned equipment, high-level unmanned equipment can perform operations on the same or other low-level operation sections, but low-level unmanned equipment cannot perform operations on high-level operation sections. At the same time, when multiple unmanned equipment of the same type work together, the total operation time is the time consumed by the slowest unmanned equipment. Therefore, when the operation time of each target unmanned equipment is consistent or the difference is small, the total operation time can be guaranteed to be short.
[0058] When the speeds of the target unmanned equipment are the same and they operate at a constant speed, on the premise of ensuring grade matching, each road section shall be allocated to each target unmanned equipment on the principle of equal length or with a small difference in length.
[0059] When the speeds of the target unmanned equipment are different and they operate at a constant speed, on the premise of ensuring grade matching, the road sections are allocated to the target unmanned equipment in accordance with the principle of ensuring that the ratio of the length of the road section allocated to each target unmanned equipment is the same or has a small difference with the ratio of the speed. For target unmanned equipment of the same grade, the length of the road section allocated to them must be equal.
[0060] S280, obtaining the single-device allocation route length corresponding to each unmanned equipment group and the single-device standard route length corresponding to the target operation route.
[0061] The length of the route allocated to a single device refers to the average length of the route allocated based on the sum of the lengths of each operating section in the section grouping that matches the unmanned device grouping and the number of target unmanned devices in the unmanned device grouping. The length of the standard route for a single device refers to the average length of the route allocated based on the total length of the target operating route and the total number of all target unmanned devices and their respective speeds.
[0062] In an embodiment of the present invention, the length of the route allocated to a single device is adjusted according to the standard route length of the single device, so as to ensure that the length of the road section allocated between unmanned devices of different levels matches the speed of unmanned devices of different levels, thereby ensuring that the operating time of each unmanned device is less different and reducing the total operating time.
[0063] Accordingly, S280 may include:
[0064] S281. Calculate the total length of each working section in the section group matched by each unmanned equipment group, and calculate the length of the single equipment allocation route corresponding to each unmanned equipment group according to the total length and the number of target unmanned equipment in each unmanned equipment group.
[0065] For example, when the total length of the target operation route is 100m, the operation type corresponding to the target operation route is sowing, and there are 10 unmanned devices performing sowing. In the target operation route, the total length of each operation section in the section grouping of the highest operation level is 50m, the total length of each operation section in the section grouping of the medium operation level is 45m, and the total length of each operation section in the section grouping of the lowest operation level is 5m. Among the unmanned devices performing sowing, there are 5 unmanned devices in the unmanned device grouping of the highest operation level, 3 unmanned devices in the unmanned device grouping of the medium level, and 2 unmanned devices in the unmanned device grouping of the lowest level. Then the single device allocation route lengths corresponding to the unmanned device grouping of the highest operation level, the unmanned device grouping of the medium level, and the unmanned device grouping of the lowest level are 50÷5=10m, 45÷3=15m, and 5÷2=2.5m, respectively.
[0066] S282. Obtain the total length of the target operation route, and calculate the single-device standard route length corresponding to each unmanned equipment group according to the total length of the target operation route and the operation level of each unmanned equipment group.
[0067] For example, when the total length of the target operation route is 100m, there are 10 unmanned devices performing the target operation type, 5 unmanned devices in the highest operation level unmanned device group, 3 unmanned devices in the middle level unmanned device group, and 2 unmanned devices in the lowest level unmanned device group.
[0068] If it can be known from the operating level of each unmanned equipment group that the operating speed of each target unmanned equipment is equal, then the standard route length of a single equipment is 100÷(5+3+2)=10m.
[0069] If it is known from the operating level of each unmanned equipment group that the operating speed ratio of the highest, middle and lowest levels of unmanned equipment is 2:2:1, then the standard route lengths of a single device corresponding to the highest, middle and lowest levels of unmanned equipment groups are (100*2 / 5)÷5=8m, (100*2 / 5)÷3≈13.3m and (100*1 / 5)÷2=10m respectively.
[0070] S290. Obtain an unmanned equipment group as a target group in descending order of operation level.
[0071] In an embodiment of the present invention, after calculating the single-device allocation route length and the single-device standard route length, it is necessary to adjust the single-device allocation route length of each target unmanned equipment group in descending order of operation level.
[0072] S2100. Detect whether a target road segment group corresponding to the target group satisfies a road segment reallocation condition according to the single-device allocated route length, the single-device standard route length and the operation level of the target group.
[0073] In the embodiment of the present invention, since the total operation time needs to be minimized, it is necessary to ensure that the length of the single-device allocated route of each unmanned equipment group is equal to or slightly different from the length of the single-device standard route. Therefore, when the length of the single-device allocated route differs greatly from the length of the single-device standard route, it is necessary to reallocate the road sections of the road section grouping, so as to adjust the length of the single-device allocated route to be close to the length of the single-device standard route.
[0074] Accordingly, S2100 may include:
[0075] S2101. Determine whether the difference between the single-device standard route length and the single-device allocated route length of the target group is greater than or equal to a first difference threshold; if so, execute S2110; otherwise, execute S2102.
[0076] When the single-device standard route length of the target group is much longer than the single-device allocation route length, in order to ensure that the operation time of each unmanned equipment group is less different, the single-device allocation route length of the target group needs to be supplemented to the single-device standard route length.
[0077] S2102. Determine whether the target group is an unmanned equipment group of an operation level other than the highest operation level. If so, execute S2103; otherwise, execute S2120.
[0078] In an embodiment of the present invention, the situation in which the road section grouping corresponding to the highest level unmanned equipment grouping satisfies the road section reallocation conditions is different from that of other unmanned equipment groups. The highest level unmanned equipment can perform operations on the same level or lower level road sections, but the lower level unmanned equipment cannot perform operations on the higher level road sections. Therefore, even if the length of the single-device allocated route corresponding to the highest level unmanned equipment grouping is much higher than the single-device standard route length, the length of the single-device allocated route corresponding to the highest level unmanned equipment grouping cannot be adjusted. However, if the length of the single-device allocated route corresponding to other unmanned equipment groups except the highest operating level is much higher than the single-device standard route length, the route length can be reallocated, and the higher level unmanned equipment groups can share part of the operating road sections.
[0079] S2103 . Determine whether the difference between the single-device allocated route length and the single-device standard route length of the target group is greater than or equal to a second difference threshold; if so, execute S2110 ; otherwise, execute S2120 .
[0080] In an embodiment of the present invention, if the length of the single-device allocated route of the target group is much longer than the single-device standard route length, the target unmanned equipment in the high-level group of the target group can share part of the operation section.
[0081] The embodiment of the present invention does not limit the values of the first difference threshold and the second difference threshold, and the first difference threshold and the second difference threshold may be the same or different.
[0082] S2110. Acquire at least one associated road segment group that matches the target road segment group, and reallocate road segments in the target road segment group and the associated road segment group.
[0083] In the embodiment of the present invention, when the road segment reallocation condition is met, the associated road segment group of the target road segment group is obtained.
[0084] When the single-device standard route length of the target group is much longer than the single-device allocated route length, it is necessary to intercept sections from low-level section groups and add them to the target section group. At this time, at least one low-operation-level section group is obtained as an associated section group.
[0085] Correspondingly, when the difference between the single-device standard route length and the single-device allocated route length of the target group is greater than or equal to the first difference threshold, S2110 may further include:
[0086] S2111. Obtain a road segment group with a lower operation level than the target road segment group as an associated road segment group, obtain an intercepted road segment in the associated road segment group, and add it to the target road segment group.
[0087] The length of the intercepted section is the product of the difference between the length of the standard route of a single device and the length of the allocated route of a single device and the number of target unmanned devices in the target group.
[0088] In an embodiment of the present invention, in order to fill the single-device assigned route length of each target unmanned device in the target group to the single-device standard route length, a section group with an operation level lower than the target section group is obtained as an associated section group, and a section is intercepted in the associated section group and added to the target section group. The section length in the associated section group is updated to the section length after deducting the intercepted section length.
[0089] For example, if there are 5 target unmanned devices in the highest level grouping, the total length of the highest level road segment grouping is 40m, and the standard route length of a single device is 10m, then the single device allocated route length of each target unmanned device is 40÷5=8m, which is less than the standard route length of a single device. In this case, it is necessary to intercept the road segment in the next level road segment grouping of the highest level and add it to the highest level road segment grouping. The length of the intercepted road segment is (10-8)*5=10m.
[0090] In an embodiment of the present invention, Figure 2b A schematic diagram of a cut section is provided, such as Figure 2b As shown, the part indicated by the arrow is the intercepted section. In the embodiment of the present invention, starting from the starting point of the target operation route, the target section in the target section group closest to the starting point is obtained, and the target section is used as a reference to intercept the section of the next level closest to the target section to obtain the intercepted section. If the length of the section of the next level closest to the target section is less than the length of the section to be intercepted, then after all the sections of the next level are intercepted, the sections of the next level closest to the target section are obtained in turn, and the remaining part is intercepted on the sections of the next level, and so on, until the length of the intercepted section meets the requirements. If the total length of each section of the next level is less than the length of the section to be intercepted, all the sections of the next level are intercepted, and if there are sections of two levels lower, the remaining part is intercepted on the sections of the two levels lower.
[0091] S2112. Recalculate the single-device allocated route lengths of the unmanned equipment groups corresponding to the target group and the associated road section group according to the target road section group after the intercepted road section is added and the associated road section group after the intercepted road section is deleted.
[0092] After the intercepted section is added to the target section group and the intercepted section is deleted from the associated section group, the length of the route allocated to each device is recalculated respectively.
[0093] S2113. Re-allocate the road segments in the target road segment group and the associated road segment group according to the recalculated single-device allocation route length.
[0094] In the embodiment of the present invention, after the single device allocation route length is adjusted, the road sections in the target road section group and the associated road section group are respectively reallocated to each target unmanned device in the unmanned device group corresponding to the target group and the associated road section group.
[0095] When the target group is not the highest level unmanned equipment group, and the length of the route allocated to a single device is much longer than the standard route length of a single device, the target unmanned equipment in the high-level unmanned equipment group can share part of the work section. Therefore, all section groups with a higher working level than the target section group are obtained as associated section groups.
[0096] Correspondingly, when the target group is an unmanned equipment group of other operation levels except the highest operation level, and the difference between the single-equipment allocated route length and the single-equipment standard route length of the target group is greater than or equal to the second difference threshold, S2110 may further include:
[0097] S2114. Obtain all road section groups whose operation levels are higher than the target road section group as associated road section groups.
[0098] In the embodiment of the present invention, if the length of the single-device allocation route of the target group is much longer than the length of the single-device standard route, the high-level group of the target group can share part of the operation section. Therefore, when the length of the single-device allocation route of the target group is much longer than the length of the single-device standard route, all the section groups with higher operation levels than the target section group are obtained as the associated section groups.
[0099] S2115. Recalculate the single-device allocation route length of the unmanned equipment group corresponding to the target group and the associated road section group based on the total length of each working road section in the target road section group and the associated road section group, the number of each target unmanned equipment in the unmanned equipment group corresponding to the target group and the associated road section group, and the operation level of the unmanned equipment group corresponding to the target group and the associated road section group.
[0100] Exemplarily, when the total length of the target operation route is 100m, there are 10 target unmanned devices performing the target operation type. The total length of each operation section in the section grouping with the highest operation level is 50m, and there are 5 target unmanned devices in the unmanned device grouping with the highest operation level. The total length of each operation section in the section grouping with a medium operation level is 45m, and there are 3 target unmanned devices in the medium-level unmanned device grouping. The total length of each operation section in the section grouping with the lowest operation level is 5m, and there are 2 target unmanned devices in the lowest-level unmanned device grouping. The single-device allocation route lengths corresponding to the unmanned device grouping with the highest operation level, the medium-level unmanned device grouping, and the lowest-level unmanned device grouping are 10m, 15m, and 2.5m, respectively.
[0101] If the operating speed of each unmanned equipment is determined to be equal according to the operating level, the standard route length of a single equipment is 100÷(5+3+2)=10m. It can be seen that the length of the single equipment allocation route of the unmanned equipment group of the medium operating level is 15m, which is much longer than the standard route length of a single equipment of 10m. At this time, the total length of the operating section of the highest operating level and the operating section of the medium operating level is 50+45=95m, which is jointly executed by the 5 target unmanned equipment of the highest operating level and the 3 target unmanned equipment of the medium operating level. At this time, the length of the single equipment allocation route of the unmanned equipment group of the highest operating level and the medium operating level is 95÷8≈11.9m.
[0102] S2116. Re-allocate the road segments in the target road segment group and the associated road segment group according to the recalculated single-device allocation route length.
[0103] S2120. Determine whether the processing of all unmanned device groups is completed. If so, execute S2130; otherwise, return to execute S290.
[0104] In the embodiment of the present invention, after the lengths of the single-device allocation routes of all unmanned equipment groups are adjusted, the allocation of the operating sections of each unmanned equipment is completed.
[0105] In the embodiment of the present invention, for a job type including multiple unmanned equipment, after route planning is performed on the original layer, the job route is divided into job sections and allocated to each unmanned equipment. For all job types including multiple unmanned equipment, the operations of S240-S2120 are repeatedly performed until the job routes of all job types are allocated, so that the collaborative operation of multiple unmanned equipment of multiple types can be realized.
[0106] S2130. Generate an operation layer that matches each original layer according to the operation route and / or multiple operation sections assigned to each unmanned equipment.
[0107] In an embodiment of the present invention, when a certain operation route corresponds to only one unmanned device, that is, there is only one unmanned device that performs the operation type corresponding to the operation route, the operation route is directly used as the collaborative operation route of the unmanned device, and on the original layer corresponding to the operation route, the operation route is marked as being operated by the unmanned device.
[0108] When a work route corresponds to multiple unmanned equipment, that is, there are multiple unmanned equipment that jointly perform the work type corresponding to the work route, the work route is divided into work sections, and each work section is assigned to each unmanned equipment according to the work level. On the original layer corresponding to the work route, the unmanned equipment corresponding to each work section is marked.
[0109] S2140. Mark the operation sequence of each operation layer according to the order of the operation types, obtain the overlapping sections of the operation routes of each operation layer and the unmanned equipment matching the overlapping sections, and mark the operation sequence of each unmanned equipment according to the order of the operation types.
[0110] Since there is a sequence of operation types, for example, you need to loosen the soil before sowing, and then water after sowing, so you need to follow the sequence of loosening the soil, sowing, and spraying. According to the sequence of operation types, mark the sequence of each operation layer corresponding to the operation type. When the operation routes of different operation layers overlap, it is necessary to mark the sequence of each unmanned equipment corresponding to the overlapping section according to the operation type.
[0111] For example, when the operation types include loosening, sowing, and spraying, the operation layers corresponding to loosening, sowing, and spraying are marked as the first, second, and third in order, respectively. When the operation routes of loosening and sowing correspond to overlapping road section A, the loosening unmanned equipment and sowing unmanned equipment performing the operation of overlapping road section A are obtained, and the loosening unmanned equipment is marked as the first in order, and the sowing unmanned equipment is marked as the second in order.
[0112] After marking the operation sequence, the operation start time sequence can be set for unmanned equipment of different operation types. When it is detected that the unmanned equipment at the later stage arrives at the overlapping section first, the unmanned equipment at the later stage can be made to wait or return at the same place. The purpose of marking the operation sequence is to enable the automatic operation of multiple types and multiple unmanned equipment in the operation area to proceed in an orderly manner.
[0113] S2150. Merge each operation layer to generate a collaborative operation roadmap corresponding to each unmanned equipment.
[0114] By overlaying the assigned and sequenced operation layers, a collaborative operation route map can be generated. The collaborative operation route map includes the collaborative operation routes of each unmanned equipment when performing each operation type, as well as the order of executing the operation routes or operation sections.
[0115] Embodiment 3
[0116] Figure 3 3 is a schematic diagram of a collaborative work route planning device provided in the third embodiment of the present invention. The device can be implemented by software and / or hardware and is generally integrated in a computer device. The device includes: a work route pre-allocation module 310, a work section allocation module 320 and a collaborative work route generation module 330. Among them:
[0117] The operation route pre-assignment module 310 is used to obtain multiple operation routes matching the operation area, and pre-assign each operation route to the unmanned equipment of the matching operation type according to the operation type of the operation route, and different operation routes correspond to different operation types;
[0118] The operation section allocation module 320 is used for dividing the target operation route into multiple operation sections according to the operation level if it is determined that the number of target unmanned equipment pre-allocated to the target operation route is multiple, and allocating each operation section to the target unmanned equipment matching the operation level;
[0119] The collaborative operation route generating module 330 is used to form a collaborative operation route for each unmanned device according to the operation route and / or multiple operation sections allocated to each unmanned device.
[0120] The technical solution of the embodiment of the present invention pre-assigns corresponding operation routes to unmanned equipment of different operation types. When there are multiple target unmanned equipment corresponding to the target operation route, the target operation route is divided into multiple operation sections and assigned to each target unmanned equipment according to the operation level of the target unmanned equipment. The collaborative operation route of each unmanned equipment is generated according to the operation route and / or multiple operation sections assigned to each unmanned equipment. This fills the gap in the route planning scheme for the collaborative operation of multiple types and multiple unmanned equipment in the prior art, and realizes targeted route planning according to the operation type and attributes of the unmanned equipment when multiple unmanned equipment are working together.
[0121] Based on the above embodiment, the operation route pre-allocation module 310 includes:
[0122] An original layer acquisition unit, used to acquire a plurality of original layers corresponding to the operation area, wherein each original layer includes a partial or entire operation area matching the same operation type;
[0123] The operation route generating unit is used to form a plurality of operation routes matching the operation area according to the preset starting and ending point information and each of the partial or all operation areas.
[0124] Based on the above embodiment, the collaborative operation route generation module 330 includes:
[0125] An operation layer generation unit, used for generating an operation layer matching each original layer according to an operation route and / or a plurality of operation sections allocated to each unmanned equipment;
[0126] The operation sequence marking unit is used to mark the operation sequence of each operation layer according to the sequence of the operation types, obtain the overlapping sections of the operation routes of each operation layer and each unmanned equipment matching the overlapping sections, and mark the operation sequence of each unmanned equipment according to the sequence of the operation types;
[0127] The operation layer merging unit is used to merge the operation layers to generate a collaborative operation roadmap corresponding to each unmanned equipment.
[0128] Based on the above embodiment, the operation section allocation module 320 includes:
[0129] A grouping unit, used to classify each target unmanned equipment and each operation section into at least one unmanned equipment group and at least one section group according to the operation level;
[0130] The road section allocation unit is used to allocate each road section group to an unmanned equipment group with a matching operation level, and allocate each road section in each road section group to each target unmanned equipment in the matching unmanned equipment group in a way of evenly dividing the length.
[0131] Based on the above embodiment, the device further includes:
[0132] A route length acquisition module is used to acquire the single-device allocated route length corresponding to each unmanned equipment group and the single-device standard route length corresponding to the target operation route;
[0133] The target group acquisition module is used to sequentially acquire an unmanned equipment group as a target group in descending order of operation level;
[0134] A road segment reallocation condition judgment module is used to detect whether the target road segment group corresponding to the target group meets the road segment reallocation condition according to the single-device allocation route length, the single-device standard route length and the operation level of the target group;
[0135] a road segment reallocation module, configured to, if yes, obtain at least one associated road segment group matching the target road segment group, and reallocate the road segments in the target road segment group and the associated road segment group;
[0136] The return execution module is used to return to the execution of the operation of obtaining an unmanned equipment group as the target group in order from high to low job levels until the processing of all unmanned equipment groups is completed.
[0137] Based on the above embodiment, the route length acquisition module includes:
[0138] The single equipment allocation route length calculation unit is used to respectively calculate the total length of each operation section in the section group matched by each unmanned equipment group, and calculate the single equipment allocation route length corresponding to each unmanned equipment group according to each total length and the number of target unmanned equipment in each unmanned equipment group;
[0139] The single-device standard route length calculation unit is used to obtain the total length of the target operation route, and calculate the single-device standard route length corresponding to each unmanned equipment group according to the total length of the target operation route and the operation level of each unmanned equipment group.
[0140] Based on the above embodiment, the road segment reallocation condition judgment module includes:
[0141] The first segment reallocation determination unit is used to determine that the target segment group corresponding to the target group meets the segment reallocation condition if the difference between the single-device standard route length and the single-device allocated route length of the target group is greater than or equal to a first difference threshold.
[0142] Based on the above embodiment, the road segment reallocation module includes:
[0143] A road segment interception unit, used for obtaining a road segment group with a lower operation level than the target road segment group as an associated road segment group, obtaining an intercepted road segment in the associated road segment group, and adding the intercepted road segment to the target road segment group;
[0144] The length of the intercepted section is the product of the difference between the length of the standard route of a single device and the length of the allocated route of a single device and the number of target unmanned devices in the target group;
[0145] A first single-device allocated route length recalculation unit is used to recalculate the single-device allocated route lengths of the unmanned device groups corresponding to the target group and the associated road section group according to the target road section group after the intercepted road section is added and the associated road section group after the intercepted road section is deleted;
[0146] The first road segment reallocation unit is used to reallocate the road segments in the target road segment group and the associated road segment group according to the recalculated single-device allocation route length.
[0147] Based on the above embodiment, the road segment reallocation condition judgment module further includes:
[0148] The second road segment reallocation determination unit is used to determine that the target road segment group corresponding to the target group meets the road segment reallocation condition if the target group is an unmanned equipment group of other operating levels except the highest operating level, and the difference between the single-device allocated route length and the single-device standard route length of the target group is greater than or equal to a second difference threshold.
[0149] Based on the above embodiment, the road segment reallocation module includes:
[0150] An associated road section group acquisition unit, used for acquiring all road section groups with operation levels higher than the target road section group as associated road section groups;
[0151] A second single-device allocation route length recalculation unit is used to recalculate the single-device allocation route length of the unmanned equipment group corresponding to the target group and the associated road section group according to the total length of each operating road section in the target road section group and the associated road section group, the number of each target unmanned equipment in the unmanned equipment group corresponding to the target group and the associated road section group, and the operation level of the unmanned equipment group corresponding to the target group and the associated road section group;
[0152] The second road segment reallocation unit is used to reallocate the road segments in the target road segment group and the associated road segment group according to the recalculated single-device allocation route length.
[0153] The collaborative work route planning device provided in the embodiment of the present invention can execute the collaborative work route planning method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0154] Embodiment 4
[0155] Figure 4 A schematic diagram of the structure of a computer device provided in Embodiment 4 of the present invention is shown in FIG. Figure 4 As shown, the computer device includes a processor 70, a memory 71, an input device 72 and an output device 73; the number of processors 70 in the computer device can be one or more. Figure 4 A processor 70 is taken as an example; the processor 70, memory 71, input device 72 and output device 73 in the computer device can be connected by a bus or other means. Figure 4 The example of connecting through bus is taken in the following.
[0156] The memory 71, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as the modules corresponding to the collaborative work route planning method in the embodiment of the present invention (for example, the work route pre-allocation module 310, the work section allocation module 320 and the collaborative work route generation module 330 in the collaborative work route planning device). The processor 70 executes various functional applications and data processing of the computer device by running the software programs, instructions and modules stored in the memory 71, that is, realizing the above-mentioned collaborative work route planning method. The method includes:
[0157] Obtain multiple operation routes that match the operation area, and pre-assign each operation route to the unmanned equipment of the matching operation type according to the operation type of the operation route. Different operation routes correspond to different operation types.
[0158] If it is determined that the number of target unmanned equipment pre-allocated to the target operation route is multiple, the target operation route is divided into multiple operation sections according to the operation level, and each operation section is allocated to the target unmanned equipment matching the operation level;
[0159] According to the operation route allocated to each unmanned equipment and / or multiple operation sections, a collaborative operation route for each unmanned equipment is formed.
[0160] The memory 71 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 71 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 71 may further include a memory remotely arranged relative to the processor 70, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0161] The input device 72 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the computer device. The output device 73 may include a display device such as a display screen.
[0162] Embodiment 5
[0163] Embodiment 5 of the present invention further provides a storage medium including computer executable instructions, wherein the computer executable instructions are used to execute a collaborative operation route planning method when executed by a computer processor, the method comprising:
[0164] Obtain multiple operation routes that match the operation area, and pre-assign each operation route to the unmanned equipment of the matching operation type according to the operation type of the operation route. Different operation routes correspond to different operation types.
[0165] If it is determined that the number of target unmanned equipment pre-allocated to the target operation route is multiple, the target operation route is divided into multiple operation sections according to the operation level, and each operation section is allocated to the target unmanned equipment matching the operation level;
[0166] According to the operation route allocated to each unmanned equipment and / or multiple operation sections, a collaborative operation route for each unmanned equipment is formed.
[0167] Of course, the computer executable instructions of a storage medium including computer executable instructions provided in an embodiment of the present invention are not limited to the method operations described above, and can also execute related operations in the collaborative work route planning method provided in any embodiment of the present invention.
[0168] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0169] It is worth noting that in the embodiment of the above-mentioned collaborative work route planning device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0170] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A collaborative work route planning method, characterized in that: include: Obtain multiple operation routes that match the operation area, and pre-assign each operation route to the unmanned equipment of the matching operation type according to the operation type of the operation route. Different operation routes correspond to different operation types. If it is determined that the number of target unmanned equipment pre-allocated to the target operation route is multiple, the target operation route is divided into multiple operation sections according to the operation level, and each operation section is allocated to the target unmanned equipment matching the operation level; According to the operation route and / or multiple operation sections assigned to each unmanned device, a collaborative operation route for each unmanned device is formed; The step of allocating each operation section to a target unmanned equipment matching the operation level includes: According to the operation level, each target unmanned equipment and each operation section are divided into at least one unmanned equipment group and at least one section group; Allocate each road section group to an unmanned equipment group that matches the operation level, and allocate each road section in each road section group to each target unmanned equipment in the matching unmanned equipment group in an evenly divided manner; After allocating each road segment in each road segment group to each target unmanned device in the matching unmanned device group, the method further includes: Obtaining the length of the single-device allocation route corresponding to each unmanned equipment group and the length of the single-device standard route corresponding to the target operation route; According to the order of operation level from high to low, an unmanned equipment group is obtained in turn as the target group; According to the single-device allocation route length, the single-device standard route length and the operation level of the target group, detecting whether the target road segment group corresponding to the target group meets the road segment reallocation condition; If yes, obtaining at least one associated road segment group matching the target road segment group, and reallocating the road segments in the target road segment group and the associated road segment group; Return to execute the operation of obtaining one unmanned equipment group as the target group in order of the job level from high to low, until the processing of all unmanned equipment groups is completed.
2. The method according to claim 1, characterized in that Get multiple work routes that match the work area, including: Acquire multiple original layers corresponding to the operation area, wherein each original layer includes a partial or entire operation area matching the same operation type; According to the preset starting and ending point information, and each of the partial or entire operation areas, a plurality of operation routes matching the operation areas are formed.
3. The method according to claim 2, characterized in that According to the operation route and / or multiple operation sections assigned to each unmanned equipment, a collaborative operation route for each unmanned equipment is formed, including: Generate an operation layer matching each original layer according to the operation route and / or multiple operation sections assigned to each unmanned equipment; According to the order of the operation types, mark the operation order for each operation layer, obtain the overlapping sections of the operation routes of each operation layer and the unmanned equipment matching the overlapping sections, and mark the operation order for each unmanned equipment according to the order of the operation types; Merge each operation layer to generate a collaborative operation roadmap corresponding to each unmanned equipment.
4. The method according to claim 1, characterized in that Obtain the single-device allocation route length corresponding to each unmanned equipment group and the single-device standard route length corresponding to the target operation route, including: Calculate the total length of each working section in the section group matched by each unmanned equipment group, and calculate the length of the single equipment allocation route corresponding to each unmanned equipment group according to the total length and the number of target unmanned equipment in each unmanned equipment group; The total length of the target operation route is obtained, and the single-device standard route length corresponding to each unmanned equipment group is calculated according to the total length of the target operation route and the operation level of each unmanned equipment group.
5. The method according to claim 1, characterized in that: According to the single-device allocation route length, the single-device standard route length and the operation level of the target group, detecting whether the target road segment group corresponding to the target group meets the road segment reallocation condition, including: If the difference between the single-device standard route length and the single-device allocated route length of the target group is greater than or equal to the first difference threshold, it is determined that the target segment group corresponding to the target group meets the segment reallocation condition.
6. The method according to claim 5, characterized in that Acquiring at least one associated road segment group matching the target road segment group, and reallocating road segments in the target road segment group and the associated road segment group, comprising: Obtaining a road segment group with a lower operation level than the target road segment group as an associated road segment group, obtaining an intercepted road segment in the associated road segment group, and adding the intercepted road segment to the target road segment group; The length of the intercepted section is the product of the difference between the length of the standard route of a single device and the length of the allocated route of a single device and the number of target unmanned devices in the target group; According to the target section group after adding the intercepted section, and the associated section group after deleting the intercepted section, the single device allocation route length of the unmanned device group corresponding to the target group and the associated section group is recalculated respectively; The road segments in the target road segment group and the associated road segment group are reallocated according to the recalculated single-device allocation route length.
7. The method according to claim 1, characterized in that According to the single-device allocation route length, the single-device standard route length and the operation level of the target group, detecting whether the target road segment group corresponding to the target group meets the road segment reallocation condition, further comprising: If the target group is an unmanned equipment group of an operating level other than the highest operating level, and the difference between the single-device allocated route length and the single-device standard route length of the target group is greater than or equal to a second difference threshold, then it is determined that the target road segment group corresponding to the target group meets the road segment reallocation condition.
8. The method according to claim 7, characterized in that Acquiring at least one associated road segment group matching the target road segment group, and reallocating road segments in the target road segment group and the associated road segment group, comprising: Obtain all road segment groups with operation levels higher than the target road segment group as associated road segment groups; Recalculate the single-device allocation route length of the unmanned equipment group corresponding to the target group and the associated road section group according to the total length of each operating road section in the target road section group and the associated road section group, the number of each target unmanned equipment in the unmanned equipment group corresponding to the target group and the associated road section group, and the operation level of the unmanned equipment group corresponding to the target group and the associated road section group; The road segments in the target road segment group and the associated road segment group are reallocated according to the recalculated single-device allocation route length.
9. A collaborative operation route planning device, characterized in that: include: The operation route pre-allocation module is used to obtain multiple operation routes that match the operation area, and pre-allocate each operation route to the unmanned equipment of the matching operation type according to the operation type of the operation route. Different operation routes correspond to different operation types. An operation section allocation module is used for dividing the target operation route into multiple operation sections according to the operation level if it is determined that the number of target unmanned equipment pre-allocated to the target operation route is multiple, and allocating each operation section to the target unmanned equipment matching the operation level; A collaborative operation route generation module, used to form a collaborative operation route for each unmanned device according to the operation route and / or multiple operation sections assigned to each unmanned device; The operation section allocation module comprises: A grouping unit, used to classify each target unmanned equipment and each operation section into at least one unmanned equipment group and at least one section group according to the operation level; A road section allocation unit is used to allocate each road section group to an unmanned equipment group with a matching operation level, and allocate each road section in each road section group to each target unmanned equipment in the matching unmanned equipment group in a manner of equal length distribution; The device further comprises: A route length acquisition module is used to acquire the single-device allocated route length corresponding to each unmanned equipment group and the single-device standard route length corresponding to the target operation route; The target group acquisition module is used to sequentially acquire an unmanned equipment group as a target group in descending order of operation level; A road segment reallocation condition judgment module is used to detect whether the target road segment group corresponding to the target group meets the road segment reallocation condition according to the single-device allocation route length, the single-device standard route length and the operation level of the target group; a road segment reallocation module, configured to, if yes, obtain at least one associated road segment group matching the target road segment group, and reallocate the road segments in the target road segment group and the associated road segment group; The return execution module is used to return to the execution of the operation of obtaining an unmanned equipment group as the target group in order from high to low job levels until the processing of all unmanned equipment groups is completed.
10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method for planning a collaborative work route as described in any one of claims 1-8 is implemented.
11. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to execute the collaborative work route planning method as described in any one of claims 1-8 when executed by a computer processor.
