Method of cutting lawn pattern and related device
By obtaining the lawn pattern and determining the cutting path and rotation angle according to its display mode, the cutting mode of the lawn mowing device is intelligently matched, which solves the problem in the existing technology that the lawn mowing device cannot reasonably plan the mowing area, and achieves precise cutting and Improved mowing efficiency.
Patent Information
- Application Number
- CN202410670004.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-06
AI Technical Summary
Existing lawn mowing devices cannot reasonably plan mowing areas for lawn patterns of varying complexity designed by users, resulting in the trimmed patterns not fully meeting expectations.
By obtaining the lawn pattern, the cutting path is determined based on the display method of the pattern, and the rotation angle of the mowing device in the path is obtained. The working area is determined based on the rotation angle, and the cutting mode is intelligently matched to ensure the cutting effect of the pattern and improve the mowing efficiency.
It ensures the cutting effect of the pattern and improves the mowing efficiency, ensuring that the final cutting effect of the pattern meets expectations.
Smart Images

Figure CN118607704A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of lawn mowers, and in particular to a method for cutting lawn patterns and related devices. Background Art
[0002] As the greening coverage process is gradually accelerating, in the field of lawn beautification, people often hope to increase the attractiveness of the landscape through patterns on the lawn. At present, lawn mowing is usually performed based on arbitrary patterns designed by users by mowing devices such as mowing robots. However, since mowing devices cannot reasonably plan the mowing area for patterns of different complexity designed by users, it is easy for the mowed pattern to not completely meet the expected pattern. Summary of the invention
[0003] The embodiments of the present application provide a method for cutting a lawn pattern and a related device, which can ensure the cutting effect of the pattern and improve the mowing efficiency.
[0004] In a first aspect, an embodiment of the present application provides a method for cutting a lawn pattern, comprising:
[0005] Get lawn pattern;
[0006] determining a first cutting path based on a first display mode of the lawn pattern, wherein the first display mode is to recess the lawn pattern in a target lawn;
[0007] Acquiring a rotation angle of the mowing device in the first cutting path;
[0008] The working area is determined according to the rotation angle, and the working area is used to indicate the area where the mowing operation needs to be performed.
[0009] In a second aspect, an embodiment of the present application provides a device for cutting a lawn pattern, comprising:
[0010] A first acquisition unit, used for acquiring a lawn pattern;
[0011] A first determining unit, configured to determine a first cutting path based on a first display mode of the lawn pattern, wherein the first display mode is to recess the lawn pattern in a target lawn;
[0012] A second acquisition unit, used for acquiring a rotation angle of the mowing device in the first cutting path;
[0013] The second determining unit is used to determine an operating area according to the rotation angle, where the operating area is used to indicate an area where a mowing operation needs to be performed.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory storing execution instructions, wherein the memory stores one or more programs; when the processor executes the execution instructions stored in the memory, the processor executes the method described in the first aspect.
[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing an energy data management program, including execution instructions. When a processor of an electronic device executes the execution instructions, the processor executes the method described in the first aspect.
[0016] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application. The computer program product may be a software installation package.
[0017] It can be seen that in the embodiment of the present application, the lawn pattern is first obtained; then the first cutting path is determined based on the first display mode of the lawn pattern, and the first display mode is to recess the lawn pattern in the target lawn; then the rotation angle of the mowing device in the first cutting path is obtained; finally, the working area is determined according to the rotation angle, and the working area is used to indicate the area where the mowing operation needs to be performed. The cutting mode is intelligently matched by the rotation angle of the mowing device, which ensures the cutting effect of the pattern and improves the mowing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 is a system architecture diagram of a lawn cutting system provided by an embodiment of the present application;
[0020] Figure 2 It is a flow chart of a method for cutting a lawn pattern provided in an embodiment of the present application;
[0021] Figure 3 is a schematic diagram of a lawn pattern provided in an embodiment of the present application;
[0022] Figure 4 It is a schematic diagram of a split lawn pattern provided in an embodiment of the present application;
[0023] Figure 5 is a schematic diagram of another lawn pattern provided in an embodiment of the present application;
[0024] Figure 6 is a schematic diagram of another split lawn pattern provided in an embodiment of the present application;
[0025] Figure 7 is a filling schematic diagram of a lawn pattern provided in an embodiment of the present application;
[0026] Figure 8 is a schematic diagram of cutting a lawn pattern provided in an embodiment of the present application;
[0027] Fig. 9 It is a block diagram of the functional units of a device for cutting lawn patterns provided in an embodiment of the present application;
[0028] Fig.10 It is a block diagram of the functional units of another device for cutting lawn patterns provided in an embodiment of the present application;
[0029] Fig.11 It is a structural schematic diagram of an electronic device proposed in an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0031] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0032] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0033] The control function of the current mowing device is relatively simple, and it is impossible to reasonably plan the mowing area for the patterns of different complexity designed by the user, which easily makes the mowed pattern not completely meet the expected pattern.
[0034] In view of the above problems, an embodiment of the present application provides a method for cutting a lawn pattern and a related device. The embodiment of the present application is described in detail below in conjunction with the accompanying drawings.
[0035] See also Figure 1 , Figure 1 1 is a system architecture diagram of a lawn cutting system provided by an embodiment of the present application. Figure 1 As shown, the lawn cutting system 100 includes a receiving module 101, a calculating module 102 and a control module 103, wherein the above modules are connected to each other in communication, and the receiving module 101 is used to receive lawn patterns uploaded by users or various instructions transmitted by users. If the receiving module 101 transmits the lawn pattern designed by the user to the control module 103, the control module 103 assumes that the lawn pattern is recessed on the lawn to obtain a cutting path, and transmits the above cutting path to the calculating module 102, and the calculating module 102 calculates the rotation angle of the mowing device on the cutting path to obtain the rotation angle. Then transmit it to the control module 103, so that the control module 103 determines whether the lawn pattern can be split according to the rotation angle, so as to determine the area in the lawn that needs to be mowed; if the receiving module 101 transmits the user's instruction to fill the pattern to the control module 103, the control module 103 modifies the pattern according to the instruction, and determines the area where the modified pattern is located as the area that needs to be mowed according to the instruction; if the receiving module 101 transmits the user's pattern display mode instruction to the control module 103, the control module 103 determines the area that needs to be mowed and the mowing path according to the instruction.
[0036] See also Figure 2 , Figure 2 1 is a flow chart of a method for cutting a lawn pattern provided in an embodiment of the present application. The method comprises the following steps.
[0037] S210, obtaining a lawn pattern.
[0038] S220: Determine a first cutting path based on the first display mode of the lawn pattern.
[0039] The display mode is used to indicate whether the lawn pattern is highlighted or recessed. The first display mode is to recess the lawn pattern. Assuming that the lawn pattern is recessed, a cutting path for the recessed lawn pattern is obtained, so as to facilitate the subsequent acquisition of the steering angle of the cutting machine in the cutting path. For example, please refer to Figure 3 , Figure 3 is a schematic diagram of a lawn pattern provided in an embodiment of the present application, such as Figure 3 As shown, the inner contour curve 21 and the outer contour curve 22 form a closed lawn pattern D. When the pattern is concave, the lawn between the inner contour curve 21 and the outer contour curve 22 is cut. Figure 3 The direction of the arrow in may be the cutting direction of the cutting device based on the pattern D. The generated cutting path includes the cutting direction of the lawn mower.
[0040] S230: Obtain a rotation angle of the mowing device in the first cutting path.
[0041] Specifically, obtaining the rotation angle of the mowing device in the first cutting path includes: obtaining a contour curve of the lawn pattern; determining a plurality of line connection points of the lawn pattern according to the contour curve; and determining the rotation angle of the mowing device in the first cutting path for the plurality of line connection points.
[0042] The contour curve includes an outer contour curve and an inner contour curve in the contour diagram. Depending on the pattern, multiple line connection points can be determined by referring to the inner contour curve, or by referring to the outer contour curve, or by combining the inner contour curve and the outer contour curve. Figure 3 As shown, if the inner contour curve 21 is selected to determine the line connection points of the lawn pattern, the first line connection point 211 and the second line connection point 212 can be determined, wherein the first line connection point 211 and the second line connection point 212 are adjacent line connection points in the same cutting direction, and the above line connection points are determined to have two steering values according to the cutting direction in the cutting path of the pattern D, and two steering angles are obtained; if the outer contour curve 22 is selected to determine the line connection points of the lawn pattern, the third line connection point 221 and the fourth line connection point 222 can be determined, wherein the third line connection point 221 and the fourth line connection point 222 are adjacent line connection points in the same cutting direction, and the above line connection points are determined to have two steering values according to the cutting direction in the cutting path of the pattern D, and two steering angles are obtained. Among them, the line connection point may have two steering values or one steering value, and the specific number of steering values is determined according to the cutting direction, which is not limited here.
[0043] The steering angle is determined according to the steering direction of the lawn mower head. More specifically, the steering angle of the lawn mower head is determined and calculated by connecting the lines with reference to the cutting direction. For example, Figure 3 As shown, the lawn mower 23 refers to the third line connection point 221 and the fourth line connection point 222. In the first cutting direction 24, the third line connection point 221 is used as the starting point and the fourth line connection point 222 is used as the end point, and the rotation angle of the lawn mower head is determined to be 180 degrees. In the second cutting direction 25, the fourth line connection point 222 is used as the starting point and the third line connection point 221 is used as the end point, and the rotation angle of the lawn mower head is determined to be 0 degrees.
[0044] S240: Determine a working area according to the rotation angle.
[0045] The operation area is used to indicate an area where mowing operations need to be performed.
[0046] Specifically, determining the working area according to the rotation angle includes: determining a splitting result of the lawn pattern according to the rotation angle and the multiple line connection points, the splitting result including whether the lawn pattern can be split or not; determining a non-pattern area as the working area according to the splitting result that can be split, the target lawn includes a pattern area and a non-pattern area, and the pattern area is used to indicate the area in the target lawn where the lawn pattern is located; determining the pattern area as the working area according to the splitting result that cannot be split.
[0047] Specifically, the determining the segmentation result of the lawn pattern according to the rotation angle and the multiple line connection points includes: determining a first area and a second area for the first cutting path according to the multiple line connection points and the rotation angle, the first area being used to indicate an area in the first cutting path where the mowing device does not need to turn, and the second area being used to indicate an area in the first cutting path where the rotation angle is greater than a preset angle; determining the segmentation result of the lawn pattern according to the first area and the second area.
[0048] Wherein, when the lawn pattern has both the first area and the second area, and the number of the first area and the second area is greater than 2, it can be determined that the lawn pattern can be split, that is, the pattern can be determined to be a complex pattern. Wherein, the preset angle can be 0 degrees, or can be set by the user, or can be set according to the pattern preferred by the user.
[0049] Among them, see Figure 4 , Figure 4 is a schematic diagram of a lawn pattern provided in an embodiment of the present application, such as Figure 3 and Figure 4As shown, according to the first line connection point 211, the second line connection point 212 and the two rotation angles obtained above, the lawn pattern can be divided into an area 401 that does not require turning and an area 402 that requires turning, that is, the current pattern has a first area and a second area, and it is determined that the lawn pattern cannot be split, that is, it is determined to be a simple pattern. After the lawn pattern is determined to be a simple pattern, the area where the lawn pattern is located is determined as an operating area, that is, the lawn can be cut according to the first cutting path, thereby improving the mowing efficiency while ensuring the cutting effect of the pattern.
[0050] In this case, you can combine the inner contour curve and the outer contour curve to determine multiple line connection points. Figure 5 , Figure 5 is a schematic diagram of another lawn pattern provided in an embodiment of the present application, such as Figure 5 As shown, a third cutting direction 502, a fourth cutting direction 503, a fifth cutting direction 504 and a sixth cutting direction 505 are obtained according to the cutting path, and a fifth line connection point 506, a sixth line connection point 507, a seventh line connection point 508, an eighth line connection point 512, a ninth line connection point 513, a tenth line connection point 514, an eleventh line connection point 509, a twelfth line connection point 510 and a thirteenth line connection point 511 are obtained according to the contour curve of the pattern. The mowing device 501 refers to the sixth line connection point 507 and the seventh line connection point 508. In the third cutting direction 502, the sixth line connection point 507 is used as the starting point and the seventh line connection point 508 is used as the end point, and the rotation angle of the front of the mowing device is determined to be 180 degrees. The mowing device 501 refers to the sixth line connection point 507 and the seventh line connection point 508. The connection point 508, when in the fourth cutting direction 503, takes the seventh line connection point 508 as the starting point and the sixth line connection point 507 as the end point, and determines that the rotation angle of the front of the mowing device is 0 degree; the mowing device 501 refers to the eighth line connection point 512 and the ninth line connection point 513, when in the fifth cutting direction 504, takes the eighth line connection point 512 as the starting point and the ninth line connection point 513 as the end point, and determines that the rotation angle of the front of the mowing device is 0 degree; the mowing device 501 refers to the eleventh line connection point 509 and the twelfth line connection point 510, when in the fifth cutting direction 504, takes the eleventh line connection point 509 as the starting point and the twelfth line connection point 510 as the end point, and determines that the rotation angle of the front of the mowing device is 0 degree; in summary, four rotation values are obtained, three rotation angles are 0, and one rotation angle is 180 degrees.
[0051] Among them, see Figure 6 , Figure 6 is a schematic diagram of another lawn pattern provided in an embodiment of the present application. Figure 5 and Figure 6As shown, according to the above-mentioned line connection points and rotation angles, the lawn pattern R can be divided into three first areas and one second area 601, wherein the three first areas are respectively a first sub-area 602, a second sub-area 603, and a third sub-area 604. That is, when it is determined that the lawn pattern can be split, that is, it is determined to be a complex pattern, after the lawn pattern is determined to be a complex pattern, the area where the non-lawn pattern is located is determined as an operating area, and the cutting route is re-determined according to the operating area to cut the lawn, which can ensure the final cutting effect of the pattern.
[0052] Any combination pattern including a complex pattern is also a complex pattern, that is, the area where the non-lawn pattern is located is also determined as the working area.
[0053] Specifically, before determining the non-pattern area as the working area, the method further includes: receiving a filling instruction from a user, the filling instruction being used to instruct to convert the pattern type of the lawn pattern from a hollow pattern to a solid pattern; and determining the pattern area as the working area according to the filling instruction.
[0054] After determining that the lawn pattern is a complex pattern and before determining the non-pattern area as the working area, the user can choose to simplify the complex pattern, for example, to change the lawn pattern into a solid pattern. Figure 7 , Figure 7 is a schematic diagram of a lawn pattern filled in an embodiment of the present application, such as Figure 7 As shown, the hollow A is converted into a solid A. By simplifying the pattern by filling the pattern, the area where the lawn pattern is located can be determined as the working area, so that the lawn pattern is recessed, thereby improving the cutting efficiency of the pattern and ensuring the cutting effect of the pattern; or a complex pattern can be split into simple patterns for cutting.
[0055] Specifically, before determining the non-pattern area as the working area, the method also includes: receiving a mowing instruction from a user, the mowing instruction being used to instruct to highlight the lawn pattern in the target lawn; splitting the lawn pattern according to the rotation angle and the multiple line connection points to obtain multiple sub-patterns; determining a second cutting path according to the mowing instruction and the multiple sub-patterns; and determining that the lawn area corresponding to the second cutting path is the working area.
[0056] After determining that the lawn pattern is a complex pattern and before determining the non-pattern area as the working area, if a concave mowing instruction from the user is received, the lawn pattern can be split into multiple sub-patterns according to the first area and the second area displayed by the splitting result. Specifically, determining the second cutting path according to the mowing instruction and the multiple sub-patterns includes: obtaining the position of the mowing device; determining the cutting order for each of the multiple sub-patterns according to the position of the mowing device; and determining the second cutting path according to the cutting order.
[0057] The cutting order of multiple sub-patterns is determined based on the proximity principle according to the current position of the mowing device, and navigation is performed using real-time planned paths according to different orders. When the cutting device is in a non-cutting area during navigation, the blade will be turned off to avoid damaging the visual effect of the pattern. Figure 8 , Figure 8 is a schematic diagram of cutting a lawn pattern provided in an embodiment of the present application, such as Figure 8 As shown, when the lawn mower 805 approaches the third sub-pattern 803, the lawn pattern can be cut in the order of the third sub-pattern 803, the second sub-pattern 802, the first sub-pattern 801, and the fourth sub-pattern 804. By splitting the pattern to simplify the complex pattern, when cutting the pattern, the cutting efficiency of the pattern is improved and the cutting effect of the pattern is ensured.
[0058] It can be seen that in this embodiment, the cutting mode is intelligently matched through the rotation angle of the mowing device, so that the cutting effect of the pattern is guaranteed and the mowing efficiency is improved.
[0059] For the above embodiments, please refer to Fig. 9 , Fig. 9 is a functional unit block diagram of a device for cutting lawn patterns provided in an embodiment of the present application, such as Fig. 9 As shown, the device 90 for cutting a lawn pattern includes: a first acquisition unit 91, used to acquire a lawn pattern; a first determination unit 92, used to determine a first cutting path based on a first display mode of the lawn pattern, wherein the first display mode is to recess the lawn pattern in a target lawn; a second acquisition unit 93, used to acquire a rotation angle of the mowing device in the first cutting path; and a second determination unit 94, used to determine an operating area according to the rotation angle, wherein the operating area is used to indicate an area where a mowing operation needs to be performed.
[0060] In a possible embodiment, in terms of obtaining the rotation angle of the mowing device in the first cutting path, the second acquisition unit 93 is specifically used to: obtain a contour curve of the lawn pattern; determine a plurality of line connection points of the lawn pattern according to the contour curve; and determine the rotation angle of the mowing device in the first cutting path for the plurality of line connection points.
[0061] In a possible embodiment, in terms of determining the working area according to the rotation angle, the second determination unit 94 is specifically used to: determine the segmentation result of the lawn pattern according to the rotation angle and the multiple line connection points, the segmentation result includes whether the lawn pattern can be segmented or not; determine the non-pattern area as the working area according to the segmentation result that can be segmented, the target lawn includes a pattern area and a non-pattern area, and the pattern area is used to indicate the area where the lawn pattern is located in the target lawn; determine the pattern area as the working area according to the segmentation result that cannot be segmented.
[0062] In a possible embodiment, in terms of determining the segmentation result of the lawn pattern according to the rotation angle and the multiple line connection points, the second determination unit 94 is specifically further used to: determine a first area and a second area for the first cutting path according to the multiple line connection points and the rotation angle, the first area being used to indicate an area in the first cutting path where the mowing device does not need to turn, and the second area being used to indicate an area in the first cutting path where the rotation angle is greater than a preset angle; determine the segmentation result of the lawn pattern according to the first area and the second area.
[0063] In a possible embodiment, before determining that the non-pattern area is the working area, the device 90 for cutting the lawn pattern is further specifically used to: receive a filling instruction from a user, wherein the filling instruction is used to instruct to convert the pattern type of the lawn pattern from a hollow pattern to a solid pattern; and determine that the pattern area is the working area according to the filling instruction.
[0064] In a possible embodiment, before determining that the non-pattern area is the working area, the device 90 for cutting the lawn pattern is further specifically used to: receive a mowing instruction from a user, wherein the mowing instruction is used to instruct to highlight the lawn pattern in the target lawn; split the lawn pattern according to the rotation angle and the multiple line connection points to obtain multiple sub-patterns; determine a second cutting path according to the mowing instruction and the multiple sub-patterns; and determine that the lawn area corresponding to the second cutting path is the working area.
[0065] In a possible embodiment, in terms of determining the second cutting path according to the mowing instruction and the multiple sub-patterns, the device 90 for cutting lawn patterns is specifically used to: obtain the position of the mowing device; determine the cutting order for each of the multiple sub-patterns according to the position of the mowing device; and determine the second cutting path according to the cutting order.
[0066] It can be understood that since the method embodiment and the device embodiment are different presentation forms of the same technical concept, the content of the method embodiment part in this application should be synchronously adapted to the device embodiment part and will not be repeated here.
[0067] In the case of integrated units, see Fig.10 , Fig.10 is a block diagram of the functional units of another device for cutting lawn patterns provided in an embodiment of the present application, such as Fig.10 As shown, the apparatus 90 for cutting lawn patterns includes: a processing module 1002 and a communication module 1001. The processing module 1002 is used to control and manage the actions of the apparatus 90 for cutting lawn patterns, for example, to execute the steps of the first acquisition unit 91, the first determination unit 92, the second acquisition unit 93, the second determination unit 94, and / or other processes for executing the technology described herein. The communication module 1001 is used for the interaction between the apparatus 90 for cutting lawn patterns and other devices. Fig.10 As shown, the apparatus 90 for cutting a lawn pattern may further include a storage module 1003 , and the storage module 1003 is used to store program codes and data of the apparatus 90 for cutting a lawn pattern.
[0068] Among them, the processing module 1002 can be a processor or a controller, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements a computing function, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 1001 can be a transceiver, an RF circuit or a communication interface, and the like. The storage module 1003 can be a memory.
[0069] All relevant contents of each scene involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here. The above lawn cutting pattern device 90 can execute the above Figure 2 Method of cutting lawn pattern shown.
[0070] See also Fig.11 , Fig.11 is a schematic diagram of the structure of an electronic device proposed in an embodiment of the present application, such as Fig.11 As shown, the electronic device 1100 includes a processor 1110, a memory 1120, a communication interface 1130 and one or more programs 1121. The one or more programs 1121 are stored in the memory and are configured to be executed by the processor. When the program is executed, it includes part or all of the steps of any one of the cruising range estimation methods recorded in the above method embodiments. The processor, memory and communication interface are interconnected and complete communication with each other.
[0071] The memory may be a volatile memory such as a dynamic random access memory DRAM, or a non-volatile memory such as a mechanical hard disk. The memory is used to store a set of executable program codes, and the processor is used to call the executable program codes stored in the memory, and may execute part or all of the steps of any energy data management method recorded in the above-mentioned embodiment of the range estimation method.
[0072] It can be seen that the electronic device 1100 described in the embodiment of the present application first obtains a lawn pattern; then determines a first cutting path based on a first display mode of the lawn pattern, wherein the first display mode is to recess the lawn pattern in the target lawn; then obtains a rotation angle of the mowing device in the first cutting path; and finally determines an operating area according to the rotation angle, wherein the operating area is used to indicate an area where mowing operations are required. The cutting mode is intelligently matched by the rotation angle of the mowing device, thereby ensuring the cutting effect of the pattern and improving the mowing efficiency.
[0073] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps of any method described in the above method embodiments, and the above computer includes an electronic device.
[0074] The embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause a computer to execute some or all of the steps of any method described in the method embodiment. The computer program product may be a software installation package, and the computer includes an electronic device.
[0075] It should be noted that, for the sake of simplicity, the aforementioned method implementations are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the implementations described in the specification are all optional implementations, and the actions and modules involved are not necessarily required by the present application.
[0076] In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0077] In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device implementation described above is only schematic, such as the division of the units, which 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, and the indirect coupling or communication connection of the device or unit can be electrical or other forms.
[0078] 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 present embodiment.
[0079] 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. The above integrated unit may be implemented in the form of hardware or in the form of a software program module.
[0080] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory 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 method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0081] A person skilled in the art may understand that all or part of the steps in the various methods of the above-mentioned embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0082] The above is a detailed introduction to the implementation methods of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above implementation methods is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for cutting a lawn pattern, characterized in that: include: Get lawn pattern; determining a first cutting path based on a first display mode of the lawn pattern, wherein the first display mode is to recess the lawn pattern in a target lawn; Acquiring a rotation angle of the mowing device in the first cutting path; A working area is determined according to the rotation angle, and the working area is used to indicate an area where a mowing operation needs to be performed.
2. The method according to claim 1, characterized in that The obtaining of the rotation angle of the mowing device in the first cutting path comprises: Obtaining a contour curve of the lawn pattern; Determine a plurality of line connection points of the lawn pattern according to the contour curve; A rotation angle of the mowing device in the first cutting path for the plurality of line connection points is determined.
3. The method according to claim 2, characterized in that The determining of the working area according to the rotation angle comprises: Determining a segmentation result of the lawn pattern according to the rotation angle and the plurality of line connection points, the segmentation result including whether the lawn pattern can be segmented or not; Determine the non-pattern area as the working area according to the splitting result, the target lawn includes a pattern area and a non-pattern area, and the pattern area is used to indicate the area where the lawn pattern is located in the target lawn; The pattern area is determined as the working area according to the splitting result that cannot be split.
4. The method according to claim 3, characterized in that The step of determining the segmentation result of the lawn pattern according to the rotation angle and the plurality of line connection points comprises: Determine a first area and a second area for the first cutting path according to the plurality of line connection points and the rotation angle, the first area being used to indicate an area in the first cutting path where the mowing device does not need to turn, and the second area being used to indicate an area in the first cutting path where the rotation angle is greater than a preset angle; A segmentation result of the lawn pattern is determined according to the first area and the second area.
5. The method according to claim 3, characterized in that: Before determining the non-pattern area as the working area, the method further includes: receiving a filling instruction from a user, wherein the filling instruction is used to instruct to convert the pattern type of the lawn pattern from a hollow pattern to a solid pattern; The pattern area is determined as a working area according to the filling instruction.
6. The method according to claim 3, characterized in that Before determining the non-pattern area as the working area, the method further includes: receiving a mowing instruction from a user, wherein the mowing instruction is used to instruct to recess the lawn pattern in the target lawn; Splitting the lawn pattern according to the rotation angle and the plurality of line connection points to obtain a plurality of sub-patterns; determining a second cutting path according to the mowing instruction and the plurality of sub-patterns; The lawn area corresponding to the second cutting path is determined as the working area.
7. The method according to claim 6, characterized in that The determining a second cutting path according to the mowing instruction and the plurality of sub-patterns comprises: obtaining the position of the mowing device; determining a cutting order for each of the plurality of sub-patterns according to the position of the mowing device; The second cutting path is determined according to the cutting sequence.
8. A device for cutting lawn patterns, characterized in that: include: A first acquisition unit, used for acquiring a lawn pattern; A first determining unit, configured to determine a first cutting path based on a first display mode of the lawn pattern, wherein the first display mode is to recess the lawn pattern in a target lawn; A second acquisition unit, used for acquiring a rotation angle of the mowing device in the first cutting path; The second determining unit is used to determine an operating area according to the rotation angle, where the operating area is used to indicate an area where a mowing operation needs to be performed.
9. An electronic device, characterized in that: The method comprises a processor and a memory storing execution instructions, wherein the memory stores one or more programs; when the processor executes the execution instructions stored in the memory, the processor executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: An energy data management program is stored, including execution instructions. When a processor of an electronic device executes the execution instructions, the processor executes the method according to any one of claims 1-7.
Citation Information
Cited By
Method for mowing lawn pattern, and related apparatus
WO2025246746A1
