Determination method, determination device, electronic equipment and related products
By displaying the positioning information of the lawn mower in a preset interface and responding to user input, the working area of the lawn mower is determined and sent, which solves the problem of time-consuming and labor-intensive determination of the working area of the lawn mower and improves the harvesting efficiency of the lawn mower.
Patent Information
- Application Number
- CN202210129264.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-11
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2042-02-11
AI Technical Summary
In the prior art, determining the working area of a lawn mower is time-consuming and labor-intensive, and it is difficult to ensure the mowing efficiency of the lawn mower.
By displaying the first positioning information of the lawn mower in a preset interface, in response to the information input by the user, the working area of the lawn mower is determined and sent to the lawn mower.
The working area of the lawn mower is accurately and efficiently determined, thereby improving the mowing efficiency of the lawn mower.
Smart Images

Figure CN114491316B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to a determination method, a determination device, an electronic device and related products. Background Art
[0002] With the increasing number of green spaces in urban squares and residential areas, the workload for lawn maintenance is becoming increasingly demanding. In related technologies, placing a lawn mower on a new lawn typically requires the user to manually observe and estimate the mower's working area. However, this method is time-consuming and labor-intensive, and it's difficult to ensure efficient mowing. Therefore, accurately and efficiently determining a mower's working area has become a pressing issue. Summary of the Invention
[0003] The embodiments of the present application provide a determination method, a determination device, an electronic device, and related products, which help to accurately and efficiently determine the working area of a lawn mower and help to improve the harvesting efficiency of the lawn mower.
[0004] In a first aspect, an embodiment of the present application provides a determination method, the method comprising:
[0005] Displaying first positioning information of the lawn mower in a preset interface, wherein the first positioning information is used to instruct a user to input information;
[0006] determining a working area of the lawn mower in response to user input information input by a user;
[0007] The work area is sent to the lawn mower.
[0008] In a second aspect, an embodiment of the present application provides a determination device, the device comprising: a display unit, a determination unit, and a sending unit, wherein:
[0009] The display unit is configured to display first positioning information of the lawn mower in a preset interface, wherein the first positioning information is used to instruct a user to input information;
[0010] the determining unit is configured to determine a working area of the lawn mower in response to user input information input by a user;
[0011] The sending unit is used to send the working area to the lawn mower.
[0012] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program comprises instructions for executing the steps in the first aspect of the embodiment of the present application.
[0013] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables a computer to execute instructions of some or all of the steps described in the first aspect of the embodiment of the present application.
[0014] In a fifth aspect, embodiments of the present application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, wherein the computer program is operable to cause a computer to perform some or all of the steps described in the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
[0015] The implementation of the embodiments of this application has the following beneficial effects:
[0016] As can be seen, the determination method, determination device, electronic device, and related products described in the embodiments of this application display the first positioning information of the lawn mower in a preset interface, wherein the first positioning information is used to instruct the user to input information. In response to the user input information, the lawn mower's working area is determined and the working area is sent to the lawn mower. In this way, determining the lawn mower's working area based on the first positioning information and the user input information helps to accurately and efficiently determine the working area, and also helps to improve the mowing efficiency of the lawn mower. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0018] Figure 1A This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0019] Figure 1B This is a flow chart of a determination method provided in an embodiment of the present application;
[0020] Figure 2 This is a schematic diagram of a scenario of a determination method provided in an embodiment of the present application;
[0021] Figure 3 This is a schematic diagram of a scenario of a determination method provided in an embodiment of the present application;
[0022] Figure 4 This is a schematic diagram of a scenario of a determination method provided in an embodiment of the present application;
[0023] Figure 5 This is a schematic diagram of a scenario for determining multiple first distances provided in an embodiment of the present application;
[0024] Figure 6 is a schematic diagram of a scenario for determining a second distance provided in an embodiment of the present application;
[0025] Figure 7 This is a schematic diagram of a scenario of a determination method provided in an embodiment of the present application;
[0026] Figure 8 This is a schematic diagram of a scenario of a determination method provided in an embodiment of the present application;
[0027] Figure 9 This is a flow chart of a determination method provided in an embodiment of the present application;
[0028] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0029] Figure 11 This is a block diagram of the functional units of a determination device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] The terms "first," "second," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish between different objects, not to describe a particular order. Furthermore, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.
[0031] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0032] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0033] The electronic device involved in the embodiments of the present application may be a portable electronic device that includes other functions such as a personal digital assistant and / or a music player function, such as a mobile phone, a tablet computer, a wearable electronic device with a wireless communication function (such as a smart watch), etc. Exemplary embodiments of portable electronic devices include but are not limited to portable electronic devices equipped with an IOS system, an Android system, a Microsoft system or other operating systems. The above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop), etc. It should also be understood that in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer. The electronic device may also include an intelligent lawn mower, a server connected to the intelligent lawn mower, etc.
[0034] See also Figure 1A , Figure 1A : This is a structural diagram of an electronic device provided in an embodiment of the present application. The electronic device includes a processor and a memory, etc. Among them, the memory is connected to the processor. The processor is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory, and calling data stored in the memory, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor can be a central processing unit (CPU), a graphics processing unit (GPU), or a network processor (NPU).
[0035] Furthermore, the processor may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor.
[0036] The memory is used to store software programs and / or modules, and the processor executes the various functional applications of the electronic device by running the software programs and / or modules stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one software program required for a function, etc.; the data storage area may store data created based on the use of the electronic device, etc. In addition, the memory may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0037] Based on the above Figure 1A The electronic device described above can execute the following determination method, and the specific steps are as follows:
[0038] Displaying first positioning information of the lawn mower in a preset interface, wherein the first positioning information is used to instruct a user to input information;
[0039] determining a working area of the lawn mower in response to user input information input by a user;
[0040] The work area is sent to the lawn mower.
[0041] As can be seen, the electronic device described in the embodiments of the present application can display the first positioning information of the lawn mower in a preset interface, wherein the first positioning information is used to instruct the user to input information. In response to the user input information, the working area of the lawn mower is determined and the working area is sent to the lawn mower. In this way, determining the working area of the lawn mower based on the first positioning information and the user input information helps to accurately and efficiently determine the working area, and at the same time helps to improve the mowing efficiency of the lawn mower.
[0042] See also Figure 1B , Figure 1B This is a flow chart of a determination method provided by an embodiment of the present application, as shown in the figure, which is applied to Figure 1A The electronic device shown in FIG. 1 includes the following steps:
[0043] Step 101: Displaying first positioning information of a lawn mower in a preset interface, wherein the first positioning information is used to instruct a user to input information;
[0044] Step 102: determining a working area of the lawn mower in response to user input information input by the user;
[0045] Step 103: Send the working area to the lawn mower.
[0046] Among them, the above-mentioned preset interface may refer to an interface in the display unit of an electronic device, such as the interface of a smart tablet display screen, the interface of a smart phone display screen, etc., which is not limited here. The above-mentioned first positioning information may refer to the location information of the lawn mower. The first positioning information may be a display method of longitude, latitude, and altitude, or it may be a method specific to a certain block or a certain lane, which is not limited here. The above-mentioned user input information may refer to the information input by the user in the preset interface, or it may refer to the information of the user controlling the lawn mower, which is not limited here. The information input by the user in the preset interface may include click operations performed by the user in the preset interface, text information input, etc. The user input information may include the user controlling the lawn mower to travel in a certain area to form a working area of the lawn mower in the area, etc.
[0047] For example, the first positioning information of the lawn mower can be displayed on the display screen, for example, the lawn mower is located in Park C, District B, City A. The user can input relevant instructions based on the positioning information of Park C, District B, City A, such as instructions for controlling the lawn mower to drive and determine the working area according to the driving route of the lawn mower, or instructions for directly determining the working area of the lawn mower on the display screen, determining the working area of the lawn mower, and sending the determined working area to the lawn mower.
[0048] As can be seen, in the embodiments of the present application, the electronic device can display the first positioning information of the lawn mower in a preset interface, wherein the first positioning information is used to instruct the user to input information. In response to the user input information, the working area of the lawn mower is determined and the working area is sent to the lawn mower. In this way, determining the working area of the lawn mower based on the first positioning information and the user input information helps to accurately and efficiently determine the working area, and at the same time helps to improve the mowing efficiency of the lawn mower.
[0049] Optionally, after receiving the work area, the mower can determine the width of the harvesting path based on the mower's own width, obtaining a harvesting width. The work area is then divided into at least one harvesting path based on the harvesting width and a preset harvesting direction. The preset harvesting direction can be user-defined or pre-stored in the mower, and is not limited here. Examples include horizontal, vertical, 30 degrees north-east, and 15 degrees west-south. Determining a harvesting path based on the work area helps further improve the mower's harvesting efficiency.
[0050] It is understandable that the above step of generating a harvesting path may also be performed by an electronic device, which is not limited here.
[0051] In one possible example, the user input information includes a graphic category, second positioning information of a center point of the graphic, and an initial step length. Step 102 of determining the working area of the lawn mower in response to the user input information may include the following steps:
[0052] Step 1021: Determine the surrounding map information of the center point of the graphic based on the second positioning information;
[0053] Step 1022: Determine whether there is a prohibited area for the lawn mower based on the surrounding map information;
[0054] Step 1023: If the prohibited area exists, determine the maximum step length of the pending working area according to the prohibited area, the graphic type, and the second positioning information;
[0055] Step 1024: When the initial step length is greater than the maximum step length, determine the maximum step length as the target step length of the working area;
[0056] Step 1025: When the initial step length is less than or equal to the maximum step length, determine the initial step length as the target step length of the working area;
[0057] Step 1026: Determine the working area according to the graphic category, the second positioning information, and the target step length.
[0058] Among them, the above-mentioned graphic category may refer to the shape corresponding to the working area set by the user, such as a circle, rectangle, triangle, pentagon, hexagon, etc., which is not limited here. The above-mentioned graphic center point may refer to the center point of the shape of the working area. The above-mentioned second positioning information may be the location information corresponding to the center point of the graphic. The second positioning information may be a display method of longitude, latitude, and altitude, or may be specific to a certain block or a certain lane, which is not limited here. The above-mentioned initial step size may refer to the distance from the center point of the graphic to a certain point in the side length of the graphic, such as the distance from the center point of the graphic to the vertex of the graphic.
[0059] For example, when the graphic category is a circle, the corresponding graphic center point is the center of the circle, and the corresponding initial step length is the radius. When the graphic category is a rectangle, the corresponding graphic center point is the intersection of the diagonals of the rectangle, and the corresponding initial step length may include a first-direction initial step length and a second-direction initial step length. The first-direction initial step length may be the distance from the graphic center point to the long side of the rectangle, and the second-direction initial step length may be the distance from the graphic center point to the short side of the rectangle. When the graphic category is a triangle, the corresponding graphic center point may be the centroid, orthocenter, or incenter of the triangle, and the corresponding initial step length may include a first-direction initial step length, a second-direction initial step length, and a third-direction initial step length. The first-direction initial step length may be the distance from the graphic center point to the first vertex of the triangle, the second-direction initial step length may be the distance from the graphic center point to the second vertex of the triangle, and the third-direction initial step length may be the distance from the graphic center point to the third vertex of the triangle.
[0060] The surrounding map information may be map information within a preset range of the second positioning information. The surrounding map information may include woodland areas, grassland areas, railway planning information, road planning information, river basins, lake area and depth, and the altitude of hills and basins, etc., without limitation herein. The preset range may be set by the user or pre-stored in the electronic device, without limitation herein. For example, it may be a range radiating outward from the second positioning information to 500 meters, 1 kilometer, 1.5 kilometers, 2 kilometers, 3 kilometers, or 5 kilometers.
[0061] The prohibited areas may refer to areas that are not suitable for lawn mowers to operate, such as lakes, puddles, muddy ground, swamps, and the like.
[0062] The above-mentioned pending working area may refer to an area determined according to the graphic category input by the user, the second positioning information of the center point of the graphic, and the prohibited area.
[0063] For example, see Figure 2 In the case of a prohibited area, the pending working area is simulated in the surrounding map according to the second positioning information input by the user and the input circular graphic category, thereby determining the maximum step length of the pending working area.
[0064] For example, see Figure 3 In the case of a prohibited area, the pending work area is simulated in the surrounding map according to the second positioning information and the triangle graphic type input by the user, thereby determining the maximum step length of the pending work area. Furthermore, the user can also adjust the triangle pending work area in the surrounding map, please refer to Figure 4 , Figure 4 This is the adjusted triangular pending working area, which helps to extend the maximum step length of the pending working area according to user adjustment.
[0065] When the initial step length input by the user is greater than the maximum step length, if the working area is set according to the initial step length, the working area will include a prohibited area. Therefore, when the initial step length input by the user is greater than the maximum step length, the maximum step length in the to-be-determined working area is determined as the target step length corresponding to the working area.
[0066] Similarly, when the initial step length input by the user is less than or equal to the maximum step length, the initial step length may be determined as the target step length corresponding to the working area.
[0067] It can be seen that in the embodiment of the present application, the surrounding map information of the center point of the graphic is determined according to the second positioning information, and whether there is a prohibited passage area for the lawn mower according to the surrounding map information. If there is a prohibited passage area, the maximum step length of the to-be-determined working area is determined according to the prohibited passage area, the graphic category and the second positioning information. When the initial step length is greater than the maximum step length, the maximum step length is determined as the target step length of the working area. When the initial step length is less than or equal to the maximum step length, the initial step length is determined as the target step length of the working area. The working area is determined according to the graphic category, the second positioning information and the target step length. In this way, it is helpful to automatically adjust the target step length of the working area of the lawn mower when there is a prohibited passage area in the surrounding area, avoid the lawn mower from accidentally entering the prohibited passage area, and help ensure the working safety of the lawn mower. At the same time, determining the working area of the lawn mower according to the second positioning information, the graphic category and the target step length is also conducive to accurately and efficiently determining the working area, which is conducive to improving the mowing efficiency of the lawn mower.
[0068] In a possible example, the graphic category includes a circle, and step 1023 of determining the maximum step length of the pending working area based on the prohibited area, the graphic category, and the second positioning information further includes the following steps:
[0069] Step 10231: Determine the distance between a point on the boundary of the prohibited area and the center of the circle based on the second positioning information of the circle to obtain a plurality of first distances;
[0070] Step 10232: Determine the minimum value among the multiple first distances to obtain a second distance;
[0071] Step 10233: Determine the second distance as the maximum step length.
[0072] Specifically, see Figure 5 , Figure 5 This is a schematic diagram of a scenario for determining multiple first distances provided by an embodiment of the present application. The first distance is the distance from a point on the boundary of the prohibited area to the center point (center of the circle) of the graphic. Since there are multiple points on the boundary, there are also multiple first distances.
[0073] See also Figure 6 , Figure 6 Schematic diagram of a scenario for determining a second distance provided by an embodiment of the present application. Multiple first distances are compared, and the minimum value among the first distances is determined as the second distance, which is the maximum step length corresponding to the working area to be determined.
[0074] It can be seen that in the embodiment of the present application, based on the second positioning information of the circle, the distance between the point in the boundary of the prohibited passage area and the center of the circle is determined to obtain multiple first distances, the minimum value of the multiple first distances is determined to obtain the second distance, and the second distance is determined as the maximum step length; in this way, the shortest distance between the point in the boundary and the center of the circle is determined as the maximum step length of the to-be-determined working area. When the initial step length input by the user is less than or equal to the maximum step length, the initial step length is determined as the target step length of the working area, and the working area is determined based on the graphic category, the second positioning information and the target step length. This helps to automatically adjust the target step length of the working area of the lawn mower when there is a prohibited passage area in the surrounding area, avoid the lawn mower from accidentally entering the prohibited passage area, and help ensure the working safety of the lawn mower. At the same time, determining the working area of the lawn mower based on the second positioning information, the graphic category and the target step length is also conducive to accurately and efficiently determining the working area, which is conducive to improving the mowing efficiency of the lawn mower.
[0075] In a possible example, the above step 1022, determining whether there is a prohibited area for the lawn mower based on the surrounding map information, further includes the following steps:
[0076] Step 1027: If the prohibited area does not exist, determine the working area according to the graphic category, the second positioning information and the initial step size.
[0077] Specifically, if no prohibited area exists, the lawn mower can directly determine the working area based on the graphic type, second positioning information, and initial step length input by the user, and operate accordingly. This helps accurately and efficiently determine the working area, thereby improving the mowing efficiency of the lawn mower.
[0078] Optionally, in step 102, before determining the working area of the lawn mower in response to the user input information input by the user, the method further includes the following steps:
[0079] Step A01: displaying a surrounding map in the preset interface according to the first positioning information;
[0080] Step A02: In response to the display ratio input by the user in the surrounding map, determine the target surrounding map and display the target surrounding map in the preset interface.
[0081] The display scale may be a map scale directly input by the user or obtained by zooming in or out of the map by touching the screen, and is not limited thereto. The target surrounding map may be a map obtained by zooming in or out of the surrounding map, and is not limited thereto.
[0082] Specifically, according to the first positioning information of the lawn mower, a surrounding map is displayed in a preset interface of the electronic device, and a target surrounding map is determined according to a display ratio input by the user in the surrounding map, and the target surrounding map is displayed in the preset interface.
[0083] It can be seen that in the implementation mode of the present application, based on the first positioning information, the surrounding map is displayed in the preset interface, and in response to the display ratio input by the user in the surrounding map, the target surrounding map is determined and displayed in the preset interface; this helps to determine the target map according to the display ratio input by the user, and determine the working area of the lawn mower according to the user input information, which helps to accurately and efficiently determine the working area, and at the same time helps to improve the mowing efficiency of the lawn mower.
[0084] In a possible example, the display ratio is determined by the following method:
[0085] Obtaining the sliding direction and sliding distance of the user's sensing point in the preset interface;
[0086] The display ratio is determined according to the sliding direction and the sliding distance.
[0087] Among them, the above-mentioned sensing points can refer to the contact points between the user's fingers or objects such as stylus and the electronic device display screen, or they can be sensing points obtained by the electronic device through virtual reality technology, enhanced display technology, etc., which are not limited here.
[0088] Specifically, the user can perform a touch screen operation on the preset interface to zoom in or out on the surrounding map. When the user performs the touch screen operation, the electronic device can obtain the sliding direction and sliding distance of the user's sensing point in the preset interface to determine the display scale.
[0089] It is understood that when there is only one sensing point, the electronic device can determine the display range of the surrounding map based on the sliding direction and sliding distance of the sensing point. For example, if it is obtained that only one sensing point has slid two centimeters to the left, the surrounding map displayed in the preset interface will be offset to the left by a preset distance accordingly.
[0090] In the case of multiple sensing points, the electronic device can determine whether to zoom in or out of the surrounding map based on whether the sliding direction of the sensing point is concentrated or divergent, and determine the zoom in or out degree of the surrounding map based on the sliding distance of the sensing point. Figure 7 If the sliding directions of the two sensing points are divergent, it can be determined that the user wants to zoom in on the surrounding map, and the degree of zooming in on the surrounding map is determined based on the sliding distance of the sensing points.
[0091] It should be noted that the correspondence between the sliding distance of the sensing point and the zoom level of the surrounding map and the offset distance of the surrounding map can be pre-set by the user or by the system default, and is not limited here.
[0092] It can be seen that in the implementation manner of the present application, the sliding direction and sliding distance of the user's sensing point in the preset interface are obtained, and the display ratio is determined based on the sliding direction and sliding distance; this helps to determine the display ratio based on user input, improve user satisfaction, and optimize user experience.
[0093] In one possible example, the user input information includes a circled boundary in the target perimeter map. Step 102 of determining the working area of the lawn mower in response to the user input information may include the following steps:
[0094] Determining a delineated working area in response to the delineated boundary defined by the user in the target perimeter map;
[0095] The working area is determined according to the enclosed working area and the display ratio.
[0096] The circled boundary may refer to a boundary circled by the user in a preset interface corresponding to a map surrounding the target.
[0097] For example, see Figure 8 Based on the boundary drawn by the user on the target area map, the work area on the map is determined. Based on the drawn work area and the display scale, the lawn mower's work area in the actual terrain is determined. It is understood that if the boundary drawn by the user is discontinuous, the two closest boundary endpoints can be connected to form a closed work area.
[0098] It can be seen that in the implementation mode of the present application, the circled working area is determined in response to the circled boundary of the user in the target surrounding map, and the working area is determined based on the circled working area and the display ratio; in this way, determining the working area based on the circled boundary input by the user helps to accurately and efficiently determine the working area of the lawn mower, and at the same time helps to improve the mowing efficiency of the lawn mower.
[0099] With the above Figure 1B For details on the embodiments shown, please refer to Figure 9 , Figure 9 This is a flow chart of a determination method provided in an embodiment of the present application, which is applied to Figure 1A The electronic device shown in FIG. 1 includes the following steps:
[0100] Step 201: Display first positioning information of a lawn mower in a preset interface, wherein the first positioning information is used to instruct a user to input information.
[0101] Step 202: Display a surrounding map in the preset interface according to the first positioning information.
[0102] Step 203: In response to the display ratio input by the user in the surrounding map, determine the target surrounding map and display the target surrounding map in the preset interface.
[0103] Step 204: Determine a working area of the lawn mower in response to user input information input by the user.
[0104] Step 205: Send the working area to the lawn mower.
[0105] The detailed description of steps 201 to 205 can refer to the above Figure 1B The corresponding steps of the described determination method will not be repeated here.
[0106] It can be seen that in the determination method described in the embodiment of the present application, the electronic device can display the first positioning information of the lawn mower in a preset interface, wherein the first positioning information is used to instruct the user to input information in the preset interface. Based on the first positioning information, a surrounding map is displayed in the preset interface. In response to the display ratio input by the user in the surrounding map, a target surrounding map is determined and displayed in the preset interface. In response to the user input information input by the user, the working area of the lawn mower is determined and the working area is sent to the lawn mower. In this way, determining the working area of the lawn mower based on the first positioning information and the user input information helps to accurately and efficiently determine the working area, and at the same time helps to improve the mowing efficiency of the lawn mower.
[0107] In accordance with the above embodiment, please refer to Figure 10 , Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. As shown in the figure, the device includes a processor, a memory, a communication interface, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the processor. In the embodiment of the present application, the program includes instructions for executing the following steps:
[0108] Displaying first positioning information of the lawn mower in a preset interface, wherein the first positioning information is used to instruct a user to input information;
[0109] determining a working area of the lawn mower in response to user input information input by a user;
[0110] The work area is sent to the lawn mower.
[0111] As can be seen, the electronic device described in the embodiments of the present application can display the first positioning information of the lawn mower in a preset interface, wherein the first positioning information is used to instruct the user to input information. In response to the user input information, the working area of the lawn mower is determined and the working area is sent to the lawn mower. In this way, determining the working area of the lawn mower based on the first positioning information and the user input information helps to accurately and efficiently determine the working area, and at the same time helps to improve the mowing efficiency of the lawn mower.
[0112] In one possible example, the user input information includes a graphic category, second positioning information of a center point of the graphic, and an initial step length. In determining the working area of the lawn mower in response to the user input information, the program further includes instructions for executing the following steps:
[0113] Determining surrounding map information of the center point of the graphic based on the second positioning information;
[0114] determining, based on the surrounding map information, whether there is a prohibited area for the lawn mower;
[0115] If the prohibited area exists, determining the maximum step length of the pending working area according to the prohibited area, the graphic category and the second positioning information;
[0116] When the initial step length is greater than the maximum step length, determining the maximum step length as the target step length of the working area;
[0117] When the initial step length is less than or equal to the maximum step length, determining the initial step length as the target step length of the working area;
[0118] The working area is determined according to the graphic category, the second positioning information and the target step length.
[0119] In one possible example, the graphic category includes a circle. In determining the maximum step length of the pending working area based on the prohibited area, the graphic category, and the second positioning information, the program further includes instructions for performing the following steps:
[0120] Determine the distance between a point on the boundary of the prohibited area and the center of the circle according to the second positioning information of the circle to obtain a plurality of first distances;
[0121] Determine a minimum value among the multiple first distances to obtain a second distance;
[0122] The second distance is determined as the maximum step length.
[0123] In one possible example, in determining whether a prohibited area for the lawn mower exists based on the surrounding map information, the program includes instructions for executing the following steps:
[0124] If the prohibited area does not exist, the working area is determined according to the graphic category, the second positioning information and the initial step size.
[0125] In one possible example, before determining the working area of the lawn mower in response to the user input information input by the user, the program further includes instructions for executing the following steps:
[0126] Displaying a surrounding map in the preset interface according to the first positioning information;
[0127] In response to the display ratio input by the user in the surrounding map, a target surrounding map is determined and displayed in the preset interface.
[0128] In one possible example, the program further includes instructions for executing the following steps:
[0129] Obtaining a sliding direction and sliding distance of a user's sensing point in the preset interface;
[0130] The display ratio is determined according to the sliding direction and the sliding distance.
[0131] In one possible example, the user input information includes a circled boundary in the target perimeter map. In determining the working area of the lawn mower in response to the user input information, the program further includes instructions for performing the following steps:
[0132] Determining a delineated working area in response to the delineated boundary defined by the user in the target perimeter map;
[0133] The working area is determined according to the enclosed working area and the display ratio.
[0134] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process of the method side. It is understandable that, in order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily appreciate that, in combination with the units and algorithm steps of each example described in the embodiment provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0135] The embodiment of the present application can divide the functional units according to the above method examples. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. In actual implementation, there may be other division methods.
[0136] See also Figure 11 , Figure 11 1 is a functional unit block diagram of a determination device provided in an embodiment of the present application, wherein the device 110 includes: a display unit 1101, a determination unit 1102, and a sending unit 1103, wherein:
[0137] The display unit 1101 is configured to display first positioning information of the lawn mower in a preset interface, wherein the first positioning information is used to instruct a user to input information in the preset interface;
[0138] The determining unit 1102 is configured to determine a working area of the lawn mower in response to user input information input by a user;
[0139] The sending unit 1103 is configured to send the working area to the lawn mower.
[0140] As can be seen, the determination device described in the embodiments of the present application can display the first positioning information of the lawn mower in a preset interface, wherein the first positioning information is used to instruct the user to input information in the preset interface. In response to the user input information, the working area of the lawn mower is determined and the working area is sent to the lawn mower. In this way, determining the working area of the lawn mower based on the first positioning information and the user input information helps to accurately and efficiently determine the working area, and at the same time helps to improve the mowing efficiency of the lawn mower.
[0141] In one possible example, the user input information includes a graphic category, second positioning information of a center point of the graphic, and an initial step length. In determining the working area of the lawn mower in response to the user input information, the determining unit 1102 is specifically configured to:
[0142] Determining surrounding map information of the center point of the graphic based on the second positioning information;
[0143] determining, based on the surrounding map information, whether there is a prohibited area for the lawn mower;
[0144] If the prohibited area exists, determining the maximum step length of the pending working area according to the prohibited area, the graphic category and the second positioning information;
[0145] When the initial step length is greater than the maximum step length, determining the maximum step length as the target step length of the working area;
[0146] When the initial step length is less than or equal to the maximum step length, determining the initial step length as the target step length of the working area;
[0147] The working area is determined according to the graphic category, the second positioning information and the target step length.
[0148] In a possible example, the graphic category includes a circle. In determining the maximum step length of the pending working area based on the prohibited area, the graphic category, and the second positioning information, the determining unit 1102 is specifically configured to:
[0149] Determine the distance between a point on the boundary of the prohibited area and the center of the circle according to the second positioning information of the circle to obtain a plurality of first distances;
[0150] Determine a minimum value among the multiple first distances to obtain a second distance;
[0151] The second distance is determined as the maximum step length.
[0152] In a possible example, in determining whether there is a prohibited area for the lawn mower based on the surrounding map information, the determining unit 1102 is specifically configured to:
[0153] If the prohibited area does not exist, the working area is determined according to the graphic category, the second positioning information and the initial step size.
[0154] In a possible example, before determining the working area of the lawn mower in response to the user input information input by the user, the display unit 1101 is specifically configured to:
[0155] Displaying a surrounding map in the preset interface according to the first positioning information;
[0156] In response to the display ratio input by the user in the surrounding map, a target surrounding map is determined and displayed in the preset interface.
[0157] In a possible example, the display unit 1101 is further configured to:
[0158] Obtaining a sliding direction and sliding distance of a user's sensing point in the preset interface;
[0159] The display ratio is determined according to the sliding direction and the sliding distance.
[0160] In one possible example, the user input information includes a circled boundary in the target surrounding map. In determining the working area of the lawn mower in response to the user input information input by the user, the determining unit 1102 is further configured to:
[0161] Determining a delineated working area in response to the delineated boundary defined by the user in the target perimeter map;
[0162] The working area is determined according to the enclosed working area and the display ratio.
[0163] It can be understood that the functions of each program module of the determination device of this embodiment can be specifically implemented according to the method in the above method embodiment. The specific implementation process can refer to the relevant description of the above method embodiment and will not be repeated here.
[0164] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program enables a computer to execute part or all of the steps of any method described in the above method embodiments, and the above computer includes a control platform.
[0165] The present application also provides a computer program product comprising a non-transitory computer-readable storage medium storing a computer program, wherein the computer program is operable to cause a computer to perform some or all of the steps of any of the methods described in the above method embodiments. The computer program product may be a software installation package, and the computer includes a control platform.
[0166] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0167] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0168] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0169] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0170] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0171] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes a number of instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the above-mentioned methods of each embodiment of the present application. The aforementioned memory includes: various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0172] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program. The program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0173] The above is a detailed introduction to the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for those skilled in the art, according to the idea of the present application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A determination method, applied to an electronic device, characterized in that: The method comprises: Displaying first positioning information of the lawn mower in a preset interface, wherein the first positioning information is used to instruct a user to input information, and the user input information includes a graphic category, second positioning information of a center point of the graphic, and an initial step length; determining a working area of the lawn mower in response to the user input information input by a user; wherein, in response to the user input information input by the user, determining the working area of the lawn mower comprises: determining, based on the second positioning information, surrounding map information of the center point of the graphic; determining, based on the surrounding map information, whether there is a prohibited passage area for the lawn mower; if the prohibited passage area exists, determining, based on the prohibited passage area, the graphic category, and the second positioning information, a maximum step length of a pending working area; when the initial step length is greater than the maximum step length, determining the maximum step length as a target step length of the working area; when the initial step length is less than or equal to the maximum step length, determining the initial step length as the target step length of the working area; and determining the working area based on the graphic category, the second positioning information, and the target step length; The work area is sent to the lawn mower.
2. The method according to claim 1, characterized in that The graphic category includes a circle, and determining the maximum step length of the pending working area according to the prohibited area, the graphic category, and the second positioning information includes: Determine the distance between a point on the boundary of the prohibited area and the center of the circle according to the second positioning information of the circle to obtain a plurality of first distances; Determine a minimum value among the multiple first distances to obtain a second distance; The second distance is determined as the maximum step length.
3. The method according to claim 1, characterized in that The determining, based on the surrounding map information, whether there is a prohibited area for the lawn mower includes: If the prohibited area does not exist, the working area is determined according to the graphic category, the second positioning information and the initial step size.
4. The method according to claim 1, wherein Before determining the working area of the lawn mower in response to the user input information input by the user, the method further includes: Displaying a surrounding map in the preset interface according to the first positioning information; In response to the display ratio input by the user in the surrounding map, a target surrounding map is determined and displayed in the preset interface.
5. The method according to claim 4, characterized in that The display ratio is determined by the following method: Obtaining the sliding direction and sliding distance of the user's sensing point in the preset interface; The display ratio is determined according to the sliding direction and the sliding distance.
6. The method according to claim 4, characterized in that The user input information includes a circled boundary in the target perimeter map, and determining the working area of the lawn mower in response to the user input information input by the user includes: Determining a delineated working area in response to the delineated boundary defined by the user in the target perimeter map; The working area is determined according to the enclosed working area and the display ratio.
7. A determination device, configured to execute the method according to any one of claims 1 to 6, characterized in that: The device includes: a display unit, a determination unit and a sending unit, wherein: The display unit is configured to display first positioning information of the lawn mower in a preset interface, wherein the first positioning information is used to instruct a user to input information; the determining unit is configured to determine a working area of the lawn mower in response to user input information input by a user; The sending unit is used to send the working area to the lawn mower.
8. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store one or more programs and is configured to be executed by the processor, wherein the programs include instructions for executing the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that A computer program for electronic data exchange is stored, wherein the computer program causes a computer to execute instructions of the steps in the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Obstacle map creation method and system, robot and readable storage medium
CN112393737A
Region calibration method and device, electronic equipment and computer readable storage medium
CN112950743A