Pixel headlight control method for a vehicle and related device

By introducing SOC and FPGA into the vehicle pixel headlight system, multiple display modes of image data can be controlled, solving the problem of user customization needs in the existing technology, improving display quality and efficiency, and ensuring driving safety.

CN119446002BActive Publication Date: 2025-11-04BYD CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310954540.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-31
Publication Date
2025-11-04
Estimated Expiration
2043-07-31

AI Technical Summary

Technical Problem

In existing technologies, the display content of vehicle pixel headlights heavily relies on the multimedia host, making it difficult to meet users' customized needs for dual-lamp splicing mode and dual-lamp separate display mode.

Method used

By introducing a system-on-a-chip (SOC) and a field-programmable gate array (FPGA), the rendered image data is converted into RGB image data and segmented to achieve independent control of headlights with different pixels, supporting multiple display modes.

Benefits of technology

It improves the display quality and efficiency of pixel headlights, meets users' needs for different display modes, ensures driving safety, and enriches the types of images displayed in no-signal scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119446002B_ABST
    Figure CN119446002B_ABST
Patent Text Reader

Abstract

The application discloses a pixel headlamp control method of a vehicle and a related device, and the method comprises the following steps: acquiring a self-defined image and display mode indication information; and controlling the pixel headlamp to display image data rendered after the self-defined image according to the display mode indication information. Through the implementation of the method, the display content of the pixel headlamp of the vehicle is rendered according to the display mode indication information by the controller, so that the self-defined image is displayed according to the user demand, and the personalized demand of the user is met.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of vehicle lighting devices, in particular to a pixel headlight control method for a vehicle and related device. BACKGROUND

[0002] In the prior art, the content displayed by the dual-lamp projection is strongly related to the multimedia host and depends on the hardware capability of the multimedia host. The content displayed is dependent on the content supported by the multimedia host, and it is difficult to meet the user's customization needs. Users not only need the content displayed by the left pixel lamp and the right pixel lamp to be spliced together (dual-lamp splicing mode), but also need the content displayed by the left pixel lamp and the right pixel lamp to be different (dual-lamp different display mode). Through the transmission of the multimedia host, the dual-lamp splicing mode requirement can be met, but it is difficult to meet the dual-lamp different display mode requirement. SUMMARY

[0003] To solve the above problems, the present application provides a pixel headlight control method for a vehicle and related device, which can meet the user's needs for various display modes.

[0004] To achieve the above purpose, in a first aspect, the present application provides a pixel headlight control method for a vehicle, which comprises: acquiring a custom image and display mode indication information; and controlling the pixel headlight to display image data rendered on the custom image according to the display mode indication information.

[0005] Based on the control of the pixel headlight of the vehicle to display the custom image according to the display mode indication information, the user's customization display needs are met.

[0006] In combination with the first aspect, in a possible embodiment, the pixel headlight comprises a first pixel headlight and a second pixel headlight located on the left and right sides of the vehicle.

[0007] In combination with the first aspect, in a possible embodiment, the display mode indication information is used to indicate a dual-lamp combined mode, and the control of the pixel headlight to display the image data rendered on the custom image according to the display mode indication information comprises: converting the rendered image data into RGB image data; performing segmentation processing on the RGB image data to obtain first image data and second image data; controlling the first pixel headlight to display the first image data, and controlling the second pixel headlight to display the second image data.

[0008] The conversion of the rendered image data into RGB image data and the segmentation of the RGB image data into two parts can be implemented by a system on chip (SOC) or a field programmable gate array (FPGA) in a controller.

[0009] In the embodiments of the present application, the rendered image data is converted into RGB image data by introducing an FPGA, and the RGB image data is segmented to obtain first image data and second image data, thereby improving the segmentation accuracy and reducing the occurrence of overlapping areas in the first image data and the second image data obtained after segmentation, and thus improving the display quality.

[0010] In combination with the first aspect, in a possible embodiment, the display mode indication information is used to indicate a dual-lamp same-display mode, and the control of the pixel big lamp to display the image data rendered based on the custom image comprises: control of the first pixel big lamp to display the rendered image data, and control of the second pixel big lamp to display the rendered image data.

[0011] In the embodiments of the present application, in the dual-lamp same-display mode, the first pixel big lamp and the second pixel big lamp are directly controlled to display the rendered image data, thereby saving the steps of splicing and segmentation, improving the display speed and efficiency of the pixel big lamp, and improving the display quality since the rendered image data is not segmented.

[0012] In combination with the first aspect, in a possible embodiment, the custom image comprises a first custom image and a second custom image, the display mode indication information is used to indicate a dual-lamp different-display mode, the rendered image data comprises third image data obtained by rendering the first custom image and fourth image data obtained by rendering the second custom image, and the control of the pixel big lamp to display the image data rendered based on the custom image comprises: control of the first pixel big lamp to display the third image data, and control of the second pixel big lamp to display the fourth image data; wherein the first custom image is from a first terminal device, and the second custom image is from a second terminal device.

[0013] In the embodiments of the present application, in the dual-lamp different-display mode, the first custom image and the second custom image are respectively rendered, and the third image data and the fourth image data are respectively displayed through the first pixel big lamp and the second pixel big lamp, thereby meeting the requirement of the user for the first pixel big lamp and the second pixel big lamp to respectively display different image data. Moreover, the first custom image and the second custom image are respectively from different terminal devices, thereby meeting the display requirement of different users at the same time.

[0014] With reference to the first aspect, in a possible implementation, the method further includes: obtaining a resolution of the first pixel light, a resolution of the second pixel light, and a pixel byte number of the custom image; determining the display buffer and the drawing buffer according to the resolution of the first pixel light, the resolution of the second pixel light, and the pixel byte number of the custom image; drawing the third custom image obtained by splicing the first custom image and the second custom image in the drawing buffer; and storing the third custom image in the display buffer.

[0015] In the embodiments of the present application, the drawing buffer and the display buffer of the custom image are determined, the third custom image is drawn in the drawing buffer, and the drawn third custom image is stored in the display buffer, so that the drawing buffer can draw the custom image of the next frame, the efficiency of processing the custom image is improved, and thus the pixel light can display image data with a higher frame rate, and the display quality is improved.

[0016] With reference to the first aspect, in a possible implementation, if the driving speed of the vehicle is greater than the first preset threshold, the first pixel light and the second pixel light are controlled to stop displaying the rendered image data.

[0017] In the embodiments of the present application, if the driving speed of the vehicle is greater than the first preset threshold, the rendered image data is stopped from being displayed, so that the first pixel light and the second pixel light play a role of illumination, and the driving safety of the vehicle is ensured.

[0018] With reference to the first aspect, in a possible implementation, after the driving speed of the vehicle is greater than the first preset threshold, if the driving speed of the vehicle is less than the second preset threshold after the first preset time length, the first pixel light and the second pixel light are controlled to display the rendered image data again.

[0019] In the embodiments of the present application, when the driving speed of the vehicle is less than the second preset threshold after the first preset time length, it can be inferred that the vehicle has stopped driving again, and at this time, the first pixel light and the second pixel light are controlled to display the rendered image data again, thereby saving the operation of the user.

[0020] With reference to the first aspect, in a possible implementation, after the driving speed of the vehicle is less than the second preset threshold for the first preset time length, if the custom image sent by the cloud server cannot be obtained after the second preset time length, the method further includes: rendering the fifth image data stored locally to obtain rendered fifth image data; and controlling the first pixel light and the second pixel light to display the rendered fifth image data.

[0021] In the embodiment of the present application, when the custom image sent by the cloud server cannot be obtained after the second preset time period, the fifth image data stored locally is rendered to obtain the rendered fifth image data, and the fifth image data is displayed, thereby enriching the types of pixel headlight display images and solving the problem that the pixel headlight cannot display image data in a no-signal scenario.

[0022] In a second aspect, the embodiment of the present application provides a controller, which is used to execute the pixel headlight control method of the vehicle. The controller comprises: an acquisition unit, which is used to acquire a custom image and display mode indication information; and a display unit, which is used to control the pixel headlight to display image data rendered from the custom image according to the display mode indication information.

[0023] In a third aspect, the embodiment of the present application provides a controller, which comprises a processor, a memory, a communication interface, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the processor. One or more instructions are adapted to be loaded and executed by the processor to execute part or all of the method of the first aspect.

[0024] In a fourth aspect, the embodiment of the present application provides a vehicle, which comprises the controller of the second aspect or the third aspect.

[0025] In a fifth aspect, the embodiment of the present application provides a computer readable storage medium, which stores a computer program for electronic data exchange. The computer program causes a computer to execute part or all of the method of the first aspect. BRIEF DESCRIPTION OF DRAWINGS

[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the drawings needed in the embodiment or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0027] Figure 1 An application scenario diagram of the pixel headlight control method of the vehicle provided by the embodiment of the present application;

[0028] Figure 2 A flowchart of the pixel headlight control method of the vehicle provided by the embodiment of the present application;

[0029] Figure 3A A structure diagram of an existing domain controller provided by the embodiment of the present application;

[0030] Figure 3B A structure diagram of a domain controller provided by the embodiment of the present application;

[0031] Figure 4A A schematic diagram of first image data in a dual-lamp-in-one mode provided by an embodiment of the present application;

[0032] Figure 4B A schematic diagram of second image data in a dual-lamp-in-one mode provided by an embodiment of the present application;

[0033] Figure 5A A schematic diagram of third image data provided by an embodiment of the present application;

[0034] Figure 5B A schematic diagram of fourth image data provided by an embodiment of the present application;

[0035] Figure 6 A schematic diagram of a structure of a controller provided by an embodiment of the present application;

[0036] Figure 7 A schematic diagram of a structure of another controller provided by an embodiment of the present application. DETAILED DESCRIPTION

[0037] In order to make the personnel in the technical field better understand the present application scheme, the technical scheme in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by the person skilled in the art without creative labor are within the scope of protection of the present application.

[0038] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish different objects, not to describe a specific order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but can optionally include steps or units not listed, or can optionally include other steps or units inherent to the process, method, product or device.

[0039] In this document, the term "embodiment" means that the specific features, structures or characteristics described in connection with the embodiment can be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily mean the same embodiment, nor is it independent or alternative to other embodiments. The person skilled in the art explicitly and implicitly understands that the embodiments described herein can be combined with other embodiments.

[0040] Embodiments of the present application will be described below with reference to the accompanying drawings.

[0041] Please refer to Figure 1 , Figure 1 An application scenario diagram of a pixel headlight control method provided by an embodiment of the present application is shown in the figure. The application scenario 100 includes a vehicle 101, a cloud server 102, and a terminal device 103. The vehicle 101 includes a controller 1011 and a pixel headlight optical module 1012. The terminal device 103 connects to the cloud server 102 and sends instructions to the cloud server 102, so that the cloud server 102 sends custom images and display mode indication information to the controller 1011 of the vehicle 101. The terminal device 103 can also bypass the cloud server 102 and send custom images and display mode indication information to the controller 1011 connected to the vehicle 101. The controller 1011 generates corresponding image data according to the custom images and display mode indication information and controls the pixel headlight optical module 1012 to display the corresponding image data.

[0042] The controller herein mainly includes functions of processing images and controlling the pixel headlight optical module to display the processed images, and can be a domain controller (DC), a microcontroller unit (MCU), a central processing unit (CPU), etc. The terminal device herein is a smart terminal with wireless transceiver function, and can be a smart phone, a tablet computer, a notebook computer, etc. The cloud server herein contains at least one multimedia system and has functions of uploading multimedia materials, editing multimedia, generating multimedia, distributing multimedia, and managing devices, etc. Users can upload custom pictures, videos, voice materials, etc. through the application program APP or mini program of the terminal device 103, and can edit and combine them into the style desired by the user through the application program APP or mini program. The pixel headlight optical module 1012 herein includes at least one pixel headlight, and the number of pixel headlights is not limited. Each pixel headlight is composed of multiple light-emitting units and can emit light of different shapes, brightness, and illumination angles according to the actual situation of the road, and can also support multiple colors to achieve an image projection-like effect.

[0043] As can be seen, the controller controls the first pixel headlight and the second pixel headlight of the vehicle to display the custom images sent by the cloud server in different display modes according to the display mode indication information sent by the cloud server, which meets the user's demand for customizing display content. The controller renders the display content of the first pixel headlight and the second pixel headlight according to the display mode indication information, which meets the user's demand for multiple display modes.

[0044] Please refer to Figure 2 , Figure 2 The flowchart of a pixel headlight control method of a vehicle provided by the embodiment of the present application can be implemented based on the application scenario shown in Figure 1 , as shown in Figure 2 , including steps S201-S202:

[0045] S201: Obtain a custom image and display mode indication information.

[0046] Specifically, the cloud server can generate the custom image and the display mode indication information according to the instruction of the terminal device and send them to the controller. The custom image here can be a preset image stored in the cloud server or an image included in the instruction of the terminal device. The cloud server edits (splices, clips, and adds music to, etc.) these images to obtain the custom image. In addition, in the absence of the cloud server, the custom image and the display mode indication information can also be sent directly to the controller through the terminal device.

[0047] The custom image can be a single frame of picture or a video with sound, which is not limited here.

[0048] S202: Control the pixel headlight to display the image data rendered after the custom image according to the display mode indication information.

[0049] Specifically, the controller obtains the rendered image data according to the custom image and the display mode information. The display mode indication information here includes a double-lamp combination mode, a double-lamp different display mode, a double-lamp same display mode, etc. The double-lamp combination mode is that the first pixel headlight and the second pixel headlight respectively display different parts of the same image. The double-lamp different display mode is that the first pixel headlight and the second pixel headlight respectively display different images. The double-lamp same display mode is that the first pixel headlight and the second pixel headlight simultaneously display the same image.

[0050] The controller renders the obtained custom image to realize the functions of video playing, graphic rendering, image splicing, and layer superimposition, etc. Further, the controller renders the custom image into the rendered image data whose image format meets the display requirements of the first pixel headlight and the second pixel headlight. The image format here can be determined by resolution (such as 720p, 1080p, etc.), aspect ratio (such as 4:3, 16:9, etc.), and display direction (landscape and portrait, etc.).

[0051] In one possible embodiment, the pixel headlight includes a first pixel headlight and a second pixel headlight located on the left and right sides of the vehicle.

[0052] Specifically, the first pixel headlamp and the second pixel headlamp can be left and right headlamps of the vehicle, and further can also include pixel headlamps installed at other positions on the vehicle.

[0053] In a possible embodiment, the display mode indication information is used to indicate a dual-lamp-in-one mode, and the controller controls the pixel headlamp to display image data after rendering of a custom image according to the display mode indication information, including: converting the rendered image data into RGB image data; performing segmentation processing on the RGB image data by the controller to obtain first image data and second image data; and controlling the first pixel headlamp to display the first image data and controlling the second pixel headlamp to display the second image data.

[0054] Specifically, Figure 3A An existing domain controller structure schematic diagram provided by the embodiment of the present application, in the prior art domain controller, mainly through the system on chip (SOC), the image data is rendered, segmentation and other processing, but the SOC processing capability is limited, not only the display content is limited, cannot meet the user's demand of custom pixel lamp projection display content, and in the embodiment of the present application, the SOC requires at least to support two-way video output. With more and more display screens, display devices access, the requirement of SOC is higher and higher, especially the requirement of SOC display ability is higher and higher, general SOC often can meet the demand of multi-screen display. Please see Figure 3B , Figure 3BA structural diagram of a domain controller is provided for the embodiments of the present application. The domain controller is used to perform the steps required by the controller in the embodiments of the present application. The domain controller includes a microcontroller unit (MCU), a SOC, and a field programmable gate array (FPGA). The MCU is the control core of the domain controller and is responsible for coordinating the SOC, FPGA, and the like. The SOC is used to implement specific rendering steps to render a custom image into rendered image data. The FPGA is responsible for splitting the rendered image data to obtain first image data and second image data. The MCU and the SOC are respectively connected to a CAN bus. The SOC can receive the custom image through the CAN bus and the MCU. The custom image can also be received directly from a cloud server through a wireless network. A pixel headlight optical module is used to display the first image data and the second image data. The SOC, the FPGA, and the pixel headlight optical module can be directly connected through a peripheral component interconnect express (PCIE) or a mobile industry processor interface (MIPI), a low voltage differential signaling (LVDS), and the like.

[0055] When the controller renders the custom image, a complete rendered image data can be obtained. If the number of pixel headlights is two or more, the complete rendered image data needs to be split. At this time, the FPGA converts the rendered image data into an RGB image. The RGB is a data format of an image. The FPGA splits the RGB image to obtain first image data and second image data, or even multiple image data. The splitting method of the image can be longitudinal splitting or horizontal splitting. The splitting method can be determined according to the display direction of the image data, or can be specified by a terminal device.

[0056] Exemplarily, the controller can split the RGB image in the longitudinal direction by default to obtain the first image data and the second image data, and then control the first pixel headlamp and the second pixel headlamp to display the first image data and the second image data respectively. The target user can change the splitting mode to the transverse splitting through the terminal device. Splitting the RGB image through the FPGA can obtain the first image data and the second image data without overlapping, thereby avoiding the problem of overlapping in the first image data and the second image data caused by splitting through the SOC, or the problem of image data loss after splitting. Here, the image data loss refers to that due to the inaccuracy of splitting, the image in the middle part is neither split into the first image data nor into the second image data, so that after the first image data and the second image data are spliced together, the RGB image cannot be completely restored.

[0057] In one example, Figure 4A The first image data displayed by the first pixel headlamp is illustrated, Figure 4B The second image data displayed by the first pixel headlamp is illustrated. From Figure 4A and Figure 4B It can be seen that, Figure 4A and Figure 4B are two incomplete images obtained by splitting the same image. When the first pixel headlamp and the second pixel headlamp of the vehicle display Figure 4A and Figure 4B at the same time, the user can see a complete image. Here, the first pixel headlamp and the second pixel headlamp generally include the left pixel headlamp and the right pixel headlamp of the vehicle.

[0058] In the embodiments of the present application, by introducing the FPGA in the controller, the rendered image data is converted into RGB image data, and the RGB image data is split to obtain the first image data and the second image data, thereby improving the accuracy of splitting, reducing the overlapping area of the first image data and the second image data obtained after splitting, and improving the display quality.

[0059] In a possible embodiment, the display mode indication information is used to indicate the double-lamp same-display mode, and the controller controls the pixel headlamp to display the image data rendered on the custom image according to the display mode indication information, including: the controller controls the first pixel headlamp to display the rendered image data, and controls the second pixel headlamp to display the rendered image data.

[0060] Specifically, if the display mode indication information is used to indicate the double-lamp same-display mode, then the rendered image does not need to be split by the FPGA in the controller, and only the first pixel headlamp and the second pixel headlamp need to be directly controlled to display the rendered image data.

[0061] Optionally, if the rendered image data is not a custom image obtained by acquisition, but a preset image stored locally with the vehicle, such as a background image filled with regular repeating patterns, a wallpaper image, etc. The above-mentioned image does not perform segmentation operation and does not affect the final imaging effect, and is suitable for double-lamp same display mode.

[0062] In the embodiments of the present application, in the double-lamp same display mode, the controller directly controls the first pixel big lamp and the second pixel big lamp to display the rendered image data, saving the splicing and segmentation steps, improving the display speed and efficiency of the pixel big lamp, and improving the display quality since the rendered image data is not segmented.

[0063] In a possible embodiment, the custom image includes a first custom image and a second custom image, the display mode indication information is used to indicate a double-lamp different display mode, the rendered image data includes third image data obtained by rendering the first custom image and fourth image data obtained by rendering the second custom image, and the controller controls the pixel big lamp to display the rendered image data of the custom image according to the display mode indication information, including: the controller controls the first pixel big lamp to display the third image data; the controller controls the second pixel big lamp to display the fourth image data; wherein the first custom image is from a first terminal device, and the second custom image is from a second terminal device.

[0064] Specifically, different users can display different images through the first pixel big lamp and the second pixel big lamp respectively. For example, the controller obtains a first custom image from a first terminal device and a second custom image from a second terminal device, the display mode indication information is used to indicate a double-lamp different display mode, the controller renders the first custom image and the second custom image through the SOC respectively to obtain third image data and fourth image data, and controls the first pixel big lamp to display the third image data and controls the second pixel big lamp to display the fourth image data. Further, due to the control logic of the controller, the FPGA will perform segmentation processing on the custom image before controlling the pixel big lamp to display, so the first custom image and the second custom image cannot be directly rendered and then directly controlled to be displayed by the first pixel big lamp and the second pixel big lamp. Therefore, when the display mode indication information is used to indicate a double-lamp different display mode, the first custom image and the second custom image need to be spliced and then rendered by the SOC, and finally sent to the FPGA for segmentation to make the first pixel big lamp and the second pixel big lamp display corresponding image data.

[0065] In one example, Figure 5A The third image data displayed by the first pixel big lamp is illustrated, Figure 5B The fourth image data displayed by the second pixel big lamp is illustrated.

[0066] In the embodiments of the present application, in the dual-lamp different display mode, the controller respectively renders the first custom image and the second custom image, and displays the third image data and the fourth image data through the first pixel big lamp and the second pixel big lamp respectively, which meets the requirement of the user that the first pixel big lamp and the second pixel big lamp respectively display different image data. Moreover, the first custom image and the second custom image respectively come from different terminal devices, which meets the display requirement of different users at the same time.

[0067] In a possible embodiment, the display mode indication information includes first display mode indication information and second display mode indication information, and the method further includes: the controller controls the first pixel big lamp to display the third image data according to the first display mode information; the controller controls the second pixel big lamp to display the fourth image data according to the second display mode information; if the display mode indicated by the first display mode indication information and the display mode indicated by the second display mode indication information are different, the controller controls the first pixel big lamp to display the third image data according to the first display mode indication information, and controls the second pixel big lamp to display the fourth image data. Wherein, the first display mode indication information comes from the first terminal device, the second display mode indication information comes from the second terminal device, and the priority of the first terminal device is higher than that of the second terminal device.

[0068] Specifically, the controller acquires the custom image and the display mode indication information from the first terminal device,

[0069] When the custom image includes the first custom image and the second custom image, the display mode is by default the dual-lamp different display mode, and the first custom image and the second custom image are displayed through the first pixel big lamp and the second pixel big lamp respectively. In addition, the user can also adjust the specific display mode through the first terminal device and the second terminal device. For example, the user can send the first display mode indication information to the controller through the first terminal device to control the first pixel big lamp to adjust from the portrait display mode to the landscape display mode. When the first display mode indication information and the second display mode indication information conflict, for example, the first display mode indication indicates that the image data is displayed through the dual-lamp different display mode, and the second display mode indication indicates that the image data is displayed through the dual-lamp combined display mode. At this time, since the first terminal device has a higher priority, the first pixel big lamp and the second pixel big lamp are still controlled to display the image data rendered by the first custom image and the second custom image respectively through the dual-lamp different display mode. In addition, the first terminal device has the highest instruction priority, when the vehicle needs to start driving, the first terminal device can send an instruction to close the image display function, and after the image display function is closed, the second terminal cannot send the custom image and the second display mode indication information to the controller at this time.

[0070] In the embodiment of the present application, the first display mode indication information and the second display mode indication information are used to instruct the first pixel headlamp and the second pixel headlamp to change the display mode, thereby improving the operability of the image data displayed by the first pixel headlamp and the second pixel headlamp. When the first display mode indication information and the second display mode indication information conflict, the first display mode indication information with higher priority is used to control the first pixel headlamp and the second pixel headlamp, thereby ensuring the driving safety of the vehicle in the scenario where the vehicle needs to drive.

[0071] In a possible embodiment, the method further includes: the controller obtaining the resolution of the first pixel headlamp, the resolution of the second pixel headlamp, and the pixel byte number of the custom image; the controller determining the display buffer and the rendering buffer according to the resolution of the first pixel headlamp, the resolution of the second pixel headlamp, and the pixel byte number of the custom image; the controller rendering a third custom image obtained by splicing the first custom image and the second custom image in the rendering buffer; and the controller storing the third custom image in the display buffer.

[0072] Specifically, the SOC of the controller needs to determine the size of the display buffer and the rendering buffer when rendering the custom image. The SOC renders a third custom image obtained by splicing the first custom image and the second custom image in the rendering buffer. After the rendering of the third custom image is completed, the SOC stores the third custom image in the display buffer. After the rendering, the third custom image is sent to the FPGA, and the next frame of custom image is rendered in the rendering buffer.

[0073] For example, the resolution of the pixel headlamp is used to calculate the number of pixel points of the pixel headlamp, such as 1920x1080, 1600x900, etc. The display buffer and the rendering buffer are calculated in the same way, that is, the pixel byte number of the custom image multiplied by the number of pixel points of the first pixel headlamp plus the pixel byte number of the custom image multiplied by the number of pixel points of the second pixel headlamp. The size of the display buffer and the rendering buffer is the same. The pixel byte number of the custom image is determined by the data format of the custom image. If the data format of the custom image is RGB, the corresponding pixel byte number is 3; if the data format of the custom image is ARGB, the corresponding pixel byte number is 4.

[0074] In the embodiment of the present application, the controller determines the rendering buffer and the display buffer of the custom image. After the rendering of the custom image is completed in the rendering buffer, the image data obtained by the rendering is stored in the display buffer, so that the rendering buffer can render the next frame of image, thereby improving the efficiency of the controller in processing the custom image, and further enabling the pixel headlamp to display image data with higher frame rate, and improving the display quality of the image data.

[0075] In a possible embodiment, if the driving speed of the vehicle is greater than the first preset threshold, the controller controls the first pixel headlamp and the second pixel headlamp to stop displaying the rendered image data.

[0076] Specifically, when the pixel headlamps of the vehicle display the image data, if the vehicle suddenly starts driving, the display of the image data needs to be paused to enable the pixel headlamps to perform the normal lighting function. The first preset threshold can be 0 km / h, 5 km / h, or the like. When the pixel headlamps are used to display the image data, the lighting demand of the vehicle during driving cannot be normally met. By setting the first preset threshold, when the driving speed of the vehicle exceeds the first preset threshold, the controller can determine that the vehicle enters the driving state and stop displaying the rendered image data, so that the pixel headlamps can normally perform the lighting function, and further stop receiving the customized image and the display mode indication information.

[0077] In the embodiment of the application, if the driving speed of the vehicle is greater than the first preset threshold, the controller stops displaying the rendered image data, so that the first pixel headlamp and the second pixel headlamp can perform the lighting function, thereby ensuring the driving safety of the vehicle.

[0078] In a possible embodiment, after the driving speed of the vehicle is greater than the first preset threshold, if the driving speed of the vehicle is less than the second preset threshold for a duration of the first preset duration, the controller controls the first pixel headlamp and the second pixel headlamp to display the rendered image data again according to the display mode indication information.

[0079] Specifically, the second preset threshold is used to determine whether the vehicle stops driving or slows down to stop driving, and can be greater than or less than the first preset threshold, and can be 0 km / h, 5 km / h, or the like. If the controller temporarily stops controlling the pixel headlamps to display the rendered image data when the driving speed of the vehicle is greater than the first preset threshold while the pixel headlamps display the rendered image data. The driving speed of the vehicle is less than the second preset threshold, and the duration reaches the first preset duration, the first pixel headlamp and the second pixel headlamp are controlled to display the rendered image data again. Since the vehicle starts suddenly while displaying the rendered image data, the above situation can occur in a scenario in which the vehicle needs to move for a short distance, for example, temporarily changing the parking position, temporarily moving the vehicle, and the like. Therefore, the controller determines that the vehicle stops driving or slows down to stop driving by using the second preset threshold and the first preset duration.

[0080] Exemplarily, if the controller stops controlling the first pixel lamp and the second pixel lamp to display the rendered image data according to the stop display instruction, and the driving speed of the vehicle is greater than the first preset threshold, and then the driving speed of the vehicle is less than the second preset threshold for a duration reaching the first preset time length, the rendered image data does not need to be displayed again. The stop display instruction can be sent by the terminal device or by the vehicle. Since the stop display instruction is sent by the target user, in this scenario, the vehicle is more likely to need to travel for a long distance, and the duration in which the driving speed is less than the second preset threshold for the first preset time length can be caused by waiting for a red light. Therefore, considering the driving safety of the vehicle, the rendered image data cannot be displayed again at this time.

[0081] In the embodiment of the application, when the driving speed of the vehicle is less than the second preset threshold for the first preset time length, the controller can infer that the vehicle has stopped driving again, and the controller controls the first pixel lamp and the second pixel lamp to display the rendered image data again, thereby saving the operation of the user.

[0082] In a possible embodiment, when the customized image cannot be acquired after the second preset time length, the controller renders the fifth image data stored locally to obtain rendered fifth image data, and controls the first pixel lamp and the second pixel lamp to display the rendered fifth image data.

[0083] Specifically, the controller can fail to acquire the customized image sent by the cloud server. Exemplarily, if the customized image sent by the cloud server is a video type, the controller can fail to continue to acquire video frames after the video is played; or the vehicle enters an area with poor signals, and cannot continue to acquire the customized image due to failure to communicate with the server. At this time, the fifth image data stored locally can be rendered, and the first pixel lamp and the second pixel lamp can be controlled to display the rendered fifth image data.

[0084] In the embodiment of the application, when the controller fails to acquire the customized image sent by the cloud server after the second preset time length, the fifth image data stored locally is rendered to obtain rendered fifth image data, and the fifth image data is displayed, thereby enriching the types of image data displayed by the pixel lamp and solving the problem that the pixel lamp cannot display image data in a no-signal scenario.

[0085] By implementing the method in the above embodiment, it can be seen that by the controller indicating the display content of the first pixel big lamp and the second pixel big lamp according to the display mode indication information, multiple display modes of image data are realized, custom image sent by the cloud server is displayed in different display modes, and the needs of users for customizing display content are met. In the dual-lamp integration mode, the accuracy of segmentation is improved, thereby improving the image quality of the final display content. In the dual-lamp same display mode, the display speed and display efficiency of the pixel big lamp are improved, and thus image data with higher picture quality can be displayed, and the image quality of the displayed image data is improved. In the dual-lamp different display mode, the needs of users for the first pixel big lamp and the second pixel big lamp to display different image data are met. By the controller determining the drawing cache and the display cache of the custom image, the efficiency of the controller in processing the custom image is improved. When the vehicle is running, the display data is paused, and after the vehicle stops, the display is resumed, thereby ensuring the driving safety of the vehicle and saving the operation of the user. When the custom image cannot be received, the local image data is displayed, thereby enriching the types of image displayed by the pixel big lamp, and solving the problem that in a no-signal scenario, the controller cannot receive the custom image sent by the cloud server, and thus the pixel big lamp cannot normally display image data.

[0086] Based on the description of the above configuration method embodiment, the present application further provides a controller 600, which can be a computer program (including program code) running in a terminal. The controller 600 can execute the method shown in Figure 2 . Figure 6 , Figure 6 A structural schematic diagram of a controller provided by an embodiment of the present application is shown in FIG. 6. The controller 600 can include the following components:

[0087] The acquisition unit 601 is configured to acquire, by the controller, a custom image and display mode indication information.

[0088] The display unit 602 is configured to control, by the controller according to the display mode indication information, the pixel big lamp to display image data rendered on the custom image.

[0089] In a possible embodiment, the pixel big lamp includes a first pixel big lamp and a second pixel big lamp located on the left and right sides of the vehicle.

[0090] In a possible implementation, the controller further includes a rendering unit 603, the display mode indication information is used to indicate a dual-lamp combined display mode, and the controller controls the pixel headlamp to display the image data after rendering of the custom image according to the display mode indication information. The rendering unit 603 and the display unit 602 are further specifically configured to: convert the rendered image data into RGB image data; the controller performs segmentation processing on the RGB image data to obtain first image data and second image data; and the controller controls the first pixel headlamp to display the first image data and controls the second pixel headlamp to display the second image data.

[0091] In a possible implementation, the display mode indication information is used to indicate a dual-lamp same display mode, the controller controls the pixel headlamp to display the image data after rendering of the custom image according to the display mode indication information, and the rendering unit 603 and the display unit 602 are further specifically configured to: the controller controls the first pixel headlamp to display the rendered image data, and controls the second pixel headlamp to display the rendered image data.

[0092] In a possible implementation, the custom image includes a first custom image and a second custom image, the display mode indication information is used to indicate a dual-lamp different display mode, the rendered image data includes third image data obtained by rendering of the first custom image and fourth image data obtained by rendering of the second custom image, the controller controls the pixel headlamp to display the image data after rendering of the custom image according to the display mode indication information, and the display unit 602 is further specifically configured to: the controller controls the first pixel headlamp to display the third image data; and the controller controls the second pixel headlamp to display the fourth image data; wherein the first custom image is from a first terminal device, and the second custom image is from a second terminal device.

[0093] In a possible implementation, the rendering unit 603 is further specifically configured to: the controller obtains a resolution of the first pixel headlamp, a resolution of the second pixel headlamp, and a pixel byte number of the custom image; the controller determines a display cache and a drawing cache according to the resolution of the first pixel headlamp, the resolution of the second pixel headlamp, and the pixel byte number of the custom image; the controller draws third custom image obtained by splicing of the first custom image and the second custom image in the drawing cache; and the controller stores the third custom image in the display cache.

[0094] In a possible implementation, if the driving speed of the vehicle is greater than a first preset threshold, the rendering unit 603 is further configured to: the controller controls the first pixel headlamp and the second pixel headlamp to stop displaying the rendered image data.

[0095] In a possible embodiment, after the driving speed of the vehicle is greater than the first preset threshold, if the driving speed of the vehicle is less than the second preset threshold for a duration of the first preset duration, the rendering unit 603 is further configured to control the first pixel headlamp and the second pixel headlamp to display the rendered image data again according to the display mode indication information by the controller.

[0096] In a possible embodiment, when the customized image cannot be acquired after the second preset duration, the rendering unit 603 is further configured to control the controller to render the fifth image data stored locally to obtain rendered fifth image data, and control the first pixel headlamp and the second pixel headlamp to display the rendered fifth image data.

[0097] Based on the description of the method embodiments and the device embodiments above, please refer to Figure 7 , Figure 7 Another structural schematic diagram of the controller 700 is provided in the embodiments of the present application. As shown in Figure 7 , the controller 700 includes a processor 701, a memory 702, a communication interface 703, and one or more programs. The one or more programs are stored in the memory in the form of application program codes, and are configured to be executed by the processor. In the embodiments of the present application, the programs include instructions for performing the following steps:

[0098] The controller acquires a customized image and display mode indication information, renders the customized image to obtain rendered image data, and controls a pixel headlamp to display the rendered image data of the customized image according to the display mode indication information.

[0099] In a possible embodiment, the pixel headlamp includes a first pixel headlamp and a second pixel headlamp located on the left and right sides of the vehicle.

[0100] In a possible embodiment, the display mode indication information is used to indicate a double-lamp-in-one mode, and the controller controls the pixel headlamp to display the rendered image data of the customized image according to the display mode indication information, including: converting the rendered image data into RGB image data; performing segmentation processing on the RGB image data by the controller to obtain first image data and second image data; and controlling the first pixel headlamp to display the first image data and the second pixel headlamp to display the second image data by the controller.

[0101] In a possible embodiment, the display mode indication information is used to indicate a double-lamp-same-display mode, and the controller controls the pixel headlamp to display the rendered image data of the customized image according to the display mode indication information, including: controlling the first pixel headlamp to display the rendered image data and the second pixel headlamp to display the rendered image data by the controller.

[0102] In a possible implementation, the custom image includes a first custom image and a second custom image, the display mode indication information is used to indicate a double-lamp different display mode, the rendered image data includes third image data obtained by rendering the first custom image and fourth image data obtained by rendering the second custom image, and the controller controls the first pixel lamp to display the rendered image data of the custom image according to the display mode indication information, including: the controller controls the first pixel lamp to display the third image data; and the controller controls the second pixel lamp to display the fourth image data; wherein the first custom image is from a first terminal device, and the second custom image is from a second terminal device.

[0103] In a possible implementation, the method further includes: the controller acquires a resolution of the first pixel lamp, a resolution of the second pixel lamp, and a pixel byte number of the custom image; the controller determines the display buffer and the drawing buffer according to the resolution of the first pixel lamp, the resolution of the second pixel lamp, and the pixel byte number of the custom image; the controller draws a third custom image obtained by splicing the first custom image and the second custom image in the drawing buffer; and the controller stores the third custom image in the display buffer.

[0104] In a possible implementation, if the driving speed of the vehicle is greater than the first preset threshold, the controller controls the first pixel lamp and the second pixel lamp to stop displaying the rendered image data.

[0105] In a possible implementation, after the driving speed of the vehicle is greater than the first preset threshold, if the driving speed of the vehicle is less than the second preset threshold for a duration of the first preset duration, the controller controls the first pixel lamp and the second pixel lamp to display the rendered image data again according to the display mode indication information.

[0106] In a possible implementation, when the custom image cannot be acquired after the second preset duration, the controller renders fifth image data stored locally to obtain rendered fifth image data, and controls the first pixel lamp and the second pixel lamp to display the rendered fifth image data.

[0107] Exemplarily, the controller can include but is not limited to a processor, a memory, a communication interface, and one or more programs, and can further include a multimedia module, a Bluetooth module, a memory, a power supply, an application client module, and the like. Those skilled in the art can understand that the schematic diagram is only an example of the controller and does not constitute a limitation on the controller, and the controller can include more or fewer components than the schematic diagram, or combine certain components or different components.

[0108] The embodiment of the present application further provides a computer storage medium (Memory), which is a memory device in an information processing device or an information sending device or an information receiving device, and is used for storing programs and data. It can be understood that the computer storage medium herein can include a built-in storage medium in the terminal, and of course can also include an expansion storage medium supported by the terminal. The computer storage medium provides a storage space, and the storage space stores an operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and the instructions can be one or more computer programs (including program codes). It should be noted that the computer storage medium herein can be a high-speed RAM memory, or a non-volatile memory (Non-volatile Memory), for example, at least one disk memory; optionally, the computer storage medium can also be at least one computer storage medium located away from the processor. In an embodiment, the processor can load and execute one or more instructions stored in the computer storage medium to realize the corresponding steps of the application scenario diagram of the pixel headlight control method of the vehicle.

[0109] The above describes the embodiments of the present application in detail, and the principles and implementation manners of the present application are described by applying specific examples. The above embodiment is only used to help understand the method of the present application and the core idea thereof; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and application range can be changed, and the above description should not be understood as the limitation of the present application.

Claims

1. A method for controlling pixel headlights in a vehicle, characterized in that, The pixel headlights include first pixel headlights and second pixel headlights located on the left and right sides of the vehicle, and the method includes: Get custom image and display mode; The custom image includes a first custom image and a second custom image. The display mode is a dual-lamp display mode. The display mode controls the pixel headlights to display the image data rendered from the custom image. Specifically, this includes: obtaining the resolution of the first pixel headlight, the resolution of the second pixel headlight, and the number of pixels in bytes of the custom image; determining a display cache and a drawing cache based on the resolution of the first pixel headlight, the resolution of the second pixel headlight, and the number of pixels in bytes of the custom image; drawing a third custom image (a composite image of the first and second custom images) in the drawing cache; storing the third custom image in the display cache; the rendered image data includes third image data obtained by rendering the first custom image and fourth image data obtained by rendering the second custom image; controlling the first pixel headlight to display the third image data; controlling the second pixel headlight to display the fourth image data; wherein the first custom image originates from a first terminal device, and the second custom image originates from a second terminal device.

2. The method according to claim 1, characterized in that, The display mode is used to indicate the dual-lamp combined mode, and controlling the pixel headlights to display image data rendered from the custom image according to the display mode includes: The rendered image data is converted into RGB image data; The RGB image data is segmented to obtain first image data and second image data; Control the first pixel headlight to display the first image data, and control the second pixel headlight to display the second image data.

3. The method according to claim 1, characterized in that, The display mode is a dual-lamp simultaneous display mode. Controlling the pixel headlights to display image data rendered from the custom image according to the display mode includes: Control the first pixel headlight to display the rendered image data, and control the second pixel headlight to display the rendered image data.

4. The method according to any one of claims 1-3, characterized in that, The method further includes: If the vehicle's speed exceeds a first preset threshold, the first pixel headlight and the second pixel headlight are controlled to stop displaying the rendered image data.

5. The method according to claim 4, characterized in that, The method further includes: If the duration for which the vehicle's speed is less than the second preset threshold reaches the first preset duration, then the first pixel headlight and the second pixel headlight are controlled to re-display the rendered image data according to the display mode.

6. The method according to claim 5, characterized in that, The method further includes: If the custom image cannot be obtained after the second preset time period, the locally stored fifth image data is rendered to obtain the rendered fifth image data; Control the first pixel headlight and the second pixel headlight to display the rendered fifth image data.

7. A controller, characterized in that, The method includes a processor, a memory, a communication interface, and one or more programs, said programs being stored in the memory and configured to be executed by the processor, said programs including instructions for performing the steps of the method as described in any one of claims 1-6.

8. The controller according to claim 7, characterized in that, The processor includes a field-programmable gate array (FPGA), which is used to segment the rendered image data to obtain first image data and second image data.

9. A vehicle, characterized in that, Includes the controller as described in claim 7 or 8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program for electronic data interchange, wherein the computer program causes a computer to perform the method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Integrated light controller and automobile

    CN116001677A