Method for adjusting lawn combination pattern and related device
By acquiring the lawn pattern and the width of the mowing robot from the terminal device and adjusting the spacing of the lawn pattern, the problem of incomplete lawn patterns generated by the mowing machine was solved, achieving higher accuracy and reliability.
Patent Information
- Application Number
- CN202410671258.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2044-05-28
AI Technical Summary
Existing lawn mowers, due to limitations in mowing width, cannot fully reproduce the user-defined lawn pattern when generating lawn patterns, resulting in defects.
By acquiring the lawn pattern and the mowing width of the lawnmower robot from the terminal device, it determines whether the spacing between the sub-patterns needs to be adjusted and outputs a prompt message, allowing users to choose the adjustment method, automatically or manually adjusting the spacing between the sub-patterns until the mowing width requirement is met.
It improves the accuracy and reliability of lawn pattern generation, reduces the probability of flaws in the pattern after mowing, and meets users' personalized needs.
Smart Images

Figure CN118476372B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of lawn mowing robots, in particular to a method for adjusting a combined lawn pattern and a related device. BACKGROUND
[0002] In the field of lawn beautification, people often want to increase the attractiveness of the landscape through patterns on the lawn. In the prior art, people often spray color paint on the lawn to form patterns, or design patterns in advance on the land and then plant lawns at or around the pattern positions to form patterns.
[0003] At present, the pattern is usually confirmed at the terminal, and then the lawn mowing machine is used to execute the mowing. However, due to the mowing width of the lawn mowing machine, the presented lawn pattern will be affected, resulting in that the user-set pattern cannot be completely presented. SUMMARY
[0004] The present application provides a method for adjusting a combined lawn pattern and a related device, so as to preliminarily judge the lawn pattern interval at the terminal, reduce the probability of defects in the pattern generated after mowing by the lawn mowing machine, and improve the accuracy and reliability of the lawn pattern generation.
[0005] In a first aspect, the embodiments of the present application provide a method for adjusting a combined lawn pattern, applied to a terminal device of a lawn mowing system, the lawn mowing system comprising the terminal device and a lawn mowing robot; the method comprising:
[0006] obtaining a mowing pattern, the mowing pattern comprising a plurality of sub-patterns;
[0007] obtaining a first interval of any two adjacent sub-patterns in the mowing pattern and a mowing width of the lawn mowing robot;
[0008] determining a mowing mode, the mowing mode comprising an external mode, the external mode being a mode for mowing a pattern contour of a target mowing pattern;
[0009] when the mowing mode is the external mode and the first interval is less than the mowing width, outputting a prompt information, the prompt information being used to prompt a user to select an adjustment mode for adjusting the first interval between target sub-patterns, the target sub-patterns being the sub-patterns in the plurality of sub-patterns whose first interval is less than the mowing width, the adjustment mode comprising automatic adjustment or user-based adjustment;
[0010] obtaining a selection instruction, the selection instruction being used to indicate a target adjustment mode for adjusting the first interval between the target sub-patterns;
[0011] adjusting the first interval between the target sub-patterns according to the target adjustment mode to obtain a target mowing pattern.
[0012] In a possible example, adjusting the first intervals between the target sub-patterns according to the target adjustment mode comprises: when the target adjustment mode is automatic adjustment, determining a second interval according to the mowing width, the second interval being greater than or equal to the mowing width; and expanding the first intervals of the target sub-patterns to the second interval, the first intervals between the target sub-patterns referring to the shortest intervals between the patterns.
[0013] In a possible example, expanding the first intervals of the target sub-patterns to the second interval comprises: performing the following operations for each target sub-pattern: determining a setting direction of a current target sub-pattern relative to a neighboring sub-pattern, the neighboring sub-pattern being a target sub-pattern adjacent to the current target sub-pattern; and expanding the first intervals between the target sub-pattern and the neighboring sub-pattern to the second interval according to the setting direction.
[0014] In a possible example, the terminal device comprises a display screen; after the first intervals of the target sub-patterns are expanded to the second interval, the method further comprises: determining whether the first intervals of any two adjacent target sub-patterns after adjustment are greater than or equal to the second interval; if yes, obtaining a target mowing pattern, and displaying the target mowing pattern on the display screen to prompt a user to confirm the target mowing pattern; and after recognizing a confirmation operation of the user, sending the target mowing pattern to the mowing robot.
[0015] In a possible example, adjusting the first intervals between the target sub-patterns according to the target adjustment mode comprises: when the target adjustment mode is user selection-based adjustment, generating and displaying adjustment prompt information according to the mowing width, the adjustment prompt information being used to instruct the user to perform an adjustment operation on the target sub-patterns, the adjustment operation comprising dragging any pattern in the target sub-patterns; in response to the adjustment operation, moving the pattern selected by the user, and recording the first intervals in real time; and when the first intervals are greater than or equal to the mowing width, displaying confirmation information.
[0016] In a possible example, after the adjustment prompt information is displayed, the method further comprises: recognizing a mowing pattern after the adjustment operation, determining whether intervals between any two adjacent target sub-patterns in the mowing pattern after the adjustment operation are greater than or equal to the mowing width; if yes, determining that the mowing pattern after the adjustment operation is the target mowing pattern; and if no, continuously displaying the adjustment prompt information on the display screen until the intervals between any two adjacent target sub-patterns in the mowing pattern after the adjustment operation are greater than or equal to the mowing width.
[0017] In a possible example, after the target mowing pattern is obtained, the method further comprises: sending the target mowing pattern to the mowing robot to instruct the mowing robot to mow according to the target pattern.
[0018] In a second aspect, the embodiments of the present application provide an adjusting device for a lawn combined pattern, applied to a terminal device of a lawn mowing system, the lawn mowing system comprising the terminal device and a lawn mowing robot; the device comprises: a first obtaining unit, a second obtaining unit, a determining unit, a prompting unit, a third obtaining unit, and an adjusting unit; wherein
[0019] The first obtaining unit is configured to obtain a lawn mowing pattern, the lawn mowing pattern comprising a plurality of sub-patterns.
[0020] The second obtaining unit is configured to obtain a first interval between any two adjacent sub-patterns in the lawn mowing pattern and a mowing width of the lawn mowing robot.
[0021] The determining unit is configured to determine a mowing mode, the mowing mode comprising an external mode, the external mode being a mode of mowing according to a pattern contour of a target lawn mowing pattern.
[0022] The prompting unit is configured to output a prompt information when the mowing mode is the external mode and the first interval is less than the mowing width, the prompt information being used to prompt a user to select an adjustment manner of adjusting the first interval between target sub-patterns, the target sub-patterns being the sub-patterns in the plurality of sub-patterns and having the first interval less than the mowing width, and the adjustment manner comprising automatic adjustment or user-based adjustment.
[0023] The third obtaining unit is configured to obtain a selection instruction, the selection instruction being used to indicate a target adjustment manner of adjusting the first interval between the target sub-patterns.
[0024] The adjusting unit is configured to adjust the first interval between the target sub-patterns according to the target adjustment manner, to obtain a target lawn mowing pattern.
[0025] In a third aspect, the embodiments of the present application provide an electronic device, comprising a processor, a memory, and one or more programs stored in the memory and configured to be executed by the processor, the program comprising instructions for performing the steps in the first aspect of the embodiments of the present application.
[0026] In a fourth aspect, the embodiments of the present application provide a computer readable storage medium having stored thereon a computer program / instructions, the computer program / instructions being executable by a processor to implement the steps in the first aspect of the embodiments of the present application.
[0027] In a fifth aspect, the embodiments of the present application provide a computer program product, wherein the above 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 perform part or all of the steps described in the first aspect of the embodiments of the present application.
[0028] It can be seen that, in the example, the mowing pattern is first acquired, then the first interval of any two adjacent sub-patterns in the mowing pattern and the mowing width of the mowing robot are acquired, the mowing mode is determined, the mowing mode includes an external mode, the external mode is a mode of mowing the pattern contour of the target mowing pattern, when the mowing mode is the external mode and the first interval is less than the mowing width, a prompt information is output, the prompt information is used to prompt the user to select an adjustment mode of adjusting the first interval between the target sub-patterns, the target sub-patterns are the sub-patterns in the plurality of sub-patterns, the first interval of which is less than the mowing width, the adjustment mode includes automatic adjustment or adjustment based on user selection, then a selection instruction is acquired, the selection instruction is used to indicate a target adjustment mode of adjusting the first interval between the target sub-patterns, and finally the first interval between the target sub-patterns is adjusted according to the target adjustment mode to obtain the target mowing pattern. In this way, by judging the interval between the lawn patterns at the terminal, the probability that the pattern generated after mowing by the mowing robot has defects is reduced, and the accuracy and reliability of the lawn pattern generation are improved. BRIEF DESCRIPTION OF DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without any creative effort based on these drawings.
[0030] Figure 1 is a system architecture schematic diagram of a mowing system provided by an embodiment of the present application;
[0031] Figure 2 is a flowchart of an adjustment method for a lawn combined pattern provided by an embodiment of the present application;
[0032] Figure 3 is a terminal interface reference schematic diagram provided by an embodiment of the present application;
[0033] Figure 4 is an application schematic diagram of an external mowing pattern provided by an embodiment of the present application;
[0034] Figure 5 is another terminal interface reference schematic diagram provided by an embodiment of the present application;
[0035] Figure 6 is a display interface schematic diagram of self-adjustment provided by an embodiment of the present application;
[0036] Figure 7 is a functional unit composition block diagram of an adjustment device for a lawn combined pattern provided by an embodiment of the present application;
[0037] Figure 8 is a structural block diagram of an electronic device provided by the present application. DETAILED DESCRIPTION
[0038] In order to make the personnel in the technical field better understand the scheme of the present application, the technical scheme in the embodiments of the present application will be clearly and completely described below in combination 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 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.
[0039] 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, not 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 steps or units not listed or can optionally include other steps or units inherent to the process, method, product or device.
[0040] It should be understood that the term "and / or" herein is only to describe the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the three cases of A alone, A and B together, and B alone. In addition, the character " / " in this paper represents that the front and rear associated objects are a "or" relationship.
[0041] The "multiple" appearing in the embodiments of the present application means two or more than two. The "connection" appearing in the embodiments of the present application means direct connection or indirect connection and various connection modes to realize communication between devices, which is not limited by the embodiments of the present application.
[0042] Reference to "embodiments" in this document means that the specific features, structures or characteristics described in conjunction with the embodiments can be included in at least one embodiment of the present application. The phrase appears at various places in the specification does not necessarily refer to the same embodiment, nor is it independent or alternative to other embodiments. The person skilled in the art explicitly and implicitly understands that the embodiments described herein can be combined with other embodiments.
[0043] Please refer to Figure 1 , Figure 1 is a system architecture schematic diagram of a grass mowing system provided by the embodiments of the present application, as shown in Figure 1As shown, the mowing system 100 includes a terminal device 110 and a mowing robot 120, and the terminal device 110 is in communication connection with the mowing robot 120; specifically, the terminal device 110 can include an interactive module such as an electronic screen, and a user can view relevant information through the electronic screen and realize human-computer interaction operation by touching the electronic screen.
[0044] In the method, the terminal device 110 first acquires a mowing pattern, the mowing pattern including a plurality of sub-patterns; then the terminal device 110 acquires a first interval between any two adjacent sub-patterns in the mowing pattern and a mowing width of the mowing robot; the terminal device 110 determines a mowing mode according to a user selection, the mowing mode including an external mode, the external mode being a mode of mowing according to a pattern contour of a target mowing pattern; when the mowing mode is the external mode and the first interval is less than the mowing width, the terminal device 110 outputs a prompt information, the prompt information being used to prompt the user to select an adjustment manner of adjusting the first interval between target sub-patterns, the target sub-patterns being the sub-patterns in the plurality of sub-patterns and having the first interval less than the mowing width, the adjustment manner including automatic adjustment or adjustment based on user selection; the terminal device 110 acquires a selection instruction, the selection instruction being used to indicate a target adjustment manner of adjusting the first interval between the target sub-patterns; and the terminal device 110 adjusts the first interval between the target sub-patterns according to the target adjustment manner, and finally obtains a target mowing pattern.
[0045] The following will be described in combination with Figure 2 The adjustment method provided in the embodiment of the present application is described below, Figure 2 is a flowchart of the adjustment method for a lawn combined pattern provided in the embodiment of the present application, and the adjustment method is applied to the terminal device 110 in the mowing system 100 as shown. Figure 1 The adjustment method includes the following steps:
[0046] In step 210, a mowing pattern is acquired.
[0047] In the mowing pattern, a plurality of sub-patterns are included; specifically, the mowing pattern is a combined pattern composed of the plurality of sub-patterns, and the plurality of sub-patterns are independent of each other and do not have a connecting part between them.
[0048] In step 220, a first interval between any two adjacent sub-patterns in the mowing pattern and a mowing width of the mowing robot are acquired.
[0049] In the method, due to the hardware of the mowing robot, there is a fixed width when the mowing robot performs a mowing action, and if the width is greater than the interval between the sub-patterns, the mowing robot will perform a mowing action on a target mowing pattern area of the sub-patterns without control, the visual effect is damaged, and the pattern cannot be completely presented.
[0050] In the method, please refer to Figure 3 ,Figure 3 is a terminal interface reference schematic diagram provided by an embodiment of the present application, as shown in Figure 3 , the terminal display interface 300 includes a pattern display area 31 and an interactive function area 32, the pattern display area 31 displays sub-patterns such as "R", "J", and "C", the first interval refers to the shortest interval between the sub-patterns, as shown by the distance 311 and the distance 312 in Figure 3 , the dashed box of the area 313 is the area occupied by the sub-patterns, Figure 3 , the distance between the dashed boxes in the interactive function area 32 is the first interval; the interactive function area 32 exemplarily provides a setting function, which can set the distance and relative position of the sub-patterns, a toolbox function, which can modify and edit the pattern type of the sub-patterns, and an editing function, which can edit the pattern color, shape, size, and other effects of the sub-patterns; the functions displayed by the above interactive function area are only for reference.
[0051] Step 230, determining a mowing mode.
[0052] The mowing mode includes an external mode, which is a mode for mowing the pattern contour of the target mowing pattern.
[0053] Specifically, please refer to Figure 4 , Figure 4 is an application schematic diagram of an external mowing pattern provided by an embodiment of the present application, as shown in Figure 4 , including a target mowing pattern area 41 and a non-pattern area 42; it should be understood that only one target mowing pattern area 41 is displayed here, and in actual application, there are multiple combined patterns composed of target mowing pattern areas 41; the non-pattern area 42 is only for example reference and does not have a limiting effect. Figure 4
[0054] When the mowing robot passes through the non-pattern area 42, the height of the mowing robot blade is adjusted to mow the lawn, thereby reducing the height of the lawn in the non-pattern area 42; at the same time, when the mowing robot passes through the target mowing pattern area 41, the mowing action is paused, so that the height of the lawn outside the target mowing pattern area is lower than the height of the lawn in the target mowing pattern area, thereby presenting an outward convex visual effect; specifically, the mowing mode further includes an internal mode, which is a mode for mowing the pattern part of the target mowing pattern, i.e. Figure 4 , to present an inward concave visual effect; when the terminal recognizes that the user selects the internal mode, since mowing is only performed in the internal part of the pattern, there is no influence on the adjacent pattern, so in the internal mode, the interval between the patterns does not need to be adjusted by the terminal, and the mowing robot can directly perform the mowing action.
[0055] Step 240, when the mowing mode is the external mode and the first interval is less than the mowing width, outputting prompt information.
[0056] The prompt information includes a prompt statement and an inquiry statement. The prompt statement is used to prompt the user to adjust the first interval between the target sub-patterns. The target sub-patterns are the sub-patterns in the plurality of sub-patterns, and the first interval of the target sub-patterns is less than the mowing width. The inquiry statement is used to inquire about the adjustment mode for adjusting the first interval between the target sub-patterns.
[0057] Specifically, the prompt statement can be, for example, “the current pattern interval does not meet the requirements”, and the inquiry statement can be, for example, “please select the adjustment mode”. The inquiry statement can include an inquiry prompt box, and the inquiry prompt box displays the inquiry statement. The inquiry prompt box also includes selection buttons of the adjustment mode, which provides the user to select the self-adjustment mode or the arbitrary adjustment mode.
[0058] Step 250, obtaining a selection instruction.
[0059] The selection instruction is used to indicate the target adjustment mode for adjusting the first interval between the target sub-patterns.
[0060] The adjustment mode includes automatic adjustment or user-selected adjustment. Adjusting the first interval between the target sub-patterns according to the target adjustment mode includes: if the target adjustment mode is automatic adjustment, adjusting the first interval between the target sub-patterns by the terminal device; or if the target adjustment mode is user-selected adjustment, adjusting the first interval between the target sub-patterns by the user.
[0061] Specifically, please refer to Figure 5 , Figure 5 is another terminal interface reference schematic diagram provided by the embodiment of the present application, Figure 5 The inquiry prompt box 50 in the terminal interface 40 includes an inquiry statement 51 and selection buttons 52 and 53. The selection button 52 indicates that the user selects the automatic adjustment mode, and the selection button 53 indicates that the user selects the self-adjustment, i.e., the user-selected adjustment.
[0062] The automatic adjustment is to automatically adjust the first interval to meet the condition through the evaluation of the terminal device. The user-selected adjustment is to adjust the first interval by the user operating on the terminal through dragging the sub-pattern or setting the sub-pattern interval parameter.
[0063] Step 260, adjusting the first interval between the target sub-patterns according to the target adjustment mode to obtain a target mowing pattern.
[0064] In a possible embodiment, after obtaining the target mowing pattern, the method further includes: sending the target mowing pattern to the mowing robot to instruct the mowing robot to mow according to the target pattern.
[0065] The mowing robot performs a mowing action on the lawn according to the indication of the target mowing pattern after receiving the target mowing pattern.
[0066] It can be seen that, in this example, the mowing pattern is first obtained, then the first interval of any two adjacent sub-patterns in the mowing pattern and the mowing width of the mowing robot are obtained, the mowing pattern is determined, the mowing pattern includes an external mode, the external mode is a mode of mowing the pattern contour of the target mowing pattern, when the mowing pattern is the external mode and the first interval is less than the mowing width, a prompt information is output, the prompt information is used to prompt the user to select an adjustment mode of adjusting the first interval between the target sub-patterns, the target sub-patterns are the sub-patterns in the plurality of sub-patterns whose first interval is less than the mowing width, the adjustment mode includes automatic adjustment or adjustment based on user selection, then a selection instruction is obtained, the selection instruction is used to indicate the target adjustment mode of adjusting the first interval between the target sub-patterns, and finally the first interval between the target sub-patterns is adjusted according to the target adjustment mode to obtain the target mowing pattern. In this way, by judging the lawn pattern interval at the terminal, the probability that the pattern generated after mowing the lawn has defects is reduced, and the accuracy and reliability of generating the lawn pattern are improved.
[0067] In a possible embodiment, adjusting the first interval between the target sub-patterns according to the target adjustment mode includes: when the target adjustment mode is automatic adjustment, determining a second interval according to the mowing width, the second interval is greater than or equal to the mowing width; and expanding the first interval of the target sub-pattern to the second interval, the first interval between the target sub-patterns refers to the shortest interval between the patterns.
[0068] The second interval can be equal to the mowing width or greater than the mowing width, but the second interval should be greater than the mowing width within a reasonable range, and if the second interval is set to be greater than the entire lawn width, the target sub-pattern cannot be presented.
[0069] It can be seen that, in this example, by determining the second interval according to the mowing width and expanding the first interval of the target sub-pattern to the second interval, the terminal device automatically adjusts the interval between the target sub-patterns to meet the pattern completeness and accuracy, and the intelligence of the scheme is improved, and the accuracy of generating the lawn pattern is improved.
[0070] In a possible embodiment, expanding the first interval of the target sub-pattern to the second interval comprises: for each target sub-pattern, determining a setting direction of the current target sub-pattern relative to a neighboring sub-pattern, the neighboring sub-pattern being a target sub-pattern adjacent to the current target sub-pattern; and expanding the first interval between the target sub-pattern and the neighboring sub-pattern to the second interval according to the setting direction.
[0071] The first interval of the target sub-pattern is expanded to the second interval according to the relative position relationship between the target sub-patterns. For example, if the position of the target sub-pattern A relative to the target sub-pattern B is in the horizontal direction, the first interval is expanded to the second interval in the horizontal direction. Or if the position of the target sub-pattern A relative to the target sub-pattern B is in the upper right 45° direction, the first interval is expanded to the second interval in the upper right 45° direction.
[0072] It can be seen that, in this example, the first interval is expanded to the second interval according to the direction indicated by the relative position relationship, so that the generated pattern is not flawed after adjustment, and the accuracy of the generated lawn pattern is improved.
[0073] In a possible embodiment, the terminal device comprises a display screen. After the first interval of the target sub-pattern is expanded to the second interval, the method further comprises: determining whether the first interval of any two neighboring sub-patterns after adjustment is greater than or equal to the second interval; if yes, obtaining the target mowing pattern, and displaying the target mowing pattern on the display screen to prompt the user to confirm the target mowing pattern; and after recognizing the confirmation operation of the user, sending the target mowing pattern to the mowing robot.
[0074] After the interval of the target sub-pattern is adjusted, there may be a case that the interval of any two neighboring sub-patterns after adjustment is less than the mowing width. Therefore, after the interval of the target sub-pattern is adjusted, it is determined whether the interval of any neighboring sub-pattern in the mowing pattern is greater than or equal to the second interval. If yes, the target mowing pattern is determined, and subsequent operations are performed. If no, the above operation of automatically adjusting the first interval by the terminal is repeated until the interval of any neighboring sub-pattern in the mowing pattern is greater than or equal to the second interval.
[0075] The mowing pattern automatically adjusted by the terminal device needs to be confirmed by the user before being used as the target mowing pattern for generation. Since the pattern automatically adjusted by the terminal device may not meet the aesthetic or other needs of the user, the user is requested to confirm the mowing pattern after adjustment.
[0076] It can be seen that in this example, by confirming whether the first spacing of any two adjacent sub-patterns after adjustment is greater than or equal to the second spacing; if yes, the target mowing pattern is obtained, and the target mowing pattern is displayed on the display screen to prompt the user to confirm the target mowing pattern. After recognizing the user's confirmation operation, the target mowing pattern is sent to the mowing robot. In this way, the reliability of the scheme is improved, and the situation where the adjusted pattern still does not meet the generation condition is avoided. The pattern after terminal adjustment needs to be confirmed by the user before being generated, which is beneficial to realize the personalized setting of the user and optimize the user experience.
[0077] In one possible embodiment, adjusting the first spacing between the target sub-patterns according to the target adjustment mode comprises:
[0078] When the target adjustment mode is user selection-based adjustment, generating and displaying adjustment prompt information according to the mowing width, the adjustment prompt information being used to instruct the user to perform an adjustment operation on the target sub-patterns, the adjustment operation comprising dragging any pattern in the target sub-patterns;
[0079] In response to the adjustment operation, moving the selected pattern by the user and recording the first spacing in real time;
[0080] When the first spacing is greater than or equal to the mowing width, displaying confirmation information.
[0081] Wherein, please refer to Figure 6 , Figure 6 is a self-adjusting display interface provided by an embodiment of the present application, as shown in Figure 6 The adjustment prompt information can be real-time first spacing recording information displayed in the area 61. The user selects any pattern in the target sub-patterns on the terminal operation interface and performs an adjustment operation. Specifically, the adjustment operation can be a drag operation as shown in Figure 6 or the first spacing parameter can be input in the area 61, and then the terminal adjusts. When the user adjusts the first spacing to be greater than or equal to the mowing width, confirmation information is displayed. The confirmation information can be a pattern 62 as shown in Figure 6 , from a pattern without color filling to a pattern with color filling, to display the process from not meeting the standard to meeting the standard. In addition, the confirmation information can also include text information, voice information and other information with prompting effect, which is not limited here.
[0082] It can be seen that in this example, by generating and displaying the adjustment prompt information according to the mowing width, the pattern selected by the user is moved in response to the adjustment operation, and the first interval is recorded in real time. When the first interval is greater than or equal to the mowing width, the confirmation information is displayed. In this way, the accuracy of the user's self-adjustment of the mowing pattern is realized, and it is ensured that the user's adjusted mowing pattern meets the demand, thereby reducing the probability of being unable to generate the target mowing pattern, improving the efficiency of mowing and the ease of operation of generating the target pattern.
[0083] In one possible embodiment, after the adjustment prompt information is displayed, the method further includes:
[0084] identifying the mowing pattern after the adjustment operation, and determining whether the interval between any two adjacent sub-patterns in the mowing pattern after the adjustment operation is greater than or equal to the mowing width;
[0085] if yes, determining that the mowing pattern after the adjustment operation is the target mowing pattern;
[0086] if no, continuously displaying the adjustment prompt information at the display screen until the interval between any two adjacent sub-patterns in the mowing pattern after the adjustment operation is greater than or equal to the mowing width.
[0087] In this way, after the interval of the target sub-pattern is adjusted, there may be a case where the interval between any two adjacent sub-patterns after the adjustment is less than the mowing width. Therefore, after the interval of the target sub-pattern is adjusted, it is determined whether the interval between any two adjacent sub-patterns in the mowing pattern meets the requirement of being greater than or equal to the mowing width. If yes, the target mowing pattern is determined, and subsequent operations are performed. If no, the adjustment prompt information is continuously displayed to instruct the user to make adjustments until the display is stopped when the requirement is met.
[0088] It can be seen that in this example, by identifying the mowing pattern after the adjustment operation, it is determined whether the interval between any two adjacent sub-patterns in the mowing pattern after the adjustment operation is greater than or equal to the mowing width. If yes, the mowing pattern after the adjustment operation is determined to be the target mowing pattern. If no, the adjustment prompt information is continuously displayed at the display screen until the interval between any two adjacent sub-patterns in the mowing pattern after the adjustment operation is greater than or equal to the mowing width. In this way, the user is continuously prompted by the prompt information before the standard is met, which avoids the impact caused by adjusting the target sub-pattern, and improves the accuracy and reliability of the mowing pattern generation.
[0089] The above describes the scheme of the embodiments of the present application mainly from the perspective of the process of executing the method. It can be understood that the mobile electronic device comprises hardware structures and / or software modules corresponding to the execution of each function in order to implement the above functions. Those skilled in the art should easily realize that, in combination with the unit examples and algorithm steps of each example described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0090] The embodiments of the present application can divide the functional units of the electronic device according to the above method examples. For example, each functional unit can be divided corresponding to each function, or two or more functions can be integrated in one processing unit. The integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical functional division. There can be another division method in actual implementation.
[0091] Consistent with the embodiments of Figure 2 , please refer to Figure 7 , Figure 7 is a functional unit composition block diagram of an adjusting device for a lawn combined pattern provided by the embodiments of the present application. The adjusting device for the lawn combined pattern 700 comprises a first obtaining unit 710, a second obtaining unit 720, a determining unit 730, a prompting unit 740, a third obtaining unit 750, and an adjusting unit 760. The first obtaining unit 710 is configured to obtain a mowing pattern, wherein the mowing pattern comprises a plurality of sub-patterns. The second obtaining unit 720 is configured to obtain a first interval of any two adjacent sub-patterns in the mowing pattern and a mowing width of a mowing robot. The determining unit 730 is configured to determine a mowing mode, wherein the mowing mode comprises an external mode, and the external mode is a mode of mowing a pattern contour of a target mowing pattern. The prompting unit 740 is configured to output a prompt information when the mowing mode is the external mode and the first interval is less than the mowing width, wherein the prompt information is used to prompt a user to select an adjustment mode of adjusting the first interval between target sub-patterns, the target sub-patterns are sub-patterns in the plurality of sub-patterns and the first interval of the target sub-patterns is less than the mowing width, and the adjustment mode comprises automatic adjustment or adjustment based on user selection. The third obtaining unit 750 is configured to obtain a selection instruction, wherein the selection instruction is used to indicate a target adjustment mode of adjusting the first interval between the target sub-patterns. The adjusting unit 760 is configured to adjust the first interval between the target sub-patterns according to the target adjustment mode to obtain a target mowing pattern.
[0092] In a possible embodiment, the adjustment unit 760 is specifically configured to: when the target adjustment mode is automatic adjustment, determine the second interval according to the mowing width, the second interval being greater than or equal to the mowing width; and expand the first interval of the target sub-pattern to the second interval, the first interval between the target sub-patterns referring to the shortest interval between the patterns.
[0093] In a possible example, the adjustment unit 760 is specifically configured to: for each target sub-pattern, perform the following operations: determine a setting direction of the current target sub-pattern relative to a neighboring sub-pattern, the neighboring sub-pattern being a target sub-pattern adjacent to the current target sub-pattern; and expand the first interval between the target sub-pattern and the neighboring sub-pattern to the second interval according to the setting direction.
[0094] In a possible embodiment, the terminal device includes a display screen, and after the first interval of the target sub-pattern is expanded to the second interval, the adjustment unit 760 is specifically further configured to: determine whether the first interval of any two adjacent sub-patterns after adjustment is greater than or equal to the second interval; if yes, obtain the target mowing pattern, and display the target mowing pattern on the display screen to prompt the user to confirm the target mowing pattern; and after recognizing a confirmation operation of the user, send the target mowing pattern to the mowing robot.
[0095] In a possible embodiment, the adjustment unit 760 is specifically configured to: when the target adjustment mode is user selection-based adjustment, generate and display adjustment prompt information according to the mowing width, the adjustment prompt information being used to instruct the user to perform an adjustment operation on the target sub-pattern, the adjustment operation including dragging any pattern in the target sub-pattern; move the pattern selected by the user in response to the adjustment operation, and record the first interval in real time; and when the first interval is greater than or equal to the mowing width, display confirmation information.
[0096] In a possible embodiment, after the adjustment prompt information is displayed, the adjustment unit 760 is specifically further configured to: recognize the mowing pattern after the adjustment operation, determine whether the interval between any two adjacent sub-patterns in the mowing pattern after the adjustment operation is greater than or equal to the mowing width; if yes, determine that the mowing pattern after the adjustment operation is the target mowing pattern; and if no, continuously display the adjustment prompt information on the display screen until the interval between any two adjacent sub-patterns in the mowing pattern after the adjustment operation is greater than or equal to the mowing width.
[0097] In a possible embodiment, after the target mowing pattern is obtained, the adjustment unit 760 is specifically further configured to: send the target mowing pattern to the mowing robot to instruct the mowing robot to mow according to the target pattern.
[0098] Figure 8 is a structural block diagram of an electronic device provided by the present application. As shown in Figure 8 the electronic device 800 can include one or more of the following components: a processor 801, a memory 802 coupled with the processor 801, wherein the memory 802 can store one or more computer programs, and the one or more computer programs can be configured to implement the methods described in the above examples when executed by the one or more processors 801. Among them, the electronic device 800 can be a terminal device in the above lawn mowing system.
[0099] The processor 801 can include one or more processing cores. The processor 801 connects various parts in the entire electronic device 800 by various interfaces and lines, and performs various functions of the electronic device 800 and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 802, and calling data stored in the memory 802. Optionally, the processor 801 can be implemented in at least one of the forms of hardware, such as a digital signal processing (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 801 can integrate a combination of one or more of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. It can be understood that the above-mentioned modem can also not be integrated into the processor 801, but can be implemented by a separate communication chip.
[0100] The memory 802 can include a random access memory (RAM) and can also include a read-only memory (ROM). The memory 802 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 802 can include a program storage area and a data storage area, wherein the program storage area can store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above various method examples, etc. The data storage area can also store data created by the electronic device 800 in use, etc.
[0101] It can be understood that the electronic device 800 can include more or fewer structural elements than those shown in the structural block diagram above, for example, including a power module, a physical button, a WiFi (Wireless Fidelity) module, a speaker, a Bluetooth module, a sensor, and the like, which are not limited herein.
[0102] The embodiments of the present application further provide a computer storage medium, wherein a computer program / instruction is stored on the computer storage medium, and the computer program / instruction is executed by a processor to implement some or all steps of any method described in the above method embodiments.
[0103] 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, and the computer program is operable to cause a computer to perform some or all steps of any method described in the above method embodiments.
[0104] It should be understood that, in various embodiments of the present application, the size of the sequence number of each process described above does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0105] In several embodiments provided in the present application, it should be understood that the disclosed methods, devices and systems can be implemented in other ways. For example, the device embodiments described above are only schematic; for example, the division of units is only a logical function division, and actual implementation can have another division manner; 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 coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.
[0106] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e. they can be located in one place, or 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 of the present application.
[0107] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically included separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of hardware plus software functional units.
[0108] The integrated unit in the form of software function unit can be stored in a computer readable storage medium. The software function unit is stored in a storage medium, including a plurality of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute part of the steps of the method of various embodiments of the present application. The aforementioned storage medium includes a U disk, a mobile hard disk, a magnetic disk, an optical disk, a volatile memory or a non-volatile memory. The non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM) used as an external cache. By way of example, but not limitation, many forms of random access memory (RAM) can be used, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchlink dynamic random access memory (SLDRAM) and direct rambus random access memory (DRAM) and various other media which can store program codes.
[0109] Although the present application is disclosed as above, the present application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions without departing from the spirit and scope of the present application, and various modifications can be made, including combinations of different functions and implementation steps, including software and hardware implementations, which are all within the scope of the present application.
Claims
1. A method for adjusting lawn pattern combinations, characterized in that, A terminal device for a lawn mowing system, the lawn mowing system including the terminal device and a lawn mowing robot; the method includes: Obtain a mowing pattern, which includes multiple sub-patterns; obtain the first spacing between any two adjacent sub-patterns in the mowing pattern and the mowing width of the mowing robot; Determine the mowing mode, which includes an external mode, which is a mode for mowing the grass according to the outline of the target mowing pattern; When the mowing mode is the external mode and the first spacing is less than the mowing width, a prompt message is output. The prompt message is used to prompt the user to select an adjustment method for adjusting the first spacing between the target sub-patterns. The target sub-patterns are the sub-patterns among the multiple sub-patterns whose first spacing is less than the mowing width. The adjustment method includes automatic adjustment or adjustment based on the user's selection. Obtain a selection instruction, the selection instruction being used to indicate a target adjustment method for adjusting the first spacing between the target sub-patterns; Adjust the first spacing between the target sub-patterns according to the target adjustment method to obtain the target mowing pattern.
2. The method according to claim 1, characterized in that, The step of adjusting the first spacing between the target sub-patterns according to the target adjustment method includes: When the target adjustment method is automatic adjustment, a second spacing is determined based on the mowing width, and the second spacing is greater than or equal to the mowing width; The first spacing between the target sub-patterns is expanded to the second spacing, wherein the first spacing between the target sub-patterns refers to the shortest spacing between the patterns.
3. The method according to claim 2, characterized in that, Expanding the first spacing of the target sub-pattern to the second spacing includes: Perform the following operations for each target sub-pattern: Determine the setting direction of the current target sub-pattern relative to the adjacent sub-patterns, where the adjacent sub-patterns are the target sub-patterns adjacent to the current target sub-pattern; According to the set direction, the first spacing between the target sub-pattern and the adjacent sub-pattern is expanded to the second spacing.
4. The method according to claim 2 or 3, characterized in that, The terminal device includes a display screen; after expanding the first spacing of the target sub-pattern to the second spacing, the method further includes: Confirm whether the first spacing between any two adjacent sub-patterns after adjustment is greater than or equal to the second spacing; If so, the target mowing pattern is obtained and displayed on the display screen to prompt the user to confirm the target mowing pattern; After recognizing the user's confirmation, the target mowing pattern is sent to the lawnmower robot.
5. The method according to claim 4, characterized in that, The step of adjusting the first spacing between the target sub-patterns according to the target adjustment method includes: When the target adjustment method is based on user selection, adjustment prompt information is generated and displayed according to the mowing width. The adjustment prompt information is used to instruct the user to perform an adjustment operation on the target sub-pattern. The adjustment operation includes dragging any pattern in the target sub-pattern. The pattern selected by the user is moved in response to the adjustment operation, and the first spacing is recorded in real time; When the first spacing is greater than or equal to the mowing width, a confirmation message is displayed.
6. The method according to claim 5, characterized in that, After displaying the adjustment prompt information, the method further includes: The lawn mowing pattern after the adjustment operation is identified, and it is determined whether the distance between any two adjacent sub-patterns in the lawn mowing pattern after the adjustment operation is greater than or equal to the lawn mowing width. If so, then the mowing pattern after the adjustment operation is determined to be the target mowing pattern; If not, the adjustment prompt information will continue to be displayed on the screen until it is detected that the distance between any two adjacent sub-patterns in the mowing pattern after the adjustment operation is greater than or equal to the mowing width, at which point the display will end.
7. The method according to claim 1, characterized in that, After obtaining the target lawn mowing pattern, the method further includes: The target mowing pattern is sent to the mowing robot to instruct the mowing robot to mow the grass according to the target mowing pattern.
8. An adjustment device for lawn pattern combinations, the adjustment device for lawn pattern combinations comprising methods for performing any one of claims 1-7, characterized in that, A terminal device for a lawn mowing system, the lawn mowing system including the terminal device and a lawn mowing robot; the device includes: a first acquisition unit, a second acquisition unit, a determination unit, a prompting unit, a third acquisition unit, and an adjustment unit; wherein, The first acquisition unit is used to acquire a lawn mowing pattern, wherein the lawn mowing pattern includes multiple sub-patterns; The second acquisition unit is used to acquire the first spacing between any two adjacent sub-patterns in the mowing pattern and the mowing width of the mowing robot; The determining unit is used to determine the mowing mode, which includes an external mode, and the external mode is a mode for mowing the grass according to the outline of the target mowing pattern. The prompting unit is used to output prompting information when the mowing mode is the external mode and the first spacing is less than the mowing width. The prompting information is used to prompt the user to select an adjustment method for adjusting the first spacing between target sub-patterns. The target sub-pattern is the sub-pattern among the plurality of sub-patterns whose first spacing is less than the mowing width. The adjustment method includes automatic adjustment or adjustment based on the user's selection. The third acquisition unit is used to acquire a selection instruction, which is used to indicate a target adjustment method for adjusting the first spacing between the target sub-patterns; The adjustment unit is used to adjust the first spacing between the target sub-patterns according to the target adjustment method to obtain the target mowing pattern.
9. An electronic device, characterized in that, It includes a processor and a memory, the memory being used to store one or more programs and configured to be executed by the processor, the programs including instructions for performing the steps of the method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, A computer program for storing electronic data interchange, wherein the computer program causes a computer to perform the method as described in any one of claims 1-7.
Citation Information
Patent Citations
Adjustment method for combined lawn pattern, and related apparatus
WO2025246721A1