Control method, self-moving control system, electronic equipment and storage medium
By transmitting and comparing map verification information between the self-moving device and the control device, the working map is determined, which solves the problem of map consistency of the self-moving device and improves control efficiency and accuracy.
Patent Information
- Application Number
- CN202310179834.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-08-30
AI Technical Summary
When existing mobile devices are working, it is difficult to ensure that the map they are based on is consistent and synchronized with the map expected by the user, resulting in possible errors and low efficiency in the control process.
By transmitting target verification information and local verification information between the control device and the self-mobile device, the comparison process is performed to determine the working map, ensuring that the map used by the self-mobile device is consistent with the map expected by the user, and achieving map synchronization.
It improves the control efficiency and accuracy, ensures that the map the mobile device works on is consistent and synchronized with the map expected by the user, and reduces resource consumption.
Smart Images

Figure CN118567261A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control technology, and in particular to a control method, a self-moving control system, an electronic device and a storage medium. Background Art
[0002] With the development of science and technology, autonomous devices such as smart lawn mowers, mopping robots, and sweeping robots have brought convenience to people's production and life. Before the autonomous device works, it is necessary to create a work map for the autonomous device to limit its drivable range.
[0003] Users usually hope that their mobile devices can move and / or work according to the map they expect. Therefore, how to ensure that the map on which the mobile device works is consistent and synchronized with the map expected by the user has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a control method, a self-moving control system, an electronic device and a storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a control method, which is applied to a self-mobile control system, the system comprising a control device and a self-mobile device, the method comprising: the control device determining a target map in at least one user map; the self-mobile device receiving a work instruction, the work instruction comprising target verification information corresponding to the target map; the self-mobile device performing comparison processing on the target verification information and local verification information to obtain a comparison result, the local verification information corresponding to a local map stored in the self-mobile device; the self-mobile device determining a working map according to the comparison result; the self-mobile device performing work according to the working map.
[0006] In a possible implementation, the self-mobile device determines the working map according to the comparison result, including: when the comparison result is inconsistent, acquiring the target map, and determining the target map as the working map.
[0007] In a possible implementation, the system further includes a cloud server, and the method further includes: after receiving the work instruction sent by the control device, the cloud server sends the work instruction to the mobile device.
[0008] In a possible implementation, the method further includes: the control device determines a stored first map; the control device obtains and stores a second map in response to an editing operation on the first map; and the at least one user map includes at least one of the second maps.
[0009] In a possible implementation, the system also includes a cloud server, which stores the first map; the method also includes: the control device sends editing operation information to the cloud server; the cloud server generates the second map based on the editing operation information and the first map, and sends the second map to the control device.
[0010] In a possible implementation, the verification information of the second map includes ID information and a verification value of the second map, and the ID information of the second map is the same as the ID information of the first map; the method also includes: after the cloud server generates the second map, generating and storing the verification value of the second map.
[0011] In a possible implementation manner, the method further includes: after storing the second map, the control device deletes the first map.
[0012] In a possible implementation, the self-mobile device determines the working map according to the comparison result, including:
[0013] When the comparison result is consistent, the local map is determined as the working map.
[0014] In a possible implementation, the at least one user map includes at least one map corresponding to each work area; or, the at least one user map includes at least one version of the same map; or, the at least one user map corresponds to different locations.
[0015] In a possible implementation, the self-moving device working according to the working map includes:
[0016] The self-mobile device moves according to the work map and performs the work task; or,
[0017] The self-mobile device builds a map according to the working map to generate a third map;
[0018] The third map is sent from the mobile device so that the control device stores the third map.
[0019] In a possible implementation, the method further includes: after storing the third map, the control device deletes the working map.
[0020] In a possible implementation, the editing operation includes at least one of the following: splitting, merging, shrinking, expanding, deleting, copying, and modifying parameters.
[0021] In a possible implementation, the target verification information includes a target ID, and the local verification information includes a local ID;
[0022] The self-equipment compares the target verification information and the local verification information to obtain a comparison result, which includes: the self-equipment compares the target ID and the local ID to obtain a comparison result;
[0023] When the comparison result is inconsistent, acquiring the target map and determining the target map as the working map includes:
[0024] When the target ID and the local ID are inconsistent, the target map is downloaded and the target map is determined as the working map.
[0025] In a possible implementation manner, the target verification information further includes a target verification value corresponding to the target map, and the local verification information further includes a local verification value corresponding to the local map;
[0026] When the comparison result is inconsistent, acquiring the target map and determining the target map as the working map further includes:
[0027] When the target ID and the local ID are consistent, comparing the target check value and the local check value;
[0028] When the target check value and the local check value are inconsistent, the target map is downloaded, and the target map is determined as the working map.
[0029] In a possible implementation, the target verification information further includes a target verification value;
[0030] The method further comprises:
[0031] After downloading the target map, generating a reference check value according to the target map;
[0032] When the reference check value is consistent with the target check value, determining the target map as the working map;
[0033] When the reference check value is inconsistent with the target check value, return to the step of downloading the target map.
[0034] According to a second aspect of an embodiment of the present disclosure, there is provided a self-mobile control system, the system comprising a control device and a self-mobile device, the control device being used to determine a target map in at least one user map; the self-mobile device being used to receive a work instruction, the work instruction comprising target verification information corresponding to the target map; comparing the target verification information with local verification information to obtain a comparison result, the local verification information corresponding to a local map stored in the self-mobile device; determining a work map according to the comparison result; and performing work according to the work map.
[0035] According to a third aspect of an embodiment of the present disclosure, there is provided a control method, which is applied to a control device in a self-mobile control system, comprising: determining a target map in at least one user map; sending a work instruction including target verification information corresponding to the target map to a self-mobile device, so that the self-mobile device compares and processes the target verification information and local verification information, and determines a work map according to the comparison result, wherein the local verification information corresponds to a local map stored in the self-mobile device.
[0036] According to a fourth aspect of an embodiment of the present disclosure, there is provided a control method, which is applied to a self-moving device in a self-moving control system, comprising: receiving a work instruction, the work instruction comprising target verification information corresponding to the target map; comparing the target verification information with local verification information to obtain a comparison result, the local verification information corresponding to a local map stored in the self-moving device; determining a working map according to the comparison result; and performing work according to the working map.
[0037] According to a fifth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor and a memory storing a computer program, wherein when the processor runs the computer program, the control method described in any one of the embodiments of the present disclosure is implemented.
[0038] According to a sixth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the control method described in any one of the embodiments of the present disclosure is implemented.
[0039] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: after receiving a work instruction including target verification information corresponding to a target map, the self-mobile device compares and processes the target verification information with the verification information corresponding to the locally stored local map, determines the working map based on the comparison result, and works according to the working map, thereby ensuring that the map on which the self-mobile device works is consistent and synchronized with the map expected by the user, thereby achieving map synchronization during the control process. At the same time, the self-mobile device only needs to compare the verification information of the map to determine the working map, thereby improving control efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0041] Figure 1 A flow chart of a control method according to an embodiment of the present disclosure is shown;
[0042] Figure 2 An application scenario diagram of a control method according to an embodiment of the present disclosure is shown;
[0043] Figure 3 An application scenario diagram of a control method according to an embodiment of the present disclosure is shown;
[0044] Figure 4 A block diagram of a control system according to an embodiment of the present disclosure is shown;
[0045] Figure 5 A block diagram of a control system according to an embodiment of the present disclosure is shown;
[0046] Figure 6 A flow chart of a control method according to an embodiment of the present disclosure is shown;
[0047] Figure 7 A flow chart of a control method according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0048] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0049] Considering that the control device has at least one map, if the user selects one of the maps to control the self-moving device, the self-moving device will not be able to automatically determine which map to work according to. In other words, it is necessary to solve the technical problem of how to ensure that the working map used by the self-moving device is consistent and synchronized with the map expected by the user. Based on this, Figure 1 As shown, the present application proposes a control method. It should be noted that although the present disclosure provides the method operation steps as shown in the following embodiments or drawings, more or fewer operation steps may be included in the method based on routine or no creative labor. In the steps that do not logically have a necessary causal relationship, the execution order of these steps is not limited to the execution order provided in the embodiments of the present disclosure.
[0050] Specifically, an implementation of a control method provided by the present disclosure is as follows: Figure 1 As shown, the method can be applied to a self-moving control system, the system includes a control device and an automatic moving device, and the method may include:
[0051] Step S101: A control device determines a target map in at least one user map.
[0052] Step S102: receiving a work instruction from the mobile device, wherein the work instruction includes target verification information corresponding to the target map.
[0053] Step S103: the self-mobile device compares the target verification information and the local verification information to obtain a comparison result, wherein the local verification information corresponds to a local map stored in the self-mobile device.
[0054] Step S104: the self-mobile device determines a work map according to the comparison result.
[0055] Step S105, the self-mobile device works according to the work map.
[0056] In the embodiments of the present disclosure, the control device can be implemented as a smart mobile device such as a computer or a smart phone. The control device can provide an interactive interface for receiving user instructions. The interactive interface is provided with controls such as buttons for the user to input information, so that the user can control the control device through the interactive interface. The control device can also be integrated in a self-moving device. The self-moving device can be an automatic lawn mower, an automatic sweeper, an automatic snow sweeper, and other devices suitable for unattended operation. They automatically walk on the surface of the work area to mow, vacuum, or sweep snow. They can also be other devices suitable for unattended operation, and the embodiments of this specification are not limited to this.
[0057] The control device may store at least one user map, which may be cached in the control device or downloaded and saved in the control device. In one example, the at least one user map may include maps corresponding to at least one work area; or, the at least one user map includes at least one version of the same map, such as an initial version, a draft version, a copy version, a final version, etc.; or, the at least one user map corresponds to different locations, such as locations corresponding to different user maps may be located in different cities, different streets, different courtyards, etc. The user map may be a map of a target scene for the movement of the self-mobile device, and may be generated by demarcating one or more work areas in the target scene. For each of the user maps, a work area, a channel area, a charging station area, a return area, an obstacle area, etc. may be included. The work area may be an area where the self-mobile device needs to perform work / tasks. The work area corresponds to an area attribute. The area attribute is used to describe the corresponding work content of the work area. For example, the area attribute may be a snow-clearing area, a grass-cutting area, a watering area, etc. The channel area may be an area in the target scene where the self-mobile device can move except the work area. The channel area can represent the channel between two working areas, and the self-moving device can move from one working area to another working area through the channel area. The self-moving device does not need to perform corresponding work in the channel area. For example, roads, bridges, etc. in the target scene can be divided into channel areas. The charging station area can be an area for setting up a charging station. The regression area can represent the moving path of the self-moving device to the charging station. The obstacle area can be an area in the target scene that the self-moving device cannot go to and needs to bypass during the movement. For example, outdoor trees, fixed trash cans, and some buildings that do not belong to the working area belong to the obstacle area.
[0058] The user can use the control device to create a new user map, continue to build a user map, or modify a user map. For example, after the user turns on the mapping function corresponding to the control device, the user map can be built by pushing the self-mobile device to move along the boundary of the area to be built. The user can also remove the mapping module from the self-mobile device and drive the mapping module to move along the boundary of the area to be built to build a user map. After continuing to build, modifying, and other operations on the same map, the verification information of the map can change accordingly. For example, after creating a map corresponding to a certain work area, if the map is then modified or continued, the version of the map will change accordingly, and each time the map is modified or continued, the verification information of the obtained map will change accordingly. Each user map in the control device displays its own identity information, such as the name of the area, date, etc. Based on the control requirements, a user map can be selected as the target map from at least one user map.
[0059] In the disclosed embodiment, the work instruction can be used to indicate the operation that the self-mobile device needs to perform, and can specifically be a map construction instruction for continuing to build a map, an operation instruction for controlling the self-mobile device to perform a work task (such as mowing, watering, snow removal, etc.), etc. The work instruction is generated or triggered by the control device, and the work instruction is sent directly or indirectly by the control device to the self-mobile device. If the control device and the self-mobile device can communicate directly, such as a wireless communication connection such as Bluetooth is established between the control device and the self-mobile device, the work instruction can be sent directly to the self-mobile device by the control device. If the control device and the self-mobile device cannot communicate directly, the work instruction can be sent by the control device to a third-party device first, and then forwarded to the self-mobile device by the third-party device.
[0060] In the disclosed embodiment, the verification information of the map is used to uniquely identify the map. The verification information of different maps is different, and the verification information of different versions of the same map is different. In one example, the verification information of the map may include a map ID, and the map ID may include at least one of the following: name, creation date, status (such as draft, final draft, etc.). The verification information of the map may also include a verification value. The map IDs of different versions of the same map may be the same, but the verification values of different versions of the same map are different. The verification value may be generated based on the specific data of the map. The self-mobile device compares the target verification information with the local verification information corresponding to the stored local map to determine whether the local map stored in the self-mobile device is the working map expected by the user, and then determines the working map based on the comparison result obtained, and works according to the working map to ensure that the map used by the self-mobile device when working is the working map expected by the user, thereby achieving map synchronization.
[0061] After receiving a work instruction including target verification information corresponding to a target map, the self-mobile device of the disclosed embodiment compares the target verification information with verification information corresponding to a locally stored local map, determines a work map according to the comparison result, and works according to the work map. This ensures that the work map determined by the self-mobile device is the map expected by the user, and achieves synchronization of maps during the control process. At the same time, the self-mobile device only needs to compare the verification information of the map to determine the work map, thereby improving control efficiency.
[0062] In a possible implementation, the system further includes a cloud server, and the method further includes:
[0063] After receiving the work instruction sent by the control device, the cloud server sends the work instruction to the mobile device.
[0064] Specifically, when the control device and the self-mobile device cannot communicate directly, the control device first sends the work instruction to the cloud server. After receiving the work instruction sent by the control device, the cloud server sends the work instruction to the self-mobile device to ensure that the self-mobile device can obtain the work instruction in time, while improving control efficiency.
[0065] In a possible implementation, the step S104 in which the self-mobile device determines the working map according to the comparison result may include: when the comparison result is inconsistent, acquiring the target map, and determining the target map as the working map.
[0066] Specifically, when the self-mobile device detects that the target verification information is inconsistent with the local verification information, it means that the local map stored in the self-mobile device is not the working map expected by the user, then the target map is obtained and determined as the working map.
[0067] The disclosed embodiment can ensure that the map used by the mobile device is the working map expected by the user, thereby improving control accuracy, by acquiring the target map and determining the target map as the working map when the target verification information is inconsistent with the local verification information.
[0068] In a possible implementation, the target verification information includes a target ID, and the local verification information includes a local ID; the self-mobile device compares the target verification information and the local verification information to obtain a comparison result, which includes: the self-mobile device compares the target ID and the local ID to obtain a comparison result;
[0069] When the comparison result is inconsistent, acquiring the target map and determining the target map as the working map includes:
[0070] When the target ID and the local ID are inconsistent, the target map is downloaded and the target map is determined as the working map.
[0071] Specifically, the self-mobile device compares the target ID and the local ID to determine whether the target ID and the local ID are consistent. If the target ID and the local ID are inconsistent, it means that the local map stored in the self-mobile device is not the working map expected by the user. In this case, the target map is downloaded and the target map is determined as the working map.
[0072] In the embodiment of the present disclosure, the ID of the map may be created by controlling the device, that is, when creating a new map, the user may create a corresponding ID for the map to be created by controlling the device.
[0073] In the disclosed embodiment, when the self-mobile device determines that the target ID included in the work instruction is inconsistent with the local ID corresponding to the locally stored local map, it downloads the target map and determines the target map as the work map, so as to first determine whether the target map needs to be downloaded by verifying the information, thereby downloading the target map only when needed, and there is no need to directly send the target map to the self-mobile device first, thereby saving resource consumption and improving control efficiency.
[0074] In a possible implementation manner, the target verification information further includes a target verification value corresponding to the target map, and the local verification information further includes a local verification value corresponding to the local map;
[0075] When the comparison result is inconsistent, acquiring the target map and determining the target map as the working map further includes:
[0076] When the target ID and the local ID are consistent, comparing the target check value and the local check value;
[0077] When the target check value and the local check value are inconsistent, the target map is downloaded, and the target map is determined as the working map.
[0078] Specifically, the self-mobile device compares the target ID and the local ID to determine whether the target ID and the local ID are consistent, and when the target ID and the local ID are consistent, compares the target check value and the local check value. If the target check value and the local check value are inconsistent, it means that the local map stored in the self-mobile device is not the working map expected by the user, then the target map is downloaded, and the target map is determined as the working map.
[0079] In the disclosed embodiment, the verification value of the map may be generated by a cloud server, a control device, or a mobile device, that is, when a map is modified or created, or a new map is received, the verification value of the map may be automatically generated.
[0080] In the disclosed embodiment, when the self-mobile device determines that the target ID contained in the work instruction is consistent with the local ID corresponding to the locally stored local map, it compares the target verification value contained in the work instruction with the local verification value corresponding to the local map, and when the target verification value and the local verification value are inconsistent, downloads the target map and determines the target map as the work map, so that the target map is downloaded only when needed, and there is no need to directly send the target map to the self-mobile device first, thereby saving resource consumption and improving control efficiency.
[0081] In one example, if the cloud server stores the target map, downloading the target map from the mobile device may include: the mobile device sends a download request for the target map to the cloud server; the cloud server sends the target map to the mobile device in response to the download request; the mobile device receives the target map sent by the cloud server. In one example, if the control device stores the target map, downloading the target map from the mobile device may include: the mobile device sends a download request for the target map to the control device; the control device sends the target map to the mobile device in response to the download request; the mobile device receives the target map sent by the control device.
[0082] In a possible implementation manner, the target verification information further includes a target verification value; and the method further includes:
[0083] After downloading the target map, generating a reference check value according to the target map;
[0084] When the reference check value is consistent with the target check value, determining the target map as the working map;
[0085] When the reference check value is inconsistent with the target check value, return to the step of downloading the target map.
[0086] Specifically, after downloading the target map, the self-mobile device can generate a reference verification value based on the target map. The reference verification value can be used to characterize the download integrity of the target map. When the reference verification value is consistent with the target verification value, it means that the target map has been completely downloaded, and the target map is determined as the working map; when the reference verification value is inconsistent with the target verification value, it means that the target map has not been completely downloaded, and the step of downloading the target map is returned.
[0087] In the disclosed embodiment, the check value may be generated by a cumulative sum check algorithm. The communication quality of the self-mobile device may be poor, which may result in failure to completely download the target map. Therefore, after downloading the target map, the self-mobile device may generate a reference check value and compare the reference check value with the target check value to determine whether the target map has been completely downloaded.
[0088] In the disclosed embodiment, after the mobile device downloads the target map, a reference check value is generated according to the target map, and the reference check value is compared with the target check value, and corresponding operations are performed according to the comparison result, thereby improving control accuracy.
[0089] In a possible implementation, in step S104, the self-mobile device determines the working map according to the comparison result, which may include: when the comparison result is consistent, determining the local map as the working map.
[0090] Specifically, when the self-mobile device detects that the target verification information is consistent with the local verification information, it indicates that the local map stored in the self-mobile device is the working map expected by the user, and the local map is directly determined as the working map.
[0091] The disclosed embodiment directly determines the local map as the working map when the target verification information is consistent with the local verification information, thereby eliminating the need to repeatedly obtain or receive maps and improving control efficiency.
[0092] In a possible implementation, the method further includes:
[0093] The control device determines a stored first map;
[0094] The control device obtains and stores a second map in response to an editing operation on the first map;
[0095] The at least one user map comprises at least one of the second maps.
[0096] In the disclosed embodiment, the first map is stored in the control device, and the first map may be cached in the control device, or the first map may be downloaded and saved in the control device. When a user needs to edit a map through the control device, the control device may determine the first map to be edited in response to the user's map selection operation, and obtain and store the second map in response to the editing operation on the first map. The at least one user map includes at least one second map, and the target map may be any one of the at least one second maps. In actual application, the control device may select the target map in the final draft of the user map.
[0097] In one example, the editing operation includes at least one of the following: splitting, merging, shrinking, expanding, deleting, copying, and modifying parameters. The modifying parameters may be modifying charging station attributes, such as modifying the charging station attributes to be an in-boundary charging station, an out-boundary charging station, or a sun shed charging station.
[0098] The control device of the embodiment of the present disclosure can achieve the purpose of modifying the map by editing the map, thereby improving the user experience.
[0099] In a possible implementation manner, the cloud server stores the first map; and the method further includes:
[0100] The control device sends editing operation information to the cloud server;
[0101] The cloud server generates the second map according to the editing operation information and the first map, and sends the second map to the control device.
[0102] In the embodiment of the present disclosure, after receiving the editing operation on the first map, the control device may send the editing operation information to the cloud server, and the cloud server generates the second map according to the editing operation information and the first map, and sends the second map to the control device, so that the control device obtains the second map generated after editing. The editing operation information may include the ID of the first map.
[0103] The control device of the disclosed embodiment sends editing operation information to the cloud server so as to edit the first map through the cloud server to generate the second map, thereby improving the speed of map modification and reducing the resource utilization of the control device.
[0104] In a possible implementation, the verification information of the second map includes ID information of the second map and a verification value, and the ID information of the second map is the same as the ID information of the first map; and the method further includes:
[0105] After generating the second map, the cloud server generates and stores a verification value in the verification information of the second map.
[0106] In the embodiment of the present disclosure, after obtaining the second map, the cloud server may generate a check value of the second map according to the second map, and store the check value of the second map. In one example, after generating and storing the check value of the second map, the cloud server deletes the first map to reduce resource usage. In one example, the cloud server may also retain the first map to facilitate tracing back the historical version of the map.
[0107] In a possible implementation, the method further includes:
[0108] The control device deletes the first map after storing the second map.
[0109] Specifically, since the second map is generated after editing the first map, that is, the second map can be regarded as the updated first map, the control device can directly delete the first map after storing the second map to reduce resource consumption. In one example, the control device can also retain the first map to facilitate tracing the historical version of the map.
[0110] In a possible implementation, step S105 in which the self-mobile device works according to the work map may include: the self-mobile device moves and performs work tasks according to the work map; or, the self-mobile device builds a map according to the work map to generate a third map; the self-mobile device sends the third map so that the control device stores the third map.
[0111] Specifically, when the work instruction instructs the self-mobile device to perform a work task, the self-mobile device moves according to the work map and performs the work task to achieve work according to the work map. When the work instruction instructs the self-mobile device to build a map, the self-mobile device builds a map according to the work map under the movement of the user to generate a third map, and sends out the third map so that the control device stores the third map. In one example, the self-mobile device collects location data and builds a map based on GPS or RTK technology, and performs positioning while working based on GPS or RTK technology. In other examples, the self-mobile device may also use other positioning technologies.
[0112] In the disclosed embodiment, the third map can be used as the first map in the subsequent process and can be modified by the control device. The control device can be to select the target map in the final draft (edited or frozen map), and the selected target map is used to perform work tasks such as cutting. The control device can be to select the target map in the draft (unfrozen map), and the selected target map is used to build the map. In one example, the sending of the third map from the mobile device may include the sending of the third map from the mobile device to the cloud server; the cloud server receives the third map and sends the third map to the control device. In one example, after receiving the third map, the cloud server can generate a verification value in the verification information of the third map based on the third map, and store the third map and the verification information of the third map.
[0113] In a possible implementation, the method may further include:
[0114] The control device deletes the working map after storing the third map.
[0115] In the disclosed embodiment, after receiving and storing the third map, the control device deletes the working map to reduce resource usage.
[0116] The control method in this application is described below through a specific application scenario. The control device in this scenario is Figure 2 and Figure 3 The smart phone 11 shown in the figure is a mobile device. Figure 2 and Figure 3 The lawn mower 12 is shown. It should be noted that this application scenario is only for illustrating an embodiment of the present application and does not constitute any limitation to the present application.
[0117] like Figure 2As shown, after receiving the task of mowing the lawn, the staff first creates a map. The staff can first create the ID of the map A to be built through the smartphone, and generate a new map instruction including the ID of the map A to be built. The smartphone sends the new map instruction to the cloud server, which stores the ID of the map A to be built and sends the ID of the map A to be built and the map building instruction to the lawn mower. The lawn mower moves under the control of the user and records the locations of the places passed during the movement to generate the corresponding map A. After the map is built, the lawn mower sends the ID of the map to be built and map A to the cloud server. The cloud server stores map A and generates and stores the checksum value of map A (recorded as checksum_1). After detecting that the map is built, the smartphone can automatically obtain map A from the cloud server.
[0118] If the staff needs to modify map A, they can edit the operation information in the smartphone, and the smartphone will send the edit operation information and the ID of map A to the cloud server. The cloud server edits the draft of map A according to the edit operation information, generates a new map (hereinafter referred to as map A*), and generates and stores the checksum value of map A* (referred to as checksum_2). After the smartphone detects that the map editing is completed, it can automatically obtain map A* from the cloud server.
[0119] If the staff needs to continue to build map A, they select the draft of map A from the smartphone and send the map construction instruction including the ID of map A to the cloud server. After receiving the map construction instruction, the cloud server sends the map construction instruction including the ID of map A and checksum_1 to the lawn mower. After receiving the map construction instruction, the lawn mower determines whether the ID of map A contained in the map construction instruction is consistent with the ID of the locally stored map. If not, map A is downloaded from the cloud server. If the IDs are consistent, it determines whether the checksum_1 of map A is consistent with the checksum of the locally stored map. If the checksums are inconsistent, map A is downloaded from the cloud server, and the checksum value generated for the downloaded map A (hereinafter referred to as checksum_3) is compared with the checksum_1 contained in the map construction instruction. If the two are consistent, the lawn mower can continue to move under the control of the user and record the locations passed during the movement to generate the corresponding map (hereinafter referred to as map A**). Figure 3 As shown, after the lawn mower completes the map construction, it sends the ID of map A** and map A** to the cloud server. The cloud server stores map A** and generates and stores the checksum value of map A** (recorded as checksum_4). After the smartphone detects that the map construction is completed, it can automatically obtain map A** from the cloud server.
[0120] If the staff needs to mow the lawn in the area where map A** is located, they select the final draft of map A** from the smartphone and send the job instruction including the ID of map A** to the cloud server. After receiving the job instruction, the cloud server sends the job instruction including the ID of map A** and checksum_4 to the mower. After receiving the job instruction, the mower determines whether the verification information of map A** contained in the job instruction is consistent with the verification information of the locally stored map. If not, map A** is downloaded from the cloud server, and the verification value generated for the downloaded map A** (hereinafter referred to as checksum_5) is compared with the checksum_4 contained in the job instruction. If the two are consistent, the mower performs the operation according to map A**.
[0121] Figure 4 A block diagram of a self-moving control system according to an embodiment of the present disclosure is shown.
[0122] like Figure 4 As shown, the system includes a control device 110 and a self-moving device 120.
[0123] The control device 110 is used to determine a target map in at least one user map;
[0124] The self-mobile device 120 is used to receive a work instruction, which includes target verification information corresponding to the target map; compare the target verification information and local verification information to obtain a comparison result, and the local verification information corresponds to a local map stored in the self-mobile device; determine a work map based on the comparison result; and perform work according to the work map.
[0125] After receiving a work instruction including target verification information corresponding to a target map, the self-mobile device of the disclosed embodiment compares the target verification information with verification information corresponding to a locally stored local map, determines a work map according to the comparison result, and works according to the work map. This ensures that the work map determined by the self-mobile device is the map expected by the user, and achieves synchronization of maps during the control process. At the same time, the self-mobile device only needs to compare the verification information of the map to determine the work map, thereby improving control efficiency.
[0126] In one possible implementation, Figure 5 As shown, the self-mobility control system may further include a cloud server 130,
[0127] The control device 110 is further used to send the work instruction to the cloud server 130;
[0128] The cloud server 130 is used to send the work instruction to the mobile device 120 after receiving the work instruction sent by the control device 110.
[0129] Figure 6 A block diagram of a control method according to an embodiment of the present disclosure is shown.
[0130] like Figure 6 As shown, the method can be applied to a control device in a self-moving control system, and the method may include:
[0131] Step S201, determining a target map in at least one user map;
[0132] Step S202, sending a work instruction including target verification information corresponding to the target map to the self-mobile device, so that the self-mobile device compares and processes the target verification information and local verification information, and determines a work map according to the comparison result, wherein the local verification information corresponds to a local map stored in the self-mobile device.
[0133] After determining the target map, the control device of the disclosed embodiment sends a work instruction including target verification information corresponding to the target map to the self-mobile device, so that after receiving the work instruction, the self-mobile device compares the target verification information with the verification information corresponding to the local map stored locally, determines the working map according to the comparison result obtained, and works according to the working map. This can ensure that the working map determined by the self-mobile device is the map expected by the user, and achieve map synchronization during the control process. At the same time, the self-mobile device only needs to compare the verification information of the map to determine the working map, thereby improving control efficiency.
[0134] Figure 7 A block diagram of a control method according to an embodiment of the present disclosure is shown.
[0135] like Figure 7 As shown, the method can be applied to a self-moving device in a self-moving control system, and the method may include:
[0136] Step S301, receiving a work instruction, wherein the work instruction includes target verification information corresponding to the target map;
[0137] Step S302, comparing the target verification information and the local verification information to obtain a comparison result, wherein the local verification information corresponds to a local map stored in the mobile device;
[0138] Step S303, determining a work map according to the comparison result;
[0139] Step S304, performing work according to the work map.
[0140] After receiving a work instruction including target verification information corresponding to a target map, the self-mobile device of the disclosed embodiment compares the target verification information with verification information corresponding to a locally stored local map, determines a work map according to the comparison result, and works according to the work map. This ensures that the work map determined by the self-mobile device is the map expected by the user, and achieves synchronization of maps during the control process. At the same time, the self-mobile device only needs to compare the verification information of the map to determine the work map, thereby improving control efficiency.
[0141] An embodiment of the present disclosure further provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein the computer program, when executed by the processor, implements the control method described in any one of the embodiments of the present disclosure.
[0142] Based on the same inventive concept as the above-mentioned embodiment, this embodiment further provides a computer storage medium, in which a computer program is stored. The computer storage medium may be a ferromagnetic random access memory (FRAM), 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), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM) or the like; it may also be various devices including one or any combination of the above-mentioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc. When the computer program stored in the computer storage medium is executed by the processor, the control method described in any one of the embodiments of the present disclosure is implemented. For the specific steps implemented when the computer program is executed by the processor, please refer to Figure 6 and 7 The description of the illustrated embodiment will not be repeated here.
[0143] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0144] In this document, the terms "comprises," "comprising," or any other variations thereof, are intended to cover a non-exclusive inclusion of elements other than those listed and may also include additional elements not expressly listed.
[0145] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A control method, applied to a self-moving control system, the system comprising a control device and a self-moving device, characterized in that: The method comprises: The control device determines a target map in at least one user map; The mobile device receives a work instruction, wherein the work instruction includes target verification information corresponding to the target map; The self-mobile device compares the target verification information and the local verification information to obtain a comparison result, wherein the local verification information corresponds to a local map stored in the self-mobile device; The self-mobile device determines a working map according to the comparison result; The self-mobile device works according to the work map.
2. The method according to claim 1, characterized in that The self-mobile device determines the working map according to the comparison result, including: When the comparison result is inconsistent, the target map is acquired and the target map is determined as the working map.
3. The method according to claim 2, characterized in that The system further includes a cloud server, and the method further includes: After receiving the work instruction sent by the control device, the cloud server sends the work instruction to the mobile device.
4. The method according to claim 1, characterized in that: The method further comprises: The control device determines a stored first map; The control device obtains and stores a second map in response to an editing operation on the first map; The at least one user map comprises at least one of the second maps.
5. The method according to claim 4, characterized in that The system further includes a cloud server, and the cloud server stores the first map; the method further includes: The control device sends editing operation information to the cloud server; The cloud server generates the second map according to the editing operation information and the first map, and sends the second map to the control device.
6. The method according to claim 5, characterized in that The verification information of the second map includes ID information of the second map and a verification value, and the ID information of the second map is the same as the ID information of the first map; the method further includes: After generating the second map, the cloud server generates and stores a verification value of the second map.
7. The method according to claim 4, characterized in that The method further includes: the control device deleting the first map after storing the second map.
8. The method according to claim 1, characterized in that The self-mobile device determines the working map according to the comparison result, including: When the comparison result is consistent, the local map is determined as the working map.
9. The method according to claim 1, characterized in that: The at least one user map includes at least one map corresponding to each work area; or, the at least one user map includes at least one version of the same map; or, the at least one user map corresponds to different locations.
10. The method according to claim 1, characterized in that The self-mobile device works according to the work map, including: The self-mobile device moves according to the work map and performs the work task; or, The self-mobile device builds a map according to the working map to generate a third map; The third map is sent from the mobile device so that the control device stores the third map.
11. The method according to claim 10, characterized in that The method further includes: the control device deleting the working map after storing the third map.
12. The method according to claim 4, characterized in that The editing operation includes at least one of the following: splitting, merging, shrinking, expanding, deleting, copying and modifying parameters.
13. The method according to claim 2, characterized in that The target verification information includes a target ID, and the local verification information includes a local ID; The self-equipment compares the target verification information and the local verification information to obtain a comparison result, which includes: the self-equipment compares the target ID and the local ID to obtain a comparison result; When the comparison result is inconsistent, obtaining the target map and determining the target map as the working map includes: When the target ID and the local ID are inconsistent, the target map is downloaded and the target map is determined as the working map.
14. The method according to claim 13, characterized in that The target verification information further includes a target verification value corresponding to the target map, and the local verification information further includes a local verification value corresponding to the local map; When the comparison result is inconsistent, acquiring the target map and determining the target map as the working map further includes: When the target ID and the local ID are consistent, comparing the target check value and the local check value; When the target check value and the local check value are inconsistent, the target map is downloaded, and the target map is determined as the working map.
15. The method according to claim 13, characterized in that The target verification information also includes a target verification value; The method further comprises: After downloading the target map, generating a reference check value according to the target map; When the reference check value is consistent with the target check value, determining the target map as the working map; When the reference check value is inconsistent with the target check value, return to the step of downloading the target map.
16. A self-moving control system, the system comprising a control device and a self-moving device, characterized in that: The control device is used to determine a target map in at least one user map; The self-mobile device is used to receive a work instruction, the work instruction includes target verification information corresponding to the target map; compare the target verification information and local verification information to obtain a comparison result, the local verification information corresponds to a local map stored in the self-mobile device; determine a work map according to the comparison result; and perform work according to the work map.
17. A control method, applied to a control device in a self-moving control system, characterized in that: The method comprises: determining a target map in at least one user map; A work instruction including target verification information corresponding to the target map is sent to the self-mobile device, so that the self-mobile device compares and processes the target verification information and local verification information, and determines a work map according to the comparison result, wherein the local verification information corresponds to the local map stored in the self-mobile device.
18. A control method, applied to a self-moving device in a self-moving control system, characterized in that: The method comprises: receiving a work instruction, the work instruction including target verification information corresponding to the target map; Comparing the target verification information and the local verification information to obtain a comparison result, wherein the local verification information corresponds to a local map stored in the mobile device; determining a working map according to the comparison result; Work according to the work map.
19. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable by the processor, wherein the computer program implements the control method according to claim 17 or 18 when executed by the processor.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which is loaded and executed by the processor to implement the control method according to claim 17 or 18.
