Map modification method and apparatus, electronic device, storage medium, and program product

By controlling the lawn mower to walk along the original target element and identify the updated target element, the problem of intuition and accuracy of the lawn mower map modification is solved, and the efficiency and accuracy of the modification process is improved, so that the modified target element and the actual scene are achieved. Better correspondence.

WO2024244573A1PCT designated stage expired Publication Date: 2024-12-05WILLAND (BEIJING) TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/079323
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-29
Filing Date
2024-02-29
Publication Date
2024-12-05

AI Technical Summary

Technical Problem

In the prior art, the map modification of the lawn mower is not intuitive and accurate enough, and cannot effectively respond to the map boundary adjustment requirements during lawn expansion or other uses, resulting in low efficiency and poor accuracy of the modification process.

Method used

By receiving control instructions, the lawn mower is controlled to walk along the original target element from the first starting point to the second starting point, and the updated target element is determined based on the walking trajectory between the second starting point and the end point, ensuring that the position point is always adsorbed to the original target element On the other hand, reduce readjustment steps and improve the intuitiveness and accuracy of modifications.

Benefits of technology

The intuitiveness and accuracy of the lawn mower map modification is realized, the efficiency and accuracy of the modification process are improved, and the modified target elements are better corresponded to the actual scene.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024079323_05122024_PF_FP_ABST
    Figure CN2024079323_05122024_PF_FP_ABST
Patent Text Reader

Abstract

A map modification method and apparatus, an electronic device, a storage medium, and a program product. The method is applied to a control assembly of a mower, and comprises: receiving a first control instruction, and according to the first control instruction, controlling a mower to travel from a first start point to a second start point along an original target element (S201); receiving a start point confirmation instruction, and according to the start point confirmation instruction, taking the second start point as a start point for modifying the original target element (S202); and receiving a second control instruction, controlling, according to the second control instruction, the mower to travel from the second start point to an end point, and determining an updated target element according to a traveling trajectory from the second start point to the end point (S203). A position point is always attached on the original target element, so that the position point is not separated from the original target element, the step of re-adjusting the second start point to the original target element is omitted, a modification process is more visual and can correspond to an actual scenario, and the determined second start point is more accurate, thereby improving the accuracy of map modification.
Need to check novelty before this filing date? Find Prior Art

Description

Map modification method, device, electronic device, storage medium and program product

[0001] This disclosure claims priority to the Chinese patent application filed with the China Patent Office on May 29, 2023, with application number 202310609467.5 and application name “Map modification method, device, electronic device and storage medium”, the entire contents of which are incorporated by reference into this disclosure. Technical Field

[0002] The present disclosure relates to the technical field of electronic devices, and in particular to a map modification method, device, electronic device, storage medium, and program product. Background Art

[0003] With the continuous improvement of people's living standards, more and more people use lawn mowers to mow lawns, which can reduce people's labor intensity and labor costs.

[0004] Before using a lawn mower to mow the lawn, a map needs to be created first, such as the user remotely controlling or pushing the lawn mower to walk around the boundary of the work area. After the map is created, the mowing robot can mow the lawn based on the created map. However, there are often scenarios where the created map needs to be partially modified, such as lawn expansion, or a certain area of ​​the lawn has other uses. The existing technology usually does not allow local modification of the created map. When the map needs to be modified, the map can only be deleted and redrawn; or, the map can only be modified through an application (APP), for example, manually adjusting the map boundary on the APP, and there is a problem that the modified boundary does not correspond to the actual scene.

[0005] Summary of the Invention

[0006] The present disclosure provides a map modification method, device, electronic device, storage medium and program product to solve the problem that the modified boundary does not correspond to the actual scene when partially modifying an established map.

[0007] In a first aspect, the present disclosure provides a map modification method, which is applied to a control component of a lawn mower, and comprises:

[0008] receiving a first control instruction and, according to the first control instruction, controlling the lawn mower to move from a first starting point to a second starting point along an original target element; the first starting point and the second starting point are points on the original target element; the original target element includes at least one of an original virtual map boundary, an original restricted area boundary, and an original passage;

[0009] receiving a starting point confirmation instruction, and using the second starting point as a starting point for modifying the original target element according to the starting point confirmation instruction;

[0010] A second control instruction is received, the lawn mower is controlled to move from the second starting point to an end point according to the second control instruction, and an updated target element is determined according to a moving trajectory between the second starting point and the end point.

[0011] In one embodiment, the method further comprises:

[0012] receiving a first starting point position instruction;

[0013] According to the first starting point position instruction, the lawn mower is controlled to move to the first starting point; the first starting point position instruction is determined by the terminal device according to the first position point input by the user.

[0014] In one embodiment, controlling the lawn mower to move to the first starting point includes:

[0015] planning a first path between the current position and the first starting point, and controlling the lawn mower to move along the first path to the first starting point;

[0016] Alternatively, a third control instruction is received, and the lawn mower is controlled to move from the current position to the first starting point according to the third control instruction.

[0017] In one embodiment, when the first position point is located on the original target element, the first starting point is the first position point; when the first position point is not located on the original target element, the first starting point is the second position point on the original target element that is closest to the first position point.

[0018] In one embodiment, when the lawn mower moves from the first starting point to the second starting point, a vertical distance between the position of the lawn mower and the original target element is not greater than a first threshold.

[0019] In one embodiment, the front orientation of the lawn mower when it reaches the first starting point is the same as the target front orientation; the target front orientation is the front orientation of the lawn mower at the first starting point during the process of establishing the original target element.

[0020] In one embodiment, the first control instruction includes a walking direction; controlling the lawn mower to walk along the original target element from a first starting point to a second starting point includes:

[0021] The lawn mower is controlled to walk along the original target element according to the walking direction; the first control instruction is generated when the walking direction control displayed on the terminal device is triggered; the starting point confirmation instruction is generated when the starting point confirmation control displayed on the terminal device is triggered.

[0022] In one embodiment, controlling the lawn mower to move along the original target element according to the moving direction includes:

[0023] When the moving direction is opposite to the direction of the vehicle head, the wheels of the lawn mower are rotated in the opposite direction so that the lawn mower moves backward along the original target element.

[0024] In one embodiment, controlling the lawn mower to move along the original target element according to the moving direction includes:

[0025] When it is detected that the number of times the lawn mower moves back and forth in the local boundary section exceeds a first preset number, the moving speed of the lawn mower is controlled to decrease.

[0026] In one embodiment, the method further comprises:

[0027] When it is detected that the number of times the lawn mower moves back and forth in the local boundary segment exceeds a second preset number, the midpoint of the overlapping section of the local boundary segment where the lawn mower moves back and forth multiple times is determined as the recommended second starting point, and when a user's confirmation instruction for the recommended second starting point is received, the recommended second starting point is determined as the second starting point.

[0028] In one embodiment, the method further comprises:

[0029] receiving an endpoint confirmation instruction and determining the current position of the lawn mower as the endpoint; the endpoint confirmation instruction is generated by triggering an endpoint confirmation control displayed on a terminal device;

[0030] The end point confirmation control is displayed on the terminal device when the walking trajectory of the lawn mower after starting from the second starting point intersects with the original target element, or when the distance between the current position of the lawn mower and the original target element is less than a preset value.

[0031] In one embodiment, determining an updated target element according to the walking trajectory between the second starting point and the end point includes:

[0032] Determine the walking trajectory between the second starting point and the end point as a first editing line segment;

[0033] The boundary line between the second starting point and the target point in the original target element is deleted to obtain a remaining boundary line segment; when the end point is located on the original target element, the target point is the end point; when the end point is not located on the original target element, the target point is the point on the original target element that is closest to the end point, or the target point is the intersection of the original target element and a second path, where the second path is the path of the lawn mower walking along a preset direction, and the preset direction is the direction of the front of the lawn mower at the end point;

[0034] An updated target element is determined according to the remaining boundary line segments and the first edited line segment.

[0035] In one embodiment, determining the updated target element according to the remaining boundary line segments and the first edited line segments includes:

[0036] When the end point is not located on the original target element, the end point is connected to the target point to obtain a second editing line segment; the second editing line segment is a straight line or an arc;

[0037] The first edit line segment, the second edit line segment, and the remaining boundary line segments are merged to obtain an updated target element.

[0038] In a second aspect, the present disclosure provides a map modification method, which is applied to a terminal device and includes:

[0039] When the lawn mower reaches a first starting point, a first control is displayed on a display interface. In response to a user triggering an event on the first control, a first control instruction is generated and sent to a control component of the lawn mower, so that the control component controls the lawn mower to move from the first starting point to a second starting point along an original target element according to the first control instruction; the first starting point and the second starting point are points on the original target element; the original target element includes at least one of an original virtual map boundary, an original restricted area boundary, and an original passage;

[0040] After the lawn mower starts moving from the first starting point, a starting point confirmation control is displayed in the display interface. In response to a user triggering the starting point confirmation control, a starting point confirmation instruction is generated and sent to the control component, so that the control component uses the second starting point as a starting point for modifying the original target element according to the starting point confirmation instruction.

[0041] When the starting point confirmation control is triggered, a second control is displayed on the display interface. In response to the user's triggering event of the second control, a second control instruction is generated and sent to the control component, so that the control component controls the lawn mower to move from the second starting point to the end point according to the second control instruction, and determines the updated target element according to the walking trajectory between the second starting point and the end point.

[0042] In one embodiment, the method further comprises:

[0043] In response to a user triggering an event on a first position point in the display interface, determining the first starting point according to the first position point;

[0044] A first starting point position instruction including the first starting point is sent to the control component, so that the control component controls the lawn mower to move to the first starting point according to the first starting point position instruction.

[0045] In one embodiment, determining the first starting point according to the first location point includes:

[0046] When the first position point is located on the original target element, the first position point is determined as the first starting point;

[0047] When the first position point is not located on the original target element, a second position point on the original target element that is closest to the first position point is determined as the first starting point.

[0048] In one embodiment, the first control is a walking direction control; and the first control instruction includes a walking direction.

[0049] In one embodiment, the method further comprises:

[0050] In response to receiving a message sent by the control component indicating that the recommended second starting point has been determined, a recommended second starting point confirmation control is displayed on the display interface. In response to a user triggering an event of the recommended second starting point confirmation control, the user's confirmation instruction for the recommended second starting point is sent to the control component, so that the control component determines the recommended second starting point as the second starting point.

[0051] In one embodiment, the method further comprises:

[0052] When the walking trajectory of the lawn mower after starting from the second starting point intersects with the original target element, or when the distance between the current position of the lawn mower and the original target element is less than a preset value, an endpoint confirmation control is displayed in the display interface;

[0053] In response to a user triggering event on the endpoint confirmation control, an endpoint confirmation instruction is generated and sent to the control component, so that the control component determines the current position of the lawn mower as the endpoint according to the endpoint confirmation instruction.

[0054] In a third aspect, the present disclosure provides a map modification device, which is applied to a control component of a lawn mower, and includes:

[0055] a first control module configured to receive a first control instruction and, according to the first control instruction, control the lawn mower to move from a first starting point to a second starting point along an original target element; the first starting point and the second starting point are points on the original target element; the original target element includes at least one of an original virtual map boundary, an original restricted area boundary, and an original passage;

[0056] a starting point confirmation module, configured to receive a starting point confirmation instruction, and use the second starting point as a starting point for modifying the original target element according to the starting point confirmation instruction;

[0057] The second control module is configured to receive a second control instruction, control the lawn mower to move from the second starting point to the end point according to the second control instruction, and determine an updated target element according to the walking trajectory between the second starting point and the end point.

[0058] In a fourth aspect, the present disclosure provides a map modification device, which is applied to a terminal device and includes:

[0059] The first display module is configured to display a first control in a display interface after the lawn mower reaches a first starting point, generate a first control instruction in response to a user triggering an event on the first control, and send the first control instruction to a control component of the lawn mower, so that the control component controls the lawn mower to move from the first starting point to a second starting point along an original target element according to the first control instruction; the first starting point and the second starting point are points on the original target element; the original target element includes at least one of an original virtual map boundary, an original restricted area boundary, and an original channel;

[0060] a second display module configured to display a starting point confirmation control in the display interface after the lawn mower starts moving from the first starting point, generate a starting point confirmation instruction in response to a user triggering the starting point confirmation control, and send the starting point confirmation instruction to the control component, so that the control component uses the second starting point as a starting point for modifying the original target element according to the starting point confirmation instruction;

[0061] The third display module is configured to display a second control on the display interface when the starting point confirmation control is triggered, generate a second control instruction in response to the user's triggering event of the second control, and send the second control instruction to the control component, so that the control component controls the lawn mower to walk from the second starting point to the end point according to the second control instruction, and determines the updated target element according to the walking trajectory between the second starting point and the end point.

[0062] In a fifth aspect, the present disclosure provides an electronic device, comprising: at least one processor and a memory;

[0063] The memory stores computer-executable instructions;

[0064] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method according to any one of the first aspect or the second aspect.

[0065] In a sixth aspect, the present disclosure provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the method of any one of the first aspect or the second aspect is implemented.

[0066] In a seventh aspect, the present disclosure provides a computer program product, comprising a computer program, which implements the method of any one of the first aspect or the second aspect when executed by a processor.

[0067] The present disclosure provides a map modification method, device, electronic device, storage medium, and program product. The method is applied to a control component of a lawn mower. The method receives a first control instruction and, in accordance with the first control instruction, controls the lawn mower to move along an original target element from a first starting point to a second starting point. The first starting point and the second starting point are points on the original target element. The original target element includes at least one of an original virtual map boundary, an original restricted area boundary, and an original channel. The method receives a starting point confirmation instruction and, in accordance with the starting point confirmation instruction, uses the second starting point as a starting point for modifying the original target element. The method receives a second control instruction and, in accordance with the second control instruction, controls the lawn mower to move from the second starting point to an end point. An updated target element is determined based on the walking trajectory between the second starting point and the end point. By always adsorbing the position point of the lawn mower on the original target element so that the position point does not deviate from the original target element, the step of re-adjusting the second starting point to the original target element is saved. This makes the modification process more intuitive and can correspond to the actual scene. The determined second starting point is also more accurate, thereby improving the accuracy of the map modification. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0069] FIG1 is an application scenario diagram of a map modification method provided by an embodiment of the present disclosure;

[0070] FIG2 is a flow chart of a map modification method provided in an embodiment of the present disclosure;

[0071] FIG3 is a first schematic diagram of modifying the boundary of an original virtual map according to an embodiment of the present disclosure;

[0072] FIG4 is a second schematic diagram of modifying the boundary of an original virtual map provided by an embodiment of the present disclosure;

[0073] FIG5 is a third schematic diagram of modifying the boundary of an original virtual map according to an embodiment of the present disclosure;

[0074] FIG6 is a fourth schematic diagram of modifying the boundary of an original virtual map provided by an embodiment of the present disclosure;

[0075] FIG7 is a fifth schematic diagram of modifying the boundary of an original virtual map according to an embodiment of the present disclosure;

[0076] FIG8 is a sixth schematic diagram of modifying the boundary of an original virtual map according to an embodiment of the present disclosure;

[0077] FIG9 is a flow chart of another map modification method provided in an embodiment of the present disclosure;

[0078] FIG10 is a schematic structural diagram of a map modification device provided by an embodiment of the present disclosure;

[0079] FIG11 is a schematic structural diagram of another map modification device provided by an embodiment of the present disclosure;

[0080] FIG12 is a schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present disclosure.

[0081] The above drawings illustrate specific embodiments of the present disclosure, which will be described in more detail below. These drawings and textual descriptions are not intended to limit the scope of the present disclosure in any way, but rather to illustrate the concepts of the present disclosure to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION

[0082] Exemplary embodiments are described in detail herein, with examples illustrated in the accompanying drawings. When the following description refers to the drawings, identical numerals in different drawings represent identical or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present disclosure.

[0083] Figure 1 is an application scenario diagram of a map modification method provided by an embodiment of the present disclosure. As shown in Figure 1, Figure 1 is an original virtual map, wherein the rectangular solid line frame is the original virtual map boundary 1 (area 1 to be mowed) and the original virtual map boundary 2 (area 2 to be mowed) created by the user, the circle is the original restricted area boundary in the area 2 to be mowed, and the line between the original virtual map boundary 1 and the original virtual map boundary 2 is the original channel. The location of the lawn mower can be a charging pile or any other location. After the user has created the original virtual map, he may not be satisfied with part of the boundaries in the map, or, as time goes by, part of the boundaries in the original virtual map need to change, such as lawn expansion, and the original virtual map needs to be modified. In addition, when the original restricted area boundary changes, the original restricted area boundary can also be modified, and when the original channel changes, the original channel can also be modified.

[0084] The inventors discovered that in the related art, after the original target element (original virtual map boundary, original restricted area boundary or original channel) is created, local fine-tuning of the original target element is not allowed. If the user wants to modify the original target element of the map, the entire map can only be deleted first and then redrawn. This process is time-consuming and inefficient.

[0085] In other related technologies, the original target elements are allowed to be modified, but the modification method is not intuitive enough. For example, the user can directly select, drag, and perform other operations on the part of the established original target element on the terminal device to modify the established original target element. However, the screen area of ​​the terminal device is usually around 0.06㎡, and the area of ​​the entire actual grassland is around 300㎡. The area of ​​the two is very different. If the modification is only based on the original target element displayed on the screen, the error will be large, and multiple modifications are required to meet the user's needs, or multiple modifications still cannot meet the user's needs. Therefore, this map modification method is not intuitive enough, and it is impossible to accurately modify the target elements in the map, that is, there is a problem of low accuracy when modifying the map.

[0086] Based on the above problems, this application can use the application set on the terminal device to control the movement of the lawn mower, and at the same time determine the starting point and end point of modifying the original target element based on the position of the lawn mower. This method is relatively intuitive and can accurately determine the starting point and end point of modifying the original target element, so that the modified target element corresponds to the actual scene, thereby improving the accuracy of map modification.

[0087] FIG2 is a flow chart of a map modification method provided by an embodiment of the present disclosure. The method is applied to a control component of a lawn mower. The method includes:

[0088] Step S201: Receive a first control instruction, and control the lawn mower to move along an original target element from a first starting point to a second starting point according to the first control instruction.

[0089] The first starting point and the second starting point are points on the original target element; the original target element includes at least one of an original virtual map boundary, an original restricted area boundary, and an original channel.

[0090] The first starting point is a position point on the original target element. After the lawn mower receives the position of the first starting point, it can move from the first starting point to the second starting point along the original target element.

[0091] Since the starting point of the modification needs to be located on the original target element when the map is modified, when walking from the first starting point to the second starting point, the lawn mower can only be controlled to walk along the original target element, that is, to walk forward or backward along the original target element at the first starting point, thereby ensuring that the second starting point (the target starting point for modifying the original target element) is also located on the original target element.

[0092] Through the above steps, when the user adjusts the position of the target starting point, the adjustment method is adopted to always attach the position point to the original target element, which can prevent the adjusted target starting point from separating from the original target element. If the target starting point is separated from the original target element, additional steps are required to return the target starting point to the original target element. Compared with the existing technology, this application adopts an adsorption-based position adjustment method, reducing the number of position adjustment steps.

[0093] In one embodiment, the process of establishing the original target element includes: manually controlling a lawn mower to move along the boundary of a real mowing area, the boundary of an obstacle, or a passage between areas, while the positioning device of the lawn mower records multiple location points, and the lawn mower or the terminal device establishes an original virtual map based on the multiple location points. The original virtual map includes the original target element, and the path traveled by the lawn mower is safe and passable.

[0094] During step S201, which adjusts the target starting point, the mower continues to move forward or backward along the original target element. This means the mower continues along the path it previously traveled, without having to move to other locations. This ensures that the path the mower follows along the original target element remains safe and traversable. This eliminates the need to trigger additional obstacle avoidance logic or impassable warning logic. Step S201 ensures the mower's safety while improving the efficiency of map modification.

[0095] Among them, the first control instruction can be a voice control instruction or gesture instruction issued by the user through an application set up on the terminal device, and the relevant controls can be displayed on the terminal device. When the user triggers the relevant controls, the terminal device can generate a first control instruction and send the generated first control instruction to the lawn mower, thereby controlling the lawn mower to walk along the original target element from the first starting point to the second starting point.

[0096] Step S202: Receive a starting point confirmation instruction, and according to the starting point confirmation instruction, use the second starting point as a target starting point for modifying the original target element.

[0097] When the lawn mower is moving from the first starting point to the second starting point, the user can issue an initiation point confirmation instruction based on the terminal device according to the location of the lawn mower. After the terminal device confirms that the user has issued the initiation point confirmation instruction, it can send the starting point confirmation instruction to the lawn mower, so that the lawn mower can determine the current location as the second starting point. The second starting point is the target starting point for modifying the original target element.

[0098] Step S203: Receive a second control instruction, control the lawn mower to move from the second starting point to the end point according to the second control instruction, and determine an updated target element according to the moving trajectory between the second starting point and the end point.

[0099] After the lawn mower reaches the second starting point, it can be controlled to continue moving. During the movement, the movement of the lawn mower needs to be controlled according to the actual boundary of the lawn after expansion. The user can issue a second control instruction from the terminal device based on the position of the lawn mower and the actual boundary of the lawn after expansion. The second control instruction can be a rotation direction, forward or backward, etc. After receiving the second control instruction issued by the user, the terminal device can send the second control instruction to the lawn mower, thereby controlling the lawn mower to move from the second starting point to the end point. The end point is the end position of the modification of the original target element. The lawn mower can obtain the walking trajectory between the second starting point and the end point, and based on this walking trajectory, the updated target element can be determined.

[0100] In the above process, the original target element and the location of the lawn mower can be displayed on the display interface of the terminal device. The user can issue instructions through the terminal device according to the location of the lawn mower, or can receive information sent by the lawn mower. The terminal device can communicate with the lawn mower, and the information transmission process is related to the communication method. Optionally, when the terminal device and the lawn mower communicate via wireless fidelity (WIFI), the sender can first transmit the information to the server, and the server then transmits the information to the receiver. When the terminal device and the lawn mower communicate via Bluetooth, the sender can directly transmit the information to the receiver. When the sender is a lawn mower, the receiver is the terminal device; when the sender is a terminal device, the receiver is the lawn mower.

[0101] The present disclosure provides a map modification method, which is applied to a lawn mower. The method receives a first control instruction and controls the lawn mower to walk from a first starting point to a second starting point along an original target element according to the first control instruction; the second starting point is a point on the original target element; the original target element includes at least one of an original virtual map boundary, an original restricted area boundary and an original channel; receives a starting point confirmation instruction and uses the second starting point as the starting point for modifying the original target element according to the starting point confirmation instruction; receives a second control instruction and controls the lawn mower to walk from the second starting point to an end point according to the second control instruction, and determines an updated target element according to the walking trajectory between the second starting point and the end point. By always adsorbing the position point of the lawn mower on the original target element so that the position point does not leave the original target element, the step of re-adjusting the second starting point to the original target element is saved, making the modification process more intuitive and corresponding to the actual scene, and the determined second starting point is also more accurate, thereby improving the accuracy of map modification.

[0102] In one embodiment, the method further comprises:

[0103] Receive a first starting point position instruction; control the lawn mower to move to the first starting point according to the first starting point position instruction; the first starting point position instruction is determined by the terminal device according to the first position point input by the user.

[0104] The first starting point on the original target element may also be a location point determined by the user through a terminal device. When the user needs to make partial modifications to the original target element, the user may first generate a first starting point location instruction through an application on the terminal device. The terminal device may then directly or indirectly transmit the first starting point location instruction to the control component of the lawn mower. Upon receiving the first starting point location instruction, the control component of the lawn mower may obtain the location of the first starting point, plan a path between the current location and the first starting point based on the map information, and control the lawn mower to move along the path to the first starting point.

[0105] Figure 3 is a schematic diagram of modifying the original virtual map boundary provided by an embodiment of the present disclosure. As shown in Figure 3, the rectangle is the original virtual map boundary. When modifying the original virtual map boundary, the user can first determine the first starting point. When the lawn mower receives the first starting point, the lawn mower can walk from the current position to the first starting point.

[0106] If the first starting point is not set via the terminal device, the mower can randomly set the location of the first starting point. For example, the point on the original target element closest to the mower's current location is determined as the first starting point. If the first starting point is randomly set, the randomly set first starting point may be far away from the second starting point. As a result, it takes a long time to control the mower to move from the first starting point to the second starting point, resulting in low map modification efficiency.

[0107] By setting the first starting point based on the terminal device, the position of the first starting point can be flexibly set, so that the first starting point can be set near the second starting point, so that the lawn mower can reach the second starting point from the current position faster, thereby improving the efficiency of map modification.

[0108] In one embodiment, controlling the lawn mower to move to the first starting point includes:

[0109] planning a first path between the current position and the first starting point, and controlling the lawn mower to move along the first path to the first starting point;

[0110] Alternatively, a third control instruction is received, and the lawn mower is controlled to move from the current position to the first starting point according to the third control instruction.

[0111] When controlling the lawn mower to move from the current position to the first starting point, the control component can automatically plan a first path between the current position and the first starting point, thereby controlling the lawn mower to move along the first path. In addition, the user can also control the lawn mower to move from the current position to the first starting point through the application.

[0112] The method of controlling the lawn mower to move to the first starting point through the control component does not require user control, but may encounter obstacles. Through user control, obstacles can be avoided. Therefore, the control method of the lawn mower can be selected based on the information of obstacles in the working area between the current position and the first starting point.

[0113] In one embodiment, when the first position point is located on the original target element, the first starting point is the first position point; when the first position point is not located on the original target element, the first starting point is the second position point on the original target element that is closest to the first position point.

[0114] The first position point is a position point input by the user to the terminal device through the application APP. After receiving the first position point, the application can determine the first starting point based on the first position point. Optionally, after receiving the first position point, the application can determine whether the first position point is located on the original target element. If it is located on the original target element, the first starting point can be determined as the first position point. When it is determined that the first position point is not located on the original target element, that is, when the first position point is located outside the original target element or inside the original target element, the second position point on the original target element that is closest to the first position point can be determined as the first starting point.

[0115] The position of the first starting point is restricted by the application program, so that the determined first starting point is definitely located on the original target element, thereby increasing the probability that the determined second starting point is located on the original target element.

[0116] In one embodiment, when the lawn mower moves from the first starting point to the second starting point, a vertical distance between the position of the lawn mower and the original target element is not greater than a first threshold.

[0117] Ideally, the lawn mower's position at every moment during its journey from the first starting point to the second starting point is always on the original target element. However, the lawn mower may have positioning deviations, meaning that its position may be a certain distance from the original target element. When the vertical distance between the lawn mower's position and the original target element is less than or equal to a first threshold, the lawn mower is considered to be moving along the original target element. Optionally, the first threshold can be set based on actual conditions, such as 3 centimeters.

[0118] If there is a positioning deviation in the process of the lawn mower moving from the first starting point to the second starting point, the second starting point finally determined may not be located on the original target element. At this time, the lawn mower can continue to be controlled to move from the second starting point to the end point. When determining the updated target element, a point with the shortest vertical distance to the second starting point can be determined from the original target element, and the connecting line between the point and the second starting point, as well as the walking trajectory between the second starting point and the end point, can be determined, so as to determine the updated target element based on the connecting line and the walking trajectory.

[0119] By setting the first threshold, a certain deviation between the lawn mower and the original target element can be allowed in the process of the lawn mower moving from the first starting point to the second starting point, thereby reducing the requirement on the positioning accuracy of the lawn mower.

[0120] In one embodiment, the front orientation of the lawn mower when it reaches the first starting point is the same as the target front orientation; the target front orientation is the front orientation of the lawn mower at the first starting point during the process of establishing the original target element.

[0121] When establishing a primitive target element, a certain benchmark is used. For example, the cutting element of a lawn mower is located on the right wheel of the lawn mower. To improve the mowing efficiency of the lawn mower, the right wheel of the lawn mower can be used as a benchmark when establishing the primitive target element. The primitive target element is determined based on the movement trajectory of the right wheel.

[0122] When the original target element is partially modified, the benchmark will not change. For example, when the original target element is established, the right wheel of the lawn mower is used as the benchmark. When the original target element is partially modified, the right wheel of the lawn mower is also used as the benchmark.

[0123] To modify the original target element using the same reference, the lawn mower's heading at the first starting point must be the same as the target heading when it moves from its current position to the first starting point. The target heading is the lawn mower's heading at the first starting point when the original target element was created. For example, if the target heading is west, the lawn mower's heading will also be west when it reaches the first starting point.

[0124] By restricting the direction of the front of the lawn mower when it reaches the first starting point, the modified original target element can be made to have the same reference as the established original target element, thereby improving the accuracy of the modified target element.

[0125] In one embodiment, the first control instruction includes a walking direction; controlling the lawn mower to walk along the original target element from a first starting point to a second starting point includes:

[0126] The lawn mower is controlled to walk along the original target element according to the walking direction; the first control instruction is generated when the walking direction control displayed on the terminal device is triggered; the starting point confirmation instruction is generated when the starting point confirmation control displayed on the terminal device is triggered.

[0127] When controlling the lawn mower to move from the first starting point to the second starting point, since it is necessary to ensure that the lawn mower moves along the original target element, the first control instruction may include a walking direction, which may be forward or backward. Optionally, the user may issue the first control instruction through a terminal device, and a walking direction control may be displayed on the terminal device. When the user clicks the walking direction control, a first control instruction including the walking direction may be generated. Optionally, the walking direction control may include two walking direction controls, a first walking direction control and a second walking direction control. When the user clicks the first walking direction control, a first control instruction including the forward direction may be generated. When the user clicks the second walking direction control, a second control instruction including the backward direction may be generated.

[0128] When the lawn mower starts to move along the original target element from the first starting point, a starting point confirmation control can be displayed on the terminal device. When the user determines that the actual position of the lawn mower is the second starting point, the starting point confirmation control can be clicked to generate a starting point confirmation instruction. The terminal device can send the starting point confirmation instruction to the lawn mower, so that the lawn mower can determine the current position as the second starting point.

[0129] Figure 4 is a second schematic diagram of modifying the original virtual map boundary provided by an embodiment of the present disclosure. As shown in Figure 4, after the lawn mower walks to the first starting point, the lawn mower can be controlled to walk forward or backward along the original target element to determine the second starting point.

[0130] By displaying the walking direction control and the starting point confirmation control on the terminal device, it is convenient for the user to control the walking direction of the lawn mower and determine the second starting point.

[0131] In one embodiment, controlling the lawn mower to move along the original target element according to the moving direction includes:

[0132] When the moving direction is opposite to the direction of the vehicle head, the wheels of the lawn mower are rotated in the opposite direction so that the lawn mower moves backward along the original target element.

[0133] In the process of the lawn mower moving from the first starting point to the second starting point, since it is necessary to control the lawn mower to move along the original target element, after the lawn mower moves to the first starting point, the lawn mower can be controlled to move forward or backward along the original target element, where forward means that the moving direction is the same as the direction of the vehicle head, and backward means that the moving direction is opposite to the direction of the vehicle head.

[0134] When the walking direction is forward, the control component of the lawn mower can directly control the lawn mower to move forward; when the walking direction is backward, the control component of the lawn mower can control the wheels of the lawn mower to rotate in the opposite direction, and then control the lawn mower to move, so that the lawn mower can move backward along the original target element.

[0135] Optionally, the lawn mower is provided with a driving wheel and a driven wheel, wherein the driving wheel is used to provide power, and the driven wheel does not provide power. When the wheels of the lawn mower are controlled to rotate in the opposite direction, only the driving wheel of the lawn mower can be controlled to rotate in the opposite direction.

[0136] By controlling the wheels of the lawn mower to rotate in the opposite direction, it is not necessary to control the entire lawn mower to turn. If the lawn mower is controlled to turn, it may hit an obstacle during the turning process, or it may hit an obstacle when walking along the original target element after turning, for example, it may hit an obstacle when turning.

[0137] When the walking direction is opposite to the direction of the vehicle head, the wheels are controlled to rotate in the opposite direction, thereby avoiding the entire lawn mower from rotating in the opposite direction, thereby reducing the probability of the lawn mower encountering obstacles during the walking process.

[0138] In one embodiment, controlling the lawn mower to move along the original target element according to the moving direction includes:

[0139] When it is detected that the number of times the lawn mower moves back and forth in the local boundary section exceeds a first preset number, the moving speed of the lawn mower is controlled to decrease.

[0140] When controlling a lawn mower to move along the original target element based on the movement direction, the mower must first be controlled to move to the second starting point. Since the screen area of ​​the terminal device is approximately 0.06 square meters, and the actual area of ​​the lawn is approximately 300 square meters, the difference between the two areas is significant. Therefore, the first starting point specified by the user on the screen will often not match the user's target starting point. There is a command delay when the user issues control commands to the mower. Controlling the mower to move to the second starting point often requires multiple adjustments. For example, when controlling the mower to move forward, when it approaches the second starting point, the mower stops moving forward. Since the mower travels a certain distance between receiving the stop command or no longer receiving the movement command and coming to rest, the mower's position when the speed reaches zero may be before or after the second starting point. Alternatively, if the position is before or after the second starting point, the mower must be controlled to move backward or forward again until the position at which the speed reaches zero is the second starting point.

[0141] In the above process, when it is detected that the number of times the lawn mower moves back and forth in the local boundary segment exceeds the first preset number, it means that the second starting point (target starting point) is located on the local boundary segment. At this time, the walking speed of the lawn mower can be controlled to decrease to increase the probability that the lawn mower is in a stationary state when it moves to the second starting point, thereby improving the efficiency of determining the second starting point.

[0142] In one embodiment, the method further includes: when a stop motion instruction is received or no motion instruction is received, determining a third position point based on the current speed and current position of the lawn mower; sending the third position point to a terminal device so that the terminal device displays the lawn mower at the third position point on the original target element; the third position point is the position point where the lawn mower is located when the speed is 0.

[0143] The original target elements in the original virtual map, such as the original virtual map boundary, the original restricted area boundary or the original channel, etc., can be displayed on the terminal device. At the same time, the position of the lawn mower can also be displayed on the terminal device, so that the user can send control instructions to the lawn mower.

[0144] After sending a stop motion command or no longer sending a motion command, the position point where the lawn mower's speed is 0, that is, the third position point, can be displayed on the terminal device. This allows the user to obtain the position point where the lawn mower's speed is 0 in advance through the terminal device, without having to wait for the lawn mower to come to a stop before obtaining the position point where the lawn mower's speed is 0. Since the lawn mower will travel a first distance due to inertia after receiving a stop motion command or no longer receiving a motion command before it stops moving, the method includes a lawn mower position estimation function that can estimate the position point where the lawn mower's speed is 0 in advance and present it on the terminal device for the user's reference.

[0145] In one embodiment, when the third position point corresponding to the lawn mower is a special position such as a turn in the original target element, and this position is the position where the user wants the lawn mower to be stationary, the user can be prepared to issue the corresponding control instructions without having to issue the corresponding control instructions again based on the actual position of the lawn mower on the actual map, which can shorten the time for the user to issue the corresponding control instructions.

[0146] In one embodiment, the method further comprises:

[0147] When it is detected that the number of times the lawn mower moves back and forth in the local boundary segment exceeds a second preset number, the midpoint of the overlapping section of the local boundary segment where the lawn mower moves back and forth multiple times is determined as the recommended second starting point, and when a user's confirmation instruction for the recommended second starting point is received, the recommended second starting point is determined as the second starting point.

[0148] During the process of determining the second starting point, if the lawn mower moves back and forth within the local boundary segment more than a second preset number of times, it indicates that after multiple adjustments, the lawn mower has failed to be positioned at the second starting point. Since the lawn mower moves back and forth within the local boundary segment, there must be overlapping sections, and the second starting point may be located at the midpoint of the overlapping section. In this case, the lawn mower may determine the midpoint of the overlapping section as the recommended second starting point and send a query to the terminal device to allow the user to determine whether to determine the recommended second starting point as the second starting point.

[0149] Optionally, the second preset number is greater than the first preset number. Exemplarily, the first preset number is equal to 5, and the second preset number is equal to 8.

[0150] Optionally, after the lawn mower determines the recommended second starting point, it sends an inquiry message to the terminal device. The terminal device can display a recommended second starting point confirmation control on the display interface. When the user triggers the recommended second starting point confirmation control, the terminal device can send the corresponding recommended second starting point confirmation instruction to the lawn mower. At this time, the lawn mower can determine the recommended second starting point as the second starting point.

[0151] By using a lawn mower to determine the midpoint of the overlapping road section of the local boundary segment as the second starting point, the second starting point can be automatically determined by the lawn mower. This method can determine the second starting point without the user having to control the lawn mower to walk to the target starting point, and the determined second starting point is not much different from the actual second starting point.

[0152] In one embodiment, the method further comprises:

[0153] An endpoint confirmation instruction is received, and the current position of the lawn mower is determined as the endpoint; the endpoint confirmation instruction is generated when an endpoint confirmation control displayed on the terminal device is triggered.

[0154] The end point confirmation control is displayed on the terminal device when the walking trajectory of the lawn mower after starting from the second starting point intersects with the original target element, or when the distance between the current position of the lawn mower and the original target element is less than a preset value.

[0155] After the lawn mower reaches the second starting point, it can continue to be controlled to move from the second starting point to the end point according to the received second control instruction. For example, the second control instruction is issued by the user via a terminal device and is used to control the direction of rotation of the lawn mower, or to control forward or backward movement. For example, in a lawn expansion scenario, the second control instruction can be used to control the lawn mower to move along the boundary of the expanded lawn.

[0156] Figure 5 is a third schematic diagram of modifying the boundary of the original virtual map provided by an embodiment of the present disclosure. As shown in Figure 5, after the second starting point is determined, the lawn mower can be controlled to move according to the second control instruction, and the walking trajectory of the lawn mower is the boundary of the expanded lawn.

[0157] When the user determines that the lawn mower has reached the end point, the user can click the end point confirmation control displayed on the terminal device to generate an end point confirmation instruction, so that the terminal device can send the generated end point confirmation instruction to the lawn mower, and the lawn mower can determine the current position as the end point, thereby obtaining the walking trajectory between the second starting point and the end point.

[0158] Among them, in order to improve the accuracy of map modification, the end point confirmation control can be displayed on the display interface of the terminal device when the current position of the lawn mower meets the preset conditions. Since the original target element is modified, the starting point (second starting point) of the modified original target element and the end position (end point) of the modified original target element both need to be on the original target element. When the walking trajectory of the lawn mower after starting from the second starting point intersects with the original target element (that is, when the current position of the lawn mower is on the original target element), or when the distance between the current position of the lawn mower and the original target element is less than the preset value, it means that the current position can be set as the end point. At this time, the end point confirmation control can be displayed on the display interface of the terminal device for the user to trigger. On the contrary, when the current position of the lawn mower does not meet the above conditions, the end point confirmation control is not displayed on the display interface of the terminal device.

[0159] Figure 6 is a fourth schematic diagram of modifying the original virtual map boundary provided by an embodiment of the present disclosure, and Figure 7 is a fifth schematic diagram of modifying the original virtual map boundary provided by an embodiment of the present disclosure. As shown in Figures 6 and 7, when the lawn mower walks to the original virtual map boundary, if the user triggers the end point confirmation control, the point can be determined as the end point. At this time, the target point on the original virtual map boundary is the end point.

[0160] By displaying an endpoint confirmation control on the terminal device according to the current position of the lawn mower and determining the endpoint by triggering the endpoint confirmation control by the user, the position of the endpoint is accurately determined, thereby improving the accuracy of modifying the original target element.

[0161] In one embodiment, determining an updated target element according to the walking trajectory between the second starting point and the end point includes:

[0162] The walking trajectory between the second starting point and the end point is determined as the first editing line segment; the boundary line between the second starting point and the target point in the original target element is deleted to obtain the remaining boundary line segment; when the end point is located on the original target element, the target point is the end point; when the end point is not located on the original target element, the target point is the point on the original target element that is closest to the end point, or the target point is the intersection of the original target element and the second path, the second path is the path of the lawn mower walking along a preset direction, and the preset direction is the direction of the front of the lawn mower at the end point; the updated target element is determined based on the remaining boundary line segment and the first editing line segment.

[0163] When determining the updated target element, the walking trajectory between the second starting point and the end point can be determined as the first editing segment. At the same time, the remaining boundary segments can also be determined, that is, the boundary line between the second starting point and the target point is deleted to obtain the remaining boundary segments.

[0164] The target point here can exist in two situations. If the endpoint is located on the original target element, the target point is the endpoint. If the endpoint is not located on the original target element, the target point can be determined using the following two methods: the point on the original target element closest to the endpoint is determined as the target point, or the intersection of the original virtual path and the second path is determined as the target point. The second path is the path that the lawn mower takes along a preset direction, which can be the direction the lawn mower's head is facing when it reaches the endpoint. For example, if the lawn mower's head is facing 45 degrees southwest when it reaches the endpoint, the preset direction can be determined as 45 degrees southwest. The path that the lawn mower takes along the preset direction is the second path, and the intersection of the second path and the original target element is the target point. If the intersection of the original virtual path and the second path is determined as the target point, then when the lawn mower is subsequently controlled to move along the updated target element, there is no need to adjust the lawn mower's head direction after reaching the endpoint.

[0165] After the remaining boundary segments and the first edited segment are determined, the two may be merged to obtain an updated target element.

[0166] By determining the target point on the original target element, the remaining boundary segments are accurately determined, thereby accurately obtaining the updated target element.

[0167] In one embodiment, determining the updated target element according to the remaining boundary line segments and the first edited line segments includes:

[0168] When the end point is not located on the original target element, the end point is connected to the target point to obtain a second editing line segment; the second editing line segment is a straight line or an arc; the first editing line segment, the second editing line segment and the remaining boundary segments are merged to obtain an updated target element.

[0169] When determining the updated target element, there are two situations: the endpoint is located on the original target element, and the endpoint is not located on the original target element. When the endpoint is located on the original target element, the target point is the endpoint. Figure 8 is a sixth schematic diagram of modifying the original virtual map according to an embodiment of the present disclosure. As shown in Figure 8, the updated target element can be obtained by directly merging the first edit line segment and the remaining boundary line segments.

[0170] If the endpoint is not located on the original target element, the endpoint and target point are not connected. In this case, the first edit segment must be connected to the remaining boundary segments to obtain a second edit segment. Alternatively, the target point and the endpoint can be connected with a straight line, or with an arc to obtain the second edit segment. Finally, the first edit segment, the second edit segment, and the remaining boundary segments are merged to obtain the updated target element.

[0171] When the end point is not located on the original target element, a second editing line segment may be automatically generated to determine the updated target element.

[0172] FIG9 is a flow chart of another map modification method provided in an embodiment of the present disclosure. As shown in FIG9 , the method is applied to a terminal device and includes:

[0173] Step S901: When the lawn mower reaches the first starting point, a first control is displayed in the display interface. In response to a user triggering an event on the first control, a first control instruction is generated, and the first control instruction is sent to a control component of the lawn mower, so that the control component controls the lawn mower to move from the first starting point to the second starting point along an original target element according to the first control instruction; the first starting point and the second starting point are points on the original target element; the original target element includes at least one of an original virtual map boundary, an original restricted area boundary, and an original channel.

[0174] On one side of the terminal device, when controlling the lawn mower to move, the position of the lawn mower can be displayed on the display interface of the terminal device, so that different controls are displayed on the display interface according to the position of the lawn mower.

[0175] When the lawn mower reaches the first starting point, the user needs to issue a first control instruction. At this time, the first control can be displayed on the display interface. The first control instruction can be generated by the user triggering the first control. The terminal device can send the first control instruction to the lawn mower, so that the lawn mower can move according to the first control instruction until it reaches the second starting point.

[0176] Step S902: After the lawn mower starts moving from the first starting point, a starting point confirmation control is displayed in the display interface. In response to a user triggering an event on the starting point confirmation control, a starting point confirmation instruction is generated and sent to the control component, so that the control component uses the second starting point as the starting point for modifying the original target element according to the starting point confirmation instruction.

[0177] The location of the second starting point needs to be determined by the user. Therefore, after the lawn mower starts moving from the first starting point, a starting point confirmation control can be displayed on the display interface. The user can determine whether the lawn mower has reached the second starting point based on the current position of the lawn mower. When the lawn mower reaches the second starting point, the starting point confirmation control on the display interface is triggered, thereby generating a starting point confirmation instruction. After the starting point confirmation instruction is generated, the starting point confirmation instruction can be sent to the terminal device, so that the terminal device can determine the current position as the second starting point, that is, modify the target starting point of the original target element.

[0178] Step S903: When the starting point confirmation control is triggered, a second control is displayed on the display interface. In response to the user's triggering event of the second control, a second control instruction is generated, and the second control instruction is sent to the control component, so that the control component controls the lawn mower to walk from the second starting point to the end point according to the second control instruction, and determines the updated target element according to the walking trajectory between the second starting point and the end point.

[0179] When the starting point confirmation control is triggered, it indicates that the location of the second starting point is determined. At this time, the second control can be displayed on the display interface to facilitate the user to control the lawn mower to continue moving from the second starting point until it reaches the end point. The user can trigger the second control according to the position of the lawn mower and the actual boundary after the lawn is expanded to generate a second control instruction. The second control instruction can be a direction of rotation, forward or backward, etc. For example, different second control instructions can be generated for different ways in which the user triggers the second control, such as turning, forward or backward, etc. Alternatively, the second control can also include three sub-controls, and different second control instructions are generated by the user triggering different sub-controls.

[0180] When the terminal device detects that the user triggers the second control, it can generate a second control instruction, so that the second control instruction can be sent to the lawn mower, thereby controlling the lawn mower to walk from the second starting point to the end point. The walking trajectory from the second starting point to the end point is used to determine the updated target element.

[0181] The present disclosure provides a lawn mowing control method, which is applied to a terminal device. When a lawn mower reaches a first starting point, a first control is displayed in a display interface. In response to a user triggering an event of the first control, a first control instruction is generated and sent to the control component, so that the control component controls the lawn mower to move from the first starting point to a second starting point along an original target element according to the first control instruction; the first starting point and the second starting point are points on the original target element; the original target element includes at least one of an original virtual map boundary, an original restricted area boundary and an original channel; when the lawn mower starts to move from the first starting point, a starting point confirmation control is displayed in the display interface, and in response to a user triggering an event of the starting point confirmation control, a starting point confirmation instruction is generated and sent to the control component, so that the control component uses the second starting point as a modification according to the starting point confirmation instruction. The starting point of the original target element; when the starting point confirmation control is triggered, a second control is displayed on the display interface, and in response to the user's triggering event of the second control, a second control instruction is generated, and the second control instruction is sent to the control component, so that the control component controls the lawn mower to walk from the second starting point to the end point according to the second control instruction, and determines the updated target element according to the walking trajectory between the second starting point and the end point. By displaying different controls on the display interface of the terminal device according to the actual position of the lawn mower, so that the user can issue the first control instruction and the second control instruction, and determine the second position point, the position point is always adsorbed on the original target element, so that the position point does not leave the original target element, saving the step of re-adjusting the second starting point to the original target element, making the modification process more intuitive and corresponding to the actual scene, and the determined second starting point is also more accurate, thereby improving the accuracy of map modification.

[0182] In one embodiment, the method further comprises:

[0183] In response to a user triggering an event on a first position point in the display interface, determining the first starting point according to the first position point;

[0184] A first starting point position instruction including the first starting point is sent to the control component, so that the control component controls the lawn mower to move to the first starting point according to the first starting point position instruction.

[0185] The first starting point can be determined based on a location point selected by the user through the terminal device. Since the first starting point needs to be on the original target element, after the lawn mower is controlled to move along the original target element, the second starting point determined is also located on the original target element. The original target element can be displayed on the display interface of the terminal device, and the user can select the first location point, that is, the user triggers the first location point on the display interface. When the terminal device obtains the user's trigger event for the first location point, the first starting point can be determined, and a first starting point position instruction containing the first starting point is sent to the control component of the lawn mower.

[0186] For the lawn mower, when receiving the first starting point position instruction, it can plan a path between the current position and the first starting point, and autonomously walk to the first starting point along the planned path.

[0187] Optionally, when inputting the first location point, the user may set the first location point near the second starting point, so that the determined first starting point is located near the second starting point. Otherwise, a first starting point needs to be randomly set based on the lawn mower. However, the distance between the randomly set first starting point and the second starting point is relatively far, and it takes a long time to control the lawn mower to move from the first starting point to the second starting point, which reduces the efficiency of map modification.

[0188] By receiving the first location point input by the user and determining the first starting point, the user can flexibly set the first starting point, thereby improving the efficiency of map modification.

[0189] In one embodiment, determining the first starting point according to the first location point includes:

[0190] When the first position point is located on the original target element, the first position point is determined as the first starting point;

[0191] When the first position point is not located on the original target element, a second position point on the original target element that is closest to the first position point is determined as the first starting point.

[0192] After obtaining the first position point, the terminal device can determine the first starting point. Optionally, the first starting point can be determined based on the positional relationship between the first position point and the original target element. Since the first starting point must be located on the original target element, when the first position point is located on the original target element, the first position point can be determined as the first starting point; when the first position point is not located on the original target element, a second position point can be selected from the original target element and the second position point can be determined as the first starting point. Optionally, the second position point can be the position point on the original target element that is closest to the first position point.

[0193] Determining the first starting point based on the first position point can relax the restrictions on the first position point input by the user. There is no need to require that the first position point input by the user is located on the original target element, thereby improving the user experience. At the same time, determining the first starting point based on the terminal device can reduce the computational complexity of the lawn mower.

[0194] In one embodiment, the first control is a walking direction control; and the first control instruction includes a walking direction.

[0195] When the lawn mower reaches the first starting point, a first control may be displayed on the display interface for the user to trigger, thereby generating a first control instruction, causing the lawn mower to move to the second starting point based on the first control instruction. Since both the first starting point and the second starting point are located on the original target element, the lawn mower needs to be controlled to move forward or backward along the original target element.

[0196] Optionally, the first control may be a walking direction control, and the first control instruction may be generated by triggering the walking direction control. For example, the first triggering mode of the first control may generate a first control instruction including a forward direction, and the second triggering mode of the first control may generate a second control instruction including a backward direction.

[0197] Optionally, the walking direction control may also include two, a first walking direction control and a second walking direction control. When the user clicks the first walking direction control, a first control instruction including a forward direction may be generated. When the user clicks the second walking direction control, a second control instruction including a backward direction may be generated.

[0198] By setting the walking direction control, it is easy to obtain the walking direction input by the user, so as to walk from the first starting point to the second starting point based on the user's control.

[0199] In one embodiment, the method further comprises:

[0200] In response to receiving a message sent by the control component indicating that the recommended second starting point has been determined, a recommended second starting point confirmation control is displayed on the display interface. In response to a user triggering an event of the recommended second starting point confirmation control, the user's confirmation instruction for the recommended second starting point is sent to the control component, so that the control component determines the recommended second starting point as the second starting point.

[0201] When the lawn mower moves from the first starting point to the second starting point, it often needs to make multiple adjustments back and forth to achieve a speed of zero when the lawn mower reaches the second starting point. When the number of back and forth movements of the lawn mower on the local boundary segment exceeds a second preset number, it indicates that the second starting point is located on the local boundary segment. Since the number of back and forth movements of the lawn mower on the local boundary segment exceeds the second preset number, it indicates that it is difficult to control the lawn mower to have a speed of zero at the second starting point.

[0202] However, since the lawn mower moves back and forth multiple times on the local boundary segment, the lawn mower may select a location point on the local boundary segment as the second starting point. Optionally, when the lawn mower moves back and forth on the local boundary segment, overlapping sections may exist, and the midpoint of the overlapping sections may be determined as the recommended second starting point. To improve the accuracy of the determined second starting point, after determining the recommended second starting point, the lawn mower may also send a message to the terminal device indicating that the recommended second starting point has been determined. This message indicates that the midpoint of the overlapping section has been determined as the second starting point, so that the user can confirm whether to determine the midpoint of the overlapping section as the second starting point.

[0203] When the terminal device receives a message that the recommended second starting point has been determined, a recommended second starting point confirmation control can be displayed on the display interface. If the user triggers the recommended second starting point confirmation control, it means that the user has determined the recommended second starting point determined by the lawn mower as the second starting point.

[0204] By displaying the recommended second starting point confirmation control on the terminal device, the user can reconfirm whether to determine the recommended second starting point as the second starting point based on the lawn mower automatically determining the second starting point. This can achieve the goal of determining the second starting point without having to control the lawn mower to move to the second starting point, thereby improving the user experience and ensuring the accuracy of the determined second starting point.

[0205] In one embodiment, the method further comprises:

[0206] When the walking trajectory of the lawn mower after starting from the second starting point intersects with the original target element, or when the distance between the current position of the lawn mower and the original target element is less than a preset value, an endpoint confirmation control is displayed in the display interface;

[0207] In response to a user triggering event on the endpoint confirmation control, an endpoint confirmation instruction is generated and sent to the control component, so that the control component determines the current position of the lawn mower as the endpoint according to the endpoint confirmation instruction.

[0208] The position of the end point, that is, the end position of the modified original target element, can also be determined by the user. Since the original target element is modified, the target starting point (second starting point) of the modified original target element and the end point of the modified original target element both need to be on the original target element. Therefore, the end point confirmation control can be displayed on the terminal device when the current position of the lawn mower meets the preset conditions. After the lawn mower starts walking from the second starting point, the position of the lawn mower can be displayed on the terminal device. When the walking trajectory of the lawn mower after starting to walk from the second starting point intersects with the original target element, or when the distance between the current position of the lawn mower and the original target element is less than a preset value, it means that the current position of the lawn mower meets the preset conditions, that is, the current position of the lawn mower can be set as the end point. At this time, the end point confirmation control can be displayed on the display interface of the terminal device for the user to trigger.

[0209] When the terminal device receives a trigger event for the end point confirmation control from the user, it can generate an end point confirmation instruction, and thus can send the end point confirmation instruction to the control component of the lawn mower, so that the lawn mower determines the current position as the end point.

[0210] By displaying an endpoint confirmation control on the terminal device according to the current position of the lawn mower and determining the endpoint by triggering the endpoint confirmation control by the user, the position of the endpoint is accurately determined, thereby improving the accuracy of modifying the original target element.

[0211] FIG10 is a schematic diagram of the structure of a map modification device provided by an embodiment of the present disclosure. As shown in FIG10 , the device is applied to a control component of a lawn mower. The device 100 includes:

[0212] The first control module 1001 is configured to receive a first control instruction and, according to the first control instruction, control the lawn mower to move from a first starting point to a second starting point along an original target element; the first starting point and the second starting point are points on the original target element; the original target element includes at least one of an original virtual map boundary, an original restricted area boundary, and an original passage;

[0213] A starting point confirmation module 1002 is configured to receive a starting point confirmation instruction and, according to the starting point confirmation instruction, use the second starting point as a starting point for modifying the original target element;

[0214] The second control module 1003 is configured to receive a second control instruction, control the lawn mower to move from the second starting point to the end point according to the second control instruction, and determine an updated target element according to the walking trajectory between the second starting point and the end point.

[0215] In one embodiment, the apparatus further includes: a processing module configured to:

[0216] Receive a first starting point position instruction; control the lawn mower to move to the first starting point according to the first starting point position instruction; the first starting point position instruction is determined by the terminal device according to the first position point input by the user.

[0217] In one embodiment, when controlling the lawn mower to move to the first starting point, the processing module is specifically configured to:

[0218] planning a first path between the current position and the first starting point, and controlling the lawn mower to move along the first path to the first starting point;

[0219] Alternatively, a third control instruction is received, and the lawn mower is controlled to move from the current position to the first starting point according to the third control instruction.

[0220] In one embodiment, when the first position point is located on the original target element, the first starting point is the first position point; when the first position point is not located on the original target element, the first starting point is the second position point on the original target element that is closest to the first position point.

[0221] In one embodiment, when the lawn mower moves from the first starting point to the second starting point, a vertical distance between the position of the lawn mower and the original target element is not greater than a first threshold.

[0222] In one embodiment, the front orientation of the lawn mower when it reaches the first starting point is the same as the target front orientation; the target front orientation is the front orientation of the lawn mower at the first starting point during the process of establishing the original target element.

[0223] In one embodiment, the first control instruction includes a walking direction; when the first control module 1001 controls the lawn mower to walk along the original target element from the first starting point to the second starting point, the first control module 1001 is specifically configured as follows:

[0224] The lawn mower is controlled to walk along the original target element according to the walking direction; the first control instruction is generated when the walking direction control displayed on the terminal device is triggered; the starting point confirmation instruction is generated when the starting point confirmation control displayed on the terminal device is triggered.

[0225] In one embodiment, when the first control module 1001 controls the lawn mower to move along the original target element according to the moving direction, the first control module 1001 is specifically configured to:

[0226] When the moving direction is opposite to the direction of the vehicle head, the wheels of the lawn mower are rotated in the opposite direction so that the lawn mower moves backward along the original target element.

[0227] In one embodiment, when the first control module 1001 controls the lawn mower to move along the original target element according to the moving direction, the first control module 1001 is specifically configured to:

[0228] When it is detected that the number of times the lawn mower moves back and forth in the local boundary section exceeds a first preset number, the moving speed of the lawn mower is controlled to decrease.

[0229] In one embodiment, the apparatus further includes: a second starting point recommendation confirmation module, specifically configured to:

[0230] When it is detected that the number of times the lawn mower moves back and forth in the local boundary segment exceeds a second preset number, the midpoint of the overlapping section of the local boundary segment where the lawn mower moves back and forth multiple times is determined as the recommended second starting point, and when a user's confirmation instruction for the recommended second starting point is received, the recommended second starting point is determined as the second starting point.

[0231] In one embodiment, the apparatus further includes an endpoint confirmation module, specifically configured to:

[0232] receiving an endpoint confirmation instruction and determining the current position of the lawn mower as the endpoint; the endpoint confirmation instruction is generated by triggering an endpoint confirmation control displayed on a terminal device;

[0233] The end point confirmation control is displayed on the terminal device when the walking trajectory of the lawn mower after starting from the second starting point intersects with the original target element, or when the distance between the current position of the lawn mower and the original target element is less than a preset value.

[0234] In one embodiment, when determining the updated target element according to the walking trajectory between the second starting point and the end point, the second control module 1003 is specifically configured to:

[0235] Determine the walking trajectory between the second starting point and the end point as a first editing line segment;

[0236] The boundary line between the second starting point and the target point in the original target element is deleted to obtain a remaining boundary line segment; when the end point is located on the original target element, the target point is the end point; when the end point is not located on the original target element, the target point is the point on the original target element that is closest to the end point, or the target point is the intersection of the original target element and a second path, where the second path is the path of the lawn mower walking along a preset direction, and the preset direction is the direction of the front of the lawn mower at the end point;

[0237] An updated target element is determined according to the remaining boundary line segments and the first edited line segment.

[0238] In one embodiment, when determining the updated target element according to the remaining boundary segments and the first edited segment, the second control module 1003 is specifically configured to:

[0239] When the end point is not located on the original target element, the end point is connected to the target point to obtain a second editing line segment; the second editing line segment is a straight line or an arc;

[0240] The first edit line segment, the second edit line segment, and the remaining boundary line segments are merged to obtain an updated target element.

[0241] The map modification device provided in one embodiment of the present disclosure can implement the map modification method of the embodiment shown in FIG2 . The implementation principle and technical effects thereof are similar and will not be described in detail here.

[0242] FIG11 is a schematic diagram of the structure of another map modification device provided by an embodiment of the present disclosure. As shown in FIG11 , the device is applied to a terminal device. The device 110 includes:

[0243] The first display module 1101 is configured to display a first control in a display interface after the lawn mower reaches a first starting point, generate a first control instruction in response to a user triggering an event on the first control, and send the first control instruction to a control component of the lawn mower, so that the control component controls the lawn mower to move from the first starting point to a second starting point along an original target element according to the first control instruction; the first starting point and the second starting point are points on the original target element; the original target element includes at least one of an original virtual map boundary, an original restricted area boundary, and an original channel;

[0244] The second display module 1102 is configured to display a starting point confirmation control in the display interface after the lawn mower starts moving from the first starting point, generate a starting point confirmation instruction in response to a user triggering the starting point confirmation control, and send the starting point confirmation instruction to the control component, so that the control component uses the second starting point as the starting point of the original target element according to the starting point confirmation instruction;

[0245] The third display module 1103 is configured to display a second control on the display interface when the starting point confirmation control is triggered, generate a second control instruction in response to the user's triggering event of the second control, and send the second control instruction to the control component, so that the control component controls the lawn mower to walk from the second starting point to the end point according to the second control instruction, and determines the updated target element according to the walking trajectory between the second starting point and the end point.

[0246] In one embodiment, the apparatus further includes: a first starting point confirmation module, specifically configured to:

[0247] In response to a user triggering an event on a first position point in the display interface, determining the first starting point according to the first position point;

[0248] A first starting point position instruction including the first starting point is sent to the control component, so that the control component controls the lawn mower to move to the first starting point according to the first starting point position instruction.

[0249] In one embodiment, when determining the first starting point according to the first location point, the first starting point confirmation module is specifically configured to:

[0250] When the first position point is located on the original target element, the first position point is determined as the first starting point;

[0251] When the first position point is not located on the original target element, a second position point on the original target element that is closest to the first position point is determined as the first starting point.

[0252] In one embodiment, the first control is a walking direction control; and the first control instruction includes a walking direction.

[0253] In one embodiment, the apparatus further includes: a fourth display module, specifically configured to:

[0254] In response to receiving a message sent by the control component indicating that the recommended second starting point has been determined, a recommended second starting point confirmation control is displayed on the display interface. In response to a user triggering an event of the recommended second starting point confirmation control, the user's confirmation instruction for the recommended second starting point is sent to the control component, so that the control component determines the recommended second starting point as the second starting point.

[0255] In one embodiment, the apparatus further includes: a fifth display module, specifically configured to:

[0256] When the walking trajectory of the lawn mower after starting from the second starting point intersects with the original target element, or when the distance between the current position of the lawn mower and the original target element is less than a preset value, an endpoint confirmation control is displayed in the display interface;

[0257] In response to a user triggering event on the endpoint confirmation control, an endpoint confirmation instruction is generated and sent to the control component, so that the control component determines the current position of the lawn mower as the endpoint according to the endpoint confirmation instruction.

[0258] The map modification device provided in one embodiment of the present disclosure can implement the map modification method of the embodiment shown in FIG9 . The implementation principle and technical effects thereof are similar and will not be described in detail here.

[0259] Figure 12 is a schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present disclosure. As shown in Figure 12, the electronic device provided in this embodiment includes: at least one processor 1201 and a memory 1202. The processor 1201 and the memory 1202 are connected via a bus 1203.

[0260] During the specific implementation process, at least one processor 1201 executes the computer-executable instructions stored in the memory 1202, so that the at least one processor 1201 executes the method in the above method embodiment.

[0261] The specific implementation process of the processor 1201 can be found in the above method embodiment. Its implementation principle and technical effects are similar and will not be repeated here in this embodiment.

[0262] In the embodiment shown in FIG. 12 , it should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), or application-specific integrated circuits (ASICs). A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed herein may be directly executed by a hardware processor or by a combination of hardware and software modules within the processor.

[0263] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage.

[0264] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Buses can be classified into address buses, data buses, and control buses. For ease of illustration, the buses in the drawings of this application are not limited to just one bus or just one type of bus.

[0265] An embodiment of the present disclosure further provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the method of the above method embodiment is implemented.

[0266] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile memory device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. The computer-readable storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0267] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be an integral part of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist in a device as discrete components.

[0268] An embodiment of the present application also provides a computer program product, including a computer program, which implements the method of the above method embodiment when executed by a processor.

[0269] Those skilled in the art will appreciate that all or part of the steps in the above-described method embodiments can be implemented using hardware associated with program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0270] Finally, it should be noted that 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 or all of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A map modification method, the method being applied to a control component of a lawn mower, the method include: receiving a first control instruction, and controlling the lawn mower to move from a first starting point to a second starting point along an original target element according to the first control instruction; The first starting point and the second starting point are points on the original target element; The original target element includes at least one of an original virtual map boundary, an original restricted area boundary and an original channel; receiving a starting point confirmation instruction, and according to the starting point confirmation instruction, using the second starting point as a starting point for modifying the original target element; A second control instruction is received, and the lawn mower is controlled to move from the second starting point to an end point according to the second control instruction, and an updated target element is determined according to a moving track between the second starting point and the end point.

2. The method according to claim 1, in, The method further comprises: receiving a first starting point position instruction; According to the first starting point position instruction, the lawn mower is controlled to move to the first starting point; the first starting point position instruction is determined by the terminal device according to the first position point input by the user.

3. The method according to claim 2, in, Controlling the lawn mower to move to the first starting point includes: Planning a first path between the current position and the first starting point, and controlling the lawn mower to move along the first path to the first starting point; Alternatively, a third control instruction is received, and the lawn mower is controlled to move from the current position to the first starting point according to the third control instruction.

4. The method according to claim 2, in, When the first position point is located on the original target element, the first starting point is the first position point; When the first position point is not located on the original target element, the first starting point is a second position point on the original target element that is closest to the first position point.

5. The method according to claim 1, in, When the lawn mower moves from the first starting point to the second starting point, the vertical distance between the position of the lawn mower and the original target element is not greater than a first threshold.

6. The method according to claim 1, in, The vehicle head orientation of the lawn mower when it moves to the first starting point is the same as the target vehicle head orientation; the target vehicle head orientation is the vehicle head orientation of the lawn mower at the first starting point during the process of establishing the original target element.

7. The method according to claim 6, in, The first control instruction includes a walking direction; controlling the lawn mower to walk from a first starting point to a second starting point along the original target element includes: The lawn mower is controlled to move along the original target element according to the walking direction; the first control instruction is generated when the walking direction control displayed on the terminal device is triggered; the starting point confirmation instruction is generated when the starting point confirmation control displayed on the terminal device is triggered.

8. The method according to claim 7, in, Controlling the lawn mower to walk along the original target element according to the walking direction includes: When the walking direction is opposite to the direction of the vehicle head, the wheels of the lawn mower are rotated in the opposite direction so that the lawn mower moves backward along the original target element.

9. The method according to claim 7, in, Controlling the lawn mower to walk along the original target element according to the walking direction includes: When it is detected that the number of times the lawn mower moves back and forth in the local boundary section exceeds a first preset number, the walking speed of the lawn mower is controlled to decrease.

10. The method according to claim 9, in, The method further comprises: When it is detected that the number of times the lawn mower moves back and forth in the local boundary segment exceeds a second preset number, the midpoint of the overlapping section of the local boundary segment where the lawn mower moves back and forth multiple times is determined as the recommended second starting point, and when a user's confirmation instruction for the recommended second starting point is received, the recommended second starting point is determined as the second starting point.

11. The method according to any one of claims 1 to 10, in, The method further comprises: receiving an endpoint confirmation instruction, and determining the current position of the lawn mower as the endpoint; the endpoint confirmation instruction is generated when an endpoint confirmation control displayed on a terminal device is triggered; The end point confirmation control is displayed on the terminal device when the walking trajectory of the lawn mower after starting from the second starting point intersects with the original target element, or when the distance between the current position of the lawn mower and the original target element is less than a preset value.

12. The method according to claim 11, in, Determining an updated target element according to the walking trajectory between the second starting point and the end point includes: Determine the walking track between the second starting point and the end point as a first editing line segment; The boundary line between the second starting point and the target point in the original target element is deleted to obtain the remaining boundary line segment; when the end point is located on the original target element, the target point is the end point; when the end point is not located on the original target element, the target point is the point on the original target element that is closest to the end point, or the target point is the intersection of the original target element and a second path, the second path is the path of the lawn mower walking along a preset direction, and the preset direction is the direction of the front of the lawn mower at the end point; An updated target element is determined according to the remaining boundary line segments and the first edited line segment.

13. The method according to claim 12, in, Determining an updated target element according to the remaining boundary line segments and the first edited line segments includes: When the end point is not located on the original target element, the end point is connected with the target point to obtain a second editing line segment; the second editing line segment is a straight line or an arc; The first edit line segment, the second edit line segment and the remaining boundary line segments are merged to obtain an updated target element.

14. A map modification method, the method being applied to a terminal device, the method include: When the lawn mower reaches the first starting point, a first control is displayed in the display interface, and in response to a trigger event of the first control by the user, a first control instruction is generated, and the first control instruction is sent to a control component of the lawn mower, so that the control component controls the lawn mower to walk from the first starting point to the second starting point along the original target element according to the first control instruction; The first starting point and the second starting point are points on the original target element; The original target element includes at least one of an original virtual map boundary, an original restricted area boundary and an original channel; When the lawn mower starts to move from the first starting point, a starting point confirmation control is displayed in the display interface, and in response to a trigger event of the starting point confirmation control by the user, a starting point confirmation instruction is generated, and the starting point confirmation instruction is sent to the control component, so that the control component uses the second starting point as the starting point for modifying the original target element according to the starting point confirmation instruction; When the starting point confirmation control is triggered, a second control is displayed on the display interface. In response to the user's triggering event of the second control, a second control instruction is generated, and the second control instruction is sent to the control component, so that the control component controls the lawn mower to move from the second starting point to the end point according to the second control instruction, and determines the updated target element according to the walking trajectory between the second starting point and the end point.

15. The method according to claim 14, in, The method further comprises: In response to a trigger event of a first position point in the display interface by a user, determining the first starting point according to the first position point; A first starting point position instruction including the first starting point is sent to the control component, so that the control component controls the lawn mower to move to the first starting point according to the first starting point position instruction.

16. The method according to claim 15, in, Determining the first starting point according to the first position point includes: When the first position point is located on the original target element, the first position point is determined as the first starting point; When the first position point is not located on the original target element, a second position point on the original target element that is closest to the first position point is determined as the first starting point.

17. The method according to claim 14, in, The first control is a walking direction control; the first control instruction includes the walking direction.

18. The method according to claim 14, in, The method further comprises: In response to receiving a message sent by the control component indicating that the recommended second starting point has been determined, a recommended second starting point confirmation control is displayed on the display interface; in response to a user triggering event of the recommended second starting point confirmation control, the user's confirmation instruction for the recommended second starting point is sent to the control component, so that the control component determines the recommended second starting point as the second starting point.

19. The method according to any one of claims 14 to 18, in, The method further comprises: When the walking track of the lawn mower after starting to walk from the second starting point intersects with the original target element, or when the distance between the current position of the lawn mower and the original target element is less than a preset value, an end point confirmation control is displayed in the display interface; In response to a user triggering event of the endpoint confirmation control, an endpoint confirmation instruction is generated and sent to the control component, so that the control component determines the current position of the lawn mower as the endpoint according to the endpoint confirmation instruction.

20. A map modification device, the device being applied to a control component of a lawn mower, the device include: The first control module is configured to receive a first control instruction and control the mowing according to the first control instruction. The machine walks along the original target element from the first starting point to the second starting point; The first starting point and the second starting point are points on the original target element; The original target element includes at least one of an original virtual map boundary, an original restricted area boundary and an original channel; A starting point confirmation module is configured to receive a starting point confirmation instruction, and according to the starting point confirmation instruction, use the second starting point as a starting point for modifying the original target element; The second control module is configured to receive a second control instruction, control the lawn mower to move from the second starting point to the end point according to the second control instruction, and determine an updated target element according to a walking trajectory between the second starting point and the end point.

21. A map modification device, the device being applied to a terminal device, the device include: A first display module is configured to display a first control in a display interface after the lawn mower reaches a first starting point, generate a first control instruction in response to a trigger event of the first control by a user, and send the first control instruction to a control component of the lawn mower, so that the control component controls the lawn mower to walk from the first starting point to a second starting point along the original target element according to the first control instruction; The first starting point and the second starting point are points on the original target element; The original target element includes at least one of an original virtual map boundary, an original restricted area boundary, or an original channel; a second display module configured to display a starting point confirmation control in the display interface after the lawn mower starts to move from the first starting point, generate a starting point confirmation instruction in response to a trigger event of the starting point confirmation control by a user, and send the starting point confirmation instruction to the control component, so that the control component uses the second starting point as a starting point for modifying the original target element according to the starting point confirmation instruction; The third display module is configured to display a second control on the display interface when the starting point confirmation control is triggered, generate a second control instruction in response to a user triggering event of the second control, and send the second control instruction to the control component, so that the control component controls the lawn mower to move from the second starting point to the end point according to the second control instruction, and determines the updated target element according to the walking trajectory between the second starting point and the end point.

22. An electronic device, include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method according to any one of claims 1 to 19.

23. A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the method according to any one of claims 1 to 19 is implemented.

24. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 19.

Citation Information

Patent Citations

  • Path processing method of self-moving equipment and self-moving equipment

    CN114115265A

  • Positioning loopback correction method and system of intelligent mower

    CN114137961A

  • Method and device for determining boundary of map for automatic walking equipment

    CN114594758A

  • Mower map testing method and device, storage medium and mower

    CN115328162A

  • Path processing method, electronic equipment, storage medium and program product

    CN115601521A