Method and device for controlling vehicle projection, vehicle and storage medium

By judging the projection conditions and distance in the vehicle, the projection parameters of the DLP projection device are intelligently controlled, solving the problems of accuracy and user experience in vehicle projection on different media, and achieving a more comfortable visual effect.

CN120897040APending Publication Date: 2025-11-04GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410809249.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2025-11-04

AI Technical Summary

Technical Problem

How to intelligently control projection in vehicles based on DLP technology to ensure the accuracy of projection on different projection media and the comfort of user experience.

Method used

The system determines whether the preset projection conditions are met by analyzing the vehicle's operating parameters. Based on the target distance between the projection medium and the vehicle, it determines the target projection parameters of the projection device, including the projection scene, mode, and distance, in order to control the projection position and method of the projection device.

Benefits of technology

It improves the accuracy of vehicle projection on different projection media and enhances the user's visual experience, providing a more comfortable and expansive visual effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120897040A_ABST
    Figure CN120897040A_ABST
Patent Text Reader

Abstract

The invention provides a method and device for controlling vehicle projection, a vehicle and a storage medium, the method is applied to the field of vehicle projection, and the method comprises the steps that whether the vehicle meets a preset projection condition or not is determined according to working parameters of the vehicle, and the working parameters are used for representing the running state of the vehicle; under the condition that the vehicle meets the preset projection condition, target projection parameters of projection equipment installed on the vehicle are determined according to the target distance between the vehicle and a projection medium, the projection medium is used for representing a carrier of a picture in the projection process, and the target projection parameters are used for representing the projection position of the projection equipment; and based on the target projection parameter, controlling projection equipment to perform projection. According to the method, when the vehicle meets the projection condition, the vehicle can be intelligently controlled for projection through the target distance between the projection medium and the vehicle, and more comfortable and wider visual experience is provided for a user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle projection, and more specifically, to a method, apparatus, vehicle, and storage medium for controlling vehicle projection in the field of vehicle projection. Background Technology

[0002] With the development of vehicle intelligence technology, vehicles are becoming increasingly diverse and intelligent in terms of functions.

[0003] In one possible implementation, Digital Light Processing (DLP) technology, as a novel dynamic projection technology, is currently widely used in vehicles. DLP technology allows vehicles to project dynamic content, such as movies, entertainment programs, and in-vehicle welcome animations, onto the ground or other surfaces around the vehicle, in order to provide users with a more comfortable visual experience.

[0004] In summary, how to control intelligent projection in vehicles based on DLP technology has become an urgent problem to be solved. Summary of the Invention

[0005] This application provides a method, apparatus, vehicle, and storage medium for controlling vehicle projection. The method can intelligently control the vehicle to project when the vehicle meets the projection conditions by using the target distance between the projection medium and the vehicle, providing users with a more comfortable and wider visual experience.

[0006] In a first aspect, a method for controlling vehicle projection is provided, the method comprising: determining whether the vehicle meets preset projection conditions based on the vehicle's operating parameters, the operating parameters being used to represent the vehicle's operating state; if the vehicle meets the preset projection conditions, determining target projection parameters of a projection device installed on the vehicle based on a target distance between the vehicle and a projection medium, the projection medium being used to represent the carrier of the image during the projection process, the target projection parameters being used to represent the projection position of the projection device; and controlling the projection device to perform projection based on the target projection parameters.

[0007] In the above technical solution, when vehicle projection is required, this application proposes a method for controlling vehicle projection. First, the vehicle's operating parameters are used to determine whether the vehicle meets preset projection conditions. When the vehicle meets the preset projection conditions, the target distance between the vehicle and the projection medium is obtained according to the different projection media, and the target projection parameters of the projection device in the vehicle are determined based on the target distance. The projection medium can refer to the image carrier during the projection process, such as a wall, ground, or screen—any object that can be used for projection. The target projection parameters represent the projection position of the projection device. Finally, the projection device is controlled to perform projection based on the target projection parameters. This process can accurately determine the target projection parameters under different projection media, improving the accuracy of vehicle projection on different media and providing users with a better visual and viewing experience.

[0008] In conjunction with the first aspect, in some possible implementations, the operating parameters include gear position, signal strength between the vehicle and the target key, vehicle lock status, and the reception status of the projection request. Determining the target projection parameters of the projection device installed on the vehicle based on the target distance between the vehicle and the projection medium includes: determining the projection scene of the projection device based on conditions met by the vehicle; the projection scene is used to adjust the projection range of the projection device; the conditions met by the vehicle are either a first preset projection condition or a second preset projection condition, where the first preset projection condition is that the gear position is a preset gear and the signal strength is greater than or equal to a preset strength; the second preset projection condition is that the vehicle lock status is unlocked, the gear position is the preset gear, the signal strength is greater than or equal to the preset strength, and the reception status is receiving; under the projection scene, determining the target projection mode, which represents the projection method of the projection device and is the projection mode corresponding to the projection medium; under the target projection mode, acquiring the target distance through the vehicle's measuring device or determining the target distance as a preset distance; and determining the target projection parameters based on the target distance.

[0009] In the above technical solutions, when specifically determining the target projection parameters, different operating parameters result in different projection conditions, and the projection scene and target projection parameters also differ accordingly. Depending on the operating parameters, the preset projection conditions can be divided into first preset projection conditions or second preset projection conditions. During vehicle operation, the corresponding projection scene can be accurately determined based on its own operating status. In this embodiment, different projection scenes require different projection media, which will affect the projection range of the projection device.

[0010] Each target projection mode corresponds one-to-one with a projection medium. After determining the projection scene, the vehicle can further acquire the target projection mode and the corresponding projection medium. Finally, the vehicle can acquire the target distance between the current projection medium and the vehicle, or use a preset distance as the target distance, and determine the target projection parameters based on the target distance. This process acquires the target distance between the projection medium and the vehicle under different projection scenes and modes, obtaining the target projection parameters for the projection device in various projection scenarios, enabling the projection device to meet projection needs in various situations.

[0011] In combination with the first aspect and the above implementation methods, in some possible implementation methods, the projection scene includes a welcome projection upon arrival, a farewell projection upon departure, and a film and television projection. Determining the projection scene of the projection device based on the conditions met by the vehicle includes: if the conditions met by the vehicle are the first preset projection conditions, determining the projection scene as either the welcome projection upon arrival or the farewell projection upon departure; if the conditions met by the vehicle are the second preset projection conditions, determining the projection scene as the film and television projection.

[0012] As can be seen from the above, the first preset projection condition is that the gear is in a preset gear and the signal strength is greater than or equal to the preset strength. The second preset projection condition is that the car lock is unlocked, the gear is in a preset gear, the signal strength is greater than or equal to the preset strength, and a screen projection request is received.

[0013] The first preset projection condition is the Parking (P) gear. When the vehicle is in P, it is stationary. If the signal strength is greater than or equal to the preset strength, it indicates that the driver and passengers are near the vehicle, possibly during entry or exit. Therefore, the first preset projection condition corresponds to a welcome projection or a farewell projection. This process provides a sense of ceremony for the driver and passengers when they get in or out of the vehicle. When the car lock is unlocked, the vehicle is in P, the signal strength is greater than or equal to the preset strength, and the vehicle receives a projection request, it indicates that the vehicle is stationary, the driver is nearby, and the passengers have a need for projection. Therefore, the second preset projection condition corresponds to a video projection, providing users with a wide field of view for convenient viewing of the currently playing content.

[0014] In conjunction with the first aspect and the above implementation methods, in some possible implementation methods, the projection scene includes a welcome projection upon arrival, a farewell projection upon departure, and a video projection. The projection medium includes the ground, and the target projection mode includes a ground mode. Determining the target projection mode in the projection scene includes: if the projection scene is the welcome projection upon arrival or the farewell projection upon departure, determining the target projection mode as the ground mode; if the projection scene is the video projection, obtaining a pre-configured preset projection mode; and determining the target projection mode based on the preset projection mode, or based on the preset projection mode and an image of the external environment.

[0015] In the above technical solution, when the projection scenario is a welcome projection upon arrival or a farewell projection upon departure, this application presets the target projection mode to ground mode for both scenarios. This aims to provide users with a good experience as they approach or move away from the vehicle. When the projection scenario is a movie / TV scene, the user may have other projection media, such as a screen, placed in front of the vehicle. Therefore, the vehicle can flexibly determine the current target projection mode based on the external environment image and the preset projection mode configured by the user according to their needs.

[0016] In conjunction with the first aspect and the above-described implementations, in some possible implementations, the projection medium further includes a screen, and the target projection mode further includes a screen mode. Determining the target projection mode based on the preset projection mode, or based on the preset projection mode and the image of the vehicle's external environment, includes: determining the target projection mode as the ground mode when the preset projection mode is the ground mode; determining whether the screen exists in front of the vehicle based on the image of the vehicle's external environment when the preset target projection mode is the screen mode; determining the target projection mode as the screen mode when the screen exists in front of the vehicle; and determining the target projection mode as the ground mode when the screen does not exist in front of the vehicle.

[0017] In the above technical solution, the target projection mode also includes a screen mode, and the projection medium includes a screen. In a film and television projection scenario, if the user pre-selects the ground mode as the preset projection mode, the vehicle can directly determine the ground mode as the target projection mode in response to the user's needs. If the user pre-selects the film and television mode as the preset projection mode, the vehicle needs to determine whether a screen exists outside the vehicle based on the external environment image. If a screen exists, the target projection mode is determined as the screen mode; if no screen exists, the target projection mode is determined as the ground mode. This process takes into account the user's needs and preferences when determining the target projection mode for film and television projection, and also ensures that projection can still be made through the ground when there is no screen in front of the vehicle, thus guaranteeing the feasibility of film and television projection.

[0018] In conjunction with the first aspect and the above implementation methods, in some possible implementation methods, the target distance includes a first distance when the projection device projects onto the ground or a second distance when the projection device projects onto the screen. In the target projection mode, obtaining the target distance or determining the target distance as a preset distance through the vehicle's measuring device includes: when the target projection mode is the ground mode, obtaining a third distance between the driver / passenger and the vehicle through the measuring device; determining the first distance based on the third distance; or, determining the first distance as the preset distance; and when the target projection mode is the screen mode, obtaining the second distance through the measuring device.

[0019] In conjunction with the first aspect and the above-described implementations, in some possible implementations, the target projection parameter includes a projection angle or a projection height. The projection angle includes a first projection angle when the projection device projects onto the ground or a second projection angle when the projection device projects onto the screen. The projection height includes a first projection height when the projection device projects onto the ground or a second projection height when the projection device projects onto the screen. Determining the target projection parameter based on the target distance includes any one of the following: determining the first projection angle based on the first distance and the correspondence between multiple distances and multiple projection angles between the ground and the vehicle; determining the first projection height based on the first distance and the correspondence between multiple distances and multiple projection heights between the ground and the vehicle; determining the second projection angle based on the second distance and the correspondence between multiple distances and multiple projection angles between the screen and the vehicle; determining the second projection height based on the second distance and the correspondence between multiple distances and multiple projection heights between the screen and the vehicle.

[0020] In combination with the first aspect and the above implementation methods, in some possible implementation methods, controlling the projection device to project based on the target projection parameters includes: in the projection scenario, acquiring the target image that the projection device needs to project; adjusting the lens focal length of the projection device based on the target projection parameters; and controlling the projection device to project the target image onto the projection medium according to the target projection parameters and the lens focal length.

[0021] Secondly, a device for controlling vehicle projection is provided, the device comprising: a condition judgment module, used to determine whether the vehicle meets preset projection conditions based on the vehicle's operating parameters, the operating parameters being used to represent the operating state of the vehicle's components; a parameter determination module, used to determine the target projection parameters of the projection device installed on the vehicle based on the target distance between the vehicle and the projection medium when the vehicle meets the preset projection conditions, the projection medium being used to represent the carrier of the image during the projection process, the target projection parameters being used to represent the projection position of the projection device; and a projection module, used to control the projection device to perform projection based on the target projection parameters.

[0022] In conjunction with the second aspect, in some possible implementations, the operating parameters include gear position, signal strength between the vehicle and the target key, vehicle lock status, and the reception status of the projection request. The parameter determination module is specifically used for: determining the projection scenario of the projection device based on conditions met by the vehicle; the projection scenario is used to adjust the projection range of the projection device; the conditions met by the vehicle are either a first preset projection condition or a second preset projection condition, where the first preset projection condition is that the gear position is a preset gear and the signal strength is greater than or equal to a preset strength; the second preset projection condition is that the vehicle lock status is unlocked, the gear position is the preset gear, the signal strength is greater than or equal to the preset strength, and the reception status is receiving; determining the target projection mode in the projection scenario, where the target projection mode represents the projection method of the projection device; the target projection mode is the projection mode corresponding to the projection medium; obtaining the target distance through the vehicle's measuring device or determining the target distance as a preset distance in the target projection mode; and determining the target projection parameters based on the target distance.

[0023] In combination with the second aspect and the above implementation methods, in some possible implementation methods, the projection scene includes a welcome projection upon arrival, a farewell projection upon departure, and a film and television projection. The parameter determination module is further used to: determine the projection scene as the welcome projection upon arrival or the farewell projection upon departure when the vehicle meets the first preset projection condition; and determine the projection scene as the film and television projection when the vehicle meets the second preset projection condition.

[0024] In conjunction with the second aspect and the above implementation methods, in some possible implementation methods, the projection scene includes a welcome projection, a farewell projection, and a video projection; the projection medium includes the ground; the target projection mode includes a ground mode; and the parameter determination module is further configured to: determine the target projection mode as the ground mode when the projection scene is the welcome projection or the farewell projection; obtain a pre-configured preset projection mode when the projection scene is the video projection; and determine the target projection mode based on the preset projection mode, or based on the preset projection mode and an image of the external environment.

[0025] In conjunction with the second aspect and the above implementation methods, in some possible implementation methods, the projection medium further includes a screen, the target projection mode further includes a screen mode, and the parameter determination module is further configured to: determine the target projection mode as the ground mode when the preset projection mode is the ground mode; determine whether the screen exists in front of the vehicle based on the external environment image when the preset target projection mode is the screen mode; determine the target projection mode as the screen mode when the screen exists in front of the vehicle; and determine the target projection mode as the ground mode when the screen does not exist in front of the vehicle.

[0026] In conjunction with the second aspect and the above implementation methods, in some possible implementation methods, the target distance includes a first distance when the projection device projects onto the ground or a second distance when the projection device projects onto the screen. The parameter determination module is further configured to: when the target projection mode is the ground mode, obtain a third distance between the driver / passenger and the vehicle through the measuring device; determine the first distance based on the third distance; or determine the first distance as the preset distance; and when the target projection mode is the screen mode, obtain the second distance through the measuring device.

[0027] In conjunction with the second aspect and the above implementation methods, in some possible implementation methods, the target projection parameter includes a projection angle or a projection height. The projection angle includes a first projection angle when the projection device projects onto the ground or a second projection angle when the projection device projects onto the screen. The projection height includes a first projection height when the projection device projects onto the ground or a second projection height when the projection device projects onto the screen. The parameter determining module is further configured to perform any of the following: determining the first projection angle based on the first distance and the correspondence between multiple distances and multiple projection angles between the ground and the vehicle; determining the first projection height based on the first distance and the correspondence between multiple distances and multiple projection heights between the ground and the vehicle; determining the second projection angle based on the second distance and the correspondence between multiple distances and multiple projection angles between the screen and the vehicle; and determining the second projection height based on the second distance and the correspondence between multiple distances and multiple projection heights between the screen and the vehicle.

[0028] In combination with the second aspect and the above implementation methods, in some possible implementation methods, the projection module is specifically used to: acquire the target image that the projection device needs to project; acquire the target image that the projection device needs to project in the projection scenario; adjust the lens focal length of the projection device based on the target projection parameters; and control the projection device to project the target image on the projection medium according to the target projection parameters and the lens focal length.

[0029] Thirdly, a vehicle is provided, including a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, causing the vehicle to perform the methods described in the first aspect or any possible implementation thereof.

[0030] Fourthly, a computer program product is provided, comprising: computer program code, which, when run on a computer, causes the computer to perform the methods described in the first aspect or any possible implementation thereof.

[0031] Fifthly, a computer-readable storage medium is provided that stores computer program code, which, when executed on a computer, causes the computer to perform the methods described in the first aspect or any possible implementation thereof. Attached Figure Description

[0032] Figure 1 This is a schematic diagram of the structure of a DLP projection system provided in an embodiment of this application;

[0033] Figure 2This is a schematic diagram of a vehicle projection scene provided in an embodiment of this application;

[0034] Figure 3 This is a schematic flowchart illustrating a method for controlling vehicle projection provided in an embodiment of this application;

[0035] Figure 4 This is a schematic diagram of a scenario for obtaining target distance provided in an embodiment of this application;

[0036] Figure 5 This is a schematic diagram of the structure of a device for controlling vehicle projection provided in an embodiment of this application;

[0037] Figure 6 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application. Detailed Implementation

[0038] The technical solutions in this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0039] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

[0040] It should be understood that, in the embodiments of this application, controlling vehicle projection mainly relies on the DLP projection system installed in the vehicle. To facilitate understanding of the solutions in the embodiments of this application, the structure and working principle of the DLP projection system in the embodiments of this application will be described in detail first.

[0041] It should be understood that the core of a DLP projection system is the Digital Micromirror Device (DMD) chip. Taking a resolution of 1024.768 as an example, a single DMD contains 1024.768 tiny mirrors, each representing a pixel. Each tiny mirror has the ability to independently control the switching of light on and off. The angle at which the tiny mirrors reflect light is controlled by the video signal, which is modulated by the Digital Light Processor (DLP) into a pulse-width modulated signal of equal amplitude. The pulse width controls the timing of the tiny mirrors opening and closing the light path, producing grayscale images of different brightness levels on the screen.

[0042] Depending on the number of DMD chips, DLP projection systems can be divided into single-chip DLP projection systems, dual-chip DLP projection systems, and triple-chip DLP projection systems. The following embodiments of this application use a single-chip DLP projection system as an example to illustrate the working process of a DLP projection system.

[0043] Figure 1 This is a schematic diagram of the structure of a DLP projection system provided in an embodiment of this application.

[0044] For example, such as Figure 1 As shown, the DLP projection system 100 mainly consists of the following parts: light source 101, condenser lens 102, color wheel 103, trimming lens 104, DMD 105, projection lens 106 and screen 107.

[0045] Based on the above components, the projection process of the DLP projection system 100 can be summarized as follows: A white light source 101 is focused onto a color wheel 103 by a condenser lens 102. The light passing through the color wheel 103 is then imaged onto the surface of the DMD 105 by a trimming lens 104. The color wheel 103 consists of a red, green, and blue filter system and rotates at a frequency of 60Hz. In this configuration, the DLP projection system 100 operates in sequential color mode. The input signal is converted into three primary color (Red, Green, Blue, RGB) data, which is then sequentially written into the static random-access memory (SRAM) of the DMD 105.

[0046] Therefore, as the color wheel 103 rotates, red, green, and blue light sequentially illuminate the DMD 105. At this time, the mainboard (not shown in the figure) of the DLP projection system 100 transmits the current monochrome image to the DMD 105. The DMD 105 adjusts the position of the small reflector according to the color depth of the image, reflects the light, and projects it onto the screen 107 through the projection lens 106. The color wheel 103 continues to rotate, illuminating different colors onto the DMD 105. The DMD 105 projects the corresponding light through the projection lens 106 onto the screen 107, where the RGB monochrome images are recombined to restore the original image.

[0047] After introducing the working principle of the DLP projection system, the application scenarios of the embodiments of this application will be introduced below.

[0048] Figure 2 This is a schematic diagram of a vehicle projection scene provided in an embodiment of this application.

[0049] For example, such as Figure 2As shown, for a vehicle 200 equipped with a DLP projection system (or DLP headlights), when the vehicle 200 is in operation, the DLP headlights can achieve projection in different scenarios based on the operating parameters of the vehicle 200.

[0050] In one possible implementation, when vehicle 200 is in a parking lot, at a certain moment, vehicle 200 detects that a driver is approaching, indicating that the driver is about to get in. To provide the driver with a good riding experience, vehicle 200 can control the DLP headlights to project a corresponding welcome animation onto the ground in front of vehicle 200, for example... Figure 2 The animation shown.

[0051] During the vehicle's journey, there may be different projection media, such as the ground, screen, and wall. In order to ensure that the projected image has a good visual effect, how to control the vehicle to intelligently project onto different projection media has become an urgent problem to be solved.

[0052] Based on the above problems, this application proposes a method for controlling vehicle projection. This method can intelligently control the vehicle to project by means of the target distance between the projection medium and the vehicle when the vehicle meets the projection conditions, providing users with a more comfortable and wider visual experience.

[0053] After introducing the working principle of DLP headlights and the application scenarios of the embodiments of this application, the following section introduces a method for controlling vehicle projection provided by the embodiments of this application.

[0054] Figure 3 This is a schematic flowchart illustrating a method for controlling vehicle projection provided in an embodiment of this application. It should be understood that this method can be applied to... Figure 2 In the vehicle 200, the specific application is the Electronic Control Unit (ECU, also known as the controller) used to control the DLP headlights. For ease of explanation, the ECU used to control the DLP headlights will be referred to as the "headlight controller" below.

[0055] For example, such as Figure 3 As shown, the method 300 includes:

[0056] 301. Based on the vehicle's operating parameters, determine whether the vehicle meets the preset projection conditions. The operating parameters are used to represent the vehicle's operating status.

[0057] It should be understood that during vehicle operation, various operating parameters exist due to the operation of vehicle components and related software programs. For vehicles equipped with DLP headlights, the headlight controller can obtain these operating parameters to determine whether the vehicle currently meets preset projection conditions, enabling intelligent projection in different driving scenarios and providing users with a better visual and driving experience.

[0058] It should also be understood that, in the embodiments of this application, DLP headlight projection can be divided into the following two situations: the first is to provide a sense of ceremony for users when they get in or out of the car through DLP projection; the second is to provide users with a better visual experience through DLP projection during the playback of audio and video.

[0059] Depending on the different projection conditions described above, the determination of whether a vehicle meets the preset projection conditions can also be made on a case-by-case basis.

[0060] Optional operating parameters include gear position, signal strength between the vehicle and the target key, vehicle lock status, and reception status of the screen mirroring request.

[0061] For example, the headlight controller can obtain the vehicle's gear position from the gear position controller.

[0062] The target key is used to control the vehicle lock status. The vehicle lock status includes the door lock status and the window lock status.

[0063] Optionally, the target key includes a remote key or a digital key. When a remote key communicates with the vehicle, it primarily uses radio frequency (RF) signals. Therefore, when the target key is a remote key, the signal strength can be the RF signal strength. When the target key is a digital key, the communication methods between the digital key and the vehicle include Bluetooth Low Energy (BLE), Near Field Communication (NFC), and Ultra Wide Band (UWB) communication. Correspondingly, the signal strength can be either the Bluetooth signal strength or the RF signal strength; the specific type of signal strength is not limited in this embodiment.

[0064] For example, the headlight controller can obtain different types of signal strength between the vehicle and the target key through the corresponding communication module in the vehicle.

[0065] For example, regarding the vehicle lock status, the headlight controller can obtain the status switches of the door locks and window locks to determine the vehicle lock status.

[0066] For example, regarding the reception status of a screen mirroring request, when a smart device playing audio or video is wirelessly connected to the vehicle, or when the entertainment software in the vehicle is playing audio or video, the headlight controller can directly obtain the status of the screen mirroring function in the DLP headlights.

[0067] In the first scenario, when the user enters or leaves the vehicle, the headlight controller can determine whether the gear is a preset gear and whether the signal strength is greater than or equal to the preset strength. Optionally, the preset gear is P (Park).

[0068] When the vehicle is in P gear and the signal strength is greater than or equal to the preset strength, it means that the vehicle is parked and the driver and passengers are near the vehicle. The driver and passengers may move closer to or away from the vehicle. Therefore, in this case, the headlight controller can determine that the vehicle meets the preset projection conditions.

[0069] In addition, to prevent inaccurate projection caused by the driver briefly putting the vehicle in P gear while driving, the headlight controller can also determine whether the vehicle meets the preset projection conditions based on the duration the vehicle is in P gear.

[0070] For example, when a vehicle encounters a traffic light and needs to wait, if the vehicle is in Park (P) and the signal strength is greater than or equal to a preset strength, the headlight controller can also obtain the duration the vehicle has been in Park and compare it with a preset duration. If the duration the vehicle has been in Park is greater than the preset duration, the headlight controller determines that the vehicle meets the preset projection conditions.

[0071] In the second scenario, when a user plays audio or video through the vehicle's infotainment software or a smart device, if the headlight controller detects that the gear is in Park (P) and the signal strength is greater than the preset strength and receives a screen projection request, it indicates that the user has a need to project the screen through the DLP headlights, and the headlight controller also determines that the vehicle meets the preset projection conditions.

[0072] Conversely, if the vehicle is not in Park, or the signal strength is less than the preset strength, or no projection request is received, the headlight controller determines that the vehicle does not meet the preset projection conditions.

[0073] Based on the different preset projection conditions that the vehicle meets under the above different conditions, the preset projection conditions met in the first case are referred to as "first preset projection conditions" and the preset projection conditions met in the second case are referred to as "second preset projection conditions".

[0074] Through the above process, the headlight controller can determine whether the vehicle meets the preset projection conditions based on the operating parameters.

[0075] 302. When the vehicle meets the preset projection conditions, the target projection parameters of the projection equipment installed on the vehicle are determined according to the target distance between the vehicle and the projection medium. The projection medium is used to represent the carrier of the image during the projection process, and the target projection parameters are used to represent the projection position of the projection equipment.

[0076] When the headlight controller determines in step 3011 that the vehicle meets the preset projection conditions, the headlight controller determines the target projection parameters required for the projection device to project onto the projection medium based on the target distance between the vehicle and the current projection medium. The projection device is the DLP headlight.

[0077] A projection medium is a carrier used to represent the image during the projection process. Optionally, the projection medium includes objects that can be projected onto by a projection device, such as the ground, a screen, and a wall. In this embodiment, the ground and a screen are used as examples of projection media.

[0078] The target projection parameter indicates the projection position of the DLP headlight. Optionally, the target projection parameter includes the projection angle or projection height. The specific projection position of the DLP headlight varies depending on the distance between the vehicle and the projection medium. For example, when the distance between the vehicle and the projection medium is relatively short, the DLP headlight needs to project onto a location closer to the vehicle; therefore, the DLP projection angle may need to be adjusted to a larger angle. Conversely, when the distance between the vehicle and the projection medium is relatively long, the DLP headlight needs to project onto a location farther from the vehicle; therefore, the DLP projection angle may need to be adjusted to a smaller angle.

[0079] Based on the description in step 301, the preset projection conditions include either a first preset projection condition or a second preset projection condition. When the vehicle meets the preset projection conditions, in order to accurately determine the target projection parameters, the headlight controller needs to first determine which projection condition is being applied based on the projection conditions met by the vehicle, and then determine the target projection parameters.

[0080] In one possible implementation, the target projection parameters of the projection device installed on the vehicle are determined based on the target distance between the vehicle and the projection medium, including:

[0081] Based on the conditions met by the vehicle, the projection scene of the projection device is determined. The projection scene is used to adjust the projection range of the projection device. The conditions met by the vehicle are preset projection conditions, including the first preset projection condition or the second preset projection condition. The first preset projection condition is that the gear is a preset gear and the signal strength is greater than or equal to the preset strength. The second preset projection condition is that the vehicle lock is unlocked, the gear is a preset gear, the signal strength is greater than or equal to the preset strength, and the receiving state is receiving.

[0082] In a projection scenario, the target projection mode is determined. The target projection mode is used to represent the projection method of the projection device. The target projection mode is the projection mode corresponding to the projection medium.

[0083] In target projection mode, the target distance is obtained through the vehicle's measuring equipment or the target distance is determined as a preset distance;

[0084] Determine the target projection parameters based on the target distance.

[0085] Among them, the projection scene refers to the two projection scenarios mentioned above, namely the welcoming scene upon arrival or the farewell scene upon departure, as well as the film projection.

[0086] As mentioned above, when the vehicle is detected to meet the preset projection conditions, the headlight controller can further determine whether the conditions met by the vehicle are the first preset projection conditions or the second preset projection conditions, thereby determining the projection scene.

[0087] In one possible implementation, the projection scenarios include welcome projection, farewell projection, and video projection. The projection scenarios for the projection equipment are determined based on the conditions met by the vehicle, including:

[0088] If the vehicle meets the first preset projection conditions, the projection scene is determined to be either a welcome projection for passengers or a farewell projection for passengers leaving the vehicle.

[0089] If the vehicle meets the second preset projection conditions, the projection scene is determined to be a film and television projection.

[0090] Specifically, when the headlight controller determines that the vehicle meets the first pre-projection condition (i.e., the gear is in a preset gear and the signal strength is greater than or equal to a preset strength), the projection scenario can be determined to be a welcome projection or a farewell projection. When the headlight controller determines that the vehicle meets the second preset projection condition (i.e., the vehicle lock is unlocked, the gear is in a preset gear, the signal strength is greater than or equal to a preset strength, and the receiving status is receiving), the projection scenario can be determined to be a movie projection.

[0091] As can be seen from the above, the first preset projection condition is that the gear is in a preset gear and the signal strength is greater than or equal to the preset strength. The second preset projection condition is that the car lock is unlocked, the gear is in a preset gear, the signal strength is greater than or equal to the preset strength, and a screen projection request is received.

[0092] The preset gear is P (Park). When the vehicle is in P, it is stationary. If the signal strength is greater than or equal to the preset strength, it indicates that the driver and passengers are near the vehicle, possibly during a boarding or alighting process. Therefore, the first preset projection condition corresponds to a welcome projection or a farewell projection. This process provides a sense of ceremony for the driver and passengers when they board or alight. When the car lock is unlocked, the vehicle is in P, the signal strength is greater than or equal to the preset strength, and the vehicle receives a projection request, it indicates that the vehicle is stationary, the driver is nearby, and the passengers have a need for projection. Therefore, the second preset projection condition corresponds to a movie projection, providing users with a wide field of view and convenient viewing of the currently playing content.

[0093] It should be understood that in the embodiments of this application, the projection angle varies when the projection device projects onto different projection media. Specifically, when the projection medium is a screen, the projection angle ranges from approximately -7° to 18°; when the projection medium is the ground, the projection angle ranges from approximately -25° to -6.5°.

[0094] The projection medium varies depending on the projection scenario. For example, when the projection scenario is a welcoming scene upon arrival or a farewell scene upon departure, the projection medium is generally the ground; when the projection scenario is a film projection, the projection medium can be either the ground or a screen. Therefore, the projection scenario can be used to distinguish the projection range corresponding to the projection device.

[0095] After determining the projection scene, in order to determine the projection medium within that scene, this embodiment of the application can associate a target projection mode with a projection medium. The target projection mode represents the projection method of the projection device. The headlight controller can determine the medium to be projected by acquiring the target projection mode within the projection scene.

[0096] Optionally, the target projection mode includes ground mode or screen mode, with the corresponding projection media being the ground or a screen, respectively.

[0097] The process of determining the target projection mode varies depending on the projection scenario.

[0098] In one possible implementation, determining the target projection mode in a projection scenario includes:

[0099] When the projection scenario is a welcome projection upon arrival or a farewell projection upon departure, the target projection mode is determined to be ground mode;

[0100] When the projection scenario is a film projection, obtain the pre-configured preset projection mode; determine the target projection mode based on the preset projection mode, or based on the preset projection mode and the image of the external environment.

[0101] For example, when the projection scenario is a welcome projection or a farewell projection, in general, to ensure that users can see the projected image when approaching or just moving away from the vehicle, the ground mode can be set as the target projection mode for these two scenarios by default. When the headlight controller determines that the projection scenario is a welcome projection or a farewell projection, it determines the target projection mode as the ground mode.

[0102] When the projection scenario is video projection, to provide users with richer and more diverse projection options and facilitate flexible viewing of audio and video content, the headlight controller can control the projection device to project onto the ground or onto a screen. In this case, the target projection mode can be determined based on the user's actual needs. Specifically, the headlight controller can obtain the user's preset projection mode and determine whether the preset projection mode is a ground mode or a screen mode. When the preset projection mode is a screen mode, to ensure the feasibility of screen projection, the headlight controller also needs to further combine the external environment image to determine whether a screen exists in front of the vehicle to determine the final target projection mode.

[0103] In one possible implementation, the target projection mode is determined based on a preset projection mode, or based on a preset projection mode and an image of the external environment, including:

[0104] If the preset projection mode is ground mode, the target projection mode is set to ground mode.

[0105] If the preset target projection mode is screen mode, determine whether there is a screen in front of the vehicle based on the image of the external environment; if there is a screen in front of the vehicle, determine the target projection mode as screen mode; if there is no screen in front of the vehicle, determine the target projection mode as ground mode.

[0106] For example, in a movie projection scenario, the headlight controller can obtain the preset projection mode pre-configured by the user. When the preset projection mode is the ground mode, the headlight controller can respond to the user's projection needs and determine the current target projection mode as the ground mode.

[0107] Optionally, the preset projection mode can be either pre-set by the user or set by the headlight controller through a display device or audio broadcast device in the vehicle when the vehicle meets the second preset condition. This application embodiment does not limit the timing of setting the preset projection mode.

[0108] When the preset projection mode is screen mode, the headlight controller can acquire images of the external environment in front of the vehicle through image acquisition devices (such as cameras) in the vehicle. After acquiring the external environment images, the headlight controller can calculate the similarity between the external environment images and preset environment images to determine whether there is a screen outside the vehicle for projection.

[0109] Optionally, the methods for calculating image similarity include cosine similarity, Euclidean distance, Manhattan distance, Pearson correlation coefficient, Spearman correlation coefficient, Jaccard similarity coefficient, SimHash, Hamming distance, Term Frequency–Inverse Document Frequency (TF-IDF), etc. This application does not specifically limit the calculation method of similarity.

[0110] For example, suppose the preset environment image includes image 1, and the exterior environment image is image 2. The headlight controller can obtain the similarity between image 1 and image 2 using any of the similarity calculation methods described above, and determine whether the similarity is greater than or equal to the preset similarity. Optionally, the preset similarity can be 98%.

[0111] When the similarity is greater than 98%, it means the external environment includes a screen, indicating that projection on the screen is feasible. Therefore, the headlight controller sets the target projection mode to screen mode. When the similarity is less than 98%, it means the external environment does not include a screen, indicating that projection on the screen is not feasible. To ensure a good projection experience for the user, the headlight controller can automatically switch the target projection mode to ground mode. Alternatively, when the external environment does not include a screen, the headlight controller can generate a prompt message and broadcast it via an audio playback device or display it on a display device, reminding the user that there is no screen in front of the vehicle and whether they need to switch projection modes. When the user selects to switch projection modes, the headlight controller responds to the user's selection and switches the target projection mode to ground mode.

[0112] In the above technical solution, when the projection scenario is a welcome projection upon arrival or a farewell projection upon departure, this application presets the target projection mode to ground mode for both scenarios. This aims to provide users with a good experience as they approach or move away from the vehicle. When the projection scenario is a movie / TV scene, the user may have other projection media, such as a screen, placed in front of the vehicle. Therefore, the vehicle can flexibly determine the current target projection mode based on the external environment image and the preset projection mode configured by the user according to their needs.

[0113] In a movie projection scenario, if the user pre-selects the ground mode as the preset projection mode, the vehicle can directly set the ground mode as the target projection mode in response to the user's needs. If the user pre-selects the movie mode as the preset projection mode, the vehicle needs to determine whether a screen is present outside the vehicle based on the external environment image. If a screen is present, the target projection mode is set to screen mode; otherwise, the target projection mode is set to ground mode. This process considers the user's needs and preferences when determining the target projection mode for movie projection, and also ensures that projection can still be made through the ground even when there is no screen in front of the vehicle, guaranteeing the feasibility of movie projection.

[0114] After determining the projection scene and the target projection mode within that scene, the headlight controller identifies the corresponding projection medium. To achieve better projection on the projection medium, the headlight controller can also determine the optimal target projection parameters for the current projection medium based on the target distance between the projection medium and the vehicle.

[0115] Optionally, depending on the projection medium, the target distance may include a first distance when the projection device projects onto the ground or a second distance when the projection device projects onto a screen.

[0116] In one possible implementation, in target projection mode, the target distance is obtained or the target distance is determined to be a preset distance using the vehicle's measuring equipment, including:

[0117] When the target projection mode is ground mode, the third distance between the driver / passenger and the vehicle is obtained by measuring equipment; based on the third distance, the first distance is determined; or, the first distance is determined to be a preset distance.

[0118] When the target projection mode is screen mode, the second distance is obtained through a measuring device.

[0119] It should be understood that in this embodiment, the first distance refers to the vertical distance between the front of the vehicle and the projected area on the ground. The vertical distance refers to the distance along the vertical axis of the vehicle.

[0120] For example, if the ground projection area is rectangular, with its shorter side parallel to the vehicle's vertical axis and its longer side perpendicular to the vertical axis, the first distance refers to the vertical distance between the vehicle's front and any one of the longer sides of the rectangular area. Conversely, if the ground projection area is rectangular, with its longer side parallel to the vehicle's vertical axis and its shorter side perpendicular to the vertical axis, the first distance again refers to the vertical distance between the vehicle and any one of the shorter sides of the rectangle. Similarly, the second distance refers to the vertical distance between the vehicle's front and the projection screen. The third distance refers to the vertical distance between the occupants and the vehicle's front.

[0121] To facilitate understanding, the following will be explained... Figure 4 The process of obtaining the first and second distances is described in detail.

[0122] Figure 4 This is a schematic diagram of a scenario for obtaining target distance provided in an embodiment of this application.

[0123] For example, such as Figure 4 As shown, Figure 4 (a) in this application is a schematic diagram of a scenario for obtaining a first distance provided by an embodiment of the present application.

[0124] like Figure 4 As shown in (a), this is a projection scenario for a farewell projection when the user 402 leaves the vehicle 200. When the signal strength is greater than a preset strength and the vehicle 200 is in P gear, the headlight controller can control the ranging device (e.g., lidar) on the vehicle 200 to obtain the slant distance between the ranging device and the user 402 by sending a detection signal. Figure 4 d1 is shown in (a) in the figure.

[0125] After obtaining d1, based on the detection angle α of the ranging device and the trigonometric function relationship, the headlight controller can calculate the projection of d1 in the vertical direction, namely d2, which is the distance between the ranging device and the user 402 along the vertical axis of the vehicle 200.

[0126] Since the distance measuring device is installed in a fixed position in the vehicle 200, the headlight controller can obtain the vertical distance between the distance measuring device and the front of the vehicle, i.e., d3, based on the installation parameters of the distance measuring device.

[0127] Assume the projection area of ​​the projection device on the ground is Figure 4 Rectangle 401 is shown in (a) above. The shorter side of rectangle 401 is parallel to the vertical axis of vehicle 200, and the longer side is perpendicular to the vertical axis of vehicle 200. The longer side closer to vehicle 200 is denoted as L2, and the longer side farther from vehicle 200 is denoted as L1. Figure 4 As shown in (a), the first distance can refer to d4, which is the vertical distance between the front of the vehicle and the long side L2. Since the size of the rectangular region is known, the first distance can also refer to d5, which is the vertical distance between the front of the vehicle and the long side L1.

[0128] The headlight controller can calculate the vertical distance d2-d3 between the user 402 and the front of the vehicle by using the difference between d2 and d3, which is the third distance in this embodiment.

[0129] In this embodiment, multiple sets of correspondences between first distances and third distances can be pre-set. After obtaining the third distance, the headlight controller can obtain the first distance by looking up a table.

[0130] Similarly, when the ground projection area is circular, the first distance can refer to the vertical distance between the front of the car and the upper or lower vertex of the circular area, and can also be solved in the same way.

[0131] The above describes a scenario where the first distance can be adjusted based on the distance between the user and the vehicle, and how to calculate this first distance. Furthermore, in this embodiment, regardless of whether it's a welcome projection, a farewell projection, or a video projection, when the target projection mode is ground mode, the preset distance can be directly set as the first distance, meaning the first distance remains fixed.

[0132] Figure 4 (b) in the diagram is a schematic diagram of a scenario for obtaining a second distance provided by an embodiment of this application. Figure 4 As shown in (b), assuming that the ranging device obtains the oblique distance, i.e. d6, between the ranging device and any point on the screen 403 through the detection signal, the headlight controller obtains the vertical distance d7 between the ranging device and that point on the screen 403 based on the detection angle β of the ranging device and d6, combined with trigonometric functions.

[0133] Similarly, by combining the installation parameters of the ranging device, the headlight controller can obtain the vertical distance d3 between the ranging device and the front of the vehicle. Then, by calculating the difference between d7 and d3, the third distance between the front of the vehicle and the screen 403 can be obtained. Figure 4 (b) shows d7-d3.

[0134] After determining the first distance or the second distance, the headlight controller can combine the first distance or the second distance to obtain the target projection parameters.

[0135] Optionally, the target projection parameters include the projection angle or the projection height. The projection angle refers to the angle between the plane where the projection device is located and the ground. The projection height refers to the height difference between the height of the projection device and the reference height.

[0136] Based on different target projection parameters, this application provides two methods for controlling the projection device to project. The first method keeps the height of the projection device constant and adjusts the angle of the projection device vertically to achieve the best projection effect. The second method keeps the projection angle of the projection device constant and adjusts the vertical movement of the projection device to achieve the best projection effect.

[0137] Depending on the projection medium, the projection angle includes the first projection angle when the projection device projects onto the ground or the second projection angle when the projection device projects onto a screen, and the projection height includes the first projection height when the projection device projects onto the ground or the second projection height when the projection device projects onto a screen.

[0138] In one possible implementation, the target projection parameters are determined based on the target distance, including any of the following:

[0139] The first projection angle is determined based on the first distance and the correspondence between multiple distances and multiple projection angles between the ground and the vehicle;

[0140] The first projection height is determined based on the first distance and the correspondence between multiple distances between the ground and the vehicle and multiple projection heights;

[0141] The second projection angle is determined based on the second distance and the correspondence between multiple distances and multiple projection angles between the screen and the vehicle;

[0142] The second projection height is determined based on the second distance and the correspondence between multiple distances between the screen and the vehicle and multiple projection heights.

[0143] For example, when the target projection parameter is the projection angle, if the projection medium is the ground, the headlight controller can obtain the first projection angle by looking up a table after obtaining the first distance; if the projection medium is a screen, the headlight controller can obtain the second projection angle by looking up a table after obtaining the second distance. When the target projection parameter is the projection height, if the projection medium is the ground, the headlight controller can obtain the first projection height by looking up a table after obtaining the first distance; if the projection medium is a screen, the headlight controller can obtain the second projection height by looking up a table after obtaining the second distance.

[0144] Through the above process, the headlight controller can determine the target projection parameters during projection.

[0145] In the above technical solutions, when specifically determining the target projection parameters, different operating parameters result in different projection conditions, and the projection scene and target projection parameters also differ accordingly. Depending on the operating parameters, the preset projection conditions can be divided into first preset projection conditions or second preset projection conditions. During vehicle operation, the corresponding projection scene can be accurately determined based on its own operating status. In this embodiment, different projection scenes require different projection media, which will affect the projection range of the projection device.

[0146] Each target projection mode corresponds one-to-one with a projection medium. After determining the projection scene, the vehicle can further acquire the target projection mode and the corresponding projection medium. Finally, the vehicle can acquire the target distance between the current projection medium and the vehicle, or use a preset distance as the target distance, and determine the target projection parameters based on the target distance. This process acquires the target distance between the projection medium and the vehicle under different projection scenes and modes, obtaining the target projection parameters for the projection device in various projection scenarios, enabling the projection device to meet projection needs in various situations.

[0147] 303, Based on the target projection parameters, control the projection device to perform projection.

[0148] After the headlight controller determines the target projection parameters in step 302, it can obtain the target image that the projection device needs to project in the current projection scene and project it.

[0149] In one possible implementation, the projection device is controlled to project based on the target projection parameters, including:

[0150] In a projection scenario, acquire the target image that the projection device needs to project;

[0151] Adjust the lens focal length of the projection device based on the target projection parameters;

[0152] Based on the target projection parameters and lens focal length, the projection device is controlled to project the target image onto the projection medium.

[0153] Because users have different projection needs in different projection scenarios, after determining the projection scenario, the headlight controller can obtain the target image that needs to be projected, which can be divided into the following situations.

[0154] In one possible implementation, the projection scenarios include welcome projection upon arrival, farewell projection upon departure, and video projection. In each projection scenario, the target image to be projected by the projection device is acquired, including:

[0155] When the projection scene is a welcome scene, the target image is determined to be the first preset image;

[0156] When the projection scene is a farewell scene, the target image is determined to be the second preset image;

[0157] When the projection scene is a welcome scene upon arrival or a farewell scene upon departure, acquire facial images outside the vehicle; when the facial images include drivers and passengers, acquire the gender and age of the drivers and passengers; determine the target image based on the gender and age of the drivers and passengers.

[0158] When the projection scene is a movie projection, obtain the playback screen corresponding to the screen projection request; determine the target screen as the target screen.

[0159] For example, when the projection scenario is a welcome projection for passengers or a farewell projection for passengers leaving the vehicle, the headlight controller can display the same image as the target image for welcoming or bidding farewell to passengers, or it can display different images as the target image.

[0160] When displaying different target images, if the headlight controller detects that the vehicle meets the first preset condition, in order to distinguish whether the projection scene is a welcome projection or a farewell projection, the headlight controller can further acquire the signal strength between two adjacent moments and obtain the trend of signal strength change. When the trend of signal strength change is increasing, the projection scene is determined to be a welcome scene; conversely, when the trend of signal strength change is decreasing, the projection scene is determined to be a farewell scene.

[0161] When the projection scene is a welcome scene for passengers, the headlight controller can use the first preset image as the target image; when the projection scene is a farewell scene for passengers leaving the vehicle, the headlight controller can use the second preset image as the target image.

[0162] Furthermore, when there are multiple occupants in the vehicle, multiple first or second preset screens can be used to provide personalized welcome or farewell experiences for different passengers. After determining that the vehicle meets the first preset conditions, the headlight controller can acquire facial images from outside the vehicle and determine whether the facial image belongs to an occupant through image matching. When the facial image belongs to an occupant, image features, such as texture features, are extracted from the facial image. Based on the texture features, the age and gender of the occupant are determined, and different target screens are displayed according to age and gender to provide personalized welcome or farewell experiences for different occupants when boarding or alighting.

[0163] When there are multiple drivers and passengers identified through facial image recognition, the headlight controller can also display the target images corresponding to different drivers and passengers separately at different locations on the ground projection area.

[0164] In addition, in a welcoming scenario, the headlight controller can also turn on the ambient lighting in the vehicle to welcome passengers, and adjust the seats to a suitable angle in advance, and turn on the air conditioning and music playback software in advance to maintain a comfortable environment inside the vehicle when passengers get in.

[0165] When the projection scenario is a movie projection, the screen casting request may be sent by the vehicle's in-vehicle host or by an external smart device. After the in-vehicle host or external smart device sends the screen casting request to the headlight controller, it can transmit the currently playing video or audio to the headlight controller as streaming media data. After receiving the audio or video, the headlight controller controls the projection device to display the target image on the projection medium.

[0166] In a special case, when the target projection mode under the movie projection is the screen mode, after acquiring the target image, the headlight controller also needs to obtain the screen size through the image acquisition device or the ranging device, and determine the projection size of the target image on the screen based on the screen size, that is, the size of the target image.

[0167] After the target image is determined, in order to ensure the clarity of the projected image, the headlight controller can use autofocus technology to automatically adjust the lens focal length of the projector based on the projection angle or projection distance to avoid the projector from being out of focus.

[0168] Finally, the headlight controller controls the projection device to project the target image onto the corresponding projection medium at the specified projection angle or the corresponding lens focal length.

[0169] Thus, through the steps 301-303 above, the vehicle can intelligently complete the projection process in different scenarios.

[0170] Figure 5 This is a schematic diagram of a device for controlling vehicle projection provided in an embodiment of this application.

[0171] For example, such as Figure 5 As shown, the device 500 includes:

[0172] The condition judgment module 501 is used to determine whether the vehicle meets the preset projection conditions based on the vehicle's operating parameters. These operating parameters are used to represent the operating status of the vehicle's components.

[0173] The parameter determination module 502 is used to determine the target projection parameters of the projection device installed on the vehicle based on the target distance between the vehicle and the projection medium when the vehicle meets the preset projection conditions. The projection medium is used to represent the carrier of the image during the projection process, and the target projection parameters are used to represent the projection position of the projection device.

[0174] The projection module 503 is used to control the projection device to project based on the target projection parameters.

[0175] In one possible implementation, the operating parameters include gear position, signal strength between the vehicle and the target key, vehicle lock status, and the reception status of the projection request. The parameter determination module 502 is specifically used for: determining the projection scenario of the projection device based on the conditions met by the vehicle. This projection scenario is used to adjust the projection range of the projection device. The conditions met by the vehicle are either a first preset projection condition or a second preset projection condition. The first preset projection condition is that the gear position is a preset gear position and the signal strength is greater than or equal to a preset strength. The second preset projection condition is that the vehicle lock status is unlocked, the gear position is the preset gear position, the signal strength is greater than or equal to the preset strength, and the reception status is receiving. Under this projection scenario, a target projection mode is determined. This target projection mode represents the projection method of the projection device and is the projection mode corresponding to the projection medium. Under this target projection mode, the target distance is obtained through the vehicle's measuring device or the target distance is determined to be a preset distance. Based on the target distance, the target projection parameters are determined.

[0176] In one possible implementation, the projection scene includes a welcome projection, a farewell projection, and a movie projection. The parameter determination module 502 is further configured to: determine the projection scene as the welcome projection or the farewell projection when the vehicle meets the first preset projection condition; and determine the projection scene as the movie projection when the vehicle meets the second preset projection condition.

[0177] In one possible implementation, the projection scene includes a welcome projection, a farewell projection, and a video projection. The projection medium includes the ground, and the target projection mode includes a ground mode. The parameter determination module 502 is further configured to: determine the target projection mode as the ground mode when the projection scene is the welcome projection or the farewell projection; obtain a pre-configured preset projection mode when the projection scene is the video projection; and determine the target projection mode based on the preset projection mode, or based on the preset projection mode and an image of the external environment.

[0178] In one possible implementation, the projection medium further includes a screen, and the target projection mode further includes a screen mode. The parameter determination module 502 is further configured to: determine the target projection mode as the ground mode when the preset projection mode is the ground mode; determine whether the screen exists in front of the vehicle based on the external environment image when the preset target projection mode is the screen mode; determine the target projection mode as the screen mode when the screen exists in front of the vehicle; and determine the target projection mode as the ground mode when the screen does not exist in front of the vehicle.

[0179] In one possible implementation, the target distance includes a first distance when the projection device projects onto the ground or a second distance when the projection device projects onto the screen. The parameter determination module 502 is further configured to: when the target projection mode is the ground mode, obtain a third distance between the driver / passenger and the vehicle through the measuring device; determine the first distance based on the third distance; or determine the first distance as the preset distance; and when the target projection mode is the screen mode, obtain the second distance through the measuring device.

[0180] In one possible implementation, the target projection parameter includes a projection angle or a projection height. The projection angle includes a first projection angle when the projection device projects onto the ground or a second projection angle when the projection device projects onto the screen. The projection height includes a first projection height when the projection device projects onto the ground or a second projection height when the projection device projects onto the screen. The parameter determination module 502 is further configured to perform any of the following: determining the first projection angle based on the first distance and the correspondence between multiple distances between the ground and the vehicle and multiple projection angles; determining the first projection height based on the first distance and the correspondence between multiple distances between the ground and the vehicle and multiple projection heights; determining the second projection angle based on the second distance and the correspondence between multiple distances between the screen and the vehicle and multiple projection angles; and determining the second projection height based on the second distance and the correspondence between multiple distances between the screen and the vehicle and multiple projection heights.

[0181] In one possible implementation, the projection module 503 is specifically used to: acquire the target image that the projection device needs to project; acquire the target image that the projection device needs to project in the projection scene; adjust the lens focal length of the projection device based on the target projection parameters; and control the projection device to project the target image onto the projection medium according to the target projection parameters and the lens focal length.

[0182] Figure 6 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application.

[0183] For example, such as Figure 6 As shown, the vehicle 200 includes a memory 601 and a processor 602. The memory 601 stores executable program code 6011, and the processor 602 is used to call and execute the executable program code 6011 to perform a method for controlling vehicle projection.

[0184] Furthermore, embodiments of this application also protect an apparatus that may include a memory and a processor, wherein the memory stores executable program code, and the processor is used to call and execute the executable program code to perform a method for controlling vehicle projection provided in embodiments of this application.

[0185] This embodiment can divide the device into functional modules according to the above method example. For example, each module can correspond to a separate function, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0186] When each functional module is divided according to its corresponding function, the device may also include a condition judgment module, a parameter determination module, and a projection module. It should be noted that all relevant content regarding the steps involved in the above method embodiments can be referenced from the functional descriptions of the corresponding functional modules, and will not be repeated here.

[0187] It should be understood that the device provided in this embodiment is used to execute the above-described method for controlling vehicle projection, and therefore can achieve the same effect as the above-described implementation method.

[0188] When using an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module can be used to control and manage the vehicle's movements. The storage module can be used to support the vehicle in executing program code, etc.

[0189] The processing module may be a processor or a controller, which can implement or execute various exemplary logic blocks, modules, and circuits shown in conjunction with the disclosure of this application. The processor may also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc., and the storage module may be a memory.

[0190] In addition, the device provided in the embodiments of this application may specifically be a chip, component or module. The chip may include a connected processor and a memory. The memory is used to store instructions. When the processor calls and executes the instructions, the chip can execute a method for controlling vehicle projection provided in the above embodiments.

[0191] This embodiment also provides a computer-readable storage medium storing computer program code. When the computer program code is run on a computer, the computer executes the above-described method steps to implement the method for controlling vehicle projection provided in the above embodiment.

[0192] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to implement a method for controlling vehicle projection provided in the above embodiment.

[0193] In this embodiment, the device, computer-readable storage medium, computer program product, or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0194] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

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

[0196] The above description is merely a specific 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 method for controlling vehicle projection, characterized in that, The method includes: Based on the vehicle's operating parameters, determine whether the vehicle meets the preset projection conditions. The operating parameters are used to represent the vehicle's operating status. When the vehicle meets the preset projection conditions, the target projection parameters of the projection device installed on the vehicle are determined according to the target distance between the vehicle and the projection medium. The projection medium is used to represent the carrier of the image during the projection process, and the target projection parameters are used to represent the projection position of the projection device. Based on the target projection parameters, the projection device is controlled to perform projection.

2. The method according to claim 1, characterized in that, The operating parameters include gear position, signal strength between the vehicle and the target key, vehicle lock status, and reception status of the projection request. Determining the target projection parameters of the projection device installed on the vehicle based on the target distance between the vehicle and the projection medium includes: Based on the conditions met by the vehicle, the projection scene of the projection device is determined. The projection scene is used to adjust the projection range of the projection device. The conditions met by the vehicle are either a first preset projection condition or a second preset projection condition, which are included in the preset projection conditions. The first preset projection condition is that the gear is a preset gear and the signal strength is greater than or equal to a preset strength. The second preset projection condition is that the vehicle lock is unlocked, the gear is the preset gear, the signal strength is greater than or equal to the preset strength, and the receiving state is receiving. In the projection scenario, a target projection mode is determined. The target projection mode is used to represent the projection method of the projection device. The target projection mode is the projection mode corresponding to the projection medium. In the target projection mode, the target distance is obtained through the vehicle's measuring device or the target distance is determined to be a preset distance; The target projection parameters are determined based on the target distance.

3. The method according to claim 2, characterized in that, The projection scenes include welcome projection, farewell projection, and video projection. Determining the projection scene of the projection device based on the conditions met by the vehicle includes: If the vehicle meets the first preset projection condition, the projection scene is determined to be either the welcome projection or the farewell projection. If the vehicle meets the second preset projection condition, the projection scene is determined to be the film and television projection.

4. The method according to claim 2, characterized in that, The projection scenarios include welcome projection upon arrival, farewell projection upon departure, and video projection; the projection medium includes the ground; the target projection mode includes a ground mode; and determining the target projection mode within the projection scenarios includes: When the projection scene is the welcome projection or the farewell projection, the target projection mode is determined to be the ground mode; When the projection scene is the film and television projection, a pre-configured preset projection mode is obtained; the target projection mode is determined according to the preset projection mode, or according to the preset projection mode and the image of the vehicle's external environment.

5. The method according to claim 4, characterized in that, The projection medium further includes a screen, and the target projection mode further includes a screen mode. Determining the target projection mode based on the preset projection mode, or based on the preset projection mode and an image of the vehicle's external environment, includes: When the preset projection mode is the ground mode, the target projection mode is determined to be the ground mode; When the preset target projection mode is the screen mode, it is determined whether the screen exists in front of the vehicle based on the image of the external environment; if the screen exists in front of the vehicle, the target projection mode is determined to be the screen mode; if the screen does not exist in front of the vehicle, the target projection mode is determined to be the ground mode.

6. The method according to claim 5, characterized in that, The target distance includes a first distance when the projection device projects onto the ground or a second distance when the projection device projects onto the screen. In the target projection mode, obtaining the target distance or determining the target distance as a preset distance using the vehicle's measuring device includes: When the target projection mode is the ground mode, the third distance between the driver / passenger and the vehicle is obtained by the measuring device; the first distance is determined based on the third distance; or, the first distance is determined to be the preset distance. When the target projection mode is the screen mode, the second distance is obtained by the measuring device.

7. The method according to claim 6, characterized in that, The target projection parameters include a projection angle or a projection height. The projection angle includes a first projection angle when the projection device projects onto the ground or a second projection angle when the projection device projects onto the screen. The projection height includes a first projection height when the projection device projects onto the ground or a second projection height when the projection device projects onto the screen. Determining the target projection parameters based on the target distance includes any one of the following: The first projection angle is determined based on the first distance and the correspondence between multiple distances and multiple projection angles between the ground and the vehicle; The first projection height is determined based on the first distance and the correspondence between multiple distances and multiple projection heights between the ground and the vehicle; The second projection angle is determined based on the second distance and the correspondence between multiple distances and multiple projection angles between the screen and the vehicle; The second projection height is determined based on the second distance and the correspondence between multiple distances and multiple projection heights between the screen and the vehicle.

8. The method according to claim 2, characterized in that, The step of controlling the projection device to perform projection based on the target projection parameters includes: In the projection scenario, the target image that the projection device needs to project is obtained; Adjust the lens focal length of the projection device based on the target projection parameters; Based on the target projection parameters and the lens focal length, the projection device is controlled to project the target image onto the projection medium.

9. A device for controlling vehicle projection, characterized in that, The device includes: The condition judgment module is used to determine whether the vehicle meets the preset projection conditions based on the vehicle's operating parameters, wherein the operating parameters are used to represent the operating status of the vehicle's components. The parameter determination module is used to determine the target projection parameters of the projection device installed on the vehicle based on the target distance between the vehicle and the projection medium when the vehicle meets the preset projection conditions. The projection medium is used to represent the carrier of the image during the projection process, and the target projection parameters are used to represent the projection position of the projection device. The projection module is used to control the projection device to perform projection based on the target projection parameters.

10. A vehicle, characterized in that, The vehicles include: Memory, used to store executable program code; A processor for calling and running the executable program code from the memory, causing the vehicle to perform the method as described in any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed, implements the method as described in any one of claims 1 to 8.