Control method of mobile device and related device
By using a camera on the lawnmower to identify the largest inscribed circle in the sky area and recording the projected coordinates of its center on the ground as the first position, the accuracy problem when satellite positioning signals are blocked is solved, ensuring accurate positioning and efficient operation of the lawnmower in open areas.
Patent Information
- Application Number
- CN202410802103.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2044-06-20
AI Technical Summary
The lawnmower robot's satellite positioning signal is poor due to obstruction by houses and trees on the lawn, which affects the positioning accuracy and consequently the accuracy of its walking path.
When the satellite positioning signal does not meet the preset conditions, the mobile device continues to move along the preset path and uses the camera to capture environmental images to identify the largest inscribed circle in the sky area. It records the projected coordinates of the circle's center on the ground as the first position and uses non-satellite positioning technology to maintain the position until the distance is equal to the remaining range of service. Then it moves to the nearest first position to ensure that the satellite positioning signal meets the conditions.
When satellite positioning signals are insufficient, non-satellite positioning technology is used to maintain accurate positioning, reducing the number of times the robot needs to reach the first location and improving the positioning accuracy and operational efficiency of the lawnmower robot in open areas.
Smart Images

Figure CN118605535B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of robotics technology, specifically to a control method for a mobile device and related equipment. Background Technology
[0002] In existing technologies, during the operation of lawn mowing robots, the satellite signal is poor due to obstructions from houses, trees, etc. on the lawn, which affects the accuracy of satellite positioning. Therefore, it is urgent to solve the problem of inaccurate satellite positioning when obstructed, which affects the movement of lawn mowing robots. Summary of the Invention
[0003] This application provides a control method and related equipment for a mobile device, which can solve the problem of inaccurate satellite positioning when obstructed, affecting the movement of the lawnmower robot.
[0004] In a first aspect, embodiments of this application provide a method for controlling a mobile device, the method comprising:
[0005] Control the mobile device to move along a preset path;
[0006] When the mobile device moves to a location where the satellite positioning signal does not meet the preset conditions, the mobile device is controlled to continue moving along the preset path, and during the process of continuing to move along the preset path, the distance between the location of the mobile device and the nearest first location is determined;
[0007] When the distance equals the remaining usable range, if the satellite positioning signal is detected to not meet the preset condition, the mobile device is controlled to move to the nearest first location so that the mobile device detects a satellite positioning signal that meets the preset condition at the new location. The remaining usable range is obtained based on the preset usable range and the mileage by which the mobile device continues to move along the preset path.
[0008] Secondly, embodiments of this application provide a control device for a mobile device, the device comprising: a first control unit, a determining unit, and a second control unit, wherein...
[0009] The first control unit is used to control the mobile device to move along a preset path;
[0010] The determining unit is configured to control the mobile device to continue moving along the preset path when the mobile device moves to a position where the satellite positioning signal does not meet the preset conditions, and to 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 second control unit is configured to, when the distance is equal to the remaining range, if the satellite positioning signal is detected to not meet the preset condition, control the mobile device to move to the nearest first location, so that the mobile device can detect a satellite positioning signal that meets the preset condition at the new location. The remaining range is obtained based on the preset range and the mileage by which the mobile device continues to move along the preset path.
[0012] Thirdly, embodiments of this application provide a mobile device, including 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 programs include instructions for performing the steps in the first aspect of embodiments of this application.
[0013] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program for electronic data interchange, wherein the computer program causes a computer to perform some or all of the steps described in the first aspect of embodiments of this application.
[0014] Fifthly, embodiments of this application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in the first aspect of embodiments of this application. The computer program product may be a software installation package.
[0015] Implementing the embodiments of this application has the following beneficial effects:
[0016] The mobile device control method and related equipment described in this application 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 preset conditions, the mobile device continues to move along the preset path. During this continued movement, the distance between the mobile device's current position and the nearest first position is determined. If the distance equals the remaining usable range, and 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 a satellite positioning signal that meets the preset conditions at the new position. The remaining usable range is obtained based on the preset usable range and the distance the mobile device continues to move along the preset path. Therefore, even when the satellite positioning signal does not meet the conditions, the mobile device can still maintain accurate positioning within a certain distance. When the distance between the device and the nearest first location is equal to the remaining range, it means that if the mobile device does not go to the first location again, the distance to the next nearest first location may also be greater than the remaining range, causing the mobile device to be unable to accurately reach the first location. Therefore, if the satellite positioning signal still does not meet the condition when the distance between the mobile device and the nearest first location is equal to the remaining range, then the device should move to the nearest first location. This reduces the number of times the device needs to go to the first location, ensuring operational efficiency. In this way, the mobile device can also accurately reach the first location and use that first location to guide the mobile device to an open area (an area where the satellite positioning signal meets the preset condition). In other words, satellite positioning can be used again in an open area, which can solve the problem of inaccurate satellite positioning when obstructed, which affects the movement of the lawnmower robot. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1A This is a flowchart illustrating a control method for a mobile device provided in an embodiment of this application;
[0019] Figure 1B This is a schematic diagram illustrating the sky region in an environmental image provided in an embodiment of this application;
[0020] Figure 1C This is a schematic diagram illustrating a maximum inscribed circle provided in an embodiment of this application;
[0021] Figure 1D This is a schematic diagram illustrating a first position provided in an embodiment of this application;
[0022] Figure 1E This is another illustrative diagram of a first position provided in an embodiment of this application;
[0023] Figure 1F This is a schematic diagram illustrating a scenario of a mobile device control method provided in an embodiment of this application;
[0024] Figure 2 This is a flowchart illustrating another mobile device control method provided in an embodiment of this application;
[0025] Figure 3 This is a schematic diagram of the structure of a mobile device provided in an embodiment of this application;
[0026] Figure 4 This is a block diagram of the functional units of a control device for a mobile device provided in an embodiment of this application. Detailed Implementation
[0027] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0028] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.
[0029] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0030] In this application embodiment, the mobile device may include at least one of the following: lawn mowing robot, walking robot, smart car, etc., without limitation. Alternatively, the mobile device may also be other robots with the relevant functions described in this application embodiment.
[0031] In this embodiment, the mobile device may be equipped with a satellite positioning device, a non-satellite positioning device, and a camera. The satellite positioning device can be used to achieve positioning using satellite positioning technology, such as real-time kinematic (RTK) technology. The non-satellite positioning device can be used to achieve positioning using non-satellite positioning technology. Specifically, when the satellite positioning signal does not meet preset conditions, positioning can be achieved using non-satellite positioning technology via the non-satellite positioning device; conversely, when the satellite positioning signal meets preset conditions, positioning can be achieved using satellite positioning technology via the satellite positioning device. The camera can be used to capture environmental images. The camera may include a rear-view camera with its lens facing the upper rear of the mobile device.
[0032] Among them, non-satellite positioning technologies may include at least one of the following: visual positioning, inertial measurement unit (IMU) positioning, visual-inertial odometry (VIO) positioning, etc., without limitation.
[0033] The embodiments of this application will be described in detail below.
[0034] Please see Figure 1A , Figure 1A This is a flowchart illustrating a control method for a mobile device provided in an embodiment of this application. As shown in the figure, the control method for this mobile device includes:
[0035] 101. Control the mobile device to move along a preset path.
[0036] The preset path can be a pre-planned path or a system default path.
[0037] In practice, the mobile device may include a lawnmower robot, which can be controlled to move along a planned path and perform lawnmowing operations. When the mobile device moves to a location where the satellite positioning signal meets preset conditions, 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 the satellite positioning signal does not meet preset conditions, 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 location where the satellite positioning signal does not meet the preset conditions, the mobile device is controlled to continue moving along the preset path, and during the process of continuing to move along the preset path, the distance between the location of the mobile device and the nearest first location is determined.
[0039] In this embodiment, the preset conditions can be pre-set or defaulted to by the system. The signal quality of the satellite positioning signal affects the accuracy of satellite positioning, and the preset conditions are used to evaluate the signal quality. For example, if the signal strength of the satellite positioning signal is greater than a preset signal strength threshold, it means that the signal quality of the satellite positioning signal meets the preset conditions; conversely, 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 conditions. The preset signal strength threshold can be pre-set or defaulted to by the system.
[0040] Among them, satellite positioning signals can include real-time kinematic (RTK) signals.
[0041] In practice, when the mobile device moves to a location where the satellite positioning signal does not meet the preset conditions, non-satellite positioning technology is used to control the mobile device to continue moving along a preset path. During this continued movement along the preset path, the distance between the mobile device's current location and the nearest first location is determined. The first location has an open sky above it, facilitating the reception of satellite positioning signals.
[0042] Among them, the most recent first position is the one that is closest to the mobile device among the multiple stored first positions. As the mobile device moves, the first position closest to the mobile device may change or may not change due to the change in the position of the mobile device.
[0043] For example, a mobile device can determine the distance between its location and multiple stored first locations. It can obtain at least one distance and select the minimum value among the at least one distance. The first location corresponding to the minimum value is the nearest first location. Since the location of the mobile device changes, the distance between the location of the mobile device and the first location also changes. Therefore, the first location closest to the mobile device may change or may not change.
[0044] Optionally, the first position is the projected coordinates of the sky region on the ground in the environmental image captured by the camera of the mobile device.
[0045] The mobile device may include a rear-view camera with its lens facing the upper rear of the mobile device, which can be used to find a location with open airspace that does not obstruct satellite signals.
[0046] In this embodiment, the camera of the mobile device can be controlled to take pictures at preset time intervals to obtain environmental images, and the projection coordinates of the sky area in the environmental image on the ground can be stored as a first location so as 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 can be set in advance or set by the system default.
[0048] Optionally, the following steps may also be included:
[0049] As the mobile device moves along the preset path, it captures at least one image of the environment using the camera and stores at least one of the first locations.
[0050] In this embodiment of the application, during the movement of the mobile device along a preset path, at least one environmental image can be captured by a camera, the corresponding first position can be obtained using the environmental image, and at least one first position can be stored.
[0051] Optionally, the above steps, in which the mobile device captures at least one environmental image through the camera and stores at least one of the first locations while moving along the preset path, can be implemented in the following manner:
[0052] During the movement of the mobile device along the preset path, at least one environmental image is captured by the camera, and the largest inscribed circle of the sky area in the environmental image is taken. When the radius of the largest inscribed circle is greater than the preset radius, the coordinates of the center of the largest inscribed circle projected onto the ground are stored as the first position.
[0053] The preset radius can be set in advance or be the system default. The preset radius is to ensure that the sky area is large and open enough, while eliminating some smaller sky areas. In the specific implementation, as the mobile device moves along the preset path, it can capture at least one environmental image through the camera. Each environmental image can contain k sky areas. For each environmental image, a first position is extracted. There can be one or more first positions, where k is a natural number, such as k = 0, 1, 2, etc. The largest inscribed circle of the sky area in the environmental image is taken. If the radius of the largest inscribed circle is greater than the preset radius, the coordinates of the center of the largest inscribed circle projected onto the ground are stored as the first position.
[0054] For example, if there are no objects obstructing the view, the entire area in the environment image will be the sky. However, due to the presence of other objects (such as houses or trees), a single sky area will be divided into multiple sky areas by these objects. Figure 1BAs shown, multiple sky regions can exist in an environmental image.
[0055] The reason for choosing the center point is that the satellite signal at the center point is considered to be the best. Since the area around the sky is the non-sky area, satellite positioning is poor in this area due to the obstruction of surrounding obstacles. Choosing the center point can be understood to some extent as the location corresponding to the point is less affected by surrounding obstacles, and therefore has the best satellite signal.
[0056] For example, Figure 1C As shown, rectangles can represent the environment image, ellipses represent the sky region, and circles can represent the largest inscribed circle of the sky region. Furthermore, as... Figure 1D As shown, the mobile device may include a rear-view camera, which takes a picture of the sky to obtain an environmental image. The coordinates O' of the projection of the center O of the inscribed circle of the sky region of the environmental image onto the ground are stored as the first position.
[0057] For example, in the specific implementation, as the mobile device moves along a preset path, it can continuously capture environmental images through the rear-view camera to obtain the largest inscribed circle of the sky region in the environmental image. That is, it identifies the sky region in the environmental image and then determines the largest inscribed circle of the sky region. When the radius of the largest inscribed circle is greater than the preset radius, the center coordinates of the largest inscribed circle projected onto the grass are recorded as the first position. Conversely, when the radius of the largest inscribed circle is less than or equal to the preset radius, the center coordinates of the largest inscribed circle projected onto the grass do not need to be recorded.
[0058] In specific implementation, the projected coordinates of the center of the tangent circle in the sky region on the ground can be determined as follows: The method for determining the projected coordinates of the center of the tangent circle in the sky region on the ground is as follows: By recognizing the spatial coordinates (X1, Y1, Z1) of the obstacle from the image, calculate 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 region. Based on the offset and the spatial coordinates (X1, Y1, Z1) of the obstacle, determine the projected coordinates (X1+ΔX', Y1+ΔY') of the center of the inscribed circle on the ground. X1 and Y1 are ground coordinates, and Z1 is the altitude coordinate. (ΔX', ΔY') and the offset (ΔX, ΔY) have a preset mapping relationship.
[0059] For example, in Figure 1D Based on this, please refer to Figure 1EPoint T represents the location of the obstacle, with spatial coordinates (X1, Y1, Z1); T' represents the projection of the obstacle's location onto the ground, i.e., (X1, Y1, 0). Since projection processing is required, height can be ignored. The spatial coordinates of point O are (X2, Y2), and therefore, the spatial coordinates of point O' are also (X2, Y2). The offsets (ΔX, ΔY) can be calculated as follows: ΔX = X component of pixel coordinates of point O - X component of pixel coordinates of point T, ΔY = Y component of pixel coordinates of point O - Y component of pixel coordinates of point T. Furthermore, through a preset mapping relationship, the spatial coordinate offsets (ΔX', ΔY') can be obtained from the pixel coordinate offsets (ΔX, ΔY). Then, the coordinates of point O' can be obtained as (X1 + ΔX', Y1 + ΔY').
[0060] Specifically, the rear-view camera can capture environmental images at preset time intervals. The preset time interval can be set in advance or is the system default. This is equivalent to obtaining the largest 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 largest inscribed circle of the sky area. When the radius of the largest inscribed circle is greater than the preset radius, the center coordinates of the largest inscribed circle projected onto the grass are recorded as the first position. Because of continuous recording, a list of first positions will be recorded, consisting of multiple first positions that meet the requirements.
[0061] In practice, satellite positioning signals can include satellite signals. Taking a lawnmower robot as an example, if the satellite signal is strong during the lawnmower robot's operation along a preset path, satellite positioning is used to enable the lawnmower robot to walk along the preset path. While walking along the preset path, the lawnmower robot continuously captures environmental images through a rear-view camera, and takes the largest inscribed circle of the sky area in the image. If the inscribed circle is larger than a preset radius, the coordinates of the center of the inscribed circle are recorded as the first position. This first position specifically refers to the coordinates of the center coordinates projected onto the grass.
[0062] 103. When the distance is equal to the remaining usable range, if the satellite positioning signal is detected to not meet the preset condition, the mobile device is controlled to move to the nearest first position so that the mobile device can detect the satellite positioning signal at the new position and meet the preset condition. The remaining usable range is obtained based on the preset usable range and the mileage by which the mobile device continues to move along the preset path.
[0063] The preset endurance range can be set in advance or set by the system default. It can be assumed that within the preset endurance range, accurate positioning can be guaranteed using non-satellite positioning technology. For example, the preset endurance range can be determined to be 100 meters based on the performance of the IMU or VIO device.
[0064] In the specific implementation, the initial point is the location of the mobile device when the distance between the mobile device and the nearest first location is equal to the remaining range. For safety reasons, high-precision positioning needs to be maintained during the process from the initial point to the first location to prevent the mobile device from falling into restricted areas or walking out of the grass. Therefore, in this embodiment, the mobile device goes to the nearest first location when the distance is equal to the remaining range, which can ensure that the mobile device maintains high-precision positioning during the process from the initial point to the first location.
[0065] To illustrate, taking a mobile device as a lawnmower robot, even when the satellite positioning signal is not sufficient, the lawnmower robot can still maintain accurate positioning within a certain distance. When the distance between the lawnmower robot and the nearest first position is equal to the remaining range, it means that if the lawnmower robot does not go to the first position, the distance to the next nearest first position may also be greater than the remaining range, causing the lawnmower robot to be unable to accurately reach the first position.
[0066] Furthermore, to reduce the number of times the lawnmower robot travels from the preset path to the first location and ensure its efficiency while mowing along that path, if the robot continues to move a short distance along the preset path before heading to the first location when a poor satellite signal occurs, it will lead to frequent trips to the first location, resulting in low mowing efficiency. It's also unnecessary for the lawnmower robot to head to the first location immediately upon encountering a poor satellite signal, as the coordinates obtained at that point are still accurate, and there's no need to go to the first location to calibrate the current coordinates.
[0067] In this embodiment, the remaining extendable mileage is obtained based on the preset extendable mileage and the mileage the mobile device continues to move along the preset path. When the distance is equal to the remaining extendable mileage, if the satellite positioning signal is detected to 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 new position. 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). In other words, 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, improve the positioning accuracy, and solve the problem that the satellite positioning is inaccurate when it is blocked, which affects the walking of the lawnmower robot.
[0068] In this context, open areas can be understood as areas with good satellite positioning signal quality.
[0069] To illustrate, in the specific implementation, if a satellite signal failure occurs during the movement along the preset path, VIO positioning is used to extend the lifespan. That is, after a satellite signal failure, the mobile device can still travel a preset lifespan distance of 100 meters. Within this preset lifespan distance, the mobile device can still obtain accurate positioning via VIO. During the VIO positioning lifespan extension process (i.e., within the preset lifespan distance of 100 meters), the remaining lifespan distance (100 meters minus the distance already traveled) is calculated to determine the distance between the lawnmower robot's current position and the nearest first position.
[0070] Optionally, the remaining extendable mileage is equal to the difference between the preset extendable mileage and the mileage by which the mobile device continues to move along the preset path.
[0071] For example, the remaining remaining range can be calculated using the following formula:
[0072] Remaining extendable range = Preset extendable range - Distance the mobile device will travel along the preset path
[0073] If the remaining range is greater than or equal to 0, and since the remaining range is within the preset range, the mobile device's location can be considered accurate.
[0074] Optionally, the following steps may also be included:
[0075] After the mobile device detects a satellite positioning signal that meets the preset conditions at its new location, it is controlled to return to the initial point. During the return process, the mobile device is located. When the mobile device moves to a location where the satellite positioning signal meets the preset conditions, satellite positioning technology is used for positioning. When the mobile device moves to a location where the satellite positioning signal does not meet the preset conditions, non-satellite positioning technology is used for positioning. The initial point is the location of the mobile device when the distance is equal to the remaining range.
[0076] The initial point is the location of the mobile device when the distance equals the remaining range of service.
[0077] In practice, after the mobile device detects that the satellite positioning signal meets the preset conditions at the new location, it controls the mobile device to return to the initial point. During the return process, the mobile device is located. Specifically, when the mobile device moves to a location where the satellite positioning signal meets the preset conditions, satellite positioning technology is used for positioning. When the mobile device moves to a location 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 obstructed, which affects the movement of the mobile device, can be solved.
[0078] Optionally, the following steps may also be included:
[0079] After the mobile device returns to the initial point, the step of controlling the mobile device to move along the preset path is executed again.
[0080] Specifically, after the mobile device returns to the initial point, steps 101-103 are executed again.
[0081] In this embodiment of the application, after the mobile device returns to the initial point, it can be controlled to move along a preset path. Since the mobile device is still within the remaining range of its lifespan while moving to the first location (center), the mobile device can still be accurately located to reach the nearest first location.
[0082] For example, in this embodiment of the application, after the mobile device reaches an open area, it is positioned using satellite positioning technology to obtain the location of the mobile device in the open area, and then the mobile device is controlled to return to the initial point. During the return process, satellite positioning is used first. If satellite positioning fails, visual positioning, inertial measurement unit (IMU) positioning, or visual-inertial odometry (VIO) positioning are used. Combined with the obtained location of the open area, the location of the initial point is obtained.
[0083] Specifically, after the mobile device reaches an open area (the nearest initial location), satellite positioning is used to obtain the absolute position of the mobile device within the open area. The mobile device is then controlled to return to the initial point. During the return process, satellite positioning is used first; if satellite positioning fails, visual positioning, IMU, or VIO positioning is then used. Combined with the obtained position in the open area, the position of the initial point is determined.
[0084] Optionally, the first position is the projected coordinates of the center of the largest inscribed circle of the sky region in the environmental image on the ground.
[0085] Among them, such as Figure 1D As shown, the mobile device uses its rear-view camera to capture an image of the sky, obtaining an environmental image. The coordinates of the center of the inscribed circle of the sky region in the environmental image projected onto the ground are then determined, which is the first position. This first position is the projection coordinate of the center of the largest inscribed circle of the sky region in the environmental image onto the ground.
[0086] Optionally, step 103 above, controlling the mobile device to move to the nearest first location, can be implemented in the following manner:
[0087] Control the mobile device to stop moving, and then control the mobile device to move from the initial point to the nearest first position;
[0088] or,
[0089] The mobile device is controlled to first move to the nearest first position, and then stop moving;
[0090] or,
[0091] The mobile device is controlled to move to the projection range of the largest inscribed circle corresponding to the nearest first position on the ground. When the mobile device enters the projection range of the largest inscribed circle on the ground, the moving speed is reduced to a preset moving speed, and the device moves a first preset distance at the preset moving speed. The movement is then stopped to 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, the device returns to the initial point. If the satellite positioning signal of the mobile device does not meet the preset condition within the preset time period, the device continues to move a second preset distance and waits again for the satellite positioning signal of the mobile device to meet the preset condition.
[0092] The preset movement speed can be set in advance or left as the system default. The preset time period can also be set in advance or left as the system default.
[0093] In practice, the mobile device can be controlled to stop moving, and then moved from the initial point to the nearest first position. Alternatively, the mobile device can be controlled to move to the nearest first position first, and then stop moving. Another option is to control the mobile device to move to the projection range of the largest inscribed circle corresponding to the nearest first position on the ground. Once the mobile device enters the projection range of the largest inscribed circle on the ground, its moving speed is reduced to a preset moving speed, and it moves a first preset distance at the preset moving speed, then stops moving to wait for the mobile device's satellite positioning signal to meet preset conditions. If the mobile device's satellite positioning signal meets the preset conditions within a preset time period, it returns to the initial point. If the mobile device's satellite positioning signal does not meet the preset conditions within the preset time period, it continues to move a second preset distance, and waits again for the mobile device's satellite positioning signal to meet the preset conditions. For example, the mobile device can be controlled to quickly move to the projection range of the inscribed circle (the inscribed circle where the nearest first position is located) on the ground, slow down after entering the projection range, move a certain distance, and then stop moving to wait for the satellite signal to meet the preset conditions. If the satellite signal is detected to meet the preset conditions, it 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. This means that the first location is used to guide the mobile device to an open area (an area where the satellite positioning signal meets the preset conditions). In this open area, satellite positioning can be used again, thus solving the problem of inaccurate satellite positioning when obstructed, which affects the movement of the lawnmower robot.
[0094] Optionally, the following steps may also be included:
[0095] When the distance is greater than or less than the remaining range, the mobile device is controlled to continue moving along the preset path.
[0096] In this embodiment of the application, when the distance is greater than the remaining range of the mobile device, the mobile device may not be able to accurately reach the nearest first location. Therefore, the mobile device is not stopped, but is controlled to continue moving until the satellite positioning signal meets the preset conditions.
[0097] In this embodiment of the application, when the distance is less than the remaining range of operation, the mobile device will frequently go to the first location from the preset path, resulting in low operation efficiency. In order to reduce the number of times the mobile device goes to the first location from the preset path and ensure the efficiency of the mobile device in performing operations on the preset path, the mobile device is controlled to continue moving along the preset path when the distance is less than the remaining range of operation.
[0098] For example, if a mobile device moves 1 meter along a preset path to the first location when the satellite signal is weak, it will cause the mobile device to frequently go to the first location, resulting in low work efficiency. It is also unnecessary for the mobile device to go to the first location as soon as the satellite signal is weak, because the coordinates obtained by the mobile device at the beginning of the satellite signal weakness are still accurate, and there is no need to go to the first location to calibrate the current coordinates.
[0099] For example, if the distance between the nearest first location and the mobile device's current location is greater than the remaining range, the mobile device will continue moving until the satellite signal meets the preset conditions. For instance, if the mobile device is at the starting point of the preset range of 100 meters (where the satellite signal difference just appears), and the nearest first location is found to be more than 100 meters away, the mobile device may not be able to accurately reach the nearest first location, so it will not stop moving.
[0100] Optionally, the following steps may also be included:
[0101] If the satellite positioning signal does not meet the preset conditions, the mobile device is located using non-satellite positioning technology to control the mobile device to continue moving along the preset path.
[0102] In this embodiment, if the satellite positioning signal does not meet the preset conditions, it indicates that the satellite positioning signal is weak and the satellite positioning may be inaccurate. Therefore, non-satellite positioning technology can be used to locate the mobile device and control the mobile device to continue moving along the preset path. In this way, accurate positioning can be guaranteed and accurate positioning can be achieved within the preset lifespan. This can solve the problem of inaccurate satellite positioning when obstructed, which affects the walking of the lawnmower robot.
[0103] Optionally, when trees and houses exist in the operating area of the mobile device, the following steps may also be included:
[0104] Obtain the tree height and building height in the work area;
[0105] The preset radius is determined based on the height of the trees and the height of the houses.
[0106] When trees and houses are present in the robot's work area, tree height can refer to the average height of all trees, or it can refer to the height of a single tree. House height can refer to the average height of all houses, or it can refer to the height of a single house.
[0107] In this embodiment, when there are trees and houses in the working area of the mobile device, a preset radius can be determined based on the height of the trees and the height of the houses. In this way, the corresponding preset radius can be determined based on the actual environment, which helps to improve the accuracy of identifying open areas.
[0108] Optionally, the above step of determining the preset radius based on the tree height and the house height can be implemented in the following manner:
[0109] The preset radius is determined according to the following formula:
[0110] Preset radius = tree height / house height × π / 4.
[0111] In practice, the preset radius is calculated as (tree height / house height) × π / 4. For example, the heights of trees or houses that might affect the signal within the work area can be pre-obtained, and the average height of these objects can be used to calculate the preset radius. In this way, the corresponding preset radius can be determined based on the actual environment, which helps improve the accuracy of identifying open areas.
[0112] For example, taking a robotic lawnmower as an example, the robotic lawnmower is equipped with a rear-view camera facing upwards and behind it. The robotic lawnmower can execute the control method of the mobile device according to the following steps:
[0113] S1. During the lawn mowing operation along the planned path, if the RTK signal is strong, the lawn mowing robot uses RTK positioning to enable it to walk along the planned path. While walking along the planned path, the lawn mowing robot continuously captures environmental images through a rear-view camera, takes the largest inscribed circle of the sky area in the image, and if the inscribed circle is larger than a preset radius, records the projection coordinates of the center of the inscribed circle on the ground as the first position.
[0114] S2. If an RTK signal failure occurs while walking along the planned path, the robot will continue its journey via VIO positioning. This means that even after an RTK signal failure, the lawnmower can still travel a preset extended range of 100 meters. Within this range, the robot can obtain accurate positioning via VIO. During the VIO positioning extension process (within the preset 100-meter range), the remaining extended range (100 meters minus the distance already traveled) is calculated, and the distance between the robot's current position and the nearest first position is determined. If the distance to the nearest first position is less than the remaining extended range, the robot continues walking. If the distance to the nearest first position is equal to the remaining extended range, the robot proceeds to step S3.
[0115] S3. If the distance between the robot and the nearest first position is equal to the remaining range of the robot, then control the lawnmower to move towards the nearest first position so that the lawnmower can reach an open area.
[0116] S4. After the lawnmower reaches the open area (the nearest first position), RTK positioning is performed to obtain the absolute position of the lawnmower in the open area, in order to calibrate the position of the lawnmower. Then, the lawnmower is controlled to return to the initial point.
[0117] S5. Starting from the initial point, continue walking along the planned path to perform lawn mowing. If the RTK signal has not yet recovered, use visual positioning or IMU or VIO positioning to control the lawn mowing robot to walk along the planned path. If the RTK signal recovers during the continued operation, use RTK positioning. Furthermore, if a poor RTK signal is detected again starting from the initial point, return to step S2 and subsequent steps.
[0118] RTK signal recovery can be understood as a strong RTK signal, while RTK signal failure can be understood as a weak RTK signal.
[0119] For example, Figure 1FAs shown, during the lawnmower robot's operation along the planned path, if a poor RTK signal occurs, such as at position A, the robot will use VIO positioning for continued operation. This means that even when the satellite positioning signal is insufficient, the robot can maintain accurate positioning within a certain distance (a preset extended range). Within the preset remaining extended range, the robot can still obtain accurate positioning via VIO. During the VIO positioning extension process, the remaining extended range is calculated to determine the distance between the robot's current position and the nearest first position. If the distance between the current position (position B) and the nearest first position (position C) equals the remaining extended range, the robot is controlled to move towards the nearest first position, i.e., from position B to position C, so that the robot reaches an open area. After reaching the open area (position C), the robot performs RTK positioning again to obtain its position in the open area, and then moves from position C back to position B, starting from the initial point (position B) to continue walking along the planned path and performing lawnmower operations.
[0120] The mobile device control method described in this 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 preset conditions, the mobile device continues to move along the preset path. During this continued movement, the distance between the mobile device's current position and the nearest first position is determined. If the distance equals the remaining usable range, and the satellite positioning signal does not meet the preset conditions, the mobile device moves to the nearest first position so that the mobile device detects a satellite positioning signal that meets the preset conditions at the new position. The remaining usable range is obtained based on the preset usable range and the distance the mobile device travels along the preset path. Therefore, even when the satellite positioning signal does not meet the conditions, the mobile device can maintain accurate positioning within a certain distance. When the distance to the nearest first location is equal to the remaining range, it means that if the mobile device does not go to the first location again, the distance to the next nearest first location may also be greater than the remaining range, causing the mobile device to be unable to accurately reach the first location. Therefore, if the satellite positioning signal still does not meet the condition when the distance between the mobile device and the nearest first location is equal to the remaining range, then the device should move to the nearest first location. This reduces the number of times the device needs to go to the first location, ensuring operational efficiency. In this way, the mobile device can also accurately reach the first location and use that first location to guide the mobile device to an open area (an area where the satellite positioning signal meets the preset condition). In other words, satellite positioning can be used again in an open area, which can solve the problem of inaccurate satellite positioning when obstructed, which affects the movement of the lawnmower robot.
[0121] Please see Figure 2 , Figure 2 This is a flowchart illustrating another control method for a mobile device provided in an embodiment of this application. As shown in the figure, the control method for this mobile device includes:
[0122] 201. Control the mobile device to move along a preset path.
[0123] 202. During the movement of the mobile device along the preset path, at least one environmental image is captured by the camera, and the largest inscribed circle of the sky area in the environmental image is taken. When the radius of the largest inscribed circle is greater than the preset radius, the coordinates of the center of the largest inscribed circle projected onto the ground are stored as the first position.
[0124] 203. When the mobile device moves to a location where the satellite positioning signal does not meet the preset conditions, the mobile device is controlled to continue moving along the preset path, and during the process of continuing to move along the preset path, the distance between the location of the mobile device and the nearest first location is determined.
[0125] 204. When the distance is equal to the remaining usable range, if the satellite positioning signal is detected to not meet the preset condition, the mobile device is controlled to move to the nearest first position so that the mobile device can detect the satellite positioning signal at the new position and meet the preset condition. The remaining usable range is obtained based on the preset usable range and the mileage by which the mobile device continues to move along the preset path.
[0126] For a detailed description of steps 201-204 above, please refer to [link to relevant documentation]. Figure 1A The steps involved in the control method for a mobile device described herein will not be repeated here.
[0127] The mobile device control method described in this application controls the mobile device to move along a preset path. During the movement of the mobile device along the preset path, at least one environmental image is captured by a camera, and the largest inscribed circle of the sky region in the environmental image is taken. When the radius of the largest inscribed circle is greater than a preset radius, the coordinates of the center of the largest inscribed circle projected onto the ground are stored as a first position. When the mobile device moves to a position where the satellite positioning signal does not meet a preset condition, the mobile device is controlled to continue moving along the preset path. During this continued movement, the distance between the mobile device's current position and the nearest first position is determined. If the distance equals the remaining range, and the satellite positioning signal does not meet the preset condition, the mobile device is controlled to move to the nearest first position so that the mobile device detects a satellite positioning signal that meets the preset condition at the new position. The remaining range is calculated based on the preset range and the distance the mobile device continues to move along the preset path. Therefore, even when the satellite positioning signal does not meet the requirements, the mobile device can still maintain accurate positioning within a certain distance. When the distance between the mobile device and the nearest first location is equal to the remaining range, it means that if the mobile device does not go to the first location, the distance to the next nearest first location may also be greater than the remaining range, causing the mobile device to be unable to accurately reach the first location. Therefore, choosing to move to the nearest first location when the distance between the mobile device and the nearest first location is equal to the remaining range, and the satellite positioning signal still does not meet the requirements, can reduce the number of times to go to the first location and ensure work efficiency. In this way, it can also ensure that the mobile device can accurately reach the first location and use the first location to guide the mobile device to an open area (an area where the satellite positioning signal meets the preset conditions). That is, in an open area, satellite positioning can be used again, which can solve the problem of inaccurate satellite positioning when obstructed, which affects the movement of the lawnmower robot.
[0128] Consistent with the above embodiments, please refer to Figure 3 , Figure 3 This is a schematic diagram of the structure of a mobile device provided in an embodiment of this 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 this embodiment, the programs include instructions for performing the following steps:
[0129] Control the mobile device to move along a preset path;
[0130] When the mobile device moves to a location where the satellite positioning signal does not meet the preset conditions, the mobile device is controlled to continue moving along the preset path, and during the process of continuing to move along the preset path, the distance between the location of the mobile device and the nearest first location is determined;
[0131] When the distance equals the remaining usable range, if the satellite positioning signal is detected to not meet the preset condition, the mobile device is controlled to move to the nearest first location so that the mobile device detects a satellite positioning signal that meets the preset condition at the new location. The remaining usable range is obtained based on the preset usable range and the mileage by which the mobile device continues to move along the preset path.
[0132] Optionally, the first position is the projected coordinates of the sky region on the ground in the environmental image captured by the camera of the mobile device.
[0133] Optionally, the first position is the projected coordinates of the center of the largest inscribed circle of the sky region in the environmental image on the ground.
[0134] Optionally, the above procedure may also include instructions for performing the following steps:
[0135] As the mobile device moves along the preset path, it captures at least one image of the environment using the camera and stores at least one of the first locations.
[0136] Optionally, in the step of capturing at least one environmental image via the camera and storing at least one of the first location aspects while the mobile device moves along the preset path, the above procedure includes instructions for performing the following steps:
[0137] During the movement of the mobile device along the preset path, at least one environmental image is captured by the camera, and the largest inscribed circle of the sky area in the environmental image is taken. When the radius of the largest inscribed circle is greater than the preset radius, the coordinates of the center of the largest inscribed circle projected onto the ground are stored as the first position.
[0138] Optionally, the remaining extendable mileage is equal to the difference between the preset extendable mileage and the mileage by which the mobile device continues to move along the preset path.
[0139] Optionally, the above procedure may also include instructions for performing the following steps:
[0140] After the mobile device detects a satellite positioning signal that meets the preset conditions at its new location, it is controlled to return to the initial point. During the return process, the mobile device is located. When the mobile device moves to a location where the satellite positioning signal meets the preset conditions, satellite positioning technology is used for positioning. When the mobile device moves to a location where the satellite positioning signal does not meet the preset conditions, non-satellite positioning technology is used for positioning. The initial point is the location of the mobile device when the distance is equal to the remaining range.
[0141] Optionally, the above procedure may also include instructions for performing the following steps:
[0142] After the mobile device returns to the initial point, the step of controlling the mobile device to move along the preset path is executed again.
[0143] Optionally, in controlling the mobile device to move to the nearest first location, the above procedure includes instructions for performing the following steps:
[0144] Control the mobile device to stop moving, and then control the mobile device to move from the initial point to the nearest first position;
[0145] or,
[0146] The mobile device is controlled to first move to the nearest first position, and then stop moving;
[0147] or,
[0148] The mobile device is controlled to move to the projection range of the largest inscribed circle corresponding to the nearest first position on the ground. When the mobile device enters the projection range of the largest inscribed circle on the ground, the moving speed is reduced to a preset moving speed, and the device moves a first preset distance at the preset moving speed. The movement is then stopped to 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, the device returns to the initial point. If the satellite positioning signal of the mobile device does not meet the preset condition within the preset time period, the device continues to move a second preset distance and waits again for the satellite positioning signal of the mobile device to meet the preset condition.
[0149] Optionally, the above procedure may also include instructions for performing the following steps:
[0150] When the distance is greater than or less than the remaining range, the mobile device is controlled to continue moving along the preset path.
[0151] Optionally, the above procedure may also include instructions for performing the following steps:
[0152] If the satellite positioning signal does not meet the preset conditions, the mobile device is located using non-satellite positioning technology to control the mobile device to continue moving along the preset path.
[0153] Optionally, the mobile device also includes a rear-view camera, the lens of which is positioned diagonally upward and rearward of the mobile device.
[0154] The mobile device described in this application is controlled to move along a preset path. When the mobile device moves to a location where the satellite positioning signal does not meet preset conditions, the mobile device continues to move along the preset path. During this continued movement, the distance between the mobile device's current location and the nearest first location is determined. If the satellite positioning signal does not meet the preset conditions when the distance equals the remaining usable range, the mobile device is controlled to move to the nearest first location so that the mobile device detects a satellite positioning signal that meets the preset conditions at the new location. The remaining usable range is obtained based on the preset usable range and the distance the mobile device travels along the preset path. Therefore, even when the satellite positioning signal does not meet the conditions, the mobile device can maintain accurate positioning within a certain distance. When the distance to the nearest first location equals the remaining range, it means that if the mobile device doesn't move to the first location, the distance to the next nearest first location might also be greater than the remaining range, preventing the mobile device from accurately reaching the first location. Therefore, if the satellite positioning signal still doesn't meet the condition when the distance between the mobile device and the nearest first location equals the remaining range, then the device should move to the nearest first location. This reduces the number of times the device needs to go to the first location, ensuring operational efficiency. In this way, the mobile device can also accurately reach the first location and use that location to guide it to an open area (an area where the satellite positioning signal meets the preset conditions). In other words, satellite positioning can be used again in an open area, which solves the problem of inaccurate satellite positioning when obstructed, affecting the movement of the lawnmower robot.
[0155] Figure 4 This is a functional unit block diagram of a control device 400 for a mobile device according to an embodiment of this application. The control device 400 for the mobile device includes: a first control unit 401, a determining unit 402, and a second control unit 403, wherein...
[0156] The first control unit 401 is used to control the mobile device to move along a preset path;
[0157] The determining unit 402 is used to control the mobile device to continue moving along the preset path when the mobile device moves to a position where the satellite positioning signal does not meet the preset conditions, and to 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;
[0158] The second control unit 403 is configured to, when the distance is equal to the remaining range, if the satellite positioning signal is detected to not meet the preset condition, control the mobile device to move to the nearest first position so that the mobile device detects a satellite positioning signal that meets the preset condition at the new position. The remaining range is obtained based on the preset range and the mileage by which the mobile device continues to move along the preset path.
[0159] Optionally, the first position is the projected coordinates of the sky region on the ground in the environmental image captured by the camera of the mobile device.
[0160] Optionally, the first position is the projected coordinates of the center of the largest inscribed circle of the sky region in the environmental image on the ground.
[0161] Optionally, the control device 400 of the mobile device is further specifically used for:
[0162] As the mobile device moves along the preset path, it captures at least one image of the environment using the camera and stores at least one of the first locations.
[0163] Optionally, in the step of capturing at least one environmental image via the camera and storing at least one of the first location aspects while the mobile device moves along the preset path, the control device 400 of the mobile device is specifically used for:
[0164] During the movement of the mobile device along the preset path, at least one environmental image is captured by the camera, and the largest inscribed circle of the sky area in the environmental image is taken. When the radius of the largest inscribed circle is greater than the preset radius, the coordinates of the center of the largest inscribed circle projected onto the ground are stored as the first position.
[0165] Optionally, the remaining extendable mileage is equal to the difference between the preset extendable mileage and the mileage by which the mobile device continues to move along the preset path.
[0166] Optionally, the control device 400 of the mobile device is further specifically used for:
[0167] After the mobile device detects a satellite positioning signal that meets the preset conditions at its new location, it is controlled to return to the initial point. During the return process, the mobile device is located. When the mobile device moves to a location where the satellite positioning signal meets the preset conditions, satellite positioning technology is used for positioning. When the mobile device moves to a location where the satellite positioning signal does not meet the preset conditions, non-satellite positioning technology is used for positioning. The initial point is the location of the mobile device when the distance is equal to the remaining range.
[0168] Optionally, the control device 400 of the mobile device is further specifically used for:
[0169] After the mobile device returns to the initial point, the step of controlling the mobile device to move along the preset path is executed again.
[0170] Optionally, in controlling the mobile device to move to the nearest first location, the second control unit 403 is specifically configured to:
[0171] Control the mobile device to stop moving, and then control the mobile device to move from the initial point to the nearest first position;
[0172] or,
[0173] The mobile device is controlled to first move to the nearest first position, and then stop moving;
[0174] or,
[0175] The mobile device is controlled to move to the projection range of the largest inscribed circle corresponding to the nearest first position on the ground. When the mobile device enters the projection range of the largest inscribed circle on the ground, the moving speed is reduced to a preset moving speed, and the device moves a first preset distance at the preset moving speed. The movement is then stopped to 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, the device returns to the initial point. If the satellite positioning signal of the mobile device does not meet the preset condition within the preset time period, the device continues to move a second preset distance and waits again for the satellite positioning signal of the mobile device to meet the preset condition.
[0176] Optionally, the control device 400 of the mobile device is further specifically used for:
[0177] When the distance is greater than or less than the remaining range, the mobile device is controlled to continue moving along the preset path.
[0178] Optionally, the control device 400 of the mobile device is further specifically used for:
[0179] If the satellite positioning signal does not meet the preset conditions, the mobile device is located using non-satellite positioning technology to control the mobile device to continue moving along the preset path.
[0180] The control device for the mobile device described in this 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 preset conditions, the device continues to move along the preset path. During this continued movement, the distance between the mobile device's current position and the nearest first position is determined. If the distance equals the remaining usable range, and the satellite positioning signal does not meet the preset conditions, the device moves to the nearest first position so that the mobile device detects a satellite positioning signal that meets the preset conditions at the new position. The remaining usable range is obtained based on the preset usable range and the distance the mobile device travels along the preset path. Therefore, even when the satellite positioning signal does not meet the conditions, the mobile device can maintain accurate positioning within a certain distance. When the distance to the nearest first location is equal to the remaining range, it means that if the mobile device does not go to the first location again, the distance to the next nearest first location may also be greater than the remaining range, causing the mobile device to be unable to accurately reach the first location. Therefore, if the satellite positioning signal still does not meet the condition when the distance between the mobile device and the nearest first location is equal to the remaining range, then the device should move to the nearest first location. This reduces the number of times the device needs to go to the first location, ensuring operational efficiency. In this way, the mobile device can also accurately reach the first location and use that first location to guide the mobile device to an open area (an area where the satellite positioning signal meets the preset condition). In other words, satellite positioning can be used again in an open area, which can solve the problem of inaccurate satellite positioning when obstructed, which affects the movement of the lawnmower robot.
[0181] It is understood that the functions of each program module of the control device of the mobile device in this embodiment can be specifically implemented according to the methods in the above method embodiments. The specific implementation process can be referred to the relevant descriptions in the above method embodiments, which will not be repeated here.
[0182] This application also provides a computer storage medium storing a computer program for electronic data interchange, which causes a computer to perform some or all of the steps of any of the methods described in the above method embodiments, wherein the computer includes a mobile device.
[0183] This application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods described in the above method embodiments. The computer program product may be a software installation package, and the computer may include a mobile device.
[0184] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0185] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0186] In the embodiments provided in this application, it should be understood that the disclosed system can be implemented in other ways. For example, the system embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between systems or units may be electrical or other forms.
[0187] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0188] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0189] If the integrated units described above are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, 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. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0190] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0191] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A control method for a mobile device, characterized in that, The method includes: Control the mobile device to move along a preset path; When the mobile device moves to a location where the satellite positioning signal does not meet the preset conditions, the mobile device is controlled to continue moving along the preset path, and during the process of continuing to move along the preset path, the distance between the location of the mobile device and the nearest first location is determined; When the distance equals the remaining usable range, if the satellite positioning signal is detected to not meet the preset condition, the mobile device is controlled to move to the nearest first location so that the mobile device detects a satellite positioning signal that meets the preset condition at the new location. The remaining usable range is obtained based on the preset usable range and the mileage by which the mobile device continues to move along the preset path. When the distance is less than the remaining range, the mobile device is controlled to continue moving along the preset path; If the satellite positioning signal does not meet the preset conditions, the mobile device is located using non-satellite positioning technology to control the mobile device to continue moving along the preset path.
2. The method according to claim 1, characterized in that, The first position is the projection coordinate of the sky region on the ground in the environmental image captured by the camera of the mobile device.
3. The method according to claim 2, characterized in that, The first position is the projection coordinate of the center of the largest inscribed circle of the sky region in the environmental image onto the ground.
4. The method according to claim 2, characterized in that, The method further includes: As the mobile device moves along the preset path, it captures at least one image of the environment using the camera and stores at least one of the first locations.
5. The method according to claim 4, characterized in that, The step of capturing at least one environmental image via the camera and storing at least one of the first locations while the mobile device moves along the preset path includes: During the movement of the mobile device along the preset path, at least one environmental image is captured by the camera, and the largest inscribed circle of the sky area in the environmental image is taken. When the radius of the largest inscribed circle is greater than the preset radius, the coordinates of the center of the largest inscribed circle projected onto the ground are stored as the first position.
6. The method according to any one of claims 1-5, characterized in that, The remaining usable mileage is equal to the preset usable mileage minus the mileage the mobile device continues to travel along the preset path.
7. The method according to any one of claims 1-5, characterized in that, The method further includes: After the mobile device detects a satellite positioning signal that meets the preset conditions at its new location, it is controlled to return to the initial point. During the return process, the mobile device is located. When the mobile device moves to a location where the satellite positioning signal meets the preset conditions, satellite positioning technology is used for positioning. When the mobile device moves to a location where the satellite positioning signal does not meet the preset conditions, non-satellite positioning technology is used for positioning. The initial point is the location of the mobile device when the distance is equal to the remaining range.
8. The method according to claim 7, characterized in that, The method further includes: After the mobile device returns to the initial point, the step of controlling the mobile device to move along the preset path is executed again.
9. The method according to claim 7, characterized in that, The control of the mobile device to move to the nearest first location includes: Control the mobile device to stop moving, and then control the mobile device to move from the initial point to the nearest first position; or, The mobile device is controlled to first move to the nearest first position, and then stop moving; or, The mobile device is controlled to move to the projection range of the largest inscribed circle corresponding to the nearest first position on the ground. When the mobile device enters the projection range of the largest inscribed circle on the ground, the moving speed is reduced to a preset moving speed, and the device moves a first preset distance at the preset moving speed. The movement is then stopped to 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, the device returns to the initial point. If the satellite positioning signal of the mobile device does not meet the preset condition within the preset time period, the device continues to move a second preset distance and waits again for the satellite positioning signal of the mobile device to meet the preset condition.
10. The method according to any one of claims 1-5, characterized in that, The method further includes: When the distance is greater than the remaining range, the mobile device is controlled to continue moving along the preset path.
11. A mobile device, characterized in that, It includes a processor and a memory, the memory being used to store one or more programs and configured to be executed by the processor, the programs including instructions for performing the steps of the method as described in any one of claims 1-10.
12. The mobile device according to claim 11, characterized in that, The mobile device also includes a rear-view camera, the lens of which is positioned diagonally upward and rearward of the mobile device.
13. A computer-readable storage medium, characterized in that, A computer program for storing electronic data interchange is provided, wherein the computer program causes a computer to perform the method as described in any one of claims 1-10.
Citation Information
Patent Citations
Enhanced gnss signal processing
CN101160535A
Automatic working system, self-moving equipment and control method thereof
CN107291077A
Charging control method and system for pure-electric sanitation sweeping vehicle in automatic driving process
CN110015147A
Cited By
Control methods for mobile device and related device
EP4772953A1
Control methods for mobile device and related device
WO2025261298A1