Mowing path construction method for multiple lawns, and electronic device and storage medium
By displaying the lawn area map, receiving location and building corridor paths, and combining the mowing paths to generate joint paths, the problem of excessive manual participation by lawn mowers when mowing multiple lawns is solved, automatic mowing is achieved, and the mowing is improved efficiency.
Patent Information
- Application Number
- PCT/CN2024/093940
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-29
- Filing Date
- 2024-05-17
- Publication Date
- 2024-12-05
AI Technical Summary
During the lawn mower operation, when it is necessary to mow multiple lawns continuously, there is a lack of suitable path construction methods, which leads to a lot of manual participation and time-consuming and labor-consuming.
By displaying the lawn area map, receiving the location specified by the user, building a corridor path, and combining the mow path to generate a joint mow path, so that the lawn mower can automatically and continuously mow grass.
It reduces manual participation and saves manpower, achieves smooth passage between lawns and mowing operations, and improves mowing efficiency.
Smart Images

Figure CN2024093940_05122024_PF_FP_ABST
Abstract
Description
Method, electronic device and storage medium for constructing mowing paths for multiple lawns Technical Field
[0001] The present application relates to the technical field of lawn mowers, and in particular to a method for constructing a mowing path for multiple lawns, an electronic device, and a storage medium. Background Art
[0002] With the continuous advancement of computer technology and artificial intelligence technology, lawn mowers have entered the lives of users, helping users to automatically mow the lawn without having to invest energy in management after setting it up, and freeing users from boring and heavy housework such as lawn cleaning and maintenance.
[0003] However, during the operation of the lawn mower, it may be necessary to mow multiple lawns continuously. Therefore, it is necessary to construct a suitable path so that the lawn mower can mow multiple lawns continuously along this path.
[0004] Summary of the Invention
[0005] In view of the above problems, an embodiment of the present application provides a method for constructing a mowing path for multiple lawns, an electronic device and a storage medium. By constructing a joint mowing path for multiple lawns, it facilitates the continuous mowing operation of multiple lawns by a lawn mower, reduces manual participation and saves manpower.
[0006] According to a first aspect of the present application, a method for constructing mowing paths for multiple lawns is provided, the method comprising:
[0007] Displays the area map of the first lawn and the area map of the second lawn.
[0008] A first location and a second location are received, where the first location is a location in an area map of a first lawn, and the second location is a location in an area map of a second lawn.
[0009] The lawn mower is controlled to travel from a first position to a second position to obtain a corridor path.
[0010] A combined mowing path for the first lawn and the second lawn is constructed according to the corridor path, the mowing path for the first lawn and the mowing path for the second lawn. The combined mowing path is used for the mower to continuously mow the first lawn and the second lawn.
[0011] By using the method of the first aspect, a regional map of the first lawn and a regional map of the second lawn are displayed, and the regional maps of the first lawn and the second lawn can be presented to the user, providing an image basis for the user to select the first position and the second position. A location in the regional map of the first lawn is received as the first position, and a location in the regional map of the second lawn is received as the second position, so that two endpoints can be provided for constructing a corridor path between the first lawn and the second lawn. A lawn mower is controlled to move from the first position to the second position, thereby obtaining a corridor path. The corridor path can be used to connect the first lawn and the second lawn, providing a feasible route for the lawn mower to subsequently move between the first lawn and the second lawn. Based on the corridor path, the mowing path of the first lawn, and the mowing path of the second lawn, a combined mowing path for the first lawn and the second lawn is constructed, allowing the lawn mower to continuously mow the first lawn and the second lawn according to the combined mowing path, without the need for human intervention, saving time and effort, and facilitating use.
[0012] In some optional embodiments, controlling the lawn mower to move from the first position to the second position to obtain the corridor path includes:
[0013] The lawn mower is controlled to move from a first position to a second position according to a preset connection line to obtain a corridor path.
[0014] By adopting the above solution, when constructing a corridor path, the electronic device only needs to receive the first position and the second position indicated by the user, and the connection between the first position and the second position can be automatically generated according to preset rules, thereby reducing the user's participation in the process of constructing the corridor path and facilitating user use.
[0015] In some optional embodiments, when there is an obstacle on the preset connection line, the corridor path is a path that avoids the obstacle.
[0016] Therefore, it is possible to ensure that the lawn mower avoids obstacles when continuously mowing the first lawn and the second lawn, thereby achieving smooth passage between the first lawn and the second lawn.
[0017] In some optional embodiments, the method for constructing mowing paths for multiple lawns further includes:
[0018] A first notification is received from the lawn mower, where the first notification is used to notify that an obstacle exists on a preset line.
[0019] Based on the first notification, the obstacle is displayed.
[0020] Therefore, by displaying the obstacle, the obstacle can be used as a reference for positioning when the lawn mower continuously mows the first lawn and the second lawn.
[0021] In some optional embodiments, controlling the lawn mower to move from the first position to the second position to obtain the corridor path includes:
[0022] The lawn mower is controlled to move from a first position to a second position according to a line specified by the user, thereby obtaining a corridor path.
[0023] Therefore, by adopting the above solution, the connection lines specified by the user are connections formulated according to the user's needs, so the corridor path obtained by this method better meets the user's needs.
[0024] In some optional embodiments, constructing a combined mowing path for the first lawn and the second lawn according to the corridor path, the mowing path for the first lawn, and the mowing path for the second lawn includes:
[0025] A first path is constructed from an end point of the mowing path of the first lawn to the first location.
[0026] A second path is constructed from the starting point of the mowing path for the second lawn to the second location.
[0027] The mowing path of the first lawn, the first path, the corridor path, the second path, and the mowing path of the second lawn are sequentially connected to obtain a combined mowing path.
[0028] Thus, a feasible implementation method is provided for constructing a combined mowing path.
[0029] In some optional embodiments, the method for constructing mowing paths for multiple lawns further includes:
[0030] Store combine mowing paths.
[0031] Therefore, when the lawn mower needs to continuously operate on the first lawn and the second lawn, the stored combined mowing path can be directly called, which is convenient for use.
[0032] According to a second aspect of the present application, a device for constructing mowing paths for multiple lawns is provided, comprising a module for implementing the method for constructing mowing paths for multiple lawns in any optional manner of the above-mentioned subject matter.
[0033] According to a third aspect of the present application, an electronic device is provided, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the method for constructing a mowing path for multiple lawns in any optional manner of the above-mentioned subject matter is implemented.
[0034] According to a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for constructing mowing paths for multiple lawns in any optional manner in the above-mentioned subject matter is implemented.
[0035] According to a fifth aspect of the present application, a computer program product is provided, comprising: execution instructions, the execution instructions being stored in a readable storage medium, at least one processor of an electronic device being able to read the execution instructions from the readable storage medium, and at least one processor executing the execution instructions so that the electronic device implements the method for constructing mowing paths for multiple lawns in any optional manner of the above-mentioned subject matter.
[0036] To sum up, the embodiment of the present application constructs a combined mowing path for the first lawn and the second lawn, so that the lawn mower can continuously mow the first lawn and the second lawn according to the combined mowing path without manual intervention, saving time and effort and being convenient to use.
[0037] The above description is only an overview of the technical solutions of the embodiments of the present application. In order to more clearly understand the technical means of the embodiments of the present application, they can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiments of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0039] FIG1 is a flow chart of a method for constructing mowing paths for multiple lawns provided in an embodiment of the present application.
[0040] FIG2 is a schematic diagram of a scenario in which an electronic device receives a first position and a second position.
[0041] FIG3 is a schematic diagram of a scenario in which an electronic device constructs a corridor path when there are no obstacles on the preset connection line.
[0042] FIG4 is a schematic diagram of a scenario in which an electronic device constructs a corridor path when an obstacle appears on a preset connection line.
[0043] FIG5 is a flow chart of a method for constructing mowing paths for multiple lawns provided in an embodiment of the present application.
[0044] FIG6 is a diagram of human-computer interaction of an electronic device controlling the movement of a lawn mower.
[0045] FIG7 is a flow chart of a method for constructing mowing paths for multiple lawns provided in an embodiment of the present application.
[0046] FIG8 is a schematic structural diagram of a device for constructing mowing paths for multiple lawns according to an embodiment of the present application. DETAILED DESCRIPTION
[0047] The terms "comprises", "comprising" and "having" and any variations thereof in the specification, claims and drawings of this application are intended to cover but not exclude other contents. The word "a" or "an" does not exclude the presence of a plurality.
[0048] References to "embodiments" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase "embodiment" in various places in the specification does not necessarily refer to the same embodiment, nor does it necessarily refer to independent or alternative embodiments that are mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0049] In addition, the terms "first", "second", etc. in the description and claims of this application or the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order, and may explicitly or implicitly include one or more such features.
[0050] In the description of this application, unless otherwise specified, "plurality" means more than two (including two), and similarly, "multiple groups" means more than two (including two).
[0051] The following describes in detail a method for constructing a mowing path for multiple lawns, an electronic device, and a storage medium provided by the present application in conjunction with the accompanying drawings.
[0052] For example, the present application provides a method for constructing mowing paths for multiple lawns. The method can be performed by an electronic device, or by a software device and / or hardware device within the electronic device. For example, the electronic device can be a computer, mobile phone, remote control, watch, or lawn mower, and the software device within the electronic device can be an app (application), a webpage, or a public account.
[0053] The electronic device can be connected to the lawn mower via a wired connection or a wireless connection. This application does not limit the connection method between the electronic device and the lawn mower.
[0054] Taking the execution subject of this method as an APP in an electronic device as an example, please refer to Figure 1, which is a flow chart of a method for constructing a mowing path for multiple lawns provided in an embodiment of the present application. As shown in Figure 1, the method for constructing a mowing path for multiple lawns of the present application may include the following steps:
[0055] S110 , displaying an area map of the first lawn and an area map of the second lawn.
[0056] Upon receiving a request from the user, the APP may display an area map of the first lawn and an area map of the second lawn on a display screen of the electronic device.
[0057] The request is used to request the APP to create a joint mowing path. This application does not limit the specific implementation of this request. For example, the request is an input operation by a user on the APP, or the request is an instruction transmitted to the APP by other electronic devices.
[0058] A lawn area map at least includes the boundary of the lawn and static objects distributed within the boundary. For example, static objects can be houses, telephone poles, or swimming pools.
[0059] The number of first lawns can be one or more. The number of second lawns can be one or more. This application does not limit parameters such as the type and size of a lawn. For ease of explanation, this application uses the first lawn as one lawn and the second lawn as one lawn as an example.
[0060] S120 , receiving a first position and a second position, where the first position is a position in an area map of a first lawn, and the second position is a position in an area map of a second lawn.
[0061] There are many specific implementations of the APP receiving the first location and the second location.
[0062] In some examples, the user clicks a location in the area map of the first lawn. Upon receiving the click operation, the APP may determine that the location is the first location.
[0063] Similarly, the user clicks on a location in the area map of the second lawn. Upon receiving the click operation, the APP can determine that the location is the second location.
[0064] Please refer to FIG. 2 , which is a schematic diagram of a scene when a user clicks on the second position in the APP.
[0065] In FIG2 , L1 represents the area map of the first lawn, L2 represents the area map of the second lawn, and S represents a static object in the area map.
[0066] As shown in Figure 2, the user clicks on location P1 in L1. Upon receiving the click operation, the APP may determine that location P1 is the first location. The user clicks on location P2 in L2. Upon receiving the click operation, the APP may determine that location P2 is the second location.
[0067] In other examples, the user specifies a line between the area map of the first lawn and the area map of the second lawn. After receiving the line, the APP can determine the two endpoints of the line, the one that falls within the area map of the first lawn as the first position, and the endpoint that falls within the area map of the second lawn as the second position.
[0068] The first position may be on the boundary of the area map of the first lawn, or may be inside the area map of the first lawn, which is not limited in this embodiment of the present application.
[0069] Likewise, the second position may be on the boundary of the area map of the second lawn or may be inside the area map of the second lawn.
[0070] S130 , controlling the lawn mower to move from the first position to the second position to obtain a corridor path.
[0071] After receiving the first position and the second position, the APP can control the lawn mower to move from the first position to the second position. For example, the APP can send an instruction to the lawn mower, which is used to instruct the lawn mower to move from the first position to the second position.
[0072] Thus, the lawn mower can record continuous coordinate positions during its travel and transmit all recorded continuous coordinate positions from the first position to the second position to the APP. The APP can obtain the corridor path based on all recorded continuous coordinate positions.
[0073] Among them, the corridor path is the path connecting the first lawn and the second lawn.
[0074] In summary, having the lawn mower simulate a route from the first position to the second position is conducive to enabling the APP to obtain the corridor path based on the continuous coordinate positions recorded during the movement of the lawn mower.
[0075] S140 , constructing a combined mowing path for the first lawn and the second lawn based on the corridor path, the mowing path for the first lawn, and the mowing path for the second lawn. The combined mowing path is used for the lawn mower to continuously mow the first lawn and the second lawn.
[0076] The mowing path of the first lawn is the path that the lawn mower walks on when mowing the first lawn, and the mowing path of the second lawn is the path that the lawn mower walks on when mowing the second lawn.
[0077] This application does not limit the specific implementation of the mowing path for the first lawn or the second lawn. For example, the mowing path for the first lawn or the second lawn may be historically stored within the app, or sent to the app by another electronic device. Alternatively, the mowing path for the first lawn or the second lawn may be constructed in real time by the app after S130 and before S140.
[0078] The APP constructs a combined mowing path for the first lawn and the second lawn based on the corridor path, the mowing path for the first lawn, and the mowing path for the second lawn, thereby enabling the lawn mower to continuously mow the first lawn and the second lawn according to the combined mowing path.
[0079] The mowing process may be a mowing process from the first lawn to the second lawn, or a mowing process from the second lawn to the first lawn.
[0080] S150: storing the combined mowing path.
[0081] The APP stores the combined mowing path in the electronic device or other electronic device where the APP is located. Among them, S150 is an optional step. When the lawn mower needs to mow the first lawn and the second lawn continuously, the APP can execute S110-S140 to obtain the combined mowing path, so that the lawn mower can use the combined mowing path created in real time to complete the continuous mowing process of the first lawn and the second lawn. Alternatively, when the lawn mower needs to mow the first lawn and the second lawn continuously, the lawn mower can obtain the stored combined mowing path from the APP, so that the lawn mower can use the historically stored combined mowing path to complete the continuous mowing process of the first lawn and the second lawn.
[0082] For example, when the lawn mower needs to mow the first lawn and the second lawn continuously, the lawn mower can mow the first lawn along the mowing path of the first lawn. After the mowing operation is completed, the lawn mower reaches the second lawn from the first lawn through the corridor path, and mows the second lawn along the mowing path of the second lawn.
[0083] By the same token, when the lawn mower needs to mow three or more lawns continuously, the lawn mower can mow the first lawn along the mowing path of the first lawn. After the lawn mower completes mowing the first lawn, the lawn mower travels to the second lawn through the corridor path between the first lawn and the second lawn, and mows the second lawn along the mowing path of the second lawn. When the lawn mower completes mowing the second lawn, the lawn mower travels to the third lawn through the corridor path between the second lawn and the third lawn, and mows the third lawn along the mowing path of the third lawn... and so on, until the lawn mower completes mowing all lawns that need to be mowed continuously.
[0084] It can be seen that the combined mowing path of multiple lawns constructed by the above method of the present application enables the lawn mower to automatically mow multiple lawns continuously according to the combined mowing path of multiple lawns without manual intervention, saving time and effort and being easy to use.
[0085] In summary, the method for constructing mowing paths for multiple lawns provided in this application can display the area maps of the first lawn and the second lawn to the user, providing an image basis for the user to select the first position and the second position. Receiving a position in the area map of the first lawn as the first position and receiving a position in the area map of the second lawn as the second position can provide two endpoints for constructing a corridor path between the first lawn and the second lawn. Controlling the lawn mower to move from the first position to the second position to obtain a corridor path can connect the first lawn and the second lawn via the corridor path, providing a feasible route for the lawn mower to subsequently move between the first lawn and the second lawn. Based on the corridor path, the mowing path of the first lawn, and the mowing path of the second lawn, a combined mowing path for the first lawn and the second lawn is constructed, allowing the lawn mower to continuously mow the first lawn and the second lawn according to the combined mowing path, without the need for manual intervention, saving time and effort, and being convenient to use.
[0086] Based on the description of the above embodiment, in S130, the app can control the lawn mower to move from the first location to the second location to obtain a corridor path. The routes that the app can control the lawn mower to move from the first location to the second location may include multiple routes. Therefore, the app can use multiple implementation methods to obtain the corridor path.
[0087] As a feasible implementation method, the APP can control the lawn mower to move from the first position to the second position according to the preset line to obtain the corridor path.
[0088] The preset connections are connections generated by the APP according to preset rules. The preset rules are pre-built in the APP.
[0089] In one example, when the preset rule is to generate the shortest line between two locations, according to the preset rule, the APP can generate a straight line connecting the first location and the second location to obtain the preset line.
[0090] In another example, when the preset rule is to generate a connection line between two locations to avoid obstacles, if there is an obstacle between the first lawn and the second lawn, the APP can obtain the coordinate position of the obstacle between the first lawn and the second lawn, and generate a connection line between the first position and the second position to avoid the obstacle according to the preset rule to obtain the preset connection line.
[0091] According to the process of the lawn mower moving from the first position to the second position along the preset line controlled by the APP, whether the lawn mower detects an obstacle, the corridor path constructed by the APP can have the following two situations.
[0092] In the first case, the lawn mower moves from the first position to the second position along the preset line. If no obstacles are detected during this process, the actual walking path of the lawn mower coincides with the preset line, and the corridor path obtained by the APP also coincides with the preset line.
[0093] Please refer to Figure 3, which shows a scenario where the app constructs a corridor path when there are no obstacles on the preset connection line. In Figure 3, the connection between P1 and P2 includes overlapping solid lines ab and dashed lines a'b'. The dashed line a'b' represents the preset connection line, and the solid line ab represents the actual path of the lawn mower.
[0094] In the second scenario, the mower moves from a first position to a second position along a preset line. If an obstacle is detected during this process, the mower automatically avoids the obstacle. As a result, the mower's actual path does not coincide with the preset line, and the corridor path obtained by the app also does not coincide with the preset line. Instead, it coincides with the mower's actual path. That is, if there is an obstacle on the preset line, the corridor path obtained by the app is the path that avoids the obstacle.
[0095] Please refer to Figure 4, which is a schematic diagram of the scenario in which the APP constructs a corridor path when an obstacle appears on the preset connection line. In Figure 4, the obstacle is denoted as Ob, and the connection between P1 and P2 includes partially overlapping straight lines abcd and dotted lines a'b'c'd'. The dotted line a'b'c'd' represents the preset connection line, and the solid line abcd represents the actual walking path of the lawn mower.
[0096] The lawn mower is controlled by the APP to move from the first position to the second position according to the preset line to obtain the corridor path. When constructing the corridor path, the APP only needs to receive the first position and the second position indicated by the user. The line between the first position and the second position can be automatically generated according to the preset rules, which reduces the user's participation in the process of constructing the corridor path and facilitates user use.
[0097] Please refer to Figure 5, which is a flow chart of a method for constructing a mowing path for multiple lawns provided in an embodiment of the present application. As shown in Figures 4 and 5, in some optional embodiments, in S130, when the APP controls the lawn mower to move from the first position to the second position, the specific method for obtaining the corridor path is that when the APP controls the lawn mower to move from the first position to the second position along a preset line, if the lawn mower detects an obstacle, the method for constructing a mowing path for multiple lawns further includes:
[0098] S131, the APP receives a first notification from the lawn mower, where the first notification is used to notify that there is an obstacle on the preset connection line.
[0099] While traveling from a first location to a second location, the lawn mower may identify and locate an obstacle. Upon identifying an obstacle, the lawn mower may send a first notification to the app. For example, the first notification may include at least one of the type and location of the obstacle. Furthermore, the first notification may be in the form of text, audio, image, or video.
[0100] S132: Display obstacles according to the first notification.
[0101] The APP may display the obstacle on the display screen of the electronic device according to the content of the first notification, as shown in Ob in FIG. 4 .
[0102] The obstacle may be displayed in an area between the area map of the first lawn and the area map of the second lawn.
[0103] When the first notification includes the type of obstacle, the location of the obstacle can be inferred based on the reception time of the first notification and the location of the lawn mower, and a mark of the obstacle type can be displayed at the location of the obstacle.
[0104] When the first notification includes the location of an obstacle, a mark of the obstacle may be displayed at the location.
[0105] When the first notification includes the type of obstacle and the location of the obstacle, a mark of the type of obstacle may be displayed at the location.
[0106] In summary, by displaying the obstacles, the obstacles can be used as a reference for positioning when the lawn mower continuously mows the first lawn and the second lawn.
[0107] As another feasible implementation method of controlling the lawn mower to move from the first position to the second position by the APP to obtain the corridor path, when the user specifies a connecting line between the first position and the second position, in S130, the APP controls the lawn mower to move from the first position to the second position to obtain the corridor path. Alternatively, the APP controls the lawn mower to move from the first position to the second position according to the connecting line specified by the user to obtain the corridor path.
[0108] The user-specified connection is a connection specified by the user through an instruction in the APP. The instruction can be an instruction given by the user through an operation gesture on the display screen of the electronic device, or an input operation by the user.
[0109] For example, please refer to Figure 6, which is a human-computer interaction diagram in which a user controls the movement of a lawn mower through buttons in the APP. In Figure 6, the arrows in the up, down, left, and right directions of control C respectively represent the buttons for the corresponding control directions, M represents the lawn mower, and the solid line ab represents a part of the connecting line specified by the user.
[0110] As shown in FIG6 , the APP can receive the user's button click operation, so that the APP controls the lawn mower to move along the line specified by the user in real time.
[0111] The corridor path is obtained by controlling the lawn mower to move from the first position to the second position along the line specified by the user. Since the line specified by the user is generally a line formulated according to user needs, the corridor path obtained by this method better meets user needs.
[0112] Please refer to FIG7 , which is a flow chart of a method for constructing mowing paths for multiple lawns according to an embodiment of the present application. Taking the example of a lawn mower mowing a first lawn first and then a second lawn, as shown in FIG6 , in some optional embodiments, S140 constructs a combined mowing path for the first lawn and the second lawn based on the corridor path, the mowing path for the first lawn, and the mowing path for the second lawn, including:
[0113] S141 : Construct a first path from an end point of a mowing path of a first lawn to a first position.
[0114] The end point of the mowing path of the first lawn refers to the position where the mower ends mowing when it moves along the mowing path of the first lawn to perform mowing operations. Correspondingly, the position where the mower starts mowing when it moves along the mowing path of the first lawn to perform mowing operations is the starting point of the mowing path of the first lawn.
[0115] The first path is a path connecting an end point of the mowing path of the first lawn and the first position. The first path allows the lawn mower to travel from the end point of the mowing path of the first lawn to the first position in the first lawn.
[0116] Because the app has already obtained the area map of the first lawn when constructing the combined mowing path, the app can automatically construct the first path based on the endpoint of the first lawn's mowing path, the first location, and the area map of the first lawn. For example, the app can construct a path from the endpoint of the first lawn's mowing path to the first location based on the area map of the first lawn, avoiding static objects in the first lawn, and use this path as the first path. This embodiment of the application does not limit the specific method for constructing the first path.
[0117] S142: Construct a second path from the starting point of the mowing path of the second lawn to the second position.
[0118] The starting point of the mowing path of the second lawn refers to the position where the lawn mower starts mowing when it moves along the mowing path of the second lawn to perform mowing operations. Correspondingly, the position where the lawn mower ends mowing when it moves along the mowing path of the second lawn to perform mowing operations is the end point of the mowing path of the second lawn.
[0119] The second path is a path connecting the end point of the mowing path of the second lawn and the second position. The second path allows the lawn mower to travel from the second position to the starting point of the mowing path of the second lawn in the second lawn.
[0120] The specific construction method of the second path can refer to the construction method of the first path, and will not be repeated here.
[0121] S143 , sequentially connect the mowing path of the first lawn, the first path, the corridor path, the second path, and the mowing path of the second lawn to obtain a combined mowing path.
[0122] Connecting the mowing path of the first lawn, the first path, the corridor path, the second path and the mowing path of the second lawn in sequence to construct a combined mowing path does not mean that the APP has the above-mentioned "connection in sequence" process, but means that in the combined mowing path constructed by the APP, the mowing path of the first lawn, the first path, the corridor path, the second path and the mowing path of the second lawn are connected in sequence.
[0123] The mowing path of the first lawn and the corridor path can be connected via the first path.
[0124] The mowing path of the second lawn and the corridor path can be connected via the second path.
[0125] Therefore, the combined mowing path constructed by the above-mentioned steps S141 to S143 facilitates the lawn mower to continuously mow the first lawn and the second lawn.
[0126] In some cases, the first location may coincide with the end point of the mowing path of the first lawn. In this case, there is no need to establish a first path between the two overlapping locations. When the APP constructs a combined mowing path, the mowing path of the first lawn can be directly connected to the corridor path.
[0127] Similarly, when the starting point of the mowing path of the second lawn coincides with the second position, the APP does not need to construct the second path. When the APP constructs the combined mowing path, the corridor path can be directly connected to the mowing path of the second lawn.
[0128] It is understandable that if the lawn mower operates on the second lawn first and then on the first lawn, then when constructing a combined mowing path, the above-mentioned S141-S143 method can also be referred to to construct a combined mowing path from the second lawn to the first lawn. This embodiment of the present application will not go into details about this situation.
[0129] In summary, the method in the embodiment of the present application can show the area maps of the first lawn and the second lawn to the user by displaying the area map of the first lawn and the area map of the second lawn, providing an image basis for the user to select the first position and the second position. Receiving a position in the area map of the first lawn as the first position and receiving a position in the area map of the second lawn as the second position can provide two endpoints for building a corridor path between the first lawn and the second lawn. Controlling the lawn mower to move from the first position to the second position to obtain a corridor path, the first lawn and the second lawn can be connected by means of the corridor path, providing a feasible route for the lawn mower to subsequently move between the first lawn and the second lawn. Based on the corridor path, the mowing path of the first lawn and the mowing path of the second lawn, a combined mowing path of the first lawn and the second lawn is constructed, so that the lawn mower can continuously mow the first lawn and the second lawn according to the combined mowing path, without the need for manual intervention, saving time and effort, and being convenient to use.
[0130] For example, the present application also provides a device for constructing mowing paths for multiple lawns. This device can be used to execute the processes performed by the electronic device, or the software or hardware device in the electronic device, in the embodiments shown in Figures 1-7. For details, please refer to the relevant description in the above method embodiments.
[0131] Please refer to FIG8 , which is a schematic diagram of a structure of a mowing path construction device for multiple lawns provided in one embodiment of the present application. As shown in FIG8 , the device includes:
[0132] a processing unit, configured to display an area map of the first lawn and an area map of the second lawn;
[0133] a transceiver unit configured to receive a first position and a second position, wherein the first position is a position in a regional map of a first lawn, and the second position is a position in a regional map of a second lawn;
[0134] The processing unit is further configured to control the lawn mower to travel from the first position to the second position to obtain a corridor path;
[0135] The processing unit is further used to construct a combined mowing path for the first lawn and the second lawn according to the corridor path, the mowing path of the first lawn and the mowing path of the second lawn. The combined mowing path is used for the mower to continuously mow the first lawn and the second lawn.
[0136] In some examples, the processing unit is specifically configured to control the lawn mower to move from a first position to a second position along a preset line to obtain a corridor path.
[0137] In some examples, the transceiver unit is further configured to receive a first notification from the lawn mower, the first notification being configured to notify that an obstacle exists in the preset connection line;
[0138] The processing unit is further configured to display an obstacle according to the first notification.
[0139] In some examples, when there is an obstacle on the preset line, the corridor path is a path that avoids the obstacle.
[0140] In some examples, the processing unit is specifically configured to control the lawn mower to move from a first position to a second position according to a line specified by a user, thereby obtaining a corridor path.
[0141] In some examples, the processing unit is specifically configured to construct a first path from an end point of a mowing path of a first lawn to a first location;
[0142] constructing a second path from the starting point of the mowing path of the second lawn to the second location;
[0143] The mowing path of the first lawn, the first path, the corridor path, the second path, and the mowing path of the second lawn are sequentially connected to obtain a combined mowing path.
[0144] In some examples, with continued reference to FIG. 8 , the device further includes a storage unit configured to store the combined mowing path.
[0145] Illustratively, the present application also provides an electronic device, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, it implements the method for constructing mowing paths for multiple lawns in any optional manner in the above-mentioned subject matter.
[0146] Illustratively, the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for constructing mowing paths for multiple lawns in any optional manner of the above-mentioned subject matter is implemented.
[0147] Exemplarily, the present application also provides a computer program product, including: execution instructions, the execution instructions are stored in a readable storage medium, at least one processor of an electronic device can read the execution instructions from the readable storage medium, and at least one processor executes the execution instructions so that the electronic device implements the method in the foregoing embodiment.
[0148] Those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, combinations of features from different embodiments are intended to be within the scope of this application and to form different embodiments. For example, in the claims, any one of the claimed embodiments may be used in any combination.
[0149] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for constructing mowing paths for multiple lawns, characterized in that: The method comprises: Displaying a regional map of the first lawn and a regional map of the second lawn; receiving a first position and a second position, wherein the first position is a position in a regional map of the first lawn, and the second position is a position in a regional map of the second lawn; Controlling the lawn mower to move from the first position to the second position to obtain a corridor path; A combined mowing path of the first lawn and the second lawn is constructed according to the corridor path, the mowing path of the first lawn and the mowing path of the second lawn. The combined mowing path is used for the mower to continuously mow the first lawn and the second lawn.
2. The method for constructing mowing paths for multiple lawns according to claim 1, characterized in that: The controlling the lawn mower to move from the first position to the second position to obtain a corridor path comprises: The lawn mower is controlled to move from the first position to the second position according to a preset connection line to obtain the corridor path.
3. The method for constructing mowing paths for multiple lawns according to claim 2, characterized in that: The method further comprises: receiving a first notification from the lawn mower, wherein the first notification is used to notify that the preset connection line has an obstacle; According to the first notification, the obstacle is displayed.
4. The method for constructing mowing paths for multiple lawns according to claim 2, characterized in that: When there is an obstacle on the preset line, the corridor path is a path that avoids the obstacle.
5. The method for constructing mowing paths for multiple lawns according to claim 1, characterized in that: The controlling the lawn mower to move from the first position to the second position to obtain a corridor path comprises: The lawn mower is controlled to move from the first position to the second position according to the connection line specified by the user to obtain the corridor path.
6. The method for constructing mowing paths for multiple lawns according to any one of claims 1 to 5, characterized in that: The step of constructing a combined mowing path of the first lawn and the second lawn according to the corridor path, the mowing path of the first lawn, and the mowing path of the second lawn comprises: constructing a first path from an end point of a mowing path of the first lawn to the first location; constructing a second path from the starting point of the mowing path of the second lawn to the second location; The mowing path of the first lawn, the first path, the corridor path, the second path and the mowing path of the second lawn are connected in sequence to obtain the combined mowing path.
7. The method for constructing mowing paths for multiple lawns according to any one of claims 1 to 5, characterized in that: The method further comprises: The combined mowing path is stored.
8. A device for constructing mowing paths for multiple lawns, characterized in that: The method comprises a module for implementing the method for constructing mowing paths for a plurality of lawns as claimed in any one of claims 1 to 7.
9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the method for constructing mowing paths for multiple lawns as claimed in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for constructing mowing paths for multiple lawns according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Robotic mowing of separated lawn areas
CN106535614A
Autonomous grounds maintenance machines with path planning for trap and obstacle avoidance
CN112218518A
Path forming method and device of self-moving equipment and automatic working system
CN113296495A
Self-moving device and navigation method thereof
CN114353801A
Mowing path construction method for multiple lawns, electronic equipment and storage medium
CN116711527A
