CN115534834A - Vehicle-mounted atmosphere lamp combined display control method, device, equipment and storage medium - Google Patents

Vehicle-mounted atmosphere lamp combined display control method, device, equipment and storage medium Download PDF

Info

Publication number
CN115534834A
CN115534834A CN202211110204.1A CN202211110204A CN115534834A CN 115534834 A CN115534834 A CN 115534834A CN 202211110204 A CN202211110204 A CN 202211110204A CN 115534834 A CN115534834 A CN 115534834A
Authority
CN
China
Prior art keywords
content
display
atmosphere lamp
lamp
displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211110204.1A
Other languages
Chinese (zh)
Inventor
李林峰
汪杨刚
邓伯华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Haiwei Technology Co ltd
Original Assignee
Wuhan Haiwei Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Haiwei Technology Co ltd filed Critical Wuhan Haiwei Technology Co ltd
Priority to CN202211110204.1A priority Critical patent/CN115534834A/en
Publication of CN115534834A publication Critical patent/CN115534834A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q1/00Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
    • B60Q1/0017Devices integrating an element dedicated to another function
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q1/00Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
    • B60Q1/26Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic
    • B60Q1/50Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic for indicating other intentions or conditions, e.g. request for waiting or overtaking
    • B60Q1/503Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic for indicating other intentions or conditions, e.g. request for waiting or overtaking using luminous text or symbol displays in or on the vehicle, e.g. static text
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/18Controlling the light source by remote control via data-bus transmission

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Lighting Device Outwards From Vehicle And Optical Signal (AREA)

Abstract

The invention belongs to the technical field of atmosphere lamp control, and discloses a vehicle-mounted atmosphere lamp combined display control method, device, equipment and storage medium. The method comprises the steps of detecting a message in a CAN bus of the whole vehicle, identifying the display message when the message is detected to be the display message, obtaining a content label of the content to be displayed, sending the content label to each second atmosphere lamp, connecting the first atmosphere lamp and each second atmosphere lamp through the CAN bus, generating a synchronization instruction, sending the synchronization instruction to each second atmosphere lamp, enabling the first atmosphere lamp and each second atmosphere lamp to generate a display strategy according to the content label, and displaying the content to be displayed corresponding to the content label according to the display strategy at the synchronization moment corresponding to the synchronization instruction. According to the invention, through message detection in the CAN bus of the whole vehicle, when the message is detected to be displayed, the first atmosphere lamp sends a synchronous instruction to each second atmosphere lamp, so that the atmosphere lamps simultaneously display the content to be displayed, and the content to be displayed is simultaneously displayed by all the atmosphere lamps.

Description

Vehicle-mounted atmosphere lamp combined display control method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of atmosphere lamp control, in particular to a vehicle-mounted atmosphere lamp combined display control method, device, equipment and storage medium.
Background
The vehicle-mounted atmosphere lamp is an illuminating lamp capable of playing a decorative effect, and consists of a large number of LED lamps, and at present, atmosphere lamps are mounted on some middle-high-end vehicles, so that different animation effects such as welcome, door opening, door closing and the like can be automatically displayed according to scenes.
In some scenes, a strip-shaped overall animation needs to be displayed on the side face of a vehicle body, a plurality of independent strip-shaped atmosphere lamp panels need to be embedded into the vehicle body and arranged to form an overlong strip-shaped atmosphere lamp panel, and each strip-shaped atmosphere lamp independently receives a CAN message command of the whole vehicle.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a vehicle-mounted atmosphere lamp combined display control method, a vehicle-mounted atmosphere lamp combined display control device, vehicle-mounted atmosphere lamp combined display control equipment and a vehicle-mounted atmosphere lamp combined display control storage medium, and aims to solve the technical problem that in the prior art, a plurality of atmosphere lamps are combined to display a strip-shaped content to be displayed and are not synchronous.
In order to achieve the aim, the invention provides a vehicle-mounted atmosphere lamp combined display control method, which comprises the following steps:
detecting messages in a CAN bus of the whole vehicle;
when the message is detected to be a display message, identifying the display message to obtain a content tag of the content to be displayed, and sending the content tag to each second atmosphere lamp, wherein the first atmosphere lamp is connected with each second atmosphere lamp through a CAN bus;
and generating a synchronization instruction, sending the synchronization instruction to each second atmosphere lamp, enabling the first atmosphere lamp and each second atmosphere lamp to generate a display strategy according to the content label, and displaying the content to be displayed corresponding to the content label according to the display strategy at the synchronization moment corresponding to the synchronization instruction.
Optionally, the generating a synchronization instruction, sending the synchronization instruction to each second atmosphere lamp, so that the first atmosphere lamp and each second atmosphere lamp generate a display policy according to the content tag includes:
searching for corresponding content to be displayed according to the content tag;
determining a display label of a second atmosphere lamp needing to participate in display according to the content to be displayed;
and obtaining the display strategies of the first atmosphere lamp and the second atmosphere lamp participating in the display according to the content label and the display label.
Optionally, the obtaining a display policy of the first ambience lamp and the second ambience lamp participating in the display according to the content tag and the display tag includes:
obtaining a corresponding two-dimensional RGB value array according to the current content frame data;
and obtaining a display strategy according to the corresponding two-dimensional RGB value array.
Optionally, the obtaining a display policy according to the corresponding two-dimensional RGB value array includes:
determining LED lamps in the first atmosphere lamp and the second atmosphere lamp participating in display according to the two-dimensional RGB value array;
and setting display strategies of the LED lamps in the first atmosphere lamp and the second atmosphere lamp participating in display according to the two-dimensional RGB value group.
Optionally, after obtaining the display policy according to the corresponding two-dimensional RGB value array, the method includes:
and loading next content frame data, and decoding the next frame data to obtain a two-dimensional RGB value array corresponding to the next frame data.
Optionally, the obtaining a corresponding two-dimensional RGB value array according to the current content frame data includes:
splitting the content to be displayed to obtain content frame data of the content to be displayed;
detecting the current content frame, and when the detection result is a first content frame, obtaining a corresponding two-dimensional RGB value array according to the first content frame, and loading a next content frame;
and decoding the next content frame to obtain a two-dimensional RGB value array corresponding to the next content frame.
Optionally, the detecting the message in the entire vehicle CAN bus includes:
when detecting that the message is an end message, generating an end instruction;
and sending the ending instruction to each second atmosphere lamp to end the display of the current display content.
In order to achieve the above object, the present invention further provides a vehicle-mounted ambience lamp combined display control device, including:
the message detection module is used for detecting messages in the CAN bus of the whole vehicle;
the content determining module is used for identifying the display message when detecting that the message is the display message to obtain a content tag of the content to be displayed and sending the content tag to each second atmosphere lamp, wherein the first atmosphere lamp is connected with each second atmosphere lamp through a CAN bus;
and the content synchronization module is used for generating a synchronization instruction, sending the synchronization instruction to each second atmosphere lamp, enabling the first atmosphere lamp and each second atmosphere lamp to generate a display strategy according to the content label, and displaying the content to be displayed corresponding to the content label according to the display strategy at the synchronization time corresponding to the synchronization instruction.
In addition, in order to achieve the above object, the present invention further provides a vehicle-mounted ambience lamp combined display control device, including: the system comprises a memory, a processor and a vehicle-mounted atmosphere lamp joint display control program which is stored on the memory and can run on the processor, wherein the vehicle-mounted atmosphere lamp joint display control program is configured to realize the steps of the vehicle-mounted atmosphere lamp joint display control method.
In addition, in order to achieve the above object, the present invention further provides a storage medium, in which a vehicle-mounted ambience lamp combined display control program is stored, and the vehicle-mounted ambience lamp combined display control program realizes the steps of the vehicle-mounted ambience lamp combined display control method as described above when executed by a processor.
The invention detects the message in the CAN bus of the whole vehicle; when the message is detected to be a display message, identifying the display message to obtain a content tag of the content to be displayed, and sending the content tag to each second atmosphere lamp, wherein the first atmosphere lamp is connected with each second atmosphere lamp through a CAN bus; and generating a synchronization instruction, sending the synchronization instruction to each second atmosphere lamp, enabling the first atmosphere lamp and each second atmosphere lamp to generate a display strategy according to the content label, and displaying the content to be displayed corresponding to the content label according to the display strategy at the synchronization time corresponding to the synchronization instruction. According to the invention, through message detection in the CAN bus of the whole vehicle, when the message is detected to be displayed, the first atmosphere lamp sends a synchronous instruction to each second atmosphere lamp, so that the first atmosphere lamp and each second atmosphere lamp CAN simultaneously display the content to be displayed. The display device realizes that all the atmosphere lamps can simultaneously display the contents to be displayed.
Drawings
FIG. 1 is a schematic structural diagram of a vehicle-mounted ambience lamp combined display control device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of the vehicle-mounted atmosphere lamp combined display control method according to the present invention;
FIG. 3 is a flow chart of animation display of the atmosphere lamp according to an embodiment of the vehicle-mounted atmosphere lamp combined display control method of the present invention;
FIG. 4 is a schematic flowchart of a second embodiment of the vehicle-mounted ambience lamp combined display control method according to the present invention;
fig. 5 is a block diagram of the first embodiment of the vehicle-mounted atmosphere lamp combined display control device.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a vehicle-mounted ambience lamp combined display control device for a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the vehicle-mounted atmosphere lamp joint display control device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to implement connection communication among these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in FIG. 1 does not constitute a limitation of the on-board atmosphere light joint display control apparatus, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and an in-vehicle atmosphere lamp joint display control program.
In the vehicle-mounted atmosphere lamp joint display control device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the vehicle-mounted ambience lamp combined display control device of the invention may be provided in the vehicle-mounted ambience lamp combined display control device, which calls the vehicle-mounted ambience lamp combined display control program stored in the memory 1005 through the processor 1001 and executes the vehicle-mounted ambience lamp combined display control method provided by the embodiment of the invention.
An embodiment of the invention provides a vehicle-mounted atmosphere lamp combined display control method, and referring to fig. 2, fig. 2 is a schematic flow diagram of a first embodiment of the vehicle-mounted atmosphere lamp combined display control method according to the invention.
In this embodiment, the vehicle-mounted atmosphere lamp combined display control method includes the following steps:
step S10: detecting messages in a CAN bus of the whole vehicle;
it should be noted that the execution main body of the embodiment is the first atmosphere lamp, wherein the first atmosphere lamp has functions of data processing, data communication, program operation and the like, and the first atmosphere lamp is an atmosphere lamp connected with the entire vehicle CAN bus in an atmosphere lamp panel in which a plurality of atmosphere lamps are arranged in a strip shape.
It CAN be understood that each atmosphere lamp is controlled by an independent MCU chip, and each atmosphere lamp is connected to a storage medium, for example, a flash memory chip, a ROM memory, a RAM memory, or other memories with data storage functions, preferably, a flash memory chip, where the MCU of the first atmosphere lamp is configured to connect the first path of CAN bus of the MCU to the CAN bus of the entire vehicle, and the remaining multiple paths of CAN buses are connected to the CAN interfaces of other atmosphere lamps.
Step S20: when the message is detected to be a display message, identifying the display message to obtain a content tag of the content to be displayed, and sending the content tag to each second atmosphere lamp, wherein the first atmosphere lamp is connected with each second atmosphere lamp through a CAN bus;
it should be noted that the display message refers to one of messages in the CAN bus, and is an instruction for instructing the first ambience lamp and each second ambience lamp to display designated display content, where the content to be displayed refers to an animation or a picture that needs to be displayed on the ambience lamp, and the content to be displayed is stored in a storage medium of each ambience lamp.
It can be understood that the content tag is contained in the display message, when the display message is detected by the first atmosphere lamp, the display message is identified and then extracted from the display message, and the content tag has a corresponding relationship with the picture or animation stored in the storage medium, so that the content to be displayed can be accurately positioned according to the content tag.
It should be understood that the second atmosphere lamp refers to other atmosphere lamps on the current elongated atmosphere lamp panel besides the first atmosphere lamp, the number of the second atmosphere lamps is not exclusive and may be one or more, and the second atmosphere lamp is connected with the first atmosphere lamp through the CAN bus for receiving the information transmitted by the first atmosphere lamp.
In specific implementation, the content to be displayed is prepared in advance before the atmosphere lamp performs image display, referring to fig. 3, and fig. 3 is an atmosphere lamp animation display flow chart, the content to be displayed first passes through an animation segment data providing unit, a video animation or picture with a small resolution and a large width is divided into several independent segment files according to the length of the automobile body and the width of each atmosphere lamp on the automobile body, and each segment animation maintains the original frame rate and duration. And packaging the obtained segmented files into binary bin files, sequentially burning the binary bin files into flash memory chips of the atmosphere lamps, converting the packed bin files into LED data which can be used by the corresponding atmosphere lamps by an animation synchronization unit and a data conversion calculation unit, and finally displaying the current content to be displayed by an animation display unit.
The first atmosphere lamp can receive the message signals from the whole vehicle in real time and detect the received message signals, and the messages which need to be received by the first atmosphere lamp can be identified according to different identification information on different messages because different message signals have different identification information. When the first atmosphere lamp detects a display message for controlling the atmosphere lamp to start displaying, the currently obtained display message is firstly identified, a content label of the content to be displayed is read from the display message, and after the content label of the content to be displayed is obtained, the content label is transmitted to each second atmosphere lamp through the CAN bus.
Step S30: and generating a synchronization instruction, sending the synchronization instruction to each second atmosphere lamp, enabling the first atmosphere lamp and each second atmosphere lamp to generate a display strategy according to the content label, and displaying the content to be displayed corresponding to the content label according to the display strategy at the synchronization time corresponding to the synchronization instruction.
It should be noted that the synchronization instruction refers to a synchronization instruction generated after the first ambience lamp receives the display message in the entire vehicle CAN message, and needs to be generated according to the to-be-displayed content tag in the display message and the current time, the synchronization instruction may be used to cause the first ambience lamp and each second ambience lamp to display the to-be-displayed content according to the synchronization instruction, and the synchronization instruction may include the first ambience lamp or each second ambience lamp to be displayed, the content tag of the to-be-displayed content, the display time, the display mode, and the like, and may also include other contents.
It should be understood that the display strategy refers to the display modes of the first atmosphere lamp and each second atmosphere lamp, the display strategy comprises the display time of the first atmosphere lamp and each second atmosphere lamp and the content to be displayed, and the MCU of the atmosphere lamp receiving the synchronization strategy can generate the display mode according with the content to be displayed according to the content to be displayed.
It CAN be understood that the synchronous time refers to a fixed time at which the first ambience lamp or each second ambience lamp agrees to display the content to be displayed, the display time is generated by the MCU of the first ambience lamp and transmitted to each second ambience lamp through the CAN bus connected to the CAN interfaces of the first ambience lamp and each second ambience lamp, and the time period between two display times is the display time of each frame of the content to be displayed.
It should be noted that the content to be displayed is content to be displayed on the first ambience lamp and each second ambience lamp, the content to be displayed may be a picture or an animation, each content to be displayed has a unique content tag, the first ambience lamp and each second ambience lamp acquire the content to be displayed from the storage medium respectively connected to the first ambience lamp and each second ambience lamp according to the received content tag, the content to be displayed on each ambience lamp may be burned into the corresponding storage medium in advance to ensure that the display content can be read quickly, or the content to be displayed may be acquired in the cloud after the content tag is received.
In the specific implementation, the first atmosphere lamp generates a synchronization instruction according to the detected display message, the generated synchronization instruction is sent to the first atmosphere lamp and each second atmosphere lamp, when the first atmosphere lamp and each second atmosphere lamp receive the synchronization instruction for the first time, the first atmosphere lamp and each second atmosphere lamp search for corresponding content to be displayed in the flash memory chip according to a content tag in the synchronization instruction and directly load a first frame of the content to be displayed in the flash memory chip, the first atmosphere lamp and each second atmosphere lamp recognize the synchronization instruction, the synchronization time for displaying the content to be displayed on the atmosphere lamps is recognized, and the synchronous display of each atmosphere lamp is completed at the synchronization time.
For example, the information contained in the display message is the content to be displayed with the display content tag of 01, at this time, the first ambience lamp will package the 01 tag information in the synchronization command, and then attach the synchronization time, so that each ambience lamp can finish displaying at the same time, for example, the current synchronization command is agreed at the time of 10:46:25.765, when the time arrives, the ambience lamp which needs to display the content to be displayed needs to complete the display of the content to be displayed at the time, after the display of the current content is completed, the display of the next content is completed after a preset time interval, in order to make the first ambience lamp and each second ambience lamp synchronously display, therefore, the time for each content to last may be appointed, after the time finishes, the next round of display is started, and the next content data loading is completed within the waiting time, assuming the time interval is 20 milliseconds, the next content may be displayed at a time of 10.785, and this time is the next synchronization instruction sent by the first ambience lamp after the current synchronization instruction, i.e. the synchronization instruction only sends the display time for which the synchronization starts according to the preset time interval instead of sending the synchronization instruction at the preset time interval, and after each second ambience lamp receives the synchronization instruction, even if each second ambience lamp has received the synchronization instruction, the next content does not start to be displayed when the current time does not reach the synchronization time indicated by the synchronization instruction.
The embodiment detects the message in the CAN bus of the whole vehicle; when the message is detected to be a display message, identifying the display message to obtain a content tag of the content to be displayed, and sending the content tag to each second atmosphere lamp, wherein the first atmosphere lamp is connected with each second atmosphere lamp through a CAN bus; and generating a synchronization instruction, sending the synchronization instruction to each second atmosphere lamp, enabling the first atmosphere lamp and each second atmosphere lamp to generate a display strategy according to the content label, and displaying the content to be displayed corresponding to the content label according to the display strategy at the synchronization time corresponding to the synchronization instruction. According to the invention, through message detection in the CAN bus of the whole vehicle, when the message is detected to be displayed, the first atmosphere lamp sends a synchronous instruction to the first atmosphere lamp and each second atmosphere lamp, so that the first atmosphere lamp and each second atmosphere lamp display the content to be displayed at the appointed moment. The method and the device realize that all atmosphere lamps can simultaneously display the content to be displayed, and avoid the technical problem that the display effect is not synchronous because each atmosphere lamp receives the message with time difference.
Referring to fig. 4, fig. 4 is a flowchart illustrating a second embodiment of a vehicle-mounted atmosphere lamp joint display control method according to the present invention.
Based on the first embodiment, in the step S30, the method for controlling the vehicle-mounted ambience light joint display further includes:
step S301: searching for corresponding content to be displayed according to the content tag;
step S302: determining a display label of a second atmosphere lamp needing to participate in display according to the content to be displayed;
step S303: and obtaining the display strategies of the first atmosphere lamp and the second atmosphere lamp participating in the display according to the content label and the display label.
It should be noted that the display tag refers to an identification tag of the second ambience lamp, and is used to determine which of the plurality of second ambience lamps needs to perform the display operation.
In the specific implementation, firstly, the content to be displayed is determined according to a corresponding relation table between the content tag and the content to be displayed, the corresponding relation table between the content tag and the content to be displayed is preset, for example, the current content tag is 10, at this time, the content to be displayed corresponding to the content tag 10 needs to be found in the corresponding relation table according to the content tag 10, and it is assumed that the current content to be displayed is a relatively short animation video, therefore, it needs to be determined according to the content to be displayed that several atmosphere lamps need to be displayed, for example, the current animation video needs 5 atmosphere lamp panels to be displayed, and then 5 continuous atmospheres in the second atmosphere lamp, for example, lamp panels 01 to 05, are specified in the synchronization instruction according to the first atmosphere lamp to complete animation display.
Before the display process of the lamp panel display tag 01-05, the synchronization instruction sent by the first atmosphere lamp is received and identified, and the first frame of the animation video with the serial number of 10 stored in the flash memory chip of the lamp panel 01-05 is preloaded, so that the display of the currently loaded frame of the content to be displayed is completed at the synchronization time appointed in the synchronization instruction.
In order to further obtain the display strategy, the method also comprises the following steps:
obtaining a corresponding two-dimensional RGB value array according to the current content frame data;
and obtaining a display strategy according to the corresponding two-dimensional RGB value array.
It should be noted that a content frame refers to frame data of a picture and animation frame data of an animation in the content to be displayed, and is an image picture of a minimum unit, one frame is a still picture, and a two-dimensional RGB value array refers to a composition and a ratio of red, green, and blue colors required for forming the frame in current frame data, so as to form colors and patterns in the content to be displayed.
In the specific implementation, according to a picture in a frame to be displayed of content to be displayed, the picture is identified, an RGB value corresponding to each pixel point in the frame is obtained, the RGB is recorded, a series of obtained RGB recorded values are arranged in the same arrangement mode as the pixel points to form a two-dimensional RGB array, the position in the array corresponds to the pixel point position in the frame data, and then the obtained two-dimensional RGB value array is applied to the atmosphere lamp panel, so that the atmosphere lamp panel performs picture display according to the two-dimensional RGB data.
In order to further synchronize the display strategy to each LED lamp, the following steps are included:
determining LED lamps in the first atmosphere lamp and the second atmosphere lamp participating in display according to the two-dimensional RGB value array;
and setting display strategies of the LED lamps in the first atmosphere lamp and the second atmosphere lamp participating in display according to the two-dimensional RGB value group.
In the specific implementation, a two-dimensional RGB value array obtained according to the content to be displayed is processed first, and is corresponding to the positions of the LED lamps in the ambient lamp, in an actual situation, the number of the LED lamps may be less than the number of pixels or the number of values corresponding to the two-dimensional RGB value array, so that the two-dimensional RGB value array needs to be transformed when the two-dimensional RGB value array corresponds to the LED lamps, for example, if the data amount in the current two-dimensional RGB value array is four times the number of the LED lamps in the ambient lamp, a moving block with a size of 2 × 2 may be constructed in the two-dimensional RGB, and the moving step length of the moving block is 2, at this time, the RGB values in the moving block with the size of 2 × 2 are processed, each 4 RGB value is converted into 1 RGB value, so that the data is reduced by 4 times, the reduction degree of the content to be displayed is ensured as much as possible, and then a new two-dimensional RGB value array reduced by 4 times is corresponding to the LED lamps in the ambient lamp, and the color display of the ambient lamp is realized, thereby displaying the image on the ambient lamp.
In order to further complete the synchronous display of the content to be displayed on the atmosphere lamp, the method further comprises the following steps after obtaining the display strategy according to the corresponding two-dimensional RGB value array:
and loading next content frame data, and decoding the next frame data to obtain a two-dimensional RGB value array corresponding to the next frame data.
It should be noted that the next content frame data refers to a content frame that is sequentially after the currently displayed content frame, and the next content frame is ready to be displayed after the current content frame is completely displayed.
It should be noted that the content frame data refers to a single image picture obtained by splitting a complete content to be displayed into one frame and one frame.
In the specific implementation, when the current content frame has reached the synchronization moment and the content display of the current frame is completed on the LED lamp, the current atmosphere lamp loads the next content frame of the current content to be displayed in the flash memory chip, and when the current content frame is subjected to LED display, completes the loading and decoding processing of the next content frame, so as to obtain the two-dimensional RGB value array of the next content frame, and matches the two-dimensional RGB value array of the next content frame with the LED, so as to obtain the two-dimensional RGB value array of the next content frame.
In order to further obtain a corresponding two-dimensional RGB value array according to the current content frame data, the method further comprises the following steps:
splitting the content to be displayed to obtain content frame data of the content to be displayed;
detecting the current content frame, and when the detection result is a first content frame, obtaining a corresponding two-dimensional RGB value array according to the first content frame, and loading a next content frame;
and decoding the next content frame to obtain a two-dimensional RGB value array corresponding to the next content frame.
It should be noted that splitting the content to be displayed refers to dividing a complete content to be displayed into image pictures with frames as units, where each split frame is called a content frame, and when splitting, the content to be displayed needs to be split according to different frame numbers according to a specific application scenario.
In a specific implementation, an obtained content to be displayed is split into a plurality of content frames meeting actual requirements, the adopted strategies are different according to different current frame numbers, and before processing, the current frame number needs to be detected, for example, assuming that the current content frame is detected to be a first frame, at this time, when the first frame is processed, a two-dimensional RGB value array is first generated by matching the first frame, after the two-dimensional RGB value array of the first frame is obtained, the content of a second frame is immediately obtained, and the content of the second frame is simultaneously decoded, that is, when the content of the first frame is displayed, two-frame content frame data needs to be processed, and when it is detected that the current frame is not the first frame, a next content frame is loaded after the current frame is processed, and a corresponding two-dimensional RGB value array is generated according to the content of the next frame.
In order to further complete the synchronous display of the contents to be displayed, the method further comprises the following steps:
when detecting that the message is an end message, generating an end instruction;
and sending the ending instruction to each second atmosphere lamp to end the display of the current display content.
It should be noted that the end message refers to one of the messages in the CAN bus, and is used to terminate the current display content of the atmosphere lamp in advance when the current display content of the atmosphere lamp is not ended, and the end instruction is generated by the first atmosphere lamp according to the end message.
In the specific implementation, the MCU of the first atmosphere lamp detects message information in the CAN bus of the whole vehicle, and when detecting an end message in the CAN bus of the whole vehicle, the first atmosphere lamp generates an end instruction, and sends the end instruction to the first atmosphere lamp and each second atmosphere lamp through the CAN bus, so that each atmosphere lamp CAN stop displaying the content to be displayed currently.
In the embodiment, the content to be displayed is split into a plurality of content frames by processing the content to be displayed, when the content frames of the content to be displayed are displayed by the atmosphere lamps, the current content frames need to be detected first, a corresponding loading strategy is selected according to a detection result, when each atmosphere lamp receives a synchronization instruction, the corresponding content to be displayed is found according to a content label in the synchronization instruction, then the content to be displayed is loaded in sequence, two frames of the content to be displayed need to be continuously loaded during first loading, so that when the content of the previous frame is still displayed, the content of the next frame is already in a waiting state, and when the time appointed by the synchronization instruction is up, each atmosphere lamp needing to display the content to be displayed displays simultaneously.
In addition, an embodiment of the present invention further provides a storage medium, where a vehicle-mounted ambience lamp combined display control program is stored on the storage medium, and when executed by a processor, the vehicle-mounted ambience lamp combined display control program implements the steps of the vehicle-mounted ambience lamp combined display control method described above.
Referring to fig. 5, fig. 5 is a block diagram illustrating a first embodiment of a vehicle-mounted atmosphere lamp combination display control device according to the present invention.
As shown in fig. 5, the vehicle-mounted atmosphere lamp combined display control device according to the embodiment of the present invention includes:
the message detection module 10 is used for detecting messages in the CAN bus of the whole vehicle;
the content determining module 20 is configured to, when it is detected that the message is a display message, identify the display message to obtain a content tag of a content to be displayed, and send the content tag to each second atmosphere lamp, where the first atmosphere lamp is connected to each second atmosphere lamp through a CAN bus;
and the content synchronization module 30 is configured to generate a synchronization instruction, send the synchronization instruction to each second atmosphere lamp, enable the first atmosphere lamp and each second atmosphere lamp to generate a display policy according to the content tag, and display the content to be displayed corresponding to the content tag according to the display policy at a synchronization time corresponding to the synchronization instruction.
In the embodiment, the message in the CAN bus of the whole vehicle is detected; when the message is detected to be a display message, identifying the display message to obtain a content tag of the content to be displayed, and sending the content tag to each second atmosphere lamp, wherein the first atmosphere lamp is connected with each second atmosphere lamp through a CAN bus; and generating a synchronization instruction, sending the synchronization instruction to each second atmosphere lamp, enabling the first atmosphere lamp and each second atmosphere lamp to generate a display strategy according to the content label, and displaying the content to be displayed corresponding to the content label according to the display strategy at the synchronization time corresponding to the synchronization instruction. According to the invention, through message detection in the CAN bus of the whole vehicle, when the message is detected to be displayed, the first atmosphere lamp sends a synchronous instruction to each second atmosphere lamp, so that the first atmosphere lamp and each second atmosphere lamp CAN simultaneously display the content to be displayed. The display device realizes that all the atmosphere lamps can simultaneously display the contents to be displayed.
In an embodiment, the content synchronization module 30 is further configured to search for corresponding content to be displayed according to the content tag; determining a display label of a second atmosphere lamp needing to participate in display according to the content to be displayed; and obtaining the display strategies of the first atmosphere lamp and the second atmosphere lamp participating in the display according to the content label and the display label.
In an embodiment, the content synchronization module 30 is further configured to obtain a corresponding two-dimensional RGB value array according to the current content frame data; and obtaining a display strategy according to the corresponding two-dimensional RGB value array.
In an embodiment, the content synchronization module 30 is further configured to determine, according to the two-dimensional RGB value array, LED lamps in the first ambience lamp and the second ambience lamp participating in the display; and setting display strategies of the LED lamps in the first atmosphere lamp and the second atmosphere lamp participating in display according to the two-dimensional RGB value group.
In an embodiment, the content synchronization module 30 is further configured to load next content frame data and decode the next frame data to obtain a two-dimensional RGB value array corresponding to the next frame data.
In an embodiment, the content synchronization module 30 is further configured to split the content to be displayed to obtain content frame data of the content to be displayed; detecting the current content frame, and when the detection result is a first content frame, obtaining a corresponding two-dimensional RGB value array according to the first content frame, and loading a next content frame; and decoding the next content frame to obtain a two-dimensional RGB value array corresponding to the next content frame.
In an embodiment, the message detection module 10 is further configured to generate an end instruction when detecting that the message is an end message; and sending the ending instruction to each second atmosphere lamp to end the display of the current display content.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited in this respect.
It should be noted that the above-mentioned work flows are only illustrative and do not limit the scope of the present invention, and in practical applications, those skilled in the art may select some or all of them according to actual needs to implement the purpose of the solution of the present embodiment, and the present invention is not limited herein.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A vehicle-mounted atmosphere lamp combined display control method is characterized by being applied to a first atmosphere lamp, and comprises the following steps:
detecting messages in a CAN bus of the whole vehicle;
when the message is detected to be a display message, identifying the display message to obtain a content tag of the content to be displayed, and sending the content tag to each second atmosphere lamp, wherein the first atmosphere lamp is connected with each second atmosphere lamp through a CAN bus;
and generating a synchronization instruction, sending the synchronization instruction to each second atmosphere lamp, enabling the first atmosphere lamp and each second atmosphere lamp to generate a display strategy according to the content label, and displaying the content to be displayed corresponding to the content label according to the display strategy at the synchronization time corresponding to the synchronization instruction.
2. The method of claim 1, wherein the generating a synchronization instruction, sending the synchronization instruction to the second ambience lamps, and causing the first ambience lamp and the second ambience lamps to generate the display policy according to the content tag comprises:
searching for corresponding content to be displayed according to the content tag;
determining a display label of a second atmosphere lamp needing to participate in display according to the content to be displayed;
and obtaining the display strategies of the first atmosphere lamp and the second atmosphere lamp participating in the display according to the content label and the display label.
3. The method as claimed in claim 2, wherein the obtaining the display policy of the first ambience lamp and the second ambience lamp participating in the display according to the content tag and the display tag comprises:
obtaining a corresponding two-dimensional RGB value array according to the current content frame data;
and obtaining a display strategy according to the corresponding two-dimensional RGB value array.
4. The method as claimed in claim 3, wherein said deriving a display policy from said corresponding two-dimensional RGB value array comprises:
determining LED lamps in the first atmosphere lamp and the second atmosphere lamp participating in display according to the two-dimensional RGB value array;
and setting display strategies of the LED lamps in the first atmosphere lamp and the second atmosphere lamp participating in display according to the two-dimensional RGB value group.
5. The method of claim 3, wherein said deriving a display policy from said corresponding two-dimensional RGB value array comprises:
and loading next content frame data, and decoding the next frame data to obtain a two-dimensional RGB value array corresponding to the next frame data.
6. The method as claimed in claim 3, wherein said deriving the corresponding two-dimensional RGB value array based on the current content frame data comprises:
splitting the content to be displayed to obtain content frame data of the content to be displayed;
detecting the current content frame, and when the detection result is a first content frame, obtaining a corresponding two-dimensional RGB value array according to the first content frame, and loading a next content frame;
and decoding the next content frame to obtain a two-dimensional RGB value array corresponding to the next content frame.
7. The method according to any one of claims 1-6, wherein the detecting messages in the entire vehicle CAN bus comprises:
when detecting that the message is an end message, generating an end instruction;
and sending the ending instruction to each second atmosphere lamp to end the display of the current display content.
8. The utility model provides a vehicle-mounted atmosphere lamp joint display control device which characterized in that, vehicle-mounted atmosphere lamp joint display control device includes:
the message detection module is used for detecting messages in the CAN bus of the whole vehicle;
the content determining module is used for identifying the display message to obtain a content label of the content to be displayed when the message is detected to be the display message, and sending the content label to each second atmosphere lamp, wherein the first atmosphere lamp is connected with each second atmosphere lamp through a CAN bus;
and the content synchronization module is used for generating a synchronization instruction, sending the synchronization instruction to the second atmosphere lamps, enabling the first atmosphere lamps and the second atmosphere lamps to generate a display strategy according to the content labels, and displaying the contents to be displayed corresponding to the content labels according to the display strategy at the synchronization moment corresponding to the synchronization instruction.
9. An on-vehicle atmosphere lamp joint display control device, characterized in that, the equipment includes: the vehicle-mounted ambience lamp joint display control method comprises a memory, a processor and a vehicle-mounted ambience lamp joint display control program stored on the memory and capable of running on the processor, wherein the vehicle-mounted ambience lamp joint display control program is configured to realize the steps of the vehicle-mounted ambience lamp joint display control method as claimed in any one of claims 1 to 7.
10. A storage medium, characterized in that the storage medium has stored thereon a vehicle-mounted ambience lamp joint display control program, which when executed by a processor implements the steps of the vehicle-mounted ambience lamp joint display control method according to any one of claims 1 to 7.
CN202211110204.1A 2022-09-13 2022-09-13 Vehicle-mounted atmosphere lamp combined display control method, device, equipment and storage medium Pending CN115534834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211110204.1A CN115534834A (en) 2022-09-13 2022-09-13 Vehicle-mounted atmosphere lamp combined display control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211110204.1A CN115534834A (en) 2022-09-13 2022-09-13 Vehicle-mounted atmosphere lamp combined display control method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115534834A true CN115534834A (en) 2022-12-30

Family

ID=84726470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211110204.1A Pending CN115534834A (en) 2022-09-13 2022-09-13 Vehicle-mounted atmosphere lamp combined display control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115534834A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN208931227U (en) * 2018-03-30 2019-06-04 比亚迪股份有限公司 Vehicle-mounted display terminal system and vehicle with it
CN110843665A (en) * 2019-11-29 2020-02-28 安徽江淮汽车集团股份有限公司 Vehicle and vehicle-mounted atmosphere lamp control system and multimedia processing device thereof
CN111263498A (en) * 2020-01-21 2020-06-09 中山市德马汽车零部件有限公司 Automobile atmosphere lamp control system, method and device and storage medium
CN111787667A (en) * 2020-05-22 2020-10-16 南京天擎汽车电子有限公司 Atmosphere lamp addressing system, electronic device and vehicle
CN112092726A (en) * 2020-09-15 2020-12-18 一汽解放汽车有限公司 Control method, device, equipment and medium of environmental atmosphere lamp
CN113199984A (en) * 2021-06-08 2021-08-03 奇瑞商用车(安徽)有限公司 Multi-color rhythm atmosphere lamp control system and method based on CAN control
CN113225879A (en) * 2021-05-10 2021-08-06 北京经纬恒润科技股份有限公司 Vehicle-mounted interior lamp control method, atmosphere lamp controller and control system
CN113734042A (en) * 2021-08-23 2021-12-03 惠州市富玉隆科技有限公司 Implementation method for synchronous working of multiple groups of multicolor LED lamps
CN114585131A (en) * 2022-02-23 2022-06-03 深圳市智岩科技有限公司 Lamp effect control method and device, computer equipment and storage medium
WO2022142353A1 (en) * 2020-12-28 2022-07-07 常州星宇车灯股份有限公司 Vehicle light control device and method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN208931227U (en) * 2018-03-30 2019-06-04 比亚迪股份有限公司 Vehicle-mounted display terminal system and vehicle with it
CN110843665A (en) * 2019-11-29 2020-02-28 安徽江淮汽车集团股份有限公司 Vehicle and vehicle-mounted atmosphere lamp control system and multimedia processing device thereof
CN111263498A (en) * 2020-01-21 2020-06-09 中山市德马汽车零部件有限公司 Automobile atmosphere lamp control system, method and device and storage medium
CN111787667A (en) * 2020-05-22 2020-10-16 南京天擎汽车电子有限公司 Atmosphere lamp addressing system, electronic device and vehicle
CN112092726A (en) * 2020-09-15 2020-12-18 一汽解放汽车有限公司 Control method, device, equipment and medium of environmental atmosphere lamp
WO2022142353A1 (en) * 2020-12-28 2022-07-07 常州星宇车灯股份有限公司 Vehicle light control device and method
CN113225879A (en) * 2021-05-10 2021-08-06 北京经纬恒润科技股份有限公司 Vehicle-mounted interior lamp control method, atmosphere lamp controller and control system
CN113199984A (en) * 2021-06-08 2021-08-03 奇瑞商用车(安徽)有限公司 Multi-color rhythm atmosphere lamp control system and method based on CAN control
CN113734042A (en) * 2021-08-23 2021-12-03 惠州市富玉隆科技有限公司 Implementation method for synchronous working of multiple groups of multicolor LED lamps
CN114585131A (en) * 2022-02-23 2022-06-03 深圳市智岩科技有限公司 Lamp effect control method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US7348986B2 (en) Image rendering
CN106043124A (en) Method and device for controlling vehicle backing image display
CN110809120B (en) Light supplementing method for shot picture, smart television and computer readable storage medium
CN113299245B (en) Method and device for adjusting local backlight of display equipment, display equipment and storage medium
CN114896176B (en) Intelligent driving software/hardware in-loop automatic simulation test system
US20220130320A1 (en) Control method and system for display switching, electronic device and storage medium
CN104461420A (en) Mobile screen system and method
CN109922457B (en) Information interaction method, device and system
CN109976758A (en) UI control carousel method, television terminal and storage medium based on android system
CN115534834A (en) Vehicle-mounted atmosphere lamp combined display control method, device, equipment and storage medium
CN113610811B (en) Automobile instrument panel indicator lamp testing method and device and storage medium
CN112786032A (en) Display content control method, device, computer device and readable storage medium
CN110930478B (en) Method, device, terminal equipment and storage medium for realizing ghost effect
CN115512015A (en) Atmosphere lamp animation display method, device and equipment based on MCU (microprogrammed control Unit) and storage medium
CN114489545B (en) Screen updating request scanning method and device, storage medium and related equipment
CN113434199B (en) MCU capable of driving multiple groups of RGB lamps and driving method thereof
JPH09212555A (en) Schedule and result data display system
CN115061834A (en) Method and system for realizing vehicle-mounted integrated panoramic image based on android EVS (event-resolved rendering) architecture
CN112989924B (en) Target detection method, target detection device and terminal equipment
CN115714839A (en) Image processing circuit, device, method, chip and electronic equipment
CN114191815A (en) Display control method and device in game
CN102654919A (en) Image processing device, image processing method and storage medium
CN111091779B (en) Display screen debugging method, device, equipment and computer readable storage medium
CN219295272U (en) Car light control device based on mobile device
CN114385477B (en) Application interface testing method and system, storage medium and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination