Control method of mobile equipment and related equipment

By using non-satellite positioning technology and a camera to identify open areas in the lawn mowing robot, the problem of poor satellite positioning signals caused by occlusion on the lawn is solved, and precise positioning and walking efficiency are improved when the signal does not meet the conditions.

CN118625810APending Publication Date: 2024-09-10SHENZHEN MAMMOTION INNOVATION CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410801985.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

When the lawn mowing robot is blocked by houses, trees, etc. on the lawn, the satellite positioning signal is poor, which affects the walking accuracy. It is difficult to effectively solve the problem with existing technology.

Method used

By setting a preset path in the mobile device, the satellite positioning signal is used to move along the path when the conditions are met. When the signal does not meet the conditions, non-satellite positioning technology is used to continue moving. The camera collects environmental images to identify the sky area, determine the open position, and adjust the movement. The device location meets the conditions to restore satellite positioning signals.

Benefits of technology

When the satellite positioning signal does not meet the conditions, the mobile device can maintain precise positioning within a certain distance, find open areas, and improve the accuracy and efficiency of the lawn mower robot's walking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625810A
    Figure CN118625810A
Patent Text Reader

Abstract

The embodiment of the invention discloses a control method of mobile equipment and related equipment. The method comprises the following steps: controlling the mobile equipment to move along a preset path; when the mobile device moves to the position where the satellite positioning signal does not meet the preset condition, the mobile device is controlled to continue to move along the preset path, and the distance between the position of the mobile device and the nearest first position is determined in the process of continuing to move along the preset path; when the distance is equal to the remaining sustainable mileage, if the satellite positioning signal does not meet a preset condition, controlling the mobile device to stop moving, collecting a first environment image in at least one direction through a camera, identifying a sky area in the first environment image, and determining a second position corresponding to the sky area; and if the distance between the mobile device and the second position is smaller than or equal to the remaining sustainable mileage, controlling the mobile device to move towards the second position, so that the mobile device detects that a satellite positioning signal meets a preset condition at the moved position.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of robotics technology, and in particular to a control method for a mobile device and related devices. Background Art

[0002] In the prior art, during the operation of the lawn mower robot, the lawn is blocked by houses, trees, etc., resulting in poor satellite positioning signals, which affects the satellite positioning accuracy. Therefore, how to solve the problem of inaccurate satellite positioning when blocked, which affects the walking of the lawn mower robot, needs to be solved urgently. Summary of the invention

[0003] The embodiments of the present application provide a control method for a mobile device and related devices, which can solve the problem of inaccurate satellite positioning when blocked, which affects the walking of a lawn mowing robot.

[0004] In a first aspect, an embodiment of the present application provides a method for controlling a mobile device, the method comprising:

[0005] Controlling the mobile device to move along a preset path;

[0006] When the mobile device moves to a position where the satellite positioning signal does not meet a preset condition, controlling the mobile device to continue to move along the preset path, and determining the distance between the position of the mobile device and a nearest first position during the process of continuing to move along the preset path;

[0007] When the distance is equal to the remaining renewable mileage, if the satellite positioning signal does not meet the preset condition, the mobile device is controlled to stop moving, and a first environment image in at least one direction is collected by a camera, a sky area in the first environment image is identified, and a second position corresponding to the sky area is determined, wherein the remaining renewable mileage is obtained based on the preset renewable mileage and the mileage of the mobile device continuing to move along the preset path;

[0008] If the distance between the mobile device and the second position is less than or equal to the remaining life mileage, the mobile device is controlled to move toward the second position so that the mobile device detects a satellite positioning signal that meets the preset condition at the position after the movement.

[0009] In a second aspect, an embodiment of the present application provides a control device for a mobile device, the control device for the mobile device comprising: a first control unit, a determination unit, and a second control unit, wherein:

[0010] The first control unit is used to control the mobile device to move along a preset path; when the mobile device moves to a position where the satellite positioning signal does not meet a preset condition, control the mobile device to continue to move along the preset path, and determine the distance between the position of the mobile device and the nearest first position during the process of continuing to move along the preset path;

[0011] The determining unit is configured to, when the distance is equal to the remaining life mileage, if the satellite positioning signal does not meet the preset condition, control the mobile device to stop moving, and collect a first environment image in at least one direction through a camera, identify a sky area in the first environment image, and determine a second position corresponding to the sky area, wherein the remaining life mileage is obtained based on a preset life mileage and a mileage of the mobile device continuing to move along the preset path;

[0012] The second control unit is used to control the mobile device to move toward the second position if the distance between the mobile device and the second position is less than or equal to the remaining life mileage, so that the mobile device detects a satellite positioning signal that meets the preset condition at the position after the movement.

[0013] In a third aspect, an embodiment of the present application provides a mobile device, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.

[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium 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 the first aspect of the embodiment of the present application.

[0015] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application. The computer program product may be a software installation package.

[0016] The implementation of the embodiments of the present application has the following beneficial effects:

[0017] The control method and related devices of a mobile device described in the present application control the mobile device to move along a preset path. When the mobile device moves to a position where a satellite positioning signal does not meet a preset condition, the mobile device is controlled to continue to move along the preset path. During the process of continuing to move along the preset path, the distance between the position of the mobile device and a nearest first position is determined. When the distance is equal to the remaining sustainable mileage, if the satellite positioning signal does not meet the preset condition, the mobile device is controlled to stop moving, and a first environmental image in at least one direction is captured by a camera, a sky area in the first environmental image is identified, and a second position corresponding to the sky area is determined. The remaining sustainable mileage is obtained based on the preset sustainable mileage and the mileage of the mobile device continuing to move along the preset path. If the distance between the mobile device and the second position is less than or equal to the remaining sustainable mileage, the mobile device is controlled to move to the second position, so that the mobile device detects that the satellite positioning signal meets the preset condition at the position after the movement. Furthermore, when the satellite positioning signal does not meet the condition, the mobile device can also maintain accuracy within a certain distance. Accurate positioning means that the position of an open area can be found within a certain distance to be maintained, that is, the nearest first position. When the distance between the position of the mobile device and it is equal to the remaining sustainable mileage, it means that if the mobile device does not go to the first position, it may cause the subsequent first position to be greater than the remaining sustainable mileage. The mobile device cannot accurately reach the first position. Therefore, when the distance between the mobile device and the first position is equal to the remaining sustainable mileage, the satellite positioning signal still does not meet the conditions. After the mobile device stops moving, it rotates in situ to take pictures and finds the second position. If the distance between the mobile device and the second position is less than or equal to the remaining sustainable mileage, it goes to the second position. Among them, rotating in situ to find the second position is to determine whether there is an open area closer than the stored nearest first position. Going to a closer open area can make the positioning position of the mobile device when it returns to the initial point (the position where the mobile device stops moving) more accurate, that is, satellite positioning can be used again in the open area, which can solve the problem of inaccurate satellite positioning when blocked, affecting the walking of the lawn mower robot. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 paying creative work.

[0019] Figure 1A It is a flowchart of a control method of a mobile device provided in an embodiment of the present application;

[0020] Figure 1Bis a schematic diagram for demonstrating a sky area in an environment image provided by an embodiment of the present application;

[0021] Figure 1C It is a demonstration schematic diagram of a maximum inscribed circle provided in an embodiment of the present application;

[0022] Figure 1D It is a demonstration schematic diagram of a first position provided in an embodiment of the present application;

[0023] Figure 1E is another demonstration schematic diagram of a first position provided in an embodiment of the present application;

[0024] Figure 1F This is a schematic diagram of a scenario demonstration of a method for controlling a mobile device provided in an embodiment of the present application;

[0025] Figure 2 is a flow chart of another method for controlling a mobile device provided in an embodiment of the present application;

[0026] Figure 3 It is a structural schematic diagram of a mobile device provided in an embodiment of the present application;

[0027] Figure 4 It is a block diagram of the functional units of a control device of a mobile device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, 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", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0030] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0031] In the embodiment of the present application, the mobile device may be equipped with a satellite positioning device, a non-satellite positioning device and a camera. The satellite positioning device may be used to achieve positioning using satellite positioning technology, such as real-time kinematic (RTK) technology, and the non-satellite positioning device may achieve positioning using non-satellite positioning technology. Specifically, when the satellite positioning signal does not meet the preset conditions, the non-satellite positioning technology may be used to achieve positioning through the non-satellite positioning device. Conversely, when the satellite positioning signal meets the preset conditions, the satellite positioning technology may be used to achieve positioning through the satellite positioning device. The camera may be used to capture environmental images. The camera may include a rear-view camera with a lens facing the upper back of the mobile device.

[0032] Among them, the non-satellite positioning technology may include at least one of the following: visual positioning, inertial measurement unit (IMU) positioning, visual-inertial odometer (VIO) positioning, etc., which are not limited here.

[0033] The following is a detailed description of the embodiments of the present application.

[0034] See also Figure 1A , Figure 1A 1 is a flow chart of a control method of a mobile device provided in an embodiment of the present application. As shown in the figure, the control method of the mobile device includes:

[0035] 101. Control the mobile device to move along a preset path.

[0036] The preset path may be a pre-planned path or a system default planned path.

[0037] In a specific implementation, the mobile device may include a lawn mower robot, which may be controlled to walk along a planned path and perform lawn mowing operations. When the mobile device moves to a location where a satellite positioning signal meets a preset condition, the satellite positioning technology is used to control the mobile device to move along the preset path. When the mobile device moves to a location where a satellite positioning signal does not meet the preset condition, a non-satellite positioning technology is used to control the mobile device to move along the preset path.

[0038] 102. When the mobile device moves to a position where the satellite positioning signal does not meet a preset condition, control the mobile device to continue moving along the preset path, and determine the distance between the position of the mobile device and a nearest first position during the process of continuing to move along the preset path.

[0039] In the embodiment of the present application, the preset condition can be preset or set by the system default. The signal quality of the satellite positioning signal will affect the accuracy of satellite positioning, and the preset condition is used to evaluate the signal quality. For example, if the signal strength of the satellite positioning signal is greater than the preset signal strength threshold, it means that the signal quality of the satellite positioning signal meets the preset condition. On the contrary, if the signal strength of the satellite positioning signal is less than or equal to the preset signal strength threshold, it means that the signal quality of the satellite positioning signal does not meet the preset condition. The preset signal strength threshold can be preset or set by the system default.

[0040] The satellite positioning signal may include a real-time kinematic (RTK) signal.

[0041] In a specific implementation, when the mobile device moves to a position where the satellite positioning signal does not meet the preset conditions, the non-satellite positioning technology is used to control the mobile device to continue to move along the preset path, and in the process of continuing to move along the preset path, the distance between the position of the mobile device and the nearest first position is determined. The first position has an open space above it, which is convenient for receiving satellite positioning signals.

[0042] The nearest first position is the one closest to the mobile device among the stored first positions, and during the movement of the mobile device, the first position closest to the mobile device may or may not change due to the change in the position of the mobile device.

[0043] To illustrate by way of example, a mobile device can determine the distance between the position of the mobile device and multiple stored first positions, can obtain at least one distance, can select the minimum value of at least one distance, and the first position corresponding to the minimum value is the nearest first position. Since the position of the mobile device is changing, the distance between the position of the mobile device and the first position is also changing. Therefore, the first position closest to the mobile device may or may not change.

[0044] Optionally, the first position is the projection coordinates of a sky area in a second environment image captured by a camera of the mobile device on the ground.

[0045] The mobile device may include a rear-view camera with a lens facing upward and rearward of the mobile device, which may be used to find a location with an open sky that does not block satellite signals.

[0046] In an embodiment of the present application, the camera of the mobile device can be controlled to shoot at preset time intervals to obtain an environmental image, and the projection coordinates of the sky area in the environmental image on the ground can be stored as a first position, so as to use the first position to guide the mobile device to an open area, that is, satellite positioning can be used again in the open area.

[0047] The preset time interval may be preset or set by system default.

[0048] The second environment image may be an image captured when a task was previously performed in the same area, or the second environment image may be an image captured when the task is currently performed along a preset path.

[0049] Optionally, the first position is the projection coordinates of the center of the maximum inscribed circle of the sky area in the second environment image on the ground.

[0050] The first position may be the projection coordinates of the center of the largest inscribed circle of the sky area in the second environment image on the ground. The center of the circle is chosen because it is believed that the satellite signal at the center of the circle is the best.

[0051] Optionally, the following steps may also be included:

[0052] When the mobile device moves along the preset path, at least one second environment image is captured by the camera, and at least one first position is stored.

[0053] In an embodiment of the present application, when the mobile device moves along a preset path, at least one environment image can be captured by a camera, a corresponding first position can be acquired using the environment image, and at least one first position can be stored.

[0054] Optionally, the above step of capturing at least one second environment image by the camera when the mobile device moves along the preset path and storing at least one first position may be implemented as follows:

[0055] During the movement of the mobile device along the preset path, at least one second environment image is captured by the camera, and the maximum inscribed circle of the sky area in the second environment image is taken. When the radius of the maximum inscribed circle is greater than the first preset radius, the coordinates of the center of the maximum inscribed circle projected on the ground are stored as the first position.

[0056] Among them, the first preset radius can be pre-set or the system defaults, and the first preset radius is to ensure that the sky area is large enough and open enough. Eliminate some smaller sky areas. In a specific implementation, when the mobile device moves along a preset path, at least one environmental image can be captured by a camera, wherein each environmental image can have k sky areas, and the first position is extracted for each environmental image respectively. Furthermore, the first position can also be one or more, k is a natural number, for example, k is 0, 1, 2, etc., and the maximum inscribed circle of the sky area in the environmental image is taken. When the radius of the maximum inscribed circle is greater than the first preset radius, the coordinates of the center of the maximum inscribed circle projected on the ground are stored as the first position.

[0057] For example, if there is no object blocking the environment, the entire area in the environment image will be the sky area. Due to the presence of other objects in the environment (such as houses and trees), one sky area will be divided into multiple sky areas by other objects, such as Figure 1B As shown, there may be multiple sky regions in the environment image.

[0058] The center of the circle is chosen because the satellite signal at the center of the circle is considered to be the best. Since the area surrounding the sky is the non-sky area, this area is blocked by surrounding obstacles, resulting in poor satellite positioning. Taking the center of the circle can be understood to a certain extent that the position corresponding to the circle is less affected by surrounding obstacles, and therefore, the satellite signal is the best.

[0059] For example, Figure 1C As shown, the rectangle can represent the environment image, the ellipse can represent the sky area, and the circle can represent the maximum inscribed circle of the sky area. Figure 1D As shown, the mobile device may include a rear-view camera, which is used to shoot the sky to obtain an environment image, and the coordinate O' of the center O of the inscribed circle of the sky area of ​​the environment image projected on the ground is stored as the first position.

[0060] To illustrate with an example, in a specific implementation, when a mobile device moves along a preset path, the rear-view camera can be used to continuously capture environmental images to obtain the maximum inscribed circle of the sky area in the environmental image, that is, to identify the sky area in the environmental image and then determine the maximum inscribed circle of the sky area. When the radius of the maximum inscribed circle is greater than a first preset radius, the center coordinates of the maximum inscribed circle projected on the grass are recorded as the first position. Conversely, when the radius of the maximum inscribed circle is less than or equal to the first preset radius, the center coordinates of the maximum inscribed circle projected on the grass may not be recorded.

[0061] In a specific implementation, the projection coordinates of the center of the inscribed circle in the sky area on the ground can be determined by referring to the following method, wherein the method for determining the projection coordinates of the center of the inscribed circle in the sky area on the ground can be specifically: by identifying the spatial coordinates (X1, Y1, Z1) of the obstacle through the image, calculating the offset (ΔX, ΔY) between the pixel coordinates of the obstacle and the pixel coordinates of the center of the inscribed circle in the sky area, and determining the projection coordinates (X1+ΔX', Y1+ΔY') of the center of the inscribed circle on the ground based on the offset and the spatial coordinates (X1, Y1, Z1) of the obstacle. X1, Y1 are ground coordinates, and Z1 is a height coordinate. (ΔX', ΔY') and the offset (ΔX, ΔY) have a preset mapping relationship.

[0062] For example, in Figure 1D Based on Figure 1E , point T is the position of the obstacle, and its corresponding spatial coordinates are (X1, Y1, Z1); T' is the projection of the obstacle's position on the ground, that is, (X1, Y1, 0). Since projection processing is ultimately required, the height can be ignored. The spatial two-dimensional coordinates corresponding to point O are (X2, Y2). Therefore, the spatial two-dimensional coordinates of point O' are also (X2, Y2). The offset (ΔX, ΔY) can be calculated as follows: ΔX = X component of the pixel coordinate of point O - X component of the pixel coordinate of point T, ΔY = Y component of the pixel coordinate of point O - Y component of the pixel coordinate of point T. Then, through the preset mapping relationship, the offset of the spatial coordinate (ΔX', ΔY') can be obtained according to the offset of the pixel coordinate (ΔX, ΔY). Then, the coordinates of point O' can be obtained as (X1+ΔX', Y1+ΔY').

[0063] Specifically, the rearview camera can be used to capture environmental images at preset time intervals. The preset time interval can be pre-set or system default, which is equivalent to obtaining the maximum inscribed circle of the sky area in the environmental image at preset time intervals, that is, identifying the sky area in the environmental image, and then determining the maximum inscribed circle of the sky area. When the radius of the maximum inscribed circle is greater than the first preset radius, the center coordinates of the maximum inscribed circle projected on the grass are recorded as the first position. Because of continuous recording, a first position list will be recorded, consisting of multiple first positions that meet the requirements.

[0064] In a specific implementation, the satellite positioning signal may include a satellite signal. Taking a lawn mower robot as an example, when the lawn mower robot is performing a lawn mowing operation along a preset path, if the satellite signal is strong, satellite positioning is used to enable the lawn mower robot to walk along the preset path. When walking along the preset path, the lawn mower robot continuously captures the environment image through the rear-view camera, takes the maximum inscribed circle of the sky area in the image, and if the inscribed circle is larger than the first preset radius, the center coordinates of the inscribed circle are recorded as the first position, and the first position specifically refers to the coordinates of the center coordinates projected onto the grass.

[0065] Optionally, when there are trees and houses in the operating area of ​​the mobile device, the following steps may also be included:

[0066] Obtaining the tree heights and building heights in the operation area;

[0067] The first preset radius is determined according to the tree height and the house height.

[0068] When there are trees and houses in the robot's operating area, the tree height may refer to the average height of all trees or the height of one of the trees. The house height may refer to the average height of all houses or the height of one of the houses.

[0069] In an embodiment of the present application, when there are trees and houses in the operating area of ​​the mobile device, the first preset radius can be determined according to the height of the trees and the height of the houses. In this way, the corresponding first preset radius can be determined based on the actual environment, which helps to improve the accuracy of identifying open areas.

[0070] Optionally, the above step of determining the first preset radius according to the tree height and the house height may be implemented as follows:

[0071] The first preset radius is determined according to the following formula:

[0072] The first preset radius = tree height / house height×π / 4.

[0073] In a specific implementation, the first preset radius = tree height / house height × π / 4. For example, the heights of trees or houses that may affect the signal in the operating area may be obtained in advance, and the average height of these objects may be calculated to calculate the first preset radius. In this way, the corresponding first preset radius may be determined based on the actual environment, which helps to improve the accuracy of identifying open areas.

[0074] 103. When the distance is equal to the remaining life mileage, if the satellite positioning signal does not meet the preset condition, the mobile device is controlled to stop moving, and a first environmental image in at least one direction is captured by a camera, a sky area in the first environmental image is identified, and a second position corresponding to the sky area is determined, wherein the remaining life mileage is obtained based on the preset life mileage and the mileage that the mobile device continues to move along the preset path.

[0075] The preset life extension range can be preset or set by system default. It can be considered that within the preset life extension range, accurate positioning can be ensured within the preset life extension range through non-satellite positioning technology. For example, the preset life extension range can be determined to be 100 meters based on the performance of the IMU device or the VIO device.

[0076] In a specific implementation, the initial point is the position of the mobile device when the distance between the position of the mobile device and the nearest first position is equal to the remaining life mileage. For safety reasons, high-precision positioning needs to be maintained in the process from the initial point to the first position to prevent the mobile device from falling into a restricted area or walking out of the lawn. Therefore, the embodiment of the present application goes to the nearest first position when the distance is equal to the remaining life mileage, which can ensure that the mobile device maintains high-precision positioning in the process from the initial point to the first position.

[0077] To illustrate, taking the mobile device as a lawn mower robot, when the satellite positioning signal does not meet the conditions, the lawn mower robot can still maintain accurate positioning within a certain distance. When the distance between the lawn mower robot and the nearest first position is equal to the remaining life mileage, the nearest first position can be used as a backup. Specifically, if a second position closer than the nearest first position can be found by rotating the captured environment image in situ, the mobile device is controlled to go to the second position. If there is no closer second position, the lawn mower robot is controlled to go to the nearest first position.

[0078] In addition, in order to reduce the number of times the mowing robot goes from the preset path to the first position and ensure the efficiency of the mowing robot in mowing on the preset path, if the mowing robot continues to move a short distance along the preset path and then goes to the first position when the satellite signal is poor, it will cause the mowing robot to frequently go to the first position, resulting in low mowing efficiency. It is also unnecessary for the mowing robot to go to the first position as soon as the satellite signal is poor, because the coordinates obtained by the mowing robot positioning are still accurate when the satellite signal is poor, and there is no need to go to the first position to calibrate the coordinates obtained by the current positioning.

[0079] In the embodiment of the present application, the remaining renewable mileage is obtained based on the preset renewable mileage and the mileage that the mobile device continues to move along the preset path. When the distance is equal to the remaining renewable mileage, if it is detected that the satellite positioning signal does not meet the preset conditions, the mobile device is controlled to move to the nearest first position, so that the mobile device detects that the satellite positioning signal meets the preset conditions at the position after the movement, and the first position is used to guide the mobile device to an open area (an area where the satellite positioning signal meets the preset conditions), that is, satellite positioning can be used again in the open area. In this way, the coordinates obtained by satellite positioning in the open area can be used to calibrate the position of the mobile device, thereby improving the positioning accuracy, and solving the problem of inaccurate satellite positioning when blocked, which affects the walking of the lawn mowing robot.

[0080] Among them, the open area can be understood as an area with good satellite positioning signal quality.

[0081] To illustrate, in a specific implementation, if the satellite signal is poor during the walking process on the preset path, VIO positioning is used to extend the life, that is, after the satellite signal is poor, the mobile device can still walk a preset 100-meter life-extending mileage, and within the preset life-extending mileage, the mobile device can also obtain accurate positioning through VIO. During the life-extending process of VIO positioning (that is, within the preset 100-meter life-extending mileage), the remaining life-extending mileage (100 meters minus the mileage already traveled) is calculated to determine the distance between the current position of the mowing robot and the nearest first position.

[0082] Optionally, the remaining sustainable mileage is equal to the difference between the preset sustainable mileage and the mileage that the mobile device continues to move along the preset path.

[0083] Among them, for example, the remaining life mileage can be calculated according to the following formula:

[0084] Remaining sustainable mileage = preset sustainable mileage - mileage that the mobile device continues to move along the preset path

[0085] Among them, the remaining renewable life mileage is greater than or equal to 0. Since the remaining renewable life mileage is within the preset renewable life mileage, it can be considered that the positioning of the mobile device is accurate.

[0086] Optionally, the second position is the projection coordinates of the sky area in the first environment image on the ground.

[0087] Among them, the sky area indicates that it is unobstructed, and the second position is the projection coordinates of the sky area in the first environment image on the ground. The satellite positioning signal of the projection coordinates is likely to be unaffected by obstructions, and it is likely to quickly find the position where the satellite positioning signal meets the preset conditions at the projection position.

[0088] Optionally, the second position is the projection coordinates of the center of the maximum inscribed circle of the sky area in the first environment image on the ground.

[0089] The second position is the projection coordinates of the center of the maximum inscribed circle of the sky area in the first environment image on the ground. The center of the circle is chosen because it is believed that the satellite signal at the center of the circle is the best.

[0090] Optionally, the following steps may also be included:

[0091] The mobile device is controlled to rotate in situ to drive the camera to rotate, so that the camera collects the first environment image in at least one direction.

[0092] In an embodiment of the present application, after the mobile device stops moving, the mobile device can be controlled to rotate in place, thereby driving the camera mounted on the mobile device to rotate along with the mobile device, so that the camera takes at least one shot during the rotation process to obtain an environmental image in at least one direction, and use the environmental image to obtain the corresponding second position.

[0093] Optionally, the above step of determining the second position corresponding to the sky area may be implemented as follows:

[0094] Take the maximum inscribed circle of the sky area in the first environmental image, and when the radius of the maximum inscribed circle is greater than the second preset radius, obtain the coordinates of the center of the maximum inscribed circle projected on the ground to obtain the second position.

[0095] Among them, the second preset radius can be pre-set or the system defaults, and the second preset radius is to ensure that the sky area is large enough and open enough. Eliminate some smaller sky areas. In a specific implementation, at least one environmental image can be captured by a camera, wherein each environmental image can have k sky areas, and the second position is extracted for each environmental image respectively. Furthermore, the second position can also be one or more, k is a natural number, for example, k is 0, 1, 2, etc., and the maximum inscribed circle of the sky area in the environmental image is taken. When the radius of the maximum inscribed circle is greater than the second preset radius, the coordinates of the center of the maximum inscribed circle projected on the ground are obtained to obtain the second position.

[0096] The second preset radius may also be preset or set by system default, and the second preset radius may be the same as or different from the first preset radius.

[0097] The second position may be a position corresponding to a sky area identified from any first environment image. Shooting the first environment images in multiple directions can increase the probability of finding the sky area.

[0098] 104. If the distance between the mobile device and the second position is less than or equal to the remaining life mileage, control the mobile device to move toward the second position so that the mobile device detects a satellite positioning signal that meets the preset condition at the position after the movement.

[0099] In a specific implementation, if the distance between the position of the mobile device and the second position is less than or equal to the remaining sustainable mileage, it means that the distance is still within the preset sustainable mileage and high-precision positioning can be continued. In addition, the newly found second position is closer or as close to the mobile device as the nearest first position, and the positioning position after returning to the initial point (the position where the mobile device stops moving) will be more accurate. The mobile device is then controlled to move to the second position so that the mobile device detects a satellite positioning signal that meets the preset conditions at the position after the movement.

[0100] Optionally, the above step 104, controlling the mobile device to move to the second position, may be implemented in the following manner:

[0101] Controlling the mobile device to stop moving after reaching the second position;

[0102] or,

[0103] Control the mobile device to move to the projection range of the maximum inscribed circle corresponding to the second position on the ground. When the mobile device enters the projection range of the maximum inscribed circle on the ground, reduce the moving speed to a preset moving speed, move a first preset distance at the preset moving speed, stop moving, and wait for the satellite positioning signal of the mobile device to meet the preset condition. If the satellite positioning signal of the mobile device meets the preset condition within a preset time period, return to the initial point. If the satellite positioning signal of the mobile device does not meet the preset condition within the preset time period, continue to move the second preset distance, and wait again for the satellite positioning signal of the mobile device to meet the preset condition. The initial point is the position where the mobile device stops moving.

[0104] The preset moving speed may be preset or set by system default. The preset time period may be preset or set by system default.

[0105] In a specific implementation, the mobile device can be controlled to stop moving after reaching the second position. Alternatively, the mobile device can be controlled to move to the projection range of the maximum inscribed circle corresponding to the second position on the ground, and when the mobile device enters the projection range of the maximum inscribed circle on the ground, the moving speed is reduced to a preset moving speed, and the first preset distance is moved at the preset moving speed, and the movement is stopped to wait for the satellite positioning signal of the mobile device to meet the preset conditions. If the satellite positioning signal of the mobile device meets the preset conditions within the preset time period, the mobile device returns to the initial point. If the satellite positioning signal of the mobile device does not meet the preset conditions within the preset time period, the mobile device continues to move the second preset distance, and waits again for the satellite positioning signal of the mobile device to meet the preset conditions. For example, the mobile device is first controlled to quickly move to the projection range of the inscribed circle (the inscribed circle where the second position is located) on the ground, and then slows down after entering the projection range, walks a distance, and then stops moving to wait for the satellite signal to meet the preset conditions. If it is detected that the satellite signal meets the preset conditions, the mobile device returns to the initial point, otherwise it continues to move a certain distance, and then waits again for the satellite signal to meet the preset conditions. That is, the second position is used to guide the mobile device to an open area (an area where the satellite positioning signal meets the preset conditions), that is, satellite positioning can be used again in the open area. In this way, the problem of inaccurate satellite positioning when blocked, which affects the walking of the lawn mower robot, can be solved.

[0106] Optionally, the following steps may also be included:

[0107] When the distance between the position of the mobile device and the nearest first position is greater than or less than the remaining life mileage, the mobile device is controlled to continue moving along the preset path.

[0108] In an embodiment of the present application, when the distance between the position of the mobile device and the nearest first position is greater than the remaining life mileage, the mobile device may not be able to accurately reach the nearest first position, so it is chosen not to stop moving, but to control the mobile device to continue moving until the satellite positioning signal meets the preset conditions.

[0109] In an embodiment of the present application, when the distance between the position of the mobile device and the nearest first position is less than the remaining sustainable mileage, the mobile device goes from the preset path to the first position, which will cause the mobile device to frequently go to the first position and have low operating efficiency, because it is necessary to reduce the number of times the mobile device goes from the preset path to the first position to ensure the efficiency of the mobile device in performing operations on the preset path. Therefore, when the distance between the position of the mobile device and the nearest first position is less than the remaining sustainable mileage, the mobile device is controlled to continue moving along the preset path.

[0110] For example, if the mobile device goes to the first position after walking 1 meter along the preset path when the satellite signal is poor, the mobile device will frequently go to the first position, which will result in low operating efficiency. It is also unnecessary for the mobile device to go to the first position as soon as the satellite signal is poor, because the coordinates obtained by the mobile device positioning are still accurate when the satellite signal is poor, and there is no need to go to the first position to calibrate the coordinates obtained by the current positioning.

[0111] For example, if it is detected that the distance between the nearest first position and the current position of the mobile device is greater than the remaining life range, the mobile device is controlled to continue moving until the satellite signal meets the preset conditions. For example, when the mobile device is at the starting point of the preset life range of 100 meters, that is, the position where the satellite signal is poor, it is found that the distance of the nearest first position is greater than 100 meters. In this case, the mobile device may not be able to accurately reach the nearest first position, so it chooses not to stop moving.

[0112] Optionally, the following steps may also be included:

[0113] When the distance between the mobile device and the nearest first position is equal to the remaining life mileage, if the satellite positioning signal meets the preset condition, the mobile device is controlled to move along the preset path through satellite positioning.

[0114] In a specific implementation, when the distance between the position of the mobile device and the nearest first position is equal to the remaining life mileage, if the satellite positioning signal meets the preset conditions, it means that the satellite positioning signal is strong, and the mobile device is controlled to move along the preset path through satellite positioning, thereby ensuring that the mobile device moves accurately along the preset path.

[0115] Optionally, the following steps may also be included:

[0116] If the distance between the mobile device and the second position is greater than the remaining life mileage, the mobile device is controlled to move to a first position closest to the position of the mobile device.

[0117] In a specific implementation, if the distance between the position of the mobile device and the second position is greater than the remaining renewable mileage, it means that it is not within the preset renewable mileage and cannot be accurately positioned. Therefore, the mobile device is controlled to move to the first position closest to the position of the mobile device, that is, the mobile device can be moved to an open area, that is, satellite positioning can be used again in the open area, which can solve the problem of inaccurate satellite positioning when blocked, affecting the walking of the lawn mowing robot.

[0118] Optionally, the following steps may also be included:

[0119] After the mobile device detects that the satellite positioning signal meets the preset condition at the position after movement, the mobile device is controlled to return to the initial point, and the mobile device is positioned during the return process, wherein when the mobile device moves to the position where the satellite positioning signal meets the preset condition, the satellite positioning technology is used for positioning, and when the mobile device moves to the position where the satellite positioning signal does not meet the preset condition, the non-satellite positioning technology is used for positioning, and the initial point is the position where the mobile device stops moving.

[0120] The initial point is the position where the mobile device stops moving.

[0121] In a specific implementation, after the mobile device detects that the satellite positioning signal meets the preset conditions at the position after movement, the mobile device is controlled to return to the initial point, and the mobile device is positioned during the return process. When the mobile device moves to a position where the satellite positioning signal meets the preset conditions, satellite positioning technology is used for positioning. When the mobile device moves to a position where the satellite positioning signal does not meet the preset conditions, non-satellite positioning technology is used for positioning. In this way, the problem of inaccurate satellite positioning when blocked, which affects the movement of the mobile device, can be solved.

[0122] For example, the mobile device is a lawn mower robot. The lawn mower robot is equipped with a rear camera with a lens facing the upper back of the lawn mower robot. The lawn mower robot can execute the control method of the mobile device according to the following steps, which are as follows:

[0123] S1. When the lawn mower robot is performing a lawn mowing operation along a planned path, if the satellite positioning signal meets a preset condition, the lawn mower robot uses satellite positioning to enable the lawn mower robot to walk along the planned path. When walking along the planned path, the lawn mower robot continuously captures the environment image through the rear camera, takes the maximum inscribed circle of the sky area in the image, and if the radius of the inscribed circle is greater than the preset radius, the center coordinates of the inscribed circle are recorded as the first position.

[0124] S2. If the satellite positioning signal does not meet the preset conditions during walking along the planned path, VIO positioning is used to extend the life. That is, after the satellite positioning signal does not meet the preset conditions, the lawn mower robot can still walk a life extension mileage of 100 meters (not necessarily 100 meters, which is related to the performance of Simultaneous Localization and Mapping (SLAM)). Within the life extension mileage, the lawn mower robot can also obtain accurate positioning through VIO. In the process of extending the life through VIO positioning (that is, within the 100-meter life extension mileage), calculate the remaining life extension mileage (100 meters minus the mileage already traveled) and determine the distance between the current position of the lawn mower robot and the nearest first position. If the distance to the nearest first position is less than the remaining life extension mileage, the lawn mower robot continues to walk. If the distance to the nearest first position is equal to the remaining life extension mileage, the lawn mower robot stops walking and then executes step S3.

[0125] If it is detected that the distance between the nearest first position and the current position of the mowing robot is greater than the remaining range, the mowing robot is controlled to continue moving until the satellite positioning signal meets the preset conditions. (For example, when the mowing robot is at the starting point of the 100-meter range, that is, when the satellite positioning signal just appears to not meet the preset conditions, it is found that the distance of the nearest first position is greater than 100 meters.) In this case, the mowing robot may not be able to accurately reach the nearest position, so it chooses not to stop moving.

[0126] S3. If the distance to the nearest first position is equal to the remaining life mileage, the mowing robot stops walking. Then, the mowing robot is controlled to rotate in situ, and the rear camera is turned on to follow the mowing robot to rotate in situ to collect environmental images in different directions; the targets in the environmental images in different directions are identified. If a certain environmental image identifies the sky, the maximum inscribed circle of the sky area in the image is taken. If the radius of the inscribed circle is greater than the preset radius, and the distance from the mowing robot to the center of the inscribed circle (i.e., the second position) is less than or equal to the remaining life mileage, the mowing robot is controlled to move to the center coordinates of the inscribed circle (the center of the inscribed circle closer than the nearest recorded position can be found to improve the accuracy of positioning), so that the mowing robot reaches an open area. Since the mowing robot is still within the remaining life mileage during the process of moving to the center coordinates, the mowing robot can still be accurately positioned to reach the center coordinates (i.e., the second position).

[0127] S4. After the mowing robot reaches the open area, it uses satellite positioning signals to obtain the absolute position of the mowing robot in the open area. Then, the mowing robot is controlled to return to the initial point (the position of rotation in situ). During the return process, satellite positioning is first used. If the satellite positioning signal does not meet the preset conditions, visual positioning or IMU or VIO positioning is used. Combined with the absolute position of the open area obtained, the absolute position of the initial point is obtained.

[0128] S5. Starting from the initial point, continue to walk along the planned path to perform mowing operations. If the satellite positioning signal does not meet the preset conditions, visual positioning or IMU or VIO positioning is used in the process, combined with the absolute position of the initial point, to position the mowing robot to control the mowing robot to walk along the planned path. If the satellite positioning signal meets the preset conditions during the continued operation, satellite positioning is used. And, starting from the initial point, if it is detected again that the satellite positioning signal does not meet the preset conditions, return to step S2-step S5.

[0129] For example, Figure 1FAs shown, when the mowing robot is performing mowing operations along the planned path, if the satellite positioning signal does not meet the preset conditions during the walking along the planned path, such as the satellite positioning signal does not meet the preset conditions at position A, the mowing robot will continue to move through VIO positioning, calculate the remaining life mileage, and determine the distance between the current position of the mowing robot and the nearest first position. If the distance to the nearest first position is equal to the remaining life mileage, the mowing robot stops moving, that is, the initial position, that is, position B, and the mowing robot stops moving. Then, the mowing robot is controlled to rotate in situ, and the rear camera is turned on to follow the mowing robot to rotate in situ to collect environmental images in different directions; the targets in each environmental image in different directions are identified, if a certain environmental image identifies the sky, the maximum inscribed circle of the sky area in the image is taken, if the radius of the inscribed circle is greater than the preset radius, and the distance from the mowing robot to the center of the inscribed circle (i.e., the second position, such as position C) is less than or equal to the remaining sustainable life mileage, the mowing robot is controlled to move to the center coordinate of the inscribed circle, if the distance from the position of the mowing robot to the center of the inscribed circle (i.e., the second position, such as position C) is greater than the remaining sustainable life mileage, then move to the nearest first position (position D), wherein position D represents the nearest first position, and position D is farther from position B than position C is from position B, so that the center of the inscribed circle closer than the recorded nearest position can be found, the accuracy of positioning can be improved, and the mowing robot can reach the open area. Since the mowing robot is still within the remaining sustainable life mileage during the process of moving to the center coordinate, the mowing robot can still be accurately positioned to reach the center coordinate, i.e., position C. Then return from position C to position B to calibrate position B and obtain the precise position of position B. Starting from position B, continue walking along the planned path to perform mowing operations.

[0130] The control method of a mobile device described in the present application controls the mobile device to move along a preset path. When the mobile device moves to a position where a satellite positioning signal does not meet a preset condition, the mobile device is controlled to continue to move along the preset path. During the process of continuing to move along the preset path, the distance between the position of the mobile device and a nearest first position is determined. When the distance is equal to the remaining sustainable mileage, if the satellite positioning signal does not meet the preset condition, the mobile device is controlled to stop moving, and a first environmental image in at least one direction is captured by a camera, a sky area in the first environmental image is identified, and a second position corresponding to the sky area is determined. The remaining sustainable mileage is obtained based on the preset sustainable mileage and the mileage of the mobile device continuing to move along the preset path. If the distance between the mobile device and the second position is less than or equal to the remaining sustainable mileage, the mobile device is controlled to move to the second position so that the mobile device detects that the satellite positioning signal meets the preset condition at the position after the movement. Furthermore, when the satellite positioning signal does not meet the condition, the mobile device can still maintain accurate positioning within a certain distance. , that is, the position of an open area can be found within the certain distance maintained, that is, the nearest first position. When the distance between the position of the mobile device and it is equal to the remaining sustainable mileage, it means that if the mobile device does not go to the first position, it may cause the subsequent first position to be greater than the remaining sustainable mileage. The mobile device cannot accurately reach the first position. Therefore, when the distance between the mobile device and the first position is equal to the remaining sustainable mileage, the satellite positioning signal still does not meet the conditions. After the mobile device stops moving, it rotates in situ to capture an image and finds the second position. If the distance between the mobile device and the second position is less than or equal to the remaining sustainable mileage, it goes to the second position. Among them, rotating in situ to find the second position is to determine whether there is an open area closer than the stored nearest first position. Going to a closer open area can make the positioning position of the mobile device when it returns to the initial point (the position where the mobile device stops moving) more accurate, that is, satellite positioning can be used again in the open area, which can solve the problem of inaccurate satellite positioning when blocked, affecting the walking of the lawn mower robot.

[0131] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of another method for controlling a mobile device provided in an embodiment of the present application. As shown in the figure, the method for controlling the mobile device includes:

[0132] 201. Control the mobile device to move along a preset path.

[0133] 202. When the mobile device moves to a position where the satellite positioning signal does not meet a preset condition, control the mobile device to continue moving along the preset path, and determine the distance between the position of the mobile device and a nearest first position during the process of continuing to move along the preset path.

[0134] 203. When the distance is equal to the remaining life mileage, if the satellite positioning signal does not meet the preset condition, the mobile device is controlled to stop moving, and a first environmental image in at least one direction is captured by a camera, a sky area in the first environmental image is identified, and a second position corresponding to the sky area is determined, wherein the remaining life mileage is obtained based on the preset life mileage and the mileage of the mobile device continuing to move along the preset path.

[0135] 204. If the distance between the mobile device and the second position is less than or equal to the remaining life mileage, control the mobile device to move toward the second position so that the mobile device detects a satellite positioning signal that meets the preset condition at the position after the movement.

[0136] 205. If the distance between the mobile device and the second position is greater than the remaining life mileage, control the mobile device to move to a first position closest to the position of the mobile device.

[0137] The detailed description of the above steps 201 to 205 can be found in Figure 1A The relevant steps of the described method for controlling a mobile device are not repeated here.

[0138] The control method of the mobile device described in the present application can maintain accurate positioning of the mobile device within a certain distance when the satellite positioning signal does not meet the conditions, that is, the position of the open area can be found within the maintained certain distance, that is, the nearest first position. When the distance between the position of the mobile device and the first position is equal to the remaining sustainable mileage, it means that if the mobile device does not go to the first position, it may cause the subsequent first position to be greater than the remaining sustainable mileage. The distance between the mobile device and the first position is greater than the remaining sustainable mileage, resulting in the mobile device being unable to accurately reach the first position. Therefore, when the distance between the mobile device and the first position is equal to the remaining sustainable mileage, the satellite positioning signal still does not meet the conditions. After the mobile device stops moving, it takes an image by rotating in situ to find the second position. If the distance between the mobile device and the second position is less than or equal to the remaining sustainable mileage, it goes to the second position. Among them, the purpose of searching for the second position by rotating in situ is to determine whether there is an open area closer than the stored nearest first position. Going to a closer open area can make the positioning position of the mobile device when it returns to the initial point (the position where the mobile device stops moving) more accurate, that is, satellite positioning can be used again in the open area, which can solve the problem of inaccurate satellite positioning when blocked, affecting the walking of the lawn mower robot.

[0139] In accordance with the above embodiment, please refer to Figure 3 , Figure 31 is a schematic diagram of the structure of a mobile device provided in an embodiment of the present application. As shown in the figure, the mobile device includes a processor, a memory, a communication interface, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the processor. In the embodiment of the present application, the program includes instructions for executing the following steps:

[0140] Controlling the mobile device to move along a preset path;

[0141] When the mobile device moves to a position where the satellite positioning signal does not meet a preset condition, controlling the mobile device to continue to move along the preset path, and determining the distance between the position of the mobile device and a nearest first position during the process of continuing to move along the preset path;

[0142] When the distance is equal to the remaining renewable mileage, if the satellite positioning signal does not meet the preset condition, the mobile device is controlled to stop moving, and a first environment image in at least one direction is collected by a camera, a sky area in the first environment image is identified, and a second position corresponding to the sky area is determined, wherein the remaining renewable mileage is obtained based on the preset renewable mileage and the mileage of the mobile device continuing to move along the preset path;

[0143] If the distance between the mobile device and the second position is less than or equal to the remaining life mileage, the mobile device is controlled to move toward the second position so that the mobile device detects a satellite positioning signal that meets the preset condition at the moved position.

[0144] Optionally, the first position is the projection coordinates of a sky area in a second environment image captured by a camera of the mobile device on the ground.

[0145] Optionally, the first position is the projection coordinates of the center of the maximum inscribed circle of the sky area in the second environment image on the ground.

[0146] Optionally, the program further includes instructions for executing the following steps:

[0147] When the mobile device moves along the preset path, at least one second environment image is captured by the camera, and at least one first position is stored.

[0148] Optionally, in terms of capturing at least one second environment image through the camera when the mobile device moves along the preset path and storing at least one first position, the program includes instructions for performing the following steps:

[0149] During the movement of the mobile device along the preset path, at least one second environment image is captured by the camera, and the maximum inscribed circle of the sky area in the second environment image is taken. When the radius of the maximum inscribed circle is greater than the first preset radius, the coordinates of the center of the maximum inscribed circle projected on the ground are stored as the first position.

[0150] Optionally, the second position is the projection coordinates of the sky area in the first environment image on the ground.

[0151] Optionally, the second position is the projection coordinates of the center of the maximum inscribed circle of the sky area in the first environment image on the ground.

[0152] Optionally, the program further includes instructions for executing the following steps:

[0153] The mobile device is controlled to rotate in situ to drive the camera to rotate, so that the camera collects the first environment image in at least one direction.

[0154] Optionally, in terms of determining the second position corresponding to the sky area, the program includes instructions for performing the following steps:

[0155] Take the maximum inscribed circle of the sky area in the first environmental image, and when the radius of the maximum inscribed circle is greater than the second preset radius, obtain the coordinates of the center of the maximum inscribed circle projected on the ground to obtain the second position.

[0156] Optionally, the remaining sustainable mileage is equal to the difference between the preset sustainable mileage and the mileage that the mobile device continues to move along the preset path.

[0157] Optionally, the program further includes instructions for executing the following steps:

[0158] When the distance between the mobile device and the nearest first position is equal to the remaining life mileage, if the satellite positioning signal meets the preset condition, the mobile device is controlled to move along the preset path through satellite positioning.

[0159] Optionally, the program further includes instructions for executing the following steps:

[0160] If the distance between the mobile device and the second position is greater than the remaining life mileage, the mobile device is controlled to move to a first position closest to the position of the mobile device.

[0161] Optionally, the program further includes instructions for executing the following steps:

[0162] After the mobile device detects that the satellite positioning signal meets the preset condition at the position after movement, the mobile device is controlled to return to the initial point, and the mobile device is positioned during the return process, wherein when the mobile device moves to the position where the satellite positioning signal meets the preset condition, the satellite positioning technology is used for positioning, and when the mobile device moves to the position where the satellite positioning signal does not meet the preset condition, the non-satellite positioning technology is used for positioning, and the initial point is the position where the mobile device stops moving.

[0163] Optionally, the program further includes instructions for executing the following steps:

[0164] When the distance between the position of the mobile device and the nearest first position is greater than or less than the remaining life mileage, the mobile device is controlled to continue moving along the preset path.

[0165] Optionally, the program further includes instructions for executing the following steps:

[0166] When the satellite positioning signal does not satisfy the preset condition, the mobile device is positioned by using a non-satellite positioning technology to control the mobile device to continue moving along the preset path.

[0167] Optionally, the mobile device further comprises a rear-view camera, wherein the lens of the rear-view camera is arranged toward the upper and rear of the mobile device.

[0168] The mobile device described in the present application controls the mobile device to move along a preset path. When the mobile device moves to a position where the satellite positioning signal does not meet the preset conditions, the mobile device is controlled to continue to move along the preset path. During the process of continuing to move along the preset path, the distance between the position of the mobile device and the nearest first position is determined. When the distance is equal to the remaining sustainable mileage, if the satellite positioning signal does not meet the preset conditions, the mobile device is controlled to stop moving, and a first environmental image in at least one direction is captured by a camera, the sky area in the first environmental image is identified, and a second position corresponding to the sky area is determined. The remaining sustainable mileage is obtained based on the preset sustainable mileage and the mileage of the mobile device continuing to move along the preset path. If the distance between the mobile device and the second position is less than or equal to the remaining sustainable mileage, the mobile device is controlled to move to the second position so that the mobile device detects that the satellite positioning signal meets the preset conditions at the position after the movement. Furthermore, when the satellite positioning signal does not meet the conditions, the mobile device can still maintain accurate positioning within a certain distance, that is, The position of the open area can be found within the maintained certain distance, that is, the nearest first position. When the distance between the position of the mobile device and it is equal to the remaining sustainable mileage, it means that if the mobile device does not go to the first position, it may cause the subsequent first position to be greater than the remaining sustainable mileage. The mobile device cannot accurately reach the first position. Therefore, when the distance between the mobile device and the first position is equal to the remaining sustainable mileage, the satellite positioning signal still does not meet the conditions. After the mobile device stops moving, it rotates in situ to capture an image and finds the second position. If the distance between the mobile device and the second position is less than or equal to the remaining sustainable mileage, it goes to the second position. Among them, rotating in situ to find the second position is to determine whether there is an open area closer than the stored nearest first position. Going to a closer open area can make the positioning position of the mobile device when it returns to the initial point (the position where the mobile device stops moving) more accurate, that is, satellite positioning can be used again in the open area, which can solve the problem of inaccurate satellite positioning when blocked, affecting the walking of the lawn mower robot.

[0169] Figure 4 4 is a functional unit composition block diagram of a control device 400 of a mobile device involved in an embodiment of the present application. The control device 400 of the mobile device includes: a first control unit 401, a determination unit 402 and a second control unit 403, wherein:

[0170] The first control unit 401 is used to control the mobile device to move along a preset path; when the mobile device moves to a position where the satellite positioning signal does not meet a preset condition, control the mobile device to continue to move along the preset path, and determine the distance between the position of the mobile device and the nearest first position during the process of continuing to move along the preset path;

[0171] The determining unit 402 is configured to control the mobile device to stop moving if the satellite positioning signal does not meet the preset condition when the distance is equal to the remaining life mileage, and to collect a first environment image in at least one direction through a camera, identify a sky area in the first environment image, and determine a second position corresponding to the sky area, wherein the remaining life mileage is obtained based on a preset life mileage and a mileage of the mobile device continuing to move along the preset path;

[0172] The second control unit 403 is used to control the mobile device to move toward the second position if the distance between the mobile device and the second position is less than or equal to the remaining life mileage, so that the mobile device detects a satellite positioning signal that meets the preset condition at the position after the movement.

[0173] Optionally, the first position is the projection coordinates of a sky area in a second environment image captured by a camera of the mobile device on the ground.

[0174] Optionally, the first position is the projection coordinates of the center of the maximum inscribed circle of the sky area in the second environment image on the ground.

[0175] Optionally, the control device 400 of the mobile device is further specifically configured to:

[0176] When the mobile device moves along the preset path, at least one second environment image is captured by the camera, and at least one first position is stored.

[0177] Optionally, in terms of capturing at least one second environment image through the camera and storing at least one first position when the mobile device moves along the preset path, the control device 400 of the mobile device is specifically used to:

[0178] During the movement of the mobile device along the preset path, at least one second environment image is captured by the camera, and the maximum inscribed circle of the sky area in the second environment image is taken. When the radius of the maximum inscribed circle is greater than the first preset radius, the coordinates of the center of the maximum inscribed circle projected on the ground are stored as the first position.

[0179] Optionally, the second position is the projection coordinates of the sky area in the first environment image on the ground.

[0180] Optionally, the second position is the projection coordinates of the center of the maximum inscribed circle of the sky area in the first environment image on the ground.

[0181] Optionally, the control device 400 of the mobile device is further specifically configured to:

[0182] The mobile device is controlled to rotate in situ to drive the camera to rotate, so that the camera collects the first environment image in at least one direction.

[0183] Optionally, in terms of determining the second position corresponding to the sky area, the control device 400 of the mobile device is specifically configured to:

[0184] Take the maximum inscribed circle of the sky area in the first environmental image, and when the radius of the maximum inscribed circle is greater than the second preset radius, obtain the coordinates of the center of the maximum inscribed circle projected on the ground to obtain the second position.

[0185] Optionally, the remaining sustainable mileage is equal to the difference between the preset sustainable mileage and the mileage that the mobile device continues to move along the preset path.

[0186] Optionally, the control device 400 of the mobile device is further specifically configured to:

[0187] When the distance between the mobile device and the nearest first position is equal to the remaining life mileage, if the satellite positioning signal meets the preset condition, the mobile device is controlled to move along the preset path through satellite positioning.

[0188] Optionally, the control device 400 of the mobile device is further specifically configured to:

[0189] If the distance between the mobile device and the second position is greater than the remaining life mileage, the mobile device is controlled to move to a first position closest to the position of the mobile device.

[0190] Optionally, the control device 400 of the mobile device is further specifically configured to:

[0191] After the mobile device detects that the satellite positioning signal meets the preset condition at the position after movement, the mobile device is controlled to return to the initial point, and the mobile device is positioned during the return process, wherein when the mobile device moves to the position where the satellite positioning signal meets the preset condition, the satellite positioning technology is used for positioning, and when the mobile device moves to the position where the satellite positioning signal does not meet the preset condition, the non-satellite positioning technology is used for positioning, and the initial point is the position where the mobile device stops moving.

[0192] Optionally, the control device 400 of the mobile device is further specifically configured to:

[0193] When the distance between the position of the mobile device and the nearest first position is greater than or less than the remaining life mileage, the mobile device is controlled to continue moving along the preset path.

[0194] Optionally, the control device 400 of the mobile device is further specifically configured to:

[0195] When the satellite positioning signal does not satisfy the preset condition, the mobile device is positioned by using a non-satellite positioning technology to control the mobile device to continue moving along the preset path.

[0196] The control device of the mobile device described in the present application controls the mobile device to move along a preset path. When the mobile device moves to a position where the satellite positioning signal does not meet the preset conditions, the mobile device is controlled to continue to move along the preset path. During the process of continuing to move along the preset path, the distance between the position of the mobile device and the nearest first position is determined. When the distance is equal to the remaining sustainable mileage, if the satellite positioning signal does not meet the preset conditions, the mobile device is controlled to stop moving, and a first environmental image in at least one direction is captured by a camera, the sky area in the first environmental image is identified, and a second position corresponding to the sky area is determined. The remaining sustainable mileage is obtained based on the preset sustainable mileage and the mileage of the mobile device continuing to move along the preset path. If the distance between the mobile device and the second position is less than or equal to the remaining sustainable mileage, the mobile device is controlled to move to the second position, so that the mobile device detects that the satellite positioning signal meets the preset conditions at the position after the movement. Furthermore, when the satellite positioning signal does not meet the conditions, the mobile device can still maintain accurate positioning within a certain distance. , that is, the position of an open area can be found within the certain distance maintained, that is, the nearest first position. When the distance between the position of the mobile device and it is equal to the remaining sustainable mileage, it means that if the mobile device does not go to the first position, it may cause the subsequent first position to be greater than the remaining sustainable mileage. The mobile device cannot accurately reach the first position. Therefore, when the distance between the mobile device and the first position is equal to the remaining sustainable mileage, the satellite positioning signal still does not meet the conditions. After the mobile device stops moving, it rotates in situ to capture an image and finds the second position. If the distance between the mobile device and the second position is less than or equal to the remaining sustainable mileage, it goes to the second position. Among them, rotating in situ to find the second position is to determine whether there is an open area closer than the stored nearest first position. Going to a closer open area can make the positioning position of the mobile device when it returns to the initial point (the position where the mobile device stops moving) more accurate, that is, satellite positioning can be used again in the open area, which can solve the problem of inaccurate satellite positioning when blocked, affecting the walking of the lawn mower robot.

[0197] It can be understood that the functions of each program module of the control device of the mobile device of this embodiment can be specifically implemented according to the method in the above method embodiment, and its specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.

[0198] 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, wherein the computer program enables a computer to execute part or all of the steps of any method recorded in the above method embodiments, and the above computer includes a mobile device.

[0199] The present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps of any method described in the method embodiment. The computer program product may be a software installation package, and the computer includes a mobile device.

[0200] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0201] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0202] In the several embodiments provided in the present application, it should be understood that the disclosed system can be implemented in other ways. For example, the system embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the system or unit can be electrical or other forms.

[0203] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0204] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0205] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or CD-ROM and other media that can store program codes.

[0206] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, etc.

[0207] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for controlling a mobile device, It is characterized in that The method comprises: Controlling the mobile device to move along a preset path; When the mobile device moves to a position where the satellite positioning signal does not meet a preset condition, controlling the mobile device to continue to move along the preset path, and determining the distance between the position of the mobile device and a nearest first position during the process of continuing to move along the preset path; When the distance is equal to the remaining renewable mileage, if the satellite positioning signal does not meet the preset condition, the mobile device is controlled to stop moving, and a first environment image in at least one direction is collected by a camera, a sky area in the first environment image is identified, and a second position corresponding to the sky area is determined, wherein the remaining renewable mileage is obtained based on the preset renewable mileage and the mileage of the mobile device continuing to move along the preset path; If the distance between the mobile device and the second position is less than or equal to the remaining life mileage, the mobile device is controlled to move toward the second position so that the mobile device detects a satellite positioning signal that meets the preset condition at the moved position.

2. The method according to claim 1, It is characterized in that The first position is the projection coordinates of the sky area in the second environment image captured by the camera of the mobile device on the ground.

3. The method according to claim 2, It is characterized in that The first position is the projection coordinates of the center of the maximum inscribed circle of the sky area in the second environment image on the ground.

4. The method according to claim 2 or 3, It is characterized in that The method further comprises: When the mobile device moves along the preset path, at least one second environment image is captured by the camera, and at least one first position is stored.

5. The method according to claim 4, It is characterized in that The step of capturing at least one second environment image by the camera when the mobile device moves along the preset path, and storing at least one first position, comprises: During the movement of the mobile device along the preset path, at least one second environment image is captured by the camera, and the maximum inscribed circle of the sky area in the second environment image is taken. When the radius of the maximum inscribed circle is greater than the first preset radius, the coordinates of the center of the maximum inscribed circle projected on the ground are stored as the first position.

6. The method according to any one of claims 1 to 5, It is characterized in that The second position is the projection coordinates of the sky area in the first environment image on the ground.

7. The method according to claim 6, It is characterized in that The second position is the projection coordinates of the center of the maximum inscribed circle of the sky area in the first environment image on the ground.

8. The method according to claim 1, It is characterized in that The method further comprises: The mobile device is controlled to rotate in situ to drive the camera to rotate, so that the camera collects the first environment image in at least one direction.

9. The method according to claim 1, It is characterized in that The determining the second position corresponding to the sky area includes: Take the maximum inscribed circle of the sky area in the first environmental image, and when the radius of the maximum inscribed circle is greater than the second preset radius, obtain the coordinates of the center of the maximum inscribed circle projected on the ground to obtain the second position.

10. The method according to any one of claims 1 to 9, It is characterized in that The remaining sustainable life mileage is equal to the difference obtained by subtracting the mileage that the mobile device continues to move along the preset path from the preset sustainable life mileage.

11. The method according to any one of claims 1 to 10, It is characterized in that The method further comprises: When the distance between the mobile device and the nearest first position is equal to the remaining life mileage, if the satellite positioning signal meets the preset condition, the mobile device is controlled to move along the preset path through satellite positioning.

12. The method according to any one of claims 1 to 11, It is characterized in that The method further comprises: If the distance between the mobile device and the second position is greater than the remaining life mileage, the mobile device is controlled to move to a first position closest to the position of the mobile device.

13. The method according to any one of claims 1 to 12, It is characterized in that The method further comprises: After the mobile device detects that the satellite positioning signal meets the preset condition at the position after movement, the mobile device is controlled to return to the initial point, and the mobile device is positioned during the return process, wherein when the mobile device moves to the position where the satellite positioning signal meets the preset condition, the satellite positioning technology is used for positioning, and when the mobile device moves to the position where the satellite positioning signal does not meet the preset condition, the non-satellite positioning technology is used for positioning, and the initial point is the position where the mobile device stops moving.

14. The method according to any one of claims 1 to 13, It is characterized in that The method further comprises: When the distance between the position of the mobile device and the nearest first position is greater than or less than the remaining sustainable mileage, the mobile device is controlled to continue moving along the preset path.

15. The method according to any one of claims 1 to 14, It is characterized in that The method further comprises: When the satellite positioning signal does not satisfy the preset condition, the mobile device is positioned by using a non-satellite positioning technology to control the mobile device to continue moving along the preset path.

16. A mobile device, It is characterized in that The method comprises a processor and a memory, wherein the memory is used to store one or more programs and is configured to be executed by the processor, wherein the programs include instructions for executing the steps in the method according to any one of claims 1 to 15.

17. A computer-readable storage medium, It is characterized in that A computer program for electronic data exchange is stored, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 15.

Citation Information

Cited By

  • Control methods for mobile device and related device

    WO2025261298A1