Vehicle lamp control method, device and system and storage medium

Through wireless communication between the MCU and the headlight control module and multi-cache alternate transmission technology, the problem of high cost of vehicle ambient light development and wiring harness is solved, and the control efficiency and lighting effect are improved.

CN119212182APending Publication Date: 2024-12-27SAIC GENERAL MOTORS +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411577254.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The development and wiring harness of existing vehicle ambient lights are relatively expensive and the signal transmission efficiency is low, making it difficult to achieve efficient multi-color LED lighting control.

Method used

Through wireless communication interaction between the MCU and the headlight control module, data transmission is alternately transmitted using multiple preset caches, reducing dependence on CAN communication and improving data transmission and update efficiency.

Benefits of technology

It reduces the development of ambient lights and the cost of the whole vehicle wiring harness, improves the control efficiency of the vehicle, and achieves more complex lighting effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119212182A_ABST
    Figure CN119212182A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle lamp control method, device and system and a storage medium, which are used for reducing the development cost and the whole vehicle wire harness cost. The method comprises the steps of reading a control instruction from a control queue through an MCU when the MCU interacts with a vehicle lamp control module in a wireless communication mode; polling a plurality of preset caches in the MCU to judge whether an idle cache exists or not; when the idle cache exists, sending a control instruction to the first cache in an idle state through the MCU; the first cache is used as a sending cache to send the control instruction to a vehicle lamp control module; when the control instruction is sent to the vehicle lamp control module through the first cache, the next control instruction is read from the control queue through the MCU; and sending the next control instruction in the control queue to the second cache in the idle state through the MCU until no idle cache exists in the plurality of preset caches or all the control instructions in the control queue are read. And the development cost and the whole vehicle wire harness cost are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle light control, and in particular to a vehicle light control method, device, system and storage medium. Background Art

[0002] Headlights are not only related to driving safety, but also an important manifestation of the intelligent and personalized development of modern automobiles. Therefore, in addition to the basic headlights, fog lights, daytime running lights, turn signals, brake lights, reversing lights, double flashes, etc., some models are also equipped with decorative lights such as LED daytime running lights and interior atmosphere lights, which not only enhance the appearance of the vehicle, but also add personalized elements, satisfying consumers' pursuit of automotive aesthetics and comfort.

[0003] As an important part of the interior scene, the interior atmosphere light is increasingly concerned by consumers. With the popularity of new energy vehicles, the power consumption restrictions of the parts in the car have been lifted, allowing the interior atmosphere light of the car to develop in the direction of more brilliant colors, more complex functions, and more diverse layouts. Some new cars focus on the quality of the atmosphere light and the balance of intelligent interaction, while some luxury brands take into account both the quality of the atmosphere light and intelligent interaction.

[0004] Whether it is the quality of the ambient light or the sense of intelligent interaction, it needs to be achieved by arranging multiple multi-color LEDs in various positions of the vehicle. In order to achieve the silky effect of the ambient light, it is necessary to plan a high-speed transmission channel, which undoubtedly has higher requirements for the signal transmission and wiring harness layout of the vehicle. At present, the in-vehicle ambient lights of most vehicles need to use CAN communication for interaction and control, which increases the development cost of the ambient light on the one hand, and the wiring harness cost of the vehicle on the other hand. Summary of the invention

[0005] The present application provides a vehicle light control method, device, system and storage medium to reduce development costs and vehicle wiring harness costs.

[0006] The present application provides a vehicle light control method, comprising:

[0007] When the MCU interacts with the vehicle light control module via wireless communication, the MCU reads the control instruction from the control queue;

[0008] Polling multiple preset caches in the MCU to determine whether there is an idle cache;

[0009] When there is an idle cache, sending the control instruction to the first cache in an idle state through the MCU;

[0010] Using the first buffer as a sending buffer to send the control instruction to a vehicle light control module;

[0011] While sending the control instruction to the vehicle light control module through the first cache, reading the next control instruction from the control queue through the MCU;

[0012] The next control instruction in the control queue is sent to the second cache in an idle state by the MCU until there is no idle cache in the plurality of preset caches or all the control instructions in the control queue are read.

[0013] The beneficial effect of the present application is that the MCU can interact with the headlight control module through wireless communication, so that the headlights can be controlled through wireless communication, without the need for interaction and control through CAN communication, thereby reducing the development cost of the ambient light and the cost of the entire vehicle wiring harness. Secondly, in the present application, by setting up multiple caches, when communicating with the headlight control module through wireless communication, the control instructions can be read from the control instruction queue, and then the control instructions can be sent alternately to different caches. In this way, data transmission and data update can be carried out at the same time, without waiting for the data to be sent before updating the data. Therefore, while reducing the development cost and the cost of the entire vehicle wiring harness, the control efficiency of the vehicle is also improved.

[0014] In one embodiment, the method further comprises:

[0015] When a preset event is detected, a control instruction is generated;

[0016] The generated control instructions are stored in the control queue.

[0017] In one embodiment, the method further comprises:

[0018] When the vehicle is powered on, determine whether the wireless communication method between the MCU and the lighting control module is available;

[0019] When the wireless communication method is available, determining that the communication method with the vehicle light control module is the wireless communication method;

[0020] When the wireless communication mode is unavailable, the communication mode with the vehicle light control module is determined to be a wired communication mode.

[0021] In one embodiment, the method further comprises:

[0022] When the cache sends the same control instruction as the sending cache, sending the control instruction to the vehicle light control module;

[0023] When the data corresponding to the control instruction has been sent, determining whether the number of times the same control instruction has been sent has reached a maximum number;

[0024] When the number of times the same control instruction is sent does not reach the maximum number, the control instruction is sent to the vehicle light control module again.

[0025] In one embodiment, sending the control instruction to the vehicle light control module includes:

[0026] The sending buffer sends the data corresponding to the control instruction to the wireless communication module;

[0027] After all the data corresponding to the control instruction are sent to the wireless communication module, the sending buffer sends a first trigger signal to the wireless communication module to inform the wireless communication module that the data has been sent;

[0028] When the wireless communication module receives the trigger signal, the wireless communication module sends the data corresponding to the control instruction to the vehicle light control module;

[0029] After all the data corresponding to the control instruction are sent to the vehicle light control module, the wireless communication module sends a second trigger signal to the sending buffer to inform the sending buffer that the data corresponding to the control instruction has been sent.

[0030] In one embodiment, the method further comprises:

[0031] After the sending buffer sends the control instruction to the vehicle light control module, the data of the plurality of preset buffers are synchronized.

[0032] In one embodiment, synchronizing the data of a plurality of preset caches includes:

[0033] The pointers of the sending buffer and the free buffer are exchanged to copy the data of the sending buffer to the free buffer.

[0034] The present application provides a vehicle light control device, comprising:

[0035] A first reading module, used for reading control instructions from a control queue through the MCU when the MCU interacts with the vehicle light control module through wireless communication;

[0036] A first determination module, configured to poll a plurality of preset caches in the MCU to determine whether there is an idle cache;

[0037] A second judgment module is used to send a control instruction to a first cache in an idle state through the MCU when there is an idle cache;

[0038] A first sending module, configured to use the first buffer as a sending buffer to send the control instruction to a vehicle light control module;

[0039] A second reading module, configured to read a next control instruction from a control queue through the MCU while sending the control instruction to the vehicle light control module through the first cache;

[0040] The second sending module is used to send the next control instruction in the control queue to the second cache in an idle state through the MCU until there is no idle cache in the multiple preset caches or all control instructions in the control queue are read.

[0041] In one embodiment, the apparatus further comprises:

[0042] A generation module, used to generate control instructions when a preset event is detected;

[0043] The storage module is used to store the generated control instructions into the control queue.

[0044] In one embodiment, the apparatus further comprises:

[0045] A third judgment module is used to judge whether the wireless communication method between the MCU and the headlight control module is available when the vehicle is powered on;

[0046] A first determining module, configured to determine that the communication mode with the vehicle light control module is the wireless communication mode when the wireless communication mode is available;

[0047] The second determining module is used to determine that the communication mode with the vehicle light control module is a wired communication mode when the wireless communication mode is unavailable.

[0048] In one embodiment, the apparatus further comprises:

[0049] A third sending module, configured to send the control instruction to the vehicle light control module when the cache sends the same control instruction as the sending cache;

[0050] A fourth judgment module, used for judging whether the number of times the same control instruction has been sent has reached a maximum number of times when the data corresponding to the control instruction has been sent;

[0051] The fourth sending module is used to send the control instruction to the vehicle light control module again when the number of times the same control instruction is sent does not reach the maximum number.

[0052] In one embodiment, the third sending module includes:

[0053] A first sending submodule, configured for the sending buffer to send data corresponding to the control instruction to the wireless communication module;

[0054] A second sending submodule, configured to, after all the data corresponding to the control instruction are sent to the wireless communication module, send a first trigger signal from the sending buffer to the wireless communication module to inform the wireless communication module that the data has been sent;

[0055] A third sending submodule, configured for sending the data corresponding to the control instruction to the vehicle light control module when the wireless communication module receives the trigger signal;

[0056] The fourth sending submodule is used for, after all the data corresponding to the control instruction are sent to the vehicle light control module, the wireless communication module sends a second trigger signal to the sending buffer to inform the sending buffer that the data corresponding to the control instruction has been sent.

[0057] In one embodiment, the apparatus further comprises:

[0058] The synchronization module is used to synchronize the data of multiple preset caches after the sending cache sends the control instruction to the vehicle light control module.

[0059] In one embodiment, the synchronization module includes:

[0060] The exchange submodule is used to exchange the pointers of the sending buffer and the free buffer to copy the data of the sending buffer to the free buffer.

[0061] The present application also provides a vehicle light control system, comprising:

[0062] at least one processor; and,

[0063] a memory communicatively connected to the at least one processor; wherein,

[0064] 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 to implement the vehicle light control method recorded in any one of the above embodiments.

[0065] The present application also provides a computer-readable storage medium. When the instructions in the storage medium are executed by a processor corresponding to the vehicle light control system, the vehicle light control system can implement the vehicle light control method recorded in any one of the above embodiments.

[0066] Other features and advantages of the present application will be described in the subsequent description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings.

[0067] The technical solution of the present application is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] The accompanying drawings are used to provide a further understanding of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings:

[0069] Figure 1 This is a flow chart of a vehicle light control method in one embodiment of the present application;

[0070] Figure 2 This is a block diagram of a vehicle light control device in one embodiment of the present application;

[0071] Figure 3 This is a schematic diagram of the hardware structure of a vehicle light control system in one embodiment of the present application. DETAILED DESCRIPTION

[0072] The preferred embodiments of the present application are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application and are not used to limit the present application.

[0073] Figure 1 Flow chart of a vehicle light control method in one embodiment of the present application. Figure 1 As shown, the method can be implemented as the following steps S101-S106:

[0074] In step S101, when the MCU interacts with the vehicle light control module via wireless communication, the MCU reads a control instruction from a control queue;

[0075] In step S102, multiple preset caches in the MCU are polled to determine whether there is an idle cache;

[0076] In step S103, when there is an idle cache, the control instruction is sent to the first cache in an idle state through the MCU;

[0077] In step S104, the first buffer is used as a sending buffer to send the control instruction to a vehicle light control module;

[0078] In step S105, while sending the control instruction to the vehicle light control module through the first cache, the next control instruction is read from the control queue through the MCU;

[0079] In step S106, the next control instruction in the control queue is sent to the second cache in an idle state through the MCU until there is no idle cache in the plurality of preset caches or all control instructions in the control queue are read.

[0080] The executor of the present application may be a vehicle controller of a vehicle. In the present application, when the MCU interacts with the headlight control module via wireless communication, the MCU reads control instructions from the control queue.

[0081] Among them, when the vehicle detects a preset event, it generates a control instruction; then the generated control instruction is stored in the control queue. Therefore, the control instruction in the control queue is generated by the vehicle when the preset event is detected. For example: the generation of the headlight interaction instruction can be generated by receiving the driver's control instruction, or it can be generated according to the specific driving environment (such as automatically turning on the low beam, turning on the high beam in a particularly dark place), or it can be generated according to the vehicle status (such as automatically turning on the double flash when the vehicle breaks down), or it can be generated according to the inferred driver intention (such as detecting the intention to turn left, automatically turning on the left turn signal). It can also be generated according to the driving mode switch (such as switching from sports mode to nap mode, and the ambient light animation is also switched to the corresponding animation).

[0082] Specifically, the wireless communication method can be Bluetooth, WIFI, mobile communication and other communication methods. Since WIFI, mobile communication and other methods need to be used in areas close to the communication base station, and cannot be used in areas that are not covered by the communication base station, if WIFI, mobile communication and other methods are not available, it is impossible to support the MCU and the car light control module to interact through wireless communication. Therefore, the MCU and the car light control module can be connected in a wired manner and a wireless manner at the same time. When there are multiple car light control modules, it can also be connected to one of the car light control modules in a wired manner, and connected to one or more other car light control modules in a wireless manner. This approach can not only save wiring harnesses, but also ensure that when wireless communication is not available, the car light control is achieved through a wired manner, avoiding the situation where the car lights cannot be controlled.

[0083] In this application, when the vehicle is powered on, it is determined whether the wireless communication method between the MCU and the headlight control module is available; when the wireless communication method is available, it is determined that the communication method with the headlight control module is the wireless communication method; when the wireless communication method is not available, it is determined that the communication method with the headlight control module is the wired communication method. In this way, when the wireless communication method is available, the wireless communication method can be used for connection first.

[0084] Poll multiple preset caches in the MCU to determine whether there is a free cache; when there is a free cache, send the control instruction to the first cache in the idle state through the MCU; use the first cache as the sending cache to send the control instruction to the headlight control module; while sending the control instruction to the headlight control module through the first cache, read the next control instruction from the control queue through the MCU; send the next control instruction in the control queue to the second cache in the idle state through the MCU, until there is no free cache in the multiple preset caches or all control instructions in the control queue are read.

[0085] Assume that there are two preset caches. For example, the pointer of the send cache points to the first cache, and the pointer of the free cache points to the second cache. At this time, the send cache keeps sending the data in the cache in a loop, and the free cache updates the data in the cache by reading the data in the script. When the next send cycle is reached, the pointers of the send cache and the free cache are exchanged. The pointer of the send cache points to the second cache with updated data, and starts to send data. The free cache pointer points to the first cache and updates the data. The double cache method can improve the efficiency of data sending and updating, and ensure that data sending and updating are carried out synchronously.

[0086] After the double buffer switching is completed, the sending buffer starts to send data, and the sending buffer will continue to send data in a loop until the next cycle arrives to ensure that all signals are transmitted in place.

[0087] The beneficial effect of the present application is that the MCU can interact with the headlight control module through wireless communication, so that the headlights can be controlled through wireless communication, without the need for interaction and control through CAN communication, thereby reducing the development cost of the ambient light and the cost of the entire vehicle wiring harness. Secondly, in the present application, by setting up multiple caches, when communicating with the headlight control module through wireless communication, the control instructions can be read from the control instruction queue, and then the control instructions can be sent alternately to different caches. In this way, data transmission and data update can be carried out at the same time, without waiting for the data to be sent before updating the data. Therefore, while reducing the development cost and the cost of the entire vehicle wiring harness, the control efficiency of the vehicle is also improved.

[0088] In one embodiment, the method can also be implemented as the following steps A1-A2:

[0089] In step A1, when a preset event is detected, a control instruction is generated;

[0090] In step A2, the generated control instruction is stored in a control queue.

[0091] In one embodiment, the method can also be implemented as the following steps B1-B3:

[0092] In step B1, when the vehicle is powered on, it is determined whether the wireless communication method between the MCU and the vehicle light control module is available;

[0093] In step B2, when the wireless communication method is available, determining that the communication method with the vehicle light control module is the wireless communication method;

[0094] In step B3, when the wireless communication mode is not available, it is determined that the communication mode with the vehicle light control module is the wired communication mode.

[0095] In one embodiment, the method can also be implemented as the following steps C1-C3:

[0096] In step C1, when the cache sends the same control instruction as the sending cache, the control instruction is sent to the vehicle light control module;

[0097] In step C2, when the data corresponding to the control instruction has been sent, it is determined whether the number of times the same control instruction has been sent has reached a maximum number;

[0098] In step C3, when the number of times the same control instruction is sent does not reach the maximum number, the control instruction is sent to the vehicle light control module again.

[0099] In this embodiment, when the sending cycle is specified, the maximum number of times may be the maximum number of times allowed to be sent within one data sending cycle.

[0100] In one embodiment, the step C1 can be implemented as the following steps D1-D4:

[0101] In step D1, the sending buffer sends data corresponding to the control instruction to the wireless communication module;

[0102] In step D2, after all the data corresponding to the control instruction are sent to the wireless communication module, the sending buffer sends a first trigger signal to the wireless communication module to inform the wireless communication module that the data has been sent;

[0103] In step D3, upon receiving the trigger signal, the wireless communication module sends the data corresponding to the control instruction to the vehicle light control module;

[0104] In step D4, after all the data corresponding to the control instruction are sent to the vehicle light control module, the wireless communication module sends a second trigger signal to the sending buffer to inform the sending buffer that the data corresponding to the control instruction has been sent.

[0105] In one embodiment, the method can also be implemented as the following steps:

[0106] After the sending buffer sends the control instruction to the vehicle light control module, the data of the plurality of preset buffers are synchronized.

[0107] In one embodiment, synchronizing the data of a plurality of preset caches includes:

[0108] The pointers of the sending buffer and the free buffer are exchanged to copy the data of the sending buffer to the free buffer.

[0109] Specifically, after the sending buffer sends the control instruction to the headlight control module, the sending buffer is notified to stop sending; wait for the sending buffer to complete sending; exchange the pointers of the sending buffer and the idle buffer; copy all the data in the sending buffer to the idle buffer to ensure the synchronization of the data in the two caches; determine whether there is an effect script currently running; read the data of the current frame of the current script from the storage chip; update the data of the current frame to the idle script; the current frame points to the next frame; and the process ends after all the running script data are updated.

[0110] Figure 2 is a block diagram of a vehicle light control device in one embodiment of the present application, such as Figure 2 As shown, including:

[0111] A first reading module 201 is used to read control instructions from a control queue through the MCU when the MCU interacts with the vehicle light control module through wireless communication;

[0112] A first determination module 202 is used to poll multiple preset caches in the MCU to determine whether there is a free cache;

[0113] The second judgment module 203 is used to send the control instruction to the first cache in an idle state through the MCU when there is an idle cache;

[0114] A first sending module 204, configured to use the first buffer as a sending buffer to send the control instruction to a vehicle light control module;

[0115] A second reading module 205, configured to read a next control instruction from a control queue through the MCU while sending the control instruction to the vehicle light control module through the first cache;

[0116] The second sending module 206 is used to send the next control instruction in the control queue to the second cache in an idle state through the MCU until there is no idle cache in the multiple preset caches or all control instructions in the control queue are read.

[0117] In one embodiment, the apparatus further comprises:

[0118] A generation module, used to generate control instructions when a preset event is detected;

[0119] The storage module is used to store the generated control instructions into the control queue.

[0120] In one embodiment, the apparatus further comprises:

[0121] A third judgment module is used to judge whether the wireless communication method between the MCU and the headlight control module is available when the vehicle is powered on;

[0122] A first determining module, configured to determine that the communication mode with the vehicle light control module is the wireless communication mode when the wireless communication mode is available;

[0123] The second determining module is used to determine that the communication mode with the vehicle light control module is a wired communication mode when the wireless communication mode is unavailable.

[0124] In one embodiment, the apparatus further comprises:

[0125] A third sending module, configured to send the control instruction to the vehicle light control module when the cache sends the same control instruction as the sending cache;

[0126] A fourth judgment module, used for judging whether the number of times the same control instruction has been sent has reached a maximum number of times when the data corresponding to the control instruction has been sent;

[0127] The fourth sending module is used to send the control instruction to the vehicle light control module again when the number of times the same control instruction is sent does not reach the maximum number.

[0128] In one embodiment, the third sending module includes:

[0129] A first sending submodule, configured for the sending buffer to send data corresponding to the control instruction to the wireless communication module;

[0130] A second sending submodule, configured to, after all the data corresponding to the control instruction are sent to the wireless communication module, send a first trigger signal from the sending buffer to the wireless communication module to inform the wireless communication module that the data has been sent;

[0131] A third sending submodule, configured for sending the data corresponding to the control instruction to the vehicle light control module when the wireless communication module receives the trigger signal;

[0132] The fourth sending submodule is used for, after all the data corresponding to the control instruction are sent to the vehicle light control module, the wireless communication module sends a second trigger signal to the sending buffer to inform the sending buffer that the data corresponding to the control instruction has been sent.

[0133] In one embodiment, the apparatus further comprises:

[0134] The synchronization module is used to synchronize the data of multiple preset caches after the sending cache sends the control instruction to the vehicle light control module.

[0135] In one embodiment, the synchronization module includes:

[0136] The exchange submodule is used to exchange the pointers of the sending buffer and the free buffer to copy the data of the sending buffer to the free buffer.

[0137] Figure 3 FIG. 1 is a schematic diagram of the hardware structure of a vehicle light control system in an embodiment of the present application. Figure 3 As shown, the vehicle light control system comprises:

[0138] at least one processor 320; and,

[0139] A memory 304 in communication with the at least one processor 320; wherein,

[0140] The memory 304 stores instructions that can be executed by the at least one processor 320, and the instructions are executed by the at least one processor 320 to implement the vehicle light control method described in any of the above embodiments.

[0141] Reference Figure 3 The vehicle light control system 300 may include one or more of the following components: a processing component 302 , a memory 304 , a power component 306 , a multimedia component 308 , an audio component 310 , an input / output (I / O) interface 312 , a sensor component 314 , and a communication component 316 .

[0142] The processing component 302 generally controls the overall operation of the vehicle light control system 300. The processing component 302 may include one or more processors 320 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 302 may include one or more modules to facilitate the interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate the interaction between the multimedia component 308 and the processing component 302.

[0143] The memory 304 is configured to store various types of data to support the operation of the vehicle light control system 300. Examples of such data include instructions for any application or method operating on the vehicle light control system 300, such as text, pictures, videos, etc. The memory 304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0144] The power supply assembly 306 provides power to the various components of the vehicle light control system 300. The power supply assembly 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the vehicle light control system 300.

[0145] The multimedia component 308 includes a screen that provides an output interface between the vehicle light control system 300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 may also include a front camera and / or a rear camera. When the vehicle light control system 300 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0146] The audio component 310 is configured to output and / or input audio signals. For example, the audio component 310 includes a microphone (MIC), and when the vehicle light control system 300 is in an operation mode, such as an alarm mode, a recording mode, a voice recognition mode, and a voice output mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 304 or sent via the communication component 316. In some embodiments, the audio component 310 also includes a speaker for outputting audio signals.

[0147] I / O interface 312 provides an interface between processing component 302 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0148] The sensor assembly 314 includes one or more sensors for providing various aspects of status assessment for the vehicle light control system 300. For example, the sensor assembly 314 may include a sound sensor. In addition, the sensor assembly 314 may detect the on / off state of the vehicle light control system 300, the relative positioning of components, such as the display and keypad of the vehicle light control system 300, and the sensor assembly 314 may also detect the operating state of the vehicle light control system 300 or a component of the vehicle light control system 300, such as the operating state of the air distribution plate, the structural state, the operating state of the material discharging scraper, etc., the orientation or acceleration / deceleration of the vehicle light control system 300 and the temperature change of the vehicle light control system 300. The sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 314 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, a material accumulation thickness sensor or a temperature sensor.

[0149] The communication component 316 is configured to enable the vehicle light control system 300 to provide the ability to communicate with other devices and cloud platforms in a wired or wireless manner. The vehicle light control system 300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0150] In an exemplary embodiment, the vehicle light control system 300 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the vehicle light control method described in any of the above embodiments.

[0151] The present application also provides a computer-readable storage medium. When the instructions in the storage medium are executed by a processor corresponding to the vehicle light control system, the vehicle light control system can implement the vehicle light control method recorded in any one of the above embodiments.

[0152] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0153] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0154] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0155] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0156] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A vehicle light control method, characterized in that: include: When the MCU interacts with the vehicle light control module via wireless communication, the MCU reads the control instruction from the control queue; Polling multiple preset caches in the MCU to determine whether there is an idle cache; When there is an idle cache, sending the control instruction to the first cache in an idle state through the MCU; Using the first buffer as a sending buffer to send the control instruction to a vehicle light control module; While sending the control instruction to the vehicle light control module through the first cache, reading the next control instruction from the control queue through the MCU; The next control instruction in the control queue is sent to the second cache in an idle state by the MCU until there is no idle cache in the plurality of preset caches or all the control instructions in the control queue are read.

2. The method according to claim 1, characterized in that The method further comprises: When a preset event is detected, a control instruction is generated; The generated control instructions are stored in the control queue.

3. The method according to claim 1, characterized in that The method further comprises: When the vehicle is powered on, determine whether the wireless communication method between the MCU and the lighting control module is available; When the wireless communication method is available, determining that the communication method with the vehicle light control module is the wireless communication method; When the wireless communication mode is unavailable, the communication mode with the vehicle light control module is determined to be a wired communication mode.

4. The method according to claim 1, characterized in that The method further comprises: When the buffer sends the same control instruction as the sending buffer, sending the control instruction to the vehicle light control module; When the data corresponding to the control instruction has been sent, determining whether the number of times the same control instruction has been sent has reached a maximum number; When the number of times the same control instruction is sent does not reach the maximum number, the control instruction is sent to the vehicle light control module again.

5. The method according to claim 4, characterized in that The step of sending the control instruction to the vehicle light control module comprises: The sending buffer sends the data corresponding to the control instruction to the wireless communication module; After all the data corresponding to the control instruction are sent to the wireless communication module, the sending buffer sends a first trigger signal to the wireless communication module to inform the wireless communication module that the data has been sent; When the wireless communication module receives the trigger signal, the wireless communication module sends the data corresponding to the control instruction to the vehicle light control module; After all the data corresponding to the control instruction are sent to the vehicle light control module, the wireless communication module sends a second trigger signal to the sending buffer to inform the sending buffer that the data corresponding to the control instruction has been sent.

6. The method according to claim 1, characterized in that The method further comprises: After the sending buffer sends the control instruction to the vehicle light control module, the data of the plurality of preset buffers are synchronized.

7. The method according to claim 6, characterized in that The step of synchronizing the data of the plurality of preset caches includes: The pointers of the sending buffer and the free buffer are exchanged to copy the data of the sending buffer to the free buffer.

8. A vehicle light control device, characterized in that: include: A first reading module, used for reading control instructions from a control queue through the MCU when the MCU interacts with the vehicle light control module through wireless communication; A first determination module, configured to poll a plurality of preset caches in the MCU to determine whether there is an idle cache; A second judgment module is used to send a control instruction to a first cache in an idle state through the MCU when there is an idle cache; A first sending module, configured to use the first buffer as a sending buffer to send the control instruction to a vehicle light control module; A second reading module, configured to read a next control instruction from a control queue through the MCU while sending the control instruction to the vehicle light control module through the first cache; The second sending module is used to send the next control instruction in the control queue to the second cache in an idle state through the MCU until there is no idle cache in the multiple preset caches or all control instructions in the control queue are read.

9. A vehicle light control system, characterized in that: include: at least one processor; as well as, 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 to implement the vehicle light control method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor corresponding to the vehicle light control system, the vehicle light control system can implement the vehicle light control method as described in any one of claims 1 to 7.