Method for constructing mowing paths for multiple lawns, electronic device and storage medium
The method constructs a combined mowing path for multiple lawns by displaying maps and controlling the mower's movement, allowing continuous mowing without manual intervention, thus saving time and effort.
Patent Information
- Application Number
- CN202310621028.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-29
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2043-05-29
AI Technical Summary
Existing lawn mowers face challenges in efficiently mowing multiple lawns without manual intervention, necessitating the construction of suitable paths to facilitate continuous operation.
A method and device for constructing a combined mowing path for multiple lawns by displaying regional maps, receiving user-defined positions, and controlling the lawn mower to move along a corridor path, which can be preset or user-specified, to connect and mow multiple lawns seamlessly.
Enables the lawn mower to automatically mow multiple lawns continuously, reducing manual effort and providing a convenient, efficient mowing solution.
Smart Images

Figure CN116711527B_ABST
Abstract
Description
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 set up automatic mowing on the lawn without having to spend energy to manage it, freeing users from boring and heavy housework such as cleaning and maintaining the lawn.
[0003] However, during the operation of the lawn mower, it may be necessary to continuously mow multiple lawns. Therefore, it is necessary to construct a suitable path so that the lawn mower can continuously mow multiple lawns along this path. Summary of the invention
[0004] 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 combined mowing path for multiple lawns, it facilitates a lawn mower to continuously mow multiple lawns, reduces manual participation and saves manpower.
[0005] According to a first aspect of the present application, a method for constructing mowing paths for multiple lawns is provided, the method comprising:
[0006] Shows the area map of the first lawn and the area map of the second lawn.
[0007] A first position and a second position are received, the first position being a position in an area map of a first lawn, and the second position being a position in an area map of a second lawn.
[0008] The lawn mower is controlled to move from a first position to a second position to obtain a corridor path.
[0009] 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.
[0010] By the method of the first aspect, the regional map of the first lawn and the regional map of the second lawn are displayed, and the regional maps of the first lawn and the second lawn can be displayed to the user, providing an image basis for the user to select the first position and the second position. A position in the regional map of the first lawn is received as the first position, and a position in the regional map of the second lawn is received as the second position, so that two endpoints can be provided for building a corridor path between the first lawn and the second lawn. The lawn mower is controlled to move from the first position to the second position, and the corridor path is obtained. The first lawn and the second lawn can be connected by means of the corridor path, so as to provide a feasible route for the lawn mower to walk between the first lawn and the second lawn in the future. According to 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 manual participation, saving time and effort, and being convenient to use.
[0011] In some optional embodiments, controlling the lawn mower to move from the first position to the second position to obtain the corridor path includes:
[0012] 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.
[0013] 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.
[0014] In some optional modes, when there is an obstacle on the preset line, the corridor path is a path that avoids the obstacle.
[0015] Therefore, it can be ensured 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.
[0016] In some optional embodiments, the method for constructing mowing paths for multiple lawns further includes:
[0017] A first notification is received from the lawn mower, where the first notification is used to notify that an obstacle exists on a preset connection line.
[0018] Based on the first notification, the obstacle is displayed.
[0019] Therefore, by displaying the obstacle, it is convenient to use the obstacle as a reference for positioning when the lawn mower continuously mows the first lawn and the second lawn.
[0020] In some optional embodiments, controlling the lawn mower to move from the first position to the second position to obtain the corridor path includes:
[0021] The lawn mower is controlled to move from a first position to a second position according to a line specified by a user, so as to obtain a corridor path.
[0022] Therefore, by adopting the above solution, the connection line specified by the user is a connection line formulated according to the user's needs, so the corridor path obtained by this method better meets the user's needs.
[0023] In some optional manners, 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 includes:
[0024] A first path is constructed from an end point of a mowing path for a first lawn to a first location.
[0025] A second path is constructed from the starting point of the mowing path for the second lawn to the second location.
[0026] 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 a combined mowing path.
[0027] Thus, a feasible implementation method is provided for constructing a combined mowing path.
[0028] In some optional embodiments, the method for constructing mowing paths for multiple lawns further includes:
[0029] Store combine mowing paths.
[0030] 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.
[0031] 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 a method for constructing mowing paths for multiple lawns in any optional manner of the above-mentioned subject matter.
[0032] According to a third aspect of the present application, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, a method for constructing a mowing path for multiple lawns in any optional manner in the above-mentioned subject matter is implemented.
[0033] 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.
[0034] According to a fifth aspect of the present application, a computer program product is provided, comprising: 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 for constructing mowing paths for multiple lawns in any optional manner in the above-mentioned subject matter.
[0035] In summary, 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, thus saving time and effort and being convenient to use.
[0036] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it 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 embodiment 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
[0037] 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 creative work.
[0038] Figure 1 A schematic flow chart of a method for constructing mowing paths for multiple lawns provided in an embodiment of the present application.
[0039] Figure 2 A schematic diagram of a scenario in which an electronic device receives a first position and a second position.
[0040] Figure 3 A schematic diagram of a scenario in which an electronic device constructs a corridor path when no obstacles appear on the preset connection line.
[0041] Figure 4 When an obstacle appears on the preset connection line, the electronic device constructs a scenario schematic diagram of the corridor path.
[0042] Figure 5 A schematic flow chart of a method for constructing mowing paths for multiple lawns provided in an embodiment of the present application.
[0043] Figure 6 Human-computer interaction diagram for electronic device controlling the movement of lawn mower.
[0044] Figure 7 A schematic flow chart of a method for constructing mowing paths for multiple lawns provided in an embodiment of the present application.
[0045] Figure 8 A schematic diagram of the structure of a device for constructing mowing paths for multiple lawns provided in an embodiment of the present application. DETAILED DESCRIPTION
[0046] The terms "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.
[0047] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase "embodiments" in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0048] In addition, the terms "first", "second", etc. in the specification 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 of the features.
[0049] In the description of the present application, unless otherwise specified, "plurality" means more than two (including two), and similarly, "multiple groups" means more than two groups (including two).
[0050] The following is a detailed description of 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.
[0051] For example, the present application provides a method for constructing a mowing path for multiple lawns, which can be executed by an electronic device, or a software device and / or a hardware device in the electronic device. For example, the electronic device can be a computer, a mobile phone, a remote control, a watch, or a lawn mower, and the software device in the electronic device can be an APP (Application), a web page, or a public account.
[0052] The electronic device may be connected to the lawn mower via a wired connection or a wireless connection. The present application does not limit the connection method between the electronic device and the lawn mower.
[0053] Take the execution subject of this method as an APP in an electronic device as an example for illustration, please refer to Figure 1 , Figure 1 A schematic flow chart of a method for constructing mowing paths for multiple lawns provided in an embodiment of the present application.
[0054] like Figure 1 As shown, the method for constructing mowing paths 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. The application does not limit the specific implementation of the request. For example, the request is an input operation of a user on the APP, or the request is an instruction transmitted to the APP by other electronic devices.
[0058] The area map of a lawn at least includes the boundary of the lawn and the static objects distributed within the boundary. For example, the static objects may be houses, electric poles or swimming pools.
[0059] The number of the first lawns may be one or more. The number of the second lawns may be one or more. The present application does not limit parameters such as the type and size of a lawn. For ease of explanation, the present application takes the first lawn as one lawn and the second lawn as one lawn as an example.
[0060] S120: Receive 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 implementation methods for the APP to receive 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 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 Figure 2 , Figure 2 This is a schematic diagram of the scenario when the user clicks the second position in the APP. Figure 2 In FIG. 1 , 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.
[0065] like Figure 2As shown, the user clicks on position P1 in L1. Upon receiving the click operation, the APP may determine that position P1 is the first position. The user clicks on position P2 in L2. Upon receiving the click operation, the APP may determine that position P2 is the second position.
[0066] 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 that of the two endpoints of the line, the one that falls within the area map of the first lawn is the first position, and the endpoint that falls within the area map of the second lawn is the second position.
[0067] 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.
[0068] 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.
[0069] S130, controlling the lawn mower to move from the first position to the second position to obtain a corridor path.
[0070] 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.
[0071] Thus, the lawn mower can record continuous coordinate positions during the process of traveling, 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 according to the all recorded continuous coordinate positions.
[0072] Among them, the corridor path is a path connecting the first lawn and the second lawn.
[0073] In summary, making the lawn mower simulate the route from the first position to the second position is conducive to enabling the APP to obtain the corridor path according to the continuous coordinate positions recorded during the movement of the lawn mower.
[0074] S140, 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, the combined mowing path being used for the lawn mower to walk when mowing the first lawn and the second lawn continuously.
[0075] 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.
[0076] The present application does not limit the specific implementation of the mowing path of the first lawn or the mowing path of the second lawn. For example, the mowing path of the first lawn or the mowing path of the second lawn may be historically stored in the APP, or sent to the APP by other electronic devices. Alternatively, the mowing path of the first lawn or the mowing path of the second lawn may be constructed in real time by the APP after S130 and before S140.
[0077] The APP constructs 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, so that the lawn mower can continuously mow the first lawn and the second lawn according to the combined mowing path.
[0078] The mowing process may be a mowing process from the first lawn to the second lawn, or may be a mowing process from the second lawn to the first lawn.
[0079] S150: storing the combined mowing path.
[0080] 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.
[0081] Exemplarily, when the lawn mower needs to continuously mow the first lawn and the second lawn, 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.
[0082] 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.
[0083] 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, thus saving time and effort and being easy to use.
[0084] In summary, the mowing path construction method for the above-mentioned multiple lawns provided in the present application can display the regional maps of the first lawn and the second lawn to the user by displaying the regional map of the first lawn and the regional map of the second lawn, and provide an image basis for the user to select the first position and the second position. Receiving a position in the regional map of the first lawn as the first position, and receiving a position in the regional 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, obtaining the corridor path, and being able to connect the first lawn and the second lawn with the help of the corridor path, so as to provide a feasible route for the lawn mower to walk between the first lawn and the second lawn in the future. According to 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 manual participation, saving time and effort, and being convenient to use.
[0085] Based on the description of the above embodiment, in S130, the APP can control the lawn mower to move from the first position to the second position to obtain the corridor path, wherein the routes that the APP controls the lawn mower to move from the first position to the second position may include multiple routes. Therefore, the APP can use multiple implementation methods to obtain the corridor path.
[0086] As a feasible implementation method, the APP can control the lawn mower to move from the first position to the second position according to a preset line to obtain a corridor path.
[0087] The preset connection is a connection generated by the APP according to preset rules. The preset rules are pre-built in the APP.
[0088] 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.
[0089] In another example, when the preset rule is to generate a connection line between two positions 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, and obtain the preset connection line.
[0090] According to whether the lawn mower detects an obstacle during the process of the lawn mower moving from the first position to the second position along the preset line controlled by the APP, the corridor path constructed by the APP can have the following two situations.
[0091] 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.
[0092] See also Figure 3 , Figure 3 When there are no obstacles on the preset connection line, the APP constructs a scene diagram of the corridor path. Figure 3 In the figure, the connection line between P1 and P2 includes a solid line ab and a dotted line a'b' that overlap each other, the dotted line a'b' represents a preset connection line, and the solid line ab represents the actual walking path of the lawn mower.
[0093] The second situation is that the lawn mower moves from the first position to the second position according to the preset connection line. If an obstacle is detected during this process, the lawn mower will automatically avoid the obstacle, so that the actual walking path of the lawn mower does not coincide with the preset connection line, and the corridor path obtained by the APP does not coincide with the preset connection line, but coincides with the actual walking path of the lawn mower. That is, when there is an obstacle on the preset connection line, the corridor path obtained by the APP is a path to avoid the obstacle.
[0094] Please refer to Figure 4 , Figure 4 When obstacles appear on the preset connection line, the APP constructs a scene diagram of the corridor path. Figure 4 In FIG. 8 , the obstacle is denoted as Ob, and the connection line 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.
[0095] The lawn mower is controlled by the APP to move from the first position to the second position along 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.
[0096] Please refer to Figure 5 , Figure 5 The following is a flow chart of a method for constructing a mowing path for multiple lawns provided in an embodiment of the present application. Figure 4 and Figure 5 As shown, in some optional manners, in S130, when the APP controls the lawn mower to move from the first position to the second position, a specific manner of obtaining the corridor path is that, during the process of the APP controlling the lawn mower to move from the first position to the second position according to a preset line, when the lawn mower detects an obstacle, the method for constructing a mowing path for multiple lawns further includes:
[0097] 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.
[0098] In the process of traveling from the first position to the second position, the lawn mower may identify and locate an obstacle. When an obstacle is identified, the lawn mower may send a first notification to the APP. Exemplarily, the first notification may include at least one of the type and location of the obstacle. In addition, the first notification may be in the form of text, voice, picture, or video.
[0099] S132: Display obstacles according to the first notification.
[0100] The APP can display obstacles on the display screen of the electronic device according to the content of the first notification, such as Figure 4 Ob in.
[0101] The obstacle may be displayed in an area between the area map of the first lawn and the area map of the second lawn.
[0102] 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.
[0103] When the first notification includes the location of an obstacle, a mark of the obstacle may be displayed at the location.
[0104] 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.
[0105] In summary, by displaying obstacles, it is convenient to use the obstacles as a reference for positioning when the lawn mower continuously mows the first lawn and the second lawn.
[0106] As another feasible implementation method of controlling the lawn mower to move from the first position to the second position by APP to obtain the corridor path, when the user specifies a connection line between the first position and the second position, in S130, the lawn mower to move from the first position to the second position by APP to obtain the corridor path may also be controlled by APP to move from the first position to the second position according to the connection line specified by the user to obtain the corridor path.
[0107] The connection specified by the user is a connection specified by the user through an instruction in the APP. The instruction may be an indication given by the user through an operation gesture on the display screen of the electronic device, or an input operation of the user.
[0108] For example, please refer to Figure 6 , Figure 6 This is a human-computer interaction diagram of a user controlling the lawn mower's movement by pressing buttons in the APP. Figure 6 In FIG. 1 , the arrows in the upward, downward, left, and right directions of the control C are buttons indicating corresponding control directions, M represents a lawn mower, and the solid line ab represents a portion of the connecting line specified by the user.
[0109] like Figure 6 As shown, the APP can receive the user's operation of clicking a button, so that the APP controls the lawn mower to move along the line specified by the user in real time.
[0110] The corridor path is obtained by controlling the lawn mower to move from the first position to the second position according to the connection line specified by the user. Since the connection line specified by the user is generally a connection line formulated according to user needs, the corridor path obtained by this method better meets user needs.
[0111] Please refer to Figure 7 , Figure 7 The following is a flow chart of a method for constructing a mowing path for multiple lawns provided in an embodiment of the present application. For example, a lawn mower first mows the first lawn and then the second lawn. Figure 6 As shown, in some optional manners, S140 constructs 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, including:
[0112] S141: construct a first path from an end point of a mowing path of a first lawn to a first position.
[0113] 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 in the first lawn. 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.
[0114] The first path is a path connecting an end point of the mowing path of the first lawn and the first position, and 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.
[0115] Since the APP has obtained the regional map of the first lawn when constructing the combined mowing path, the first path can be automatically constructed by the APP according to the end point of the mowing path of the first lawn, the first position and the regional map of the first lawn. For example, the APP can construct a path from the end point of the mowing path of the first lawn to the first position according to the regional map of the first lawn, and the path avoids static objects in the first lawn, and this path is used as the first path. The specific construction method of the first path is not limited in the embodiment of the present application.
[0116] S142: Construct a second path from the starting point of the mowing path of the second lawn to the second position.
[0117] The starting point of the mowing path of the second lawn refers to the position where the mower starts mowing when it moves along the mowing path of the second lawn to perform mowing operations. Correspondingly, the position where the 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.
[0118] The second path is a path connecting the end point of the mowing path of the second lawn and the second position, and the second path allows the lawn mower to travel from the second position to the start point of the mowing path of the second lawn in the second lawn.
[0119] The specific construction method of the second path can refer to the construction method of the first path, which will not be repeated here.
[0120] 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.
[0121] 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 "connecting 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.
[0122] The mowing path of the first lawn and the corridor path can be connected via the first path.
[0123] The mowing path of the second lawn and the corridor path can be connected via the second path.
[0124] Therefore, the combined mowing path constructed by the above-mentioned methods of S141-S143 facilitates the lawn mower to continuously mow the first lawn and the second lawn.
[0125] In some cases, the first position may overlap with the end point of the mowing path of the first lawn. In this case, there is no need to establish the first path between the two overlapping positions. When the APP constructs the combined mowing path, the mowing path of the first lawn can be directly connected to the corridor path.
[0126] 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.
[0127] 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 elaborate on this situation.
[0128] In summary, the method in the embodiment of the present application can display the area map of the first lawn and the area map of the second lawn to the user, and provide 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, and a feasible route can be provided for the lawn mower to walk between the first lawn and the second lawn in the future. According to 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 manual participation, saving time and effort, and convenient to use.
[0129] Exemplarily, the present application also provides a device for constructing a mowing path for multiple lawns. The device can be used to execute Figure 1-Figure 7 For the process executed by the electronic device in the embodiment shown in or the software device or hardware device in the electronic device, please refer to the relevant introduction in the above method embodiment for details.
[0130] See also Figure 8 , Figure 8 This is a schematic diagram of a structure of a device for constructing a mowing path for multiple lawns provided in one embodiment of the present application. Figure 8 As shown, the device comprises:
[0131] a processing unit, configured to display a regional map of the first lawn and a regional map of the second lawn;
[0132] A transceiver unit, configured to receive a first position and a second position, wherein the first position is a position in a region map of a first lawn, and the second position is a position in a region map of a second lawn;
[0133] The processing unit is further used to control the lawn mower to travel from the first position to the second position to obtain a corridor path;
[0134] The processing unit is further used to construct 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, and the combined mowing path is used for the mower to continuously mow the first lawn and the second lawn.
[0135] 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 preset line to obtain a corridor path.
[0136] In some examples, the transceiver unit is further used to receive a first notification from the lawn mower, where the first notification is used to notify that there is an obstacle in the preset connection line;
[0137] The processing unit is further configured to display an obstacle according to the first notification.
[0138] In some examples, when there is an obstacle on the preset line, the corridor path is a path that avoids the obstacle.
[0139] 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 to obtain a corridor path.
[0140] 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;
[0141] constructing a second path from the starting point of the mowing path of the second lawn to the second location;
[0142] 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 a combined mowing path.
[0143] In some instances, continued combination Figure 8, the device also includes a storage unit, and the storage unit is used to store the combined mowing path.
[0144] Exemplarily, 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, a method for constructing a mowing path for multiple lawns in any optional manner in the above-mentioned subject matter is implemented.
[0145] Exemplarily, the present application also provides a computer-readable storage medium having a computer program stored thereon, and 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.
[0146] 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.
[0147] Those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims, any one of the claimed embodiments may be used in any combination.
[0148] 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 aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned 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; 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, wherein the combined mowing path is used for the mower to continuously mow the first lawn and the second lawn; 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 includes: 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.
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 method further comprises: The combined mowing path is stored.
7. 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 6.
8. 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 6 is implemented.
9. 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 6 is implemented.
Citation Information
Patent Citations
Path forming method and device of self-moving equipment and automatic working system
CN113296495A
