Vehicle-mounted animation control method and device, equipment and storage medium

Through compressing storage of car animation data, the problem of inconvenient animation data storage in existing technologies has been solved, reducing storage costs and improving system performance.

CN119379529APending Publication Date: 2025-01-28DONGFENG MOTOR CO LTD DONGFENG NISSAN PASSENGER VEHICLE CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411469363.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

In the prior art, the storage of on-board animation data is inconvenient, resulting in high storage costs and degradation of system performance.

Method used

By obtaining vehicle light animation data, determine the animation change information, and compress the animation data based on this information to obtain compressed animation data, and then store it according to the target scenario information.

Benefits of technology

Through the compressed storage of animation data, the surplus occupation is avoided, the storage cost is reduced, and the system performance is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119379529A_ABST
    Figure CN119379529A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of data processing, and discloses a vehicle-mounted animation control method and device, equipment and a storage medium. The method comprises the following steps: acquiring vehicle light animation data; responding to the animation storage instruction, and determining target scene information corresponding to the vehicle light animation data; determining animation change information according to the vehicle light animation data, and compressing the vehicle light animation data according to the animation change information to obtain compressed animation data; and storing the compressed animation data according to the target scene information. According to the scheme, the animation is stored according to the change condition, the occupation of redundant space is avoided, and the storage cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a vehicle-mounted animation control method, device, equipment and storage medium. Background Art

[0002] In modern vehicle design, the custom animation function of the lighting system has become an important part of improving user experience. The custom animation lighting system currently on the market mainly supports users to store the animation after setting it. The existing animation storage algorithm usually generates a large amount of data, which not only increases the storage cost, but also may cause system performance degradation. In terms of animation data storage and processing, optimizing the storage algorithm to reduce the amount of data is the key to improving system efficiency.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of the present invention is to provide a vehicle-mounted animation control method, device, equipment and storage medium, aiming to solve the technical problem of inconvenient animation data storage in the prior art.

[0005] To achieve the above object, the present invention provides a vehicle-mounted animation control method, the method comprising the following steps:

[0006] Get vehicle light animation data;

[0007] In response to the animation saving instruction, determine the target scene information corresponding to the vehicle light animation data;

[0008] Determining animation change information according to the vehicle light animation data, and compressing the vehicle light animation data according to the animation change information to obtain compressed animation data;

[0009] The compressed animation data is stored according to the target scene information.

[0010] Optionally, determining the animation change information according to the vehicle light animation data, and compressing the vehicle light animation data according to the animation change information to obtain compressed animation data, includes:

[0011] Determining animation change information according to the vehicle light animation data;

[0012] Determine the animation change type and the change frame identifier according to the animation change information;

[0013] The vehicle light animation data is compressed according to the animation change type and the change frame identifier to obtain compressed animation data.

[0014] Optionally, compressing the vehicle light animation data according to the animation change type and the change frame identifier to obtain compressed animation data includes:

[0015] Determine the brightness information, frame time and change type of each pixel in the change frame according to the animation change type and the change frame identifier;

[0016] Generate a transformation type flag according to the change type;

[0017] Determine brightness level data according to the brightness information;

[0018] Generate pixel change data according to the brightness level data, the conversion type flag and the frame time;

[0019] The vehicle light animation data is compressed according to the pixel change data in each change frame to obtain compressed animation data.

[0020] Optionally, before obtaining the vehicle light animation data, the method further includes:

[0021] Respond to the drawing start instruction and detect the sliding operation information;

[0022] Determine a pixel block display information set according to the sliding operation information;

[0023] The vehicle light animation data is generated according to the pixel block display information set.

[0024] Optionally, before obtaining the vehicle light animation data, the method further includes:

[0025] Respond to the drawing start command and obtain voice input information;

[0026] Input the voice input information into a preset large model to obtain an animated image corresponding to the voice input information;

[0027] Sampling the animation image according to the animation display grid to obtain a pixel block display information set;

[0028] The vehicle light animation data is generated according to the pixel block display information set.

[0029] Optionally, the method further includes:

[0030] In response to the preview instruction, when the light controller receives the vehicle light animation data, the light controller is controlled to display the animation according to the vehicle light animation data;

[0031] In response to the save instruction, the vehicle light animation data is updated in the light controller.

[0032] Optionally, controlling a light controller to display an animation according to the vehicle light animation data includes:

[0033] Determining brightness change data of each change frame according to the vehicle light animation data;

[0034] Determine the brightness change amount of pixels in adjacent frames according to the brightness change data;

[0035] Determining a brightness smooth change curve according to the brightness change amount of pixels in adjacent frames;

[0036] The lighting controller is controlled to display animation according to the brightness smooth change curve.

[0037] In addition, to achieve the above-mentioned purpose, the present invention further provides a vehicle-mounted animation control device, the vehicle-mounted animation control device comprising:

[0038] An acquisition module is used to acquire vehicle light animation data;

[0039] A processing module, used to respond to the animation saving instruction and determine the target scene information corresponding to the vehicle light animation data;

[0040] The processing module is used to determine the animation change information according to the vehicle light animation data, and compress the vehicle light animation data according to the animation change information to obtain compressed animation data;

[0041] The processing module is used to store the compressed animation data according to the target scene information.

[0042] In addition, to achieve the above-mentioned purpose, the present invention also proposes a vehicle-mounted animation control device, which includes: a memory, a processor, and a vehicle-mounted animation control program stored in the memory and executable on the processor, and the vehicle-mounted animation control program is configured to implement the steps of the vehicle-mounted animation control method described above.

[0043] In addition, to achieve the above purpose, the present invention also proposes a storage medium, on which a vehicle animation control program is stored, and when the vehicle animation control program is executed by a processor, the steps of the vehicle animation control method described above are implemented.

[0044] The present invention obtains vehicle light animation data; responds to an animation saving instruction, determines target scene information corresponding to the vehicle light animation data; determines animation change information according to the vehicle light animation data, and compresses the vehicle light animation data according to the animation change information to obtain compressed animation data; stores the compressed animation data according to the target scene information. Through the above scheme, the animation is saved according to the change situation, avoiding unnecessary space occupation and reducing storage costs. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0047] Figure 1 It is a flowchart of a first embodiment of a vehicle-mounted animation control method of the present invention;

[0048] Figure 2 A schematic diagram of an operation interface of an embodiment of a vehicle-mounted animation control method of the present invention;

[0049] Figure 3 It is a flow chart of a second embodiment of the vehicle-mounted animation control method of the present invention;

[0050] Figure 4 A schematic diagram of a storage structure of an embodiment of a vehicle-mounted animation control method of the present invention;

[0051] Figure 5 A schematic diagram of brightness smoothing processing of an embodiment of a vehicle-mounted animation control method of the present invention;

[0052] Figure 6 It is a structural block diagram of a first embodiment of a vehicle-mounted animation control device of the present invention;

[0053] Figure 7 It is a structural diagram of a vehicle-mounted animation control device in a hardware operating environment involved in an embodiment of the present invention.

[0054] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

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

[0056] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0057] The main solution of the embodiment of the present application is: obtaining vehicle light animation data through a vehicle-mounted terminal; responding to an animation save instruction to determine target scene information corresponding to the vehicle light animation data; determining animation change information based on the vehicle light animation data, and compressing the vehicle light animation data based on the animation change information to obtain compressed animation data; and storing the compressed animation data based on the target scene information.

[0058] In this embodiment, for the convenience of description, the following description is made by taking identification of the vehicle-mounted terminal as the execution subject.

[0059] The custom animation function of existing headlight systems has become an important part of improving user experience. The custom animation lighting systems currently on the market mainly support users to store animations after setting them. Existing animation storage algorithms usually generate a large amount of data, which not only increases storage costs but may also cause system performance degradation. In terms of animation data storage and processing, optimizing storage algorithms to reduce data volume is the key to improving system efficiency.

[0060] This application provides a solution to save the animation according to the changes, avoiding unnecessary space occupation and reducing storage costs.

[0061] As can be seen from the above embodiments, in order to overcome these limitations, this application proposes an improved custom animation lighting system. The system can link custom animations with actual vehicle usage scenarios, achieve more flexible and vivid lighting effects through intelligent algorithm design, and support the formulation of animations through artificial intelligence large models and network search animations. In addition, this solution also introduces an optimized data storage algorithm, which significantly reduces the amount of data and improves the overall performance of the system and user experience.

[0062] Through these innovations, this patent not only improves the functionality and flexibility of the custom animation lighting system, but also enables users to more easily create and manage rich lighting effects, thereby enhancing the personalization and intelligence of the vehicle.

[0063] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a vehicle-mounted terminal, etc. The following takes the vehicle-mounted terminal as an example to illustrate this embodiment and the following embodiments.

[0064] Based on this, the embodiment of the present application provides a vehicle-mounted animation control method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the vehicle animation control method of the present application.

[0065] In this embodiment, the vehicle-mounted animation control method includes the following steps:

[0066] Step S10: Acquire vehicle light animation data.

[0067] It should be noted that the vehicle light animation data is the data for animation display, and the animation can be displayed on an image display device at any position on the vehicle, such as an interactive screen body display device, a vehicle light display system, and the like.

[0068] Specifically, the vehicle light animation data can be acquired in a way that it is pre-built into the LCM system or can be customized by the user. This embodiment does not limit this. Among them, LCM (Lights Control Module) is an electronic control unit responsible for managing the lights and other optoelectronic systems, and has the following functions, such as managing the switch of the headlights, taillights, turn signals and brake lights; automatically adjusting the light intensity according to the ambient light, such as automatic headlights; monitoring the failure of the light system and issuing a warning to the driver; adjusting the light settings, such as delaying the light off, etc.; ensuring the normal operation of the light system and timely light adjustment, improving the safety and driving experience of the vehicle. In this embodiment, the light animation is mainly controlled by the LCM, such as controlling the switch state, brightness, color and flashing mode of the light. These functions can be used to achieve dynamic animation effects of the light. For example, it can create flowing, gradual or flashing animation effects by adjusting the brightness and color changes of the LED light. Further, the LCM system usually has a programming interface or configuration software that allows users to define custom light animations. Through these interfaces, users can set specific animation modes, such as startup animations, warning modes, welcome light effects, etc.

[0069] In some embodiments, in response to a drawing start instruction, sliding operation information is detected; a pixel block display information set is determined according to the sliding operation information; and vehicle light animation data is generated according to the pixel block display information set.

[0070] The specific drawing process of vehicle lighting animation data can be referred to Figure 2 , determine the display trajectory of the graphic according to the user's sliding operation information, and determine which pixel blocks the trajectory passes through according to the pixel coordinates corresponding to the sliding operation information, wherein the pixel blocks correspond one-to-one to the displayed light modules, and the displayed light modules can be LED lamp beads, light-emitting modules, etc.

[0071] It should be noted that, according to the pixel block display information set, it is possible to know what kind of light and lighting effect each light-emitting module should display at what time, and further generate vehicle light animation data.

[0072] In some embodiments, in response to a drawing start instruction, voice input information is obtained; the voice input information is input into a preset large model to obtain an animated image corresponding to the voice input information; the animated image is sampled according to an animation display grid to obtain a pixel block display information set; and vehicle light animation data is generated according to the pixel block display information set.

[0073] It is understandable that the animation acquisition function can not only be obtained by the user's own drawing, but also can be generated with the help of a model to lower the user's usage threshold. Specifically, it can be conveniently provided by setting animation with information. For example, the user describes the required animation content through voice input, and the voice input will first be converted into text. It can be achieved through speech recognition technology (ASR, Automatic Speech Recognition) to convert the user's voice into processable text data. The converted text will be input into an AI big model (for example, a GPT-based model). This model understands the meaning of the text and generates corresponding descriptions or instructions. The AI ​​big model will generate animation content based on the text description. First, understand the keywords and context in the text, and further, use generative adversarial networks (GANs), transformer models or other image generation technologies to generate animation frames. With the help of dynamic image generation and transition technology between image frames, the generated animation frames are finally synthesized into a continuous animation sequence and rendered to generate the final animation file. The generated animation can be output in the form of vehicle light animation data for users to view or use.

[0074] Step S20: responding to the animation saving instruction, determining the target scene information corresponding to the vehicle light animation data.

[0075] It should be noted that in order to improve the user experience, this embodiment can be bound to the vehicle usage scenario when setting the animation to achieve a personalized effect. Figure 2 For example, when the vehicle is unlocked, the lights on the vehicle (such as the vehicle headlights) emit one animation effect, and when the vehicle is locked, another animation effect is emitted.

[0076] Step S30: determining animation change information according to the vehicle light animation data, and compressing the vehicle light animation data according to the animation change information to obtain compressed animation data.

[0077] It is understandable that the light animation proposed in this embodiment generally adopts one light-emitting module corresponding to one light-emitting parameter. For example, one LED lamp bead in the vehicle's lamp is a light-emitting module, and 100 frames of animation, 1000 pixels (assuming that one light-emitting module is one pixel), and 4-bit brightness level for each pixel are taken as an example. Traditional storage algorithm: Arrange in sequence, and every 4 bits represent one pixel. 100 frames of animation require 4bit*1000*100 frames / 8bit per byte=50000byte=50kB. However, this embodiment proposes to compress the data according to the light change situation, that is, convert the animation data into instruction data for controlling the light change, so that the data of each pixel in each frame does not need to be stored, and only the data of each pixel that changes in different frames is stored. This can greatly solve the storage space problem.

[0078] Step S40: storing the compressed animation data according to the target scene information.

[0079] It should be noted that the compressed animation data is stored according to the target scene information, and the compressed animation data can be directly called to control the lighting in subsequent use to provide a lighting animation experience.

[0080] It should be noted that the compressed animation data can be stored in the cache first. The cache means that it will be cleared after power failure. Currently, it is stored in the flash. The cache is temporary data used for preview. It can be stored in the cache for users to preview. If the customer exits the preview and cancels the save, the cache will be cleared and will not be called again. If the user saves it, it can be provided to the user for animation display later when a specific function is triggered.

[0081] In some embodiments, in response to a preview instruction, when the light controller receives the vehicle light animation data, the light controller is controlled to display the animation according to the vehicle light animation data; in response to a save instruction, the vehicle light animation data is updated in the light controller.

[0082] It should be noted that the reference Figure 2 , a preview option can be provided to preview the light animation through the vehicle lights or the vehicle computer simulating the vehicle lights, and the light controller is controlled to display the animation according to the vehicle light animation data. At the same time, if the user chooses to save, the vehicle light animation data will be updated in the light controller LCM in response to the save instruction.

[0083] In some embodiments, the brightness change data of each change frame is determined based on the vehicle light animation data; the brightness change amount of adjacent frame pixels is determined based on the brightness change data; a brightness smooth change curve is determined based on the brightness change amount of adjacent frame pixels; and the light controller is controlled to display the animation based on the brightness smooth change curve.

[0084] It should be noted that most vehicles are LEDs, etc. In order to make the brightness change process smoother and more comfortable to look at, this embodiment proposes a smoothing method, for example: determine the brightness change data of each change frame, and extract the brightness information of each frame from the vehicle light animation data. These data are usually represented by the pixel brightness value of each frame, which may be stored in an image file or directly exist in a data format. Analyze the brightness data of each frame to determine the brightness change between frames. Calculate the brightness difference of each pixel between consecutive frames. Compare each pair of adjacent frames and calculate the brightness change of each pixel. Create a brightness change curve and use the brightness transformation data to generate a smooth change curve. Such as linear interpolation, spline interpolation, etc., to smooth the brightness change. For example, based on the interpolation or filtering results, generate a brightness smooth change curve for each pixel. This curve should reflect the brightness change trend of the light on the timeline.

[0085] Specifically, the smoothing method can also be that if there is a brightness difference between the animation frames, an exponential function is used for smoothing, and when the brightness change is less than the set brightness threshold, the PWM change of the LED brightness is performed linearly, wherein PWM (Pulse Width Modulation) is a technology that controls power transmission or signal strength by adjusting the pulse width of the signal. In the application of controlling the brightness of the LED, the PWM change refers to adjusting the brightness of the LED by changing the duty cycle of the power signal (i.e., the ratio of the pulse width to the period). In practical applications, the frequency of the PWM signal is usually very high (for example, several kilohertz), so that the human eye will not perceive the flicker phenomenon. By gradually changing the duty cycle, a smooth brightness transition can be achieved. When the brightness change is greater than the set brightness threshold, a circle is drawn according to the trigonometric function, and a section of the arc curve in the original is used as the PWM change curve function of the LED brightness.

[0086] Specifically, when the brightness changes greatly, the use of an exponential function or a three-point circle formula can effectively smooth the transition and make the change more natural. Specifically, the brightness information of three consecutive frames is input into the formula to determine the transition curve of the brightness change in the three consecutive frames, such as Figure 5 The brightness changes of the three consecutive frames shown in the middle curve B are 0 to 10 and 10 to 30. A circular arc curve can be determined by three-point circle determination, and the brightness change between 0 and 30 is adjusted according to the circular arc curve, where the ordinate is brightness and the abscissa is time; when the brightness change is less than the set threshold, the brightness change can be controlled by the proportional function, which can reduce the unnecessary complexity of the transition and maintain the simplicity of control and the stability of the response. For example Figure 5As shown in the curve A in the figure. However, in actual control, the number of consecutive frames with large brightness changes may be much greater than 3 frames. Therefore, a combination method can be used to use three-point fixed circle for 3 consecutive frames, and then use the proportional function to adjust the next frame, and then use the three-point fixed circle to adjust the next 3 frames, and so on. The brightness is controlled by combining 3 frames plus 1 frame or 3 frames plus 2 frames. This combination method can balance the smoothing effect and control accuracy, ensuring that the light animation can maintain good visual effects under different brightness change conditions. When the brightness changes greatly, the exponential function can be used to smooth the transition and reduce the abruptness of the transition.

[0087] In addition, when the brightness changes, the specific control method can adopt PWM control to continuously change the PWM duty cycle to achieve the change of brightness.

[0088] This embodiment obtains vehicle light animation data; responds to an animation saving instruction, determines target scene information corresponding to the vehicle light animation data; determines animation change information according to the vehicle light animation data, and compresses the vehicle light animation data according to the animation change information to obtain compressed animation data; stores the compressed animation data according to the target scene information. Through the above scheme, the animation is saved according to the change situation, avoiding unnecessary space occupation and reducing storage costs.

[0089] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 3 , step S30, the vehicle-mounted animation control method further includes:

[0090] Step S31: Determine animation change information according to the vehicle light animation data.

[0091] It should be noted that the vehicle light animation data is a collection of all pixel brightness information for all frames of the light animation. The data changes of each pixel point at each frame number can be determined through algorithm analysis. The animation change information is the change of the pixel point.

[0092] Step S32: Determine the animation change type and the change frame identifier according to the animation change information.

[0093] Specifically, the brightness or color information of each frame is extracted from the vehicle light animation data, and the light data of each frame is compared to calculate the change between adjacent frames. This can be achieved by comparing the pixel brightness or color value. The changed pixels in each frame are marked to determine the changed frame identification of each pixel.

[0094] Step S33: compressing the vehicle light animation data according to the animation change type and the change frame identifier to obtain compressed animation data.

[0095] The vehicle light animation data is compressed according to the animation change type and the change frame identifier, that is, the pixel data is converted into the data when the pixel changes. During the animation playback process, it is only necessary to control each pixel to change at the time when it needs to change according to the data when the pixel changes.

[0096] In some embodiments, the brightness information, frame time and change type of each pixel in the change frame are determined according to the animation change type and the change frame identifier; a transformation type flag is generated according to the change type; brightness level data is determined according to the brightness information; pixel change data is generated according to the brightness level data, the transformation type flag and the frame time; and the vehicle light animation data is compressed according to the pixel change data in each change frame to obtain compressed animation data.

[0097] According to the change type of the frame (such as linear gradient, exponential gradient, etc.), the corresponding transformation type flag is generated. According to the characteristics of the animation (such as gradient rate, transition method, etc.), a flag is generated, namely type in the figure, indicating the type of change, such as smooth change or sudden change. For example, the flag can be an integer value, indicating different change modes. For each frame, the brightness value of each pixel is extracted, which can be an absolute brightness value or a relative brightness change, depending on the specific application. The frame time is the frame in which the change occurs.

[0098] Specifically, refer to Figure 4 , take 100 frames of animation, 1000 pixels, and 4-bit brightness level for each pixel as an example. The compressed storage algorithm only needs to identify how many times each LED pixel changes in the animation. Assume that all pixels change 20 times. Then the data volume = 9bit*20*1000 LEDs / 8bit per byte = 22500 = 22.5kB. Whether this design is optimal depends on the number of animation changes.

[0099] This embodiment determines animation change information according to the vehicle light animation data; determines animation change type and change frame identifier according to the animation change information; compresses the vehicle light animation data according to the animation change type and change frame identifier to obtain compressed animation data. Through the above method, animation data is compressed through animation change information, which greatly reduces storage pressure.

[0100] In addition, an embodiment of the present invention further provides a storage medium, on which a vehicle-mounted animation control program is stored. When the vehicle-mounted animation control program is executed by a processor, the steps of the vehicle-mounted animation control method described above are implemented.

[0101] Reference Figure 6 , Figure 6It is a structural block diagram of the first embodiment of the vehicle-mounted animation control device of the present invention.

[0102] like Figure 6 As shown, the vehicle-mounted animation control device proposed in the embodiment of the present invention includes:

[0103] An acquisition module 10 is used to acquire vehicle light animation data;

[0104] The processing module 20 is used to respond to the animation saving instruction and determine the target scene information corresponding to the vehicle light animation data;

[0105] The processing module 20 is used to determine the animation change information according to the vehicle light animation data, and compress the vehicle light animation data according to the animation change information to obtain compressed animation data;

[0106] The processing module 20 is used to store the compressed animation data according to the target scene information.

[0107] The vehicle-mounted animation control device provided by the present application adopts the vehicle-mounted animation control method in the above embodiment, which can solve the technical problem of vehicle-mounted animation control. Compared with the prior art, the beneficial effects of the vehicle-mounted animation control device provided by the present application are the same as the beneficial effects of the vehicle-mounted animation control method provided by the above embodiment, and the other technical features in the vehicle-mounted animation control device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0108] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present invention. In specific applications, technicians in this field can make settings as needed, and the present invention does not limit this.

[0109] In this embodiment, the acquisition module 10 acquires the vehicle light animation data; the processing module 20 responds to the animation saving instruction and determines the target scene information corresponding to the vehicle light animation data; the processing module 20 determines the animation change information according to the vehicle light animation data, and compresses the vehicle light animation data according to the animation change information to obtain compressed animation data; the processing module 20 stores the compressed animation data according to the target scene information. Through the above scheme, the animation is saved according to the change situation, avoiding the unnecessary space occupation and reducing the storage cost.

[0110] In some embodiments, the processing module 20 is used to determine animation change information based on the vehicle light animation data;

[0111] Determine the animation change type and the change frame identifier according to the animation change information;

[0112] The vehicle light animation data is compressed according to the animation change type and the change frame identifier to obtain compressed animation data.

[0113] In some embodiments, the processing module 20 is used to determine the brightness information, frame time and change type of each pixel in the change frame according to the animation change type and the change frame identifier;

[0114] Generate a transformation type flag according to the change type;

[0115] Determine brightness level data according to the brightness information;

[0116] Generate pixel change data according to the brightness level data, the conversion type flag and the frame time;

[0117] The vehicle light animation data is compressed according to the pixel change data in each change frame to obtain compressed animation data.

[0118] In some embodiments, the acquisition module 10 is used to detect sliding operation information in response to a drawing start instruction;

[0119] Determine a pixel block display information set according to the sliding operation information;

[0120] The vehicle light animation data is generated according to the pixel block display information set.

[0121] In some embodiments, the acquisition module 10 is used to respond to a drawing start instruction and acquire voice input information;

[0122] Input the voice input information into a preset large model to obtain an animated image corresponding to the voice input information;

[0123] Sampling the animation image according to the animation display grid to obtain a pixel block display information set;

[0124] The vehicle light animation data is generated according to the pixel block display information set.

[0125] In some embodiments, the processing module 20 is used to respond to the preview instruction, and when the light controller receives the vehicle light animation data, control the light controller to display the animation according to the vehicle light animation data;

[0126] In response to the save instruction, the vehicle light animation data is updated in the light controller.

[0127] In some embodiments, the processing module 20 is used to determine brightness change data of each change frame according to the vehicle light animation data;

[0128] Determine the brightness change amount of pixels in adjacent frames according to the brightness change data;

[0129] Determining a brightness smooth change curve according to the brightness change amount of pixels in adjacent frames;

[0130] The lighting controller is controlled to display animation according to the brightness smooth change curve.

[0131] The present application provides a vehicle-mounted animation control device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle-mounted animation control method in the above-mentioned embodiment one.

[0132] Reference below Figure 7 , which shows a schematic diagram of the structure of a vehicle-mounted animation control device suitable for implementing the embodiment of the present application. The vehicle-mounted animation control device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The vehicle-mounted animation control device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0133] like Figure 7As shown, the vehicle animation control device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 (flash memory) to a random access memory (RAM: Random Access Memory) 1004. Various programs and data required for the operation of the vehicle animation control device are also stored in the RAM 1004 or the flash memory. The processing device 1001, the ROM 1002, and the RAM 1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems may be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 may allow the vehicle-mounted animation control device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a vehicle-mounted animation control device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have instead.

[0134] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0135] The vehicle-mounted animation control device provided by the present application adopts the vehicle-mounted animation control method in the above embodiment, which can solve the technical problem of vehicle-mounted animation control. Compared with the prior art, the beneficial effects of the vehicle-mounted animation control device provided by the present application are the same as the beneficial effects of the vehicle-mounted animation control method provided by the above embodiment, and the other technical features in the vehicle-mounted animation control device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0136] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0137] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0138] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the vehicle-mounted animation control method in the above-mentioned embodiment.

[0139] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0140] The computer-readable storage medium may be included in the vehicle-mounted animation control device; or may exist independently without being assembled into the vehicle-mounted animation control device.

[0141] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the vehicle-mounted animation control device, the vehicle-mounted animation control device: obtains vehicle light animation data; responds to the animation saving instruction, and determines the target scene information corresponding to the vehicle light animation data; determines the animation change information according to the vehicle light animation data, and compresses the vehicle light animation data according to the animation change information to obtain compressed animation data; and stores the compressed animation data according to the target scene information.

[0142] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0143] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0144] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0145] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned vehicle-mounted animation control method, and can solve the technical problems of vehicle-mounted animation control. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the vehicle-mounted animation control method provided by the above-mentioned embodiment, and will not be repeated here.

[0146] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned vehicle animation control method when executed by a processor.

[0147] The computer program product provided by this application can solve the technical problem of vehicle-mounted animation control. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the vehicle-mounted animation control method provided by the above embodiment, which will not be repeated here.

[0148] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A vehicle-mounted animation control method, characterized in that: The vehicle-mounted animation control method comprises: Get vehicle light animation data; In response to the animation saving instruction, determine the target scene information corresponding to the vehicle light animation data; Determining animation change information according to the vehicle light animation data, and compressing the vehicle light animation data according to the animation change information to obtain compressed animation data; The compressed animation data is stored according to the target scene information.

2. The method according to claim 1, characterized in that The step of determining the animation change information according to the vehicle light animation data, and compressing the vehicle light animation data according to the animation change information to obtain compressed animation data includes: Determining animation change information according to the vehicle light animation data; Determine the animation change type and the change frame identifier according to the animation change information; The vehicle light animation data is compressed according to the animation change type and the change frame identifier to obtain compressed animation data.

3. The method according to claim 2, characterized in that The step of compressing the vehicle light animation data according to the animation change type and the change frame identifier to obtain compressed animation data includes: Determine the brightness information, frame time and change type of each pixel in the change frame according to the animation change type and the change frame identifier; Generate a transformation type flag according to the change type; Determine brightness level data according to the brightness information; Generate pixel change data according to the brightness level data, the conversion type flag and the frame time; The vehicle light animation data is compressed according to the pixel change data in each change frame to obtain compressed animation data.

4. The method according to claim 1, characterized in that Before obtaining the vehicle light animation data, the method further includes: Respond to the drawing start instruction and detect the sliding operation information; Determine a pixel block display information set according to the sliding operation information; The vehicle light animation data is generated according to the pixel block display information set.

5. The method according to claim 1, characterized in that Before obtaining the vehicle light animation data, the method further includes: Respond to the drawing start command and obtain voice input information; Input the voice input information into a preset large model to obtain an animated image corresponding to the voice input information; Sampling the animation image according to the animation display grid to obtain a pixel block display information set; The vehicle light animation data is generated according to the pixel block display information set.

6. The method according to claim 1, characterized in that The method further comprises: In response to the preview instruction, when the light controller receives the vehicle light animation data, the light controller is controlled to display the animation according to the vehicle light animation data; In response to the save instruction, the vehicle light animation data is updated in the light controller.

7. The method according to claim 6, characterized in that The step of controlling the light controller to display the animation according to the vehicle light animation data comprises: Determining brightness change data of each change frame according to the vehicle light animation data; Determine the brightness change amount of pixels in adjacent frames according to the brightness change data; Determining a brightness smooth change curve according to the brightness change amount of pixels in adjacent frames; The lighting controller is controlled to display animation according to the brightness smooth change curve.

8. A vehicle-mounted animation control device, characterized in that: The vehicle-mounted animation control device comprises: An acquisition module is used to acquire vehicle light animation data; A processing module, used to respond to the animation saving instruction and determine the target scene information corresponding to the vehicle light animation data; The processing module is used to determine the animation change information according to the vehicle light animation data, and compress the vehicle light animation data according to the animation change information to obtain compressed animation data; The processing module is used to store the compressed animation data according to the target scene information.

9. A vehicle-mounted animation control device, characterized in that: The device comprises: a memory, a processor, and a vehicle animation control program stored in the memory and executable on the processor, wherein the vehicle animation control program is configured to implement the steps of the vehicle animation control method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores an in-vehicle animation control program, and when the in-vehicle animation control program is executed by the processor, the steps of the in-vehicle animation control method according to any one of claims 1 to 7 are implemented.