Method for displaying mowing operation area, and related apparatus
By acquiring and processing the lawn mowing operation data, merging and converting the lawn mowing operation area, the problem of inability to maximize the display in the existing technology is solved, and the intelligent maximum display of the lawn mowing operation area is realized.
Patent Information
- Application Number
- PCT/CN2024/075129
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-21
- Filing Date
- 2024-02-01
- Publication Date
- 2024-08-29
AI Technical Summary
The existing technology cannot effectively maximize the display of images of multiple shapes, especially in the display of the mowing operation area. It cannot adapt to the multi-shaped elements and window shapes, resulting in insufficient display.
By obtaining the mowing operation data, the reference operation area is determined, multiple reference operation areas are merged to form an overall operation area, and converted into a convex polygon or rectangle, and the display is maximized according to the window size of the display device.
It realizes the maximum display of various mowing operation areas, improves the intelligence and efficiency of the display device, and is suitable for various scenarios.
Smart Images

Figure CN2024075129_29082024_PF_FP_ABST
Abstract
Description
Method and related device for displaying mowing operation area
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on February 21, 2023, with application number 2023101718649 and application name “Display method and related device for mowing operation area”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application belongs to the field of display technology, and specifically relates to a method and related device for displaying a mowing operation area. Background Art
[0003] Currently, for target graphics to be displayed on a screen, the existing technology generally simply enlarges the shape to be displayed, which is unable to maximize the display of images of various shapes.
[0004] Summary of the Invention
[0005] The embodiments of the present application provide a method and related device for displaying a mowing operation area, so as to enable a display device to maximize the display of a target operation area.
[0006] In a first aspect, an embodiment of the present application provides a method for displaying a mowing operation area, the method comprising:
[0007] Acquiring mowing operation data of a mowing device, wherein the mowing operation data includes parameters of an operation area when the mowing device performs a mowing operation;
[0008] displaying the mowing operation data on a display device;
[0009] generating a target operation area according to the mowing operation data;
[0010] The target operation area is displayed in a maximized manner according to the window size of the display device.
[0011] In a second aspect, an embodiment of the present application provides a display system, comprising:
[0012] an acquiring unit, configured to acquire mowing operation data of a mowing device, wherein the mowing operation data includes parameters of an operation area when the mowing device performs a mowing operation;
[0013] a processing unit, configured to determine a target operation area according to the mowing operation data;
[0014] The processing unit is configured to display the mowing operation data on a display device and maximize the display of the target operation area according to the window size of the display device.
[0015] In a third aspect, an embodiment of the present application provides a lawn mowing system, comprising a display device, 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 includes instructions for executing the steps of any one of the first to second aspects of the embodiments of the present application.
[0016] In a fourth aspect, an embodiment of the present application provides a computer storage medium that stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in any one of the first to second aspects of this embodiment.
[0017] 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 any one of aspects 1 to 2 of the embodiments of the present application. The computer program product may be a software installation package.
[0018] As can be seen, in the embodiment of the present application, mowing operation data is first acquired, including the operating area parameters of the mowing equipment when performing the mowing operation; the mowing operation data is then displayed on a display device; a target operating area is then generated based on the mowing operation data; and finally, the target operating area is maximized based on the window size of the display device. In this way, the target operating area is determined based on the operating area parameters in the mowing operation data, and the display device is able to maximize the display of the target operating area, thereby improving the intelligence of the display device. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] 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.
[0020] FIG1a is a schematic diagram of a mowing system provided in an embodiment of the present application;
[0021] FIG1b is another schematic diagram of a mowing system provided in an embodiment of the present application;
[0022] FIG2 is a flow chart of a method for displaying a mowing operation area according to an embodiment of the present application;
[0023] FIG3a is a schematic diagram of a process for determining a first operating area according to an embodiment of the present application;
[0024] FIG3 b is a schematic diagram of a process for determining a second operating area according to an embodiment of the present application;
[0025] FIG3c is a schematic diagram of the process of determining a target operating area according to an embodiment of the present application;
[0026] FIG3 d is a schematic diagram of the process of adjusting the target operating area according to an embodiment of the present application;
[0027] FIG4 is a schematic diagram of a display system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] 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.
[0029] 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, system, product, or apparatus.
[0030] 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.
[0031] The following is an introduction to the relevant terms involved in this application.
[0032] Currently, existing apps that perform tasks based on maps mostly adopt the following methods to display elements on the map:
[0033] 1. Single element: Enlarge the element proportionally to a size where two sides of the bounding rectangle intersect with the window range.
[0034] 2. Multiple elements: After calculating the bounding rectangle of the element group, enlarge the element group proportionally until the bounding rectangle intersects the window range on two sides.
[0035] 3. If you do not want to maximize the display of elements, you can manually drag and zoom after locating the device to obtain a suitable display range.
[0036] However, the first and second direct scaling methods cannot adapt to elements of various shapes. If some elements or groups of elements are not similar to the window shape, they cannot be effectively maximized. The third method of manual adjustment is a backup method and lacks adaptive capabilities.
[0037] In summary, the prior art generally simply enlarges the shape to be displayed, and is unable to maximize the display of images of various shapes.
[0038] To solve the above problem, an embodiment of the present application provides a method for displaying a mowing operation area. This method can be applied to a scenario where multiple mowing areas are maximized for display. The method can obtain mowing operation data input by the user, wherein the mowing operation data includes the operation area parameters of the mowing device performing the mowing operation this time; determine at least one reference operation area based on the operation area parameters, the reference operation area is used to indicate the operation area of the mowing device performing the mowing operation this time, and any two reference operation areas do not overlap; when the at least one is multiple, merge the multiple reference operation areas to obtain a first operation area; determine a second operation area that includes the first operation area and has a convex polygonal shape; determine multiple third operation areas that include the second operation area and have a rectangular shape, wherein each side of a single third operation area overlaps with the second operation area at least at one point; determine the third operation area with the smallest area among the multiple third operation areas as the target operation area; and maximize the display of the target operation area according to the window size of the display device. This enables the display device to maximize the display of the target operation area. This solution can be applied to a variety of scenarios, including but not limited to the application scenarios mentioned above.
[0039] The following introduces the system architecture involved in the embodiments of this application.
[0040] The present application provides a mowing system 100 , as shown in FIG1 a , which includes at least a display device 101 and a mowing device 102 . The mowing device 102 is used to perform mowing operations set by a user, and the display device 101 is used to monitor the mowing operation process of the mowing device 102 .
[0041] The display device 101 can be a mobile terminal or a fixed terminal. The mobile terminal can be a mobile phone, tablet, etc., and the fixed terminal can be a desktop computer or a specific monitoring device, and there is no limitation here. The display device 101 can also be used to input mowing operation data, and the mowing operation data can also be input by other terminal devices, and there is no limitation here.
[0042] As shown in Figure 1b, the mowing system 100 may further include at least one processor 11, a display screen 12, and a memory 13. It may also include a communications interface 15 and a bus 14. The processor 11, display screen 12, memory 13, and communications interface 15 may communicate with each other via bus 14. The display screen 12 is configured to display a preset user guidance interface in the initial setup mode. The communications interface 15 may transmit information. The processor 11 may invoke logic instructions stored in the memory 13 to execute the method described in the embodiments of the present application.
[0043] Optionally, the display device 101 may be a mobile electronic device, or an electronic device or other device, which is not limited here.
[0044] In addition, the logic instructions in the memory 13 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
[0045] The memory 13, as a computer-readable storage medium, can be configured to store software programs or computer-executable programs, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 11 executes the software programs, instructions, or modules stored in the memory 13 to execute functional applications and data processing, thereby implementing the methods in the above embodiments.
[0046] The memory 13 may include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function; the data storage area may store data generated based on the use of the display device 101. Furthermore, the memory 13 may include high-speed random access memory and non-volatile memory. For example, various media that can store program code, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, may also be temporary storage media.
[0047] The specific methods are introduced in detail below.
[0048] Referring to FIG. 2 , the present application further provides a method for displaying a mowing operation area, which can be applied to a display device in a mowing system. The mowing system includes a mowing device and the display device. The method includes:
[0049] Step 201: Acquire mowing operation data of a mowing device.
[0050] The mowing operation data is input by a user through a display device or other terminal device, and then the display device obtains the mowing operation data for processing. The mowing operation data includes parameters of the operation area in which the mowing equipment performs the mowing operation this time.
[0051] Step 202: Determine a target operation area based on the mowing operation data.
[0052] In one possible embodiment, as shown in Figures 3a-3c, generating a target operating area based on the mowing operation data includes: determining at least one reference operating area based on the operating area parameters, where the reference operating area is used to indicate the operating area in which the mowing equipment performs the mowing operation this time, and any two reference operating areas do not overlap; when the at least one is multiple, determining the target operating area based on the at least one reference operating area; and when the at least one is single, determining the target operating area based on the single reference operating area.
[0053] In practice, the same map area may contain one or more reference operating areas. When there is only one reference operating area, it is generally sufficient to zoom directly into that reference operating area. When there are multiple reference operating areas, preprocessing is required to combine the multiple reference operating areas into a single entity, namely the target operating area. Finally, zooming in on the target operating area is performed on that unit.
[0054] It can be seen that in this embodiment, different magnification processes are performed according to the number of different reference operating areas, thereby increasing the intelligence of the magnification process of the display device.
[0055] In one possible embodiment, as shown in Figures 3a to 3c, when there are multiple reference operation areas, the target operation area is determined based on the multiple reference operation areas, including: merging the multiple reference operation areas to obtain a first operation area A1; and determining the minimum circumscribed rectangle of the first operation area as the target operation area.
[0056] Specifically, determining the minimum circumscribed rectangle of the first working area as the target working area includes: determining a second working area A2 that includes the first working area A1 and has a convex polygonal shape; determining multiple third working areas that include the second working area A2 and have a rectangular shape, and each side of a single third working area overlaps with the second working area A2 at least at one point; determining the third working area with the smallest area among the multiple third working areas (taking 3 as an example, such as A31, A32 and A33 in Figure 3c) as the target working area (A32 in Figure 3c).
[0057] Specifically, please refer to Figure 3a. The merging of multiple reference operation areas to obtain the first operation area A1 includes: connecting at least two corners between two adjacent reference operation areas of the multiple reference operation areas to obtain multiple first line segments; and smoothing the multiple first line segments to obtain the first operation area A1.
[0058] In a specific implementation, each of the multiple reference operating areas is an independent entity (e.g., ①, ②, and ③ in Figure 3a) and cannot be maximized simultaneously. Therefore, it is necessary to merge the multiple reference operating areas so that the multiple reference operating areas become a whole for subsequent processing. Specifically, the two corners between two adjacent reference operating areas in the multiple reference operating areas are connected, and the multiple reference operating areas are finally converted into a concave polygon (i.e., the first operating area A1).
[0059] It can be seen that in this embodiment, multiple independent reference operating areas can be merged into a single concave polygon, so that only the single concave polygon needs to be processed subsequently, without having to process multiple independent individuals separately, thereby improving the efficiency of subsequent processing of the display device.
[0060] Specifically, please refer to Figure 3b. The determining of the second working area A2, which includes the first working area A1 and has a convex polygonal shape, includes: if the two second inner angles adjacent to the first inner angle of the first working area A1 are both less than 180 degrees, then connecting the first distal vertices of the two sides of the first inner angle to determine the first side of the second working area A2, the first inner angle being the inner angle greater than 180 degrees among the multiple inner angles of the first working area, and the first distal vertex refers to the vertex facing away from the first inner angle; if at least one of the two second inner angles adjacent to the first inner angle is greater than 180 degrees, then connecting the first distal vertex of the first line segment of the first inner angle with the second distal vertex of the second line segment of the second inner angle to determine the second side of the second working area A2, the first line segment being the line segment away from the second inner angle, the second line segment being the line segment away from the first inner angle, and the second distal vertex being the vertex facing away from the second inner angle; and determining the second working area A2 based on the first sides and the second sides corresponding to the multiple inner angles.
[0061] In a specific implementation, the two sides of an angle greater than 180 degrees are connected; at the same time, when at least one of the two second inner angles adjacent to the first inner angle is greater than 180 degrees, the first distal vertex of the first line segment of the first inner angle is connected to the second distal vertex of the second line segment of the second inner angle to fill the depression of the concave polygon, thereby transforming the concave polygon into a convex polygon (i.e., the second working area A2).
[0062] It can be seen that in this embodiment, the concave polygon can be transformed into a convex polygon, thereby improving the efficiency of subsequent processing of the display device.
[0063] Specifically, please refer to Figure 3c. The determination of multiple third working areas (taking 3 as an example, such as A31, A32 and A33 in Figure 3c) that include the second working area A2 and have a rectangular shape includes: determining multiple vertices of the second working area A2; and determining multiple third working areas that include the second working area and have a rectangular shape based on the multiple vertices.
[0064] In a specific implementation, the points on each side of the convex polygon are removed, leaving only a plurality of vertices, and then a plurality of the third operating areas of different areas can be obtained according to the vertices.
[0065] It can be seen that, in this embodiment, a circumscribed rectangle can be constructed based on a convex polygon.
[0066] Step 203: Display the target operation area in a maximized manner on the display device according to the window size of the display device.
[0067] In one possible embodiment, referring to FIG3d , maximizing the display of the target operation area according to the window size of the display device includes: adjusting the edge of the target operation area to be parallel to the edge of the window; and proportionally enlarging the adjusted target operation area until the edge of the target operation area matches the edge of the window.
[0068] In a specific implementation, the target operation area is adjusted to be parallel to the window, pre-processed for enlargement, and then enlarged proportionally, so that at least two edges of the target operation area coincide with the edges of the window. At this point, it indicates that the maximized display has been achieved.
[0069] It can be seen that in this embodiment, a maximized display of multiple reference operating areas is achieved.
[0070] In a possible embodiment, determining the target operating area based on the single reference operating area includes: determining a minimum circumscribed rectangle of the single reference operating area as the target operating area.
[0071] In a specific implementation, if there is only a single reference operating area, a bounding rectangle is directly constructed based on the single reference operating area; if multiple bounding rectangles are obtained, the minimum bounding rectangle is determined from the multiple bounding rectangles as the target operating area.
[0072] In a possible embodiment, determining the target operation area based on the single reference operation area includes: when there is only a single reference operation area, determining whether the single reference operation area is a rectangle; if the single reference operation area is a rectangle, directly displaying the single reference operation area according to the window size of the display device; if the single reference operation area is not a rectangle, determining whether the single reference operation area is a convex polygon; if the single reference operation area is not a convex polygon, determining a fourth operation area that includes the single reference operation area and has an area shape of a convex polygon; and, determining a fifth operation area that includes the fourth operation area and has an area shape of a rectangle; if the single reference operation area is a convex polygon, determining multiple fifth operation areas that include the single reference operation area and have an area shape of a rectangle; determining the fifth operation area with the smallest area among the multiple fifth operation areas as the target operation area; and displaying the target operation area according to the window size of the display device.
[0073] In a specific implementation, if there is only a single reference operating area, and the shape of the single reference operating area is a rectangle, since the viewing window is also a rectangle, the shape of the single reference operating area is similar to that of the viewing window, and can be directly magnified and displayed. If the single reference operating area is not a rectangle, but a convex polygon, then multiple different circumscribed rectangles of the convex polygon are directly determined, and then the circumscribed rectangle with the smallest area is selected as the target operating area, and finally the magnified display is performed. If the single reference operating area is neither a rectangle nor a convex polygon, it is necessary to first determine the convex polygon (i.e., the fourth operating area) containing the single reference operating area, and finally determine multiple fifth operating areas of the fourth operating area, and finally determine the target operating area from the multiple fifth operating areas, and then maximize the display.
[0074] It can be seen that in this embodiment, a single reference operating area can be adaptively enlarged, thereby improving the intelligence of the display device.
[0075] In a possible embodiment, before merging the multiple reference work areas to obtain the first work area, the method further includes: determining whether the multiple reference work areas are all displayed in the window; if not all displayed in the window, scaling the mowing work area to display the multiple reference work areas in the window.
[0076] In a specific implementation, in some cases, multiple reference operation areas may not be fully displayed in the window. If this situation is detected, the display device will scale the mowing operation area, first display all multiple reference operation areas in the window, and then maximize the magnification process.
[0077] It can be seen that, in this embodiment, full display of multiple reference areas is achieved.
[0078] The above mainly introduces the solution of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that, in order to realize the above functions, the mobile electronic device includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiment provided in this article, 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.
[0079] The embodiment of the present application can divide the functional units of the electronic device according to the above method example. 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. There may be other division methods in actual implementation.
[0080] Referring to FIG. 4 , the present application further provides a display system 40 , including:
[0081] An acquisition module 41 is configured to acquire mowing operation data of a mowing device, wherein the mowing operation data includes parameters of an operation area when the mowing device performs a mowing operation;
[0082] a processing module 42 for generating a target operation area according to the mowing operation data;
[0083] The display module 43 is configured to determine a target operation area according to the mowing operation data, and maximize the display of the target operation area according to the window size of the display device.
[0084] As can be seen, in this embodiment, mowing operation data is acquired, including the operating area parameters of the mowing equipment during the mowing operation; the mowing operation data is then displayed on a display device; a target operating area is generated based on the mowing operation data; and finally, the target operating area is maximized based on the window size of the display device. Thus, the target operating area is determined based on the operating area parameters in the mowing operation data, and the display device is able to maximize the display of the target operating area, thereby improving the intelligence of the display device.
[0085] In a possible embodiment, in terms of determining the target operating area based on the mowing operation data, the processing module 42 is specifically used to: determine at least one reference operating area based on the operating area parameters, and the reference operating area is used to indicate the operating area in which the mowing equipment performs the mowing operation this time; when there are multiple reference operating areas, the target operating area is determined based on the multiple reference operating areas; when there is a single reference operating area, the target operating area is determined based on the single reference operating area.
[0086] In a possible embodiment, when there are multiple reference operation areas, the target operation area is determined based on the multiple reference operation areas, and the processing module 42 is specifically used to: merge the multiple reference operation areas to obtain a first operation area; and determine the minimum circumscribed rectangle of the first operation area as the target operation area.
[0087] In one possible embodiment, the minimum circumscribed rectangle of the first working area is determined as the target working area, and the processing module 42 is specifically used to: determine a second working area that includes the first working area and has a convex polygonal shape; determine multiple third working areas that include the second working area and have a rectangular shape, and each side of the third working area coincides with at least one point of the second working area; and determine the third working area with the smallest area among the multiple third working areas as the target working area.
[0088] In a possible embodiment, the multiple reference operation areas are merged to obtain a first operation area, and the processing module 42 is specifically used to: connect at least two corners between two adjacent reference operation areas of the multiple reference operation areas to obtain multiple first line segments; and smooth the multiple first line segments to obtain the first operation area.
[0089] In a possible embodiment, the second working area that includes the first working area and has a convex polygon shape is determined, and the processing module 42 is specifically used to: if the two second inner angles adjacent to the first inner angle of the first working area are both less than 180 degrees, then connect the first distal vertices of the two sides of the first inner angle to determine the first side of the second working area, the first inner angle is the inner angle greater than 180 degrees among the multiple inner angles of the first working area, and the first distal vertex refers to the vertex facing away from the first inner angle; if at least one of the two second inner angles adjacent to the first inner angle is greater than 180 degrees, then connect the first distal vertex of the first line segment of the first inner angle with the second distal vertex of the second line segment of the second inner angle to determine the second side of the second working area, the first line segment is the line segment away from the second inner angle, the second line segment is the line segment away from the first inner angle, and the second distal vertex is the vertex facing away from the second inner angle; determine the second working area according to the first and second sides corresponding to the multiple inner angles.
[0090] In a possible embodiment, the determination includes multiple third working areas that are rectangular in shape and include the second working area, and the processing module 42 is specifically used to: determine multiple vertices of the second working area; and determine multiple third working areas based on the multiple vertices.
[0091] In a possible embodiment, before merging the multiple reference work areas to obtain the first work area, the system further includes: the display module 43, further configured to determine whether all of the multiple reference work areas are displayed in the window; and when the multiple reference work areas are not displayed in the window, zooming in and out of the mowing map to display the multiple reference work areas in the window.
[0092] In a possible embodiment, the target operating area is determined based on the single reference operating area, and the processing module 42 is specifically configured to determine the minimum circumscribed rectangle of the single reference operating area as the target operating area.
[0093] In a possible embodiment, the target work area is displayed as maximized according to the window size of the display device, and the display module 43 is specifically used to: adjust the edge of the target work area to be parallel to the edge of the window; and proportionally enlarge the target work area after adjustment until the edge of the target work area is matched with the edge of the window.
[0094] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via wired or wireless means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state drive.
[0095] 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, and 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 an electronic device.
[0096] 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 may comprise an electronic device.
[0097] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0098] In the several embodiments provided in this application, it should be understood that the disclosed methods, devices, and systems can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the modules is merely a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or units, which may be electrical, mechanical, or other forms.
[0099] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0100] In addition, the functional units in various embodiments of the present invention may be integrated into a single processing unit, each unit may be physically included 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 hardware plus software functional units.
[0101] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a volatile memory or a non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM RAM (DR RAM). Various media that can store program code are also available.
[0102] Although the present invention is disclosed above, it is not limited thereto. Any person skilled in the art may readily conceive of variations or substitutions, and may make various modifications and alterations without departing from the spirit and scope of the present invention. Combinations of the above-described functions and implementation steps, including software and hardware implementations, are all within the scope of protection of the present invention.
Claims
1. A method for displaying a mowing operation area, characterized in that: The method comprises: Acquire mowing operation data of a mowing device, wherein the mowing operation data includes operation area parameters of the mowing device when performing mowing operation; determining a target operation area according to the mowing operation data; The target operation area is displayed in a maximized manner on the display device according to the window size of the display device.
2. The display method according to claim 1, characterized in that: The step of determining a target operation area according to the mowing operation data comprises: Determine at least one reference operating area according to the operating area parameter, wherein the reference operating area is used to indicate the operating area of the mowing equipment for the current mowing operation; When there are multiple reference operation areas, the target operation area is determined according to the multiple reference operation areas; When the reference operating area is single, the target operating area is determined according to the single reference operating area.
3. The display method according to claim 2, characterized in that: When there are multiple reference operation areas, determining the target operation area according to the multiple reference operation areas includes: Merging a plurality of the reference operating areas to obtain a first operating area; The minimum circumscribed rectangle of the first operation area is determined as the target operation area.
4. The display method according to claim 3, characterized in that: The determining the minimum bounding rectangle of the first operating area as the target operating area includes: Determine a second operating area that includes the first operating area and has an area shape that is a convex polygon; Determine a plurality of third operating areas that include the second operating area and are rectangular in shape, wherein each side of the third operating area overlaps with at least one point of the second operating area; The third operation area with the smallest area among the plurality of third operation areas is determined as the target operation area.
5. The display method according to claim 3, characterized in that: The step of merging the plurality of reference operating areas to obtain a first operating area includes: Connecting at least two angles between two adjacent reference operation areas of the plurality of reference operation areas to obtain a plurality of first line segments; The plurality of first line segments are smoothed to obtain the first operating area.
6. The display method according to claim 4, characterized in that: The determining of a second operating area that includes the first operating area and has an area shape of a convex polygon includes: If two second inner angles adjacent to the first inner angle of the first working area are both less than 180 degrees, the first distal vertices of two sides of the first inner angle are connected to determine the first side of the second working area, the first inner angle being an inner angle greater than 180 degrees among the multiple inner angles of the first working area, and the first distal vertex being a vertex away from the first inner angle; If at least one of the two second interior angles adjacent to the first interior angle is greater than 180 degrees, the first distal vertex of the first line segment of the first interior angle is connected to the second distal vertex of the second line segment of the second interior angle to determine the second interior angle. a second side of the business area, the first line segment is a line segment away from the second inner angle, the second line segment is a line segment away from the first inner angle, and the second distal vertex is a vertex away from the second inner angle; The second operation area is determined according to the first sides and the second sides corresponding to the plurality of inner angles.
7. The display method according to claim 4, characterized in that: The determining of a plurality of third operating areas including the second operating area and having a rectangular shape includes: determining a plurality of vertices of the second operating area; A plurality of third working areas including the second working area and having a rectangular shape are determined according to the plurality of vertices.
8. The display method according to claim 3, characterized in that: Before merging the plurality of reference operating areas to obtain the first operating area, the method further includes: determining whether all of the plurality of reference operating areas are displayed in the window; If not all of the reference working areas are displayed in the viewing window, the mowing working area is scaled to display a plurality of the reference working areas in the viewing window.
9. The display method according to claim 2, characterized in that: The step of determining the target operating area according to the single reference operating area comprises: The minimum circumscribed rectangle of a single reference operating area is determined as the target operating area.
10. The display method according to claim 1, characterized in that: The maximizing display of the target operation area according to the window size of the display device includes: Adjusting the edge of the target working area to be parallel to the edge of the viewing window; The adjusted target operating area is enlarged in equal proportion until the edge of the target operating area matches the edge of the window.
11. A display system, characterized in that: include: An acquisition module, used for acquiring mowing operation data of a mowing device, wherein the mowing operation data includes parameters of an operation area when the mowing device performs a mowing operation; A processing module, used for determining a target operation area according to the mowing operation data; The display module is used to display the mowing operation data on a display device and maximize the display of the target operation area according to the window size of the display device.
12. A mowing system, characterized in that: It includes a display device, a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the processor, and the programs include instructions for executing the steps in the display method as described in any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that: A computer program for electronic data exchange is stored, wherein the computer program enables a computer to execute instructions of the steps in the display method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Intelligent lawn mowing system
CN110168465A
Intelligent mowing system
CN110168466A
Surface target area striking scheme determination method
CN110516374A
Image display method and device, pan / tilt, and storage medium
CN110709813A
Method and device for optimizing three-dimensional map display
CN114610820A
