Mowing method and related apparatus

By calculating the difference between the interval distance of the lawn pattern and the cutting width, the mowing area is rationally planned, which solves the problem that existing lawn mowing devices cannot realize user-customized patterns, and improves mowing efficiency and pattern cutting effect.

WO2025246745A1PCT designated stage Publication Date: 2025-12-04SHENZHEN MAMMOTION INNOVATION CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/090994
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-05-28
Filing Date
2025-04-24
Publication Date
2025-12-04

AI Technical Summary

Technical Problem

Existing lawn mowing devices cannot achieve arbitrary patterns according to user preferences, nor can they reasonably plan the mowing area, resulting in the mowing pattern not fully meeting expectations.

Method used

By acquiring lawn map information, calculating the interval distance between lawn patterns and the cutting width of the mowing device, calculating the difference to determine the work area, and rationally planning the mowing area to achieve the cutting effect of the pattern.

Benefits of technology

It improves mowing efficiency, ensures that the cutting effect of the pattern meets user needs, and enhances user experience and landscape aesthetics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025090994_04122025_PF_FP_ABST
    Figure CN2025090994_04122025_PF_FP_ABST
Patent Text Reader

Abstract

Provided are a mowing method and a related apparatus. The mowing method comprises the following steps: acquiring lawn map information, wherein the lawn map information comprises a plurality of lawn patterns; acquiring the distance between any two adjacent lawn patterns among the plurality of lawn patterns, so as to obtain a plurality of spacing distances; acquiring a cutting width of a mowing apparatus (20, 80); acquiring the difference between each spacing distance among the plurality of spacing distances and the cutting width, so as to obtain a plurality of target differences; and on the basis of the plurality of target differences, determining an operation region, wherein the operation region is used for indicating a region which requires a mowing operation. By means of the mowing method, a mowing apparatus (20, 80) can rationally plan a mowing path, thereby improving the mowing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Mowing method and related apparatus

[0001] This application claims priority to the Chinese patent application No. 2024106712658, filed on May 28, 2024, and entitled "Mowing method and related apparatus", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] The present application relates to the field of lawn mowers, and in particular to a mowing method and related apparatus. BACKGROUND

[0003] With the gradual acceleration of greening coverage, in the field of lawn beautification, people often want to increase the attractiveness of the landscape through patterns on the lawn. At present, people often use mowing robots and other mowing devices to autonomously mow to form patterns, however, due to the simple control function of the current mowing devices, it is not possible to achieve arbitrary pattern trimming according to user preferences, and it is not possible to reasonably plan the mowing area, so that the trimmed pattern cannot completely conform to the expected pattern. SUMMARY

[0004] The embodiments of the present application provide a mowing method and related apparatus to ensure the cutting effect of the pattern and improve the mowing efficiency.

[0005] In a first aspect, the embodiments of the present application provide a mowing method, comprising: obtaining lawn map information, the lawn map information including a plurality of lawn patterns, obtaining distances between any two adjacent lawn patterns in the plurality of lawn patterns to obtain a plurality of interval distances, obtaining a cutting width of a mowing device, obtaining a difference between each interval distance in the plurality of interval distances and the cutting width to obtain a plurality of target differences, and determining a work area according to the plurality of target differences, the work area being used to indicate a region requiring mowing operation.

[0006] In a second aspect, the embodiments of the present application provide a mowing device, comprising: a first obtaining unit configured to obtain lawn map information, the lawn map information including a plurality of lawn patterns, a second obtaining unit configured to obtain distances between any two adjacent lawn patterns in the plurality of lawn patterns to obtain a plurality of interval distances, a third obtaining unit configured to obtain a cutting width of a mowing device, a fourth obtaining unit configured to obtain a difference between each interval distance in the plurality of interval distances and the cutting width to obtain a plurality of target differences, and a determining unit configured to determine a work area according to the plurality of target differences, the work area being used to indicate a region requiring mowing operation.

[0007] In a third aspect, an electronic device is provided, including a processor and a memory storing an execution instruction, the memory storing one or more programs; when the processor executes the execution instruction stored in the memory, the processor executes the method in the first aspect.

[0008] In a fourth aspect, a computer readable storage medium is provided, storing an energy data management program including an execution instruction, when a processor of an electronic device executes the execution instruction, the processor executes the method in the first aspect.

[0009] In a fifth aspect, a computer program product is provided, including a non-transitory computer readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps described in the first aspect of the embodiments of the present application. The computer program product can be a software installation package.

[0010] It can be seen that, in the embodiments of the present application, first, the lawn map information is acquired, the lawn map information including a plurality of lawn patterns; the distance between any two adjacent lawn patterns in the plurality of lawn patterns is acquired, a plurality of interval distances are obtained; the cutting width of the mowing device is acquired; the difference between each interval distance in the plurality of interval distances and the cutting width is acquired, a plurality of target differences are obtained; the working area is determined according to the plurality of target differences, the working area being used to indicate the area needing mowing operation. The display types of the lawn patterns are reasonably planned through the interval distance and the cutting width, the mowing area is matched according to different display types, so as to guarantee the cutting effect of the patterns and improve the mowing efficiency. BRIEF DESCRIPTION OF DRAWINGS

[0011] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0012] FIG. 1 is a system architecture diagram of a mowing system provided by an embodiment of the present application;

[0013] FIG. 2 is a flow diagram of a mowing method provided by an embodiment of the present application;

[0014] FIG. 3 is a schematic diagram of a lawn map provided by an embodiment of the present application;

[0015] FIG. 4 is a schematic diagram of a pattern setting interface according to an embodiment of the present application;

[0016] Fig. 5 is a schematic view of a mowing device according to an embodiment of the present application;

[0017] Fig. 6 is a schematic view of a lawn pattern according to an embodiment of the present application;

[0018] Fig. 7 is a schematic view of another lawn pattern according to an embodiment of the present application;

[0019] Fig. 8 is a block diagram of functional units of a mowing device according to an embodiment of the present application;

[0020] Fig. 9 is a block diagram of functional units of another mowing device according to an embodiment of the present application;

[0021] Fig. 10 is a schematic view of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0022] In order to make the person skilled in the art better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by the person skilled in the art without creative labor fall within the scope of protection of the present application.

[0023] The terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but can optionally include other steps or units not listed or can optionally include other steps or units inherent to the process, method, product or device.

[0024] In this document, the term "embodiment" means that a specific feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily all refer to the same embodiment, nor is it necessarily mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0025] The control function of the current mowing device is relatively simple, and cannot realize mowing of an arbitrary pattern according to user preferences, and cannot reasonably plan the mowing area.

[0026] To solve the above problems, the embodiment of the present application provides a mowing method and related device, which will be described in detail below in combination with the drawings.

[0027] Please refer to Fig. 1, which is a system architecture diagram of a mowing system provided by the embodiment of the present application. As shown in Fig. 1, the mowing system 100 comprises a pattern design module 10, a mowing device 20 and a mowing control module 30, wherein the above modules are communicatively connected to each other. The pattern design module 10 is a platform for users to design patterns, for example, a target pattern can be selected from existing patterns in the pattern design module 10 for combination or a certain pattern can be selected alone, a pattern can be imported from outside, a canvas interface can be entered to design a pattern by oneself, etc. The mowing device 20 is used to mow grass according to a mowing path sent by the mowing control module 30. The mowing control module 30 is used to acquire a pattern designed by the pattern design module 10 and related pattern information, for example, information such as size, position and color of each pattern on the lawn, and is used to acquire related information of the mowing device 20, such as the cutting width of the mowing device. Then, the acquired information is analyzed to determine the display mode of the lawn pattern, so as to determine the position requiring mowing operation. Finally, the mowing path is determined according to the position requiring mowing, so that the mowing device 20 mows the lawn based on the mowing path.

[0028] Please refer to Fig. 2, which is a flowchart of a mowing method provided by the embodiment of the present application. The method comprises the following steps.

[0029] S210, acquiring lawn map information, wherein the lawn map information comprises a plurality of lawn patterns.

[0030] Specifically, the lawn map information comprises a lawn map. The acquiring of the lawn map information comprises: starting a mowing pattern setting interface when a setting pattern instruction is received, and displaying the lawn map to the mowing pattern setting interface. The mowing pattern setting interface is used for target users to customize pattern information, wherein the pattern information comprises pattern color, pattern shape, pattern area, pattern position and pattern proportion. The pattern color is used to indicate the height of the corresponding pattern. The pattern information is received. The pattern information is preprocessed to obtain the lawn map information.

[0031] When the mowing pattern setting interface is started, the pattern setting interface displays the lawn image information determined by the user, i.e., the lawn map is displayed on the pattern setting interface. Please refer to FIG. 3, which is a schematic diagram of a lawn map according to an embodiment of the present application. As shown in FIG. 3, the lawn map includes a first lawn 301, a second lawn 302, and a third lawn 303. The user randomly selects the first lawn 301, the second lawn 302, and the third lawn 303 to design the pattern. For example, if the user selects the first lawn 301 to design the pattern, the user can click the first lawn 301 in the pattern setting interface to enter the setting interface.

[0032] The mowing pattern setting interface includes a plurality of common lawn patterns. Specifically, the mowing pattern setting interface stores the previously used patterns and the drawn patterns. When designing the lawn pattern, the user can select a desired pattern from the existing patterns through the mowing pattern setting interface, import an external picture, enter the canvas interface to design the pattern, and the like. The user can also combine and splice the above patterns to achieve the final pattern effect. When designing the pattern, the user can also customize the size, color, and specific position of the pattern on the lawn map. Please refer to FIG. 4, which is a schematic diagram of a pattern setting interface according to an embodiment of the present application. As shown in FIG. 4, the pattern setting interface 40 includes an imported pattern 41, a custom pattern 42, and a selectable pattern 43. The imported pattern 41 is used for the user to import an external pattern. The selectable pattern 43 includes a plurality of common simple patterns, such as a smiley face, a rectangle, a sun, a moon, a heart, and the like, so that the user can directly select the pattern. The user can also click the button of the custom pattern 42 to enter the drawing pattern interface. As shown in FIG. 4, assuming that the lawn has an irregular shape, including a non-lawn area 421, a moon pattern 422, a cloud pattern 423, and a drawn pattern 424. Through the user-defined lawn pattern, the user can realize the trimming of any pattern according to his / her preference.

[0033] Further, please refer to FIG. 5, which is a schematic diagram of mowing according to an embodiment of the present application. As shown in FIG. 5, the user defines the lawn pattern on the fourth lawn 51, including a heart pattern 53 and a wave pattern 52. Assuming that the interval distance between the heart pattern 53 and the wave pattern 52 is less than the cutting width of the mowing device, it is determined that the display mode of the heart pattern 53 and the wave pattern 52 is concave, the position of the heart pattern 53 and the wave pattern 52 is determined as the position to be mowed, and the mowing path is generated, so that the mowing device mows the heart pattern 53 and the wave pattern 52 according to the generated mowing path. The arrow direction in FIG. 5 represents the cutting direction of the mowing device. Further, different cutting heights can be set according to the different colors of the heart pattern 53 and the wave pattern 52.

[0034] The lawn in the lawn map can be a lawn that has not been mowed. When the user customizes the pattern in the mowing pattern setting interface, the user can directly set the designed pattern on the lawn so as to view the pattern effect and directly modify the pattern on the image of the lawn if the user is not satisfied with the pattern effect. The pattern effect can be viewed from multiple angles.

[0035] If the user needs to modify the pattern on the lawn, the lawn in the lawn map can also be a lawn with a lawn pattern. Therefore, when the user customizes the pattern in the mowing pattern setting interface, the user needs to design the pattern in combination with the height of the current lawn and the pattern of the current lawn.

[0036] Specifically, the pattern information is preprocessed, including: determining the range of the height of the lawn corresponding to each pattern color in the pattern color; adjusting the proportion of the pattern if the proportion of the pattern is greater than a preset pattern proportion; and adjusting the position of the pattern if the position of the pattern exceeds a preset position.

[0037] When the user uploads the pattern information, the pattern is first desaturated, for example, the image information is converted to grayscale. The grayscale value corresponding to the pattern is then obtained. The same grayscale value can be used to represent the same color. For example, the higher the grayscale value, the higher the height of the corresponding pattern. The format of the image is then adjusted. For example, whether the proportion of the user-defined pattern is appropriate is determined according to a preset pattern proportion. The preset pattern proportion can be a reasonable proportion range. Whether the position of the user-defined pattern is appropriate is also determined according to a preset pattern position range.

[0038] It can be seen that, by preprocessing the user-defined pattern, the pattern can be set within a reasonable range of the lawn, thereby enhancing the aesthetic appearance of the lawn pattern.

[0039] S220, obtaining the distance between any two adjacent lawn patterns in the plurality of lawn patterns, to obtain a plurality of interval distances.

[0040] Referring to FIG. 6, FIG. 6 is a schematic diagram of a lawn pattern, as shown in FIG. 6, four lawn patterns exist in the fifth lawn 60, which are a first lawn pattern 601, a second lawn pattern 602, a third lawn pattern 603, and a fourth lawn pattern 604. The interval distances between the first lawn pattern 601 and the second lawn pattern 602, the third lawn pattern 603, and the fourth lawn pattern 604 are obtained, respectively. The interval distances between the second lawn pattern 602 and the third lawn pattern 603 and the fourth lawn pattern 604 are obtained, respectively. The interval distance between the third lawn pattern 603 and the fourth lawn pattern 604 is obtained. The interval distance can be the shortest distance between two lawn patterns without contacting other lawn patterns.

[0041] S230, obtaining a cutting width of the mowing device.

[0042] S240, obtaining a difference between each interval distance and the cutting width, to obtain a plurality of target differences.

[0043] For example, as shown in FIG. 6, six interval distances are obtained according to four lawn patterns, and the six interval distances are subtracted from the obtained cutting width to obtain six target differences.

[0044] S250, determining a working area according to the plurality of target differences, the working area being used to indicate an area requiring mowing operation.

[0045] Specifically, determining the working area according to the plurality of target differences includes: in a case where there is a target difference less than zero in the plurality of target differences, determining a pattern area as the working area, the pattern area being an area where the plurality of lawn patterns are located in a lawn map, the lawn map information including the lawn map; and in a case where all target differences are not less than zero in the plurality of target differences, determining a non-pattern area as the working area, the non-pattern area being an area other than the area where the plurality of lawn patterns are located in the lawn map.

[0046] In a case where there is an interval distance less than the cutting width, the lawn pattern is recessed, and if the lawn pattern is highlighted, the cutting width will be much larger than the effect designed by the user when the mowing device passes between the patterns, and even affect the shape of the pattern, so that the mowing effect does not meet the user's expectation. In a case where all interval distances are not less than the cutting width, an external mowing mode can be used preferentially, so that the lawn is neat and beautiful, and the overall landscape effect is improved.

[0047] It can be seen that, in determining the mowing area, the cutting width of the mowing device and the distance between the patterns are considered, so as to facilitate mowing by the mowing device, thereby improving the mowing effect for the patterns.

[0048] Specifically, before determining the non-pattern area as the working area, the method further includes: performing contour detection on the plurality of lawn patterns to obtain a first contour curve and a second contour curve for each lawn pattern; obtaining a line segment width between the first contour curve and the second contour curve; and determining the working area according to the line segment width.

[0049] Referring to FIG. 7, FIG. 7 is a schematic diagram of another lawn pattern according to an embodiment of the present application. As shown in FIG. 7, when the contour of the lawn pattern is detected, an inner contour curve 702 and an outer contour curve 701 are used to form a lawn pattern A, and then the width of the lawn pattern A is determined according to the inner contour curve 702 and the outer contour curve 701. If the lawn pattern is irregular and has multiple line segment widths, the most narrow line segment width can be used to determine whether the lawn pattern is highlighted or recessed.

[0050] Specifically, after the line segment width between the first contour curve and the second contour curve is obtained, the method further includes: determining a comparison result of the line segment width and the cutting width; obtaining a first cutting path based on a first display mode according to the comparison result that the line segment width is greater than the cutting width, the first display mode being to recess the multiple lawn patterns in the lawn map; obtaining a second cutting path based on a second display mode, the second display mode being to highlight the multiple lawn patterns in the lawn map; determining a cutting path with the shortest distance between the first cutting path and the second cutting path as a target cutting path; and determining the work area according to the target cutting path.

[0051] In the case that the line segment width is less than or equal to the cutting width, the non-pattern area is determined as the mowing area, so as to ensure the cutting effect of the pattern. In the case that the line segment width is greater than the cutting width, different cutting paths can be determined according to different cutting modes based on the pattern designed by the user, and the area on the lawn map corresponding to the cutting path with the shortest distance is determined as the mowing area, so as to improve the cutting efficiency of the mowing device.

[0052] In the case that the line segment width is greater than the cutting width, the number of colors in the multiple designed lawn patterns can also be determined, and each color corresponds to a cutting height. The more colors, the greater the cutting complexity. The mowing area is determined according to the number of colors of the lawn pattern. For example, in the case that the number of colors of the multiple lawn patterns is greater than a preset number of colors, the pattern area is determined as the mowing area. In the case that the number of colors of the multiple lawn patterns is not greater than the preset number of colors, the non-pattern area is preferentially selected as the mowing area, so as to improve the overall landscape effect.

[0053] Specifically, before the non-pattern area is determined as the work area, the method further includes: receiving a mowing instruction, the mowing instruction including a display mode for each of the multiple lawn patterns, the display mode including highlighting or recessing the multiple lawn patterns in the lawn map; and determining the work area according to the mowing instruction.

[0054] If the mowing instruction of the user for the lawn pattern is received before the mowing area is determined, the lawn is mowed according to the instruction of the user, and the lawn pattern can be displayed in a three-dimensional manner on the lawn by the user selecting different display manners of the pattern, so that the user can view the pattern effect, and the mowing instruction of the user can also be selected from the above display manners. The mowing is performed by receiving the instruction of the user, the user experience is enhanced, and the cutting effect of the pattern is closer to the demand of the user.

[0055] It can be seen that, in the embodiment, the display types of the lawn patterns are reasonably planned according to the interval distance and the cutting width, and the mowing area is matched according to different display types, so as to guarantee the cutting effect of the pattern and improve the mowing efficiency.

[0056] Consistent with the above embodiment, refer to FIG. 8, which is a functional unit composition block diagram of a mowing device provided by the embodiment of the application, as shown in FIG. 8, the mowing device 80 comprises: a first acquisition unit 81, configured to acquire lawn map information, wherein the lawn map information comprises a plurality of lawn patterns; a second acquisition unit 82, configured to acquire the distance between any two adjacent lawn patterns in the plurality of lawn patterns, and obtain a plurality of interval distances; a third acquisition unit 83, configured to acquire the cutting width of the mowing device; a fourth acquisition unit 84, configured to acquire the difference between each interval distance in the plurality of interval distances and the cutting width, and obtain a plurality of target differences; and a determination unit 85, configured to determine a working area according to the plurality of target differences, wherein the working area is used to indicate the area that needs to be mowed.

[0057] In one possible embodiment, in terms of determining the working area according to the plurality of target differences, the determination unit 85 is specifically configured to: in a case where there is a target difference less than zero in the plurality of target differences, determine a pattern area as the working area, wherein the pattern area is an area where the plurality of lawn patterns are located in the lawn map, and the lawn map information comprises the lawn map; and in a case where all the target differences in the plurality of target differences are not less than zero, determine a non-pattern area as the working area, wherein the non-pattern area is an area other than the area where the plurality of lawn patterns are located in the lawn map.

[0058] In one possible embodiment, before the non-pattern area is determined as the working area, the determination unit 85 is specifically further configured to: perform contour detection on the plurality of lawn patterns, and obtain a first contour curve and a second contour curve for each lawn pattern; acquire the line segment width between the first contour curve and the second contour curve; and determine the working area according to the line segment width.

[0059] In a possible implementation, after the line segment width between the first contour curve and the second contour curve is obtained, the determining unit 85 is specifically further configured to: determine a comparison result of the line segment width and the cutting width; obtain a first cutting path based on a first display mode according to the comparison result that the line segment width is greater than the cutting width, the first display mode being highlighting the plurality of lawn patterns in the lawn map; obtain a second cutting path based on a second display mode, the second display mode being highlighting the plurality of lawn patterns in the lawn map; determine a cutting path with the shortest distance between the first cutting path and the second cutting path as a target cutting path; and determine the work area according to the target cutting path.

[0060] In a possible implementation, before the non-pattern area is determined as the work area, the determining unit 85 is specifically further configured to: receive a mowing instruction, the mowing instruction including a display mode for each of the plurality of lawn patterns, the display mode including highlighting or highlighting the plurality of lawn patterns in the lawn map; and determine the work area according to the mowing instruction.

[0061] In a possible implementation, in the aspect of obtaining the lawn map information, the first obtaining unit 81 is specifically configured to: include the lawn map in the lawn map information; start a mowing pattern setting interface when the setting pattern instruction is received; and display the lawn map to the mowing pattern setting interface, the mowing pattern setting interface being used for a target user to customize pattern information, the pattern information including a pattern color, a pattern shape, a pattern area, a pattern position, and a pattern scale, the pattern color being used to indicate the height of the corresponding pattern; receive the pattern information; and preprocess the pattern information to obtain the lawn map information.

[0062] In a possible implementation, in the aspect of preprocessing the pattern information, the first obtaining unit 81 is specifically further configured to: determine a lawn height range corresponding to each of the pattern colors; adjust the scale of the pattern in a case where the pattern scale is greater than a preset pattern scale; and adjust the position of the pattern in a case where the pattern position exceeds a preset position.

[0063] 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 the present application should be synchronously adapted to the device embodiment part, which will not be repeated here.

[0064] In the case of employing the integrated unit, please refer to FIG. 9, which is a function unit composition block diagram of another mowing device provided by the embodiment of the present application. As shown in FIG. 9, the mowing device 80 includes a processing module 902 and a communication module 901. The processing module 902 is configured to control and manage the actions of the mowing device 80, for example, to perform the steps of the first obtaining unit 81, the second obtaining unit 82, the third obtaining unit 83, the fourth obtaining unit 84 and the determining unit 85, and / or to perform other processes of the technology described herein. The communication module 901 is configured to interact between the mowing device 80 and other devices. As shown in FIG. 9, the mowing device 80 can further include a storage module 903, which is configured to store the program code and data of the mowing device 80.

[0065] The processing module 902 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 logical blocks, modules and circuits described in combination with the disclosure of the present application. The processor can also be a combination of computing functions, such as one or more microprocessor combinations, combinations of DSP and microprocessor, etc. The communication module 901 can be a transceiver, RF circuit or communication interface, etc. The storage module 903 can be a memory.

[0066] All related contents of each scene involved in the above method embodiments can be cited to the function description of the corresponding function module, which will not be repeated here. The above mowing device 90 can perform the mowing method shown in FIG. 2.

[0067] Please refer to FIG. 10, which is a structural schematic diagram of an electronic device provided by the embodiment of the present application. As shown in FIG. 10, the electronic device 1000 includes a processor 1010, a memory 1020, a communication interface 1030 and one or more programs 1021. The above one or more programs 1021 are stored in the above memory and configured to be executed by the above processor. The program includes part or all steps of any one of the endurance mileage estimation methods described in the above method embodiments when executed. The processor, the memory and the communication interface are connected with each other and complete the communication work between each other.

[0068] The memory can be a volatile memory such as a dynamic random access memory (DRAM), or can be a non-volatile memory such as a mechanical hard disk. The memory is configured to store a set of executable program codes, and the processor is configured to invoke the executable program codes stored in the memory to execute some or all of the steps of any of the energy data management methods described in the embodiments of the lawn mowing method.

[0069] It can be seen that the electronic device 1000 described in the embodiments of the present application first acquires lawn map information, the lawn map information including a plurality of lawn patterns; acquires distances between any two adjacent lawn patterns in the plurality of lawn patterns to obtain a plurality of interval distances; acquires a cutting width of a lawn mowing device; acquires a difference between each interval distance in the plurality of interval distances and the cutting width to obtain a plurality of target differences; and determines a work area according to the plurality of target differences, the work area being used to indicate an area requiring a lawn mowing operation. The display types of the lawn patterns are reasonably planned according to the interval distances and the cutting width, and the lawn mowing area is matched according to different display types, so as to guarantee the cutting effect of the patterns and improve the lawn mowing efficiency.

[0070] The embodiments of the present application further provide a computer storage medium storing a computer program for electronic data exchange, and the computer program causes a computer to execute some or all of the steps of any of the methods described in the method embodiments. The computer includes an electronic device.

[0071] The embodiments of the present application further provide a computer program product, which 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 of the methods described in the method embodiments. The computer program product can be a software installation package, and the computer includes an electronic device.

[0072] It should be noted that, for the foregoing method embodiments, in order to simply describe, they are all described as a series of action combinations, but those skilled in the art should know that the present application is not limited to the order of the actions described, because according to the present application, certain steps can be performed in other order or at the same time. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0073] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.

[0074] In several embodiments provided in the present application, it should be understood that the disclosed apparatus can be implemented in other manners. For example, the division of the apparatus embodiments described above is merely illustrative, and the division of the units can be changed according to actual needs. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.

[0075] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiments.

[0076] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically, or two or more units can be integrated into one unit. The integrated unit can be realized in the form of hardware or in the form of a software program module.

[0077] The integrated unit, if realized in the form of a software program module and sold or used as an independent product, can be stored in a computer readable memory. Based on this understanding, the technical solutions of the present application essentially or the part of the prior art that contributes to the technical solutions or all or part of the technical solutions can be embodied in the form of a software product, which is stored in a memory and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments. The aforementioned memory includes: a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.

[0078] A person of ordinary skill in the art can understand that all or part of the steps of the various methods in the above embodiments can be completed by a program instructing relevant hardware, and the program can be stored in a computer readable memory, which can include a flash disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0079] The above describes the embodiments of the present application in detail, and the principles and embodiments of the present application are described by using specific examples. The above description of the embodiments is only used to help understand the method of the present application and its core idea; meanwhile, for those skilled in the art, according to the idea of the present application, the specific embodiments and application range will be changed, and the above description should not be understood as a limitation of the present application.

Claims

1. A method of mowing grass, wherein, The method comprises the following steps: acquiring lawn map information, wherein the lawn map information comprises a plurality of lawn patterns; acquiring distances between any two adjacent lawn patterns in the plurality of lawn patterns, to obtain a plurality of interval distances; acquiring a cutting width of a mowing device; acquiring a difference between each interval distance in the plurality of interval distances and the cutting width, to obtain a plurality of target differences; determining a work area according to the plurality of target differences, wherein the work area is used to indicate an area that needs to be mowed.

2. The method of claim 1, wherein, The step of determining the work area according to the plurality of target differences comprises the following steps: in a case where there is a target difference less than zero in the plurality of target differences, determining a pattern area as the work area, wherein the pattern area is an area where the plurality of lawn patterns are located in a lawn map, and the lawn map information comprises the lawn map; in a case where all target differences in the plurality of target differences are not less than zero, determining a non-pattern area as the work area, wherein the non-pattern area is an area other than the area where the plurality of lawn patterns are located in the lawn map.

3. The method of claim 2, wherein, Before the step of determining the non-pattern area as the work area, the method further comprises the following steps: performing contour detection on the plurality of lawn patterns, to obtain a first contour curve and a second contour curve for each lawn pattern; acquiring a line segment width between the first contour curve and the second contour curve; determining the work area according to the line segment width.

4. The method of claim 3, wherein, After the step of acquiring the line segment width between the first contour curve and the second contour curve, the method further comprises the following steps: determining a comparison result of the line segment width and the cutting width; acquiring a first cutting path based on a first display mode according to the comparison result that the line segment width is greater than the cutting width, wherein the first display mode is to highlight the plurality of lawn patterns in the lawn map; acquiring a second cutting path based on a second display mode, wherein the second display mode is to highlight the plurality of lawn patterns in the lawn map; determining a cutting path with the shortest distance between the first cutting path and the second cutting path as a target cutting path; determining the work area according to the target cutting path.

5. The method of claim 3, wherein, The step of determining the work area according to the line segment width comprises the following steps: determining the non-pattern area as the work area according to the comparison result that the line segment width is less than or equal to the cutting width.

6. The method of claim 3, wherein, The step of determining the work area according to the line segment width comprises the following steps: according to the comparison result that the line segment width is greater than the cutting width, counting a color quantity of the plurality of lawn patterns; determining the work area according to the color quantity.

7. The method of claim 6, wherein, The step of determining the work area according to the color quantity comprises the following steps: if the color quantity is greater than a preset color quantity, determining the pattern area as the work area; if the color quantity is less than or equal to the preset color quantity, determining the non-pattern area as the work area.

8. The method of claim 2, wherein, Before the step of determining the non-pattern area as the work area, the method further comprises the following steps: receive a mowing instruction, the mowing instruction including a display mode for each of the plurality of lawn patterns, the display mode including highlighting or dimming the plurality of lawn patterns in the lawn map; determine the work area according to the mowing instruction.

9. The method of claim 1, wherein, the lawn map information includes the lawn map, and the lawn map information is obtained by: when the setting pattern instruction is received, starting a mowing pattern setting interface, and displaying the lawn map to the mowing pattern setting interface, the mowing pattern setting interface being used for a target user to customize pattern information, the pattern information including a pattern color, a pattern shape, a pattern area, a pattern position, and a pattern scale, the pattern color being used to indicate the height of the corresponding pattern; receiving the pattern information; preprocessing the pattern information to obtain the lawn map information.

10. The method of claim 9, wherein, the preprocessing of the pattern information includes: determining a corresponding lawn height range for each of the pattern colors; in a case where the pattern scale is greater than a preset pattern scale, adjusting the scale of the pattern; in a case where the pattern position exceeds a preset position, adjusting the position of the pattern.

11. A grass cutting device wherein, comprising: a first obtaining unit configured to obtain lawn map information, the lawn map information including a plurality of lawn patterns; a second obtaining unit configured to obtain distances between any two adjacent lawn patterns in the plurality of lawn patterns, to obtain a plurality of interval distances; a third obtaining unit configured to obtain a cutting width of a mowing device; a fourth obtaining unit configured to obtain a difference between each of the interval distances and the cutting width, to obtain a plurality of target differences; a determining unit configured to determine a work area according to the plurality of target differences, the work area being used to indicate an area that needs to be mowed.

12. An electronic device, comprising: a processor and a memory storing an execution instruction, the memory storing one or more programs; when the processor executes the execution instruction stored in the memory, the processor executes the method according to any one of claims 1 to 10.

13. A computer readable storage medium, wherein, storing an energy data management program including an execution instruction, when a processor of an electronic device executes the execution instruction, the processor executes the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Method for forming pattern on lawn and mowing system using the same

    CN109189062A

  • Mowing method and mowing control device

    CN110095996A

  • Lawn three-dimensional pattern trimming robot system and method

    CN110754204A

  • Mowing control method and automatic mower

    CN115720759A

  • Mowing method and related device

    CN118476373A