Animation display method and apparatus for vehicle lamp panel, and vehicle and storage medium

By performing frame synchronization verification of image frames received by the vehicle light board and putting them into the cache pool, the error frames and lag problems caused by frame-by-frame transmission are solved, and a smoother animation display effect is achieved.

WO2025130882A1PCT designated stage expired Publication Date: 2025-06-26ZHEJIANG ZEEKR INTELLIGENT TECH CO LTD +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/140038
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-18
Filing Date
2024-12-17
Publication Date
2025-06-26

AI Technical Summary

Technical Problem

When existing vehicle light boards realize animation display, transmitting image frame data frame by frame is prone to error frames and lag problems, resulting in poor animation display.

Method used

By receiving multiple image frames of the animation to be displayed and performing frame synchronization verification on each frame, after the verification is passed, the image frames are placed into the cache pool. When the playback event is triggered, multiple image frames are obtained from the cache pool in turn for display.

Benefits of technology

The probability of data frame errors is reduced through frame synchronization verification, the cache pooling strategy is used to reduce lag, and the fluency of lamp board animation display is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024140038_26062025_PF_FP_ABST
    Figure CN2024140038_26062025_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are an animation display method and apparatus for a vehicle lamp panel, and a vehicle and a storage medium. The method comprises: receiving a plurality of image frames corresponding to an animation to be displayed; performing frame synchronization verification on each image frame, and when the verification is successful, putting the image frame into a cache pool; and when a playing event is triggered, sequentially acquiring the plurality of image frames from the cache pool and displaying the image frames onto a lamp panel.
Need to check novelty before this filing date? Find Prior Art

Description

Vehicle light board animation display method, device, vehicle and storage medium

[0001] This application claims priority to Chinese patent application No. 202311748652.9 filed on December 18, 2023, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to, but are not limited to, the field of vehicle technology, and in particular to a method and device for displaying animation on a vehicle light panel, a vehicle, and a storage medium. Background Art

[0003] With the vigorous development of the automotive industry, the design of vehicle light panels has developed in the direction of intelligence, such as supporting animation display effects on vehicle light panels.

[0004] Most existing solutions for displaying animations on vehicle light panels involve transferring the animation to be displayed frame by frame. However, when the image frames to be displayed are large, transferring the corresponding image frame data to the vehicle light panel frame by frame is prone to frame errors and lags, resulting in an unsmooth animation display. Technical issues

[0005] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.

[0006] The present application provides a method, device, vehicle, and storage medium for displaying animation on a vehicle light panel, aiming to improve the animation display effect of the vehicle light panel. Technical Solutions

[0007] To achieve the above-mentioned purpose, the present application provides a method for displaying an animation of a vehicle light panel, the method comprising:

[0008] receiving a plurality of image frames corresponding to the animation to be displayed;

[0009] Performing a frame synchronization check on each of the image frames, and placing the image frame into a buffer pool when the check passes;

[0010] When a play event is triggered, a plurality of image frames are sequentially acquired from the buffer pool and displayed on the light board.

[0011] In one embodiment, the image frame includes a first position image frame or a second position image frame;

[0012] The step of performing frame synchronization check on each image frame and placing the image frame into a buffer pool when the check passes includes:

[0013] If the image frame includes a first-position image frame, performing a frame synchronization check on the first-position image frame, and if the check passes, constructing a second-position image frame with a corresponding frame sequence number based on the first-position image frame and the frame sequence number corresponding to the first-position image frame, and placing the first-position image frame and the second-position image frame with the corresponding frame sequence number into the buffer pool;

[0014] Alternatively, if the image frame includes a second position image frame, a frame synchronization check is performed on the second position image frame, and when the check passes, a first position image frame with a corresponding frame number is constructed based on the second position image frame and the frame numbers corresponding to the second position image frame, and the first position image frame and the second position image frame with corresponding frame numbers are placed in the cache pool.

[0015] In one embodiment, the image frame includes a first position image frame and a second position image frame;

[0016] The step of performing frame synchronization check on each image frame and placing the image frame into a buffer pool when the check passes includes:

[0017] If the image frame includes the first position image frame and the second position image frame, a frame synchronization check is performed on the first position image frame and the second position image frame, and the first position image frame and the second position image frame are placed in the cache pool when both the first position image frame and the second position image frame pass the check.

[0018] In one embodiment, the first position image frame includes a first position image frame check value and a complete image check value; the second position image frame includes a second position image frame check value and the complete image check value; the first position image frame check value is calculated based on pixel information of the first position image frame; the second position image frame check value is calculated based on pixel information of the second position image frame; and the complete image check value is calculated based on pixel information of the first position image frame and pixel information of the second position image frame;

[0019] The step of performing frame synchronization verification on the first position image frame and the second position image frame comprises:

[0020] performing a frame synchronization check on the first position image frame based on the first position image frame check value and the complete image check value;

[0021] A frame synchronization check is performed on the second position image frame based on the second position image frame check value and the complete image check value.

[0022] In one embodiment, before the step of triggering the playback event, the method further includes:

[0023] If the number of image frames cached in the buffer pool reaches a preset number of cache frames, the play event is activated.

[0024] In one embodiment, the vehicle includes a cabin entertainment processing unit, and the step of receiving a plurality of image frames corresponding to the animation to be displayed includes:

[0025] Receive the multiple image frames transmitted by the cockpit entertainment processing unit based on a preset transmission channel.

[0026] In one embodiment, the grayscale information of each pixel in the image frame is represented in binary format.

[0027] The present application also provides an animation display device for a vehicle light panel, the animation display device for a vehicle light panel comprising:

[0028] A receiving module, configured to receive a plurality of image frames corresponding to the animation to be displayed;

[0029] A check cache module, configured to perform frame synchronization check on each image frame and place the image frame into a cache pool when the check passes;

[0030] The display module is configured to sequentially obtain a plurality of image frames from the buffer pool and display them on the light board when a play event is triggered.

[0031] An embodiment of the present application also proposes a terminal device, which includes a memory, a processor, and an animation display program for a vehicle light panel stored in the memory and runnable on the processor. When the animation display program for the vehicle light panel is executed by the processor, the steps of the vehicle light panel animation display method described above are implemented.

[0032] An embodiment of the present application also proposes a computer-readable storage medium, which stores an animation display program for a vehicle light panel. When the animation display program for a vehicle light panel is executed by a processor, the steps of the vehicle light panel animation display method described above are implemented. Beneficial effects

[0033] The embodiment of the present application proposes an animation display method, device, vehicle, and storage medium for a vehicle light board. The method receives multiple image frames corresponding to the animation to be displayed, performs frame synchronization verification on each image frame, and places the image frame into a cache pool when the verification passes. When a playback event is triggered, multiple image frames are sequentially obtained from the cache pool and displayed on the light board. The embodiment of the present application performs frame synchronization verification on the received image frames to avoid data frame errors that occur during the image frame transmission process, resulting in animation display effects that do not meet the actual needs of the user. At the same time, by adopting a cache pool strategy, multiple image frames are directly obtained from the buffer pool for display during animation playback. There is no need to wait for the completion of multiple image frame data transmission before displaying multiple image frame data, thereby reducing the jamming phenomenon and improving the smoothness of the light board animation display.

[0034] Still other aspects will become apparent upon reading and understanding the accompanying drawings and detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] FIG1 is a schematic diagram of the functional modules of a vehicle light controller involved in the animation display method of a vehicle light panel according to an embodiment of the present application;

[0036] FIG2 is a flow chart of a first embodiment of the method for displaying an animation of a vehicle light panel according to an embodiment of the present application;

[0037] FIG3 is a flow chart of a second embodiment of the method for displaying an animation of a vehicle light panel according to an embodiment of the present application;

[0038] FIG4 is a flow chart of a third embodiment of the method for displaying an animation of a vehicle light panel according to an embodiment of the present application;

[0039] FIG5 is a flow chart of a fourth embodiment of the method for displaying an animation of a vehicle light panel according to an embodiment of the present application.

[0040] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. Modes for Carrying Out the Invention

[0041] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0042] The main solution of the embodiment of the present application is: by receiving multiple image frames corresponding to the animation to be displayed, performing frame synchronization verification on each image frame, and placing the image frame into a buffer pool when the verification passes;

[0043] When a playback event is triggered, multiple image frames are sequentially retrieved from the buffer pool and displayed on the light board. This embodiment of the application performs frame synchronization verification on the received image frames to avoid data frame errors that may occur during image frame transmission, resulting in animation display effects that do not meet the user's actual needs. At the same time, by adopting a buffer pool strategy, multiple image frames are directly retrieved from the buffer pool for display during animation playback, without having to wait for the transmission of multiple image frame data to be completed before displaying the multiple image frame data. This can reduce lag and improve the smoothness of the light board animation display.

[0044] Technical terms involved in this application:

[0045] CAN FD, CAN FD is an extension of the original CAN protocol specified in ISO11898-1 to respond to the increasing demand for bandwidth in automotive networks.

[0046] The embodiments of the present application take into account that related technical solutions transmit the animation to be displayed to the vehicle light controller frame by frame. When the amount of data contained in the image frame is relatively large, the image frame transmission speed will be relatively slow, and there may be situations where the image frame transmission speed cannot keep up with the refresh rate of the vehicle light board animation. For example, in a scenario where the vehicle light contains a large number of lamp beads, since each lamp bead corresponds to a pixel in the image frame, when the number of lamp beads is large, the image frame to be displayed on the light board contains more pixels, and the amount of data contained in each image frame is larger. Assuming that the data of each image frame reaches 0.025Mbit, and the transmission speed of the current transmission channel is 0.5Mbit / s, the vehicle light board refreshes the frame data every 40ms. At this time, the image frame transmission speed cannot keep up with the light board animation refresh rate, which will cause the vehicle light board animation display to be stuck. At the same time, multiple image frame data may be interfered with by the environment during transmission, resulting in deviations between the frame data transmitted to the vehicle light board and the original. In this case, the animation data displayed by the vehicle light board may not meet the actual needs of the user, and the display effect is poor.

[0047] Based on this, an embodiment of the present application proposes a solution. By verifying the image frame data transmitted to the vehicle light board, the probability of the light board displaying erroneous frame data can be reduced, and the image frames are cached through the cache pool. When the animation is displayed, multiple image frames are directly obtained from the cache pool for display. There is no need to wait for the transmission of multiple image frame data to be completed before displaying multiple image frame data, which can reduce the probability of animation freezes.

[0048] The method of the embodiments of the present application can be applied to a vehicle's headlight controller. The vehicle has a light board with multiple LEDs integrated thereon. The headlight controller can control the lighting, extinguishing, or grayscale display of each LED. The headlight controller can be physically connected to a cabin entertainment processing unit to enable data exchange. For example, the headlight controller can receive image frame data sent by the cabin entertainment processing unit and control the grayscale display of each LED based on the grayscale information contained in the image frame data.

[0049] Specifically, referring to Figure 1 , which is a functional module diagram of a vehicle light controller involved in the vehicle light board animation display method of the present application, in this embodiment, the vehicle light controller includes at least an output module 110 , a processor 120 , a memory 130 , and a communication module 140 .

[0050] Memory 130 stores an operating system and the animation display program for the vehicle's light panels. The light controller can store information such as multiple image frames corresponding to the animation to be displayed in memory 130. Output module 110 can be a display screen, speaker, etc. Communication module 140 can include a Wi-Fi module, a mobile communication module, and a Bluetooth module, and communicates with external devices (such as mobile terminal apps) or servers through communication module 140.

[0051] When the vehicle light panel animation display program in the memory 130 is executed by the processor, the following steps are implemented:

[0052] receiving a plurality of image frames corresponding to the animation to be displayed;

[0053] Performing a frame synchronization check on each of the image frames, and placing the image frame into a buffer pool when the check passes;

[0054] When a play event is triggered, a plurality of image frames are sequentially acquired from the buffer pool and displayed on the light board.

[0055] Furthermore, when the vehicle light panel animation display program in the memory 130 is executed by the processor, the following steps are also implemented:

[0056] If the image frame includes a first position image frame, a frame synchronization check is performed on the first position image frame, and when the check passes, a second position image frame with a corresponding frame number is constructed based on the frame numbers corresponding to the first position image frame and the first position image frame, and the first position image frame and the second position image frame with corresponding frame numbers are placed in the cache pool.

[0057] Furthermore, when the vehicle light panel animation display program in the memory 130 is executed by the processor, the following steps are also implemented:

[0058] If the image frame includes a second position image frame, a frame synchronization check is performed on the second position image frame, and when the check passes, a first position image frame with a corresponding frame number is constructed based on the second position image frame and the frame number corresponding to the second position image frame, and the first position image frame and the second position image frame with corresponding frame numbers are placed in the cache pool.

[0059] Furthermore, when the vehicle light panel animation display program in the memory 130 is executed by the processor, the following steps are also implemented:

[0060] If the image frame includes the first position image frame and the second position image frame, a frame synchronization check is performed on the first position image frame and the second position image frame, and the first position image frame and the second position image frame are placed in the cache pool when both the first position image frame and the second position image frame pass the check.

[0061] Furthermore, when the vehicle light panel animation display program in the memory 130 is executed by the processor, the following steps are also implemented:

[0062] performing a frame synchronization check on the first position image frame based on the first position image frame check value and the complete image check value;

[0063] A frame synchronization check is performed on the second position image frame based on the second position image frame check value and the complete image check value.

[0064] Furthermore, when the vehicle light panel animation display program in the memory 130 is executed by the processor, the following steps are also implemented:

[0065] If the number of image frames cached in the buffer pool reaches a preset number of cache frames, the play event is activated.

[0066] Furthermore, when the vehicle light panel animation display program in the memory 130 is executed by the processor, the following steps are also implemented:

[0067] Receive the multiple image frames transmitted by the cockpit entertainment processing unit based on a preset transmission channel.

[0068] This embodiment adopts the above-mentioned scheme, specifically by receiving multiple image frames corresponding to the animation to be displayed, performing frame synchronization verification on each image frame, and placing the image frame into the cache pool when the verification passes; when the playback event is triggered, multiple image frames are sequentially obtained from the cache pool and displayed on the light board. The embodiment of the present application performs frame synchronization verification on the received image frames to avoid data frame errors that occur during the image frame transmission process, resulting in the animation display effect not meeting the actual needs of the user. At the same time, by adopting the cache pool strategy, multiple image frames are directly obtained from the buffer pool for display during animation playback, without waiting for the completion of multiple image frame data transmission before displaying multiple image frame data, thereby reducing the jamming phenomenon and improving the smoothness of the light board animation display.

[0069] Based on the above terminal device architecture but not limited to the above architecture, an embodiment of the method of the present application is proposed. The embodiment of the method of the present application is applied to a vehicle light controller, which can communicate with a cabin entertainment processing unit.

[0070] 2, which is a flow chart of a first embodiment of the vehicle light board animation display method of the present application. The vehicle light board animation display method of this embodiment includes:

[0071] Step S101: receiving a plurality of image frames corresponding to an animation to be displayed.

[0072] The multiple image frames may be multiple image frame data sequentially transmitted by the cockpit entertainment processing unit according to the frame number of the animation to be displayed. The animation to be displayed may be an animation selected by the user from an animation resource library via the touch screen of the central control panel, or may be an animation created by the user custom-drawing multiple images and setting the playback order of the multiple images via an animation creation program on the central control panel.

[0073] In one embodiment, the image frame may include complete image data to be displayed on the light board. For example, if the light board includes a left light board and a right light board, the image frame may include image frame data to be displayed on the left light board and image frame data to be displayed on the right light board.

[0074] In another embodiment, the image frame may include image data to be displayed at one position on the light board. For example, if the light board includes a left light board and a right light board, and the i-th image frame to be displayed on the left and right light boards is a symmetrical image (where i is a positive integer), then the image frame may include the left image frame data or the right image frame data. By transmitting only the image data at one of the symmetrical positions, the amount of computation can be reduced.

[0075] Specifically, the CEU can receive an animation display trigger event triggered by a user via the CEU's central control screen, obtaining the animation to be displayed. Alternatively, the CEU can receive an animation display trigger event triggered by a user via a mobile terminal app, obtaining the animation to be displayed transmitted from the mobile terminal app. After obtaining the animation to be displayed, the CEU processes the animation to be displayed into multiple image frames according to the frame sequence number and transmits the multiple image frames sequentially to the headlight controller according to the frame sequence number.

[0076] Furthermore, the cockpit entertainment unit may split the animation to be displayed into multiple frame data to obtain each initial image frame, and perform one or more of the following processing steps on each initial image frame data to obtain multiple image frames:

[0077] Grayscale Processing: The Cockpit Entertainment Unit performs grayscale processing on each initial image frame based on the number of LEDs on the light board. This allows the grayscale value of each pixel in the initial image frame to be mapped to each LED. To save computational effort, the grayscale value of each pixel can be represented as a binary number (bits). This can reduce computational effort when the light board has a large number of LEDs.

[0078] Compression processing: The cockpit entertainment unit can also obtain the maximum allowable power of the light board, and calculate the expected power of the initial image frame displayed on the light board based on the grayscale information of each pixel contained in the initial image frame, and obtain the maximum allowable power of the light board. If the expected power is greater than the maximum allowable power of the light board, the initial image frame is compressed until the expected power is less than the maximum allowable power of the light board, thereby ensuring the service life of the light board.

[0079] Verification generation processing: The cockpit entertainment processing unit can also calculate the synchronization frame verification value of each initial image frame, generate a verification value, and attach the verification value to the initial image frame.

[0080] Accordingly, each pixel in the image frame can contain corresponding grayscale information, and this grayscale information is represented in binary. Binary, or bits, are the smallest unit of information. By using bits to represent the grayscale information corresponding to each pixel, computational complexity can be reduced in scenarios with a large number of LEDs. Furthermore, the image frame can also include a checksum, which the light board controller uses to perform frame synchronization verification.

[0081] Step S102 : performing frame synchronization check on each image frame, and putting the image frame into a buffer pool if the check passes.

[0082] The buffer pool in this embodiment can be considered as a buffer queue, which includes a storage space of a preset storage size.

[0083] Specifically, in this embodiment, each time an image frame is received, a frame synchronization check is performed on the image frame. The purpose of the frame synchronization check is to verify whether the image frame data transmitted to the light board controller deviates from the original image frame data during the transmission process, so that the image frame data displayed on the vehicle light board are all original animation data, thereby meeting the actual display needs of users.

[0084] In this embodiment, a cyclic redundancy check (CRC) algorithm can be used to perform frame synchronization verification. If the verification result passes, the image frame data is determined to have no transmission errors and is placed in a buffer pool. If the verification result fails, the image frame data is determined to have a transmission error and is discarded. A retransmission request is initiated to the in-vehicle entertainment processing unit until the received image frame with the corresponding frame sequence number passes the synchronization frame verification. The retransmission request can include the frame sequence number and error type of the image frame, so that the in-vehicle entertainment processing unit retransmits the corresponding image frame to the headlight controller based on the corresponding frame sequence number.

[0085] After successfully receiving each image frame data and the image frame data passing the frame synchronization check and being placed into the cache pool, the car light controller can send an image frame pre-storage success signal of the corresponding frame to the on-board entertainment processing unit, so that the on-board entertainment processing unit can count the number of image frames cached by the car light controller and trigger the on-board entertainment processing unit to send the next image frame to the car light controller.

[0086] Step S103: When the play event is triggered, multiple image frames are sequentially obtained from the buffer pool and displayed on the light board.

[0087] Specifically, if the number of image frames cached in the buffer pool reaches a preset number of cached frames, a play event is activated. Upon triggering the play event, the vehicle light controller begins playing the animation to be displayed on the light board. During playback of the animation to be displayed, multiple image frames are sequentially retrieved from the buffer pool at a preset animation refresh rate and displayed on the light board.

[0088] In this embodiment, steps S101 and S102 are the pre-storage process for the animation to be displayed, and step S103 is the playback process for the animation to be displayed. It should be noted that the execution time of these two processes can overlap. That is, after the playback event is triggered, when the headlight controller begins playing the first frame of image data, as long as there is still image frame data of the animation to be displayed that has not been pre-stored in the cache pool, steps S101 and S102 can be executed again until the image frame data of all frames of the animation to be displayed are successfully cached in the cache pool.

[0089] The scheme of this embodiment receives multiple image frames corresponding to the animation to be displayed, performs frame synchronization verification on each image frame, and puts the image frame into the cache pool when the verification passes; when the playback event is triggered, multiple image frames are sequentially obtained from the cache pool and displayed on the light board. The embodiment of the present application performs frame synchronization verification on the received image frames to avoid data frame errors that occur during the image frame transmission process and cause the animation display effect to not meet the actual needs of the user. At the same time, by adopting the cache pool strategy, multiple image frames are directly obtained from the buffer pool for display during animation playback, without waiting for the completion of multiple image frame data transmission before displaying multiple image frame data, thereby reducing the jamming phenomenon and improving the smoothness of the light board animation display.

[0090] Referring to Figure 3, FIG3 is a schematic flow chart of a second embodiment of the present invention's method for displaying animations on a vehicle light panel. Compared to the aforementioned embodiment, the image frames of this embodiment include a first-position image frame. The first-position image frame corresponds to a first position area of ​​the vehicle light panel (e.g., the area corresponding to the left light panel).

[0091] The steps of performing frame synchronization verification on each image frame and placing the image frame into the buffer pool when the verification passes include:

[0092] Step S201: If the image frame includes a first-position image frame, a frame synchronization check is performed on the first-position image frame, and when the check passes, a second-position image frame with a corresponding frame number is constructed based on the first-position image frame and the frame number of the first-position image frame, and the first-position image frame and the second-position image frame with the corresponding frame number are placed in a cache pool.

[0093] Considering that some frames of image data in the animation to be displayed may be symmetrical, to reduce the amount of computation required during transmission, the in-cabin entertainment processing unit can symmetrically split symmetrical images into a first-position image frame (e.g., the left light panel image frame) and a second-position image frame (e.g., the right light panel image frame), and transmit only the first-position image frame to the headlight controller. Upon receiving the first-position image frame, the headlight controller performs a frame synchronization check on the first-position image frame. If the check passes, it constructs a second-position image frame based on the first-position image frame, ensuring that the second-position image frame and the first-position image frame exhibit image symmetry. The headlight controller then caches the first-position image frame and the second-position image frame combination with the corresponding frame sequence number in a cache pool.

[0094] This embodiment, through the above-described scheme, performs a frame synchronization check on the first-position image frame when the image frame includes the first-position image frame. If the check passes, a second-position image frame with a corresponding frame sequence number is constructed based on the first-position image frame and the frame sequence number of the first-position image frame. The first-position image frame and the second-position image frame with corresponding frame sequence numbers are then placed into a cache pool. This embodiment considers scenarios where symmetrical image frame data exists, and the transmitted image frame data only includes the first-position image frame, reducing the amount of data computation. The first-position image frame is then reused to construct complete image frame data, thereby reducing the amount of data while ensuring the integrity of the animation display.

[0095] Referring to Figure 4, Figure 4 is a schematic flow chart of a third embodiment of the present invention's method for displaying animations on a vehicle light panel. Compared to the aforementioned embodiment, the image frames of this embodiment include a second-position image frame. The second-position image frame corresponds to a second position area of ​​the vehicle light panel (e.g., the area corresponding to the right light panel). Accordingly, the aforementioned steps of performing frame synchronization verification on each image frame and placing the image frame into a buffer pool upon passing the verification include:

[0096] Step S301: If the image frame includes a second position image frame, a frame synchronization check is performed on the second position image frame, and when the check passes, a first position image frame with a corresponding frame number is constructed based on the frame numbers of the second position image frame and the second position image frame, and the first position image frame and the second position image frame with the corresponding frame number are placed in a cache pool.

[0097] The specific implementation principle and effect of step S301 are consistent with those of the above-mentioned step S201 and will not be repeated here.

[0098] See Figure 5, which is a flow chart of a fourth embodiment of the method for displaying an animation on a vehicle light panel of the present application. Compared to the above embodiment, the image frames of this embodiment include a first-position image frame and a second-position image frame. The first-position image frame corresponds to the first position area of ​​the vehicle light panel (e.g., the area corresponding to the left light panel), and the second-position image frame corresponds to the second position area of ​​the vehicle light panel (e.g., the area corresponding to the left light panel). The above-mentioned steps of performing frame synchronization verification on each image frame and placing the image frame into the buffer pool when the verification passes include:

[0099] Step S401: If the image frame includes a first-position image frame and a second-position image frame, frame synchronization verification is performed on the first-position image frame and the second-position image frame, and the first-position image frame and the second-position image frame are placed in a cache pool when both the first-position image frame and the second-position image frame pass the verification.

[0100] In this embodiment, if the image frame data includes a first-position image frame and a second-position image frame, frame synchronization verification needs to be performed on the first-position image frame and the second-position image frame respectively, and when the first-position image frame verification passes and the second-position image frame verification passes, the corresponding frame sequence number and the first-position image frame and the second-position image frame combination with the corresponding frame sequence number are placed into the cache pool.

[0101] Through the above scheme, this embodiment performs frame synchronization verification on the first position image frame and the second position image frame when the image frame includes the first position image frame and the second position image frame, and when both the first position image frame and the second position image frame pass the verification, the first position image frame and the second position image frame are placed in the cache pool, thereby realizing the verification of the image frame data transmission process and reducing the probability of erroneous frame data.

[0102] Based on the above embodiment, the above-mentioned first position image frame includes a first position image frame verification value and a complete image verification value; the second position image frame includes a second position image frame verification value and a complete image verification value; the first position image frame verification value is calculated based on the pixel information of the first position image frame; the second position image frame verification value is calculated based on the pixel information of the second position image frame; the complete image verification value is calculated based on the pixel information of the first position image frame and the pixel information of the second position image frame.

[0103] The step of performing frame synchronization verification on the first position image frame and the second position image frame includes:

[0104] Step a: performing frame synchronization verification on the first position image frame based on the first position image frame verification value and the complete image verification value.

[0105] Specifically, the cockpit entertainment processing unit can calculate the first-position image frame checksum value using a cumulative checksum algorithm based on the product of the total number of pixels contained in the first-position image frame and the number of bits corresponding to each pixel. For example, if the first-position image frame includes 114 pixels, and the pixel depth (i.e., the number of bits) of each pixel is 4 bytes, then the product of the total number of pixels contained in the first-position image frame and the number of bits corresponding to each pixel = 114*4. The result of this 114*4 multiplication is converted to binary representation, and then the converted binary representation is subjected to bit-by-bit cumulative calculation to obtain the first-position image frame checksum value.

[0106] The calculation principles of the second position image frame check value and the complete image check value are the same as those of the first position image frame check value, and are not described again here.

[0107] After determining the first position image frame check value, the second position image frame check value and the complete image check value, the cockpit entertainment processing unit sends the first position image frame data, the first position image frame check value and the complete image check value to be transmitted to the vehicle light controller.

[0108] Accordingly, the first-position image frame received by the headlight controller as the receiving end includes the first-position image frame data, the first-position image frame check value, and the complete image check value. Based on the check method adopted by the in-cabin entertainment processing unit, the headlight controller can then select a corresponding check method for verification and testing. For example, if the in-cabin entertainment processing unit uses a cumulative checksum algorithm to calculate the check value, the headlight controller will accumulate the first-position image frame data, the first-position image frame check value, and the complete image check value, and then add 1. If the result is 0, it indicates that there was no transmission error in the first-position image frame data and the first-position image frame passed the frame synchronization check.

[0109] Step b: performing frame synchronization verification on the image frame at the second position based on the image frame verification value at the second position and the complete image verification value.

[0110] The implementation principle of the frame synchronization check for the second position image frame is the same as that for the first position image frame, and will not be repeated here.

[0111] This embodiment verifies the first position image frame and the second position image frame based on the pixel information of the first position image frame and the pixel information of the second position image frame, and can perform verification in combination with actual image pixel information, thereby improving the accuracy of the image frame verification detection results.

[0112] Based on any of the above embodiments, before the step of triggering the playback event, the following steps may also be included:

[0113] If the number of image frames cached in the buffer pool reaches the preset number of cached frames, the play event is activated.

[0114] The number of cached frames can be determined according to actual conditions, for example, it can be set to 10 frames.

[0115] Specifically, after caching multiple image frames in the cache pool, the vehicle light controller can send a signal indicating successful pre-storage of the corresponding image frames to the in-vehicle entertainment processing unit, so that the in-vehicle entertainment processing unit can count the number of image frames cached by the vehicle light controller. Upon detecting the number of image frames cached by the vehicle light controller, the in-vehicle entertainment processing unit can send a play instruction to the vehicle light controller, and upon receiving the play instruction, the vehicle light controller activates a play event.

[0116] This embodiment activates the playback event when the number of image frames cached in the buffer pool reaches a preset number of cache frames, so that when the animation starts playing, there are enough image frame data in the cache pool that can be directly used for displaying the light board image data. There is no need to wait for the transmission process of the image frame data. The image frame data display and processing speed can keep up with the animation refresh rate, avoiding the jamming phenomenon during the light board animation playback.

[0117] Based on any of the above embodiments, the step of receiving multiple image frames corresponding to the animation to be displayed may include:

[0118] The plurality of image frames transmitted by the cockpit entertainment processing unit based on a preset transmission channel are received.

[0119] The transmission channel can be a CANFD physical link established between the cockpit entertainment processing unit and the lighting controller. CANFD is characterized by high speeds, and even when the image frames contain large amounts of data, it can still reach 2m / s.

[0120] In addition, an embodiment of the present application further provides an animation display device for a vehicle light panel, the animation display device for a vehicle light panel comprising:

[0121] A receiving module, configured to receive a plurality of image frames corresponding to the animation to be displayed;

[0122] The verification cache module is used to perform frame synchronization verification on each image frame and put the image frame into the cache pool when the verification passes;

[0123] The display module is used to obtain multiple image frames from the buffer pool in sequence and display them on the light board when a play event is triggered.

[0124] The principle and implementation process of the animation display device for the vehicle light board in this embodiment can be referred to the above embodiments and will not be described in detail here.

[0125] In addition, an embodiment of the present application also proposes a vehicle, which includes a memory, a processor, and an animation display program for a vehicle light panel stored in the memory and runnable on the processor. When the animation display program for the vehicle light panel is executed by the processor, the steps of the vehicle light panel animation display method described above are implemented.

[0126] Since the animation display program of the vehicle light board adopts all the technical solutions of all the aforementioned embodiments when executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of all the aforementioned embodiments, which will not be described one by one here.

[0127] In addition, an embodiment of the present application also proposes a computer-readable storage medium, which stores an animation display program for a vehicle light panel. When the animation display program for a vehicle light panel is executed by a processor, the steps of the vehicle light panel animation display method as described above are implemented.

[0128] Since the animation display program of the vehicle light board adopts all the technical solutions of all the aforementioned embodiments when executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of all the aforementioned embodiments, which will not be described one by one here.

[0129] Compared with the prior art, the animation display method, device, vehicle and storage medium of the vehicle light board proposed in the embodiment of the present application receive multiple image frames corresponding to the animation to be displayed, perform frame synchronization verification on each image frame, and put the image frame into the cache pool when the verification passes; when the playback event is triggered, multiple image frames are sequentially obtained from the cache pool and displayed on the light board. The embodiment of the present application performs frame synchronization verification on the received image frames to avoid data frame errors that occur during the image frame transmission process, resulting in the animation display effect not meeting the actual needs of the user. At the same time, by adopting the cache pool strategy, multiple image frames are directly obtained from the buffer pool for display during animation playback, without waiting for the completion of multiple image frame data transmission before displaying multiple image frame data, thereby reducing the jamming phenomenon and improving the smoothness of the light board animation display.

[0130] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.

[0131] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0132] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as mentioned above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, controlled terminal, or network device, etc.) to execute the method of each embodiment of the present application.

[0133] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for displaying an animation of a vehicle light panel, wherein: The animation display method of the vehicle light board comprises: Receiving a plurality of image frames corresponding to the animation to be displayed; Performing a frame synchronization check on each of the image frames, and placing the image frame into a buffer pool when the check passes; When a play event is triggered, a plurality of image frames are sequentially acquired from the buffer pool and displayed on the light board.

2. The method for displaying an animation of a vehicle light panel according to claim 1, wherein: The image frame includes a first position image frame or a second position image frame; The step of performing frame synchronization check on each image frame and placing the image frame into a buffer pool when the check passes comprises: If the image frame includes a first-position image frame, a frame synchronization check is performed on the first-position image frame, and when the check passes, a second-position image frame with a corresponding frame sequence number is constructed based on the first-position image frame and the frame sequence number corresponding to the first-position image frame, and the first-position image frame and the second-position image frame with the corresponding frame sequence number are placed in the cache pool; Alternatively, if the image frame includes a second position image frame, a frame synchronization check is performed on the second position image frame, and when the check passes, a first position image frame with a corresponding frame number is constructed based on the second position image frame and the frame number corresponding to the second position image frame, and the first position image frame and the second position image frame with corresponding frame numbers are placed into the cache pool.

3. The method for displaying the animation of a vehicle light panel according to claim 1, wherein: The image frame includes a first position image frame and a second position image frame; The step of performing frame synchronization check on each image frame and placing the image frame into a buffer pool when the check passes comprises: If the image frame includes the first position image frame and the second position image frame, a frame synchronization check is performed on the first position image frame and the second position image frame, and the first position image frame and the second position image frame are placed in the cache pool when both the first position image frame and the second position image frame pass the check.

4. The method for displaying the animation of a vehicle light panel according to claim 3, wherein: The first position image frame includes a first position image frame check value and a complete image check value; The second position image frame includes a second position image frame check value and the complete image check value; The first position image frame check value is calculated based on pixel information of the first position image frame; The second position image frame check value is calculated based on pixel information of the second position image frame; The complete image check value is calculated based on the pixel information of the first position image frame and the pixel information of the second position image frame; The step of performing frame synchronization verification on the first position image frame and the second position image frame comprises: Performing a frame synchronization check on the first position image frame based on the first position image frame check value and the complete image check value; A frame synchronization check is performed on the second position image frame based on the second position image frame check value and the complete image check value.

5. The method for displaying the animation of a vehicle light panel according to claim 1, wherein: Before the step of triggering the playing event, the method further includes: If the number of image frames cached in the buffer pool reaches a preset number of cache frames, the play event is activated.

6. The method for displaying an animation of a vehicle light panel according to any one of claims 1 to 5, wherein: The vehicle includes a cabin entertainment processing unit, and the step of receiving a plurality of image frames corresponding to the animation to be displayed includes: Receive the plurality of image frames transmitted by the cockpit entertainment processing unit based on a preset transmission channel.

7. The method for displaying an animation of a vehicle light panel according to any one of claims 1 to 5, wherein: The grayscale information of each pixel in the image frame is represented in binary.

8. An animation display device for a vehicle light panel, wherein: The animation display device of the vehicle light board comprises: A receiving module, configured to receive a plurality of image frames corresponding to the animation to be displayed; A check cache module, configured to perform frame synchronization check on each of the image frames, and put the image frame into a cache pool when the check passes; The display module is configured to sequentially obtain a plurality of image frames from the buffer pool and display them on the light board when a play event is triggered.

9. A computer-readable storage medium, wherein: The computer-readable storage medium stores an animation display program for a vehicle light panel, and when the animation display program for a vehicle light panel is executed by a processor, the steps of the animation display method for a vehicle light panel as described in any one of claims 1 to 7 are implemented.

10. A vehicle, wherein: The invention comprises a memory, a processor and a vehicle light panel animation display program stored in the memory and operable on the processor, wherein the vehicle light panel animation display program in the memory implements the following steps when executed by the processor: Receiving a plurality of image frames corresponding to the animation to be displayed; Performing a frame synchronization check on each of the image frames, and placing the image frame into a buffer pool when the check passes; When a play event is triggered, a plurality of image frames are sequentially acquired from the buffer pool and displayed on the light board.

11. The vehicle according to claim 10, wherein: When the animation display program of the vehicle light panel in the memory is executed by the processor, the following steps are also implemented: If the image frame includes a first position image frame, a frame synchronization check is performed on the first position image frame, and when the check passes, a second position image frame with a corresponding frame number is constructed based on the first position image frame and the frame numbers corresponding to the first position image frame, and the first position image frame and the second position image frame with corresponding frame numbers are placed in the cache pool.

12. The vehicle according to claim 10, wherein: When the animation display program of the vehicle light panel in the memory is executed by the processor, the following steps are also implemented: If the image frame includes a second position image frame, a frame synchronization check is performed on the second position image frame, and when the check passes, a first position image frame with a corresponding frame number is constructed based on the second position image frame and the frame number corresponding to the second position image frame, and the first position image frame and the second position image frame with corresponding frame numbers are placed in the cache pool.

13. The vehicle according to claim 10, wherein: When the animation display program of the vehicle light panel in the memory is executed by the processor, the following steps are also implemented: If the image frame includes the first position image frame and the second position image frame, a frame synchronization check is performed on the first position image frame and the second position image frame, and the first position image frame and the second position image frame are placed in the cache pool when both the first position image frame and the second position image frame pass the check.

14. The vehicle of claim 10, wherein: When the animation display program of the vehicle light panel in the memory is executed by the processor, the following steps are also implemented: Performing a frame synchronization check on the first position image frame based on the first position image frame check value and the complete image check value; A frame synchronization check is performed on the second position image frame based on the second position image frame check value and the complete image check value.

15. The vehicle of claim 10, wherein: When the animation display program of the vehicle light panel in the memory is executed by the processor, the following steps are also implemented: If the number of image frames cached in the buffer pool reaches a preset number of cache frames, the play event is activated.

16. The vehicle of claim 10, wherein: When the animation display program of the vehicle light panel in the memory is executed by the processor, the following steps are also implemented: Receive the plurality of image frames transmitted by the cockpit entertainment processing unit based on a preset transmission channel.

Citation Information

Patent Citations

  • Vehicle lamp panel animation display method and device, vehicle and storage medium

    CN120179835A

  • Frame animation playing method and device

    CN108845777A

  • Cache allocation method and device, electronic equipment and storage medium

    CN113254211A

  • Method for optimizing image playing lagging, server and image playing system

    CN114706545A

  • Vehicle lamp animation time sequence conversion method and device and computer readable storage medium

    CN115631265A