Vehicle light fault processing method and device, equipment and storage medium
By using the communication method between the daisy-chained control chip and the controller in the automotive vehicle lighting control system, the problem of failures that cannot be timely identified and reported when a single LED is not on in the prior art is solved, and a more effective treatment of vehicle lighting failures is achieved, ensuring the safety and compliance of the vehicle.
Patent Information
- Application Number
- CN202411954660.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-01
AI Technical Summary
The existing automotive and vehicle lighting control system cannot identify and report faults in time when a single LED is not on, resulting in safety hazards; and failure reports are only made when all light areas are not on as a whole, which may lead to unnecessary fault reporting of LED light beads with low perception.
The communication method between the daisy-chained control chip and the controller is used to determine the location and severity of the vehicle's lighting failure by receiving and comparing the light control data sent by the controller with the command returned by the tail chip.
It realizes that the fault can be identified and reported immediately when a single light area is not on, avoiding unnecessary waste of resources caused by the single light bead, and ensuring the safety and compliance of vehicle driving.
Smart Images

Figure CN119743880A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle lighting control, and in particular to a method and device for processing vehicle lighting failure, an electronic device and a storage medium. Background Art
[0002] In existing automotive lighting control systems, two strategies are usually used to handle lighting failures: one is to report a failure when a single LED (Light Emitting Diode) lamp bead fails to light up, and the other is to report a failure only when all lighting areas fail to light up. However, both methods have certain limitations.
[0003] First, regarding the strategy of reporting a fault when a single LED is not lit, since the number of LED lamp beads managed by the vehicle lighting control system is huge, close to a thousand, some of which have a low degree of participation in the vehicle lighting pattern and have limited impact on the overall lighting effect. Therefore, if a fault report is triggered only because a single LED is not lit, it may lead to unnecessary fault reports for those LED lamp beads with low perception, thereby amplifying the severity of the problem. Secondly, regarding the strategy of reporting a fault only when all lighting areas are not lit as a whole, the system will not issue a fault report when a single lighting area is not lit. However, the non-lighting of a single lighting area has a significant impact on the overall effect of the vehicle lighting, and may even cause the driver to violate traffic regulations. This strategy fails to identify and report local faults in a timely manner, which may lead to safety hazards.
[0004] Therefore, the vehicle field urgently needs a method for handling vehicle lighting faults that does not report when a single lamp bead is not lit, but can immediately report the fault when a single lighting area is not lit, so as to solve the deficiencies in the existing technology. Summary of the invention
[0005] An embodiment of the present application provides a method for handling vehicle lighting failures to solve the problem of how to provide a method for handling vehicle lighting failures that does not report when a single lamp bead is not lit, but can immediately report a fault when a single lighting area is not lit.
[0006] Correspondingly, the embodiments of the present application also provide a vehicle lighting failure processing device, an electronic device and a storage medium to ensure the implementation and application of the above method.
[0007] In order to solve the above problems, an embodiment of the present application discloses a method for processing a vehicle light failure, which is applied to a vehicle light control system, wherein the vehicle light control system includes a controller and a plurality of control chips, wherein the plurality of control chips are connected in a daisy chain manner according to a preset connection sequence, wherein the controller is connected to a head chip and a tail chip of the plurality of control chips connected according to the preset connection sequence, wherein the vehicle light is divided into vehicle lights of a plurality of light areas, and each of the control chips controls a vehicle light of the light area correspondingly, and the method includes:
[0008] receiving light control data sent by the controller, wherein the light control data is used to update the vehicle light status;
[0009] According to the preset connection sequence, the light control data is transmitted to the control chip one by one, so that the control chip updates the vehicle lights of the corresponding light area according to the light control data;
[0010] After the transmission is completed, receiving instruction receiving data, the instruction receiving data is generated according to the lighting control data transmitted to the controller by the tail chip;
[0011] Comparing the instruction receiving data with the lighting control data to obtain a comparison result;
[0012] A fault determination result of the vehicle light fault is determined according to the comparison result.
[0013] Optionally, determining the fault determination result of the vehicle lighting fault according to the comparison result includes:
[0014] If the command receiving data is inconsistent with the light control data, the fault position in the daisy chain is determined according to the light control data and the command receiving data.
[0015] Optionally, determining a fault location in the daisy chain according to the lighting control data and the command receiving data includes:
[0016] If the lighting control data is all-zero data, and the instruction receiving data is not all-zero data, it is determined that there is a fault in the connection between the controller and the head chip;
[0017] If the lighting control data contains non-zero data for each of the control chips, and the instruction receiving data is all zero data, it is determined that there is a fault in the connection between the controller and the tail chip.
[0018] Optionally, determining a fault location in the daisy chain according to the lighting control data and the command receiving data includes:
[0019] If the light control data is different from the last light control data, and the last light control data and the light control data have non-zero data for each control chip, the fault position in the daisy chain is determined according to the instruction reception data.
[0020] Optionally, transmitting the lighting control data to the control chip one by one according to the preset connection sequence includes:
[0021] When the light control data is transmitted to the current control chip, after controlling the current control chip to receive the light control data, the light control data required by the current control chip is screened out from the light control data;
[0022] If the current control chip is not the tail chip, after the current control chip receives the light control data required by the current control chip, the light control data is transmitted to the next control chip according to the preset connection sequence;
[0023] According to the light control data required by the current control chip, the vehicle light state of the light area corresponding to the current control chip is updated.
[0024] Optionally, each of the control chips includes a serial input terminal and a serial output terminal, and the serial output terminal of each of the control chips except the tail chip is connected to the serial input terminal of the next control chip, and the light control data is transmitted to the control chips one by one according to the preset connection sequence, including:
[0025] When the light control data is transmitted to the serial input terminal of the current control chip, after controlling the current control chip to receive the light control data, the light control data required by the current control chip is screened out from the light control data;
[0026] receiving a latch signal sent by the controller;
[0027] According to the latch signal, controlling the current control chip to receive the lighting control data required by the current control chip;
[0028] If the current control chip is not the tail chip, the light control data is transmitted to the serial output end of the next control chip according to the preset connection sequence.
[0029] Optionally, the serial input end of the head chip is connected to the controller, the serial output end of the tail chip is connected to the controller, and the receiving of the lighting control data sent by the controller includes:
[0030] Receiving the lighting control data sent by the controller through the serial input terminal of the head chip;
[0031] After controlling the current control chip to collect the lighting control data required by the current control chip, the method further includes:
[0032] If the current control chip is the tail chip, the instruction reception data is generated according to the light control data transmitted to the tail chip, and the instruction reception data is returned to the controller through the serial output end of the tail chip.
[0033] The embodiment of the present application further discloses a vehicle light fault processing device, which is applied to a vehicle light control system, wherein the vehicle light control system comprises a controller and a plurality of control chips, wherein the plurality of control chips are connected in a daisy chain manner according to a preset connection sequence, wherein the controller is connected to a head chip and a tail chip of the plurality of control chips connected according to the preset connection sequence, wherein the vehicle light is divided into vehicle lights of a plurality of light areas, and each of the control chips controls a corresponding vehicle light of the light area, and the device comprises:
[0034] A control instruction receiving module, used for receiving a light control instruction sent by the controller, wherein the light control instruction is used for updating the vehicle light status;
[0035] A control instruction transmission module, used to transmit the light control instructions to the control chip one by one according to the preset connection sequence, so that the control chip updates the vehicle lights of the corresponding light area according to the light control data;
[0036] A receiving data return module, used for receiving the instruction receiving data after the transmission is completed, wherein the instruction receiving data is generated according to the lighting control data transmitted to the controller by the tail chip;
[0037] A data comparison module, used for comparing the instruction receiving data with the lighting control data to obtain a comparison result;
[0038] The lighting fault judgment module is used to determine the fault judgment result of the vehicle lighting fault according to the comparison result.
[0039] An embodiment of the present application also discloses an electronic device, including: a processor; and a memory, on which executable code is stored. When the executable code is executed, the processor executes a method for processing vehicle lighting failure as described in one or more of the embodiments of the present application.
[0040] The embodiments of the present application also disclose one or more machine-readable media on which executable codes are stored. When the executable codes are executed, a processor executes a method for processing vehicle lighting failure as described in one or more of the embodiments of the present application.
[0041] Compared with the prior art, the embodiments of the present application have the following advantages:
[0042] In the embodiment of the present application, the light control data sent by the controller is received, and the light control data is used to update the vehicle light status; the light control data is transmitted to the control chip one by one according to the preset connection order, so that the control chip updates the vehicle light of the corresponding light area according to the light control data; after the transmission is completed, the instruction reception data is received, and the instruction reception data is generated according to the light control data transmitted to the controller by the tail chip; the instruction reception data is compared with the light control data to obtain a comparison result; and the fault judgment result of the vehicle light fault is determined according to the comparison result. The embodiment of the present application adopts a daisy chain control chip connection and communication method, and judges whether there is a fault by comparing the instruction reception data returned by the tail chip with the original light control data. When a single light area is not lit, it can be immediately identified and notified to the technician through fault reporting, so as to avoid affecting the normal lighting effect of the vehicle due to light failure in all light areas, and also avoid unnecessary waste of resources caused by reporting when a single lamp bead is not lit, so as to achieve more effective processing of vehicle light faults and ensure the safety and compliance of vehicle driving. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a flowchart of the steps of an embodiment of a method for handling vehicle lighting failure of the present application;
[0044] Figure 2 This is a schematic diagram of a lighting area in an embodiment of a method for handling a vehicle lighting failure of the present application;
[0045] Figure 3 This is a schematic diagram of the control chip structure of an embodiment of a method for processing vehicle lighting failure of the present application;
[0046] Figure 4 It is a system structure diagram of an embodiment of a method for processing a vehicle lighting failure of the present application;
[0047] Figure 5 It is a structural block diagram of an embodiment of a vehicle lighting fault processing device of the present application;
[0048] Figure 6 It is a schematic diagram of the structure of a device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0049] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0050] Reference Figure 1 , is a flowchart of an embodiment of a method for handling a vehicle lighting failure of the present application, comprising the following steps:
[0051] Step 101: Receive light control data sent by the controller, where the light control data is used to update the vehicle light status.
[0052] A method for handling vehicle lighting failure provided in an embodiment of the present application is applied to a vehicle lighting control system, which includes a controller and several control chips. In one example, the vehicle lighting control system may include 5 to 6 control chips. These control chips are connected in a daisy chain according to a preset connection sequence, and communicate in an SPI (Serial Peripheral Interface, a synchronous serial communication interface) daisy chain communication structure. There is a connection between the controller and the first chip and the last chip of the several control chips connected in a preset connection sequence, that is, there is a connection between the controller and the first control chip, and between the controller and the last chip.
[0053] In an optional embodiment, the vehicle lights can be divided into several lighting areas, and each control chip controls the vehicle lights of one lighting area. These lighting areas are composed of several LED lamp beads, and the control chip actually controls all LED lamp beads in the corresponding lighting area.
[0054] Reference Figure 2 , is a schematic diagram of the lighting area of an embodiment of a method for handling vehicle lighting failure of the present application.
[0055] like Figure 2 As shown, Figure 2 This is a simplified schematic diagram of the lighting area of a vehicle light. The vehicle light consists of five lighting areas, namely, area 1, area 2, area 3, area 4, and area 5. Correspondingly, each area contains a number of LED lamp beads. Those skilled in the art should know that Figure 2 The number of LED lamp beads shown in the figure is only a simplified expression. The actual number of LED lamp beads is generally more than Figure 2 In this embodiment, the five light zones are controlled by five control chips respectively. In one example, the five control chips are IC1 to IC5. The first IC1 is connected to the controller, and the IC1 to IC5 are connected in daisy chain in sequence, and the last IC5 is connected to the controller.
[0056] Before step 101, in one embodiment, before transmitting the light control data, the light control data required by each control chip can be synthesized into one frame of light control data. Specifically, the light control data includes the light control data required by each control chip. In one embodiment, MCU (Microcontroller Unit) software can be used to synthesize the light control data required by each control chip into one frame of light control data. For example, assuming that in the control chips IC1 to IC6, the light control data required by each control chip are D1, D2, D3, D4, D5, and D6, respectively, and the size is 769 bits, then after synthesis, the light control data is D1_D2_D3_D4_D5_D6, and the size is 769*6 bits.
[0057] In step 101, light control data sent by the controller is received, and the light control data is used to update the vehicle light state. In an optional embodiment, the light control instruction sent by the controller is received by the head chip. In another optional embodiment, the light control data includes light control data corresponding to different light areas, and the light control data is composed of light brightness data and other parameter data. The control chip can use the corresponding light control data to control the corresponding light control area.
[0058] Step 102: transmitting the light control data to the control chip one by one according to the preset connection sequence, so that the control chip updates the vehicle lights of the corresponding light area according to the light control data.
[0059] In step 102, the light control data is transmitted to the control chip one by one according to the preset connection sequence. After the control chip receives the data of the corresponding light area, it uses the light control data to update the vehicle light of the corresponding light area. For example, if the control chips are connected in the order of IC1 to IC5, the transmission order of the light control data is IC1, IC2, IC3, IC4, IC5.
[0060] In an optional embodiment, when the light control data is transmitted to the current control chip, after the current control chip receives the light control data, the light control data required by the current control chip is screened out, so that the current control chip receives the corresponding light control data. If the current control chip is not the tail chip, after receiving the data, all the light control data will continue to be transmitted to the next control chip in sequence. For example, when the light control data D1-D5 are transmitted to the control chip IC3, after the control chip IC3 receives the corresponding light control data D3, the light control data D1-D5 will continue to be transmitted to the next control chip IC4.
[0061] Step 103: after the transmission is completed, receiving instruction receiving data, the instruction receiving data is generated according to the lighting control data transmitted to the controller by the tail chip.
[0062] In step 103, after the transmission is completed, that is, after all control chips have received the corresponding light control data, the controller can receive the light control data returned to the controller by the tail chip, and generate instruction receiving data according to the light control data. That is, the acquired instruction receiving data is generated by the light control data that the last tail chip can transmit to the controller.
[0063] Step 104: Compare the instruction receiving data with the lighting control data to obtain a comparison result.
[0064] In step 104, the instruction reception data generated by the lighting control data transmitted by the tail chip received by the controller is compared with the lighting control data sent by the controller to the head chip to obtain a comparison result, thereby determining whether there is a fault in the daisy-chain control chip connection line based on the comparison result.
[0065] In one embodiment, since during a lighting update process, in the absence of any faults, each control chip can receive the corresponding lighting control data, the lighting control data transmitted from the tail chip to the controller should also be complete and the same as the lighting control data of this lighting update, that is, during the same lighting update, the instruction reception data and the lighting control data are normally the same.
[0066] Therefore, the instruction receiving data can be compared with the light control data. If the instruction receiving data is inconsistent with the light control data, it can be determined that the vehicle light is faulty.
[0067] In an example, assuming that in the control chips IC1~IC6, the light control data required by each control chip are D1, D2, D3, D4, D5, D6, and the size is 769 bits, then all the light control data are D1_D2_D3_D4_D5_D6, and the size is 769*6 bits. When the connection is normal, each control chip can receive the corresponding light control data and transmit the light control data to the next control chip. Therefore, the instruction reception data generated according to the light control data transmitted from the tail chip to the controller should be D1_D2_D3_D4_D5_D6, and the size is also 769*6bit, which is consistent with the light control data; in the case of connection problems, for example, if the light update is the first light update, that is, there is no light control data in each control chip before the update, and the connection between IC3 and IC4 is disconnected, then IC4 cannot receive the light control data transmitted by IC3, and the light area corresponding to IC4 fails. Therefore, the tail chip IC6 cannot receive the light control data, and the generated abnormal instruction reception data is 00_00_00_00_00_00, which is inconsistent with the light control data. It can be judged that there is a vehicle light failure in at least one light area.
[0068] In one embodiment, if the control chip already has the last updated light control data before this update, the control chip that cannot receive the new light control data will return the last light control data, which will also cause the instruction receiving data generated according to the light control data transmitted to the controller by the tail chip to be different from the light control data updated this time, and it is determined that at least one light area has a vehicle light failure. For example, if the last light update data is D1_D2_D3_D4_D5_D6, when D1_D2_D3_D4_D5_D6 is updated this time, the connection between IC3 and IC4 is disconnected, then IC4 cannot receive the light control data transmitted by IC3, and the light area corresponding to IC4 fails, so the tail chip IC6 cannot receive the light control data, and the generated abnormal instruction receiving data is 00_00_00_D4_D5_D6, which is inconsistent with the current light control data D1_D2_D3_D4_D5_D6, and it can be determined that at least one light area has a vehicle light failure.
[0069] In this embodiment, since the control chips are connected in a daisy chain, as long as a connection of a control chip somewhere fails, the lighting area corresponding to the next control chip at the failed location will fail. At this time, by comparing the instruction received data with the lighting control data, it can be known that the connection has failed, thereby realizing fault perception of a single lighting area.
[0070] Step 105: Determine a fault determination result of the vehicle lighting fault according to the comparison result.
[0071] In step 105, a fault determination result of the vehicle light fault may be further determined based on the comparison result, that is, the specific connection position where the fault occurs may be determined.
[0072] In one embodiment, if the fault location cannot be determined directly by comparing the command receiving data with the light control data, preset light control data for testing may be sent to the daisy chain to determine the fault location.
[0073] In one embodiment, after confirming that a vehicle lighting fault occurs, the vehicle lighting fault is reported to the vehicle control system so that the vehicle control system records fault information corresponding to the vehicle lighting fault, namely DTC (Diagnostic Trouble Codes, reporting faults and recording diagnostic trouble codes).
[0074] In the embodiment of the present application, the light control data sent by the controller is received, and the light control data is used to update the vehicle light status; the light control data is transmitted to the control chip one by one according to the preset connection order, so that the control chip updates the vehicle light of the corresponding light area according to the light control data; after the transmission is completed, the instruction reception data is received, and the instruction reception data is generated according to the light control data transmitted to the controller by the tail chip; the instruction reception data is compared with the light control data to obtain a comparison result; and the fault judgment result of the vehicle light fault is determined according to the comparison result. The embodiment of the present application adopts a daisy chain control chip connection and communication method, and judges whether there is a fault by comparing the instruction reception data returned by the tail chip with the original light control data. When a single light area is not lit, it can be immediately identified and notified to the technician through fault reporting, so as to avoid affecting the normal lighting effect of the vehicle due to light failure in all light areas, and also avoid unnecessary waste of resources caused by reporting when a single lamp bead is not lit, so as to achieve more effective processing of vehicle light faults and ensure the safety and compliance of vehicle driving.
[0075] In an optional embodiment of the present application, determining the fault determination result of the vehicle lighting fault according to the comparison result includes:
[0076] If the command receiving data is inconsistent with the light control data, the fault position in the daisy chain is determined according to the light control data and the command receiving data.
[0077] In this embodiment, if the command receiving data is inconsistent with the light control data, it can be determined that the vehicle light is faulty, and the specific connection where the fault occurs can be determined by comparing the command receiving data with the light control data. If the fault location cannot be determined directly based on the comparison result between the command receiving data and the light control data, preset test light control data can be further sent to the daisy chain, and the command receiving data obtained by the test can be compared with the test light control data to determine the fault location.
[0078] The embodiment of the present application can determine that the vehicle lighting is faulty when the command receiving data is inconsistent with the lighting control data, so that when a single lighting area does not light up, it can be immediately identified and the technician can be notified through a fault report.
[0079] In an optional embodiment of the present application, the determining the fault location in the daisy chain according to the lighting control data and the command receiving data includes:
[0080] If the lighting control data is all-zero data, and the instruction receiving data is not all-zero data, it is determined that there is a fault in the connection between the controller and the head chip;
[0081] If the lighting control data contains non-zero data for each of the control chips, and the instruction receiving data is all zero data, it is determined that there is a fault in the connection between the controller and the tail chip.
[0082] In this embodiment, if the light control data is all zero data and the command receiving data is not all zero data, it is determined that there is a fault in the connection between the controller and the head chip. In one embodiment, the light control data can be the light control data updated this time, or it can be the light control data for testing transmitted to specifically determine the fault location.
[0083] For example, if the link contains 1 controller MCU and 6 control chips IC1~IC6, when the data link in the daisy chain is disconnected at MCU->IC1, the disconnection here will cause all control chips to be unable to receive the data updated by the MCU this time. The control chip retains the light control data of the last update before the disconnection. When the light control data to be updated in the link is all zero data 00-00-00-00-00-00, since the data stored in IC1~IC6 is the data D1-D2-D3-D4-D5-D6 before the disconnection and cannot receive new light control data, the command reception data obtained in this update is D1-D2-D3-D4-D5-D6. Therefore, it can be judged that the command reception data obtained in this update is not all 0, and the disconnection position is the break between the MCU and the first control chip.
[0084] In this embodiment, if the light control data has non-zero data for each control chip, and the instruction receiving data is all zero data, it is determined that there is a fault in the connection between the controller and the tail chip. In one embodiment, the light control data can be the light control data updated this time, or it can be the light control data for testing transmitted to specifically determine the fault location.
[0085] For example, if the link contains 1 controller MCU and 6 control chips IC1~IC6, when the data link in the daisy chain is disconnected at IC6->MCU, although all control chips can be updated to the new light control data, the MCU cannot receive the new light control data returned by IC6, so the generated instruction reception data is all-zero data 00-00-00-00-00-00. At this time, if the updated graphic data is D1-D2-D3-D4-D5-D6, the disconnection position can be judged as the connection between the MCU and the last chip through the instruction reception data being all 0.
[0086] The embodiment of the present application can further confirm the fault location of the daisy chain by comparing the command reception data with the light control data, thereby achieving more effective processing of vehicle light faults.
[0087] In an optional embodiment of the present application, the determining the fault location in the daisy chain according to the lighting control data and the command receiving data includes:
[0088] If the light control data is different from the last light control data, and the last light control data and the light control data have non-zero data for each control chip, the fault position in the daisy chain is determined according to the instruction reception data.
[0089] In this embodiment, if it is necessary to determine the fault position of the connection between the control chips, the fault position in the daisy chain can be determined according to the instruction receiving data when the lighting control data is different from the previous lighting control data and the previous lighting control data and the lighting control data have non-zero data for each control chip. In one embodiment, the lighting control data can be the lighting control data updated this time, or it can be the lighting control data for testing transmitted to specifically determine the fault position.
[0090] For example, if the link contains 1 controller MCU and 6 control chips IC1~IC6, when the data link in the daisy chain is disconnected at ICx->ICy, the disconnection here will cause the control chip in front of the disconnection position to update the data, but it cannot transmit the updated light control data to ICy and the control chips after it. Therefore, the control chip behind the disconnection position cannot update the data, but the control chip behind the disconnection position still saves the last light control data. If the last light control data is X1-X2-X3-X4-X5-X6, the updated data this time is Y1-Y2-Y3-Y4-Y5-Y6, if the disconnection position is between the third and fourth control chips, the command received data that can be obtained is 00-00-00-X4-X5-X6, and the position of the zero data can be determined based on the command received data, so that the position at X3->X4 is the disconnection position.
[0091] The embodiment of the present application can further confirm the fault location of the daisy chain by comparing the command reception data with the light control data, thereby achieving more effective processing of vehicle light faults.
[0092] In an optional embodiment of the present application, transmitting the lighting control data to the control chip one by one according to the preset connection sequence includes:
[0093] When the light control data is transmitted to the current control chip, after controlling the current control chip to receive the light control data, the light control data required by the current control chip is screened out from the light control data;
[0094] If the current control chip is not the tail chip, after the current control chip receives the light control data required by the current control chip, the light control data is transmitted to the next control chip according to the preset connection sequence;
[0095] According to the light control data required by the current control chip, the vehicle light state of the light area corresponding to the current control chip is updated.
[0096] In this embodiment, when the light control instruction is transmitted to the current control chip, after the current control chip receives the light control data, the light control data required by the current control chip is screened out, and the light control data required by the current control chip is collected. If the current control chip is not the tail chip, after receiving the data, the light control data is transmitted to the next control chip in a preset connection sequence, so that the next control chip performs the same steps. For example, if the light control data is transmitted to the current control chip IC3, and the light control data is D1_D2_D3_D4_D5_D6, then after IC3 screens and receives the light control data D3, it transmits the light control data to the next control chip IC4.
[0097] After the current control chip receives the light control data required by the control chip, the vehicle light state of the light area corresponding to the current control chip is updated according to the light control data required by the current control chip. In one example, the parameters such as the brightness of the LED lamp beads and the lighting pattern of the light area can be updated according to the light control data.
[0098] The embodiment of the present application transmits lighting control data in sequence on a daisy chain connection structure, so that when a connection fails somewhere, that is, when a lighting area fails, the fault can be identified immediately.
[0099] In an optional embodiment of the present application, each of the control chips includes a serial input terminal and a serial output terminal, and the serial output terminal of each of the control chips except the tail chip is connected to the serial input terminal of the next control chip, and the light control data is transmitted to the control chips one by one according to the preset connection sequence, including:
[0100] When the light control data is transmitted to the serial input terminal of the current control chip, after controlling the current control chip to receive the light control data, the light control data required by the current control chip is screened out from the light control data;
[0101] receiving a latch signal sent by the controller;
[0102] According to the latch signal, controlling the current control chip to receive the lighting control data required by the current control chip;
[0103] If the current control chip is not the tail chip, the light control data is transmitted to the serial output end of the next control chip according to the preset connection sequence.
[0104] In this embodiment, each control chip includes a serial input terminal and a serial output terminal. The serial output terminal of each control chip except the tail chip is connected to the serial input terminal of the next control chip. The serial input terminal is used to receive lighting control instructions, and the serial output terminal is used to send lighting control instructions to the next control chip; for the tail chip, the serial output terminal is used to send instructions to the controller to receive data.
[0105] Specifically, when the light control data is transmitted to the serial input terminal of the current control chip, the current control chip will receive the light control data and filter out the light control data required by the current control chip. At this time, the controller will generate a latch signal. After the current control chip receives the latch signal sent by the controller, it will receive the light control data required by the current control chip according to the latch signal. After receiving the light control data, if the current control chip is not the last chip, the light control data will be transmitted to the serial output terminal of the next control chip according to the preset connection sequence.
[0106] The embodiment of the present application connects the control chips in a daisy chain according to a preset connection sequence and communicates in an SPI daisy chain communication structure, so that when a connection fails somewhere, that is, when a lighting area fails, the fault can be immediately identified.
[0107] In an optional embodiment of the present application, the serial input end of the head chip is connected to the controller, the serial output end of the tail chip is connected to the controller, and the receiving of the lighting control data sent by the controller includes:
[0108] Receiving the lighting control data sent by the controller through the serial input terminal of the head chip;
[0109] After controlling the current control chip to collect the lighting control data required by the current control chip, the method further includes:
[0110] If the current control chip is the tail chip, the light control data is returned to the controller through the serial output terminal of the tail chip, so that the controller generates the instruction receiving data according to the received light control data.
[0111] In this embodiment, the serial input end of the head chip is connected to the controller, and the serial output end of the tail chip is connected to the controller. For the head chip, it is necessary to receive the light control data sent by the controller through the serial input end of the head chip; for the tail chip, after receiving the corresponding light control data, it is necessary to return the light control data to the controller through the serial output end of the tail chip, so that the controller generates an instruction to receive data according to the received light control data.
[0112] The embodiment of the present application connects the head chip and the tail chip to the controller respectively, completes the reception of light control data and the return of command reception data, and can further realize the judgment of vehicle light failure.
[0113] In an optional embodiment of the present application, the method may further include:
[0114] Comparing the instruction receiving data with the lighting control data in the lighting control instruction for data integrity, and if the instruction receiving data is inconsistent with the lighting control data, updating the number of communication anomalies;
[0115] When the number of communication anomalies reaches a preset number, it is determined to be a vehicle light failure.
[0116] In this embodiment, in order to reduce the probability of misjudgment, the vehicle lighting failure is determined only when the command receiving data and the lighting control data are found to be inconsistent for multiple times. Specifically, the command receiving data and the lighting control data are compared for data integrity. If the command receiving data and the lighting control data are inconsistent, the number of communication anomalies is updated. When the number of communication anomalies reaches a preset number, it is determined that the vehicle lighting failure occurs.
[0117] The embodiment of the present application determines that the vehicle lighting failure occurs only when the number of communication anomalies reaches a preset number, which can reduce the probability of misjudgment. At the same time, it can also ensure that the normal lighting effect of the vehicle is not affected by the lighting failure, thereby achieving more sensitive and effective processing of the vehicle lighting failure.
[0118] In the embodiment of the present application, the light control data sent by the controller is received, and the light control data is used to update the vehicle light status; the light control data is transmitted to the control chip one by one according to the preset connection order, so that the control chip updates the vehicle light of the corresponding light area according to the light control data; after the transmission is completed, the instruction reception data is received, and the instruction reception data is generated according to the light control data transmitted to the controller by the tail chip; the instruction reception data is compared with the light control data to obtain a comparison result; and the fault judgment result of the vehicle light fault is determined according to the comparison result. The embodiment of the present application adopts a daisy chain control chip connection and communication method, and judges whether there is a fault by comparing the instruction reception data returned by the tail chip with the original light control data. When a single light area is not lit, it can be immediately identified and notified to the technician through fault reporting, so as to avoid affecting the normal lighting effect of the vehicle due to light failure in all light areas, and also avoid unnecessary waste of resources caused by reporting when a single lamp bead is not lit, so as to achieve more effective processing of vehicle light faults and ensure the safety and compliance of vehicle driving.
[0119] The following will combine Figure 3 and Figure 4 , a vehicle lighting failure processing method and a vehicle lighting control system provided in an embodiment of the present application are described in detail so that those skilled in the art can better understand the contents of the embodiment of the present application.
[0120] Reference Figure 3 , is a schematic diagram of the control chip structure of an embodiment of a method for processing vehicle lighting failure of the present application.
[0121] like Figure 3 As shown, Figure 3 The structure of a control chip that can be used in the embodiment of the present application is shown in FIG. Among them, the OUTB0~OUTB15, OUTG0~OUTG15, OUTR0~OUTR15 pins are used to connect LED lamp beads; Thermal pad is a thermal pad; GND is a ground terminal; GSCLK is a global system clock signal; SCLK is a synchronous clock; V CC is the power supply; LAT is the latch signal; SIN is the serial input terminal; SOUT is the serial output terminal, etc.
[0122] SIN is used to connect the previous control chip or controller, and SOUT is used to connect the next control chip or controller. If the connection between the SIN pin and the previous control chip or controller fails, the control chip cannot receive new light control data.
[0123] Reference Figure 4 , is a system structure diagram of an embodiment of a method for processing vehicle lighting failure of the present application.
[0124] like Figure 4 As shown in the figure, the vehicle lighting control system includes multiple control chips, a controller and multiple LED lamp beads. Only the first chip and the last chip are shown in the figure, and the rest of the chips are omitted. Figure 4 The control chip includes SIN (serial input), SOUT (serial output), SCLK (synchronous clock), LAT (latch signal), GSCLK (global system clock signal), V CC (power), GND (ground) and other ports, OUTR0~OUTB15 on each control chip are connected to control the corresponding 48 LED lamp beads, and the LED lamp beads are further connected to the corresponding power supply V LED connect.
[0125] In the vehicle lighting control system, the Controller's output port DATA is connected to the SIN of the first chip, the SOUT of the first chip is connected to the SIN of the next control chip, and so on, the SOUT of the second-to-last control chip is connected to the SIN of the tail chip, and the SIN of the tail chip is connected to the fault judgment port (Error Read) of the Controller. The SCLK, LAT, and GSCLK of all control chips are connected in parallel to the corresponding ports of the Controller.
[0126] Assuming that the system has control chips IC1~IC6, then Figure 4 The head chip is IC1 and the tail chip is IC6. In this example, it is assumed that the line between IC5 (not shown in the figure) and IC6 is physically disconnected, resulting in the loss of communication of the tail chip IC6 of the daisy chain structure.
[0127] First, the controller determines that the light control data required by each control chip are D1, D2, D3, D4, D5, and D6, each of which is 769 bits in size. These light control data are synthesized to obtain light control data D1_D2_D3_D4_D5_D6, which is 769*6 bits in size and sent to IC1. After the serial input end of IC1 receives the light control data, it filters out the 769-bit light control data required by IC1 in the light control data. At this time, the controller generates a latch signal. After IC1 receives the latch signal, it will receive the light control data required by IC1 according to the latch signal. After receiving the light control data, the light control data is transmitted to the serial output end of IC2 in the preset connection order, and so on, until the light control data passes through the line disconnection point between IC5 and IC6.
[0128] At this time, IC6 cannot receive the light control data, and therefore cannot transmit the light control data to the controller normally. Therefore, the Controller can only generate abnormal command reception data of 00_00_00_00_00_00. The Controller compares the command reception data with the initial light control data, and after finding inconsistencies, it updates the number of communication anomalies. When the number of communication anomalies reaches the preset number, it is determined to be a vehicle light failure, and the vehicle light failure is reported to the vehicle control system.
[0129] In the embodiment of the present application, the light control data sent by the controller is received, and the light control data is used to update the vehicle light status; the light control data is transmitted to the control chip one by one according to the preset connection order, so that the control chip updates the vehicle light of the corresponding light area according to the light control data; after the transmission is completed, the instruction reception data is received, and the instruction reception data is generated according to the light control data transmitted to the controller by the tail chip; the instruction reception data is compared with the light control data to obtain a comparison result; and the fault judgment result of the vehicle light fault is determined according to the comparison result. The embodiment of the present application adopts a daisy chain control chip connection and communication method, and judges whether there is a fault by comparing the instruction reception data returned by the tail chip with the original light control data. When a single light area is not lit, it can be immediately identified and notified to the technician through fault reporting, so as to avoid affecting the normal lighting effect of the vehicle due to light failure in all light areas, and also avoid unnecessary waste of resources caused by reporting when a single lamp bead is not lit, so as to achieve more effective processing of vehicle light faults and ensure the safety and compliance of vehicle driving.
[0130] It should be noted that, for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.
[0131] On the basis of the above embodiments, this embodiment further provides a vehicle lighting failure processing device, which is applied to electronic devices such as terminal devices and servers.
[0132] Reference Figure 5 , shows a structural block diagram of an embodiment of a vehicle lighting fault processing device of the present application, which may specifically include the following modules:
[0133] A control instruction receiving module 501 is used to receive a light control instruction sent by the controller, wherein the light control instruction is used to update the vehicle light status;
[0134] A control instruction transmission module 502, used to transmit the light control instructions to the control chip one by one according to the preset connection sequence, so that the control chip updates the vehicle lights of the corresponding light area according to the light control data;
[0135] A receiving data return module 503 is used to receive instruction receiving data after the transmission is completed, wherein the instruction receiving data is generated according to the lighting control data transmitted from the tail chip to the controller;
[0136] A data comparison module 504, used to compare the instruction receiving data with the lighting control data to obtain a comparison result;
[0137] The lighting fault judgment module 505 is used to determine the fault judgment result of the vehicle lighting fault according to the comparison result.
[0138] Optionally, the fault judgment module 505 includes:
[0139] The fault position determination submodule is used to determine the fault position in the daisy chain according to the light control data and the command reception data if the command reception data and the light control data are inconsistent.
[0140] Optionally, the fault location determination submodule is further used to:
[0141] If the lighting control data is all-zero data, and the instruction receiving data is not all-zero data, it is determined that there is a fault in the connection between the controller and the head chip;
[0142] If the lighting control data contains non-zero data for each of the control chips, and the instruction receiving data is all zero data, it is determined that there is a fault in the connection between the controller and the tail chip.
[0143] Optionally, the fault location determination submodule is further used to:
[0144] If the light control data is different from the last light control data, and the last light control data and the light control data have non-zero data for each control chip, the fault position in the daisy chain is determined according to the instruction reception data.
[0145] Optionally, the control instruction transmission module 502 includes:
[0146] A data screening submodule, for screening out the lighting control data required by the current control chip from the lighting control data after controlling the current control chip to receive the lighting control data when the lighting control data is transmitted to the current control chip;
[0147] A data receiving submodule, for transmitting the light control data required by the current control chip to the next control chip according to the preset connection sequence after the current control chip receives the light control data if the current control chip is not the tail chip;
[0148] The light status update module is used to update the vehicle light status of the light area corresponding to the current control chip according to the light control data required by the current control chip.
[0149] Optionally, each of the control chips includes a serial input terminal and a serial output terminal, and the serial output terminal of each of the control chips except the tail chip is connected to the serial input terminal of the next control chip, and the control instruction transmission module 502 is further used for:
[0150] When the light control data is transmitted to the serial input terminal of the current control chip, after controlling the current control chip to receive the light control data, the light control data required by the current control chip is screened out from the light control data;
[0151] receiving a latch signal sent by the controller;
[0152] According to the latch signal, controlling the current control chip to receive the lighting control data required by the current control chip;
[0153] If the current control chip is not the tail chip, the light control data is transmitted to the serial output end of the next control chip according to the preset connection sequence.
[0154] Optionally, the serial input end of the head chip is connected to the controller, the serial output end of the tail chip is connected to the controller, and the control instruction receiving module 501 is further used to:
[0155] Receiving the lighting control instruction sent by the controller through the serial input terminal of the head chip;
[0156] The device also includes:
[0157] The receiving data generating module is used for returning the lighting control data to the controller through the serial output terminal of the tail chip if the current control chip is the tail chip, so that the controller generates the instruction receiving data according to the received lighting control data.
[0158] In the embodiment of the present application, the light control data sent by the controller is received, and the light control data is used to update the vehicle light status; the light control data is transmitted to the control chip one by one according to the preset connection order, so that the control chip updates the vehicle light of the corresponding light area according to the light control data; after the transmission is completed, the instruction reception data is received, and the instruction reception data is generated according to the light control data transmitted to the controller by the tail chip; the instruction reception data is compared with the light control data to obtain a comparison result; and the fault judgment result of the vehicle light fault is determined according to the comparison result. The embodiment of the present application adopts a daisy chain control chip connection and communication method, and judges whether there is a fault by comparing the instruction reception data returned by the tail chip with the original light control data. When a single light area is not lit, it can be immediately identified and notified to the technician through fault reporting, so as to avoid affecting the normal lighting effect of the vehicle due to light failure in all light areas, and also avoid unnecessary waste of resources caused by reporting when a single lamp bead is not lit, so as to achieve more effective processing of vehicle light faults and ensure the safety and compliance of vehicle driving.
[0159] The embodiment of the present application also provides a non-volatile readable storage medium, which stores one or more modules (programs). When the one or more modules are applied to a device, the device can execute instructions (instructions) of each method step in the embodiment of the present application.
[0160] The present application embodiment provides one or more machine-readable media on which instructions are stored, and when executed by one or more processors, an electronic device executes one or more of the methods described in the above embodiments. In the present application embodiment, the electronic device includes various types of devices such as terminal devices and servers (clusters).
[0161] The embodiments of the present disclosure may be implemented as a device configured as desired using any appropriate hardware, firmware, software, or any combination thereof, and the device may include electronic devices such as terminal devices and servers (clusters). Figure 6 An exemplary apparatus 600 that may be used to implement various embodiments described in this application is schematically illustrated.
[0162] For one embodiment, Figure 6 An exemplary apparatus 600 is shown having one or more processors 602, a control module (chip set) 604 coupled to at least one of the processor(s) 602, a memory 606 coupled to the control module 604, a non-volatile memory (NVM) / storage device 608 coupled to the control module 604, one or more input / output devices 610 coupled to the control module 604, and a network interface 612 coupled to the control module 604.
[0163] The processor 602 may include one or more single-core or multi-core processors, and the processor 602 may include any combination of general-purpose processors or special-purpose processors (such as graphics processors, application processors, baseband processors, etc.). In some embodiments, the device 600 can be used as a terminal device, server (cluster), etc. described in the embodiments of the present application.
[0164] In some embodiments, the apparatus 600 may include one or more computer-readable media (e.g., memory 606 or NVM / storage device 608) having instructions 614 and one or more processors 602 combined with the one or more computer-readable media and configured to execute the instructions 614 to implement a module to perform the actions described in the present disclosure.
[0165] For one embodiment, control module 604 may include any suitable interface controller to provide any suitable interface to at least one of processor(s) 602 and / or any suitable device or component in communication with control module 604 .
[0166] The control module 604 may include a memory controller module to provide an interface to the memory 606. The memory controller module may be a hardware module, a software module, and / or a firmware module.
[0167] The memory 606 may be used, for example, to load and store data and / or instructions 614 for the device 600. For one embodiment, the memory 606 may include any suitable volatile memory, such as a suitable DRAM. In some embodiments, the memory 606 may include double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
[0168] For one embodiment, control module 604 may include one or more input / output controllers to provide an interface to NVM / storage device 608 and input / output device(s) 610 .
[0169] For example, NVM / storage 608 may be used to store data and / or instructions 614. NVM / storage 608 may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable non-volatile storage device(s) (e.g., one or more hard disk drives (HDDs), one or more compact disk (CD) drives, and / or one or more digital versatile disk (DVD) drives).
[0170] NVM / storage device 608 may include storage resources that are physically part of the device on which apparatus 600 is installed, or it may be accessible to the device without being part of the device. For example, NVM / storage device 608 may be accessed via input / output device(s) 610 over a network.
[0171] (One or more) input / output devices 610 may provide an interface for the apparatus 600 to communicate with any other appropriate device, and the input / output device 610 may include a communication component, an audio component, a sensor component, etc. The network interface 612 may provide an interface for the apparatus 600 to communicate through one or more networks, and the apparatus 600 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and / or protocols, for example, access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, etc., or a combination thereof for wireless communication.
[0172] For one embodiment, at least one of the processor(s) 602 may be packaged together with the logic of one or more controllers (e.g., a memory controller module) of the control module 604. For one embodiment, at least one of the processor(s) 602 may be packaged together with the logic of one or more controllers of the control module 604 to form a system-in-package (SiP). For one embodiment, at least one of the processor(s) 602 may be integrated on the same die with the logic of one or more controllers of the control module 604. For one embodiment, at least one of the processor(s) 602 may be integrated on the same die with the logic of one or more controllers of the control module 604 to form a system-on-chip (SoC).
[0173] In various embodiments, the device 600 may be, but is not limited to, a terminal device such as a server, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet computer, a netbook, etc.). In various embodiments, the device 600 may have more or fewer components and / or different architectures. For example, in some embodiments, the device 600 includes one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an application-specific integrated circuit (ASIC), and a speaker.
[0174] Among them, the main control chip can be used as a processor or control module in the detection device, sensor data, location information, etc. are stored in a memory or NVM / storage device, the sensor group can be used as an input / output device, and the communication interface may include a network interface.
[0175] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0176] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0177] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks 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 vehicle light fault processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable vehicle light fault processing terminal device generate instructions for implementing the processes in the flowchart. 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.
[0178] These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable vehicle light failure processing terminal device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which is implemented in the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0179] These computer program instructions can also be loaded onto a computer or other programmable vehicle light failure processing terminal device, so that a series of operation steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable terminal device provide 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.
[0180] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.
[0181] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0182] The above is a detailed introduction to a method and device for processing a vehicle lighting failure, an electronic device and a storage medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for a person skilled in the art, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for handling vehicle lighting failure, characterized in that: Applied to a vehicle lighting control system, the vehicle lighting control system comprises a controller and a plurality of control chips, the plurality of control chips are connected in a daisy chain manner according to a preset connection sequence, the controller is connected to a head chip and a tail chip of the plurality of control chips connected according to the preset connection sequence, the vehicle lighting is divided into vehicle lighting of a plurality of lighting areas, each of the control chips controls the vehicle lighting of one of the lighting areas, and the method comprises: receiving light control data sent by the controller, wherein the light control data is used to update the vehicle light status; According to the preset connection sequence, the light control data is transmitted to the control chip one by one, so that the control chip updates the vehicle lights of the corresponding light area according to the light control data; After the transmission is completed, receiving instruction receiving data, the instruction receiving data is generated according to the lighting control data transmitted to the controller by the tail chip; Comparing the instruction receiving data with the lighting control data to obtain a comparison result; A fault determination result of the vehicle light fault is determined according to the comparison result.
2. The method according to claim 1, characterized in that The determining the fault determination result of the vehicle lighting fault according to the comparison result comprises: If the command receiving data is inconsistent with the light control data, the fault position in the daisy chain is determined according to the light control data and the command receiving data.
3. The method according to claim 2, characterized in that The determining the fault position in the daisy chain according to the lighting control data and the command receiving data comprises: If the lighting control data is all-zero data, and the instruction receiving data is not all-zero data, it is determined that there is a fault in the connection between the controller and the head chip; If the lighting control data contains non-zero data for each of the control chips, and the instruction receiving data is all zero data, it is determined that there is a fault in the connection between the controller and the tail chip.
4. The method according to claim 2, characterized in that: The determining the fault position in the daisy chain according to the lighting control data and the command receiving data comprises: If the light control data is different from the last light control data, and the last light control data and the light control data have non-zero data for each control chip, the fault position in the daisy chain is determined according to the instruction reception data.
5. The method according to claim 1, characterized in that The step of transmitting the lighting control data to the control chip one by one according to the preset connection sequence includes: When the light control data is transmitted to the current control chip, after controlling the current control chip to receive the light control data, the light control data required by the current control chip is screened out from the light control data; If the current control chip is not the tail chip, after the current control chip receives the light control data required by the current control chip, the light control data is transmitted to the next control chip according to the preset connection sequence; According to the light control data required by the current control chip, the vehicle light state of the light area corresponding to the current control chip is updated.
6. The method according to claim 1, characterized in that Each of the control chips comprises a serial input terminal and a serial output terminal, and the serial output terminal of each of the control chips except the tail chip is connected to the serial input terminal of the next control chip, and the light control data is transmitted to the control chips one by one according to the preset connection sequence, including: When the light control data is transmitted to the serial input terminal of the current control chip, after controlling the current control chip to receive the light control data, the light control data required by the current control chip is screened out from the light control data; receiving a latch signal sent by the controller; According to the latch signal, controlling the current control chip to receive the lighting control data required by the current control chip; If the current control chip is not the tail chip, the light control data is transmitted to the serial output end of the next control chip according to the preset connection sequence.
7. The method according to claim 6, characterized in that The serial input end of the head chip is connected to the controller, the serial output end of the tail chip is connected to the controller, and the receiving of the light control data sent by the controller includes: Receiving the lighting control data sent by the controller through the serial input terminal of the head chip; After controlling the current control chip to collect the lighting control data required by the current control chip, the method further includes: If the current control chip is the tail chip, the light control data is returned to the controller through the serial output terminal of the tail chip, so that the controller generates the instruction reception data according to the received light control data.
8. A vehicle lighting failure processing device, characterized in that: Applicable to a vehicle lighting control system, the vehicle lighting control system comprises a controller and a plurality of control chips, the plurality of control chips are connected in a daisy chain manner according to a preset connection sequence, the controller is connected to a head chip and a tail chip of the plurality of control chips connected according to the preset connection sequence, the vehicle lighting is divided into vehicle lighting of a plurality of lighting areas, each of the control chips controls the vehicle lighting of one of the lighting areas, and the device comprises: A control instruction receiving module, used for receiving a light control instruction sent by the controller, wherein the light control instruction is used for updating the vehicle light status; A control instruction transmission module, used to transmit the light control instructions to the control chip one by one according to the preset connection sequence, so that the control chip updates the vehicle lights of the corresponding light area according to the light control data; A receiving data return module, used for receiving the instruction receiving data after the transmission is completed, wherein the instruction receiving data is generated according to the lighting control data transmitted to the controller by the tail chip; A data comparison module, used for comparing the instruction receiving data with the lighting control data to obtain a comparison result; The lighting fault judgment module is used to determine the fault judgment result of the vehicle lighting fault according to the comparison result.
9. An electronic device, characterized in that: include: processor; and A memory having executable codes stored thereon, which, when executed, causes the processor to execute the vehicle lighting failure processing method as described in one or more of claims 1-7.
10. One or more machine-readable media having executable codes stored thereon, which, when executed, cause a processor to execute the vehicle light failure processing method according to one or more of claims 1-7.