Control method of mobile device

By retracting the rearview mirror and displaying the side and rear view captured by the image acquisition component, the problem of rearview mirrors scraping in narrow environments is solved, improving vehicle safety and reliability and reducing blind spots.

CN121989802APending Publication Date: 2026-05-08GUANGZHOU XIAOPENG CONNECTIVITY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGZHOU XIAOPENG CONNECTIVITY TECH CO LTD
Filing Date
2026-03-27
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

Vehicle rearview mirrors are prone to scraping in narrow environments, leading to frequent accidents. Existing technology is insufficient to effectively prevent such accidents and provide continuous side and rear visibility.

Method used

By acquiring environmental information, the system controls the rearview mirror to retract and display the target image in a preset type of environment. The target image is provided by the side and rear view captured by the image acquisition component, including retracting the rearview mirror and displaying the target image when the rearview mirror is about to scrape against an obstacle.

Benefits of technology

It effectively avoids scratching the rearview mirror, reduces the probability of accidents, improves the safety and reliability of driving in narrow environments, reduces blind spots, provides continuous real-time side and rear images, and enhances user trust.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121989802A_ABST
    Figure CN121989802A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a control method of a mobile device, the mobile device comprises a rearview mirror and an image acquisition assembly, and the method comprises the following steps: acquiring environment information of an environment where the mobile device is located; and under the condition that it is determined that the mobile device runs in the environment of the preset type according to the environment information, the rearview mirror is controlled to be in a folded state, a target image is displayed, and the target image is obtained based on a view image, collected by the image collection assembly, of the rear side of the mobile device. According to the embodiment of the invention, the rearview mirror can be effectively prevented from being scratched, so that the probability of scratching accidents is reduced, and the driving safety and reliability of the mobile device in a narrow environment are improved; and a continuous real-time environment image of the side rear environment is provided for the user, so that the side rear view blind area of the mobile device is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and to, but is not limited to, a control method for a mobile device. Background Technology

[0002] The vehicle's rearview mirror is used to display real-time images of the environment to the side and rear of the vehicle, thereby assisting the driver in observing the area to the side and rear of the vehicle from inside the car and expanding the driver's field of vision.

[0003] In practice, it has been found that rearview mirrors are prone to scraping when vehicles pass through narrow roads or enter parking spaces with limited space. Therefore, improving vehicle safety in confined environments to avoid such accidents has become an urgent technical problem to be solved. Summary of the Invention

[0004] In view of this, the present application provides a control method for a mobile device. This method can not only effectively avoid scratches to the rearview mirror, thereby reducing the probability of scratch accidents and improving the safety and reliability of the mobile device when driving in narrow environments, but also provide users with continuous real-time images of the side and rear environment, thereby reducing blind spots in the side and rear view of the mobile device.

[0005] This application provides a control method for a mobile device, the mobile device including a rearview mirror and an image acquisition component, the method including: Obtain environmental information about the environment in which the mobile device is located; When the mobile device is determined to be traveling in a preset type of environment based on the environmental information, the rearview mirror is controlled to be in a retracted state and to display a target image, which is obtained based on the field of view of the side and rear of the mobile device captured by the image acquisition component.

[0006] In the above embodiments, when the mobile device determines that it is in a preset type of environment based on environmental information, controlling the rearview mirror to be in a retracted state and displaying the target image can effectively prevent the rearview mirror from being scratched, thereby reducing the probability of scratch accidents and improving the safety and reliability of the mobile device when driving in narrow environments. Moreover, since the target image is obtained based on the side and rear view captured by the image acquisition component, the side and rear view of the mobile device can also be displayed to the user when the rearview mirror is retracted. This achieves a smooth transition from the physical view provided by the rearview mirror to the electronic view provided by the image acquisition component, providing the user with a continuous real-time image of the side and rear environment. This reduces the blind spot of the mobile device's side and rear view, so that the user is no longer confused or anxious due to the retracted rearview mirror, enhancing the user's sense of security and trust in the mobile device.

[0007] In some embodiments, controlling the rearview mirror to be in a retracted state and displaying the target image includes: Obtain the travel path of the mobile device; The critical position is determined based on the driving path. When the mobile device reaches the critical position, the distance between the rearview mirror and the obstacle in the external environment of the mobile device is equal to the preset safe distance. Based on the critical position, determine the target time to retract the rearview mirror; At the target time, the rearview mirror is controlled to be in the retracted state and to display the target image.

[0008] In the above embodiments, the mobile device determines the position where the distance between the rearview mirror and an obstacle in the external environment of the mobile device is equal to a preset safe distance based on the mobile device's driving path. The mobile device then controls the rearview mirror to be in a retracted state and displays the target image based on the retraction time determined by the critical position. In other words, the mobile device only controls the rearview mirror to retract and display the target image when the rearview mirror is about to scrape against the obstacle (i.e., the critical position). This method not only conforms to the driving habit of manually controlling the rearview mirror to retract when driving to the critical position in a preset type of environment, but also achieves a smooth transition for the user to switch from observing the rearview mirror to observing the target image provided by the image acquisition component at the target time.

[0009] In some embodiments, determining the target time for retracting the rearview mirror based on the critical position includes: Obtain the initial moment when the mobile device reaches the critical position; The initial time is determined as the target time; or... The target time is determined based on the initial time and the preset response time. The preset response time includes the response time for the rearview mirror to switch from the unfolded state to the retracted state, and / or the response time of the target object on the preset seat inside the mobile device. The target time is earlier than the initial time.

[0010] In the above embodiments, the mobile device can determine the initial moment when the mobile device reaches the critical position as the target moment. That is, when the mobile device reaches the critical position, it controls the rearview mirror to retract, so that the rearview mirror retracts and the target image is displayed when the distance between the rearview mirror and the obstacle is equal to the preset safe distance, providing a smooth switching experience. Moreover, the mobile device can also use the response time of retracting the rearview mirror and / or the response time of displaying the target image as the preset response time, and preset the initial moment in advance by the response time, that is, compensate for the initial moment. This means that the rearview mirror is retracted and the target image is displayed before the initial moment, thus reserving sufficient time for the rearview mirror to be fully retracted and for the user to switch to observe the target image. This ensures that the rearview mirror is retracted when the distance between the rearview mirror and the obstacle is equal to the preset safe distance, effectively improving the accuracy and rationality of the timing of retracting the rearview mirror and displaying the target image, effectively avoiding the rearview mirror being scratched, and conforming to user intuition, further reducing the probability of scratch accidents.

[0011] In some embodiments, controlling the rearview mirror to be in a retracted state and displaying the target image includes: Detect the distance between the rearview mirror and obstacles in the external environment of the mobile device; When the distance is less than or equal to a preset safe distance, the rearview mirror is controlled to be in the retracted state and the target image is displayed.

[0012] In the above embodiments, the mobile device can control the retraction of the rearview mirror and the display of the target image when the distance between the rearview mirror and the obstacle is less than or a preset safe distance. This distance-based control method simplifies the decision-making process and improves the processing efficiency of the mobile device.

[0013] In some embodiments, displaying the target image includes: The target image is projected onto the projection component of the mobile device via the head-up display component; and / or, The target image is displayed on the display component of the mobile device.

[0014] In the above embodiments, the mobile device can project the target image onto the projection component via a head-up display component, facilitating the user's observation of the view from the side and rear of the mobile device from within the mobile device; and / or, the mobile device can also directly display the target image on the display component of the mobile device, eliminating the need for an additional head-up display component. The user can observe the view from the side and rear of the mobile device through the existing display component. This display method not only conforms to the user's viewing habits but also saves on the manufacturing cost of the mobile device. Moreover, by displaying the target image in multiple ways, the diversity of display methods for the view from the side and rear of the mobile device is effectively improved.

[0015] In some embodiments, the target image includes a view of the left rear side of the mobile device, and / or a view of the right rear side of the mobile device. The left rear view of the mobile device is displayed in the left area of ​​the component to be projected and / or the left area of ​​the display component; and / or, The right rear view of the mobile device is displayed in the right area of ​​the component to be projected and / or the right area of ​​the display component.

[0016] In the above embodiments, the left rear view of the mobile device is displayed in the left area of ​​the component to be projected and / or the display component, and the right rear view of the mobile device is displayed in the right area of ​​the component to be projected and / or the display component. This makes the display of the left and right rear view of the mobile device conform to the user's visual habits when viewing the rearview mirror, improving the convenience and adaptability for the user to view the target image.

[0017] In some embodiments, the method further includes: When the mobile device is in a first preset state, the target image continues to be displayed. The first preset state indicates that the mobile device has stopped moving for a duration less than or equal to a preset duration; or, When the mobile device is in a second preset state, the target image is canceled from display. The second preset state is used to indicate that the mobile device is in a stop position, or that the mobile device is stopped for a longer period than a preset duration, or that the mobile device is in a preset driving mode.

[0018] In the above embodiments, if the stopping time of the mobile device is less than or equal to a preset time, it indicates that the mobile device is temporarily pausing, and the target image continues to be displayed; if the mobile device is in a stopped position, it indicates that the mobile device is parked, and the target image is canceled; if the stopping time of the mobile device is greater than the preset time, it indicates that the mobile device is temporarily pausing, and the target image is canceled; if the mobile device is in a preset driving mode, it indicates that the mobile device no longer meets the conditions for displaying the target image, and the target image is canceled. The above-mentioned method of controlling the continued display or cancellation of the target image based on the different states of the mobile device improves the control flexibility of the mobile device in displaying the target image, and canceling the display of the target image when it is unnecessary can reduce the resource consumption of the mobile device.

[0019] In some embodiments, the method further includes: If the second preset state indicates that the duration of the mobile device's stop driving is longer than a preset duration, or if the mobile device is in a preset driving mode, and if the rearview mirror meets the deployment conditions, the rearview mirror is controlled to be deployed.

[0020] In the above embodiments, if the mobile device stops driving for a longer period than a preset time or is in a preset driving mode, and the rearview mirror meets the unfolding conditions, the rearview mirror is controlled to be unfolded. In other words, when the mobile device no longer meets the conditions for controlling the display of the target image, the rearview mirror can be unfolded in order to facilitate the user's observation of the field of view behind the mobile device, so that the user will no longer be confused and anxious due to the retraction of the rearview mirror.

[0021] In some embodiments, displaying the target image includes: If a target object is present in a preset seat inside the mobile device, the target image is displayed.

[0022] In the above embodiments, when a target object is present in the preset seat of the mobile device, it indicates that there is a user inside the mobile device, i.e., there is a need to observe the view from the side and rear of the mobile device. In this case, the target image is displayed. This method improves the rationality of displaying the target image and avoids unnecessary resource consumption of the mobile device when there is no user inside the mobile device.

[0023] In some embodiments, the target image includes at least the field of view displayed when the rearview mirror is in the deployed state.

[0024] In the above embodiments, since the target image includes at least the field of view displayed when the rearview mirror is in the unfolded state, the user can observe the field of view behind the side of the mobile device when the rearview mirror is in the unfolded state, thereby reducing the blind spot in the field of view behind the side of the mobile device in the target image and improving the safety and reliability of the mobile device when driving in narrow environments.

[0025] In some embodiments, the preset type of environment includes at least one of preset parking space, preset road and preset space, wherein the preset parking space is used to indicate a parking space whose width is less than a preset width, the preset road is used to indicate a road whose width is less than a preset width, and the preset space is used to indicate a space whose width is less than a preset width. The preset width is determined based on the width of the moving device when the rearview mirror is in the unfolded state.

[0026] In the above embodiments, the preset type of environment includes at least one of preset parking space, preset road and preset space. That is to say, when the environment in which the mobile device is located is a narrow parking space, a narrow road or a narrow space, the rearview mirror can be controlled to be in the retracted state and to display the target image, thereby improving the safety and reliability of the mobile device when driving in various narrow environments.

[0027] This application provides a control device for a mobile device, the mobile device including a rearview mirror and an image acquisition component, the control device comprising: The acquisition module is used to acquire environmental information about the environment in which the mobile device is located; The control module is used to control the rearview mirror to be in a retracted state and to display a target image when the mobile device is determined to be driving in a preset type of environment based on the environmental information. The target image is obtained based on the field of view of the side and rear of the mobile device captured by the image acquisition component.

[0028] This application provides a mobile device including a memory and a processor. The memory stores a computer program that can run on the processor, and the processor executes the program to implement the method described in this application.

[0029] This application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the methods described in this application.

[0030] This application provides a computer program product, including a computer program that, when executed by a processor, implements the methods described in this application. Attached Figure Description

[0031] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with this application and, together with the specification, serve to explain the technical solutions of this application.

[0032] Figure 1 This is a flowchart illustrating a control method for a mobile device disclosed in an embodiment of this application; Figure 2 This is a schematic diagram of a target image display disclosed in an embodiment of this application; Figure 3 This is a schematic flowchart of another control method for a mobile device disclosed in an embodiment of this application; Figure 4 This is a schematic diagram illustrating an application scenario of a mobile device disclosed in an embodiment of this application; Figure 5 This is a schematic flowchart of another control method for a mobile device disclosed in an embodiment of this application; Figure 6 This is a schematic diagram of the interaction process of a mobile device in a parking scenario disclosed in an embodiment of this application; Figure 7 This is a structural block diagram of a control device for a mobile device disclosed in an embodiment of this application; Figure 8 This is a structural block diagram of a mobile device disclosed in an embodiment of this application. Detailed Implementation

[0033] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the specific technical solutions of this application will be further described in detail below with reference to the accompanying drawings of the embodiments of this application. The following embodiments are used to illustrate this application, but are not intended to limit the scope of this application.

[0034] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0035] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0036] It should be noted that the terms "first, second, third" used in the embodiments of this application are used to distinguish similar or different objects and do not represent a specific order of objects. It can be understood that "first, second, third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0037] The rearview mirror of a vehicle is used to display real-time environmental images such as obstacles, roads, and people to the side and rear of the vehicle, thereby assisting the driver in observing the area to the side and rear of the vehicle through the rearview mirror, expanding the driver's field of vision and reducing the driver's blind spots.

[0038] In practice, it has been found that when vehicles pass through narrow roads, enter parking spaces with limited space, or meet oncoming traffic in complex road conditions, the rearview mirrors are prone to scraping because they typically protrude from the widest part of the vehicle. This is especially true when the driver's judgment of surrounding distances is flawed, making the rearview mirrors highly susceptible to scraping, collisions, or even damage. Therefore, improving vehicle safety in confined spaces to avoid such accidents has become an urgent technical problem to be solved.

[0039] In view of this, embodiments of this application provide a control method for a mobile device, the mobile device including a rearview mirror and an image acquisition component. The method includes: acquiring environmental information of the environment in which the mobile device is located; and, when it is determined from the environmental information that the mobile device is driving in a preset type of environment, controlling the rearview mirror to be in a retracted state and displaying a target image, the target image being obtained based on the field of view of the side and rear of the mobile device acquired by the image acquisition component. Embodiments of this application not only effectively prevent the rearview mirror from scraping against surfaces, thereby reducing the probability of scraping accidents and improving the safety and reliability of the mobile device driving in narrow environments; but also provide users with continuous real-time environmental images of the side and rear environment, thereby reducing blind spots in the side and rear field of view of the mobile device.

[0040] The control method for mobile devices proposed in this application is applied to mobile devices, which can be vehicles, drones, airplanes, ships, robots, etc. This application does not limit the scope of such mobile devices.

[0041] It should be noted that in the exemplary applications of vehicles provided in this application, the vehicles can be implemented as cars, commercial vehicles, special operation vehicles (such as fire trucks, emergency rescue vehicles, police cars, ambulances, etc.), motorcycles, electric bicycles, agricultural and engineering machinery vehicles (such as tractors, harvesters, excavators, bulldozers, etc.), special robot vehicles, etc.

[0042] To make the objectives and technical solutions of this application clearer and more intuitive, the control method for a mobile device disclosed in this application will be described in detail below with reference to the accompanying drawings. It should be understood that the execution entity for implementing the embodiments of this application may also be a processor or chip in the mobile device.

[0043] To facilitate the explanation and description of the control method for the mobile device provided in the embodiments of this application, the following description mainly uses the application of the control method for the mobile device to a vehicle as an example. Please refer to... Figure 1 , Figure 1 This is a flowchart illustrating a control method for a mobile device disclosed in an embodiment of this application, as shown below. Figure 1 The method shown may include the following steps: Step 110: The mobile device obtains environmental information about the environment in which the mobile device is located.

[0044] In this embodiment, during operation, the mobile device can acquire environmental information about its surroundings. This environmental information may include road information, obstacle information, traffic participant information, and road condition information. Specifically, road information reflects the lane and parking space where the mobile device is located; obstacle information reflects information about buildings, roadblocks, walls, etc.; traffic participant information may include information about pedestrians and other mobile devices; and road condition information reflects information about congested road sections and construction zones.

[0045] In this embodiment of the application, the mobile device obtains environmental information about its surroundings to determine whether it is in a narrow environment. It should be understood that if the mobile device is in a narrow environment, it may be involved in a scratch accident during operation. Therefore, the mobile device needs to determine the type of environment it is in based on the obtained environmental information, and determine whether it is in a narrow environment based on the determined type of environment, so that when the mobile device is in a narrow environment, it can implement corresponding strategies to avoid scratch accidents.

[0046] Optionally, the mobile device can acquire environmental information about its surroundings at preset time intervals. For example, assuming the preset time interval is 1 minute, the mobile device acquires environmental information every 1 minute. It should be noted that the preset time interval can be set by those skilled in the art according to actual needs, and this application does not limit it in this regard.

[0047] It should be noted that the environmental information involved in the embodiments of this application can be information that has been fully authorized by all parties.

[0048] Step 120: When the mobile device determines that it is driving in a preset type of environment based on the environmental information, it controls the rearview mirror to be in a retracted state and displays the target image. The target image is obtained based on the field of view of the side and rear of the mobile device captured by the image acquisition component.

[0049] In this embodiment of the application, the mobile device includes a rearview mirror, which is used to display the field of view to the side and rear of the mobile device, so as to facilitate the driver inside the mobile device to observe the environment to the side and rear of the mobile device.

[0050] The rearview mirror of a mobile device typically has two states during use: a retracted state and an extended state. When the rearview mirror is extended, it can display the view from the side and rear of the mobile device. Conversely, when the rearview mirror is retracted, it cannot display the view from the side and rear of the mobile device.

[0051] Optionally, the rearview mirrors of the mobile device include, but are not limited to, a left rearview mirror and a right rearview mirror. The left rearview mirror, when unfolded, is used to display the view from the left rear of the mobile device, and the right rearview mirror, when unfolded, is used to display the view from the right rear of the mobile device. In other words, the view from the side and rear of the mobile device includes, but is not limited to, the view from the left rear of the mobile device and the view from the right rear of the mobile device.

[0052] Optionally, the types of rearview mirrors in this application embodiment include, but are not limited to, electronic rearview mirrors and optical rearview mirrors. It should be noted that electronic rearview mirrors display the field-of-view image captured by the image acquisition component through a display component. Electronic rearview mirrors are not physically limited by the installation location of the rearview mirror, have the advantage of a wide field of view, and can dynamically adjust the displayed content according to different scenarios, significantly improving safety during movement. Optical rearview mirrors, on the other hand, reflect the field of view from the side and rear of the mobile device through optical components such as reflective lenses. Optical rearview mirrors are typically limited by the installation location and the influence of the external environment.

[0053] In this embodiment, the mobile device further includes an image acquisition component for acquiring images of the side and rear of the mobile device. The image acquisition component includes, but is not limited to, a camera, a depth camera, radar, infrared imaging equipment, or any combination thereof; this embodiment does not limit the specific combination. It should be noted that in this embodiment, the image acquisition component is installed on the left or right side of the mobile device's casing.

[0054] The image acquisition component captures the field of view behind the mobile device. This includes raw images and videos formed by the component capturing the environment within a specific field of view behind the mobile device, reflecting real-time changes in the environment behind the mobile device. For example, taking a vehicle as an example, while the vehicle is in motion, cameras installed on the left and right sides can capture the field of view behind the vehicle on the left and right, including other vehicles, pedestrians, buildings, etc.

[0055] Regardless of whether the rearview mirror of the mobile device is in the retracted or unfolded state, the image acquisition component can capture the field of view to the side and rear of the mobile device. If the driver observes the side and rear of the mobile device through the rearview mirror and the field of view displayed by the rearview mirror is not clear enough due to environmental influences, the driver can also observe the side and rear of the mobile device through the image acquisition component. This can help the driver to have a full understanding of the environment around the mobile device and improve driving safety.

[0056] It should be noted that the field of view captured by the image acquisition component from the side and rear of the mobile device can be a static image, a dynamic video, etc., and this application does not limit it.

[0057] Optionally, the image acquisition components include, but are not limited to, a first image acquisition component and a second image acquisition component. The first image acquisition component is used to acquire the view from the left rear of the mobile device, and the second image acquisition component is used to acquire the view from the right rear of the mobile device. It is understood that the first image acquisition component is typically installed on the left side of the mobile device's casing, and the second image acquisition component is typically installed on the right side of the mobile device's casing.

[0058] In this embodiment, the target image is obtained based on the view of the side and rear of the mobile device captured by the image acquisition component. That is, when the rearview mirror is in the retracted state, in order to ensure safety, it is necessary to capture the view of the side and rear of the mobile device through the image acquisition component and display the view of the side and rear of the mobile device.

[0059] As an alternative implementation, the target image includes part or all of the field of view behind and to the side of the mobile device captured by the image acquisition component.

[0060] Optionally, the target image includes a view of the left rear side of the mobile device and / or a view of the right rear side of the mobile device. It is understood that if the left rearview mirror of the mobile device is in the retracted state, the target image includes at least a view of the left rear side of the mobile device; if the right rearview mirror of the mobile device is in the retracted state, the target image includes at least a view of the right rear side of the mobile device, so that the driver can observe the views of the left and right rear sides of the mobile device.

[0061] As described above, the image acquisition components include, but are not limited to, a first image acquisition component and a second image acquisition component. In other words, the target image includes, but is not limited to, the field of view on the left rear side of the mobile device acquired by the first image acquisition component and the field of view on the right rear side of the mobile device acquired by the second image acquisition component.

[0062] In this embodiment, when the rearview mirror is in the retracted state, it is necessary to display the view of the side and rear of the mobile device on the mobile device in order to improve driving safety. That is to say, in this embodiment, after controlling the rearview mirror to be in the retracted state, the image acquisition component replaces the rearview mirror to display the view of the side and rear of the mobile device.

[0063] As an optional implementation, the target image includes at least the view displayed by the rearview mirror when it is in the deployed state. In this implementation, since the target image includes at least the view displayed by the rearview mirror when it is in the deployed state, the user can observe the view to the side and rear of the mobile device when the rearview mirror is in the deployed state, thereby reducing the blind spot to the side and rear of the mobile device in the target image and improving the safety and reliability of the mobile device when driving in narrow environments.

[0064] It is understandable that, since the rearview mirrors of the mobile device include a left rearview mirror and a right rearview mirror, the view of the left rear side of the mobile device in the target image is the view displayed by the left rearview mirror in its unfolded state, and the view of the right rear side of the mobile device is the view displayed by the right rearview mirror in its unfolded state. In other words, the target image includes at least the view displayed by the left rearview mirror in its unfolded state and the view displayed by the right rearview mirror in its unfolded state.

[0065] In this embodiment of the application, since the target image is obtained based on the field of view of the side and rear of the mobile device acquired by the image acquisition component, and the environmental information around the mobile device changes during the movement of the mobile device, the field of view of the side and rear of the mobile device also changes. In other words, the target image can be based on the changes in environmental information during the movement of the mobile device.

[0066] In this embodiment, after obtaining environmental information about its surroundings, the mobile device can determine the type of its environment based on this information and determine whether the environment belongs to a preset type. If the mobile device determines that it is traveling in a preset type environment, it can control the rearview mirror to be folded up and display the target image. The preset type of environment indicates a narrow environment, such as a narrow road or a parking space with limited space.

[0067] It should be understood that when the mobile device is in a confined space, the rearview mirror can be retracted to prevent it from being scratched. At the same time, since the driver cannot see the view to the side and rear of the mobile device when the rearview mirror is retracted, in order to ensure driving safety and help the driver see the view to the side and rear of the mobile device, the mobile device can also display the target image while the rearview mirror is in the retracted state.

[0068] Optionally, the preset environment type includes a preset parking space, which indicates a parking space with a width less than a preset width. The preset width is determined based on the width of the moving device when the rearview mirror is in the unfolded state. For example, if a vehicle is in a parking scenario and the width of the parking space into which the vehicle is about to park is less than the width of the vehicle, it indicates that the parking space is a space-constrained parking space. In this case, the rearview mirror can be controlled to be in the retracted state and to display the target image.

[0069] Optionally, the preset environment type includes a preset road, which indicates a road with a width less than a preset width. The preset width is determined based on the width of the moving device when the rearview mirror is in the unfolded state. For example, if a vehicle is in a meeting scenario and the width of the road is less than the width of the vehicle, it indicates that the road is a narrow section. In this case, the rearview mirror can be controlled to be in the retracted state and to display the target image.

[0070] Optionally, the preset environment type includes a preset space, which indicates a space whose width is less than a preset width. The preset width is determined based on the width of the moving device when the rearview mirror is in the unfolded state. For example, if the vehicle is in a car wash scenario, and the width of the car wash machine that the vehicle is about to enter is less than the width of the vehicle body, it indicates that the car wash machine space is narrow. In this case, the rearview mirror can be controlled to be in the retracted state and to display the target image.

[0071] It should be noted that the preset environment types include at least one of the preset parking spaces, preset roads, and preset spaces mentioned above. In other words, when the mobile device is in a narrow parking space, narrow road, or narrow space, it can control the rearview mirror to be in the folded state and display the target image, thereby improving the safety and reliability of the mobile device when driving in various narrow environments.

[0072] Optionally, the mobile device controls the rearview mirror to be in the retracted state by controlling the folding rearview mirror or controlling the retracting rearview mirror. It should be noted that the method by which the mobile device controls the rearview mirror to be in the retracted state is determined based on the mechanical structure of the rearview mirror. If the rearview mirror has a folding mechanical structure, the folding rearview mirror is controlled to be in the retracted state; if the rearview mirror has a retracting mechanical structure, the retracting rearview mirror is controlled to be in the retracted state.

[0073] For example, taking a vehicle's mechanical rearview mirror as an example, when the vehicle is started, the mechanical rearview mirror can switch from a folded state to an unfolded state.

[0074] As described in the foregoing embodiments, a mobile device can display a target image. In order to further improve the diversity and rationality of the ways of displaying the target image, and to improve the interaction and intelligence level of the mobile device, the mobile device can display the target image in the following different ways.

[0075] Method 1: Project the target image onto the projection component of the mobile device using the head-up display component of the mobile device.

[0076] Optionally, the component to be projected includes, but is not limited to, an optically transparent component, a windshield, etc. For example, the optically transparent component can be a side window, a sunroof, etc.

[0077] Optionally, the head-up display (HUD) can be a head-up display, augmented reality head-up display (AR-HUD), or the like. The HUD uses optical reflection to project a target image in a semi-transparent form onto the windshield and present it in the driver's field of vision, visually blending it with the actual external road scene. This reduces the frequency with which the driver needs to check the instrument panel, displays, and other display components, thus improving driving safety.

[0078] As an example, please see Figure 2 , Figure 2 This is a schematic diagram of a target image display disclosed in an embodiment of this application. For example... Figure 2 As shown, when a vehicle is parked in a narrow parking space, the rearview mirror can be folded up, and the view images of the left and right rear sides of the vehicle captured by the camera (i.e., target images) can be projected onto the windshield 10 of the vehicle (an example of the projection component).

[0079] Method 2: Display the target image on the display component of the mobile device.

[0080] Optionally, the display components include, but are not limited to, dashboards, displays, etc.

[0081] For example, the instrument panel is usually located directly in front of the driver's seat, minimizing line-of-sight deviation. Displaying a target image on the instrument panel facilitates observation of the vehicle's side and rear view. A central control display screen, typically used to indicate vehicle information, is usually larger and is often used to display panoramic images (e.g., SR simulated panoramic image, 360-degree panoramic image) in parking scenarios. Displaying a target image on the screen also helps in observing the vehicle's side and rear view.

[0082] It should be noted that the mobile device can display the target image using at least one of the methods 1 and 2 described above.

[0083] Using the embodiments shown in Methods 1 and 2 above, the mobile device can project the target image onto the projection component via a head-up display component, facilitating the user's observation of the view from the side and rear of the mobile device from within the mobile device; and / or, the mobile device can also directly display the target image on the display component of the mobile device, without the need to add an additional head-up display component. The user can observe the view from the side and rear of the mobile device through the existing display component. This display method not only conforms to the user's viewing habits but also saves on the manufacturing cost of the mobile device; moreover, by displaying the target image in the above multiple ways, the diversity of display methods for the view from the side and rear of the mobile device is effectively improved.

[0084] Optionally, the view of the left rear side of the mobile device can be displayed in the left area of ​​the component to be projected.

[0085] Optionally, the view of the right rear side of the mobile device can be displayed in the right area of ​​the component to be projected.

[0086] For example, after the vehicle's rearview mirrors are folded up, the target image is projected onto the windshield via a head-up display, wherein the left side of the windshield displays the view of the vehicle's left rear side, and the right side of the windshield displays the view of the vehicle's right rear side.

[0087] It should be noted that the left and right regions of the component to be projected can be divided by those skilled in the art according to actual needs, and this application does not limit this.

[0088] Optionally, the view of the left rear side of the mobile device can be displayed in the left area of ​​the display component.

[0089] Optionally, the view of the right rear side of the mobile device can be displayed in the right area of ​​the display component. For example, after the vehicle's rearview mirrors are folded up, the target image is displayed on the instrument panel, where the left side of the instrument panel displays the view of the vehicle's left rear side, and the right side of the instrument panel displays the view of the vehicle's right rear side.

[0090] It should be noted that the left and right areas of the display component can be divided by those skilled in the art according to actual needs, and this application does not limit this.

[0091] In the above-described embodiments of displaying the left and right rear view images of the mobile device, the left rear view image of the mobile device is displayed in the left area of ​​the projection component and / or display component, and the right rear view image of the mobile device is displayed in the right area of ​​the projection component and / or display component. This ensures that the display of the left and right rear view images of the mobile device is in line with the user's visual habits when viewing the rearview mirror, improving the convenience and adaptability for the user to view the target image.

[0092] The left and right rear view of the mobile device are displayed on the left and right sides of the projection component and other display components, respectively, to show the real-time images of the left and right cameras. This simulates the user's habit of viewing a physical rearview mirror. The left area displays the left rear view and the right area displays the right rear view, forming an electronic virtual rearview mirror.

[0093] As described in the foregoing embodiments, when the mobile device is driving in a preset type of environment, the mobile device can control the rearview mirror to be in a retracted state and to display a target image. The following will describe in detail the implementation method of the mobile device controlling the rearview mirror to be in a retracted state and to display a target image.

[0094] As an optional implementation, the mobile device may further display the target image by displaying the target image when a target object is present in a preset seat inside the mobile device. It should be noted that the preset seat inside the mobile device includes, but is not limited to, the driver's seat, the front passenger seat, etc. The target object is used to indicate the driver in the driver's seat, the user in the front passenger seat, etc.

[0095] Under normal circumstances, the preset seat is used to indicate the driver's seat. That is, when there is a driver in the driver's seat, there is a need to observe the view behind and to the side of the mobile device, so the target image is displayed.

[0096] In the above embodiments, when a target object is present in the preset seat of the mobile device, it indicates that there is a user inside the mobile device, i.e., there is a need to observe the view from the side and rear of the mobile device. In this case, the target image is displayed. This method improves the rationality of displaying the target image and avoids unnecessary resource consumption of the mobile device when there is no user inside the mobile device.

[0097] In this embodiment of the application, taking a vehicle as an example, if the vehicle has an assisted parking function, when the user activates the assisted parking function in a narrow parking space scenario, the method of controlling the folding of the rearview mirrors before the vehicle enters the narrow parking space contradicts the user's habit of manually controlling the folding only when a scratch is about to occur. Moreover, if only the rearview mirrors are folded, the user inside the vehicle loses the direct visual perception of the environment to the side and rear of the vehicle, and the user cannot confirm the actual distance between the vehicle and the side obstacles, thus causing anxiety.

[0098] As an optional implementation, the mobile device controls the rearview mirror to be in a retracted state and to display a target image, including: detecting the distance between the rearview mirror and obstacles in the external environment of the mobile device; and controlling the rearview mirror to be in a retracted state and to display the target image when the distance is less than or equal to a preset safe distance. In other words, the mobile device can control the rearview mirror to be in a retracted state and to display a target image based on the distance between the rearview mirror and obstacles in the external environment of the mobile device.

[0099] The preset safe distance is used to indicate the minimum safe distance between the rearview mirror and an obstacle in the external environment of the mobile device, before they have collided but are about to collide.

[0100] It should be noted that those skilled in the art can set a preset safety distance according to actual needs, and this application does not limit this. For example, a preset safety distance of 10cm means that when the distance between the rearview mirror and an obstacle in the external environment of the mobile device is less than or equal to 10cm, the rearview mirror is controlled to be in a retracted state and to display the target image.

[0101] By adopting the above implementation method, the mobile device can control the retraction of the rearview mirror and the display of the target image when the distance between the rearview mirror and the obstacle is less than or a preset safe distance. This distance-based control method simplifies the decision-making process and improves the processing efficiency of the mobile device.

[0102] As an optional implementation, when the distance between the rearview mirror and an obstacle in the external environment of the mobile device is equal to a preset safe distance, it indicates that the mobile device has reached a critical position. The mobile device can also determine the target time for controlling the rearview mirror to be in the retracted state and displaying the target image based on the critical position. Please refer to... Figure 3 , Figure 3 This is a flowchart illustrating another control method for a mobile device disclosed in an embodiment of this application. The implementation of controlling the rearview mirror to be in a retracted state and displaying the target image in step 120 can be achieved through steps 121 to 124, which will be described in detail below.

[0103] Step 121: The mobile device obtains the travel path of the mobile device.

[0104] Optionally, the mobile device may obtain its travel path by predicting environmental information, including but not limited to its speed, direction, status, and scenario. It should be noted that the travel status indicates whether the mobile device is moving forward or backward; the scenario indicates whether the mobile device is in a parking, oncoming traffic, or car wash scenario.

[0105] For example, if the vehicle's driving scenario is a parking scenario, the parking path of the mobile device (an example of a driving path) can be predicted based on the vehicle's driving speed, driving direction, and driving status.

[0106] Step 122: The mobile device determines the critical position based on the driving path. When the mobile device reaches the critical position, the distance between the rearview mirror and the obstacle in the external environment of the mobile device is equal to the preset safe distance.

[0107] Optionally, the mobile device determines the critical position based on the driving path by: the mobile device can obtain the distance between the rearview mirror and obstacles in the external environment of the mobile device during the process of the mobile device driving along the driving path; and determine the position where the distance between the rearview mirror and obstacles in the external environment of the mobile device is equal to a preset safety distance as the critical position.

[0108] The preset safety distance indicates the minimum safe distance between the rearview mirror and an obstacle in the external environment of the mobile device, before or shortly before a collision occurs. In essence, when the mobile device reaches a critical position, the distance between the rearview mirror and the obstacle in the external environment equals the preset safety distance, indicating that the rearview mirror and the obstacle have not yet collided, but are about to do so.

[0109] It can be understood that the critical position is the position of the mobile device when the distance between the rearview mirror and an obstacle in the external environment of the mobile device is equal to the preset safe distance during the movement of the mobile device.

[0110] It should be noted that when the mobile device reaches the critical position, the distance between the rearview mirror and the obstacle in the external environment of the mobile device is equal to the preset safe distance. This means that when the mobile device reaches the critical position, the preset safe distance is the safe distance at which the rearview mirror and the obstacle in the external environment of the mobile device are about to collide, but have not yet collided.

[0111] As an example, please see Figure 4 , Figure 4 This is a schematic diagram illustrating an application scenario of a mobile device disclosed in an embodiment of this application. For example... Figure 4 The vehicle shown is in a parking scenario. Because there are obstacles on both sides of the parking space, and the parking space is narrow (i.e., when the vehicle drives into the parking space frame, the distance between the rearview mirror and the obstacles on both sides of the parking space is less than or equal to a preset safe distance), the vehicle proceeds as follows... Figure 4 During the process of parking into the parking space frame in the direction indicated by the arrow, when the vehicle reaches the position shown in Figure (b), it indicates that the vehicle is in a critical position. At this time, the rearview mirror has not yet scraped against the obstacle, but it is about to scrape against it.

[0112] Step 123: The mobile device determines the target time to retract the rearview mirror based on the critical position.

[0113] After determining the critical position based on the driving path, the mobile device also needs to determine the time when the rearview mirror is in the retracted state and the target image is displayed. That is, the target time is the time when the mobile device controls the rearview mirror to be in the retracted state and displays the target image.

[0114] Step 124: At the target time, the mobile device controls the rearview mirror to be in the retracted state and to display the target image.

[0115] Optionally, after determining the target time for retracting the rearview mirror, the mobile device can simultaneously control the rearview mirror to be in the retracted state and display the target image at the target time.

[0116] It should be noted that the location-related information involved in the embodiments of this application can be information that has been fully authorized by all parties.

[0117] Using the above-described steps 121 to 124, the mobile device determines the position where the distance between the rearview mirror and an obstacle in the external environment of the mobile device is equal to a preset safe distance, based on the mobile device's driving path, as the critical position. The mobile device then controls the rearview mirror to be in a retracted state and displays the target image based on the retraction time determined by the critical position. In other words, the mobile device only controls the rearview mirror to retract and display the target image when the rearview mirror is about to scrape against an obstacle (i.e., the critical position). This method not only conforms to the driving habit of manually retracting the rearview mirror when approaching the critical position in a preset type of environment, but also achieves a smooth transition for the user from observing the rearview mirror to observing the target image provided by the image acquisition component at the target time.

[0118] As an optional implementation, the mobile device includes an environmental perception and decision-making module and an image coordination module. The environmental perception and decision-making module is used to determine the type of environment in which the mobile device is located based on environmental information, and to determine whether the mobile device is driving in a preset type of environment. The environmental perception and decision-making module is also used to obtain the driving path of the mobile device, determine the critical position based on the driving path, and determine the target time to fold up the rearview mirror based on the critical position. The image coordination module is used to display the target image when it is determined from the environmental information that the mobile device is driving in a preset type of environment.

[0119] As described in the foregoing embodiments, the mobile device can determine the target time for retracting the rearview mirror based on a critical position. The implementation method for determining the target time for retracting the rearview mirror using the aforementioned mobile device will be described in detail below.

[0120] As an optional implementation, the method by which the mobile device determines the target time for retracting the rearview mirror based on the critical position may include: the mobile device acquiring the initial time when the mobile device travels to the critical position; and determining the initial time as the target time.

[0121] Optionally, the method for obtaining the initial time when the mobile device reaches the critical position may include: the mobile device determines the time corresponding to when it reaches the critical position based on the travel path, and uses the time corresponding to the critical position as the initial time.

[0122] It is understandable that the mobile device can determine the initial time as the target time. In other words, when the mobile device travels along the driving path to the critical position, it will trigger the mobile device to retract the rearview mirror and display the target image.

[0123] As an example, such as Figure 4As shown in Figure (b), when the vehicle reaches the position indicated by Figure (b), it is considered to be at a critical position. The time when the vehicle reaches this critical position is taken as the initial time. As the vehicle travels along the driving path, when it reaches the position shown in Figure (b) at the initial time, the rearview mirror is controlled to be folded up and the target image is displayed. In other words, the vehicle no longer folds up the rearview mirrors immediately at the start of parking, but rather when the vehicle reaches the critical position where the rearview mirrors are about to interfere with the obstacle, the rearview mirrors are controlled to be folded up.

[0124] In the above embodiments, the mobile device can determine the initial moment when the mobile device reaches the critical position as the target moment, that is, control the rearview mirror to retract when it reaches the critical position, so that the rearview mirror retracts and the target image is displayed when the distance between the rearview mirror and the obstacle is equal to the preset safe distance, providing a smooth switching experience.

[0125] As an optional implementation, the mobile device can also determine the target time to retract the rearview mirror by combining a preset response time. Based on this, Figure 5 This is a flowchart illustrating another control method for a mobile device disclosed in an embodiment of this application. Please refer to [link / reference]. Figure 5 The implementation method of determining the target time for retracting the rearview mirror in step 123 above can also be achieved through the following steps 1231 to 1232, which will be explained in detail below.

[0126] Step 1231: The mobile device acquires the initial moment when the mobile device travels to the critical position.

[0127] It should be noted that the specific implementation method for obtaining the initial moment when the mobile device reaches the critical position can be found in the description of the foregoing embodiments, and will not be repeated here.

[0128] Step 1232: The mobile device determines the target time based on the initial time and the preset response time. The preset response time includes the response time for the rearview mirror to switch from the unfolded state to the retracted state, and / or the response time of the target object on the preset seat inside the mobile device. The target time is earlier than the initial time.

[0129] Due to the mechanical structure of rearview mirrors, there is usually a certain execution delay in the transmission mechanism during the process of switching the rearview mirror from the unfolded state to the retracted state, i.e., there is a certain mechanical response time. Moreover, after controlling the rearview mirror to be in the retracted state and displaying the target image, the user needs to switch from viewing the physical view provided by the rearview mirror to viewing the electronic view provided by the image acquisition component (i.e., the target image). This switching process usually requires a certain reaction buffer time for the user, i.e., there is a certain user response time.

[0130] Therefore, the mobile device can use the response time of the rearview mirror switching from the unfolded state to the retracted state, and / or the response time of the target object on the preset seat inside the mobile device as the preset response time; and determine the target time based on the initial time and the preset response time.

[0131] Since the target time is earlier than the initial time, the mobile device determines the target time based on the initial time and the preset response duration by determining the time corresponding to the preset response duration before the initial time as the target time. Therefore, the preset response duration can be understood as a preset delay duration.

[0132] For example, the target time = initial time - (mechanism response time + user response time). Assuming the initial time is 15:00:00 in the afternoon and the preset response time is 2 seconds, the target time is 14:59:58 in the afternoon. This means that at 14:59:58 in the afternoon, the vehicle's rearview mirror is controlled to be in the folded state and the target image is displayed. That is, the target time before the vehicle reaches the critical position is (14:59:58 in the afternoon), and the vehicle's rearview mirror is controlled to be in the folded state and the target image is displayed.

[0133] As an example, such as Figure 4 As shown, the initial moment is when the vehicle reaches the position shown in Figure (b) (an example of a critical position). The time required for the vehicle to travel from the position shown in Figure (c) to the position shown in Figure (b) is 2 seconds (an example of a preset response time). Therefore, the moment when the vehicle reaches the position shown in Figure (c) is taken as the target moment. In other words, when the vehicle reaches the position shown in Figure (c) at the target moment, the rearview mirror is controlled to be in the folded state and the target image is displayed.

[0134] By adopting the implementation methods of steps 1231 to 1232 above, the mobile device can also use the response time for retracting the rearview mirror and / or the response time for displaying the target image as the preset response time, and preset the initial moment in advance by the response time, that is, compensate for the initial moment. This means that the retraction of the rearview mirror and the display of the target image are controlled before the initial moment, thereby reserving sufficient time for the rearview mirror to be fully retracted and for the user to switch to observing the target image. This ensures that the rearview mirror is retracted when the distance between the rearview mirror and the obstacle is equal to the preset safe distance, effectively improving the accuracy and rationality of the timing of retracting the rearview mirror and displaying the target image, effectively avoiding the rearview mirror from being scratched, and conforming to the user's intuition, further reducing the probability of scratch accidents.

[0135] As an optional implementation, when the mobile device is traveling in a preset type of environment, a target image can be displayed, that is, a view of the side and rear of the mobile device. After the target image is displayed, the travel status of the mobile device may change. The mobile device can also detect its travel status; depending on the travel status, it can continue displaying the target image or cancel displaying it.

[0136] It is understandable that a mobile device can be in various driving states during operation, meaning that the display of the target image can be controlled depending on the driving state. The following section will detail the display methods of the target image under different driving states.

[0137] Optionally, the mobile device's driving state is a first preset state, which indicates that the mobile device's stop driving time is less than or equal to a preset time; when the mobile device is in the first preset state, the target image continues to be displayed. It should be understood that the mobile device's stop driving time is used to indicate the duration of time the mobile device remains stationary after switching from the driving state to the stationary state.

[0138] For example, if the vehicle is in a parking scenario, and the duration of the vehicle's stop is less than or equal to a preset duration, it indicates that the vehicle is temporarily parked and the parking function is in a paused state. For instance, if a pedestrian temporarily passes by the vehicle, the parking function will pause. In this state, it is not necessary to cancel the display of the target image; the target image should continue to be displayed.

[0139] Using the above implementation method, if the stopping time of the mobile device is less than or equal to the preset time, it indicates that the mobile device has paused for a short period of time, and the target image continues to be displayed; if the mobile device is in the stop position, it indicates that the mobile device has been parked, and the target image is canceled from being displayed.

[0140] Optionally, the driving state of the mobile device is a second preset state, which indicates that the driving gear of the mobile device is in the stop gear, or that the stopping time of the mobile device is longer than a preset time, or that the mobile device is in a preset driving mode; when the mobile device is in the second preset state, the target image is canceled from being displayed.

[0141] When the mobile device is in the "stop" position, it means that the mobile device is in "P" gear. This position indicates that the mobile device is turned off and there is no need to display the target image, so the display of the target image is canceled.

[0142] Optionally, a preset driving mode is used to indicate the mode in which the user controls the mobile device, in which the mobile device is in a state of human control.

[0143] For example, if the vehicle is in a parking scenario and the vehicle is in P gear, it means that the vehicle has driven to the parking space and parking is complete. In this state, there is no need to display the target image, so the target image is canceled. If the vehicle is stopped for a longer period than the preset time, it means that the vehicle may have been stopped for a long time due to the parking function being interrupted. In this state, there is also no need to display the target image, so the target image is canceled. If it is detected that the driver has exited the parking function and the driver is manually parking, the driver can observe the external environment of the vehicle by opening the windows, etc., so the target image can also be canceled.

[0144] It should be noted that those skilled in the art can set the preset duration value according to actual needs, and this application does not limit this.

[0145] Using the above implementation method, if the mobile device stops driving for a longer period of time than a preset time, it indicates that the mobile device has been stopped for a long time, and the target image is canceled from being displayed; if the mobile device is in a preset driving mode, it indicates that the mobile device no longer meets the conditions for displaying the target image, and the target image is canceled from being displayed.

[0146] The above-mentioned method of controlling whether to continue displaying the target image or cancel the display of the target image based on the different states of the mobile device improves the control flexibility of the mobile device in displaying the target image, and canceling the display of the target image when it is not necessary to display the target image can reduce the resource consumption of the mobile device.

[0147] As an optional implementation, if the second preset state indicates that the duration of the mobile device's stop driving is longer than a preset duration, or if the mobile device is in a preset driving mode, the rearview mirror is controlled to be in the unfolded state if the unfolding conditions are met.

[0148] As described in the foregoing embodiments, if the mobile device remains stationary for a longer period than a preset duration, it indicates that the mobile device has been stationary for an extended period and is in a preset driving mode to indicate that the user has taken manual control of the mobile device. In all these states, the user may need to take over control of the mobile device. Therefore, to improve driving safety and facilitate the user's observation of the view to the side and rear of the mobile device, even with the target image already disabled, it can be determined whether the rearview mirror meets the deployment conditions. If the rearview mirror meets the deployment conditions, it is controlled to be deployed.

[0149] Optionally, the deployment conditions may include the rearview mirror being in the deployed state and the distance between the rearview mirror and obstacles in the external environment of the mobile device being greater than or equal to a preset safe distance.

[0150] Using the above implementation method, if the mobile device stops driving for a longer period than a preset time or is in a preset driving mode, and the rearview mirror meets the unfolding conditions, the rearview mirror is controlled to be unfolded. In other words, when the mobile device no longer meets the conditions for controlling the display of the target image, the rearview mirror can be unfolded in order to facilitate the user's observation of the field of view behind the mobile device, so that the user will no longer be confused and anxious due to the retraction of the rearview mirror.

[0151] Based on the foregoing embodiments, it is understood how to control the rearview mirror to be in a retracted state and display the target image when the mobile device is driving in a preset type of environment. Below, taking a preset parking space as an example, the implementation method of controlling the rearview mirror to be in a retracted state and displaying the target image in a parking scenario according to the embodiments of this application will be described in detail.

[0152] Please see Figure 6 , Figure 6 This is a schematic diagram of the interaction process of a mobile device in a parking scenario, as disclosed in an embodiment of this application. Figure 6 As shown, the vehicle includes a parking function, which further includes a sub-function of displaying a side and rear view image when the rearview mirrors are folded up. It should be noted that the parking function refers to an auxiliary parking function; the sub-function of displaying a side and rear view image when the rearview mirrors are folded up indicates the function of displaying a view of the vehicle's side and rear when the rearview mirrors are folded up. Specifically, as... Figure 6 The interaction flow shown is as follows: (1) The vehicle activates the parking function.

[0153] Optionally, the mobile device can activate the parking function in response to an activation command. It should be noted that activation commands include, but are not limited to, touch commands, voice commands, etc.

[0154] (2) After the vehicle's parking function is activated, the vehicle determines whether the sub-function of displaying the side and rear images when the rearview mirror is folded up is activated.

[0155] Optionally, the mobile device can activate the sub-function of displaying the side and rear view image when the rearview mirror is folded in response to an activation command. It should be noted that activation commands include, but are not limited to, touch commands, voice commands, etc.

[0156] It should be noted that the sub-function of displaying the side and rear images when the rearview mirror is folded up indicates the function of displaying the target image when the rearview mirror is in the folded-up state.

[0157] (3) If the sub-function of displaying the side and rear images when the rearview mirror is folded is enabled, then the vehicle is controlled to park, i.e., parking begins; if the sub-function of displaying the side and rear images when the rearview mirror is folded is not enabled, then the rearview mirror is controlled to be in the unfolded state and the target image is not displayed.

[0158] It is understandable that if the sub-function of displaying the side and rear images when the rearview mirror is folded is not enabled, then there is no need to control the rearview mirror to be in the folded state, and there is no need to execute the function of displaying the target image.

[0159] (4) During the parking process, determine whether there is a driver in the driver's seat.

[0160] (5) If there is a driver in the driver's seat, determine whether the rearview mirror meets the retraction condition; if there is no driver in the driver's seat, control the rearview mirror to be in the retracted state and not display the target image, that is, control the rearview mirror to be in the retracted state and not display the target image.

[0161] It is understandable that the collapse condition is that the mobile device is operating in a preset type of environment.

[0162] It is understandable that if there is no driver in the driver's seat, it means that the parking function is an auxiliary parking function. In this case, there is no need to display the target image, so the target image is not displayed when the rearview mirror is in the folded state.

[0163] (6) If the rearview mirror meets the retracting condition, a parking path is generated and the critical position is determined; if the rearview mirror does not meet the retracting condition, the rearview mirror is controlled to be in the unfolded state and the target image is not displayed, that is, the rearview mirror is not controlled to be in the retracted state and the target image is not displayed.

[0164] (7) The vehicle determines whether it has reached the critical position.

[0165] (8) If the vehicle reaches the critical position, the rearview mirror is controlled to be in the retracted state and the target image is displayed; if the vehicle does not reach the critical position, the rearview mirror is controlled to be in the unfolded state and the target image is not displayed, that is, the rearview mirror is not controlled to be in the retracted state and the target image is not displayed.

[0166] (9) After controlling the rearview mirror to be in the folded state and displaying the target image, determine the parking status.

[0167] (10) If the parking status indicates that the vehicle has finished parking, the target image will be canceled; if the parking status indicates that the vehicle has stopped parking, the target image will continue to be displayed.

[0168] It should be noted that, Figure 6 For specific implementation details of each step shown, please refer to the foregoing embodiments, which will not be repeated here.

[0169] By implementing the control method for the mobile device provided in this application embodiment, when the mobile device determines that it is in a preset type of environment based on environmental information, it controls the rearview mirror to be in a retracted state and displays the target image. This effectively avoids the rearview mirror from scraping, thereby reducing the probability of scraping accidents and improving the safety and reliability of the mobile device when driving in narrow environments. Moreover, since the target image is obtained based on the side and rear view captured by the image acquisition component, the user can also be shown the side and rear view of the mobile device when the rearview mirror is retracted. This achieves a smooth transition from the physical view provided by the rearview mirror to the electronic view provided by the image acquisition component, providing the user with a continuous real-time image of the side and rear environment. This reduces the blind spot of the mobile device's side and rear view, so that the user is no longer confused or anxious due to the retracted rearview mirror, enhancing the user's sense of security and trust in the mobile device.

[0170] It should be understood that although the steps in the above flowcharts are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the above flowcharts may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps. In addition, the above embodiments can be implemented independently or in combination with each other, and different implementation methods in the above embodiments can also be combined with each other, without limitation.

[0171] Based on the foregoing embodiments, this application provides a control device for a mobile device. The control device includes various modules and units included in each module, which can be implemented by a processor; of course, it can also be implemented by specific logic circuits. In the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), etc.

[0172] Please see Figure 7 , Figure 7 This is a structural block diagram of a control device for a mobile device disclosed in an embodiment of this application, such as... Figure 7 The control device shown includes an acquisition module 710 and a control module 720, wherein the moving device includes a rearview mirror and an image acquisition component.

[0173] The acquisition module 710 is used to acquire environmental information about the environment in which the mobile device is located. The control module 720 is used to control the rearview mirror to be in a retracted state and to display a target image when the mobile device is determined to be driving in a preset type of environment based on environmental information. The target image is obtained based on the field of view of the side and rear of the mobile device captured by the image acquisition component.

[0174] In some embodiments, the control module 720 is specifically used for: Obtain the driving path of the mobile device; determine the critical position based on the driving path; when the mobile device reaches the critical position, the distance between the rearview mirror and the obstacle in the external environment of the mobile device is equal to the preset safe distance; determine the target time to retract the rearview mirror based on the critical position; at the target time, control the rearview mirror to be in the retracted state and display the target image.

[0175] In some embodiments, the control module 720 is further specifically used for: Obtain the initial moment when the mobile device reaches the critical position; Set the initial time as the target time; or, The target time is determined based on the initial time and the preset response time. The preset response time includes the response time for the rearview mirror to switch from the unfolded state to the retracted state, and / or the response time of the target object on the preset seat inside the mobile device. The target time is earlier than the initial time.

[0176] In some embodiments, the control module 720 is further specifically used for: Detects the distance between the rearview mirror and obstacles in the external environment of the mobile device; when the distance is less than or equal to a preset safe distance, controls the rearview mirror to be in a retracted state and displays the target image.

[0177] In some embodiments, the control module 720 is further specifically used for: The target image is projected onto the projection component of the mobile device using the head-up display component of the mobile device; and / or, Display the target image on the display component of the mobile device.

[0178] In some embodiments, the target image includes a view of the left rear side of the mobile device and / or a view of the right rear side of the mobile device. Display the view of the left rear side of the mobile device in the left area of ​​the component to be projected and / or the left area of ​​the display component; and / or, Display the view of the right rear side of the mobile device in the right area of ​​the component to be projected and / or the right area of ​​the display component.

[0179] In some embodiments, the control module 720 is further configured to: When the mobile device is in a first preset state, the target image continues to be displayed. The first preset state indicates that the duration of the mobile device's stoppage is less than or equal to a preset duration; or, When the mobile device is in the second preset state, the target image is canceled. The second preset state is used to indicate that the mobile device is in the stop position, or that the mobile device has been stopped for a longer period of time than the preset time, or that the mobile device is in the preset driving mode.

[0180] In some embodiments, the control module 720 is further configured to: If the second preset state indicates that the duration of the mobile device's stoppage exceeds a preset duration, or if the mobile device is in a preset driving mode, and the rearview mirror meets the deployment conditions, the rearview mirror is controlled to be deployed.

[0181] In some embodiments, the control module 720 is further configured to: If the target object is present in the preset seat inside the mobile device, the target image is displayed.

[0182] In some embodiments, the target image includes at least the view shown by the rearview mirror when it is in the deployed state.

[0183] In some embodiments, the preset type of environment includes at least one of preset parking space, preset road, and preset space. The preset parking space is used to indicate a parking space whose width is less than a preset width. The preset road is used to indicate a road whose width is less than a preset width. The preset space is used to indicate a space whose width is less than a preset width. The preset width is determined based on the width of the moving device when the rearview mirror is in the unfolded state.

[0184] It should be noted that, in the embodiments of this application... Figure 7 The module division of the control device shown in the mobile device is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0185] Please refer to Figure 8 , Figure 8 This is a structural block diagram of a mobile device disclosed in an embodiment of this application. Figure 8 As shown, the mobile device includes a memory 810 and a processor 820, with the memory 810 storing executable program code.

[0186] The memory 810 is coupled to the processor 820; The processor 820 calls the executable program code stored in the memory 810 to execute any one of the mobile device control methods in the above method embodiments.

[0187] This application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps in any of the mobile device control methods provided in the above embodiments.

[0188] This application provides a computer program product, including a computer program that, when executed by a processor, implements the steps in any of the mobile device control methods provided in the above embodiments.

[0189] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the mobile device to which the present application is applied. A specific mobile device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0190] It should be noted that the descriptions of the above embodiments of the apparatus, computer-readable storage medium, and computer program product are similar to the descriptions of the above method embodiments, and have similar beneficial effects. For technical details not disclosed in the embodiments of the apparatus, computer-readable storage medium, and computer program product of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0191] It should be understood that the phrases "one embodiment," "an embodiment," or "some embodiments" mentioned throughout the specification mean that a specific feature, structure, or characteristic related to an embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment," "in one embodiment," or "in some embodiments" appearing throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely for descriptive purposes and do not represent the superiority or inferiority of the embodiments. The descriptions of the various embodiments above tend to emphasize the differences between the various embodiments; their similarities or commonalities can be referred to mutually, and for the sake of brevity, they will not be repeated here.

[0192] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three kinds of relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist simultaneously, and object B exists alone.

[0193] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0194] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. The embodiments described above are merely illustrative. For example, the division of modules above is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple modules or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, and can be electrical, mechanical, or other forms.

[0195] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.

[0196] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0197] The features disclosed in the several device embodiments provided in this application can be arbitrarily combined without conflict to obtain new device embodiments.

[0198] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A control method for a mobile device, characterized in that, The mobile device includes a rearview mirror and an image acquisition component, and the method includes: Obtain environmental information about the environment in which the mobile device is located; When the mobile device is determined to be traveling in a preset type of environment based on the environmental information, the rearview mirror is controlled to be in a retracted state and to display a target image, which is obtained based on the field of view of the side and rear of the mobile device captured by the image acquisition component.

2. The method according to claim 1, characterized in that, The control of the rearview mirror to be in the retracted state and to display the target image includes: Obtain the travel path of the mobile device; The critical position is determined based on the driving path. When the mobile device reaches the critical position, the distance between the rearview mirror and the obstacle in the external environment of the mobile device is equal to the preset safe distance. Based on the critical position, determine the target time to retract the rearview mirror; At the target time, the rearview mirror is controlled to be in the retracted state and to display the target image.

3. The method according to claim 2, characterized in that, Determining the target time to fold up the rearview mirror based on the critical position includes: Obtain the initial moment when the mobile device reaches the critical position; The initial time is determined as the target time; or... The target time is determined based on the initial time and the preset response time. The preset response time includes the response time for the rearview mirror to switch from the unfolded state to the retracted state, and / or the response time of the target object on the preset seat inside the mobile device. The target time is earlier than the initial time.

4. The method according to claim 1, characterized in that, The control of the rearview mirror to be in the retracted state and to display the target image includes: Detect the distance between the rearview mirror and obstacles in the external environment of the mobile device; When the distance is less than or equal to a preset safe distance, the rearview mirror is controlled to be in the retracted state and the target image is displayed.

5. The method according to any one of claims 1 to 4, characterized in that, The displayed target image includes: The target image is projected onto the projection component of the mobile device via the head-up display component; and / or, The target image is displayed on the display component of the mobile device.

6. The method according to claim 5, characterized in that, The target image includes the field of view on the left rear side of the mobile device, and / or the field of view on the right rear side of the mobile device. The left rear view of the mobile device is displayed in the left area of ​​the component to be projected and / or the left area of ​​the display component. And / or, The right rear view of the mobile device is displayed in the right area of ​​the component to be projected and / or the right area of ​​the display component.

7. The method according to any one of claims 1 to 4, characterized in that, The method further includes: When the mobile device is in a first preset state, the target image continues to be displayed. The first preset state indicates that the mobile device has stopped moving for a duration less than or equal to a preset duration; or, When the mobile device is in a second preset state, the target image is canceled from display. The second preset state is used to indicate that the mobile device is in a stop position, or that the mobile device is stopped for a longer period than a preset duration, or that the mobile device is in a preset driving mode.

8. The method according to claim 7, characterized in that, The method further includes: If the second preset state indicates that the duration of the mobile device's stop driving is longer than a preset duration, or if the mobile device is in a preset driving mode, and if the rearview mirror meets the deployment conditions, the rearview mirror is controlled to be deployed.

9. The method according to any one of claims 1 to 4, characterized in that, The displayed target image includes: If the target object is present in the preset seat inside the mobile device, the target image is displayed; and / or, The target image includes at least the view shown when the rearview mirror is in the deployed state.

10. The method according to any one of claims 1 to 4, characterized in that, The preset type of environment includes at least one of preset parking space, preset road and preset space. The preset parking space is used to indicate a parking space whose width is less than a preset width. The preset road is used to indicate a road whose width is less than a preset width. The preset space is used to indicate a space whose width is less than a preset width. The preset width is determined based on the width of the moving device when the rearview mirror is in the unfolded state.